TestFailoverProperties Class

Definition

Input definition for test failover input properties.

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

Constructors

TestFailoverProperties()

Initializes a new instance of TestFailoverProperties.

Properties

FailoverDirection

Test failover direction.

NetworkId

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

NetworkType

Network type to be used for test failover.

ProviderSpecificDetails

Provider specific settings. Please note TestFailoverProviderSpecificContent 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 A2ATestFailoverContent, HyperVReplicaAzureTestFailoverContent, InMageTestFailoverContent, InMageAzureV2TestFailoverContent and InMageRcmTestFailoverContent.

Explicit Interface Implementations

IJsonModel<TestFailoverProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TestFailoverProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TestFailoverProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TestFailoverProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TestFailoverProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to