ArmAutomationModelFactory.DscReportError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET