public static interface BatchAICluster.DefinitionStages.WithScaleSettings
Modifier and Type | Method and Description |
---|---|
BatchAICluster.DefinitionStages.WithCreate |
withAutoScale(int minimumNodeCount,
int maximumNodeCount)
If autoScale settings are specified, the system automatically scales the cluster up and down (within
the supplied limits) based on the pending jobs on the cluster.
|
BatchAICluster.DefinitionStages.WithCreate |
withAutoScale(int minimumNodeCount,
int maximumNodeCount,
int initialNodeCount)
If autoScale settings are specified, the system automatically scales the cluster up and down (within
the supplied limits) based on the pending jobs on the cluster.
|
BatchAICluster.DefinitionStages.WithCreate |
withManualScale(int targetNodeCount)
Specifies that cluster should be scaled by manual settings.
|
BatchAICluster.DefinitionStages.WithCreate |
withManualScale(int targetNodeCount,
DeallocationOption deallocationOption)
Specifies that cluster should be scaled by manual settings.
|
BatchAICluster.DefinitionStages.WithCreate withAutoScale(int minimumNodeCount, int maximumNodeCount)
minimumNodeCount
- the minimum number of compute nodes the cluster can havemaximumNodeCount
- the maximum number of compute nodes the cluster can haveBatchAICluster.DefinitionStages.WithCreate withAutoScale(int minimumNodeCount, int maximumNodeCount, int initialNodeCount)
minimumNodeCount
- the minimum number of compute nodes the cluster can havemaximumNodeCount
- the maximum number of compute nodes the cluster can haveinitialNodeCount
- the number of compute nodes to allocate on cluster creation.
Note that this value is used only during cluster creation.BatchAICluster.DefinitionStages.WithCreate withManualScale(int targetNodeCount)
targetNodeCount
- the desired number of compute nodes in the ClusterBatchAICluster.DefinitionStages.WithCreate withManualScale(int targetNodeCount, DeallocationOption deallocationOption)
targetNodeCount
- the desired number of compute nodes in the ClusterdeallocationOption
- determines what to do with the job(s) running on compute node if the cluster size is decreasing. The default value is requeue.Copyright © 2019. All rights reserved.