共用方式為


JobRunData Class

Definition

A class representing the JobRun data model. The Job Run resource.

public class JobRunData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StorageMover.JobRunData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StorageMover.JobRunData>
public class JobRunData : Azure.ResourceManager.Models.ResourceData
type JobRunData = class
    inherit ResourceData
    interface IJsonModel<JobRunData>
    interface IPersistableModel<JobRunData>
type JobRunData = class
    inherit ResourceData
Public Class JobRunData
Inherits ResourceData
Implements IJsonModel(Of JobRunData), IPersistableModel(Of JobRunData)
Public Class JobRunData
Inherits ResourceData
Inheritance
JobRunData
Implements

Constructors

JobRunData()

Initializes a new instance of JobRunData.

Properties

AgentName

Name of the Agent assigned to this run.

AgentResourceId

Fully qualified resource id of the Agent assigned to this run.

BytesExcluded

Bytes of data that will not be transferred, as they are excluded by user configuration.

BytesFailed

Bytes of data that were attempted to transfer and failed.

BytesNoTransferNeeded

Bytes of data that will not be transferred, as they are already found on target (e.g. mirror mode).

BytesScanned

Bytes of data scanned so far in source.

BytesTransferred

Bytes of data successfully transferred to target.

BytesUnsupported

Bytes of data that will not be transferred, as they are unsupported on target.

Error

Error details.

ExecutionEndOn

End time of the run. Null if Agent has not reported that the job has ended.

ExecutionStartOn

Start time of the run. Null if no Agent reported that the job has started.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
ItemsExcluded

Number of items that will not be transferred, as they are excluded by user configuration.

ItemsFailed

Number of items that were attempted to transfer and failed.

ItemsNoTransferNeeded

Number of items that will not be transferred, as they are already found on target (e.g. mirror mode).

ItemsScanned

Number of items scanned so far in source.

ItemsTransferred

Number of items successfully transferred to target.

ItemsUnsupported

Number of items that will not be transferred, as they are unsupported on target.

JobDefinitionProperties

Copy of parent Job Definition's properties at time of Job Run creation.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

LastStatusUpdate

The last updated time of the Job Run.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The provisioning state of this resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ScanStatus

The status of Agent's scanning of source.

SourceName

Name of source Endpoint resource. This resource may no longer exist.

SourceProperties

Copy of source Endpoint resource's properties at time of Job Run creation.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

SourceResourceId

Fully qualified resource id of source Endpoint. This id may no longer exist.

Status

The state of the job execution.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TargetName

Name of target Endpoint resource. This resource may no longer exist.

TargetProperties

Copy of Endpoint resource's properties at time of Job Run creation.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

TargetResourceId

Fully qualified resource id of of Endpoint. This id may no longer exist.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<JobRunData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<JobRunData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<JobRunData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<JobRunData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<JobRunData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to