JobCollectionsOperations Class
JobCollectionsOperations operations.
- Inheritance
-
builtins.objectJobCollectionsOperations
Constructor
JobCollectionsOperations(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 collection or updates an existing job collection. |
| delete |
Deletes a job collection. |
| disable |
Disables all of the jobs in the job collection. |
| enable |
Enables all of the jobs in the job collection. |
| get |
Gets a job collection. |
| list_by_resource_group |
Gets all job collections under specified resource group. |
| list_by_subscription |
Gets all job collections under specified subscription. |
| patch |
Patches an existing job collection. |
create_or_update
Provisions a new job collection or updates an existing job collection.
create_or_update(resource_group_name, job_collection_name, job_collection, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
JobCollectionDefinition or ClientRawResponse if raw=true
Return type
Exceptions
delete
Deletes a job collection.
delete(resource_group_name, job_collection_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns None or ClientRawResponse if raw==True
Return type
Exceptions
disable
Disables all of the jobs in the job collection.
disable(resource_group_name, job_collection_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns None or ClientRawResponse if raw==True
Return type
Exceptions
enable
Enables all of the jobs in the job collection.
enable(resource_group_name, job_collection_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns None or ClientRawResponse if raw==True
Return type
Exceptions
get
Gets a job collection.
get(resource_group_name, job_collection_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
JobCollectionDefinition or ClientRawResponse if raw=true
Return type
Exceptions
list_by_resource_group
Gets all job collections under specified resource group.
list_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of JobCollectionDefinition
Return type
Exceptions
list_by_subscription
Gets all job collections under specified subscription.
list_by_subscription(custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of JobCollectionDefinition
Return type
Exceptions
patch
Patches an existing job collection.
patch(resource_group_name, job_collection_name, job_collection, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
JobCollectionDefinition 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