public class PrometheusInstancesItem extends AbstractModel
| Constructor and Description | 
|---|
| PrometheusInstancesItem() | 
| PrometheusInstancesItem(PrometheusInstancesItem 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 | getAlertRuleLimit()Get The alert rule limit
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getApiRootPath()Get Prometheus HTTP API root address
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getAuthToken()Get The token required for data writing
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getAutoRenewFlag()Get Auto-renewal flag
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. | 
| Long | getChargeStatus()Get Billing status
1: Normal
2: Expired
3: Terminated
4: Assigning
5: Assignment failed
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getCreatedAt()Get Creation time | 
| 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
0: Disabled
1: 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 | getGrafanaInstanceId()Get ID of the bound Grafana instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getGrafanaIpWhiteList()Get Grafana IP allowlist, where IPs are separated by comma. | 
| Long | getGrafanaStatus()Get Grafana status
1: Creating
2: Running
3: Abnormal
4: Restarting
5: Terminating
6: Service suspended
7: Deleted
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. | 
| PrometheusInstanceGrantInfo | getGrant()Get Instance authorization information
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getInstanceChargeType()Get Instance billing mode. | 
| String | getInstanceId()Get Instance ID. | 
| String | getInstanceName()Get Instance name. | 
| Long | getInstanceStatus()Get Instance status. | 
| String | getIPv4Address()Get Instance IPv4 address
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getIsNearExpire()Get Expiring soon
0: No
1: Yes
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getMigrationType()Get Migration status. | 
| String | getProxyAddress()Get Proxy address
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getRecordingRuleLimit()Get The recording rule limit
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getRegionId()Get Region ID | 
| String | getRemoteWrite()Get Prometheus remote write address
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 | 
| PrometheusTag[] | getTagSpecification()Get List of tags associated with the instance. | 
| String | getVpcId()Get VPC ID | 
| String | getZone()Get AZ | 
| void | setAlertRuleLimit(Long AlertRuleLimit)Set The alert rule limit
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setApiRootPath(String ApiRootPath)Set Prometheus HTTP API root address
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAuthToken(String AuthToken)Set The token required for data writing
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAutoRenewFlag(Long AutoRenewFlag)Set Auto-renewal flag
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. | 
| void | setChargeStatus(Long ChargeStatus)Set Billing status
1: Normal
2: Expired
3: Terminated
4: Assigning
5: Assignment failed
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCreatedAt(String CreatedAt)Set Creation time | 
| 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
0: Disabled
1: 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 | setGrafanaInstanceId(String GrafanaInstanceId)Set ID of the bound Grafana instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setGrafanaIpWhiteList(String GrafanaIpWhiteList)Set Grafana IP allowlist, where IPs are separated by comma. | 
| void | setGrafanaStatus(Long GrafanaStatus)Set Grafana status
1: Creating
2: Running
3: Abnormal
4: Restarting
5: Terminating
6: Service suspended
7: Deleted
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 | setGrant(PrometheusInstanceGrantInfo Grant)Set Instance authorization information
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setInstanceChargeType(Long InstanceChargeType)Set Instance billing mode. | 
| void | setInstanceId(String InstanceId)Set Instance ID. | 
| void | setInstanceName(String InstanceName)Set Instance name. | 
| void | setInstanceStatus(Long InstanceStatus)Set Instance status. | 
| void | setIPv4Address(String IPv4Address)Set Instance IPv4 address
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIsNearExpire(Long IsNearExpire)Set Expiring soon
0: No
1: Yes
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setMigrationType(Long MigrationType)Set Migration status. | 
| void | setProxyAddress(String ProxyAddress)Set Proxy address
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setRecordingRuleLimit(Long RecordingRuleLimit)Set The recording rule limit
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setRegionId(Long RegionId)Set Region ID | 
| void | setRemoteWrite(String RemoteWrite)Set Prometheus remote write address
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 | setTagSpecification(PrometheusTag[] TagSpecification)Set List of tags associated with the instance. | 
| void | setVpcId(String VpcId)Set VPC ID | 
| void | setZone(String Zone)Set AZ | 
| 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, toJsonStringpublic PrometheusInstancesItem()
public PrometheusInstancesItem(PrometheusInstancesItem source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance ID.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - Instance name.public Long getInstanceChargeType()
public void setInstanceChargeType(Long InstanceChargeType)
InstanceChargeType - Instance billing mode. Valid values:
public Long getRegionId()
public void setRegionId(Long RegionId)
RegionId - Region IDpublic String getZone()
public void setZone(String Zone)
Zone - AZpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - Subnet IDpublic 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 Long getInstanceStatus()
public void setInstanceStatus(Long InstanceStatus)
InstanceStatus - Instance status. Valid values:
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 String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt - Creation timepublic Long getEnableGrafana()
public void setEnableGrafana(Long EnableGrafana)
EnableGrafana - Whether Grafana is enabled
public String getIPv4Address()
public void setIPv4Address(String IPv4Address)
IPv4Address - Instance IPv4 address
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusTag[] getTagSpecification()
public void setTagSpecification(PrometheusTag[] TagSpecification)
TagSpecification - List of tags associated with the instance.
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 getChargeStatus()
public void setChargeStatus(Long ChargeStatus)
ChargeStatus - Billing status
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 getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag - Auto-renewal flag
public Long getIsNearExpire()
public void setIsNearExpire(Long IsNearExpire)
IsNearExpire - Expiring soon
public String getAuthToken()
public void setAuthToken(String AuthToken)
AuthToken - The token required for data writing
Note: This field may return null, indicating that no valid values can be obtained.public String getRemoteWrite()
public void setRemoteWrite(String RemoteWrite)
RemoteWrite - Prometheus remote write address
Note: This field may return null, indicating that no valid values can be obtained.public String getApiRootPath()
public void setApiRootPath(String ApiRootPath)
ApiRootPath - Prometheus HTTP API root address
Note: This field may return null, indicating that no valid values can be obtained.public String getProxyAddress()
public void setProxyAddress(String ProxyAddress)
ProxyAddress - Proxy address
Note: This field may return null, indicating that no valid values can be obtained.public Long getGrafanaStatus()
public void setGrafanaStatus(Long GrafanaStatus)
GrafanaStatus - Grafana status
public String getGrafanaIpWhiteList()
public void setGrafanaIpWhiteList(String GrafanaIpWhiteList)
GrafanaIpWhiteList - Grafana IP allowlist, where IPs are separated by comma.
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusInstanceGrantInfo getGrant()
public void setGrant(PrometheusInstanceGrantInfo Grant)
Grant - Instance authorization information
Note: This field may return null, indicating that no valid values can be obtained.public String getGrafanaInstanceId()
public void setGrafanaInstanceId(String GrafanaInstanceId)
GrafanaInstanceId - ID of the bound Grafana instance
Note: This field may return null, indicating that no valid values can be obtained.public Long getAlertRuleLimit()
public void setAlertRuleLimit(Long AlertRuleLimit)
AlertRuleLimit - The alert rule limit
Note: This field may return null, indicating that no valid values can be obtained.public Long getRecordingRuleLimit()
public void setRecordingRuleLimit(Long RecordingRuleLimit)
RecordingRuleLimit - The recording rule limit
Note: This field may return null, indicating that no valid values can be obtained.public Long getMigrationType()
public void setMigrationType(Long MigrationType)
MigrationType - Migration status. 0: Not migrating; 1: Migrating from source instance; 2: Migrating to target instance.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.