ComputeNode.RefreshAsync Method (DetailLevel, IEnumerable<BatchClientBehavior>)
Refreshes the current ComputeNode.
Namespace: Microsoft.Azure.Batch
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public Task RefreshAsync(
DetailLevel detailLevel = null,
IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task^ RefreshAsync(
DetailLevel^ detailLevel = null,
IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member RefreshAsync :
detailLevel:DetailLevel = null *
additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task
Public Function RefreshAsync (
detailLevel As DetailLevel,
additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task
Parameters
detailLevel
Type: Microsoft.Azure.Batch.DetailLevelThe detail level for the refresh. If a detail level which omits the Id property is specified, refresh will fail.
additionalBehaviors
Type: System.Collections.Generic.IEnumerable<BatchClientBehavior>A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors.
Return Value
Type: System.Threading.Tasks.Task
A Task representing the asynchronous refresh operation.
See Also
ComputeNode Class
Microsoft.Azure.Batch Namespace
Return to top