tencentcloud.CvmLaunchTemplate
Explore with Pulumi AI
Provides a resource to create a cvm launch template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const myFavoriteImage = tencentcloud.getImages({
imageTypes: ["PUBLIC_IMAGE"],
imageNameRegex: "Final",
});
const demo = new tencentcloud.CvmLaunchTemplate("demo", {
launchTemplateName: "test",
placement: {
zone: "ap-guangzhou-6",
projectId: 0,
},
imageId: myFavoriteImage.then(myFavoriteImage => myFavoriteImage.images?.[0]?.imageId),
});
import pulumi
import pulumi_tencentcloud as tencentcloud
my_favorite_image = tencentcloud.get_images(image_types=["PUBLIC_IMAGE"],
image_name_regex="Final")
demo = tencentcloud.CvmLaunchTemplate("demo",
launch_template_name="test",
placement={
"zone": "ap-guangzhou-6",
"project_id": 0,
},
image_id=my_favorite_image.images[0].image_id)
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 {
myFavoriteImage, err := tencentcloud.GetImages(ctx, &tencentcloud.GetImagesArgs{
ImageTypes: []string{
"PUBLIC_IMAGE",
},
ImageNameRegex: pulumi.StringRef("Final"),
}, nil)
if err != nil {
return err
}
_, err = tencentcloud.NewCvmLaunchTemplate(ctx, "demo", &tencentcloud.CvmLaunchTemplateArgs{
LaunchTemplateName: pulumi.String("test"),
Placement: &tencentcloud.CvmLaunchTemplatePlacementArgs{
Zone: pulumi.String("ap-guangzhou-6"),
ProjectId: pulumi.Float64(0),
},
ImageId: pulumi.String(myFavoriteImage.Images[0].ImageId),
})
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 myFavoriteImage = Tencentcloud.GetImages.Invoke(new()
{
ImageTypes = new[]
{
"PUBLIC_IMAGE",
},
ImageNameRegex = "Final",
});
var demo = new Tencentcloud.CvmLaunchTemplate("demo", new()
{
LaunchTemplateName = "test",
Placement = new Tencentcloud.Inputs.CvmLaunchTemplatePlacementArgs
{
Zone = "ap-guangzhou-6",
ProjectId = 0,
},
ImageId = myFavoriteImage.Apply(getImagesResult => getImagesResult.Images[0]?.ImageId),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetImagesArgs;
import com.pulumi.tencentcloud.CvmLaunchTemplate;
import com.pulumi.tencentcloud.CvmLaunchTemplateArgs;
import com.pulumi.tencentcloud.inputs.CvmLaunchTemplatePlacementArgs;
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) {
final var myFavoriteImage = TencentcloudFunctions.getImages(GetImagesArgs.builder()
.imageTypes("PUBLIC_IMAGE")
.imageNameRegex("Final")
.build());
var demo = new CvmLaunchTemplate("demo", CvmLaunchTemplateArgs.builder()
.launchTemplateName("test")
.placement(CvmLaunchTemplatePlacementArgs.builder()
.zone("ap-guangzhou-6")
.projectId(0)
.build())
.imageId(myFavoriteImage.applyValue(getImagesResult -> getImagesResult.images()[0].imageId()))
.build());
}
}
resources:
demo:
type: tencentcloud:CvmLaunchTemplate
properties:
launchTemplateName: test
placement:
zone: ap-guangzhou-6
projectId: 0
imageId: ${myFavoriteImage.images[0].imageId}
variables:
myFavoriteImage:
fn::invoke:
function: tencentcloud:getImages
arguments:
imageTypes:
- PUBLIC_IMAGE
imageNameRegex: Final
Create CvmLaunchTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CvmLaunchTemplate(name: string, args: CvmLaunchTemplateArgs, opts?: CustomResourceOptions);
@overload
def CvmLaunchTemplate(resource_name: str,
args: CvmLaunchTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CvmLaunchTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
image_id: Optional[str] = None,
placement: Optional[CvmLaunchTemplatePlacementArgs] = None,
launch_template_name: Optional[str] = None,
instance_count: Optional[float] = None,
instance_name: Optional[str] = None,
disable_api_termination: Optional[bool] = None,
disaster_recover_group_ids: Optional[Sequence[str]] = None,
dry_run: Optional[bool] = None,
enhanced_service: Optional[CvmLaunchTemplateEnhancedServiceArgs] = None,
host_name: Optional[str] = None,
hpc_cluster_id: Optional[str] = None,
cvm_launch_template_id: Optional[str] = None,
instance_charge_prepaid: Optional[CvmLaunchTemplateInstanceChargePrepaidArgs] = None,
instance_charge_type: Optional[str] = None,
action_timer: Optional[CvmLaunchTemplateActionTimerArgs] = None,
instance_market_options: Optional[CvmLaunchTemplateInstanceMarketOptionsArgs] = None,
data_disks: Optional[Sequence[CvmLaunchTemplateDataDiskArgs]] = None,
instance_type: Optional[str] = None,
internet_accessible: Optional[CvmLaunchTemplateInternetAccessibleArgs] = None,
client_token: Optional[str] = None,
launch_template_version_description: Optional[str] = None,
login_settings: Optional[CvmLaunchTemplateLoginSettingsArgs] = None,
cam_role_name: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
system_disk: Optional[CvmLaunchTemplateSystemDiskArgs] = None,
tag_specifications: Optional[Sequence[CvmLaunchTemplateTagSpecificationArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
user_data: Optional[str] = None,
virtual_private_cloud: Optional[CvmLaunchTemplateVirtualPrivateCloudArgs] = None)
func NewCvmLaunchTemplate(ctx *Context, name string, args CvmLaunchTemplateArgs, opts ...ResourceOption) (*CvmLaunchTemplate, error)
public CvmLaunchTemplate(string name, CvmLaunchTemplateArgs args, CustomResourceOptions? opts = null)
public CvmLaunchTemplate(String name, CvmLaunchTemplateArgs args)
public CvmLaunchTemplate(String name, CvmLaunchTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:CvmLaunchTemplate
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 CvmLaunchTemplateArgs
- 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 CvmLaunchTemplateArgs
- 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 CvmLaunchTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CvmLaunchTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CvmLaunchTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CvmLaunchTemplate 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 CvmLaunchTemplate resource accepts the following input properties:
- Image
Id string - Image ID.
- Launch
Template stringName - The name of launch template.
- Placement
Cvm
Launch Template Placement - The location of instance.
- Action
Timer CvmLaunch Template Action Timer - Timed task.
- Cam
Role stringName - The role name of CAM.
- Client
Token string - A string to used guarantee request idempotency.
- Cvm
Launch stringTemplate Id - ID of the resource.
- Data
Disks List<CvmLaunch Template Data Disk> - Data disk configuration information of the instance.
- Disable
Api boolTermination - Instance destruction protection flag.
- Disaster
Recover List<string>Group Ids - The ID of disaster recover group.
- Dry
Run bool - Whether to preflight only this request, true or false.
- Enhanced
Service CvmLaunch Template Enhanced Service - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- Host
Name string - The host name of CVM.
- Hpc
Cluster stringId - The ID of HPC cluster.
- Instance
Charge CvmPrepaid Launch Template Instance Charge Prepaid - The configuration of charge prepaid.
- Instance
Charge stringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- Instance
Count double - The number of instances purchased.
- Instance
Market CvmOptions Launch Template Instance Market Options - The marketplace options of instance.
- Instance
Name string - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- Launch
Template stringVersion Description - Instance launch template version description.
- Login
Settings CvmLaunch Template Login Settings - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- Security
Group List<string>Ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- System
Disk CvmLaunch Template 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 Tag Specification> - Tag description list.
- Dictionary<string, string>
- Tag description list.
- User
Data string - The data of users.
- Virtual
Private CvmCloud Launch Template Virtual Private Cloud - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- Image
Id string - Image ID.
- Launch
Template stringName - The name of launch template.
- Placement
Cvm
Launch Template Placement Args - The location of instance.
- Action
Timer CvmLaunch Template Action Timer Args - Timed task.
- Cam
Role stringName - The role name of CAM.
- Client
Token string - A string to used guarantee request idempotency.
- Cvm
Launch stringTemplate Id - ID of the resource.
- Data
Disks []CvmLaunch Template Data Disk Args - Data disk configuration information of the instance.
- Disable
Api boolTermination - Instance destruction protection flag.
- Disaster
Recover []stringGroup Ids - The ID of disaster recover group.
- Dry
Run bool - Whether to preflight only this request, true or false.
- Enhanced
Service CvmLaunch Template Enhanced Service Args - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- Host
Name string - The host name of CVM.
- Hpc
Cluster stringId - The ID of HPC cluster.
- Instance
Charge CvmPrepaid Launch Template Instance Charge Prepaid Args - The configuration of charge prepaid.
- Instance
Charge stringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- Instance
Count float64 - The number of instances purchased.
- Instance
Market CvmOptions Launch Template Instance Market Options Args - The marketplace options of instance.
- Instance
Name string - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible Args - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- Launch
Template stringVersion Description - Instance launch template version description.
- Login
Settings CvmLaunch Template Login Settings Args - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- Security
Group []stringIds - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- System
Disk CvmLaunch Template 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 Tag Specification Args - Tag description list.
- map[string]string
- Tag description list.
- User
Data string - The data of users.
- Virtual
Private CvmCloud Launch Template Virtual Private Cloud Args - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- image
Id String - Image ID.
- launch
Template StringName - The name of launch template.
- placement
Cvm
Launch Template Placement - The location of instance.
- action
Timer CvmLaunch Template Action Timer - Timed task.
- cam
Role StringName - The role name of CAM.
- client
Token String - A string to used guarantee request idempotency.
- cvm
Launch StringTemplate Id - ID of the resource.
- data
Disks List<CvmLaunch Template Data Disk> - Data disk configuration information of the instance.
- disable
Api BooleanTermination - Instance destruction protection flag.
- disaster
Recover List<String>Group Ids - The ID of disaster recover group.
- dry
Run Boolean - Whether to preflight only this request, true or false.
- enhanced
Service CvmLaunch Template Enhanced Service - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- host
Name String - The host name of CVM.
- hpc
Cluster StringId - The ID of HPC cluster.
- instance
Charge CvmPrepaid Launch Template Instance Charge Prepaid - The configuration of charge prepaid.
- instance
Charge StringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- instance
Count Double - The number of instances purchased.
- instance
Market CvmOptions Launch Template Instance Market Options - The marketplace options of instance.
- instance
Name String - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- launch
Template StringVersion Description - Instance launch template version description.
- login
Settings CvmLaunch Template Login Settings - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- security
Group List<String>Ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- system
Disk CvmLaunch Template 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 Tag Specification> - Tag description list.
- Map<String,String>
- Tag description list.
- user
Data String - The data of users.
- virtual
Private CvmCloud Launch Template Virtual Private Cloud - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- image
Id string - Image ID.
- launch
Template stringName - The name of launch template.
- placement
Cvm
Launch Template Placement - The location of instance.
- action
Timer CvmLaunch Template Action Timer - Timed task.
- cam
Role stringName - The role name of CAM.
- client
Token string - A string to used guarantee request idempotency.
- cvm
Launch stringTemplate Id - ID of the resource.
- data
Disks CvmLaunch Template Data Disk[] - Data disk configuration information of the instance.
- disable
Api booleanTermination - Instance destruction protection flag.
- disaster
Recover string[]Group Ids - The ID of disaster recover group.
- dry
Run boolean - Whether to preflight only this request, true or false.
- enhanced
Service CvmLaunch Template Enhanced Service - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- host
Name string - The host name of CVM.
- hpc
Cluster stringId - The ID of HPC cluster.
- instance
Charge CvmPrepaid Launch Template Instance Charge Prepaid - The configuration of charge prepaid.
- instance
Charge stringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- instance
Count number - The number of instances purchased.
- instance
Market CvmOptions Launch Template Instance Market Options - The marketplace options of instance.
- instance
Name string - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- launch
Template stringVersion Description - Instance launch template version description.
- login
Settings CvmLaunch Template Login Settings - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- security
Group string[]Ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- system
Disk CvmLaunch Template 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 Tag Specification[] - Tag description list.
- {[key: string]: string}
- Tag description list.
- user
Data string - The data of users.
- virtual
Private CvmCloud Launch Template Virtual Private Cloud - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- image_
id str - Image ID.
- launch_
template_ strname - The name of launch template.
- placement
Cvm
Launch Template Placement Args - The location of instance.
- action_
timer CvmLaunch Template Action Timer Args - Timed task.
- cam_
role_ strname - The role name of CAM.
- client_
token str - A string to used guarantee request idempotency.
- cvm_
launch_ strtemplate_ id - ID of the resource.
- data_
disks Sequence[CvmLaunch Template Data Disk Args] - Data disk configuration information of the instance.
- disable_
api_ booltermination - Instance destruction protection flag.
- disaster_
recover_ Sequence[str]group_ ids - The ID of disaster recover group.
- dry_
run bool - Whether to preflight only this request, true or false.
- enhanced_
service CvmLaunch Template Enhanced Service Args - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- host_
name str - The host name of CVM.
- hpc_
cluster_ strid - The ID of HPC cluster.
- instance_
charge_ Cvmprepaid Launch Template Instance Charge Prepaid Args - The configuration of charge prepaid.
- instance_
charge_ strtype - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- instance_
count float - The number of instances purchased.
- instance_
market_ Cvmoptions Launch Template Instance Market Options Args - The marketplace options of instance.
- instance_
name str - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible Args - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- launch_
template_ strversion_ description - Instance launch template version description.
- login_
settings CvmLaunch Template Login Settings Args - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- security_
group_ Sequence[str]ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- system_
disk CvmLaunch Template 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 Tag Specification Args] - Tag description list.
- Mapping[str, str]
- Tag description list.
- user_
data str - The data of users.
- virtual_
private_ Cvmcloud Launch Template Virtual Private Cloud Args - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- image
Id String - Image ID.
- launch
Template StringName - The name of launch template.
- placement Property Map
- The location of instance.
- action
Timer Property Map - Timed task.
- cam
Role StringName - The role name of CAM.
- client
Token String - A string to used guarantee request idempotency.
- cvm
Launch StringTemplate Id - ID of the resource.
- data
Disks List<Property Map> - Data disk configuration information of the instance.
- disable
Api BooleanTermination - Instance destruction protection flag.
- disaster
Recover List<String>Group Ids - The ID of disaster recover group.
- dry
Run Boolean - Whether to preflight only this request, true or false.
- enhanced
Service Property Map - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- host
Name String - The host name of CVM.
- hpc
Cluster StringId - The ID of HPC cluster.
- instance
Charge Property MapPrepaid - The configuration of charge prepaid.
- instance
Charge StringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- instance
Count Number - The number of instances purchased.
- instance
Market Property MapOptions - The marketplace options of instance.
- instance
Name String - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- launch
Template StringVersion Description - Instance launch template version description.
- login
Settings Property Map - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- security
Group List<String>Ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- 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>
- Tag description list.
- Map<String>
- Tag description list.
- user
Data String - The data of users.
- virtual
Private Property MapCloud - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
Outputs
All input properties are implicitly available as output properties. Additionally, the CvmLaunchTemplate 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 CvmLaunchTemplate Resource
Get an existing CvmLaunchTemplate 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?: CvmLaunchTemplateState, opts?: CustomResourceOptions): CvmLaunchTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action_timer: Optional[CvmLaunchTemplateActionTimerArgs] = None,
cam_role_name: Optional[str] = None,
client_token: Optional[str] = None,
cvm_launch_template_id: Optional[str] = None,
data_disks: Optional[Sequence[CvmLaunchTemplateDataDiskArgs]] = None,
disable_api_termination: Optional[bool] = None,
disaster_recover_group_ids: Optional[Sequence[str]] = None,
dry_run: Optional[bool] = None,
enhanced_service: Optional[CvmLaunchTemplateEnhancedServiceArgs] = None,
host_name: Optional[str] = None,
hpc_cluster_id: Optional[str] = None,
image_id: Optional[str] = None,
instance_charge_prepaid: Optional[CvmLaunchTemplateInstanceChargePrepaidArgs] = None,
instance_charge_type: Optional[str] = None,
instance_count: Optional[float] = None,
instance_market_options: Optional[CvmLaunchTemplateInstanceMarketOptionsArgs] = None,
instance_name: Optional[str] = None,
instance_type: Optional[str] = None,
internet_accessible: Optional[CvmLaunchTemplateInternetAccessibleArgs] = None,
launch_template_name: Optional[str] = None,
launch_template_version_description: Optional[str] = None,
login_settings: Optional[CvmLaunchTemplateLoginSettingsArgs] = None,
placement: Optional[CvmLaunchTemplatePlacementArgs] = None,
security_group_ids: Optional[Sequence[str]] = None,
system_disk: Optional[CvmLaunchTemplateSystemDiskArgs] = None,
tag_specifications: Optional[Sequence[CvmLaunchTemplateTagSpecificationArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
user_data: Optional[str] = None,
virtual_private_cloud: Optional[CvmLaunchTemplateVirtualPrivateCloudArgs] = None) -> CvmLaunchTemplate
func GetCvmLaunchTemplate(ctx *Context, name string, id IDInput, state *CvmLaunchTemplateState, opts ...ResourceOption) (*CvmLaunchTemplate, error)
public static CvmLaunchTemplate Get(string name, Input<string> id, CvmLaunchTemplateState? state, CustomResourceOptions? opts = null)
public static CvmLaunchTemplate get(String name, Output<String> id, CvmLaunchTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:CvmLaunchTemplate 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 Action Timer - Timed task.
- Cam
Role stringName - The role name of CAM.
- Client
Token string - A string to used guarantee request idempotency.
- Cvm
Launch stringTemplate Id - ID of the resource.
- Data
Disks List<CvmLaunch Template Data Disk> - Data disk configuration information of the instance.
- Disable
Api boolTermination - Instance destruction protection flag.
- Disaster
Recover List<string>Group Ids - The ID of disaster recover group.
- Dry
Run bool - Whether to preflight only this request, true or false.
- Enhanced
Service CvmLaunch Template Enhanced Service - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- Host
Name string - The host name of CVM.
- Hpc
Cluster stringId - The ID of HPC cluster.
- Image
Id string - Image ID.
- Instance
Charge CvmPrepaid Launch Template Instance Charge Prepaid - The configuration of charge prepaid.
- Instance
Charge stringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- Instance
Count double - The number of instances purchased.
- Instance
Market CvmOptions Launch Template Instance Market Options - The marketplace options of instance.
- Instance
Name string - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- Launch
Template stringName - The name of launch template.
- Launch
Template stringVersion Description - Instance launch template version description.
- Login
Settings CvmLaunch Template Login Settings - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- Placement
Cvm
Launch Template Placement - The location of instance.
- Security
Group List<string>Ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- System
Disk CvmLaunch Template 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 Tag Specification> - Tag description list.
- Dictionary<string, string>
- Tag description list.
- User
Data string - The data of users.
- Virtual
Private CvmCloud Launch Template Virtual Private Cloud - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- Action
Timer CvmLaunch Template Action Timer Args - Timed task.
- Cam
Role stringName - The role name of CAM.
- Client
Token string - A string to used guarantee request idempotency.
- Cvm
Launch stringTemplate Id - ID of the resource.
- Data
Disks []CvmLaunch Template Data Disk Args - Data disk configuration information of the instance.
- Disable
Api boolTermination - Instance destruction protection flag.
- Disaster
Recover []stringGroup Ids - The ID of disaster recover group.
- Dry
Run bool - Whether to preflight only this request, true or false.
- Enhanced
Service CvmLaunch Template Enhanced Service Args - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- Host
Name string - The host name of CVM.
- Hpc
Cluster stringId - The ID of HPC cluster.
- Image
Id string - Image ID.
- Instance
Charge CvmPrepaid Launch Template Instance Charge Prepaid Args - The configuration of charge prepaid.
- Instance
Charge stringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- Instance
Count float64 - The number of instances purchased.
- Instance
Market CvmOptions Launch Template Instance Market Options Args - The marketplace options of instance.
- Instance
Name string - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible Args - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- Launch
Template stringName - The name of launch template.
- Launch
Template stringVersion Description - Instance launch template version description.
- Login
Settings CvmLaunch Template Login Settings Args - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- Placement
Cvm
Launch Template Placement Args - The location of instance.
- Security
Group []stringIds - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- System
Disk CvmLaunch Template 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 Tag Specification Args - Tag description list.
- map[string]string
- Tag description list.
- User
Data string - The data of users.
- Virtual
Private CvmCloud Launch Template Virtual Private Cloud Args - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- action
Timer CvmLaunch Template Action Timer - Timed task.
- cam
Role StringName - The role name of CAM.
- client
Token String - A string to used guarantee request idempotency.
- cvm
Launch StringTemplate Id - ID of the resource.
- data
Disks List<CvmLaunch Template Data Disk> - Data disk configuration information of the instance.
- disable
Api BooleanTermination - Instance destruction protection flag.
- disaster
Recover List<String>Group Ids - The ID of disaster recover group.
- dry
Run Boolean - Whether to preflight only this request, true or false.
- enhanced
Service CvmLaunch Template Enhanced Service - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- host
Name String - The host name of CVM.
- hpc
Cluster StringId - The ID of HPC cluster.
- image
Id String - Image ID.
- instance
Charge CvmPrepaid Launch Template Instance Charge Prepaid - The configuration of charge prepaid.
- instance
Charge StringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- instance
Count Double - The number of instances purchased.
- instance
Market CvmOptions Launch Template Instance Market Options - The marketplace options of instance.
- instance
Name String - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- launch
Template StringName - The name of launch template.
- launch
Template StringVersion Description - Instance launch template version description.
- login
Settings CvmLaunch Template Login Settings - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- placement
Cvm
Launch Template Placement - The location of instance.
- security
Group List<String>Ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- system
Disk CvmLaunch Template 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 Tag Specification> - Tag description list.
- Map<String,String>
- Tag description list.
- user
Data String - The data of users.
- virtual
Private CvmCloud Launch Template Virtual Private Cloud - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- action
Timer CvmLaunch Template Action Timer - Timed task.
- cam
Role stringName - The role name of CAM.
- client
Token string - A string to used guarantee request idempotency.
- cvm
Launch stringTemplate Id - ID of the resource.
- data
Disks CvmLaunch Template Data Disk[] - Data disk configuration information of the instance.
- disable
Api booleanTermination - Instance destruction protection flag.
- disaster
Recover string[]Group Ids - The ID of disaster recover group.
- dry
Run boolean - Whether to preflight only this request, true or false.
- enhanced
Service CvmLaunch Template Enhanced Service - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- host
Name string - The host name of CVM.
- hpc
Cluster stringId - The ID of HPC cluster.
- image
Id string - Image ID.
- instance
Charge CvmPrepaid Launch Template Instance Charge Prepaid - The configuration of charge prepaid.
- instance
Charge stringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- instance
Count number - The number of instances purchased.
- instance
Market CvmOptions Launch Template Instance Market Options - The marketplace options of instance.
- instance
Name string - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- launch
Template stringName - The name of launch template.
- launch
Template stringVersion Description - Instance launch template version description.
- login
Settings CvmLaunch Template Login Settings - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- placement
Cvm
Launch Template Placement - The location of instance.
- security
Group string[]Ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- system
Disk CvmLaunch Template 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 Tag Specification[] - Tag description list.
- {[key: string]: string}
- Tag description list.
- user
Data string - The data of users.
- virtual
Private CvmCloud Launch Template Virtual Private Cloud - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- action_
timer CvmLaunch Template Action Timer Args - Timed task.
- cam_
role_ strname - The role name of CAM.
- client_
token str - A string to used guarantee request idempotency.
- cvm_
launch_ strtemplate_ id - ID of the resource.
- data_
disks Sequence[CvmLaunch Template Data Disk Args] - Data disk configuration information of the instance.
- disable_
api_ booltermination - Instance destruction protection flag.
- disaster_
recover_ Sequence[str]group_ ids - The ID of disaster recover group.
- dry_
run bool - Whether to preflight only this request, true or false.
- enhanced_
service CvmLaunch Template Enhanced Service Args - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- host_
name str - The host name of CVM.
- hpc_
cluster_ strid - The ID of HPC cluster.
- image_
id str - Image ID.
- instance_
charge_ Cvmprepaid Launch Template Instance Charge Prepaid Args - The configuration of charge prepaid.
- instance_
charge_ strtype - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- instance_
count float - The number of instances purchased.
- instance_
market_ Cvmoptions Launch Template Instance Market Options Args - The marketplace options of instance.
- instance_
name str - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 Internet Accessible Args - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- launch_
template_ strname - The name of launch template.
- launch_
template_ strversion_ description - Instance launch template version description.
- login_
settings CvmLaunch Template Login Settings Args - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- placement
Cvm
Launch Template Placement Args - The location of instance.
- security_
group_ Sequence[str]ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- system_
disk CvmLaunch Template 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 Tag Specification Args] - Tag description list.
- Mapping[str, str]
- Tag description list.
- user_
data str - The data of users.
- virtual_
private_ Cvmcloud Launch Template Virtual Private Cloud Args - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
- action
Timer Property Map - Timed task.
- cam
Role StringName - The role name of CAM.
- client
Token String - A string to used guarantee request idempotency.
- cvm
Launch StringTemplate Id - ID of the resource.
- data
Disks List<Property Map> - Data disk configuration information of the instance.
- disable
Api BooleanTermination - Instance destruction protection flag.
- disaster
Recover List<String>Group Ids - The ID of disaster recover group.
- dry
Run Boolean - Whether to preflight only this request, true or false.
- enhanced
Service Property Map - Enhanced service. If this parameter is not specified, cloud monitoring and cloud security services will be enabled by default in public images.
- host
Name String - The host name of CVM.
- hpc
Cluster StringId - The ID of HPC cluster.
- image
Id String - Image ID.
- instance
Charge Property MapPrepaid - The configuration of charge prepaid.
- instance
Charge StringType - The charge type of instance. Default value: POSTPAID_BY_HOUR.
- instance
Count Number - The number of instances purchased.
- instance
Market Property MapOptions - The marketplace options of instance.
- instance
Name String - The name of instance. If you do not specify an instance display name, 'Unnamed' is displayed by default.
- 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 - The information settings of public network bandwidth. If you do not specify this parameter, the default Internet bandwidth is 0 Mbps.
- launch
Template StringName - The name of launch template.
- launch
Template StringVersion Description - Instance launch template version description.
- login
Settings Property Map - The login settings of instance. By default, passwords are randomly generated and notified to users via internal messages.
- placement Property Map
- The location of instance.
- security
Group List<String>Ids - The security group ID of instance. If this parameter is not specified, the default security group is bound.
- 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>
- Tag description list.
- Map<String>
- Tag description list.
- user
Data String - The data of users.
- virtual
Private Property MapCloud - The configuration information of VPC. If this parameter is not specified, the basic network is used by default.
Supporting Types
CvmLaunchTemplateActionTimer, CvmLaunchTemplateActionTimerArgs
- Action
Time string - Execution time.
- Externals
Cvm
Launch Template Action Timer Externals - Extended data.
- Timer
Action string - Timer name.
- Action
Time string - Execution time.
- Externals
Cvm
Launch Template Action Timer Externals - Extended data.
- Timer
Action string - Timer name.
- action
Time String - Execution time.
- externals
Cvm
Launch Template Action Timer Externals - Extended data.
- timer
Action String - Timer name.
- action
Time string - Execution time.
- externals
Cvm
Launch Template Action Timer Externals - Extended data.
- timer
Action string - Timer name.
- action_
time str - Execution time.
- externals
Cvm
Launch Template Action Timer Externals - Extended data.
- timer_
action str - Timer name.
- action
Time String - Execution time.
- externals Property Map
- Extended data.
- timer
Action String - Timer name.
CvmLaunchTemplateActionTimerExternals, CvmLaunchTemplateActionTimerExternalsArgs
- Release
Address bool - Release address.
- Storage
Block CvmAttr Launch Template Action Timer Externals Storage Block Attr - HDD local storage attributes.
- Unsupport
Networks List<string> - Unsupported network type.
- Release
Address bool - Release address.
- Storage
Block CvmAttr Launch Template Action Timer Externals Storage Block Attr - HDD local storage attributes.
- Unsupport
Networks []string - Unsupported network type.
- release
Address Boolean - Release address.
- storage
Block CvmAttr Launch Template Action Timer Externals Storage Block Attr - HDD local storage attributes.
- unsupport
Networks List<String> - Unsupported network type.
- release
Address boolean - Release address.
- storage
Block CvmAttr Launch Template Action Timer Externals Storage Block Attr - HDD local storage attributes.
- unsupport
Networks string[] - Unsupported network type.
- release_
address bool - Release address.
- storage_
block_ Cvmattr Launch Template Action Timer Externals Storage Block Attr - HDD local storage attributes.
- unsupport_
networks Sequence[str] - Unsupported network type.
- release
Address Boolean - Release address.
- storage
Block Property MapAttr - HDD local storage attributes.
- unsupport
Networks List<String> - Unsupported network type.
CvmLaunchTemplateActionTimerExternalsStorageBlockAttr, CvmLaunchTemplateActionTimerExternalsStorageBlockAttrArgs
CvmLaunchTemplateDataDisk, CvmLaunchTemplateDataDiskArgs
- Disk
Size double - The size of the data disk.
- Cdc
Id string - Cloud Dedicated Cluster(CDC) ID.
- Delete
With boolInstance - Whether the data disk is destroyed along with the instance, true or false.
- Disk
Id string - Data disk ID.
- Disk
Type string - The type of data disk.
- Encrypt bool
- Whether the data disk is encrypted, TRUE or FALSE.
- Kms
Key stringId - The id of custom CMK.
- Snapshot
Id string - Data disk snapshot ID.
- Throughput
Performance double - Cloud disk performance, MB/s.
- Disk
Size float64 - The size of the data disk.
- Cdc
Id string - Cloud Dedicated Cluster(CDC) ID.
- Delete
With boolInstance - Whether the data disk is destroyed along with the instance, true or false.
- Disk
Id string - Data disk ID.
- Disk
Type string - The type of data disk.
- Encrypt bool
- Whether the data disk is encrypted, TRUE or FALSE.
- Kms
Key stringId - The id of custom CMK.
- Snapshot
Id string - Data disk snapshot ID.
- Throughput
Performance float64 - Cloud disk performance, MB/s.
- disk
Size Double - The size of the data disk.
- cdc
Id String - Cloud Dedicated Cluster(CDC) ID.
- delete
With BooleanInstance - Whether the data disk is destroyed along with the instance, true or false.
- disk
Id String - Data disk ID.
- disk
Type String - The type of data disk.
- encrypt Boolean
- Whether the data disk is encrypted, TRUE or FALSE.
- kms
Key StringId - The id of custom CMK.
- snapshot
Id String - Data disk snapshot ID.
- throughput
Performance Double - Cloud disk performance, MB/s.
- disk
Size number - The size of the data disk.
- cdc
Id string - Cloud Dedicated Cluster(CDC) ID.
- delete
With booleanInstance - Whether the data disk is destroyed along with the instance, true or false.
- disk
Id string - Data disk ID.
- disk
Type string - The type of data disk.
- encrypt boolean
- Whether the data disk is encrypted, TRUE or FALSE.
- kms
Key stringId - The id of custom CMK.
- snapshot
Id string - Data disk snapshot ID.
- throughput
Performance number - Cloud disk performance, MB/s.
- disk_
size float - The size of the data disk.
- cdc_
id str - Cloud Dedicated Cluster(CDC) ID.
- delete_
with_ boolinstance - Whether the data disk is destroyed along with the instance, true or false.
- disk_
id str - Data disk ID.
- disk_
type str - The type of data disk.
- encrypt bool
- Whether the data disk is encrypted, TRUE or FALSE.
- kms_
key_ strid - The id of custom CMK.
- snapshot_
id str - Data disk snapshot ID.
- throughput_
performance float - Cloud disk performance, MB/s.
- disk
Size Number - The size of the data disk.
- cdc
Id String - Cloud Dedicated Cluster(CDC) ID.
- delete
With BooleanInstance - Whether the data disk is destroyed along with the instance, true or false.
- disk
Id String - Data disk ID.
- disk
Type String - The type of data disk.
- encrypt Boolean
- Whether the data disk is encrypted, TRUE or FALSE.
- kms
Key StringId - The id of custom CMK.
- snapshot
Id String - Data disk snapshot ID.
- throughput
Performance Number - Cloud disk performance, MB/s.
CvmLaunchTemplateEnhancedService, CvmLaunchTemplateEnhancedServiceArgs
- Automation
Service CvmLaunch Template Enhanced Service Automation Service - Enable TencentCloud Automation Tools(TAT).
- Monitor
Service CvmLaunch Template Enhanced Service Monitor Service - Enable cloud monitor service.
- Security
Service CvmLaunch Template Enhanced Service Security Service - Enable cloud security service.
- Automation
Service CvmLaunch Template Enhanced Service Automation Service - Enable TencentCloud Automation Tools(TAT).
- Monitor
Service CvmLaunch Template Enhanced Service Monitor Service - Enable cloud monitor service.
- Security
Service CvmLaunch Template Enhanced Service Security Service - Enable cloud security service.
- automation
Service CvmLaunch Template Enhanced Service Automation Service - Enable TencentCloud Automation Tools(TAT).
- monitor
Service CvmLaunch Template Enhanced Service Monitor Service - Enable cloud monitor service.
- security
Service CvmLaunch Template Enhanced Service Security Service - Enable cloud security service.
- automation
Service CvmLaunch Template Enhanced Service Automation Service - Enable TencentCloud Automation Tools(TAT).
- monitor
Service CvmLaunch Template Enhanced Service Monitor Service - Enable cloud monitor service.
- security
Service CvmLaunch Template Enhanced Service Security Service - Enable cloud security service.
- automation_
service CvmLaunch Template Enhanced Service Automation Service - Enable TencentCloud Automation Tools(TAT).
- monitor_
service CvmLaunch Template Enhanced Service Monitor Service - Enable cloud monitor service.
- security_
service CvmLaunch Template Enhanced Service Security Service - Enable cloud security service.
- automation
Service Property Map - Enable TencentCloud Automation Tools(TAT).
- monitor
Service Property Map - Enable cloud monitor service.
- security
Service Property Map - Enable cloud security service.
CvmLaunchTemplateEnhancedServiceAutomationService, CvmLaunchTemplateEnhancedServiceAutomationServiceArgs
- Enabled bool
- Whether to enable TencentCloud Automation Tools(TAT), TRUE or FALSE.
- Enabled bool
- Whether to enable TencentCloud Automation Tools(TAT), TRUE or FALSE.
- enabled Boolean
- Whether to enable TencentCloud Automation Tools(TAT), TRUE or FALSE.
- enabled boolean
- Whether to enable TencentCloud Automation Tools(TAT), TRUE or FALSE.
- enabled bool
- Whether to enable TencentCloud Automation Tools(TAT), TRUE or FALSE.
- enabled Boolean
- Whether to enable TencentCloud Automation Tools(TAT), TRUE or FALSE.
CvmLaunchTemplateEnhancedServiceMonitorService, CvmLaunchTemplateEnhancedServiceMonitorServiceArgs
- Enabled bool
- Whether to enable cloud monitor service, TRUE or FALSE.
- Enabled bool
- Whether to enable cloud monitor service, TRUE or FALSE.
- enabled Boolean
- Whether to enable cloud monitor service, TRUE or FALSE.
- enabled boolean
- Whether to enable cloud monitor service, TRUE or FALSE.
- enabled bool
- Whether to enable cloud monitor service, TRUE or FALSE.
- enabled Boolean
- Whether to enable cloud monitor service, TRUE or FALSE.
CvmLaunchTemplateEnhancedServiceSecurityService, CvmLaunchTemplateEnhancedServiceSecurityServiceArgs
- Enabled bool
- Whether to enable cloud security service, TRUE or FALSE.
- Enabled bool
- Whether to enable cloud security service, TRUE or FALSE.
- enabled Boolean
- Whether to enable cloud security service, TRUE or FALSE.
- enabled boolean
- Whether to enable cloud security service, TRUE or FALSE.
- enabled bool
- Whether to enable cloud security service, TRUE or FALSE.
- enabled Boolean
- Whether to enable cloud security service, TRUE or FALSE.
CvmLaunchTemplateInstanceChargePrepaid, CvmLaunchTemplateInstanceChargePrepaidArgs
- period float
- The period of purchasing instances.
- renew_
flag str - Automatic renew flag.
CvmLaunchTemplateInstanceMarketOptions, CvmLaunchTemplateInstanceMarketOptionsArgs
- Spot
Options CvmLaunch Template Instance Market Options Spot Options - Bidding related options.
- Market
Type string - Market option type, currently only supports value: spot.
- Spot
Options CvmLaunch Template Instance Market Options Spot Options - Bidding related options.
- Market
Type string - Market option type, currently only supports value: spot.
- spot
Options CvmLaunch Template Instance Market Options Spot Options - Bidding related options.
- market
Type String - Market option type, currently only supports value: spot.
- spot
Options CvmLaunch Template Instance Market Options Spot Options - Bidding related options.
- market
Type string - Market option type, currently only supports value: spot.
- spot_
options CvmLaunch Template Instance Market Options Spot Options - Bidding related options.
- market_
type str - Market option type, currently only supports value: spot.
- spot
Options Property Map - Bidding related options.
- market
Type String - Market option type, currently only supports value: spot.
CvmLaunchTemplateInstanceMarketOptionsSpotOptions, CvmLaunchTemplateInstanceMarketOptionsSpotOptionsArgs
- Max
Price string - Bidding.
- Spot
Instance stringType - Bidding request type, currently only supported type: one-time.
- Max
Price string - Bidding.
- Spot
Instance stringType - Bidding request type, currently only supported type: one-time.
- max
Price String - Bidding.
- spot
Instance StringType - Bidding request type, currently only supported type: one-time.
- max
Price string - Bidding.
- spot
Instance stringType - Bidding request type, currently only supported type: one-time.
- max_
price str - Bidding.
- spot_
instance_ strtype - Bidding request type, currently only supported type: one-time.
- max
Price String - Bidding.
- spot
Instance StringType - Bidding request type, currently only supported type: one-time.
CvmLaunchTemplateInternetAccessible, CvmLaunchTemplateInternetAccessibleArgs
- Bandwidth
Package stringId - The ID of bandwidth package.
- Internet
Charge stringType - The type of internet charge.
- Internet
Max doubleBandwidth Out - Internet outbound bandwidth upper limit, Mbps.
- Public
Ip boolAssigned - Whether to allocate public network IP, TRUE or FALSE.
- Bandwidth
Package stringId - The ID of bandwidth package.
- Internet
Charge stringType - The type of internet charge.
- Internet
Max float64Bandwidth Out - Internet outbound bandwidth upper limit, Mbps.
- Public
Ip boolAssigned - Whether to allocate public network IP, TRUE or FALSE.
- bandwidth
Package StringId - The ID of bandwidth package.
- internet
Charge StringType - The type of internet charge.
- internet
Max DoubleBandwidth Out - Internet outbound bandwidth upper limit, Mbps.
- public
Ip BooleanAssigned - Whether to allocate public network IP, TRUE or FALSE.
- bandwidth
Package stringId - The ID of bandwidth package.
- internet
Charge stringType - The type of internet charge.
- internet
Max numberBandwidth Out - Internet outbound bandwidth upper limit, Mbps.
- public
Ip booleanAssigned - Whether to allocate public network IP, TRUE or FALSE.
- bandwidth_
package_ strid - The ID of bandwidth package.
- internet_
charge_ strtype - The type of internet charge.
- internet_
max_ floatbandwidth_ out - Internet outbound bandwidth upper limit, Mbps.
- public_
ip_ boolassigned - Whether to allocate public network IP, TRUE or FALSE.
- bandwidth
Package StringId - The ID of bandwidth package.
- internet
Charge StringType - The type of internet charge.
- internet
Max NumberBandwidth Out - Internet outbound bandwidth upper limit, Mbps.
- public
Ip BooleanAssigned - Whether to allocate public network IP, TRUE or FALSE.
CvmLaunchTemplateLoginSettings, CvmLaunchTemplateLoginSettingsArgs
- Keep
Image stringLogin - Keep the original settings of the mirror.
- Key
Ids List<string> - List of key ID.
- Password string
- The login password of instance.
- Keep
Image stringLogin - Keep the original settings of the mirror.
- Key
Ids []string - List of key ID.
- Password string
- The login password of instance.
- keep
Image StringLogin - Keep the original settings of the mirror.
- key
Ids List<String> - List of key ID.
- password String
- The login password of instance.
- keep
Image stringLogin - Keep the original settings of the mirror.
- key
Ids string[] - List of key ID.
- password string
- The login password of instance.
- keep_
image_ strlogin - Keep the original settings of the mirror.
- key_
ids Sequence[str] - List of key ID.
- password str
- The login password of instance.
- keep
Image StringLogin - Keep the original settings of the mirror.
- key
Ids List<String> - List of key ID.
- password String
- The login password of instance.
CvmLaunchTemplatePlacement, CvmLaunchTemplatePlacementArgs
- zone str
- The available zone ID of the instance.
- host_
ids Sequence[str] - The CDH ID list of the instance(input).
- host_
ips Sequence[str] - It has been deprecated from version 1.81.108. Specify the host machine ip.
- project_
id float - The project ID of the instance.
CvmLaunchTemplateSystemDisk, CvmLaunchTemplateSystemDiskArgs
CvmLaunchTemplateTagSpecification, CvmLaunchTemplateTagSpecificationArgs
- Resource
Type string - The type of resource.
- List<Cvm
Launch Template Tag Specification Tag> - Tag list.
- Resource
Type string - The type of resource.
- []Cvm
Launch Template Tag Specification Tag - Tag list.
- resource
Type String - The type of resource.
- List<Cvm
Launch Template Tag Specification Tag> - Tag list.
- resource
Type string - The type of resource.
- Cvm
Launch Template Tag Specification Tag[] - Tag list.
- resource_
type str - The type of resource.
- Sequence[Cvm
Launch Template Tag Specification Tag] - Tag list.
- resource
Type String - The type of resource.
- List<Property Map>
- Tag list.
CvmLaunchTemplateTagSpecificationTag, CvmLaunchTemplateTagSpecificationTagArgs
CvmLaunchTemplateVirtualPrivateCloud, CvmLaunchTemplateVirtualPrivateCloudArgs
- Subnet
Id string - The id of subnet.
- Vpc
Id string - The id of VPC.
- As
Vpc boolGateway - Is it used as a Public network gateway, TRUE or FALSE.
- Ipv6Address
Count double - The number of ipv6 addresses for Elastic Network Interface.
- Private
Ip List<string>Addresses - The address of private ip.
- Subnet
Id string - The id of subnet.
- Vpc
Id string - The id of VPC.
- As
Vpc boolGateway - Is it used as a Public network gateway, TRUE or FALSE.
- Ipv6Address
Count float64 - The number of ipv6 addresses for Elastic Network Interface.
- Private
Ip []stringAddresses - The address of private ip.
- subnet
Id String - The id of subnet.
- vpc
Id String - The id of VPC.
- as
Vpc BooleanGateway - Is it used as a Public network gateway, TRUE or FALSE.
- ipv6Address
Count Double - The number of ipv6 addresses for Elastic Network Interface.
- private
Ip List<String>Addresses - The address of private ip.
- subnet
Id string - The id of subnet.
- vpc
Id string - The id of VPC.
- as
Vpc booleanGateway - Is it used as a Public network gateway, TRUE or FALSE.
- ipv6Address
Count number - The number of ipv6 addresses for Elastic Network Interface.
- private
Ip string[]Addresses - The address of private ip.
- subnet_
id str - The id of subnet.
- vpc_
id str - The id of VPC.
- as_
vpc_ boolgateway - Is it used as a Public network gateway, TRUE or FALSE.
- ipv6_
address_ floatcount - The number of ipv6 addresses for Elastic Network Interface.
- private_
ip_ Sequence[str]addresses - The address of private ip.
- subnet
Id String - The id of subnet.
- vpc
Id String - The id of VPC.
- as
Vpc BooleanGateway - Is it used as a Public network gateway, TRUE or FALSE.
- ipv6Address
Count Number - The number of ipv6 addresses for Elastic Network Interface.
- private
Ip List<String>Addresses - The address of private ip.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.