autoscale

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Setting

type Setting struct {
	pulumi.CustomResourceState

	// Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the AutoScale Setting. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies a `notification` block as defined below.
	Notification SettingNotificationPtrOutput `pulumi:"notification"`
	// Specifies one or more (up to 20) `profile` blocks as defined below.
	Profiles SettingProfileArrayOutput `pulumi:"profiles"`
	// The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the resource ID of the resource that the autoscale setting should be added to.
	TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"`
}

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.IDInput, state *SettingState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Setting, error)

NewSetting registers a new resource with the given unique name, arguments, and options.

type SettingArgs

type SettingArgs struct {
	// Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the AutoScale Setting. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies a `notification` block as defined below.
	Notification SettingNotificationPtrInput
	// Specifies one or more (up to 20) `profile` blocks as defined below.
	Profiles SettingProfileArrayInput
	// The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the resource ID of the resource that the autoscale setting should be added to.
	TargetResourceId pulumi.StringInput
}

The set of arguments for constructing a Setting resource.

func (SettingArgs) ElementType added in v1.12.0

func (SettingArgs) ElementType() reflect.Type

type SettingNotification added in v1.12.0

type SettingNotification struct {
	Email    *SettingNotificationEmail    `pulumi:"email"`
	Webhooks []SettingNotificationWebhook `pulumi:"webhooks"`
}

type SettingNotificationArgs added in v1.12.0

type SettingNotificationArgs struct {
	Email    SettingNotificationEmailPtrInput     `pulumi:"email"`
	Webhooks SettingNotificationWebhookArrayInput `pulumi:"webhooks"`
}

func (SettingNotificationArgs) ElementType added in v1.12.0

func (SettingNotificationArgs) ElementType() reflect.Type

func (SettingNotificationArgs) ToSettingNotificationOutput added in v1.12.0

func (i SettingNotificationArgs) ToSettingNotificationOutput() SettingNotificationOutput

func (SettingNotificationArgs) ToSettingNotificationOutputWithContext added in v1.12.0

func (i SettingNotificationArgs) ToSettingNotificationOutputWithContext(ctx context.Context) SettingNotificationOutput

func (SettingNotificationArgs) ToSettingNotificationPtrOutput added in v1.12.0

func (i SettingNotificationArgs) ToSettingNotificationPtrOutput() SettingNotificationPtrOutput

func (SettingNotificationArgs) ToSettingNotificationPtrOutputWithContext added in v1.12.0

func (i SettingNotificationArgs) ToSettingNotificationPtrOutputWithContext(ctx context.Context) SettingNotificationPtrOutput

type SettingNotificationEmail added in v1.12.0

type SettingNotificationEmail struct {
	CustomEmails                      []string `pulumi:"customEmails"`
	SendToSubscriptionAdministrator   *bool    `pulumi:"sendToSubscriptionAdministrator"`
	SendToSubscriptionCoAdministrator *bool    `pulumi:"sendToSubscriptionCoAdministrator"`
}

type SettingNotificationEmailArgs added in v1.12.0

type SettingNotificationEmailArgs struct {
	CustomEmails                      pulumi.StringArrayInput `pulumi:"customEmails"`
	SendToSubscriptionAdministrator   pulumi.BoolPtrInput     `pulumi:"sendToSubscriptionAdministrator"`
	SendToSubscriptionCoAdministrator pulumi.BoolPtrInput     `pulumi:"sendToSubscriptionCoAdministrator"`
}

func (SettingNotificationEmailArgs) ElementType added in v1.12.0

func (SettingNotificationEmailArgs) ToSettingNotificationEmailOutput added in v1.12.0

func (i SettingNotificationEmailArgs) ToSettingNotificationEmailOutput() SettingNotificationEmailOutput

func (SettingNotificationEmailArgs) ToSettingNotificationEmailOutputWithContext added in v1.12.0

func (i SettingNotificationEmailArgs) ToSettingNotificationEmailOutputWithContext(ctx context.Context) SettingNotificationEmailOutput

func (SettingNotificationEmailArgs) ToSettingNotificationEmailPtrOutput added in v1.12.0

func (i SettingNotificationEmailArgs) ToSettingNotificationEmailPtrOutput() SettingNotificationEmailPtrOutput

func (SettingNotificationEmailArgs) ToSettingNotificationEmailPtrOutputWithContext added in v1.12.0

func (i SettingNotificationEmailArgs) ToSettingNotificationEmailPtrOutputWithContext(ctx context.Context) SettingNotificationEmailPtrOutput

type SettingNotificationEmailInput added in v1.12.0

type SettingNotificationEmailInput interface {
	pulumi.Input

	ToSettingNotificationEmailOutput() SettingNotificationEmailOutput
	ToSettingNotificationEmailOutputWithContext(context.Context) SettingNotificationEmailOutput
}

type SettingNotificationEmailOutput added in v1.12.0

type SettingNotificationEmailOutput struct{ *pulumi.OutputState }

func (SettingNotificationEmailOutput) CustomEmails added in v1.12.0

func (SettingNotificationEmailOutput) ElementType added in v1.12.0

func (SettingNotificationEmailOutput) SendToSubscriptionAdministrator added in v1.12.0

func (o SettingNotificationEmailOutput) SendToSubscriptionAdministrator() pulumi.BoolPtrOutput

func (SettingNotificationEmailOutput) SendToSubscriptionCoAdministrator added in v1.12.0

func (o SettingNotificationEmailOutput) SendToSubscriptionCoAdministrator() pulumi.BoolPtrOutput

func (SettingNotificationEmailOutput) ToSettingNotificationEmailOutput added in v1.12.0

func (o SettingNotificationEmailOutput) ToSettingNotificationEmailOutput() SettingNotificationEmailOutput

func (SettingNotificationEmailOutput) ToSettingNotificationEmailOutputWithContext added in v1.12.0

func (o SettingNotificationEmailOutput) ToSettingNotificationEmailOutputWithContext(ctx context.Context) SettingNotificationEmailOutput

func (SettingNotificationEmailOutput) ToSettingNotificationEmailPtrOutput added in v1.12.0

func (o SettingNotificationEmailOutput) ToSettingNotificationEmailPtrOutput() SettingNotificationEmailPtrOutput

func (SettingNotificationEmailOutput) ToSettingNotificationEmailPtrOutputWithContext added in v1.12.0

func (o SettingNotificationEmailOutput) ToSettingNotificationEmailPtrOutputWithContext(ctx context.Context) SettingNotificationEmailPtrOutput

type SettingNotificationEmailPtrInput added in v1.12.0

type SettingNotificationEmailPtrInput interface {
	pulumi.Input

	ToSettingNotificationEmailPtrOutput() SettingNotificationEmailPtrOutput
	ToSettingNotificationEmailPtrOutputWithContext(context.Context) SettingNotificationEmailPtrOutput
}

func SettingNotificationEmailPtr added in v1.12.0

func SettingNotificationEmailPtr(v *SettingNotificationEmailArgs) SettingNotificationEmailPtrInput

type SettingNotificationEmailPtrOutput added in v1.12.0

type SettingNotificationEmailPtrOutput struct{ *pulumi.OutputState }

func (SettingNotificationEmailPtrOutput) CustomEmails added in v1.12.0

func (SettingNotificationEmailPtrOutput) Elem added in v1.12.0

func (SettingNotificationEmailPtrOutput) ElementType added in v1.12.0

func (SettingNotificationEmailPtrOutput) SendToSubscriptionAdministrator added in v1.12.0

func (o SettingNotificationEmailPtrOutput) SendToSubscriptionAdministrator() pulumi.BoolPtrOutput

func (SettingNotificationEmailPtrOutput) SendToSubscriptionCoAdministrator added in v1.12.0

func (o SettingNotificationEmailPtrOutput) SendToSubscriptionCoAdministrator() pulumi.BoolPtrOutput

func (SettingNotificationEmailPtrOutput) ToSettingNotificationEmailPtrOutput added in v1.12.0

func (o SettingNotificationEmailPtrOutput) ToSettingNotificationEmailPtrOutput() SettingNotificationEmailPtrOutput

func (SettingNotificationEmailPtrOutput) ToSettingNotificationEmailPtrOutputWithContext added in v1.12.0

func (o SettingNotificationEmailPtrOutput) ToSettingNotificationEmailPtrOutputWithContext(ctx context.Context) SettingNotificationEmailPtrOutput

type SettingNotificationInput added in v1.12.0

type SettingNotificationInput interface {
	pulumi.Input

	ToSettingNotificationOutput() SettingNotificationOutput
	ToSettingNotificationOutputWithContext(context.Context) SettingNotificationOutput
}

type SettingNotificationOutput added in v1.12.0

type SettingNotificationOutput struct{ *pulumi.OutputState }

func (SettingNotificationOutput) ElementType added in v1.12.0

func (SettingNotificationOutput) ElementType() reflect.Type

func (SettingNotificationOutput) Email added in v1.12.0

func (SettingNotificationOutput) ToSettingNotificationOutput added in v1.12.0

func (o SettingNotificationOutput) ToSettingNotificationOutput() SettingNotificationOutput

func (SettingNotificationOutput) ToSettingNotificationOutputWithContext added in v1.12.0

func (o SettingNotificationOutput) ToSettingNotificationOutputWithContext(ctx context.Context) SettingNotificationOutput

func (SettingNotificationOutput) ToSettingNotificationPtrOutput added in v1.12.0

func (o SettingNotificationOutput) ToSettingNotificationPtrOutput() SettingNotificationPtrOutput

func (SettingNotificationOutput) ToSettingNotificationPtrOutputWithContext added in v1.12.0

func (o SettingNotificationOutput) ToSettingNotificationPtrOutputWithContext(ctx context.Context) SettingNotificationPtrOutput

func (SettingNotificationOutput) Webhooks added in v1.12.0

type SettingNotificationPtrInput added in v1.12.0

type SettingNotificationPtrInput interface {
	pulumi.Input

	ToSettingNotificationPtrOutput() SettingNotificationPtrOutput
	ToSettingNotificationPtrOutputWithContext(context.Context) SettingNotificationPtrOutput
}

func SettingNotificationPtr added in v1.12.0

func SettingNotificationPtr(v *SettingNotificationArgs) SettingNotificationPtrInput

type SettingNotificationPtrOutput added in v1.12.0

type SettingNotificationPtrOutput struct{ *pulumi.OutputState }

func (SettingNotificationPtrOutput) Elem added in v1.12.0

func (SettingNotificationPtrOutput) ElementType added in v1.12.0

func (SettingNotificationPtrOutput) Email added in v1.12.0

func (SettingNotificationPtrOutput) ToSettingNotificationPtrOutput added in v1.12.0

func (o SettingNotificationPtrOutput) ToSettingNotificationPtrOutput() SettingNotificationPtrOutput

func (SettingNotificationPtrOutput) ToSettingNotificationPtrOutputWithContext added in v1.12.0

func (o SettingNotificationPtrOutput) ToSettingNotificationPtrOutputWithContext(ctx context.Context) SettingNotificationPtrOutput

func (SettingNotificationPtrOutput) Webhooks added in v1.12.0

type SettingNotificationWebhook added in v1.12.0

type SettingNotificationWebhook struct {
	Properties map[string]string `pulumi:"properties"`
	ServiceUri string            `pulumi:"serviceUri"`
}

type SettingNotificationWebhookArgs added in v1.12.0

type SettingNotificationWebhookArgs struct {
	Properties pulumi.StringMapInput `pulumi:"properties"`
	ServiceUri pulumi.StringInput    `pulumi:"serviceUri"`
}

func (SettingNotificationWebhookArgs) ElementType added in v1.12.0

func (SettingNotificationWebhookArgs) ToSettingNotificationWebhookOutput added in v1.12.0

func (i SettingNotificationWebhookArgs) ToSettingNotificationWebhookOutput() SettingNotificationWebhookOutput

func (SettingNotificationWebhookArgs) ToSettingNotificationWebhookOutputWithContext added in v1.12.0

func (i SettingNotificationWebhookArgs) ToSettingNotificationWebhookOutputWithContext(ctx context.Context) SettingNotificationWebhookOutput

type SettingNotificationWebhookArray added in v1.12.0

type SettingNotificationWebhookArray []SettingNotificationWebhookInput

func (SettingNotificationWebhookArray) ElementType added in v1.12.0

func (SettingNotificationWebhookArray) ToSettingNotificationWebhookArrayOutput added in v1.12.0

func (i SettingNotificationWebhookArray) ToSettingNotificationWebhookArrayOutput() SettingNotificationWebhookArrayOutput

func (SettingNotificationWebhookArray) ToSettingNotificationWebhookArrayOutputWithContext added in v1.12.0

func (i SettingNotificationWebhookArray) ToSettingNotificationWebhookArrayOutputWithContext(ctx context.Context) SettingNotificationWebhookArrayOutput

type SettingNotificationWebhookArrayInput added in v1.12.0

type SettingNotificationWebhookArrayInput interface {
	pulumi.Input

	ToSettingNotificationWebhookArrayOutput() SettingNotificationWebhookArrayOutput
	ToSettingNotificationWebhookArrayOutputWithContext(context.Context) SettingNotificationWebhookArrayOutput
}

type SettingNotificationWebhookArrayOutput added in v1.12.0

type SettingNotificationWebhookArrayOutput struct{ *pulumi.OutputState }

func (SettingNotificationWebhookArrayOutput) ElementType added in v1.12.0

func (SettingNotificationWebhookArrayOutput) Index added in v1.12.0

func (SettingNotificationWebhookArrayOutput) ToSettingNotificationWebhookArrayOutput added in v1.12.0

func (o SettingNotificationWebhookArrayOutput) ToSettingNotificationWebhookArrayOutput() SettingNotificationWebhookArrayOutput

func (SettingNotificationWebhookArrayOutput) ToSettingNotificationWebhookArrayOutputWithContext added in v1.12.0

func (o SettingNotificationWebhookArrayOutput) ToSettingNotificationWebhookArrayOutputWithContext(ctx context.Context) SettingNotificationWebhookArrayOutput

type SettingNotificationWebhookInput added in v1.12.0

type SettingNotificationWebhookInput interface {
	pulumi.Input

	ToSettingNotificationWebhookOutput() SettingNotificationWebhookOutput
	ToSettingNotificationWebhookOutputWithContext(context.Context) SettingNotificationWebhookOutput
}

type SettingNotificationWebhookOutput added in v1.12.0

type SettingNotificationWebhookOutput struct{ *pulumi.OutputState }

func (SettingNotificationWebhookOutput) ElementType added in v1.12.0

func (SettingNotificationWebhookOutput) Properties added in v1.12.0

func (SettingNotificationWebhookOutput) ServiceUri added in v1.12.0

func (SettingNotificationWebhookOutput) ToSettingNotificationWebhookOutput added in v1.12.0

func (o SettingNotificationWebhookOutput) ToSettingNotificationWebhookOutput() SettingNotificationWebhookOutput

func (SettingNotificationWebhookOutput) ToSettingNotificationWebhookOutputWithContext added in v1.12.0

func (o SettingNotificationWebhookOutput) ToSettingNotificationWebhookOutputWithContext(ctx context.Context) SettingNotificationWebhookOutput

type SettingProfile added in v1.12.0

type SettingProfile struct {
	Capacity  SettingProfileCapacity   `pulumi:"capacity"`
	FixedDate *SettingProfileFixedDate `pulumi:"fixedDate"`
	// The name of the AutoScale Setting. Changing this forces a new resource to be created.
	Name       string                    `pulumi:"name"`
	Recurrence *SettingProfileRecurrence `pulumi:"recurrence"`
	Rules      []SettingProfileRule      `pulumi:"rules"`
}

type SettingProfileArgs added in v1.12.0

type SettingProfileArgs struct {
	Capacity  SettingProfileCapacityInput     `pulumi:"capacity"`
	FixedDate SettingProfileFixedDatePtrInput `pulumi:"fixedDate"`
	// The name of the AutoScale Setting. Changing this forces a new resource to be created.
	Name       pulumi.StringInput               `pulumi:"name"`
	Recurrence SettingProfileRecurrencePtrInput `pulumi:"recurrence"`
	Rules      SettingProfileRuleArrayInput     `pulumi:"rules"`
}

func (SettingProfileArgs) ElementType added in v1.12.0

func (SettingProfileArgs) ElementType() reflect.Type

func (SettingProfileArgs) ToSettingProfileOutput added in v1.12.0

func (i SettingProfileArgs) ToSettingProfileOutput() SettingProfileOutput

func (SettingProfileArgs) ToSettingProfileOutputWithContext added in v1.12.0

func (i SettingProfileArgs) ToSettingProfileOutputWithContext(ctx context.Context) SettingProfileOutput

type SettingProfileArray added in v1.12.0

type SettingProfileArray []SettingProfileInput

func (SettingProfileArray) ElementType added in v1.12.0

func (SettingProfileArray) ElementType() reflect.Type

func (SettingProfileArray) ToSettingProfileArrayOutput added in v1.12.0

func (i SettingProfileArray) ToSettingProfileArrayOutput() SettingProfileArrayOutput

func (SettingProfileArray) ToSettingProfileArrayOutputWithContext added in v1.12.0

func (i SettingProfileArray) ToSettingProfileArrayOutputWithContext(ctx context.Context) SettingProfileArrayOutput

type SettingProfileArrayInput added in v1.12.0

type SettingProfileArrayInput interface {
	pulumi.Input

	ToSettingProfileArrayOutput() SettingProfileArrayOutput
	ToSettingProfileArrayOutputWithContext(context.Context) SettingProfileArrayOutput
}

type SettingProfileArrayOutput added in v1.12.0

type SettingProfileArrayOutput struct{ *pulumi.OutputState }

func (SettingProfileArrayOutput) ElementType added in v1.12.0

func (SettingProfileArrayOutput) ElementType() reflect.Type

func (SettingProfileArrayOutput) Index added in v1.12.0

func (SettingProfileArrayOutput) ToSettingProfileArrayOutput added in v1.12.0

func (o SettingProfileArrayOutput) ToSettingProfileArrayOutput() SettingProfileArrayOutput

func (SettingProfileArrayOutput) ToSettingProfileArrayOutputWithContext added in v1.12.0

func (o SettingProfileArrayOutput) ToSettingProfileArrayOutputWithContext(ctx context.Context) SettingProfileArrayOutput

type SettingProfileCapacity added in v1.12.0

type SettingProfileCapacity struct {
	Default int `pulumi:"default"`
	Maximum int `pulumi:"maximum"`
	Minimum int `pulumi:"minimum"`
}

type SettingProfileCapacityArgs added in v1.12.0

type SettingProfileCapacityArgs struct {
	Default pulumi.IntInput `pulumi:"default"`
	Maximum pulumi.IntInput `pulumi:"maximum"`
	Minimum pulumi.IntInput `pulumi:"minimum"`
}

func (SettingProfileCapacityArgs) ElementType added in v1.12.0

func (SettingProfileCapacityArgs) ElementType() reflect.Type

func (SettingProfileCapacityArgs) ToSettingProfileCapacityOutput added in v1.12.0

func (i SettingProfileCapacityArgs) ToSettingProfileCapacityOutput() SettingProfileCapacityOutput

func (SettingProfileCapacityArgs) ToSettingProfileCapacityOutputWithContext added in v1.12.0

func (i SettingProfileCapacityArgs) ToSettingProfileCapacityOutputWithContext(ctx context.Context) SettingProfileCapacityOutput

type SettingProfileCapacityInput added in v1.12.0

type SettingProfileCapacityInput interface {
	pulumi.Input

	ToSettingProfileCapacityOutput() SettingProfileCapacityOutput
	ToSettingProfileCapacityOutputWithContext(context.Context) SettingProfileCapacityOutput
}

type SettingProfileCapacityOutput added in v1.12.0

type SettingProfileCapacityOutput struct{ *pulumi.OutputState }

func (SettingProfileCapacityOutput) Default added in v1.12.0

func (SettingProfileCapacityOutput) ElementType added in v1.12.0

func (SettingProfileCapacityOutput) Maximum added in v1.12.0

func (SettingProfileCapacityOutput) Minimum added in v1.12.0

func (SettingProfileCapacityOutput) ToSettingProfileCapacityOutput added in v1.12.0

func (o SettingProfileCapacityOutput) ToSettingProfileCapacityOutput() SettingProfileCapacityOutput

func (SettingProfileCapacityOutput) ToSettingProfileCapacityOutputWithContext added in v1.12.0

func (o SettingProfileCapacityOutput) ToSettingProfileCapacityOutputWithContext(ctx context.Context) SettingProfileCapacityOutput

type SettingProfileFixedDate added in v1.12.0

type SettingProfileFixedDate struct {
	End      string  `pulumi:"end"`
	Start    string  `pulumi:"start"`
	Timezone *string `pulumi:"timezone"`
}

type SettingProfileFixedDateArgs added in v1.12.0

type SettingProfileFixedDateArgs struct {
	End      pulumi.StringInput    `pulumi:"end"`
	Start    pulumi.StringInput    `pulumi:"start"`
	Timezone pulumi.StringPtrInput `pulumi:"timezone"`
}

func (SettingProfileFixedDateArgs) ElementType added in v1.12.0

func (SettingProfileFixedDateArgs) ToSettingProfileFixedDateOutput added in v1.12.0

func (i SettingProfileFixedDateArgs) ToSettingProfileFixedDateOutput() SettingProfileFixedDateOutput

func (SettingProfileFixedDateArgs) ToSettingProfileFixedDateOutputWithContext added in v1.12.0

func (i SettingProfileFixedDateArgs) ToSettingProfileFixedDateOutputWithContext(ctx context.Context) SettingProfileFixedDateOutput

func (SettingProfileFixedDateArgs) ToSettingProfileFixedDatePtrOutput added in v1.12.0

func (i SettingProfileFixedDateArgs) ToSettingProfileFixedDatePtrOutput() SettingProfileFixedDatePtrOutput

func (SettingProfileFixedDateArgs) ToSettingProfileFixedDatePtrOutputWithContext added in v1.12.0

func (i SettingProfileFixedDateArgs) ToSettingProfileFixedDatePtrOutputWithContext(ctx context.Context) SettingProfileFixedDatePtrOutput

type SettingProfileFixedDateInput added in v1.12.0

type SettingProfileFixedDateInput interface {
	pulumi.Input

	ToSettingProfileFixedDateOutput() SettingProfileFixedDateOutput
	ToSettingProfileFixedDateOutputWithContext(context.Context) SettingProfileFixedDateOutput
}

type SettingProfileFixedDateOutput added in v1.12.0

type SettingProfileFixedDateOutput struct{ *pulumi.OutputState }

func (SettingProfileFixedDateOutput) ElementType added in v1.12.0

func (SettingProfileFixedDateOutput) End added in v1.12.0

func (SettingProfileFixedDateOutput) Start added in v1.12.0

func (SettingProfileFixedDateOutput) Timezone added in v1.12.0

func (SettingProfileFixedDateOutput) ToSettingProfileFixedDateOutput added in v1.12.0

func (o SettingProfileFixedDateOutput) ToSettingProfileFixedDateOutput() SettingProfileFixedDateOutput

func (SettingProfileFixedDateOutput) ToSettingProfileFixedDateOutputWithContext added in v1.12.0

func (o SettingProfileFixedDateOutput) ToSettingProfileFixedDateOutputWithContext(ctx context.Context) SettingProfileFixedDateOutput

func (SettingProfileFixedDateOutput) ToSettingProfileFixedDatePtrOutput added in v1.12.0

func (o SettingProfileFixedDateOutput) ToSettingProfileFixedDatePtrOutput() SettingProfileFixedDatePtrOutput

func (SettingProfileFixedDateOutput) ToSettingProfileFixedDatePtrOutputWithContext added in v1.12.0

func (o SettingProfileFixedDateOutput) ToSettingProfileFixedDatePtrOutputWithContext(ctx context.Context) SettingProfileFixedDatePtrOutput

type SettingProfileFixedDatePtrInput added in v1.12.0

type SettingProfileFixedDatePtrInput interface {
	pulumi.Input

	ToSettingProfileFixedDatePtrOutput() SettingProfileFixedDatePtrOutput
	ToSettingProfileFixedDatePtrOutputWithContext(context.Context) SettingProfileFixedDatePtrOutput
}

func SettingProfileFixedDatePtr added in v1.12.0

func SettingProfileFixedDatePtr(v *SettingProfileFixedDateArgs) SettingProfileFixedDatePtrInput

type SettingProfileFixedDatePtrOutput added in v1.12.0

type SettingProfileFixedDatePtrOutput struct{ *pulumi.OutputState }

func (SettingProfileFixedDatePtrOutput) Elem added in v1.12.0

func (SettingProfileFixedDatePtrOutput) ElementType added in v1.12.0

func (SettingProfileFixedDatePtrOutput) End added in v1.12.0

func (SettingProfileFixedDatePtrOutput) Start added in v1.12.0

func (SettingProfileFixedDatePtrOutput) Timezone added in v1.12.0

func (SettingProfileFixedDatePtrOutput) ToSettingProfileFixedDatePtrOutput added in v1.12.0

func (o SettingProfileFixedDatePtrOutput) ToSettingProfileFixedDatePtrOutput() SettingProfileFixedDatePtrOutput

func (SettingProfileFixedDatePtrOutput) ToSettingProfileFixedDatePtrOutputWithContext added in v1.12.0

func (o SettingProfileFixedDatePtrOutput) ToSettingProfileFixedDatePtrOutputWithContext(ctx context.Context) SettingProfileFixedDatePtrOutput

type SettingProfileInput added in v1.12.0

type SettingProfileInput interface {
	pulumi.Input

	ToSettingProfileOutput() SettingProfileOutput
	ToSettingProfileOutputWithContext(context.Context) SettingProfileOutput
}

type SettingProfileOutput added in v1.12.0

type SettingProfileOutput struct{ *pulumi.OutputState }

func (SettingProfileOutput) Capacity added in v1.12.0

func (SettingProfileOutput) ElementType added in v1.12.0

func (SettingProfileOutput) ElementType() reflect.Type

func (SettingProfileOutput) FixedDate added in v1.12.0

func (SettingProfileOutput) Name added in v1.12.0

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

func (SettingProfileOutput) Recurrence added in v1.12.0

func (SettingProfileOutput) Rules added in v1.12.0

func (SettingProfileOutput) ToSettingProfileOutput added in v1.12.0

func (o SettingProfileOutput) ToSettingProfileOutput() SettingProfileOutput

func (SettingProfileOutput) ToSettingProfileOutputWithContext added in v1.12.0

func (o SettingProfileOutput) ToSettingProfileOutputWithContext(ctx context.Context) SettingProfileOutput

type SettingProfileRecurrence added in v1.12.0

type SettingProfileRecurrence struct {
	Days     []string `pulumi:"days"`
	Hours    int      `pulumi:"hours"`
	Minutes  int      `pulumi:"minutes"`
	Timezone *string  `pulumi:"timezone"`
}

type SettingProfileRecurrenceArgs added in v1.12.0

type SettingProfileRecurrenceArgs struct {
	Days     pulumi.StringArrayInput `pulumi:"days"`
	Hours    pulumi.IntInput         `pulumi:"hours"`
	Minutes  pulumi.IntInput         `pulumi:"minutes"`
	Timezone pulumi.StringPtrInput   `pulumi:"timezone"`
}

func (SettingProfileRecurrenceArgs) ElementType added in v1.12.0

func (SettingProfileRecurrenceArgs) ToSettingProfileRecurrenceOutput added in v1.12.0

func (i SettingProfileRecurrenceArgs) ToSettingProfileRecurrenceOutput() SettingProfileRecurrenceOutput

func (SettingProfileRecurrenceArgs) ToSettingProfileRecurrenceOutputWithContext added in v1.12.0

func (i SettingProfileRecurrenceArgs) ToSettingProfileRecurrenceOutputWithContext(ctx context.Context) SettingProfileRecurrenceOutput

func (SettingProfileRecurrenceArgs) ToSettingProfileRecurrencePtrOutput added in v1.12.0

func (i SettingProfileRecurrenceArgs) ToSettingProfileRecurrencePtrOutput() SettingProfileRecurrencePtrOutput

func (SettingProfileRecurrenceArgs) ToSettingProfileRecurrencePtrOutputWithContext added in v1.12.0

func (i SettingProfileRecurrenceArgs) ToSettingProfileRecurrencePtrOutputWithContext(ctx context.Context) SettingProfileRecurrencePtrOutput

type SettingProfileRecurrenceInput added in v1.12.0

type SettingProfileRecurrenceInput interface {
	pulumi.Input

	ToSettingProfileRecurrenceOutput() SettingProfileRecurrenceOutput
	ToSettingProfileRecurrenceOutputWithContext(context.Context) SettingProfileRecurrenceOutput
}

type SettingProfileRecurrenceOutput added in v1.12.0

type SettingProfileRecurrenceOutput struct{ *pulumi.OutputState }

func (SettingProfileRecurrenceOutput) Days added in v1.12.0

func (SettingProfileRecurrenceOutput) ElementType added in v1.12.0

func (SettingProfileRecurrenceOutput) Hours added in v1.12.0

func (SettingProfileRecurrenceOutput) Minutes added in v1.12.0

func (SettingProfileRecurrenceOutput) Timezone added in v1.12.0

func (SettingProfileRecurrenceOutput) ToSettingProfileRecurrenceOutput added in v1.12.0

func (o SettingProfileRecurrenceOutput) ToSettingProfileRecurrenceOutput() SettingProfileRecurrenceOutput

func (SettingProfileRecurrenceOutput) ToSettingProfileRecurrenceOutputWithContext added in v1.12.0

func (o SettingProfileRecurrenceOutput) ToSettingProfileRecurrenceOutputWithContext(ctx context.Context) SettingProfileRecurrenceOutput

func (SettingProfileRecurrenceOutput) ToSettingProfileRecurrencePtrOutput added in v1.12.0

func (o SettingProfileRecurrenceOutput) ToSettingProfileRecurrencePtrOutput() SettingProfileRecurrencePtrOutput

func (SettingProfileRecurrenceOutput) ToSettingProfileRecurrencePtrOutputWithContext added in v1.12.0

func (o SettingProfileRecurrenceOutput) ToSettingProfileRecurrencePtrOutputWithContext(ctx context.Context) SettingProfileRecurrencePtrOutput

type SettingProfileRecurrencePtrInput added in v1.12.0

type SettingProfileRecurrencePtrInput interface {
	pulumi.Input

	ToSettingProfileRecurrencePtrOutput() SettingProfileRecurrencePtrOutput
	ToSettingProfileRecurrencePtrOutputWithContext(context.Context) SettingProfileRecurrencePtrOutput
}

func SettingProfileRecurrencePtr added in v1.12.0

func SettingProfileRecurrencePtr(v *SettingProfileRecurrenceArgs) SettingProfileRecurrencePtrInput

type SettingProfileRecurrencePtrOutput added in v1.12.0

type SettingProfileRecurrencePtrOutput struct{ *pulumi.OutputState }

func (SettingProfileRecurrencePtrOutput) Days added in v1.12.0

func (SettingProfileRecurrencePtrOutput) Elem added in v1.12.0

func (SettingProfileRecurrencePtrOutput) ElementType added in v1.12.0

func (SettingProfileRecurrencePtrOutput) Hours added in v1.12.0

func (SettingProfileRecurrencePtrOutput) Minutes added in v1.12.0

func (SettingProfileRecurrencePtrOutput) Timezone added in v1.12.0

func (SettingProfileRecurrencePtrOutput) ToSettingProfileRecurrencePtrOutput added in v1.12.0

func (o SettingProfileRecurrencePtrOutput) ToSettingProfileRecurrencePtrOutput() SettingProfileRecurrencePtrOutput

func (SettingProfileRecurrencePtrOutput) ToSettingProfileRecurrencePtrOutputWithContext added in v1.12.0

func (o SettingProfileRecurrencePtrOutput) ToSettingProfileRecurrencePtrOutputWithContext(ctx context.Context) SettingProfileRecurrencePtrOutput

type SettingProfileRule added in v1.12.0

type SettingProfileRule struct {
	MetricTrigger SettingProfileRuleMetricTrigger `pulumi:"metricTrigger"`
	ScaleAction   SettingProfileRuleScaleAction   `pulumi:"scaleAction"`
}

type SettingProfileRuleArgs added in v1.12.0

type SettingProfileRuleArgs struct {
	MetricTrigger SettingProfileRuleMetricTriggerInput `pulumi:"metricTrigger"`
	ScaleAction   SettingProfileRuleScaleActionInput   `pulumi:"scaleAction"`
}

func (SettingProfileRuleArgs) ElementType added in v1.12.0

func (SettingProfileRuleArgs) ElementType() reflect.Type

func (SettingProfileRuleArgs) ToSettingProfileRuleOutput added in v1.12.0

func (i SettingProfileRuleArgs) ToSettingProfileRuleOutput() SettingProfileRuleOutput

func (SettingProfileRuleArgs) ToSettingProfileRuleOutputWithContext added in v1.12.0

func (i SettingProfileRuleArgs) ToSettingProfileRuleOutputWithContext(ctx context.Context) SettingProfileRuleOutput

type SettingProfileRuleArray added in v1.12.0

type SettingProfileRuleArray []SettingProfileRuleInput

func (SettingProfileRuleArray) ElementType added in v1.12.0

func (SettingProfileRuleArray) ElementType() reflect.Type

func (SettingProfileRuleArray) ToSettingProfileRuleArrayOutput added in v1.12.0

func (i SettingProfileRuleArray) ToSettingProfileRuleArrayOutput() SettingProfileRuleArrayOutput

func (SettingProfileRuleArray) ToSettingProfileRuleArrayOutputWithContext added in v1.12.0

func (i SettingProfileRuleArray) ToSettingProfileRuleArrayOutputWithContext(ctx context.Context) SettingProfileRuleArrayOutput

type SettingProfileRuleArrayInput added in v1.12.0

type SettingProfileRuleArrayInput interface {
	pulumi.Input

	ToSettingProfileRuleArrayOutput() SettingProfileRuleArrayOutput
	ToSettingProfileRuleArrayOutputWithContext(context.Context) SettingProfileRuleArrayOutput
}

type SettingProfileRuleArrayOutput added in v1.12.0

type SettingProfileRuleArrayOutput struct{ *pulumi.OutputState }

func (SettingProfileRuleArrayOutput) ElementType added in v1.12.0

func (SettingProfileRuleArrayOutput) Index added in v1.12.0

func (SettingProfileRuleArrayOutput) ToSettingProfileRuleArrayOutput added in v1.12.0

func (o SettingProfileRuleArrayOutput) ToSettingProfileRuleArrayOutput() SettingProfileRuleArrayOutput

func (SettingProfileRuleArrayOutput) ToSettingProfileRuleArrayOutputWithContext added in v1.12.0

func (o SettingProfileRuleArrayOutput) ToSettingProfileRuleArrayOutputWithContext(ctx context.Context) SettingProfileRuleArrayOutput

type SettingProfileRuleInput added in v1.12.0

type SettingProfileRuleInput interface {
	pulumi.Input

	ToSettingProfileRuleOutput() SettingProfileRuleOutput
	ToSettingProfileRuleOutputWithContext(context.Context) SettingProfileRuleOutput
}

type SettingProfileRuleMetricTrigger added in v1.12.0

type SettingProfileRuleMetricTrigger struct {
	MetricName       string  `pulumi:"metricName"`
	MetricResourceId string  `pulumi:"metricResourceId"`
	Operator         string  `pulumi:"operator"`
	Statistic        string  `pulumi:"statistic"`
	Threshold        float64 `pulumi:"threshold"`
	TimeAggregation  string  `pulumi:"timeAggregation"`
	TimeGrain        string  `pulumi:"timeGrain"`
	TimeWindow       string  `pulumi:"timeWindow"`
}

type SettingProfileRuleMetricTriggerArgs added in v1.12.0

type SettingProfileRuleMetricTriggerArgs struct {
	MetricName       pulumi.StringInput  `pulumi:"metricName"`
	MetricResourceId pulumi.StringInput  `pulumi:"metricResourceId"`
	Operator         pulumi.StringInput  `pulumi:"operator"`
	Statistic        pulumi.StringInput  `pulumi:"statistic"`
	Threshold        pulumi.Float64Input `pulumi:"threshold"`
	TimeAggregation  pulumi.StringInput  `pulumi:"timeAggregation"`
	TimeGrain        pulumi.StringInput  `pulumi:"timeGrain"`
	TimeWindow       pulumi.StringInput  `pulumi:"timeWindow"`
}

func (SettingProfileRuleMetricTriggerArgs) ElementType added in v1.12.0

func (SettingProfileRuleMetricTriggerArgs) ToSettingProfileRuleMetricTriggerOutput added in v1.12.0

func (i SettingProfileRuleMetricTriggerArgs) ToSettingProfileRuleMetricTriggerOutput() SettingProfileRuleMetricTriggerOutput

func (SettingProfileRuleMetricTriggerArgs) ToSettingProfileRuleMetricTriggerOutputWithContext added in v1.12.0

func (i SettingProfileRuleMetricTriggerArgs) ToSettingProfileRuleMetricTriggerOutputWithContext(ctx context.Context) SettingProfileRuleMetricTriggerOutput

type SettingProfileRuleMetricTriggerInput added in v1.12.0

type SettingProfileRuleMetricTriggerInput interface {
	pulumi.Input

	ToSettingProfileRuleMetricTriggerOutput() SettingProfileRuleMetricTriggerOutput
	ToSettingProfileRuleMetricTriggerOutputWithContext(context.Context) SettingProfileRuleMetricTriggerOutput
}

type SettingProfileRuleMetricTriggerOutput added in v1.12.0

type SettingProfileRuleMetricTriggerOutput struct{ *pulumi.OutputState }

func (SettingProfileRuleMetricTriggerOutput) ElementType added in v1.12.0

func (SettingProfileRuleMetricTriggerOutput) MetricName added in v1.12.0

func (SettingProfileRuleMetricTriggerOutput) MetricResourceId added in v1.12.0

func (SettingProfileRuleMetricTriggerOutput) Operator added in v1.12.0

func (SettingProfileRuleMetricTriggerOutput) Statistic added in v1.12.0

func (SettingProfileRuleMetricTriggerOutput) Threshold added in v1.12.0

func (SettingProfileRuleMetricTriggerOutput) TimeAggregation added in v1.12.0

func (SettingProfileRuleMetricTriggerOutput) TimeGrain added in v1.12.0

func (SettingProfileRuleMetricTriggerOutput) TimeWindow added in v1.12.0

func (SettingProfileRuleMetricTriggerOutput) ToSettingProfileRuleMetricTriggerOutput added in v1.12.0

func (o SettingProfileRuleMetricTriggerOutput) ToSettingProfileRuleMetricTriggerOutput() SettingProfileRuleMetricTriggerOutput

func (SettingProfileRuleMetricTriggerOutput) ToSettingProfileRuleMetricTriggerOutputWithContext added in v1.12.0

func (o SettingProfileRuleMetricTriggerOutput) ToSettingProfileRuleMetricTriggerOutputWithContext(ctx context.Context) SettingProfileRuleMetricTriggerOutput

type SettingProfileRuleOutput added in v1.12.0

type SettingProfileRuleOutput struct{ *pulumi.OutputState }

func (SettingProfileRuleOutput) ElementType added in v1.12.0

func (SettingProfileRuleOutput) ElementType() reflect.Type

func (SettingProfileRuleOutput) MetricTrigger added in v1.12.0

func (SettingProfileRuleOutput) ScaleAction added in v1.12.0

func (SettingProfileRuleOutput) ToSettingProfileRuleOutput added in v1.12.0

func (o SettingProfileRuleOutput) ToSettingProfileRuleOutput() SettingProfileRuleOutput

func (SettingProfileRuleOutput) ToSettingProfileRuleOutputWithContext added in v1.12.0

func (o SettingProfileRuleOutput) ToSettingProfileRuleOutputWithContext(ctx context.Context) SettingProfileRuleOutput

type SettingProfileRuleScaleAction added in v1.12.0

type SettingProfileRuleScaleAction struct {
	Cooldown  string `pulumi:"cooldown"`
	Direction string `pulumi:"direction"`
	Type      string `pulumi:"type"`
	Value     int    `pulumi:"value"`
}

type SettingProfileRuleScaleActionArgs added in v1.12.0

type SettingProfileRuleScaleActionArgs struct {
	Cooldown  pulumi.StringInput `pulumi:"cooldown"`
	Direction pulumi.StringInput `pulumi:"direction"`
	Type      pulumi.StringInput `pulumi:"type"`
	Value     pulumi.IntInput    `pulumi:"value"`
}

func (SettingProfileRuleScaleActionArgs) ElementType added in v1.12.0

func (SettingProfileRuleScaleActionArgs) ToSettingProfileRuleScaleActionOutput added in v1.12.0

func (i SettingProfileRuleScaleActionArgs) ToSettingProfileRuleScaleActionOutput() SettingProfileRuleScaleActionOutput

func (SettingProfileRuleScaleActionArgs) ToSettingProfileRuleScaleActionOutputWithContext added in v1.12.0

func (i SettingProfileRuleScaleActionArgs) ToSettingProfileRuleScaleActionOutputWithContext(ctx context.Context) SettingProfileRuleScaleActionOutput

type SettingProfileRuleScaleActionInput added in v1.12.0

type SettingProfileRuleScaleActionInput interface {
	pulumi.Input

	ToSettingProfileRuleScaleActionOutput() SettingProfileRuleScaleActionOutput
	ToSettingProfileRuleScaleActionOutputWithContext(context.Context) SettingProfileRuleScaleActionOutput
}

type SettingProfileRuleScaleActionOutput added in v1.12.0

type SettingProfileRuleScaleActionOutput struct{ *pulumi.OutputState }

func (SettingProfileRuleScaleActionOutput) Cooldown added in v1.12.0

func (SettingProfileRuleScaleActionOutput) Direction added in v1.12.0

func (SettingProfileRuleScaleActionOutput) ElementType added in v1.12.0

func (SettingProfileRuleScaleActionOutput) ToSettingProfileRuleScaleActionOutput added in v1.12.0

func (o SettingProfileRuleScaleActionOutput) ToSettingProfileRuleScaleActionOutput() SettingProfileRuleScaleActionOutput

func (SettingProfileRuleScaleActionOutput) ToSettingProfileRuleScaleActionOutputWithContext added in v1.12.0

func (o SettingProfileRuleScaleActionOutput) ToSettingProfileRuleScaleActionOutputWithContext(ctx context.Context) SettingProfileRuleScaleActionOutput

func (SettingProfileRuleScaleActionOutput) Type added in v1.12.0

func (SettingProfileRuleScaleActionOutput) Value added in v1.12.0

type SettingState

type SettingState struct {
	// Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the AutoScale Setting. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies a `notification` block as defined below.
	Notification SettingNotificationPtrInput
	// Specifies one or more (up to 20) `profile` blocks as defined below.
	Profiles SettingProfileArrayInput
	// The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the resource ID of the resource that the autoscale setting should be added to.
	TargetResourceId pulumi.StringPtrInput
}

func (SettingState) ElementType added in v1.12.0

func (SettingState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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