Поделиться через


DscReportResource Class

Definition

Definition of the DSC Report Resource.

public class DscReportResource : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Automation.Models.DscReportResource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Automation.Models.DscReportResource>
public class DscReportResource
type DscReportResource = class
    interface IJsonModel<DscReportResource>
    interface IPersistableModel<DscReportResource>
type DscReportResource = class
Public Class DscReportResource
Implements IJsonModel(Of DscReportResource), IPersistableModel(Of DscReportResource)
Public Class DscReportResource
Inheritance
DscReportResource
Implements

Properties

DependsOn

Gets or sets the Resource Navigation values for resources the resource depends on.

DurationInSeconds

Gets or sets the duration in seconds for the resource.

Error

Gets or sets the error of the resource.

ModuleName

Gets or sets the module name of the resource.

ModuleVersion

Gets or sets the module version of the resource.

ResourceId

Gets or sets the ID of the resource.

ResourceName

Gets or sets the name of the resource.

SourceInfo

Gets or sets the source info of the resource.

StartOn

Gets or sets the start date of the resource.

Status

Gets or sets the status of the resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DscReportResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DscReportResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DscReportResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DscReportResource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DscReportResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to