次の方法で共有


AlertRules interface

AlertRules を表すインターフェイス。

メソッド

createOrUpdate(string, string, string, AlertRuleUnion, AlertRulesCreateOrUpdateOptionalParams)

アラート ルールを作成または更新します。

delete(string, string, string, AlertRulesDeleteOptionalParams)

アラート ルールを削除します。

get(string, string, string, AlertRulesGetOptionalParams)

アラート ルールを取得します。

list(string, string, AlertRulesListOptionalParams)

すべてのアラート ルールを取得します。

メソッドの詳細

createOrUpdate(string, string, string, AlertRuleUnion, AlertRulesCreateOrUpdateOptionalParams)

アラート ルールを作成または更新します。

function createOrUpdate(resourceGroupName: string, workspaceName: string, ruleId: string, alertRule: AlertRuleUnion, options?: AlertRulesCreateOrUpdateOptionalParams): Promise<AlertRuleUnion>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前は大文字と小文字が区別されます。

workspaceName

string

ワークスペースの名前。

ruleId

string

アラート ルール ID

alertRule
AlertRuleUnion

アラートルール

options
AlertRulesCreateOrUpdateOptionalParams

オプション パラメーター。

戻り値

Promise<AlertRuleUnion>

delete(string, string, string, AlertRulesDeleteOptionalParams)

アラート ルールを削除します。

function delete(resourceGroupName: string, workspaceName: string, ruleId: string, options?: AlertRulesDeleteOptionalParams): Promise<void>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前は大文字と小文字が区別されます。

workspaceName

string

ワークスペースの名前。

ruleId

string

アラート ルール ID

options
AlertRulesDeleteOptionalParams

オプション パラメーター。

戻り値

Promise<void>

get(string, string, string, AlertRulesGetOptionalParams)

アラート ルールを取得します。

function get(resourceGroupName: string, workspaceName: string, ruleId: string, options?: AlertRulesGetOptionalParams): Promise<AlertRuleUnion>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前は大文字と小文字が区別されます。

workspaceName

string

ワークスペースの名前。

ruleId

string

アラート ルール ID

options
AlertRulesGetOptionalParams

オプション パラメーター。

戻り値

Promise<AlertRuleUnion>

list(string, string, AlertRulesListOptionalParams)

すべてのアラート ルールを取得します。

function list(resourceGroupName: string, workspaceName: string, options?: AlertRulesListOptionalParams): PagedAsyncIterableIterator<AlertRuleUnion, AlertRuleUnion[], PageSettings>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前は大文字と小文字が区別されます。

workspaceName

string

ワークスペースの名前。

options
AlertRulesListOptionalParams

オプション パラメーター。

戻り値