PoolOperations.GetComputeNodeExtension Method

Definition

Gets the specified compute node.

public Microsoft.Azure.Batch.NodeVMExtension GetComputeNodeExtension (string poolId, string computeNodeId, string extensionName, Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.GetComputeNodeExtension : string * string * string * Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.NodeVMExtension
Public Function GetComputeNodeExtension (poolId As String, computeNodeId As String, extensionName As String, Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As NodeVMExtension

Parameters

poolId
String

The id of the pool.

computeNodeId
String

The id of the compute node to get from the pool.

extensionName
String

The name of the extension to get from the pool.

detailLevel
DetailLevel

A DetailLevel used for controlling which properties are retrieved from the service.

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors.

Returns

A NodeVMExtension containing information about the specified compute node extension.

Remarks

This is a blocking operation. For a non-blocking equivalent, see GetComputeNodeExtensionAsync(String, String, String, DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken).

Applies to