调用 DescribeDBInstanceDetail 接口查看实例详情。
同步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceId | String | 是 | mysql-cf0c1a52**** | 实例 ID。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
BasicInfo | Object | 请参见返回示例。 | 实例基本信息。 |
Endpoints | Object[] | 请参见返回示例。 | 实例的连接信息。 |
ChargeDetail | Object | 请参见返回示例。 | 付费方式。 |
Nodes | Object[] | 请参见返回示例。 | 实例节点信息。 |
POST /?Action=DescribeDBInstanceDetail&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceId": "mysql-95487b76****" }
{ "ResponseMetadata": { "RequestId": "20231128170255EABE194ACEFB1AE11156", "Action": "DescribeDBInstanceDetail", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": { "BasicInfo": { "AllowListVersion": "v2", "BackupAuditLogSize": 0, "BackupBinLogSize": 380603630, "BackupDataSize": 372220923, "BackupErrorLogSize": 223181, "BackupLogSize": 381477767, "BackupSlowLogSize": 650956, "BackupUse": 0.7, "CreateTime": "2023-09-12T09:34:04.000Z", "DBEngine": "Mysql", "DBEngineVersion": "MySQL_5_7", "DataSyncMode": "SemiSync", "InnerVersion": "", "InstanceId": "mysql-95487b76****", "InstanceName": "mysql-95487b76****", "InstanceStatus": "Closed", "InstanceType": "DoubleNode", "IsLatestVersion": false, "LowerCaseTableNames": "1", "MaintenanceWindow": { "DayKind": "Week", "DayOfMonth": [], "DayOfWeek": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "MaintenanceTime": "18:00Z-21:59Z" }, "Memory": 2, "NodeNumber": "2", "NodeSpec": "rds.mysql.1c2g", "PrimaryDBAccount": "", "ProjectName": "default", "RegionId": "cn-beijing", "ServerCollation": "", "ShardNumber": 0, "StorageAuditLogSize": 4096, "StorageBinLogSize": 27652435, "StorageDataSize": 4444819463, "StorageErrorLogSize": 111124, "StorageLogSize": 28098050, "StorageSlowLogSize": 330395, "StorageSpace": 100, "StorageType": "LocalSSD", "StorageUse": 4.17, "SubnetId": "subnet-mikcslq6aby85smt1b6r****", "TimeZone": "UTC+08:00", "UpdateTime": "", "VCPU": 1, "VpcId": "vpc-13fuw95qz5fk03n6nu45b****", "ZoneId": "cn-beijing-b" }, "ChargeDetail": { "AutoRenew": false, "ChargeEndTime": "2023-11-23T15:59:59.000Z", "ChargeStartTime": "2023-09-12T09:34:07.000Z", "ChargeStatus": "Overdue", "ChargeType": "PrePaid", "Number": 1, "OverdueReclaimTime": "2023-11-30T15:59:59.000Z", "OverdueTime": "2023-11-24T04:00:00.000Z", "Period": 1, "PeriodUnit": "Month" }, "Endpoints": [ { "Addresses": [ { "DNSVisibility": false, "Domain": "mysql-95487b76****-public.rds.volces.com", "EipId": "eip-13flx63066io03n6nu51u****", "IPAddress": "180.***.***.***", "InternetProtocol": "IPv4", "NetworkType": "Public", "Port": "3306", "SubnetId": "subnet-rs4brkc5pnuov0x576g****" }, { "DNSVisibility": false, "Domain": "mysql-95487b76****.rds.ivolces.com", "EipId": "", "IPAddress": "192.***.***.***", "InternetProtocol": "IPv4", "NetworkType": "Private", "Port": "3306", "SubnetId": "subnet-rs4brkc5pnuov0x576g****" } ], "AutoAddNewNodes": "Enable", "Description": "", "EnableReadOnly": "Disable", "EnableReadWriteSplitting": "Disable", "EndpointId": "mysql-95487b76****-cluster", "EndpointName": "", "EndpointType": "Cluster", "IdleConnectionReclaim": true, "ReadOnlyNodeDistributionType": "Default", "ReadOnlyNodeMaxDelayTime": 30, "ReadOnlyNodeWeight": [ { "NodeId": "", "NodeType": "Primary", "Weight": 100 } ], "ReadWriteMode": "ReadWrite" } ], "Nodes": [ { "CreateTime": "2023-09-12T09:34:04.000Z", "DelayReplicationTime": 0, "InstanceId": "mysql-95487b76****", "Memory": 2, "NodeId": "mysql-95487b76****-0", "NodeSpec": "rds.mysql.1c2g", "NodeStatus": "Running", "NodeType": "Primary", "RegionId": "cn-beijing", "SyncDelay": 0, "UpdateTime": "", "VCPU": 1, "ZoneId": "cn-beijing-b" }, { "CreateTime": "2023-09-12T09:34:04.000Z", "DelayReplicationTime": 0, "InstanceId": "mysql-95487b76****", "Memory": 2, "NodeId": "mysql-95487b76****-1", "NodeSpec": "rds.mysql.1c2g", "NodeStatus": "Running", "NodeType": "Secondary", "RegionId": "cn-beijing", "SyncDelay": 1000, "UpdateTime": "", "VCPU": 1, "ZoneId": "cn-beijing-b" } ] } }
更多详情,请参见错误码。