Freigeben über


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

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

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

Name Description
pool_id
Required
str

The ID of the Pool that contains the Compute Node.

node_id
Required
str

The ID of the Compute Node that contains the extensions.

extension_name
Required
str

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

compute_node_extension_get_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
<xref:msrest.pipeline.ClientRawResponse>

NodeVMExtension or ClientRawResponse if raw=true

Exceptions

Type Description

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

Name Description
pool_id
Required
str

The ID of the Pool that contains Compute Node.

node_id
Required
str

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

compute_node_extension_list_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 NodeVMExtension

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