AutoscaleSettingResourcePatch Class

The autoscale setting object for patch operations.

Inheritance
AutoscaleSettingResourcePatch

Constructor

AutoscaleSettingResourcePatch(*, tags: Optional[Dict[str, str]] = None, profiles: Optional[List[azure.mgmt.monitor.v2015_04_01.models._models_py3.AutoscaleProfile]] = None, notifications: Optional[List[azure.mgmt.monitor.v2015_04_01.models._models_py3.AutoscaleNotification]] = None, enabled: Optional[bool] = True, name: Optional[str] = None, target_resource_uri: Optional[str] = None, target_resource_location: Optional[str] = None, **kwargs)

Variables

tags
dict[str, str]

A set of tags. Resource tags.

profiles
list[<xref:$>(<xref:python-base-namespace>)AutoscaleProfile]

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

notifications
list[<xref:$>(<xref:python-base-namespace>)AutoscaleNotification]

the collection of notifications.

enabled
bool

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

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.