All Products
Search
Document Center

ENS:DescribeSDGSharedDisks

Last Updated:Dec 10, 2025

You can query the information of shared disks in a specified SDG.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ens:DescribeSDGSharedDisksnone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SdgIdstringYes

sdg ID

sdg-xxxx
RegionIdstringNo

The region ID.

cn-hangzhou-xx
NamespacestringNo

The namespace.

default
PageNumberintegerNo

The page number, which is used for paged query

1
PageSizeintegerNo

The number of entries per page.

10

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

xxxsxxxxx
SharedDisksarray<object>

Shared disk list

SharedDisksobject

First disk in the shared disk list

SdgIdstring

SdgId of the shared disk

sdg-fqehhfdjv
RegionIdstring

The node ID.

cn-hangzhou-1
Namespacestring

The namespace of the service.

default
DiskIdstring

shared disk id

d-57kvvpuj1rk2ghumlgs6
SharedNuminteger

Number of shared mounts

10
Statusstring

Shared disk status

avaliable
DiskTypestring

Shared disk type

standard
CreationTimestring

The time when the shared disk was created.

2025-10-09T15:13:21+08:00
PageNumberlong

Current page number when paging

1
PageSizelong

The number of entries per page.

10
TotalCountlong

The total number of entries returned.

10

Examples

Sample success responses

JSONformat

{
  "RequestId": "xxxsxxxxx",
  "SharedDisks": [
    {
      "SdgId": "sdg-fqehhfdjv",
      "RegionId": "cn-hangzhou-1",
      "Namespace": "default",
      "DiskId": "d-57kvvpuj1rk2ghumlgs6",
      "SharedNum": 10,
      "Status": "avaliable",
      "DiskType": "standard",
      "CreationTime": "2025-10-09T15:13:21+08:00"
    }
  ],
  "PageNumber": 1,
  "PageSize": 10,
  "TotalCount": 10
}

Error codes

HTTP status codeError codeError messageDescription
400Interface.Call.Failed%s.Request failed
400Interface.Call.ErrorThe interface call error-
400NoPermissionPermission denied.-
400InvalidParameter.%sThe specified field %s invalid. Please check it again.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-10-29Add OperationView Change Details