Share via


HyperVReplicaAzureDiskDetails Class

Definition

Disk input details.

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

Constructors

HyperVReplicaAzureDiskDetails()

Initializes a new instance of HyperVReplicaAzureDiskDetails.

Properties

DiskEncryptionSetId

The DiskEncryptionSet ARM ID.

DiskId

The DiskId.

DiskType

The disk type.

LogStorageAccountId

The LogStorageAccountId.

SectorSizeInBytes

The logical sector size (in bytes), 512 by default.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HyperVReplicaAzureDiskDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HyperVReplicaAzureDiskDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HyperVReplicaAzureDiskDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HyperVReplicaAzureDiskDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HyperVReplicaAzureDiskDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to