CIAMTenant Args
data class CIAMTenantArgs(val createTenantProperties: Output<CreateCIAMTenantPropertiesArgs>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null, val sku: Output<CIAMResourceSKUArgs>? = null, val tags: Output<Map<String, String>>? = null, val tenantId: Output<String>? = null) : ConvertibleToJava<CIAMTenantArgs>
The Azure AD for customers resource. Azure REST 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 = "Standard",
},
});
});Content copied to clipboard
package main
import (
"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("Standard"),
},
})
if err != nil {
return err
}
return nil
})
}Content copied to clipboard
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 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(Map.ofEntries(
Map.entry("countryCode", "US"),
Map.entry("displayName", "Contoso")
))
.location("United States")
.resourceGroupName("contosoResourceGroup")
.resourceName("contoso")
.sku(Map.of("name", "Standard"))
.build());
}
}Content copied to clipboard
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}Content copied to clipboard
Constructors
Link copied to clipboard
fun CIAMTenantArgs(createTenantProperties: Output<CreateCIAMTenantPropertiesArgs>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null, sku: Output<CIAMResourceSKUArgs>? = null, tags: Output<Map<String, String>>? = null, tenantId: Output<String>? = null)
Functions
Properties
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard
SKU properties of the Azure AD for customers tenant. Learn more about Azure AD for customers billing at https://aka.ms/ciambilling.