共用方式為


RestorePointSourceMetadata Class

Definition

Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation.

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

Constructors

RestorePointSourceMetadata()

Initializes a new instance of RestorePointSourceMetadata.

Properties

BootDiagnostics

Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.

HardwareProfile

Gets the hardware profile.

HyperVGeneration

HyperVGeneration of the source VM for which restore point is captured.

LicenseType

Gets the license type, which is for bring your own license scenario.

Location

Location of the VM from which the restore point was created.

OSProfile

Gets the OS profile.

SecurityProfile

Gets the security profile.

StorageProfile

Gets the storage profile.

UserData

UserData associated with the source VM for which restore point is captured, which is a base-64 encoded value.

VmId

Gets the virtual machine unique id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RestorePointSourceMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestorePointSourceMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestorePointSourceMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestorePointSourceMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestorePointSourceMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to