CloudPool.RefreshAsync Method (DetailLevel, IEnumerable<BatchClientBehavior>)
Refreshes the current CloudPool.
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:
virtual Task^ RefreshAsync(
DetailLevel^ detailLevel = null,
IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
) sealed
abstract RefreshAsync :
detailLevel:DetailLevel = null *
additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task
override 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.
Implements
IRefreshable.RefreshAsync(DetailLevel, IEnumerable<BatchClientBehavior>)
See Also
CloudPool Class
Microsoft.Azure.Batch Namespace
Return to top