Source code for azure.batch.models.pool_evaluate_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 PoolEvaluateAutoScaleParameter(Model): """Parameters for a CloudJobOperations.EvaluateAutoScale request. :param auto_scale_formula: A formula for the desired number of compute nodes in the pool. :type auto_scale_formula: str """ _validation = { 'auto_scale_formula': {'required': True}, } _attribute_map = { 'auto_scale_formula': {'key': 'autoScaleFormula', 'type': 'str'}, } def __init__(self, auto_scale_formula): self.auto_scale_formula = auto_scale_formula