All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.arms20190808.models.UpdatePrometheusGlobalViewRequest Maven / Gradle / Ivy

Go to download

Alibaba Cloud Application Real-Time Monitoring Service (20190808) SDK for Java

There is a newer version: 10.0.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;

import com.aliyun.tea.*;

public class UpdatePrometheusGlobalViewRequest extends TeaModel {
    /**
     * 

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

*/ @NameInMap("AllSubClustersSuccess") public Boolean allSubClustersSuccess; /** *

The ID of the Prometheus instance.

*

This parameter is required.

* * example: *

global****

*/ @NameInMap("ClusterId") public String clusterId; /** *

The name of the global aggregation instance.

* * example: *

zyGlobalView

*/ @NameInMap("GroupName") public String groupName; /** *

The region ID of the global aggregation instance.

* * example: *

cn-hangzhou

*/ @NameInMap("MostRegionId") public String mostRegionId; /** *

The ID of the region in which the Prometheus instance resides.

*

This parameter is required.

* * example: *

cn-shenzhen

*/ @NameInMap("RegionId") public String regionId; /** *

The ID of the resource group to which the Prometheus instance belongs.

* * example: *

rg-acfmxyexli2****

*/ @NameInMap("ResourceGroupId") public String resourceGroupId; /** *

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***********" } ]

*/ @NameInMap("SubClustersJson") public String subClustersJson; public static UpdatePrometheusGlobalViewRequest build(java.util.Map map) throws Exception { UpdatePrometheusGlobalViewRequest self = new UpdatePrometheusGlobalViewRequest(); return TeaModel.build(map, self); } public UpdatePrometheusGlobalViewRequest setAllSubClustersSuccess(Boolean allSubClustersSuccess) { this.allSubClustersSuccess = allSubClustersSuccess; return this; } public Boolean getAllSubClustersSuccess() { return this.allSubClustersSuccess; } public UpdatePrometheusGlobalViewRequest setClusterId(String clusterId) { this.clusterId = clusterId; return this; } public String getClusterId() { return this.clusterId; } public UpdatePrometheusGlobalViewRequest setGroupName(String groupName) { this.groupName = groupName; return this; } public String getGroupName() { return this.groupName; } public UpdatePrometheusGlobalViewRequest setMostRegionId(String mostRegionId) { this.mostRegionId = mostRegionId; return this; } public String getMostRegionId() { return this.mostRegionId; } public UpdatePrometheusGlobalViewRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public UpdatePrometheusGlobalViewRequest setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } public String getResourceGroupId() { return this.resourceGroupId; } public UpdatePrometheusGlobalViewRequest setSubClustersJson(String subClustersJson) { this.subClustersJson = subClustersJson; return this; } public String getSubClustersJson() { return this.subClustersJson; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy