你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmNetAppModelFactory.NetAppRestoreStatus 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
- relationshipStatus
- Nullable<NetAppRelationshipStatus>
还原 SnapMirror 关系的状态。
- mirrorState
- Nullable<NetAppMirrorState>
还原的状态。
- unhealthyReason
- String
还原关系不正常的原因。
- errorMessage
- String
如果还原处于错误状态,则显示错误消息。
返回
用于模拟的新 NetAppRestoreStatus 实例。