Menghapus kebijakan quality of service (QoS).
Deskripsi operasi
-
Before you delete a QoS policy, you must delete all queues in the QoS policy except the default queue. For more information, see DeleteCenInterRegionTrafficQosQueue.
-
DeleteCenInterRegionTrafficQosPolicy is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the ListCenInterRegionTrafficQosPolicies operation to query the status of a QoS policy.
-
If a QoS policy is in the Deleting state, the QoS policy is being deleted. You can query the QoS policy but cannot perform other operations.
-
If a QoS policy cannot be found, the QoS policy is deleted.
-
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 nilainya, tetapi Anda harus memastikan nilainya unik di antara semua permintaan. Token klien hanya boleh berisi karakter ASCII. Catatan
Jika Anda tidak mengatur parameter ini, ClientToken diatur ke nilai RequestId. Nilai RequestId untuk setiap permintaan API mungkin berbeda. |
123e4567-e89b-12d3-a456-426655**** |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run. Nilai valid:
Nilai default: false. |
false |
| TrafficQosPolicyId |
string |
Yes |
ID Kebijakan QoS. |
qos-eczzew0v1kzrb5**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. |
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. | |
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | |
| 400 | Forbidden.CDTServiceExpired | The CDT service is out of service. | |
| 400 | OperationFailed.NotSupportDeleteDefaultQueue | The operation failed because deleting the default QoS queue is not supported. | |
| 404 | InvalidTransitQosId.NotFound | The specified TrafficQosPolicyId is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.