VirtualMachineCaptureResultInner Class

public final class VirtualMachineCaptureResultInner
extends SubResource

Output of virtual machine capture operation.

Constructor Summary

Constructor Description
VirtualMachineCaptureResultInner()

Creates an instance of VirtualMachineCaptureResultInner class.

Method Summary

Modifier and Type Method and Description
String contentVersion()

Get the contentVersion property: the version of the content.

static VirtualMachineCaptureResultInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineCaptureResultInner from the JsonReader.

Object parameters()

Get the parameters property: parameters of the captured virtual machine.

List<Object> resources()

Get the resources property: a list of resource items of the captured virtual machine.

String schema()

Get the schema property: the schema of the captured virtual machine.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualMachineCaptureResultInner withId(String id)

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineCaptureResultInner

public VirtualMachineCaptureResultInner()

Creates an instance of VirtualMachineCaptureResultInner class.

Method Details

contentVersion

public String contentVersion()

Get the contentVersion property: the version of the content.

Returns:

the contentVersion value.

fromJson

public static VirtualMachineCaptureResultInner fromJson(JsonReader jsonReader)

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.

parameters

public Object parameters()

Get the parameters property: parameters of the captured virtual machine.

Returns:

the parameters value.

resources

public List resources()

Get the resources property: a list of resource items of the captured virtual machine.

Returns:

the resources value.

schema

public String schema()

Get the schema property: the schema of the captured virtual machine.

Returns:

the schema value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VirtualMachineCaptureResultInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public VirtualMachineCaptureResultInner withId(String id)

Overrides:

VirtualMachineCaptureResultInner.withId(String id)

Parameters:

id

Applies to