CIAMTenantArgs

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. 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}

Constructors

Link copied to clipboard
constructor(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)

Properties

Link copied to clipboard

These properties are used to create the Azure AD for customers tenant. These properties are not part of the Azure resource.

Link copied to clipboard
val location: Output<String>? = null

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
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val resourceName: Output<String>? = null

The initial sub domain of the tenant.

Link copied to clipboard
val sku: Output<CIAMResourceSKUArgs>? = null

SKU properties of the Azure AD for customers tenant. Learn more about Azure AD for customers billing at https://aka.ms/ciambilling.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource Tags

Link copied to clipboard
val tenantId: Output<String>? = null

An identifier of the Azure AD for customers tenant.

Functions

Link copied to clipboard
open override fun toJava(): CIAMTenantArgs