TenantActionGroupCollection.GetAllAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AsyncPageable<Azure.ResourceManager.Monitor.TenantActionGroupResource> GetAllAsync(string xMsClientTenantId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.TenantActionGroupResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.TenantActionGroupResource>
Public Overridable Function GetAllAsync (xMsClientTenantId As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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.