Sdílet prostřednictvím


ManagementGroupsOperationsExtensions.Get Method

Definition

Get the details of the management group.

public static Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroup Get (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations operations, string groupId, string expand = default, bool? recurse = default, string filter = default, string cacheControl = "no-cache");
static member Get : Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations * string * string * Nullable<bool> * string * string -> Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroup
<Extension()>
Public Function Get (operations As IManagementGroupsOperations, groupId As String, Optional expand As String = Nothing, Optional recurse As Nullable(Of Boolean) = Nothing, Optional filter As String = Nothing, Optional cacheControl As String = "no-cache") As ManagementGroup

Parameters

operations
IManagementGroupsOperations

The operations group for this extension method.

groupId
String

Management Group ID.

expand
String

The $expand=children query string parameter allows clients to request inclusion of children in the response payload. $expand=path includes the path from the root group to the current group. $expand=ancestors includes the ancestor Ids of the current group. Possible values include: 'children', 'path', 'ancestors'

recurse
Nullable<Boolean>

The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that $expand=children must be passed up if $recurse is set to true.

filter
String

A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription')

cacheControl
String

Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches.

Returns

Applies to