public class CreateAutoScalingGroupRequest extends AbstractModel
Constructor and Description |
---|
CreateAutoScalingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAutoScalingGroupName()
Get Auto scaling group name, which can only contain letters, numbers, underscores, hyphens ("-"), and decimal points with a maximum length of 55 bytes and must be unique under your account.
|
Long |
getDefaultCooldown()
Get Default cooldown period in seconds.
|
Long |
getDesiredCapacity()
Get Desired number of instances.
|
ForwardLoadBalancer[] |
getForwardLoadBalancers()
Get List of CLBs.
|
Long |
getIpv6AddressCount()
Get The number of IPv6 addresses that an instance has.
|
String |
getLaunchConfigurationId()
Get Launch configuration ID
|
String[] |
getLoadBalancerIds()
Get List of classic CLB IDs.
|
Long |
getMaxSize()
Get Maximum number of instances.
|
Long |
getMinSize()
Get Minimum number of instances.
|
String |
getMultiZoneSubnetPolicy()
Get Multi-availability zone/subnet policy.
|
Long |
getProjectId()
Get Project ID
|
String |
getRetryPolicy()
Get Retry policy.
|
ServiceSettings |
getServiceSettings()
Get Service settings such as unhealthy instance replacement.
|
String[] |
getSubnetIds()
Get List of subnet IDs.
|
Tag[] |
getTags()
Get List of tag descriptions.
|
String[] |
getTerminationPolicies()
Get Termination policy.
|
String |
getVpcId()
Get VPC ID; if on a basic network, enter an empty string
|
String[] |
getZones()
Get List of availability zones.
|
String |
getZonesCheckPolicy()
Get Availability zone verification policy.
|
void |
setAutoScalingGroupName(String AutoScalingGroupName)
Set Auto scaling group name, which can only contain letters, numbers, underscores, hyphens ("-"), and decimal points with a maximum length of 55 bytes and must be unique under your account.
|
void |
setDefaultCooldown(Long DefaultCooldown)
Set Default cooldown period in seconds.
|
void |
setDesiredCapacity(Long DesiredCapacity)
Set Desired number of instances.
|
void |
setForwardLoadBalancers(ForwardLoadBalancer[] ForwardLoadBalancers)
Set List of CLBs.
|
void |
setIpv6AddressCount(Long Ipv6AddressCount)
Set The number of IPv6 addresses that an instance has.
|
void |
setLaunchConfigurationId(String LaunchConfigurationId)
Set Launch configuration ID
|
void |
setLoadBalancerIds(String[] LoadBalancerIds)
Set List of classic CLB IDs.
|
void |
setMaxSize(Long MaxSize)
Set Maximum number of instances.
|
void |
setMinSize(Long MinSize)
Set Minimum number of instances.
|
void |
setMultiZoneSubnetPolicy(String MultiZoneSubnetPolicy)
Set Multi-availability zone/subnet policy.
|
void |
setProjectId(Long ProjectId)
Set Project ID
|
void |
setRetryPolicy(String RetryPolicy)
Set Retry policy.
|
void |
setServiceSettings(ServiceSettings ServiceSettings)
Set Service settings such as unhealthy instance replacement.
|
void |
setSubnetIds(String[] SubnetIds)
Set List of subnet IDs.
|
void |
setTags(Tag[] Tags)
Set List of tag descriptions.
|
void |
setTerminationPolicies(String[] TerminationPolicies)
Set Termination policy.
|
void |
setVpcId(String VpcId)
Set VPC ID; if on a basic network, enter an empty string
|
void |
setZones(String[] Zones)
Set List of availability zones.
|
void |
setZonesCheckPolicy(String ZonesCheckPolicy)
Set Availability zone verification policy.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getAutoScalingGroupName()
public void setAutoScalingGroupName(String AutoScalingGroupName)
AutoScalingGroupName
- Auto scaling group name, which can only contain letters, numbers, underscores, hyphens ("-"), and decimal points with a maximum length of 55 bytes and must be unique under your account.public String getLaunchConfigurationId()
public void setLaunchConfigurationId(String LaunchConfigurationId)
LaunchConfigurationId
- Launch configuration IDpublic Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- Maximum number of instances. Value range: 0-2,000.public Long getMinSize()
public void setMinSize(Long MinSize)
MinSize
- Minimum number of instances. Value range: 0-2,000.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID; if on a basic network, enter an empty stringpublic Long getDefaultCooldown()
public void setDefaultCooldown(Long DefaultCooldown)
DefaultCooldown
- Default cooldown period in seconds. Default value: 300public Long getDesiredCapacity()
public void setDesiredCapacity(Long DesiredCapacity)
DesiredCapacity
- Desired number of instances. The number should be no larger than the maximum and no smaller than minimum number of instancespublic String[] getLoadBalancerIds()
public void setLoadBalancerIds(String[] LoadBalancerIds)
LoadBalancerIds
- List of classic CLB IDs. Currently, the maximum length is 20. You cannot specify LoadBalancerIds and ForwardLoadBalancers at the same time.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project IDpublic ForwardLoadBalancer[] getForwardLoadBalancers()
public void setForwardLoadBalancers(ForwardLoadBalancer[] ForwardLoadBalancers)
ForwardLoadBalancers
- List of CLBs. Currently, the maximum length is 20. You cannot specify LoadBalancerIds and ForwardLoadBalancers at the same time.public String[] getSubnetIds()
public void setSubnetIds(String[] SubnetIds)
SubnetIds
- List of subnet IDs. A subnet must be specified in the VPC scenario. If multiple subnets are entered, their priority will be determined by the order in which they are entered, and they will be tried one by one until instances can be successfully created.public String[] getTerminationPolicies()
public void setTerminationPolicies(String[] TerminationPolicies)
TerminationPolicies
- Termination policy. Currently, the maximum length is 1. Value range: OLDEST_INSTANCE, NEWEST_INSTANCE. Default value: OLDEST_INSTANCE.
public String[] getZones()
public void setZones(String[] Zones)
Zones
- List of availability zones. An availability zone must be specified in the basic network scenario. If multiple availability zones are entered, their priority will be determined by the order in which they are entered, and they will be tried one by one until instances can be successfully created.public String getRetryPolicy()
public void setRetryPolicy(String RetryPolicy)
RetryPolicy
- Retry policy. Value range: IMMEDIATE_RETRY, INCREMENTAL_INTERVALS, and NO_RETRY. Default value: IMMEDIATE_RETRY.
public String getZonesCheckPolicy()
public void setZonesCheckPolicy(String ZonesCheckPolicy)
ZonesCheckPolicy
- Availability zone verification policy. Value range: ALL, ANY. Default value: ANY.
public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- List of tag descriptions. In this parameter, you can specify the tags to be bound with a scaling group as well as corresponding resource instances. Each scaling group can have up to 30 tags.public ServiceSettings getServiceSettings()
public void setServiceSettings(ServiceSettings ServiceSettings)
ServiceSettings
- Service settings such as unhealthy instance replacement.public Long getIpv6AddressCount()
public void setIpv6AddressCount(Long Ipv6AddressCount)
Ipv6AddressCount
- The number of IPv6 addresses that an instance has. Valid values: 0 and 1. Default value: 0.public String getMultiZoneSubnetPolicy()
public void setMultiZoneSubnetPolicy(String MultiZoneSubnetPolicy)
MultiZoneSubnetPolicy
- Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
Copyright © 2020. All rights reserved.