Share via


JobRun Class

Definition

The Job Run resource.

[Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunTypeConverter))]
public class JobRun : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunTypeConverter))>]
type JobRun = class
    interface IJobRun
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class JobRun
Implements IJobRun, IValidates
Inheritance
JobRun
Attributes
Implements

Constructors

JobRun()

Creates an new JobRun instance.

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.

ErrorCode

Error code of the given entry.

ErrorMessage

Error message of the given entry.

ExecutionEndTime

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

ExecutionStartTime

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}

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.

JobDefinitionProperty

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

LastStatusUpdate

The last updated time of the Job Run.

Name

The name of the resource

ProvisioningState

The provisioning state of this resource.

ScanStatus

The status of Agent's scanning of source.

SourceName

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

SourceProperty

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

SourceResourceId

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

Status

The state of the job execution.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Target

Target of the given error entry.

TargetName

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

TargetProperty

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

TargetResourceId

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

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JobRun.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JobRun.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun.

FromJsonString(String)

Creates a new instance of JobRun, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of JobRun into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to