Actions interface
アクションを表すインターフェイス。
メソッド
| create |
アラート ルールのアクションを作成または更新します。 |
| delete(string, string, string, string, Actions |
アラート ルールのアクションを削除します。 |
| get(string, string, string, string, Actions |
アラート ルールのアクションを取得します。 |
| list |
アラート ルールのすべてのアクションを取得します。 |
メソッドの詳細
createOrUpdate(string, string, string, string, ActionRequest, ActionsCreateOrUpdateOptionalParams)
アラート ルールのアクションを作成または更新します。
function createOrUpdate(resourceGroupName: string, workspaceName: string, ruleId: string, actionId: string, action: ActionRequest, options?: ActionsCreateOrUpdateOptionalParams): Promise<ActionResponse>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前は大文字と小文字が区別されます。
- workspaceName
-
string
ワークスペースの名前。
- ruleId
-
string
アラート ルール ID
- actionId
-
string
操作 ID
- action
- ActionRequest
アクション
オプション パラメーター。
戻り値
Promise<ActionResponse>
delete(string, string, string, string, ActionsDeleteOptionalParams)
アラート ルールのアクションを削除します。
function delete(resourceGroupName: string, workspaceName: string, ruleId: string, actionId: string, options?: ActionsDeleteOptionalParams): Promise<void>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前は大文字と小文字が区別されます。
- workspaceName
-
string
ワークスペースの名前。
- ruleId
-
string
アラート ルール ID
- actionId
-
string
操作 ID
- options
- ActionsDeleteOptionalParams
オプション パラメーター。
戻り値
Promise<void>
get(string, string, string, string, ActionsGetOptionalParams)
アラート ルールのアクションを取得します。
function get(resourceGroupName: string, workspaceName: string, ruleId: string, actionId: string, options?: ActionsGetOptionalParams): Promise<ActionResponse>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前は大文字と小文字が区別されます。
- workspaceName
-
string
ワークスペースの名前。
- ruleId
-
string
アラート ルール ID
- actionId
-
string
操作 ID
- options
- ActionsGetOptionalParams
オプション パラメーター。
戻り値
Promise<ActionResponse>
listByAlertRule(string, string, string, ActionsListByAlertRuleOptionalParams)
アラート ルールのすべてのアクションを取得します。
function listByAlertRule(resourceGroupName: string, workspaceName: string, ruleId: string, options?: ActionsListByAlertRuleOptionalParams): PagedAsyncIterableIterator<ActionResponse, ActionResponse[], PageSettings>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前は大文字と小文字が区別されます。
- workspaceName
-
string
ワークスペースの名前。
- ruleId
-
string
アラート ルール ID
オプション パラメーター。