CIAMTenant
The Azure AD for customers resource. Uses Azure REST API version 2023-05-17-preview. In version 2.x of the Azure Native provider, it used API version 2023-05-17-preview.
Example Usage
Create_CIAM_tenant
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var ciamTenant = new AzureNative.AzureActiveDirectory.CIAMTenant("ciamTenant", new()
{
CreateTenantProperties = new AzureNative.AzureActiveDirectory.Inputs.CreateCIAMTenantPropertiesArgs
{
CountryCode = "US",
DisplayName = "Contoso",
},
Location = "United States",
ResourceGroupName = "contosoResourceGroup",
ResourceName = "contoso",
Sku = new AzureNative.AzureActiveDirectory.Inputs.CIAMResourceSKUArgs
{
Name = AzureNative.AzureActiveDirectory.CIAMResourceSKUName.Standard,
Tier = AzureNative.AzureActiveDirectory.CIAMResourceSKUTier.A0,
},
});
});
package main
import (
azureactivedirectory "github.com/pulumi/pulumi-azure-native-sdk/azureactivedirectory/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azureactivedirectory.NewCIAMTenant(ctx, "ciamTenant", &azureactivedirectory.CIAMTenantArgs{
CreateTenantProperties: &azureactivedirectory.CreateCIAMTenantPropertiesArgs{
CountryCode: pulumi.String("US"),
DisplayName: pulumi.String("Contoso"),
},
Location: pulumi.String("United States"),
ResourceGroupName: pulumi.String("contosoResourceGroup"),
ResourceName: pulumi.String("contoso"),
Sku: &azureactivedirectory.CIAMResourceSKUArgs{
Name: pulumi.String(azureactivedirectory.CIAMResourceSKUNameStandard),
Tier: pulumi.String(azureactivedirectory.CIAMResourceSKUTierA0),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.azureactivedirectory.CIAMTenant;
import com.pulumi.azurenative.azureactivedirectory.CIAMTenantArgs;
import com.pulumi.azurenative.azureactivedirectory.inputs.CreateCIAMTenantPropertiesArgs;
import com.pulumi.azurenative.azureactivedirectory.inputs.CIAMResourceSKUArgs;
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 ciamTenant = new CIAMTenant("ciamTenant", CIAMTenantArgs.builder()
.createTenantProperties(CreateCIAMTenantPropertiesArgs.builder()
.countryCode("US")
.displayName("Contoso")
.build())
.location("United States")
.resourceGroupName("contosoResourceGroup")
.resourceName("contoso")
.sku(CIAMResourceSKUArgs.builder()
.name("Standard")
.tier("A0")
.build())
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azureactivedirectory:CIAMTenant contoso /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/ciamDirectories/{resourceName}
Properties
The Azure API version of the resource.
The type of billing. Will be MAU for all new customers. Cannot be changed if value is 'MAU'. Learn more about Azure AD for customers billing at aka.ms/b2cBilling.
These properties are used to create the Azure AD for customers tenant. These properties are not part of the Azure resource.
The domain name of the tenant
The data from which the billing type took effect
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.
SKU properties of the Azure AD for customers tenant. Learn more about Azure AD for customers billing at https://aka.ms/ciambilling.
Metadata pertaining to creation and last modification of the resource.