jobs
Creates, updates, deletes, gets or lists a jobs
resource.
Overview
Name | jobs |
Type | Resource |
Id | azure.data_protection.jobs |
Fields
- vw_jobs
- jobs
Name | Datatype | Description |
---|---|---|
id | text | Resource Id represents the complete path to the resource. |
name | text | Resource name associated with the resource. |
activity_id | text | field from the properties object |
backup_instance_friendly_name | text | field from the properties object |
backup_instance_id | text | field from the properties object |
data_source_id | text | field from the properties object |
data_source_location | text | field from the properties object |
data_source_name | text | field from the properties object |
data_source_set_name | text | field from the properties object |
data_source_type | text | field from the properties object |
destination_data_store_name | text | field from the properties object |
duration | text | field from the properties object |
end_time | text | field from the properties object |
error_details | text | field from the properties object |
etag | text | field from the properties object |
extended_info | text | field from the properties object |
is_user_triggered | text | field from the properties object |
jobId | text | field from the properties object |
operation | text | field from the properties object |
operation_category | text | field from the properties object |
policy_id | text | field from the properties object |
policy_name | text | field from the properties object |
progress_enabled | text | field from the properties object |
progress_url | text | field from the properties object |
rehydration_priority | text | field from the properties object |
resourceGroupName | text | field from the properties object |
restore_type | text | field from the properties object |
source_data_store_name | text | field from the properties object |
source_resource_group | text | field from the properties object |
source_subscription_id | text | field from the properties object |
start_time | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
subscription_id | text | field from the properties object |
supported_actions | text | field from the properties object |
system_data | text | field from the properties object |
type | text | Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... |
vaultName | text | field from the properties object |
vault_name | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id represents the complete path to the resource. |
name | string | Resource name associated with the resource. |
properties | object | AzureBackup Job Class |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | jobId, resourceGroupName, subscriptionId, vaultName | Gets a job with id in a backup vault |
list | SELECT | resourceGroupName, subscriptionId, vaultName | Returns list of jobs belonging to a backup vault |
SELECT
examples
Returns list of jobs belonging to a backup vault
- vw_jobs
- jobs
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 }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_protection.jobs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';