ICloudPool.EvaluateAutoScale Method
Blocking call to evaluate (test-run) an autoscale formula on the current 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 ICloudPool
Dim autoscaleFormula As String
Dim context As OperationContext
Dim additionalBehaviors As IEnumerable(Of BatchClientBehavior)
Dim returnValue As AutoScaleEvaluation
returnValue = instance.EvaluateAutoScale(autoscaleFormula, context, additionalBehaviors)
Syntax
'Declaration
Function EvaluateAutoScale ( _
autoscaleFormula As String, _
<OptionalAttribute> Optional context As OperationContext = Nothing, _
<OptionalAttribute> Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing _
) As AutoScaleEvaluation
AutoScaleEvaluation EvaluateAutoScale (
string autoscaleFormula,
[OptionalAttribute] OperationContext context,
[OptionalAttribute] IEnumerable<BatchClientBehavior> additionalBehaviors
)
AutoScaleEvaluation^ EvaluateAutoScale (
String^ autoscaleFormula,
[OptionalAttribute] OperationContext^ context,
[OptionalAttribute] IEnumerable<BatchClientBehavior^>^ additionalBehaviors
)
AutoScaleEvaluation EvaluateAutoScale (
String autoscaleFormula,
/** @attribute OptionalAttribute() */ OperationContext context,
/** @attribute OptionalAttribute() */ IEnumerable<BatchClientBehavior> additionalBehaviors
)
function EvaluateAutoScale (
autoscaleFormula : String,
context : OperationContext,
additionalBehaviors : IEnumerable<BatchClientBehavior>
) : AutoScaleEvaluation
Parameters
- 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
ICloudPool Interface
ICloudPool Members
Microsoft.Azure.Batch Namespace