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

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

api_version

The API version to use for the request. Constant value: "2023-11-01.18.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

account_list_pool_node_counts_options
AccountListPoolNodeCountsOptions
default value: None

Additional parameters for the operation

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

An iterator like instance of PoolNodeCounts

Return type

Exceptions

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

account_list_supported_images_options
AccountListSupportedImagesOptions
default value: None

Additional parameters for the operation

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

An iterator like instance of ImageInformation

Return type

Exceptions

Attributes

models

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