AutoscaleProfile Class

Autoscale profile.

All required parameters must be populated in order to send to server.

Constructor

AutoscaleProfile(*, name: str, capacity: _models.ScaleCapacity, rules: List[_models.ScaleRule], fixed_date: _models.TimeWindow | None = None, recurrence: _models.Recurrence | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

the name of the profile. Required.

capacity

the number of instances that can be used during this profile. Required.

rules

the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified. Required.

fixed_date

the specific date-time for the profile. This element is not used if the Recurrence element is used.

Default value: None
recurrence

the repeating times at which this profile begins. This element is not used if the FixedDate element is used.

Default value: None

Variables

Name Description
name
str

the name of the profile. Required.

capacity

the number of instances that can be used during this profile. Required.

rules

the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified. Required.

fixed_date

the specific date-time for the profile. This element is not used if the Recurrence element is used.

recurrence

the repeating times at which this profile begins. This element is not used if the FixedDate element is used.