CancelAutoSnapshotPolicy

Last Updated: Mar 20, 2018

Description

Cancels the automatic snapshot policy for one or more disks.

Request parameters

Name Type Required Description
Action String Yes The name of this interface. Value: CancelAutoSnapshotPolicy.
RegionId String Yes The region ID of the automatic snapshot policy and the disks. For more information, see Regions and zones, or call DescribeRegions to obtain the latest region list.
DiskIds String Yes The disk ID. When you want to cancel the automatic snapshot policy for multiple disks, you can set the DiskIds to an array. The format is a JSON array of ["d-xxxxxxxxx", "d-yyyyyyyyy", … "d-zzzzzzzzz"] and the IDs are separated by commas (,).

Response parameters

All are common response parameters. For more information, see Common parameters.

Examples

Request example

  1. https://ecs.aliyuncs.com/?Action=CancelAutoSnapshotPolicy
  2. &RegionId=cn-hangzhou
  3. &DiskIds=[“d-233e6ylv0”, d-23vbpbi03”, d-23vasz3ds”]
  4. &<Common Request Parameters>

Response example

XML format

  1. <CancelAutoSnapshotPolicyResponse>
  2. <RequestId>F3CD6886-D8D0-4FEE-B93E-1B73239673DE</RequestId>
  3. </CancelAutoSnapshotPolicyResponse>

JSON format

  1. {
  2. "RequestId":"F3CD6886-D8D0-4FEE-B93E-1B73239673DE"
  3. }

Error codes

Error code Error message HTTP status code Meaning
ParameterInvalid The specified DiskIds are invalid. 404 The specified DiskIds are invalid.
ParameterInvalid The specified RegionId parameter is invalid. 404 The specified RegionId parameter is invalid.
Thank you! We've received your feedback.