public static class DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
autoRenewEnabled
Indicates whether the subscription dedicated host is automatically renewed.
|
String |
autoRenewWithEcs
Indicates whether the subscription dedicated host is automatically renewed along with the subscription Elastic Compute Service (ECS) instances hosted on it if the new expiration time of the renewed instances is later than the expiration time of the dedicated host.
|
String |
dedicatedHostId
The ID of the dedicated host.
|
Integer |
duration
The auto-renewal period.
|
String |
periodUnit
The unit of the auto-renewal period.
|
String |
renewalStatus
Indicates whether the subscription dedicated host is automatically renewed.
|
构造器和说明 |
---|
DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute() |
@NameInMap(value="AutoRenewEnabled") public Boolean autoRenewEnabled
Indicates whether the subscription dedicated host is automatically renewed. Valid values:
* true: The dedicated host is automatically renewed.
* false: The dedicated host is not automatically renewed.
@NameInMap(value="AutoRenewWithEcs") public String autoRenewWithEcs
Indicates whether the subscription dedicated host is automatically renewed along with the subscription Elastic Compute Service (ECS) instances hosted on it if the new expiration time of the renewed instances is later than the expiration time of the dedicated host. Valid values:
* AutoRenewWithEcs: The subscription dedicated host is automatically renewed along with the subscription ECS instances hosted on it.
* StopRenewWithEcs: The subscription dedicated host is not automatically renewed along with the subscription ECS instances hosted on it.
@NameInMap(value="DedicatedHostId") public String dedicatedHostId
The ID of the dedicated host.
@NameInMap(value="Duration") public Integer duration
The auto-renewal period.
@NameInMap(value="PeriodUnit") public String periodUnit
The unit of the auto-renewal period. Valid values:
* Week
* Month
@NameInMap(value="RenewalStatus") public String renewalStatus
Indicates whether the subscription dedicated host is automatically renewed. Valid values:
* AutoRenewal: The dedicated host is automatically renewed.
* Normal: The dedicated host is not automatically renewed, and you will receive notifications for renewal.
* NotRenewal: The dedicated host is not renewed, and no expiration notification is sent. Notifications for renewal are automatically sent three days before the dedicated host expires. You can change the value of this parameter from NotRenewal to Normal for the dedicated host and manually renew it by calling the [RenewDedicatedHosts](~~93287~~) operation. Alternatively, you can set this parameter to AutoRenewal to configure the dedicated host to be automatically renewed.
public DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute()
public static DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute build(Map<String,?> map) throws Exception
Exception
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setAutoRenewEnabled(Boolean autoRenewEnabled)
public Boolean getAutoRenewEnabled()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setAutoRenewWithEcs(String autoRenewWithEcs)
public String getAutoRenewWithEcs()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setDedicatedHostId(String dedicatedHostId)
public String getDedicatedHostId()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setDuration(Integer duration)
public Integer getDuration()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setPeriodUnit(String periodUnit)
public String getPeriodUnit()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setRenewalStatus(String renewalStatus)
public String getRenewalStatus()
Copyright © 2023. All rights reserved.