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

com.aliyun.arms20190808.models.ListPrometheusMonitoringRequest 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 ListPrometheusMonitoringRequest extends TeaModel {
    /**
     * 

The ID of the Prometheus instance.

*

This parameter is required.

* * example: *

cc7a37ee31aea4ed1a059eff8034b****

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

The region ID. Default value: cn-hangzhou.

*

This parameter is required.

* * example: *

cn-hangzhou

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

The type of the monitoring configuration. Valid values for a Prometheus instance for Container Service: ServiceMonitor, PodMonitor, CustomJob, and Probe. Valid values for a Prometheus instance for ECS: CustomJob and Probe.

* * example: *

serviceMonitor

* * if can be null: *

true

*/ @NameInMap("Type") public String type; public static ListPrometheusMonitoringRequest build(java.util.Map map) throws Exception { ListPrometheusMonitoringRequest self = new ListPrometheusMonitoringRequest(); return TeaModel.build(map, self); } public ListPrometheusMonitoringRequest setClusterId(String clusterId) { this.clusterId = clusterId; return this; } public String getClusterId() { return this.clusterId; } public ListPrometheusMonitoringRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public ListPrometheusMonitoringRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy