ManagementGroupsOperationsExtensions.Get 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 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'
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
Azure SDK for .NET