public class DescribeElasticityAssurancesRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestPrivatePoolOptions |
static class |
DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
instanceChargeType
The billing method of the instances to be created by using the elasticity assurance.
|
String |
instanceType
The instance type to which the elasticity assurance applies.
|
Integer |
maxResults
The maximum number of entries to return on each page.
|
String |
nextToken
The token used to start the next query.
|
String |
ownerAccount |
Long |
ownerId |
String |
platform
> This parameter is deprecated.
|
DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestPrivatePoolOptions |
privatePoolOptions |
String |
regionId
The region ID of the elasticity assurance.
|
String |
resourceGroupId
The ID of the resource group to which the elasticity assurance belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
status
The state of the elasticity assurance.
|
List<DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestTag> |
tag
The tags that you want to query resources.
|
String |
zoneId
The zone ID of the elasticity assurance.
|
构造器和说明 |
---|
DescribeElasticityAssurancesRequest() |
@NameInMap(value="PrivatePoolOptions") public DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestPrivatePoolOptions privatePoolOptions
@NameInMap(value="InstanceChargeType") public String instanceChargeType
The billing method of the instances to be created by using the elasticity assurance. Set the value to PostPaid. Only pay-as-you-go instances can be created by using elasticity assurances.
Default value: PostPaid.
@NameInMap(value="InstanceType") public String instanceType
The instance type to which the elasticity assurance applies.
@NameInMap(value="MaxResults") public Integer maxResults
The maximum number of entries to return on each page.
Maximum value: 100.
Default value: 10.
@NameInMap(value="NextToken") public String nextToken
The token used to start the next query. Set the value to the NextToken value obtained from the response to the previous request.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Platform") public String platform
> This parameter is deprecated.
@NameInMap(value="RegionId") public String regionId
The region ID of the elasticity assurance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the elasticity assurance belongs. If this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response.
> Resources in the default resource group are displayed in the response regardless of how this parameter is set.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Status") public String status
The state of the elasticity assurance. Valid values:
- All: All states.
- Preparing: The elasticity assurance is being prepared.
- Prepared: The elasticity assurance is to take effect.
- Active: The elasticity assurance is in effect.
- Released: The elasticity assurance is released.
Default value: Active.
@NameInMap(value="Tag") public List<DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestTag> tag
The tags that you want to query resources. You can specify a maximum of 20 tags.
@NameInMap(value="ZoneId") public String zoneId
The zone ID of the elasticity assurance.
public static DescribeElasticityAssurancesRequest build(Map<String,?> map) throws Exception
Exception
public DescribeElasticityAssurancesRequest setPrivatePoolOptions(DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestPrivatePoolOptions privatePoolOptions)
public DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestPrivatePoolOptions getPrivatePoolOptions()
public DescribeElasticityAssurancesRequest setInstanceChargeType(String instanceChargeType)
public String getInstanceChargeType()
public DescribeElasticityAssurancesRequest setInstanceType(String instanceType)
public String getInstanceType()
public DescribeElasticityAssurancesRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public DescribeElasticityAssurancesRequest setNextToken(String nextToken)
public String getNextToken()
public DescribeElasticityAssurancesRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeElasticityAssurancesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeElasticityAssurancesRequest setPlatform(String platform)
public String getPlatform()
public DescribeElasticityAssurancesRequest setRegionId(String regionId)
public String getRegionId()
public DescribeElasticityAssurancesRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeElasticityAssurancesRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeElasticityAssurancesRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeElasticityAssurancesRequest setStatus(String status)
public String getStatus()
public DescribeElasticityAssurancesRequest setTag(List<DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestTag> tag)
public List<DescribeElasticityAssurancesRequest.DescribeElasticityAssurancesRequestTag> getTag()
public DescribeElasticityAssurancesRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2023. All rights reserved.