Skip to main content

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

NameLocationTypeRequiredSample valueDescription
SnapshotLinkIdsBODYstringNo["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 (,).
DiskIdsBODYstringNo["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 (,).
PageSizeBODYintegerNo50the number of rows per page set during paging query. Value range: 1~100. default value: 10.
InstanceIdBODYstringNoi-bp1ahcvgu9z55pk7****instance ID.
PageNumberBODYintegerNo1the page number of the cloud disk status list. Starting value: 1 default value: 1
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env17-d01the region ID to which the cloud disk belongs. You can call the DescribeRegions to view the latest Alibaba Cloud region list.
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
}

}