public class DescribeSpotPriceHistoryRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
endTime
The end of the time range to query.
|
String |
instanceType
The instance type of the preemptible instance.
|
String |
ioOptimized
Specifies whether the instance is I/O optimized.
|
String |
networkType
The network type of the preemptible instance.
|
Integer |
offset
The line from which the next query starts.
|
String |
OSType
The type of the operating system platform.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the preemptible instance.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Integer |
spotDuration
The protection period of the preemptible instance.
|
String |
startTime
The beginning of the time range to query.
|
String |
zoneId
The zone ID of the preemptible instance.
|
构造器和说明 |
---|
DescribeSpotPriceHistoryRequest() |
@NameInMap(value="EndTime") public String endTime
The end of the time range to query. Specify the time in the [ISO 8601](~~25696~~) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
This parameter is empty by default. If this parameter is empty, the current time is used.
@NameInMap(value="InstanceType") public String instanceType
The instance type of the preemptible instance.
@NameInMap(value="IoOptimized") public String ioOptimized
Specifies whether the instance is I/O optimized. Valid values:
* optimized: The instance is I/O optimized.
* none: The instance is not I/O optimized.
For instances of generation I instance families, the default value is none.
For instances of other instance families, the default value is optimized.
@NameInMap(value="NetworkType") public String networkType
The network type of the preemptible instance. Valid values:
* classic: classic network
* vpc: Virtual Private Cloud (VPC)
@NameInMap(value="OSType") public String OSType
The type of the operating system platform. Valid values:
* linux
* windows
@NameInMap(value="Offset") public Integer offset
The line from which the next query starts.
Default value: 0.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the preemptible instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SpotDuration") public Integer spotDuration
The protection period of the preemptible instance. Unit: hours. Valid values: 0, 1, 2, 3, 4, 5, and 6.
* The following protection periods are available in invitational preview: 2, 3, 4, 5, and 6 hours. If you want to set this parameter to one of these values, submit a ticket.
* If this parameter is set to 0, no protection period is configured for the preemptible instance.
Default value: 1.
@NameInMap(value="StartTime") public String startTime
The beginning of the time range to query. Specify the time in the [ISO 8601](~~25696~~) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC. The specified time can be up to 30 days earlier than the specified EndTime value.
This parameter is empty by default. If this parameter is empty, the time that is 3 hours earlier than the specified EndTime value is used.
@NameInMap(value="ZoneId") public String zoneId
The zone ID of the preemptible instance.
public static DescribeSpotPriceHistoryRequest build(Map<String,?> map) throws Exception
Exception
public DescribeSpotPriceHistoryRequest setEndTime(String endTime)
public String getEndTime()
public DescribeSpotPriceHistoryRequest setInstanceType(String instanceType)
public String getInstanceType()
public DescribeSpotPriceHistoryRequest setIoOptimized(String ioOptimized)
public String getIoOptimized()
public DescribeSpotPriceHistoryRequest setNetworkType(String networkType)
public String getNetworkType()
public DescribeSpotPriceHistoryRequest setOSType(String OSType)
public String getOSType()
public DescribeSpotPriceHistoryRequest setOffset(Integer offset)
public Integer getOffset()
public DescribeSpotPriceHistoryRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeSpotPriceHistoryRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeSpotPriceHistoryRequest setRegionId(String regionId)
public String getRegionId()
public DescribeSpotPriceHistoryRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeSpotPriceHistoryRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeSpotPriceHistoryRequest setSpotDuration(Integer spotDuration)
public Integer getSpotDuration()
public DescribeSpotPriceHistoryRequest setStartTime(String startTime)
public String getStartTime()
public DescribeSpotPriceHistoryRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2023. All rights reserved.