import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Management Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.management.getGroup({ * name: "00000000-0000-0000-0000-000000000000", * }); * export const displayName = example.then(example => example.displayName); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Management` - 2020-05-01 */ /** @deprecated azure.managementgroups.getManagementGroup has been deprecated in favor of azure.management.getGroup */ export declare function getManagementGroup(args?: GetManagementGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagementGroup. */ export interface GetManagementGroupArgs { /** * Specifies the display name of this Management Group. * * > **NOTE** Whilst multiple management groups may share the same display name, when filtering, the provider expects a single management group to be found with this name. */ displayName?: string; /** * Specifies the name or UUID of this Management Group. */ name?: string; } /** * A collection of values returned by getManagementGroup. */ export interface GetManagementGroupResult { /** * A list of Management Group IDs which directly or indirectly belong to this Management Group. */ readonly allManagementGroupIds: string[]; /** * A list of Subscription IDs which are assigned to this Management Group or its children Management Groups. */ readonly allSubscriptionIds: string[]; readonly displayName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A list of Management Group IDs which directly belong to this Management Group. */ readonly managementGroupIds: string[]; readonly name: string; /** * The ID of any Parent Management Group. */ readonly parentManagementGroupId: string; /** * A list of Subscription IDs which are directly assigned to this Management Group. */ readonly subscriptionIds: string[]; /** * The Management Group ID with the Tenant ID prefix. */ readonly tenantScopedId: string; } /** * Use this data source to access information about an existing Management Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.management.getGroup({ * name: "00000000-0000-0000-0000-000000000000", * }); * export const displayName = example.then(example => example.displayName); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Management` - 2020-05-01 */ /** @deprecated azure.managementgroups.getManagementGroup has been deprecated in favor of azure.management.getGroup */ export declare function getManagementGroupOutput(args?: GetManagementGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagementGroup. */ export interface GetManagementGroupOutputArgs { /** * Specifies the display name of this Management Group. * * > **NOTE** Whilst multiple management groups may share the same display name, when filtering, the provider expects a single management group to be found with this name. */ displayName?: pulumi.Input; /** * Specifies the name or UUID of this Management Group. */ name?: pulumi.Input; }