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

ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryVCenterProperties 方法

定义

初始化 SiteRecoveryVCenterProperties 的新实例。

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVCenterProperties SiteRecoveryVCenterProperties (string friendlyName = default, string internalId = default, DateTimeOffset? lastHeartbeatReceivedOn = default, string discoveryStatus = default, Guid? processServerId = default, System.Net.IPAddress ipAddress = default, string infrastructureId = default, string port = default, string runAsAccountId = default, string fabricArmResourceName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> healthErrors = default);
static member SiteRecoveryVCenterProperties : string * string * Nullable<DateTimeOffset> * string * Nullable<Guid> * System.Net.IPAddress * string * string * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVCenterProperties
Public Shared Function SiteRecoveryVCenterProperties (Optional friendlyName As String = Nothing, Optional internalId As String = Nothing, Optional lastHeartbeatReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional discoveryStatus As String = Nothing, Optional processServerId As Nullable(Of Guid) = Nothing, Optional ipAddress As IPAddress = Nothing, Optional infrastructureId As String = Nothing, Optional port As String = Nothing, Optional runAsAccountId As String = Nothing, Optional fabricArmResourceName As String = Nothing, Optional healthErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing) As SiteRecoveryVCenterProperties

参数

friendlyName
String

vCenter 的友好名称。

internalId
String

VCenter 内部 ID。

lastHeartbeatReceivedOn
Nullable<DateTimeOffset>

vCenter 收到最后一个检测信号的时间。

discoveryStatus
String

VCenter 发现状态。

processServerId
Nullable<Guid>

进程服务器 ID。

ipAddress
IPAddress

vCenter 的 IP 地址。

infrastructureId
String

vCenter 的基础结构 ID。

port
String

用于发现的端口号。

runAsAccountId
String

有权发现 vCenter 的帐户 ID。

fabricArmResourceName
String

包含此 VCenter 的结构的 ARM 资源名称。

healthErrors
IEnumerable<SiteRecoveryHealthError>

此 VCenter 的运行状况错误。

返回

用于模拟的新 SiteRecoveryVCenterProperties 实例。

适用于