DscReportError Class
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.
Definition of the dsc node report error type.
public class DscReportError : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Automation.Models.DscReportError>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Automation.Models.DscReportError>
public class DscReportError
type DscReportError = class
interface IJsonModel<DscReportError>
interface IPersistableModel<DscReportError>
type DscReportError = class
Public Class DscReportError
Implements IJsonModel(Of DscReportError), IPersistableModel(Of DscReportError)
Public Class DscReportError
- Inheritance
-
DscReportError
- Implements
Properties
ErrorCode |
Gets or sets the error code. |
ErrorDetails |
Gets or sets the error details. |
ErrorMessage |
Gets or sets the error message. |
ErrorSource |
Gets or sets the source of the error. |
Locale |
Gets or sets the locale of the error. |
ResourceId |
Gets or sets the resource ID which generated the error. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DscReportError>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DscReportError>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DscReportError>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DscReportError>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DscReportError>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |