Class FunctionAppStackProperties

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

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

    • FunctionAppStackProperties

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

    • displayText

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

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

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

      public StackPreferredOs preferredOs()
      Get the preferredOs property: Function 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<FunctionAppStackProperties>
      Throws:
      IOException
    • fromJson

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