UNPKG

@pulumi/azuread

Version:

A Pulumi package for creating and managing Azure Active Directory (Azure AD) cloud resources.

59 lines (58 loc) 1.73 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access the configuration of the AzureAD provider. * * ## API Permissions * * No additional roles are required to use this data source. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azuread from "@pulumi/azuread"; * * const current = azuread.getClientConfig({}); * export const objectId = current.then(current => current.objectId); * ``` */ export declare function getClientConfig(opts?: pulumi.InvokeOptions): Promise<GetClientConfigResult>; /** * A collection of values returned by getClientConfig. */ export interface GetClientConfigResult { /** * The client ID (application ID) linked to the authenticated principal, or the application used for delegated authentication. */ readonly clientId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The object ID of the authenticated principal. */ readonly objectId: string; /** * The tenant ID of the authenticated principal. */ readonly tenantId: string; } /** * Use this data source to access the configuration of the AzureAD provider. * * ## API Permissions * * No additional roles are required to use this data source. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azuread from "@pulumi/azuread"; * * const current = azuread.getClientConfig({}); * export const objectId = current.then(current => current.objectId); * ``` */ export declare function getClientConfigOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClientConfigResult>;