Class SiteAuthSettingsV2Properties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.SiteAuthSettingsV2Properties
All Implemented Interfaces:
com.azure.json.JsonSerializable<SiteAuthSettingsV2Properties>

public final class SiteAuthSettingsV2Properties extends Object implements com.azure.json.JsonSerializable<SiteAuthSettingsV2Properties>
SiteAuthSettingsV2 resource specific properties.
  • Constructor Details

    • SiteAuthSettingsV2Properties

      public SiteAuthSettingsV2Properties()
      Creates an instance of SiteAuthSettingsV2Properties class.
  • Method Details

    • platform

      public AuthPlatform platform()
      Get the platform property: The configuration settings of the platform of App Service Authentication/Authorization.
      Returns:
      the platform value.
    • withPlatform

      public SiteAuthSettingsV2Properties withPlatform(AuthPlatform platform)
      Set the platform property: The configuration settings of the platform of App Service Authentication/Authorization.
      Parameters:
      platform - the platform value to set.
      Returns:
      the SiteAuthSettingsV2Properties object itself.
    • globalValidation

      public GlobalValidation 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

      public SiteAuthSettingsV2Properties withGlobalValidation(GlobalValidation globalValidation)
      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 SiteAuthSettingsV2Properties object itself.
    • identityProviders

      public IdentityProviders 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

      public SiteAuthSettingsV2Properties withIdentityProviders(IdentityProviders identityProviders)
      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 SiteAuthSettingsV2Properties object itself.
    • login

      public Login login()
      Get the login property: The configuration settings of the login flow of users using App Service Authentication/Authorization.
      Returns:
      the login value.
    • withLogin

      public SiteAuthSettingsV2Properties withLogin(Login login)
      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 SiteAuthSettingsV2Properties object itself.
    • httpSettings

      public HttpSettings 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

      public SiteAuthSettingsV2Properties 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.
      Parameters:
      httpSettings - the httpSettings value to set.
      Returns:
      the SiteAuthSettingsV2Properties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SiteAuthSettingsV2Properties>
      Throws:
      IOException
    • fromJson

      public static SiteAuthSettingsV2Properties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SiteAuthSettingsV2Properties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SiteAuthSettingsV2Properties 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 SiteAuthSettingsV2Properties.