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

ArmNetAppModelFactory.NetAppRestoreStatus 方法

定义

初始化 NetAppRestoreStatus 的新实例。

public static Azure.ResourceManager.NetApp.Models.NetAppRestoreStatus NetAppRestoreStatus (bool? isHealthy = default, Azure.ResourceManager.NetApp.Models.NetAppRelationshipStatus? relationshipStatus = default, Azure.ResourceManager.NetApp.Models.NetAppMirrorState? mirrorState = default, string unhealthyReason = default, string errorMessage = default, long? totalTransferBytes = default);
static member NetAppRestoreStatus : Nullable<bool> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppRelationshipStatus> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppMirrorState> * string * string * Nullable<int64> -> Azure.ResourceManager.NetApp.Models.NetAppRestoreStatus
Public Shared Function NetAppRestoreStatus (Optional isHealthy As Nullable(Of Boolean) = Nothing, Optional relationshipStatus As Nullable(Of NetAppRelationshipStatus) = Nothing, Optional mirrorState As Nullable(Of NetAppMirrorState) = Nothing, Optional unhealthyReason As String = Nothing, Optional errorMessage As String = Nothing, Optional totalTransferBytes As Nullable(Of Long) = Nothing) As NetAppRestoreStatus

参数

isHealthy
Nullable<Boolean>

还原运行状况。

relationshipStatus
Nullable<NetAppRelationshipStatus>

还原 SnapMirror 关系的状态。

mirrorState
Nullable<NetAppMirrorState>

还原的状态。

unhealthyReason
String

还原关系不正常的原因。

errorMessage
String

如果还原处于错误状态,则显示错误消息。

totalTransferBytes
Nullable<Int64>

显示传输的总字节数。

返回

用于模拟的新 NetAppRestoreStatus 实例。

适用于