import * as pulumi from "@pulumi/pulumi"; export declare class StackMigrate extends pulumi.CustomResource { /** * Get an existing StackMigrate 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?: StackMigrateState, opts?: pulumi.CustomResourceOptions): StackMigrate; /** * Returns true if the given object is an instance of StackMigrate. 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 StackMigrate; /** * Optional source environment (endpoint) identifier. Required for stacks created before Portainer 1.18.0. */ readonly endpointId: pulumi.Output; /** * Stack identifier to migrate. */ readonly stackId: pulumi.Output; readonly stackMigrateId: pulumi.Output; /** * New name for the stack after migration. If not set, the original name is kept. */ readonly stackName: pulumi.Output; /** * Swarm cluster identifier (required when migrating to a Swarm environment). */ readonly swarmId: pulumi.Output; /** * Target environment (endpoint) identifier to migrate the stack to. */ readonly targetEndpointId: pulumi.Output; /** * Create a StackMigrate 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: StackMigrateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StackMigrate resources. */ export interface StackMigrateState { /** * Optional source environment (endpoint) identifier. Required for stacks created before Portainer 1.18.0. */ endpointId?: pulumi.Input; /** * Stack identifier to migrate. */ stackId?: pulumi.Input; stackMigrateId?: pulumi.Input; /** * New name for the stack after migration. If not set, the original name is kept. */ stackName?: pulumi.Input; /** * Swarm cluster identifier (required when migrating to a Swarm environment). */ swarmId?: pulumi.Input; /** * Target environment (endpoint) identifier to migrate the stack to. */ targetEndpointId?: pulumi.Input; } /** * The set of arguments for constructing a StackMigrate resource. */ export interface StackMigrateArgs { /** * Optional source environment (endpoint) identifier. Required for stacks created before Portainer 1.18.0. */ endpointId?: pulumi.Input; /** * Stack identifier to migrate. */ stackId: pulumi.Input; stackMigrateId?: pulumi.Input; /** * New name for the stack after migration. If not set, the original name is kept. */ stackName?: pulumi.Input; /** * Swarm cluster identifier (required when migrating to a Swarm environment). */ swarmId?: pulumi.Input; /** * Target environment (endpoint) identifier to migrate the stack to. */ targetEndpointId: pulumi.Input; } //# sourceMappingURL=stackMigrate.d.ts.map