Source code for azure.batch.models.pool_enable_auto_scale_parameter

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class PoolEnableAutoScaleParameter(Model): """Parameters for a CloudPoolOperations.EnableAutoScale request. :param auto_scale_formula: The formula for the desired number of compute nodes in the pool. :type auto_scale_formula: str :param auto_scale_evaluation_interval: A time interval for the desired autoscale evaluation period in the pool. :type auto_scale_evaluation_interval: timedelta """ _attribute_map = { 'auto_scale_formula': {'key': 'autoScaleFormula', 'type': 'str'}, 'auto_scale_evaluation_interval': {'key': 'autoScaleEvaluationInterval', 'type': 'duration'}, } def __init__(self, auto_scale_formula=None, auto_scale_evaluation_interval=None): self.auto_scale_formula = auto_scale_formula self.auto_scale_evaluation_interval = auto_scale_evaluation_interval