Skip to main content

job_preparation_and_release_task_status

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

Overview

Namejob_preparation_and_release_task_status
TypeResource
Idazure.batch_dataplane.job_preparation_and_release_task_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
jobPreparationTaskExecutionInfoobjectInformation about the execution status of the Job Preparation Task on this Compute Node.
jobReleaseTaskExecutionInfoobjectInformation about the execution status of the Job Release Task on this Compute Node. This property is set only if the Job Release Task has run on the Compute Node.
nodeIdstringThe ID of the Compute Node to which this entry refers.
nodeUrlstringThe URL of the Compute Node to which this entry refers.
poolIdstringThe ID of the Pool containing the Compute Node to which this entry refers.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_job_preparation_and_release_task_statusselectjob_id, endpointtimeOut, ocp-date, maxresults, $filter, $selectLists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

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
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
job_idstringThe ID of the Job. Required.
$filterstringAn OData $filter clause. For more information on constructing this filter, see https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status _. Default value is None.
$selectarrayAn OData $select clause. Default value is None.
maxresultsintegerThe maximum number of items to return in the response. A maximum of 1000 applications can be returned. Default value is None.
ocp-datestringThe time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly. Default value is None.
timeOutintegerThe maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". Default value is None.

SELECT examples

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

SELECT
jobPreparationTaskExecutionInfo,
jobReleaseTaskExecutionInfo,
nodeId,
nodeUrl,
poolId
FROM azure.batch_dataplane.job_preparation_and_release_task_status
WHERE job_id = '{{ job_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND timeOut = '{{ timeOut }}'
AND ocp-date = '{{ ocp-date }}'
AND maxresults = '{{ maxresults }}'
AND $filter = '{{ $filter }}'
AND $select = '{{ $select }}'
;