Documentation
¶
Overview ¶
nolint: lll Package autoscale exports types, functions, subpackages for provisioning autoscale resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-azurerm) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-azure` repo](https://github.com/pulumi/pulumi-azure/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-azurerm` repo](https://github.com/terraform-providers/terraform-provider-azurerm/issues).
Index ¶
- type Setting
- func (r *Setting) Enabled() *pulumi.BoolOutput
- func (r *Setting) ID() *pulumi.IDOutput
- func (r *Setting) Location() *pulumi.StringOutput
- func (r *Setting) Name() *pulumi.StringOutput
- func (r *Setting) Notification() *pulumi.Output
- func (r *Setting) Profiles() *pulumi.ArrayOutput
- func (r *Setting) ResourceGroupName() *pulumi.StringOutput
- func (r *Setting) Tags() *pulumi.MapOutput
- func (r *Setting) TargetResourceId() *pulumi.StringOutput
- func (r *Setting) URN() *pulumi.URNOutput
- type SettingArgs
- type SettingState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Setting ¶
type Setting struct {
// contains filtered or unexported fields
}
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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/autoscale_setting.html.markdown.
func GetSetting ¶
func GetSetting(ctx *pulumi.Context, name string, id pulumi.ID, state *SettingState, opts ...pulumi.ResourceOpt) (*Setting, error)
GetSetting gets an existing Setting resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSetting ¶
func NewSetting(ctx *pulumi.Context, name string, args *SettingArgs, opts ...pulumi.ResourceOpt) (*Setting, error)
NewSetting registers a new resource with the given unique name, arguments, and options.
func (*Setting) Enabled ¶
func (r *Setting) Enabled() *pulumi.BoolOutput
Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`.
func (*Setting) Location ¶
func (r *Setting) Location() *pulumi.StringOutput
Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created.
func (*Setting) Name ¶
func (r *Setting) Name() *pulumi.StringOutput
The name of the AutoScale Setting. Changing this forces a new resource to be created.
func (*Setting) Notification ¶
Specifies a `notification` block as defined below.
func (*Setting) Profiles ¶
func (r *Setting) Profiles() *pulumi.ArrayOutput
Specifies one or more (up to 20) `profile` blocks as defined below.
func (*Setting) ResourceGroupName ¶
func (r *Setting) ResourceGroupName() *pulumi.StringOutput
The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created.
func (*Setting) TargetResourceId ¶
func (r *Setting) TargetResourceId() *pulumi.StringOutput
Specifies the resource ID of the resource that the autoscale setting should be added to.
type SettingArgs ¶
type SettingArgs struct { // Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`. Enabled interface{} // Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created. Location interface{} // The name of the AutoScale Setting. Changing this forces a new resource to be created. Name interface{} // Specifies a `notification` block as defined below. Notification interface{} // Specifies one or more (up to 20) `profile` blocks as defined below. Profiles interface{} // The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the resource ID of the resource that the autoscale setting should be added to. TargetResourceId interface{} }
The set of arguments for constructing a Setting resource.
type SettingState ¶
type SettingState struct { // Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`. Enabled interface{} // Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created. Location interface{} // The name of the AutoScale Setting. Changing this forces a new resource to be created. Name interface{} // Specifies a `notification` block as defined below. Notification interface{} // Specifies one or more (up to 20) `profile` blocks as defined below. Profiles interface{} // The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the resource ID of the resource that the autoscale setting should be added to. TargetResourceId interface{} }
Input properties used for looking up and filtering Setting resources.