Queries automatic snapshot tasks.
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 |
---|---|---|---|---|
FileSystemIds | string | No | The ID of the file system. You can specify a maximum of 100 file system IDs. If you want to query the snapshots of multiple file systems, you must separate the file system IDs with commas (,). | extreme-233e6****,extreme -23vbp****,extreme -23vas**** |
AutoSnapshotPolicyIds | string | No | The IDs of automatic snapshot policies. You can specify a maximum of 100 policy IDs. If you want to query the tasks of multiple automatic snapshot policies, you must separate the policy IDs with commas (,). | sp-extreme-233e6****,sp-extreme-233e6****, sp-extreme-233e6**** |
FileSystemType | string | Yes | The type of the file system. Valid value: extreme, which indicates Extreme NAS file systems. | extreme |
PageSize | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
PageNumber | integer | No | The number of entries per page. Valid values: 1 to 100. Default value: 10. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 9,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"PageSize": 10,
"PageNumber": 1,
"AutoSnapshotTasks": {
"AutoSnapshotTask": [
{
"SourceFileSystemId": "extreme-233e6****",
"AutoSnapshotPolicyId": "sp-extreme-233e6****"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.