IPoolManager.ResizePool Method

Blocking call to begin a pool resize operation.

Namespace: Microsoft.Azure.Batch
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Usage

'Usage
Dim instance As IPoolManager
Dim poolName As String
Dim targetDedicated As Integer
Dim resizeTimeout As Nullable(Of TimeSpan)
Dim deallocationOption As Nullable(Of TVMDeallocationOption)
Dim context As OperationContext
Dim additionalBehaviors As IEnumerable(Of BatchClientBehavior)

instance.ResizePool(poolName, targetDedicated, resizeTimeout, deallocationOption, context, additionalBehaviors)

Syntax

'Declaration
Sub ResizePool ( _
    poolName As String, _
    targetDedicated As Integer, _
    <OptionalAttribute> Optional resizeTimeout As Nullable(Of TimeSpan) = Nothing, _
    <OptionalAttribute> Optional deallocationOption As Nullable(Of TVMDeallocationOption) = Nothing, _
    <OptionalAttribute> Optional context As OperationContext = Nothing, _
    <OptionalAttribute> Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing _
)
void ResizePool (
    string poolName,
    int targetDedicated,
    [OptionalAttribute] Nullable<TimeSpan> resizeTimeout,
    [OptionalAttribute] Nullable<TVMDeallocationOption> deallocationOption,
    [OptionalAttribute] OperationContext context,
    [OptionalAttribute] IEnumerable<BatchClientBehavior> additionalBehaviors
)
void ResizePool (
    String^ poolName, 
    int targetDedicated, 
    [OptionalAttribute] Nullable<TimeSpan> resizeTimeout, 
    [OptionalAttribute] Nullable<TVMDeallocationOption> deallocationOption, 
    [OptionalAttribute] OperationContext^ context, 
    [OptionalAttribute] IEnumerable<BatchClientBehavior^>^ additionalBehaviors
)
void ResizePool (
    String poolName, 
    int targetDedicated, 
    /** @attribute OptionalAttribute() */ Nullable<TimeSpan> resizeTimeout, 
    /** @attribute OptionalAttribute() */ Nullable<TVMDeallocationOption> deallocationOption, 
    /** @attribute OptionalAttribute() */ OperationContext context, 
    /** @attribute OptionalAttribute() */ IEnumerable<BatchClientBehavior> additionalBehaviors
)
function ResizePool (
    poolName : String, 
    targetDedicated : int, 
    resizeTimeout : Nullable<TimeSpan>, 
    deallocationOption : Nullable<TVMDeallocationOption>, 
    context : OperationContext, 
    additionalBehaviors : IEnumerable<BatchClientBehavior>
)

Parameters

  • poolName
  • targetDedicated
  • resizeTimeout
  • deallocationOption
  • context

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IPoolManager Interface IPoolManager Members
Microsoft.Azure.Batch Namespace