All Products
Search
Document Center

ENS:DescribeSnapshots

Last Updated:Mar 27, 2026

Queries snapshots.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

ens:DescribeSnapshots

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

EnsRegionId

string

No

The ID of the ENS node. You can query the node ID by calling the DescribeEnsRegions operation.

cn-hangzhou

DiskId

string

No

The ID of the disk.

d-bp67acfmxazb4p****

SnapshotId

string

No

The ID of the snapshot. The value can be a JSON array that consists of up to 100 snapshot IDs. Separate the snapshot IDs with commas (,).

sp-bp67acfmxazb4p****

EnsRegionIds

string

No

The node information.

["cn-suzhou-telecom","cn-chengdu-telecom"]

SnapshotName

string

No

The name of the snapshot. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).

testSnapshotName

InstanceId

string

No

The ID of the instance.

i-bp67acfmxazb4p****

PageNumber

integer

No

The page number.

1

PageSize

integer

No

The number of entries per page.

10

Response elements

Element

Type

Description

Example

object

Schema of Response

Snapshots

array<object>

The information about the snapshots.

object

SnapshotId

string

The ID of the snapshot.

s-bp67acfmxazb4p****

CreationTime

string

The creation time. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2020-08-20 14:52:28

Status

string

The status of the snapshot. Valid value:

  • creating: The snapshot is being created.

  • Available: The snapshot is available.

  • deleting: The snapshot is being deleted.

  • error: An error occurred on the snapshot.

available

Size

string

The capacity of the disk. Unit: MiB.

40

SourceDiskId

string

The ID of the source disk. This parameter is retained even after the source disk for which the snapshot was created is released.

d-bp67acfmxazb4ph****

SourceDiskType

string

The type of the disk. Valid value:

  • 1: system disk

  • 2: data disk

1

SourceDiskCategory

string

The type of the disk. Valid value:

  • cloud_efficiency: ultra disk

  • cloud_ssd: all-flash disk

  • local_hdd: local HDD

  • local_ssd: local SSD

cloud_efficiency

SnapshotName

string

The name of the snapshot. This parameter is returned only if a snapshot name was specified when the snapshot was created.

testSnapshotName

Description

string

The description of the snapshot.

testDescription

EnsRegionId

string

The ID of the edge node.

cn-beijing-15

SourceSnapshotId

string

The ID of the source snapshot.

s-bpdfer893jfkdqe****

SourceEnsRegionId

string

The ID of the source edge node.

cn-hangzhou-27

PageNumber

integer

The page number of the returned page.

1

PageSize

integer

The number of entries per page.

10

TotalCount

integer

The total number of snapshots.

1

RequestId

string

The request ID.

9635ED2E-3103-1606-84D4-9F8E816B19F9

Examples

Success response

JSON format

{
  "Snapshots": [
    {
      "SnapshotId": "s-bp67acfmxazb4p****",
      "CreationTime": "2020-08-20 14:52:28",
      "Status": "available",
      "Size": "40",
      "SourceDiskId": "d-bp67acfmxazb4ph****",
      "SourceDiskType": "1",
      "SourceDiskCategory": "cloud_efficiency",
      "SnapshotName": "testSnapshotName",
      "Description": "testDescription",
      "EnsRegionId": "cn-beijing-15",
      "SourceSnapshotId": "s-bpdfer893jfkdqe****",
      "SourceEnsRegionId": "cn-hangzhou-27"
    }
  ],
  "PageNumber": 1,
  "PageSize": 10,
  "TotalCount": 1,
  "RequestId": "9635ED2E-3103-1606-84D4-9F8E816B19F9"
}

Error codes

HTTP status code

Error code

Error message

Description

400 MissingParameter The input parameter that is mandatory for processing this request is not supplied.
400 InstanceIdNotFound The input parameter instancdId that is not found. The specified instance ID does not exist.
400 NoPermission Permission denied.
400 CallInterface Call Interface Happen Error. An error occurred when you call the operation.
400 InvalidParameter.%s The specified field %s invalid. Please check it again.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.