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

com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args 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.appservice.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 LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args extends com.pulumi.resources.ResourceArgs {

    public static final LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args Empty = new LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args();

    /**
     * The endpoint to make the Authorisation Request as supplied by `openid_configuration_endpoint` response.
     * 
     */
    @Import(name="authorisationEndpoint")
    private @Nullable Output authorisationEndpoint;

    /**
     * @return The endpoint to make the Authorisation Request as supplied by `openid_configuration_endpoint` response.
     * 
     */
    public Optional> authorisationEndpoint() {
        return Optional.ofNullable(this.authorisationEndpoint);
    }

    /**
     * The endpoint that provides the keys necessary to validate the token as supplied by `openid_configuration_endpoint` response.
     * 
     */
    @Import(name="certificationUri")
    private @Nullable Output certificationUri;

    /**
     * @return The endpoint that provides the keys necessary to validate the token as supplied by `openid_configuration_endpoint` response.
     * 
     */
    public Optional> certificationUri() {
        return Optional.ofNullable(this.certificationUri);
    }

    /**
     * The Client Credential Method used.
     * 
     */
    @Import(name="clientCredentialMethod")
    private @Nullable Output clientCredentialMethod;

    /**
     * @return The Client Credential Method used.
     * 
     */
    public Optional> clientCredentialMethod() {
        return Optional.ofNullable(this.clientCredentialMethod);
    }

    /**
     * The ID of the Client to use to authenticate with the Custom OIDC.
     * 
     */
    @Import(name="clientId", required=true)
    private Output clientId;

    /**
     * @return The ID of the Client to use to authenticate with the Custom OIDC.
     * 
     */
    public Output clientId() {
        return this.clientId;
    }

    /**
     * The App Setting name that contains the secret for this Custom OIDC Client. This is generated from `name` above and suffixed with `_PROVIDER_AUTHENTICATION_SECRET`.
     * 
     */
    @Import(name="clientSecretSettingName")
    private @Nullable Output clientSecretSettingName;

    /**
     * @return The App Setting name that contains the secret for this Custom OIDC Client. This is generated from `name` above and suffixed with `_PROVIDER_AUTHENTICATION_SECRET`.
     * 
     */
    public Optional> clientSecretSettingName() {
        return Optional.ofNullable(this.clientSecretSettingName);
    }

    /**
     * The endpoint that issued the Token as supplied by `openid_configuration_endpoint` response.
     * 
     */
    @Import(name="issuerEndpoint")
    private @Nullable Output issuerEndpoint;

    /**
     * @return The endpoint that issued the Token as supplied by `openid_configuration_endpoint` response.
     * 
     */
    public Optional> issuerEndpoint() {
        return Optional.ofNullable(this.issuerEndpoint);
    }

    /**
     * The name of the Custom OIDC Authentication Provider.
     * 
     * > **NOTE:** An `app_setting` matching this value in upper case with the suffix of `_PROVIDER_AUTHENTICATION_SECRET` is required. e.g. `MYOIDC_PROVIDER_AUTHENTICATION_SECRET` for a value of `myoidc`.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the Custom OIDC Authentication Provider.
     * 
     * > **NOTE:** An `app_setting` matching this value in upper case with the suffix of `_PROVIDER_AUTHENTICATION_SECRET` is required. e.g. `MYOIDC_PROVIDER_AUTHENTICATION_SECRET` for a value of `myoidc`.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The name of the claim that contains the users name.
     * 
     */
    @Import(name="nameClaimType")
    private @Nullable Output nameClaimType;

    /**
     * @return The name of the claim that contains the users name.
     * 
     */
    public Optional> nameClaimType() {
        return Optional.ofNullable(this.nameClaimType);
    }

    /**
     * The app setting name that contains the `client_secret` value used for the Custom OIDC Login.
     * 
     */
    @Import(name="openidConfigurationEndpoint", required=true)
    private Output openidConfigurationEndpoint;

    /**
     * @return The app setting name that contains the `client_secret` value used for the Custom OIDC Login.
     * 
     */
    public Output openidConfigurationEndpoint() {
        return this.openidConfigurationEndpoint;
    }

    /**
     * The list of the scopes that should be requested while authenticating.
     * 
     */
    @Import(name="scopes")
    private @Nullable Output> scopes;

    /**
     * @return The list of the scopes that should be requested while authenticating.
     * 
     */
    public Optional>> scopes() {
        return Optional.ofNullable(this.scopes);
    }

    /**
     * The endpoint used to request a Token as supplied by `openid_configuration_endpoint` response.
     * 
     */
    @Import(name="tokenEndpoint")
    private @Nullable Output tokenEndpoint;

    /**
     * @return The endpoint used to request a Token as supplied by `openid_configuration_endpoint` response.
     * 
     */
    public Optional> tokenEndpoint() {
        return Optional.ofNullable(this.tokenEndpoint);
    }

    private LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args() {}

    private LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args(LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args $) {
        this.authorisationEndpoint = $.authorisationEndpoint;
        this.certificationUri = $.certificationUri;
        this.clientCredentialMethod = $.clientCredentialMethod;
        this.clientId = $.clientId;
        this.clientSecretSettingName = $.clientSecretSettingName;
        this.issuerEndpoint = $.issuerEndpoint;
        this.name = $.name;
        this.nameClaimType = $.nameClaimType;
        this.openidConfigurationEndpoint = $.openidConfigurationEndpoint;
        this.scopes = $.scopes;
        this.tokenEndpoint = $.tokenEndpoint;
    }

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

    public static final class Builder {
        private LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args $;

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

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

        /**
         * @param authorisationEndpoint The endpoint to make the Authorisation Request as supplied by `openid_configuration_endpoint` response.
         * 
         * @return builder
         * 
         */
        public Builder authorisationEndpoint(@Nullable Output authorisationEndpoint) {
            $.authorisationEndpoint = authorisationEndpoint;
            return this;
        }

        /**
         * @param authorisationEndpoint The endpoint to make the Authorisation Request as supplied by `openid_configuration_endpoint` response.
         * 
         * @return builder
         * 
         */
        public Builder authorisationEndpoint(String authorisationEndpoint) {
            return authorisationEndpoint(Output.of(authorisationEndpoint));
        }

        /**
         * @param certificationUri The endpoint that provides the keys necessary to validate the token as supplied by `openid_configuration_endpoint` response.
         * 
         * @return builder
         * 
         */
        public Builder certificationUri(@Nullable Output certificationUri) {
            $.certificationUri = certificationUri;
            return this;
        }

        /**
         * @param certificationUri The endpoint that provides the keys necessary to validate the token as supplied by `openid_configuration_endpoint` response.
         * 
         * @return builder
         * 
         */
        public Builder certificationUri(String certificationUri) {
            return certificationUri(Output.of(certificationUri));
        }

        /**
         * @param clientCredentialMethod The Client Credential Method used.
         * 
         * @return builder
         * 
         */
        public Builder clientCredentialMethod(@Nullable Output clientCredentialMethod) {
            $.clientCredentialMethod = clientCredentialMethod;
            return this;
        }

        /**
         * @param clientCredentialMethod The Client Credential Method used.
         * 
         * @return builder
         * 
         */
        public Builder clientCredentialMethod(String clientCredentialMethod) {
            return clientCredentialMethod(Output.of(clientCredentialMethod));
        }

        /**
         * @param clientId The ID of the Client to use to authenticate with the Custom OIDC.
         * 
         * @return builder
         * 
         */
        public Builder clientId(Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId The ID of the Client to use to authenticate with the Custom OIDC.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param clientSecretSettingName The App Setting name that contains the secret for this Custom OIDC Client. This is generated from `name` above and suffixed with `_PROVIDER_AUTHENTICATION_SECRET`.
         * 
         * @return builder
         * 
         */
        public Builder clientSecretSettingName(@Nullable Output clientSecretSettingName) {
            $.clientSecretSettingName = clientSecretSettingName;
            return this;
        }

        /**
         * @param clientSecretSettingName The App Setting name that contains the secret for this Custom OIDC Client. This is generated from `name` above and suffixed with `_PROVIDER_AUTHENTICATION_SECRET`.
         * 
         * @return builder
         * 
         */
        public Builder clientSecretSettingName(String clientSecretSettingName) {
            return clientSecretSettingName(Output.of(clientSecretSettingName));
        }

        /**
         * @param issuerEndpoint The endpoint that issued the Token as supplied by `openid_configuration_endpoint` response.
         * 
         * @return builder
         * 
         */
        public Builder issuerEndpoint(@Nullable Output issuerEndpoint) {
            $.issuerEndpoint = issuerEndpoint;
            return this;
        }

        /**
         * @param issuerEndpoint The endpoint that issued the Token as supplied by `openid_configuration_endpoint` response.
         * 
         * @return builder
         * 
         */
        public Builder issuerEndpoint(String issuerEndpoint) {
            return issuerEndpoint(Output.of(issuerEndpoint));
        }

        /**
         * @param name The name of the Custom OIDC Authentication Provider.
         * 
         * > **NOTE:** An `app_setting` matching this value in upper case with the suffix of `_PROVIDER_AUTHENTICATION_SECRET` is required. e.g. `MYOIDC_PROVIDER_AUTHENTICATION_SECRET` for a value of `myoidc`.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Custom OIDC Authentication Provider.
         * 
         * > **NOTE:** An `app_setting` matching this value in upper case with the suffix of `_PROVIDER_AUTHENTICATION_SECRET` is required. e.g. `MYOIDC_PROVIDER_AUTHENTICATION_SECRET` for a value of `myoidc`.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param nameClaimType The name of the claim that contains the users name.
         * 
         * @return builder
         * 
         */
        public Builder nameClaimType(@Nullable Output nameClaimType) {
            $.nameClaimType = nameClaimType;
            return this;
        }

        /**
         * @param nameClaimType The name of the claim that contains the users name.
         * 
         * @return builder
         * 
         */
        public Builder nameClaimType(String nameClaimType) {
            return nameClaimType(Output.of(nameClaimType));
        }

        /**
         * @param openidConfigurationEndpoint The app setting name that contains the `client_secret` value used for the Custom OIDC Login.
         * 
         * @return builder
         * 
         */
        public Builder openidConfigurationEndpoint(Output openidConfigurationEndpoint) {
            $.openidConfigurationEndpoint = openidConfigurationEndpoint;
            return this;
        }

        /**
         * @param openidConfigurationEndpoint The app setting name that contains the `client_secret` value used for the Custom OIDC Login.
         * 
         * @return builder
         * 
         */
        public Builder openidConfigurationEndpoint(String openidConfigurationEndpoint) {
            return openidConfigurationEndpoint(Output.of(openidConfigurationEndpoint));
        }

        /**
         * @param scopes The list of the scopes that should be requested while authenticating.
         * 
         * @return builder
         * 
         */
        public Builder scopes(@Nullable Output> scopes) {
            $.scopes = scopes;
            return this;
        }

        /**
         * @param scopes The list of the scopes that should be requested while authenticating.
         * 
         * @return builder
         * 
         */
        public Builder scopes(List scopes) {
            return scopes(Output.of(scopes));
        }

        /**
         * @param scopes The list of the scopes that should be requested while authenticating.
         * 
         * @return builder
         * 
         */
        public Builder scopes(String... scopes) {
            return scopes(List.of(scopes));
        }

        /**
         * @param tokenEndpoint The endpoint used to request a Token as supplied by `openid_configuration_endpoint` response.
         * 
         * @return builder
         * 
         */
        public Builder tokenEndpoint(@Nullable Output tokenEndpoint) {
            $.tokenEndpoint = tokenEndpoint;
            return this;
        }

        /**
         * @param tokenEndpoint The endpoint used to request a Token as supplied by `openid_configuration_endpoint` response.
         * 
         * @return builder
         * 
         */
        public Builder tokenEndpoint(String tokenEndpoint) {
            return tokenEndpoint(Output.of(tokenEndpoint));
        }

        public LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args build() {
            if ($.clientId == null) {
                throw new MissingRequiredPropertyException("LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args", "clientId");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args", "name");
            }
            if ($.openidConfigurationEndpoint == null) {
                throw new MissingRequiredPropertyException("LinuxFunctionAppSlotAuthSettingsV2CustomOidcV2Args", "openidConfigurationEndpoint");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy