ComputeNodeExtensionOperations Class

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

Constructor

ComputeNodeExtensionOperations(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: "2022-01-01.15.0".

Methods

get

Gets information about the specified Compute Node Extension.

list

Lists the Compute Nodes Extensions in the specified Pool.

get

Gets information about the specified Compute Node Extension.

get(pool_id, node_id, extension_name, compute_node_extension_get_options=None, custom_headers=None, raw=False, **operation_config)

Parameters

pool_id
str
Required

The ID of the Pool that contains the Compute Node.

node_id
str
Required

The ID of the Compute Node that contains the extensions.

extension_name
str
Required

The name of the of the Compute Node Extension that you want to get information about.

compute_node_extension_get_options
ComputeNodeExtensionGetOptions
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

NodeVMExtension or ClientRawResponse if raw=true

Return type

Exceptions

list

Lists the Compute Nodes Extensions in the specified Pool.

list(pool_id, node_id, compute_node_extension_list_options=None, custom_headers=None, raw=False, **operation_config)

Parameters

pool_id
str
Required

The ID of the Pool that contains Compute Node.

node_id
str
Required

The ID of the Compute Node that you want to list extensions.

compute_node_extension_list_options
ComputeNodeExtensionListOptions
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 NodeVMExtension

Return type

Exceptions

Attributes

models

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