### YamlMime:JavaType uid: "com.azure.resourcemanager.batch.models.ScaleSettings" fullName: "com.azure.resourcemanager.batch.models.ScaleSettings" name: "ScaleSettings" nameWithType: "ScaleSettings" summary: "Scale settings for the pool Defines the desired size of the pool." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **ScaleSettings**
implements <>" constructors: - uid: "com.azure.resourcemanager.batch.models.ScaleSettings.ScaleSettings()" fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.ScaleSettings()" name: "ScaleSettings()" nameWithType: "ScaleSettings.ScaleSettings()" summary: "Creates an instance of ScaleSettings class." syntax: "public ScaleSettings()" desc: "Creates an instance of ScaleSettings class." methods: - uid: "com.azure.resourcemanager.batch.models.ScaleSettings.autoScale()" fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.autoScale()" name: "autoScale()" nameWithType: "ScaleSettings.autoScale()" summary: "Get the autoScale property: This property and fixedScale are mutually exclusive and one of the properties must be specified." syntax: "public AutoScaleSettings autoScale()" desc: "Get the autoScale property: This property and fixedScale are mutually exclusive and one of the properties must be specified." returns: description: "the autoScale value." type: "" - uid: "com.azure.resourcemanager.batch.models.ScaleSettings.fixedScale()" fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.fixedScale()" name: "fixedScale()" nameWithType: "ScaleSettings.fixedScale()" summary: "Get the fixedScale property: This property and autoScale are mutually exclusive and one of the properties must be specified." syntax: "public FixedScaleSettings fixedScale()" desc: "Get the fixedScale property: This property and autoScale are mutually exclusive and one of the properties must be specified." returns: description: "the fixedScale value." type: "" - uid: "com.azure.resourcemanager.batch.models.ScaleSettings.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "ScaleSettings.fromJson(JsonReader jsonReader)" summary: "Reads an instance of ScaleSettings from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static ScaleSettings fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the ScaleSettings." type: "IOException" desc: "Reads an instance of ScaleSettings from the JsonReader." returns: description: "An instance of ScaleSettings if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.resourcemanager.batch.models.ScaleSettings.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "ScaleSettings.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.batch.models.ScaleSettings.validate()" fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.validate()" name: "validate()" nameWithType: "ScaleSettings.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.batch.models.ScaleSettings.withAutoScale(com.azure.resourcemanager.batch.models.AutoScaleSettings)" fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.withAutoScale(AutoScaleSettings autoScale)" name: "withAutoScale(AutoScaleSettings autoScale)" nameWithType: "ScaleSettings.withAutoScale(AutoScaleSettings autoScale)" summary: "Set the autoScale property: This property and fixedScale are mutually exclusive and one of the properties must be specified." parameters: - description: "the autoScale value to set." name: "autoScale" type: "" syntax: "public ScaleSettings withAutoScale(AutoScaleSettings autoScale)" desc: "Set the autoScale property: This property and fixedScale are mutually exclusive and one of the properties must be specified." returns: description: "the ScaleSettings object itself." type: "" - uid: "com.azure.resourcemanager.batch.models.ScaleSettings.withFixedScale(com.azure.resourcemanager.batch.models.FixedScaleSettings)" fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.withFixedScale(FixedScaleSettings fixedScale)" name: "withFixedScale(FixedScaleSettings fixedScale)" nameWithType: "ScaleSettings.withFixedScale(FixedScaleSettings fixedScale)" summary: "Set the fixedScale property: This property and autoScale are mutually exclusive and one of the properties must be specified." parameters: - description: "the fixedScale value to set." name: "fixedScale" type: "" syntax: "public ScaleSettings withFixedScale(FixedScaleSettings fixedScale)" desc: "Set the fixedScale property: This property and autoScale are mutually exclusive and one of the properties must be specified." returns: description: "the ScaleSettings object itself." type: "" type: "class" desc: "Scale settings for the pool Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.batch.models" artifact: com.azure.resourcemanager:azure-resourcemanager-batch:2.0.0