public class UpdatePrometheusGlobalViewRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
allSubClustersSuccess
To edit a GlobalView aggregated instance, do you require all passed child instances to be verified successfully before creating a GlobalView instance (optional, default to false):
true
false
example:
true
|
String |
clusterId
The ID of the Prometheus instance.
|
String |
groupName
The name of the global aggregation instance.
|
String |
mostRegionId
The region ID of the global aggregation instance.
|
String |
regionId
The ID of the region in which the Prometheus instance resides.
|
String |
resourceGroupId
The ID of the resource group to which the Prometheus instance belongs.
|
String |
subClustersJson
The data sources of the Prometheus instance for GlobalView.
|
| 构造器和说明 |
|---|
UpdatePrometheusGlobalViewRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdatePrometheusGlobalViewRequest |
build(Map<String,?> map) |
Boolean |
getAllSubClustersSuccess() |
String |
getClusterId() |
String |
getGroupName() |
String |
getMostRegionId() |
String |
getRegionId() |
String |
getResourceGroupId() |
String |
getSubClustersJson() |
UpdatePrometheusGlobalViewRequest |
setAllSubClustersSuccess(Boolean allSubClustersSuccess) |
UpdatePrometheusGlobalViewRequest |
setClusterId(String clusterId) |
UpdatePrometheusGlobalViewRequest |
setGroupName(String groupName) |
UpdatePrometheusGlobalViewRequest |
setMostRegionId(String mostRegionId) |
UpdatePrometheusGlobalViewRequest |
setRegionId(String regionId) |
UpdatePrometheusGlobalViewRequest |
setResourceGroupId(String resourceGroupId) |
UpdatePrometheusGlobalViewRequest |
setSubClustersJson(String subClustersJson) |
@NameInMap(value="AllSubClustersSuccess") public Boolean allSubClustersSuccess
To edit a GlobalView aggregated instance, do you require all passed child instances to be verified successfully before creating a GlobalView instance (optional, default to false):
true
@NameInMap(value="ClusterId") public String clusterId
The ID of the Prometheus instance.
This parameter is required.
example:global****
@NameInMap(value="GroupName") public String groupName
The name of the global aggregation instance.
example:zyGlobalView
@NameInMap(value="MostRegionId") public String mostRegionId
The region ID of the global aggregation instance.
example:cn-hangzhou
@NameInMap(value="RegionId") public String regionId
The ID of the region in which the Prometheus instance resides.
This parameter is required.
example:cn-shenzhen
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the Prometheus instance belongs.
example:rg-acfmxyexli2****
@NameInMap(value="SubClustersJson") public String subClustersJson
The data sources of the Prometheus instance for GlobalView.
This parameter is required.
example:[ { "headers":{ }, "regionId":"cn-hangzhou", "sourceType":"AlibabaPrometheus", "extras":{ }, "clusterId":"c39a1048921e04f***********", "sourceName":"arms-luyao-test", "dataSource":"", "userId":"1672753***********" }, { "headers":{ }, "regionId":"cn-beijing", "sourceType":"AlibabaPrometheus", "extras":{ }, "clusterId":"c6b6485496d5b40***********", "sourceName":"agent-321-test", "dataSource":"", "userId":"1672753***********" }, { "headers":{ }, "regionId":"cn-zhangjiakou", "sourceType":"AlibabaPrometheus", "extras":{ }, "clusterId":"c261a4f3200c446***********", "sourceName":"zaifeng-cardinality-01", "dataSource":"", "userId":"1672753***********" } ]
public static UpdatePrometheusGlobalViewRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdatePrometheusGlobalViewRequest setAllSubClustersSuccess(Boolean allSubClustersSuccess)
public Boolean getAllSubClustersSuccess()
public UpdatePrometheusGlobalViewRequest setClusterId(String clusterId)
public String getClusterId()
public UpdatePrometheusGlobalViewRequest setGroupName(String groupName)
public String getGroupName()
public UpdatePrometheusGlobalViewRequest setMostRegionId(String mostRegionId)
public String getMostRegionId()
public UpdatePrometheusGlobalViewRequest setRegionId(String regionId)
public String getRegionId()
public UpdatePrometheusGlobalViewRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public UpdatePrometheusGlobalViewRequest setSubClustersJson(String subClustersJson)
public String getSubClustersJson()
Copyright © 2024. All rights reserved.