UNPKG

@pulumi/azuread

Version:

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

52 lines 1.82 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getClientConfigOutput = exports.getClientConfig = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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); * ``` */ function getClientConfig(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("azuread:index/getClientConfig:getClientConfig", {}, opts); } exports.getClientConfig = getClientConfig; /** * 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); * ``` */ function getClientConfigOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("azuread:index/getClientConfig:getClientConfig", {}, opts); } exports.getClientConfigOutput = getClientConfigOutput; //# sourceMappingURL=getClientConfig.js.map