你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AlertRulesOperationsExtensions 类

定义

AlertRulesOperations 的扩展方法。

public static class AlertRulesOperationsExtensions
type AlertRulesOperationsExtensions = class
Public Module AlertRulesOperationsExtensions
继承
AlertRulesOperationsExtensions

方法

CreateOrUpdate(IAlertRulesOperations, String, String, AlertRuleResource)

创建或更新经典指标警报规则。

CreateOrUpdateAsync(IAlertRulesOperations, String, String, AlertRuleResource, CancellationToken)

创建或更新经典指标警报规则。

Delete(IAlertRulesOperations, String, String)

删除经典指标警报规则

DeleteAsync(IAlertRulesOperations, String, String, CancellationToken)

删除经典指标警报规则

Get(IAlertRulesOperations, String, String)

获取经典指标警报规则

GetAsync(IAlertRulesOperations, String, String, CancellationToken)

获取经典指标警报规则

ListByResourceGroup(IAlertRulesOperations, String)

列出资源组中的经典指标警报规则。

ListByResourceGroupAsync(IAlertRulesOperations, String, CancellationToken)

列出资源组中的经典指标警报规则。

ListBySubscription(IAlertRulesOperations)

列出订阅中的经典指标警报规则。

ListBySubscriptionAsync(IAlertRulesOperations, CancellationToken)

列出订阅中的经典指标警报规则。

Update(IAlertRulesOperations, String, String, AlertRuleResourcePatch)

汇报现有的经典指标 AlertRuleResource。 若要更新其他字段,请使用 CreateOrUpdate 方法。

UpdateAsync(IAlertRulesOperations, String, String, AlertRuleResourcePatch, CancellationToken)

汇报现有的经典指标 AlertRuleResource。 若要更新其他字段,请使用 CreateOrUpdate 方法。

适用于