PoolOperations.DisableAutoScaleAsync Method (String, IEnumerable<BatchClientBehavior>)
Disables automatic scaling on the specified pool.
Namespace: Microsoft.Azure.Batch
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public Task DisableAutoScaleAsync(
string poolId,
IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task^ DisableAutoScaleAsync(
String^ poolId,
IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member DisableAutoScaleAsync :
poolId:string *
additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task
Public Function DisableAutoScaleAsync (
poolId As String,
additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task
Parameters
poolId
Type: System.StringThe id of the pool.
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 that represents the asynchronous operation.
Remarks
The disable autoscale operation runs asynchronously.
See Also
PoolOperations Class
Microsoft.Azure.Batch Namespace
Return to top