autoscale

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

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

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) ID

func (r *Setting) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

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

func (r *Setting) Notification() *pulumi.Output

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) Tags

func (r *Setting) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Setting) TargetResourceId

func (r *Setting) TargetResourceId() *pulumi.StringOutput

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

func (*Setting) URN

func (r *Setting) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL