Share via


VirtualMachineCaptureResult Class

Definition

Output of virtual machine capture operation.

public class VirtualMachineCaptureResult : Azure.ResourceManager.Compute.Models.ComputeWriteableSubResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineCaptureResult>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineCaptureResult>
type VirtualMachineCaptureResult = class
    inherit ComputeWriteableSubResourceData
    interface IJsonModel<VirtualMachineCaptureResult>
    interface IPersistableModel<VirtualMachineCaptureResult>
Public Class VirtualMachineCaptureResult
Inherits ComputeWriteableSubResourceData
Implements IJsonModel(Of VirtualMachineCaptureResult), IPersistableModel(Of VirtualMachineCaptureResult)
Inheritance
VirtualMachineCaptureResult
Implements

Constructors

VirtualMachineCaptureResult()

Initializes a new instance of VirtualMachineCaptureResult.

Properties

ContentVersion

the version of the content.

Id

Resource Id.

(Inherited from ComputeWriteableSubResourceData)
Parameters

parameters of the captured virtual machine

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Resources

a list of resource items of the captured virtual machine

To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Schema

the schema of the captured virtual machine.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ComputeWriteableSubResourceData)

Explicit Interface Implementations

IJsonModel<ComputeWriteableSubResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ComputeWriteableSubResourceData)
IJsonModel<ComputeWriteableSubResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputeWriteableSubResourceData)
IJsonModel<VirtualMachineCaptureResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualMachineCaptureResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeWriteableSubResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<ComputeWriteableSubResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<ComputeWriteableSubResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<VirtualMachineCaptureResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineCaptureResult>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualMachineCaptureResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to