getManagementGroup

Get the details of the management group. Uses Azure REST API version 2023-04-01. Other available API versions: 2021-04-01, 2024-02-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native management [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

The management group details.

Parameters

argument

null


suspend fun getManagementGroup(expand: String? = null, filter: String? = null, groupId: String, recurse: Boolean? = null): GetManagementGroupResult

Return

The management group details.

Parameters

expand

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.

filter

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

groupId

Management Group ID.

recurse

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.

See also


Return

The management group details.

Parameters

argument

Builder for com.pulumi.azurenative.management.kotlin.inputs.GetManagementGroupPlainArgs.

See also