public final class ScaleCapacity extends Object
| Type | Property and Description |
|---|---|
String |
default
Get the defaultProperty property: the number of instances that will be set if metrics are not available for
evaluation.
|
| Constructor and Description |
|---|
ScaleCapacity() |
| Modifier and Type | Method and Description |
|---|---|
String |
defaultProperty()
Get the defaultProperty property: the number of instances that will be set if metrics are not available for
evaluation.
|
String |
maximum()
Get the maximum property: the maximum number of instances for the resource.
|
String |
minimum()
Get the minimum property: the minimum number of instances for the resource.
|
void |
validate()
Validates the instance.
|
ScaleCapacity |
withDefaultProperty(String defaultProperty)
Set the defaultProperty property: the number of instances that will be set if metrics are not available for
evaluation.
|
ScaleCapacity |
withMaximum(String maximum)
Set the maximum property: the maximum number of instances for the resource.
|
ScaleCapacity |
withMinimum(String minimum)
Set the minimum property: the minimum number of instances for the resource.
|
public String defaultProperty
public String minimum()
public ScaleCapacity withMinimum(String minimum)
minimum - the minimum value to set.public String maximum()
public ScaleCapacity withMaximum(String maximum)
maximum - the maximum value to set.public String defaultProperty()
public ScaleCapacity withDefaultProperty(String defaultProperty)
defaultProperty - the defaultProperty value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.