ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryRecoveryPlanProperties 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 SiteRecoveryRecoveryPlanProperties.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryRecoveryPlanProperties SiteRecoveryRecoveryPlanProperties (string friendlyName = default, Azure.Core.ResourceIdentifier primaryFabricId = default, string primaryFabricFriendlyName = default, Azure.Core.ResourceIdentifier recoveryFabricId = default, string recoveryFabricFriendlyName = default, string failoverDeploymentModel = default, System.Collections.Generic.IEnumerable<string> replicationProviders = default, System.Collections.Generic.IEnumerable<string> allowedOperations = default, DateTimeOffset? lastPlannedFailoverOn = default, DateTimeOffset? lastUnplannedFailoverOn = default, DateTimeOffset? lastTestFailoverOn = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CurrentScenarioDetails currentScenario = default, string currentScenarioStatus = default, string currentScenarioStatusDescription = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPlanGroup> groups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanProviderSpecificDetails> providerSpecificDetails = default);
static member SiteRecoveryRecoveryPlanProperties : string * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * string * seq<string> * seq<string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CurrentScenarioDetails * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPlanGroup> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanProviderSpecificDetails> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryRecoveryPlanProperties
Public Shared Function SiteRecoveryRecoveryPlanProperties (Optional friendlyName As String = Nothing, Optional primaryFabricId As ResourceIdentifier = Nothing, Optional primaryFabricFriendlyName As String = Nothing, Optional recoveryFabricId As ResourceIdentifier = Nothing, Optional recoveryFabricFriendlyName As String = Nothing, Optional failoverDeploymentModel As String = Nothing, Optional replicationProviders As IEnumerable(Of String) = Nothing, Optional allowedOperations As IEnumerable(Of String) = Nothing, Optional lastPlannedFailoverOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastUnplannedFailoverOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastTestFailoverOn As Nullable(Of DateTimeOffset) = Nothing, Optional currentScenario As CurrentScenarioDetails = Nothing, Optional currentScenarioStatus As String = Nothing, Optional currentScenarioStatusDescription As String = Nothing, Optional groups As IEnumerable(Of SiteRecoveryPlanGroup) = Nothing, Optional providerSpecificDetails As IEnumerable(Of RecoveryPlanProviderSpecificDetails) = Nothing) As SiteRecoveryRecoveryPlanProperties
Parameters
- friendlyName
- String
The friendly name.
- primaryFabricId
- ResourceIdentifier
The primary fabric Id.
- primaryFabricFriendlyName
- String
The primary fabric friendly name.
- recoveryFabricId
- ResourceIdentifier
The recovery fabric Id.
- recoveryFabricFriendlyName
- String
The recovery fabric friendly name.
- failoverDeploymentModel
- String
The failover deployment model.
- replicationProviders
- IEnumerable<String>
The list of replication providers.
- allowedOperations
- IEnumerable<String>
The list of allowed operations.
- lastPlannedFailoverOn
- Nullable<DateTimeOffset>
The start time of the last planned failover.
- lastUnplannedFailoverOn
- Nullable<DateTimeOffset>
The start time of the last unplanned failover.
- lastTestFailoverOn
- Nullable<DateTimeOffset>
The start time of the last test failover.
- currentScenario
- CurrentScenarioDetails
The current scenario details.
- currentScenarioStatus
- String
The recovery plan status.
- currentScenarioStatusDescription
- String
The recovery plan status description.
- groups
- IEnumerable<SiteRecoveryPlanGroup>
The recovery plan groups.
- providerSpecificDetails
- IEnumerable<RecoveryPlanProviderSpecificDetails>
The provider id and provider specific details. Please note RecoveryPlanProviderSpecificDetails 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 RecoveryPlanA2ADetails.
Returns
A new SiteRecoveryRecoveryPlanProperties instance for mocking.
Applies to
Azure SDK for .NET