public class Quota extends AbstractModel
Constructor and Description |
---|
Quota() |
Quota(Quota 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 |
getQuotaCurrent()
Get 当前使用数量,为 null 时表示无意义。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getQuotaId()
Get 配额名称,取值范围:
TOTAL_OPEN_CLB_QUOTA:用户当前地域下的公网CLB配额
TOTAL_INTERNAL_CLB_QUOTA:用户当前地域下的内网CLB配额
TOTAL_LISTENER_QUOTA:一个CLB下的监听器配额
TOTAL_LISTENER_RULE_QUOTA:一个监听器下的转发规则配额
TOTAL_TARGET_BIND_QUOTA:一条转发规则下可绑定设备的配额
TOTAL_SNAP_IP_QUOTA: 一个CLB实例下跨地域2.0的SNAT IP配额
TOTAL_ISP_CLB_QUOTA:用户当前地域下的三网CLB配额
|
Long |
getQuotaLimit()
Get 配额数量。
|
void |
setQuotaCurrent(Long QuotaCurrent)
Set 当前使用数量,为 null 时表示无意义。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setQuotaId(String QuotaId)
Set 配额名称,取值范围:
TOTAL_OPEN_CLB_QUOTA:用户当前地域下的公网CLB配额
TOTAL_INTERNAL_CLB_QUOTA:用户当前地域下的内网CLB配额
TOTAL_LISTENER_QUOTA:一个CLB下的监听器配额
TOTAL_LISTENER_RULE_QUOTA:一个监听器下的转发规则配额
TOTAL_TARGET_BIND_QUOTA:一条转发规则下可绑定设备的配额
TOTAL_SNAP_IP_QUOTA: 一个CLB实例下跨地域2.0的SNAT IP配额
TOTAL_ISP_CLB_QUOTA:用户当前地域下的三网CLB配额
|
void |
setQuotaLimit(Long QuotaLimit)
Set 配额数量。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Quota()
public Quota(Quota source)
public String getQuotaId()
public void setQuotaId(String QuotaId)
QuotaId
- 配额名称,取值范围:
public Long getQuotaCurrent()
public void setQuotaCurrent(Long QuotaCurrent)
QuotaCurrent
- 当前使用数量,为 null 时表示无意义。
注意:此字段可能返回 null,表示取不到有效值。public Long getQuotaLimit()
public void setQuotaLimit(Long QuotaLimit)
QuotaLimit
- 配额数量。Copyright © 2022. All rights reserved.