MockableMonitorSubscriptionResource.GetActionGroups(CancellationToken) 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.Pageable<Azure.ResourceManager.Monitor.ActionGroupResource> GetActionGroups (System.Threading.CancellationToken cancellationToken = default);
abstract member GetActionGroups : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.ActionGroupResource>
override this.GetActionGroups : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.ActionGroupResource>
Public Overridable Function GetActionGroups (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ActionGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to