Retrieves the details of container assets by using an attribute.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeContainerTags |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FieldName |
string |
Yes |
The name of the attribute that is used for the query. Valid values:
|
namespace |
| FieldValue |
string |
No |
The value of the attribute that is used for the query. |
demo4 |
| CurrentPage |
integer |
Yes |
The number of the page to return. Default value: 1. |
1 |
| PageSize |
integer |
Yes |
The number of entries to return on each page. Default value: 200. |
200 |
| ClusterId |
string |
No |
The ID of the cluster to which the container belongs. Note
You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters. |
c22143730ab6e40b09ec7c1c51d4d**** |
| Namespace |
string |
No |
The namespace. |
test-name-01 |
| AppName |
string |
No |
The name of the application. |
node-exporter |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request, which is used to locate and troubleshoot issues. |
028CF634-5268-5660-9575-48C9ED6BF880 |
| TagValues |
array |
An array that consists of the attributes of container assets. |
|
|
string |
The value of the attribute.
|
node-exporter |
Examples
Success response
JSON format
{
"RequestId": "028CF634-5268-5660-9575-48C9ED6BF880",
"TagValues": [
"node-exporter\n"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.