ArmRecoveryServicesDataReplicationModelFactory.DataReplicationHealthErrorInfo Method

Definition

Initializes a new instance of DataReplicationHealthErrorInfo.

public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthErrorInfo DataReplicationHealthErrorInfo (string affectedResourceType = default, System.Collections.Generic.IEnumerable<string> affectedResourceCorrelationIds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationInnerHealthErrorInfo> childErrors = default, string code = default, string healthCategory = default, string category = default, string severity = default, string source = default, DateTimeOffset? createdOn = default, bool? isCustomerResolvable = default, string summary = default, string message = default, string causes = default, string recommendation = default);
static member DataReplicationHealthErrorInfo : string * seq<string> * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationInnerHealthErrorInfo> * string * string * string * string * string * Nullable<DateTimeOffset> * Nullable<bool> * string * string * string * string -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthErrorInfo
Public Shared Function DataReplicationHealthErrorInfo (Optional affectedResourceType As String = Nothing, Optional affectedResourceCorrelationIds As IEnumerable(Of String) = Nothing, Optional childErrors As IEnumerable(Of DataReplicationInnerHealthErrorInfo) = Nothing, Optional code As String = Nothing, Optional healthCategory As String = Nothing, Optional category As String = Nothing, Optional severity As String = Nothing, Optional source As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional isCustomerResolvable As Nullable(Of Boolean) = Nothing, Optional summary As String = Nothing, Optional message As String = Nothing, Optional causes As String = Nothing, Optional recommendation As String = Nothing) As DataReplicationHealthErrorInfo

Parameters

affectedResourceType
String

Gets or sets the type of affected resource type.

affectedResourceCorrelationIds
IEnumerable<String>

Gets or sets the list of affected resource correlation Ids. This can be used to uniquely identify the count of items affected by a specific category and severity as well as count of item affected by an specific issue.

childErrors
IEnumerable<DataReplicationInnerHealthErrorInfo>

Gets or sets a list of child health errors associated with this error.

code
String

Gets or sets the error code.

healthCategory
String

Gets or sets the health category.

category
String

Gets or sets the error category.

severity
String

Gets or sets the error severity.

source
String

Gets or sets the error source.

createdOn
Nullable<DateTimeOffset>

Gets or sets the error creation time.

isCustomerResolvable
Nullable<Boolean>

Gets or sets a value indicating whether the error is customer resolvable.

summary
String

Gets or sets the error summary.

message
String

Gets or sets the error message.

causes
String

Gets or sets possible causes of the error.

recommendation
String

Gets or sets recommended action to resolve the error.

Returns

A new DataReplicationHealthErrorInfo instance for mocking.

Applies to