Share via


SiteRecoveryPolicyProperties Class

Definition

Protection profile custom data details.

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

Properties

FriendlyName

The FriendlyName.

ProviderSpecificDetails

The ReplicationChannelSetting. Please note PolicyProviderSpecificDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include A2APolicyDetails, HyperVReplicaPolicyDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaBasePolicyDetails, InMagePolicyDetails, InMageAzureV2PolicyDetails, InMageBasePolicyDetails, InMageRcmPolicyDetails, InMageRcmFailbackPolicyDetails and VMwareCbtPolicyDetails.

Explicit Interface Implementations

IJsonModel<SiteRecoveryPolicyProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryPolicyProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryPolicyProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryPolicyProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryPolicyProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to