public class DescribeCapacityReservationsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestPrivatePoolOptions |
static class |
DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
instanceChargeType
The billing method of instances to be created by using the capacity reservation.
|
String |
instanceType
The instance type.
|
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
The operating system type of instances to be created by using the capacity reservation.
|
DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestPrivatePoolOptions |
privatePoolOptions |
String |
regionId
The region ID of the capacity reservation.
|
String |
resourceGroupId
The ID of the resource group to which the capacity reservation belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
status
The state of the capacity reservation.
|
List<DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestTag> |
tag
The tags.
|
String |
zoneId
The zone ID of the capacity reservation.
|
构造器和说明 |
---|
DescribeCapacityReservationsRequest() |
@NameInMap(value="PrivatePoolOptions") public DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestPrivatePoolOptions privatePoolOptions
@NameInMap(value="InstanceChargeType") public String instanceChargeType
The billing method of instances to be created by using the capacity reservation. Valid values:
* PostPaid: pay-as-you-go
* PrePaid: subscription
Default value: PostPaid.
@NameInMap(value="InstanceType") public String instanceType
The instance type.
@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
The operating system type of instances to be created by using the capacity reservation. Valid values:
* windows: Windows operating systems
* linux: Linux operating systems
* all: all operating system types
Default value: all.
@NameInMap(value="RegionId") public String regionId
The region ID of the capacity reservation. 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 capacity reservation 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 capacity reservation. Valid values:
* All: All states.
* Pending: The capacity reservation is being initialized. Scheduled capacity reservations enter the Pending state after they are created.
* Preparing: The capacity reservation is being prepared. Scheduled capacity reservations are in the Preparing state while resources are being provisioned.
* Prepared: The capacity reservation is to take effect. After resources are provisioned, scheduled capacity reservations remain in the Prepared state until they take effect.
* Active: The capacity reservation is in effect.
* Released: The capacity reservation has been released manually or automatically when it expired.
Default value: Active.
@NameInMap(value="Tag") public List<DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestTag> tag
The tags.
@NameInMap(value="ZoneId") public String zoneId
The zone ID of the capacity reservation.
public static DescribeCapacityReservationsRequest build(Map<String,?> map) throws Exception
Exception
public DescribeCapacityReservationsRequest setPrivatePoolOptions(DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestPrivatePoolOptions privatePoolOptions)
public DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestPrivatePoolOptions getPrivatePoolOptions()
public DescribeCapacityReservationsRequest setInstanceChargeType(String instanceChargeType)
public String getInstanceChargeType()
public DescribeCapacityReservationsRequest setInstanceType(String instanceType)
public String getInstanceType()
public DescribeCapacityReservationsRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public DescribeCapacityReservationsRequest setNextToken(String nextToken)
public String getNextToken()
public DescribeCapacityReservationsRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeCapacityReservationsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeCapacityReservationsRequest setPlatform(String platform)
public String getPlatform()
public DescribeCapacityReservationsRequest setRegionId(String regionId)
public String getRegionId()
public DescribeCapacityReservationsRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeCapacityReservationsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeCapacityReservationsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeCapacityReservationsRequest setStatus(String status)
public String getStatus()
public DescribeCapacityReservationsRequest setTag(List<DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestTag> tag)
public List<DescribeCapacityReservationsRequest.DescribeCapacityReservationsRequestTag> getTag()
public DescribeCapacityReservationsRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2023. All rights reserved.