ActionGroupsOperations.ListBySubscriptionIdAsync(CancellationToken) Method

Definition

Get a list of all action groups in a subscription.

public virtual Azure.AsyncPageable<Azure.ResourceManager.Insights.Models.ActionGroupResource> ListBySubscriptionIdAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ListBySubscriptionIdAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Insights.Models.ActionGroupResource>
override this.ListBySubscriptionIdAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Insights.Models.ActionGroupResource>
Public Overridable Function ListBySubscriptionIdAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ActionGroupResource)

Parameters

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<ActionGroupResource>

Applies to