共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.RecoveryPlanPlannedFailoverProperties Method

Definition

Initializes a new instance of RecoveryPlanPlannedFailoverProperties.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanPlannedFailoverProperties RecoveryPlanPlannedFailoverProperties (Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PossibleOperationsDirection failoverDirection = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanProviderSpecificFailoverContent> providerSpecificDetails = default);
static member RecoveryPlanPlannedFailoverProperties : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PossibleOperationsDirection * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanProviderSpecificFailoverContent> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanPlannedFailoverProperties
Public Shared Function RecoveryPlanPlannedFailoverProperties (Optional failoverDirection As PossibleOperationsDirection = Nothing, Optional providerSpecificDetails As IEnumerable(Of RecoveryPlanProviderSpecificFailoverContent) = Nothing) As RecoveryPlanPlannedFailoverProperties

Parameters

failoverDirection
PossibleOperationsDirection

The failover direction.

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 RecoveryPlanPlannedFailoverProperties instance for mocking.

Applies to