import * as pulumi from "@pulumi/pulumi"; export declare class DockerNode extends pulumi.CustomResource { /** * Get an existing DockerNode 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?: DockerNodeState, opts?: pulumi.CustomResourceOptions): DockerNode; /** * Returns true if the given object is an instance of DockerNode. 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 DockerNode; /** * Desired availability of the Swarm node (active, pause, or drain). */ readonly availability: pulumi.Output; readonly dockerNodeId: pulumi.Output; /** * ID of the Portainer environment (Docker Swarm cluster) where the node is managed. */ readonly endpointId: pulumi.Output; /** * Key/value labels assigned to the Swarm node for placement and selection. */ readonly labels: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Desired display name for the Swarm node. */ readonly name: pulumi.Output; /** * Docker Swarm node ID to update. */ readonly nodeId: pulumi.Output; /** * Desired role of the Swarm node (worker or manager). */ readonly role: pulumi.Output; /** * Swarm node version required for update operation */ readonly version: pulumi.Output; /** * Create a DockerNode 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: DockerNodeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DockerNode resources. */ export interface DockerNodeState { /** * Desired availability of the Swarm node (active, pause, or drain). */ availability?: pulumi.Input; dockerNodeId?: pulumi.Input; /** * ID of the Portainer environment (Docker Swarm cluster) where the node is managed. */ endpointId?: pulumi.Input; /** * Key/value labels assigned to the Swarm node for placement and selection. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Desired display name for the Swarm node. */ name?: pulumi.Input; /** * Docker Swarm node ID to update. */ nodeId?: pulumi.Input; /** * Desired role of the Swarm node (worker or manager). */ role?: pulumi.Input; /** * Swarm node version required for update operation */ version?: pulumi.Input; } /** * The set of arguments for constructing a DockerNode resource. */ export interface DockerNodeArgs { /** * Desired availability of the Swarm node (active, pause, or drain). */ availability?: pulumi.Input; dockerNodeId?: pulumi.Input; /** * ID of the Portainer environment (Docker Swarm cluster) where the node is managed. */ endpointId: pulumi.Input; /** * Key/value labels assigned to the Swarm node for placement and selection. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Desired display name for the Swarm node. */ name?: pulumi.Input; /** * Docker Swarm node ID to update. */ nodeId: pulumi.Input; /** * Desired role of the Swarm node (worker or manager). */ role?: pulumi.Input; /** * Swarm node version required for update operation */ version: pulumi.Input; } //# sourceMappingURL=dockerNode.d.ts.map