共用方式為


ActionGroupsOperationsExtensions.ListBySubscriptionIdAsync Method

Definition

Get a list of all action groups in a subscription.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Monitor.Models.ActionGroupResource>> ListBySubscriptionIdAsync (this Microsoft.Azure.Management.Monitor.IActionGroupsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionIdAsync : Microsoft.Azure.Management.Monitor.IActionGroupsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Monitor.Models.ActionGroupResource>>
<Extension()>
Public Function ListBySubscriptionIdAsync (operations As IActionGroupsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of ActionGroupResource))

Parameters

operations
IActionGroupsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to