autoscale

package
v0.19.1 Latest Latest
Warning

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

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

Documentation

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 `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.

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