Share via


ReplicationProtectedItemProperties Constructors

Definition

Overloads

ReplicationProtectedItemProperties()

Initializes a new instance of the ReplicationProtectedItemProperties class.

ReplicationProtectedItemProperties(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, IList<String>, String, String, IList<HealthError>, String, String, Nullable<DateTime>, Nullable<DateTime>, CurrentScenarioDetails, String, ReplicationProviderSpecificSettings, String, String)

Initializes a new instance of the ReplicationProtectedItemProperties class.

ReplicationProtectedItemProperties()

Initializes a new instance of the ReplicationProtectedItemProperties class.

public ReplicationProtectedItemProperties ();
Public Sub New ()

Applies to

ReplicationProtectedItemProperties(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, IList<String>, String, String, IList<HealthError>, String, String, Nullable<DateTime>, Nullable<DateTime>, CurrentScenarioDetails, String, ReplicationProviderSpecificSettings, String, String)

Initializes a new instance of the ReplicationProtectedItemProperties class.

public ReplicationProtectedItemProperties (string friendlyName = default, string protectedItemType = default, string protectableItemId = default, string recoveryServicesProviderId = default, string primaryFabricFriendlyName = default, string primaryFabricProvider = default, string recoveryFabricFriendlyName = default, string recoveryFabricId = default, string primaryProtectionContainerFriendlyName = default, string recoveryProtectionContainerFriendlyName = default, string protectionState = default, string protectionStateDescription = default, string activeLocation = default, string testFailoverState = default, string testFailoverStateDescription = default, string switchProviderState = default, string switchProviderStateDescription = default, System.Collections.Generic.IList<string> allowedOperations = default, string replicationHealth = default, string failoverHealth = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HealthError> healthErrors = default, string policyId = default, string policyFriendlyName = default, DateTime? lastSuccessfulFailoverTime = default, DateTime? lastSuccessfulTestFailoverTime = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.CurrentScenarioDetails currentScenario = default, string failoverRecoveryPointId = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ReplicationProviderSpecificSettings providerSpecificDetails = default, string recoveryContainerId = default, string eventCorrelationId = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ReplicationProtectedItemProperties : string * string * string * string * string * string * string * string * string * string * string * string * string * string * string * string * string * System.Collections.Generic.IList<string> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HealthError> * string * string * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.CurrentScenarioDetails * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ReplicationProviderSpecificSettings * string * string -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ReplicationProtectedItemProperties
Public Sub New (Optional friendlyName As String = Nothing, Optional protectedItemType As String = Nothing, Optional protectableItemId As String = Nothing, Optional recoveryServicesProviderId As String = Nothing, Optional primaryFabricFriendlyName As String = Nothing, Optional primaryFabricProvider As String = Nothing, Optional recoveryFabricFriendlyName As String = Nothing, Optional recoveryFabricId As String = Nothing, Optional primaryProtectionContainerFriendlyName As String = Nothing, Optional recoveryProtectionContainerFriendlyName As String = Nothing, Optional protectionState As String = Nothing, Optional protectionStateDescription As String = Nothing, Optional activeLocation As String = Nothing, Optional testFailoverState As String = Nothing, Optional testFailoverStateDescription As String = Nothing, Optional switchProviderState As String = Nothing, Optional switchProviderStateDescription As String = Nothing, Optional allowedOperations As IList(Of String) = Nothing, Optional replicationHealth As String = Nothing, Optional failoverHealth As String = Nothing, Optional healthErrors As IList(Of HealthError) = Nothing, Optional policyId As String = Nothing, Optional policyFriendlyName As String = Nothing, Optional lastSuccessfulFailoverTime As Nullable(Of DateTime) = Nothing, Optional lastSuccessfulTestFailoverTime As Nullable(Of DateTime) = Nothing, Optional currentScenario As CurrentScenarioDetails = Nothing, Optional failoverRecoveryPointId As String = Nothing, Optional providerSpecificDetails As ReplicationProviderSpecificSettings = Nothing, Optional recoveryContainerId As String = Nothing, Optional eventCorrelationId As String = Nothing)

Parameters

friendlyName
String

The name.

protectedItemType
String

The type of protected item type.

protectableItemId
String

The protected item ARM Id.

recoveryServicesProviderId
String

The recovery provider ARM Id.

primaryFabricFriendlyName
String

The friendly name of the primary fabric.

primaryFabricProvider
String

The fabric provider of the primary fabric.

recoveryFabricFriendlyName
String

The friendly name of recovery fabric.

recoveryFabricId
String

The Arm Id of recovery fabric.

primaryProtectionContainerFriendlyName
String

The name of primary protection container friendly name.

recoveryProtectionContainerFriendlyName
String

The name of recovery container friendly name.

protectionState
String

The protection status.

protectionStateDescription
String

The protection state description.

activeLocation
String

The Current active location of the PE.

testFailoverState
String

The Test failover state.

testFailoverStateDescription
String

The Test failover state description.

switchProviderState
String

The switch provider state.

switchProviderStateDescription
String

The switch provider state description.

allowedOperations
IList<String>

The allowed operations on the Replication protected item.

replicationHealth
String

The consolidated protection health for the VM taking any issues with SRS as well as all the replication units associated with the VM's replication group into account. This is a string representation of the ProtectionHealth enumeration.

failoverHealth
String

The consolidated failover health for the VM.

healthErrors
IList<HealthError>

List of health errors.

policyId
String

The ID of Policy governing this PE.

policyFriendlyName
String

The name of Policy governing this PE.

lastSuccessfulFailoverTime
Nullable<DateTime>

The Last successful failover time.

lastSuccessfulTestFailoverTime
Nullable<DateTime>

The Last successful test failover time.

currentScenario
CurrentScenarioDetails

The current scenario.

failoverRecoveryPointId
String

The recovery point ARM Id to which the Vm was failed over.

providerSpecificDetails
ReplicationProviderSpecificSettings

The Replication provider custom settings.

recoveryContainerId
String

The recovery container Id.

eventCorrelationId
String

The correlation Id for events associated with this protected item.

Applies to