AlertRulesOperations interface

Interfaccia che rappresenta un'operazione AlertRules.

Proprietà

createOrUpdate

Crea o aggiorna la regola di avviso.

delete

Eliminare la regola di avviso.

get

Ottiene la regola di avviso.

list

Ottiene tutte le regole di avviso.

Dettagli proprietà

createOrUpdate

Crea o aggiorna la regola di avviso.

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

Valore della proprietà

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

delete

Eliminare la regola di avviso.

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

Valore della proprietà

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

get

Ottiene la regola di avviso.

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

Valore della proprietà

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

list

Ottiene tutte le regole di avviso.

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

Valore della proprietà

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