Deletes an automatic snapshot policy.
Usage notes
- The snapshot feature is in public preview and is provided free of charge. Apsara File Storage NAS Service Level Agreement (SLA) is not guaranteed in public preview.
- Only advanced Extreme NAS file systems support this feature.
- If you delete an automatic snapshot policy that is applied to a file system, snapshots for the file system are no longer created based on the policy.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteAutoSnapshotPolicy | The operation that you want to perform. Set the value to DeleteAutoSnapshotPolicy. |
AutoSnapshotPolicyId | String | Yes | sp-extreme-233e6**** | The ID of the automatic snapshot policy. You can call the DescribeAutoSnapshotPolicies operation to view available automatic snapshot policies. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** | The request ID. Every response returns a unique request ID regardless of whether the request is successful. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteAutoSnapshotPolicy
&AutoSnapshotPolicyId=sp-extreme-233e6****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Error codes
For a list of error codes, see Service error codes.