Directory Args
Manages an AAD B2C Directory.
Example Usage
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());
}
}
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
Constructors
Functions
Properties
Country code of the B2C tenant. The country_code
should be valid for the specified data_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.
Location in which the B2C tenant is hosted and data resides. The data_residency_location
should be valid for the specified country_code
. See official docs for more information. Changing this forces a new AAD B2C Directory to be created. Possible values are Asia Pacific
, Australia
, Europe
, Global
and United States
.
Billing SKU for the B2C tenant. Must be one of: PremiumP1
or PremiumP2
(Standard
is not supported). See official docs for more information.