Class AuthConfigProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.fluent.models.AuthConfigProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AuthConfigProperties>
public final class AuthConfigProperties
extends Object
implements com.azure.json.JsonSerializable<AuthConfigProperties>
AuthConfig resource specific properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the encryptionSettings property: The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.static AuthConfigProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AuthConfigProperties from the JsonReader.Get the globalValidation property: The configuration settings that determines the validation flow of users using Service Authentication/Authorization.Get the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.Get the identityProviders property: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.login()
Get the login property: The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.platform()
Get the platform property: The configuration settings of the platform of ContainerApp Service Authentication/Authorization.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withEncryptionSettings
(EncryptionSettings encryptionSettings) Set the encryptionSettings property: The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.withGlobalValidation
(GlobalValidation globalValidation) Set the globalValidation property: The configuration settings that determines the validation flow of users using Service Authentication/Authorization.withHttpSettings
(HttpSettings httpSettings) Set the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.withIdentityProviders
(IdentityProviders identityProviders) Set the identityProviders property: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.Set the login property: The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.withPlatform
(AuthPlatform platform) Set the platform property: The configuration settings of the platform of ContainerApp Service Authentication/Authorization.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AuthConfigProperties
public AuthConfigProperties()Creates an instance of AuthConfigProperties class.
-
-
Method Details
-
platform
Get the platform property: The configuration settings of the platform of ContainerApp Service Authentication/Authorization.- Returns:
- the platform value.
-
withPlatform
Set the platform property: The configuration settings of the platform of ContainerApp Service Authentication/Authorization.- Parameters:
platform
- the platform value to set.- Returns:
- the AuthConfigProperties object itself.
-
globalValidation
Get the globalValidation property: The configuration settings that determines the validation flow of users using Service Authentication/Authorization.- Returns:
- the globalValidation value.
-
withGlobalValidation
Set the globalValidation property: The configuration settings that determines the validation flow of users using Service Authentication/Authorization.- Parameters:
globalValidation
- the globalValidation value to set.- Returns:
- the AuthConfigProperties object itself.
-
identityProviders
Get the identityProviders property: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.- Returns:
- the identityProviders value.
-
withIdentityProviders
Set the identityProviders property: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.- Parameters:
identityProviders
- the identityProviders value to set.- Returns:
- the AuthConfigProperties object itself.
-
login
Get the login property: The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.- Returns:
- the login value.
-
withLogin
Set the login property: The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.- Parameters:
login
- the login value to set.- Returns:
- the AuthConfigProperties object itself.
-
httpSettings
Get the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.- Returns:
- the httpSettings value.
-
withHttpSettings
Set the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.- Parameters:
httpSettings
- the httpSettings value to set.- Returns:
- the AuthConfigProperties object itself.
-
encryptionSettings
Get the encryptionSettings property: The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.- Returns:
- the encryptionSettings value.
-
withEncryptionSettings
Set the encryptionSettings property: The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.- Parameters:
encryptionSettings
- the encryptionSettings value to set.- Returns:
- the AuthConfigProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<AuthConfigProperties>
- Throws:
IOException
-
fromJson
public static AuthConfigProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AuthConfigProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AuthConfigProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the AuthConfigProperties.
-