IPoolManager.EvaluateAutoScale Method

Blocking call to evaluate (test-run) an autoscale formula on the given pool. It does not change any state of the pool and it does not affect the last modified time or ETag of the pool.

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

Usage

'Usage
Dim instance As IPoolManager
Dim poolName As String
Dim autoscaleFormula As String
Dim context As OperationContext
Dim additionalBehaviors As IEnumerable(Of BatchClientBehavior)
Dim returnValue As AutoScaleEvaluation

returnValue = instance.EvaluateAutoScale(poolName, autoscaleFormula, context, additionalBehaviors)

Syntax

'Declaration
Function EvaluateAutoScale ( _
    poolName As String, _
    autoscaleFormula As String, _
    <OptionalAttribute> Optional context As OperationContext = Nothing, _
    <OptionalAttribute> Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing _
) As AutoScaleEvaluation
AutoScaleEvaluation EvaluateAutoScale (
    string poolName,
    string autoscaleFormula,
    [OptionalAttribute] OperationContext context,
    [OptionalAttribute] IEnumerable<BatchClientBehavior> additionalBehaviors
)
AutoScaleEvaluation^ EvaluateAutoScale (
    String^ poolName, 
    String^ autoscaleFormula, 
    [OptionalAttribute] OperationContext^ context, 
    [OptionalAttribute] IEnumerable<BatchClientBehavior^>^ additionalBehaviors
)
AutoScaleEvaluation EvaluateAutoScale (
    String poolName, 
    String autoscaleFormula, 
    /** @attribute OptionalAttribute() */ OperationContext context, 
    /** @attribute OptionalAttribute() */ IEnumerable<BatchClientBehavior> additionalBehaviors
)
function EvaluateAutoScale (
    poolName : String, 
    autoscaleFormula : String, 
    context : OperationContext, 
    additionalBehaviors : IEnumerable<BatchClientBehavior>
) : AutoScaleEvaluation

Parameters

  • poolName
    The name of the pool.
  • autoscaleFormula
    The autoscale formula to be evaluated.
  • 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