We recommend using Azure Native.
azure.aadb2c.Directory
Explore with Pulumi AI
Manages an AAD B2C Directory.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.aadb2c.Directory("example", {
countryCode: "US",
dataResidencyLocation: "United States",
displayName: "example-b2c-tenant",
domainName: "exampleb2ctenant.onmicrosoft.com",
resourceGroupName: "example-rg",
skuName: "PremiumP1",
});
import pulumi
import pulumi_azure as azure
example = azure.aadb2c.Directory("example",
country_code="US",
data_residency_location="United States",
display_name="example-b2c-tenant",
domain_name="exampleb2ctenant.onmicrosoft.com",
resource_group_name="example-rg",
sku_name="PremiumP1")
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/aadb2c"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aadb2c.NewDirectory(ctx, "example", &aadb2c.DirectoryArgs{
CountryCode: pulumi.String("US"),
DataResidencyLocation: pulumi.String("United States"),
DisplayName: pulumi.String("example-b2c-tenant"),
DomainName: pulumi.String("exampleb2ctenant.onmicrosoft.com"),
ResourceGroupName: pulumi.String("example-rg"),
SkuName: pulumi.String("PremiumP1"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.AadB2C.Directory("example", new()
{
CountryCode = "US",
DataResidencyLocation = "United States",
DisplayName = "example-b2c-tenant",
DomainName = "exampleb2ctenant.onmicrosoft.com",
ResourceGroupName = "example-rg",
SkuName = "PremiumP1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.aadb2c.Directory;
import com.pulumi.azure.aadb2c.DirectoryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Directory("example", DirectoryArgs.builder()
.countryCode("US")
.dataResidencyLocation("United States")
.displayName("example-b2c-tenant")
.domainName("exampleb2ctenant.onmicrosoft.com")
.resourceGroupName("example-rg")
.skuName("PremiumP1")
.build());
}
}
resources:
example:
type: azure:aadb2c:Directory
properties:
countryCode: US
dataResidencyLocation: United States
displayName: example-b2c-tenant
domainName: exampleb2ctenant.onmicrosoft.com
resourceGroupName: example-rg
skuName: PremiumP1
Create Directory Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Directory(name: string, args: DirectoryArgs, opts?: CustomResourceOptions);
@overload
def Directory(resource_name: str,
args: DirectoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Directory(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_residency_location: Optional[str] = None,
domain_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
sku_name: Optional[str] = None,
country_code: Optional[str] = None,
display_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewDirectory(ctx *Context, name string, args DirectoryArgs, opts ...ResourceOption) (*Directory, error)
public Directory(string name, DirectoryArgs args, CustomResourceOptions? opts = null)
public Directory(String name, DirectoryArgs args)
public Directory(String name, DirectoryArgs args, CustomResourceOptions options)
type: azure:aadb2c:Directory
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DirectoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DirectoryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DirectoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DirectoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DirectoryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var directoryResource = new Azure.AadB2C.Directory("directoryResource", new()
{
DataResidencyLocation = "string",
DomainName = "string",
ResourceGroupName = "string",
SkuName = "string",
CountryCode = "string",
DisplayName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := aadb2c.NewDirectory(ctx, "directoryResource", &aadb2c.DirectoryArgs{
DataResidencyLocation: pulumi.String("string"),
DomainName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
SkuName: pulumi.String("string"),
CountryCode: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var directoryResource = new Directory("directoryResource", DirectoryArgs.builder()
.dataResidencyLocation("string")
.domainName("string")
.resourceGroupName("string")
.skuName("string")
.countryCode("string")
.displayName("string")
.tags(Map.of("string", "string"))
.build());
directory_resource = azure.aadb2c.Directory("directoryResource",
data_residency_location="string",
domain_name="string",
resource_group_name="string",
sku_name="string",
country_code="string",
display_name="string",
tags={
"string": "string",
})
const directoryResource = new azure.aadb2c.Directory("directoryResource", {
dataResidencyLocation: "string",
domainName: "string",
resourceGroupName: "string",
skuName: "string",
countryCode: "string",
displayName: "string",
tags: {
string: "string",
},
});
type: azure:aadb2c:Directory
properties:
countryCode: string
dataResidencyLocation: string
displayName: string
domainName: string
resourceGroupName: string
skuName: string
tags:
string: string
Directory Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Directory resource accepts the following input properties:
- Data
Residency stringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - Domain
Name string - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - Resource
Group stringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- Sku
Name string - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - Country
Code string - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - Display
Name string - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the AAD B2C Directory.
- Data
Residency stringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - Domain
Name string - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - Resource
Group stringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- Sku
Name string - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - Country
Code string - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - Display
Name string - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- map[string]string
- A mapping of tags which should be assigned to the AAD B2C Directory.
- data
Residency StringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - domain
Name String - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - resource
Group StringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- sku
Name String - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - country
Code String - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - display
Name String - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the AAD B2C Directory.
- data
Residency stringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - domain
Name string - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - resource
Group stringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- sku
Name string - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - country
Code string - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - display
Name string - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the AAD B2C Directory.
- data_
residency_ strlocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - domain_
name str - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - resource_
group_ strname - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- sku_
name str - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - country_
code str - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - display_
name str - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the AAD B2C Directory.
- data
Residency StringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - domain
Name String - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - resource
Group StringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- sku
Name String - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - country
Code String - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - display
Name String - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- Map<String>
- A mapping of tags which should be assigned to the AAD B2C Directory.
Outputs
All input properties are implicitly available as output properties. Additionally, the Directory resource produces the following output properties:
- Billing
Type string - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - Effective
Start stringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tenant
Id string - The Tenant ID for the AAD B2C tenant.
- Billing
Type string - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - Effective
Start stringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tenant
Id string - The Tenant ID for the AAD B2C tenant.
- billing
Type String - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - effective
Start StringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- id String
- The provider-assigned unique ID for this managed resource.
- tenant
Id String - The Tenant ID for the AAD B2C tenant.
- billing
Type string - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - effective
Start stringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- id string
- The provider-assigned unique ID for this managed resource.
- tenant
Id string - The Tenant ID for the AAD B2C tenant.
- billing_
type str - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - effective_
start_ strdate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- id str
- The provider-assigned unique ID for this managed resource.
- tenant_
id str - The Tenant ID for the AAD B2C tenant.
- billing
Type String - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - effective
Start StringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- id String
- The provider-assigned unique ID for this managed resource.
- tenant
Id String - The Tenant ID for the AAD B2C tenant.
Look up Existing Directory Resource
Get an existing Directory resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DirectoryState, opts?: CustomResourceOptions): Directory
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
billing_type: Optional[str] = None,
country_code: Optional[str] = None,
data_residency_location: Optional[str] = None,
display_name: Optional[str] = None,
domain_name: Optional[str] = None,
effective_start_date: Optional[str] = None,
resource_group_name: Optional[str] = None,
sku_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tenant_id: Optional[str] = None) -> Directory
func GetDirectory(ctx *Context, name string, id IDInput, state *DirectoryState, opts ...ResourceOption) (*Directory, error)
public static Directory Get(string name, Input<string> id, DirectoryState? state, CustomResourceOptions? opts = null)
public static Directory get(String name, Output<String> id, DirectoryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Billing
Type string - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - Country
Code string - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - Data
Residency stringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - Display
Name string - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- Domain
Name string - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - Effective
Start stringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- Resource
Group stringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- Sku
Name string - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - Dictionary<string, string>
- A mapping of tags which should be assigned to the AAD B2C Directory.
- Tenant
Id string - The Tenant ID for the AAD B2C tenant.
- Billing
Type string - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - Country
Code string - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - Data
Residency stringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - Display
Name string - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- Domain
Name string - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - Effective
Start stringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- Resource
Group stringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- Sku
Name string - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - map[string]string
- A mapping of tags which should be assigned to the AAD B2C Directory.
- Tenant
Id string - The Tenant ID for the AAD B2C tenant.
- billing
Type String - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - country
Code String - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - data
Residency StringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - display
Name String - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- domain
Name String - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - effective
Start StringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- resource
Group StringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- sku
Name String - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - Map<String,String>
- A mapping of tags which should be assigned to the AAD B2C Directory.
- tenant
Id String - The Tenant ID for the AAD B2C tenant.
- billing
Type string - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - country
Code string - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - data
Residency stringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - display
Name string - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- domain
Name string - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - effective
Start stringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- resource
Group stringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- sku
Name string - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - {[key: string]: string}
- A mapping of tags which should be assigned to the AAD B2C Directory.
- tenant
Id string - The Tenant ID for the AAD B2C tenant.
- billing_
type str - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - country_
code str - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - data_
residency_ strlocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - display_
name str - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- domain_
name str - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - effective_
start_ strdate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- resource_
group_ strname - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- sku_
name str - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - Mapping[str, str]
- A mapping of tags which should be assigned to the AAD B2C Directory.
- tenant_
id str - The Tenant ID for the AAD B2C tenant.
- billing
Type String - The type of billing for the AAD B2C tenant. Possible values include:
MAU
orAuths
. - country
Code String - Country code of the B2C tenant. The
country_code
should be valid for the specifieddata_residency_location
. See official docs for valid country codes. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created. - data
Residency StringLocation - Location in which the B2C tenant is hosted and data resides. The
data_residency_location
should be valid for the specifiedcountry_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values areAsia Pacific
,Australia
,Europe
,Global
andUnited States
. - display
Name String - The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
- domain
Name String - Domain name of the B2C tenant, including the
.onmicrosoft.com
suffix. Changing this forces a new AAD B2C Directory to be created. - effective
Start StringDate - The date from which the billing type took effect. May not be populated until after the first billing cycle.
- resource
Group StringName - The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
- sku
Name String - Billing SKU for the B2C tenant. Must be one of:
PremiumP1
orPremiumP2
(Standard
is not supported). See official docs for more information. - Map<String>
- A mapping of tags which should be assigned to the AAD B2C Directory.
- tenant
Id String - The Tenant ID for the AAD B2C tenant.
Import
AAD B2C Directories can be imported using the resource id
, e.g.
$ pulumi import azure:aadb2c/directory:Directory example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/example-resource-group/providers/Microsoft.AzureActiveDirectory/b2cDirectories/directory-name
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.