你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmRecoveryServicesSiteRecoveryModelFactory.InMageRcmFailbackReplicationDetails 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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 名称。
- initialReplicationProgressHealth
- Nullable<VmReplicationProgressHealth>
初始复制进度运行状况。
- resyncProgressHealth
- Nullable<VmReplicationProgressHealth>
重新同步进度运行状况。
- resyncRequired
- String
一个值,该值指示是否需要重新同步。
- resyncState
- Nullable<SiteRecoveryResyncState>
重新同步状态。
- protectedDisks
- IEnumerable<InMageRcmFailbackProtectedDiskDetails>
受保护磁盘的列表。
- mobilityAgentDetails
- InMageRcmFailbackMobilityAgentDetails
移动代理信息。
网络详细信息。
- lastPlannedFailoverStartOn
- Nullable<DateTimeOffset>
上次计划的故障转移开始时间。
- lastPlannedFailoverStatus
- Nullable<PlannedFailoverStatus>
最后一个计划的故障转移状态。
- discoveredVmDetails
- InMageRcmFailbackDiscoveredProtectedVmDetails
发现的 VM 信息。
- lastUsedPolicyId
- ResourceIdentifier
转发复制使用的策略 ID。
- lastUsedPolicyFriendlyName
- String
转发复制所使用的策略友好名称。
返回
用于模拟的新 InMageRcmFailbackReplicationDetails 实例。