インスタンスのリストを照会します。この API オペレーションは非推奨です。引き続き呼び出しは可能ですが、今後メンテナンスは行われません。
この API は廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。代わりに Rds(2014-08-15) - DescribeDBInstances への移行を推奨します。より強化された機能に加え、サポートも引き続きご利用いただけます。
操作説明
この API オペレーションは非推奨です。引き続き呼び出しは可能ですが、Alibaba Cloud によるメンテナンスは終了しています。代わりに DescribeDBInstances 操作を使用してください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
rds:DescribeDBInstancesAsCsv |
get |
DBInstance
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。DescribeRegions 操作を呼び出してリージョン ID を取得できます。 |
cn-hangzhou |
| DBInstanceId |
string |
任意 |
インスタンスの ID。DescribeDBInstances 操作を呼び出してインスタンス ID を取得できます。 |
rm-uf6wjk5**** |
| ResourceGroupId |
string |
任意 |
リソースグループの ID。 |
rg-acfmy**** |
| CachedAsync |
boolean |
任意 |
[非推奨] このパラメーターは非推奨であり、設定する必要はありません。 |
API |
| ExportKey |
string |
任意 |
[非推奨] このパラメーターは非推奨であり、設定する必要はありません。 |
API |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答パラメーター。 |
||
| Items |
object |
||
| DBInstanceAttribute |
array<object> |
DBInstanceAttribute 項目で構成されるデータセット。 |
|
|
array<object> |
データセットの詳細。 |
||
| AccountMaxQuantity |
integer |
アカウントの最大値。 |
500 |
| AccountType |
string |
アカウントタイプ。 |
super |
| AvailabilityValue |
string |
インスタンスの現在の可用性ステータス。単位: %。 |
100 |
| Category |
string |
カテゴリ。 |
0 |
| ConnectionMode |
string |
インスタンスのアクセスモード。有効な値:
|
Performance |
| ConnectionString |
string |
内部ネットワークの接続エンドポイント。 |
rm-uf6wjk5****.mysql.rds.aliyuncs.com |
| CreationTime |
string |
作成時間。 |
2011-05-30T12:11:04Z |
| DBInstanceCPU |
string |
インスタンスの CPU コア数。 |
2 |
| DBInstanceClass |
string |
インスタンスタイプ。 |
rds.mys2.small |
| DBInstanceClassType |
string |
インスタンスファミリー。 |
s |
| DBInstanceDescription |
string |
インスタンスの説明。 |
0 |
| DBInstanceId |
string |
インスタンスの ID。 |
rm-uf6wjk5**** |
| DBInstanceMemory |
integer |
インスタンスのメモリ。単位: MB。 |
4096 |
| DBInstanceNetType |
string |
インスタンスのネットワークタイプ。有効な値:
|
Internet |
| DBInstanceStatus |
string |
インスタンスステータス。 |
Running |
| DBInstanceStorage |
integer |
インスタンスストレージ。単位: GB。 |
10 |
| DBInstanceType |
string |
インスタンスのタイプ。有効な値:
|
Primary |
| DBMaxQuantity |
integer |
インスタンスに作成できるデータベースの最大値。 |
200 |
| Engine |
string |
データベースエンジン。 |
MySQL |
| EngineVersion |
string |
データベースエンジンのバージョン。 |
8.0 |
| ExpireTime |
string |
有効期限時間。 |
2019-03-27T16:00:00Z |
| ExportKey |
string |
[非推奨] このパラメーターは非推奨であり、設定する必要はありません。 |
API |
| GuardDBInstanceId |
string |
このインスタンスにアタッチされているディザスタリカバリインスタンスの ID (存在する場合)。 |
rm-uf64zsu**** |
| IncrementSourceDBInstanceId |
string |
増分データソースのインスタンスの ID。たとえば、ディザスタリカバリインスタンスの増分データはプライマリインスタンスから取得され、読み取り専用インスタンスの増分データもプライマリインスタンスから取得されます。このパラメーターが返されない場合、そのインスタンスはプライマリインスタンスです。 |
rm-uf6wjk5**** |
| InstanceNetworkType |
string |
ネットワークタイプ。 |
VPC |
| LockMode |
string |
インスタンスのロックモード。 |
Unlock |
| LockReason |
string |
インスタンスがロック済みである理由。 |
instance_expired |
| MaintainTime |
string |
インスタンスのメンテナンスウィンドウ。時刻は UTC です。コンソールに表示されるメンテナンスウィンドウは、UTC より 8 時間進んでいます。 |
00:00Z-02:00Z |
| MasterInstanceId |
string |
プライマリインスタンスの ID。 |
rm-uf6wjk5**** |
| MaxConnections |
integer |
同時接続数の最大値。 |
60 |
| MaxIOPS |
integer |
1 秒あたりの I/O リクエストの最大値。 |
150 |
| PayType |
string |
インスタンスの課金方法。 |
Postpaid |
| Port |
string |
内部ネットワーク接続ポート。 |
3306 |
| ReadDelayTime |
string |
読み取り専用インスタンスとプライマリインスタンス間のレプリケーション遅延。このパラメーターは読み取り専用インスタンスに対してのみ有効です。 |
0 |
| RegionId |
string |
リージョン ID。 |
cn-hangzhou |
| SecurityIPList |
string |
IP アドレスのホワイトリスト。 |
42.XX.XX.XX |
| SlaveZones |
object |
||
| slaveRegion |
array |
[非推奨] このパラメーターは非推奨であり、設定する必要はありません。 |
|
|
string |
[非推奨] このパラメーターは非推奨であり、設定する必要はありません。 |
API |
|
| SupportUpgradeAccountType |
string |
なし。 |
No |
| Tags |
string |
タグ。 |
0 |
| TempDBInstanceId |
string |
一時インスタンスの ID。このインスタンスに一時インスタンスをマウントすると、このパラメーターが返されます。 |
rm-uf64zs**** |
| VSwitchId |
string |
vSwitch ID。 |
vsw-uf6adz52c2p**** |
| VpcId |
string |
VPC ID。 |
vpc-uf6f7l4fg90**** |
| ZoneId |
string |
ゾーン ID。 |
cn-hangzhou-j |
| DBInstanceStorageType |
string |
インスタンスストレージタイプ。 |
cloud_essd |
| RequestId |
string |
リクエスト ID。 |
1AD222E9-E606-4A42-BF6D-8A444291**** |
例
成功レスポンス
JSONJSON
{
"Items": {
"DBInstanceAttribute": [
{
"AccountMaxQuantity": 500,
"AccountType": "super",
"AvailabilityValue": "100",
"Category": "0",
"ConnectionMode": "Performance",
"ConnectionString": "rm-uf6wjk5****.mysql.rds.aliyuncs.com",
"CreationTime": "2011-05-30T12:11:04Z",
"DBInstanceCPU": "2",
"DBInstanceClass": "rds.mys2.small",
"DBInstanceClassType": "s",
"DBInstanceDescription": "0",
"DBInstanceId": "rm-uf6wjk5****",
"DBInstanceMemory": 4096,
"DBInstanceNetType": "Internet",
"DBInstanceStatus": "Running",
"DBInstanceStorage": 10,
"DBInstanceType": "Primary",
"DBMaxQuantity": 200,
"Engine": "MySQL",
"EngineVersion": "8.0",
"ExpireTime": "2019-03-27T16:00:00Z",
"ExportKey": "API",
"GuardDBInstanceId": "rm-uf64zsu****",
"IncrementSourceDBInstanceId": "rm-uf6wjk5****",
"InstanceNetworkType": "VPC",
"LockMode": "Unlock",
"LockReason": "instance_expired",
"MaintainTime": "00:00Z-02:00Z",
"MasterInstanceId": "rm-uf6wjk5****",
"MaxConnections": 60,
"MaxIOPS": 150,
"PayType": "Postpaid",
"Port": "3306",
"ReadDelayTime": "0",
"RegionId": "cn-hangzhou",
"SecurityIPList": "42.XX.XX.XX",
"SlaveZones": {
"slaveRegion": [
"API"
]
},
"SupportUpgradeAccountType": "No",
"Tags": "0",
"TempDBInstanceId": "rm-uf64zs****",
"VSwitchId": "vsw-uf6adz52c2p****",
"VpcId": "vpc-uf6f7l4fg90****\t ",
"ZoneId": "cn-hangzhou-j",
"DBInstanceStorageType": "cloud_essd"
}
]
},
"RequestId": "1AD222E9-E606-4A42-BF6D-8A444291****\t"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InstanceNames.Malformed | instance number of Instance Names should be less than 3000 | 操作が失敗した原因は、インスタンス名の長さを 3,000 文字未満にする必要があることです。 |
| 400 | 400 | Export all instances more than 6 times in an hour, please try 1 hour later. | |
| 400 | ExportLimitExceeded | Export all instances more than 6 times in an hour, please try 1 hour later. | 過去 1 時間以内にすべてのインスタンスを 6 回以上エクスポートしました。1 時間経過後にもう一度お試しください。 |
| 400 | Order.ComboInstanceNotAllowOperate | A package instance is not allowed to operate independently. | バンドルインスタンスでは、単独での操作は許可されていません。 |
| 400 | Price.PricingPlanResultNotFound | Pricing plan price result not found. | 料金プランの価格設定結果が見つかりません。 |
| 400 | Order.NoRealNameAuthentication | You have not passed the real-name authentication and do not meet the purchase conditions. Please log in to the user center for real-name authentication. | 実名認証が完了しておらず、購入要件を満たしていません。費用とコストコンソールにログインして、実名認証を完了してください。 |
| 400 | InsufficientAvailableQuota | Your account quota limit is less than 0, please recharge before trying to purchase. | 利用可能なアカウント残高が 0 未満です。再度購入する前に、アカウントに入金してください。 |
| 400 | CommodityServiceCalling.Exception | Failed to call commodity service. | 商品サービスの呼び出しに失敗しました。 |
| 400 | RegionDissolvedEOM | Dear customer, Alibaba Cloud plans to optimize and adjust the current region. Cloud services in this region will cease operations. You are currently unable to operate new purchase orders. Thank you for your understanding and support. | Alibaba Cloud は現在、当該リージョンの最適化および調整を計画しており、このリージョンでのクラウドサービスは終了予定です。業務継続性とデータ移行の円滑なトランジションを確保するため、この時間新規購入注文は受け付けておりません。ご理解とサポートのほどよろしくお願いいたします。 |
| 400 | Commodity.InvalidComponent | The module you purchased is not legal, please buy it again. | 購入したモジュールは無効です。モジュールを再度購入してください。 |
| 400 | RegionEndTimeDissolvedAustralia | Cloud services in the Australia (Sydney) region will be discontinued. Set the validity date to September 30, 2024 or earlier than September 30, 2024. | リージョンが廃止されました。 |
| 400 | Price.CommoditySys | Commodity system call exception. | 商品システムの呼び出し中に例外が発生しました。 |
| 400 | Pay.InsufficientBalance | Insufficient available balance. | |
| 400 | Order.PeriodInvalid | There is a problem with the period you selected, please choose again. | 選択したサブスクリプション期間が無効です。有効な期間を選択してください。 |
| 400 | pay.noCreditCard | Account not bound to credit card. | アカウントにクレジットカードが関連付けられていません。 |
| 400 | Order.InstHasUnpaidOrder | There is an unpaid order for the service you have purchased. Please pay or void it before placing the order. | 選択したサービスに未払いの注文があります。新規注文を行う前に、未払いの注文の支払いまたはキャンセルを行ってください。 |
| 400 | noAvailablePaymentMethod | No payment method is specified for your account. We recommend that you add a payment method. | アカウントに支払メソッドが指定されていません。支払メソッドを追加してください。 |
| 400 | BasicInfoUncompleted | Your information is incomplete. Complete your information before the operation. | 情報が不完全です。続行する前に情報を完全に入力してください。 |
| 400 | Risk.RiskControlRejection | Your account is abnormal, please contact customer service for details. | アカウントで例外が発生しました。詳細については、カスタマーサービスにお問い合わせください。 |
| 400 | Api.NotSupport | Specified api is not supported. | 現在の API オペレーションはサポートされていません。 |
| 400 | ContainForbiddenLabelError | There is a label that prohibits placing orders. Please contact your distributor for assistance. | 注文を禁止するタグが存在します。サポートについては販売代理店にお問い合わせください。 |
| 400 | InvalidDBInstanceId.NotFound | The DBInstanceId provided does not exist in records. | 指定されたインスタンスが存在しません。インスタンスが存在し、削除されていないことを確認してください。 |
| 400 | InvalidInstanceLevel.DiskType | Specified instance level not support request disk type | 現在のインスタンスタイプでは、このストレージタイプはサポートされていません。 |
| 400 | InvalidParam | Sepcified wal level Parameter is invalid. There are still logical slots in instance, so it can not be set as replica. | 指定されたパラメーターが無効なため、操作に失敗しました。 |
| 400 | KmsApiError | User secret key invalid. | ユーザーキーは無効です。 |
| 400 | System.SaleValidateFailed | Sales expression validation system error. | |
| 400 | Abs.InvalidAccount.NotFound | account is not found. | アカウントが存在しません。 |
| 400 | SqlExecuteFailedOrTimeout | sql command execution failed or timed out:%s. | SQL コマンドの実行に失敗したか、時間切れになりました。 |
| 400 | ColdData.EngineVersionNotSupport | The current instance engine version not support coldDataEnabled. | インスタンスの現在のデータベースエンジンバージョンでは、コールドデータアーカイブはサポートされていません。 |
| 400 | ColdData.MinorVersionNotSupport | The current instance minor version not support coldDataEnabled. | 現在のカーネルバージョンでは、コールドデータアーカイブはサポートされていません。 |
| 400 | IncorrectTargetClasscode | The current instance type does not support this operation. | 現在のインスタンスタイプでは、この操作はサポートされていません。 |
| 400 | InvalidConnectionString.Duplicate | Specified connection string already exists in the RDS. | エンドポイント名が重複しています。新しい接続文字列を指定してください。 |
| 400 | RequiredParam.NotFound | Required input param is not found. | 必須パラメーターが指定されていません。 |
| 400 | Parameters.Invalid | Parameter error, please check the parameters. | パラメーターが無効です。パラメーターを確認してください。 |
| 400 | BackupPolicyNotSupport | Cold Data won't open with CrossBackup or Flash Backup, please check Backup Policy. | データアーカイブでは、クロスリージョンバックアップまたは秒単位のバックアップはサポートされていません。バックアップポリシーを確認してください。 |
| 400 | InvalideStatus.Format | The instance status does not support this operation. | インスタンスステータスでは、この操作はサポートされていません。 |
| 400 | InvalidReleasedKeepPolicy.Format | Specified Released Keep Policy is not valid. | インスタンスのリリース後、アーカイブされたバックアップのデータ保持ポリシーは無効です。 |
| 400 | InvalidDBInstanceEngineType.Format | the DB instance engine type does not support this operation. | インスタンスのデータベースエンジンタイプでは、この操作はサポートされていません。 |
| 400 | Pay.NoCreditCard | No credit cards. | |
| 400 | VpcNetworkTypeNotSupport | The vpc network type instance does not support this operation. | この操作は、VPC ネットワークタイプのインスタンスではサポートされていません。 |
| 400 | MirrorInsExists | Specified DB instance mirror ins already existed. | 現在のデータベースインスタンスのイメージはすでに存在します。 |
| 400 | UnsupportedClassCode | The specified DB instance class stops selling. | このインスタンスタイプは販売終了となりました。 |
| 400 | InvalidBackupSet | The specified database does not exist in the backup set. | 指定されたデータベースがバックアップセットに存在しません。 |
| 400 | OrdTCommodityQueryError | Failed to query for product. | プロダクトのクエリに失敗しました。 |
| 400 | ProductInstanceReleased | The instance has been released. Please check before placing the order. | インスタンスはリリース済みです。注文前にインスタンスステータスを確認してください。 |
| 400 | RegionEndTimeDissolvedIndia | The region is no longer supported. | リージョンが廃止されました。 |
| 500 | ExternalFailure | The request processing has failed due to external service failure. | サービスリクエストが失敗しました。しばらくしてから再試行してください。 |
| 500 | RequestMetaDataFailed | The service request failed. Please try again later or contact service personnel. | サービスリクエストが失敗しました。しばらくしてから再試行するか、サポートにお問い合わせください。 |
| 500 | InvokeProxyFailure | The request processing has failed due to service failure of rds api. | ApsaraDB RDS API サービスの障害により、リクエストプロセスが失敗したため、処理できませんでした。 |
| 403 | Export.InProcess | There is already a task running, please try later | 実行中のタスクがすでに存在します。しばらくしてからもう一度お試しください。 |
| 403 | OrderStatus.UnPaid | The specified db instance has unpaid order. | インスタンスに未払いの注文があります。注文の支払いを完了してから、もう一度お試しください。 |
| 403 | InvalidReduceDiskSize | The storage capacity after the scale-down must be larger than the used amount. | スケールダウンのターゲット容量は、現在のストレージ使用量より小さくすることはできません。 |
| 403 | CloudSSDNotSupport | Cloud ssd does not support this operation, please upgrade to essd. | この操作は、標準 SSD ではサポートされていません。ESSD にアップグレードしてください。 |
| 403 | InvalidUserOperatorPermission | The user permission does not support this operation. | この操作を実行するために必須の権限がありません。 |
| 403 | InvalidVswitchId | Specified conn vswitch id is not valid. | 指定された VSwitchId が空であるか、フォーマットが無効です。 |
| 403 | IncorrectMinorVersion | Current engine minor version does not support operations. | 現在のマイナーバージョンでは、この操作はサポートされていません。 |
| 403 | OperationDenied.ZoneResource | There is no available zone for inventory. | 十分な在庫がある利用可能なゾーンがありません。 |
| 403 | NotInFlowController | Sorry,no permission. | この操作は、エンタープライズクラウドユーザー以外では利用できません。必須の権限がありません。 |
| 403 | InvalidKmsKey | Kms key is disabled. | 指定された KMS キーは無効化されています。 |
| 403 | InvalidInstanceLevel.Malformed | Current DB instance level does not support this operation. | 指定されたインスタンスの仕様ではそのエンドポイント数がサポートされていないため、操作に失敗しました。シャード数と現在のエンドポイント数を確認してください。 |
| 404 | InvalidClusterKms | The current instance does not authorized to access the Key Management Service. | 現在のインスタンスは Key Management Service へのアクセスを許可されていません。 |
| 404 | Request.NotFound | The requested resource is not available. | リクエストされたリソースは利用できません。 |
| 404 | HostInfo.NotFound | The specified host info is not found. | 指定されたホスト情報は存在しません。 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。