delete-resource-pool-priority-qos-configuration
The delete-resource-pool-priority-qos-configuration command deletes the requester priority Quality of Service (QoS) configuration from a specified resource pool.
Precautions
-
Before you run this command, make sure the target resource pool exists and has a requester priority QoS policy correctly configured. Otherwise, the operation returns an error.
-
The delete operation takes effect immediately and cannot be revoked. After the configuration is deleted, bandwidth priority control for the relevant requesters is no longer in effect.
-
This command only affects the requester priority QoS configuration. It does not delete the resource pool itself or other QoS policies, such as throttling policies.
Permissions
An Alibaba Cloud account has all permissions by default. A Resource Access Management (RAM) user or RAM role does not have any permissions by default. The Alibaba Cloud account or an administrator must grant the required permissions using a RAM policy.
|
API Action |
Description |
|
|
The permission required to run this command. |
Command format
ossutil api invoke-operation --op-name delete-resource-pool-requester-priority-qos-configuration --method DELETE --parameters resourcePool=<resource-pool> --parameters requesterPriorityQos
Parameters
|
Parameter |
Type |
Description |
|
--op-name |
string |
The name of the operation. Set the value to delete-resource-pool-requester-priority-qos-configuration. |
|
--method |
string |
The HTTP method. The value must be DELETE. |
|
--parameters resourcePool |
string |
The name of the resource pool to operate on. Example: hz-rp-03. |
|
--parameters requesterPriorityQos |
string |
Indicates that you want to delete the requester priority QoS configuration. The parameter must be included, but its value can be empty. |
Examples
Before you delete the configuration, run the get-resource-pool-requester-priority-qos-configuration command to view the current configuration. This helps prevent accidental deletion that could degrade service quality.
Example 1: Delete the requester priority QoS configuration for a specified resource pool
Delete the requester priority QoS configuration from the resource pool named hz-rp-03.
ossutil api invoke-operation --op-name delete-resource-pool-requester-priority-qos-configuration --method DELETE --parameters resourcePool=hz-rp-03 --parameters requesterPriorityQos
Example 2: Run the delete operation using a specified endpoint
If the resource pool is in a specific region, you can use the --endpoint parameter to specify the endpoint.
ossutil api invoke-operation --op-name delete-resource-pool-requester-priority-qos-configuration --method DELETE --parameters resourcePool=sh-rp-01 --parameters requesterPriorityQos --endpoint https://oss-cn-shanghai.aliyuncs.com