Mengkueri tag yang terkait dengan instans Cloud Phone.
Deskripsi operasi
Specify at least one of the following parameters in the request to determine the queried object: ResourceId.N, Tag.N.Key, or Tag.N.Value.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah.
Atur nilai parameter ini menjadi |
cn-shanghai / ap-southeast-1 |
| ResourceType |
string |
Yes |
Tipe Sumber daya. Valid values:
|
ALIYUN::ACP::INSTANCE |
| MaxResults |
integer |
No |
Jumlah entri yang dikembalikan pada setiap halaman untuk kueri berhalaman. |
10 |
| NextToken |
string |
No |
Token yang menandai posisi awal kueri. Jika Anda mengosongkan parameter ini, kueri dimulai dari awal. |
AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc**** |
| ResourceId |
array |
No |
Daftar ID Sumber daya. Ini adalah daftar ID instans cloud phone. Anda dapat menentukan 1 hingga 50 ID. |
|
|
string |
No |
The resource ID. This is the ID of a cloud phone instance. |
acp-123456abc**** |
|
| Tag |
array<object> |
No |
Daftar tag. |
|
|
object |
No |
A tag. |
||
| Key |
string |
No |
The tag key. You can specify 1 to 20 tag keys. |
department |
| Value |
string |
No |
The tag value. You can specify 1 to 20 tag values. |
design |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response elements. |
||
| NextToken |
string |
The token that marks the position from which to start the next query. If this parameter is empty, all results have been returned. |
AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s**** |
| RequestId |
string |
The request ID. |
20393E53-8FF1-524C-B494-B478A5369733 |
| TagResources |
array<object> |
A collection of resources and their tag information. |
|
|
object |
The details of the queried instance and its tags. |
||
| TagValue |
string |
The tag value. |
TF |
| ResourceType |
string |
The resource type. Valid values:
|
ALIYUN::ACP::INSTANCE |
| ResourceId |
string |
The resource ID. This is the ID of the cloud phone instance. |
acp-8jwttemxb4t6y**** |
| TagKey |
string |
The tag key. |
department |
Contoh
Respons sukses
JSONformat
{
"NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****",
"RequestId": "20393E53-8FF1-524C-B494-B478A5369733",
"TagResources": [
{
"TagValue": "TF",
"ResourceType": "ALIYUN::ACP::INSTANCE",
"ResourceId": "acp-8jwttemxb4t6y****",
"TagKey": "department"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.