調(diào)用DescribeDrdsDB接口查詢PolarDB-X數(shù)據(jù)庫詳情。
請求參數(shù)
參數(shù)名 | 類型 | 是否必須 | 說明 |
---|---|---|---|
Action | String | 是 | 系統(tǒng)規(guī)定參數(shù),取值:DescribeDrdsDB。 |
DbName | String | 是 | 分布式數(shù)據(jù)庫的名稱。 |
DrdsInstanceId | String | 是 | PolarDB-X實例ID。 |
返回值
參數(shù)名 | 類型 | 描述 |
---|---|---|
DbName | String | 數(shù)據(jù)庫名稱。 |
Status | String |
|
CreateTime | String | 創(chuàng)建時間。 |
Msg | String | 狀態(tài)的詳情,如果是錯誤狀態(tài),則包含錯誤信息。 |
Mode | String | 運行模式。 |
錯誤碼
錯誤碼 | 報錯信息 | 錯誤描述 | HTTP 狀態(tài)碼 |
---|---|---|---|
InvalidDRDSInstanceId.NotFound | The DrdsInstanceId provided does not exist in our records. | 實例不存在 | 404 |
InvalidDbName.NotFound | The Drds DbName provided does not exist in our records. | 指定的實例上不存在指定的分布式數(shù)據(jù)庫 | 404 |