public class DescribePurchaseStateInfoResponse extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribePurchaseStateInfoResponse() | 
| DescribePurchaseStateInfoResponse(DescribePurchaseStateInfoResponse source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getAllCoresCnt()Get 总资源核数 = 总防护核数 + 未防护核数 | 
| Long | getAuthorizedCoresCnt()Get 已购买核数 | 
| Long | getAuthorizedImageCnt()Get 已授权镜像数 | 
| Long | getAutomaticRenewal()Get 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置) | 
| String | getBeginTime()Get 起始时间 | 
| Long | getCoresCnt()Get 总防护核数 =已购核数+ 试用赠送核数 +弹性计费核数 | 
| Long | getCurrentFlexibleCoresCnt()Get 当前弹性计费核数数量 | 
| Long | getDefendClusterCoresCnt()Get 已防护集群核数 | 
| Long | getDefendHostCoresCnt()Get 已防护主机核数 | 
| String | getDefendPolicy()Get 防护策略 | 
| String | getExpirationTime()Get 过期时间 | 
| Long | getFlexibleCoresLimit()Get 弹性计费核数上限 | 
| Long | getGivenAuthorizedCnt()Get 试用期间赠送镜像授权数,可能会过期 | 
| Long | getGivenAuthorizedCoresCnt()Get 试用赠送专业版核心数 | 
| Long | getImageCnt()Get 镜像数 | 
| String | getInquireKey()Get 计费key | 
| Long | getPurchasedAuthorizedCnt()Get 已购买镜像授权数 | 
| String | getRequestId()Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| Long | getState()Get 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期 | 
| String | getSubState()Get 子状态(具体意义依据State字段而定)
State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁) | 
| Long | getTrialCoresCnt()Get 试用的专业版核数 | 
| Long | getUndefendCoresCnt()Get 未防护核数(未开启防护资源核数) | 
| void | setAllCoresCnt(Long AllCoresCnt)Set 总资源核数 = 总防护核数 + 未防护核数 | 
| void | setAuthorizedCoresCnt(Long AuthorizedCoresCnt)Set 已购买核数 | 
| void | setAuthorizedImageCnt(Long AuthorizedImageCnt)Set 已授权镜像数 | 
| void | setAutomaticRenewal(Long AutomaticRenewal)Set 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置) | 
| void | setBeginTime(String BeginTime)Set 起始时间 | 
| void | setCoresCnt(Long CoresCnt)Set 总防护核数 =已购核数+ 试用赠送核数 +弹性计费核数 | 
| void | setCurrentFlexibleCoresCnt(Long CurrentFlexibleCoresCnt)Set 当前弹性计费核数数量 | 
| void | setDefendClusterCoresCnt(Long DefendClusterCoresCnt)Set 已防护集群核数 | 
| void | setDefendHostCoresCnt(Long DefendHostCoresCnt)Set 已防护主机核数 | 
| void | setDefendPolicy(String DefendPolicy)Set 防护策略 | 
| void | setExpirationTime(String ExpirationTime)Set 过期时间 | 
| void | setFlexibleCoresLimit(Long FlexibleCoresLimit)Set 弹性计费核数上限 | 
| void | setGivenAuthorizedCnt(Long GivenAuthorizedCnt)Set 试用期间赠送镜像授权数,可能会过期 | 
| void | setGivenAuthorizedCoresCnt(Long GivenAuthorizedCoresCnt)Set 试用赠送专业版核心数 | 
| void | setImageCnt(Long ImageCnt)Set 镜像数 | 
| void | setInquireKey(String InquireKey)Set 计费key | 
| void | setPurchasedAuthorizedCnt(Long PurchasedAuthorizedCnt)Set 已购买镜像授权数 | 
| void | setRequestId(String RequestId)Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| void | setState(Long State)Set 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期 | 
| void | setSubState(String SubState)Set 子状态(具体意义依据State字段而定)
State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁) | 
| void | setTrialCoresCnt(Long TrialCoresCnt)Set 试用的专业版核数 | 
| void | setUndefendCoresCnt(Long UndefendCoresCnt)Set 未防护核数(未开启防护资源核数) | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribePurchaseStateInfoResponse()
public DescribePurchaseStateInfoResponse(DescribePurchaseStateInfoResponse source)
public Long getState()
public void setState(Long State)
State - 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期public Long getAllCoresCnt()
public void setAllCoresCnt(Long AllCoresCnt)
AllCoresCnt - 总资源核数 = 总防护核数 + 未防护核数public Long getCoresCnt()
public void setCoresCnt(Long CoresCnt)
CoresCnt - 总防护核数 =已购核数+ 试用赠送核数 +弹性计费核数public Long getUndefendCoresCnt()
public void setUndefendCoresCnt(Long UndefendCoresCnt)
UndefendCoresCnt - 未防护核数(未开启防护资源核数)public Long getAuthorizedCoresCnt()
public void setAuthorizedCoresCnt(Long AuthorizedCoresCnt)
AuthorizedCoresCnt - 已购买核数public Long getGivenAuthorizedCoresCnt()
public void setGivenAuthorizedCoresCnt(Long GivenAuthorizedCoresCnt)
GivenAuthorizedCoresCnt - 试用赠送专业版核心数public Long getCurrentFlexibleCoresCnt()
public void setCurrentFlexibleCoresCnt(Long CurrentFlexibleCoresCnt)
CurrentFlexibleCoresCnt - 当前弹性计费核数数量public Long getImageCnt()
public void setImageCnt(Long ImageCnt)
ImageCnt - 镜像数public Long getAuthorizedImageCnt()
public void setAuthorizedImageCnt(Long AuthorizedImageCnt)
AuthorizedImageCnt - 已授权镜像数public String getExpirationTime()
public void setExpirationTime(String ExpirationTime)
ExpirationTime - 过期时间public Long getPurchasedAuthorizedCnt()
public void setPurchasedAuthorizedCnt(Long PurchasedAuthorizedCnt)
PurchasedAuthorizedCnt - 已购买镜像授权数public Long getAutomaticRenewal()
public void setAutomaticRenewal(Long AutomaticRenewal)
AutomaticRenewal - 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置)public Long getGivenAuthorizedCnt()
public void setGivenAuthorizedCnt(Long GivenAuthorizedCnt)
GivenAuthorizedCnt - 试用期间赠送镜像授权数,可能会过期public String getBeginTime()
public void setBeginTime(String BeginTime)
BeginTime - 起始时间public String getSubState()
public void setSubState(String SubState)
SubState - 子状态(具体意义依据State字段而定)
State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁)public String getInquireKey()
public void setInquireKey(String InquireKey)
InquireKey - 计费keypublic String getDefendPolicy()
public void setDefendPolicy(String DefendPolicy)
DefendPolicy - 防护策略public Long getFlexibleCoresLimit()
public void setFlexibleCoresLimit(Long FlexibleCoresLimit)
FlexibleCoresLimit - 弹性计费核数上限public Long getDefendClusterCoresCnt()
public void setDefendClusterCoresCnt(Long DefendClusterCoresCnt)
DefendClusterCoresCnt - 已防护集群核数public Long getDefendHostCoresCnt()
public void setDefendHostCoresCnt(Long DefendHostCoresCnt)
DefendHostCoresCnt - 已防护主机核数public Long getTrialCoresCnt()
public void setTrialCoresCnt(Long TrialCoresCnt)
TrialCoresCnt - 试用的专业版核数public String getRequestId()
public void setRequestId(String RequestId)
RequestId - 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2025. All rights reserved.