Memanggil antarmuka DescribeTagKeysForExpressConnect untuk mengembalikan daftar tag Express Connect.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
No |
Tipe sumber daya. Nilai yang valid:
|
PHYSICALCONNECTION |
| Keyword |
string |
No |
Kata kunci dari nama tag. Mendukung pencocokan fuzzy, yaitu masukkan kata kunci untuk menanyakan semua tag yang berisi kata kunci tersebut. |
keyword |
| RegionId |
string |
Yes |
ID region tempat sumber daya berada. Anda dapat memperoleh ID region dengan memanggil antarmuka DescribeRegions. |
cn-hangzhou |
| NextToken |
string |
No |
Apakah memiliki token untuk kueri berikutnya. Nilai yang valid:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| MaxResult |
integer |
No |
Jumlah entri yang ditampilkan per halaman saat melakukan kueri secara batch. Rentang nilai: 1~100, nilai default adalah 20. |
20 |
| ResourceId |
array |
No |
ID sumber daya. Mendukung input maksimum 20 ID sumber daya. |
|
|
string |
No |
ID sumber daya. Mendukung input maksimum 20 ID sumber daya. |
pc-bp16qjewdsunr41m1**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Apakah memiliki token untuk kueri berikutnya. Nilai yang valid:
|
||
| NextToken |
string |
Apakah memiliki token untuk kueri berikutnya. Nilai yang valid:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| RequestId |
string |
ID permintaan. |
54B48E3D-DF70-471B-AA93-08E683A1B45 |
| TagKeys |
object |
||
| TagKey |
array<object> |
Kumpulan kunci tag. |
|
|
object |
Kumpulan kunci tag. |
||
| Type |
string |
The type of the resource. The value is set to PHYSICALCONNECTION, which indicates an Express Connect circuit. |
System |
| TagKey |
string |
The key of the tag. |
FinanceDept |
Contoh
Respons sukses
JSONformat
{
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45",
"TagKeys": {
"TagKey": [
{
"Type": "System",
"TagKey": "FinanceDept"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | BothEmpty.TagsAndResources | The specified Tags and ResourcesIds are not allow to both empty. | |
| 400 | MissingParameter.TagKey | The input parameter TagKey that is mandatory for processing this request is not supplied. | |
| 400 | MissingParameter.TagValue | The input parameter TagValue that is mandatory for processing this request is not supplied. | |
| 400 | InvalidTagKey | The tag keys are not valid. | |
| 400 | InvalidTagValue | The tag values are not valid. | |
| 400 | InvalidInstanceType.NotFound | The instance type is not found | |
| 400 | InvalidInstanceIds.NotFound | The instanceIds are not found | |
| 400 | Forbidden.TagKeys | The request do not allow to operate the tag keys | |
| 400 | QuotaExceeded.TagNum | Custom Tags quota exceeded | |
| 400 | Forbidden.TagKey.Duplicated | The specified tag key already exists. | |
| 400 | SizeLimitExceeded.ResourceId | The maximum number of resource IDs is exceeded. | |
| 403 | Forbidden | User not authorized to operate on the specified resource. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.