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>