Share via


VirtualMachineCaptureContent Class

Definition

Capture Virtual Machine parameters.

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

Constructors

VirtualMachineCaptureContent(String, String, Boolean)

Initializes a new instance of VirtualMachineCaptureContent.

Properties

DestinationContainerName

The destination container name.

OverwriteVhds

Specifies whether to overwrite the destination virtual hard disk, in case of conflict.

VhdPrefix

The captured virtual hard disk's name prefix.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineCaptureContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineCaptureContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineCaptureContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineCaptureContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineCaptureContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to