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

com.pulumi.azurenative.azureactivedirectory.CIAMTenantArgs 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.azureactivedirectory.inputs.CIAMResourceSKUArgs;
import com.pulumi.azurenative.azureactivedirectory.inputs.CreateCIAMTenantPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class CIAMTenantArgs extends com.pulumi.resources.ResourceArgs {

    public static final CIAMTenantArgs Empty = new CIAMTenantArgs();

    /**
     * These properties are used to create the Azure AD for customers tenant. These properties are not part of the Azure resource.
     * 
     */
    @Import(name="createTenantProperties", required=true)
    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 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.
     * 
     */
    @Import(name="location")
    private @Nullable 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 Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The initial sub domain of the tenant.
     * 
     */
    @Import(name="resourceName")
    private @Nullable Output resourceName;

    /**
     * @return The initial sub domain of the tenant.
     * 
     */
    public Optional> resourceName() {
        return Optional.ofNullable(this.resourceName);
    }

    /**
     * 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).
     * 
     */
    @Import(name="sku", required=true)
    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;
    }

    /**
     * Resource Tags
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource Tags
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * An identifier of the Azure AD for customers tenant.
     * 
     */
    @Import(name="tenantId")
    private @Nullable Output tenantId;

    /**
     * @return An identifier of the Azure AD for customers tenant.
     * 
     */
    public Optional> tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    private CIAMTenantArgs() {}

    private CIAMTenantArgs(CIAMTenantArgs $) {
        this.createTenantProperties = $.createTenantProperties;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceName = $.resourceName;
        this.sku = $.sku;
        this.tags = $.tags;
        this.tenantId = $.tenantId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(CIAMTenantArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private CIAMTenantArgs $;

        public Builder() {
            $ = new CIAMTenantArgs();
        }

        public Builder(CIAMTenantArgs defaults) {
            $ = new CIAMTenantArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param createTenantProperties These properties are used to create the Azure AD for customers tenant. These properties are not part of the Azure resource.
         * 
         * @return builder
         * 
         */
        public Builder createTenantProperties(Output createTenantProperties) {
            $.createTenantProperties = createTenantProperties;
            return this;
        }

        /**
         * @param createTenantProperties These properties are used to create the Azure AD for customers tenant. These properties are not part of the Azure resource.
         * 
         * @return builder
         * 
         */
        public Builder createTenantProperties(CreateCIAMTenantPropertiesArgs createTenantProperties) {
            return createTenantProperties(Output.of(createTenantProperties));
        }

        /**
         * @param location 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.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location 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.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param resourceName The initial sub domain of the tenant.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(@Nullable Output resourceName) {
            $.resourceName = resourceName;
            return this;
        }

        /**
         * @param resourceName The initial sub domain of the tenant.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(String resourceName) {
            return resourceName(Output.of(resourceName));
        }

        /**
         * @param sku 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).
         * 
         * @return builder
         * 
         */
        public Builder sku(Output sku) {
            $.sku = sku;
            return this;
        }

        /**
         * @param sku 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).
         * 
         * @return builder
         * 
         */
        public Builder sku(CIAMResourceSKUArgs sku) {
            return sku(Output.of(sku));
        }

        /**
         * @param tags Resource Tags
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource Tags
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tenantId An identifier of the Azure AD for customers tenant.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(@Nullable Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId An identifier of the Azure AD for customers tenant.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public CIAMTenantArgs build() {
            if ($.createTenantProperties == null) {
                throw new MissingRequiredPropertyException("CIAMTenantArgs", "createTenantProperties");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("CIAMTenantArgs", "resourceGroupName");
            }
            if ($.sku == null) {
                throw new MissingRequiredPropertyException("CIAMTenantArgs", "sku");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy