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

com.pulumi.azurenative.web.inputs.AzureActiveDirectoryArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.web.inputs;

import com.pulumi.azurenative.web.inputs.AzureActiveDirectoryLoginArgs;
import com.pulumi.azurenative.web.inputs.AzureActiveDirectoryRegistrationArgs;
import com.pulumi.azurenative.web.inputs.AzureActiveDirectoryValidationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The configuration settings of the Azure Active directory provider.
 * 
 */
public final class AzureActiveDirectoryArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureActiveDirectoryArgs Empty = new AzureActiveDirectoryArgs();

    /**
     * <code>false</code> if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, <code>true</code>.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return <code>false</code> if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, <code>true</code>.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.
     * This is an internal flag primarily intended to support the Azure Management Portal. Users should not
     * read or write to this property.
     * 
     */
    @Import(name="isAutoProvisioned")
    private @Nullable Output isAutoProvisioned;

    /**
     * @return Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.
     * This is an internal flag primarily intended to support the Azure Management Portal. Users should not
     * read or write to this property.
     * 
     */
    public Optional> isAutoProvisioned() {
        return Optional.ofNullable(this.isAutoProvisioned);
    }

    /**
     * The configuration settings of the Azure Active Directory login flow.
     * 
     */
    @Import(name="login")
    private @Nullable Output login;

    /**
     * @return The configuration settings of the Azure Active Directory login flow.
     * 
     */
    public Optional> login() {
        return Optional.ofNullable(this.login);
    }

    /**
     * The configuration settings of the Azure Active Directory app registration.
     * 
     */
    @Import(name="registration")
    private @Nullable Output registration;

    /**
     * @return The configuration settings of the Azure Active Directory app registration.
     * 
     */
    public Optional> registration() {
        return Optional.ofNullable(this.registration);
    }

    /**
     * The configuration settings of the Azure Active Directory token validation flow.
     * 
     */
    @Import(name="validation")
    private @Nullable Output validation;

    /**
     * @return The configuration settings of the Azure Active Directory token validation flow.
     * 
     */
    public Optional> validation() {
        return Optional.ofNullable(this.validation);
    }

    private AzureActiveDirectoryArgs() {}

    private AzureActiveDirectoryArgs(AzureActiveDirectoryArgs $) {
        this.enabled = $.enabled;
        this.isAutoProvisioned = $.isAutoProvisioned;
        this.login = $.login;
        this.registration = $.registration;
        this.validation = $.validation;
    }

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

    public static final class Builder {
        private AzureActiveDirectoryArgs $;

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

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

        /**
         * @param enabled <code>false</code> if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, <code>true</code>.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled <code>false</code> if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, <code>true</code>.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param isAutoProvisioned Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.
         * This is an internal flag primarily intended to support the Azure Management Portal. Users should not
         * read or write to this property.
         * 
         * @return builder
         * 
         */
        public Builder isAutoProvisioned(@Nullable Output isAutoProvisioned) {
            $.isAutoProvisioned = isAutoProvisioned;
            return this;
        }

        /**
         * @param isAutoProvisioned Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.
         * This is an internal flag primarily intended to support the Azure Management Portal. Users should not
         * read or write to this property.
         * 
         * @return builder
         * 
         */
        public Builder isAutoProvisioned(Boolean isAutoProvisioned) {
            return isAutoProvisioned(Output.of(isAutoProvisioned));
        }

        /**
         * @param login The configuration settings of the Azure Active Directory login flow.
         * 
         * @return builder
         * 
         */
        public Builder login(@Nullable Output login) {
            $.login = login;
            return this;
        }

        /**
         * @param login The configuration settings of the Azure Active Directory login flow.
         * 
         * @return builder
         * 
         */
        public Builder login(AzureActiveDirectoryLoginArgs login) {
            return login(Output.of(login));
        }

        /**
         * @param registration The configuration settings of the Azure Active Directory app registration.
         * 
         * @return builder
         * 
         */
        public Builder registration(@Nullable Output registration) {
            $.registration = registration;
            return this;
        }

        /**
         * @param registration The configuration settings of the Azure Active Directory app registration.
         * 
         * @return builder
         * 
         */
        public Builder registration(AzureActiveDirectoryRegistrationArgs registration) {
            return registration(Output.of(registration));
        }

        /**
         * @param validation The configuration settings of the Azure Active Directory token validation flow.
         * 
         * @return builder
         * 
         */
        public Builder validation(@Nullable Output validation) {
            $.validation = validation;
            return this;
        }

        /**
         * @param validation The configuration settings of the Azure Active Directory token validation flow.
         * 
         * @return builder
         * 
         */
        public Builder validation(AzureActiveDirectoryValidationArgs validation) {
            return validation(Output.of(validation));
        }

        public AzureActiveDirectoryArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy