Job Class
Definition of the job.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.automation.models._models_py3.ResourceJob
Constructor
Job(*, runbook: Optional[azure.mgmt.automation.models._models_py3.RunbookAssociationProperty] = None, started_by: Optional[str] = None, run_on: Optional[str] = None, job_id: Optional[str] = None, creation_time: Optional[datetime.datetime] = None, status: Optional[Union[str, azure.mgmt.automation.models._automation_client_enums.JobStatus]] = None, status_details: Optional[str] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, exception: Optional[str] = None, last_modified_time: Optional[datetime.datetime] = None, last_status_modified_time: Optional[datetime.datetime] = None, parameters: Optional[Dict[str, str]] = None, provisioning_state: Optional[Union[str, azure.mgmt.automation.models._automation_client_enums.JobProvisioningState]] = None, **kwargs)
Parameters
- run_on
- str
Gets or sets the runOn which specifies the group name where the job is to be executed.
Gets or sets the status of the job. Possible values include: "New", "Activating", "Running", "Completed", "Failed", "Stopped", "Blocked", "Suspended", "Disconnected", "Suspending", "Stopping", "Resuming", "Removing".
- provisioning_state
- str or JobProvisioningState
The current provisioning state of the job. Possible values include: "Failed", "Succeeded", "Suspended", "Processing".
Variables
- id
- str
Fully qualified resource Id for the resource.
- name
- str
The name of the resource.
- type
- str
The type of the resource.
Feedback
Submit and view feedback for