アプリケーショングループを作成します。
操作説明
この例では、ECS_Group という名前のアプリケーショングループが作成されます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cms:CreateMonitorGroup |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| GroupName |
string |
必須 |
アプリケーショングループの名前。 |
ECS_Group |
| ContactGroups |
string |
任意 |
アラートグループ。アプリケーショングループのアラート通知は、このアラートグループに属するアラート連絡先に送信されます。 説明
アラートグループには、1 つ以上のアラート連絡先を含めることができます。アラート連絡先とアラートグループの作成方法の詳細については、「PutContact」および「PutContactGroup」をご参照ください。 |
ECS_Alert_Group |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Code |
integer |
HTTP ステータスコード。 説明
状態コード 200 は、リクエストが成功したことを示します。 |
200 |
| Message |
string |
返されたメッセージ。 |
The specified resource is not found. |
| RequestId |
string |
リクエスト ID。 |
83C89BA6-ABD4-4398-A175-83E86C47A001 |
| GroupId |
integer |
アプリケーショングループの ID。 |
1234567 |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
例
成功レスポンス
JSONJSON
{
"Code": 200,
"Message": "The specified resource is not found.",
"RequestId": "83C89BA6-ABD4-4398-A175-83E86C47A001",
"GroupId": 1234567,
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidQueryParameter | %s | |
| 401 | AccessDeniedException | You donot have sufficient access to perform this action. | |
| 412 | ResourcesOverLimit | Resources over limit. | |
| 500 | %s | %s | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 402 | LimitExceeded | The quota for this customer had been reached. | |
| 403 | InvalidClientTokenId | not allow this operation. | |
| 206 | %s | %s | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
| 503 | %s | %s | |
| 406 | %s | %s | |
| 429 | Throttli∂ngException | The request was denied due to request throttling. | |
| 409 | %s | %s | |
| 409 | ResourceConflict | Concurrent modification of resources. | |
| 409 | ResourceExist | Resources already exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。