Skip to main content

CancelAutoSnapshotPolicy

Description

call the CancelAutoSnapshotPolicy to cancel the automatic snapshot policy of one or more cloud disks.

Request Method

POST

Request Path

/apsara/route/Ecs/CancelAutoSnapshotPolicy

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
diskIdsBODYstringYes["d-bp198f7xn673w2rw****", "d-bp12te2l9m0170wc****", "d-bp1btgnlb4lgdzoi****"]target cloud disk ID. When you need to cancel the automatic snapshot policy for multiple cloud disks, the ID of multiple cloud disks uses a format similar to "d-xxxxxxxxx", "d-yyyyyyyyy",... The JSON array of "d-zzzzzzzzz" indicates that the cloud disk IDs are separated by half-width commas (,).
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}