Skip to main content

operations_status

Creates, updates, deletes, gets or lists an operations_status resource.

Overview

Nameoperations_status
TypeResource
Idazure.data_box_edge.operations_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
currentStagestringCurrent 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". (Unknown, Initial, ScanStarted, ScanComplete, ScanFailed, DownloadStarted, DownloadComplete, DownloadFailed, InstallStarted, InstallComplete, InstallFailed, RebootInitiated, Success, Failure, RescanStarted, RescanComplete, RescanFailed)
downloadProgressobjectThe download progress.
endTimestring (date-time)The UTC date and time at which the job completed.
errorobjectThe error details.
errorManifestFilestringLocal share/remote container relative path to the error manifest file of the refresh.
folderstringIf only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.).
installProgressobjectThe install progress.
jobTypestringThe type of the job. Known values are: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer", "Backup", "Restore", and "TriggerSupportPackage". (Invalid, ScanForUpdates, DownloadUpdates, InstallUpdates, RefreshShare, RefreshContainer, Backup, Restore, TriggerSupportPackage)
percentCompleteintegerThe percentage of the job that is complete.
refreshedEntityIdstringARM ID of the entity that was refreshed.
startTimestring (date-time)The UTC date and time at which the job started.
statusstringThe current status of the job. Known values are: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", and "Scheduled". (Invalid, Running, Succeeded, Failed, Canceled, Paused, Scheduled)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
totalRefreshErrorsintegerTotal number of errors encountered during the refresh process.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdevice_name, name, resource_group_name, subscription_idGets the details of a specified job on a Data Box Edge/Data Box Gateway device. Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
device_namestringThe device name. Required.
namestringThe job name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.

SELECT
id,
name,
currentStage,
downloadProgress,
endTime,
error,
errorManifestFile,
folder,
installProgress,
jobType,
percentComplete,
refreshedEntityId,
startTime,
status,
systemData,
totalRefreshErrors,
type
FROM azure.data_box_edge.operations_status
WHERE device_name = '{{ device_name }}' -- required
AND name = '{{ name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;