ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryMigrationItemProperties Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância de SiteRecoveryMigrationItemProperties.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryMigrationItemProperties SiteRecoveryMigrationItemProperties (string machineName = default, Azure.Core.ResourceIdentifier policyId = default, string policyFriendlyName = default, string recoveryServicesProviderId = default, string replicationStatus = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryMigrationState? migrationState = default, string migrationStateDescription = default, DateTimeOffset? lastTestMigrationOn = default, string lastTestMigrationStatus = default, DateTimeOffset? lastMigrationOn = default, string lastMigrationStatus = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TestMigrationState? testMigrateState = default, string testMigrateStateDescription = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth? health = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> healthErrors = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationItemOperation> allowedOperations = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CurrentJobDetails currentJob = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CriticalJobHistoryDetails> criticalJobHistory = default, string eventCorrelationId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationProviderSpecificSettings providerSpecificDetails = default);
static member SiteRecoveryMigrationItemProperties : string * Azure.Core.ResourceIdentifier * string * string * string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryMigrationState> * string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TestMigrationState> * string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationItemOperation> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CurrentJobDetails * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CriticalJobHistoryDetails> * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationProviderSpecificSettings -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryMigrationItemProperties
Public Shared Function SiteRecoveryMigrationItemProperties (Optional machineName As String = Nothing, Optional policyId As ResourceIdentifier = Nothing, Optional policyFriendlyName As String = Nothing, Optional recoveryServicesProviderId As String = Nothing, Optional replicationStatus As String = Nothing, Optional migrationState As Nullable(Of SiteRecoveryMigrationState) = Nothing, Optional migrationStateDescription As String = Nothing, Optional lastTestMigrationOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastTestMigrationStatus As String = Nothing, Optional lastMigrationOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastMigrationStatus As String = Nothing, Optional testMigrateState As Nullable(Of TestMigrationState) = Nothing, Optional testMigrateStateDescription As String = Nothing, Optional health As Nullable(Of SiteRecoveryProtectionHealth) = Nothing, Optional healthErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing, Optional allowedOperations As IEnumerable(Of MigrationItemOperation) = Nothing, Optional currentJob As CurrentJobDetails = Nothing, Optional criticalJobHistory As IEnumerable(Of CriticalJobHistoryDetails) = Nothing, Optional eventCorrelationId As String = Nothing, Optional providerSpecificDetails As MigrationProviderSpecificSettings = Nothing) As SiteRecoveryMigrationItemProperties
Parâmetros
- machineName
- String
O nome da máquina virtual local.
- policyId
- ResourceIdentifier
A ID do ARM da política que rege este item.
- policyFriendlyName
- String
O nome da política que rege este item.
- recoveryServicesProviderId
- String
A ID do ARM do provedor de serviços de recuperação.
- replicationStatus
- String
O status de replicação.
- migrationState
- Nullable<SiteRecoveryMigrationState>
O status de migração.
- migrationStateDescription
- String
A descrição do estado de migração.
- lastTestMigrationOn
- Nullable<DateTimeOffset>
O último tempo de migração de teste.
- lastTestMigrationStatus
- String
O status da última migração de teste.
- lastMigrationOn
- Nullable<DateTimeOffset>
A última hora de migração.
- lastMigrationStatus
- String
O status da última migração.
- testMigrateState
- Nullable<TestMigrationState>
O estado de migração de teste.
- testMigrateStateDescription
- String
A descrição do estado de migração de teste.
- health
- Nullable<SiteRecoveryProtectionHealth>
A integridade consolidada.
- healthErrors
- IEnumerable<SiteRecoveryHealthError>
A lista de erros de integridade.
- allowedOperations
- IEnumerable<MigrationItemOperation>
As operações permitidas no item de migração com base no estado de migração atual do item.
- currentJob
- CurrentJobDetails
Os detalhes atuais do trabalho.
- criticalJobHistory
- IEnumerable<CriticalJobHistoryDetails>
Os detalhes críticos do trabalho anterior.
- eventCorrelationId
- String
A ID de correlação para eventos associados a este item de migração.
- providerSpecificDetails
- MigrationProviderSpecificSettings
As configurações personalizadas do provedor de migração.
Retornos
Uma nova SiteRecoveryMigrationItemProperties instância para zombar.