azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.b...

91 строка
6.8 KiB
YAML

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ScaleSettings**"
constructors:
- uid: "com.azure.resourcemanager.batch.models.ScaleSettings.ScaleSettings()"
fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.ScaleSettings()"
name: "ScaleSettings()"
nameWithType: "ScaleSettings.ScaleSettings()"
syntax: "public ScaleSettings()"
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 auto<wbr>Scale property: Auto<wbr>Scale settings for the pool."
syntax: "public AutoScaleSettings autoScale()"
desc: "Get the autoScale property: AutoScale settings for the pool. This property and fixedScale are mutually exclusive and one of the properties must be specified."
returns:
description: "the autoScale value."
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleSettings?alt=com.azure.resourcemanager.batch.models.AutoScaleSettings&text=AutoScaleSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.ScaleSettings.fixedScale()"
fullName: "com.azure.resourcemanager.batch.models.ScaleSettings.fixedScale()"
name: "fixedScale()"
nameWithType: "ScaleSettings.fixedScale()"
summary: "Get the fixed<wbr>Scale property: Fixed scale settings for the pool."
syntax: "public FixedScaleSettings fixedScale()"
desc: "Get the fixedScale property: Fixed scale settings for the pool. This property and autoScale are mutually exclusive and one of the properties must be specified."
returns:
description: "the fixedScale value."
type: "<xref href=\"com.azure.resourcemanager.batch.models.FixedScaleSettings?alt=com.azure.resourcemanager.batch.models.FixedScaleSettings&text=FixedScaleSettings\" data-throw-if-not-resolved=\"False\" />"
- 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 auto<wbr>Scale property: Auto<wbr>Scale settings for the pool."
parameters:
- description: "the autoScale value to set."
name: "autoScale"
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleSettings?alt=com.azure.resourcemanager.batch.models.AutoScaleSettings&text=AutoScaleSettings\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleSettings withAutoScale(AutoScaleSettings autoScale)"
desc: "Set the autoScale property: AutoScale settings for the pool. This property and fixedScale are mutually exclusive and one of the properties must be specified."
returns:
description: "the ScaleSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.ScaleSettings?alt=com.azure.resourcemanager.batch.models.ScaleSettings&text=ScaleSettings\" data-throw-if-not-resolved=\"False\" />"
- 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 fixed<wbr>Scale property: Fixed scale settings for the pool."
parameters:
- description: "the fixedScale value to set."
name: "fixedScale"
type: "<xref href=\"com.azure.resourcemanager.batch.models.FixedScaleSettings?alt=com.azure.resourcemanager.batch.models.FixedScaleSettings&text=FixedScaleSettings\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleSettings withFixedScale(FixedScaleSettings fixedScale)"
desc: "Set the fixedScale property: Fixed scale settings for the pool. This property and autoScale are mutually exclusive and one of the properties must be specified."
returns:
description: "the ScaleSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.ScaleSettings?alt=com.azure.resourcemanager.batch.models.ScaleSettings&text=ScaleSettings\" data-throw-if-not-resolved=\"False\" />"
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."
metadata: {}
package: "com.azure.resourcemanager.batch.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-batch:1.0.0