public static class CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationArn> |
arn
This parameter is in invitational preview and is not publicly available.
|
String |
autoReleaseTime
The automatic release time of the pay-as-you-go instance.
|
String |
creditSpecification
The performance mode of the burstable instance.
|
List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk> |
dataDisk
The cloud disks in the extended configurations of the launch template.
|
String |
deploymentSetId
The ID of the deployment set.
|
String |
hostName
The instance hostname.
|
List<String> |
hostNames
The hostname of instance N.
|
String |
imageFamily
The name of the image family.
|
String |
imageId
The ID of the image to be used to create the instance.
|
String |
instanceDescription
The instance description.
|
String |
instanceName
The instance name.
|
String |
internetChargeType
The billing method for network usage.
|
Integer |
internetMaxBandwidthIn
The maximum inbound public bandwidth.
|
Integer |
internetMaxBandwidthOut
The maximum outbound public bandwidth.
|
String |
ioOptimized
Specifies whether the instance is I/O optimized.
|
String |
keyPairName
The key pair name.
|
String |
password
The instance password.
|
Boolean |
passwordInherit
Specifies whether to use the password preset in the image.
|
String |
ramRoleName
The name of the instance Resource Access Management (RAM) role.
|
String |
resourceGroupId
The ID of the resource group to which to assign the instance.
|
String |
securityEnhancementStrategy
Specifies whether to enable security hardening.
|
String |
securityGroupId
The ID of the security group to which to assign the instance.
|
List<String> |
securityGroupIds
The IDs of the security groups to which the new ECS instances belong.
|
CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk |
systemDisk
The system disk information of instances.
|
String |
systemDiskCategory
The category of the system disk.
|
String |
systemDiskDescription
The description of the system disk.
|
String |
systemDiskName
The name of the system disk.
|
String |
systemDiskPerformanceLevel
The performance level of the ESSD to be used as the system disk.
|
Integer |
systemDiskSize
The size of the system disk.
|
List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationTag> |
tag
The tag in the extended configurations of the launch template.
|
String |
userData
The instance user data.
|
构造器和说明 |
---|
CreateAutoProvisioningGroupRequestLaunchConfiguration() |
@NameInMap(value="Arn") public List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationArn> arn
This parameter is in invitational preview and is not publicly available.
@NameInMap(value="AutoReleaseTime") public String autoReleaseTime
The automatic release time of the pay-as-you-go instance. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ
format. The time must be in Coordinated Universal Time (UTC).
ss
is not 00
, the start time is automatically rounded down to the nearest minute based on the value of mm
.2018-01-01T12:05:00Z
@NameInMap(value="CreditSpecification") public String creditSpecification
The performance mode of the burstable instance. Valid values:
This parameter is empty by default.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:Standard
@NameInMap(value="DataDisk") public List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk> dataDisk
The cloud disks in the extended configurations of the launch template.
@NameInMap(value="DeploymentSetId") public String deploymentSetId
The ID of the deployment set.
example:ds-bp1frxuzdg87zh4p****
@NameInMap(value="HostName") public String hostName
The instance hostname. Take note of the following items:
LaunchConfiguration.HostName
and LaunchConfiguration.HostNames.N
. Otherwise, an error is returned.k8s-node-[1,4]-ecshost
@NameInMap(value="HostNames") public List<String> hostNames
The hostname of instance N. You can use this parameter to specify different hostnames for multiple instances. Take note of the following items:
AutoProvisioningGroupType
is set to instant. LaunchConfiguration.HostName
and LaunchConfiguration.HostNames.N
. Otherwise, an error is returned. ecs-host-01
@NameInMap(value="ImageFamily") public String imageFamily
The name of the image family. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with aliyun
or acs:
. The name cannot contain http://
or https://
. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
hangzhou-daily-update
@NameInMap(value="ImageId") public String imageId
The ID of the image to be used to create the instance. You can call the DescribeImages operation to query available image resources. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:m-bp1g7004ksh0oeuc****
@NameInMap(value="InstanceDescription") public String instanceDescription
The instance description. The description must be 2 to 256 characters in length. The description can contain letters and cannot start with http://
or https://
. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
Instance_Description
@NameInMap(value="InstanceName") public String instanceName
The instance name. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http://
or https://
. The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
The default value of this parameter is the InstanceId
value.
When you batch create instances, you can batch configure sequential names for the instances. For more information, see Batch configure sequential names or hostnames for multiple instances.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:k8s-node-[1,4]-alibabacloud
@NameInMap(value="InternetChargeType") public String internetChargeType
The billing method for network usage. Valid values:
When the pay-by-traffic billing method for network usage is used, the maximum inbound and outbound bandwidth values are used as the upper limits of bandwidth instead of guaranteed performance specifications. When demands outstrip resource supplies, the maximum bandwidths may be limited. If you want guaranteed bandwidth for your instance, use the pay-by-bandwidth billing method.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:PayByTraffic
@NameInMap(value="InternetMaxBandwidthIn") public Integer internetMaxBandwidthIn
The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
LaunchConfiguration.InternetMaxBandwidthOut
, and the default value is the value of LaunchConfiguration.InternetMaxBandwidthOut
.When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:10
@NameInMap(value="InternetMaxBandwidthOut") public Integer internetMaxBandwidthOut
The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
Default value: 0.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:10
@NameInMap(value="IoOptimized") public String ioOptimized
Specifies whether the instance is I/O optimized. Valid values:
For instances of retired instance types, the default value is none. For instances of other instance types, the default value is optimized.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:optimized
@NameInMap(value="KeyPairName") public String keyPairName
The key pair name.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:KeyPair_Name
@NameInMap(value="Password") public String password
The instance password. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ` ~ ! @ # $ % ^ & * - _ + = | { }
: ; \" < > , . ? /`` For Windows instances, the password cannot start with a forward slash (/). When both LaunchTemplateId and LaunchConfiguration.* parameters are specified, LaunchTemplateId takes precedence. `
EcsV587!
@NameInMap(value="PasswordInherit") public Boolean passwordInherit
Specifies whether to use the password preset in the image. Valid values:
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:true
@NameInMap(value="RamRoleName") public String ramRoleName
The name of the instance Resource Access Management (RAM) role. You can call the ListRoles operation provided by RAM to query the instance RAM roles that you created. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:RAM_Name
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which to assign the instance. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:rg-bp67acfmxazb4p****
@NameInMap(value="SecurityEnhancementStrategy") public String securityEnhancementStrategy
Specifies whether to enable security hardening. Valid values:
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:Active
@NameInMap(value="SecurityGroupId") public String securityGroupId
The ID of the security group to which to assign the instance. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:sg-bp15ed6xe1yxeycg****
@NameInMap(value="SecurityGroupIds") public List<String> securityGroupIds
The IDs of the security groups to which the new ECS instances belong.
@NameInMap(value="SystemDisk") public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk systemDisk
The system disk information of instances. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
@NameInMap(value="SystemDiskCategory") public String systemDiskCategory
The category of the system disk. Valid values:
For non-I/O optimized instances of retired instance types, the default value is cloud. For other instances, the default value is cloud_efficiency.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:cloud_ssd
@NameInMap(value="SystemDiskDescription") public String systemDiskDescription
The description of the system disk. The description must be 2 to 256 characters in length. The description can contain letters and cannot start with http://
or https://
.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:SystemDisk_Description
@NameInMap(value="SystemDiskName") public String systemDiskName
The name of the system disk. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http://
or https://
. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
This parameter is empty by default.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:cloud_ssdSystem
@NameInMap(value="SystemDiskPerformanceLevel") public String systemDiskPerformanceLevel
The performance level of the ESSD to be used as the system disk. Valid values:
For more information about ESSD performance levels, see ESSDs.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:PL0
@NameInMap(value="SystemDiskSize") public Integer systemDiskSize
The size of the system disk. Valid values: 20 to 500. Unit: GiB. The value must be at least 20 and greater than or equal to the size of the image specified by LaunchConfiguration.ImageId.
Default value: 40 or the size of the image specified by LaunchConfiguration.ImageId, whichever is greater.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:40
@NameInMap(value="Tag") public List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationTag> tag
The tag in the extended configurations of the launch template.
@NameInMap(value="UserData") public String userData
The instance user data. The user data must be encoded in Base64. The raw data can be up to 32 KB in size. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:ZWNobyBoZWxsbyBlY3Mh
public CreateAutoProvisioningGroupRequestLaunchConfiguration()
public static CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration build(Map<String,?> map) throws Exception
Exception
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setArn(List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationArn> arn)
public List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationArn> getArn()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setAutoReleaseTime(String autoReleaseTime)
public String getAutoReleaseTime()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setCreditSpecification(String creditSpecification)
public String getCreditSpecification()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setDataDisk(List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk> dataDisk)
public List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk> getDataDisk()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setDeploymentSetId(String deploymentSetId)
public String getDeploymentSetId()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setHostName(String hostName)
public String getHostName()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setHostNames(List<String> hostNames)
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setImageFamily(String imageFamily)
public String getImageFamily()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setImageId(String imageId)
public String getImageId()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setInstanceDescription(String instanceDescription)
public String getInstanceDescription()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setInstanceName(String instanceName)
public String getInstanceName()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setInternetChargeType(String internetChargeType)
public String getInternetChargeType()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setInternetMaxBandwidthIn(Integer internetMaxBandwidthIn)
public Integer getInternetMaxBandwidthIn()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setInternetMaxBandwidthOut(Integer internetMaxBandwidthOut)
public Integer getInternetMaxBandwidthOut()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setIoOptimized(String ioOptimized)
public String getIoOptimized()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setKeyPairName(String keyPairName)
public String getKeyPairName()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setPassword(String password)
public String getPassword()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setPasswordInherit(Boolean passwordInherit)
public Boolean getPasswordInherit()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setRamRoleName(String ramRoleName)
public String getRamRoleName()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setSecurityEnhancementStrategy(String securityEnhancementStrategy)
public String getSecurityEnhancementStrategy()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setSecurityGroupIds(List<String> securityGroupIds)
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setSystemDisk(CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk systemDisk)
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk getSystemDisk()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setSystemDiskCategory(String systemDiskCategory)
public String getSystemDiskCategory()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setSystemDiskDescription(String systemDiskDescription)
public String getSystemDiskDescription()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setSystemDiskName(String systemDiskName)
public String getSystemDiskName()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setSystemDiskPerformanceLevel(String systemDiskPerformanceLevel)
public String getSystemDiskPerformanceLevel()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setSystemDiskSize(Integer systemDiskSize)
public Integer getSystemDiskSize()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setTag(List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationTag> tag)
public List<CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationTag> getTag()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfiguration setUserData(String userData)
public String getUserData()
Copyright © 2024. All rights reserved.