DescribeDBInstanceAttribute_云数据库 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:DescribeDBInstanceAttribute
List
全部资源
*

请求参数

字段名称字段详情
DBInstanceIdstring

实例 ID。

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

地域 ID。

示例值:cn-hangzhou参考取值来源:
    DescribeRegions

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:06758CAB-1204-5852-A471-29C87D5C1D0F
Statusstring

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

示例值:ACTIVE
SubDomainstring

可用区。

示例值:cn-beijing-h-aliyun
GmtModifiedstring

实例修改时间(例如重启,申请公网等操作)。格式为 yyyy-MM-ddTHH:mmZ(UTC 时间)。

示例值:2023-08-17T09:58Z
LockModeinteger<int64>

实例锁定模式,取值为 lock,实例自动过期或欠费。

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

实例锁定原因。

示例值:nolock
ResourceCpuinteger<int64>

资源 CPU 数量。

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

存储空间大小。

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

存储空间。

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

实例可维护时间段的开始时间。

示例值:预留参数,暂不返回
MaintainEndtimestring

实例可维护时间段的结束时间。

示例值:预留参数,暂不返回
DBClusterListarray<object>

实例所属集群列表信息。

Enginestring

数据库类型。

示例值:selectdb
EngineVersionstring

数据库版本。

示例值:2.4
EngineMinorVersionstring

实例的内核小版本号。

示例值:3.0.1
DBInstanceIdstring

实例 ID。

示例值:selectdb-cn-7213cjv****
Descriptionstring

实例备注信息。

示例值:test
CreateTimestring

创建时间。

示例值:2023-08-14T03:00:42Z
CanUpgradeVersionsarray<string>

信息列表。

ChargeTypestring

实例的付费类型。取值:展开详情

示例值:Prepaid
ExpireTimestring

实例到期时间。

示例值:2023-09-17T00:00Z
ResourceGroupIdstring

实例所属的资源组 ID。

示例值:rg-aekzbck4asz3dsa
Tagsarray<object>

实例标签列表信息。

RegionIdstring

地域 ID。

示例值:cn-beijing
ZoneIdstring

实例可用区 ID

示例值:cn-beijing-h
VpcIdstring

实例 VPC ID。

示例值:vpc-bp175iuvg8nxqraf2****

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
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
InvalidDBInstanceId.NotFound
The DBInstanceId provided does not exist in our records.诊断
404
InvalidClusterInstance.NotFound
Specified cluster instance does not exist.诊断
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-11-28
变更返回参数
2024-07-09
变更返回参数
2024-06-24
新增错误码404
2024-06-12
变更返回参数
2024-03-15
变更返回参数
2023-12-27
变更请求参数DBInstanceId
变更请求参数RegionId
变更返回参数

相关示例

2024年08月20日