public class DescribeSpotPriceHistoryRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
endTime
The end of the time range to query.
|
String |
instanceType
The beginning of the time range to query.
|
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 query starts.
|
String |
OSType
The type of the operating system platform.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The zone 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 spot price (market price) 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 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.
example:2017-08-22T08:45:08Z
@NameInMap(value="InstanceType") public String instanceType
The beginning of the time range to query. Specify the time in the ISO 8601 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.
This parameter is required.
example:ecs.t1.xsmall
@NameInMap(value="IoOptimized") public String ioOptimized
Specifies whether the instance is I/O optimized. Valid values:
For instances of generation I instance families, the default value is none.
For instances of other instance families, the default value is optimized.
example:optimized
@NameInMap(value="NetworkType") public String networkType
The network type of the preemptible instance. Valid values:
This parameter is required.
example:vpc
@NameInMap(value="OSType") public String OSType
The type of the operating system platform. Valid values:
linux
@NameInMap(value="Offset") public Integer offset
The line from which the query starts.
Default value: 0
example:0
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The zone ID of the preemptible instance.
This parameter is required.
example:cn-hangzhou
@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. Default value: 1. Valid values:
Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Preemptible instances are billed by second. We recommend that you specify a protection period based on your business requirements.
example:This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit or SpotAsPriceGo.
1
@NameInMap(value="StartTime") public String startTime
The beginning of the time range to query. The value of this parameter and the value of EndTime can be up to 30 days apart. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ
format. The time must be in UTC.
This parameter is left empty by default. If this parameter is empty, the time that is 3 hours earlier than the value of EndTime is used.
example:2017-08-22T08:45:08Z
@NameInMap(value="ZoneId") public String zoneId
The spot price (market price) of the preemptible instance.
example:cn-hangzhou-g
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 © 2024. All rights reserved.