public class PrometheusInstancesOverview extends AbstractModel
Constructor and Description |
---|
PrometheusInstancesOverview() |
PrometheusInstancesOverview(PrometheusInstancesOverview 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 |
getAutoRenewFlag()
Get Auto-renewal flag.
|
Long |
getBoundNormal()
Get Total number of bound clusters in the normal status
|
Long |
getBoundTotal()
Get Total number of bound clusters
|
Long |
getChargeStatus()
Get Billing status.
|
Long |
getDataRetentionTime()
Get Storage period
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getEnableGrafana()
Get Whether Grafana is enabled.
|
String |
getExpireTime()
Get Expiration time of the purchased instance
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getGrafanaURL()
Get Grafana dashboard URL
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getInstanceChargeType()
Get Instance payment type.
|
String |
getInstanceId()
Get Instance ID
|
String |
getInstanceName()
Get Instance name
|
Long |
getInstanceStatus()
Get Running status.
|
String |
getResourcePackageSpecName()
Get Resource pack specification name
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getResourcePackageStatus()
Get Resource pack status (`0`: Unavailable; `1`: Available)
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSpecName()
Get Specification name
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSubnetId()
Get Subnet ID
|
String |
getVpcId()
Get VPC ID
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Auto-renewal flag.
|
void |
setBoundNormal(Long BoundNormal)
Set Total number of bound clusters in the normal status
|
void |
setBoundTotal(Long BoundTotal)
Set Total number of bound clusters
|
void |
setChargeStatus(Long ChargeStatus)
Set Billing status.
|
void |
setDataRetentionTime(Long DataRetentionTime)
Set Storage period
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setEnableGrafana(Long EnableGrafana)
Set Whether Grafana is enabled.
|
void |
setExpireTime(String ExpireTime)
Set Expiration time of the purchased instance
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setGrafanaURL(String GrafanaURL)
Set Grafana dashboard URL
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceChargeType(Long InstanceChargeType)
Set Instance payment type.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setInstanceName(String InstanceName)
Set Instance name
|
void |
setInstanceStatus(Long InstanceStatus)
Set Running status.
|
void |
setResourcePackageSpecName(String ResourcePackageSpecName)
Set Resource pack specification name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setResourcePackageStatus(Long ResourcePackageStatus)
Set Resource pack status (`0`: Unavailable; `1`: Available)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSpecName(String SpecName)
Set Specification name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
|
void |
setVpcId(String VpcId)
Set VPC ID
|
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 PrometheusInstancesOverview()
public PrometheusInstancesOverview(PrometheusInstancesOverview source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance namepublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet IDpublic Long getInstanceStatus()
public void setInstanceStatus(Long InstanceStatus)
InstanceStatus
- Running status. Valid values: `1` (creating); `2` (running); `3` (abnormal); `4` (restarting); `5` (terminating); `6` (stopped); `7` (deleted).public Long getChargeStatus()
public void setChargeStatus(Long ChargeStatus)
ChargeStatus
- Billing status. Valid values: `1` (normal); `2` (expired); `3` (terminated); `4` (assigning); `5` (failed to assign)
Note: This field may return null, indicating that no valid values can be obtained.public Long getEnableGrafana()
public void setEnableGrafana(Long EnableGrafana)
EnableGrafana
- Whether Grafana is enabled. Valid values: `0` (no); `1` (yes).public String getGrafanaURL()
public void setGrafanaURL(String GrafanaURL)
GrafanaURL
- Grafana dashboard URL
Note: This field may return null, indicating that no valid values can be obtained.public Long getInstanceChargeType()
public void setInstanceChargeType(Long InstanceChargeType)
InstanceChargeType
- Instance payment type. Valid values: `1` (trial edition); `2` (prepaid)public String getSpecName()
public void setSpecName(String SpecName)
SpecName
- Specification name
Note: This field may return null, indicating that no valid values can be obtained.public Long getDataRetentionTime()
public void setDataRetentionTime(Long DataRetentionTime)
DataRetentionTime
- Storage period
Note: This field may return null, indicating that no valid values can be obtained.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime
- Expiration time of the purchased instance
Note: This field may return null, indicating that no valid values can be obtained.public Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Auto-renewal flag. Valid values: `0` (auto-renewal not enabled); `1` (auto-renewal enabled); `2` (auto-renewal prohibited); `-1` (invalid).
Note: This field may return null, indicating that no valid values can be obtained.public Long getBoundTotal()
public void setBoundTotal(Long BoundTotal)
BoundTotal
- Total number of bound clusterspublic Long getBoundNormal()
public void setBoundNormal(Long BoundNormal)
BoundNormal
- Total number of bound clusters in the normal statuspublic Long getResourcePackageStatus()
public void setResourcePackageStatus(Long ResourcePackageStatus)
ResourcePackageStatus
- Resource pack status (`0`: Unavailable; `1`: Available)
Note: This field may return null, indicating that no valid values can be obtained.public String getResourcePackageSpecName()
public void setResourcePackageSpecName(String ResourcePackageSpecName)
ResourcePackageSpecName
- Resource pack specification name
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.