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: Optional[str] = None, input: Optional[_models.JobInput] = None, outputs: Optional[List[_models.JobOutput]] = None, priority: Optional[Union[str, _models.Priority]] = None, correlation_data: Optional[Dict[str, str]] = None, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- str
The name of the resource.
- type
- str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- system_data
- SystemData
The system metadata relating to this resource.
- created
- datetime
The UTC date and time when the customer has created the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.
The current state of the job. Known values are: "Canceled", "Canceling", "Error", "Finished", "Processing", "Queued", "Scheduled".
- description
- str
Optional customer supplied description of the Job.
- input
- JobInput
The inputs for the Job.
- last_modified
- datetime
The UTC date and time when the customer has last updated the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.
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", "High".
Customer provided key, value pairs that will be returned in Job and JobOutput state events.
- start_time
- datetime
The UTC date and time at which this Job began processing.
- end_time
- datetime
The UTC date and time at which this Job finished processing.
Feedback
Submit and view feedback for