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.object
ApplicationOperations

Constructor

ApplicationOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

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

resource_group_name
str
Required

The name of the resource group that contains the Batch account.

account_name
str
Required

The name of the Batch account.

application_name
str
Required

The name of the application. This must be unique within the account.

parameters
Application
Required

The parameters for the request. Default value is None.

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

resource_group_name
str
Required

The name of the resource group that contains the Batch account.

account_name
str
Required

The name of the Batch account.

application_name
str
Required

The name of the application. This must be unique within the account.

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

resource_group_name
str
Required

The name of the resource group that contains the Batch account.

account_name
str
Required

The name of the Batch account.

application_name
str
Required

The name of the application. This must be unique within the account.

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

resource_group_name
str
Required

The name of the resource group that contains the Batch account.

account_name
str
Required

The name of the Batch account.

maxresults
int
Required

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

resource_group_name
str
Required

The name of the resource group that contains the Batch account.

account_name
str
Required

The name of the Batch account.

application_name
str
Required

The name of the application. This must be unique within the account.

parameters
Application
Required

The parameters for the request.

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'>