@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.12 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets the hierarchy settings defined at the Management Group level. Settings can only be set on the root Management Group of the hierarchy.
*
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getHierarchySetting(args: GetHierarchySettingArgs, opts?: pulumi.InvokeOptions): Promise<GetHierarchySettingResult>;
export interface GetHierarchySettingArgs {
/**
* Management Group ID.
*/
groupId: string;
}
/**
* Settings defined at the Management Group scope.
*/
export interface GetHierarchySettingResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Settings that sets the default Management Group under which new subscriptions get added in this tenant. For example, /providers/Microsoft.Management/managementGroups/defaultGroup
*/
readonly defaultManagementGroup?: string;
/**
* The fully qualified ID for the settings object. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000/settings/default.
*/
readonly id: string;
/**
* The name of the object. In this case, default.
*/
readonly name: string;
/**
* Indicates whether RBAC access is required upon group creation under the root Management Group. If set to true, user will require Microsoft.Management/managementGroups/write action on the root Management Group scope in order to create new Groups directly under the root. This will prevent new users from creating new Management Groups, unless they are given access.
*/
readonly requireAuthorizationForGroupCreation?: boolean;
/**
* The AAD Tenant ID associated with the hierarchy settings. For example, 00000000-0000-0000-0000-000000000000
*/
readonly tenantId?: string;
/**
* The type of the resource. For example, Microsoft.Management/managementGroups/settings.
*/
readonly type: string;
}
/**
* Gets the hierarchy settings defined at the Management Group level. Settings can only be set on the root Management Group of the hierarchy.
*
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getHierarchySettingOutput(args: GetHierarchySettingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHierarchySettingResult>;
export interface GetHierarchySettingOutputArgs {
/**
* Management Group ID.
*/
groupId: pulumi.Input<string>;
}