ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryProtectableItemProperties 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 SiteRecoveryProtectableItemProperties.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectableItemProperties SiteRecoveryProtectableItemProperties (string friendlyName = default, string protectionStatus = default, Azure.Core.ResourceIdentifier replicationProtectedItemId = default, Azure.Core.ResourceIdentifier recoveryServicesProviderId = default, System.Collections.Generic.IEnumerable<string> protectionReadinessErrors = default, System.Collections.Generic.IEnumerable<string> supportedReplicationProviders = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryReplicationProviderSettings customDetails = default);
static member SiteRecoveryProtectableItemProperties : string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<string> * seq<string> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryReplicationProviderSettings -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectableItemProperties
Public Shared Function SiteRecoveryProtectableItemProperties (Optional friendlyName As String = Nothing, Optional protectionStatus As String = Nothing, Optional replicationProtectedItemId As ResourceIdentifier = Nothing, Optional recoveryServicesProviderId As ResourceIdentifier = Nothing, Optional protectionReadinessErrors As IEnumerable(Of String) = Nothing, Optional supportedReplicationProviders As IEnumerable(Of String) = Nothing, Optional customDetails As SiteRecoveryReplicationProviderSettings = Nothing) As SiteRecoveryProtectableItemProperties
Parameters
- friendlyName
- String
The name.
- protectionStatus
- String
The protection status.
- replicationProtectedItemId
- ResourceIdentifier
The ARM resource of protected items.
- recoveryServicesProviderId
- ResourceIdentifier
The recovery provider ARM Id.
- protectionReadinessErrors
- IEnumerable<String>
The Current protection readiness errors.
- supportedReplicationProviders
- IEnumerable<String>
The list of replication providers supported for the protectable item.
- customDetails
- SiteRecoveryReplicationProviderSettings
The Replication provider custom settings. Please note SiteRecoveryReplicationProviderSettings 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 HyperVVmDetails, ReplicationGroupDetails, VMwareVmDetails and VmmVmDetails.
Returns
A new SiteRecoveryProtectableItemProperties instance for mocking.
Applies to
Azure SDK for .NET