All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.azureactivedirectory.CIAMTenant Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.azureactivedirectory;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.azureactivedirectory.CIAMTenantArgs;
import com.pulumi.azurenative.azureactivedirectory.outputs.CIAMResourceSKUResponse;
import com.pulumi.azurenative.azureactivedirectory.outputs.CreateCIAMTenantPropertiesResponse;
import com.pulumi.azurenative.azureactivedirectory.outputs.SystemDataResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * The Azure AD for customers resource.
 * Azure REST API version: 2023-05-17-preview.
 * 
 * ## Example Usage
 * ### Create_CIAM_tenant
 * 
 * 
 * {@code
 * 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. * * ```sh * $ pulumi import azure-native:azureactivedirectory:CIAMTenant contoso /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/ciamDirectories/{resourceName} * ``` * */ @ResourceType(type="azure-native:azureactivedirectory:CIAMTenant") public class CIAMTenant extends com.pulumi.resources.CustomResource { /** * 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](https://aka.ms/b2cbilling). * */ @Export(name="billingType", refs={String.class}, tree="[0]") private Output billingType; /** * @return 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](https://aka.ms/b2cbilling). * */ public Output billingType() { return this.billingType; } /** * These properties are used to create the Azure AD for customers tenant. These properties are not part of the Azure resource. * */ @Export(name="createTenantProperties", refs={CreateCIAMTenantPropertiesResponse.class}, tree="[0]") private Output createTenantProperties; /** * @return These properties are used to create the Azure AD for customers tenant. These properties are not part of the Azure resource. * */ public Output createTenantProperties() { return this.createTenantProperties; } /** * The domain name of the tenant * */ @Export(name="domainName", refs={String.class}, tree="[0]") private Output domainName; /** * @return The domain name of the tenant * */ public Output domainName() { return this.domainName; } /** * The data from which the billing type took effect * */ @Export(name="effectiveStartDateUtc", refs={String.class}, tree="[0]") private Output effectiveStartDateUtc; /** * @return The data from which the billing type took effect * */ public Output effectiveStartDateUtc() { return this.effectiveStartDateUtc; } /** * 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](https://aka.ms/ciam-data-location) for more information. * */ @Export(name="location", refs={String.class}, tree="[0]") private Output location; /** * @return 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](https://aka.ms/ciam-data-location) for more information. * */ public Output location() { return this.location; } /** * The name of the Azure AD for customers tenant resource. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return The name of the Azure AD for customers tenant resource. * */ public Output name() { return this.name; } @Export(name="provisioningState", refs={String.class}, tree="[0]") private Output provisioningState; public Output provisioningState() { return this.provisioningState; } /** * SKU properties of the Azure AD for customers tenant. Learn more about Azure AD for customers billing at [https://aka.ms/ciambilling](https://aka.ms/ciambilling). * */ @Export(name="sku", refs={CIAMResourceSKUResponse.class}, tree="[0]") private Output sku; /** * @return SKU properties of the Azure AD for customers tenant. Learn more about Azure AD for customers billing at [https://aka.ms/ciambilling](https://aka.ms/ciambilling). * */ public Output sku() { return this.sku; } /** * Metadata pertaining to creation and last modification of the resource. * */ @Export(name="systemData", refs={SystemDataResponse.class}, tree="[0]") private Output systemData; /** * @return Metadata pertaining to creation and last modification of the resource. * */ public Output systemData() { return this.systemData; } /** * Resource Tags * */ @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> tags; /** * @return Resource Tags * */ public Output>> tags() { return Codegen.optional(this.tags); } /** * An identifier of the Azure AD for customers tenant. * */ @Export(name="tenantId", refs={String.class}, tree="[0]") private Output tenantId; /** * @return An identifier of the Azure AD for customers tenant. * */ public Output> tenantId() { return Codegen.optional(this.tenantId); } /** * The type of the Azure AD for customers tenant resource. * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** * @return The type of the Azure AD for customers tenant resource. * */ public Output type() { return this.type; } /** * * @param name The _unique_ name of the resulting resource. */ public CIAMTenant(java.lang.String name) { this(name, CIAMTenantArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public CIAMTenant(java.lang.String name, CIAMTenantArgs args) { this(name, args, null); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. * @param options A bag of options that control this resource's behavior. */ public CIAMTenant(java.lang.String name, CIAMTenantArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:azureactivedirectory:CIAMTenant", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private CIAMTenant(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:azureactivedirectory:CIAMTenant", name, null, makeResourceOptions(options, id), false); } private static CIAMTenantArgs makeArgs(CIAMTenantArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? CIAMTenantArgs.Empty : args; } private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .aliases(List.of( Output.of(Alias.builder().type("azure-native:azureactivedirectory/v20230517preview:CIAMTenant").build()) )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } /** * Get an existing Host resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param options Optional settings to control the behavior of the CustomResource. */ public static CIAMTenant get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new CIAMTenant(name, id, options); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy