IComputeNodeOperations.ReimageAsync Method (String, String, ComputeNodeReimageParameters, CancellationToken)

 

Reinstalls the operating system on the specified compute node.

Namespace:   Microsoft.Azure.Batch.Protocol
Assembly:  Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Syntax

Task<ComputeNodeReimageResponse> ReimageAsync(
    string poolId,
    string nodeId,
    ComputeNodeReimageParameters parameters,
    CancellationToken cancellationToken
)
Task<ComputeNodeReimageResponse^>^ ReimageAsync(
    String^ poolId,
    String^ nodeId,
    ComputeNodeReimageParameters^ parameters,
    CancellationToken cancellationToken
)
abstract ReimageAsync : 
        poolId:string *
        nodeId:string *
        parameters:ComputeNodeReimageParameters *
        cancellationToken:CancellationToken -> Task<ComputeNodeReimageResponse>
Function ReimageAsync (
    poolId As String,
    nodeId As String,
    parameters As ComputeNodeReimageParameters,
    cancellationToken As CancellationToken
) As Task(Of ComputeNodeReimageResponse)

Parameters

  • poolId
    Type: System.String

    The id of the pool that contains the compute node.

  • nodeId
    Type: System.String

    The id of the compute node on which you want to reinstall the operating system.

Return Value

Type: System.Threading.Tasks.Task<ComputeNodeReimageResponse>

Response to a ComputeNodeOperations.Reimage request.

See Also

IComputeNodeOperations Interface
Microsoft.Azure.Batch.Protocol Namespace

Return to top