ActionGroupsOperationsExtensions.ListBySubscriptionIdAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.