public final class AutoscaleProfileInner extends Object
| Constructor and Description |
|---|
AutoscaleProfileInner() |
| Modifier and Type | Method and Description |
|---|---|
ScaleCapacity |
capacity()
Get the capacity property: the number of instances that can be used during this profile.
|
TimeWindow |
fixedDate()
Get the fixedDate property: the specific date-time for the profile.
|
String |
name()
Get the name property: the name of the profile.
|
Recurrence |
recurrence()
Get the recurrence property: the repeating times at which this profile begins.
|
List<ScaleRuleInner> |
rules()
Get the rules property: the collection of rules that provide the triggers and parameters for the scaling action.
|
void |
validate()
Validates the instance.
|
AutoscaleProfileInner |
withCapacity(ScaleCapacity capacity)
Set the capacity property: the number of instances that can be used during this profile.
|
AutoscaleProfileInner |
withFixedDate(TimeWindow fixedDate)
Set the fixedDate property: the specific date-time for the profile.
|
AutoscaleProfileInner |
withName(String name)
Set the name property: the name of the profile.
|
AutoscaleProfileInner |
withRecurrence(Recurrence recurrence)
Set the recurrence property: the repeating times at which this profile begins.
|
AutoscaleProfileInner |
withRules(List<ScaleRuleInner> rules)
Set the rules property: the collection of rules that provide the triggers and parameters for the scaling action.
|
public String name()
public AutoscaleProfileInner withName(String name)
name - the name value to set.public ScaleCapacity capacity()
public AutoscaleProfileInner withCapacity(ScaleCapacity capacity)
capacity - the capacity value to set.public List<ScaleRuleInner> rules()
public AutoscaleProfileInner withRules(List<ScaleRuleInner> rules)
rules - the rules value to set.public TimeWindow fixedDate()
public AutoscaleProfileInner withFixedDate(TimeWindow fixedDate)
fixedDate - the fixedDate value to set.public Recurrence recurrence()
public AutoscaleProfileInner withRecurrence(Recurrence recurrence)
recurrence - the recurrence value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.