AccountOperations Class

AccountOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Inheritance
builtins.object
AccountOperations

Constructor

AccountOperations(client, config, serializer, deserializer)

Parameters

Name Description
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

Name Description
api_version

The API version to use for the request. Constant value: "2024-02-01.19.0".

Methods

list_pool_node_counts

Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.

list_supported_images

Lists all Virtual Machine Images supported by the Azure Batch service.

list_pool_node_counts

Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.

list_pool_node_counts(account_list_pool_node_counts_options=None, custom_headers=None, raw=False, **operation_config)

Parameters

Name Description
account_list_pool_node_counts_options

Additional parameters for the operation

default value: None
custom_headers

headers that will be added to the request

default value: None
raw

returns the direct response alongside the deserialized response

default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description

An iterator like instance of PoolNodeCounts

Exceptions

Type Description

list_supported_images

Lists all Virtual Machine Images supported by the Azure Batch service.

list_supported_images(account_list_supported_images_options=None, custom_headers=None, raw=False, **operation_config)

Parameters

Name Description
account_list_supported_images_options

Additional parameters for the operation

default value: None
custom_headers

headers that will be added to the request

default value: None
raw

returns the direct response alongside the deserialized response

default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description

An iterator like instance of ImageInformation

Exceptions

Type Description

Attributes

models

models = <module 'azure.batch.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\batch\\models\\__init__.py'>