public static class GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
accessType
权限类型:
readWrite、readOnly、httpReadOnly
example:
readWrite
|
Integer |
archiveDuration
The number of days for which data is automatically archived after the storage expires.
|
String |
authToken
Authorization token.
|
String |
clusterId
The ID of the Prometheus instance.
|
String |
clusterName
The name of the monitoring object.
|
String |
clusterType
remote-write: general-purpose Prometheus instance
ecs: Prometheus instances for ECS
cloud-monitor: Prometheus instance for Alibaba Cloud services in the Chinese mainland
cloud-product: Prometheus instance for Alibaba Cloud services outside the Chinese mainland
global-view: global aggregation instance
aliyun-cs: Prometheus instance for Container Service
example:
remote-write
|
String |
grafanaInstanceId
The ID of the Grafana workspace.
|
String |
httpApiInterUrl
Http API internet address.
|
String |
httpApiIntraUrl
Http API intranet address.
|
String |
paymentType
The billing method.
|
String |
pushGatewayInterUrl
Push gateway internet address.
|
String |
pushGatewayIntraUrl
Push gateway intranet address.
|
String |
regionId
The region ID.
|
String |
remoteReadInterUrl
Remote read internet address.
|
String |
remoteReadIntraUrl
Remote read intranet address.
|
String |
remoteWriteInterUrl
Remote write internet address.
|
String |
remoteWriteIntraUrl
Remote write intranet address.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs.
|
String |
resourceType
The type of the resource.
|
String |
securityGroupId
The ID of the security group.
|
Integer |
storageDuration
The data storage duration.
|
String |
subClustersJson
The child instances of the Prometheus instance for GlobalView.
|
List<GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyDataTags> |
tags
The tags of the instance.
|
String |
userId
The user ID.
|
String |
vpcId
The VPC ID.
|
String |
vSwitchId
The vSwitch ID.
|
| 构造器和说明 |
|---|
GetPrometheusInstanceResponseBodyData() |
@NameInMap(value="AccessType") public String accessType
权限类型: readWrite、readOnly、httpReadOnly
example:readWrite
@NameInMap(value="ArchiveDuration") public Integer archiveDuration
The number of days for which data is automatically archived after the storage expires. Valid values: 60, 90, 180, and 365. 0 indicates that the data is not archived.
example:60
@NameInMap(value="AuthToken") public String authToken
Authorization token.
example:GciOiJIUzI1NiJ9***
@NameInMap(value="ClusterId") public String clusterId
The ID of the Prometheus instance.
example:c589a1b8db05c4561aefbb898ca8fb1cf
@NameInMap(value="ClusterName") public String clusterName
The name of the monitoring object.
example:prom1
@NameInMap(value="ClusterType") public String clusterType
remote-write
@NameInMap(value="GrafanaInstanceId") public String grafanaInstanceId
The ID of the Grafana workspace.
example:grafana-rnggfvhlcdl6m71***
@NameInMap(value="HttpApiInterUrl") public String httpApiInterUrl
Http API internet address.
example:https://cn-beijing.arms.aliyuncs.com:9443/api/v1/prometheus/xxx
@NameInMap(value="HttpApiIntraUrl") public String httpApiIntraUrl
Http API intranet address.
example:http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx
@NameInMap(value="PaymentType") public String paymentType
The billing method. Valid values:
PREPAY
@NameInMap(value="PushGatewayInterUrl") public String pushGatewayInterUrl
Push gateway internet address.
example:@NameInMap(value="PushGatewayIntraUrl") public String pushGatewayIntraUrl
Push gateway intranet address.
example:http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v2
@NameInMap(value="RegionId") public String regionId
The region ID.
example:cn-beijing
@NameInMap(value="RemoteReadInterUrl") public String remoteReadInterUrl
Remote read internet address.
example:http://cn-beijing.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read
@NameInMap(value="RemoteReadIntraUrl") public String remoteReadIntraUrl
Remote read intranet address.
example:http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read
@NameInMap(value="RemoteWriteInterUrl") public String remoteWriteInterUrl
Remote write internet address.
example:https://cn-beijing.arms.aliyuncs.com/prometheus/xxx/api/v3/write
@NameInMap(value="RemoteWriteIntraUrl") public String remoteWriteIntraUrl
Remote write intranet address.
example:http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v3/write
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance belongs.
example:rg-aek2vezare****
@NameInMap(value="ResourceType") public String resourceType
The type of the resource. Set the value to PROMETHEUS.
example:PROMETHEUS
@NameInMap(value="SecurityGroupId") public String securityGroupId
The ID of the security group. This parameter is returned only for Prometheus instances for ECS.
example:sg-8vbdgmf4nraiqa9bx0jo
@NameInMap(value="StorageDuration") public Integer storageDuration
The data storage duration. Unit: days.
example:90
@NameInMap(value="SubClustersJson") public String subClustersJson
The child instances of the Prometheus instance for GlobalView. The value is a JSON string.
example:[{"headers":{},"regionId":"cn-hangzhou","sourceType":"AlibabaPrometheus","extras":{},"clusterId":"c39a1048921e04fceb039db2fbb73\\\","sourceName":"arms-luyao-test","dataSource":"","userId":"167275301789\\\"},{"headers":{},"regionId":"cn-beijing","sourceType":"AlibabaPrometheus","extras":{},"clusterId":"c6b6485496d5b400abde22cb47b5\\\\","sourceName":"agent-321-test","dataSource":"","userId":"1672753017899\\\"},{"headers":{},"regionId":"cn-zhangjiakou","sourceType":"AlibabaPrometheus","extras":{},"clusterId":"c261a4f3200c446659133f1ade789b15e","sourceName":"zaifeng-cardinality-01","dataSource":"","userId":"167275301789\\\"}]
@NameInMap(value="Tags") public List<GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyDataTags> tags
The tags of the instance.
@NameInMap(value="UserId") public String userId
The user ID.
example:167275301789****
@NameInMap(value="VSwitchId") public String vSwitchId
The vSwitch ID. This parameter is returned only for Prometheus instances for ECS.
example:vsw-f8z73vcja1tqnw90aav5a
@NameInMap(value="VpcId") public String vpcId
The VPC ID. This parameter is returned only for Prometheus instances for ECS.
example:vpc-8vb02uk57qbcktqcvqqqj
public static GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData build(Map<String,?> map) throws Exception
Exceptionpublic GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setAccessType(String accessType)
public String getAccessType()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setArchiveDuration(Integer archiveDuration)
public Integer getArchiveDuration()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setAuthToken(String authToken)
public String getAuthToken()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setClusterId(String clusterId)
public String getClusterId()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setClusterName(String clusterName)
public String getClusterName()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setClusterType(String clusterType)
public String getClusterType()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setGrafanaInstanceId(String grafanaInstanceId)
public String getGrafanaInstanceId()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setHttpApiInterUrl(String httpApiInterUrl)
public String getHttpApiInterUrl()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setHttpApiIntraUrl(String httpApiIntraUrl)
public String getHttpApiIntraUrl()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setPaymentType(String paymentType)
public String getPaymentType()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setPushGatewayInterUrl(String pushGatewayInterUrl)
public String getPushGatewayInterUrl()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setPushGatewayIntraUrl(String pushGatewayIntraUrl)
public String getPushGatewayIntraUrl()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setRegionId(String regionId)
public String getRegionId()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setRemoteReadInterUrl(String remoteReadInterUrl)
public String getRemoteReadInterUrl()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setRemoteReadIntraUrl(String remoteReadIntraUrl)
public String getRemoteReadIntraUrl()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setRemoteWriteInterUrl(String remoteWriteInterUrl)
public String getRemoteWriteInterUrl()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setRemoteWriteIntraUrl(String remoteWriteIntraUrl)
public String getRemoteWriteIntraUrl()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setResourceType(String resourceType)
public String getResourceType()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setStorageDuration(Integer storageDuration)
public Integer getStorageDuration()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setSubClustersJson(String subClustersJson)
public String getSubClustersJson()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setTags(List<GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyDataTags> tags)
public List<GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyDataTags> getTags()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setUserId(String userId)
public String getUserId()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setVSwitchId(String vSwitchId)
public String getVSwitchId()
public GetPrometheusInstanceResponseBody.GetPrometheusInstanceResponseBodyData setVpcId(String vpcId)
public String getVpcId()
Copyright © 2024. All rights reserved.