共用方式為


SiteRecoveryPolicyPatch Class

Definition

Update policy input.

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

Constructors

SiteRecoveryPolicyPatch()

Initializes a new instance of SiteRecoveryPolicyPatch.

Properties

UpdatePolicyContentReplicationProviderSettings

The ReplicationProviderSettings. Please note PolicyProviderSpecificContent 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 A2APolicyCreationContent, A2ACrossClusterMigrationPolicyCreationContent, HyperVReplicaPolicyContent, HyperVReplicaBluePolicyContent, HyperVReplicaAzurePolicyContent, InMagePolicyContent, InMageAzureV2PolicyContent, InMageRcmPolicyCreationContent, InMageRcmFailbackPolicyCreationContent and VMwareCbtPolicyCreationContent.

Explicit Interface Implementations

IJsonModel<SiteRecoveryPolicyPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryPolicyPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryPolicyPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryPolicyPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryPolicyPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to