Class SiteAuthSettingsV2Inner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.SiteAuthSettingsV2Inner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Configuration settings for the Azure App Service Authentication / Authorization V2 feature.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SiteAuthSettingsV2Inner class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SiteAuthSettingsV2Inner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SiteAuthSettingsV2Inner from the JsonReader.Get the globalValidation property: The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.Get the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.id()
Get the id property: Fully qualified resource Id for the resource.Get the identityProviders property: The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.login()
Get the login property: The configuration settings of the login flow of users using App Service Authentication/Authorization.name()
Get the name property: The name of the resource.platform()
Get the platform property: The configuration settings of the platform of App Service Authentication/Authorization.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.void
validate()
Validates the instance.withGlobalValidation
(GlobalValidation globalValidation) Set the globalValidation property: The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.withHttpSettings
(HttpSettings httpSettings) Set the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.withIdentityProviders
(IdentityProviders identityProviders) Set the identityProviders property: The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.Set the kind property: Kind of resource.Set the login property: The configuration settings of the login flow of users using App Service Authentication/Authorization.withPlatform
(AuthPlatform platform) Set the platform property: The configuration settings of the platform of App Service Authentication/Authorization.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
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
-
SiteAuthSettingsV2Inner
public SiteAuthSettingsV2Inner()Creates an instance of SiteAuthSettingsV2Inner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
type
in classProxyOnlyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classProxyOnlyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classProxyOnlyResource
- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
platform
Get the platform property: The configuration settings of the platform of App Service Authentication/Authorization.- Returns:
- the platform value.
-
withPlatform
Set the platform property: The configuration settings of the platform of App Service Authentication/Authorization.- Parameters:
platform
- the platform value to set.- Returns:
- the SiteAuthSettingsV2Inner object itself.
-
globalValidation
Get the globalValidation property: The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.- Returns:
- the globalValidation value.
-
withGlobalValidation
Set the globalValidation property: The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.- Parameters:
globalValidation
- the globalValidation value to set.- Returns:
- the SiteAuthSettingsV2Inner object itself.
-
identityProviders
Get the identityProviders property: The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.- Returns:
- the identityProviders value.
-
withIdentityProviders
Set the identityProviders property: The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.- Parameters:
identityProviders
- the identityProviders value to set.- Returns:
- the SiteAuthSettingsV2Inner object itself.
-
login
Get the login property: The configuration settings of the login flow of users using App Service Authentication/Authorization.- Returns:
- the login value.
-
withLogin
Set the login property: The configuration settings of the login flow of users using App Service Authentication/Authorization.- Parameters:
login
- the login value to set.- Returns:
- the SiteAuthSettingsV2Inner object itself.
-
httpSettings
Get the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against App 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 App Service Authentication/Authorization.- Parameters:
httpSettings
- the httpSettings value to set.- Returns:
- the SiteAuthSettingsV2Inner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classProxyOnlyResource
- Throws:
IOException
-
fromJson
public static SiteAuthSettingsV2Inner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SiteAuthSettingsV2Inner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of SiteAuthSettingsV2Inner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the SiteAuthSettingsV2Inner.
-