All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeAvailableCpuResource

Last Updated:Apr 29, 2024

You can call this operation to query the CPU resources available for a tenant.

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The CPU resources available.

ob317v4uif****
TenantIdstringNo

The operation that you want to perform.
Set the value to DescribeAvailableCpuResource.

ob2mr3oae0****
ModifyTypestringNo
http(s)://[Endpoint]/?Action=DescribeAvailableCpuResource
&InstanceId=ob317v4uif****
&TenantId=ob2mr3oae0****
&ModifyType=update
&Common request parameters
update

Response parameters

ParameterTypeDescriptionExample
object

You can call this operation to query the CPU resources available for a tenant.

Dataobject []

Examples

Sample success responses

JSONformat

{
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
  "Data": [
    {
      "UnitNum": 2,
      "MinCpu": 2,
      "MaxCpu": 10
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-02-02The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2023-07-04The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2021-08-19Add Operationsee changesets