Job Class
A device job.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
Job(*, folder: str | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
folder
|
If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.). Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
The path ID that uniquely identifies the object. |
|
name
|
The name of the object. |
|
type
|
The hierarchical type of the object. |
|
status
|
The current status of the job. Known values are: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", and "Scheduled". |
|
start_time
|
The UTC date and time at which the job started. |
|
end_time
|
The UTC date and time at which the job completed. |
|
percent_complete
|
The percentage of the job that is complete. |
|
error
|
The error details. |
|
job_type
|
The type of the job. Known values are: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare", and "RefreshContainer". |
|
current_stage
|
Current stage of the update operation. Known values are: "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", and "RescanFailed". |
|
download_progress
|
The download progress. |
|
install_progress
|
The install progress. |
|
total_refresh_errors
|
Total number of errors encountered during the refresh process. |
|
error_manifest_file
|
Local share/remote container relative path to the error manifest file of the refresh. |
|
refreshed_entity_id
|
ARM ID of the entity that was refreshed. |
|
folder
|
If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.). |