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>

public final class SiteAuthSettingsV2Inner extends ProxyOnlyResource
Configuration settings for the Azure App Service Authentication / Authorization V2 feature.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of SiteAuthSettingsV2Inner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    Get the login property: The configuration settings of the login flow of users using App Service Authentication/Authorization.
    Get the name property: The name of the resource.
    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)
    Get the type property: The type of the resource.
    void
    Validates the instance.
    Set the globalValidation property: The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
    Set the httpSettings property: The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
    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.
    Set the platform property: The configuration settings of the platform of App Service Authentication/Authorization.

    Methods inherited from class ProxyOnlyResource

    kind

    Methods inherited from class 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

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class ProxyOnlyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class ProxyOnlyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class ProxyOnlyResource
      Returns:
      the id value.
    • withKind

      public SiteAuthSettingsV2Inner withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • 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 SiteAuthSettingsV2Inner 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 SiteAuthSettingsV2Inner 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 SiteAuthSettingsV2Inner 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 SiteAuthSettingsV2Inner 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 SiteAuthSettingsV2Inner 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 SiteAuthSettingsV2Inner 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 SiteAuthSettingsV2Inner 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 SiteAuthSettingsV2Inner 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 SiteAuthSettingsV2Inner 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 SiteAuthSettingsV2Inner object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ProxyOnlyResource
      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<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class ProxyOnlyResource
      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.