All Products
Search
Document Center

Elastic Desktop Service:CreateBandwidthResourcePackages

Last Updated:Nov 14, 2025

Creates data transfer plans.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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 Resources is 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.
OperationAccess levelResource typeCondition keyAssociated operation
ecd:CreateBandwidthResourcePackagescreate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

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
PackageSizeintegerYes

The size of the data transfer plan. Valid values: 10 to 1000. Unit: GiB.

100
AmountintegerNo

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
PeriodintegerNo

The subscription duration. The valid values of this parameter vary based on the value of PeriodUnit.

  • If PeriodUnit is set to Month, the valid values of Period are 1, 3, and 6.
  • If PeriodUnit is set to Year, the valid value of Period is 1.

Default value: 1.

1
PeriodUnitstringNo

The unit of the subscription duration.

Valid values:

  • Month (default)
  • Year
Month
AutoPaybooleanNo

Specifies whether to enable the auto-payment feature.

true
PromotionIdstringNo

The ID of the promotional activity.

youhuiquan_promotion_option_id_for_blank

Response parameters

ParameterTypeDescriptionExample
object
OrderIdlong

The ID of the order.

24251717783****
RequestIdstring

The ID of a request.

AE7B699F-625C-587E-BC5F-1395CA969681

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 timeSummary of changesOperation
2021-12-10Add OperationView Change Details