Udostępnij za pośrednictwem


Job Constructors

Definition

Overloads

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.

Job()

Initializes a new instance of the Job class.

public Job ();
Public Sub New ()

Applies to

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.

public Job (string id = default, string name = default, string type = default, string status = default, DateTime? startTime = default, DateTime? endTime = default, int? percentComplete = default, Microsoft.Azure.Management.EdgeGateway.Models.JobErrorDetails error = default, string jobType = default, string currentStage = default, Microsoft.Azure.Management.EdgeGateway.Models.UpdateDownloadProgress downloadProgress = default, Microsoft.Azure.Management.EdgeGateway.Models.UpdateInstallProgress installProgress = default, int? totalRefreshErrors = default, string errorManifestFile = default, string shareId = default, string folder = default);
new Microsoft.Azure.Management.EdgeGateway.Models.Job : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Management.EdgeGateway.Models.JobErrorDetails * string * string * Microsoft.Azure.Management.EdgeGateway.Models.UpdateDownloadProgress * Microsoft.Azure.Management.EdgeGateway.Models.UpdateInstallProgress * Nullable<int> * string * string * string -> Microsoft.Azure.Management.EdgeGateway.Models.Job
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional status As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional error As JobErrorDetails = Nothing, Optional jobType As String = Nothing, Optional currentStage As String = Nothing, Optional downloadProgress As UpdateDownloadProgress = Nothing, Optional installProgress As UpdateInstallProgress = Nothing, Optional totalRefreshErrors As Nullable(Of Integer) = Nothing, Optional errorManifestFile As String = Nothing, Optional shareId As String = Nothing, Optional folder As String = Nothing)

Parameters

id
String

The path ID that uniquely identifies the object.

name
String

The name of the object.

type
String

The hierarchical type of the object.

status
String

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

startTime
Nullable<DateTime>

The UTC date and time at which the job started.

endTime
Nullable<DateTime>

The UTC date and time at which the job completed.

percentComplete
Nullable<Int32>

The percentage of the job that is complete.

error
JobErrorDetails

The error details.

jobType
String

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

currentStage
String

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
UpdateDownloadProgress

The download progress.

installProgress
UpdateInstallProgress

The install progress.

totalRefreshErrors
Nullable<Int32>

Total number of errors encountered during the refresh process.

errorManifestFile
String

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

shareId
String

ARM ID of the share that was refreshed.

folder
String

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

Applies to