ArmRecoveryServicesSiteRecoveryModelFactory.RecoveryPlanTestFailoverProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RecoveryPlanTestFailoverProperties.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanTestFailoverProperties RecoveryPlanTestFailoverProperties (Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PossibleOperationsDirection failoverDirection = default, string networkType = default, Azure.Core.ResourceIdentifier networkId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanProviderSpecificFailoverContent> providerSpecificDetails = default);
static member RecoveryPlanTestFailoverProperties : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PossibleOperationsDirection * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanProviderSpecificFailoverContent> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanTestFailoverProperties
Public Shared Function RecoveryPlanTestFailoverProperties (Optional failoverDirection As PossibleOperationsDirection = Nothing, Optional networkType As String = Nothing, Optional networkId As ResourceIdentifier = Nothing, Optional providerSpecificDetails As IEnumerable(Of RecoveryPlanProviderSpecificFailoverContent) = Nothing) As RecoveryPlanTestFailoverProperties
Parameters
- failoverDirection
- PossibleOperationsDirection
The failover direction.
- networkType
- String
The network type to be used for test failover.
- networkId
- ResourceIdentifier
The Id of the network to be used for test failover.
- providerSpecificDetails
- IEnumerable<RecoveryPlanProviderSpecificFailoverContent>
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.
Returns
A new RecoveryPlanTestFailoverProperties instance for mocking.
Applies to
Azure SDK for .NET