Creates a QoS rule.
Operation description
Creates a QoS rule to manage network bandwidth for resources such as cloud desktops and cloud phones.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:CreateQosRule |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NetworkPackageId |
string |
Yes |
The ID of the premium bandwidth plan. |
np-cfedn7r2pe48g**** |
| QosRuleName |
string |
Yes |
The name of the QoS rule. |
测试 |
| Upload |
integer |
Yes |
The maximum upstream bandwidth. Unit: Mbps. |
5 |
| Download |
integer |
Yes |
The maximum downstream bandwidth. Unit: Mbps. |
5 |
| AuthDesktopId |
array |
No |
The IDs of the cloud desktops to include in this rule. |
|
|
string |
No |
The ID of a cloud desktop. |
ecd-sfasdfsddsat***** |
|
| AuthAndroidId |
array |
No |
The IDs of the cloud phones to include in this rule. |
|
|
string |
No |
The ID of a cloud phone. |
cpn-asdsdfsdffsd***** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
51592A88-0F2C-55E6-AD2C-2AD9C10D**** |
| QosRuleId |
string |
The ID of the created QoS rule. |
qos-5605u0gelk200**** |
Examples
Success response
JSON format
{
"RequestId": "51592A88-0F2C-55E6-AD2C-2AD9C10D****",
"QosRuleId": "qos-5605u0gelk200****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.