Share via


SiteRecoveryAgentDiskDetails Class

Definition

Agent disk details.

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

Properties

CapacityInBytes

The disk capacity in bytes.

DiskId

The disk Id.

DiskName

The disk name.

IsOSDisk

A value indicating whether the disk is the OS disk.

LunId

The lun of disk.

Explicit Interface Implementations

IJsonModel<SiteRecoveryAgentDiskDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryAgentDiskDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryAgentDiskDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryAgentDiskDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryAgentDiskDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to