All Products
Search
Document Center

ENS:DescribeSnapshots

Last Updated:Jun 11, 2026

Call DescribeSnapshots to retrieve snapshot information.

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 call DescribeEnsRegions to query ENS node IDs.

cn-hangzhou

DiskId

string

No

The ID of the cloud disk.

d-bp67acfmxazb4p****

SnapshotId

string

No

A single snapshot ID, or a JSON array containing up to 100 snapshot IDs.

sp-bp67acfmxazb4p****

EnsRegionIds

string

No

A JSON array that contains 1 to 100 ENS node IDs.

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

SnapshotName

string

No

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

testSnapshotName

InstanceId

string

No

The ID of the instance.

i-bp67acfmxazb4p****

PageNumber

integer

No

The page number to return.

1

PageSize

integer

No

The number of entries to return on each page.

10

Response elements

Element

Type

Description

Example

object

The response schema.

Snapshots

array<object>

A list of snapshot details.

object

SnapshotId

string

The snapshot ID.

s-bp67acfmxazb4p****

CreationTime

string

The time when the snapshot was created. The time is displayed in UTC and is in the yyyy-MM-ddTHH:mm:ssZ format.

2020-08-20 14:52:28

Status

string

The status of the snapshot. Valid values:

  • creating: The snapshot is being created.

  • available: The snapshot is available.

  • deleting: The snapshot is being deleted.

  • error: The snapshot fails to be created.

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 is released.

d-bp67acfmxazb4ph****

SourceDiskType

string

The attribute of the disk. Valid values:

  • 1: system disk.

  • 2: data disk.

1

SourceDiskCategory

string

The category of the disk. Valid values:

  • cloud_efficiency: ultra disk.

  • cloud_ssd: standard SSD.

  • local_hdd: local HDD.

  • local_ssd: local SSD.

cloud_efficiency

SnapshotName

string

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

testSnapshotName

Description

string

The description.

testDescription

EnsRegionId

string

The ID of the Edge Node Service (ENS) node.

cn-beijing-15

SourceSnapshotId

string

The ID of the source snapshot.

s-bpdfer893jfkdqe****

SourceEnsRegionId

string

The ID of the source ENS node.

cn-hangzhou-27

SnapshotType

string

PageNumber

integer

The page number of the returned page.

1

PageSize

integer

The number of entries returned on each 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",
      "SnapshotType": ""
    }
  ],
  "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.