다음을 통해 공유


EdgeJobProperties Class

Definition

Properties of a Job resource, including type, status, parameters, steps, and error details.

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

Properties

CorrelationId

Correlation ID for tracking.

EndOn

End time of the job (ISO8601).

ErrorDetails

Error Details if any failure is there.

JobParameter

Parameters for the job. Please note EdgeJobContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DeployJobContent.

JobType

The type of job.

ProvisioningState

Provisioning state of the resource.

StartOn

Start time of the job (ISO8601).

Status

Status of the job.

Steps

Steps and substatuses for the job.

TriggeredBy

The OID or identity that triggered the job.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EdgeJobProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EdgeJobProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EdgeJobProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EdgeJobProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EdgeJobProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to