public static class DescribeSpotAdviceResponseBody.DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Integer |
averageSpotDiscount
The percentage of the average preemptible instance price relative to the pay-as-you-go instance price in the previous 30 days.
|
String |
instanceType
The instance type.
|
Float |
interruptionRate
The average release rate of preemptible instances in the previous 30 days.
|
String |
interruptRateDesc
The release rate range of preemptible instances in the previous 30 days, which corresponds to the
InterruptionRate value. |
构造器和说明 |
---|
DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource() |
@NameInMap(value="AverageSpotDiscount") public Integer averageSpotDiscount
The percentage of the average preemptible instance price relative to the pay-as-you-go instance price in the previous 30 days. Unit: %. Valid values: 1 to 100.
You can calculate the average preemptible instance price based on the return value. For example, if the pay-as-you-go instance price is 1 and the return value of this parameter is 20, the average preemptible instance price in the previous 30 days is 0.2.
example:20
@NameInMap(value="InstanceType") public String instanceType
The instance type.
example:ecs.c5.large
@NameInMap(value="InterruptRateDesc") public String interruptRateDesc
The release rate range of preemptible instances in the previous 30 days, which corresponds to the InterruptionRate
value. Valid values:
0-3%
@NameInMap(value="InterruptionRate") public Float interruptionRate
The average release rate of preemptible instances in the previous 30 days. Unit: %.
example:0
public DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource()
public static DescribeSpotAdviceResponseBody.DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource build(Map<String,?> map) throws Exception
Exception
public DescribeSpotAdviceResponseBody.DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource setAverageSpotDiscount(Integer averageSpotDiscount)
public Integer getAverageSpotDiscount()
public DescribeSpotAdviceResponseBody.DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource setInstanceType(String instanceType)
public String getInstanceType()
public DescribeSpotAdviceResponseBody.DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource setInterruptRateDesc(String interruptRateDesc)
public String getInterruptRateDesc()
public DescribeSpotAdviceResponseBody.DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource setInterruptionRate(Float interruptionRate)
public Float getInterruptionRate()
Copyright © 2024. All rights reserved.