DescribeSnapshotLinks
Description
call the DescribeSnapshotLinks to query the cloud disk snapshot chain. A snapshot chain is a relationship chain composed of all snapshots of a cloud disk. A cloud disk corresponds to a snapshot chain.
Request Method
POST
Request Path
/apsara/route/Ecs/DescribeSnapshotLinks
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
SnapshotLinkIds | BODY | string | No | ["sl-bp14r3b4xczuenhr****", "sl-bp1eftye2796vi2a ****",… "sl-bp1aixnfbjo290a8****"] | snapshot chain ID. Specify a maximum of 100 snapshot IDs at a time. The value format of the SnapshotLinkIds parameter is JSON array, and the IDs are separated by commas (,). |
DiskIds | BODY | string | No | ["d-bp198f7xn673w2rw****", "d-bp12te2l9m0170wc ****",… "d-bp1btgnlb4lgdzoi****"] | cloud disk ID. Specify a maximum of 100 cloud disk IDs at a time. The value format of the DiskIds parameter is JSON array, and the IDs are separated by commas (,). |
PageSize | BODY | integer | No | 50 | the number of rows per page set during paging query. Value range: 1~100. default value: 10. |
InstanceId | BODY | string | No | i-bp1ahcvgu9z55pk7**** | instance ID. |
PageNumber | BODY | integer | No | 1 | the page number of the cloud disk status list. Starting value: 1 default value: 1 |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID to which the cloud disk belongs. You can call the DescribeRegions to view the latest Alibaba Cloud region list. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}