AutoscaleSettingResourcePatch Class

The autoscale setting object for patch operations.

Constructor

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

Keyword-Only Parameters

Name Description
tags

Resource tags.

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.

Default value: None
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
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
tags

Resource tags.

profiles

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

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
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.