All Products
Search
Document Center

ApsaraDB RDS:DescribeDBInstanceDetail

Last Updated:Sep 13, 2024

You can call the DescribeDBInstanceDetail operation to query the details of an instance.

Operation description

This operation is phased out.

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
rds:DescribeDBInstanceDetailget
  • DBInstance
    acs:rds:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ClientTokenstringNo

The client token that is used to ensure the idempotence of the request.

Note You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
ETnLKlblzczshOTUbOCziJZNwH****
DBInstanceIdstringYes

The ID of the instance. You can call the DescribeDBInstances operation to query the ID of the instance.

rm-bp6wjk5xxxxxxxxxx
ResourceGroupIdstringNo

The ID of the resource group.

rg-acfmy*****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

ActivationStatestring

Indicates whether the instance is in the active state.

Invalid
DBInstanceIdstring

The ID of the instance.

rm-bp6wjk5xxxxxxxxxx
LicenseTypestring

The type of the license.

Normal
RequestIdstring

The ID of the request.

06B220E2-EAC5-4DBE-A1FC-1B62DB6A****
RegionIdstring

The region ID of the instance.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "ActivationState": "Invalid",
  "DBInstanceId": "rm-bp6wjk5xxxxxxxxxx",
  "LicenseType": "Normal",
  "RequestId": "06B220E2-EAC5-4DBE-A1FC-1B62DB6A****",
  "RegionId": "cn-hangzhou"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidEngine.NotSupportedCurrent engine does not support this api.The operation is not supported for the database engine that is run on the RDS instance.

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

Change history

Change timeSummary of changesOperation
2022-08-04The Error code has changed. The request parameters of the API has changedView Change Details