サブスクリプション型 PolarDB クラスターの自動更新ステータスについて説明します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
polardb:DescribeAutoRenewAttribute |
list |
*DBCluster
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 説明
詳細については、「DescribeRegions」をご参照ください。 |
cn-hangzhou |
| DBClusterIds |
string |
任意 |
クラスターの ID。複数のクラスター ID を指定できます。コンマ (,) で区切ります。 |
pc-**************** |
| PageSize |
integer |
任意 |
各ページに返すエントリ数。有効値:30、50、100。デフォルト値:30。 |
30 |
| PageNumber |
integer |
任意 |
ページ番号。値は 0 より大きく、整数データ型の最大値を超えない整数である必要があります。デフォルト値:1。 |
1 |
| ResourceGroupId |
string |
任意 |
リソースグループの ID。 |
rg-re********* |
| CloudProvider |
string |
任意 |
インスタンスのクラウドプロバイダー。 |
ENS |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Items |
object |
||
| AutoRenewAttribute |
array<object> |
クラスターに関する更新情報のリスト。 |
|
|
object |
|||
| AutoRenewEnabled |
boolean |
自動更新が有効になっているかどうかを示します。
|
true |
| DBClusterId |
string |
クラスター ID。 |
pc-***************** |
| Duration |
integer |
更新期間。 |
4 |
| PeriodUnit |
string |
更新期間の単位。
|
Month |
| RegionId |
string |
リージョン ID。 |
cn-hangzhou |
| RenewalStatus |
string |
更新ステータス。有効な値:
|
AutoRenewal |
| PageNumber |
integer |
ページ番号。 |
1 |
| PageRecordCount |
integer |
総ページ数。 |
1 |
| RequestId |
string |
リクエスト ID。 |
65D7ACE6-4A61-4B6E-B357-8CB24A****** |
| TotalRecordCount |
integer |
エントリの総数。 |
1 |
例
成功レスポンス
JSONJSON
{
"Items": {
"AutoRenewAttribute": [
{
"AutoRenewEnabled": true,
"DBClusterId": "pc-*****************",
"Duration": 4,
"PeriodUnit": "Month",
"RegionId": "cn-hangzhou",
"RenewalStatus": "AutoRenewal"
}
]
},
"PageNumber": 1,
"PageRecordCount": 1,
"RequestId": "65D7ACE6-4A61-4B6E-B357-8CB24A******",
"TotalRecordCount": 1
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidRegionId.Malformed | The specified parameter RegionId is not valid. | |
| 400 | InvalidPageSize.Malformed | The specified parameter PageSize is not valid. | |
| 400 | InvalidPageNumber.Malformed | The specified parameter PageNumber is not valid. | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。