Share via


PoolOperationsExtensions.DisableAutoScale Method

Definition

Disables automatic scaling for a Pool.

public static Microsoft.Azure.Batch.Protocol.Models.PoolDisableAutoScaleHeaders DisableAutoScale (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, string poolId, Microsoft.Azure.Batch.Protocol.Models.PoolDisableAutoScaleOptions poolDisableAutoScaleOptions = default);
static member DisableAutoScale : Microsoft.Azure.Batch.Protocol.IPoolOperations * string * Microsoft.Azure.Batch.Protocol.Models.PoolDisableAutoScaleOptions -> Microsoft.Azure.Batch.Protocol.Models.PoolDisableAutoScaleHeaders
<Extension()>
Public Function DisableAutoScale (operations As IPoolOperations, poolId As String, Optional poolDisableAutoScaleOptions As PoolDisableAutoScaleOptions = Nothing) As PoolDisableAutoScaleHeaders

Parameters

operations
IPoolOperations

The operations group for this extension method.

poolId
String

The ID of the Pool on which to disable automatic scaling.

poolDisableAutoScaleOptions
PoolDisableAutoScaleOptions

Additional parameters for the operation

Returns

Applies to