Delen via


ComputeNodeExtensionOperationsExtensions.GetAsync Method

Definition

Gets information about the specified Compute Node Extension.

public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.NodeVMExtension> GetAsync (this Microsoft.Azure.Batch.Protocol.IComputeNodeExtensionOperations operations, string poolId, string nodeId, string extensionName, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeExtensionGetOptions computeNodeExtensionGetOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Batch.Protocol.IComputeNodeExtensionOperations * string * string * string * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeExtensionGetOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.NodeVMExtension>
<Extension()>
Public Function GetAsync (operations As IComputeNodeExtensionOperations, poolId As String, nodeId As String, extensionName As String, Optional computeNodeExtensionGetOptions As ComputeNodeExtensionGetOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NodeVMExtension)

Parameters

operations
IComputeNodeExtensionOperations

The operations group for this extension method.

poolId
String

The ID of the Pool that contains the Compute Node.

nodeId
String

The ID of the Compute Node that contains the extensions.

extensionName
String

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

computeNodeExtensionGetOptions
ComputeNodeExtensionGetOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to