Interface ManagementGroupsClient
public interface ManagementGroupsClient
An instance of this class provides access to all the operations defined in ManagementGroupsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<ManagementGroupInner>
Gets a list of management groups connected to a workspace.com.azure.core.http.rest.PagedIterable<ManagementGroupInner>
Gets a list of management groups connected to a workspace.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ManagementGroupInner> list(String resourceGroupName, String workspaceName) Gets a list of management groups connected to a workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- a list of management groups connected to a workspace as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ManagementGroupInner> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets a list of management groups connected to a workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.- Returns:
- a list of management groups connected to a workspace as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-