osc network qos policy create
Creates a QoS policy.
Creates a QoS policy by using the configuration that you define in the request object. A response object is returned. The object contains a unique ID.
By the default policy configuration, if the caller is not an administrative user, this call returns the HTTP Forbidden (403)
response code.
Users with an administrative role can create policies on behalf of other projects by specifying a project ID that is different than their own.
Normal response codes: 201
Error response codes: 401, 403, 404, 409
Usage: osc network qos policy create [OPTIONS]
Options:
-
--description <DESCRIPTION>
— A human-readable description for the resource. Default is an empty string -
--is-default <IS_DEFAULT>
— Iftrue
, the QoSpolicy
is the default policyPossible values:
true
,false
-
--name <NAME>
— Human-readable name of the resource -
--shared <SHARED>
— Set totrue
to share this policy with other projects. Default isfalse
Possible values:
true
,false
-
--tenant-id <TENANT_ID>
— The ID of the project that owns the resource. Only administrative and users with advsvc role can specify a project ID other than their own. You cannot change this value through authorization policies