public static class DescribeProjectMetaResponseBody.DescribeProjectMetaResponseBodyResourcesResource
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
description
The description.
|
String |
labels
The tags.
|
String |
namespace
The namespace of the cloud service.
|
| 构造器和说明 |
|---|
DescribeProjectMetaResponseBodyResourcesResource() |
@NameInMap(value="Description") public String description
The description.
@NameInMap(value="Labels") public String labels
The tags. Tags are used to filter services.
Tags are returned in the following format: `[{"name":"Tag key","value":"Tag value"}, {"name":"Tag key","value":"Tag value"}]`. The following tags are commonly used:
* alertUnit: the unit of the metric value in alerts. If the unit is small, the original metric value may be too large. In this case, you can use the `alertUnit` tag to specify an appropriate unit. This tag is used in CloudMonitor.
* minAlertPeriod: the minimum time interval to report a new alert. The interval is usually set to 1 minute.
* metricCategory: the service specification. Example: kvstore_sharding. An Alibaba Cloud service may have different specifications that are defined in the same namespace. You can use this parameter to distinguish between service specifications.
* is_alarm: specifies whether an alert rule can be set. We recommend that you do not use the special tags in the CloudMonitor console.
@NameInMap(value="Namespace") public String namespace
The namespace of the cloud service. Format: `acs_Service name abbreviation`. For more information about namespaces, see [Appendix 1: Metrics](~~163515~~).
public DescribeProjectMetaResponseBodyResourcesResource()
public static DescribeProjectMetaResponseBody.DescribeProjectMetaResponseBodyResourcesResource build(Map<String,?> map) throws Exception
Exceptionpublic DescribeProjectMetaResponseBody.DescribeProjectMetaResponseBodyResourcesResource setDescription(String description)
public String getDescription()
public DescribeProjectMetaResponseBody.DescribeProjectMetaResponseBodyResourcesResource setLabels(String labels)
public String getLabels()
public DescribeProjectMetaResponseBody.DescribeProjectMetaResponseBodyResourcesResource setNamespace(String namespace)
public String getNamespace()
Copyright © 2024. All rights reserved.