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 Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualMachineCaptureResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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.schema()Get the schema property: the schema of the captured virtual machine.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class com.azure.core.management.SubResource
idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VirtualMachineCaptureResultInner
public VirtualMachineCaptureResultInner()Creates an instance of VirtualMachineCaptureResultInner class.
-
-
Method Details
-
schema
Get the schema property: the schema of the captured virtual machine.- Returns:
- the schema value.
-
contentVersion
Get the contentVersion property: the version of the content.- Returns:
- the contentVersion value.
-
parameters
Get the parameters property: parameters of the captured virtual machine.- Returns:
- the parameters value.
-
resources
Get the resources property: a list of resource items of the captured virtual machine.- Returns:
- the resources value.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.SubResource>- Overrides:
toJsonin classcom.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.
-