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

com.pulumi.azurenative.migrate.inputs.GmsaAuthenticationPropertiesArgs 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.migrate.inputs;

import com.pulumi.azurenative.migrate.inputs.KeyVaultSecretStorePropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Class for GMSA authentication details to configure Active Directory connectivity.
 * 
 */
public final class GmsaAuthenticationPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final GmsaAuthenticationPropertiesArgs Empty = new GmsaAuthenticationPropertiesArgs();

    /**
     * Gets or sets the list of dns server that can resolve the Active Directory Domain Name/Address.
     * 
     */
    @Import(name="adDomainControllerDns")
    private @Nullable Output adDomainControllerDns;

    /**
     * @return Gets or sets the list of dns server that can resolve the Active Directory Domain Name/Address.
     * 
     */
    public Optional> adDomainControllerDns() {
        return Optional.ofNullable(this.adDomainControllerDns);
    }

    /**
     * Gets or sets the FQDN of the Active Directory Domain. For e.g. 'contoso.local', 'fareast.corp.microsoft.com' etc.
     * 
     */
    @Import(name="adDomainFqdn")
    private @Nullable Output adDomainFqdn;

    /**
     * @return Gets or sets the FQDN of the Active Directory Domain. For e.g. 'contoso.local', 'fareast.corp.microsoft.com' etc.
     * 
     */
    public Optional> adDomainFqdn() {
        return Optional.ofNullable(this.adDomainFqdn);
    }

    @Import(name="akvProperties")
    private @Nullable Output akvProperties;

    public Optional> akvProperties() {
        return Optional.ofNullable(this.akvProperties);
    }

    /**
     * Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.DomainAdminUsername.
     * 
     */
    @Import(name="domainAdminPassword")
    private @Nullable Output domainAdminPassword;

    /**
     * @return Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.DomainAdminUsername.
     * 
     */
    public Optional> domainAdminPassword() {
        return Optional.ofNullable(this.domainAdminPassword);
    }

    /**
     * Gets or sets the name of the user having admin rights on the Active Directory Domain Controller.
     * 
     */
    @Import(name="domainAdminUsername")
    private @Nullable Output domainAdminUsername;

    /**
     * @return Gets or sets the name of the user having admin rights on the Active Directory Domain Controller.
     * 
     */
    public Optional> domainAdminUsername() {
        return Optional.ofNullable(this.domainAdminUsername);
    }

    /**
     * Gets or sets the address of the Active Directory Domain Controller running Domain Services.
     * 
     */
    @Import(name="domainControllerAddress")
    private @Nullable Output domainControllerAddress;

    /**
     * @return Gets or sets the address of the Active Directory Domain Controller running Domain Services.
     * 
     */
    public Optional> domainControllerAddress() {
        return Optional.ofNullable(this.domainControllerAddress);
    }

    /**
     * Gets or sets the name to be used for GMSA.
     * 
     */
    @Import(name="gmsaAccountName")
    private @Nullable Output gmsaAccountName;

    /**
     * @return Gets or sets the name to be used for GMSA.
     * 
     */
    public Optional> gmsaAccountName() {
        return Optional.ofNullable(this.gmsaAccountName);
    }

    /**
     * Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.GmsaUsername.
     * 
     */
    @Import(name="gmsaUserPassword")
    private @Nullable Output gmsaUserPassword;

    /**
     * @return Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.GmsaUsername.
     * 
     */
    public Optional> gmsaUserPassword() {
        return Optional.ofNullable(this.gmsaUserPassword);
    }

    /**
     * Gets or sets username of the user having authorization to access GMSA on Active Directory.
     * 
     */
    @Import(name="gmsaUsername")
    private @Nullable Output gmsaUsername;

    /**
     * @return Gets or sets username of the user having authorization to access GMSA on Active Directory.
     * 
     */
    public Optional> gmsaUsername() {
        return Optional.ofNullable(this.gmsaUsername);
    }

    private GmsaAuthenticationPropertiesArgs() {}

    private GmsaAuthenticationPropertiesArgs(GmsaAuthenticationPropertiesArgs $) {
        this.adDomainControllerDns = $.adDomainControllerDns;
        this.adDomainFqdn = $.adDomainFqdn;
        this.akvProperties = $.akvProperties;
        this.domainAdminPassword = $.domainAdminPassword;
        this.domainAdminUsername = $.domainAdminUsername;
        this.domainControllerAddress = $.domainControllerAddress;
        this.gmsaAccountName = $.gmsaAccountName;
        this.gmsaUserPassword = $.gmsaUserPassword;
        this.gmsaUsername = $.gmsaUsername;
    }

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

    public static final class Builder {
        private GmsaAuthenticationPropertiesArgs $;

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

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

        /**
         * @param adDomainControllerDns Gets or sets the list of dns server that can resolve the Active Directory Domain Name/Address.
         * 
         * @return builder
         * 
         */
        public Builder adDomainControllerDns(@Nullable Output adDomainControllerDns) {
            $.adDomainControllerDns = adDomainControllerDns;
            return this;
        }

        /**
         * @param adDomainControllerDns Gets or sets the list of dns server that can resolve the Active Directory Domain Name/Address.
         * 
         * @return builder
         * 
         */
        public Builder adDomainControllerDns(String adDomainControllerDns) {
            return adDomainControllerDns(Output.of(adDomainControllerDns));
        }

        /**
         * @param adDomainFqdn Gets or sets the FQDN of the Active Directory Domain. For e.g. 'contoso.local', 'fareast.corp.microsoft.com' etc.
         * 
         * @return builder
         * 
         */
        public Builder adDomainFqdn(@Nullable Output adDomainFqdn) {
            $.adDomainFqdn = adDomainFqdn;
            return this;
        }

        /**
         * @param adDomainFqdn Gets or sets the FQDN of the Active Directory Domain. For e.g. 'contoso.local', 'fareast.corp.microsoft.com' etc.
         * 
         * @return builder
         * 
         */
        public Builder adDomainFqdn(String adDomainFqdn) {
            return adDomainFqdn(Output.of(adDomainFqdn));
        }

        public Builder akvProperties(@Nullable Output akvProperties) {
            $.akvProperties = akvProperties;
            return this;
        }

        public Builder akvProperties(KeyVaultSecretStorePropertiesArgs akvProperties) {
            return akvProperties(Output.of(akvProperties));
        }

        /**
         * @param domainAdminPassword Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.DomainAdminUsername.
         * 
         * @return builder
         * 
         */
        public Builder domainAdminPassword(@Nullable Output domainAdminPassword) {
            $.domainAdminPassword = domainAdminPassword;
            return this;
        }

        /**
         * @param domainAdminPassword Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.DomainAdminUsername.
         * 
         * @return builder
         * 
         */
        public Builder domainAdminPassword(String domainAdminPassword) {
            return domainAdminPassword(Output.of(domainAdminPassword));
        }

        /**
         * @param domainAdminUsername Gets or sets the name of the user having admin rights on the Active Directory Domain Controller.
         * 
         * @return builder
         * 
         */
        public Builder domainAdminUsername(@Nullable Output domainAdminUsername) {
            $.domainAdminUsername = domainAdminUsername;
            return this;
        }

        /**
         * @param domainAdminUsername Gets or sets the name of the user having admin rights on the Active Directory Domain Controller.
         * 
         * @return builder
         * 
         */
        public Builder domainAdminUsername(String domainAdminUsername) {
            return domainAdminUsername(Output.of(domainAdminUsername));
        }

        /**
         * @param domainControllerAddress Gets or sets the address of the Active Directory Domain Controller running Domain Services.
         * 
         * @return builder
         * 
         */
        public Builder domainControllerAddress(@Nullable Output domainControllerAddress) {
            $.domainControllerAddress = domainControllerAddress;
            return this;
        }

        /**
         * @param domainControllerAddress Gets or sets the address of the Active Directory Domain Controller running Domain Services.
         * 
         * @return builder
         * 
         */
        public Builder domainControllerAddress(String domainControllerAddress) {
            return domainControllerAddress(Output.of(domainControllerAddress));
        }

        /**
         * @param gmsaAccountName Gets or sets the name to be used for GMSA.
         * 
         * @return builder
         * 
         */
        public Builder gmsaAccountName(@Nullable Output gmsaAccountName) {
            $.gmsaAccountName = gmsaAccountName;
            return this;
        }

        /**
         * @param gmsaAccountName Gets or sets the name to be used for GMSA.
         * 
         * @return builder
         * 
         */
        public Builder gmsaAccountName(String gmsaAccountName) {
            return gmsaAccountName(Output.of(gmsaAccountName));
        }

        /**
         * @param gmsaUserPassword Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.GmsaUsername.
         * 
         * @return builder
         * 
         */
        public Builder gmsaUserPassword(@Nullable Output gmsaUserPassword) {
            $.gmsaUserPassword = gmsaUserPassword;
            return this;
        }

        /**
         * @param gmsaUserPassword Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.GmsaUsername.
         * 
         * @return builder
         * 
         */
        public Builder gmsaUserPassword(String gmsaUserPassword) {
            return gmsaUserPassword(Output.of(gmsaUserPassword));
        }

        /**
         * @param gmsaUsername Gets or sets username of the user having authorization to access GMSA on Active Directory.
         * 
         * @return builder
         * 
         */
        public Builder gmsaUsername(@Nullable Output gmsaUsername) {
            $.gmsaUsername = gmsaUsername;
            return this;
        }

        /**
         * @param gmsaUsername Gets or sets username of the user having authorization to access GMSA on Active Directory.
         * 
         * @return builder
         * 
         */
        public Builder gmsaUsername(String gmsaUsername) {
            return gmsaUsername(Output.of(gmsaUsername));
        }

        public GmsaAuthenticationPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy