1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. ecs
  5. DeploymentSet
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus

    部署集是在底层硬件维度上控制实例分散部署的策略,可以实现物理层级的安全隔离。您可以通过创建部署集,使实例分散部署在不同的底层硬件上,用于保障业务的底层容灾能力及高可用性。

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
    
    const ecsDeploymentSetDemo = new bytepluscc.ecs.DeploymentSet("EcsDeploymentSetDemo", {
        description: "this is a test DeploymentSet",
        deploymentSetName: "test-deployment-set",
        granularity: "host",
        instanceIds: ["i-yedvixxxxxva4izkjtl"],
        deploymentSetGroupNumber: 1,
        strategy: "Availability",
    });
    
    import pulumi
    import pulumi_bytepluscc as bytepluscc
    
    ecs_deployment_set_demo = bytepluscc.ecs.DeploymentSet("EcsDeploymentSetDemo",
        description="this is a test DeploymentSet",
        deployment_set_name="test-deployment-set",
        granularity="host",
        instance_ids=["i-yedvixxxxxva4izkjtl"],
        deployment_set_group_number=1,
        strategy="Availability")
    
    package main
    
    import (
    	"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/ecs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ecs.NewDeploymentSet(ctx, "EcsDeploymentSetDemo", &ecs.DeploymentSetArgs{
    			Description:       pulumi.String("this is a test DeploymentSet"),
    			DeploymentSetName: pulumi.String("test-deployment-set"),
    			Granularity:       pulumi.String("host"),
    			InstanceIds: pulumi.StringArray{
    				pulumi.String("i-yedvixxxxxva4izkjtl"),
    			},
    			DeploymentSetGroupNumber: pulumi.Int(1),
    			Strategy:                 pulumi.String("Availability"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
    
    return await Deployment.RunAsync(() => 
    {
        var ecsDeploymentSetDemo = new Bytepluscc.Ecs.DeploymentSet("EcsDeploymentSetDemo", new()
        {
            Description = "this is a test DeploymentSet",
            DeploymentSetName = "test-deployment-set",
            Granularity = "host",
            InstanceIds = new[]
            {
                "i-yedvixxxxxva4izkjtl",
            },
            DeploymentSetGroupNumber = 1,
            Strategy = "Availability",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.byteplus.bytepluscc.ecs.DeploymentSet;
    import com.byteplus.bytepluscc.ecs.DeploymentSetArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var ecsDeploymentSetDemo = new DeploymentSet("ecsDeploymentSetDemo", DeploymentSetArgs.builder()
                .description("this is a test DeploymentSet")
                .deploymentSetName("test-deployment-set")
                .granularity("host")
                .instanceIds("i-yedvixxxxxva4izkjtl")
                .deploymentSetGroupNumber(1)
                .strategy("Availability")
                .build());
    
        }
    }
    
    resources:
      ecsDeploymentSetDemo:
        type: bytepluscc:ecs:DeploymentSet
        name: EcsDeploymentSetDemo
        properties:
          description: this is a test DeploymentSet
          deploymentSetName: test-deployment-set
          granularity: host
          instanceIds:
            - i-yedvixxxxxva4izkjtl
          deploymentSetGroupNumber: 1
          strategy: Availability
    

    Create DeploymentSet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DeploymentSet(name: string, args: DeploymentSetArgs, opts?: CustomResourceOptions);
    @overload
    def DeploymentSet(resource_name: str,
                      args: DeploymentSetArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def DeploymentSet(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      deployment_set_name: Optional[str] = None,
                      deployment_set_group_number: Optional[int] = None,
                      description: Optional[str] = None,
                      granularity: Optional[str] = None,
                      group_count: Optional[int] = None,
                      instance_ids: Optional[Sequence[str]] = None,
                      strategy: Optional[str] = None)
    func NewDeploymentSet(ctx *Context, name string, args DeploymentSetArgs, opts ...ResourceOption) (*DeploymentSet, error)
    public DeploymentSet(string name, DeploymentSetArgs args, CustomResourceOptions? opts = null)
    public DeploymentSet(String name, DeploymentSetArgs args)
    public DeploymentSet(String name, DeploymentSetArgs args, CustomResourceOptions options)
    
    type: bytepluscc:ecs:DeploymentSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DeploymentSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DeploymentSetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DeploymentSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeploymentSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeploymentSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var deploymentSetResource = new Bytepluscc.Ecs.DeploymentSet("deploymentSetResource", new()
    {
        DeploymentSetName = "string",
        DeploymentSetGroupNumber = 0,
        Description = "string",
        Granularity = "string",
        GroupCount = 0,
        InstanceIds = new[]
        {
            "string",
        },
        Strategy = "string",
    });
    
    example, err := ecs.NewDeploymentSet(ctx, "deploymentSetResource", &ecs.DeploymentSetArgs{
    	DeploymentSetName:        pulumi.String("string"),
    	DeploymentSetGroupNumber: pulumi.Int(0),
    	Description:              pulumi.String("string"),
    	Granularity:              pulumi.String("string"),
    	GroupCount:               pulumi.Int(0),
    	InstanceIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Strategy: pulumi.String("string"),
    })
    
    var deploymentSetResource = new DeploymentSet("deploymentSetResource", DeploymentSetArgs.builder()
        .deploymentSetName("string")
        .deploymentSetGroupNumber(0)
        .description("string")
        .granularity("string")
        .groupCount(0)
        .instanceIds("string")
        .strategy("string")
        .build());
    
    deployment_set_resource = bytepluscc.ecs.DeploymentSet("deploymentSetResource",
        deployment_set_name="string",
        deployment_set_group_number=0,
        description="string",
        granularity="string",
        group_count=0,
        instance_ids=["string"],
        strategy="string")
    
    const deploymentSetResource = new bytepluscc.ecs.DeploymentSet("deploymentSetResource", {
        deploymentSetName: "string",
        deploymentSetGroupNumber: 0,
        description: "string",
        granularity: "string",
        groupCount: 0,
        instanceIds: ["string"],
        strategy: "string",
    });
    
    type: bytepluscc:ecs:DeploymentSet
    properties:
        deploymentSetGroupNumber: 0
        deploymentSetName: string
        description: string
        granularity: string
        groupCount: 0
        instanceIds:
            - string
        strategy: string
    

    DeploymentSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DeploymentSet resource accepts the following input properties:

    DeploymentSetName string
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    DeploymentSetGroupNumber int
    部署集组的序号,取值范围:1~7。
    Description string
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    Granularity string
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    GroupCount int
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    InstanceIds List<string>
    部署集内的ECS实例ID列表。
    Strategy string
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    DeploymentSetName string
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    DeploymentSetGroupNumber int
    部署集组的序号,取值范围:1~7。
    Description string
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    Granularity string
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    GroupCount int
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    InstanceIds []string
    部署集内的ECS实例ID列表。
    Strategy string
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    deploymentSetName String
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    deploymentSetGroupNumber Integer
    部署集组的序号,取值范围:1~7。
    description String
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    granularity String
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    groupCount Integer
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    instanceIds List<String>
    部署集内的ECS实例ID列表。
    strategy String
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    deploymentSetName string
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    deploymentSetGroupNumber number
    部署集组的序号,取值范围:1~7。
    description string
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    granularity string
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    groupCount number
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    instanceIds string[]
    部署集内的ECS实例ID列表。
    strategy string
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    deployment_set_name str
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    deployment_set_group_number int
    部署集组的序号,取值范围:1~7。
    description str
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    granularity str
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    group_count int
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    instance_ids Sequence[str]
    部署集内的ECS实例ID列表。
    strategy str
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    deploymentSetName String
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    deploymentSetGroupNumber Number
    部署集组的序号,取值范围:1~7。
    description String
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    granularity String
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    groupCount Number
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    instanceIds List<String>
    部署集内的ECS实例ID列表。
    strategy String
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DeploymentSet resource produces the following output properties:

    Capacities List<Byteplus.DeploymentSetCapacity>
    CreatedAt string
    部署集的创建时间。
    DeploymentSetId string
    部署集ID。
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceAmount int
    部署集内的ECS实例数量。
    Capacities []DeploymentSetCapacity
    CreatedAt string
    部署集的创建时间。
    DeploymentSetId string
    部署集ID。
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceAmount int
    部署集内的ECS实例数量。
    capacities List<DeploymentSetCapacity>
    createdAt String
    部署集的创建时间。
    deploymentSetId String
    部署集ID。
    id String
    The provider-assigned unique ID for this managed resource.
    instanceAmount Integer
    部署集内的ECS实例数量。
    capacities DeploymentSetCapacity[]
    createdAt string
    部署集的创建时间。
    deploymentSetId string
    部署集ID。
    id string
    The provider-assigned unique ID for this managed resource.
    instanceAmount number
    部署集内的ECS实例数量。
    capacities Sequence[DeploymentSetCapacity]
    created_at str
    部署集的创建时间。
    deployment_set_id str
    部署集ID。
    id str
    The provider-assigned unique ID for this managed resource.
    instance_amount int
    部署集内的ECS实例数量。
    capacities List<Property Map>
    createdAt String
    部署集的创建时间。
    deploymentSetId String
    部署集ID。
    id String
    The provider-assigned unique ID for this managed resource.
    instanceAmount Number
    部署集内的ECS实例数量。

    Look up Existing DeploymentSet Resource

    Get an existing DeploymentSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DeploymentSetState, opts?: CustomResourceOptions): DeploymentSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            capacities: Optional[Sequence[DeploymentSetCapacityArgs]] = None,
            created_at: Optional[str] = None,
            deployment_set_group_number: Optional[int] = None,
            deployment_set_id: Optional[str] = None,
            deployment_set_name: Optional[str] = None,
            description: Optional[str] = None,
            granularity: Optional[str] = None,
            group_count: Optional[int] = None,
            instance_amount: Optional[int] = None,
            instance_ids: Optional[Sequence[str]] = None,
            strategy: Optional[str] = None) -> DeploymentSet
    func GetDeploymentSet(ctx *Context, name string, id IDInput, state *DeploymentSetState, opts ...ResourceOption) (*DeploymentSet, error)
    public static DeploymentSet Get(string name, Input<string> id, DeploymentSetState? state, CustomResourceOptions? opts = null)
    public static DeploymentSet get(String name, Output<String> id, DeploymentSetState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:ecs:DeploymentSet    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Capacities List<Byteplus.DeploymentSetCapacity>
    CreatedAt string
    部署集的创建时间。
    DeploymentSetGroupNumber int
    部署集组的序号,取值范围:1~7。
    DeploymentSetId string
    部署集ID。
    DeploymentSetName string
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    Description string
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    Granularity string
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    GroupCount int
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    InstanceAmount int
    部署集内的ECS实例数量。
    InstanceIds List<string>
    部署集内的ECS实例ID列表。
    Strategy string
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    Capacities []DeploymentSetCapacityArgs
    CreatedAt string
    部署集的创建时间。
    DeploymentSetGroupNumber int
    部署集组的序号,取值范围:1~7。
    DeploymentSetId string
    部署集ID。
    DeploymentSetName string
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    Description string
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    Granularity string
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    GroupCount int
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    InstanceAmount int
    部署集内的ECS实例数量。
    InstanceIds []string
    部署集内的ECS实例ID列表。
    Strategy string
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    capacities List<DeploymentSetCapacity>
    createdAt String
    部署集的创建时间。
    deploymentSetGroupNumber Integer
    部署集组的序号,取值范围:1~7。
    deploymentSetId String
    部署集ID。
    deploymentSetName String
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    description String
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    granularity String
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    groupCount Integer
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    instanceAmount Integer
    部署集内的ECS实例数量。
    instanceIds List<String>
    部署集内的ECS实例ID列表。
    strategy String
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    capacities DeploymentSetCapacity[]
    createdAt string
    部署集的创建时间。
    deploymentSetGroupNumber number
    部署集组的序号,取值范围:1~7。
    deploymentSetId string
    部署集ID。
    deploymentSetName string
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    description string
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    granularity string
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    groupCount number
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    instanceAmount number
    部署集内的ECS实例数量。
    instanceIds string[]
    部署集内的ECS实例ID列表。
    strategy string
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    capacities Sequence[DeploymentSetCapacityArgs]
    created_at str
    部署集的创建时间。
    deployment_set_group_number int
    部署集组的序号,取值范围:1~7。
    deployment_set_id str
    部署集ID。
    deployment_set_name str
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    description str
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    granularity str
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    group_count int
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    instance_amount int
    部署集内的ECS实例数量。
    instance_ids Sequence[str]
    部署集内的ECS实例ID列表。
    strategy str
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
    capacities List<Property Map>
    createdAt String
    部署集的创建时间。
    deploymentSetGroupNumber Number
    部署集组的序号,取值范围:1~7。
    deploymentSetId String
    部署集ID。
    deploymentSetName String
    部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
    description String
    部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
    granularity String
    部署粒度,取值:host:物理机。rack:机架。switch:交换机。
    groupCount Number
    部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
    instanceAmount Number
    部署集内的ECS实例数量。
    instanceIds List<String>
    部署集内的ECS实例ID列表。
    strategy String
    部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。

    Supporting Types

    DeploymentSetCapacity, DeploymentSetCapacityArgs

    AvailableCount int
    该可用区内,还可以加入当前部署集的ECS实例数量。
    UsedCount int
    部署集内属于该可用区的ECS实例数量。
    ZoneId string
    可用区ID。只返回部署集内存量ECS实例所属的可用区ID。
    AvailableCount int
    该可用区内,还可以加入当前部署集的ECS实例数量。
    UsedCount int
    部署集内属于该可用区的ECS实例数量。
    ZoneId string
    可用区ID。只返回部署集内存量ECS实例所属的可用区ID。
    availableCount Integer
    该可用区内,还可以加入当前部署集的ECS实例数量。
    usedCount Integer
    部署集内属于该可用区的ECS实例数量。
    zoneId String
    可用区ID。只返回部署集内存量ECS实例所属的可用区ID。
    availableCount number
    该可用区内,还可以加入当前部署集的ECS实例数量。
    usedCount number
    部署集内属于该可用区的ECS实例数量。
    zoneId string
    可用区ID。只返回部署集内存量ECS实例所属的可用区ID。
    available_count int
    该可用区内,还可以加入当前部署集的ECS实例数量。
    used_count int
    部署集内属于该可用区的ECS实例数量。
    zone_id str
    可用区ID。只返回部署集内存量ECS实例所属的可用区ID。
    availableCount Number
    该可用区内,还可以加入当前部署集的ECS实例数量。
    usedCount Number
    部署集内属于该可用区的ECS实例数量。
    zoneId String
    可用区ID。只返回部署集内存量ECS实例所属的可用区ID。

    Import

    $ pulumi import bytepluscc:ecs/deploymentSet:DeploymentSet example "deployment_set_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.16
    published on Monday, Mar 9, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.