Language

TenantActionGroupCollection.GetAll(String, CancellationToken) Method

Definition

Get a list of all tenant action groups in a management group.

  • Request Path. : /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Insights/tenantActionGroups.
  • Operation Id. : TenantActionGroupResources_ListByManagementGroupId.
  • Default Api Version. : 2023-05-01-preview.
public virtual Azure.Pageable<Azure.ResourceManager.Monitor.TenantActionGroupResource> GetAll(string xMsClientTenantId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.TenantActionGroupResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.TenantActionGroupResource>
Public Overridable Function GetAll (xMsClientTenantId As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of TenantActionGroupResource)

Parameters

xMsClientTenantId
String

The tenant ID of the client making the request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

xMsClientTenantId is null.

xMsClientTenantId is an empty string, and was expected to be non-empty.

Applies to