共用方式為


Job Class

Definition

A device job.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Job
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Job = class
Public Class Job
Inheritance
Job
Attributes

Constructors

Job()

Initializes a new instance of the Job class.

Job(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, JobErrorDetails, String, String, UpdateDownloadProgress, UpdateInstallProgress, Nullable<Int32>, String, String, String)

Initializes a new instance of the Job class.

Properties

CurrentStage

Gets current stage of the update operation. Possible values include: 'Unknown', 'Initial', 'ScanStarted', 'ScanComplete', 'ScanFailed', 'DownloadStarted', 'DownloadComplete', 'DownloadFailed', 'InstallStarted', 'InstallComplete', 'InstallFailed', 'RebootInitiated', 'Success', 'Failure', 'RescanStarted', 'RescanComplete', 'RescanFailed'

DownloadProgress

Gets the download progress.

EndTime

Gets the UTC date and time at which the job completed.

Error

Gets the error details.

ErrorManifestFile

Gets local share/remote container relative path to the error manifest file of the refresh.

Folder

Gets or sets if only subfolders need to be refreshed, then the subfolder path inside the share. (The path is empty if there are no subfolders.)

Id

Gets the path ID that uniquely identifies the object.

InstallProgress

Gets the install progress.

JobType

Gets the type of the job. Possible values include: 'Invalid', 'ScanForUpdates', 'DownloadUpdates', 'InstallUpdates', 'RefreshShare'

Name

Gets the name of the object.

PercentComplete

Gets the percentage of the job that is complete.

ShareId

Gets ARM ID of the share that was refreshed.

StartTime

Gets the UTC date and time at which the job started.

Status

Gets the current status of the job. Possible values include: 'Invalid', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Paused', 'Scheduled'

TotalRefreshErrors

Gets total number of errors encountered during the refresh process.

Type

Gets the hierarchical type of the object.

Applies to