你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmRecoveryServicesSiteRecoveryModelFactory.InMageRcmFailbackReplicationDetails 方法

定义

初始化 InMageRcmFailbackReplicationDetails 的新实例。

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackReplicationDetails InMageRcmFailbackReplicationDetails (string internalIdentifier = default, Azure.Core.ResourceIdentifier azureVirtualMachineId = default, string multiVmGroupName = default, string reprotectAgentId = default, string reprotectAgentName = default, string osType = default, Azure.Core.ResourceIdentifier logStorageAccountId = default, string targetVCenterId = default, string targetDataStoreName = default, string targetVmName = default, int? initialReplicationProgressPercentage = default, long? initialReplicationProcessedBytes = default, long? initialReplicationTransferredBytes = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmReplicationProgressHealth? initialReplicationProgressHealth = default, int? resyncProgressPercentage = default, long? resyncProcessedBytes = default, long? resyncTransferredBytes = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmReplicationProgressHealth? resyncProgressHealth = default, string resyncRequired = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryResyncState? resyncState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackProtectedDiskDetails> protectedDisks = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackMobilityAgentDetails mobilityAgentDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackNicDetails> vmNics = default, DateTimeOffset? lastPlannedFailoverStartOn = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PlannedFailoverStatus? lastPlannedFailoverStatus = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackDiscoveredProtectedVmDetails discoveredVmDetails = default, Azure.Core.ResourceIdentifier lastUsedPolicyId = default, string lastUsedPolicyFriendlyName = default, bool? isAgentRegistrationSuccessfulAfterFailover = default);
static member InMageRcmFailbackReplicationDetails : string * Azure.Core.ResourceIdentifier * string * string * string * string * Azure.Core.ResourceIdentifier * string * string * string * Nullable<int> * Nullable<int64> * Nullable<int64> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmReplicationProgressHealth> * Nullable<int> * Nullable<int64> * Nullable<int64> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmReplicationProgressHealth> * string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryResyncState> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackProtectedDiskDetails> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackMobilityAgentDetails * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackNicDetails> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PlannedFailoverStatus> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackDiscoveredProtectedVmDetails * Azure.Core.ResourceIdentifier * string * Nullable<bool> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmFailbackReplicationDetails
Public Shared Function InMageRcmFailbackReplicationDetails (Optional internalIdentifier As String = Nothing, Optional azureVirtualMachineId As ResourceIdentifier = Nothing, Optional multiVmGroupName As String = Nothing, Optional reprotectAgentId As String = Nothing, Optional reprotectAgentName As String = Nothing, Optional osType As String = Nothing, Optional logStorageAccountId As ResourceIdentifier = Nothing, Optional targetVCenterId As String = Nothing, Optional targetDataStoreName As String = Nothing, Optional targetVmName As String = Nothing, Optional initialReplicationProgressPercentage As Nullable(Of Integer) = Nothing, Optional initialReplicationProcessedBytes As Nullable(Of Long) = Nothing, Optional initialReplicationTransferredBytes As Nullable(Of Long) = Nothing, Optional initialReplicationProgressHealth As Nullable(Of VmReplicationProgressHealth) = Nothing, Optional resyncProgressPercentage As Nullable(Of Integer) = Nothing, Optional resyncProcessedBytes As Nullable(Of Long) = Nothing, Optional resyncTransferredBytes As Nullable(Of Long) = Nothing, Optional resyncProgressHealth As Nullable(Of VmReplicationProgressHealth) = Nothing, Optional resyncRequired As String = Nothing, Optional resyncState As Nullable(Of SiteRecoveryResyncState) = Nothing, Optional protectedDisks As IEnumerable(Of InMageRcmFailbackProtectedDiskDetails) = Nothing, Optional mobilityAgentDetails As InMageRcmFailbackMobilityAgentDetails = Nothing, Optional vmNics As IEnumerable(Of InMageRcmFailbackNicDetails) = Nothing, Optional lastPlannedFailoverStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastPlannedFailoverStatus As Nullable(Of PlannedFailoverStatus) = Nothing, Optional discoveredVmDetails As InMageRcmFailbackDiscoveredProtectedVmDetails = Nothing, Optional lastUsedPolicyId As ResourceIdentifier = Nothing, Optional lastUsedPolicyFriendlyName As String = Nothing, Optional isAgentRegistrationSuccessfulAfterFailover As Nullable(Of Boolean) = Nothing) As InMageRcmFailbackReplicationDetails

参数

internalIdentifier
String

虚拟机内部标识符。

azureVirtualMachineId
ResourceIdentifier

Azure VM 的 ARM ID。

multiVmGroupName
String

多 VM 组名称。

reprotectAgentId
String

重新保护代理 ID。

reprotectAgentName
String

重新保护代理名称。

osType
String

VM 上 OS 的类型。

logStorageAccountId
ResourceIdentifier

日志存储帐户 ARM ID。

targetVCenterId
String

目标 vCenter ID。

targetDataStoreName
String

目标数据存储名称。

targetVmName
String

目标 VM 名称。

initialReplicationProgressPercentage
Nullable<Int32>

初始复制进度百分比。

initialReplicationProcessedBytes
Nullable<Int64>

初始复制处理的字节数。 这包括源 VM 中所有选定磁盘上传输的总字节数和匹配字节数。

initialReplicationTransferredBytes
Nullable<Int64>

初始复制将字节从源 VM 传输到源 VM 上所有选定磁盘的目标。

initialReplicationProgressHealth
Nullable<VmReplicationProgressHealth>

初始复制进度运行状况。

resyncProgressPercentage
Nullable<Int32>

重新同步进度百分比。

resyncProcessedBytes
Nullable<Int64>

重新同步处理的字节。 这包括源 VM 中所有选定磁盘上传输的总字节数和匹配字节数。

resyncTransferredBytes
Nullable<Int64>

从源 VM 重新同步传输的字节数,该字节以源 VM 上所有选定磁盘为目标。

resyncProgressHealth
Nullable<VmReplicationProgressHealth>

重新同步进度运行状况。

resyncRequired
String

一个值,该值指示是否需要重新同步。

resyncState
Nullable<SiteRecoveryResyncState>

重新同步状态。

protectedDisks
IEnumerable<InMageRcmFailbackProtectedDiskDetails>

受保护磁盘的列表。

mobilityAgentDetails
InMageRcmFailbackMobilityAgentDetails

移动代理信息。

vmNics
IEnumerable<InMageRcmFailbackNicDetails>

网络详细信息。

lastPlannedFailoverStartOn
Nullable<DateTimeOffset>

上次计划的故障转移开始时间。

lastPlannedFailoverStatus
Nullable<PlannedFailoverStatus>

最后一个计划的故障转移状态。

discoveredVmDetails
InMageRcmFailbackDiscoveredProtectedVmDetails

发现的 VM 信息。

lastUsedPolicyId
ResourceIdentifier

转发复制使用的策略 ID。

lastUsedPolicyFriendlyName
String

转发复制所使用的策略友好名称。

isAgentRegistrationSuccessfulAfterFailover
Nullable<Boolean>

一个值,该值指示故障转移后代理注册是否成功。

返回

用于模拟的新 InMageRcmFailbackReplicationDetails 实例。

适用于