MockableMonitorSubscriptionResource.GetActionGroupsAsync Method

Definition

Get a list of all action groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/actionGroups
  • Operation Id: ActionGroups_ListBySubscriptionId
  • Default Api Version: 2023-01-01
  • Resource: ActionGroupResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.ActionGroupResource> GetActionGroupsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetActionGroupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.ActionGroupResource>
override this.GetActionGroupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.ActionGroupResource>
Public Overridable Function GetActionGroupsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ActionGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ActionGroupResource that may take multiple service requests to iterate over.

Applies to