import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing User Assigned Identity. * * ## Example Usage * * ### Reference An Existing) * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.authorization.getUserAssignedIdentity({ * name: "name_of_user_assigned_identity", * resourceGroupName: "name_of_resource_group", * }); * export const uaiClientId = example.then(example => example.clientId); * export const uaiPrincipalId = example.then(example => example.principalId); * export const uaiTenantId = example.then(example => example.tenantId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ManagedIdentity` - 2024-11-30 */ /** @deprecated azure.core.getUserAssignedIdentity has been deprecated in favor of azure.authorization.getUserAssignedIdentity */ export declare function getUserAssignedIdentity(args: GetUserAssignedIdentityArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUserAssignedIdentity. */ export interface GetUserAssignedIdentityArgs { /** * The name of the User Assigned Identity. */ name: string; /** * The name of the Resource Group in which the User Assigned Identity exists. */ resourceGroupName: string; } /** * A collection of values returned by getUserAssignedIdentity. */ export interface GetUserAssignedIdentityResult { /** * The Client ID of the User Assigned Identity. */ readonly clientId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The isolation scope for the User Assigned Identity. */ readonly isolationScope: string; /** * The Azure location where the User Assigned Identity exists. */ readonly location: string; readonly name: string; /** * The Service Principal ID of the User Assigned Identity. */ readonly principalId: string; readonly resourceGroupName: string; /** * A mapping of tags assigned to the User Assigned Identity. */ readonly tags: { [key: string]: string; }; /** * The Tenant ID of the User Assigned Identity. */ readonly tenantId: string; } /** * Use this data source to access information about an existing User Assigned Identity. * * ## Example Usage * * ### Reference An Existing) * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.authorization.getUserAssignedIdentity({ * name: "name_of_user_assigned_identity", * resourceGroupName: "name_of_resource_group", * }); * export const uaiClientId = example.then(example => example.clientId); * export const uaiPrincipalId = example.then(example => example.principalId); * export const uaiTenantId = example.then(example => example.tenantId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ManagedIdentity` - 2024-11-30 */ /** @deprecated azure.core.getUserAssignedIdentity has been deprecated in favor of azure.authorization.getUserAssignedIdentity */ export declare function getUserAssignedIdentityOutput(args: GetUserAssignedIdentityOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getUserAssignedIdentity. */ export interface GetUserAssignedIdentityOutputArgs { /** * The name of the User Assigned Identity. */ name: pulumi.Input; /** * The name of the Resource Group in which the User Assigned Identity exists. */ resourceGroupName: pulumi.Input; }