UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

87 lines (86 loc) 3.39 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the Azure AD B2C tenant resource. * * Uses Azure REST API version 2023-05-17-preview. * * Other available API versions: 2021-04-01, 2023-01-18-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azureactivedirectory [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getB2CTenant(args: GetB2CTenantArgs, opts?: pulumi.InvokeOptions): Promise<GetB2CTenantResult>; export interface GetB2CTenantArgs { /** * The name of the resource group. */ resourceGroupName: string; /** * The initial domain name of the Azure AD B2C tenant. */ resourceName: string; } export interface GetB2CTenantResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The billing configuration for the tenant. */ readonly billingConfig?: outputs.azureactivedirectory.B2CTenantResourcePropertiesResponseBillingConfig; /** * An identifier that represents the Azure AD B2C tenant resource. */ readonly id: string; /** * Enable GoLocal add-on to store data at rest in the specific Geo. Refer to [aka.ms/B2CDataResidency](https://aka.ms/B2CDataResidency) to see local data residency options. */ readonly isGoLocalTenant?: boolean; /** * The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia'. Refer to [this documentation](https://aka.ms/B2CDataResidency) for more information. */ readonly location: string; /** * The name of the Azure AD B2C tenant resource. */ readonly name: string; /** * SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at [aka.ms/b2cBilling](https://aka.ms/b2cBilling). */ readonly sku: outputs.azureactivedirectory.B2CResourceSKUResponse; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.azureactivedirectory.SystemDataResponse; /** * Resource Tags */ readonly tags?: { [key: string]: string; }; /** * An identifier of the Azure AD B2C tenant. */ readonly tenantId?: string; /** * The type of the B2C tenant resource. */ readonly type: string; } /** * Get the Azure AD B2C tenant resource. * * Uses Azure REST API version 2023-05-17-preview. * * Other available API versions: 2021-04-01, 2023-01-18-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azureactivedirectory [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getB2CTenantOutput(args: GetB2CTenantOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetB2CTenantResult>; export interface GetB2CTenantOutputArgs { /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * The initial domain name of the Azure AD B2C tenant. */ resourceName: pulumi.Input<string>; }