Class AppInsightsWebAppStackSettings

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

public final class AppInsightsWebAppStackSettings extends Object implements com.azure.json.JsonSerializable<AppInsightsWebAppStackSettings>
App Insights Web App stack settings.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of AppInsightsWebAppStackSettings from the JsonReader.
    Get the isDefaultOff property: <code>true</code> if Application Insights is disabled by default for the stack; otherwise, <code>false</code>.
    Get the isSupported property: <code>true</code> if remote Application Insights is supported for the stack; otherwise, <code>false</code>.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    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

    • AppInsightsWebAppStackSettings

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

    • isSupported

      public Boolean isSupported()
      Get the isSupported property: <code>true</code> if remote Application Insights is supported for the stack; otherwise, <code>false</code>.
      Returns:
      the isSupported value.
    • isDefaultOff

      public Boolean isDefaultOff()
      Get the isDefaultOff property: <code>true</code> if Application Insights is disabled by default for the stack; otherwise, <code>false</code>.
      Returns:
      the isDefaultOff value.
    • 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<AppInsightsWebAppStackSettings>
      Throws:
      IOException
    • fromJson

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