Skip to main content

jobs

Creates, updates, deletes, gets or lists a jobs resource.

Overview

Namejobs
TypeResource
Idazure.data_protection.jobs

Fields

NameDatatypeDescription
idtextResource Id represents the complete path to the resource.
nametextResource name associated with the resource.
activity_idtextfield from the properties object
backup_instance_friendly_nametextfield from the properties object
backup_instance_idtextfield from the properties object
data_source_idtextfield from the properties object
data_source_locationtextfield from the properties object
data_source_nametextfield from the properties object
data_source_set_nametextfield from the properties object
data_source_typetextfield from the properties object
destination_data_store_nametextfield from the properties object
durationtextfield from the properties object
end_timetextfield from the properties object
error_detailstextfield from the properties object
etagtextfield from the properties object
extended_infotextfield from the properties object
is_user_triggeredtextfield from the properties object
jobIdtextfield from the properties object
operationtextfield from the properties object
operation_categorytextfield from the properties object
policy_idtextfield from the properties object
policy_nametextfield from the properties object
progress_enabledtextfield from the properties object
progress_urltextfield from the properties object
rehydration_prioritytextfield from the properties object
resourceGroupNametextfield from the properties object
restore_typetextfield from the properties object
source_data_store_nametextfield from the properties object
source_resource_grouptextfield from the properties object
source_subscription_idtextfield from the properties object
start_timetextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
subscription_idtextfield from the properties object
supported_actionstextfield from the properties object
system_datatextfield from the properties object
typetextResource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
vaultNametextfield from the properties object
vault_nametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTjobId, resourceGroupName, subscriptionId, vaultNameGets a job with id in a backup vault
listSELECTresourceGroupName, subscriptionId, vaultNameReturns list of jobs belonging to a backup vault

SELECT examples

Returns list of jobs belonging to a backup vault

SELECT
id,
name,
activity_id,
backup_instance_friendly_name,
backup_instance_id,
data_source_id,
data_source_location,
data_source_name,
data_source_set_name,
data_source_type,
destination_data_store_name,
duration,
end_time,
error_details,
etag,
extended_info,
is_user_triggered,
jobId,
operation,
operation_category,
policy_id,
policy_name,
progress_enabled,
progress_url,
rehydration_priority,
resourceGroupName,
restore_type,
source_data_store_name,
source_resource_group,
source_subscription_id,
start_time,
status,
subscriptionId,
subscription_id,
supported_actions,
system_data,
type,
vaultName,
vault_name
FROM azure.data_protection.vw_jobs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';