Class WebAppStackProperties

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

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

    • WebAppStackProperties

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

    • displayText

      public String displayText()
      Get the displayText property: Web App stack (display only).
      Returns:
      the displayText value.
    • value

      public String value()
      Get the value property: Web App stack name.
      Returns:
      the value value.
    • majorVersions

      public List<WebAppMajorVersion> majorVersions()
      Get the majorVersions property: List of major versions available.
      Returns:
      the majorVersions value.
    • preferredOs

      public StackPreferredOs preferredOs()
      Get the preferredOs property: Web App stack preferred OS.
      Returns:
      the preferredOs 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<WebAppStackProperties>
      Throws:
      IOException
    • fromJson

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