Class ApplicationLiveViewComponent

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

public final class ApplicationLiveViewComponent extends Object implements com.azure.json.JsonSerializable<ApplicationLiveViewComponent>
Application Live View properties payload.
  • Constructor Details

    • ApplicationLiveViewComponent

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

    • name

      public Object name()
      Get the name property: Name of the component.
      Returns:
      the name value.
    • resourceRequests

      public ApplicationLiveViewResourceRequests resourceRequests()
      Get the resourceRequests property: The requested resource quantity for required CPU and Memory.
      Returns:
      the resourceRequests value.
    • instances

      public List<ApplicationLiveViewInstance> instances()
      Get the instances property: Collection of instances belong to Application Live View.
      Returns:
      the instances 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<ApplicationLiveViewComponent>
      Throws:
      IOException
    • fromJson

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