JobsOperations Class
JobsOperations operations.
- Inheritance
-
builtins.objectJobsOperations
Constructor
JobsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- api_version
The API version. Constant value: "2016-03-01".
Methods
| create_or_update |
Provisions a new job or updates an existing job. |
| delete |
Deletes a job. |
| get |
Gets a job. |
| list |
Lists all jobs under the specified job collection. |
| list_job_history |
Lists job history. |
| patch |
Patches an existing job. |
| run |
Runs a job. |
create_or_update
Provisions a new job or updates an existing job.
create_or_update(resource_group_name, job_collection_name, job_name, properties=None, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
JobDefinition or ClientRawResponse if raw=true
Return type
Exceptions
delete
Deletes a job.
delete(resource_group_name, job_collection_name, job_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
get
Gets a job.
get(resource_group_name, job_collection_name, job_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
JobDefinition or ClientRawResponse if raw=true
Return type
Exceptions
list
Lists all jobs under the specified job collection.
list(resource_group_name, job_collection_name, top=None, skip=None, filter=None, custom_headers=None, raw=False, **operation_config)
Parameters
- skip
- int
The (0-based) index of the job history list from which to begin requesting entries.
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of JobDefinition
Return type
Exceptions
list_job_history
Lists job history.
list_job_history(resource_group_name, job_collection_name, job_name, top=None, skip=None, filter=None, custom_headers=None, raw=False, **operation_config)
Parameters
- skip
- int
The (0-based) index of the job history list from which to begin requesting entries.
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of JobHistoryDefinition
Return type
Exceptions
patch
Patches an existing job.
patch(resource_group_name, job_collection_name, job_name, properties=None, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
JobDefinition or ClientRawResponse if raw=true
Return type
Exceptions
run
Runs a job.
run(resource_group_name, job_collection_name, job_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.scheduler.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\scheduler\\models\\__init__.py'>
Feedback
Submit and view feedback for