Class BatchNodeVMExtension

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

public final class BatchNodeVMExtension extends Object implements com.azure.json.JsonSerializable<BatchNodeVMExtension>
The configuration for virtual machine extension instance view.
  • Method Details

    • getProvisioningState

      public String getProvisioningState()
      Get the provisioningState property: The provisioning state of the virtual machine extension.
      Returns:
      the provisioningState value.
    • getVmExtension

      public VMExtension getVmExtension()
      Get the vmExtension property: The virtual machine extension.
      Returns:
      the vmExtension value.
    • getInstanceView

      public VMExtensionInstanceView getInstanceView()
      Get the instanceView property: The vm extension instance view.
      Returns:
      the instanceView value.
    • toJson

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

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