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

com.pulumi.azure.appservice.outputs.GetLinuxWebAppAuthSettingsV2MicrosoftV2 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetLinuxWebAppAuthSettingsV2MicrosoftV2 {
    /**
     * @return The list of Allowed Audiences that are be requested as part of Microsoft Sign-In authentication.
     * 
     */
    private List allowedAudiences;
    /**
     * @return The OAuth 2.0 client ID used by the app for authentication.
     * 
     */
    private String clientId;
    /**
     * @return The app setting name containing the OAuth 2.0 client secret used by the app for authentication.
     * 
     */
    private String clientSecretSettingName;
    /**
     * @return The list of Login scopes that are requested as part of Microsoft Account authentication.
     * 
     */
    private List loginScopes;

    private GetLinuxWebAppAuthSettingsV2MicrosoftV2() {}
    /**
     * @return The list of Allowed Audiences that are be requested as part of Microsoft Sign-In authentication.
     * 
     */
    public List allowedAudiences() {
        return this.allowedAudiences;
    }
    /**
     * @return The OAuth 2.0 client ID used by the app for authentication.
     * 
     */
    public String clientId() {
        return this.clientId;
    }
    /**
     * @return The app setting name containing the OAuth 2.0 client secret used by the app for authentication.
     * 
     */
    public String clientSecretSettingName() {
        return this.clientSecretSettingName;
    }
    /**
     * @return The list of Login scopes that are requested as part of Microsoft Account authentication.
     * 
     */
    public List loginScopes() {
        return this.loginScopes;
    }

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

    public static Builder builder(GetLinuxWebAppAuthSettingsV2MicrosoftV2 defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List allowedAudiences;
        private String clientId;
        private String clientSecretSettingName;
        private List loginScopes;
        public Builder() {}
        public Builder(GetLinuxWebAppAuthSettingsV2MicrosoftV2 defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.allowedAudiences = defaults.allowedAudiences;
    	      this.clientId = defaults.clientId;
    	      this.clientSecretSettingName = defaults.clientSecretSettingName;
    	      this.loginScopes = defaults.loginScopes;
        }

        @CustomType.Setter
        public Builder allowedAudiences(List allowedAudiences) {
            if (allowedAudiences == null) {
              throw new MissingRequiredPropertyException("GetLinuxWebAppAuthSettingsV2MicrosoftV2", "allowedAudiences");
            }
            this.allowedAudiences = allowedAudiences;
            return this;
        }
        public Builder allowedAudiences(String... allowedAudiences) {
            return allowedAudiences(List.of(allowedAudiences));
        }
        @CustomType.Setter
        public Builder clientId(String clientId) {
            if (clientId == null) {
              throw new MissingRequiredPropertyException("GetLinuxWebAppAuthSettingsV2MicrosoftV2", "clientId");
            }
            this.clientId = clientId;
            return this;
        }
        @CustomType.Setter
        public Builder clientSecretSettingName(String clientSecretSettingName) {
            if (clientSecretSettingName == null) {
              throw new MissingRequiredPropertyException("GetLinuxWebAppAuthSettingsV2MicrosoftV2", "clientSecretSettingName");
            }
            this.clientSecretSettingName = clientSecretSettingName;
            return this;
        }
        @CustomType.Setter
        public Builder loginScopes(List loginScopes) {
            if (loginScopes == null) {
              throw new MissingRequiredPropertyException("GetLinuxWebAppAuthSettingsV2MicrosoftV2", "loginScopes");
            }
            this.loginScopes = loginScopes;
            return this;
        }
        public Builder loginScopes(String... loginScopes) {
            return loginScopes(List.of(loginScopes));
        }
        public GetLinuxWebAppAuthSettingsV2MicrosoftV2 build() {
            final var _resultValue = new GetLinuxWebAppAuthSettingsV2MicrosoftV2();
            _resultValue.allowedAudiences = allowedAudiences;
            _resultValue.clientId = clientId;
            _resultValue.clientSecretSettingName = clientSecretSettingName;
            _resultValue.loginScopes = loginScopes;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy