autoscale

class pulumi_azure.autoscale.Setting(resource_name, opts=None, enabled=None, location=None, name=None, notification=None, profiles=None, resource_group_name=None, tags=None, target_resource_id=None, __name__=None, __opts__=None)

Manages an AutoScale Setting which can be applied to Virtual Machine Scale Sets, App Services and other scalable resources.

NOTE: This resource has been deprecated in favour of the azurerm_monitor_autoscale_setting resource and will be removed in the next major version of the AzureRM Provider. The new resource shares the same fields as this one, and information on migrating across can be found in this guide.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • enabled (pulumi.Input[bool]) – Specifies whether automatic scaling is enabled for the target resource. Defaults to true.
  • location (pulumi.Input[str]) – Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – The name of the AutoScale Setting. Changing this forces a new resource to be created.
  • notification (pulumi.Input[dict]) – Specifies a notification block as defined below.
  • profiles (pulumi.Input[list]) – Specifies one or more (up to 20) profile blocks as defined below.
  • resource_group_name (pulumi.Input[str]) – The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • target_resource_id (pulumi.Input[str]) – Specifies the resource ID of the resource that the autoscale setting should be added to.
enabled = None

Specifies whether automatic scaling is enabled for the target resource. Defaults to true.

location = None

Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created.

name = None

The name of the AutoScale Setting. Changing this forces a new resource to be created.

notification = None

Specifies a notification block as defined below.

profiles = None

Specifies one or more (up to 20) profile blocks as defined below.

resource_group_name = None

The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created.

tags = None

A mapping of tags to assign to the resource.

target_resource_id = None

Specifies the resource ID of the resource that the autoscale setting should be added to.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str