Share via


ManagementGroupsOperationsExtensions.List Method

Definition

Gets a list of management groups connected to a workspace.

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.OperationalInsights.Models.ManagementGroup> List (this Microsoft.Azure.Management.OperationalInsights.IManagementGroupsOperations operations, string resourceGroupName, string workspaceName);
static member List : Microsoft.Azure.Management.OperationalInsights.IManagementGroupsOperations * string * string -> seq<Microsoft.Azure.Management.OperationalInsights.Models.ManagementGroup>
<Extension()>
Public Function List (operations As IManagementGroupsOperations, resourceGroupName As String, workspaceName As String) As IEnumerable(Of ManagementGroup)

Parameters

operations
IManagementGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace.

Returns

Applies to