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

Inheritance
azure.mgmt.monitor.v2015_04_01.models._models_py3.Resource
AutoscaleSettingResource

Constructor

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

Variables

id
str

Azure resource Id.

name
str

Azure resource name.

type
str

Azure resource type.

location
str

Required. Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

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

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