CancelAutoSnapshotPolicy

Last Updated: Dec 14, 2017

Description

Cancel an automatic snapshot policy.

Request parameters

Name Type Required Description
Action String Yes The name of this interface. Value: CancelAutoSnapshotPolicy.
RegionId String Yes The ID of the region in which you want to cancel the automatic snapshot policy. See Regions and zones for region IDs.
DiskIds String Yes The disk set for which to cancel the automatic snapshot policy.A formatted Json Array: [“d-xxxxxxxxx”, “d-yyyyyyyyy”, … “d-zzzzzzzzz”]. A maximum of X IDs separated by single-byte commas.

Response parameters

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

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. See Regions and zones for region IDs.

Examples

Request example

  1. https://ecs.aliyuncs.com/?Action=DeleteAutoSnapshotPolicy
  2. &AutoSnapshotPolicyId=p-233e6ylv0
  3. &<Common Request Parameters>

Response example

XML format

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

JSON format

  1. {
  2. "RequestId":"F3CD6886-D8D0-4FEE-B93E-1B73239673DE"
  3. }
Thank you! We've received your feedback.