Queries automatic snapshot policies.
Operation description
- 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.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AutoSnapshotPolicyId | string | No | The ID of the automatic snapshot policy. | sp-extreme-233e6**** |
PageSize | integer | No | The number of entries per page. Valid values: 1 to 100. Default value: 10. | 10 |
PageNumber | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
FileSystemType | string | Yes | The type of the file system. Valid value: extreme, which indicates Extreme NAS file systems. | extreme |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 2,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"PageSize": 10,
"PageNumber": 1,
"AutoSnapshotPolicies": {
"AutoSnapshotPolicy": [
{
"TimePoints": "4,19",
"Status": "Available",
"RepeatWeekdays": "1,5",
"AutoSnapshotPolicyName": "FinanceJoshua",
"CreateTime": "2014-04-21T12:08:52Z",
"AutoSnapshotPolicyId": "sp-extreme-233e6****",
"RetentionDays": 30,
"FileSystemNums": 2,
"RegionId": "cn-hangzhou"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.