none
Azure batch pool nodejs sdk autoScaleEvaluationInterval correct syntax RRS feed

  • Question

  • I need to shorten the Azure batch pool autoscale evaluation interval from 15 minutes to 5 minutes.
    I'm using Azure batch NodeJS SDK.
    I've tried with different syntaxes, like 'PT5M', '300', '5', but they don't work.
    The correct property in pool configuration is autoScaleEvaluationInterval that
    is of type 'Duration':
    https://docs.microsoft.com/en-us/javascript/api/azure-batch/poolenableautoscaleparameter?view=azure-node-latest
    I don't know what's the syntax to define a new duration in JavaScript and how to use it here so that it works. With what I've tried so far, the pool creation fails.











    • Edited by rierjarv Wednesday, May 29, 2019 9:10 AM
    Wednesday, May 29, 2019 9:09 AM

All replies