共用方式為


ActionGroupCollection.GetAllAsync(CancellationToken) Method

Definition

Get a list of all action groups in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups
  • Operation Id: ActionGroups_ListByResourceGroup
  • Default Api Version: 2023-01-01
  • Resource: ActionGroupResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.ActionGroupResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.ActionGroupResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.ActionGroupResource>
Public Overridable Function GetAllAsync (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