Job Class
A Job resource type. The progress and state can be obtained by polling a Job or subscribing to events using EventGrid.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.media.models._models_py3.ProxyResourceJob
Constructor
Job(*, description: str | None = None, input: _models.JobInput | None = None, outputs: List[_models.JobOutput] | None = None, priority: str | _models.Priority | None = None, correlation_data: Dict[str, str] | None = None, **kwargs)
Keyword-Only Parameters
Name | Description |
---|---|
description
|
Optional customer supplied description of the Job. |
input
|
The inputs for the Job. |
outputs
|
The outputs for the Job. |
priority
|
Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Known values are: "Low", "Normal", and "High". |
correlation_data
|
Customer provided key, value pairs that will be returned in Job and JobOutput state events. |
Variables
Name | Description |
---|---|
id
|
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name
|
The name of the resource. |
type
|
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
system_data
|
The system metadata relating to this resource. |
created
|
The UTC date and time when the customer has created the Job, in 'YYYY-MM-DDThh:mm:ssZ' format. |
state
|
The current state of the job. Known values are: "Canceled", "Canceling", "Error", "Finished", "Processing", "Queued", and "Scheduled". |
description
|
Optional customer supplied description of the Job. |
input
|
The inputs for the Job. |
last_modified
|
The UTC date and time when the customer has last updated the Job, in 'YYYY-MM-DDThh:mm:ssZ' format. |
outputs
|
The outputs for the Job. |
priority
|
Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Known values are: "Low", "Normal", and "High". |
correlation_data
|
Customer provided key, value pairs that will be returned in Job and JobOutput state events. |
start_time
|
The UTC date and time at which this Job began processing. |
end_time
|
The UTC date and time at which this Job finished processing. |
Azure SDK for Python