AlertProcessingRulesOperations interface
表示 AlertProcessingRules 操作的接口。
属性
| create |
创建或更新警报处理规则。 |
| delete | |
| get |
按名称获取警报处理规则。 |
| list |
列出资源组中的所有警报处理规则。 |
| list |
列出订阅中的所有警报处理规则。 |
| update | 为警报处理规则启用、禁用或更新标记。 |
属性详细信息
createOrUpdate
创建或更新警报处理规则。
createOrUpdate: (resourceGroupName: string, alertProcessingRuleName: string, alertProcessingRule: AlertProcessingRule, options?: AlertProcessingRulesCreateOrUpdateOptionalParams) => Promise<AlertProcessingRule>
属性值
(resourceGroupName: string, alertProcessingRuleName: string, alertProcessingRule: AlertProcessingRule, options?: AlertProcessingRulesCreateOrUpdateOptionalParams) => Promise<AlertProcessingRule>
delete
delete: (resourceGroupName: string, alertProcessingRuleName: string, options?: AlertProcessingRulesDeleteOptionalParams) => Promise<void>
属性值
(resourceGroupName: string, alertProcessingRuleName: string, options?: AlertProcessingRulesDeleteOptionalParams) => Promise<void>
getByName
按名称获取警报处理规则。
getByName: (resourceGroupName: string, alertProcessingRuleName: string, options?: AlertProcessingRulesGetByNameOptionalParams) => Promise<AlertProcessingRule>
属性值
(resourceGroupName: string, alertProcessingRuleName: string, options?: AlertProcessingRulesGetByNameOptionalParams) => Promise<AlertProcessingRule>
listByResourceGroup
列出资源组中的所有警报处理规则。
listByResourceGroup: (resourceGroupName: string, options?: AlertProcessingRulesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<AlertProcessingRule, AlertProcessingRule[], PageSettings>
属性值
(resourceGroupName: string, options?: AlertProcessingRulesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<AlertProcessingRule, AlertProcessingRule[], PageSettings>
listBySubscription
列出订阅中的所有警报处理规则。
listBySubscription: (options?: AlertProcessingRulesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<AlertProcessingRule, AlertProcessingRule[], PageSettings>
属性值
(options?: AlertProcessingRulesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<AlertProcessingRule, AlertProcessingRule[], PageSettings>
update
为警报处理规则启用、禁用或更新标记。
update: (resourceGroupName: string, alertProcessingRuleName: string, alertProcessingRulePatch: PatchObject, options?: AlertProcessingRulesUpdateOptionalParams) => Promise<AlertProcessingRule>
属性值
(resourceGroupName: string, alertProcessingRuleName: string, alertProcessingRulePatch: PatchObject, options?: AlertProcessingRulesUpdateOptionalParams) => Promise<AlertProcessingRule>