Class VirtualMachineCaptureResultInner

java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.compute.fluent.models.VirtualMachineCaptureResultInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>

public final class VirtualMachineCaptureResultInner extends com.azure.core.management.SubResource
Output of virtual machine capture operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the contentVersion property: the version of the content.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of VirtualMachineCaptureResultInner from the JsonReader.
    Get the parameters property: parameters of the captured virtual machine.
    Get the resources property: a list of resource items of the captured virtual machine.
    Get the schema property: the schema of the captured virtual machine.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    Methods inherited from class com.azure.core.management.SubResource

    id, withId

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • schema

      public String schema()
      Get the schema property: the schema of the captured virtual machine.
      Returns:
      the schema value.
    • contentVersion

      public String contentVersion()
      Get the contentVersion property: the version of the content.
      Returns:
      the contentVersion value.
    • parameters

      public Object parameters()
      Get the parameters property: parameters of the captured virtual machine.
      Returns:
      the parameters value.
    • resources

      public List<Object> resources()
      Get the resources property: a list of resource items of the captured virtual machine.
      Returns:
      the resources 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<com.azure.core.management.SubResource>
      Overrides:
      toJson in class com.azure.core.management.SubResource
      Throws:
      IOException
    • fromJson

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