Compartilhar via


ArmNetAppModelFactory.NetAppRestoreStatus Method

Definition

Initializes a new instance of 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

Parameters

isHealthy
Nullable<Boolean>

Restore health status.

relationshipStatus
Nullable<NetAppRelationshipStatus>

Status of the restore SnapMirror relationship.

mirrorState
Nullable<NetAppMirrorState>

The status of the restore.

unhealthyReason
String

Reason for the unhealthy restore relationship.

errorMessage
String

Displays error message if the restore is in an error state.

totalTransferBytes
Nullable<Int64>

Displays the total bytes transferred.

Returns

A new NetAppRestoreStatus instance for mocking.

Applies to