This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.azureactivedirectory.getB2CTenant
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get the Azure AD B2C tenant resource. Azure REST API version: 2021-04-01.
Other available API versions: 2019-01-01-preview, 2023-01-18-preview, 2023-05-17-preview.
Using getB2CTenant
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getB2CTenant(args: GetB2CTenantArgs, opts?: InvokeOptions): Promise<GetB2CTenantResult>
function getB2CTenantOutput(args: GetB2CTenantOutputArgs, opts?: InvokeOptions): Output<GetB2CTenantResult>def get_b2_c_tenant(resource_group_name: Optional[str] = None,
                    resource_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetB2CTenantResult
def get_b2_c_tenant_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                    resource_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetB2CTenantResult]func LookupB2CTenant(ctx *Context, args *LookupB2CTenantArgs, opts ...InvokeOption) (*LookupB2CTenantResult, error)
func LookupB2CTenantOutput(ctx *Context, args *LookupB2CTenantOutputArgs, opts ...InvokeOption) LookupB2CTenantResultOutput> Note: This function is named LookupB2CTenant in the Go SDK.
public static class GetB2CTenant 
{
    public static Task<GetB2CTenantResult> InvokeAsync(GetB2CTenantArgs args, InvokeOptions? opts = null)
    public static Output<GetB2CTenantResult> Invoke(GetB2CTenantInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetB2CTenantResult> getB2CTenant(GetB2CTenantArgs args, InvokeOptions options)
public static Output<GetB2CTenantResult> getB2CTenant(GetB2CTenantArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:azureactivedirectory:getB2CTenant
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group.
- ResourceName string
- The initial domain name of the Azure AD B2C tenant.
- ResourceGroup stringName 
- The name of the resource group.
- ResourceName string
- The initial domain name of the Azure AD B2C tenant.
- resourceGroup StringName 
- The name of the resource group.
- resourceName String
- The initial domain name of the Azure AD B2C tenant.
- resourceGroup stringName 
- The name of the resource group.
- resourceName string
- The initial domain name of the Azure AD B2C tenant.
- resource_group_ strname 
- The name of the resource group.
- resource_name str
- The initial domain name of the Azure AD B2C tenant.
- resourceGroup StringName 
- The name of the resource group.
- resourceName String
- The initial domain name of the Azure AD B2C tenant.
getB2CTenant Result
The following output properties are available:
- Id string
- An identifier that represents the Azure AD B2C tenant resource.
- Location string
- 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 for more information.
- Name string
- The name of the Azure AD B2C tenant resource.
- Sku
Pulumi.Azure Native. Azure Active Directory. Outputs. B2CResource SKUResponse 
- SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- SystemData Pulumi.Azure Native. Azure Active Directory. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the B2C tenant resource.
- BillingConfig Pulumi.Azure Native. Azure Active Directory. Outputs. B2CTenant Resource Properties Response Billing Config 
- The billing configuration for the tenant.
- Dictionary<string, string>
- Resource Tags
- TenantId string
- An identifier of the Azure AD B2C tenant.
- Id string
- An identifier that represents the Azure AD B2C tenant resource.
- Location string
- 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 for more information.
- Name string
- The name of the Azure AD B2C tenant resource.
- Sku
B2CResourceSKUResponse 
- SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the B2C tenant resource.
- BillingConfig B2CTenantResource Properties Response Billing Config 
- The billing configuration for the tenant.
- map[string]string
- Resource Tags
- TenantId string
- An identifier of the Azure AD B2C tenant.
- id String
- An identifier that represents the Azure AD B2C tenant resource.
- location String
- 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 for more information.
- name String
- The name of the Azure AD B2C tenant resource.
- sku
B2CResourceSKUResponse 
- SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the B2C tenant resource.
- billingConfig B2CTenantResource Properties Response Billing Config 
- The billing configuration for the tenant.
- Map<String,String>
- Resource Tags
- tenantId String
- An identifier of the Azure AD B2C tenant.
- id string
- An identifier that represents the Azure AD B2C tenant resource.
- location string
- 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 for more information.
- name string
- The name of the Azure AD B2C tenant resource.
- sku
B2CResourceSKUResponse 
- SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the B2C tenant resource.
- billingConfig B2CTenantResource Properties Response Billing Config 
- The billing configuration for the tenant.
- {[key: string]: string}
- Resource Tags
- tenantId string
- An identifier of the Azure AD B2C tenant.
- id str
- An identifier that represents the Azure AD B2C tenant resource.
- location str
- 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 for more information.
- name str
- The name of the Azure AD B2C tenant resource.
- sku
B2CResourceSKUResponse 
- SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the B2C tenant resource.
- billing_config B2CTenantResource Properties Response Billing Config 
- The billing configuration for the tenant.
- Mapping[str, str]
- Resource Tags
- tenant_id str
- An identifier of the Azure AD B2C tenant.
- id String
- An identifier that represents the Azure AD B2C tenant resource.
- location String
- 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 for more information.
- name String
- The name of the Azure AD B2C tenant resource.
- sku Property Map
- SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the B2C tenant resource.
- billingConfig Property Map
- The billing configuration for the tenant.
- Map<String>
- Resource Tags
- tenantId String
- An identifier of the Azure AD B2C tenant.
Supporting Types
B2CResourceSKUResponse 
B2CTenantResourcePropertiesResponseBillingConfig     
- EffectiveStart stringDate Utc 
- The data from which the billing type took effect
- BillingType string
- The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- EffectiveStart stringDate Utc 
- The data from which the billing type took effect
- BillingType string
- The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- effectiveStart StringDate Utc 
- The data from which the billing type took effect
- billingType String
- The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- effectiveStart stringDate Utc 
- The data from which the billing type took effect
- billingType string
- The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- effective_start_ strdate_ utc 
- The data from which the billing type took effect
- billing_type str
- The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
- effectiveStart StringDate Utc 
- The data from which the billing type took effect
- billingType String
- The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at aka.ms/b2cBilling.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi