Creates data transfer plans.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| ecd:CreateBandwidthResourcePackages | create | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | Yes | The ID of the region. You can call the DescribeRegions operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available. | cn-hangzhou |
| PackageSize | integer | Yes | The size of the data transfer plan. Valid values: 10 to 1000. Unit: GiB. | 100 |
| Amount | integer | No | The number of the data transfer plans that you want to create at the same time. Valid values: 1 to 20. Default value: 1. | 1 |
| Period | integer | No | The subscription duration. The valid values of this parameter vary based on the value of
Default value: 1. | 1 |
| PeriodUnit | string | No | The unit of the subscription duration. Valid values:
| Month |
| AutoPay | boolean | No | Specifies whether to enable the auto-payment feature. | true |
| PromotionId | string | No | The ID of the promotional activity. | youhuiquan_promotion_option_id_for_blank |
Response parameters
Examples
Sample success responses
JSONformat
{
"OrderId": 0,
"RequestId": "AE7B699F-625C-587E-BC5F-1395CA969681"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2021-12-10 | Add Operation | View Change Details |
