Menghapus tag dari resource.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:UntagResources |
update |
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
Tipe resource. Nilai yang valid: Cen: Cloud Enterprise Network (CEN). BandwidthPackage: Paket bandwidth. TransitRouter: Transit router. TransitRouterVpcAttachment: VPC attachment. TransitRouterVbrAttachment: VBR attachment. TransitRouterPeerAttachment: Inter-region attachment. TransitRouterVpnAttachment: VPN attachment. TransitRouterRouteTable: Route table. Flowlog: Flow log. TransitRouterMulticastDomain: Multicast domain. |
cen |
| All |
boolean |
No |
Menentukan apakah akan menghapus semua tag. Nilai yang valid:
Catatan
Parameter ini hanya berlaku ketika parameter TagKey.N kosong. |
false |
| ResourceId |
array |
Yes |
ID resource. Nilai N berkisar dari 1 hingga 50. |
cen-7qthudw0ll6jmc**** |
|
string |
No |
ID resource. Nilai N berkisar dari 1 hingga 50. |
cen-7qthudw0ll6jmc**** |
|
| TagKey |
array |
No |
Kunci tag. Kunci tag dapat berisi hingga 64 karakter. Kunci tag tidak boleh diawali dengan Jika Anda menentukan beberapa kunci tag, hubungan logis antara kunci-kunci tersebut adalah OR. Nilai N yang valid: 1 hingga 20. |
FinanceDept |
|
string |
No |
Kunci tag. Kunci tag dapat berisi hingga 64 karakter. Kunci tag tidak boleh diawali dengan Jika Anda menentukan beberapa kunci tag, hubungan logis antara kunci-kunci tersebut adalah OR. Nilai N yang valid: 1 hingga 20. |
Name |
|
| RegionId |
string |
No |
ID wilayah. Parameter ini tidak diperlukan ketika tipe resource adalah Cen atau BandwidthPackage. Untuk semua tipe resource lainnya, parameter ini wajib diisi. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
C46FF5A8-C5F0-4024-8262-B16B639225A0 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C46FF5A8-C5F0-4024-8262-B16B639225A0\t"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTagKey | The tag keys are not valid. | The error message returned because the specified tag key is invalid. |
| 400 | InvalidTagValue | The tag values are not valid. | The error message returned because the specified tag value is invalid. |
| 400 | MissingParam | %s | |
| 400 | InvalidInstanceType.NotFound | The instance type is not found | The error message returned because the specified instance type does not exist. |
| 400 | InvalidInstanceIds.NotFound | The instanceIds are not found | The error message returned because the specified instance does not exist. |
| 400 | Forbidden.TagKeys | The request do not allow to operate the tag keys | The error message returned because you cannot manage the specified tag key. |
| 400 | QuotaExceeded.TagNum | Custom Tags quota exceeded | The error message returned because the number of tags has reached the upper limit. |
| 400 | InvalidTagScope.NotFound | The tag scope is not found | The error message returned because the specified tag scope is invalid. |
| 400 | Forbidden.NotAllowedCategary | The System tag is not valid | The error message returned because you cannot configure system tags. |
| 400 | SizeLimitExceeded.ResourceIdNum | The ResourceIds parameter's number is exceed , Valid : 20 | |
| 400 | IllegalParam.Region | The specified region is invalid. | |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
| 400 | InvalidParameter.TagKeyOrAll | The specified parameter TagKey or All is invalid. | The specified parameter TagKey or All is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.