ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryCreateRecoveryPlanProperties 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 SiteRecoveryCreateRecoveryPlanProperties.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryCreateRecoveryPlanProperties SiteRecoveryCreateRecoveryPlanProperties(Azure.Core.ResourceIdentifier primaryFabricId = default, Azure.Core.ResourceIdentifier recoveryFabricId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FailoverDeploymentModel? failoverDeploymentModel = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPlanGroup> groups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanProviderSpecificContent> providerSpecificContent = default);
static member SiteRecoveryCreateRecoveryPlanProperties : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FailoverDeploymentModel> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPlanGroup> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPlanProviderSpecificContent> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryCreateRecoveryPlanProperties
Public Shared Function SiteRecoveryCreateRecoveryPlanProperties (Optional primaryFabricId As ResourceIdentifier = Nothing, Optional recoveryFabricId As ResourceIdentifier = Nothing, Optional failoverDeploymentModel As Nullable(Of FailoverDeploymentModel) = Nothing, Optional groups As IEnumerable(Of SiteRecoveryPlanGroup) = Nothing, Optional providerSpecificContent As IEnumerable(Of RecoveryPlanProviderSpecificContent) = Nothing) As SiteRecoveryCreateRecoveryPlanProperties
Parameters
- primaryFabricId
- ResourceIdentifier
The primary fabric Id.
- recoveryFabricId
- ResourceIdentifier
The recovery fabric Id.
- failoverDeploymentModel
- Nullable<FailoverDeploymentModel>
The failover deployment model.
- groups
- IEnumerable<SiteRecoveryPlanGroup>
The recovery plan groups.
- providerSpecificContent
- IEnumerable<RecoveryPlanProviderSpecificContent>
The provider specific input. Please note RecoveryPlanProviderSpecificContent 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 RecoveryPlanA2AContent.
Returns
A new SiteRecoveryCreateRecoveryPlanProperties instance for mocking.
Applies to
Azure SDK for .NET