lbcli get qos-policy (2.3.16 and above)
Gets qos-policy information.
lbcli get qos-policy
Gets qos-policy information.
lbcli get qos-policy [flags]
Examples:
# Get information of QoS policy by UUID:
lbcli -J $JWT get qos-policy --uuid=929eaf28-8a13-4b3e-a3c8-723227634f2b
# Get information of QoS policy by name in json format:
lbcli -J $JWT get get qos-policy --name=gold-policy -o json
Flag | Short | Type | Default | Description |
---|---|---|---|---|
--help | -h | bool | Help for qos-policy. | |
--name | string | Policy name. Either UUID or name must be specified, but not both. | ||
--project-name | string | Project name. | ||
--uuid | string | Policy UUID. Either UUID or name must be specified, but not both. |
This command returns the following fields for each policy. The default output format is human-readable. The human-readable output only shows some of these fields. The json/yaml output format is also supported and includes additional fields.
Field | Type | Description |
---|---|---|
Name | String | QoS policy name. |
Description | String | QoS policy description. |
State | String | Policy state:
|
QoS Rate Limit Policy | Struct | The defined QOS parameters of the policy. QoS Rate Limit Policy is a structure that contains visibility, scope, and an inner structure - as shown below (each of these are defined in create qos-policy). It will be either limitIOPS, limitBW, or limitIOPSPerGB.
|
Project Names Scope | String | A list of project names that can use this policy. |
Policy Visibility | Enum | This has three options:
|