Class VMExtensionInstanceView

java.lang.Object
com.azure.compute.batch.models.VMExtensionInstanceView
All Implemented Interfaces:
com.azure.json.JsonSerializable<VMExtensionInstanceView>

public final class VMExtensionInstanceView extends Object implements com.azure.json.JsonSerializable<VMExtensionInstanceView>
The vm extension instance view.
  • Method Details

    • getName

      public String getName()
      Get the name property: The name of the vm extension instance view.
      Returns:
      the name value.
    • getStatuses

      public List<InstanceViewStatus> getStatuses()
      Get the statuses property: The resource status information.
      Returns:
      the statuses value.
    • getSubStatuses

      public List<InstanceViewStatus> getSubStatuses()
      Get the subStatuses property: The resource status information.
      Returns:
      the subStatuses value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<VMExtensionInstanceView>
      Throws:
      IOException
    • fromJson

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