DescribeDBInstances_云数据库 SelectDB 版_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为500/60(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
selectdb:DescribeDBInstances
List
全部资源
*

请求参数

字段名称字段详情
ResourceGroupIdstring

资源组 ID。

示例值:rg-4690g37929****
DBInstanceIdsstring

实例 ID,多个实例 ID 之间用英文逗号(,)分隔。

示例值:selectdb-cn-7213cjv****参考取值来源:
    CreateDBInstance
    DescribeDBInstanceAttribute
    RestartDBCluster
    ModifyDBCluster
DBInstanceStatusstring

实例的状态,取值说明:展开详情

示例值:ACTIVATION
DBInstanceDescriptionstring

实例备注信息。

示例值:新建实例测试
PageSizeinteger<int64>

每页记录数,取值:展开详情

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:30
PageNumberinteger<int64>

页数。

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:1
RegionIdstring

地域 ID。

示例值:cn-hangzhou参考取值来源:
    DescribeRegions
Tagarray<object>

实例标签列表信息。

子级条数 >= 1

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:BC854513-E85E-54F3-9842-B9CCD3308CDD
PageNumberinteger<int64>

每页记录数,取值:展开详情

注意 请注意,该值为 Long 类型,在某些语言中可能存在精度丢失的风险,请小心使用。
示例值:30
PageSizeinteger<int64>

页数。

注意 请注意,该值为 Long 类型,在某些语言中可能存在精度丢失的风险,请小心使用。
示例值:1
TotalRecordCountinteger<int64>

总记录数。

注意 请注意,该值为 Long 类型,在某些语言中可能存在精度丢失的风险,请小心使用。
示例值:2
Itemsarray<object>

实例详情列表。

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidPageNumber.Malformed
The specified parameter "PageNumber" is not valid.诊断
400
DocumentConvertFailed.ExceedFileSizeLimit
The conversion has been failed, exceed file size limit.诊断
400
Forbidden
User not authorized to operate on the specified resource, or this API does not support RAM.诊断
400
InvalidDBName
The specified database name is not allowed.诊断
400
CreateOrderFailed
Failed to create order.诊断
403
DBClusterNotSupported
The requested operation can not be performed while the cluster is not sale.诊断
403
IncorrectDBInstanceState
Current DB instance state does not support this operation.诊断
403
InstanceEngineType.NotSupport
The instance engine and type does not support operations.诊断
403
InvalidDBInstanceState.NotSupport
The specified instance state does't support this operation.诊断
403
MoneyLessThan100
The Account Monet less Than 100.诊断
403
OperationDenied.DBNameAndAccountPrivilegeCount
The operation is not permitted due to count of database or account privilege.诊断
403
InsufficientResourceCapacity
The resource is out of usage.诊断
404
DBInstanceLocked
The current instance lock mode does not support this operation.诊断
404
IncorrectVswitchId
The specified parameter VSwitchId is not valid.诊断
404
InvalidApi.NotFound
Specified api is not found, please check your url and method.诊断
404
InvalidDBInstance.NotFound
The specified instance is not found.诊断
404
InvalidDBInstanceClass.NotFound
The specified instance classic does not exist.诊断
404
InvalidRegionId.NotFound
The provided RegionId does not exist in our records.诊断
404
QueryPrice.Failed
The inquiry failed. Contact Alibaba Cloud customer service representatives.诊断

变更历史

变更时间变更内容概要操作
2024-06-24
新增错误码400
2024-06-12
新增请求参数Tag
变更返回参数
2023-12-27
变更返回参数

相关示例

2024年08月20日