| Package | Description | 
|---|---|
| com.tencentcloudapi.monitor.v20180724.models | 
| Modifier and Type | Method and Description | 
|---|---|
| Label[] | PrometheusAlertRule. getAnnotations()Get See `annotations` in the Prometheus rule
Note: This field may return null, indicating that no valid values can be obtained. | 
| Label[] | ModifyPrometheusAgentExternalLabelsRequest. getExternalLabels()Get New external labels | 
| Label[] | PrometheusClusterAgentBasic. getExternalLabels()Get External labels, which will be attached to all metrics collected by this cluster | 
| Label[] | PrometheusAgentOverview. getExternalLabels()Get External labels
External labels, which will be attached to all metrics in this cluster
Note: This field may return null, indicating that no valid values can be obtained. | 
| Label[] | PrometheusAlertRule. getLabels()Get Additional tags | 
| Label[] | PrometheusClusterAgentPodConfig. getNodeSelector()Get A parameter used to specify the running nodes for a pod | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PrometheusAlertRule. setAnnotations(Label[] Annotations)Set See `annotations` in the Prometheus rule
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | ModifyPrometheusAgentExternalLabelsRequest. setExternalLabels(Label[] ExternalLabels)Set New external labels | 
| void | PrometheusClusterAgentBasic. setExternalLabels(Label[] ExternalLabels)Set External labels, which will be attached to all metrics collected by this cluster | 
| void | PrometheusAgentOverview. setExternalLabels(Label[] ExternalLabels)Set External labels
External labels, which will be attached to all metrics in this cluster
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | PrometheusAlertRule. setLabels(Label[] Labels)Set Additional tags | 
| void | PrometheusClusterAgentPodConfig. setNodeSelector(Label[] NodeSelector)Set A parameter used to specify the running nodes for a pod | 
| Constructor and Description | 
|---|
| Label(Label 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. | 
Copyright © 2025. All rights reserved.