All Products
Search
Document Center

ApsaraDB for MyBase:DescribeDedicatedHostDisks

Last Updated:Oct 26, 2026

Queries the information about disks on a host.

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

cddc:DescribeDedicatedHostDisks

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

DedicatedHostId

string

Yes

The ID of the host. You can log on to the ApsaraDB dedicated cluster console and view and obtain the host ID on the Hosts page.

ch-bp183v72jr033****

RegionId

string

No

The region ID of the host. You can log on to the ApsaraDB dedicated cluster console to view the region information of the host.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

DedicatedHostId

string

The ID of the host.

ch-bp183v72jr033****

RequestId

string

The ID of the request.

C6C6CF41-F284-4F63-AB4D-44FACE3BASQW

Disks

array<object>

The disk information.

object

Type

string

The type of the cloud disk or local disk. Valid values:

  • system: system cloud disk

  • data: data cloud disk

data

Status

string

The status of the cloud disk. Valid values:

  • In_use

  • Available

  • Attaching

  • Detaching

  • Creating

  • ReIniting

In_use

PerformanceLevel

string

The performance level of the disk.

Note

MyBase provides three performance levels for cloud disks: ESSD, PL2 ESSD, and PL3 ESSD. A higher performance level (PL) indicates better cloud disk performance.

PL1

DiskId

string

The ID of the cloud disk or local disk.

d-bp1dffpog8r2eowd****

MaxThroughput

integer

The maximum throughput of the disk. Unit: MB/s.

284

MaxIOPS

integer

The maximum IOPS of the disk. Unit: 10,000.

18250

HasDBInstance

boolean

Indicates whether an instance is running on the disk. Valid values:

  • true: An instance is running on the disk.

  • false: No instance is running on the disk.

true

Device

string

The device name of the instance to which the cloud disk or local disk is mounted.

/dev/xvdb

Size

integer

The size of the cloud disk or local disk. Unit: GB.

329

ZoneId

string

The zone ID of the cloud disk or local disk.

cn-hangzhou-h

Category

string

The storage type of the host. Valid values:

  • cloud_ssd: local SSD

  • cloud_essd: ESSD

cloud_essd

DBInstanceId

string

The ID of the instance running on the disk.

rm-bp121zcqr5h8m****

Examples

Success response

JSON format

{
  "DedicatedHostId": "ch-bp183v72jr033****",
  "RequestId": "C6C6CF41-F284-4F63-AB4D-44FACE3BASQW",
  "Disks": [
    {
      "Type": "data",
      "Status": "In_use",
      "PerformanceLevel": "PL1",
      "DiskId": "d-bp1dffpog8r2eowd****",
      "MaxThroughput": 284,
      "MaxIOPS": 18250,
      "HasDBInstance": true,
      "Device": "/dev/xvdb",
      "Size": 329,
      "ZoneId": "cn-hangzhou-h",
      "Category": "cloud_essd",
      "DBInstanceId": "rm-bp121zcqr5h8m****"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidUserId.NotSupport The user ID has no permission. You are not authorized to perform this operation.
404 HostInfo.NotFound The specified host info is not found. The specified host information is not found.
404 InvalidDedicatedHostGroup.NotFound The specified DedicatedHostGroup does not exist. The specified cluster does not exist.
404 InvalidParameter The parameter is invalid. The parameter is invalid.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.