Share via


UpdateDiskContent Class

Definition

Disk input for update.

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

Constructors

UpdateDiskContent(String)

Initializes a new instance of UpdateDiskContent.

Properties

DiskId

The disk Id.

TargetDiskName

The target disk name.

Explicit Interface Implementations

IJsonModel<UpdateDiskContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UpdateDiskContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UpdateDiskContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UpdateDiskContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UpdateDiskContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to