OperationalInsightsWorkspaceResource.GetManagementGroups Method

Definition

Gets a list of management groups connected to a workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/managementGroups
  • Operation Id: ManagementGroups_List
  • Default Api Version: 2020-08-01
public virtual Azure.Pageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsManagementGroup> GetManagementGroups (System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagementGroups : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsManagementGroup>
override this.GetManagementGroups : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsManagementGroup>
Public Overridable Function GetManagementGroups (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of OperationalInsightsManagementGroup)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to