lbcli delete qos-policy (2.3.16 and above)

AI Tools

Deletes a Quality of Service (QoS) policy.

Synopsis

Deletes a QoS policy.

lbcli delete qos-policy [flags]

Examples:

# delete a qos policy. lbcli -J $JWT delete qos-policy --uuid=4c027341-7283-4b45-84f5-1460f4c96127 lbcli -J $JWT delete qos-policy --name=my-qos-policy

Flag

Short

Type

Default

Description

--help

-h

bool


Help for qos-policy.

--name


string


QoS policy name.

--uuid


string


Either name or UUID are required (not necessarily UUID), although only one can be specified. You must identify the policy by either name or UUID.

Note

If you request to delete a policy, and the policy still has some volumes associated with it, the delete will be deferred. This policy will change the state to be deprecated and not be available for new actions. It will be deleted by cluster once no volumes are associated with it (volumes were deleted or updated to use a different policy).

Note

The policy that is currently used as the global cluster policy cannot be deleted. If you want to delete it, you should first use update cluster config to specify a different policy to serve as the global cluster default policy.