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

com.pulumi.azure.hdinsight.inputs.HadoopClusterSecurityProfileArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.azure.hdinsight.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final HadoopClusterSecurityProfileArgs Empty = new HadoopClusterSecurityProfileArgs();

    /**
     * The resource ID of the Azure Active Directory Domain Service. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="aaddsResourceId", required=true)
    private Output aaddsResourceId;

    /**
     * @return The resource ID of the Azure Active Directory Domain Service. Changing this forces a new resource to be created.
     * 
     */
    public Output aaddsResourceId() {
        return this.aaddsResourceId;
    }

    /**
     * A list of the distinguished names for the cluster user groups. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="clusterUsersGroupDns")
    private @Nullable Output> clusterUsersGroupDns;

    /**
     * @return A list of the distinguished names for the cluster user groups. Changing this forces a new resource to be created.
     * 
     */
    public Optional>> clusterUsersGroupDns() {
        return Optional.ofNullable(this.clusterUsersGroupDns);
    }

    /**
     * The name of the Azure Active Directory Domain. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="domainName", required=true)
    private Output domainName;

    /**
     * @return The name of the Azure Active Directory Domain. Changing this forces a new resource to be created.
     * 
     */
    public Output domainName() {
        return this.domainName;
    }

    /**
     * The user password of the Azure Active Directory Domain. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="domainUserPassword", required=true)
    private Output domainUserPassword;

    /**
     * @return The user password of the Azure Active Directory Domain. Changing this forces a new resource to be created.
     * 
     */
    public Output domainUserPassword() {
        return this.domainUserPassword;
    }

    /**
     * The username of the Azure Active Directory Domain. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="domainUsername", required=true)
    private Output domainUsername;

    /**
     * @return The username of the Azure Active Directory Domain. Changing this forces a new resource to be created.
     * 
     */
    public Output domainUsername() {
        return this.domainUsername;
    }

    /**
     * A list of the LDAPS URLs to communicate with the Azure Active Directory. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="ldapsUrls", required=true)
    private Output> ldapsUrls;

    /**
     * @return A list of the LDAPS URLs to communicate with the Azure Active Directory. Changing this forces a new resource to be created.
     * 
     */
    public Output> ldapsUrls() {
        return this.ldapsUrls;
    }

    /**
     * The User Assigned Identity for the HDInsight Cluster. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="msiResourceId", required=true)
    private Output msiResourceId;

    /**
     * @return The User Assigned Identity for the HDInsight Cluster. Changing this forces a new resource to be created.
     * 
     */
    public Output msiResourceId() {
        return this.msiResourceId;
    }

    private HadoopClusterSecurityProfileArgs() {}

    private HadoopClusterSecurityProfileArgs(HadoopClusterSecurityProfileArgs $) {
        this.aaddsResourceId = $.aaddsResourceId;
        this.clusterUsersGroupDns = $.clusterUsersGroupDns;
        this.domainName = $.domainName;
        this.domainUserPassword = $.domainUserPassword;
        this.domainUsername = $.domainUsername;
        this.ldapsUrls = $.ldapsUrls;
        this.msiResourceId = $.msiResourceId;
    }

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

    public static final class Builder {
        private HadoopClusterSecurityProfileArgs $;

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

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

        /**
         * @param aaddsResourceId The resource ID of the Azure Active Directory Domain Service. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder aaddsResourceId(Output aaddsResourceId) {
            $.aaddsResourceId = aaddsResourceId;
            return this;
        }

        /**
         * @param aaddsResourceId The resource ID of the Azure Active Directory Domain Service. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder aaddsResourceId(String aaddsResourceId) {
            return aaddsResourceId(Output.of(aaddsResourceId));
        }

        /**
         * @param clusterUsersGroupDns A list of the distinguished names for the cluster user groups. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder clusterUsersGroupDns(@Nullable Output> clusterUsersGroupDns) {
            $.clusterUsersGroupDns = clusterUsersGroupDns;
            return this;
        }

        /**
         * @param clusterUsersGroupDns A list of the distinguished names for the cluster user groups. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder clusterUsersGroupDns(List clusterUsersGroupDns) {
            return clusterUsersGroupDns(Output.of(clusterUsersGroupDns));
        }

        /**
         * @param clusterUsersGroupDns A list of the distinguished names for the cluster user groups. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder clusterUsersGroupDns(String... clusterUsersGroupDns) {
            return clusterUsersGroupDns(List.of(clusterUsersGroupDns));
        }

        /**
         * @param domainName The name of the Azure Active Directory Domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder domainName(Output domainName) {
            $.domainName = domainName;
            return this;
        }

        /**
         * @param domainName The name of the Azure Active Directory Domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder domainName(String domainName) {
            return domainName(Output.of(domainName));
        }

        /**
         * @param domainUserPassword The user password of the Azure Active Directory Domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder domainUserPassword(Output domainUserPassword) {
            $.domainUserPassword = domainUserPassword;
            return this;
        }

        /**
         * @param domainUserPassword The user password of the Azure Active Directory Domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder domainUserPassword(String domainUserPassword) {
            return domainUserPassword(Output.of(domainUserPassword));
        }

        /**
         * @param domainUsername The username of the Azure Active Directory Domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder domainUsername(Output domainUsername) {
            $.domainUsername = domainUsername;
            return this;
        }

        /**
         * @param domainUsername The username of the Azure Active Directory Domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder domainUsername(String domainUsername) {
            return domainUsername(Output.of(domainUsername));
        }

        /**
         * @param ldapsUrls A list of the LDAPS URLs to communicate with the Azure Active Directory. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder ldapsUrls(Output> ldapsUrls) {
            $.ldapsUrls = ldapsUrls;
            return this;
        }

        /**
         * @param ldapsUrls A list of the LDAPS URLs to communicate with the Azure Active Directory. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder ldapsUrls(List ldapsUrls) {
            return ldapsUrls(Output.of(ldapsUrls));
        }

        /**
         * @param ldapsUrls A list of the LDAPS URLs to communicate with the Azure Active Directory. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder ldapsUrls(String... ldapsUrls) {
            return ldapsUrls(List.of(ldapsUrls));
        }

        /**
         * @param msiResourceId The User Assigned Identity for the HDInsight Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder msiResourceId(Output msiResourceId) {
            $.msiResourceId = msiResourceId;
            return this;
        }

        /**
         * @param msiResourceId The User Assigned Identity for the HDInsight Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder msiResourceId(String msiResourceId) {
            return msiResourceId(Output.of(msiResourceId));
        }

        public HadoopClusterSecurityProfileArgs build() {
            if ($.aaddsResourceId == null) {
                throw new MissingRequiredPropertyException("HadoopClusterSecurityProfileArgs", "aaddsResourceId");
            }
            if ($.domainName == null) {
                throw new MissingRequiredPropertyException("HadoopClusterSecurityProfileArgs", "domainName");
            }
            if ($.domainUserPassword == null) {
                throw new MissingRequiredPropertyException("HadoopClusterSecurityProfileArgs", "domainUserPassword");
            }
            if ($.domainUsername == null) {
                throw new MissingRequiredPropertyException("HadoopClusterSecurityProfileArgs", "domainUsername");
            }
            if ($.ldapsUrls == null) {
                throw new MissingRequiredPropertyException("HadoopClusterSecurityProfileArgs", "ldapsUrls");
            }
            if ($.msiResourceId == null) {
                throw new MissingRequiredPropertyException("HadoopClusterSecurityProfileArgs", "msiResourceId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy