Condividi tramite


AlertProcessingRulesOperationsExtensions.ListBySubscriptionAsync Method

Definition

List all alert processing rules in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule>> ListBySubscriptionAsync (this Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IAlertProcessingRulesOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AlertProcessingRule))

Parameters

operations
IAlertProcessingRulesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to