AutoscaleSettingResource Class

The autoscale setting resource.

Variables are only populated by the server, and will be ignored when sending a request.

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

Constructor

AutoscaleSettingResource(*, location: str, profiles: List[_models.AutoscaleProfile], tags: Dict[str, str] | None = None, notifications: List[_models.AutoscaleNotification] | None = None, enabled: bool = False, predictive_autoscale_policy: _models.PredictiveAutoscalePolicy | None = None, name_properties_name: str | None = None, target_resource_uri: str | None = None, target_resource_location: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Resource location. Required.

tags

Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.

Default value: None
profiles

the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. Required.

notifications

the collection of notifications.

Default value: None
enabled

the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.

Default value: False
predictive_autoscale_policy

the predictive autoscale policy mode.

Default value: None
name_properties_name
str

the name of the autoscale setting.

Default value: None
target_resource_uri
str

the resource identifier of the resource that the autoscale setting should be added to.

Default value: None
target_resource_location
str

the location of the resource that the autoscale setting should be added to.

Default value: None

Variables

Name Description
id
str

Azure resource Id.

name
str

Azure resource name.

type
str

Azure resource type.

location
str

Resource location. Required.

tags

Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.

system_data

The system metadata related to the response.

profiles

the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. Required.

notifications

the collection of notifications.

enabled

the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.

predictive_autoscale_policy

the predictive autoscale policy mode.

name_properties_name
str

the name of the autoscale setting.

target_resource_uri
str

the resource identifier of the resource that the autoscale setting should be added to.

target_resource_location
str

the location of the resource that the autoscale setting should be added to.