import * as pulumi from "@pulumi/pulumi"; export declare class StackAssociate extends pulumi.CustomResource { /** * Get an existing StackAssociate 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?: StackAssociateState, opts?: pulumi.CustomResourceOptions): StackAssociate; /** * Returns true if the given object is an instance of StackAssociate. 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 StackAssociate; /** * Identifier of the Portainer endpoint that should adopt the orphaned stack. */ readonly endpointId: pulumi.Output; /** * Whether the orphaned stack is already running on the endpoint; controls Portainer's adoption behaviour. */ readonly orphanedRunning: pulumi.Output; readonly stackAssociateId: pulumi.Output; /** * Identifier of the orphaned Portainer stack to associate with an endpoint. */ readonly stackId: pulumi.Output; /** * Swarm cluster identifier (`Cluster.ID`) of the target endpoint when associating a Swarm stack. */ readonly swarmId: pulumi.Output; /** * Create a StackAssociate 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: StackAssociateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StackAssociate resources. */ export interface StackAssociateState { /** * Identifier of the Portainer endpoint that should adopt the orphaned stack. */ endpointId?: pulumi.Input; /** * Whether the orphaned stack is already running on the endpoint; controls Portainer's adoption behaviour. */ orphanedRunning?: pulumi.Input; stackAssociateId?: pulumi.Input; /** * Identifier of the orphaned Portainer stack to associate with an endpoint. */ stackId?: pulumi.Input; /** * Swarm cluster identifier (`Cluster.ID`) of the target endpoint when associating a Swarm stack. */ swarmId?: pulumi.Input; } /** * The set of arguments for constructing a StackAssociate resource. */ export interface StackAssociateArgs { /** * Identifier of the Portainer endpoint that should adopt the orphaned stack. */ endpointId: pulumi.Input; /** * Whether the orphaned stack is already running on the endpoint; controls Portainer's adoption behaviour. */ orphanedRunning?: pulumi.Input; stackAssociateId?: pulumi.Input; /** * Identifier of the orphaned Portainer stack to associate with an endpoint. */ stackId: pulumi.Input; /** * Swarm cluster identifier (`Cluster.ID`) of the target endpoint when associating a Swarm stack. */ swarmId: pulumi.Input; } //# sourceMappingURL=stackAssociate.d.ts.map