Partager via


MigrationItemProperties Constructors

Definition

Overloads

MigrationItemProperties()

Initializes a new instance of the MigrationItemProperties class.

MigrationItemProperties(String, String, String, String, String, String, String, Nullable<DateTime>, String, Nullable<DateTime>, String, String, String, String, IList<HealthError>, IList<String>, CurrentJobDetails, IList<CriticalJobHistoryDetails>, String, MigrationProviderSpecificSettings)

Initializes a new instance of the MigrationItemProperties class.

MigrationItemProperties()

Initializes a new instance of the MigrationItemProperties class.

public MigrationItemProperties ();
Public Sub New ()

Applies to

MigrationItemProperties(String, String, String, String, String, String, String, Nullable<DateTime>, String, Nullable<DateTime>, String, String, String, String, IList<HealthError>, IList<String>, CurrentJobDetails, IList<CriticalJobHistoryDetails>, String, MigrationProviderSpecificSettings)

Initializes a new instance of the MigrationItemProperties class.

public MigrationItemProperties (string machineName = default, string policyId = default, string policyFriendlyName = default, string recoveryServicesProviderId = default, string replicationStatus = default, string migrationState = default, string migrationStateDescription = default, DateTime? lastTestMigrationTime = default, string lastTestMigrationStatus = default, DateTime? lastMigrationTime = default, string lastMigrationStatus = default, string testMigrateState = default, string testMigrateStateDescription = default, string health = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HealthError> healthErrors = default, System.Collections.Generic.IList<string> allowedOperations = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.CurrentJobDetails currentJob = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.CriticalJobHistoryDetails> criticalJobHistory = default, string eventCorrelationId = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.MigrationProviderSpecificSettings providerSpecificDetails = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.MigrationItemProperties : string * string * string * string * string * string * string * Nullable<DateTime> * string * Nullable<DateTime> * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HealthError> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.CurrentJobDetails * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.CriticalJobHistoryDetails> * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.MigrationProviderSpecificSettings -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.MigrationItemProperties
Public Sub New (Optional machineName As String = Nothing, Optional policyId As String = Nothing, Optional policyFriendlyName As String = Nothing, Optional recoveryServicesProviderId As String = Nothing, Optional replicationStatus As String = Nothing, Optional migrationState As String = Nothing, Optional migrationStateDescription As String = Nothing, Optional lastTestMigrationTime As Nullable(Of DateTime) = Nothing, Optional lastTestMigrationStatus As String = Nothing, Optional lastMigrationTime As Nullable(Of DateTime) = Nothing, Optional lastMigrationStatus As String = Nothing, Optional testMigrateState As String = Nothing, Optional testMigrateStateDescription As String = Nothing, Optional health As String = Nothing, Optional healthErrors As IList(Of HealthError) = Nothing, Optional allowedOperations As IList(Of String) = Nothing, Optional currentJob As CurrentJobDetails = Nothing, Optional criticalJobHistory As IList(Of CriticalJobHistoryDetails) = Nothing, Optional eventCorrelationId As String = Nothing, Optional providerSpecificDetails As MigrationProviderSpecificSettings = Nothing)

Parameters

machineName
String

The on-premise virtual machine name.

policyId
String

The ARM Id of policy governing this item.

policyFriendlyName
String

The name of policy governing this item.

recoveryServicesProviderId
String

The recovery services provider ARM Id.

replicationStatus
String

The replication status.

migrationState
String

The migration status. Possible values include: 'None', 'EnableMigrationInProgress', 'EnableMigrationFailed', 'DisableMigrationInProgress', 'DisableMigrationFailed', 'InitialSeedingInProgress', 'InitialSeedingFailed', 'Replicating', 'MigrationInProgress', 'MigrationSucceeded', 'MigrationFailed', 'ResumeInProgress', 'ResumeInitiated', 'SuspendingProtection', 'ProtectionSuspended', 'MigrationCompletedWithInformation', 'MigrationPartiallySucceeded'

migrationStateDescription
String

The migration state description.

lastTestMigrationTime
Nullable<DateTime>

The last test migration time.

lastTestMigrationStatus
String

The status of the last test migration.

lastMigrationTime
Nullable<DateTime>

The last migration time.

lastMigrationStatus
String

The status of the last migration.

testMigrateState
String

The test migrate state. Possible values include: 'None', 'TestMigrationInProgress', 'TestMigrationSucceeded', 'TestMigrationFailed', 'TestMigrationCleanupInProgress', 'TestMigrationCompletedWithInformation', 'TestMigrationPartiallySucceeded'

testMigrateStateDescription
String

The test migrate state description.

health
String

The consolidated health. Possible values include: 'None', 'Normal', 'Warning', 'Critical'

healthErrors
IList<HealthError>

The list of health errors.

allowedOperations
IList<String>

The allowed operations on the migration item based on the current migration state of the item.

currentJob
CurrentJobDetails

The current job details.

criticalJobHistory
IList<CriticalJobHistoryDetails>

The critical past job details.

eventCorrelationId
String

The correlation Id for events associated with this migration item.

providerSpecificDetails
MigrationProviderSpecificSettings

The migration provider custom settings.

Applies to