Skip to main content

jobs_job_histories

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

Overview

Namejobs_job_histories
TypeResource
Idazure.scheduler.jobs_job_histories

Fields

The following fields are returned by SELECT queries:

The job histories have been successfully returned.

NameDatatypeDescription
idstringGets the job history identifier.
namestringGets the job history name.
propertiesobjectGets or sets the job history properties.
typestringGets the job history resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, jobCollectionName, jobNameapi-version, $top, $skip, $filterLists job history.

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
jobCollectionNamestringThe job collection name.
jobNamestringThe job name.
resourceGroupNamestringThe resource group name.
subscriptionIdstringThe subscription id.
$filterstringThe filter to apply on the job state.
$skipintegerThe (0-based) index of the job history list from which to begin requesting entries.
$topintegerthe number of job history to request, in the of range of [1..100].
api-versionstringThe API version.

SELECT examples

Lists job history.

SELECT
id,
name,
properties,
type
FROM azure.scheduler.jobs_job_histories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND jobCollectionName = '{{ jobCollectionName }}' -- required
AND jobName = '{{ jobName }}' -- required
AND api-version = '{{ api-version }}'
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND $filter = '{{ $filter }}'
;