1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. ecs
  5. LaunchTemplate
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

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      ecsLaunchTemplateDemo:
        type: bytepluscc:ecs:LaunchTemplate
        name: EcsLaunchTemplateDemo
        properties:
          launchTemplateVersion:
            deployment_set_group_number: 0
            deployment_set_id: dps-ydzc5xxxxxxkak3c5b9vu
            description: ecs_launch_template test
            eip:
              bandwidth: 1
              bandwidthPackageId: bwp-1a1fvbxxxxxxvepl9jzfmf
              billingType: 0
              isp: BGP
              releaseWithInstance: true
              securityProtectionInstanceId: 0
              securityProtectionTypes:
                - AntiDDoS_Enhanced
            host_name: myname
            hpc_cluster_id: ""
            image_id: image-yzpvmk9xxxxxxgqcsdamq
            image_name: Ubuntu 24.04 with LLM Knowledge Base 64 bit
            instance_charge_type: PostPaid
            instance_name: ccapi-dx-0
            instance_type_id: ecs.g4i.large
            keep_image_credential: false
            key_pair_name: MigrationKey-job-yecd7dromy38dfaxgxt8
            network_interfaces:
              - securityGroupIds:
                  - sg-1jolcljxxxxxxpe70vpx
                subnetId: subnet-btd4nhxxxxxxb2tl1jdsb
            project_name: default
            scheduled_instance:
              scheduledInstanceDescription: test
              scheduledInstanceName: test-template
            security_enhancement_strategy: Active
            spot_price_limit: 0
            spot_strategy: NoSpot
            suffix_index: 1
            tags:
              - key: env
                value: test
            unique_suffix: false
            user_data: ZWNobyBoZWxsbyBlY3Mh
            version_description: test
            volumes:
              - deleteWithInstance: true
                extraPerformanceIops: 0
                extraPerformanceThroughputMb: 0
                extraPerformanceTypeId: ""
                size: 50
                snapshotId: ""
                volumeType: ESSD_PL0
            vpc_id: vpc-1jolcldhxxxxxxq7yms
            zone_id: cn-beijing-a
          launchTemplateName: test
          launchTemplateProjectName: default
          launchTemplateTags:
            - key: env
              value: test
    

    Create LaunchTemplate Resource

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

    Constructor syntax

    new LaunchTemplate(name: string, args: LaunchTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def LaunchTemplate(resource_name: str,
                       args: LaunchTemplateArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def LaunchTemplate(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       launch_template_name: Optional[str] = None,
                       default_version_number: Optional[int] = None,
                       launch_template_project_name: Optional[str] = None,
                       launch_template_tags: Optional[Sequence[LaunchTemplateLaunchTemplateTagArgs]] = None,
                       launch_template_version: Optional[LaunchTemplateLaunchTemplateVersionArgs] = None)
    func NewLaunchTemplate(ctx *Context, name string, args LaunchTemplateArgs, opts ...ResourceOption) (*LaunchTemplate, error)
    public LaunchTemplate(string name, LaunchTemplateArgs args, CustomResourceOptions? opts = null)
    public LaunchTemplate(String name, LaunchTemplateArgs args)
    public LaunchTemplate(String name, LaunchTemplateArgs args, CustomResourceOptions options)
    
    type: bytepluscc:ecs:LaunchTemplate
    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 LaunchTemplateArgs
    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 LaunchTemplateArgs
    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 LaunchTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LaunchTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LaunchTemplateArgs
    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 launchTemplateResource = new Bytepluscc.Ecs.LaunchTemplate("launchTemplateResource", new()
    {
        LaunchTemplateName = "string",
        DefaultVersionNumber = 0,
        LaunchTemplateProjectName = "string",
        LaunchTemplateTags = new[]
        {
            new Bytepluscc.Ecs.Inputs.LaunchTemplateLaunchTemplateTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        LaunchTemplateVersion = new Bytepluscc.Ecs.Inputs.LaunchTemplateLaunchTemplateVersionArgs
        {
            DeploymentSetGroupNumber = 0,
            DeploymentSetId = "string",
            Description = "string",
            Eip = new Bytepluscc.Ecs.Inputs.LaunchTemplateLaunchTemplateVersionEipArgs
            {
                Bandwidth = 0,
                BandwidthPackageId = "string",
                BillingType = 0,
                Isp = "string",
                ReleaseWithInstance = false,
                SecurityProtectionInstanceId = 0,
                SecurityProtectionTypes = new[]
                {
                    "string",
                },
            },
            HostName = "string",
            HpcClusterId = "string",
            ImageId = "string",
            ImageName = "string",
            InstanceChargeType = "string",
            InstanceName = "string",
            InstanceTypeId = "string",
            KeepImageCredential = false,
            KeyPairName = "string",
            NetworkInterfaces = new[]
            {
                new Bytepluscc.Ecs.Inputs.LaunchTemplateLaunchTemplateVersionNetworkInterfaceArgs
                {
                    SecurityGroupIds = new[]
                    {
                        "string",
                    },
                    SubnetId = "string",
                },
            },
            ProjectName = "string",
            ScheduledInstance = new Bytepluscc.Ecs.Inputs.LaunchTemplateLaunchTemplateVersionScheduledInstanceArgs
            {
                ScheduledInstanceDescription = "string",
                ScheduledInstanceName = "string",
            },
            SecurityEnhancementStrategy = "string",
            SpotPriceLimit = 0,
            SpotStrategy = "string",
            SuffixIndex = 0,
            Tags = new[]
            {
                new Bytepluscc.Ecs.Inputs.LaunchTemplateLaunchTemplateVersionTagArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
            UniqueSuffix = false,
            UserData = "string",
            VersionDescription = "string",
            Volumes = new[]
            {
                new Bytepluscc.Ecs.Inputs.LaunchTemplateLaunchTemplateVersionVolumeArgs
                {
                    DeleteWithInstance = false,
                    ExtraPerformanceIops = 0,
                    ExtraPerformanceThroughputMb = 0,
                    ExtraPerformanceTypeId = "string",
                    Size = 0,
                    SnapshotId = "string",
                    VolumeType = "string",
                },
            },
            VpcId = "string",
            ZoneId = "string",
        },
    });
    
    example, err := ecs.NewLaunchTemplate(ctx, "launchTemplateResource", &ecs.LaunchTemplateArgs{
    	LaunchTemplateName:        pulumi.String("string"),
    	DefaultVersionNumber:      pulumi.Int(0),
    	LaunchTemplateProjectName: pulumi.String("string"),
    	LaunchTemplateTags: ecs.LaunchTemplateLaunchTemplateTagArray{
    		&ecs.LaunchTemplateLaunchTemplateTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	LaunchTemplateVersion: &ecs.LaunchTemplateLaunchTemplateVersionArgs{
    		DeploymentSetGroupNumber: pulumi.Int(0),
    		DeploymentSetId:          pulumi.String("string"),
    		Description:              pulumi.String("string"),
    		Eip: &ecs.LaunchTemplateLaunchTemplateVersionEipArgs{
    			Bandwidth:                    pulumi.Int(0),
    			BandwidthPackageId:           pulumi.String("string"),
    			BillingType:                  pulumi.Int(0),
    			Isp:                          pulumi.String("string"),
    			ReleaseWithInstance:          pulumi.Bool(false),
    			SecurityProtectionInstanceId: pulumi.Int(0),
    			SecurityProtectionTypes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		HostName:            pulumi.String("string"),
    		HpcClusterId:        pulumi.String("string"),
    		ImageId:             pulumi.String("string"),
    		ImageName:           pulumi.String("string"),
    		InstanceChargeType:  pulumi.String("string"),
    		InstanceName:        pulumi.String("string"),
    		InstanceTypeId:      pulumi.String("string"),
    		KeepImageCredential: pulumi.Bool(false),
    		KeyPairName:         pulumi.String("string"),
    		NetworkInterfaces: ecs.LaunchTemplateLaunchTemplateVersionNetworkInterfaceArray{
    			&ecs.LaunchTemplateLaunchTemplateVersionNetworkInterfaceArgs{
    				SecurityGroupIds: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				SubnetId: pulumi.String("string"),
    			},
    		},
    		ProjectName: pulumi.String("string"),
    		ScheduledInstance: &ecs.LaunchTemplateLaunchTemplateVersionScheduledInstanceArgs{
    			ScheduledInstanceDescription: pulumi.String("string"),
    			ScheduledInstanceName:        pulumi.String("string"),
    		},
    		SecurityEnhancementStrategy: pulumi.String("string"),
    		SpotPriceLimit:              pulumi.Float64(0),
    		SpotStrategy:                pulumi.String("string"),
    		SuffixIndex:                 pulumi.Int(0),
    		Tags: ecs.LaunchTemplateLaunchTemplateVersionTagArray{
    			&ecs.LaunchTemplateLaunchTemplateVersionTagArgs{
    				Key:   pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    		UniqueSuffix:       pulumi.Bool(false),
    		UserData:           pulumi.String("string"),
    		VersionDescription: pulumi.String("string"),
    		Volumes: ecs.LaunchTemplateLaunchTemplateVersionVolumeArray{
    			&ecs.LaunchTemplateLaunchTemplateVersionVolumeArgs{
    				DeleteWithInstance:           pulumi.Bool(false),
    				ExtraPerformanceIops:         pulumi.Int(0),
    				ExtraPerformanceThroughputMb: pulumi.Int(0),
    				ExtraPerformanceTypeId:       pulumi.String("string"),
    				Size:                         pulumi.Int(0),
    				SnapshotId:                   pulumi.String("string"),
    				VolumeType:                   pulumi.String("string"),
    			},
    		},
    		VpcId:  pulumi.String("string"),
    		ZoneId: pulumi.String("string"),
    	},
    })
    
    var launchTemplateResource = new LaunchTemplate("launchTemplateResource", LaunchTemplateArgs.builder()
        .launchTemplateName("string")
        .defaultVersionNumber(0)
        .launchTemplateProjectName("string")
        .launchTemplateTags(LaunchTemplateLaunchTemplateTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .launchTemplateVersion(LaunchTemplateLaunchTemplateVersionArgs.builder()
            .deploymentSetGroupNumber(0)
            .deploymentSetId("string")
            .description("string")
            .eip(LaunchTemplateLaunchTemplateVersionEipArgs.builder()
                .bandwidth(0)
                .bandwidthPackageId("string")
                .billingType(0)
                .isp("string")
                .releaseWithInstance(false)
                .securityProtectionInstanceId(0)
                .securityProtectionTypes("string")
                .build())
            .hostName("string")
            .hpcClusterId("string")
            .imageId("string")
            .imageName("string")
            .instanceChargeType("string")
            .instanceName("string")
            .instanceTypeId("string")
            .keepImageCredential(false)
            .keyPairName("string")
            .networkInterfaces(LaunchTemplateLaunchTemplateVersionNetworkInterfaceArgs.builder()
                .securityGroupIds("string")
                .subnetId("string")
                .build())
            .projectName("string")
            .scheduledInstance(LaunchTemplateLaunchTemplateVersionScheduledInstanceArgs.builder()
                .scheduledInstanceDescription("string")
                .scheduledInstanceName("string")
                .build())
            .securityEnhancementStrategy("string")
            .spotPriceLimit(0.0)
            .spotStrategy("string")
            .suffixIndex(0)
            .tags(LaunchTemplateLaunchTemplateVersionTagArgs.builder()
                .key("string")
                .value("string")
                .build())
            .uniqueSuffix(false)
            .userData("string")
            .versionDescription("string")
            .volumes(LaunchTemplateLaunchTemplateVersionVolumeArgs.builder()
                .deleteWithInstance(false)
                .extraPerformanceIops(0)
                .extraPerformanceThroughputMb(0)
                .extraPerformanceTypeId("string")
                .size(0)
                .snapshotId("string")
                .volumeType("string")
                .build())
            .vpcId("string")
            .zoneId("string")
            .build())
        .build());
    
    launch_template_resource = bytepluscc.ecs.LaunchTemplate("launchTemplateResource",
        launch_template_name="string",
        default_version_number=0,
        launch_template_project_name="string",
        launch_template_tags=[{
            "key": "string",
            "value": "string",
        }],
        launch_template_version={
            "deployment_set_group_number": 0,
            "deployment_set_id": "string",
            "description": "string",
            "eip": {
                "bandwidth": 0,
                "bandwidth_package_id": "string",
                "billing_type": 0,
                "isp": "string",
                "release_with_instance": False,
                "security_protection_instance_id": 0,
                "security_protection_types": ["string"],
            },
            "host_name": "string",
            "hpc_cluster_id": "string",
            "image_id": "string",
            "image_name": "string",
            "instance_charge_type": "string",
            "instance_name": "string",
            "instance_type_id": "string",
            "keep_image_credential": False,
            "key_pair_name": "string",
            "network_interfaces": [{
                "security_group_ids": ["string"],
                "subnet_id": "string",
            }],
            "project_name": "string",
            "scheduled_instance": {
                "scheduled_instance_description": "string",
                "scheduled_instance_name": "string",
            },
            "security_enhancement_strategy": "string",
            "spot_price_limit": 0,
            "spot_strategy": "string",
            "suffix_index": 0,
            "tags": [{
                "key": "string",
                "value": "string",
            }],
            "unique_suffix": False,
            "user_data": "string",
            "version_description": "string",
            "volumes": [{
                "delete_with_instance": False,
                "extra_performance_iops": 0,
                "extra_performance_throughput_mb": 0,
                "extra_performance_type_id": "string",
                "size": 0,
                "snapshot_id": "string",
                "volume_type": "string",
            }],
            "vpc_id": "string",
            "zone_id": "string",
        })
    
    const launchTemplateResource = new bytepluscc.ecs.LaunchTemplate("launchTemplateResource", {
        launchTemplateName: "string",
        defaultVersionNumber: 0,
        launchTemplateProjectName: "string",
        launchTemplateTags: [{
            key: "string",
            value: "string",
        }],
        launchTemplateVersion: {
            deploymentSetGroupNumber: 0,
            deploymentSetId: "string",
            description: "string",
            eip: {
                bandwidth: 0,
                bandwidthPackageId: "string",
                billingType: 0,
                isp: "string",
                releaseWithInstance: false,
                securityProtectionInstanceId: 0,
                securityProtectionTypes: ["string"],
            },
            hostName: "string",
            hpcClusterId: "string",
            imageId: "string",
            imageName: "string",
            instanceChargeType: "string",
            instanceName: "string",
            instanceTypeId: "string",
            keepImageCredential: false,
            keyPairName: "string",
            networkInterfaces: [{
                securityGroupIds: ["string"],
                subnetId: "string",
            }],
            projectName: "string",
            scheduledInstance: {
                scheduledInstanceDescription: "string",
                scheduledInstanceName: "string",
            },
            securityEnhancementStrategy: "string",
            spotPriceLimit: 0,
            spotStrategy: "string",
            suffixIndex: 0,
            tags: [{
                key: "string",
                value: "string",
            }],
            uniqueSuffix: false,
            userData: "string",
            versionDescription: "string",
            volumes: [{
                deleteWithInstance: false,
                extraPerformanceIops: 0,
                extraPerformanceThroughputMb: 0,
                extraPerformanceTypeId: "string",
                size: 0,
                snapshotId: "string",
                volumeType: "string",
            }],
            vpcId: "string",
            zoneId: "string",
        },
    });
    
    type: bytepluscc:ecs:LaunchTemplate
    properties:
        defaultVersionNumber: 0
        launchTemplateName: string
        launchTemplateProjectName: string
        launchTemplateTags:
            - key: string
              value: string
        launchTemplateVersion:
            deploymentSetGroupNumber: 0
            deploymentSetId: string
            description: string
            eip:
                bandwidth: 0
                bandwidthPackageId: string
                billingType: 0
                isp: string
                releaseWithInstance: false
                securityProtectionInstanceId: 0
                securityProtectionTypes:
                    - string
            hostName: string
            hpcClusterId: string
            imageId: string
            imageName: string
            instanceChargeType: string
            instanceName: string
            instanceTypeId: string
            keepImageCredential: false
            keyPairName: string
            networkInterfaces:
                - securityGroupIds:
                    - string
                  subnetId: string
            projectName: string
            scheduledInstance:
                scheduledInstanceDescription: string
                scheduledInstanceName: string
            securityEnhancementStrategy: string
            spotPriceLimit: 0
            spotStrategy: string
            suffixIndex: 0
            tags:
                - key: string
                  value: string
            uniqueSuffix: false
            userData: string
            versionDescription: string
            volumes:
                - deleteWithInstance: false
                  extraPerformanceIops: 0
                  extraPerformanceThroughputMb: 0
                  extraPerformanceTypeId: string
                  size: 0
                  snapshotId: string
                  volumeType: string
            vpcId: string
            zoneId: string
    

    LaunchTemplate 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 LaunchTemplate resource accepts the following input properties:

    LaunchTemplateName string
    实例启动模板名称。
    DefaultVersionNumber int
    实例启动模板的默认版本号。
    LaunchTemplateProjectName string
    实例启动模版所属项目。
    LaunchTemplateTags List<Byteplus.LaunchTemplateLaunchTemplateTag>
    LaunchTemplateVersion Byteplus.LaunchTemplateLaunchTemplateVersion
    实例启动模板版本信息。
    LaunchTemplateName string
    实例启动模板名称。
    DefaultVersionNumber int
    实例启动模板的默认版本号。
    LaunchTemplateProjectName string
    实例启动模版所属项目。
    LaunchTemplateTags []LaunchTemplateLaunchTemplateTagArgs
    LaunchTemplateVersion LaunchTemplateLaunchTemplateVersionArgs
    实例启动模板版本信息。
    launchTemplateName String
    实例启动模板名称。
    defaultVersionNumber Integer
    实例启动模板的默认版本号。
    launchTemplateProjectName String
    实例启动模版所属项目。
    launchTemplateTags List<LaunchTemplateLaunchTemplateTag>
    launchTemplateVersion LaunchTemplateLaunchTemplateVersion
    实例启动模板版本信息。
    launchTemplateName string
    实例启动模板名称。
    defaultVersionNumber number
    实例启动模板的默认版本号。
    launchTemplateProjectName string
    实例启动模版所属项目。
    launchTemplateTags LaunchTemplateLaunchTemplateTag[]
    launchTemplateVersion LaunchTemplateLaunchTemplateVersion
    实例启动模板版本信息。
    launch_template_name str
    实例启动模板名称。
    default_version_number int
    实例启动模板的默认版本号。
    launch_template_project_name str
    实例启动模版所属项目。
    launch_template_tags Sequence[LaunchTemplateLaunchTemplateTagArgs]
    launch_template_version LaunchTemplateLaunchTemplateVersionArgs
    实例启动模板版本信息。
    launchTemplateName String
    实例启动模板名称。
    defaultVersionNumber Number
    实例启动模板的默认版本号。
    launchTemplateProjectName String
    实例启动模版所属项目。
    launchTemplateTags List<Property Map>
    launchTemplateVersion Property Map
    实例启动模板版本信息。

    Outputs

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

    CreatedAt string
    实例启动模板的创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestVersionNumber int
    实例启动模的最新版本号。
    LaunchTemplateId string
    实例启动模板 ID。
    UpdatedAt string
    实例启动模板的更新时间。
    CreatedAt string
    实例启动模板的创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestVersionNumber int
    实例启动模的最新版本号。
    LaunchTemplateId string
    实例启动模板 ID。
    UpdatedAt string
    实例启动模板的更新时间。
    createdAt String
    实例启动模板的创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    latestVersionNumber Integer
    实例启动模的最新版本号。
    launchTemplateId String
    实例启动模板 ID。
    updatedAt String
    实例启动模板的更新时间。
    createdAt string
    实例启动模板的创建时间。
    id string
    The provider-assigned unique ID for this managed resource.
    latestVersionNumber number
    实例启动模的最新版本号。
    launchTemplateId string
    实例启动模板 ID。
    updatedAt string
    实例启动模板的更新时间。
    created_at str
    实例启动模板的创建时间。
    id str
    The provider-assigned unique ID for this managed resource.
    latest_version_number int
    实例启动模的最新版本号。
    launch_template_id str
    实例启动模板 ID。
    updated_at str
    实例启动模板的更新时间。
    createdAt String
    实例启动模板的创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    latestVersionNumber Number
    实例启动模的最新版本号。
    launchTemplateId String
    实例启动模板 ID。
    updatedAt String
    实例启动模板的更新时间。

    Look up Existing LaunchTemplate Resource

    Get an existing LaunchTemplate 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?: LaunchTemplateState, opts?: CustomResourceOptions): LaunchTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            default_version_number: Optional[int] = None,
            latest_version_number: Optional[int] = None,
            launch_template_id: Optional[str] = None,
            launch_template_name: Optional[str] = None,
            launch_template_project_name: Optional[str] = None,
            launch_template_tags: Optional[Sequence[LaunchTemplateLaunchTemplateTagArgs]] = None,
            launch_template_version: Optional[LaunchTemplateLaunchTemplateVersionArgs] = None,
            updated_at: Optional[str] = None) -> LaunchTemplate
    func GetLaunchTemplate(ctx *Context, name string, id IDInput, state *LaunchTemplateState, opts ...ResourceOption) (*LaunchTemplate, error)
    public static LaunchTemplate Get(string name, Input<string> id, LaunchTemplateState? state, CustomResourceOptions? opts = null)
    public static LaunchTemplate get(String name, Output<String> id, LaunchTemplateState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:ecs:LaunchTemplate    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:
    CreatedAt string
    实例启动模板的创建时间。
    DefaultVersionNumber int
    实例启动模板的默认版本号。
    LatestVersionNumber int
    实例启动模的最新版本号。
    LaunchTemplateId string
    实例启动模板 ID。
    LaunchTemplateName string
    实例启动模板名称。
    LaunchTemplateProjectName string
    实例启动模版所属项目。
    LaunchTemplateTags List<Byteplus.LaunchTemplateLaunchTemplateTag>
    LaunchTemplateVersion Byteplus.LaunchTemplateLaunchTemplateVersion
    实例启动模板版本信息。
    UpdatedAt string
    实例启动模板的更新时间。
    CreatedAt string
    实例启动模板的创建时间。
    DefaultVersionNumber int
    实例启动模板的默认版本号。
    LatestVersionNumber int
    实例启动模的最新版本号。
    LaunchTemplateId string
    实例启动模板 ID。
    LaunchTemplateName string
    实例启动模板名称。
    LaunchTemplateProjectName string
    实例启动模版所属项目。
    LaunchTemplateTags []LaunchTemplateLaunchTemplateTagArgs
    LaunchTemplateVersion LaunchTemplateLaunchTemplateVersionArgs
    实例启动模板版本信息。
    UpdatedAt string
    实例启动模板的更新时间。
    createdAt String
    实例启动模板的创建时间。
    defaultVersionNumber Integer
    实例启动模板的默认版本号。
    latestVersionNumber Integer
    实例启动模的最新版本号。
    launchTemplateId String
    实例启动模板 ID。
    launchTemplateName String
    实例启动模板名称。
    launchTemplateProjectName String
    实例启动模版所属项目。
    launchTemplateTags List<LaunchTemplateLaunchTemplateTag>
    launchTemplateVersion LaunchTemplateLaunchTemplateVersion
    实例启动模板版本信息。
    updatedAt String
    实例启动模板的更新时间。
    createdAt string
    实例启动模板的创建时间。
    defaultVersionNumber number
    实例启动模板的默认版本号。
    latestVersionNumber number
    实例启动模的最新版本号。
    launchTemplateId string
    实例启动模板 ID。
    launchTemplateName string
    实例启动模板名称。
    launchTemplateProjectName string
    实例启动模版所属项目。
    launchTemplateTags LaunchTemplateLaunchTemplateTag[]
    launchTemplateVersion LaunchTemplateLaunchTemplateVersion
    实例启动模板版本信息。
    updatedAt string
    实例启动模板的更新时间。
    created_at str
    实例启动模板的创建时间。
    default_version_number int
    实例启动模板的默认版本号。
    latest_version_number int
    实例启动模的最新版本号。
    launch_template_id str
    实例启动模板 ID。
    launch_template_name str
    实例启动模板名称。
    launch_template_project_name str
    实例启动模版所属项目。
    launch_template_tags Sequence[LaunchTemplateLaunchTemplateTagArgs]
    launch_template_version LaunchTemplateLaunchTemplateVersionArgs
    实例启动模板版本信息。
    updated_at str
    实例启动模板的更新时间。
    createdAt String
    实例启动模板的创建时间。
    defaultVersionNumber Number
    实例启动模板的默认版本号。
    latestVersionNumber Number
    实例启动模的最新版本号。
    launchTemplateId String
    实例启动模板 ID。
    launchTemplateName String
    实例启动模板名称。
    launchTemplateProjectName String
    实例启动模版所属项目。
    launchTemplateTags List<Property Map>
    launchTemplateVersion Property Map
    实例启动模板版本信息。
    updatedAt String
    实例启动模板的更新时间。

    Supporting Types

    LaunchTemplateLaunchTemplateTag, LaunchTemplateLaunchTemplateTagArgs

    Key string
    给资源添加的用户标签的标签键。
    Value string
    给资源添加的用户标签的标签值。
    Key string
    给资源添加的用户标签的标签键。
    Value string
    给资源添加的用户标签的标签值。
    key String
    给资源添加的用户标签的标签键。
    value String
    给资源添加的用户标签的标签值。
    key string
    给资源添加的用户标签的标签键。
    value string
    给资源添加的用户标签的标签值。
    key str
    给资源添加的用户标签的标签键。
    value str
    给资源添加的用户标签的标签值。
    key String
    给资源添加的用户标签的标签键。
    value String
    给资源添加的用户标签的标签值。

    LaunchTemplateLaunchTemplateVersion, LaunchTemplateLaunchTemplateVersionArgs

    DeploymentSetGroupNumber int
    当ECS实例要加入或调整的部署集策略为部署集组高可用策略(AvailabilityGroup)时,可以通过该参数指定实例在部署集中的分组号。
    DeploymentSetId string
    实例需要加入的部署集ID。
    Description string
    实例的描述。
    Eip Byteplus.LaunchTemplateLaunchTemplateVersionEip
    实例绑定的公网IP信息。
    HostName string
    实例的主机名。Linux系统的主机名长度限制为2~59个字符。Windows系统的主机名长度限制为2~10个字符。
    HpcClusterId string
    当创建高性能计算GPU型实例时,请指定高性能计算集群ID。
    ImageId string
    镜像ID。
    ImageName string
    镜像名称。
    InstanceChargeType string
    实例和云盘的计费类型,取值:PostPaid:按量计费。PrePaid:包年包月。Esi:弹性预约实例。Segmented:时段型弹性预约实例。
    InstanceName string
    实例的名称。
    InstanceTypeId string
    实例的规格。
    KeepImageCredential bool
    是否保留镜像设置,取值:true:保留镜像设置,保留后将使用镜像预设的密码或密钥对登录实例。false(默认):不保留镜像设置。
    KeyPairName string
    实例绑定的密钥对。
    NetworkInterfaces List<Byteplus.LaunchTemplateLaunchTemplateVersionNetworkInterface>
    ProjectName string
    实例所属项目。
    ScheduledInstance Byteplus.LaunchTemplateLaunchTemplateVersionScheduledInstance
    弹性预约单信息。
    SecurityEnhancementStrategy string
    是否开启安全加固。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    SpotPriceLimit double
    抢占式实例的每小时最高价格。
    SpotStrategy string
    按量计费的抢占式策略。取值:NoSpot:表示创建正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格的抢占式实例。SpotWithPriceLimit:设置出价上限的抢占式实例。
    SuffixIndex int
    有序后缀的起始序号。
    Tags List<Byteplus.LaunchTemplateLaunchTemplateVersionTag>
    UniqueSuffix bool
    表示当创建多台实例时,是否为Hostname和InstanceName自动添加有序后缀。
    UserData string
    实例的自定义数据。
    VersionDescription string
    模版版本描述。
    Volumes List<Byteplus.LaunchTemplateLaunchTemplateVersionVolume>
    VpcId string
    私有网络ID。
    ZoneId string
    实例所属可用区ID。
    DeploymentSetGroupNumber int
    当ECS实例要加入或调整的部署集策略为部署集组高可用策略(AvailabilityGroup)时,可以通过该参数指定实例在部署集中的分组号。
    DeploymentSetId string
    实例需要加入的部署集ID。
    Description string
    实例的描述。
    Eip LaunchTemplateLaunchTemplateVersionEip
    实例绑定的公网IP信息。
    HostName string
    实例的主机名。Linux系统的主机名长度限制为2~59个字符。Windows系统的主机名长度限制为2~10个字符。
    HpcClusterId string
    当创建高性能计算GPU型实例时,请指定高性能计算集群ID。
    ImageId string
    镜像ID。
    ImageName string
    镜像名称。
    InstanceChargeType string
    实例和云盘的计费类型,取值:PostPaid:按量计费。PrePaid:包年包月。Esi:弹性预约实例。Segmented:时段型弹性预约实例。
    InstanceName string
    实例的名称。
    InstanceTypeId string
    实例的规格。
    KeepImageCredential bool
    是否保留镜像设置,取值:true:保留镜像设置,保留后将使用镜像预设的密码或密钥对登录实例。false(默认):不保留镜像设置。
    KeyPairName string
    实例绑定的密钥对。
    NetworkInterfaces []LaunchTemplateLaunchTemplateVersionNetworkInterface
    ProjectName string
    实例所属项目。
    ScheduledInstance LaunchTemplateLaunchTemplateVersionScheduledInstance
    弹性预约单信息。
    SecurityEnhancementStrategy string
    是否开启安全加固。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    SpotPriceLimit float64
    抢占式实例的每小时最高价格。
    SpotStrategy string
    按量计费的抢占式策略。取值:NoSpot:表示创建正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格的抢占式实例。SpotWithPriceLimit:设置出价上限的抢占式实例。
    SuffixIndex int
    有序后缀的起始序号。
    Tags []LaunchTemplateLaunchTemplateVersionTag
    UniqueSuffix bool
    表示当创建多台实例时,是否为Hostname和InstanceName自动添加有序后缀。
    UserData string
    实例的自定义数据。
    VersionDescription string
    模版版本描述。
    Volumes []LaunchTemplateLaunchTemplateVersionVolume
    VpcId string
    私有网络ID。
    ZoneId string
    实例所属可用区ID。
    deploymentSetGroupNumber Integer
    当ECS实例要加入或调整的部署集策略为部署集组高可用策略(AvailabilityGroup)时,可以通过该参数指定实例在部署集中的分组号。
    deploymentSetId String
    实例需要加入的部署集ID。
    description String
    实例的描述。
    eip LaunchTemplateLaunchTemplateVersionEip
    实例绑定的公网IP信息。
    hostName String
    实例的主机名。Linux系统的主机名长度限制为2~59个字符。Windows系统的主机名长度限制为2~10个字符。
    hpcClusterId String
    当创建高性能计算GPU型实例时,请指定高性能计算集群ID。
    imageId String
    镜像ID。
    imageName String
    镜像名称。
    instanceChargeType String
    实例和云盘的计费类型,取值:PostPaid:按量计费。PrePaid:包年包月。Esi:弹性预约实例。Segmented:时段型弹性预约实例。
    instanceName String
    实例的名称。
    instanceTypeId String
    实例的规格。
    keepImageCredential Boolean
    是否保留镜像设置,取值:true:保留镜像设置,保留后将使用镜像预设的密码或密钥对登录实例。false(默认):不保留镜像设置。
    keyPairName String
    实例绑定的密钥对。
    networkInterfaces List<LaunchTemplateLaunchTemplateVersionNetworkInterface>
    projectName String
    实例所属项目。
    scheduledInstance LaunchTemplateLaunchTemplateVersionScheduledInstance
    弹性预约单信息。
    securityEnhancementStrategy String
    是否开启安全加固。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    spotPriceLimit Double
    抢占式实例的每小时最高价格。
    spotStrategy String
    按量计费的抢占式策略。取值:NoSpot:表示创建正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格的抢占式实例。SpotWithPriceLimit:设置出价上限的抢占式实例。
    suffixIndex Integer
    有序后缀的起始序号。
    tags List<LaunchTemplateLaunchTemplateVersionTag>
    uniqueSuffix Boolean
    表示当创建多台实例时,是否为Hostname和InstanceName自动添加有序后缀。
    userData String
    实例的自定义数据。
    versionDescription String
    模版版本描述。
    volumes List<LaunchTemplateLaunchTemplateVersionVolume>
    vpcId String
    私有网络ID。
    zoneId String
    实例所属可用区ID。
    deploymentSetGroupNumber number
    当ECS实例要加入或调整的部署集策略为部署集组高可用策略(AvailabilityGroup)时,可以通过该参数指定实例在部署集中的分组号。
    deploymentSetId string
    实例需要加入的部署集ID。
    description string
    实例的描述。
    eip LaunchTemplateLaunchTemplateVersionEip
    实例绑定的公网IP信息。
    hostName string
    实例的主机名。Linux系统的主机名长度限制为2~59个字符。Windows系统的主机名长度限制为2~10个字符。
    hpcClusterId string
    当创建高性能计算GPU型实例时,请指定高性能计算集群ID。
    imageId string
    镜像ID。
    imageName string
    镜像名称。
    instanceChargeType string
    实例和云盘的计费类型,取值:PostPaid:按量计费。PrePaid:包年包月。Esi:弹性预约实例。Segmented:时段型弹性预约实例。
    instanceName string
    实例的名称。
    instanceTypeId string
    实例的规格。
    keepImageCredential boolean
    是否保留镜像设置,取值:true:保留镜像设置,保留后将使用镜像预设的密码或密钥对登录实例。false(默认):不保留镜像设置。
    keyPairName string
    实例绑定的密钥对。
    networkInterfaces LaunchTemplateLaunchTemplateVersionNetworkInterface[]
    projectName string
    实例所属项目。
    scheduledInstance LaunchTemplateLaunchTemplateVersionScheduledInstance
    弹性预约单信息。
    securityEnhancementStrategy string
    是否开启安全加固。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    spotPriceLimit number
    抢占式实例的每小时最高价格。
    spotStrategy string
    按量计费的抢占式策略。取值:NoSpot:表示创建正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格的抢占式实例。SpotWithPriceLimit:设置出价上限的抢占式实例。
    suffixIndex number
    有序后缀的起始序号。
    tags LaunchTemplateLaunchTemplateVersionTag[]
    uniqueSuffix boolean
    表示当创建多台实例时,是否为Hostname和InstanceName自动添加有序后缀。
    userData string
    实例的自定义数据。
    versionDescription string
    模版版本描述。
    volumes LaunchTemplateLaunchTemplateVersionVolume[]
    vpcId string
    私有网络ID。
    zoneId string
    实例所属可用区ID。
    deployment_set_group_number int
    当ECS实例要加入或调整的部署集策略为部署集组高可用策略(AvailabilityGroup)时,可以通过该参数指定实例在部署集中的分组号。
    deployment_set_id str
    实例需要加入的部署集ID。
    description str
    实例的描述。
    eip LaunchTemplateLaunchTemplateVersionEip
    实例绑定的公网IP信息。
    host_name str
    实例的主机名。Linux系统的主机名长度限制为2~59个字符。Windows系统的主机名长度限制为2~10个字符。
    hpc_cluster_id str
    当创建高性能计算GPU型实例时,请指定高性能计算集群ID。
    image_id str
    镜像ID。
    image_name str
    镜像名称。
    instance_charge_type str
    实例和云盘的计费类型,取值:PostPaid:按量计费。PrePaid:包年包月。Esi:弹性预约实例。Segmented:时段型弹性预约实例。
    instance_name str
    实例的名称。
    instance_type_id str
    实例的规格。
    keep_image_credential bool
    是否保留镜像设置,取值:true:保留镜像设置,保留后将使用镜像预设的密码或密钥对登录实例。false(默认):不保留镜像设置。
    key_pair_name str
    实例绑定的密钥对。
    network_interfaces Sequence[LaunchTemplateLaunchTemplateVersionNetworkInterface]
    project_name str
    实例所属项目。
    scheduled_instance LaunchTemplateLaunchTemplateVersionScheduledInstance
    弹性预约单信息。
    security_enhancement_strategy str
    是否开启安全加固。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    spot_price_limit float
    抢占式实例的每小时最高价格。
    spot_strategy str
    按量计费的抢占式策略。取值:NoSpot:表示创建正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格的抢占式实例。SpotWithPriceLimit:设置出价上限的抢占式实例。
    suffix_index int
    有序后缀的起始序号。
    tags Sequence[LaunchTemplateLaunchTemplateVersionTag]
    unique_suffix bool
    表示当创建多台实例时,是否为Hostname和InstanceName自动添加有序后缀。
    user_data str
    实例的自定义数据。
    version_description str
    模版版本描述。
    volumes Sequence[LaunchTemplateLaunchTemplateVersionVolume]
    vpc_id str
    私有网络ID。
    zone_id str
    实例所属可用区ID。
    deploymentSetGroupNumber Number
    当ECS实例要加入或调整的部署集策略为部署集组高可用策略(AvailabilityGroup)时,可以通过该参数指定实例在部署集中的分组号。
    deploymentSetId String
    实例需要加入的部署集ID。
    description String
    实例的描述。
    eip Property Map
    实例绑定的公网IP信息。
    hostName String
    实例的主机名。Linux系统的主机名长度限制为2~59个字符。Windows系统的主机名长度限制为2~10个字符。
    hpcClusterId String
    当创建高性能计算GPU型实例时,请指定高性能计算集群ID。
    imageId String
    镜像ID。
    imageName String
    镜像名称。
    instanceChargeType String
    实例和云盘的计费类型,取值:PostPaid:按量计费。PrePaid:包年包月。Esi:弹性预约实例。Segmented:时段型弹性预约实例。
    instanceName String
    实例的名称。
    instanceTypeId String
    实例的规格。
    keepImageCredential Boolean
    是否保留镜像设置,取值:true:保留镜像设置,保留后将使用镜像预设的密码或密钥对登录实例。false(默认):不保留镜像设置。
    keyPairName String
    实例绑定的密钥对。
    networkInterfaces List<Property Map>
    projectName String
    实例所属项目。
    scheduledInstance Property Map
    弹性预约单信息。
    securityEnhancementStrategy String
    是否开启安全加固。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    spotPriceLimit Number
    抢占式实例的每小时最高价格。
    spotStrategy String
    按量计费的抢占式策略。取值:NoSpot:表示创建正常按量计费实例。SpotAsPriceGo:系统自动出价,跟随当前市场实际价格的抢占式实例。SpotWithPriceLimit:设置出价上限的抢占式实例。
    suffixIndex Number
    有序后缀的起始序号。
    tags List<Property Map>
    uniqueSuffix Boolean
    表示当创建多台实例时,是否为Hostname和InstanceName自动添加有序后缀。
    userData String
    实例的自定义数据。
    versionDescription String
    模版版本描述。
    volumes List<Property Map>
    vpcId String
    私有网络ID。
    zoneId String
    实例所属可用区ID。

    LaunchTemplateLaunchTemplateVersionEip, LaunchTemplateLaunchTemplateVersionEipArgs

    Bandwidth int
    公网IP的带宽上限,单位:Mbps。取值范围:1~200。默认值:1。
    BandwidthPackageId string
    共享带宽包的ID,表示将公网IP加入到共享带宽包。
    BillingType int
    公网IP的计费方式,取值:2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
    Isp string
    公网IP的线路类型,取值:BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:国电信静态单线。ChinaUnicom:中国联通静态单线。
    ReleaseWithInstance bool
    公网IP是否随实例删除,仅按量计费公网IP生效。
    SecurityProtectionInstanceId int
    安全防护包ID。
    SecurityProtectionTypes List<string>
    公网IP的安全防护类型。取值:AntiDDoS_Enhanced:申请增强防护类型的公网IP,可加入到DDoS原生防护(企业版)实例。
    Bandwidth int
    公网IP的带宽上限,单位:Mbps。取值范围:1~200。默认值:1。
    BandwidthPackageId string
    共享带宽包的ID,表示将公网IP加入到共享带宽包。
    BillingType int
    公网IP的计费方式,取值:2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
    Isp string
    公网IP的线路类型,取值:BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:国电信静态单线。ChinaUnicom:中国联通静态单线。
    ReleaseWithInstance bool
    公网IP是否随实例删除,仅按量计费公网IP生效。
    SecurityProtectionInstanceId int
    安全防护包ID。
    SecurityProtectionTypes []string
    公网IP的安全防护类型。取值:AntiDDoS_Enhanced:申请增强防护类型的公网IP,可加入到DDoS原生防护(企业版)实例。
    bandwidth Integer
    公网IP的带宽上限,单位:Mbps。取值范围:1~200。默认值:1。
    bandwidthPackageId String
    共享带宽包的ID,表示将公网IP加入到共享带宽包。
    billingType Integer
    公网IP的计费方式,取值:2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
    isp String
    公网IP的线路类型,取值:BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:国电信静态单线。ChinaUnicom:中国联通静态单线。
    releaseWithInstance Boolean
    公网IP是否随实例删除,仅按量计费公网IP生效。
    securityProtectionInstanceId Integer
    安全防护包ID。
    securityProtectionTypes List<String>
    公网IP的安全防护类型。取值:AntiDDoS_Enhanced:申请增强防护类型的公网IP,可加入到DDoS原生防护(企业版)实例。
    bandwidth number
    公网IP的带宽上限,单位:Mbps。取值范围:1~200。默认值:1。
    bandwidthPackageId string
    共享带宽包的ID,表示将公网IP加入到共享带宽包。
    billingType number
    公网IP的计费方式,取值:2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
    isp string
    公网IP的线路类型,取值:BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:国电信静态单线。ChinaUnicom:中国联通静态单线。
    releaseWithInstance boolean
    公网IP是否随实例删除,仅按量计费公网IP生效。
    securityProtectionInstanceId number
    安全防护包ID。
    securityProtectionTypes string[]
    公网IP的安全防护类型。取值:AntiDDoS_Enhanced:申请增强防护类型的公网IP,可加入到DDoS原生防护(企业版)实例。
    bandwidth int
    公网IP的带宽上限,单位:Mbps。取值范围:1~200。默认值:1。
    bandwidth_package_id str
    共享带宽包的ID,表示将公网IP加入到共享带宽包。
    billing_type int
    公网IP的计费方式,取值:2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
    isp str
    公网IP的线路类型,取值:BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:国电信静态单线。ChinaUnicom:中国联通静态单线。
    release_with_instance bool
    公网IP是否随实例删除,仅按量计费公网IP生效。
    security_protection_instance_id int
    安全防护包ID。
    security_protection_types Sequence[str]
    公网IP的安全防护类型。取值:AntiDDoS_Enhanced:申请增强防护类型的公网IP,可加入到DDoS原生防护(企业版)实例。
    bandwidth Number
    公网IP的带宽上限,单位:Mbps。取值范围:1~200。默认值:1。
    bandwidthPackageId String
    共享带宽包的ID,表示将公网IP加入到共享带宽包。
    billingType Number
    公网IP的计费方式,取值:2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
    isp String
    公网IP的线路类型,取值:BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:国电信静态单线。ChinaUnicom:中国联通静态单线。
    releaseWithInstance Boolean
    公网IP是否随实例删除,仅按量计费公网IP生效。
    securityProtectionInstanceId Number
    安全防护包ID。
    securityProtectionTypes List<String>
    公网IP的安全防护类型。取值:AntiDDoS_Enhanced:申请增强防护类型的公网IP,可加入到DDoS原生防护(企业版)实例。

    LaunchTemplateLaunchTemplateVersionNetworkInterface, LaunchTemplateLaunchTemplateVersionNetworkInterfaceArgs

    SecurityGroupIds List<string>
    网卡关联的安全组ID。
    SubnetId string
    实例的私有网络子网ID。
    SecurityGroupIds []string
    网卡关联的安全组ID。
    SubnetId string
    实例的私有网络子网ID。
    securityGroupIds List<String>
    网卡关联的安全组ID。
    subnetId String
    实例的私有网络子网ID。
    securityGroupIds string[]
    网卡关联的安全组ID。
    subnetId string
    实例的私有网络子网ID。
    security_group_ids Sequence[str]
    网卡关联的安全组ID。
    subnet_id str
    实例的私有网络子网ID。
    securityGroupIds List<String>
    网卡关联的安全组ID。
    subnetId String
    实例的私有网络子网ID。

    LaunchTemplateLaunchTemplateVersionScheduledInstance, LaunchTemplateLaunchTemplateVersionScheduledInstanceArgs

    ScheduledInstanceDescription string
    弹性预约单的描述。
    ScheduledInstanceName string
    弹性预约单的名称。
    ScheduledInstanceDescription string
    弹性预约单的描述。
    ScheduledInstanceName string
    弹性预约单的名称。
    scheduledInstanceDescription String
    弹性预约单的描述。
    scheduledInstanceName String
    弹性预约单的名称。
    scheduledInstanceDescription string
    弹性预约单的描述。
    scheduledInstanceName string
    弹性预约单的名称。
    scheduled_instance_description str
    弹性预约单的描述。
    scheduled_instance_name str
    弹性预约单的名称。
    scheduledInstanceDescription String
    弹性预约单的描述。
    scheduledInstanceName String
    弹性预约单的名称。

    LaunchTemplateLaunchTemplateVersionTag, LaunchTemplateLaunchTemplateVersionTagArgs

    Key string
    给资源添加的用户标签的标签键。
    Value string
    给资源添加的用户标签的标签值。
    Key string
    给资源添加的用户标签的标签键。
    Value string
    给资源添加的用户标签的标签值。
    key String
    给资源添加的用户标签的标签键。
    value String
    给资源添加的用户标签的标签值。
    key string
    给资源添加的用户标签的标签键。
    value string
    给资源添加的用户标签的标签值。
    key str
    给资源添加的用户标签的标签键。
    value str
    给资源添加的用户标签的标签值。
    key String
    给资源添加的用户标签的标签键。
    value String
    给资源添加的用户标签的标签值。

    LaunchTemplateLaunchTemplateVersionVolume, LaunchTemplateLaunchTemplateVersionVolumeArgs

    DeleteWithInstance bool
    云盘是否随实例释放。
    ExtraPerformanceIops int
    云盘额外IOPS性能大小,仅ESSD FlexPL数据盘支持,单位为次/秒。 ExtraPerformanceTypeId为Balance或IOPS时需设置该参数。各个类型的额外性能取值范围如下:IOPS型:1~50000。Balance型:1~50000。
    ExtraPerformanceThroughputMb int
    云盘额外吞吐性能大小,单位MB/s,仅ESSD FlexPL数据盘支持。 ExtraPerformanceTypeId为Throughput时需设置该参数。 取值范围:1~650。
    ExtraPerformanceTypeId string
    云盘额外性能的类型,仅ESSD FlexPL数据盘支持。关于额外性能的更多介绍,请参见云盘额外性能。取值:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    Size int
    云盘大小,单位为GB。系统盘:ESSDPL0:20~2048 PTSSD:10~500。数据盘:ESSDPL0:10~32768 PTSSD:20~8192
    SnapshotId string
    使用快照创建云盘,仅支持创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。
    VolumeType string
    云盘类型。ESSD_PL0:极速型SSD PL0。PTSSD:性能型SSD。
    DeleteWithInstance bool
    云盘是否随实例释放。
    ExtraPerformanceIops int
    云盘额外IOPS性能大小,仅ESSD FlexPL数据盘支持,单位为次/秒。 ExtraPerformanceTypeId为Balance或IOPS时需设置该参数。各个类型的额外性能取值范围如下:IOPS型:1~50000。Balance型:1~50000。
    ExtraPerformanceThroughputMb int
    云盘额外吞吐性能大小,单位MB/s,仅ESSD FlexPL数据盘支持。 ExtraPerformanceTypeId为Throughput时需设置该参数。 取值范围:1~650。
    ExtraPerformanceTypeId string
    云盘额外性能的类型,仅ESSD FlexPL数据盘支持。关于额外性能的更多介绍,请参见云盘额外性能。取值:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    Size int
    云盘大小,单位为GB。系统盘:ESSDPL0:20~2048 PTSSD:10~500。数据盘:ESSDPL0:10~32768 PTSSD:20~8192
    SnapshotId string
    使用快照创建云盘,仅支持创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。
    VolumeType string
    云盘类型。ESSD_PL0:极速型SSD PL0。PTSSD:性能型SSD。
    deleteWithInstance Boolean
    云盘是否随实例释放。
    extraPerformanceIops Integer
    云盘额外IOPS性能大小,仅ESSD FlexPL数据盘支持,单位为次/秒。 ExtraPerformanceTypeId为Balance或IOPS时需设置该参数。各个类型的额外性能取值范围如下:IOPS型:1~50000。Balance型:1~50000。
    extraPerformanceThroughputMb Integer
    云盘额外吞吐性能大小,单位MB/s,仅ESSD FlexPL数据盘支持。 ExtraPerformanceTypeId为Throughput时需设置该参数。 取值范围:1~650。
    extraPerformanceTypeId String
    云盘额外性能的类型,仅ESSD FlexPL数据盘支持。关于额外性能的更多介绍,请参见云盘额外性能。取值:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    size Integer
    云盘大小,单位为GB。系统盘:ESSDPL0:20~2048 PTSSD:10~500。数据盘:ESSDPL0:10~32768 PTSSD:20~8192
    snapshotId String
    使用快照创建云盘,仅支持创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。
    volumeType String
    云盘类型。ESSD_PL0:极速型SSD PL0。PTSSD:性能型SSD。
    deleteWithInstance boolean
    云盘是否随实例释放。
    extraPerformanceIops number
    云盘额外IOPS性能大小,仅ESSD FlexPL数据盘支持,单位为次/秒。 ExtraPerformanceTypeId为Balance或IOPS时需设置该参数。各个类型的额外性能取值范围如下:IOPS型:1~50000。Balance型:1~50000。
    extraPerformanceThroughputMb number
    云盘额外吞吐性能大小,单位MB/s,仅ESSD FlexPL数据盘支持。 ExtraPerformanceTypeId为Throughput时需设置该参数。 取值范围:1~650。
    extraPerformanceTypeId string
    云盘额外性能的类型,仅ESSD FlexPL数据盘支持。关于额外性能的更多介绍,请参见云盘额外性能。取值:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    size number
    云盘大小,单位为GB。系统盘:ESSDPL0:20~2048 PTSSD:10~500。数据盘:ESSDPL0:10~32768 PTSSD:20~8192
    snapshotId string
    使用快照创建云盘,仅支持创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。
    volumeType string
    云盘类型。ESSD_PL0:极速型SSD PL0。PTSSD:性能型SSD。
    delete_with_instance bool
    云盘是否随实例释放。
    extra_performance_iops int
    云盘额外IOPS性能大小,仅ESSD FlexPL数据盘支持,单位为次/秒。 ExtraPerformanceTypeId为Balance或IOPS时需设置该参数。各个类型的额外性能取值范围如下:IOPS型:1~50000。Balance型:1~50000。
    extra_performance_throughput_mb int
    云盘额外吞吐性能大小,单位MB/s,仅ESSD FlexPL数据盘支持。 ExtraPerformanceTypeId为Throughput时需设置该参数。 取值范围:1~650。
    extra_performance_type_id str
    云盘额外性能的类型,仅ESSD FlexPL数据盘支持。关于额外性能的更多介绍,请参见云盘额外性能。取值:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    size int
    云盘大小,单位为GB。系统盘:ESSDPL0:20~2048 PTSSD:10~500。数据盘:ESSDPL0:10~32768 PTSSD:20~8192
    snapshot_id str
    使用快照创建云盘,仅支持创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。
    volume_type str
    云盘类型。ESSD_PL0:极速型SSD PL0。PTSSD:性能型SSD。
    deleteWithInstance Boolean
    云盘是否随实例释放。
    extraPerformanceIops Number
    云盘额外IOPS性能大小,仅ESSD FlexPL数据盘支持,单位为次/秒。 ExtraPerformanceTypeId为Balance或IOPS时需设置该参数。各个类型的额外性能取值范围如下:IOPS型:1~50000。Balance型:1~50000。
    extraPerformanceThroughputMb Number
    云盘额外吞吐性能大小,单位MB/s,仅ESSD FlexPL数据盘支持。 ExtraPerformanceTypeId为Throughput时需设置该参数。 取值范围:1~650。
    extraPerformanceTypeId String
    云盘额外性能的类型,仅ESSD FlexPL数据盘支持。关于额外性能的更多介绍,请参见云盘额外性能。取值:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    size Number
    云盘大小,单位为GB。系统盘:ESSDPL0:20~2048 PTSSD:10~500。数据盘:ESSDPL0:10~32768 PTSSD:20~8192
    snapshotId String
    使用快照创建云盘,仅支持创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。
    volumeType String
    云盘类型。ESSD_PL0:极速型SSD PL0。PTSSD:性能型SSD。

    Import

    $ pulumi import bytepluscc:ecs/launchTemplate:LaunchTemplate example "launch_template_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.