共用方式為


SiteRecoveryOSDiskDetails Class

Definition

Details of the OS Disk.

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

Properties

OSType

The type of the OS on the VM.

OSVhdId

The id of the disk containing the OS.

VhdName

The OS disk VHD name.

Explicit Interface Implementations

IJsonModel<SiteRecoveryOSDiskDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryOSDiskDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryOSDiskDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryOSDiskDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryOSDiskDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to