Class LaunchTemplateArgs
Inheritance
System.Object
LaunchTemplateArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class LaunchTemplateArgs : ResourceArgs
Constructors
View Source
LaunchTemplateArgs()
Declaration
public LaunchTemplateArgs()
Properties
View Source
AutoReleaseTime
Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.
Declaration
public Input<string> AutoReleaseTime { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DataDisks
The list of data disks created with instance.
Declaration
public InputList<LaunchTemplateDataDiskArgs> DataDisks { get; set; }
Property Value
View Source
Description
The description of the data disk.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
HostName
Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).
Declaration
public Input<string> HostName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ImageId
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ImageOwnerAlias
Declaration
public Input<string> ImageOwnerAlias { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceChargeType
Billing methods. Optional values:
- PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur.
- PostPaid: Pay-As-You-Go.
Declaration
public Input<string> InstanceChargeType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceName
The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
Declaration
public Input<string> InstanceName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceType
Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
Declaration
public Input<string> InstanceType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InternetChargeType
Internet bandwidth billing method. Optional values: PayByTraffic.
Declaration
public Input<string> InternetChargeType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InternetMaxBandwidthIn
The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
Declaration
public Input<int> InternetMaxBandwidthIn { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
InternetMaxBandwidthOut
Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].
Declaration
public Input<int> InternetMaxBandwidthOut { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
IoOptimized
Whether it is an I/O-optimized instance or not. Optional values:
Declaration
public Input<string> IoOptimized { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
KeyPairName
The name of the key pair.
- Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used.
- The password logon method for Linux instances is set to forbidden upon initialization.
Declaration
public Input<string> KeyPairName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Name
The name of the data disk.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NetworkInterfaces
The list of network interfaces created with instance.
Declaration
public Input<LaunchTemplateNetworkInterfacesArgs> NetworkInterfaces { get; set; }
Property Value
View Source
NetworkType
Network type of the instance. Value options: Classic | VPC.
Declaration
public Input<string> NetworkType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
RamRoleName
The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.
Declaration
public Input<string> RamRoleName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ResourceGroupId
Declaration
public Input<string> ResourceGroupId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SecurityEnhancementStrategy
Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.
Declaration
public Input<string> SecurityEnhancementStrategy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SecurityGroupId
The security group ID must be one in the same VPC.
Declaration
public Input<string> SecurityGroupId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SpotPriceLimit
-(Optional) Sets the maximum hourly instance price. Supports up to three decimal places.
Declaration
public Input<double> SpotPriceLimit { get; set; }
Property Value
| Type |
Description |
| Input<System.Double> |
|
View Source
SpotStrategy
The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range:
- NoSpot: Normal Pay-As-You-Go instance.
- SpotWithPriceLimit: Sets the maximum price for a spot instance.
- SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.
Declaration
public Input<string> SpotStrategy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SystemDiskCategory
The category of the system disk. System disk type. Optional values:
- cloud: Basic cloud disk.
- cloud_efficiency: Ultra cloud disk.
- cloud_ssd: SSD cloud Disks.
- ephemeral_ssd: local SSD Disks
- cloud_essd: ESSD cloud Disks.
Declaration
public Input<string> SystemDiskCategory { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SystemDiskDescription
System disk description. It cannot begin with http:// or https://.
Declaration
public Input<string> SystemDiskDescription { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SystemDiskName
System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
Declaration
public Input<string> SystemDiskName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SystemDiskSize
Size of the system disk, measured in GB. Value range: [20, 500].
Declaration
public Input<int> SystemDiskSize { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
A mapping of tags to assign to the resource.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|
View Source
Userdata
User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.
Declaration
public Input<string> Userdata { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
VpcId
Declaration
public Input<string> VpcId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
VswitchId
The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
Declaration
public Input<string> VswitchId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ZoneId
The zone ID of the instance.
Declaration
public Input<string> ZoneId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|