ReleaseCapacityReservation_云服务器 ECS_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

If the release mode of a capacity reservation that takes effect immediately is set to manual release, you can call this operation to release the capacity reservation.

Quotas Info

The current API request rate is 1000/60(s).

Authorization Information

The following table shows the authorization information corresponding to this API, which can be used in the Action policy element to grant a RAM user or RAM role the permissions to call the API. Please use RAM to set up these permissions and refer to RAM documentation for more instructions.

Description:View Details...

ActionsAccess levelResource typeCondition keyAssociated operation
ecs:ReleaseCapacityReservation
Delete
CapacityReservation
acs:ecs:{#regionId}:{#accountId}:capacityreservation/{#CapacityReservationId}
NoneNone

Request Parameters

Field NameField Details
RegionIdstring

The region ID of the capacity reservation. You can call the DescribeRegions operation to query the most recent region list.

Example:cn-hangzhouReference Value Source:
    DescribeRegions
PrivatePoolOptions.Idstring

The ID of the capacity reservation.

Example:crp-bp67acfmxazb4****
DryRunboolean

Specifies whether to perform only a dry run, without performing the actual request. Set the value to false. This indicates that the system directly releases the capacity reservation.

Example:false

Response Parameters

Field NameField Details
RequestIdstring

The request ID.

Example:473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Sample Response

Change History

Examples