PoolOperationsExtensions.DisableAutoScaleAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disables automatic scaling for a Pool.
public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.PoolDisableAutoScaleHeaders> DisableAutoScaleAsync (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, string poolId, Microsoft.Azure.Batch.Protocol.Models.PoolDisableAutoScaleOptions poolDisableAutoScaleOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member DisableAutoScaleAsync : Microsoft.Azure.Batch.Protocol.IPoolOperations * string * Microsoft.Azure.Batch.Protocol.Models.PoolDisableAutoScaleOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.PoolDisableAutoScaleHeaders>
<Extension()>
Public Function DisableAutoScaleAsync (operations As IPoolOperations, poolId As String, Optional poolDisableAutoScaleOptions As PoolDisableAutoScaleOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET