tencentcloud.CvmLaunchTemplateVersion
Explore with Pulumi AI
Provides a resource to create a cvm launch_template_version
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = new tencentcloud.CvmLaunchTemplateVersion("foo", {
disableApiTermination: false,
imageId: "img-9qrfy1xt",
instanceType: "S5.MEDIUM4",
launchTemplateId: "lt-r9ajalbi",
launchTemplateVersionDescription: "version description",
placement: {
projectId: 0,
zone: "ap-guangzhou-6",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.CvmLaunchTemplateVersion("foo",
disable_api_termination=False,
image_id="img-9qrfy1xt",
instance_type="S5.MEDIUM4",
launch_template_id="lt-r9ajalbi",
launch_template_version_description="version description",
placement={
"project_id": 0,
"zone": "ap-guangzhou-6",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewCvmLaunchTemplateVersion(ctx, "foo", &tencentcloud.CvmLaunchTemplateVersionArgs{
DisableApiTermination: pulumi.Bool(false),
ImageId: pulumi.String("img-9qrfy1xt"),
InstanceType: pulumi.String("S5.MEDIUM4"),
LaunchTemplateId: pulumi.String("lt-r9ajalbi"),
LaunchTemplateVersionDescription: pulumi.String("version description"),
Placement: &tencentcloud.CvmLaunchTemplateVersionPlacementArgs{
ProjectId: pulumi.Float64(0),
Zone: pulumi.String("ap-guangzhou-6"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = new Tencentcloud.CvmLaunchTemplateVersion("foo", new()
{
DisableApiTermination = false,
ImageId = "img-9qrfy1xt",
InstanceType = "S5.MEDIUM4",
LaunchTemplateId = "lt-r9ajalbi",
LaunchTemplateVersionDescription = "version description",
Placement = new Tencentcloud.Inputs.CvmLaunchTemplateVersionPlacementArgs
{
ProjectId = 0,
Zone = "ap-guangzhou-6",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CvmLaunchTemplateVersion;
import com.pulumi.tencentcloud.CvmLaunchTemplateVersionArgs;
import com.pulumi.tencentcloud.inputs.CvmLaunchTemplateVersionPlacementArgs;
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 foo = new CvmLaunchTemplateVersion("foo", CvmLaunchTemplateVersionArgs.builder()
.disableApiTermination(false)
.imageId("img-9qrfy1xt")
.instanceType("S5.MEDIUM4")
.launchTemplateId("lt-r9ajalbi")
.launchTemplateVersionDescription("version description")
.placement(CvmLaunchTemplateVersionPlacementArgs.builder()
.projectId(0)
.zone("ap-guangzhou-6")
.build())
.build());
}
}
resources:
foo:
type: tencentcloud:CvmLaunchTemplateVersion
properties:
disableApiTermination: false
imageId: img-9qrfy1xt
instanceType: S5.MEDIUM4
launchTemplateId: lt-r9ajalbi
launchTemplateVersionDescription: version description
placement:
projectId: 0
zone: ap-guangzhou-6
Create CvmLaunchTemplateVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CvmLaunchTemplateVersion(name: string, args: CvmLaunchTemplateVersionArgs, opts?: CustomResourceOptions);
@overload
def CvmLaunchTemplateVersion(resource_name: str,
args: CvmLaunchTemplateVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CvmLaunchTemplateVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
launch_template_id: Optional[str] = None,
placement: Optional[CvmLaunchTemplateVersionPlacementArgs] = None,
instance_count: Optional[float] = None,
tag_specifications: Optional[Sequence[CvmLaunchTemplateVersionTagSpecificationArgs]] = None,
data_disks: Optional[Sequence[CvmLaunchTemplateVersionDataDiskArgs]] = None,
disable_api_termination: Optional[bool] = None,
disaster_recover_group_ids: Optional[Sequence[str]] = None,
dry_run: Optional[bool] = None,
enhanced_service: Optional[CvmLaunchTemplateVersionEnhancedServiceArgs] = None,
host_name: Optional[str] = None,
hpc_cluster_id: Optional[str] = None,
image_id: Optional[str] = None,
instance_charge_prepaid: Optional[CvmLaunchTemplateVersionInstanceChargePrepaidArgs] = None,
instance_name: Optional[str] = None,
cvm_launch_template_version_id: Optional[str] = None,
action_timer: Optional[CvmLaunchTemplateVersionActionTimerArgs] = None,
instance_charge_type: Optional[str] = None,
instance_type: Optional[str] = None,
internet_accessible: Optional[CvmLaunchTemplateVersionInternetAccessibleArgs] = None,
client_token: Optional[str] = None,
launch_template_version: Optional[float] = None,
launch_template_version_description: Optional[str] = None,
login_settings: Optional[CvmLaunchTemplateVersionLoginSettingsArgs] = None,
cam_role_name: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
system_disk: Optional[CvmLaunchTemplateVersionSystemDiskArgs] = None,
instance_market_options: Optional[CvmLaunchTemplateVersionInstanceMarketOptionsArgs] = None,
user_data: Optional[str] = None,
virtual_private_cloud: Optional[CvmLaunchTemplateVersionVirtualPrivateCloudArgs] = None)
func NewCvmLaunchTemplateVersion(ctx *Context, name string, args CvmLaunchTemplateVersionArgs, opts ...ResourceOption) (*CvmLaunchTemplateVersion, error)
public CvmLaunchTemplateVersion(string name, CvmLaunchTemplateVersionArgs args, CustomResourceOptions? opts = null)
public CvmLaunchTemplateVersion(String name, CvmLaunchTemplateVersionArgs args)
public CvmLaunchTemplateVersion(String name, CvmLaunchTemplateVersionArgs args, CustomResourceOptions options)
type: tencentcloud:CvmLaunchTemplateVersion
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 CvmLaunchTemplateVersionArgs
- 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 CvmLaunchTemplateVersionArgs
- 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 CvmLaunchTemplateVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CvmLaunchTemplateVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CvmLaunchTemplateVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CvmLaunchTemplateVersion 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 CvmLaunchTemplateVersion resource accepts the following input properties:
- Launch
Template stringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- Placement
Cvm
Launch Template Version Placement - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- Action
Timer CvmLaunch Template Version Action Timer - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- Cam
Role stringName - The role name of CAM.
- Client
Token string - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- Cvm
Launch stringTemplate Version Id - ID of the resource.
- Data
Disks List<CvmLaunch Template Version Data Disk> - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- Disable
Api boolTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - Disaster
Recover List<string>Group Ids - Placement group ID. You can only specify one.
- Dry
Run bool - Whether the request is a dry run only.
- Enhanced
Service CvmLaunch Template Version Enhanced Service - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- Host
Name string - Hostname of a CVM.
- Hpc
Cluster stringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- Image
Id string - Image ID.
- Instance
Charge CvmPrepaid Launch Template Version Instance Charge Prepaid - Describes the billing method of an instance.
- Instance
Charge stringType - The charge type of instance.
- Instance
Count double - The number of instances to be purchased.
- Instance
Market CvmOptions Launch Template Version Instance Market Options - Options related to bidding requests.
- Instance
Name string - Instance name to be displayed.
- Instance
Type string - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- Internet
Accessible CvmLaunch Template Version Internet Accessible - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- Launch
Template doubleVersion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- Launch
Template stringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- Login
Settings CvmLaunch Template Version Login Settings - Describes login settings of an instance.
- Security
Group List<string>Ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- System
Disk CvmLaunch Template Version System Disk - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- List<Cvm
Launch Template Version Tag Specification> - Description of tags associated with resource instances during instance creation.
- User
Data string - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- Virtual
Private CvmCloud Launch Template Version Virtual Private Cloud - Describes information on VPC, including subnets, IP addresses, etc.
- Launch
Template stringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- Placement
Cvm
Launch Template Version Placement Args - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- Action
Timer CvmLaunch Template Version Action Timer Args - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- Cam
Role stringName - The role name of CAM.
- Client
Token string - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- Cvm
Launch stringTemplate Version Id - ID of the resource.
- Data
Disks []CvmLaunch Template Version Data Disk Args - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- Disable
Api boolTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - Disaster
Recover []stringGroup Ids - Placement group ID. You can only specify one.
- Dry
Run bool - Whether the request is a dry run only.
- Enhanced
Service CvmLaunch Template Version Enhanced Service Args - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- Host
Name string - Hostname of a CVM.
- Hpc
Cluster stringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- Image
Id string - Image ID.
- Instance
Charge CvmPrepaid Launch Template Version Instance Charge Prepaid Args - Describes the billing method of an instance.
- Instance
Charge stringType - The charge type of instance.
- Instance
Count float64 - The number of instances to be purchased.
- Instance
Market CvmOptions Launch Template Version Instance Market Options Args - Options related to bidding requests.
- Instance
Name string - Instance name to be displayed.
- Instance
Type string - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- Internet
Accessible CvmLaunch Template Version Internet Accessible Args - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- Launch
Template float64Version - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- Launch
Template stringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- Login
Settings CvmLaunch Template Version Login Settings Args - Describes login settings of an instance.
- Security
Group []stringIds - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- System
Disk CvmLaunch Template Version System Disk Args - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- []Cvm
Launch Template Version Tag Specification Args - Description of tags associated with resource instances during instance creation.
- User
Data string - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- Virtual
Private CvmCloud Launch Template Version Virtual Private Cloud Args - Describes information on VPC, including subnets, IP addresses, etc.
- launch
Template StringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- placement
Cvm
Launch Template Version Placement - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- action
Timer CvmLaunch Template Version Action Timer - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- cam
Role StringName - The role name of CAM.
- client
Token String - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- cvm
Launch StringTemplate Version Id - ID of the resource.
- data
Disks List<CvmLaunch Template Version Data Disk> - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- disable
Api BooleanTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - disaster
Recover List<String>Group Ids - Placement group ID. You can only specify one.
- dry
Run Boolean - Whether the request is a dry run only.
- enhanced
Service CvmLaunch Template Version Enhanced Service - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- host
Name String - Hostname of a CVM.
- hpc
Cluster StringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- image
Id String - Image ID.
- instance
Charge CvmPrepaid Launch Template Version Instance Charge Prepaid - Describes the billing method of an instance.
- instance
Charge StringType - The charge type of instance.
- instance
Count Double - The number of instances to be purchased.
- instance
Market CvmOptions Launch Template Version Instance Market Options - Options related to bidding requests.
- instance
Name String - Instance name to be displayed.
- instance
Type String - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- internet
Accessible CvmLaunch Template Version Internet Accessible - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- launch
Template DoubleVersion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- launch
Template StringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- login
Settings CvmLaunch Template Version Login Settings - Describes login settings of an instance.
- security
Group List<String>Ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- system
Disk CvmLaunch Template Version System Disk - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- List<Cvm
Launch Template Version Tag Specification> - Description of tags associated with resource instances during instance creation.
- user
Data String - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- virtual
Private CvmCloud Launch Template Version Virtual Private Cloud - Describes information on VPC, including subnets, IP addresses, etc.
- launch
Template stringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- placement
Cvm
Launch Template Version Placement - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- action
Timer CvmLaunch Template Version Action Timer - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- cam
Role stringName - The role name of CAM.
- client
Token string - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- cvm
Launch stringTemplate Version Id - ID of the resource.
- data
Disks CvmLaunch Template Version Data Disk[] - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- disable
Api booleanTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - disaster
Recover string[]Group Ids - Placement group ID. You can only specify one.
- dry
Run boolean - Whether the request is a dry run only.
- enhanced
Service CvmLaunch Template Version Enhanced Service - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- host
Name string - Hostname of a CVM.
- hpc
Cluster stringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- image
Id string - Image ID.
- instance
Charge CvmPrepaid Launch Template Version Instance Charge Prepaid - Describes the billing method of an instance.
- instance
Charge stringType - The charge type of instance.
- instance
Count number - The number of instances to be purchased.
- instance
Market CvmOptions Launch Template Version Instance Market Options - Options related to bidding requests.
- instance
Name string - Instance name to be displayed.
- instance
Type string - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- internet
Accessible CvmLaunch Template Version Internet Accessible - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- launch
Template numberVersion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- launch
Template stringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- login
Settings CvmLaunch Template Version Login Settings - Describes login settings of an instance.
- security
Group string[]Ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- system
Disk CvmLaunch Template Version System Disk - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- Cvm
Launch Template Version Tag Specification[] - Description of tags associated with resource instances during instance creation.
- user
Data string - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- virtual
Private CvmCloud Launch Template Version Virtual Private Cloud - Describes information on VPC, including subnets, IP addresses, etc.
- launch_
template_ strid - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- placement
Cvm
Launch Template Version Placement Args - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- action_
timer CvmLaunch Template Version Action Timer Args - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- cam_
role_ strname - The role name of CAM.
- client_
token str - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- cvm_
launch_ strtemplate_ version_ id - ID of the resource.
- data_
disks Sequence[CvmLaunch Template Version Data Disk Args] - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- disable_
api_ booltermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - disaster_
recover_ Sequence[str]group_ ids - Placement group ID. You can only specify one.
- dry_
run bool - Whether the request is a dry run only.
- enhanced_
service CvmLaunch Template Version Enhanced Service Args - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- host_
name str - Hostname of a CVM.
- hpc_
cluster_ strid - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- image_
id str - Image ID.
- instance_
charge_ Cvmprepaid Launch Template Version Instance Charge Prepaid Args - Describes the billing method of an instance.
- instance_
charge_ strtype - The charge type of instance.
- instance_
count float - The number of instances to be purchased.
- instance_
market_ Cvmoptions Launch Template Version Instance Market Options Args - Options related to bidding requests.
- instance_
name str - Instance name to be displayed.
- instance_
type str - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- internet_
accessible CvmLaunch Template Version Internet Accessible Args - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- launch_
template_ floatversion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- launch_
template_ strversion_ description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- login_
settings CvmLaunch Template Version Login Settings Args - Describes login settings of an instance.
- security_
group_ Sequence[str]ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- system_
disk CvmLaunch Template Version System Disk Args - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- tag_
specifications Sequence[CvmLaunch Template Version Tag Specification Args] - Description of tags associated with resource instances during instance creation.
- user_
data str - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- virtual_
private_ Cvmcloud Launch Template Version Virtual Private Cloud Args - Describes information on VPC, including subnets, IP addresses, etc.
- launch
Template StringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- placement Property Map
- Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- action
Timer Property Map - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- cam
Role StringName - The role name of CAM.
- client
Token String - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- cvm
Launch StringTemplate Version Id - ID of the resource.
- data
Disks List<Property Map> - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- disable
Api BooleanTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - disaster
Recover List<String>Group Ids - Placement group ID. You can only specify one.
- dry
Run Boolean - Whether the request is a dry run only.
- enhanced
Service Property Map - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- host
Name String - Hostname of a CVM.
- hpc
Cluster StringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- image
Id String - Image ID.
- instance
Charge Property MapPrepaid - Describes the billing method of an instance.
- instance
Charge StringType - The charge type of instance.
- instance
Count Number - The number of instances to be purchased.
- instance
Market Property MapOptions - Options related to bidding requests.
- instance
Name String - Instance name to be displayed.
- instance
Type String - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- internet
Accessible Property Map - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- launch
Template NumberVersion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- launch
Template StringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- login
Settings Property Map - Describes login settings of an instance.
- security
Group List<String>Ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- system
Disk Property Map - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- List<Property Map>
- Description of tags associated with resource instances during instance creation.
- user
Data String - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- virtual
Private Property MapCloud - Describes information on VPC, including subnets, IP addresses, etc.
Outputs
All input properties are implicitly available as output properties. Additionally, the CvmLaunchTemplateVersion resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CvmLaunchTemplateVersion Resource
Get an existing CvmLaunchTemplateVersion 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?: CvmLaunchTemplateVersionState, opts?: CustomResourceOptions): CvmLaunchTemplateVersion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action_timer: Optional[CvmLaunchTemplateVersionActionTimerArgs] = None,
cam_role_name: Optional[str] = None,
client_token: Optional[str] = None,
cvm_launch_template_version_id: Optional[str] = None,
data_disks: Optional[Sequence[CvmLaunchTemplateVersionDataDiskArgs]] = None,
disable_api_termination: Optional[bool] = None,
disaster_recover_group_ids: Optional[Sequence[str]] = None,
dry_run: Optional[bool] = None,
enhanced_service: Optional[CvmLaunchTemplateVersionEnhancedServiceArgs] = None,
host_name: Optional[str] = None,
hpc_cluster_id: Optional[str] = None,
image_id: Optional[str] = None,
instance_charge_prepaid: Optional[CvmLaunchTemplateVersionInstanceChargePrepaidArgs] = None,
instance_charge_type: Optional[str] = None,
instance_count: Optional[float] = None,
instance_market_options: Optional[CvmLaunchTemplateVersionInstanceMarketOptionsArgs] = None,
instance_name: Optional[str] = None,
instance_type: Optional[str] = None,
internet_accessible: Optional[CvmLaunchTemplateVersionInternetAccessibleArgs] = None,
launch_template_id: Optional[str] = None,
launch_template_version: Optional[float] = None,
launch_template_version_description: Optional[str] = None,
login_settings: Optional[CvmLaunchTemplateVersionLoginSettingsArgs] = None,
placement: Optional[CvmLaunchTemplateVersionPlacementArgs] = None,
security_group_ids: Optional[Sequence[str]] = None,
system_disk: Optional[CvmLaunchTemplateVersionSystemDiskArgs] = None,
tag_specifications: Optional[Sequence[CvmLaunchTemplateVersionTagSpecificationArgs]] = None,
user_data: Optional[str] = None,
virtual_private_cloud: Optional[CvmLaunchTemplateVersionVirtualPrivateCloudArgs] = None) -> CvmLaunchTemplateVersion
func GetCvmLaunchTemplateVersion(ctx *Context, name string, id IDInput, state *CvmLaunchTemplateVersionState, opts ...ResourceOption) (*CvmLaunchTemplateVersion, error)
public static CvmLaunchTemplateVersion Get(string name, Input<string> id, CvmLaunchTemplateVersionState? state, CustomResourceOptions? opts = null)
public static CvmLaunchTemplateVersion get(String name, Output<String> id, CvmLaunchTemplateVersionState state, CustomResourceOptions options)
resources: _: type: tencentcloud:CvmLaunchTemplateVersion 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.
- Action
Timer CvmLaunch Template Version Action Timer - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- Cam
Role stringName - The role name of CAM.
- Client
Token string - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- Cvm
Launch stringTemplate Version Id - ID of the resource.
- Data
Disks List<CvmLaunch Template Version Data Disk> - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- Disable
Api boolTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - Disaster
Recover List<string>Group Ids - Placement group ID. You can only specify one.
- Dry
Run bool - Whether the request is a dry run only.
- Enhanced
Service CvmLaunch Template Version Enhanced Service - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- Host
Name string - Hostname of a CVM.
- Hpc
Cluster stringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- Image
Id string - Image ID.
- Instance
Charge CvmPrepaid Launch Template Version Instance Charge Prepaid - Describes the billing method of an instance.
- Instance
Charge stringType - The charge type of instance.
- Instance
Count double - The number of instances to be purchased.
- Instance
Market CvmOptions Launch Template Version Instance Market Options - Options related to bidding requests.
- Instance
Name string - Instance name to be displayed.
- Instance
Type string - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- Internet
Accessible CvmLaunch Template Version Internet Accessible - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- Launch
Template stringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- Launch
Template doubleVersion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- Launch
Template stringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- Login
Settings CvmLaunch Template Version Login Settings - Describes login settings of an instance.
- Placement
Cvm
Launch Template Version Placement - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- Security
Group List<string>Ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- System
Disk CvmLaunch Template Version System Disk - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- List<Cvm
Launch Template Version Tag Specification> - Description of tags associated with resource instances during instance creation.
- User
Data string - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- Virtual
Private CvmCloud Launch Template Version Virtual Private Cloud - Describes information on VPC, including subnets, IP addresses, etc.
- Action
Timer CvmLaunch Template Version Action Timer Args - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- Cam
Role stringName - The role name of CAM.
- Client
Token string - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- Cvm
Launch stringTemplate Version Id - ID of the resource.
- Data
Disks []CvmLaunch Template Version Data Disk Args - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- Disable
Api boolTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - Disaster
Recover []stringGroup Ids - Placement group ID. You can only specify one.
- Dry
Run bool - Whether the request is a dry run only.
- Enhanced
Service CvmLaunch Template Version Enhanced Service Args - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- Host
Name string - Hostname of a CVM.
- Hpc
Cluster stringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- Image
Id string - Image ID.
- Instance
Charge CvmPrepaid Launch Template Version Instance Charge Prepaid Args - Describes the billing method of an instance.
- Instance
Charge stringType - The charge type of instance.
- Instance
Count float64 - The number of instances to be purchased.
- Instance
Market CvmOptions Launch Template Version Instance Market Options Args - Options related to bidding requests.
- Instance
Name string - Instance name to be displayed.
- Instance
Type string - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- Internet
Accessible CvmLaunch Template Version Internet Accessible Args - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- Launch
Template stringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- Launch
Template float64Version - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- Launch
Template stringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- Login
Settings CvmLaunch Template Version Login Settings Args - Describes login settings of an instance.
- Placement
Cvm
Launch Template Version Placement Args - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- Security
Group []stringIds - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- System
Disk CvmLaunch Template Version System Disk Args - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- []Cvm
Launch Template Version Tag Specification Args - Description of tags associated with resource instances during instance creation.
- User
Data string - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- Virtual
Private CvmCloud Launch Template Version Virtual Private Cloud Args - Describes information on VPC, including subnets, IP addresses, etc.
- action
Timer CvmLaunch Template Version Action Timer - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- cam
Role StringName - The role name of CAM.
- client
Token String - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- cvm
Launch StringTemplate Version Id - ID of the resource.
- data
Disks List<CvmLaunch Template Version Data Disk> - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- disable
Api BooleanTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - disaster
Recover List<String>Group Ids - Placement group ID. You can only specify one.
- dry
Run Boolean - Whether the request is a dry run only.
- enhanced
Service CvmLaunch Template Version Enhanced Service - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- host
Name String - Hostname of a CVM.
- hpc
Cluster StringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- image
Id String - Image ID.
- instance
Charge CvmPrepaid Launch Template Version Instance Charge Prepaid - Describes the billing method of an instance.
- instance
Charge StringType - The charge type of instance.
- instance
Count Double - The number of instances to be purchased.
- instance
Market CvmOptions Launch Template Version Instance Market Options - Options related to bidding requests.
- instance
Name String - Instance name to be displayed.
- instance
Type String - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- internet
Accessible CvmLaunch Template Version Internet Accessible - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- launch
Template StringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- launch
Template DoubleVersion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- launch
Template StringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- login
Settings CvmLaunch Template Version Login Settings - Describes login settings of an instance.
- placement
Cvm
Launch Template Version Placement - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- security
Group List<String>Ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- system
Disk CvmLaunch Template Version System Disk - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- List<Cvm
Launch Template Version Tag Specification> - Description of tags associated with resource instances during instance creation.
- user
Data String - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- virtual
Private CvmCloud Launch Template Version Virtual Private Cloud - Describes information on VPC, including subnets, IP addresses, etc.
- action
Timer CvmLaunch Template Version Action Timer - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- cam
Role stringName - The role name of CAM.
- client
Token string - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- cvm
Launch stringTemplate Version Id - ID of the resource.
- data
Disks CvmLaunch Template Version Data Disk[] - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- disable
Api booleanTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - disaster
Recover string[]Group Ids - Placement group ID. You can only specify one.
- dry
Run boolean - Whether the request is a dry run only.
- enhanced
Service CvmLaunch Template Version Enhanced Service - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- host
Name string - Hostname of a CVM.
- hpc
Cluster stringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- image
Id string - Image ID.
- instance
Charge CvmPrepaid Launch Template Version Instance Charge Prepaid - Describes the billing method of an instance.
- instance
Charge stringType - The charge type of instance.
- instance
Count number - The number of instances to be purchased.
- instance
Market CvmOptions Launch Template Version Instance Market Options - Options related to bidding requests.
- instance
Name string - Instance name to be displayed.
- instance
Type string - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- internet
Accessible CvmLaunch Template Version Internet Accessible - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- launch
Template stringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- launch
Template numberVersion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- launch
Template stringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- login
Settings CvmLaunch Template Version Login Settings - Describes login settings of an instance.
- placement
Cvm
Launch Template Version Placement - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- security
Group string[]Ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- system
Disk CvmLaunch Template Version System Disk - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- Cvm
Launch Template Version Tag Specification[] - Description of tags associated with resource instances during instance creation.
- user
Data string - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- virtual
Private CvmCloud Launch Template Version Virtual Private Cloud - Describes information on VPC, including subnets, IP addresses, etc.
- action_
timer CvmLaunch Template Version Action Timer Args - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- cam_
role_ strname - The role name of CAM.
- client_
token str - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- cvm_
launch_ strtemplate_ version_ id - ID of the resource.
- data_
disks Sequence[CvmLaunch Template Version Data Disk Args] - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- disable_
api_ booltermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - disaster_
recover_ Sequence[str]group_ ids - Placement group ID. You can only specify one.
- dry_
run bool - Whether the request is a dry run only.
- enhanced_
service CvmLaunch Template Version Enhanced Service Args - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- host_
name str - Hostname of a CVM.
- hpc_
cluster_ strid - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- image_
id str - Image ID.
- instance_
charge_ Cvmprepaid Launch Template Version Instance Charge Prepaid Args - Describes the billing method of an instance.
- instance_
charge_ strtype - The charge type of instance.
- instance_
count float - The number of instances to be purchased.
- instance_
market_ Cvmoptions Launch Template Version Instance Market Options Args - Options related to bidding requests.
- instance_
name str - Instance name to be displayed.
- instance_
type str - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- internet_
accessible CvmLaunch Template Version Internet Accessible Args - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- launch_
template_ strid - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- launch_
template_ floatversion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- launch_
template_ strversion_ description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- login_
settings CvmLaunch Template Version Login Settings Args - Describes login settings of an instance.
- placement
Cvm
Launch Template Version Placement Args - Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- security_
group_ Sequence[str]ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- system_
disk CvmLaunch Template Version System Disk Args - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- tag_
specifications Sequence[CvmLaunch Template Version Tag Specification Args] - Description of tags associated with resource instances during instance creation.
- user_
data str - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- virtual_
private_ Cvmcloud Launch Template Version Virtual Private Cloud Args - Describes information on VPC, including subnets, IP addresses, etc.
- action
Timer Property Map - Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
- cam
Role StringName - The role name of CAM.
- client
Token String - A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
- cvm
Launch StringTemplate Version Id - ID of the resource.
- data
Disks List<Property Map> - The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default.
- disable
Api BooleanTermination - Whether the termination protection is enabled.
TRUE
: Enable instance protection, which means that this instance can not be deleted by an API action.FALSE
: Do not enable the instance protection. Default value:FALSE
. - disaster
Recover List<String>Group Ids - Placement group ID. You can only specify one.
- dry
Run Boolean - Whether the request is a dry run only.
- enhanced
Service Property Map - Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default.
- host
Name String - Hostname of a CVM.
- hpc
Cluster StringId - HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
- image
Id String - Image ID.
- instance
Charge Property MapPrepaid - Describes the billing method of an instance.
- instance
Charge StringType - The charge type of instance.
- instance
Count Number - The number of instances to be purchased.
- instance
Market Property MapOptions - Options related to bidding requests.
- instance
Name String - Instance name to be displayed.
- instance
Type String - The type of the instance. If this parameter is not specified, the system will dynamically specify the default model according to the resource sales in the current region.
- internet
Accessible Property Map - Describes the accessibility of an instance in the public network, including its network billing method, maximum bandwidth, etc.
- launch
Template StringId - Instance launch template ID. This parameter is used as a basis for creating new template versions.
- launch
Template NumberVersion - This parameter, when specified, is used to create instance launch templates. If this parameter is not specified, the default version will be used.
- launch
Template StringVersion Description - Description of instance launch template versions. This parameter can contain 2-256 characters.
- login
Settings Property Map - Describes login settings of an instance.
- placement Property Map
- Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs).
- security
Group List<String>Ids - Security groups to which the instance belongs. If this parameter is not specified, the instance will be associated with default security groups.
- system
Disk Property Map - System disk configuration information of the instance. If this parameter is not specified, it is assigned according to the system default.
- List<Property Map>
- Description of tags associated with resource instances during instance creation.
- user
Data String - User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16 KB.
- virtual
Private Property MapCloud - Describes information on VPC, including subnets, IP addresses, etc.
Supporting Types
CvmLaunchTemplateVersionActionTimer, CvmLaunchTemplateVersionActionTimerArgs
- Action
Time string - Execution time, displayed according to ISO8601 standard, and UTC time is used. The format is YYYY-MM-DDThh:mm:ssZ. For example, 2018-05-29T11:26:40Z, the execution must be at least 5 minutes later than the current time.
- Externals
Cvm
Launch Template Version Action Timer Externals - Additional data.
- Timer
Action string - Timer name. Currently TerminateInstances is the only supported value.
- Action
Time string - Execution time, displayed according to ISO8601 standard, and UTC time is used. The format is YYYY-MM-DDThh:mm:ssZ. For example, 2018-05-29T11:26:40Z, the execution must be at least 5 minutes later than the current time.
- Externals
Cvm
Launch Template Version Action Timer Externals - Additional data.
- Timer
Action string - Timer name. Currently TerminateInstances is the only supported value.
- action
Time String - Execution time, displayed according to ISO8601 standard, and UTC time is used. The format is YYYY-MM-DDThh:mm:ssZ. For example, 2018-05-29T11:26:40Z, the execution must be at least 5 minutes later than the current time.
- externals
Cvm
Launch Template Version Action Timer Externals - Additional data.
- timer
Action String - Timer name. Currently TerminateInstances is the only supported value.
- action
Time string - Execution time, displayed according to ISO8601 standard, and UTC time is used. The format is YYYY-MM-DDThh:mm:ssZ. For example, 2018-05-29T11:26:40Z, the execution must be at least 5 minutes later than the current time.
- externals
Cvm
Launch Template Version Action Timer Externals - Additional data.
- timer
Action string - Timer name. Currently TerminateInstances is the only supported value.
- action_
time str - Execution time, displayed according to ISO8601 standard, and UTC time is used. The format is YYYY-MM-DDThh:mm:ssZ. For example, 2018-05-29T11:26:40Z, the execution must be at least 5 minutes later than the current time.
- externals
Cvm
Launch Template Version Action Timer Externals - Additional data.
- timer_
action str - Timer name. Currently TerminateInstances is the only supported value.
- action
Time String - Execution time, displayed according to ISO8601 standard, and UTC time is used. The format is YYYY-MM-DDThh:mm:ssZ. For example, 2018-05-29T11:26:40Z, the execution must be at least 5 minutes later than the current time.
- externals Property Map
- Additional data.
- timer
Action String - Timer name. Currently TerminateInstances is the only supported value.
CvmLaunchTemplateVersionActionTimerExternals, CvmLaunchTemplateVersionActionTimerExternalsArgs
- Release
Address bool - Release address.
- Storage
Block CvmAttr Launch Template Version Action Timer Externals Storage Block Attr - Information on local HDD storage.
- Unsupport
Networks List<string> - Not supported network.
- Release
Address bool - Release address.
- Storage
Block CvmAttr Launch Template Version Action Timer Externals Storage Block Attr - Information on local HDD storage.
- Unsupport
Networks []string - Not supported network.
- release
Address Boolean - Release address.
- storage
Block CvmAttr Launch Template Version Action Timer Externals Storage Block Attr - Information on local HDD storage.
- unsupport
Networks List<String> - Not supported network.
- release
Address boolean - Release address.
- storage
Block CvmAttr Launch Template Version Action Timer Externals Storage Block Attr - Information on local HDD storage.
- unsupport
Networks string[] - Not supported network.
- release_
address bool - Release address.
- storage_
block_ Cvmattr Launch Template Version Action Timer Externals Storage Block Attr - Information on local HDD storage.
- unsupport_
networks Sequence[str] - Not supported network.
- release
Address Boolean - Release address.
- storage
Block Property MapAttr - Information on local HDD storage.
- unsupport
Networks List<String> - Not supported network.
CvmLaunchTemplateVersionActionTimerExternalsStorageBlockAttr, CvmLaunchTemplateVersionActionTimerExternalsStorageBlockAttrArgs
CvmLaunchTemplateVersionDataDisk, CvmLaunchTemplateVersionDataDiskArgs
- Disk
Size double - Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type.
- Cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- Delete
With boolInstance - Whether to terminate the data disk when its CVM is terminated. Default value:
true
. - Disk
Id string - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- Disk
Type string - The type of data disk.
- Encrypt bool
- Specifies whether the data disk is encrypted.
- Kms
Key stringId - ID of the custom CMK in the format of UUID or
kms-abcd1234
. - Snapshot
Id string - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk. Note: This field may return null, indicating that no valid value is found.
- Throughput
Performance double - Cloud disk performance in MB/s.
- Disk
Size float64 - Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type.
- Cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- Delete
With boolInstance - Whether to terminate the data disk when its CVM is terminated. Default value:
true
. - Disk
Id string - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- Disk
Type string - The type of data disk.
- Encrypt bool
- Specifies whether the data disk is encrypted.
- Kms
Key stringId - ID of the custom CMK in the format of UUID or
kms-abcd1234
. - Snapshot
Id string - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk. Note: This field may return null, indicating that no valid value is found.
- Throughput
Performance float64 - Cloud disk performance in MB/s.
- disk
Size Double - Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type.
- cdc
Id String - ID of the dedicated cluster to which the instance belongs.
- delete
With BooleanInstance - Whether to terminate the data disk when its CVM is terminated. Default value:
true
. - disk
Id String - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- disk
Type String - The type of data disk.
- encrypt Boolean
- Specifies whether the data disk is encrypted.
- kms
Key StringId - ID of the custom CMK in the format of UUID or
kms-abcd1234
. - snapshot
Id String - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk. Note: This field may return null, indicating that no valid value is found.
- throughput
Performance Double - Cloud disk performance in MB/s.
- disk
Size number - Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type.
- cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- delete
With booleanInstance - Whether to terminate the data disk when its CVM is terminated. Default value:
true
. - disk
Id string - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- disk
Type string - The type of data disk.
- encrypt boolean
- Specifies whether the data disk is encrypted.
- kms
Key stringId - ID of the custom CMK in the format of UUID or
kms-abcd1234
. - snapshot
Id string - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk. Note: This field may return null, indicating that no valid value is found.
- throughput
Performance number - Cloud disk performance in MB/s.
- disk_
size float - Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type.
- cdc_
id str - ID of the dedicated cluster to which the instance belongs.
- delete_
with_ boolinstance - Whether to terminate the data disk when its CVM is terminated. Default value:
true
. - disk_
id str - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- disk_
type str - The type of data disk.
- encrypt bool
- Specifies whether the data disk is encrypted.
- kms_
key_ strid - ID of the custom CMK in the format of UUID or
kms-abcd1234
. - snapshot_
id str - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk. Note: This field may return null, indicating that no valid value is found.
- throughput_
performance float - Cloud disk performance in MB/s.
- disk
Size Number - Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type.
- cdc
Id String - ID of the dedicated cluster to which the instance belongs.
- delete
With BooleanInstance - Whether to terminate the data disk when its CVM is terminated. Default value:
true
. - disk
Id String - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- disk
Type String - The type of data disk.
- encrypt Boolean
- Specifies whether the data disk is encrypted.
- kms
Key StringId - ID of the custom CMK in the format of UUID or
kms-abcd1234
. - snapshot
Id String - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk. Note: This field may return null, indicating that no valid value is found.
- throughput
Performance Number - Cloud disk performance in MB/s.
CvmLaunchTemplateVersionEnhancedService, CvmLaunchTemplateVersionEnhancedServiceArgs
- Automation
Service CvmLaunch Template Version Enhanced Service Automation Service - Whether to enable the TAT service. If this parameter is not specified, the TAT service is enabled for public images and disabled for other images by default.
- Monitor
Service CvmLaunch Template Version Enhanced Service Monitor Service - Enables cloud monitor service. If this parameter is not specified, the cloud monitor service will be enabled by default.
- Security
Service CvmLaunch Template Version Enhanced Service Security Service - Enables cloud security service. If this parameter is not specified, the cloud security service will be enabled by default.
- Automation
Service CvmLaunch Template Version Enhanced Service Automation Service - Whether to enable the TAT service. If this parameter is not specified, the TAT service is enabled for public images and disabled for other images by default.
- Monitor
Service CvmLaunch Template Version Enhanced Service Monitor Service - Enables cloud monitor service. If this parameter is not specified, the cloud monitor service will be enabled by default.
- Security
Service CvmLaunch Template Version Enhanced Service Security Service - Enables cloud security service. If this parameter is not specified, the cloud security service will be enabled by default.
- automation
Service CvmLaunch Template Version Enhanced Service Automation Service - Whether to enable the TAT service. If this parameter is not specified, the TAT service is enabled for public images and disabled for other images by default.
- monitor
Service CvmLaunch Template Version Enhanced Service Monitor Service - Enables cloud monitor service. If this parameter is not specified, the cloud monitor service will be enabled by default.
- security
Service CvmLaunch Template Version Enhanced Service Security Service - Enables cloud security service. If this parameter is not specified, the cloud security service will be enabled by default.
- automation
Service CvmLaunch Template Version Enhanced Service Automation Service - Whether to enable the TAT service. If this parameter is not specified, the TAT service is enabled for public images and disabled for other images by default.
- monitor
Service CvmLaunch Template Version Enhanced Service Monitor Service - Enables cloud monitor service. If this parameter is not specified, the cloud monitor service will be enabled by default.
- security
Service CvmLaunch Template Version Enhanced Service Security Service - Enables cloud security service. If this parameter is not specified, the cloud security service will be enabled by default.
- automation_
service CvmLaunch Template Version Enhanced Service Automation Service - Whether to enable the TAT service. If this parameter is not specified, the TAT service is enabled for public images and disabled for other images by default.
- monitor_
service CvmLaunch Template Version Enhanced Service Monitor Service - Enables cloud monitor service. If this parameter is not specified, the cloud monitor service will be enabled by default.
- security_
service CvmLaunch Template Version Enhanced Service Security Service - Enables cloud security service. If this parameter is not specified, the cloud security service will be enabled by default.
- automation
Service Property Map - Whether to enable the TAT service. If this parameter is not specified, the TAT service is enabled for public images and disabled for other images by default.
- monitor
Service Property Map - Enables cloud monitor service. If this parameter is not specified, the cloud monitor service will be enabled by default.
- security
Service Property Map - Enables cloud security service. If this parameter is not specified, the cloud security service will be enabled by default.
CvmLaunchTemplateVersionEnhancedServiceAutomationService, CvmLaunchTemplateVersionEnhancedServiceAutomationServiceArgs
- Enabled bool
- Whether to enable the TAT service.
- Enabled bool
- Whether to enable the TAT service.
- enabled Boolean
- Whether to enable the TAT service.
- enabled boolean
- Whether to enable the TAT service.
- enabled bool
- Whether to enable the TAT service.
- enabled Boolean
- Whether to enable the TAT service.
CvmLaunchTemplateVersionEnhancedServiceMonitorService, CvmLaunchTemplateVersionEnhancedServiceMonitorServiceArgs
- Enabled bool
- Whether to enable Cloud Monitor.
- Enabled bool
- Whether to enable Cloud Monitor.
- enabled Boolean
- Whether to enable Cloud Monitor.
- enabled boolean
- Whether to enable Cloud Monitor.
- enabled bool
- Whether to enable Cloud Monitor.
- enabled Boolean
- Whether to enable Cloud Monitor.
CvmLaunchTemplateVersionEnhancedServiceSecurityService, CvmLaunchTemplateVersionEnhancedServiceSecurityServiceArgs
- Enabled bool
- Whether to enable Cloud Security.
- Enabled bool
- Whether to enable Cloud Security.
- enabled Boolean
- Whether to enable Cloud Security.
- enabled boolean
- Whether to enable Cloud Security.
- enabled bool
- Whether to enable Cloud Security.
- enabled Boolean
- Whether to enable Cloud Security.
CvmLaunchTemplateVersionInstanceChargePrepaid, CvmLaunchTemplateVersionInstanceChargePrepaidArgs
- Period double
- Subscription period; unit: month; valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
- Renew
Flag string - Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient.
- Period float64
- Subscription period; unit: month; valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
- Renew
Flag string - Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient.
- period Double
- Subscription period; unit: month; valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
- renew
Flag String - Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient.
- period number
- Subscription period; unit: month; valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
- renew
Flag string - Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient.
- period float
- Subscription period; unit: month; valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
- renew_
flag str - Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient.
- period Number
- Subscription period; unit: month; valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
- renew
Flag String - Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient.
CvmLaunchTemplateVersionInstanceMarketOptions, CvmLaunchTemplateVersionInstanceMarketOptionsArgs
- Spot
Options CvmLaunch Template Version Instance Market Options Spot Options - Options related to bidding.
- Market
Type string - Market option type. Currently spot is the only supported value.
- Spot
Options CvmLaunch Template Version Instance Market Options Spot Options - Options related to bidding.
- Market
Type string - Market option type. Currently spot is the only supported value.
- spot
Options CvmLaunch Template Version Instance Market Options Spot Options - Options related to bidding.
- market
Type String - Market option type. Currently spot is the only supported value.
- spot
Options CvmLaunch Template Version Instance Market Options Spot Options - Options related to bidding.
- market
Type string - Market option type. Currently spot is the only supported value.
- spot_
options CvmLaunch Template Version Instance Market Options Spot Options - Options related to bidding.
- market_
type str - Market option type. Currently spot is the only supported value.
- spot
Options Property Map - Options related to bidding.
- market
Type String - Market option type. Currently spot is the only supported value.
CvmLaunchTemplateVersionInstanceMarketOptionsSpotOptions, CvmLaunchTemplateVersionInstanceMarketOptionsSpotOptionsArgs
- Max
Price string - Bidding price.
- Spot
Instance stringType - Bidding request type. Currently only one-time is supported.
- Max
Price string - Bidding price.
- Spot
Instance stringType - Bidding request type. Currently only one-time is supported.
- max
Price String - Bidding price.
- spot
Instance StringType - Bidding request type. Currently only one-time is supported.
- max
Price string - Bidding price.
- spot
Instance stringType - Bidding request type. Currently only one-time is supported.
- max_
price str - Bidding price.
- spot_
instance_ strtype - Bidding request type. Currently only one-time is supported.
- max
Price String - Bidding price.
- spot
Instance StringType - Bidding request type. Currently only one-time is supported.
CvmLaunchTemplateVersionInternetAccessible, CvmLaunchTemplateVersionInternetAccessibleArgs
- Bandwidth
Package stringId - Bandwidth package ID.
- Internet
Charge stringType - Network connection billing plan.
- Internet
Max doubleBandwidth Out - The maximum outbound bandwidth of the public network, in Mbps. The default value is 0 Mbps.
- Public
Ip boolAssigned - Whether to assign a public IP.
- Bandwidth
Package stringId - Bandwidth package ID.
- Internet
Charge stringType - Network connection billing plan.
- Internet
Max float64Bandwidth Out - The maximum outbound bandwidth of the public network, in Mbps. The default value is 0 Mbps.
- Public
Ip boolAssigned - Whether to assign a public IP.
- bandwidth
Package StringId - Bandwidth package ID.
- internet
Charge StringType - Network connection billing plan.
- internet
Max DoubleBandwidth Out - The maximum outbound bandwidth of the public network, in Mbps. The default value is 0 Mbps.
- public
Ip BooleanAssigned - Whether to assign a public IP.
- bandwidth
Package stringId - Bandwidth package ID.
- internet
Charge stringType - Network connection billing plan.
- internet
Max numberBandwidth Out - The maximum outbound bandwidth of the public network, in Mbps. The default value is 0 Mbps.
- public
Ip booleanAssigned - Whether to assign a public IP.
- bandwidth_
package_ strid - Bandwidth package ID.
- internet_
charge_ strtype - Network connection billing plan.
- internet_
max_ floatbandwidth_ out - The maximum outbound bandwidth of the public network, in Mbps. The default value is 0 Mbps.
- public_
ip_ boolassigned - Whether to assign a public IP.
- bandwidth
Package StringId - Bandwidth package ID.
- internet
Charge StringType - Network connection billing plan.
- internet
Max NumberBandwidth Out - The maximum outbound bandwidth of the public network, in Mbps. The default value is 0 Mbps.
- public
Ip BooleanAssigned - Whether to assign a public IP.
CvmLaunchTemplateVersionLoginSettings, CvmLaunchTemplateVersionLoginSettingsArgs
- Keep
Image stringLogin - Whether to keep the original settings of an image.
- Key
Ids List<string> - List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair.
- Password string
- Login password of the instance.
- Keep
Image stringLogin - Whether to keep the original settings of an image.
- Key
Ids []string - List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair.
- Password string
- Login password of the instance.
- keep
Image StringLogin - Whether to keep the original settings of an image.
- key
Ids List<String> - List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair.
- password String
- Login password of the instance.
- keep
Image stringLogin - Whether to keep the original settings of an image.
- key
Ids string[] - List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair.
- password string
- Login password of the instance.
- keep_
image_ strlogin - Whether to keep the original settings of an image.
- key_
ids Sequence[str] - List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair.
- password str
- Login password of the instance.
- keep
Image StringLogin - Whether to keep the original settings of an image.
- key
Ids List<String> - List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair.
- password String
- Login password of the instance.
CvmLaunchTemplateVersionPlacement, CvmLaunchTemplateVersionPlacementArgs
- Zone string
- ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
- Host
Ids List<string> - ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
- Host
Ips List<string> - IPs of the hosts to create CVMs.
- Project
Id double - ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
- Zone string
- ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
- Host
Ids []string - ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
- Host
Ips []string - IPs of the hosts to create CVMs.
- Project
Id float64 - ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
- zone String
- ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
- host
Ids List<String> - ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
- host
Ips List<String> - IPs of the hosts to create CVMs.
- project
Id Double - ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
- zone string
- ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
- host
Ids string[] - ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
- host
Ips string[] - IPs of the hosts to create CVMs.
- project
Id number - ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
- zone str
- ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
- host_
ids Sequence[str] - ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
- host_
ips Sequence[str] - IPs of the hosts to create CVMs.
- project_
id float - ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
- zone String
- ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
- host
Ids List<String> - ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
- host
Ips List<String> - IPs of the hosts to create CVMs.
- project
Id Number - ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
CvmLaunchTemplateVersionSystemDisk, CvmLaunchTemplateVersionSystemDiskArgs
- Cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- Disk
Id string - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- Disk
Size double - System disk size; unit: GB; default value: 50 GB.
- Disk
Type string - The type of system disk. Default value: the type of hard disk currently in stock.
- Cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- Disk
Id string - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- Disk
Size float64 - System disk size; unit: GB; default value: 50 GB.
- Disk
Type string - The type of system disk. Default value: the type of hard disk currently in stock.
- cdc
Id String - ID of the dedicated cluster to which the instance belongs.
- disk
Id String - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- disk
Size Double - System disk size; unit: GB; default value: 50 GB.
- disk
Type String - The type of system disk. Default value: the type of hard disk currently in stock.
- cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- disk
Id string - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- disk
Size number - System disk size; unit: GB; default value: 50 GB.
- disk
Type string - The type of system disk. Default value: the type of hard disk currently in stock.
- cdc_
id str - ID of the dedicated cluster to which the instance belongs.
- disk_
id str - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- disk_
size float - System disk size; unit: GB; default value: 50 GB.
- disk_
type str - The type of system disk. Default value: the type of hard disk currently in stock.
- cdc
Id String - ID of the dedicated cluster to which the instance belongs.
- disk
Id String - System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter. It is only used as a response parameter for APIs such as DescribeInstances, and cannot be used as a request parameter for APIs such as RunInstances.
- disk
Size Number - System disk size; unit: GB; default value: 50 GB.
- disk
Type String - The type of system disk. Default value: the type of hard disk currently in stock.
CvmLaunchTemplateVersionTagSpecification, CvmLaunchTemplateVersionTagSpecificationArgs
- Resource
Type string - The type of resource that the tag is bound to.
- List<Cvm
Launch Template Version Tag Specification Tag> - List of tags.
- Resource
Type string - The type of resource that the tag is bound to.
- []Cvm
Launch Template Version Tag Specification Tag - List of tags.
- resource
Type String - The type of resource that the tag is bound to.
- List<Cvm
Launch Template Version Tag Specification Tag> - List of tags.
- resource
Type string - The type of resource that the tag is bound to.
- Cvm
Launch Template Version Tag Specification Tag[] - List of tags.
- resource_
type str - The type of resource that the tag is bound to.
- Sequence[Cvm
Launch Template Version Tag Specification Tag] - List of tags.
- resource
Type String - The type of resource that the tag is bound to.
- List<Property Map>
- List of tags.
CvmLaunchTemplateVersionTagSpecificationTag, CvmLaunchTemplateVersionTagSpecificationTagArgs
CvmLaunchTemplateVersionVirtualPrivateCloud, CvmLaunchTemplateVersionVirtualPrivateCloudArgs
- Subnet
Id string - VPC subnet ID in the format subnet-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- Vpc
Id string - VPC ID in the format of vpc-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- As
Vpc boolGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC.
- Ipv6Address
Count double - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip List<string>Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- Subnet
Id string - VPC subnet ID in the format subnet-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- Vpc
Id string - VPC ID in the format of vpc-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- As
Vpc boolGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC.
- Ipv6Address
Count float64 - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip []stringAddresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet
Id String - VPC subnet ID in the format subnet-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- vpc
Id String - VPC ID in the format of vpc-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as
Vpc BooleanGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC.
- ipv6Address
Count Double - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet
Id string - VPC subnet ID in the format subnet-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- vpc
Id string - VPC ID in the format of vpc-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as
Vpc booleanGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC.
- ipv6Address
Count number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip string[]Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet_
id str - VPC subnet ID in the format subnet-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- vpc_
id str - VPC ID in the format of vpc-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as_
vpc_ boolgateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC.
- ipv6_
address_ floatcount - Number of IPv6 addresses randomly generated for the ENI.
- private_
ip_ Sequence[str]addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet
Id String - VPC subnet ID in the format subnet-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- vpc
Id String - VPC ID in the format of vpc-xxx, if you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as
Vpc BooleanGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC.
- ipv6Address
Count Number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
Import
cvm launch_template_version can be imported using the id, e.g.
$ pulumi import tencentcloud:index/cvmLaunchTemplateVersion:CvmLaunchTemplateVersion launch_template_version ${launch_template_id}#${launch_template_version}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.