Share via


RecoveryPlanTestFailoverProperties Class

Definition

Recovery plan test failover input properties.

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

Constructors

RecoveryPlanTestFailoverProperties(PossibleOperationsDirection, String)

Initializes a new instance of RecoveryPlanTestFailoverProperties.

Properties

FailoverDirection

The failover direction.

NetworkId

The Id of the network to be used for test failover.

NetworkType

The network type to be used for test failover.

ProviderSpecificDetails

The provider specific properties. Please note RecoveryPlanProviderSpecificFailoverContent 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 RecoveryPlanA2AFailoverContent, RecoveryPlanHyperVReplicaAzureFailoverContent, RecoveryPlanHyperVReplicaAzureFailbackContent, RecoveryPlanInMageFailoverContent, RecoveryPlanInMageAzureV2FailoverContent, RecoveryPlanInMageRcmFailoverContent and RecoveryPlanInMageRcmFailbackFailoverContent.

Explicit Interface Implementations

IJsonModel<RecoveryPlanTestFailoverProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RecoveryPlanTestFailoverProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RecoveryPlanTestFailoverProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RecoveryPlanTestFailoverProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RecoveryPlanTestFailoverProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to