ArmAutomationModelFactory.DscReportError Method

Definition

Initializes a new instance of DscReportError.

public static Azure.ResourceManager.Automation.Models.DscReportError DscReportError (string errorSource = default, string resourceId = default, string errorCode = default, string errorMessage = default, string locale = default, string errorDetails = default);
static member DscReportError : string * string * string * string * string * string -> Azure.ResourceManager.Automation.Models.DscReportError
Public Shared Function DscReportError (Optional errorSource As String = Nothing, Optional resourceId As String = Nothing, Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing, Optional locale As String = Nothing, Optional errorDetails As String = Nothing) As DscReportError

Parameters

errorSource
String

Gets or sets the source of the error.

resourceId
String

Gets or sets the resource ID which generated the error.

errorCode
String

Gets or sets the error code.

errorMessage
String

Gets or sets the error message.

locale
String

Gets or sets the locale of the error.

errorDetails
String

Gets or sets the error details.

Returns

A new DscReportError instance for mocking.

Applies to