import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class EdgeStack extends pulumi.CustomResource { /** * Get an existing EdgeStack resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EdgeStackState, opts?: pulumi.CustomResourceOptions): EdgeStack; /** * Returns true if the given object is an instance of EdgeStack. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EdgeStack; /** * Whether the agent must always clone the git repository for relative path. Only valid when relativePath is set. */ readonly alwaysClone: pulumi.Output; /** * 0 = Docker Compose, 1 = Kubernetes */ readonly deploymentType: pulumi.Output; /** * If true, perform a dry-run of the Edge stack deployment without applying changes. */ readonly dryrun: pulumi.Output; /** * List of Portainer Edge group IDs to which this Edge stack is deployed. */ readonly edgeGroups: pulumi.Output; readonly edgeStackId: pulumi.Output; /** * Environment variables for the Edge Stack */ readonly environment: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Path to the Compose or manifest file within the Git repository. Changing this value forces resource recreation. */ readonly filePathInRepository: pulumi.Output; /** * Whether to prune unused services/networks during stack update (default: true) */ readonly forceUpdate: pulumi.Output; /** * Whether authentication is required to clone the Git repository. */ readonly gitRepositoryAuthentication: pulumi.Output; /** * Name of the Portainer Edge stack. */ readonly name: pulumi.Output; /** * Whether Portainer should pre-pull images on Edge agents before deploying the stack. */ readonly prePullImage: pulumi.Output; /** * Whether to force pull latest images during stack update (default: true) */ readonly pullImage: pulumi.Output; /** * List of Portainer registry IDs used to pull images for this Edge stack. */ readonly registries: pulumi.Output; /** * Enable relative path volumes – also used as value for 'filesystemPath'. */ readonly relativePath: pulumi.Output; /** * ID of the Git credentials to use for authentication. */ readonly repositoryGitCredentialId: pulumi.Output; /** * Password or personal access token used to authenticate against the Git repository. Stored in state as sensitive value. Changing this value forces resource recreation. */ readonly repositoryPassword: pulumi.Output; /** * Git reference (branch or tag) to check out from the repository. */ readonly repositoryReferenceName: pulumi.Output; /** * Git repository URL containing the Edge stack definition. Changing this value forces resource recreation. */ readonly repositoryUrl: pulumi.Output; /** * Username used to authenticate against the Git repository. Changing this value forces resource recreation. */ readonly repositoryUsername: pulumi.Output; /** * Whether the Edge agent should retry deployment on failure. */ readonly retryDeploy: pulumi.Output; /** * Inline content of the Docker Compose or Kubernetes manifest used to deploy the Edge stack. */ readonly stackFileContent: pulumi.Output; /** * Local filesystem path to a Compose or manifest file used as the Edge stack definition. Changing this value forces resource recreation. */ readonly stackFilePath: pulumi.Output; /** * Enable autoUpdate webhook (GitOps). */ readonly stackWebhook: pulumi.Output; readonly timeouts: pulumi.Output; /** * GitOps update interval (e.g. "5m") at which Portainer polls the Git repository for Edge stack changes. */ readonly updateInterval: pulumi.Output; /** * For Kubernetes deployments, whether to use namespaces declared inside the manifest instead of the default Portainer namespace. */ readonly useManifestNamespaces: pulumi.Output; /** * UUID of the GitOps webhook (read-only). */ readonly webhookId: pulumi.Output; /** * Full URL of the webhook trigger */ readonly webhookUrl: pulumi.Output; /** * Create a EdgeStack resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EdgeStackArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EdgeStack resources. */ export interface EdgeStackState { /** * Whether the agent must always clone the git repository for relative path. Only valid when relativePath is set. */ alwaysClone?: pulumi.Input; /** * 0 = Docker Compose, 1 = Kubernetes */ deploymentType?: pulumi.Input; /** * If true, perform a dry-run of the Edge stack deployment without applying changes. */ dryrun?: pulumi.Input; /** * List of Portainer Edge group IDs to which this Edge stack is deployed. */ edgeGroups?: pulumi.Input[] | undefined>; edgeStackId?: pulumi.Input; /** * Environment variables for the Edge Stack */ environment?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Path to the Compose or manifest file within the Git repository. Changing this value forces resource recreation. */ filePathInRepository?: pulumi.Input; /** * Whether to prune unused services/networks during stack update (default: true) */ forceUpdate?: pulumi.Input; /** * Whether authentication is required to clone the Git repository. */ gitRepositoryAuthentication?: pulumi.Input; /** * Name of the Portainer Edge stack. */ name?: pulumi.Input; /** * Whether Portainer should pre-pull images on Edge agents before deploying the stack. */ prePullImage?: pulumi.Input; /** * Whether to force pull latest images during stack update (default: true) */ pullImage?: pulumi.Input; /** * List of Portainer registry IDs used to pull images for this Edge stack. */ registries?: pulumi.Input[] | undefined>; /** * Enable relative path volumes – also used as value for 'filesystemPath'. */ relativePath?: pulumi.Input; /** * ID of the Git credentials to use for authentication. */ repositoryGitCredentialId?: pulumi.Input; /** * Password or personal access token used to authenticate against the Git repository. Stored in state as sensitive value. Changing this value forces resource recreation. */ repositoryPassword?: pulumi.Input; /** * Git reference (branch or tag) to check out from the repository. */ repositoryReferenceName?: pulumi.Input; /** * Git repository URL containing the Edge stack definition. Changing this value forces resource recreation. */ repositoryUrl?: pulumi.Input; /** * Username used to authenticate against the Git repository. Changing this value forces resource recreation. */ repositoryUsername?: pulumi.Input; /** * Whether the Edge agent should retry deployment on failure. */ retryDeploy?: pulumi.Input; /** * Inline content of the Docker Compose or Kubernetes manifest used to deploy the Edge stack. */ stackFileContent?: pulumi.Input; /** * Local filesystem path to a Compose or manifest file used as the Edge stack definition. Changing this value forces resource recreation. */ stackFilePath?: pulumi.Input; /** * Enable autoUpdate webhook (GitOps). */ stackWebhook?: pulumi.Input; timeouts?: pulumi.Input; /** * GitOps update interval (e.g. "5m") at which Portainer polls the Git repository for Edge stack changes. */ updateInterval?: pulumi.Input; /** * For Kubernetes deployments, whether to use namespaces declared inside the manifest instead of the default Portainer namespace. */ useManifestNamespaces?: pulumi.Input; /** * UUID of the GitOps webhook (read-only). */ webhookId?: pulumi.Input; /** * Full URL of the webhook trigger */ webhookUrl?: pulumi.Input; } /** * The set of arguments for constructing a EdgeStack resource. */ export interface EdgeStackArgs { /** * Whether the agent must always clone the git repository for relative path. Only valid when relativePath is set. */ alwaysClone?: pulumi.Input; /** * 0 = Docker Compose, 1 = Kubernetes */ deploymentType: pulumi.Input; /** * If true, perform a dry-run of the Edge stack deployment without applying changes. */ dryrun?: pulumi.Input; /** * List of Portainer Edge group IDs to which this Edge stack is deployed. */ edgeGroups: pulumi.Input[]>; edgeStackId?: pulumi.Input; /** * Environment variables for the Edge Stack */ environment?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Path to the Compose or manifest file within the Git repository. Changing this value forces resource recreation. */ filePathInRepository?: pulumi.Input; /** * Whether to prune unused services/networks during stack update (default: true) */ forceUpdate?: pulumi.Input; /** * Whether authentication is required to clone the Git repository. */ gitRepositoryAuthentication?: pulumi.Input; /** * Name of the Portainer Edge stack. */ name?: pulumi.Input; /** * Whether Portainer should pre-pull images on Edge agents before deploying the stack. */ prePullImage?: pulumi.Input; /** * Whether to force pull latest images during stack update (default: true) */ pullImage?: pulumi.Input; /** * List of Portainer registry IDs used to pull images for this Edge stack. */ registries?: pulumi.Input[] | undefined>; /** * Enable relative path volumes – also used as value for 'filesystemPath'. */ relativePath?: pulumi.Input; /** * ID of the Git credentials to use for authentication. */ repositoryGitCredentialId?: pulumi.Input; /** * Password or personal access token used to authenticate against the Git repository. Stored in state as sensitive value. Changing this value forces resource recreation. */ repositoryPassword?: pulumi.Input; /** * Git reference (branch or tag) to check out from the repository. */ repositoryReferenceName?: pulumi.Input; /** * Git repository URL containing the Edge stack definition. Changing this value forces resource recreation. */ repositoryUrl?: pulumi.Input; /** * Username used to authenticate against the Git repository. Changing this value forces resource recreation. */ repositoryUsername?: pulumi.Input; /** * Whether the Edge agent should retry deployment on failure. */ retryDeploy?: pulumi.Input; /** * Inline content of the Docker Compose or Kubernetes manifest used to deploy the Edge stack. */ stackFileContent?: pulumi.Input; /** * Local filesystem path to a Compose or manifest file used as the Edge stack definition. Changing this value forces resource recreation. */ stackFilePath?: pulumi.Input; /** * Enable autoUpdate webhook (GitOps). */ stackWebhook?: pulumi.Input; timeouts?: pulumi.Input; /** * GitOps update interval (e.g. "5m") at which Portainer polls the Git repository for Edge stack changes. */ updateInterval?: pulumi.Input; /** * For Kubernetes deployments, whether to use namespaces declared inside the manifest instead of the default Portainer namespace. */ useManifestNamespaces?: pulumi.Input; } //# sourceMappingURL=edgeStack.d.ts.map