다음을 통해 공유


IAlertRulesOperations Interface

Definition

AlertRulesOperations operations.

public interface IAlertRulesOperations
type IAlertRulesOperations = interface
Public Interface IAlertRulesOperations

Methods

CreateOrUpdateWithHttpMessagesAsync(String, String, AlertRuleResource, Dictionary<String,List<String>>, CancellationToken)

Creates or updates a classic metric alert rule.

DeleteWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Deletes a classic metric alert rule

GetWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Gets a classic metric alert rule

ListByResourceGroupWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

List the classic metric alert rules within a resource group.

ListBySubscriptionWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

List the classic metric alert rules within a subscription.

UpdateWithHttpMessagesAsync(String, String, AlertRuleResourcePatch, Dictionary<String,List<String>>, CancellationToken)

Updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate method.

Extension Methods

CreateOrUpdate(IAlertRulesOperations, String, String, AlertRuleResource)

Creates or updates a classic metric alert rule.

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

Creates or updates a classic metric alert rule.

Delete(IAlertRulesOperations, String, String)

Deletes a classic metric alert rule

DeleteAsync(IAlertRulesOperations, String, String, CancellationToken)

Deletes a classic metric alert rule

Get(IAlertRulesOperations, String, String)

Gets a classic metric alert rule

GetAsync(IAlertRulesOperations, String, String, CancellationToken)

Gets a classic metric alert rule

ListByResourceGroup(IAlertRulesOperations, String)

List the classic metric alert rules within a resource group.

ListByResourceGroupAsync(IAlertRulesOperations, String, CancellationToken)

List the classic metric alert rules within a resource group.

ListBySubscription(IAlertRulesOperations)

List the classic metric alert rules within a subscription.

ListBySubscriptionAsync(IAlertRulesOperations, CancellationToken)

List the classic metric alert rules within a subscription.

Update(IAlertRulesOperations, String, String, AlertRuleResourcePatch)

Updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate method.

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

Updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate method.

Applies to