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.
  • Constructor Details

    • VirtualMachineCaptureResultInner

      public VirtualMachineCaptureResultInner()
      Creates an instance of VirtualMachineCaptureResultInner class.
  • 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.
    • withId

      Overrides:
      withId in class com.azure.core.management.SubResource
    • 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.