Menghapus kebijakan kualitas layanan (QoS).
Deskripsi operasi
-
Sebelum menghapus kebijakan QoS, Anda harus menghapus semua antrian dalam kebijakan tersebut, kecuali antrian default. Untuk informasi lebih lanjut, lihat DeleteCenInterRegionTrafficQosQueue.
-
DeleteCenInterRegionTrafficQosPolicy merupakan operasi asinkron. Setelah permintaan dikirim, sistem akan mengembalikan ID Permintaan dan menjalankan tugas di latar belakang. Anda dapat memanggil operasi ListCenInterRegionTrafficQosPolicies untuk mengecek status kebijakan QoS.
Jika kebijakan QoS berstatus Menghapus, kebijakan sedang dalam proses penghapusan. Anda dapat mengecek kebijakan QoS tetapi tidak dapat melakukan operasi lainnya.
Jika kebijakan QoS tidak ditemukan, kebijakan telah berhasil dihapus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteCenInterRegionTrafficQosPolicy |
delete |
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilai, tetapi Anda harus memastikan bahwa nilainya unik di antara semua permintaan. Token klien hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menetapkan parameter ini, ClientToken akan disetel ke nilai RequestId. Nilai RequestId untuk setiap permintaan API mungkin berbeda. |
123e4567-e89b-12d3-a456-426655**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan uji coba. Nilai default: false. Nilai valid:
|
false |
| TrafficQosPolicyId |
string |
Yes |
ID kebijakan QoS. |
qos-eczzew0v1kzrb5**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Respons. |
||
| RequestId |
string |
ID permintaan. |
6DF9A765-BCD2-5C7E-8C32-C35C8A361A39 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6DF9A765-BCD2-5C7E-8C32-C35C8A361A39"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | AssociationExist.TransitQosQueueExist | The qos queue with the specified TrafficQosPolicyId exists. | The error message returned because the QoS policy contains queues. You must delete the queues before you delete the QoS policy. |
| 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 | Forbidden.CDTServiceExpired | The CDT service is out of service. | The cloud data transfer service has been suspended due for payment. Please renew the service and try again. |
| 404 | InvalidTransitQosId.NotFound | The specified TrafficQosPolicyId is not found. | The error message returned because the TrafficQosPolicyId parameter is set to an invalid value. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.