import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A deployment set is a strategy that controls the distribution of instances at the underlying hardware level, enabling physical-level security isolation. By creating deployment sets, you can distribute instances across different underlying hardware to ensure disaster recovery and high availability for your business. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const ecsDeploymentSetDemo = new volcenginecc.ecs.DeploymentSet("EcsDeploymentSetDemo", { * description: "this is a test DeploymentSet", * deploymentSetName: "test-deployment-set", * granularity: "host", * instanceIds: ["i-yedvixxxxxva4izkjtl"], * deploymentSetGroupNumber: 1, * strategy: "Availability", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:ecs/deploymentSet:DeploymentSet example "deployment_set_id" * ``` */ export declare class DeploymentSet extends pulumi.CustomResource { /** * Get an existing DeploymentSet 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?: DeploymentSetState, opts?: pulumi.CustomResourceOptions): DeploymentSet; /** * Returns true if the given object is an instance of DeploymentSet. 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 DeploymentSet; readonly capacities: pulumi.Output; /** * Deployment set creation time. */ readonly createdAt: pulumi.Output; /** * Deployment set group index. Value range: 1–7. */ readonly deploymentSetGroupNumber: pulumi.Output; /** * Deployment set ID. */ readonly deploymentSetId: pulumi.Output; /** * Deployment set name. Cannot start with a digit, hyphen, or underscore. Can only contain Chinese characters, letters, digits, underscores, and hyphens. Length limit: 1–128 characters. */ readonly deploymentSetName: pulumi.Output; /** * Deployment set description. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, digits, period '.', space, underscore '_', hyphen '-', equals '=', English comma ',', Chinese comma ',', and Chinese period '。'. Length limit: within 255 characters. */ readonly description: pulumi.Output; /** * Deployment granularity. Options: host: physical machine. rack: rack. switch: switch. */ readonly granularity: pulumi.Output; /** * Number of deployment set groups. Set the group count for the deployment set group high availability policy. Value range: 1–7. Default: 7. */ readonly groupCount: pulumi.Output; /** * Number of ECS instances in the deployment set. */ readonly instanceAmount: pulumi.Output; /** * List of ECS instance IDs in the deployment set. */ readonly instanceIds: pulumi.Output; /** * Deployment policy. Options: Availability (default): high availability policy. AvailabilityGroup: deployment set group high availability policy. */ readonly strategy: pulumi.Output; /** * Create a DeploymentSet 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: DeploymentSetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DeploymentSet resources. */ export interface DeploymentSetState { capacities?: pulumi.Input[]>; /** * Deployment set creation time. */ createdAt?: pulumi.Input; /** * Deployment set group index. Value range: 1–7. */ deploymentSetGroupNumber?: pulumi.Input; /** * Deployment set ID. */ deploymentSetId?: pulumi.Input; /** * Deployment set name. Cannot start with a digit, hyphen, or underscore. Can only contain Chinese characters, letters, digits, underscores, and hyphens. Length limit: 1–128 characters. */ deploymentSetName?: pulumi.Input; /** * Deployment set description. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, digits, period '.', space, underscore '_', hyphen '-', equals '=', English comma ',', Chinese comma ',', and Chinese period '。'. Length limit: within 255 characters. */ description?: pulumi.Input; /** * Deployment granularity. Options: host: physical machine. rack: rack. switch: switch. */ granularity?: pulumi.Input; /** * Number of deployment set groups. Set the group count for the deployment set group high availability policy. Value range: 1–7. Default: 7. */ groupCount?: pulumi.Input; /** * Number of ECS instances in the deployment set. */ instanceAmount?: pulumi.Input; /** * List of ECS instance IDs in the deployment set. */ instanceIds?: pulumi.Input[]>; /** * Deployment policy. Options: Availability (default): high availability policy. AvailabilityGroup: deployment set group high availability policy. */ strategy?: pulumi.Input; } /** * The set of arguments for constructing a DeploymentSet resource. */ export interface DeploymentSetArgs { /** * Deployment set group index. Value range: 1–7. */ deploymentSetGroupNumber?: pulumi.Input; /** * Deployment set name. Cannot start with a digit, hyphen, or underscore. Can only contain Chinese characters, letters, digits, underscores, and hyphens. Length limit: 1–128 characters. */ deploymentSetName: pulumi.Input; /** * Deployment set description. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, digits, period '.', space, underscore '_', hyphen '-', equals '=', English comma ',', Chinese comma ',', and Chinese period '。'. Length limit: within 255 characters. */ description?: pulumi.Input; /** * Deployment granularity. Options: host: physical machine. rack: rack. switch: switch. */ granularity?: pulumi.Input; /** * Number of deployment set groups. Set the group count for the deployment set group high availability policy. Value range: 1–7. Default: 7. */ groupCount?: pulumi.Input; /** * List of ECS instance IDs in the deployment set. */ instanceIds?: pulumi.Input[]>; /** * Deployment policy. Options: Availability (default): high availability policy. AvailabilityGroup: deployment set group high availability policy. */ strategy?: pulumi.Input; }