AutoscaleSetting

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

Create a AutoscaleSetting Resource

def AutoscaleSetting(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 string
The unique name of the resource.
args AutoscaleSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AutoscaleSettingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AutoscaleSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AutoscaleSetting Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The AutoscaleSetting resource accepts the following input properties:

Profiles List<AutoscaleSettingProfileArgs>

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

ResourceGroupName string

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

TargetResourceId string

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

Enabled bool

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

Location string

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

Name string

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

Notification AutoscaleSettingNotificationArgs

Specifies a notification block as defined below.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

Profiles []AutoscaleSettingProfile

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

ResourceGroupName string

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

TargetResourceId string

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

Enabled bool

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

Location string

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

Name string

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

Notification AutoscaleSettingNotification

Specifies a notification block as defined below.

Tags map[string]string

A mapping of tags to assign to the resource.

profiles AutoscaleSettingProfile[]

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

resourceGroupName string

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

targetResourceId string

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

enabled boolean

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

location string

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

name string

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

notification AutoscaleSettingNotification

Specifies a notification block as defined below.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

profiles List[AutoscaleSettingProfile]

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

resource_group_name str

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

target_resource_id str

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

enabled bool

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

location str

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

name str

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

notification Dict[AutoscaleSettingNotification]

Specifies a notification block as defined below.

tags Dict[str, str]

A mapping of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the AutoscaleSetting resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing AutoscaleSetting Resource

Get an existing AutoscaleSetting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AutoscaleSettingState, opts?: CustomResourceOptions): AutoscaleSetting
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, __props__=None);
func GetAutoscaleSetting(ctx *Context, name string, id IDInput, state *AutoscaleSettingState, opts ...ResourceOption) (*AutoscaleSetting, error)
public static AutoscaleSetting Get(string name, Input<string> id, AutoscaleSettingState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Enabled bool

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

Location string

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

Name string

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

Notification AutoscaleSettingNotificationArgs

Specifies a notification block as defined below.

Profiles List<AutoscaleSettingProfileArgs>

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

ResourceGroupName string

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

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

TargetResourceId string

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

Enabled bool

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

Location string

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

Name string

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

Notification AutoscaleSettingNotification

Specifies a notification block as defined below.

Profiles []AutoscaleSettingProfile

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

ResourceGroupName string

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

Tags map[string]string

A mapping of tags to assign to the resource.

TargetResourceId string

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

enabled boolean

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

location string

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

name string

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

notification AutoscaleSettingNotification

Specifies a notification block as defined below.

profiles AutoscaleSettingProfile[]

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

resourceGroupName string

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

tags {[key: string]: string}

A mapping of tags to assign to the resource.

targetResourceId string

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

enabled bool

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

location str

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

name str

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

notification Dict[AutoscaleSettingNotification]

Specifies a notification block as defined below.

profiles List[AutoscaleSettingProfile]

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

resource_group_name str

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

tags Dict[str, str]

A mapping of tags to assign to the resource.

target_resource_id str

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

Supporting Types

AutoscaleSettingNotification

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Email AutoscaleSettingNotificationEmailArgs

A email block as defined below.

Webhooks List<AutoscaleSettingNotificationWebhookArgs>

One or more webhook blocks as defined below.

Email AutoscaleSettingNotificationEmail

A email block as defined below.

Webhooks []AutoscaleSettingNotificationWebhook

One or more webhook blocks as defined below.

email AutoscaleSettingNotificationEmail

A email block as defined below.

webhooks AutoscaleSettingNotificationWebhook[]

One or more webhook blocks as defined below.

email Dict[AutoscaleSettingNotificationEmail]

A email block as defined below.

webhooks List[AutoscaleSettingNotificationWebhook]

One or more webhook blocks as defined below.

AutoscaleSettingNotificationEmail

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CustomEmails List<string>

Specifies a list of custom email addresses to which the email notifications will be sent.

SendToSubscriptionAdministrator bool

Should email notifications be sent to the subscription administrator? Defaults to false.

SendToSubscriptionCoAdministrator bool

Should email notifications be sent to the subscription co-administrator? Defaults to false.

CustomEmails []string

Specifies a list of custom email addresses to which the email notifications will be sent.

SendToSubscriptionAdministrator bool

Should email notifications be sent to the subscription administrator? Defaults to false.

SendToSubscriptionCoAdministrator bool

Should email notifications be sent to the subscription co-administrator? Defaults to false.

customEmails string[]

Specifies a list of custom email addresses to which the email notifications will be sent.

sendToSubscriptionAdministrator boolean

Should email notifications be sent to the subscription administrator? Defaults to false.

sendToSubscriptionCoAdministrator boolean

Should email notifications be sent to the subscription co-administrator? Defaults to false.

customEmails List[str]

Specifies a list of custom email addresses to which the email notifications will be sent.

sendToSubscriptionAdministrator bool

Should email notifications be sent to the subscription administrator? Defaults to false.

sendToSubscriptionCoAdministrator bool

Should email notifications be sent to the subscription co-administrator? Defaults to false.

AutoscaleSettingNotificationWebhook

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ServiceUri string

The HTTPS URI which should receive scale notifications.

Properties Dictionary<string, string>

A map of settings.

ServiceUri string

The HTTPS URI which should receive scale notifications.

Properties map[string]string

A map of settings.

serviceUri string

The HTTPS URI which should receive scale notifications.

properties {[key: string]: string}

A map of settings.

service_uri str

The HTTPS URI which should receive scale notifications.

properties Dict[str, str]

A map of settings.

AutoscaleSettingProfile

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Capacity AutoscaleSettingProfileCapacityArgs

A capacity block as defined below.

Name string

Specifies the name of the profile.

FixedDate AutoscaleSettingProfileFixedDateArgs

A fixed_date block as defined below. This cannot be specified if a recurrence block is specified.

Recurrence AutoscaleSettingProfileRecurrenceArgs

A recurrence block as defined below. This cannot be specified if a fixed_date block is specified.

Rules List<AutoscaleSettingProfileRuleArgs>

One or more (up to 10) rule blocks as defined below.

Capacity AutoscaleSettingProfileCapacity

A capacity block as defined below.

Name string

Specifies the name of the profile.

FixedDate AutoscaleSettingProfileFixedDate

A fixed_date block as defined below. This cannot be specified if a recurrence block is specified.

Recurrence AutoscaleSettingProfileRecurrence

A recurrence block as defined below. This cannot be specified if a fixed_date block is specified.

Rules []AutoscaleSettingProfileRule

One or more (up to 10) rule blocks as defined below.

capacity AutoscaleSettingProfileCapacity

A capacity block as defined below.

name string

Specifies the name of the profile.

fixedDate AutoscaleSettingProfileFixedDate

A fixed_date block as defined below. This cannot be specified if a recurrence block is specified.

recurrence AutoscaleSettingProfileRecurrence

A recurrence block as defined below. This cannot be specified if a fixed_date block is specified.

rules AutoscaleSettingProfileRule[]

One or more (up to 10) rule blocks as defined below.

capacity Dict[AutoscaleSettingProfileCapacity]

A capacity block as defined below.

name str

Specifies the name of the profile.

fixedDate Dict[AutoscaleSettingProfileFixedDate]

A fixed_date block as defined below. This cannot be specified if a recurrence block is specified.

recurrence Dict[AutoscaleSettingProfileRecurrence]

A recurrence block as defined below. This cannot be specified if a fixed_date block is specified.

rules List[AutoscaleSettingProfileRule]

One or more (up to 10) rule blocks as defined below.

AutoscaleSettingProfileCapacity

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Default int

The number of instances that are available for scaling if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default. Valid values are between 0 and 1000.

Maximum int

The maximum number of instances for this resource. Valid values are between 0 and 1000.

Minimum int

The minimum number of instances for this resource. Valid values are between 0 and 1000.

Default int

The number of instances that are available for scaling if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default. Valid values are between 0 and 1000.

Maximum int

The maximum number of instances for this resource. Valid values are between 0 and 1000.

Minimum int

The minimum number of instances for this resource. Valid values are between 0 and 1000.

default number

The number of instances that are available for scaling if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default. Valid values are between 0 and 1000.

maximum number

The maximum number of instances for this resource. Valid values are between 0 and 1000.

minimum number

The minimum number of instances for this resource. Valid values are between 0 and 1000.

default float

The number of instances that are available for scaling if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default. Valid values are between 0 and 1000.

maximum float

The maximum number of instances for this resource. Valid values are between 0 and 1000.

minimum float

The minimum number of instances for this resource. Valid values are between 0 and 1000.

AutoscaleSettingProfileFixedDate

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

End string

Specifies the end date for the profile, formatted as an RFC3339 date string.

Start string

Specifies the start date for the profile, formatted as an RFC3339 date string.

Timezone string

The Time Zone of the start and end times. A list of possible values can be found here. Defaults to UTC.

End string

Specifies the end date for the profile, formatted as an RFC3339 date string.

Start string

Specifies the start date for the profile, formatted as an RFC3339 date string.

Timezone string

The Time Zone of the start and end times. A list of possible values can be found here. Defaults to UTC.

end string

Specifies the end date for the profile, formatted as an RFC3339 date string.

start string

Specifies the start date for the profile, formatted as an RFC3339 date string.

timezone string

The Time Zone of the start and end times. A list of possible values can be found here. Defaults to UTC.

end str

Specifies the end date for the profile, formatted as an RFC3339 date string.

start str

Specifies the start date for the profile, formatted as an RFC3339 date string.

timezone str

The Time Zone of the start and end times. A list of possible values can be found here. Defaults to UTC.

AutoscaleSettingProfileRecurrence

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Days List<string>

A list of days that this profile takes effect on. Possible values include Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday.

Hours int

A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered (in 24-hour time). Possible values are from 0 to 23.

Minutes int

A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.

Timezone string

The Time Zone used for the hours field. A list of possible values can be found here. Defaults to UTC.

Days []string

A list of days that this profile takes effect on. Possible values include Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday.

Hours int

A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered (in 24-hour time). Possible values are from 0 to 23.

Minutes int

A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.

Timezone string

The Time Zone used for the hours field. A list of possible values can be found here. Defaults to UTC.

days string[]

A list of days that this profile takes effect on. Possible values include Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday.

hours number

A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered (in 24-hour time). Possible values are from 0 to 23.

minutes number

A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.

timezone string

The Time Zone used for the hours field. A list of possible values can be found here. Defaults to UTC.

days List[str]

A list of days that this profile takes effect on. Possible values include Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday.

hours float

A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered (in 24-hour time). Possible values are from 0 to 23.

minutes float

A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.

timezone str

The Time Zone used for the hours field. A list of possible values can be found here. Defaults to UTC.

AutoscaleSettingProfileRule

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MetricTrigger AutoscaleSettingProfileRuleMetricTriggerArgs

A metric_trigger block as defined below.

ScaleAction AutoscaleSettingProfileRuleScaleActionArgs

A scale_action block as defined below.

MetricTrigger AutoscaleSettingProfileRuleMetricTrigger

A metric_trigger block as defined below.

ScaleAction AutoscaleSettingProfileRuleScaleAction

A scale_action block as defined below.

metricTrigger AutoscaleSettingProfileRuleMetricTrigger

A metric_trigger block as defined below.

scaleAction AutoscaleSettingProfileRuleScaleAction

A scale_action block as defined below.

metricTrigger Dict[AutoscaleSettingProfileRuleMetricTrigger]

A metric_trigger block as defined below.

scaleAction Dict[AutoscaleSettingProfileRuleScaleAction]

A scale_action block as defined below.

AutoscaleSettingProfileRuleMetricTrigger

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MetricName string

The name of the metric that defines what the rule monitors, such as Percentage CPU for Virtual Machine Scale Sets and CpuPercentage for App Service Plan.

MetricResourceId string

The ID of the Resource which the Rule monitors.

Operator string

Specifies the operator used to compare the metric data and threshold. Possible values are: Equals, NotEquals, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual.

Statistic string

Specifies how the metrics from multiple instances are combined. Possible values are Average, Min and Max.

Threshold double

Specifies the threshold of the metric that triggers the scale action.

TimeAggregation string

Specifies how the data that’s collected should be combined over time. Possible values include Average, Count, Maximum, Minimum, Last and Total. Defaults to Average.

TimeGrain string

Specifies the granularity of metrics that the rule monitors, which must be one of the pre-defined values returned from the metric definitions for the metric. This value must be between 1 minute and 12 hours an be formatted as an ISO 8601 string.

TimeWindow string

Specifies the time range for which data is collected, which must be greater than the delay in metric collection (which varies from resource to resource). This value must be between 5 minutes and 12 hours and be formatted as an ISO 8601 string.

MetricName string

The name of the metric that defines what the rule monitors, such as Percentage CPU for Virtual Machine Scale Sets and CpuPercentage for App Service Plan.

MetricResourceId string

The ID of the Resource which the Rule monitors.

Operator string

Specifies the operator used to compare the metric data and threshold. Possible values are: Equals, NotEquals, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual.

Statistic string

Specifies how the metrics from multiple instances are combined. Possible values are Average, Min and Max.

Threshold float64

Specifies the threshold of the metric that triggers the scale action.

TimeAggregation string

Specifies how the data that’s collected should be combined over time. Possible values include Average, Count, Maximum, Minimum, Last and Total. Defaults to Average.

TimeGrain string

Specifies the granularity of metrics that the rule monitors, which must be one of the pre-defined values returned from the metric definitions for the metric. This value must be between 1 minute and 12 hours an be formatted as an ISO 8601 string.

TimeWindow string

Specifies the time range for which data is collected, which must be greater than the delay in metric collection (which varies from resource to resource). This value must be between 5 minutes and 12 hours and be formatted as an ISO 8601 string.

metricName string

The name of the metric that defines what the rule monitors, such as Percentage CPU for Virtual Machine Scale Sets and CpuPercentage for App Service Plan.

metricResourceId string

The ID of the Resource which the Rule monitors.

operator string

Specifies the operator used to compare the metric data and threshold. Possible values are: Equals, NotEquals, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual.

statistic string

Specifies how the metrics from multiple instances are combined. Possible values are Average, Min and Max.

threshold number

Specifies the threshold of the metric that triggers the scale action.

timeAggregation string

Specifies how the data that’s collected should be combined over time. Possible values include Average, Count, Maximum, Minimum, Last and Total. Defaults to Average.

timeGrain string

Specifies the granularity of metrics that the rule monitors, which must be one of the pre-defined values returned from the metric definitions for the metric. This value must be between 1 minute and 12 hours an be formatted as an ISO 8601 string.

timeWindow string

Specifies the time range for which data is collected, which must be greater than the delay in metric collection (which varies from resource to resource). This value must be between 5 minutes and 12 hours and be formatted as an ISO 8601 string.

metricName str

The name of the metric that defines what the rule monitors, such as Percentage CPU for Virtual Machine Scale Sets and CpuPercentage for App Service Plan.

metricResourceId str

The ID of the Resource which the Rule monitors.

operator str

Specifies the operator used to compare the metric data and threshold. Possible values are: Equals, NotEquals, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual.

statistic str

Specifies how the metrics from multiple instances are combined. Possible values are Average, Min and Max.

threshold float

Specifies the threshold of the metric that triggers the scale action.

timeAggregation str

Specifies how the data that’s collected should be combined over time. Possible values include Average, Count, Maximum, Minimum, Last and Total. Defaults to Average.

timeGrain str

Specifies the granularity of metrics that the rule monitors, which must be one of the pre-defined values returned from the metric definitions for the metric. This value must be between 1 minute and 12 hours an be formatted as an ISO 8601 string.

time_window str

Specifies the time range for which data is collected, which must be greater than the delay in metric collection (which varies from resource to resource). This value must be between 5 minutes and 12 hours and be formatted as an ISO 8601 string.

AutoscaleSettingProfileRuleScaleAction

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Cooldown string

The amount of time to wait since the last scaling action before this action occurs. Must be between 1 minute and 1 week and formatted as a ISO 8601 string.

Direction string

The scale direction. Possible values are Increase and Decrease.

Type string

The type of action that should occur. Possible values are ChangeCount, ExactCount and PercentChangeCount.

Value int

The number of instances involved in the scaling action. Defaults to 1.

Cooldown string

The amount of time to wait since the last scaling action before this action occurs. Must be between 1 minute and 1 week and formatted as a ISO 8601 string.

Direction string

The scale direction. Possible values are Increase and Decrease.

Type string

The type of action that should occur. Possible values are ChangeCount, ExactCount and PercentChangeCount.

Value int

The number of instances involved in the scaling action. Defaults to 1.

cooldown string

The amount of time to wait since the last scaling action before this action occurs. Must be between 1 minute and 1 week and formatted as a ISO 8601 string.

direction string

The scale direction. Possible values are Increase and Decrease.

type string

The type of action that should occur. Possible values are ChangeCount, ExactCount and PercentChangeCount.

value number

The number of instances involved in the scaling action. Defaults to 1.

cooldown str

The amount of time to wait since the last scaling action before this action occurs. Must be between 1 minute and 1 week and formatted as a ISO 8601 string.

direction str

The scale direction. Possible values are Increase and Decrease.

type str

The type of action that should occur. Possible values are ChangeCount, ExactCount and PercentChangeCount.

value float

The number of instances involved in the scaling action. Defaults to 1.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.