ArmRecoveryServicesDataReplicationModelFactory.DataReplicationErrorInfo Method

Definition

Initializes a new instance of DataReplicationErrorInfo.

public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationErrorInfo DataReplicationErrorInfo (string code = default, string errorModelType = default, string severity = default, DateTimeOffset? createdOn = default, string message = default, string causes = default, string recommendation = default);
static member DataReplicationErrorInfo : string * string * string * Nullable<DateTimeOffset> * string * string * string -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationErrorInfo
Public Shared Function DataReplicationErrorInfo (Optional code As String = Nothing, Optional errorModelType As String = Nothing, Optional severity As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional message As String = Nothing, Optional causes As String = Nothing, Optional recommendation As String = Nothing) As DataReplicationErrorInfo

Parameters

code
String

Gets or sets the error code.

errorModelType
String

Gets or sets the error type.

severity
String

Gets or sets the error severity.

createdOn
Nullable<DateTimeOffset>

Gets or sets the creation time of error.

message
String

Gets or sets the error message.

causes
String

Gets or sets the possible causes of error.

recommendation
String

Gets or sets the recommended action to resolve error.

Returns

A new DataReplicationErrorInfo instance for mocking.

Applies to