Creates a Quality of Service (QoS) policy.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
QosName String Yes doctest

The name of the QoS policy to be created.

RegionId String Yes cn-hangzhou

The ID of the region to which the QoS policy belongs.

Action String No CreateQos

The name of this action.

Value: CreateQos

Response parameters

Parameter Type Example value Description
QosId String qos-xhwhyuo43l********

The instance ID of the QoS policy.

RequestId String F7C5252D-F801-4671-B048-D9A4CD8CEC43

The ID of the request.


Request example

http(s)://[Endpoint]/? Action=CreateQos

Response example

XML format


JSON format



HTTP status code Error code Error message Description
403 InternalError An internal server error occurred. An internal error has occurred.
400 QosAmountLimit No more QoS can be created. You can submit a ticket to increase the quota of QoSes. The number of QoS polices has reached the quota. You can open a ticket to apply for an increase to the quota.
400 MissParameter.RegionId You must specify RegionId. You must specify the RegionId.
400 MissParameter.Name You must specify Name. You must specify the Name.
400 InvalidParameter.Name The specified Name is invalid. The specified Name is invalid.

For a list of error codes, visit the API Error Center.