AlertRulesOperations interface
Interface representing a AlertRules operations.
Properties
| create |
Creates or updates the alert rule. |
| delete | Delete the alert rule. |
| get | Gets the alert rule. |
| list | Gets all alert rules. |
Property Details
createOrUpdate
Creates or updates the alert rule.
createOrUpdate: (resourceGroupName: string, workspaceName: string, ruleId: string, alertRule: AlertRuleUnion, options?: AlertRulesCreateOrUpdateOptionalParams) => Promise<AlertRuleUnion>
Property Value
(resourceGroupName: string, workspaceName: string, ruleId: string, alertRule: AlertRuleUnion, options?: AlertRulesCreateOrUpdateOptionalParams) => Promise<AlertRuleUnion>
delete
Delete the alert rule.
delete: (resourceGroupName: string, workspaceName: string, ruleId: string, options?: AlertRulesDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, workspaceName: string, ruleId: string, options?: AlertRulesDeleteOptionalParams) => Promise<void>
get
Gets the alert rule.
get: (resourceGroupName: string, workspaceName: string, ruleId: string, options?: AlertRulesGetOptionalParams) => Promise<AlertRuleUnion>
Property Value
(resourceGroupName: string, workspaceName: string, ruleId: string, options?: AlertRulesGetOptionalParams) => Promise<AlertRuleUnion>
list
Gets all alert rules.
list: (resourceGroupName: string, workspaceName: string, options?: AlertRulesListOptionalParams) => PagedAsyncIterableIterator<AlertRuleUnion, AlertRuleUnion[], PageSettings>
Property Value
(resourceGroupName: string, workspaceName: string, options?: AlertRulesListOptionalParams) => PagedAsyncIterableIterator<AlertRuleUnion, AlertRuleUnion[], PageSettings>