All Products
Search
Document Center

AnalyticDB for MySQL:DescribeEIURange

Last Updated:Apr 24, 2024

Queries the range for the number of elastic I/O units (EIUs) for an AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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:
    • The required resource types are displayed in bold characters.
    • 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
adb:DescribeEIURangeRead
  • DBCluster
    acs:adb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceGroupIdstringNo

The resource group ID.

rg-4690g37929****
DBClusterIdstringNo

The ID of the AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster.

  • This parameter can be left empty when Operation is set to Buy.
  • This parameter must be specified when Operation is set to Upgrade or Downgrade.
Note You can call the DescribeDBClusters operation to query the IDs of all AnalyticDB for MySQL Data Warehouse Edition (V3.0) clusters within a region.
am-bp16t5ci7r74s****
ComputeResourcestringNo

The specifications of computing resources.

Note You can call the DescribeComputeResource operation to query the specifications of computing resources.
{ "RealValue": "32Core128GBNEW", "DisplayValue": "32Core128GB" }
OperationstringNo

The type of the operation. Valid values:

  • Buy: purchases a cluster.
  • Modify: changes configurations of a cluster.
Buy
RegionIdstringYes

The region ID of the cluster.

Note You can call the DescribeRegions operation to query the most recent region list.
cn-hangzhou
DBClusterVersionstringNo

The version of the AnalyticDB for MySQL Data Warehouse Edition cluster. Set the value to 3.0.

3.0
ZoneIdstringNo

The zone ID of the cluster.

Note You can call the DescribeRegions operation to query the most recent zone list.
cn-hangzhou-h
StorageSizestringNo

The specifications of storage resources. Default value: 8ACU. Valid values:

  • 8ACU
  • 12ACU
  • 16ACU
8ACU
SubOperationstringNo

The type of the sub-operation. Valid values:

  • Upgrade: upgrades a cluster.
  • Downgrade: downgrades a cluster.
Upgrade

Response parameters

ParameterTypeDescriptionExample
object
EIUInfoobject

The queried information about the number of EIUs.

EIURangearray

The queried range for the number of EIUs.

long

The number of EIUs.

1,2,3,4,...200
DefaultValuestring

The suggested value for the number of EIUs.

2
StorageResourceRangearray

A reserved parameter.

string

A reserved parameter.

none
MinValuestring

A reserved parameter.

none
MaxValuestring

A reserved parameter.

none
Stepstring

A reserved parameter.

none
RequestIdstring

The request ID.

D65A809F-34CE-4550-9BC1-0ED21ETG380

Examples

Sample success responses

JSONformat

{
  "EIUInfo": {
    "EIURange": [
      0
    ],
    "DefaultValue": "2",
    "StorageResourceRange": [
      "none"
    ],
    "MinValue": "none\n",
    "MaxValue": "none\n",
    "Step": "none\n"
  },
  "RequestId": "D65A809F-34CE-4550-9BC1-0ED21ETG380"
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-03-13The request parameters of the API has changed. The response structure of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: StorageSize
    Added Input Parameters: SubOperation
Output ParametersThe response structure of the API has changed.
2023-08-01The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: ResourceGroupId
2023-03-09The request parameters of the API has changed. The response structure of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: DBClusterVersion
    Added Input Parameters: ZoneId
Output ParametersThe response structure of the API has changed.