Module autoscale

autoscale

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.
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, __props__=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 monitoring.AutoscaleSetting 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.

static get(resource_name, id, opts=None, enabled=None, location=None, name=None, notification=None, profiles=None, resource_group_name=None, tags=None, target_resource_id=None)

Get an existing Setting resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] enabled: Specifies whether automatic scaling is enabled for the target resource. Defaults to true. :param pulumi.Input[str] location: Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created. :param pulumi.Input[str] name: The name of the AutoScale Setting. Changing this forces a new resource to be created. :param pulumi.Input[dict] notification: Specifies a notification block as defined below. :param pulumi.Input[list] profiles: Specifies one or more (up to 20) profile blocks as defined below. :param pulumi.Input[str] resource_group_name: The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] target_resource_id: 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