ApplicationOperations Class
ApplicationOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectApplicationOperations
Constructor
ApplicationOperations(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
- models
Alias to model classes used in this operation group.
Methods
| create |
Adds an application to the specified Batch account. |
| delete |
Deletes an application. |
| get |
Gets information about the specified application. |
| list |
Lists all of the applications in the specified account. |
| update |
Updates settings for the specified application. |
create
Adds an application to the specified Batch account.
create(resource_group_name: str, account_name: str, application_name: str, parameters: Optional[azure.mgmt.batch.models._models_py3.Application] = None, **kwargs: Any) -> azure.mgmt.batch.models._models_py3.Application
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Application, or the result of cls(response)
Return type
Exceptions
delete
Deletes an application.
delete(resource_group_name: str, account_name: str, application_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Gets information about the specified application.
get(resource_group_name: str, account_name: str, application_name: str, **kwargs: Any) -> azure.mgmt.batch.models._models_py3.Application
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Application, or the result of cls(response)
Return type
Exceptions
list
Lists all of the applications in the specified account.
list(resource_group_name: str, account_name: str, maxresults: Optional[int] = None, **kwargs: Any) -> Iterable[azure.mgmt.batch.models._models_py3.ListApplicationsResult]
Parameters
- maxresults
- int
The maximum number of items to return in the response. Default value is None.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ListApplicationsResult or the result of cls(response)
Return type
Exceptions
update
Updates settings for the specified application.
update(resource_group_name: str, account_name: str, application_name: str, parameters: azure.mgmt.batch.models._models_py3.Application, **kwargs: Any) -> azure.mgmt.batch.models._models_py3.Application
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Application, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.batch.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\batch\\models\\__init__.py'>
Feedback
Submit and view feedback for