Share via


RecoveryPlanProtectedItem Class

Definition

Recovery plan protected item.

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

Constructors

Name Description
RecoveryPlanProtectedItem()

Initializes a new instance of RecoveryPlanProtectedItem.

Properties

Name Description
Id

The ARM Id of the recovery plan protected item.

VirtualMachineId

The virtual machine Id.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<RecoveryPlanProtectedItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RecoveryPlanProtectedItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RecoveryPlanProtectedItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RecoveryPlanProtectedItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RecoveryPlanProtectedItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to