Cloud Config を有効にして、Alibaba Cloud アカウントのリソースをモニターします。
操作説明
このトピックでは、Cloud Config を有効にして Alibaba Cloud アカウントのリソースをモニターする方法の例を説明します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
config:StartConfigurationRecorder |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
リクエストパラメーターは必要ありません。
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
4D994662-6B27-536F-B320-38F4B3D58705 |
| ConfigurationRecorder |
object |
設定レコーダーの詳細。 |
|
| ConfigurationRecorderStatus |
string |
設定レコーダーのステータス。 有効な値:
|
REGISTERED |
| ResourceTypes |
array |
Cloud Config によってモニターされるリソースのタイプ。 |
|
|
string |
Cloud Config によってモニターされるリソースのタイプ。 |
ACS::ECS::Instance |
例
成功レスポンス
JSONJSON
{
"RequestId": "4D994662-6B27-536F-B320-38F4B3D58705",
"ConfigurationRecorder": {
"ConfigurationRecorderStatus": "REGISTERED",
"ResourceTypes": [
"ACS::ECS::Instance"
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | ProcessIsRunning | The process is running. | |
| 500 | CreateSLRFail | Failed to create SLR. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。