Skip to main content

job_details

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

Overview

Namejob_details
TypeResource
Idazure.recovery_services_backup.job_details

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.
activityIdstringActivityId of job.
backupManagementTypestringBackup management type to execute the current job. Known values are: "Invalid", "AzureIaasVM", "MAB", "DPM", "AzureBackupServer", "AzureSql", "AzureStorage", "AzureWorkload", and "DefaultBackup". (Invalid, AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql, AzureStorage, AzureWorkload, DefaultBackup)
eTagstringOptional ETag.
endTimestring (date-time)The end time.
entityFriendlyNamestringFriendly name of the entity on which the current job is executing.
jobTypestringThis property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. Required. Default value is None.
locationstringThe geo-location where the resource lives.
operationstringThe operation name.
startTimestring (date-time)The start time.
statusstringJob status.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
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
getselectvault_name, resource_group_name, job_name, subscription_idGets extended information associated with the job.

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
job_namestringName of the job whose details are to be fetched. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
vault_namestringThe name of the VaultResource. Required.

SELECT examples

Gets extended information associated with the job.

SELECT
id,
name,
activityId,
backupManagementType,
eTag,
endTime,
entityFriendlyName,
jobType,
location,
operation,
startTime,
status,
systemData,
tags,
type
FROM azure.recovery_services_backup.job_details
WHERE vault_name = '{{ vault_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND job_name = '{{ job_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;