ICloudPoolOperations.DisableAutoScaleAsync Method (String, CloudPoolDisableAutoScaleParameters, CancellationToken)
Disables automatic scaling for a pool.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
Task<CloudPoolDisableAutoScaleResponse> DisableAutoScaleAsync(
string poolId,
CloudPoolDisableAutoScaleParameters parameters,
CancellationToken cancellationToken
)
Task<CloudPoolDisableAutoScaleResponse^>^ DisableAutoScaleAsync(
String^ poolId,
CloudPoolDisableAutoScaleParameters^ parameters,
CancellationToken cancellationToken
)
abstract DisableAutoScaleAsync :
poolId:string *
parameters:CloudPoolDisableAutoScaleParameters *
cancellationToken:CancellationToken -> Task<CloudPoolDisableAutoScaleResponse>
Function DisableAutoScaleAsync (
poolId As String,
parameters As CloudPoolDisableAutoScaleParameters,
cancellationToken As CancellationToken
) As Task(Of CloudPoolDisableAutoScaleResponse)
Parameters
poolId
Type: System.StringThe id of the pool on which to disable automatic scaling.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudPoolDisableAutoScaleParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<CloudPoolDisableAutoScaleResponse>
Response to a CloudPoolOperations.DisableAutoScale request.
See Also
ICloudPoolOperations Interface
Microsoft.Azure.Batch.Protocol Namespace
Return to top