All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeAvailableCpuResource

Last Updated:Oct 23, 2024

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

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

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.

Dataarray<object>
Dataobject

XXXX

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 changedView Change Details
2023-07-04The response structure of the API has changedView Change Details
2021-08-19Add OperationView Change Details