import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Resource Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.core.getResourceGroup({ * name: "existing", * }); * export const id = example.then(example => example.id); * ``` */ export declare function getResourceGroup(args: GetResourceGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getResourceGroup. */ export interface GetResourceGroupArgs { /** * The Name of this Resource Group. */ name: string; } /** * A collection of values returned by getResourceGroup. */ export interface GetResourceGroupResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Azure Region where the Resource Group exists. */ readonly location: string; readonly managedBy: string; readonly name: string; /** * A mapping of tags assigned to the Resource Group. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Resource Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.core.getResourceGroup({ * name: "existing", * }); * export const id = example.then(example => example.id); * ``` */ export declare function getResourceGroupOutput(args: GetResourceGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getResourceGroup. */ export interface GetResourceGroupOutputArgs { /** * The Name of this Resource Group. */ name: pulumi.Input; }