ess

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Alarm

type Alarm struct {
	pulumi.CustomResourceState

	// The list of actions to execute when this alarm transition into an ALARM state. Each action is specified as ess scaling rule ari.
	AlarmActions pulumi.StringArrayOutput `pulumi:"alarmActions"`
	// Defines the application group id defined by CMS which is assigned when you upload custom metric to CMS, only available for custom metirc.
	CloudMonitorGroupId pulumi.IntPtrOutput `pulumi:"cloudMonitorGroupId"`
	// The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Supported value: >=, <=, >, <. Defaults to >=.
	ComparisonOperator pulumi.StringPtrOutput `pulumi:"comparisonOperator"`
	// The description for the alarm.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The dimension map for the alarm's associated metric (documented below). For all metrics, you can not set the dimension key as "scalingGroup" or "userId", which is set by default, the second dimension for metric, such as "device" for "PackagesNetIn", need to be set by users.
	Dimensions pulumi.MapOutput `pulumi:"dimensions"`
	// Whether to enable specific ess alarm. Default to true.
	Enable pulumi.BoolPtrOutput `pulumi:"enable"`
	// The number of times that needs to satisfies comparison condition before transition into ALARM state. Defaults to 3.
	EvaluationCount pulumi.IntPtrOutput `pulumi:"evaluationCount"`
	// The name for the alarm's associated metric. See Block_metricNames_and_dimensions below for details.
	MetricName pulumi.StringOutput `pulumi:"metricName"`
	// The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.
	MetricType pulumi.StringPtrOutput `pulumi:"metricType"`
	// The name for ess alarm.
	Name pulumi.StringOutput `pulumi:"name"`
	// The period in seconds over which the specified statistic is applied. Supported value: 60, 120, 300, 900. Defaults to 300.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The scaling group associated with this alarm, the 'ForceNew' attribute is available in 1.56.0+.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
	// The state of specified alarm.
	State pulumi.StringOutput `pulumi:"state"`
	// The statistic to apply to the alarm's associated metric. Supported value: Average, Minimum, Maximum. Defaults to Average.
	Statistics pulumi.StringPtrOutput `pulumi:"statistics"`
	// The value against which the specified statistics is compared.
	Threshold pulumi.StringOutput `pulumi:"threshold"`
}

## Import

Ess alarm can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/alarm:Alarm example asg-2ze500_045efffe-4d05

```

func GetAlarm

func GetAlarm(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlarmState, opts ...pulumi.ResourceOption) (*Alarm, error)

GetAlarm gets an existing Alarm 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 NewAlarm

func NewAlarm(ctx *pulumi.Context,
	name string, args *AlarmArgs, opts ...pulumi.ResourceOption) (*Alarm, error)

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

func (*Alarm) ElementType

func (*Alarm) ElementType() reflect.Type

func (*Alarm) ToAlarmOutput

func (i *Alarm) ToAlarmOutput() AlarmOutput

func (*Alarm) ToAlarmOutputWithContext

func (i *Alarm) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput

type AlarmArgs

type AlarmArgs struct {
	// The list of actions to execute when this alarm transition into an ALARM state. Each action is specified as ess scaling rule ari.
	AlarmActions pulumi.StringArrayInput
	// Defines the application group id defined by CMS which is assigned when you upload custom metric to CMS, only available for custom metirc.
	CloudMonitorGroupId pulumi.IntPtrInput
	// The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Supported value: >=, <=, >, <. Defaults to >=.
	ComparisonOperator pulumi.StringPtrInput
	// The description for the alarm.
	Description pulumi.StringPtrInput
	// The dimension map for the alarm's associated metric (documented below). For all metrics, you can not set the dimension key as "scalingGroup" or "userId", which is set by default, the second dimension for metric, such as "device" for "PackagesNetIn", need to be set by users.
	Dimensions pulumi.MapInput
	// Whether to enable specific ess alarm. Default to true.
	Enable pulumi.BoolPtrInput
	// The number of times that needs to satisfies comparison condition before transition into ALARM state. Defaults to 3.
	EvaluationCount pulumi.IntPtrInput
	// The name for the alarm's associated metric. See Block_metricNames_and_dimensions below for details.
	MetricName pulumi.StringInput
	// The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.
	MetricType pulumi.StringPtrInput
	// The name for ess alarm.
	Name pulumi.StringPtrInput
	// The period in seconds over which the specified statistic is applied. Supported value: 60, 120, 300, 900. Defaults to 300.
	Period pulumi.IntPtrInput
	// The scaling group associated with this alarm, the 'ForceNew' attribute is available in 1.56.0+.
	ScalingGroupId pulumi.StringInput
	// The statistic to apply to the alarm's associated metric. Supported value: Average, Minimum, Maximum. Defaults to Average.
	Statistics pulumi.StringPtrInput
	// The value against which the specified statistics is compared.
	Threshold pulumi.StringInput
}

The set of arguments for constructing a Alarm resource.

func (AlarmArgs) ElementType

func (AlarmArgs) ElementType() reflect.Type

type AlarmArray

type AlarmArray []AlarmInput

func (AlarmArray) ElementType

func (AlarmArray) ElementType() reflect.Type

func (AlarmArray) ToAlarmArrayOutput

func (i AlarmArray) ToAlarmArrayOutput() AlarmArrayOutput

func (AlarmArray) ToAlarmArrayOutputWithContext

func (i AlarmArray) ToAlarmArrayOutputWithContext(ctx context.Context) AlarmArrayOutput

type AlarmArrayInput

type AlarmArrayInput interface {
	pulumi.Input

	ToAlarmArrayOutput() AlarmArrayOutput
	ToAlarmArrayOutputWithContext(context.Context) AlarmArrayOutput
}

AlarmArrayInput is an input type that accepts AlarmArray and AlarmArrayOutput values. You can construct a concrete instance of `AlarmArrayInput` via:

AlarmArray{ AlarmArgs{...} }

type AlarmArrayOutput

type AlarmArrayOutput struct{ *pulumi.OutputState }

func (AlarmArrayOutput) ElementType

func (AlarmArrayOutput) ElementType() reflect.Type

func (AlarmArrayOutput) Index

func (AlarmArrayOutput) ToAlarmArrayOutput

func (o AlarmArrayOutput) ToAlarmArrayOutput() AlarmArrayOutput

func (AlarmArrayOutput) ToAlarmArrayOutputWithContext

func (o AlarmArrayOutput) ToAlarmArrayOutputWithContext(ctx context.Context) AlarmArrayOutput

type AlarmInput

type AlarmInput interface {
	pulumi.Input

	ToAlarmOutput() AlarmOutput
	ToAlarmOutputWithContext(ctx context.Context) AlarmOutput
}

type AlarmMap

type AlarmMap map[string]AlarmInput

func (AlarmMap) ElementType

func (AlarmMap) ElementType() reflect.Type

func (AlarmMap) ToAlarmMapOutput

func (i AlarmMap) ToAlarmMapOutput() AlarmMapOutput

func (AlarmMap) ToAlarmMapOutputWithContext

func (i AlarmMap) ToAlarmMapOutputWithContext(ctx context.Context) AlarmMapOutput

type AlarmMapInput

type AlarmMapInput interface {
	pulumi.Input

	ToAlarmMapOutput() AlarmMapOutput
	ToAlarmMapOutputWithContext(context.Context) AlarmMapOutput
}

AlarmMapInput is an input type that accepts AlarmMap and AlarmMapOutput values. You can construct a concrete instance of `AlarmMapInput` via:

AlarmMap{ "key": AlarmArgs{...} }

type AlarmMapOutput

type AlarmMapOutput struct{ *pulumi.OutputState }

func (AlarmMapOutput) ElementType

func (AlarmMapOutput) ElementType() reflect.Type

func (AlarmMapOutput) MapIndex

func (AlarmMapOutput) ToAlarmMapOutput

func (o AlarmMapOutput) ToAlarmMapOutput() AlarmMapOutput

func (AlarmMapOutput) ToAlarmMapOutputWithContext

func (o AlarmMapOutput) ToAlarmMapOutputWithContext(ctx context.Context) AlarmMapOutput

type AlarmOutput

type AlarmOutput struct{ *pulumi.OutputState }

func (AlarmOutput) AlarmActions

func (o AlarmOutput) AlarmActions() pulumi.StringArrayOutput

The list of actions to execute when this alarm transition into an ALARM state. Each action is specified as ess scaling rule ari.

func (AlarmOutput) CloudMonitorGroupId

func (o AlarmOutput) CloudMonitorGroupId() pulumi.IntPtrOutput

Defines the application group id defined by CMS which is assigned when you upload custom metric to CMS, only available for custom metirc.

func (AlarmOutput) ComparisonOperator

func (o AlarmOutput) ComparisonOperator() pulumi.StringPtrOutput

The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Supported value: >=, <=, >, <. Defaults to >=.

func (AlarmOutput) Description

func (o AlarmOutput) Description() pulumi.StringPtrOutput

The description for the alarm.

func (AlarmOutput) Dimensions

func (o AlarmOutput) Dimensions() pulumi.MapOutput

The dimension map for the alarm's associated metric (documented below). For all metrics, you can not set the dimension key as "scalingGroup" or "userId", which is set by default, the second dimension for metric, such as "device" for "PackagesNetIn", need to be set by users.

func (AlarmOutput) ElementType

func (AlarmOutput) ElementType() reflect.Type

func (AlarmOutput) Enable

func (o AlarmOutput) Enable() pulumi.BoolPtrOutput

Whether to enable specific ess alarm. Default to true.

func (AlarmOutput) EvaluationCount

func (o AlarmOutput) EvaluationCount() pulumi.IntPtrOutput

The number of times that needs to satisfies comparison condition before transition into ALARM state. Defaults to 3.

func (AlarmOutput) MetricName

func (o AlarmOutput) MetricName() pulumi.StringOutput

The name for the alarm's associated metric. See Block_metricNames_and_dimensions below for details.

func (AlarmOutput) MetricType

func (o AlarmOutput) MetricType() pulumi.StringPtrOutput

The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.

func (AlarmOutput) Name

func (o AlarmOutput) Name() pulumi.StringOutput

The name for ess alarm.

func (AlarmOutput) Period

func (o AlarmOutput) Period() pulumi.IntPtrOutput

The period in seconds over which the specified statistic is applied. Supported value: 60, 120, 300, 900. Defaults to 300.

func (AlarmOutput) ScalingGroupId

func (o AlarmOutput) ScalingGroupId() pulumi.StringOutput

The scaling group associated with this alarm, the 'ForceNew' attribute is available in 1.56.0+.

func (AlarmOutput) State

func (o AlarmOutput) State() pulumi.StringOutput

The state of specified alarm.

func (AlarmOutput) Statistics

func (o AlarmOutput) Statistics() pulumi.StringPtrOutput

The statistic to apply to the alarm's associated metric. Supported value: Average, Minimum, Maximum. Defaults to Average.

func (AlarmOutput) Threshold

func (o AlarmOutput) Threshold() pulumi.StringOutput

The value against which the specified statistics is compared.

func (AlarmOutput) ToAlarmOutput

func (o AlarmOutput) ToAlarmOutput() AlarmOutput

func (AlarmOutput) ToAlarmOutputWithContext

func (o AlarmOutput) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput

type AlarmState

type AlarmState struct {
	// The list of actions to execute when this alarm transition into an ALARM state. Each action is specified as ess scaling rule ari.
	AlarmActions pulumi.StringArrayInput
	// Defines the application group id defined by CMS which is assigned when you upload custom metric to CMS, only available for custom metirc.
	CloudMonitorGroupId pulumi.IntPtrInput
	// The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Supported value: >=, <=, >, <. Defaults to >=.
	ComparisonOperator pulumi.StringPtrInput
	// The description for the alarm.
	Description pulumi.StringPtrInput
	// The dimension map for the alarm's associated metric (documented below). For all metrics, you can not set the dimension key as "scalingGroup" or "userId", which is set by default, the second dimension for metric, such as "device" for "PackagesNetIn", need to be set by users.
	Dimensions pulumi.MapInput
	// Whether to enable specific ess alarm. Default to true.
	Enable pulumi.BoolPtrInput
	// The number of times that needs to satisfies comparison condition before transition into ALARM state. Defaults to 3.
	EvaluationCount pulumi.IntPtrInput
	// The name for the alarm's associated metric. See Block_metricNames_and_dimensions below for details.
	MetricName pulumi.StringPtrInput
	// The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.
	MetricType pulumi.StringPtrInput
	// The name for ess alarm.
	Name pulumi.StringPtrInput
	// The period in seconds over which the specified statistic is applied. Supported value: 60, 120, 300, 900. Defaults to 300.
	Period pulumi.IntPtrInput
	// The scaling group associated with this alarm, the 'ForceNew' attribute is available in 1.56.0+.
	ScalingGroupId pulumi.StringPtrInput
	// The state of specified alarm.
	State pulumi.StringPtrInput
	// The statistic to apply to the alarm's associated metric. Supported value: Average, Minimum, Maximum. Defaults to Average.
	Statistics pulumi.StringPtrInput
	// The value against which the specified statistics is compared.
	Threshold pulumi.StringPtrInput
}

func (AlarmState) ElementType

func (AlarmState) ElementType() reflect.Type

type AlbServerGroupAttachment

type AlbServerGroupAttachment struct {
	pulumi.CustomResourceState

	// ID of Alb Server Group.
	AlbServerGroupId pulumi.StringOutput `pulumi:"albServerGroupId"`
	// If instances of scaling group are attached/removed from slb backend server when attach/detach alb
	// server group from scaling group. Default to false.
	ForceAttach pulumi.BoolPtrOutput `pulumi:"forceAttach"`
	// - The port will be used for Alb Server Group backend server.
	Port pulumi.IntOutput `pulumi:"port"`
	// ID of the scaling group.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
	// The weight of an ECS instance attached to the Alb Server Group.
	Weight pulumi.IntOutput `pulumi:"weight"`
}

Attaches/Detaches alb server group to a specified scaling group.

For information about alb server group attachment, see [AttachAlbServerGroups](https://www.alibabacloud.com/help/en/doc-detail/266800.html).

> **NOTE:** If scaling group's network type is `VPC`, the alb server groups must be in the same `VPC`.

> **NOTE:** Alb server group attachment is defined uniquely by `scalingGroupId`, `albServerGroupId`, `port`.

> **NOTE:** Resource `ess.AlbServerGroupAttachment` don't support modification.

> **NOTE:** Resource `ess.AlbServerGroupAttachment` is available in 1.158.0+.

## Import

ESS alb server groups can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/albServerGroupAttachment:AlbServerGroupAttachment example asg-xxx:sgp-xxx:5000

```

func GetAlbServerGroupAttachment

func GetAlbServerGroupAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlbServerGroupAttachmentState, opts ...pulumi.ResourceOption) (*AlbServerGroupAttachment, error)

GetAlbServerGroupAttachment gets an existing AlbServerGroupAttachment 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 NewAlbServerGroupAttachment

func NewAlbServerGroupAttachment(ctx *pulumi.Context,
	name string, args *AlbServerGroupAttachmentArgs, opts ...pulumi.ResourceOption) (*AlbServerGroupAttachment, error)

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

func (*AlbServerGroupAttachment) ElementType

func (*AlbServerGroupAttachment) ElementType() reflect.Type

func (*AlbServerGroupAttachment) ToAlbServerGroupAttachmentOutput

func (i *AlbServerGroupAttachment) ToAlbServerGroupAttachmentOutput() AlbServerGroupAttachmentOutput

func (*AlbServerGroupAttachment) ToAlbServerGroupAttachmentOutputWithContext

func (i *AlbServerGroupAttachment) ToAlbServerGroupAttachmentOutputWithContext(ctx context.Context) AlbServerGroupAttachmentOutput

type AlbServerGroupAttachmentArgs

type AlbServerGroupAttachmentArgs struct {
	// ID of Alb Server Group.
	AlbServerGroupId pulumi.StringInput
	// If instances of scaling group are attached/removed from slb backend server when attach/detach alb
	// server group from scaling group. Default to false.
	ForceAttach pulumi.BoolPtrInput
	// - The port will be used for Alb Server Group backend server.
	Port pulumi.IntInput
	// ID of the scaling group.
	ScalingGroupId pulumi.StringInput
	// The weight of an ECS instance attached to the Alb Server Group.
	Weight pulumi.IntInput
}

The set of arguments for constructing a AlbServerGroupAttachment resource.

func (AlbServerGroupAttachmentArgs) ElementType

type AlbServerGroupAttachmentArray

type AlbServerGroupAttachmentArray []AlbServerGroupAttachmentInput

func (AlbServerGroupAttachmentArray) ElementType

func (AlbServerGroupAttachmentArray) ToAlbServerGroupAttachmentArrayOutput

func (i AlbServerGroupAttachmentArray) ToAlbServerGroupAttachmentArrayOutput() AlbServerGroupAttachmentArrayOutput

func (AlbServerGroupAttachmentArray) ToAlbServerGroupAttachmentArrayOutputWithContext

func (i AlbServerGroupAttachmentArray) ToAlbServerGroupAttachmentArrayOutputWithContext(ctx context.Context) AlbServerGroupAttachmentArrayOutput

type AlbServerGroupAttachmentArrayInput

type AlbServerGroupAttachmentArrayInput interface {
	pulumi.Input

	ToAlbServerGroupAttachmentArrayOutput() AlbServerGroupAttachmentArrayOutput
	ToAlbServerGroupAttachmentArrayOutputWithContext(context.Context) AlbServerGroupAttachmentArrayOutput
}

AlbServerGroupAttachmentArrayInput is an input type that accepts AlbServerGroupAttachmentArray and AlbServerGroupAttachmentArrayOutput values. You can construct a concrete instance of `AlbServerGroupAttachmentArrayInput` via:

AlbServerGroupAttachmentArray{ AlbServerGroupAttachmentArgs{...} }

type AlbServerGroupAttachmentArrayOutput

type AlbServerGroupAttachmentArrayOutput struct{ *pulumi.OutputState }

func (AlbServerGroupAttachmentArrayOutput) ElementType

func (AlbServerGroupAttachmentArrayOutput) Index

func (AlbServerGroupAttachmentArrayOutput) ToAlbServerGroupAttachmentArrayOutput

func (o AlbServerGroupAttachmentArrayOutput) ToAlbServerGroupAttachmentArrayOutput() AlbServerGroupAttachmentArrayOutput

func (AlbServerGroupAttachmentArrayOutput) ToAlbServerGroupAttachmentArrayOutputWithContext

func (o AlbServerGroupAttachmentArrayOutput) ToAlbServerGroupAttachmentArrayOutputWithContext(ctx context.Context) AlbServerGroupAttachmentArrayOutput

type AlbServerGroupAttachmentInput

type AlbServerGroupAttachmentInput interface {
	pulumi.Input

	ToAlbServerGroupAttachmentOutput() AlbServerGroupAttachmentOutput
	ToAlbServerGroupAttachmentOutputWithContext(ctx context.Context) AlbServerGroupAttachmentOutput
}

type AlbServerGroupAttachmentMap

type AlbServerGroupAttachmentMap map[string]AlbServerGroupAttachmentInput

func (AlbServerGroupAttachmentMap) ElementType

func (AlbServerGroupAttachmentMap) ToAlbServerGroupAttachmentMapOutput

func (i AlbServerGroupAttachmentMap) ToAlbServerGroupAttachmentMapOutput() AlbServerGroupAttachmentMapOutput

func (AlbServerGroupAttachmentMap) ToAlbServerGroupAttachmentMapOutputWithContext

func (i AlbServerGroupAttachmentMap) ToAlbServerGroupAttachmentMapOutputWithContext(ctx context.Context) AlbServerGroupAttachmentMapOutput

type AlbServerGroupAttachmentMapInput

type AlbServerGroupAttachmentMapInput interface {
	pulumi.Input

	ToAlbServerGroupAttachmentMapOutput() AlbServerGroupAttachmentMapOutput
	ToAlbServerGroupAttachmentMapOutputWithContext(context.Context) AlbServerGroupAttachmentMapOutput
}

AlbServerGroupAttachmentMapInput is an input type that accepts AlbServerGroupAttachmentMap and AlbServerGroupAttachmentMapOutput values. You can construct a concrete instance of `AlbServerGroupAttachmentMapInput` via:

AlbServerGroupAttachmentMap{ "key": AlbServerGroupAttachmentArgs{...} }

type AlbServerGroupAttachmentMapOutput

type AlbServerGroupAttachmentMapOutput struct{ *pulumi.OutputState }

func (AlbServerGroupAttachmentMapOutput) ElementType

func (AlbServerGroupAttachmentMapOutput) MapIndex

func (AlbServerGroupAttachmentMapOutput) ToAlbServerGroupAttachmentMapOutput

func (o AlbServerGroupAttachmentMapOutput) ToAlbServerGroupAttachmentMapOutput() AlbServerGroupAttachmentMapOutput

func (AlbServerGroupAttachmentMapOutput) ToAlbServerGroupAttachmentMapOutputWithContext

func (o AlbServerGroupAttachmentMapOutput) ToAlbServerGroupAttachmentMapOutputWithContext(ctx context.Context) AlbServerGroupAttachmentMapOutput

type AlbServerGroupAttachmentOutput

type AlbServerGroupAttachmentOutput struct{ *pulumi.OutputState }

func (AlbServerGroupAttachmentOutput) AlbServerGroupId

func (o AlbServerGroupAttachmentOutput) AlbServerGroupId() pulumi.StringOutput

ID of Alb Server Group.

func (AlbServerGroupAttachmentOutput) ElementType

func (AlbServerGroupAttachmentOutput) ForceAttach

If instances of scaling group are attached/removed from slb backend server when attach/detach alb server group from scaling group. Default to false.

func (AlbServerGroupAttachmentOutput) Port

- The port will be used for Alb Server Group backend server.

func (AlbServerGroupAttachmentOutput) ScalingGroupId

ID of the scaling group.

func (AlbServerGroupAttachmentOutput) ToAlbServerGroupAttachmentOutput

func (o AlbServerGroupAttachmentOutput) ToAlbServerGroupAttachmentOutput() AlbServerGroupAttachmentOutput

func (AlbServerGroupAttachmentOutput) ToAlbServerGroupAttachmentOutputWithContext

func (o AlbServerGroupAttachmentOutput) ToAlbServerGroupAttachmentOutputWithContext(ctx context.Context) AlbServerGroupAttachmentOutput

func (AlbServerGroupAttachmentOutput) Weight

The weight of an ECS instance attached to the Alb Server Group.

type AlbServerGroupAttachmentState

type AlbServerGroupAttachmentState struct {
	// ID of Alb Server Group.
	AlbServerGroupId pulumi.StringPtrInput
	// If instances of scaling group are attached/removed from slb backend server when attach/detach alb
	// server group from scaling group. Default to false.
	ForceAttach pulumi.BoolPtrInput
	// - The port will be used for Alb Server Group backend server.
	Port pulumi.IntPtrInput
	// ID of the scaling group.
	ScalingGroupId pulumi.StringPtrInput
	// The weight of an ECS instance attached to the Alb Server Group.
	Weight pulumi.IntPtrInput
}

func (AlbServerGroupAttachmentState) ElementType

type Attachment

type Attachment struct {
	pulumi.CustomResourceState

	// Whether to remove forcibly "AutoCreated" ECS instances in order to release scaling group capacity "MaxSize" for attaching ECS instances. Default to false.
	Force pulumi.BoolPtrOutput `pulumi:"force"`
	// ID of the ECS instance to be attached to the scaling group. You can input up to 20 IDs.
	InstanceIds pulumi.StringArrayOutput `pulumi:"instanceIds"`
	// ID of the scaling group of a scaling configuration.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
}

Attaches several ECS instances to a specified scaling group or remove them from it.

> **NOTE:** ECS instances can be attached or remove only when the scaling group is active, and it has no scaling activity in progress.

> **NOTE:** There are two types ECS instances in a scaling group: "AutoCreated" and "Attached". The total number of them can not larger than the scaling group "MaxSize".

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ecs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ecs"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "essattachmentconfig"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{
			AvailableDiskCategory:     pulumi.StringRef("cloud_efficiency"),
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id),
			CpuCoreCount:     pulumi.IntRef(2),
			MemorySize:       pulumi.Float64Ref(4),
		}, nil)
		if err != nil {
			return err
		}
		defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			NameRegex:  pulumi.StringRef("^ubuntu_18.*64"),
			MostRecent: pulumi.BoolRef(true),
			Owners:     pulumi.StringRef("system"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VpcId:     defaultNetwork.ID(),
			CidrBlock: pulumi.String("172.16.0.0/24"),
			ZoneId:    pulumi.String(defaultZones.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{
			VpcId: defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewSecurityGroupRule(ctx, "defaultSecurityGroupRule", &ecs.SecurityGroupRuleArgs{
			Type:            pulumi.String("ingress"),
			IpProtocol:      pulumi.String("tcp"),
			NicType:         pulumi.String("intranet"),
			Policy:          pulumi.String("accept"),
			PortRange:       pulumi.String("22/22"),
			Priority:        pulumi.Int(1),
			SecurityGroupId: defaultSecurityGroup.ID(),
			CidrIp:          pulumi.String("172.16.0.0/24"),
		})
		if err != nil {
			return err
		}
		defaultScalingGroup, err := ess.NewScalingGroup(ctx, "defaultScalingGroup", &ess.ScalingGroupArgs{
			MinSize:          pulumi.Int(0),
			MaxSize:          pulumi.Int(2),
			ScalingGroupName: pulumi.String(name),
			RemovalPolicies: pulumi.StringArray{
				pulumi.String("OldestInstance"),
				pulumi.String("NewestInstance"),
			},
			VswitchIds: pulumi.StringArray{
				defaultSwitch.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = ess.NewScalingConfiguration(ctx, "defaultScalingConfiguration", &ess.ScalingConfigurationArgs{
			ScalingGroupId:  defaultScalingGroup.ID(),
			ImageId:         pulumi.String(defaultImages.Images[0].Id),
			InstanceType:    pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			SecurityGroupId: defaultSecurityGroup.ID(),
			ForceDelete:     pulumi.Bool(true),
			Active:          pulumi.Bool(true),
			Enable:          pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		var defaultInstance []*ecs.Instance
		for key0, _ := range 2 {
			__res, err := ecs.NewInstance(ctx, fmt.Sprintf("defaultInstance-%v", key0), &ecs.InstanceArgs{
				ImageId:      pulumi.String(defaultImages.Images[0].Id),
				InstanceType: pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
				SecurityGroups: pulumi.StringArray{
					defaultSecurityGroup.ID(),
				},
				InternetChargeType:      pulumi.String("PayByTraffic"),
				InternetMaxBandwidthOut: pulumi.Int(10),
				InstanceChargeType:      pulumi.String("PostPaid"),
				SystemDiskCategory:      pulumi.String("cloud_efficiency"),
				VswitchId:               defaultSwitch.ID(),
				InstanceName:            pulumi.String(name),
			})
			if err != nil {
				return err
			}
			defaultInstance = append(defaultInstance, __res)
		}
		_, err = ess.NewAttachment(ctx, "defaultAttachment", &ess.AttachmentArgs{
			ScalingGroupId: defaultScalingGroup.ID(),
			InstanceIds: pulumi.StringArray{
				defaultInstance[0].ID(),
				defaultInstance[1].ID(),
			},
			Force: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ESS attachment can be imported using the id or scaling group id, e.g.

```sh

$ pulumi import alicloud:ess/attachment:Attachment example asg-abc123456

```

func GetAttachment

func GetAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AttachmentState, opts ...pulumi.ResourceOption) (*Attachment, error)

GetAttachment gets an existing Attachment 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 NewAttachment

func NewAttachment(ctx *pulumi.Context,
	name string, args *AttachmentArgs, opts ...pulumi.ResourceOption) (*Attachment, error)

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

func (*Attachment) ElementType

func (*Attachment) ElementType() reflect.Type

func (*Attachment) ToAttachmentOutput

func (i *Attachment) ToAttachmentOutput() AttachmentOutput

func (*Attachment) ToAttachmentOutputWithContext

func (i *Attachment) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput

type AttachmentArgs

type AttachmentArgs struct {
	// Whether to remove forcibly "AutoCreated" ECS instances in order to release scaling group capacity "MaxSize" for attaching ECS instances. Default to false.
	Force pulumi.BoolPtrInput
	// ID of the ECS instance to be attached to the scaling group. You can input up to 20 IDs.
	InstanceIds pulumi.StringArrayInput
	// ID of the scaling group of a scaling configuration.
	ScalingGroupId pulumi.StringInput
}

The set of arguments for constructing a Attachment resource.

func (AttachmentArgs) ElementType

func (AttachmentArgs) ElementType() reflect.Type

type AttachmentArray

type AttachmentArray []AttachmentInput

func (AttachmentArray) ElementType

func (AttachmentArray) ElementType() reflect.Type

func (AttachmentArray) ToAttachmentArrayOutput

func (i AttachmentArray) ToAttachmentArrayOutput() AttachmentArrayOutput

func (AttachmentArray) ToAttachmentArrayOutputWithContext

func (i AttachmentArray) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput

type AttachmentArrayInput

type AttachmentArrayInput interface {
	pulumi.Input

	ToAttachmentArrayOutput() AttachmentArrayOutput
	ToAttachmentArrayOutputWithContext(context.Context) AttachmentArrayOutput
}

AttachmentArrayInput is an input type that accepts AttachmentArray and AttachmentArrayOutput values. You can construct a concrete instance of `AttachmentArrayInput` via:

AttachmentArray{ AttachmentArgs{...} }

type AttachmentArrayOutput

type AttachmentArrayOutput struct{ *pulumi.OutputState }

func (AttachmentArrayOutput) ElementType

func (AttachmentArrayOutput) ElementType() reflect.Type

func (AttachmentArrayOutput) Index

func (AttachmentArrayOutput) ToAttachmentArrayOutput

func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput

func (AttachmentArrayOutput) ToAttachmentArrayOutputWithContext

func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput

type AttachmentInput

type AttachmentInput interface {
	pulumi.Input

	ToAttachmentOutput() AttachmentOutput
	ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
}

type AttachmentMap

type AttachmentMap map[string]AttachmentInput

func (AttachmentMap) ElementType

func (AttachmentMap) ElementType() reflect.Type

func (AttachmentMap) ToAttachmentMapOutput

func (i AttachmentMap) ToAttachmentMapOutput() AttachmentMapOutput

func (AttachmentMap) ToAttachmentMapOutputWithContext

func (i AttachmentMap) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput

type AttachmentMapInput

type AttachmentMapInput interface {
	pulumi.Input

	ToAttachmentMapOutput() AttachmentMapOutput
	ToAttachmentMapOutputWithContext(context.Context) AttachmentMapOutput
}

AttachmentMapInput is an input type that accepts AttachmentMap and AttachmentMapOutput values. You can construct a concrete instance of `AttachmentMapInput` via:

AttachmentMap{ "key": AttachmentArgs{...} }

type AttachmentMapOutput

type AttachmentMapOutput struct{ *pulumi.OutputState }

func (AttachmentMapOutput) ElementType

func (AttachmentMapOutput) ElementType() reflect.Type

func (AttachmentMapOutput) MapIndex

func (AttachmentMapOutput) ToAttachmentMapOutput

func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput

func (AttachmentMapOutput) ToAttachmentMapOutputWithContext

func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput

type AttachmentOutput

type AttachmentOutput struct{ *pulumi.OutputState }

func (AttachmentOutput) ElementType

func (AttachmentOutput) ElementType() reflect.Type

func (AttachmentOutput) Force

Whether to remove forcibly "AutoCreated" ECS instances in order to release scaling group capacity "MaxSize" for attaching ECS instances. Default to false.

func (AttachmentOutput) InstanceIds

func (o AttachmentOutput) InstanceIds() pulumi.StringArrayOutput

ID of the ECS instance to be attached to the scaling group. You can input up to 20 IDs.

func (AttachmentOutput) ScalingGroupId

func (o AttachmentOutput) ScalingGroupId() pulumi.StringOutput

ID of the scaling group of a scaling configuration.

func (AttachmentOutput) ToAttachmentOutput

func (o AttachmentOutput) ToAttachmentOutput() AttachmentOutput

func (AttachmentOutput) ToAttachmentOutputWithContext

func (o AttachmentOutput) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput

type AttachmentState

type AttachmentState struct {
	// Whether to remove forcibly "AutoCreated" ECS instances in order to release scaling group capacity "MaxSize" for attaching ECS instances. Default to false.
	Force pulumi.BoolPtrInput
	// ID of the ECS instance to be attached to the scaling group. You can input up to 20 IDs.
	InstanceIds pulumi.StringArrayInput
	// ID of the scaling group of a scaling configuration.
	ScalingGroupId pulumi.StringPtrInput
}

func (AttachmentState) ElementType

func (AttachmentState) ElementType() reflect.Type

type EciScalingConfiguration

type EciScalingConfiguration struct {
	pulumi.CustomResourceState

	// Information about the Container Registry Enterprise Edition instance. The details see
	// Block `acrRegistryInfo`.See Block acrRegistryInfo below for
	// details.
	AcrRegistryInfos EciScalingConfigurationAcrRegistryInfoArrayOutput `pulumi:"acrRegistryInfos"`
	// Whether active current eci scaling configuration in the specified scaling group. Note that only
	// one configuration can be active. Default to `false`.
	Active pulumi.BoolPtrOutput `pulumi:"active"`
	// Whether create eip automatically.
	AutoCreateEip pulumi.BoolPtrOutput `pulumi:"autoCreateEip"`
	// The name of the container group.
	ContainerGroupName pulumi.StringPtrOutput `pulumi:"containerGroupName"`
	// The list of containers.See Block container below for details.
	Containers EciScalingConfigurationContainerArrayOutput `pulumi:"containers"`
	// The amount of CPU resources allocated to the container.
	Cpu pulumi.Float64PtrOutput `pulumi:"cpu"`
	// The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
	// 256 characters in length and cannot start with http:// or https://.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// dns policy of contain group.
	DnsPolicy pulumi.StringPtrOutput `pulumi:"dnsPolicy"`
	// egress bandwidth.
	EgressBandwidth pulumi.IntPtrOutput `pulumi:"egressBandwidth"`
	// Eip bandwidth.
	EipBandwidth pulumi.IntPtrOutput `pulumi:"eipBandwidth"`
	// Enable sls log service.
	EnableSls pulumi.BoolPtrOutput `pulumi:"enableSls"`
	// The eci scaling configuration will be deleted forcibly with deleting its scaling group.
	// Default to false.
	ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"`
	// HostAliases.See Block hostAlias below for details.
	HostAliases EciScalingConfigurationHostAliasArrayOutput `pulumi:"hostAliases"`
	// Hostname of an ECI instance.
	HostName pulumi.StringPtrOutput `pulumi:"hostName"`
	// The image registry credential. The details see
	// Block `imageRegistryCredential`.See Block imageRegistryCredential below for
	// details.
	ImageRegistryCredentials EciScalingConfigurationImageRegistryCredentialArrayOutput `pulumi:"imageRegistryCredentials"`
	// Ingress bandwidth.
	IngressBandwidth pulumi.IntPtrOutput `pulumi:"ingressBandwidth"`
	// The list of initContainers.See Block initContainer below for
	// details.
	InitContainers EciScalingConfigurationInitContainerArrayOutput `pulumi:"initContainers"`
	// The amount of memory resources allocated to the container.
	Memory pulumi.Float64PtrOutput `pulumi:"memory"`
	// The RAM role that the container group assumes. ECI and ECS share the same RAM role.
	RamRoleName pulumi.StringPtrOutput `pulumi:"ramRoleName"`
	// ID of resource group.
	ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"`
	// The restart policy of the container group. Default to `Always`.
	RestartPolicy pulumi.StringPtrOutput `pulumi:"restartPolicy"`
	// Name shown for the scheduled task. which must contain 2-64 characters (
	// English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number,
	// underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is
	// EciScalingConfigurationId.
	ScalingConfigurationName pulumi.StringOutput `pulumi:"scalingConfigurationName"`
	// ID of the scaling group of a eci scaling configuration.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
	// ID of the security group used to create new instance. It is conflict
	// with `securityGroupIds`.
	SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"`
	// The maximum price hourly for spot instance.
	SpotPriceLimit pulumi.Float64PtrOutput `pulumi:"spotPriceLimit"`
	// The spot strategy for a Pay-As-You-Go instance. Valid values: `NoSpot`, `SpotAsPriceGo`
	// , `SpotWithPriceLimit`.
	SpotStrategy pulumi.StringPtrOutput `pulumi:"spotStrategy"`
	// A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot
	//   be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be
	//   a null string.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The list of volumes.See Block volume below for details.
	Volumes EciScalingConfigurationVolumeArrayOutput `pulumi:"volumes"`
}

Provides a ESS eci scaling configuration resource.

> **NOTE:** Resource `ess.AlbServerGroupAttachment` is available in 1.164.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ecs"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "essscalingconfiguration"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("172.16.0.0/24"),
			ZoneId:      pulumi.Any(data.Alicloud_zones.Default.Zones[0].Id),
			VswitchName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{
			VpcId: defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		defaultScalingGroup, err := ess.NewScalingGroup(ctx, "defaultScalingGroup", &ess.ScalingGroupArgs{
			MinSize:          pulumi.Int(0),
			MaxSize:          pulumi.Int(1),
			ScalingGroupName: pulumi.String(name),
			RemovalPolicies: pulumi.StringArray{
				pulumi.String("OldestInstance"),
				pulumi.String("NewestInstance"),
			},
			VswitchIds: pulumi.StringArray{
				defaultSwitch.ID(),
			},
			GroupType: pulumi.String("ECI"),
		})
		if err != nil {
			return err
		}
		_, err = ess.NewEciScalingConfiguration(ctx, "defaultEciScalingConfiguration", &ess.EciScalingConfigurationArgs{
			ScalingGroupId:     defaultScalingGroup.ID(),
			Cpu:                pulumi.Float64(2),
			Memory:             pulumi.Float64(4),
			SecurityGroupId:    defaultSecurityGroup.ID(),
			ForceDelete:        pulumi.Bool(true),
			Active:             pulumi.Bool(true),
			ContainerGroupName: pulumi.String("container-group-1649839595174"),
			Containers: ess.EciScalingConfigurationContainerArray{
				&ess.EciScalingConfigurationContainerArgs{
					Name:  pulumi.String("container-1"),
					Image: pulumi.String("registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ESS eci scaling configuration can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/eciScalingConfiguration:EciScalingConfiguration example asc-abc123456

```

func GetEciScalingConfiguration

func GetEciScalingConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EciScalingConfigurationState, opts ...pulumi.ResourceOption) (*EciScalingConfiguration, error)

GetEciScalingConfiguration gets an existing EciScalingConfiguration 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 NewEciScalingConfiguration

func NewEciScalingConfiguration(ctx *pulumi.Context,
	name string, args *EciScalingConfigurationArgs, opts ...pulumi.ResourceOption) (*EciScalingConfiguration, error)

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

func (*EciScalingConfiguration) ElementType

func (*EciScalingConfiguration) ElementType() reflect.Type

func (*EciScalingConfiguration) ToEciScalingConfigurationOutput

func (i *EciScalingConfiguration) ToEciScalingConfigurationOutput() EciScalingConfigurationOutput

func (*EciScalingConfiguration) ToEciScalingConfigurationOutputWithContext

func (i *EciScalingConfiguration) ToEciScalingConfigurationOutputWithContext(ctx context.Context) EciScalingConfigurationOutput

type EciScalingConfigurationAcrRegistryInfo

type EciScalingConfigurationAcrRegistryInfo struct {
	// Endpoint of Container Registry Enterprise Edition instance. By default, all endpoints of the Container Registry Enterprise Edition instance are displayed. It is required
	// when `acrRegistryInfo` is configured.
	Domains []string `pulumi:"domains"`
	// The ID of Container Registry Enterprise Edition instance. It is required
	// when `acrRegistryInfo` is configured.
	InstanceId *string `pulumi:"instanceId"`
	// The name of Container Registry Enterprise Edition instance. It is required when `acrRegistryInfo` is
	// configured.
	InstanceName *string `pulumi:"instanceName"`
	// The region ID of Container Registry Enterprise Edition instance. It is required
	// when `acrRegistryInfo` is configured.
	RegionId *string `pulumi:"regionId"`
}

type EciScalingConfigurationAcrRegistryInfoArgs

type EciScalingConfigurationAcrRegistryInfoArgs struct {
	// Endpoint of Container Registry Enterprise Edition instance. By default, all endpoints of the Container Registry Enterprise Edition instance are displayed. It is required
	// when `acrRegistryInfo` is configured.
	Domains pulumi.StringArrayInput `pulumi:"domains"`
	// The ID of Container Registry Enterprise Edition instance. It is required
	// when `acrRegistryInfo` is configured.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// The name of Container Registry Enterprise Edition instance. It is required when `acrRegistryInfo` is
	// configured.
	InstanceName pulumi.StringPtrInput `pulumi:"instanceName"`
	// The region ID of Container Registry Enterprise Edition instance. It is required
	// when `acrRegistryInfo` is configured.
	RegionId pulumi.StringPtrInput `pulumi:"regionId"`
}

func (EciScalingConfigurationAcrRegistryInfoArgs) ElementType

func (EciScalingConfigurationAcrRegistryInfoArgs) ToEciScalingConfigurationAcrRegistryInfoOutput

func (i EciScalingConfigurationAcrRegistryInfoArgs) ToEciScalingConfigurationAcrRegistryInfoOutput() EciScalingConfigurationAcrRegistryInfoOutput

func (EciScalingConfigurationAcrRegistryInfoArgs) ToEciScalingConfigurationAcrRegistryInfoOutputWithContext

func (i EciScalingConfigurationAcrRegistryInfoArgs) ToEciScalingConfigurationAcrRegistryInfoOutputWithContext(ctx context.Context) EciScalingConfigurationAcrRegistryInfoOutput

type EciScalingConfigurationAcrRegistryInfoArray

type EciScalingConfigurationAcrRegistryInfoArray []EciScalingConfigurationAcrRegistryInfoInput

func (EciScalingConfigurationAcrRegistryInfoArray) ElementType

func (EciScalingConfigurationAcrRegistryInfoArray) ToEciScalingConfigurationAcrRegistryInfoArrayOutput

func (i EciScalingConfigurationAcrRegistryInfoArray) ToEciScalingConfigurationAcrRegistryInfoArrayOutput() EciScalingConfigurationAcrRegistryInfoArrayOutput

func (EciScalingConfigurationAcrRegistryInfoArray) ToEciScalingConfigurationAcrRegistryInfoArrayOutputWithContext

func (i EciScalingConfigurationAcrRegistryInfoArray) ToEciScalingConfigurationAcrRegistryInfoArrayOutputWithContext(ctx context.Context) EciScalingConfigurationAcrRegistryInfoArrayOutput

type EciScalingConfigurationAcrRegistryInfoArrayInput

type EciScalingConfigurationAcrRegistryInfoArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationAcrRegistryInfoArrayOutput() EciScalingConfigurationAcrRegistryInfoArrayOutput
	ToEciScalingConfigurationAcrRegistryInfoArrayOutputWithContext(context.Context) EciScalingConfigurationAcrRegistryInfoArrayOutput
}

EciScalingConfigurationAcrRegistryInfoArrayInput is an input type that accepts EciScalingConfigurationAcrRegistryInfoArray and EciScalingConfigurationAcrRegistryInfoArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationAcrRegistryInfoArrayInput` via:

EciScalingConfigurationAcrRegistryInfoArray{ EciScalingConfigurationAcrRegistryInfoArgs{...} }

type EciScalingConfigurationAcrRegistryInfoArrayOutput

type EciScalingConfigurationAcrRegistryInfoArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationAcrRegistryInfoArrayOutput) ElementType

func (EciScalingConfigurationAcrRegistryInfoArrayOutput) Index

func (EciScalingConfigurationAcrRegistryInfoArrayOutput) ToEciScalingConfigurationAcrRegistryInfoArrayOutput

func (o EciScalingConfigurationAcrRegistryInfoArrayOutput) ToEciScalingConfigurationAcrRegistryInfoArrayOutput() EciScalingConfigurationAcrRegistryInfoArrayOutput

func (EciScalingConfigurationAcrRegistryInfoArrayOutput) ToEciScalingConfigurationAcrRegistryInfoArrayOutputWithContext

func (o EciScalingConfigurationAcrRegistryInfoArrayOutput) ToEciScalingConfigurationAcrRegistryInfoArrayOutputWithContext(ctx context.Context) EciScalingConfigurationAcrRegistryInfoArrayOutput

type EciScalingConfigurationAcrRegistryInfoInput

type EciScalingConfigurationAcrRegistryInfoInput interface {
	pulumi.Input

	ToEciScalingConfigurationAcrRegistryInfoOutput() EciScalingConfigurationAcrRegistryInfoOutput
	ToEciScalingConfigurationAcrRegistryInfoOutputWithContext(context.Context) EciScalingConfigurationAcrRegistryInfoOutput
}

EciScalingConfigurationAcrRegistryInfoInput is an input type that accepts EciScalingConfigurationAcrRegistryInfoArgs and EciScalingConfigurationAcrRegistryInfoOutput values. You can construct a concrete instance of `EciScalingConfigurationAcrRegistryInfoInput` via:

EciScalingConfigurationAcrRegistryInfoArgs{...}

type EciScalingConfigurationAcrRegistryInfoOutput

type EciScalingConfigurationAcrRegistryInfoOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationAcrRegistryInfoOutput) Domains

Endpoint of Container Registry Enterprise Edition instance. By default, all endpoints of the Container Registry Enterprise Edition instance are displayed. It is required when `acrRegistryInfo` is configured.

func (EciScalingConfigurationAcrRegistryInfoOutput) ElementType

func (EciScalingConfigurationAcrRegistryInfoOutput) InstanceId

The ID of Container Registry Enterprise Edition instance. It is required when `acrRegistryInfo` is configured.

func (EciScalingConfigurationAcrRegistryInfoOutput) InstanceName

The name of Container Registry Enterprise Edition instance. It is required when `acrRegistryInfo` is configured.

func (EciScalingConfigurationAcrRegistryInfoOutput) RegionId

The region ID of Container Registry Enterprise Edition instance. It is required when `acrRegistryInfo` is configured.

func (EciScalingConfigurationAcrRegistryInfoOutput) ToEciScalingConfigurationAcrRegistryInfoOutput

func (o EciScalingConfigurationAcrRegistryInfoOutput) ToEciScalingConfigurationAcrRegistryInfoOutput() EciScalingConfigurationAcrRegistryInfoOutput

func (EciScalingConfigurationAcrRegistryInfoOutput) ToEciScalingConfigurationAcrRegistryInfoOutputWithContext

func (o EciScalingConfigurationAcrRegistryInfoOutput) ToEciScalingConfigurationAcrRegistryInfoOutputWithContext(ctx context.Context) EciScalingConfigurationAcrRegistryInfoOutput

type EciScalingConfigurationArgs

type EciScalingConfigurationArgs struct {
	// Information about the Container Registry Enterprise Edition instance. The details see
	// Block `acrRegistryInfo`.See Block acrRegistryInfo below for
	// details.
	AcrRegistryInfos EciScalingConfigurationAcrRegistryInfoArrayInput
	// Whether active current eci scaling configuration in the specified scaling group. Note that only
	// one configuration can be active. Default to `false`.
	Active pulumi.BoolPtrInput
	// Whether create eip automatically.
	AutoCreateEip pulumi.BoolPtrInput
	// The name of the container group.
	ContainerGroupName pulumi.StringPtrInput
	// The list of containers.See Block container below for details.
	Containers EciScalingConfigurationContainerArrayInput
	// The amount of CPU resources allocated to the container.
	Cpu pulumi.Float64PtrInput
	// The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
	// 256 characters in length and cannot start with http:// or https://.
	Description pulumi.StringPtrInput
	// dns policy of contain group.
	DnsPolicy pulumi.StringPtrInput
	// egress bandwidth.
	EgressBandwidth pulumi.IntPtrInput
	// Eip bandwidth.
	EipBandwidth pulumi.IntPtrInput
	// Enable sls log service.
	EnableSls pulumi.BoolPtrInput
	// The eci scaling configuration will be deleted forcibly with deleting its scaling group.
	// Default to false.
	ForceDelete pulumi.BoolPtrInput
	// HostAliases.See Block hostAlias below for details.
	HostAliases EciScalingConfigurationHostAliasArrayInput
	// Hostname of an ECI instance.
	HostName pulumi.StringPtrInput
	// The image registry credential. The details see
	// Block `imageRegistryCredential`.See Block imageRegistryCredential below for
	// details.
	ImageRegistryCredentials EciScalingConfigurationImageRegistryCredentialArrayInput
	// Ingress bandwidth.
	IngressBandwidth pulumi.IntPtrInput
	// The list of initContainers.See Block initContainer below for
	// details.
	InitContainers EciScalingConfigurationInitContainerArrayInput
	// The amount of memory resources allocated to the container.
	Memory pulumi.Float64PtrInput
	// The RAM role that the container group assumes. ECI and ECS share the same RAM role.
	RamRoleName pulumi.StringPtrInput
	// ID of resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The restart policy of the container group. Default to `Always`.
	RestartPolicy pulumi.StringPtrInput
	// Name shown for the scheduled task. which must contain 2-64 characters (
	// English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number,
	// underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is
	// EciScalingConfigurationId.
	ScalingConfigurationName pulumi.StringPtrInput
	// ID of the scaling group of a eci scaling configuration.
	ScalingGroupId pulumi.StringInput
	// ID of the security group used to create new instance. It is conflict
	// with `securityGroupIds`.
	SecurityGroupId pulumi.StringPtrInput
	// The maximum price hourly for spot instance.
	SpotPriceLimit pulumi.Float64PtrInput
	// The spot strategy for a Pay-As-You-Go instance. Valid values: `NoSpot`, `SpotAsPriceGo`
	// , `SpotWithPriceLimit`.
	SpotStrategy pulumi.StringPtrInput
	// A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot
	//   be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be
	//   a null string.
	Tags pulumi.MapInput
	// The list of volumes.See Block volume below for details.
	Volumes EciScalingConfigurationVolumeArrayInput
}

The set of arguments for constructing a EciScalingConfiguration resource.

func (EciScalingConfigurationArgs) ElementType

type EciScalingConfigurationArray

type EciScalingConfigurationArray []EciScalingConfigurationInput

func (EciScalingConfigurationArray) ElementType

func (EciScalingConfigurationArray) ToEciScalingConfigurationArrayOutput

func (i EciScalingConfigurationArray) ToEciScalingConfigurationArrayOutput() EciScalingConfigurationArrayOutput

func (EciScalingConfigurationArray) ToEciScalingConfigurationArrayOutputWithContext

func (i EciScalingConfigurationArray) ToEciScalingConfigurationArrayOutputWithContext(ctx context.Context) EciScalingConfigurationArrayOutput

type EciScalingConfigurationArrayInput

type EciScalingConfigurationArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationArrayOutput() EciScalingConfigurationArrayOutput
	ToEciScalingConfigurationArrayOutputWithContext(context.Context) EciScalingConfigurationArrayOutput
}

EciScalingConfigurationArrayInput is an input type that accepts EciScalingConfigurationArray and EciScalingConfigurationArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationArrayInput` via:

EciScalingConfigurationArray{ EciScalingConfigurationArgs{...} }

type EciScalingConfigurationArrayOutput

type EciScalingConfigurationArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationArrayOutput) ElementType

func (EciScalingConfigurationArrayOutput) Index

func (EciScalingConfigurationArrayOutput) ToEciScalingConfigurationArrayOutput

func (o EciScalingConfigurationArrayOutput) ToEciScalingConfigurationArrayOutput() EciScalingConfigurationArrayOutput

func (EciScalingConfigurationArrayOutput) ToEciScalingConfigurationArrayOutputWithContext

func (o EciScalingConfigurationArrayOutput) ToEciScalingConfigurationArrayOutputWithContext(ctx context.Context) EciScalingConfigurationArrayOutput

type EciScalingConfigurationContainer

type EciScalingConfigurationContainer struct {
	// The arguments passed to the commands.
	Args []string `pulumi:"args"`
	// The commands run by the init container.
	Commands []string `pulumi:"commands"`
	// The amount of CPU resources allocated to the container.
	Cpu *float64 `pulumi:"cpu"`
	// The structure of environmentVars.
	// See Block_environment_var_in_container below for details.
	EnvironmentVars []EciScalingConfigurationContainerEnvironmentVar `pulumi:"environmentVars"`
	// The number GPUs.
	Gpu *int `pulumi:"gpu"`
	// The image of the container.
	Image *string `pulumi:"image"`
	// The restart policy of the image.
	ImagePullPolicy *string `pulumi:"imagePullPolicy"`
	// Commands that you want to run in containers when you use the CLI to perform liveness probes.
	LivenessProbeExecCommands []string `pulumi:"livenessProbeExecCommands"`
	// The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
	LivenessProbeFailureThreshold *int `pulumi:"livenessProbeFailureThreshold"`
	// The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
	LivenessProbeHttpGetPath *string `pulumi:"livenessProbeHttpGetPath"`
	// The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
	LivenessProbeHttpGetPort *int `pulumi:"livenessProbeHttpGetPort"`
	// The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
	LivenessProbeHttpGetScheme *string `pulumi:"livenessProbeHttpGetScheme"`
	// The number of seconds after container has started before liveness probes are initiated.
	LivenessProbeInitialDelaySeconds *int `pulumi:"livenessProbeInitialDelaySeconds"`
	// The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
	LivenessProbePeriodSeconds *int `pulumi:"livenessProbePeriodSeconds"`
	// The minimum number of consecutive successes for the liveness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
	LivenessProbeSuccessThreshold *int `pulumi:"livenessProbeSuccessThreshold"`
	// The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
	LivenessProbeTcpSocketPort *int `pulumi:"livenessProbeTcpSocketPort"`
	// The timeout period for the liveness probe. Unit: seconds. Default value: 1. Minimum value: 1.
	LivenessProbeTimeoutSeconds *int `pulumi:"livenessProbeTimeoutSeconds"`
	// The amount of memory resources allocated to the container.
	Memory *float64 `pulumi:"memory"`
	// The name of the mounted volume.
	Name *string `pulumi:"name"`
	// The structure of port. See Block_port_in_container below for details.
	Ports []EciScalingConfigurationContainerPort `pulumi:"ports"`
	// Commands that you want to run in containers when you use the CLI to perform readiness probes.
	ReadinessProbeExecCommands []string `pulumi:"readinessProbeExecCommands"`
	// The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
	ReadinessProbeFailureThreshold *int `pulumi:"readinessProbeFailureThreshold"`
	// The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
	ReadinessProbeHttpGetPath *string `pulumi:"readinessProbeHttpGetPath"`
	// The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
	ReadinessProbeHttpGetPort *int `pulumi:"readinessProbeHttpGetPort"`
	// The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
	ReadinessProbeHttpGetScheme *string `pulumi:"readinessProbeHttpGetScheme"`
	// The number of seconds after container N has started before readiness probes are initiated.
	ReadinessProbeInitialDelaySeconds *int `pulumi:"readinessProbeInitialDelaySeconds"`
	// The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
	ReadinessProbePeriodSeconds *int `pulumi:"readinessProbePeriodSeconds"`
	// The minimum number of consecutive successes for the readiness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
	ReadinessProbeSuccessThreshold *int `pulumi:"readinessProbeSuccessThreshold"`
	// The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
	ReadinessProbeTcpSocketPort *int `pulumi:"readinessProbeTcpSocketPort"`
	// The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
	ReadinessProbeTimeoutSeconds *int `pulumi:"readinessProbeTimeoutSeconds"`
	// The structure of volumeMounts.
	// See Block_volume_mount_in_container below for details.
	VolumeMounts []EciScalingConfigurationContainerVolumeMount `pulumi:"volumeMounts"`
	// The working directory of the container.
	WorkingDir *string `pulumi:"workingDir"`
}

type EciScalingConfigurationContainerArgs

type EciScalingConfigurationContainerArgs struct {
	// The arguments passed to the commands.
	Args pulumi.StringArrayInput `pulumi:"args"`
	// The commands run by the init container.
	Commands pulumi.StringArrayInput `pulumi:"commands"`
	// The amount of CPU resources allocated to the container.
	Cpu pulumi.Float64PtrInput `pulumi:"cpu"`
	// The structure of environmentVars.
	// See Block_environment_var_in_container below for details.
	EnvironmentVars EciScalingConfigurationContainerEnvironmentVarArrayInput `pulumi:"environmentVars"`
	// The number GPUs.
	Gpu pulumi.IntPtrInput `pulumi:"gpu"`
	// The image of the container.
	Image pulumi.StringPtrInput `pulumi:"image"`
	// The restart policy of the image.
	ImagePullPolicy pulumi.StringPtrInput `pulumi:"imagePullPolicy"`
	// Commands that you want to run in containers when you use the CLI to perform liveness probes.
	LivenessProbeExecCommands pulumi.StringArrayInput `pulumi:"livenessProbeExecCommands"`
	// The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
	LivenessProbeFailureThreshold pulumi.IntPtrInput `pulumi:"livenessProbeFailureThreshold"`
	// The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
	LivenessProbeHttpGetPath pulumi.StringPtrInput `pulumi:"livenessProbeHttpGetPath"`
	// The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
	LivenessProbeHttpGetPort pulumi.IntPtrInput `pulumi:"livenessProbeHttpGetPort"`
	// The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
	LivenessProbeHttpGetScheme pulumi.StringPtrInput `pulumi:"livenessProbeHttpGetScheme"`
	// The number of seconds after container has started before liveness probes are initiated.
	LivenessProbeInitialDelaySeconds pulumi.IntPtrInput `pulumi:"livenessProbeInitialDelaySeconds"`
	// The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
	LivenessProbePeriodSeconds pulumi.IntPtrInput `pulumi:"livenessProbePeriodSeconds"`
	// The minimum number of consecutive successes for the liveness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
	LivenessProbeSuccessThreshold pulumi.IntPtrInput `pulumi:"livenessProbeSuccessThreshold"`
	// The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
	LivenessProbeTcpSocketPort pulumi.IntPtrInput `pulumi:"livenessProbeTcpSocketPort"`
	// The timeout period for the liveness probe. Unit: seconds. Default value: 1. Minimum value: 1.
	LivenessProbeTimeoutSeconds pulumi.IntPtrInput `pulumi:"livenessProbeTimeoutSeconds"`
	// The amount of memory resources allocated to the container.
	Memory pulumi.Float64PtrInput `pulumi:"memory"`
	// The name of the mounted volume.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The structure of port. See Block_port_in_container below for details.
	Ports EciScalingConfigurationContainerPortArrayInput `pulumi:"ports"`
	// Commands that you want to run in containers when you use the CLI to perform readiness probes.
	ReadinessProbeExecCommands pulumi.StringArrayInput `pulumi:"readinessProbeExecCommands"`
	// The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
	ReadinessProbeFailureThreshold pulumi.IntPtrInput `pulumi:"readinessProbeFailureThreshold"`
	// The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
	ReadinessProbeHttpGetPath pulumi.StringPtrInput `pulumi:"readinessProbeHttpGetPath"`
	// The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
	ReadinessProbeHttpGetPort pulumi.IntPtrInput `pulumi:"readinessProbeHttpGetPort"`
	// The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
	ReadinessProbeHttpGetScheme pulumi.StringPtrInput `pulumi:"readinessProbeHttpGetScheme"`
	// The number of seconds after container N has started before readiness probes are initiated.
	ReadinessProbeInitialDelaySeconds pulumi.IntPtrInput `pulumi:"readinessProbeInitialDelaySeconds"`
	// The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
	ReadinessProbePeriodSeconds pulumi.IntPtrInput `pulumi:"readinessProbePeriodSeconds"`
	// The minimum number of consecutive successes for the readiness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
	ReadinessProbeSuccessThreshold pulumi.IntPtrInput `pulumi:"readinessProbeSuccessThreshold"`
	// The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
	ReadinessProbeTcpSocketPort pulumi.IntPtrInput `pulumi:"readinessProbeTcpSocketPort"`
	// The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
	ReadinessProbeTimeoutSeconds pulumi.IntPtrInput `pulumi:"readinessProbeTimeoutSeconds"`
	// The structure of volumeMounts.
	// See Block_volume_mount_in_container below for details.
	VolumeMounts EciScalingConfigurationContainerVolumeMountArrayInput `pulumi:"volumeMounts"`
	// The working directory of the container.
	WorkingDir pulumi.StringPtrInput `pulumi:"workingDir"`
}

func (EciScalingConfigurationContainerArgs) ElementType

func (EciScalingConfigurationContainerArgs) ToEciScalingConfigurationContainerOutput

func (i EciScalingConfigurationContainerArgs) ToEciScalingConfigurationContainerOutput() EciScalingConfigurationContainerOutput

func (EciScalingConfigurationContainerArgs) ToEciScalingConfigurationContainerOutputWithContext

func (i EciScalingConfigurationContainerArgs) ToEciScalingConfigurationContainerOutputWithContext(ctx context.Context) EciScalingConfigurationContainerOutput

type EciScalingConfigurationContainerArray

type EciScalingConfigurationContainerArray []EciScalingConfigurationContainerInput

func (EciScalingConfigurationContainerArray) ElementType

func (EciScalingConfigurationContainerArray) ToEciScalingConfigurationContainerArrayOutput

func (i EciScalingConfigurationContainerArray) ToEciScalingConfigurationContainerArrayOutput() EciScalingConfigurationContainerArrayOutput

func (EciScalingConfigurationContainerArray) ToEciScalingConfigurationContainerArrayOutputWithContext

func (i EciScalingConfigurationContainerArray) ToEciScalingConfigurationContainerArrayOutputWithContext(ctx context.Context) EciScalingConfigurationContainerArrayOutput

type EciScalingConfigurationContainerArrayInput

type EciScalingConfigurationContainerArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationContainerArrayOutput() EciScalingConfigurationContainerArrayOutput
	ToEciScalingConfigurationContainerArrayOutputWithContext(context.Context) EciScalingConfigurationContainerArrayOutput
}

EciScalingConfigurationContainerArrayInput is an input type that accepts EciScalingConfigurationContainerArray and EciScalingConfigurationContainerArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationContainerArrayInput` via:

EciScalingConfigurationContainerArray{ EciScalingConfigurationContainerArgs{...} }

type EciScalingConfigurationContainerArrayOutput

type EciScalingConfigurationContainerArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationContainerArrayOutput) ElementType

func (EciScalingConfigurationContainerArrayOutput) Index

func (EciScalingConfigurationContainerArrayOutput) ToEciScalingConfigurationContainerArrayOutput

func (o EciScalingConfigurationContainerArrayOutput) ToEciScalingConfigurationContainerArrayOutput() EciScalingConfigurationContainerArrayOutput

func (EciScalingConfigurationContainerArrayOutput) ToEciScalingConfigurationContainerArrayOutputWithContext

func (o EciScalingConfigurationContainerArrayOutput) ToEciScalingConfigurationContainerArrayOutputWithContext(ctx context.Context) EciScalingConfigurationContainerArrayOutput

type EciScalingConfigurationContainerEnvironmentVar

type EciScalingConfigurationContainerEnvironmentVar struct {
	// The name of the variable. The name can be 1 to 128 characters in length and can contain letters,
	// digits, and underscores (_). It cannot start with a digit.
	Key *string `pulumi:"key"`
	// The value of the variable. The value can be 0 to 256 characters in length.
	Value *string `pulumi:"value"`
}

type EciScalingConfigurationContainerEnvironmentVarArgs

type EciScalingConfigurationContainerEnvironmentVarArgs struct {
	// The name of the variable. The name can be 1 to 128 characters in length and can contain letters,
	// digits, and underscores (_). It cannot start with a digit.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value of the variable. The value can be 0 to 256 characters in length.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EciScalingConfigurationContainerEnvironmentVarArgs) ElementType

func (EciScalingConfigurationContainerEnvironmentVarArgs) ToEciScalingConfigurationContainerEnvironmentVarOutput

func (i EciScalingConfigurationContainerEnvironmentVarArgs) ToEciScalingConfigurationContainerEnvironmentVarOutput() EciScalingConfigurationContainerEnvironmentVarOutput

func (EciScalingConfigurationContainerEnvironmentVarArgs) ToEciScalingConfigurationContainerEnvironmentVarOutputWithContext

func (i EciScalingConfigurationContainerEnvironmentVarArgs) ToEciScalingConfigurationContainerEnvironmentVarOutputWithContext(ctx context.Context) EciScalingConfigurationContainerEnvironmentVarOutput

type EciScalingConfigurationContainerEnvironmentVarArray

type EciScalingConfigurationContainerEnvironmentVarArray []EciScalingConfigurationContainerEnvironmentVarInput

func (EciScalingConfigurationContainerEnvironmentVarArray) ElementType

func (EciScalingConfigurationContainerEnvironmentVarArray) ToEciScalingConfigurationContainerEnvironmentVarArrayOutput

func (i EciScalingConfigurationContainerEnvironmentVarArray) ToEciScalingConfigurationContainerEnvironmentVarArrayOutput() EciScalingConfigurationContainerEnvironmentVarArrayOutput

func (EciScalingConfigurationContainerEnvironmentVarArray) ToEciScalingConfigurationContainerEnvironmentVarArrayOutputWithContext

func (i EciScalingConfigurationContainerEnvironmentVarArray) ToEciScalingConfigurationContainerEnvironmentVarArrayOutputWithContext(ctx context.Context) EciScalingConfigurationContainerEnvironmentVarArrayOutput

type EciScalingConfigurationContainerEnvironmentVarArrayInput

type EciScalingConfigurationContainerEnvironmentVarArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationContainerEnvironmentVarArrayOutput() EciScalingConfigurationContainerEnvironmentVarArrayOutput
	ToEciScalingConfigurationContainerEnvironmentVarArrayOutputWithContext(context.Context) EciScalingConfigurationContainerEnvironmentVarArrayOutput
}

EciScalingConfigurationContainerEnvironmentVarArrayInput is an input type that accepts EciScalingConfigurationContainerEnvironmentVarArray and EciScalingConfigurationContainerEnvironmentVarArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationContainerEnvironmentVarArrayInput` via:

EciScalingConfigurationContainerEnvironmentVarArray{ EciScalingConfigurationContainerEnvironmentVarArgs{...} }

type EciScalingConfigurationContainerEnvironmentVarArrayOutput

type EciScalingConfigurationContainerEnvironmentVarArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationContainerEnvironmentVarArrayOutput) ElementType

func (EciScalingConfigurationContainerEnvironmentVarArrayOutput) Index

func (EciScalingConfigurationContainerEnvironmentVarArrayOutput) ToEciScalingConfigurationContainerEnvironmentVarArrayOutput

func (EciScalingConfigurationContainerEnvironmentVarArrayOutput) ToEciScalingConfigurationContainerEnvironmentVarArrayOutputWithContext

func (o EciScalingConfigurationContainerEnvironmentVarArrayOutput) ToEciScalingConfigurationContainerEnvironmentVarArrayOutputWithContext(ctx context.Context) EciScalingConfigurationContainerEnvironmentVarArrayOutput

type EciScalingConfigurationContainerEnvironmentVarInput

type EciScalingConfigurationContainerEnvironmentVarInput interface {
	pulumi.Input

	ToEciScalingConfigurationContainerEnvironmentVarOutput() EciScalingConfigurationContainerEnvironmentVarOutput
	ToEciScalingConfigurationContainerEnvironmentVarOutputWithContext(context.Context) EciScalingConfigurationContainerEnvironmentVarOutput
}

EciScalingConfigurationContainerEnvironmentVarInput is an input type that accepts EciScalingConfigurationContainerEnvironmentVarArgs and EciScalingConfigurationContainerEnvironmentVarOutput values. You can construct a concrete instance of `EciScalingConfigurationContainerEnvironmentVarInput` via:

EciScalingConfigurationContainerEnvironmentVarArgs{...}

type EciScalingConfigurationContainerEnvironmentVarOutput

type EciScalingConfigurationContainerEnvironmentVarOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationContainerEnvironmentVarOutput) ElementType

func (EciScalingConfigurationContainerEnvironmentVarOutput) Key

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

func (EciScalingConfigurationContainerEnvironmentVarOutput) ToEciScalingConfigurationContainerEnvironmentVarOutput

func (EciScalingConfigurationContainerEnvironmentVarOutput) ToEciScalingConfigurationContainerEnvironmentVarOutputWithContext

func (o EciScalingConfigurationContainerEnvironmentVarOutput) ToEciScalingConfigurationContainerEnvironmentVarOutputWithContext(ctx context.Context) EciScalingConfigurationContainerEnvironmentVarOutput

func (EciScalingConfigurationContainerEnvironmentVarOutput) Value

The value of the variable. The value can be 0 to 256 characters in length.

type EciScalingConfigurationContainerInput

type EciScalingConfigurationContainerInput interface {
	pulumi.Input

	ToEciScalingConfigurationContainerOutput() EciScalingConfigurationContainerOutput
	ToEciScalingConfigurationContainerOutputWithContext(context.Context) EciScalingConfigurationContainerOutput
}

EciScalingConfigurationContainerInput is an input type that accepts EciScalingConfigurationContainerArgs and EciScalingConfigurationContainerOutput values. You can construct a concrete instance of `EciScalingConfigurationContainerInput` via:

EciScalingConfigurationContainerArgs{...}

type EciScalingConfigurationContainerOutput

type EciScalingConfigurationContainerOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationContainerOutput) Args

The arguments passed to the commands.

func (EciScalingConfigurationContainerOutput) Commands

The commands run by the init container.

func (EciScalingConfigurationContainerOutput) Cpu

The amount of CPU resources allocated to the container.

func (EciScalingConfigurationContainerOutput) ElementType

func (EciScalingConfigurationContainerOutput) EnvironmentVars

The structure of environmentVars. See Block_environment_var_in_container below for details.

func (EciScalingConfigurationContainerOutput) Gpu

The number GPUs.

func (EciScalingConfigurationContainerOutput) Image

The image of the container.

func (EciScalingConfigurationContainerOutput) ImagePullPolicy

The restart policy of the image.

func (EciScalingConfigurationContainerOutput) LivenessProbeExecCommands

func (o EciScalingConfigurationContainerOutput) LivenessProbeExecCommands() pulumi.StringArrayOutput

Commands that you want to run in containers when you use the CLI to perform liveness probes.

func (EciScalingConfigurationContainerOutput) LivenessProbeFailureThreshold

func (o EciScalingConfigurationContainerOutput) LivenessProbeFailureThreshold() pulumi.IntPtrOutput

The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.

func (EciScalingConfigurationContainerOutput) LivenessProbeHttpGetPath

func (o EciScalingConfigurationContainerOutput) LivenessProbeHttpGetPath() pulumi.StringPtrOutput

The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.

func (EciScalingConfigurationContainerOutput) LivenessProbeHttpGetPort

func (o EciScalingConfigurationContainerOutput) LivenessProbeHttpGetPort() pulumi.IntPtrOutput

The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.

func (EciScalingConfigurationContainerOutput) LivenessProbeHttpGetScheme

func (o EciScalingConfigurationContainerOutput) LivenessProbeHttpGetScheme() pulumi.StringPtrOutput

The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.

func (EciScalingConfigurationContainerOutput) LivenessProbeInitialDelaySeconds

func (o EciScalingConfigurationContainerOutput) LivenessProbeInitialDelaySeconds() pulumi.IntPtrOutput

The number of seconds after container has started before liveness probes are initiated.

func (EciScalingConfigurationContainerOutput) LivenessProbePeriodSeconds

func (o EciScalingConfigurationContainerOutput) LivenessProbePeriodSeconds() pulumi.IntPtrOutput

The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.

func (EciScalingConfigurationContainerOutput) LivenessProbeSuccessThreshold

func (o EciScalingConfigurationContainerOutput) LivenessProbeSuccessThreshold() pulumi.IntPtrOutput

The minimum number of consecutive successes for the liveness probe to be considered successful after having failed. Default value: 1. Set the value to 1.

func (EciScalingConfigurationContainerOutput) LivenessProbeTcpSocketPort

func (o EciScalingConfigurationContainerOutput) LivenessProbeTcpSocketPort() pulumi.IntPtrOutput

The port detected by TCP sockets when you use TCP sockets to perform liveness probes.

func (EciScalingConfigurationContainerOutput) LivenessProbeTimeoutSeconds

func (o EciScalingConfigurationContainerOutput) LivenessProbeTimeoutSeconds() pulumi.IntPtrOutput

The timeout period for the liveness probe. Unit: seconds. Default value: 1. Minimum value: 1.

func (EciScalingConfigurationContainerOutput) Memory

The amount of memory resources allocated to the container.

func (EciScalingConfigurationContainerOutput) Name

The name of the mounted volume.

func (EciScalingConfigurationContainerOutput) Ports

The structure of port. See Block_port_in_container below for details.

func (EciScalingConfigurationContainerOutput) ReadinessProbeExecCommands

func (o EciScalingConfigurationContainerOutput) ReadinessProbeExecCommands() pulumi.StringArrayOutput

Commands that you want to run in containers when you use the CLI to perform readiness probes.

func (EciScalingConfigurationContainerOutput) ReadinessProbeFailureThreshold

func (o EciScalingConfigurationContainerOutput) ReadinessProbeFailureThreshold() pulumi.IntPtrOutput

The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.

func (EciScalingConfigurationContainerOutput) ReadinessProbeHttpGetPath

func (o EciScalingConfigurationContainerOutput) ReadinessProbeHttpGetPath() pulumi.StringPtrOutput

The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.

func (EciScalingConfigurationContainerOutput) ReadinessProbeHttpGetPort

func (o EciScalingConfigurationContainerOutput) ReadinessProbeHttpGetPort() pulumi.IntPtrOutput

The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.

func (EciScalingConfigurationContainerOutput) ReadinessProbeHttpGetScheme

func (o EciScalingConfigurationContainerOutput) ReadinessProbeHttpGetScheme() pulumi.StringPtrOutput

The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.

func (EciScalingConfigurationContainerOutput) ReadinessProbeInitialDelaySeconds

func (o EciScalingConfigurationContainerOutput) ReadinessProbeInitialDelaySeconds() pulumi.IntPtrOutput

The number of seconds after container N has started before readiness probes are initiated.

func (EciScalingConfigurationContainerOutput) ReadinessProbePeriodSeconds

func (o EciScalingConfigurationContainerOutput) ReadinessProbePeriodSeconds() pulumi.IntPtrOutput

The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.

func (EciScalingConfigurationContainerOutput) ReadinessProbeSuccessThreshold

func (o EciScalingConfigurationContainerOutput) ReadinessProbeSuccessThreshold() pulumi.IntPtrOutput

The minimum number of consecutive successes for the readiness probe to be considered successful after having failed. Default value: 1. Set the value to 1.

func (EciScalingConfigurationContainerOutput) ReadinessProbeTcpSocketPort

func (o EciScalingConfigurationContainerOutput) ReadinessProbeTcpSocketPort() pulumi.IntPtrOutput

The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.

func (EciScalingConfigurationContainerOutput) ReadinessProbeTimeoutSeconds

func (o EciScalingConfigurationContainerOutput) ReadinessProbeTimeoutSeconds() pulumi.IntPtrOutput

The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.

func (EciScalingConfigurationContainerOutput) ToEciScalingConfigurationContainerOutput

func (o EciScalingConfigurationContainerOutput) ToEciScalingConfigurationContainerOutput() EciScalingConfigurationContainerOutput

func (EciScalingConfigurationContainerOutput) ToEciScalingConfigurationContainerOutputWithContext

func (o EciScalingConfigurationContainerOutput) ToEciScalingConfigurationContainerOutputWithContext(ctx context.Context) EciScalingConfigurationContainerOutput

func (EciScalingConfigurationContainerOutput) VolumeMounts

The structure of volumeMounts. See Block_volume_mount_in_container below for details.

func (EciScalingConfigurationContainerOutput) WorkingDir

The working directory of the container.

type EciScalingConfigurationContainerPort

type EciScalingConfigurationContainerPort struct {
	// The port number. Valid values: 1 to 65535.
	Port *int `pulumi:"port"`
	// Valid values: TCP and UDP.
	Protocol *string `pulumi:"protocol"`
}

type EciScalingConfigurationContainerPortArgs

type EciScalingConfigurationContainerPortArgs struct {
	// The port number. Valid values: 1 to 65535.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// Valid values: TCP and UDP.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
}

func (EciScalingConfigurationContainerPortArgs) ElementType

func (EciScalingConfigurationContainerPortArgs) ToEciScalingConfigurationContainerPortOutput

func (i EciScalingConfigurationContainerPortArgs) ToEciScalingConfigurationContainerPortOutput() EciScalingConfigurationContainerPortOutput

func (EciScalingConfigurationContainerPortArgs) ToEciScalingConfigurationContainerPortOutputWithContext

func (i EciScalingConfigurationContainerPortArgs) ToEciScalingConfigurationContainerPortOutputWithContext(ctx context.Context) EciScalingConfigurationContainerPortOutput

type EciScalingConfigurationContainerPortArray

type EciScalingConfigurationContainerPortArray []EciScalingConfigurationContainerPortInput

func (EciScalingConfigurationContainerPortArray) ElementType

func (EciScalingConfigurationContainerPortArray) ToEciScalingConfigurationContainerPortArrayOutput

func (i EciScalingConfigurationContainerPortArray) ToEciScalingConfigurationContainerPortArrayOutput() EciScalingConfigurationContainerPortArrayOutput

func (EciScalingConfigurationContainerPortArray) ToEciScalingConfigurationContainerPortArrayOutputWithContext

func (i EciScalingConfigurationContainerPortArray) ToEciScalingConfigurationContainerPortArrayOutputWithContext(ctx context.Context) EciScalingConfigurationContainerPortArrayOutput

type EciScalingConfigurationContainerPortArrayInput

type EciScalingConfigurationContainerPortArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationContainerPortArrayOutput() EciScalingConfigurationContainerPortArrayOutput
	ToEciScalingConfigurationContainerPortArrayOutputWithContext(context.Context) EciScalingConfigurationContainerPortArrayOutput
}

EciScalingConfigurationContainerPortArrayInput is an input type that accepts EciScalingConfigurationContainerPortArray and EciScalingConfigurationContainerPortArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationContainerPortArrayInput` via:

EciScalingConfigurationContainerPortArray{ EciScalingConfigurationContainerPortArgs{...} }

type EciScalingConfigurationContainerPortArrayOutput

type EciScalingConfigurationContainerPortArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationContainerPortArrayOutput) ElementType

func (EciScalingConfigurationContainerPortArrayOutput) Index

func (EciScalingConfigurationContainerPortArrayOutput) ToEciScalingConfigurationContainerPortArrayOutput

func (o EciScalingConfigurationContainerPortArrayOutput) ToEciScalingConfigurationContainerPortArrayOutput() EciScalingConfigurationContainerPortArrayOutput

func (EciScalingConfigurationContainerPortArrayOutput) ToEciScalingConfigurationContainerPortArrayOutputWithContext

func (o EciScalingConfigurationContainerPortArrayOutput) ToEciScalingConfigurationContainerPortArrayOutputWithContext(ctx context.Context) EciScalingConfigurationContainerPortArrayOutput

type EciScalingConfigurationContainerPortInput

type EciScalingConfigurationContainerPortInput interface {
	pulumi.Input

	ToEciScalingConfigurationContainerPortOutput() EciScalingConfigurationContainerPortOutput
	ToEciScalingConfigurationContainerPortOutputWithContext(context.Context) EciScalingConfigurationContainerPortOutput
}

EciScalingConfigurationContainerPortInput is an input type that accepts EciScalingConfigurationContainerPortArgs and EciScalingConfigurationContainerPortOutput values. You can construct a concrete instance of `EciScalingConfigurationContainerPortInput` via:

EciScalingConfigurationContainerPortArgs{...}

type EciScalingConfigurationContainerPortOutput

type EciScalingConfigurationContainerPortOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationContainerPortOutput) ElementType

func (EciScalingConfigurationContainerPortOutput) Port

The port number. Valid values: 1 to 65535.

func (EciScalingConfigurationContainerPortOutput) Protocol

Valid values: TCP and UDP.

func (EciScalingConfigurationContainerPortOutput) ToEciScalingConfigurationContainerPortOutput

func (o EciScalingConfigurationContainerPortOutput) ToEciScalingConfigurationContainerPortOutput() EciScalingConfigurationContainerPortOutput

func (EciScalingConfigurationContainerPortOutput) ToEciScalingConfigurationContainerPortOutputWithContext

func (o EciScalingConfigurationContainerPortOutput) ToEciScalingConfigurationContainerPortOutputWithContext(ctx context.Context) EciScalingConfigurationContainerPortOutput

type EciScalingConfigurationContainerVolumeMount

type EciScalingConfigurationContainerVolumeMount struct {
	// The directory of the mounted volume. Data under this directory will be overwritten by the
	// data in the volume.
	MountPath *string `pulumi:"mountPath"`
	// The name of the mounted volume.
	Name *string `pulumi:"name"`
	// Default to `false`.
	ReadOnly *bool `pulumi:"readOnly"`
}

type EciScalingConfigurationContainerVolumeMountArgs

type EciScalingConfigurationContainerVolumeMountArgs struct {
	// The directory of the mounted volume. Data under this directory will be overwritten by the
	// data in the volume.
	MountPath pulumi.StringPtrInput `pulumi:"mountPath"`
	// The name of the mounted volume.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Default to `false`.
	ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"`
}

func (EciScalingConfigurationContainerVolumeMountArgs) ElementType

func (EciScalingConfigurationContainerVolumeMountArgs) ToEciScalingConfigurationContainerVolumeMountOutput

func (i EciScalingConfigurationContainerVolumeMountArgs) ToEciScalingConfigurationContainerVolumeMountOutput() EciScalingConfigurationContainerVolumeMountOutput

func (EciScalingConfigurationContainerVolumeMountArgs) ToEciScalingConfigurationContainerVolumeMountOutputWithContext

func (i EciScalingConfigurationContainerVolumeMountArgs) ToEciScalingConfigurationContainerVolumeMountOutputWithContext(ctx context.Context) EciScalingConfigurationContainerVolumeMountOutput

type EciScalingConfigurationContainerVolumeMountArray

type EciScalingConfigurationContainerVolumeMountArray []EciScalingConfigurationContainerVolumeMountInput

func (EciScalingConfigurationContainerVolumeMountArray) ElementType

func (EciScalingConfigurationContainerVolumeMountArray) ToEciScalingConfigurationContainerVolumeMountArrayOutput

func (i EciScalingConfigurationContainerVolumeMountArray) ToEciScalingConfigurationContainerVolumeMountArrayOutput() EciScalingConfigurationContainerVolumeMountArrayOutput

func (EciScalingConfigurationContainerVolumeMountArray) ToEciScalingConfigurationContainerVolumeMountArrayOutputWithContext

func (i EciScalingConfigurationContainerVolumeMountArray) ToEciScalingConfigurationContainerVolumeMountArrayOutputWithContext(ctx context.Context) EciScalingConfigurationContainerVolumeMountArrayOutput

type EciScalingConfigurationContainerVolumeMountArrayInput

type EciScalingConfigurationContainerVolumeMountArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationContainerVolumeMountArrayOutput() EciScalingConfigurationContainerVolumeMountArrayOutput
	ToEciScalingConfigurationContainerVolumeMountArrayOutputWithContext(context.Context) EciScalingConfigurationContainerVolumeMountArrayOutput
}

EciScalingConfigurationContainerVolumeMountArrayInput is an input type that accepts EciScalingConfigurationContainerVolumeMountArray and EciScalingConfigurationContainerVolumeMountArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationContainerVolumeMountArrayInput` via:

EciScalingConfigurationContainerVolumeMountArray{ EciScalingConfigurationContainerVolumeMountArgs{...} }

type EciScalingConfigurationContainerVolumeMountArrayOutput

type EciScalingConfigurationContainerVolumeMountArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationContainerVolumeMountArrayOutput) ElementType

func (EciScalingConfigurationContainerVolumeMountArrayOutput) Index

func (EciScalingConfigurationContainerVolumeMountArrayOutput) ToEciScalingConfigurationContainerVolumeMountArrayOutput

func (EciScalingConfigurationContainerVolumeMountArrayOutput) ToEciScalingConfigurationContainerVolumeMountArrayOutputWithContext

func (o EciScalingConfigurationContainerVolumeMountArrayOutput) ToEciScalingConfigurationContainerVolumeMountArrayOutputWithContext(ctx context.Context) EciScalingConfigurationContainerVolumeMountArrayOutput

type EciScalingConfigurationContainerVolumeMountInput

type EciScalingConfigurationContainerVolumeMountInput interface {
	pulumi.Input

	ToEciScalingConfigurationContainerVolumeMountOutput() EciScalingConfigurationContainerVolumeMountOutput
	ToEciScalingConfigurationContainerVolumeMountOutputWithContext(context.Context) EciScalingConfigurationContainerVolumeMountOutput
}

EciScalingConfigurationContainerVolumeMountInput is an input type that accepts EciScalingConfigurationContainerVolumeMountArgs and EciScalingConfigurationContainerVolumeMountOutput values. You can construct a concrete instance of `EciScalingConfigurationContainerVolumeMountInput` via:

EciScalingConfigurationContainerVolumeMountArgs{...}

type EciScalingConfigurationContainerVolumeMountOutput

type EciScalingConfigurationContainerVolumeMountOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationContainerVolumeMountOutput) ElementType

func (EciScalingConfigurationContainerVolumeMountOutput) MountPath

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

func (EciScalingConfigurationContainerVolumeMountOutput) Name

The name of the mounted volume.

func (EciScalingConfigurationContainerVolumeMountOutput) ReadOnly

Default to `false`.

func (EciScalingConfigurationContainerVolumeMountOutput) ToEciScalingConfigurationContainerVolumeMountOutput

func (o EciScalingConfigurationContainerVolumeMountOutput) ToEciScalingConfigurationContainerVolumeMountOutput() EciScalingConfigurationContainerVolumeMountOutput

func (EciScalingConfigurationContainerVolumeMountOutput) ToEciScalingConfigurationContainerVolumeMountOutputWithContext

func (o EciScalingConfigurationContainerVolumeMountOutput) ToEciScalingConfigurationContainerVolumeMountOutputWithContext(ctx context.Context) EciScalingConfigurationContainerVolumeMountOutput

type EciScalingConfigurationHostAlias

type EciScalingConfigurationHostAlias struct {
	// Adds a host name.
	Hostnames []string `pulumi:"hostnames"`
	// Adds an IP address.
	Ip *string `pulumi:"ip"`
}

type EciScalingConfigurationHostAliasArgs

type EciScalingConfigurationHostAliasArgs struct {
	// Adds a host name.
	Hostnames pulumi.StringArrayInput `pulumi:"hostnames"`
	// Adds an IP address.
	Ip pulumi.StringPtrInput `pulumi:"ip"`
}

func (EciScalingConfigurationHostAliasArgs) ElementType

func (EciScalingConfigurationHostAliasArgs) ToEciScalingConfigurationHostAliasOutput

func (i EciScalingConfigurationHostAliasArgs) ToEciScalingConfigurationHostAliasOutput() EciScalingConfigurationHostAliasOutput

func (EciScalingConfigurationHostAliasArgs) ToEciScalingConfigurationHostAliasOutputWithContext

func (i EciScalingConfigurationHostAliasArgs) ToEciScalingConfigurationHostAliasOutputWithContext(ctx context.Context) EciScalingConfigurationHostAliasOutput

type EciScalingConfigurationHostAliasArray

type EciScalingConfigurationHostAliasArray []EciScalingConfigurationHostAliasInput

func (EciScalingConfigurationHostAliasArray) ElementType

func (EciScalingConfigurationHostAliasArray) ToEciScalingConfigurationHostAliasArrayOutput

func (i EciScalingConfigurationHostAliasArray) ToEciScalingConfigurationHostAliasArrayOutput() EciScalingConfigurationHostAliasArrayOutput

func (EciScalingConfigurationHostAliasArray) ToEciScalingConfigurationHostAliasArrayOutputWithContext

func (i EciScalingConfigurationHostAliasArray) ToEciScalingConfigurationHostAliasArrayOutputWithContext(ctx context.Context) EciScalingConfigurationHostAliasArrayOutput

type EciScalingConfigurationHostAliasArrayInput

type EciScalingConfigurationHostAliasArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationHostAliasArrayOutput() EciScalingConfigurationHostAliasArrayOutput
	ToEciScalingConfigurationHostAliasArrayOutputWithContext(context.Context) EciScalingConfigurationHostAliasArrayOutput
}

EciScalingConfigurationHostAliasArrayInput is an input type that accepts EciScalingConfigurationHostAliasArray and EciScalingConfigurationHostAliasArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationHostAliasArrayInput` via:

EciScalingConfigurationHostAliasArray{ EciScalingConfigurationHostAliasArgs{...} }

type EciScalingConfigurationHostAliasArrayOutput

type EciScalingConfigurationHostAliasArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationHostAliasArrayOutput) ElementType

func (EciScalingConfigurationHostAliasArrayOutput) Index

func (EciScalingConfigurationHostAliasArrayOutput) ToEciScalingConfigurationHostAliasArrayOutput

func (o EciScalingConfigurationHostAliasArrayOutput) ToEciScalingConfigurationHostAliasArrayOutput() EciScalingConfigurationHostAliasArrayOutput

func (EciScalingConfigurationHostAliasArrayOutput) ToEciScalingConfigurationHostAliasArrayOutputWithContext

func (o EciScalingConfigurationHostAliasArrayOutput) ToEciScalingConfigurationHostAliasArrayOutputWithContext(ctx context.Context) EciScalingConfigurationHostAliasArrayOutput

type EciScalingConfigurationHostAliasInput

type EciScalingConfigurationHostAliasInput interface {
	pulumi.Input

	ToEciScalingConfigurationHostAliasOutput() EciScalingConfigurationHostAliasOutput
	ToEciScalingConfigurationHostAliasOutputWithContext(context.Context) EciScalingConfigurationHostAliasOutput
}

EciScalingConfigurationHostAliasInput is an input type that accepts EciScalingConfigurationHostAliasArgs and EciScalingConfigurationHostAliasOutput values. You can construct a concrete instance of `EciScalingConfigurationHostAliasInput` via:

EciScalingConfigurationHostAliasArgs{...}

type EciScalingConfigurationHostAliasOutput

type EciScalingConfigurationHostAliasOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationHostAliasOutput) ElementType

func (EciScalingConfigurationHostAliasOutput) Hostnames

Adds a host name.

func (EciScalingConfigurationHostAliasOutput) Ip

Adds an IP address.

func (EciScalingConfigurationHostAliasOutput) ToEciScalingConfigurationHostAliasOutput

func (o EciScalingConfigurationHostAliasOutput) ToEciScalingConfigurationHostAliasOutput() EciScalingConfigurationHostAliasOutput

func (EciScalingConfigurationHostAliasOutput) ToEciScalingConfigurationHostAliasOutputWithContext

func (o EciScalingConfigurationHostAliasOutput) ToEciScalingConfigurationHostAliasOutputWithContext(ctx context.Context) EciScalingConfigurationHostAliasOutput

type EciScalingConfigurationImageRegistryCredential

type EciScalingConfigurationImageRegistryCredential struct {
	// The password used to log on to the image repository. It is required
	// when `imageRegistryCredential` is configured.
	Password *string `pulumi:"password"`
	// The address of the image repository. It is required when `imageRegistryCredential` is
	// configured.
	Server   *string `pulumi:"server"`
	Username *string `pulumi:"username"`
}

type EciScalingConfigurationImageRegistryCredentialArgs

type EciScalingConfigurationImageRegistryCredentialArgs struct {
	// The password used to log on to the image repository. It is required
	// when `imageRegistryCredential` is configured.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// The address of the image repository. It is required when `imageRegistryCredential` is
	// configured.
	Server   pulumi.StringPtrInput `pulumi:"server"`
	Username pulumi.StringPtrInput `pulumi:"username"`
}

func (EciScalingConfigurationImageRegistryCredentialArgs) ElementType

func (EciScalingConfigurationImageRegistryCredentialArgs) ToEciScalingConfigurationImageRegistryCredentialOutput

func (i EciScalingConfigurationImageRegistryCredentialArgs) ToEciScalingConfigurationImageRegistryCredentialOutput() EciScalingConfigurationImageRegistryCredentialOutput

func (EciScalingConfigurationImageRegistryCredentialArgs) ToEciScalingConfigurationImageRegistryCredentialOutputWithContext

func (i EciScalingConfigurationImageRegistryCredentialArgs) ToEciScalingConfigurationImageRegistryCredentialOutputWithContext(ctx context.Context) EciScalingConfigurationImageRegistryCredentialOutput

type EciScalingConfigurationImageRegistryCredentialArray

type EciScalingConfigurationImageRegistryCredentialArray []EciScalingConfigurationImageRegistryCredentialInput

func (EciScalingConfigurationImageRegistryCredentialArray) ElementType

func (EciScalingConfigurationImageRegistryCredentialArray) ToEciScalingConfigurationImageRegistryCredentialArrayOutput

func (i EciScalingConfigurationImageRegistryCredentialArray) ToEciScalingConfigurationImageRegistryCredentialArrayOutput() EciScalingConfigurationImageRegistryCredentialArrayOutput

func (EciScalingConfigurationImageRegistryCredentialArray) ToEciScalingConfigurationImageRegistryCredentialArrayOutputWithContext

func (i EciScalingConfigurationImageRegistryCredentialArray) ToEciScalingConfigurationImageRegistryCredentialArrayOutputWithContext(ctx context.Context) EciScalingConfigurationImageRegistryCredentialArrayOutput

type EciScalingConfigurationImageRegistryCredentialArrayInput

type EciScalingConfigurationImageRegistryCredentialArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationImageRegistryCredentialArrayOutput() EciScalingConfigurationImageRegistryCredentialArrayOutput
	ToEciScalingConfigurationImageRegistryCredentialArrayOutputWithContext(context.Context) EciScalingConfigurationImageRegistryCredentialArrayOutput
}

EciScalingConfigurationImageRegistryCredentialArrayInput is an input type that accepts EciScalingConfigurationImageRegistryCredentialArray and EciScalingConfigurationImageRegistryCredentialArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationImageRegistryCredentialArrayInput` via:

EciScalingConfigurationImageRegistryCredentialArray{ EciScalingConfigurationImageRegistryCredentialArgs{...} }

type EciScalingConfigurationImageRegistryCredentialArrayOutput

type EciScalingConfigurationImageRegistryCredentialArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationImageRegistryCredentialArrayOutput) ElementType

func (EciScalingConfigurationImageRegistryCredentialArrayOutput) Index

func (EciScalingConfigurationImageRegistryCredentialArrayOutput) ToEciScalingConfigurationImageRegistryCredentialArrayOutput

func (EciScalingConfigurationImageRegistryCredentialArrayOutput) ToEciScalingConfigurationImageRegistryCredentialArrayOutputWithContext

func (o EciScalingConfigurationImageRegistryCredentialArrayOutput) ToEciScalingConfigurationImageRegistryCredentialArrayOutputWithContext(ctx context.Context) EciScalingConfigurationImageRegistryCredentialArrayOutput

type EciScalingConfigurationImageRegistryCredentialInput

type EciScalingConfigurationImageRegistryCredentialInput interface {
	pulumi.Input

	ToEciScalingConfigurationImageRegistryCredentialOutput() EciScalingConfigurationImageRegistryCredentialOutput
	ToEciScalingConfigurationImageRegistryCredentialOutputWithContext(context.Context) EciScalingConfigurationImageRegistryCredentialOutput
}

EciScalingConfigurationImageRegistryCredentialInput is an input type that accepts EciScalingConfigurationImageRegistryCredentialArgs and EciScalingConfigurationImageRegistryCredentialOutput values. You can construct a concrete instance of `EciScalingConfigurationImageRegistryCredentialInput` via:

EciScalingConfigurationImageRegistryCredentialArgs{...}

type EciScalingConfigurationImageRegistryCredentialOutput

type EciScalingConfigurationImageRegistryCredentialOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationImageRegistryCredentialOutput) ElementType

func (EciScalingConfigurationImageRegistryCredentialOutput) Password

The password used to log on to the image repository. It is required when `imageRegistryCredential` is configured.

func (EciScalingConfigurationImageRegistryCredentialOutput) Server

The address of the image repository. It is required when `imageRegistryCredential` is configured.

func (EciScalingConfigurationImageRegistryCredentialOutput) ToEciScalingConfigurationImageRegistryCredentialOutput

func (EciScalingConfigurationImageRegistryCredentialOutput) ToEciScalingConfigurationImageRegistryCredentialOutputWithContext

func (o EciScalingConfigurationImageRegistryCredentialOutput) ToEciScalingConfigurationImageRegistryCredentialOutputWithContext(ctx context.Context) EciScalingConfigurationImageRegistryCredentialOutput

func (EciScalingConfigurationImageRegistryCredentialOutput) Username

type EciScalingConfigurationInitContainer

type EciScalingConfigurationInitContainer struct {
	// The arguments passed to the commands.
	Args []string `pulumi:"args"`
	// The commands run by the init container.
	Commands []string `pulumi:"commands"`
	// The amount of CPU resources allocated to the container.
	Cpu *float64 `pulumi:"cpu"`
	// The structure of environmentVars.
	// See Block_environment_var_in_container below for details.
	EnvironmentVars []EciScalingConfigurationInitContainerEnvironmentVar `pulumi:"environmentVars"`
	// The number GPUs.
	Gpu *int `pulumi:"gpu"`
	// The image of the container.
	Image *string `pulumi:"image"`
	// The restart policy of the image.
	ImagePullPolicy *string `pulumi:"imagePullPolicy"`
	// The amount of memory resources allocated to the container.
	Memory *float64 `pulumi:"memory"`
	// The name of the mounted volume.
	Name *string `pulumi:"name"`
	// The structure of port. See Block_port_in_container below for details.
	Ports []EciScalingConfigurationInitContainerPort `pulumi:"ports"`
	// The structure of volumeMounts.
	// See Block_volume_mount_in_container below for details.
	VolumeMounts []EciScalingConfigurationInitContainerVolumeMount `pulumi:"volumeMounts"`
	// The working directory of the container.
	WorkingDir *string `pulumi:"workingDir"`
}

type EciScalingConfigurationInitContainerArgs

type EciScalingConfigurationInitContainerArgs struct {
	// The arguments passed to the commands.
	Args pulumi.StringArrayInput `pulumi:"args"`
	// The commands run by the init container.
	Commands pulumi.StringArrayInput `pulumi:"commands"`
	// The amount of CPU resources allocated to the container.
	Cpu pulumi.Float64PtrInput `pulumi:"cpu"`
	// The structure of environmentVars.
	// See Block_environment_var_in_container below for details.
	EnvironmentVars EciScalingConfigurationInitContainerEnvironmentVarArrayInput `pulumi:"environmentVars"`
	// The number GPUs.
	Gpu pulumi.IntPtrInput `pulumi:"gpu"`
	// The image of the container.
	Image pulumi.StringPtrInput `pulumi:"image"`
	// The restart policy of the image.
	ImagePullPolicy pulumi.StringPtrInput `pulumi:"imagePullPolicy"`
	// The amount of memory resources allocated to the container.
	Memory pulumi.Float64PtrInput `pulumi:"memory"`
	// The name of the mounted volume.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The structure of port. See Block_port_in_container below for details.
	Ports EciScalingConfigurationInitContainerPortArrayInput `pulumi:"ports"`
	// The structure of volumeMounts.
	// See Block_volume_mount_in_container below for details.
	VolumeMounts EciScalingConfigurationInitContainerVolumeMountArrayInput `pulumi:"volumeMounts"`
	// The working directory of the container.
	WorkingDir pulumi.StringPtrInput `pulumi:"workingDir"`
}

func (EciScalingConfigurationInitContainerArgs) ElementType

func (EciScalingConfigurationInitContainerArgs) ToEciScalingConfigurationInitContainerOutput

func (i EciScalingConfigurationInitContainerArgs) ToEciScalingConfigurationInitContainerOutput() EciScalingConfigurationInitContainerOutput

func (EciScalingConfigurationInitContainerArgs) ToEciScalingConfigurationInitContainerOutputWithContext

func (i EciScalingConfigurationInitContainerArgs) ToEciScalingConfigurationInitContainerOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerOutput

type EciScalingConfigurationInitContainerArray

type EciScalingConfigurationInitContainerArray []EciScalingConfigurationInitContainerInput

func (EciScalingConfigurationInitContainerArray) ElementType

func (EciScalingConfigurationInitContainerArray) ToEciScalingConfigurationInitContainerArrayOutput

func (i EciScalingConfigurationInitContainerArray) ToEciScalingConfigurationInitContainerArrayOutput() EciScalingConfigurationInitContainerArrayOutput

func (EciScalingConfigurationInitContainerArray) ToEciScalingConfigurationInitContainerArrayOutputWithContext

func (i EciScalingConfigurationInitContainerArray) ToEciScalingConfigurationInitContainerArrayOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerArrayOutput

type EciScalingConfigurationInitContainerArrayInput

type EciScalingConfigurationInitContainerArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationInitContainerArrayOutput() EciScalingConfigurationInitContainerArrayOutput
	ToEciScalingConfigurationInitContainerArrayOutputWithContext(context.Context) EciScalingConfigurationInitContainerArrayOutput
}

EciScalingConfigurationInitContainerArrayInput is an input type that accepts EciScalingConfigurationInitContainerArray and EciScalingConfigurationInitContainerArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationInitContainerArrayInput` via:

EciScalingConfigurationInitContainerArray{ EciScalingConfigurationInitContainerArgs{...} }

type EciScalingConfigurationInitContainerArrayOutput

type EciScalingConfigurationInitContainerArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationInitContainerArrayOutput) ElementType

func (EciScalingConfigurationInitContainerArrayOutput) Index

func (EciScalingConfigurationInitContainerArrayOutput) ToEciScalingConfigurationInitContainerArrayOutput

func (o EciScalingConfigurationInitContainerArrayOutput) ToEciScalingConfigurationInitContainerArrayOutput() EciScalingConfigurationInitContainerArrayOutput

func (EciScalingConfigurationInitContainerArrayOutput) ToEciScalingConfigurationInitContainerArrayOutputWithContext

func (o EciScalingConfigurationInitContainerArrayOutput) ToEciScalingConfigurationInitContainerArrayOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerArrayOutput

type EciScalingConfigurationInitContainerEnvironmentVar

type EciScalingConfigurationInitContainerEnvironmentVar struct {
	// The name of the variable. The name can be 1 to 128 characters in length and can contain letters,
	// digits, and underscores (_). It cannot start with a digit.
	Key *string `pulumi:"key"`
	// The value of the variable. The value can be 0 to 256 characters in length.
	Value *string `pulumi:"value"`
}

type EciScalingConfigurationInitContainerEnvironmentVarArgs

type EciScalingConfigurationInitContainerEnvironmentVarArgs struct {
	// The name of the variable. The name can be 1 to 128 characters in length and can contain letters,
	// digits, and underscores (_). It cannot start with a digit.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value of the variable. The value can be 0 to 256 characters in length.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EciScalingConfigurationInitContainerEnvironmentVarArgs) ElementType

func (EciScalingConfigurationInitContainerEnvironmentVarArgs) ToEciScalingConfigurationInitContainerEnvironmentVarOutput

func (EciScalingConfigurationInitContainerEnvironmentVarArgs) ToEciScalingConfigurationInitContainerEnvironmentVarOutputWithContext

func (i EciScalingConfigurationInitContainerEnvironmentVarArgs) ToEciScalingConfigurationInitContainerEnvironmentVarOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerEnvironmentVarOutput

type EciScalingConfigurationInitContainerEnvironmentVarArray

type EciScalingConfigurationInitContainerEnvironmentVarArray []EciScalingConfigurationInitContainerEnvironmentVarInput

func (EciScalingConfigurationInitContainerEnvironmentVarArray) ElementType

func (EciScalingConfigurationInitContainerEnvironmentVarArray) ToEciScalingConfigurationInitContainerEnvironmentVarArrayOutput

func (i EciScalingConfigurationInitContainerEnvironmentVarArray) ToEciScalingConfigurationInitContainerEnvironmentVarArrayOutput() EciScalingConfigurationInitContainerEnvironmentVarArrayOutput

func (EciScalingConfigurationInitContainerEnvironmentVarArray) ToEciScalingConfigurationInitContainerEnvironmentVarArrayOutputWithContext

func (i EciScalingConfigurationInitContainerEnvironmentVarArray) ToEciScalingConfigurationInitContainerEnvironmentVarArrayOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerEnvironmentVarArrayOutput

type EciScalingConfigurationInitContainerEnvironmentVarArrayInput

type EciScalingConfigurationInitContainerEnvironmentVarArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationInitContainerEnvironmentVarArrayOutput() EciScalingConfigurationInitContainerEnvironmentVarArrayOutput
	ToEciScalingConfigurationInitContainerEnvironmentVarArrayOutputWithContext(context.Context) EciScalingConfigurationInitContainerEnvironmentVarArrayOutput
}

EciScalingConfigurationInitContainerEnvironmentVarArrayInput is an input type that accepts EciScalingConfigurationInitContainerEnvironmentVarArray and EciScalingConfigurationInitContainerEnvironmentVarArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationInitContainerEnvironmentVarArrayInput` via:

EciScalingConfigurationInitContainerEnvironmentVarArray{ EciScalingConfigurationInitContainerEnvironmentVarArgs{...} }

type EciScalingConfigurationInitContainerEnvironmentVarArrayOutput

type EciScalingConfigurationInitContainerEnvironmentVarArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationInitContainerEnvironmentVarArrayOutput) ElementType

func (EciScalingConfigurationInitContainerEnvironmentVarArrayOutput) Index

func (EciScalingConfigurationInitContainerEnvironmentVarArrayOutput) ToEciScalingConfigurationInitContainerEnvironmentVarArrayOutput

func (EciScalingConfigurationInitContainerEnvironmentVarArrayOutput) ToEciScalingConfigurationInitContainerEnvironmentVarArrayOutputWithContext

func (o EciScalingConfigurationInitContainerEnvironmentVarArrayOutput) ToEciScalingConfigurationInitContainerEnvironmentVarArrayOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerEnvironmentVarArrayOutput

type EciScalingConfigurationInitContainerEnvironmentVarInput

type EciScalingConfigurationInitContainerEnvironmentVarInput interface {
	pulumi.Input

	ToEciScalingConfigurationInitContainerEnvironmentVarOutput() EciScalingConfigurationInitContainerEnvironmentVarOutput
	ToEciScalingConfigurationInitContainerEnvironmentVarOutputWithContext(context.Context) EciScalingConfigurationInitContainerEnvironmentVarOutput
}

EciScalingConfigurationInitContainerEnvironmentVarInput is an input type that accepts EciScalingConfigurationInitContainerEnvironmentVarArgs and EciScalingConfigurationInitContainerEnvironmentVarOutput values. You can construct a concrete instance of `EciScalingConfigurationInitContainerEnvironmentVarInput` via:

EciScalingConfigurationInitContainerEnvironmentVarArgs{...}

type EciScalingConfigurationInitContainerEnvironmentVarOutput

type EciScalingConfigurationInitContainerEnvironmentVarOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationInitContainerEnvironmentVarOutput) ElementType

func (EciScalingConfigurationInitContainerEnvironmentVarOutput) Key

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

func (EciScalingConfigurationInitContainerEnvironmentVarOutput) ToEciScalingConfigurationInitContainerEnvironmentVarOutput

func (EciScalingConfigurationInitContainerEnvironmentVarOutput) ToEciScalingConfigurationInitContainerEnvironmentVarOutputWithContext

func (o EciScalingConfigurationInitContainerEnvironmentVarOutput) ToEciScalingConfigurationInitContainerEnvironmentVarOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerEnvironmentVarOutput

func (EciScalingConfigurationInitContainerEnvironmentVarOutput) Value

The value of the variable. The value can be 0 to 256 characters in length.

type EciScalingConfigurationInitContainerInput

type EciScalingConfigurationInitContainerInput interface {
	pulumi.Input

	ToEciScalingConfigurationInitContainerOutput() EciScalingConfigurationInitContainerOutput
	ToEciScalingConfigurationInitContainerOutputWithContext(context.Context) EciScalingConfigurationInitContainerOutput
}

EciScalingConfigurationInitContainerInput is an input type that accepts EciScalingConfigurationInitContainerArgs and EciScalingConfigurationInitContainerOutput values. You can construct a concrete instance of `EciScalingConfigurationInitContainerInput` via:

EciScalingConfigurationInitContainerArgs{...}

type EciScalingConfigurationInitContainerOutput

type EciScalingConfigurationInitContainerOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationInitContainerOutput) Args

The arguments passed to the commands.

func (EciScalingConfigurationInitContainerOutput) Commands

The commands run by the init container.

func (EciScalingConfigurationInitContainerOutput) Cpu

The amount of CPU resources allocated to the container.

func (EciScalingConfigurationInitContainerOutput) ElementType

func (EciScalingConfigurationInitContainerOutput) EnvironmentVars

The structure of environmentVars. See Block_environment_var_in_container below for details.

func (EciScalingConfigurationInitContainerOutput) Gpu

The number GPUs.

func (EciScalingConfigurationInitContainerOutput) Image

The image of the container.

func (EciScalingConfigurationInitContainerOutput) ImagePullPolicy

The restart policy of the image.

func (EciScalingConfigurationInitContainerOutput) Memory

The amount of memory resources allocated to the container.

func (EciScalingConfigurationInitContainerOutput) Name

The name of the mounted volume.

func (EciScalingConfigurationInitContainerOutput) Ports

The structure of port. See Block_port_in_container below for details.

func (EciScalingConfigurationInitContainerOutput) ToEciScalingConfigurationInitContainerOutput

func (o EciScalingConfigurationInitContainerOutput) ToEciScalingConfigurationInitContainerOutput() EciScalingConfigurationInitContainerOutput

func (EciScalingConfigurationInitContainerOutput) ToEciScalingConfigurationInitContainerOutputWithContext

func (o EciScalingConfigurationInitContainerOutput) ToEciScalingConfigurationInitContainerOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerOutput

func (EciScalingConfigurationInitContainerOutput) VolumeMounts

The structure of volumeMounts. See Block_volume_mount_in_container below for details.

func (EciScalingConfigurationInitContainerOutput) WorkingDir

The working directory of the container.

type EciScalingConfigurationInitContainerPort

type EciScalingConfigurationInitContainerPort struct {
	// The port number. Valid values: 1 to 65535.
	Port *int `pulumi:"port"`
	// Valid values: TCP and UDP.
	Protocol *string `pulumi:"protocol"`
}

type EciScalingConfigurationInitContainerPortArgs

type EciScalingConfigurationInitContainerPortArgs struct {
	// The port number. Valid values: 1 to 65535.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// Valid values: TCP and UDP.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
}

func (EciScalingConfigurationInitContainerPortArgs) ElementType

func (EciScalingConfigurationInitContainerPortArgs) ToEciScalingConfigurationInitContainerPortOutput

func (i EciScalingConfigurationInitContainerPortArgs) ToEciScalingConfigurationInitContainerPortOutput() EciScalingConfigurationInitContainerPortOutput

func (EciScalingConfigurationInitContainerPortArgs) ToEciScalingConfigurationInitContainerPortOutputWithContext

func (i EciScalingConfigurationInitContainerPortArgs) ToEciScalingConfigurationInitContainerPortOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerPortOutput

type EciScalingConfigurationInitContainerPortArray

type EciScalingConfigurationInitContainerPortArray []EciScalingConfigurationInitContainerPortInput

func (EciScalingConfigurationInitContainerPortArray) ElementType

func (EciScalingConfigurationInitContainerPortArray) ToEciScalingConfigurationInitContainerPortArrayOutput

func (i EciScalingConfigurationInitContainerPortArray) ToEciScalingConfigurationInitContainerPortArrayOutput() EciScalingConfigurationInitContainerPortArrayOutput

func (EciScalingConfigurationInitContainerPortArray) ToEciScalingConfigurationInitContainerPortArrayOutputWithContext

func (i EciScalingConfigurationInitContainerPortArray) ToEciScalingConfigurationInitContainerPortArrayOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerPortArrayOutput

type EciScalingConfigurationInitContainerPortArrayInput

type EciScalingConfigurationInitContainerPortArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationInitContainerPortArrayOutput() EciScalingConfigurationInitContainerPortArrayOutput
	ToEciScalingConfigurationInitContainerPortArrayOutputWithContext(context.Context) EciScalingConfigurationInitContainerPortArrayOutput
}

EciScalingConfigurationInitContainerPortArrayInput is an input type that accepts EciScalingConfigurationInitContainerPortArray and EciScalingConfigurationInitContainerPortArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationInitContainerPortArrayInput` via:

EciScalingConfigurationInitContainerPortArray{ EciScalingConfigurationInitContainerPortArgs{...} }

type EciScalingConfigurationInitContainerPortArrayOutput

type EciScalingConfigurationInitContainerPortArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationInitContainerPortArrayOutput) ElementType

func (EciScalingConfigurationInitContainerPortArrayOutput) Index

func (EciScalingConfigurationInitContainerPortArrayOutput) ToEciScalingConfigurationInitContainerPortArrayOutput

func (o EciScalingConfigurationInitContainerPortArrayOutput) ToEciScalingConfigurationInitContainerPortArrayOutput() EciScalingConfigurationInitContainerPortArrayOutput

func (EciScalingConfigurationInitContainerPortArrayOutput) ToEciScalingConfigurationInitContainerPortArrayOutputWithContext

func (o EciScalingConfigurationInitContainerPortArrayOutput) ToEciScalingConfigurationInitContainerPortArrayOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerPortArrayOutput

type EciScalingConfigurationInitContainerPortInput

type EciScalingConfigurationInitContainerPortInput interface {
	pulumi.Input

	ToEciScalingConfigurationInitContainerPortOutput() EciScalingConfigurationInitContainerPortOutput
	ToEciScalingConfigurationInitContainerPortOutputWithContext(context.Context) EciScalingConfigurationInitContainerPortOutput
}

EciScalingConfigurationInitContainerPortInput is an input type that accepts EciScalingConfigurationInitContainerPortArgs and EciScalingConfigurationInitContainerPortOutput values. You can construct a concrete instance of `EciScalingConfigurationInitContainerPortInput` via:

EciScalingConfigurationInitContainerPortArgs{...}

type EciScalingConfigurationInitContainerPortOutput

type EciScalingConfigurationInitContainerPortOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationInitContainerPortOutput) ElementType

func (EciScalingConfigurationInitContainerPortOutput) Port

The port number. Valid values: 1 to 65535.

func (EciScalingConfigurationInitContainerPortOutput) Protocol

Valid values: TCP and UDP.

func (EciScalingConfigurationInitContainerPortOutput) ToEciScalingConfigurationInitContainerPortOutput

func (o EciScalingConfigurationInitContainerPortOutput) ToEciScalingConfigurationInitContainerPortOutput() EciScalingConfigurationInitContainerPortOutput

func (EciScalingConfigurationInitContainerPortOutput) ToEciScalingConfigurationInitContainerPortOutputWithContext

func (o EciScalingConfigurationInitContainerPortOutput) ToEciScalingConfigurationInitContainerPortOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerPortOutput

type EciScalingConfigurationInitContainerVolumeMount

type EciScalingConfigurationInitContainerVolumeMount struct {
	// The directory of the mounted volume. Data under this directory will be overwritten by the
	// data in the volume.
	MountPath *string `pulumi:"mountPath"`
	// The name of the mounted volume.
	Name *string `pulumi:"name"`
	// Default to `false`.
	ReadOnly *bool `pulumi:"readOnly"`
}

type EciScalingConfigurationInitContainerVolumeMountArgs

type EciScalingConfigurationInitContainerVolumeMountArgs struct {
	// The directory of the mounted volume. Data under this directory will be overwritten by the
	// data in the volume.
	MountPath pulumi.StringPtrInput `pulumi:"mountPath"`
	// The name of the mounted volume.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Default to `false`.
	ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"`
}

func (EciScalingConfigurationInitContainerVolumeMountArgs) ElementType

func (EciScalingConfigurationInitContainerVolumeMountArgs) ToEciScalingConfigurationInitContainerVolumeMountOutput

func (i EciScalingConfigurationInitContainerVolumeMountArgs) ToEciScalingConfigurationInitContainerVolumeMountOutput() EciScalingConfigurationInitContainerVolumeMountOutput

func (EciScalingConfigurationInitContainerVolumeMountArgs) ToEciScalingConfigurationInitContainerVolumeMountOutputWithContext

func (i EciScalingConfigurationInitContainerVolumeMountArgs) ToEciScalingConfigurationInitContainerVolumeMountOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerVolumeMountOutput

type EciScalingConfigurationInitContainerVolumeMountArray

type EciScalingConfigurationInitContainerVolumeMountArray []EciScalingConfigurationInitContainerVolumeMountInput

func (EciScalingConfigurationInitContainerVolumeMountArray) ElementType

func (EciScalingConfigurationInitContainerVolumeMountArray) ToEciScalingConfigurationInitContainerVolumeMountArrayOutput

func (i EciScalingConfigurationInitContainerVolumeMountArray) ToEciScalingConfigurationInitContainerVolumeMountArrayOutput() EciScalingConfigurationInitContainerVolumeMountArrayOutput

func (EciScalingConfigurationInitContainerVolumeMountArray) ToEciScalingConfigurationInitContainerVolumeMountArrayOutputWithContext

func (i EciScalingConfigurationInitContainerVolumeMountArray) ToEciScalingConfigurationInitContainerVolumeMountArrayOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerVolumeMountArrayOutput

type EciScalingConfigurationInitContainerVolumeMountArrayInput

type EciScalingConfigurationInitContainerVolumeMountArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationInitContainerVolumeMountArrayOutput() EciScalingConfigurationInitContainerVolumeMountArrayOutput
	ToEciScalingConfigurationInitContainerVolumeMountArrayOutputWithContext(context.Context) EciScalingConfigurationInitContainerVolumeMountArrayOutput
}

EciScalingConfigurationInitContainerVolumeMountArrayInput is an input type that accepts EciScalingConfigurationInitContainerVolumeMountArray and EciScalingConfigurationInitContainerVolumeMountArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationInitContainerVolumeMountArrayInput` via:

EciScalingConfigurationInitContainerVolumeMountArray{ EciScalingConfigurationInitContainerVolumeMountArgs{...} }

type EciScalingConfigurationInitContainerVolumeMountArrayOutput

type EciScalingConfigurationInitContainerVolumeMountArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationInitContainerVolumeMountArrayOutput) ElementType

func (EciScalingConfigurationInitContainerVolumeMountArrayOutput) Index

func (EciScalingConfigurationInitContainerVolumeMountArrayOutput) ToEciScalingConfigurationInitContainerVolumeMountArrayOutput

func (EciScalingConfigurationInitContainerVolumeMountArrayOutput) ToEciScalingConfigurationInitContainerVolumeMountArrayOutputWithContext

func (o EciScalingConfigurationInitContainerVolumeMountArrayOutput) ToEciScalingConfigurationInitContainerVolumeMountArrayOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerVolumeMountArrayOutput

type EciScalingConfigurationInitContainerVolumeMountInput

type EciScalingConfigurationInitContainerVolumeMountInput interface {
	pulumi.Input

	ToEciScalingConfigurationInitContainerVolumeMountOutput() EciScalingConfigurationInitContainerVolumeMountOutput
	ToEciScalingConfigurationInitContainerVolumeMountOutputWithContext(context.Context) EciScalingConfigurationInitContainerVolumeMountOutput
}

EciScalingConfigurationInitContainerVolumeMountInput is an input type that accepts EciScalingConfigurationInitContainerVolumeMountArgs and EciScalingConfigurationInitContainerVolumeMountOutput values. You can construct a concrete instance of `EciScalingConfigurationInitContainerVolumeMountInput` via:

EciScalingConfigurationInitContainerVolumeMountArgs{...}

type EciScalingConfigurationInitContainerVolumeMountOutput

type EciScalingConfigurationInitContainerVolumeMountOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationInitContainerVolumeMountOutput) ElementType

func (EciScalingConfigurationInitContainerVolumeMountOutput) MountPath

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

func (EciScalingConfigurationInitContainerVolumeMountOutput) Name

The name of the mounted volume.

func (EciScalingConfigurationInitContainerVolumeMountOutput) ReadOnly

Default to `false`.

func (EciScalingConfigurationInitContainerVolumeMountOutput) ToEciScalingConfigurationInitContainerVolumeMountOutput

func (EciScalingConfigurationInitContainerVolumeMountOutput) ToEciScalingConfigurationInitContainerVolumeMountOutputWithContext

func (o EciScalingConfigurationInitContainerVolumeMountOutput) ToEciScalingConfigurationInitContainerVolumeMountOutputWithContext(ctx context.Context) EciScalingConfigurationInitContainerVolumeMountOutput

type EciScalingConfigurationInput

type EciScalingConfigurationInput interface {
	pulumi.Input

	ToEciScalingConfigurationOutput() EciScalingConfigurationOutput
	ToEciScalingConfigurationOutputWithContext(ctx context.Context) EciScalingConfigurationOutput
}

type EciScalingConfigurationMap

type EciScalingConfigurationMap map[string]EciScalingConfigurationInput

func (EciScalingConfigurationMap) ElementType

func (EciScalingConfigurationMap) ElementType() reflect.Type

func (EciScalingConfigurationMap) ToEciScalingConfigurationMapOutput

func (i EciScalingConfigurationMap) ToEciScalingConfigurationMapOutput() EciScalingConfigurationMapOutput

func (EciScalingConfigurationMap) ToEciScalingConfigurationMapOutputWithContext

func (i EciScalingConfigurationMap) ToEciScalingConfigurationMapOutputWithContext(ctx context.Context) EciScalingConfigurationMapOutput

type EciScalingConfigurationMapInput

type EciScalingConfigurationMapInput interface {
	pulumi.Input

	ToEciScalingConfigurationMapOutput() EciScalingConfigurationMapOutput
	ToEciScalingConfigurationMapOutputWithContext(context.Context) EciScalingConfigurationMapOutput
}

EciScalingConfigurationMapInput is an input type that accepts EciScalingConfigurationMap and EciScalingConfigurationMapOutput values. You can construct a concrete instance of `EciScalingConfigurationMapInput` via:

EciScalingConfigurationMap{ "key": EciScalingConfigurationArgs{...} }

type EciScalingConfigurationMapOutput

type EciScalingConfigurationMapOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationMapOutput) ElementType

func (EciScalingConfigurationMapOutput) MapIndex

func (EciScalingConfigurationMapOutput) ToEciScalingConfigurationMapOutput

func (o EciScalingConfigurationMapOutput) ToEciScalingConfigurationMapOutput() EciScalingConfigurationMapOutput

func (EciScalingConfigurationMapOutput) ToEciScalingConfigurationMapOutputWithContext

func (o EciScalingConfigurationMapOutput) ToEciScalingConfigurationMapOutputWithContext(ctx context.Context) EciScalingConfigurationMapOutput

type EciScalingConfigurationOutput

type EciScalingConfigurationOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationOutput) AcrRegistryInfos

Information about the Container Registry Enterprise Edition instance. The details see Block `acrRegistryInfo`.See Block acrRegistryInfo below for details.

func (EciScalingConfigurationOutput) Active

Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to `false`.

func (EciScalingConfigurationOutput) AutoCreateEip

Whether create eip automatically.

func (EciScalingConfigurationOutput) ContainerGroupName

func (o EciScalingConfigurationOutput) ContainerGroupName() pulumi.StringPtrOutput

The name of the container group.

func (EciScalingConfigurationOutput) Containers

The list of containers.See Block container below for details.

func (EciScalingConfigurationOutput) Cpu

The amount of CPU resources allocated to the container.

func (EciScalingConfigurationOutput) Description

The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

func (EciScalingConfigurationOutput) DnsPolicy

dns policy of contain group.

func (EciScalingConfigurationOutput) EgressBandwidth

egress bandwidth.

func (EciScalingConfigurationOutput) EipBandwidth

Eip bandwidth.

func (EciScalingConfigurationOutput) ElementType

func (EciScalingConfigurationOutput) EnableSls

Enable sls log service.

func (EciScalingConfigurationOutput) ForceDelete

The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.

func (EciScalingConfigurationOutput) HostAliases

HostAliases.See Block hostAlias below for details.

func (EciScalingConfigurationOutput) HostName

Hostname of an ECI instance.

func (EciScalingConfigurationOutput) ImageRegistryCredentials

The image registry credential. The details see Block `imageRegistryCredential`.See Block imageRegistryCredential below for details.

func (EciScalingConfigurationOutput) IngressBandwidth

func (o EciScalingConfigurationOutput) IngressBandwidth() pulumi.IntPtrOutput

Ingress bandwidth.

func (EciScalingConfigurationOutput) InitContainers

The list of initContainers.See Block initContainer below for details.

func (EciScalingConfigurationOutput) Memory

The amount of memory resources allocated to the container.

func (EciScalingConfigurationOutput) RamRoleName

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

func (EciScalingConfigurationOutput) ResourceGroupId

ID of resource group.

func (EciScalingConfigurationOutput) RestartPolicy

The restart policy of the container group. Default to `Always`.

func (EciScalingConfigurationOutput) ScalingConfigurationName

func (o EciScalingConfigurationOutput) ScalingConfigurationName() pulumi.StringOutput

Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is EciScalingConfigurationId.

func (EciScalingConfigurationOutput) ScalingGroupId

ID of the scaling group of a eci scaling configuration.

func (EciScalingConfigurationOutput) SecurityGroupId

ID of the security group used to create new instance. It is conflict with `securityGroupIds`.

func (EciScalingConfigurationOutput) SpotPriceLimit

The maximum price hourly for spot instance.

func (EciScalingConfigurationOutput) SpotStrategy

The spot strategy for a Pay-As-You-Go instance. Valid values: `NoSpot`, `SpotAsPriceGo` , `SpotWithPriceLimit`.

func (EciScalingConfigurationOutput) Tags

A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.

func (EciScalingConfigurationOutput) ToEciScalingConfigurationOutput

func (o EciScalingConfigurationOutput) ToEciScalingConfigurationOutput() EciScalingConfigurationOutput

func (EciScalingConfigurationOutput) ToEciScalingConfigurationOutputWithContext

func (o EciScalingConfigurationOutput) ToEciScalingConfigurationOutputWithContext(ctx context.Context) EciScalingConfigurationOutput

func (EciScalingConfigurationOutput) Volumes

The list of volumes.See Block volume below for details.

type EciScalingConfigurationState

type EciScalingConfigurationState struct {
	// Information about the Container Registry Enterprise Edition instance. The details see
	// Block `acrRegistryInfo`.See Block acrRegistryInfo below for
	// details.
	AcrRegistryInfos EciScalingConfigurationAcrRegistryInfoArrayInput
	// Whether active current eci scaling configuration in the specified scaling group. Note that only
	// one configuration can be active. Default to `false`.
	Active pulumi.BoolPtrInput
	// Whether create eip automatically.
	AutoCreateEip pulumi.BoolPtrInput
	// The name of the container group.
	ContainerGroupName pulumi.StringPtrInput
	// The list of containers.See Block container below for details.
	Containers EciScalingConfigurationContainerArrayInput
	// The amount of CPU resources allocated to the container.
	Cpu pulumi.Float64PtrInput
	// The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
	// 256 characters in length and cannot start with http:// or https://.
	Description pulumi.StringPtrInput
	// dns policy of contain group.
	DnsPolicy pulumi.StringPtrInput
	// egress bandwidth.
	EgressBandwidth pulumi.IntPtrInput
	// Eip bandwidth.
	EipBandwidth pulumi.IntPtrInput
	// Enable sls log service.
	EnableSls pulumi.BoolPtrInput
	// The eci scaling configuration will be deleted forcibly with deleting its scaling group.
	// Default to false.
	ForceDelete pulumi.BoolPtrInput
	// HostAliases.See Block hostAlias below for details.
	HostAliases EciScalingConfigurationHostAliasArrayInput
	// Hostname of an ECI instance.
	HostName pulumi.StringPtrInput
	// The image registry credential. The details see
	// Block `imageRegistryCredential`.See Block imageRegistryCredential below for
	// details.
	ImageRegistryCredentials EciScalingConfigurationImageRegistryCredentialArrayInput
	// Ingress bandwidth.
	IngressBandwidth pulumi.IntPtrInput
	// The list of initContainers.See Block initContainer below for
	// details.
	InitContainers EciScalingConfigurationInitContainerArrayInput
	// The amount of memory resources allocated to the container.
	Memory pulumi.Float64PtrInput
	// The RAM role that the container group assumes. ECI and ECS share the same RAM role.
	RamRoleName pulumi.StringPtrInput
	// ID of resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The restart policy of the container group. Default to `Always`.
	RestartPolicy pulumi.StringPtrInput
	// Name shown for the scheduled task. which must contain 2-64 characters (
	// English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number,
	// underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is
	// EciScalingConfigurationId.
	ScalingConfigurationName pulumi.StringPtrInput
	// ID of the scaling group of a eci scaling configuration.
	ScalingGroupId pulumi.StringPtrInput
	// ID of the security group used to create new instance. It is conflict
	// with `securityGroupIds`.
	SecurityGroupId pulumi.StringPtrInput
	// The maximum price hourly for spot instance.
	SpotPriceLimit pulumi.Float64PtrInput
	// The spot strategy for a Pay-As-You-Go instance. Valid values: `NoSpot`, `SpotAsPriceGo`
	// , `SpotWithPriceLimit`.
	SpotStrategy pulumi.StringPtrInput
	// A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot
	//   be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be
	//   a null string.
	Tags pulumi.MapInput
	// The list of volumes.See Block volume below for details.
	Volumes EciScalingConfigurationVolumeArrayInput
}

func (EciScalingConfigurationState) ElementType

type EciScalingConfigurationVolume

type EciScalingConfigurationVolume struct {
	// ConfigFileVolumeConfigFileToPaths.
	// See Block_config_file_volume_config_file_to_path below for details.
	ConfigFileVolumeConfigFileToPaths []EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath `pulumi:"configFileVolumeConfigFileToPaths"`
	// The ID of DiskVolume.
	DiskVolumeDiskId   *string `pulumi:"diskVolumeDiskId"`
	DiskVolumeDiskSize *int    `pulumi:"diskVolumeDiskSize"`
	// The system type of DiskVolume.
	DiskVolumeFsType *string `pulumi:"diskVolumeFsType"`
	// The name of the FlexVolume driver.
	FlexVolumeDriver *string `pulumi:"flexVolumeDriver"`
	// The type of the mounted file system. The default value is determined by the script
	// of FlexVolume.
	FlexVolumeFsType *string `pulumi:"flexVolumeFsType"`
	// The list of FlexVolume objects. Each object is a key-value pair contained in a JSON
	// string.
	FlexVolumeOptions *string `pulumi:"flexVolumeOptions"`
	// The name of the mounted volume.
	Name *string `pulumi:"name"`
	// The path to the NFS volume.
	NfsVolumePath *string `pulumi:"nfsVolumePath"`
	// The nfs volume read only. Default to `false`.
	NfsVolumeReadOnly *bool `pulumi:"nfsVolumeReadOnly"`
	// The address of the NFS server.
	NfsVolumeServer *string `pulumi:"nfsVolumeServer"`
	// The type of the volume.
	Type *string `pulumi:"type"`
}

type EciScalingConfigurationVolumeArgs

type EciScalingConfigurationVolumeArgs struct {
	// ConfigFileVolumeConfigFileToPaths.
	// See Block_config_file_volume_config_file_to_path below for details.
	ConfigFileVolumeConfigFileToPaths EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayInput `pulumi:"configFileVolumeConfigFileToPaths"`
	// The ID of DiskVolume.
	DiskVolumeDiskId   pulumi.StringPtrInput `pulumi:"diskVolumeDiskId"`
	DiskVolumeDiskSize pulumi.IntPtrInput    `pulumi:"diskVolumeDiskSize"`
	// The system type of DiskVolume.
	DiskVolumeFsType pulumi.StringPtrInput `pulumi:"diskVolumeFsType"`
	// The name of the FlexVolume driver.
	FlexVolumeDriver pulumi.StringPtrInput `pulumi:"flexVolumeDriver"`
	// The type of the mounted file system. The default value is determined by the script
	// of FlexVolume.
	FlexVolumeFsType pulumi.StringPtrInput `pulumi:"flexVolumeFsType"`
	// The list of FlexVolume objects. Each object is a key-value pair contained in a JSON
	// string.
	FlexVolumeOptions pulumi.StringPtrInput `pulumi:"flexVolumeOptions"`
	// The name of the mounted volume.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The path to the NFS volume.
	NfsVolumePath pulumi.StringPtrInput `pulumi:"nfsVolumePath"`
	// The nfs volume read only. Default to `false`.
	NfsVolumeReadOnly pulumi.BoolPtrInput `pulumi:"nfsVolumeReadOnly"`
	// The address of the NFS server.
	NfsVolumeServer pulumi.StringPtrInput `pulumi:"nfsVolumeServer"`
	// The type of the volume.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (EciScalingConfigurationVolumeArgs) ElementType

func (EciScalingConfigurationVolumeArgs) ToEciScalingConfigurationVolumeOutput

func (i EciScalingConfigurationVolumeArgs) ToEciScalingConfigurationVolumeOutput() EciScalingConfigurationVolumeOutput

func (EciScalingConfigurationVolumeArgs) ToEciScalingConfigurationVolumeOutputWithContext

func (i EciScalingConfigurationVolumeArgs) ToEciScalingConfigurationVolumeOutputWithContext(ctx context.Context) EciScalingConfigurationVolumeOutput

type EciScalingConfigurationVolumeArray

type EciScalingConfigurationVolumeArray []EciScalingConfigurationVolumeInput

func (EciScalingConfigurationVolumeArray) ElementType

func (EciScalingConfigurationVolumeArray) ToEciScalingConfigurationVolumeArrayOutput

func (i EciScalingConfigurationVolumeArray) ToEciScalingConfigurationVolumeArrayOutput() EciScalingConfigurationVolumeArrayOutput

func (EciScalingConfigurationVolumeArray) ToEciScalingConfigurationVolumeArrayOutputWithContext

func (i EciScalingConfigurationVolumeArray) ToEciScalingConfigurationVolumeArrayOutputWithContext(ctx context.Context) EciScalingConfigurationVolumeArrayOutput

type EciScalingConfigurationVolumeArrayInput

type EciScalingConfigurationVolumeArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationVolumeArrayOutput() EciScalingConfigurationVolumeArrayOutput
	ToEciScalingConfigurationVolumeArrayOutputWithContext(context.Context) EciScalingConfigurationVolumeArrayOutput
}

EciScalingConfigurationVolumeArrayInput is an input type that accepts EciScalingConfigurationVolumeArray and EciScalingConfigurationVolumeArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationVolumeArrayInput` via:

EciScalingConfigurationVolumeArray{ EciScalingConfigurationVolumeArgs{...} }

type EciScalingConfigurationVolumeArrayOutput

type EciScalingConfigurationVolumeArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationVolumeArrayOutput) ElementType

func (EciScalingConfigurationVolumeArrayOutput) Index

func (EciScalingConfigurationVolumeArrayOutput) ToEciScalingConfigurationVolumeArrayOutput

func (o EciScalingConfigurationVolumeArrayOutput) ToEciScalingConfigurationVolumeArrayOutput() EciScalingConfigurationVolumeArrayOutput

func (EciScalingConfigurationVolumeArrayOutput) ToEciScalingConfigurationVolumeArrayOutputWithContext

func (o EciScalingConfigurationVolumeArrayOutput) ToEciScalingConfigurationVolumeArrayOutputWithContext(ctx context.Context) EciScalingConfigurationVolumeArrayOutput

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath struct {
	// The content of the configuration file. Maximum size: 32 KB.
	Content *string `pulumi:"content"`
	// The relative file path.
	Path *string `pulumi:"path"`
}

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs struct {
	// The content of the configuration file. Maximum size: 32 KB.
	Content pulumi.StringPtrInput `pulumi:"content"`
	// The relative file path.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs) ElementType

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutputWithContext

func (i EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutputWithContext(ctx context.Context) EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray []EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathInput

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray) ElementType

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutputWithContext

func (i EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutputWithContext(ctx context.Context) EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayInput

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayInput interface {
	pulumi.Input

	ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput() EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput
	ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutputWithContext(context.Context) EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput
}

EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayInput is an input type that accepts EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray and EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput values. You can construct a concrete instance of `EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayInput` via:

EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray{ EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs{...} }

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput) ElementType

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutput) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArrayOutputWithContext

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathInput

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathInput interface {
	pulumi.Input

	ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput() EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput
	ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutputWithContext(context.Context) EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput
}

EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathInput is an input type that accepts EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs and EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput values. You can construct a concrete instance of `EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathInput` via:

EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs{...}

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput

type EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput) Content

The content of the configuration file. Maximum size: 32 KB.

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput) ElementType

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput) Path

The relative file path.

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput

func (EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutputWithContext

func (o EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput) ToEciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutputWithContext(ctx context.Context) EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathOutput

type EciScalingConfigurationVolumeInput

type EciScalingConfigurationVolumeInput interface {
	pulumi.Input

	ToEciScalingConfigurationVolumeOutput() EciScalingConfigurationVolumeOutput
	ToEciScalingConfigurationVolumeOutputWithContext(context.Context) EciScalingConfigurationVolumeOutput
}

EciScalingConfigurationVolumeInput is an input type that accepts EciScalingConfigurationVolumeArgs and EciScalingConfigurationVolumeOutput values. You can construct a concrete instance of `EciScalingConfigurationVolumeInput` via:

EciScalingConfigurationVolumeArgs{...}

type EciScalingConfigurationVolumeOutput

type EciScalingConfigurationVolumeOutput struct{ *pulumi.OutputState }

func (EciScalingConfigurationVolumeOutput) ConfigFileVolumeConfigFileToPaths

ConfigFileVolumeConfigFileToPaths. See Block_config_file_volume_config_file_to_path below for details.

func (EciScalingConfigurationVolumeOutput) DiskVolumeDiskId

The ID of DiskVolume.

func (EciScalingConfigurationVolumeOutput) DiskVolumeDiskSize

func (EciScalingConfigurationVolumeOutput) DiskVolumeFsType

The system type of DiskVolume.

func (EciScalingConfigurationVolumeOutput) ElementType

func (EciScalingConfigurationVolumeOutput) FlexVolumeDriver

The name of the FlexVolume driver.

func (EciScalingConfigurationVolumeOutput) FlexVolumeFsType

The type of the mounted file system. The default value is determined by the script of FlexVolume.

func (EciScalingConfigurationVolumeOutput) FlexVolumeOptions

The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.

func (EciScalingConfigurationVolumeOutput) Name

The name of the mounted volume.

func (EciScalingConfigurationVolumeOutput) NfsVolumePath

The path to the NFS volume.

func (EciScalingConfigurationVolumeOutput) NfsVolumeReadOnly

The nfs volume read only. Default to `false`.

func (EciScalingConfigurationVolumeOutput) NfsVolumeServer

The address of the NFS server.

func (EciScalingConfigurationVolumeOutput) ToEciScalingConfigurationVolumeOutput

func (o EciScalingConfigurationVolumeOutput) ToEciScalingConfigurationVolumeOutput() EciScalingConfigurationVolumeOutput

func (EciScalingConfigurationVolumeOutput) ToEciScalingConfigurationVolumeOutputWithContext

func (o EciScalingConfigurationVolumeOutput) ToEciScalingConfigurationVolumeOutputWithContext(ctx context.Context) EciScalingConfigurationVolumeOutput

func (EciScalingConfigurationVolumeOutput) Type

The type of the volume.

type GetAlarmsAlarm

type GetAlarmsAlarm struct {
	// The list of actions to execute when this alarm transition into an ALARM state. Each action is specified as ess scaling rule ari.
	AlarmActions []string `pulumi:"alarmActions"`
	// Defines the application group id defined by CMS which is assigned when you upload custom metric to CMS, only available for custom metirc.
	CloudMonitorGroupId int `pulumi:"cloudMonitorGroupId"`
	// The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand.
	ComparisonOperator string `pulumi:"comparisonOperator"`
	// The description for the alarm.
	Description string `pulumi:"description"`
	// The dimension map for the alarm's associated metric.
	Dimensions map[string]interface{} `pulumi:"dimensions"`
	// Whether to enable specific ess alarm.
	Enable bool `pulumi:"enable"`
	// The number of times that needs to satisfies comparison condition before transition into ALARM state.
	EvaluationCount int `pulumi:"evaluationCount"`
	// The id of alarm.
	Id string `pulumi:"id"`
	// The name for the alarm's associated metric. See Block_metricNames_and_dimensions below for details.
	MetricName string `pulumi:"metricName"`
	// The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.
	MetricType string `pulumi:"metricType"`
	// The name for ess alarm.
	Name string `pulumi:"name"`
	// The period in seconds over which the specified statistic is applied.
	Period int `pulumi:"period"`
	// Scaling group id the alarms belong to.
	ScalingGroupId string `pulumi:"scalingGroupId"`
	// The state of alarm task.
	State string `pulumi:"state"`
	// The statistic to apply to the alarm's associated metric.
	Statistics string `pulumi:"statistics"`
	// The value against which the specified statistics is compared.
	Threshold string `pulumi:"threshold"`
}

type GetAlarmsAlarmArgs

type GetAlarmsAlarmArgs struct {
	// The list of actions to execute when this alarm transition into an ALARM state. Each action is specified as ess scaling rule ari.
	AlarmActions pulumi.StringArrayInput `pulumi:"alarmActions"`
	// Defines the application group id defined by CMS which is assigned when you upload custom metric to CMS, only available for custom metirc.
	CloudMonitorGroupId pulumi.IntInput `pulumi:"cloudMonitorGroupId"`
	// The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand.
	ComparisonOperator pulumi.StringInput `pulumi:"comparisonOperator"`
	// The description for the alarm.
	Description pulumi.StringInput `pulumi:"description"`
	// The dimension map for the alarm's associated metric.
	Dimensions pulumi.MapInput `pulumi:"dimensions"`
	// Whether to enable specific ess alarm.
	Enable pulumi.BoolInput `pulumi:"enable"`
	// The number of times that needs to satisfies comparison condition before transition into ALARM state.
	EvaluationCount pulumi.IntInput `pulumi:"evaluationCount"`
	// The id of alarm.
	Id pulumi.StringInput `pulumi:"id"`
	// The name for the alarm's associated metric. See Block_metricNames_and_dimensions below for details.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.
	MetricType pulumi.StringInput `pulumi:"metricType"`
	// The name for ess alarm.
	Name pulumi.StringInput `pulumi:"name"`
	// The period in seconds over which the specified statistic is applied.
	Period pulumi.IntInput `pulumi:"period"`
	// Scaling group id the alarms belong to.
	ScalingGroupId pulumi.StringInput `pulumi:"scalingGroupId"`
	// The state of alarm task.
	State pulumi.StringInput `pulumi:"state"`
	// The statistic to apply to the alarm's associated metric.
	Statistics pulumi.StringInput `pulumi:"statistics"`
	// The value against which the specified statistics is compared.
	Threshold pulumi.StringInput `pulumi:"threshold"`
}

func (GetAlarmsAlarmArgs) ElementType

func (GetAlarmsAlarmArgs) ElementType() reflect.Type

func (GetAlarmsAlarmArgs) ToGetAlarmsAlarmOutput

func (i GetAlarmsAlarmArgs) ToGetAlarmsAlarmOutput() GetAlarmsAlarmOutput

func (GetAlarmsAlarmArgs) ToGetAlarmsAlarmOutputWithContext

func (i GetAlarmsAlarmArgs) ToGetAlarmsAlarmOutputWithContext(ctx context.Context) GetAlarmsAlarmOutput

type GetAlarmsAlarmArray

type GetAlarmsAlarmArray []GetAlarmsAlarmInput

func (GetAlarmsAlarmArray) ElementType

func (GetAlarmsAlarmArray) ElementType() reflect.Type

func (GetAlarmsAlarmArray) ToGetAlarmsAlarmArrayOutput

func (i GetAlarmsAlarmArray) ToGetAlarmsAlarmArrayOutput() GetAlarmsAlarmArrayOutput

func (GetAlarmsAlarmArray) ToGetAlarmsAlarmArrayOutputWithContext

func (i GetAlarmsAlarmArray) ToGetAlarmsAlarmArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmArrayOutput

type GetAlarmsAlarmArrayInput

type GetAlarmsAlarmArrayInput interface {
	pulumi.Input

	ToGetAlarmsAlarmArrayOutput() GetAlarmsAlarmArrayOutput
	ToGetAlarmsAlarmArrayOutputWithContext(context.Context) GetAlarmsAlarmArrayOutput
}

GetAlarmsAlarmArrayInput is an input type that accepts GetAlarmsAlarmArray and GetAlarmsAlarmArrayOutput values. You can construct a concrete instance of `GetAlarmsAlarmArrayInput` via:

GetAlarmsAlarmArray{ GetAlarmsAlarmArgs{...} }

type GetAlarmsAlarmArrayOutput

type GetAlarmsAlarmArrayOutput struct{ *pulumi.OutputState }

func (GetAlarmsAlarmArrayOutput) ElementType

func (GetAlarmsAlarmArrayOutput) ElementType() reflect.Type

func (GetAlarmsAlarmArrayOutput) Index

func (GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutput

func (o GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutput() GetAlarmsAlarmArrayOutput

func (GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutputWithContext

func (o GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmArrayOutput

type GetAlarmsAlarmInput

type GetAlarmsAlarmInput interface {
	pulumi.Input

	ToGetAlarmsAlarmOutput() GetAlarmsAlarmOutput
	ToGetAlarmsAlarmOutputWithContext(context.Context) GetAlarmsAlarmOutput
}

GetAlarmsAlarmInput is an input type that accepts GetAlarmsAlarmArgs and GetAlarmsAlarmOutput values. You can construct a concrete instance of `GetAlarmsAlarmInput` via:

GetAlarmsAlarmArgs{...}

type GetAlarmsAlarmOutput

type GetAlarmsAlarmOutput struct{ *pulumi.OutputState }

func (GetAlarmsAlarmOutput) AlarmActions

The list of actions to execute when this alarm transition into an ALARM state. Each action is specified as ess scaling rule ari.

func (GetAlarmsAlarmOutput) CloudMonitorGroupId

func (o GetAlarmsAlarmOutput) CloudMonitorGroupId() pulumi.IntOutput

Defines the application group id defined by CMS which is assigned when you upload custom metric to CMS, only available for custom metirc.

func (GetAlarmsAlarmOutput) ComparisonOperator

func (o GetAlarmsAlarmOutput) ComparisonOperator() pulumi.StringOutput

The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand.

func (GetAlarmsAlarmOutput) Description

func (o GetAlarmsAlarmOutput) Description() pulumi.StringOutput

The description for the alarm.

func (GetAlarmsAlarmOutput) Dimensions

func (o GetAlarmsAlarmOutput) Dimensions() pulumi.MapOutput

The dimension map for the alarm's associated metric.

func (GetAlarmsAlarmOutput) ElementType

func (GetAlarmsAlarmOutput) ElementType() reflect.Type

func (GetAlarmsAlarmOutput) Enable

Whether to enable specific ess alarm.

func (GetAlarmsAlarmOutput) EvaluationCount

func (o GetAlarmsAlarmOutput) EvaluationCount() pulumi.IntOutput

The number of times that needs to satisfies comparison condition before transition into ALARM state.

func (GetAlarmsAlarmOutput) Id

The id of alarm.

func (GetAlarmsAlarmOutput) MetricName

func (o GetAlarmsAlarmOutput) MetricName() pulumi.StringOutput

The name for the alarm's associated metric. See Block_metricNames_and_dimensions below for details.

func (GetAlarmsAlarmOutput) MetricType

func (o GetAlarmsAlarmOutput) MetricType() pulumi.StringOutput

The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.

func (GetAlarmsAlarmOutput) Name

The name for ess alarm.

func (GetAlarmsAlarmOutput) Period

The period in seconds over which the specified statistic is applied.

func (GetAlarmsAlarmOutput) ScalingGroupId

func (o GetAlarmsAlarmOutput) ScalingGroupId() pulumi.StringOutput

Scaling group id the alarms belong to.

func (GetAlarmsAlarmOutput) State

The state of alarm task.

func (GetAlarmsAlarmOutput) Statistics

func (o GetAlarmsAlarmOutput) Statistics() pulumi.StringOutput

The statistic to apply to the alarm's associated metric.

func (GetAlarmsAlarmOutput) Threshold

The value against which the specified statistics is compared.

func (GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutput

func (o GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutput() GetAlarmsAlarmOutput

func (GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutputWithContext

func (o GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutputWithContext(ctx context.Context) GetAlarmsAlarmOutput

type GetAlarmsArgs

type GetAlarmsArgs struct {
	// A list of alarm IDs.
	Ids []string `pulumi:"ids"`
	// The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.
	MetricType *string `pulumi:"metricType"`
	// A regex string to filter resulting alarms by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// Scaling group id the alarms belong to.
	ScalingGroupId *string `pulumi:"scalingGroupId"`
}

A collection of arguments for invoking getAlarms.

type GetAlarmsOutputArgs

type GetAlarmsOutputArgs struct {
	// A list of alarm IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.
	MetricType pulumi.StringPtrInput `pulumi:"metricType"`
	// A regex string to filter resulting alarms by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Scaling group id the alarms belong to.
	ScalingGroupId pulumi.StringPtrInput `pulumi:"scalingGroupId"`
}

A collection of arguments for invoking getAlarms.

func (GetAlarmsOutputArgs) ElementType

func (GetAlarmsOutputArgs) ElementType() reflect.Type

type GetAlarmsResult

type GetAlarmsResult struct {
	// A list of alarms. Each element contains the following attributes:
	Alarms []GetAlarmsAlarm `pulumi:"alarms"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of alarm ids.
	Ids []string `pulumi:"ids"`
	// The type for the alarm's associated metric.
	MetricType *string `pulumi:"metricType"`
	NameRegex  *string `pulumi:"nameRegex"`
	// A list of alarm names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The scaling group associated with this alarm.
	ScalingGroupId *string `pulumi:"scalingGroupId"`
}

A collection of values returned by getAlarms.

func GetAlarms

func GetAlarms(ctx *pulumi.Context, args *GetAlarmsArgs, opts ...pulumi.InvokeOption) (*GetAlarmsResult, error)

This data source provides available alarm resources.

> **NOTE** Available in 1.72.0+

type GetAlarmsResultOutput

type GetAlarmsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlarms.

func (GetAlarmsResultOutput) Alarms

A list of alarms. Each element contains the following attributes:

func (GetAlarmsResultOutput) ElementType

func (GetAlarmsResultOutput) ElementType() reflect.Type

func (GetAlarmsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAlarmsResultOutput) Ids

A list of alarm ids.

func (GetAlarmsResultOutput) MetricType

The type for the alarm's associated metric.

func (GetAlarmsResultOutput) NameRegex

func (GetAlarmsResultOutput) Names

A list of alarm names.

func (GetAlarmsResultOutput) OutputFile

func (GetAlarmsResultOutput) ScalingGroupId

func (o GetAlarmsResultOutput) ScalingGroupId() pulumi.StringPtrOutput

The scaling group associated with this alarm.

func (GetAlarmsResultOutput) ToGetAlarmsResultOutput

func (o GetAlarmsResultOutput) ToGetAlarmsResultOutput() GetAlarmsResultOutput

func (GetAlarmsResultOutput) ToGetAlarmsResultOutputWithContext

func (o GetAlarmsResultOutput) ToGetAlarmsResultOutputWithContext(ctx context.Context) GetAlarmsResultOutput

type GetLifecycleHooksArgs

type GetLifecycleHooksArgs struct {
	// A list of lifecycle hook IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting lifecycle hook by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// Scaling group id the lifecycle hooks belong to.
	ScalingGroupId *string `pulumi:"scalingGroupId"`
}

A collection of arguments for invoking getLifecycleHooks.

type GetLifecycleHooksHook

type GetLifecycleHooksHook struct {
	// Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses.
	DefaultResult string `pulumi:"defaultResult"`
	// Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the defaultResult parameter.
	HeartbeatTimeout int `pulumi:"heartbeatTimeout"`
	// ID of the lifecycle hook.
	Id string `pulumi:"id"`
	// Type of Scaling activity attached to lifecycle hook.
	LifecycleTransition string `pulumi:"lifecycleTransition"`
	// Name of the lifecycle hook.
	Name string `pulumi:"name"`
	// The Arn of notification target.
	NotificationArn string `pulumi:"notificationArn"`
	// Additional information that you want to include when Auto Scaling sends a message to the notification target.
	NotificationMetadata string `pulumi:"notificationMetadata"`
	// Scaling group id the lifecycle hooks belong to.
	ScalingGroupId string `pulumi:"scalingGroupId"`
}

type GetLifecycleHooksHookArgs

type GetLifecycleHooksHookArgs struct {
	// Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses.
	DefaultResult pulumi.StringInput `pulumi:"defaultResult"`
	// Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the defaultResult parameter.
	HeartbeatTimeout pulumi.IntInput `pulumi:"heartbeatTimeout"`
	// ID of the lifecycle hook.
	Id pulumi.StringInput `pulumi:"id"`
	// Type of Scaling activity attached to lifecycle hook.
	LifecycleTransition pulumi.StringInput `pulumi:"lifecycleTransition"`
	// Name of the lifecycle hook.
	Name pulumi.StringInput `pulumi:"name"`
	// The Arn of notification target.
	NotificationArn pulumi.StringInput `pulumi:"notificationArn"`
	// Additional information that you want to include when Auto Scaling sends a message to the notification target.
	NotificationMetadata pulumi.StringInput `pulumi:"notificationMetadata"`
	// Scaling group id the lifecycle hooks belong to.
	ScalingGroupId pulumi.StringInput `pulumi:"scalingGroupId"`
}

func (GetLifecycleHooksHookArgs) ElementType

func (GetLifecycleHooksHookArgs) ElementType() reflect.Type

func (GetLifecycleHooksHookArgs) ToGetLifecycleHooksHookOutput

func (i GetLifecycleHooksHookArgs) ToGetLifecycleHooksHookOutput() GetLifecycleHooksHookOutput

func (GetLifecycleHooksHookArgs) ToGetLifecycleHooksHookOutputWithContext

func (i GetLifecycleHooksHookArgs) ToGetLifecycleHooksHookOutputWithContext(ctx context.Context) GetLifecycleHooksHookOutput

type GetLifecycleHooksHookArray

type GetLifecycleHooksHookArray []GetLifecycleHooksHookInput

func (GetLifecycleHooksHookArray) ElementType

func (GetLifecycleHooksHookArray) ElementType() reflect.Type

func (GetLifecycleHooksHookArray) ToGetLifecycleHooksHookArrayOutput

func (i GetLifecycleHooksHookArray) ToGetLifecycleHooksHookArrayOutput() GetLifecycleHooksHookArrayOutput

func (GetLifecycleHooksHookArray) ToGetLifecycleHooksHookArrayOutputWithContext

func (i GetLifecycleHooksHookArray) ToGetLifecycleHooksHookArrayOutputWithContext(ctx context.Context) GetLifecycleHooksHookArrayOutput

type GetLifecycleHooksHookArrayInput

type GetLifecycleHooksHookArrayInput interface {
	pulumi.Input

	ToGetLifecycleHooksHookArrayOutput() GetLifecycleHooksHookArrayOutput
	ToGetLifecycleHooksHookArrayOutputWithContext(context.Context) GetLifecycleHooksHookArrayOutput
}

GetLifecycleHooksHookArrayInput is an input type that accepts GetLifecycleHooksHookArray and GetLifecycleHooksHookArrayOutput values. You can construct a concrete instance of `GetLifecycleHooksHookArrayInput` via:

GetLifecycleHooksHookArray{ GetLifecycleHooksHookArgs{...} }

type GetLifecycleHooksHookArrayOutput

type GetLifecycleHooksHookArrayOutput struct{ *pulumi.OutputState }

func (GetLifecycleHooksHookArrayOutput) ElementType

func (GetLifecycleHooksHookArrayOutput) Index

func (GetLifecycleHooksHookArrayOutput) ToGetLifecycleHooksHookArrayOutput

func (o GetLifecycleHooksHookArrayOutput) ToGetLifecycleHooksHookArrayOutput() GetLifecycleHooksHookArrayOutput

func (GetLifecycleHooksHookArrayOutput) ToGetLifecycleHooksHookArrayOutputWithContext

func (o GetLifecycleHooksHookArrayOutput) ToGetLifecycleHooksHookArrayOutputWithContext(ctx context.Context) GetLifecycleHooksHookArrayOutput

type GetLifecycleHooksHookInput

type GetLifecycleHooksHookInput interface {
	pulumi.Input

	ToGetLifecycleHooksHookOutput() GetLifecycleHooksHookOutput
	ToGetLifecycleHooksHookOutputWithContext(context.Context) GetLifecycleHooksHookOutput
}

GetLifecycleHooksHookInput is an input type that accepts GetLifecycleHooksHookArgs and GetLifecycleHooksHookOutput values. You can construct a concrete instance of `GetLifecycleHooksHookInput` via:

GetLifecycleHooksHookArgs{...}

type GetLifecycleHooksHookOutput

type GetLifecycleHooksHookOutput struct{ *pulumi.OutputState }

func (GetLifecycleHooksHookOutput) DefaultResult

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses.

func (GetLifecycleHooksHookOutput) ElementType

func (GetLifecycleHooksHookOutput) HeartbeatTimeout

func (o GetLifecycleHooksHookOutput) HeartbeatTimeout() pulumi.IntOutput

Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the defaultResult parameter.

func (GetLifecycleHooksHookOutput) Id

ID of the lifecycle hook.

func (GetLifecycleHooksHookOutput) LifecycleTransition

func (o GetLifecycleHooksHookOutput) LifecycleTransition() pulumi.StringOutput

Type of Scaling activity attached to lifecycle hook.

func (GetLifecycleHooksHookOutput) Name

Name of the lifecycle hook.

func (GetLifecycleHooksHookOutput) NotificationArn

func (o GetLifecycleHooksHookOutput) NotificationArn() pulumi.StringOutput

The Arn of notification target.

func (GetLifecycleHooksHookOutput) NotificationMetadata

func (o GetLifecycleHooksHookOutput) NotificationMetadata() pulumi.StringOutput

Additional information that you want to include when Auto Scaling sends a message to the notification target.

func (GetLifecycleHooksHookOutput) ScalingGroupId

func (o GetLifecycleHooksHookOutput) ScalingGroupId() pulumi.StringOutput

Scaling group id the lifecycle hooks belong to.

func (GetLifecycleHooksHookOutput) ToGetLifecycleHooksHookOutput

func (o GetLifecycleHooksHookOutput) ToGetLifecycleHooksHookOutput() GetLifecycleHooksHookOutput

func (GetLifecycleHooksHookOutput) ToGetLifecycleHooksHookOutputWithContext

func (o GetLifecycleHooksHookOutput) ToGetLifecycleHooksHookOutputWithContext(ctx context.Context) GetLifecycleHooksHookOutput

type GetLifecycleHooksOutputArgs

type GetLifecycleHooksOutputArgs struct {
	// A list of lifecycle hook IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter resulting lifecycle hook by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Scaling group id the lifecycle hooks belong to.
	ScalingGroupId pulumi.StringPtrInput `pulumi:"scalingGroupId"`
}

A collection of arguments for invoking getLifecycleHooks.

func (GetLifecycleHooksOutputArgs) ElementType

type GetLifecycleHooksResult

type GetLifecycleHooksResult struct {
	// A list of lifecycle hooks. Each element contains the following attributes:
	Hooks []GetLifecycleHooksHook `pulumi:"hooks"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of lifecycle hook ids.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of lifecycle hook names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// ID of the scaling group.
	ScalingGroupId *string `pulumi:"scalingGroupId"`
}

A collection of values returned by getLifecycleHooks.

func GetLifecycleHooks

func GetLifecycleHooks(ctx *pulumi.Context, args *GetLifecycleHooksArgs, opts ...pulumi.InvokeOption) (*GetLifecycleHooksResult, error)

This data source provides available lifecycle hook resources.

> **NOTE:** Available in 1.72.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ess"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ds, err := ess.GetLifecycleHooks(ctx, &ess.GetLifecycleHooksArgs{
			NameRegex:      pulumi.StringRef("lifecyclehook_name"),
			ScalingGroupId: pulumi.StringRef("scaling_group_id"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstLifecycleHook", ds.Hooks[0].Id)
		return nil
	})
}

```

type GetLifecycleHooksResultOutput

type GetLifecycleHooksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLifecycleHooks.

func (GetLifecycleHooksResultOutput) ElementType

func (GetLifecycleHooksResultOutput) Hooks

A list of lifecycle hooks. Each element contains the following attributes:

func (GetLifecycleHooksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetLifecycleHooksResultOutput) Ids

A list of lifecycle hook ids.

func (GetLifecycleHooksResultOutput) NameRegex

func (GetLifecycleHooksResultOutput) Names

A list of lifecycle hook names.

func (GetLifecycleHooksResultOutput) OutputFile

func (GetLifecycleHooksResultOutput) ScalingGroupId

ID of the scaling group.

func (GetLifecycleHooksResultOutput) ToGetLifecycleHooksResultOutput

func (o GetLifecycleHooksResultOutput) ToGetLifecycleHooksResultOutput() GetLifecycleHooksResultOutput

func (GetLifecycleHooksResultOutput) ToGetLifecycleHooksResultOutputWithContext

func (o GetLifecycleHooksResultOutput) ToGetLifecycleHooksResultOutputWithContext(ctx context.Context) GetLifecycleHooksResultOutput

type GetNotificationsArgs

type GetNotificationsArgs struct {
	// A list of notification ids.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// Scaling group id the notifications belong to.
	ScalingGroupId string `pulumi:"scalingGroupId"`
}

A collection of arguments for invoking getNotifications.

type GetNotificationsNotification

type GetNotificationsNotification struct {
	// ID of the notification.
	Id string `pulumi:"id"`
	// The Alibaba Cloud Resource Name (ARN) for the notification object.
	NotificationArn string `pulumi:"notificationArn"`
	// The notification types of Auto Scaling events and resource changes.
	NotificationTypes []string `pulumi:"notificationTypes"`
	// Scaling group id the notifications belong to.
	ScalingGroupId string `pulumi:"scalingGroupId"`
}

type GetNotificationsNotificationArgs

type GetNotificationsNotificationArgs struct {
	// ID of the notification.
	Id pulumi.StringInput `pulumi:"id"`
	// The Alibaba Cloud Resource Name (ARN) for the notification object.
	NotificationArn pulumi.StringInput `pulumi:"notificationArn"`
	// The notification types of Auto Scaling events and resource changes.
	NotificationTypes pulumi.StringArrayInput `pulumi:"notificationTypes"`
	// Scaling group id the notifications belong to.
	ScalingGroupId pulumi.StringInput `pulumi:"scalingGroupId"`
}

func (GetNotificationsNotificationArgs) ElementType

func (GetNotificationsNotificationArgs) ToGetNotificationsNotificationOutput

func (i GetNotificationsNotificationArgs) ToGetNotificationsNotificationOutput() GetNotificationsNotificationOutput

func (GetNotificationsNotificationArgs) ToGetNotificationsNotificationOutputWithContext

func (i GetNotificationsNotificationArgs) ToGetNotificationsNotificationOutputWithContext(ctx context.Context) GetNotificationsNotificationOutput

type GetNotificationsNotificationArray

type GetNotificationsNotificationArray []GetNotificationsNotificationInput

func (GetNotificationsNotificationArray) ElementType

func (GetNotificationsNotificationArray) ToGetNotificationsNotificationArrayOutput

func (i GetNotificationsNotificationArray) ToGetNotificationsNotificationArrayOutput() GetNotificationsNotificationArrayOutput

func (GetNotificationsNotificationArray) ToGetNotificationsNotificationArrayOutputWithContext

func (i GetNotificationsNotificationArray) ToGetNotificationsNotificationArrayOutputWithContext(ctx context.Context) GetNotificationsNotificationArrayOutput

type GetNotificationsNotificationArrayInput

type GetNotificationsNotificationArrayInput interface {
	pulumi.Input

	ToGetNotificationsNotificationArrayOutput() GetNotificationsNotificationArrayOutput
	ToGetNotificationsNotificationArrayOutputWithContext(context.Context) GetNotificationsNotificationArrayOutput
}

GetNotificationsNotificationArrayInput is an input type that accepts GetNotificationsNotificationArray and GetNotificationsNotificationArrayOutput values. You can construct a concrete instance of `GetNotificationsNotificationArrayInput` via:

GetNotificationsNotificationArray{ GetNotificationsNotificationArgs{...} }

type GetNotificationsNotificationArrayOutput

type GetNotificationsNotificationArrayOutput struct{ *pulumi.OutputState }

func (GetNotificationsNotificationArrayOutput) ElementType

func (GetNotificationsNotificationArrayOutput) Index

func (GetNotificationsNotificationArrayOutput) ToGetNotificationsNotificationArrayOutput

func (o GetNotificationsNotificationArrayOutput) ToGetNotificationsNotificationArrayOutput() GetNotificationsNotificationArrayOutput

func (GetNotificationsNotificationArrayOutput) ToGetNotificationsNotificationArrayOutputWithContext

func (o GetNotificationsNotificationArrayOutput) ToGetNotificationsNotificationArrayOutputWithContext(ctx context.Context) GetNotificationsNotificationArrayOutput

type GetNotificationsNotificationInput

type GetNotificationsNotificationInput interface {
	pulumi.Input

	ToGetNotificationsNotificationOutput() GetNotificationsNotificationOutput
	ToGetNotificationsNotificationOutputWithContext(context.Context) GetNotificationsNotificationOutput
}

GetNotificationsNotificationInput is an input type that accepts GetNotificationsNotificationArgs and GetNotificationsNotificationOutput values. You can construct a concrete instance of `GetNotificationsNotificationInput` via:

GetNotificationsNotificationArgs{...}

type GetNotificationsNotificationOutput

type GetNotificationsNotificationOutput struct{ *pulumi.OutputState }

func (GetNotificationsNotificationOutput) ElementType

func (GetNotificationsNotificationOutput) Id

ID of the notification.

func (GetNotificationsNotificationOutput) NotificationArn

The Alibaba Cloud Resource Name (ARN) for the notification object.

func (GetNotificationsNotificationOutput) NotificationTypes

The notification types of Auto Scaling events and resource changes.

func (GetNotificationsNotificationOutput) ScalingGroupId

Scaling group id the notifications belong to.

func (GetNotificationsNotificationOutput) ToGetNotificationsNotificationOutput

func (o GetNotificationsNotificationOutput) ToGetNotificationsNotificationOutput() GetNotificationsNotificationOutput

func (GetNotificationsNotificationOutput) ToGetNotificationsNotificationOutputWithContext

func (o GetNotificationsNotificationOutput) ToGetNotificationsNotificationOutputWithContext(ctx context.Context) GetNotificationsNotificationOutput

type GetNotificationsOutputArgs

type GetNotificationsOutputArgs struct {
	// A list of notification ids.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// Scaling group id the notifications belong to.
	ScalingGroupId pulumi.StringInput `pulumi:"scalingGroupId"`
}

A collection of arguments for invoking getNotifications.

func (GetNotificationsOutputArgs) ElementType

func (GetNotificationsOutputArgs) ElementType() reflect.Type

type GetNotificationsResult

type GetNotificationsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of notification ids.
	Ids []string `pulumi:"ids"`
	// A list of notifications. Each element contains the following attributes:
	Notifications []GetNotificationsNotification `pulumi:"notifications"`
	OutputFile    *string                        `pulumi:"outputFile"`
	// ID of the scaling group.
	ScalingGroupId string `pulumi:"scalingGroupId"`
}

A collection of values returned by getNotifications.

func GetNotifications

func GetNotifications(ctx *pulumi.Context, args *GetNotificationsArgs, opts ...pulumi.InvokeOption) (*GetNotificationsResult, error)

This data source provides available notification resources.

> **NOTE:** Available in 1.72.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ess"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ds, err := ess.GetNotifications(ctx, &ess.GetNotificationsArgs{
			ScalingGroupId: "scaling_group_id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstNotification", ds.Notifications[0].Id)
		return nil
	})
}

```

type GetNotificationsResultOutput

type GetNotificationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNotifications.

func (GetNotificationsResultOutput) ElementType

func (GetNotificationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNotificationsResultOutput) Ids

A list of notification ids.

func (GetNotificationsResultOutput) Notifications

A list of notifications. Each element contains the following attributes:

func (GetNotificationsResultOutput) OutputFile

func (GetNotificationsResultOutput) ScalingGroupId

ID of the scaling group.

func (GetNotificationsResultOutput) ToGetNotificationsResultOutput

func (o GetNotificationsResultOutput) ToGetNotificationsResultOutput() GetNotificationsResultOutput

func (GetNotificationsResultOutput) ToGetNotificationsResultOutputWithContext

func (o GetNotificationsResultOutput) ToGetNotificationsResultOutputWithContext(ctx context.Context) GetNotificationsResultOutput

type GetScalingConfigurationsArgs

type GetScalingConfigurationsArgs struct {
	// A list of scaling configuration IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting scaling configurations by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// Scaling group id the scaling configurations belong to.
	ScalingGroupId *string `pulumi:"scalingGroupId"`
}

A collection of arguments for invoking getScalingConfigurations.

type GetScalingConfigurationsConfiguration

type GetScalingConfigurationsConfiguration struct {
	// Creation time of the scaling configuration.
	CreationTime string `pulumi:"creationTime"`
	// Performance mode of the t5 burstable instance.
	CreditSpecification string `pulumi:"creditSpecification"`
	// Data disks of the scaling configuration.
	DataDisks []GetScalingConfigurationsConfigurationDataDisk `pulumi:"dataDisks"`
	// (Optional,Available in 1.143.0+) Hostname of an ECS instance.
	HostName string `pulumi:"hostName"`
	// ID of the scaling rule.
	Id string `pulumi:"id"`
	// Image ID of the scaling configuration.
	ImageId string `pulumi:"imageId"`
	// (Optional,Available in 1.143.0+) InstanceName of an ECS instance.
	InstanceName string `pulumi:"instanceName"`
	// Resource type of an ECS instance.
	InstanceType string `pulumi:"instanceType"`
	// Internet charge type of the scaling configuration.
	InternetChargeType string `pulumi:"internetChargeType"`
	// Internet max bandwidth in of the scaling configuration.
	InternetMaxBandwidthIn int `pulumi:"internetMaxBandwidthIn"`
	// Internet max bandwidth of the scaling configuration.
	InternetMaxBandwidthOut int `pulumi:"internetMaxBandwidthOut"`
	// Lifecycle state of the scaling configuration.
	LifecycleState string `pulumi:"lifecycleState"`
	// Name of the scaling configuration.
	Name string `pulumi:"name"`
	// Scaling group id the scaling configurations belong to.
	ScalingGroupId string `pulumi:"scalingGroupId"`
	// Security group ID of the scaling configuration.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// (Optional, Available in 1.151.0+) The maximum price hourly for instance types.
	SpotPriceLimits []GetScalingConfigurationsConfigurationSpotPriceLimit `pulumi:"spotPriceLimits"`
	// (Optional, Available in 1.151.0+) The spot strategy for a Pay-As-You-Go instance.
	SpotStrategy string `pulumi:"spotStrategy"`
	// System disk category of the scaling configuration.
	SystemDiskCategory string `pulumi:"systemDiskCategory"`
	// The performance level of the ESSD used as the system disk.
	SystemDiskPerformanceLevel string `pulumi:"systemDiskPerformanceLevel"`
	// System disk size of the scaling configuration.
	SystemDiskSize int `pulumi:"systemDiskSize"`
}

type GetScalingConfigurationsConfigurationArgs

type GetScalingConfigurationsConfigurationArgs struct {
	// Creation time of the scaling configuration.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// Performance mode of the t5 burstable instance.
	CreditSpecification pulumi.StringInput `pulumi:"creditSpecification"`
	// Data disks of the scaling configuration.
	DataDisks GetScalingConfigurationsConfigurationDataDiskArrayInput `pulumi:"dataDisks"`
	// (Optional,Available in 1.143.0+) Hostname of an ECS instance.
	HostName pulumi.StringInput `pulumi:"hostName"`
	// ID of the scaling rule.
	Id pulumi.StringInput `pulumi:"id"`
	// Image ID of the scaling configuration.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// (Optional,Available in 1.143.0+) InstanceName of an ECS instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// Resource type of an ECS instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// Internet charge type of the scaling configuration.
	InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"`
	// Internet max bandwidth in of the scaling configuration.
	InternetMaxBandwidthIn pulumi.IntInput `pulumi:"internetMaxBandwidthIn"`
	// Internet max bandwidth of the scaling configuration.
	InternetMaxBandwidthOut pulumi.IntInput `pulumi:"internetMaxBandwidthOut"`
	// Lifecycle state of the scaling configuration.
	LifecycleState pulumi.StringInput `pulumi:"lifecycleState"`
	// Name of the scaling configuration.
	Name pulumi.StringInput `pulumi:"name"`
	// Scaling group id the scaling configurations belong to.
	ScalingGroupId pulumi.StringInput `pulumi:"scalingGroupId"`
	// Security group ID of the scaling configuration.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// (Optional, Available in 1.151.0+) The maximum price hourly for instance types.
	SpotPriceLimits GetScalingConfigurationsConfigurationSpotPriceLimitArrayInput `pulumi:"spotPriceLimits"`
	// (Optional, Available in 1.151.0+) The spot strategy for a Pay-As-You-Go instance.
	SpotStrategy pulumi.StringInput `pulumi:"spotStrategy"`
	// System disk category of the scaling configuration.
	SystemDiskCategory pulumi.StringInput `pulumi:"systemDiskCategory"`
	// The performance level of the ESSD used as the system disk.
	SystemDiskPerformanceLevel pulumi.StringInput `pulumi:"systemDiskPerformanceLevel"`
	// System disk size of the scaling configuration.
	SystemDiskSize pulumi.IntInput `pulumi:"systemDiskSize"`
}

func (GetScalingConfigurationsConfigurationArgs) ElementType

func (GetScalingConfigurationsConfigurationArgs) ToGetScalingConfigurationsConfigurationOutput

func (i GetScalingConfigurationsConfigurationArgs) ToGetScalingConfigurationsConfigurationOutput() GetScalingConfigurationsConfigurationOutput

func (GetScalingConfigurationsConfigurationArgs) ToGetScalingConfigurationsConfigurationOutputWithContext

func (i GetScalingConfigurationsConfigurationArgs) ToGetScalingConfigurationsConfigurationOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationOutput

type GetScalingConfigurationsConfigurationArray

type GetScalingConfigurationsConfigurationArray []GetScalingConfigurationsConfigurationInput

func (GetScalingConfigurationsConfigurationArray) ElementType

func (GetScalingConfigurationsConfigurationArray) ToGetScalingConfigurationsConfigurationArrayOutput

func (i GetScalingConfigurationsConfigurationArray) ToGetScalingConfigurationsConfigurationArrayOutput() GetScalingConfigurationsConfigurationArrayOutput

func (GetScalingConfigurationsConfigurationArray) ToGetScalingConfigurationsConfigurationArrayOutputWithContext

func (i GetScalingConfigurationsConfigurationArray) ToGetScalingConfigurationsConfigurationArrayOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationArrayOutput

type GetScalingConfigurationsConfigurationArrayInput

type GetScalingConfigurationsConfigurationArrayInput interface {
	pulumi.Input

	ToGetScalingConfigurationsConfigurationArrayOutput() GetScalingConfigurationsConfigurationArrayOutput
	ToGetScalingConfigurationsConfigurationArrayOutputWithContext(context.Context) GetScalingConfigurationsConfigurationArrayOutput
}

GetScalingConfigurationsConfigurationArrayInput is an input type that accepts GetScalingConfigurationsConfigurationArray and GetScalingConfigurationsConfigurationArrayOutput values. You can construct a concrete instance of `GetScalingConfigurationsConfigurationArrayInput` via:

GetScalingConfigurationsConfigurationArray{ GetScalingConfigurationsConfigurationArgs{...} }

type GetScalingConfigurationsConfigurationArrayOutput

type GetScalingConfigurationsConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetScalingConfigurationsConfigurationArrayOutput) ElementType

func (GetScalingConfigurationsConfigurationArrayOutput) Index

func (GetScalingConfigurationsConfigurationArrayOutput) ToGetScalingConfigurationsConfigurationArrayOutput

func (o GetScalingConfigurationsConfigurationArrayOutput) ToGetScalingConfigurationsConfigurationArrayOutput() GetScalingConfigurationsConfigurationArrayOutput

func (GetScalingConfigurationsConfigurationArrayOutput) ToGetScalingConfigurationsConfigurationArrayOutputWithContext

func (o GetScalingConfigurationsConfigurationArrayOutput) ToGetScalingConfigurationsConfigurationArrayOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationArrayOutput

type GetScalingConfigurationsConfigurationDataDisk

type GetScalingConfigurationsConfigurationDataDisk struct {
	// Category of data disk.
	Category *string `pulumi:"category"`
	// Delete_with_instance attribute of data disk.
	DeleteWithInstance *bool `pulumi:"deleteWithInstance"`
	// Device attribute of data disk.
	Device *string `pulumi:"device"`
	// The performance level of the ESSD used as data disk.
	PerformanceLevel *string `pulumi:"performanceLevel"`
	// Size of data disk.
	Size *int `pulumi:"size"`
	// Size of data disk.
	SnapshotId *string `pulumi:"snapshotId"`
}

type GetScalingConfigurationsConfigurationDataDiskArgs

type GetScalingConfigurationsConfigurationDataDiskArgs struct {
	// Category of data disk.
	Category pulumi.StringPtrInput `pulumi:"category"`
	// Delete_with_instance attribute of data disk.
	DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"`
	// Device attribute of data disk.
	Device pulumi.StringPtrInput `pulumi:"device"`
	// The performance level of the ESSD used as data disk.
	PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"`
	// Size of data disk.
	Size pulumi.IntPtrInput `pulumi:"size"`
	// Size of data disk.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (GetScalingConfigurationsConfigurationDataDiskArgs) ElementType

func (GetScalingConfigurationsConfigurationDataDiskArgs) ToGetScalingConfigurationsConfigurationDataDiskOutput

func (i GetScalingConfigurationsConfigurationDataDiskArgs) ToGetScalingConfigurationsConfigurationDataDiskOutput() GetScalingConfigurationsConfigurationDataDiskOutput

func (GetScalingConfigurationsConfigurationDataDiskArgs) ToGetScalingConfigurationsConfigurationDataDiskOutputWithContext

func (i GetScalingConfigurationsConfigurationDataDiskArgs) ToGetScalingConfigurationsConfigurationDataDiskOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationDataDiskOutput

type GetScalingConfigurationsConfigurationDataDiskArray

type GetScalingConfigurationsConfigurationDataDiskArray []GetScalingConfigurationsConfigurationDataDiskInput

func (GetScalingConfigurationsConfigurationDataDiskArray) ElementType

func (GetScalingConfigurationsConfigurationDataDiskArray) ToGetScalingConfigurationsConfigurationDataDiskArrayOutput

func (i GetScalingConfigurationsConfigurationDataDiskArray) ToGetScalingConfigurationsConfigurationDataDiskArrayOutput() GetScalingConfigurationsConfigurationDataDiskArrayOutput

func (GetScalingConfigurationsConfigurationDataDiskArray) ToGetScalingConfigurationsConfigurationDataDiskArrayOutputWithContext

func (i GetScalingConfigurationsConfigurationDataDiskArray) ToGetScalingConfigurationsConfigurationDataDiskArrayOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationDataDiskArrayOutput

type GetScalingConfigurationsConfigurationDataDiskArrayInput

type GetScalingConfigurationsConfigurationDataDiskArrayInput interface {
	pulumi.Input

	ToGetScalingConfigurationsConfigurationDataDiskArrayOutput() GetScalingConfigurationsConfigurationDataDiskArrayOutput
	ToGetScalingConfigurationsConfigurationDataDiskArrayOutputWithContext(context.Context) GetScalingConfigurationsConfigurationDataDiskArrayOutput
}

GetScalingConfigurationsConfigurationDataDiskArrayInput is an input type that accepts GetScalingConfigurationsConfigurationDataDiskArray and GetScalingConfigurationsConfigurationDataDiskArrayOutput values. You can construct a concrete instance of `GetScalingConfigurationsConfigurationDataDiskArrayInput` via:

GetScalingConfigurationsConfigurationDataDiskArray{ GetScalingConfigurationsConfigurationDataDiskArgs{...} }

type GetScalingConfigurationsConfigurationDataDiskArrayOutput

type GetScalingConfigurationsConfigurationDataDiskArrayOutput struct{ *pulumi.OutputState }

func (GetScalingConfigurationsConfigurationDataDiskArrayOutput) ElementType

func (GetScalingConfigurationsConfigurationDataDiskArrayOutput) Index

func (GetScalingConfigurationsConfigurationDataDiskArrayOutput) ToGetScalingConfigurationsConfigurationDataDiskArrayOutput

func (GetScalingConfigurationsConfigurationDataDiskArrayOutput) ToGetScalingConfigurationsConfigurationDataDiskArrayOutputWithContext

func (o GetScalingConfigurationsConfigurationDataDiskArrayOutput) ToGetScalingConfigurationsConfigurationDataDiskArrayOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationDataDiskArrayOutput

type GetScalingConfigurationsConfigurationDataDiskInput

type GetScalingConfigurationsConfigurationDataDiskInput interface {
	pulumi.Input

	ToGetScalingConfigurationsConfigurationDataDiskOutput() GetScalingConfigurationsConfigurationDataDiskOutput
	ToGetScalingConfigurationsConfigurationDataDiskOutputWithContext(context.Context) GetScalingConfigurationsConfigurationDataDiskOutput
}

GetScalingConfigurationsConfigurationDataDiskInput is an input type that accepts GetScalingConfigurationsConfigurationDataDiskArgs and GetScalingConfigurationsConfigurationDataDiskOutput values. You can construct a concrete instance of `GetScalingConfigurationsConfigurationDataDiskInput` via:

GetScalingConfigurationsConfigurationDataDiskArgs{...}

type GetScalingConfigurationsConfigurationDataDiskOutput

type GetScalingConfigurationsConfigurationDataDiskOutput struct{ *pulumi.OutputState }

func (GetScalingConfigurationsConfigurationDataDiskOutput) Category

Category of data disk.

func (GetScalingConfigurationsConfigurationDataDiskOutput) DeleteWithInstance

Delete_with_instance attribute of data disk.

func (GetScalingConfigurationsConfigurationDataDiskOutput) Device

Device attribute of data disk.

func (GetScalingConfigurationsConfigurationDataDiskOutput) ElementType

func (GetScalingConfigurationsConfigurationDataDiskOutput) PerformanceLevel

The performance level of the ESSD used as data disk.

func (GetScalingConfigurationsConfigurationDataDiskOutput) Size

Size of data disk.

func (GetScalingConfigurationsConfigurationDataDiskOutput) SnapshotId

Size of data disk.

func (GetScalingConfigurationsConfigurationDataDiskOutput) ToGetScalingConfigurationsConfigurationDataDiskOutput

func (o GetScalingConfigurationsConfigurationDataDiskOutput) ToGetScalingConfigurationsConfigurationDataDiskOutput() GetScalingConfigurationsConfigurationDataDiskOutput

func (GetScalingConfigurationsConfigurationDataDiskOutput) ToGetScalingConfigurationsConfigurationDataDiskOutputWithContext

func (o GetScalingConfigurationsConfigurationDataDiskOutput) ToGetScalingConfigurationsConfigurationDataDiskOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationDataDiskOutput

type GetScalingConfigurationsConfigurationInput

type GetScalingConfigurationsConfigurationInput interface {
	pulumi.Input

	ToGetScalingConfigurationsConfigurationOutput() GetScalingConfigurationsConfigurationOutput
	ToGetScalingConfigurationsConfigurationOutputWithContext(context.Context) GetScalingConfigurationsConfigurationOutput
}

GetScalingConfigurationsConfigurationInput is an input type that accepts GetScalingConfigurationsConfigurationArgs and GetScalingConfigurationsConfigurationOutput values. You can construct a concrete instance of `GetScalingConfigurationsConfigurationInput` via:

GetScalingConfigurationsConfigurationArgs{...}

type GetScalingConfigurationsConfigurationOutput

type GetScalingConfigurationsConfigurationOutput struct{ *pulumi.OutputState }

func (GetScalingConfigurationsConfigurationOutput) CreationTime

Creation time of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) CreditSpecification

Performance mode of the t5 burstable instance.

func (GetScalingConfigurationsConfigurationOutput) DataDisks

Data disks of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) ElementType

func (GetScalingConfigurationsConfigurationOutput) HostName

(Optional,Available in 1.143.0+) Hostname of an ECS instance.

func (GetScalingConfigurationsConfigurationOutput) Id

ID of the scaling rule.

func (GetScalingConfigurationsConfigurationOutput) ImageId

Image ID of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) InstanceName

(Optional,Available in 1.143.0+) InstanceName of an ECS instance.

func (GetScalingConfigurationsConfigurationOutput) InstanceType

Resource type of an ECS instance.

func (GetScalingConfigurationsConfigurationOutput) InternetChargeType

Internet charge type of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) InternetMaxBandwidthIn

Internet max bandwidth in of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) InternetMaxBandwidthOut

func (o GetScalingConfigurationsConfigurationOutput) InternetMaxBandwidthOut() pulumi.IntOutput

Internet max bandwidth of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) LifecycleState

Lifecycle state of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) Name

Name of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) ScalingGroupId

Scaling group id the scaling configurations belong to.

func (GetScalingConfigurationsConfigurationOutput) SecurityGroupId

Security group ID of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) SpotPriceLimits

(Optional, Available in 1.151.0+) The maximum price hourly for instance types.

func (GetScalingConfigurationsConfigurationOutput) SpotStrategy

(Optional, Available in 1.151.0+) The spot strategy for a Pay-As-You-Go instance.

func (GetScalingConfigurationsConfigurationOutput) SystemDiskCategory

System disk category of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) SystemDiskPerformanceLevel

func (o GetScalingConfigurationsConfigurationOutput) SystemDiskPerformanceLevel() pulumi.StringOutput

The performance level of the ESSD used as the system disk.

func (GetScalingConfigurationsConfigurationOutput) SystemDiskSize

System disk size of the scaling configuration.

func (GetScalingConfigurationsConfigurationOutput) ToGetScalingConfigurationsConfigurationOutput

func (o GetScalingConfigurationsConfigurationOutput) ToGetScalingConfigurationsConfigurationOutput() GetScalingConfigurationsConfigurationOutput

func (GetScalingConfigurationsConfigurationOutput) ToGetScalingConfigurationsConfigurationOutputWithContext

func (o GetScalingConfigurationsConfigurationOutput) ToGetScalingConfigurationsConfigurationOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationOutput

type GetScalingConfigurationsConfigurationSpotPriceLimit

type GetScalingConfigurationsConfigurationSpotPriceLimit struct {
	// Resource type of an ECS instance.
	InstanceType *string `pulumi:"instanceType"`
	// Price limit hourly of instance type.
	PriceLimit *float64 `pulumi:"priceLimit"`
}

type GetScalingConfigurationsConfigurationSpotPriceLimitArgs

type GetScalingConfigurationsConfigurationSpotPriceLimitArgs struct {
	// Resource type of an ECS instance.
	InstanceType pulumi.StringPtrInput `pulumi:"instanceType"`
	// Price limit hourly of instance type.
	PriceLimit pulumi.Float64PtrInput `pulumi:"priceLimit"`
}

func (GetScalingConfigurationsConfigurationSpotPriceLimitArgs) ElementType

func (GetScalingConfigurationsConfigurationSpotPriceLimitArgs) ToGetScalingConfigurationsConfigurationSpotPriceLimitOutput

func (GetScalingConfigurationsConfigurationSpotPriceLimitArgs) ToGetScalingConfigurationsConfigurationSpotPriceLimitOutputWithContext

func (i GetScalingConfigurationsConfigurationSpotPriceLimitArgs) ToGetScalingConfigurationsConfigurationSpotPriceLimitOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationSpotPriceLimitOutput

type GetScalingConfigurationsConfigurationSpotPriceLimitArray

type GetScalingConfigurationsConfigurationSpotPriceLimitArray []GetScalingConfigurationsConfigurationSpotPriceLimitInput

func (GetScalingConfigurationsConfigurationSpotPriceLimitArray) ElementType

func (GetScalingConfigurationsConfigurationSpotPriceLimitArray) ToGetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput

func (i GetScalingConfigurationsConfigurationSpotPriceLimitArray) ToGetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput() GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput

func (GetScalingConfigurationsConfigurationSpotPriceLimitArray) ToGetScalingConfigurationsConfigurationSpotPriceLimitArrayOutputWithContext

func (i GetScalingConfigurationsConfigurationSpotPriceLimitArray) ToGetScalingConfigurationsConfigurationSpotPriceLimitArrayOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput

type GetScalingConfigurationsConfigurationSpotPriceLimitArrayInput

type GetScalingConfigurationsConfigurationSpotPriceLimitArrayInput interface {
	pulumi.Input

	ToGetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput() GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput
	ToGetScalingConfigurationsConfigurationSpotPriceLimitArrayOutputWithContext(context.Context) GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput
}

GetScalingConfigurationsConfigurationSpotPriceLimitArrayInput is an input type that accepts GetScalingConfigurationsConfigurationSpotPriceLimitArray and GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput values. You can construct a concrete instance of `GetScalingConfigurationsConfigurationSpotPriceLimitArrayInput` via:

GetScalingConfigurationsConfigurationSpotPriceLimitArray{ GetScalingConfigurationsConfigurationSpotPriceLimitArgs{...} }

type GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput

type GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput struct{ *pulumi.OutputState }

func (GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput) ElementType

func (GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput) Index

func (GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput) ToGetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput

func (GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput) ToGetScalingConfigurationsConfigurationSpotPriceLimitArrayOutputWithContext

func (o GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput) ToGetScalingConfigurationsConfigurationSpotPriceLimitArrayOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationSpotPriceLimitArrayOutput

type GetScalingConfigurationsConfigurationSpotPriceLimitInput

type GetScalingConfigurationsConfigurationSpotPriceLimitInput interface {
	pulumi.Input

	ToGetScalingConfigurationsConfigurationSpotPriceLimitOutput() GetScalingConfigurationsConfigurationSpotPriceLimitOutput
	ToGetScalingConfigurationsConfigurationSpotPriceLimitOutputWithContext(context.Context) GetScalingConfigurationsConfigurationSpotPriceLimitOutput
}

GetScalingConfigurationsConfigurationSpotPriceLimitInput is an input type that accepts GetScalingConfigurationsConfigurationSpotPriceLimitArgs and GetScalingConfigurationsConfigurationSpotPriceLimitOutput values. You can construct a concrete instance of `GetScalingConfigurationsConfigurationSpotPriceLimitInput` via:

GetScalingConfigurationsConfigurationSpotPriceLimitArgs{...}

type GetScalingConfigurationsConfigurationSpotPriceLimitOutput

type GetScalingConfigurationsConfigurationSpotPriceLimitOutput struct{ *pulumi.OutputState }

func (GetScalingConfigurationsConfigurationSpotPriceLimitOutput) ElementType

func (GetScalingConfigurationsConfigurationSpotPriceLimitOutput) InstanceType

Resource type of an ECS instance.

func (GetScalingConfigurationsConfigurationSpotPriceLimitOutput) PriceLimit

Price limit hourly of instance type.

func (GetScalingConfigurationsConfigurationSpotPriceLimitOutput) ToGetScalingConfigurationsConfigurationSpotPriceLimitOutput

func (GetScalingConfigurationsConfigurationSpotPriceLimitOutput) ToGetScalingConfigurationsConfigurationSpotPriceLimitOutputWithContext

func (o GetScalingConfigurationsConfigurationSpotPriceLimitOutput) ToGetScalingConfigurationsConfigurationSpotPriceLimitOutputWithContext(ctx context.Context) GetScalingConfigurationsConfigurationSpotPriceLimitOutput

type GetScalingConfigurationsOutputArgs

type GetScalingConfigurationsOutputArgs struct {
	// A list of scaling configuration IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter resulting scaling configurations by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Scaling group id the scaling configurations belong to.
	ScalingGroupId pulumi.StringPtrInput `pulumi:"scalingGroupId"`
}

A collection of arguments for invoking getScalingConfigurations.

func (GetScalingConfigurationsOutputArgs) ElementType

type GetScalingConfigurationsResult

type GetScalingConfigurationsResult struct {
	// A list of scaling rules. Each element contains the following attributes:
	Configurations []GetScalingConfigurationsConfiguration `pulumi:"configurations"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of scaling configuration ids.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of scaling configuration names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// ID of the scaling group.
	ScalingGroupId *string `pulumi:"scalingGroupId"`
}

A collection of values returned by getScalingConfigurations.

func GetScalingConfigurations

func GetScalingConfigurations(ctx *pulumi.Context, args *GetScalingConfigurationsArgs, opts ...pulumi.InvokeOption) (*GetScalingConfigurationsResult, error)

This data source provides available scaling configuration resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ess"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		scalingconfigurationsDs, err := ess.GetScalingConfigurations(ctx, &ess.GetScalingConfigurationsArgs{
			Ids: []string{
				"scaling_configuration_id1",
				"scaling_configuration_id2",
			},
			NameRegex:      pulumi.StringRef("scaling_configuration_name"),
			ScalingGroupId: pulumi.StringRef("scaling_group_id"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstScalingRule", scalingconfigurationsDs.Configurations[0].Id)
		return nil
	})
}

```

type GetScalingConfigurationsResultOutput

type GetScalingConfigurationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getScalingConfigurations.

func (GetScalingConfigurationsResultOutput) Configurations

A list of scaling rules. Each element contains the following attributes:

func (GetScalingConfigurationsResultOutput) ElementType

func (GetScalingConfigurationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetScalingConfigurationsResultOutput) Ids

A list of scaling configuration ids.

func (GetScalingConfigurationsResultOutput) NameRegex

func (GetScalingConfigurationsResultOutput) Names

A list of scaling configuration names.

func (GetScalingConfigurationsResultOutput) OutputFile

func (GetScalingConfigurationsResultOutput) ScalingGroupId

ID of the scaling group.

func (GetScalingConfigurationsResultOutput) ToGetScalingConfigurationsResultOutput

func (o GetScalingConfigurationsResultOutput) ToGetScalingConfigurationsResultOutput() GetScalingConfigurationsResultOutput

func (GetScalingConfigurationsResultOutput) ToGetScalingConfigurationsResultOutputWithContext

func (o GetScalingConfigurationsResultOutput) ToGetScalingConfigurationsResultOutputWithContext(ctx context.Context) GetScalingConfigurationsResultOutput

type GetScalingGroupsArgs

type GetScalingGroupsArgs struct {
	// A list of scaling group IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting scaling groups by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getScalingGroups.

type GetScalingGroupsGroup

type GetScalingGroupsGroup struct {
	// Number of active instances in scaling group.
	ActiveCapacity             int    `pulumi:"activeCapacity"`
	ActiveScalingConfiguration string `pulumi:"activeScalingConfiguration"`
	// Default cooldown time of scaling group.
	CooldownTime int `pulumi:"cooldownTime"`
	// Creation time of scaling group.
	CreationTime string `pulumi:"creationTime"`
	// Db instances id which the ECS instance attached to.
	DbInstanceIds []string `pulumi:"dbInstanceIds"`
	// Whether the scaling group deletion protection is enabled.
	GroupDeletionProtection bool `pulumi:"groupDeletionProtection"`
	// The health check method of the scaling group.
	HealthCheckType string `pulumi:"healthCheckType"`
	// ID of the scaling group.
	Id string `pulumi:"id"`
	// Active launch template ID for scaling group.
	LaunchTemplateId string `pulumi:"launchTemplateId"`
	// Version of active launch template.
	LaunchTemplateVersion string `pulumi:"launchTemplateVersion"`
	// Lifecycle state of scaling group.
	LifecycleState string `pulumi:"lifecycleState"`
	// Slb instances id which the ECS instance attached to.
	LoadBalancerIds []string `pulumi:"loadBalancerIds"`
	// The maximum number of ECS instances.
	MaxSize int `pulumi:"maxSize"`
	// The minimum number of ECS instances.
	MinSize int `pulumi:"minSize"`
	// The modification time.
	ModificationTime string `pulumi:"modificationTime"`
	// Name of the scaling group.
	// * `activeScalingConfiguration` -Active scaling configuration for scaling group.
	Name string `pulumi:"name"`
	// Number of pending instances in scaling group.
	PendingCapacity int `pulumi:"pendingCapacity"`
	// Region ID the scaling group belongs to.
	RegionId string `pulumi:"regionId"`
	// Removal policy used to select the ECS instance to remove from the scaling group.
	RemovalPolicies []string `pulumi:"removalPolicies"`
	// Number of removing instances in scaling group.
	RemovingCapacity int `pulumi:"removingCapacity"`
	// The Process in suspension.
	SuspendedProcesses []string `pulumi:"suspendedProcesses"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// Number of instances in scaling group.
	TotalCapacity int `pulumi:"totalCapacity"`
	// The number of all ECS instances in the scaling group.
	TotalInstanceCount int `pulumi:"totalInstanceCount"`
	// The ID of the VPC to which the scaling group belongs.
	VpcId string `pulumi:"vpcId"`
	// The ID of the vSwitch to which the scaling group belongs.
	VswitchId string `pulumi:"vswitchId"`
	// Vswitches id in which the ECS instance launched.
	VswitchIds []string `pulumi:"vswitchIds"`
}

type GetScalingGroupsGroupArgs

type GetScalingGroupsGroupArgs struct {
	// Number of active instances in scaling group.
	ActiveCapacity             pulumi.IntInput    `pulumi:"activeCapacity"`
	ActiveScalingConfiguration pulumi.StringInput `pulumi:"activeScalingConfiguration"`
	// Default cooldown time of scaling group.
	CooldownTime pulumi.IntInput `pulumi:"cooldownTime"`
	// Creation time of scaling group.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// Db instances id which the ECS instance attached to.
	DbInstanceIds pulumi.StringArrayInput `pulumi:"dbInstanceIds"`
	// Whether the scaling group deletion protection is enabled.
	GroupDeletionProtection pulumi.BoolInput `pulumi:"groupDeletionProtection"`
	// The health check method of the scaling group.
	HealthCheckType pulumi.StringInput `pulumi:"healthCheckType"`
	// ID of the scaling group.
	Id pulumi.StringInput `pulumi:"id"`
	// Active launch template ID for scaling group.
	LaunchTemplateId pulumi.StringInput `pulumi:"launchTemplateId"`
	// Version of active launch template.
	LaunchTemplateVersion pulumi.StringInput `pulumi:"launchTemplateVersion"`
	// Lifecycle state of scaling group.
	LifecycleState pulumi.StringInput `pulumi:"lifecycleState"`
	// Slb instances id which the ECS instance attached to.
	LoadBalancerIds pulumi.StringArrayInput `pulumi:"loadBalancerIds"`
	// The maximum number of ECS instances.
	MaxSize pulumi.IntInput `pulumi:"maxSize"`
	// The minimum number of ECS instances.
	MinSize pulumi.IntInput `pulumi:"minSize"`
	// The modification time.
	ModificationTime pulumi.StringInput `pulumi:"modificationTime"`
	// Name of the scaling group.
	// * `activeScalingConfiguration` -Active scaling configuration for scaling group.
	Name pulumi.StringInput `pulumi:"name"`
	// Number of pending instances in scaling group.
	PendingCapacity pulumi.IntInput `pulumi:"pendingCapacity"`
	// Region ID the scaling group belongs to.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// Removal policy used to select the ECS instance to remove from the scaling group.
	RemovalPolicies pulumi.StringArrayInput `pulumi:"removalPolicies"`
	// Number of removing instances in scaling group.
	RemovingCapacity pulumi.IntInput `pulumi:"removingCapacity"`
	// The Process in suspension.
	SuspendedProcesses pulumi.StringArrayInput `pulumi:"suspendedProcesses"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// Number of instances in scaling group.
	TotalCapacity pulumi.IntInput `pulumi:"totalCapacity"`
	// The number of all ECS instances in the scaling group.
	TotalInstanceCount pulumi.IntInput `pulumi:"totalInstanceCount"`
	// The ID of the VPC to which the scaling group belongs.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The ID of the vSwitch to which the scaling group belongs.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
	// Vswitches id in which the ECS instance launched.
	VswitchIds pulumi.StringArrayInput `pulumi:"vswitchIds"`
}

func (GetScalingGroupsGroupArgs) ElementType

func (GetScalingGroupsGroupArgs) ElementType() reflect.Type

func (GetScalingGroupsGroupArgs) ToGetScalingGroupsGroupOutput

func (i GetScalingGroupsGroupArgs) ToGetScalingGroupsGroupOutput() GetScalingGroupsGroupOutput

func (GetScalingGroupsGroupArgs) ToGetScalingGroupsGroupOutputWithContext

func (i GetScalingGroupsGroupArgs) ToGetScalingGroupsGroupOutputWithContext(ctx context.Context) GetScalingGroupsGroupOutput

type GetScalingGroupsGroupArray

type GetScalingGroupsGroupArray []GetScalingGroupsGroupInput

func (GetScalingGroupsGroupArray) ElementType

func (GetScalingGroupsGroupArray) ElementType() reflect.Type

func (GetScalingGroupsGroupArray) ToGetScalingGroupsGroupArrayOutput

func (i GetScalingGroupsGroupArray) ToGetScalingGroupsGroupArrayOutput() GetScalingGroupsGroupArrayOutput

func (GetScalingGroupsGroupArray) ToGetScalingGroupsGroupArrayOutputWithContext

func (i GetScalingGroupsGroupArray) ToGetScalingGroupsGroupArrayOutputWithContext(ctx context.Context) GetScalingGroupsGroupArrayOutput

type GetScalingGroupsGroupArrayInput

type GetScalingGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetScalingGroupsGroupArrayOutput() GetScalingGroupsGroupArrayOutput
	ToGetScalingGroupsGroupArrayOutputWithContext(context.Context) GetScalingGroupsGroupArrayOutput
}

GetScalingGroupsGroupArrayInput is an input type that accepts GetScalingGroupsGroupArray and GetScalingGroupsGroupArrayOutput values. You can construct a concrete instance of `GetScalingGroupsGroupArrayInput` via:

GetScalingGroupsGroupArray{ GetScalingGroupsGroupArgs{...} }

type GetScalingGroupsGroupArrayOutput

type GetScalingGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetScalingGroupsGroupArrayOutput) ElementType

func (GetScalingGroupsGroupArrayOutput) Index

func (GetScalingGroupsGroupArrayOutput) ToGetScalingGroupsGroupArrayOutput

func (o GetScalingGroupsGroupArrayOutput) ToGetScalingGroupsGroupArrayOutput() GetScalingGroupsGroupArrayOutput

func (GetScalingGroupsGroupArrayOutput) ToGetScalingGroupsGroupArrayOutputWithContext

func (o GetScalingGroupsGroupArrayOutput) ToGetScalingGroupsGroupArrayOutputWithContext(ctx context.Context) GetScalingGroupsGroupArrayOutput

type GetScalingGroupsGroupInput

type GetScalingGroupsGroupInput interface {
	pulumi.Input

	ToGetScalingGroupsGroupOutput() GetScalingGroupsGroupOutput
	ToGetScalingGroupsGroupOutputWithContext(context.Context) GetScalingGroupsGroupOutput
}

GetScalingGroupsGroupInput is an input type that accepts GetScalingGroupsGroupArgs and GetScalingGroupsGroupOutput values. You can construct a concrete instance of `GetScalingGroupsGroupInput` via:

GetScalingGroupsGroupArgs{...}

type GetScalingGroupsGroupOutput

type GetScalingGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetScalingGroupsGroupOutput) ActiveCapacity

func (o GetScalingGroupsGroupOutput) ActiveCapacity() pulumi.IntOutput

Number of active instances in scaling group.

func (GetScalingGroupsGroupOutput) ActiveScalingConfiguration

func (o GetScalingGroupsGroupOutput) ActiveScalingConfiguration() pulumi.StringOutput

func (GetScalingGroupsGroupOutput) CooldownTime

func (o GetScalingGroupsGroupOutput) CooldownTime() pulumi.IntOutput

Default cooldown time of scaling group.

func (GetScalingGroupsGroupOutput) CreationTime

Creation time of scaling group.

func (GetScalingGroupsGroupOutput) DbInstanceIds

Db instances id which the ECS instance attached to.

func (GetScalingGroupsGroupOutput) ElementType

func (GetScalingGroupsGroupOutput) GroupDeletionProtection

func (o GetScalingGroupsGroupOutput) GroupDeletionProtection() pulumi.BoolOutput

Whether the scaling group deletion protection is enabled.

func (GetScalingGroupsGroupOutput) HealthCheckType

func (o GetScalingGroupsGroupOutput) HealthCheckType() pulumi.StringOutput

The health check method of the scaling group.

func (GetScalingGroupsGroupOutput) Id

ID of the scaling group.

func (GetScalingGroupsGroupOutput) LaunchTemplateId

func (o GetScalingGroupsGroupOutput) LaunchTemplateId() pulumi.StringOutput

Active launch template ID for scaling group.

func (GetScalingGroupsGroupOutput) LaunchTemplateVersion

func (o GetScalingGroupsGroupOutput) LaunchTemplateVersion() pulumi.StringOutput

Version of active launch template.

func (GetScalingGroupsGroupOutput) LifecycleState

func (o GetScalingGroupsGroupOutput) LifecycleState() pulumi.StringOutput

Lifecycle state of scaling group.

func (GetScalingGroupsGroupOutput) LoadBalancerIds

Slb instances id which the ECS instance attached to.

func (GetScalingGroupsGroupOutput) MaxSize

The maximum number of ECS instances.

func (GetScalingGroupsGroupOutput) MinSize

The minimum number of ECS instances.

func (GetScalingGroupsGroupOutput) ModificationTime

func (o GetScalingGroupsGroupOutput) ModificationTime() pulumi.StringOutput

The modification time.

func (GetScalingGroupsGroupOutput) Name

Name of the scaling group. * `activeScalingConfiguration` -Active scaling configuration for scaling group.

func (GetScalingGroupsGroupOutput) PendingCapacity

func (o GetScalingGroupsGroupOutput) PendingCapacity() pulumi.IntOutput

Number of pending instances in scaling group.

func (GetScalingGroupsGroupOutput) RegionId

Region ID the scaling group belongs to.

func (GetScalingGroupsGroupOutput) RemovalPolicies

Removal policy used to select the ECS instance to remove from the scaling group.

func (GetScalingGroupsGroupOutput) RemovingCapacity

func (o GetScalingGroupsGroupOutput) RemovingCapacity() pulumi.IntOutput

Number of removing instances in scaling group.

func (GetScalingGroupsGroupOutput) SuspendedProcesses

func (o GetScalingGroupsGroupOutput) SuspendedProcesses() pulumi.StringArrayOutput

The Process in suspension.

func (GetScalingGroupsGroupOutput) Tags

A mapping of tags to assign to the resource.

func (GetScalingGroupsGroupOutput) ToGetScalingGroupsGroupOutput

func (o GetScalingGroupsGroupOutput) ToGetScalingGroupsGroupOutput() GetScalingGroupsGroupOutput

func (GetScalingGroupsGroupOutput) ToGetScalingGroupsGroupOutputWithContext

func (o GetScalingGroupsGroupOutput) ToGetScalingGroupsGroupOutputWithContext(ctx context.Context) GetScalingGroupsGroupOutput

func (GetScalingGroupsGroupOutput) TotalCapacity

func (o GetScalingGroupsGroupOutput) TotalCapacity() pulumi.IntOutput

Number of instances in scaling group.

func (GetScalingGroupsGroupOutput) TotalInstanceCount

func (o GetScalingGroupsGroupOutput) TotalInstanceCount() pulumi.IntOutput

The number of all ECS instances in the scaling group.

func (GetScalingGroupsGroupOutput) VpcId

The ID of the VPC to which the scaling group belongs.

func (GetScalingGroupsGroupOutput) VswitchId

The ID of the vSwitch to which the scaling group belongs.

func (GetScalingGroupsGroupOutput) VswitchIds

Vswitches id in which the ECS instance launched.

type GetScalingGroupsOutputArgs

type GetScalingGroupsOutputArgs struct {
	// A list of scaling group IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter resulting scaling groups by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getScalingGroups.

func (GetScalingGroupsOutputArgs) ElementType

func (GetScalingGroupsOutputArgs) ElementType() reflect.Type

type GetScalingGroupsResult

type GetScalingGroupsResult struct {
	// A list of scaling groups. Each element contains the following attributes:
	Groups []GetScalingGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of scaling group ids.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of scaling group names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getScalingGroups.

func GetScalingGroups

func GetScalingGroups(ctx *pulumi.Context, args *GetScalingGroupsArgs, opts ...pulumi.InvokeOption) (*GetScalingGroupsResult, error)

This data source provides available scaling group resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ess"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		scalinggroupsDs, err := ess.GetScalingGroups(ctx, &ess.GetScalingGroupsArgs{
			Ids: []string{
				"scaling_group_id1",
				"scaling_group_id2",
			},
			NameRegex: pulumi.StringRef("scaling_group_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstScalingGroup", scalinggroupsDs.Groups[0].Id)
		return nil
	})
}

```

type GetScalingGroupsResultOutput

type GetScalingGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getScalingGroups.

func (GetScalingGroupsResultOutput) ElementType

func (GetScalingGroupsResultOutput) Groups

A list of scaling groups. Each element contains the following attributes:

func (GetScalingGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetScalingGroupsResultOutput) Ids

A list of scaling group ids.

func (GetScalingGroupsResultOutput) NameRegex

func (GetScalingGroupsResultOutput) Names

A list of scaling group names.

func (GetScalingGroupsResultOutput) OutputFile

func (GetScalingGroupsResultOutput) ToGetScalingGroupsResultOutput

func (o GetScalingGroupsResultOutput) ToGetScalingGroupsResultOutput() GetScalingGroupsResultOutput

func (GetScalingGroupsResultOutput) ToGetScalingGroupsResultOutputWithContext

func (o GetScalingGroupsResultOutput) ToGetScalingGroupsResultOutputWithContext(ctx context.Context) GetScalingGroupsResultOutput

type GetScalingRulesArgs

type GetScalingRulesArgs struct {
	// A list of scaling rule IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting scaling rules by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// Scaling group id the scaling rules belong to.
	ScalingGroupId *string `pulumi:"scalingGroupId"`
	// Type of scaling rule.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getScalingRules.

type GetScalingRulesOutputArgs

type GetScalingRulesOutputArgs struct {
	// A list of scaling rule IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter resulting scaling rules by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Scaling group id the scaling rules belong to.
	ScalingGroupId pulumi.StringPtrInput `pulumi:"scalingGroupId"`
	// Type of scaling rule.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A collection of arguments for invoking getScalingRules.

func (GetScalingRulesOutputArgs) ElementType

func (GetScalingRulesOutputArgs) ElementType() reflect.Type

type GetScalingRulesResult

type GetScalingRulesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of scaling rule ids.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of scaling rule names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of scaling rules. Each element contains the following attributes:
	Rules []GetScalingRulesRule `pulumi:"rules"`
	// ID of the scaling group.
	ScalingGroupId *string `pulumi:"scalingGroupId"`
	// Type of the scaling rule.
	Type *string `pulumi:"type"`
}

A collection of values returned by getScalingRules.

func GetScalingRules

func GetScalingRules(ctx *pulumi.Context, args *GetScalingRulesArgs, opts ...pulumi.InvokeOption) (*GetScalingRulesResult, error)

This data source provides available scaling rule resources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ess"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		scalingrulesDs, err := ess.GetScalingRules(ctx, &ess.GetScalingRulesArgs{
			Ids: []string{
				"scaling_rule_id1",
				"scaling_rule_id2",
			},
			NameRegex:      pulumi.StringRef("scaling_rule_name"),
			ScalingGroupId: pulumi.StringRef("scaling_group_id"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstScalingRule", scalingrulesDs.Rules[0].Id)
		return nil
	})
}

```

type GetScalingRulesResultOutput

type GetScalingRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getScalingRules.

func (GetScalingRulesResultOutput) ElementType

func (GetScalingRulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetScalingRulesResultOutput) Ids

A list of scaling rule ids.

func (GetScalingRulesResultOutput) NameRegex

func (GetScalingRulesResultOutput) Names

A list of scaling rule names.

func (GetScalingRulesResultOutput) OutputFile

func (GetScalingRulesResultOutput) Rules

A list of scaling rules. Each element contains the following attributes:

func (GetScalingRulesResultOutput) ScalingGroupId

ID of the scaling group.

func (GetScalingRulesResultOutput) ToGetScalingRulesResultOutput

func (o GetScalingRulesResultOutput) ToGetScalingRulesResultOutput() GetScalingRulesResultOutput

func (GetScalingRulesResultOutput) ToGetScalingRulesResultOutputWithContext

func (o GetScalingRulesResultOutput) ToGetScalingRulesResultOutputWithContext(ctx context.Context) GetScalingRulesResultOutput

func (GetScalingRulesResultOutput) Type

Type of the scaling rule.

type GetScalingRulesRule

type GetScalingRulesRule struct {
	// Adjustment type of the scaling rule.
	AdjustmentType string `pulumi:"adjustmentType"`
	// Adjustment value of the scaling rule.
	AdjustmentValue int `pulumi:"adjustmentValue"`
	// Cooldown time of the scaling rule.
	Cooldown int `pulumi:"cooldown"`
	// ID of the scaling rule.
	Id string `pulumi:"id"`
	// Min adjustment magnitude of scaling rule.
	MinAdjustmentMagnitude int `pulumi:"minAdjustmentMagnitude"`
	// Name of the scaling rule.
	Name string `pulumi:"name"`
	// Scaling group id the scaling rules belong to.
	ScalingGroupId string `pulumi:"scalingGroupId"`
	// Ari of scaling rule.
	ScalingRuleAri string `pulumi:"scalingRuleAri"`
	// Type of scaling rule.
	Type string `pulumi:"type"`
}

type GetScalingRulesRuleArgs

type GetScalingRulesRuleArgs struct {
	// Adjustment type of the scaling rule.
	AdjustmentType pulumi.StringInput `pulumi:"adjustmentType"`
	// Adjustment value of the scaling rule.
	AdjustmentValue pulumi.IntInput `pulumi:"adjustmentValue"`
	// Cooldown time of the scaling rule.
	Cooldown pulumi.IntInput `pulumi:"cooldown"`
	// ID of the scaling rule.
	Id pulumi.StringInput `pulumi:"id"`
	// Min adjustment magnitude of scaling rule.
	MinAdjustmentMagnitude pulumi.IntInput `pulumi:"minAdjustmentMagnitude"`
	// Name of the scaling rule.
	Name pulumi.StringInput `pulumi:"name"`
	// Scaling group id the scaling rules belong to.
	ScalingGroupId pulumi.StringInput `pulumi:"scalingGroupId"`
	// Ari of scaling rule.
	ScalingRuleAri pulumi.StringInput `pulumi:"scalingRuleAri"`
	// Type of scaling rule.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetScalingRulesRuleArgs) ElementType

func (GetScalingRulesRuleArgs) ElementType() reflect.Type

func (GetScalingRulesRuleArgs) ToGetScalingRulesRuleOutput

func (i GetScalingRulesRuleArgs) ToGetScalingRulesRuleOutput() GetScalingRulesRuleOutput

func (GetScalingRulesRuleArgs) ToGetScalingRulesRuleOutputWithContext

func (i GetScalingRulesRuleArgs) ToGetScalingRulesRuleOutputWithContext(ctx context.Context) GetScalingRulesRuleOutput

type GetScalingRulesRuleArray

type GetScalingRulesRuleArray []GetScalingRulesRuleInput

func (GetScalingRulesRuleArray) ElementType

func (GetScalingRulesRuleArray) ElementType() reflect.Type

func (GetScalingRulesRuleArray) ToGetScalingRulesRuleArrayOutput

func (i GetScalingRulesRuleArray) ToGetScalingRulesRuleArrayOutput() GetScalingRulesRuleArrayOutput

func (GetScalingRulesRuleArray) ToGetScalingRulesRuleArrayOutputWithContext

func (i GetScalingRulesRuleArray) ToGetScalingRulesRuleArrayOutputWithContext(ctx context.Context) GetScalingRulesRuleArrayOutput

type GetScalingRulesRuleArrayInput

type GetScalingRulesRuleArrayInput interface {
	pulumi.Input

	ToGetScalingRulesRuleArrayOutput() GetScalingRulesRuleArrayOutput
	ToGetScalingRulesRuleArrayOutputWithContext(context.Context) GetScalingRulesRuleArrayOutput
}

GetScalingRulesRuleArrayInput is an input type that accepts GetScalingRulesRuleArray and GetScalingRulesRuleArrayOutput values. You can construct a concrete instance of `GetScalingRulesRuleArrayInput` via:

GetScalingRulesRuleArray{ GetScalingRulesRuleArgs{...} }

type GetScalingRulesRuleArrayOutput

type GetScalingRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetScalingRulesRuleArrayOutput) ElementType

func (GetScalingRulesRuleArrayOutput) Index

func (GetScalingRulesRuleArrayOutput) ToGetScalingRulesRuleArrayOutput

func (o GetScalingRulesRuleArrayOutput) ToGetScalingRulesRuleArrayOutput() GetScalingRulesRuleArrayOutput

func (GetScalingRulesRuleArrayOutput) ToGetScalingRulesRuleArrayOutputWithContext

func (o GetScalingRulesRuleArrayOutput) ToGetScalingRulesRuleArrayOutputWithContext(ctx context.Context) GetScalingRulesRuleArrayOutput

type GetScalingRulesRuleInput

type GetScalingRulesRuleInput interface {
	pulumi.Input

	ToGetScalingRulesRuleOutput() GetScalingRulesRuleOutput
	ToGetScalingRulesRuleOutputWithContext(context.Context) GetScalingRulesRuleOutput
}

GetScalingRulesRuleInput is an input type that accepts GetScalingRulesRuleArgs and GetScalingRulesRuleOutput values. You can construct a concrete instance of `GetScalingRulesRuleInput` via:

GetScalingRulesRuleArgs{...}

type GetScalingRulesRuleOutput

type GetScalingRulesRuleOutput struct{ *pulumi.OutputState }

func (GetScalingRulesRuleOutput) AdjustmentType

func (o GetScalingRulesRuleOutput) AdjustmentType() pulumi.StringOutput

Adjustment type of the scaling rule.

func (GetScalingRulesRuleOutput) AdjustmentValue

func (o GetScalingRulesRuleOutput) AdjustmentValue() pulumi.IntOutput

Adjustment value of the scaling rule.

func (GetScalingRulesRuleOutput) Cooldown

Cooldown time of the scaling rule.

func (GetScalingRulesRuleOutput) ElementType

func (GetScalingRulesRuleOutput) ElementType() reflect.Type

func (GetScalingRulesRuleOutput) Id

ID of the scaling rule.

func (GetScalingRulesRuleOutput) MinAdjustmentMagnitude

func (o GetScalingRulesRuleOutput) MinAdjustmentMagnitude() pulumi.IntOutput

Min adjustment magnitude of scaling rule.

func (GetScalingRulesRuleOutput) Name

Name of the scaling rule.

func (GetScalingRulesRuleOutput) ScalingGroupId

func (o GetScalingRulesRuleOutput) ScalingGroupId() pulumi.StringOutput

Scaling group id the scaling rules belong to.

func (GetScalingRulesRuleOutput) ScalingRuleAri

func (o GetScalingRulesRuleOutput) ScalingRuleAri() pulumi.StringOutput

Ari of scaling rule.

func (GetScalingRulesRuleOutput) ToGetScalingRulesRuleOutput

func (o GetScalingRulesRuleOutput) ToGetScalingRulesRuleOutput() GetScalingRulesRuleOutput

func (GetScalingRulesRuleOutput) ToGetScalingRulesRuleOutputWithContext

func (o GetScalingRulesRuleOutput) ToGetScalingRulesRuleOutputWithContext(ctx context.Context) GetScalingRulesRuleOutput

func (GetScalingRulesRuleOutput) Type

Type of scaling rule.

type GetScheduledTasksArgs

type GetScheduledTasksArgs struct {
	// A list of scheduled task IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting scheduled tasks by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The operation to be performed when a scheduled task is triggered.
	ScheduledAction *string `pulumi:"scheduledAction"`
	// The id of the scheduled task.
	ScheduledTaskId *string `pulumi:"scheduledTaskId"`
}

A collection of arguments for invoking getScheduledTasks.

type GetScheduledTasksOutputArgs

type GetScheduledTasksOutputArgs struct {
	// A list of scheduled task IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter resulting scheduled tasks by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The operation to be performed when a scheduled task is triggered.
	ScheduledAction pulumi.StringPtrInput `pulumi:"scheduledAction"`
	// The id of the scheduled task.
	ScheduledTaskId pulumi.StringPtrInput `pulumi:"scheduledTaskId"`
}

A collection of arguments for invoking getScheduledTasks.

func (GetScheduledTasksOutputArgs) ElementType

type GetScheduledTasksResult

type GetScheduledTasksResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of scheduled task ids.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of scheduled task names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The operation to be performed when a scheduled task is triggered.
	ScheduledAction *string `pulumi:"scheduledAction"`
	ScheduledTaskId *string `pulumi:"scheduledTaskId"`
	// A list of scheduled tasks. Each element contains the following attributes:
	Tasks []GetScheduledTasksTask `pulumi:"tasks"`
}

A collection of values returned by getScheduledTasks.

func GetScheduledTasks

func GetScheduledTasks(ctx *pulumi.Context, args *GetScheduledTasksArgs, opts ...pulumi.InvokeOption) (*GetScheduledTasksResult, error)

This data source provides available scheduled task resources.

> **NOTE:** Available in 1.72.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ess"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ds, err := ess.GetScheduledTasks(ctx, &ess.GetScheduledTasksArgs{
			NameRegex:       pulumi.StringRef("scheduled_task_name"),
			ScheduledTaskId: pulumi.StringRef("scheduled_task_id"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstScheduledTask", ds.Tasks[0].Id)
		return nil
	})
}

```

type GetScheduledTasksResultOutput

type GetScheduledTasksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getScheduledTasks.

func (GetScheduledTasksResultOutput) ElementType

func (GetScheduledTasksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetScheduledTasksResultOutput) Ids

A list of scheduled task ids.

func (GetScheduledTasksResultOutput) NameRegex

func (GetScheduledTasksResultOutput) Names

A list of scheduled task names.

func (GetScheduledTasksResultOutput) OutputFile

func (GetScheduledTasksResultOutput) ScheduledAction

The operation to be performed when a scheduled task is triggered.

func (GetScheduledTasksResultOutput) ScheduledTaskId

func (GetScheduledTasksResultOutput) Tasks

A list of scheduled tasks. Each element contains the following attributes:

func (GetScheduledTasksResultOutput) ToGetScheduledTasksResultOutput

func (o GetScheduledTasksResultOutput) ToGetScheduledTasksResultOutput() GetScheduledTasksResultOutput

func (GetScheduledTasksResultOutput) ToGetScheduledTasksResultOutputWithContext

func (o GetScheduledTasksResultOutput) ToGetScheduledTasksResultOutputWithContext(ctx context.Context) GetScheduledTasksResultOutput

type GetScheduledTasksTask

type GetScheduledTasksTask struct {
	// Description of the scheduled task.
	Description string `pulumi:"description"`
	// ID of the scheduled task id.
	Id string `pulumi:"id"`
	// The time period during which a failed scheduled task is retried.
	LaunchExpirationTime int `pulumi:"launchExpirationTime"`
	// The time at which the scheduled task is triggered.
	LaunchTime string `pulumi:"launchTime"`
	MaxValue   int    `pulumi:"maxValue"`
	MinValue   int    `pulumi:"minValue"`
	// Name of the scheduled task name.
	Name string `pulumi:"name"`
	// Specifies the end time after which the scheduled task is no longer repeated.
	RecurrenceEndTime string `pulumi:"recurrenceEndTime"`
	// Specifies the recurrence type of the scheduled task.
	RecurrenceType string `pulumi:"recurrenceType"`
	// Specifies how often a scheduled task recurs.
	RecurrenceValue string `pulumi:"recurrenceValue"`
	// The operation to be performed when a scheduled task is triggered.
	ScheduledAction string `pulumi:"scheduledAction"`
	TaskEnabled     bool   `pulumi:"taskEnabled"`
}

type GetScheduledTasksTaskArgs

type GetScheduledTasksTaskArgs struct {
	// Description of the scheduled task.
	Description pulumi.StringInput `pulumi:"description"`
	// ID of the scheduled task id.
	Id pulumi.StringInput `pulumi:"id"`
	// The time period during which a failed scheduled task is retried.
	LaunchExpirationTime pulumi.IntInput `pulumi:"launchExpirationTime"`
	// The time at which the scheduled task is triggered.
	LaunchTime pulumi.StringInput `pulumi:"launchTime"`
	MaxValue   pulumi.IntInput    `pulumi:"maxValue"`
	MinValue   pulumi.IntInput    `pulumi:"minValue"`
	// Name of the scheduled task name.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the end time after which the scheduled task is no longer repeated.
	RecurrenceEndTime pulumi.StringInput `pulumi:"recurrenceEndTime"`
	// Specifies the recurrence type of the scheduled task.
	RecurrenceType pulumi.StringInput `pulumi:"recurrenceType"`
	// Specifies how often a scheduled task recurs.
	RecurrenceValue pulumi.StringInput `pulumi:"recurrenceValue"`
	// The operation to be performed when a scheduled task is triggered.
	ScheduledAction pulumi.StringInput `pulumi:"scheduledAction"`
	TaskEnabled     pulumi.BoolInput   `pulumi:"taskEnabled"`
}

func (GetScheduledTasksTaskArgs) ElementType

func (GetScheduledTasksTaskArgs) ElementType() reflect.Type

func (GetScheduledTasksTaskArgs) ToGetScheduledTasksTaskOutput

func (i GetScheduledTasksTaskArgs) ToGetScheduledTasksTaskOutput() GetScheduledTasksTaskOutput

func (GetScheduledTasksTaskArgs) ToGetScheduledTasksTaskOutputWithContext

func (i GetScheduledTasksTaskArgs) ToGetScheduledTasksTaskOutputWithContext(ctx context.Context) GetScheduledTasksTaskOutput

type GetScheduledTasksTaskArray

type GetScheduledTasksTaskArray []GetScheduledTasksTaskInput

func (GetScheduledTasksTaskArray) ElementType

func (GetScheduledTasksTaskArray) ElementType() reflect.Type

func (GetScheduledTasksTaskArray) ToGetScheduledTasksTaskArrayOutput

func (i GetScheduledTasksTaskArray) ToGetScheduledTasksTaskArrayOutput() GetScheduledTasksTaskArrayOutput

func (GetScheduledTasksTaskArray) ToGetScheduledTasksTaskArrayOutputWithContext

func (i GetScheduledTasksTaskArray) ToGetScheduledTasksTaskArrayOutputWithContext(ctx context.Context) GetScheduledTasksTaskArrayOutput

type GetScheduledTasksTaskArrayInput

type GetScheduledTasksTaskArrayInput interface {
	pulumi.Input

	ToGetScheduledTasksTaskArrayOutput() GetScheduledTasksTaskArrayOutput
	ToGetScheduledTasksTaskArrayOutputWithContext(context.Context) GetScheduledTasksTaskArrayOutput
}

GetScheduledTasksTaskArrayInput is an input type that accepts GetScheduledTasksTaskArray and GetScheduledTasksTaskArrayOutput values. You can construct a concrete instance of `GetScheduledTasksTaskArrayInput` via:

GetScheduledTasksTaskArray{ GetScheduledTasksTaskArgs{...} }

type GetScheduledTasksTaskArrayOutput

type GetScheduledTasksTaskArrayOutput struct{ *pulumi.OutputState }

func (GetScheduledTasksTaskArrayOutput) ElementType

func (GetScheduledTasksTaskArrayOutput) Index

func (GetScheduledTasksTaskArrayOutput) ToGetScheduledTasksTaskArrayOutput

func (o GetScheduledTasksTaskArrayOutput) ToGetScheduledTasksTaskArrayOutput() GetScheduledTasksTaskArrayOutput

func (GetScheduledTasksTaskArrayOutput) ToGetScheduledTasksTaskArrayOutputWithContext

func (o GetScheduledTasksTaskArrayOutput) ToGetScheduledTasksTaskArrayOutputWithContext(ctx context.Context) GetScheduledTasksTaskArrayOutput

type GetScheduledTasksTaskInput

type GetScheduledTasksTaskInput interface {
	pulumi.Input

	ToGetScheduledTasksTaskOutput() GetScheduledTasksTaskOutput
	ToGetScheduledTasksTaskOutputWithContext(context.Context) GetScheduledTasksTaskOutput
}

GetScheduledTasksTaskInput is an input type that accepts GetScheduledTasksTaskArgs and GetScheduledTasksTaskOutput values. You can construct a concrete instance of `GetScheduledTasksTaskInput` via:

GetScheduledTasksTaskArgs{...}

type GetScheduledTasksTaskOutput

type GetScheduledTasksTaskOutput struct{ *pulumi.OutputState }

func (GetScheduledTasksTaskOutput) Description

Description of the scheduled task.

func (GetScheduledTasksTaskOutput) ElementType

func (GetScheduledTasksTaskOutput) Id

ID of the scheduled task id.

func (GetScheduledTasksTaskOutput) LaunchExpirationTime

func (o GetScheduledTasksTaskOutput) LaunchExpirationTime() pulumi.IntOutput

The time period during which a failed scheduled task is retried.

func (GetScheduledTasksTaskOutput) LaunchTime

The time at which the scheduled task is triggered.

func (GetScheduledTasksTaskOutput) MaxValue

func (GetScheduledTasksTaskOutput) MinValue

func (GetScheduledTasksTaskOutput) Name

Name of the scheduled task name.

func (GetScheduledTasksTaskOutput) RecurrenceEndTime

func (o GetScheduledTasksTaskOutput) RecurrenceEndTime() pulumi.StringOutput

Specifies the end time after which the scheduled task is no longer repeated.

func (GetScheduledTasksTaskOutput) RecurrenceType

func (o GetScheduledTasksTaskOutput) RecurrenceType() pulumi.StringOutput

Specifies the recurrence type of the scheduled task.

func (GetScheduledTasksTaskOutput) RecurrenceValue

func (o GetScheduledTasksTaskOutput) RecurrenceValue() pulumi.StringOutput

Specifies how often a scheduled task recurs.

func (GetScheduledTasksTaskOutput) ScheduledAction

func (o GetScheduledTasksTaskOutput) ScheduledAction() pulumi.StringOutput

The operation to be performed when a scheduled task is triggered.

func (GetScheduledTasksTaskOutput) TaskEnabled

func (GetScheduledTasksTaskOutput) ToGetScheduledTasksTaskOutput

func (o GetScheduledTasksTaskOutput) ToGetScheduledTasksTaskOutput() GetScheduledTasksTaskOutput

func (GetScheduledTasksTaskOutput) ToGetScheduledTasksTaskOutputWithContext

func (o GetScheduledTasksTaskOutput) ToGetScheduledTasksTaskOutputWithContext(ctx context.Context) GetScheduledTasksTaskOutput

type LifecycleHook

type LifecycleHook struct {
	pulumi.CustomResourceState

	// Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses. Applicable value: CONTINUE, ABANDON, ROLLBACK, default value: CONTINUE.
	DefaultResult pulumi.StringPtrOutput `pulumi:"defaultResult"`
	// Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the defaultResult parameter. Default value: 600.
	HeartbeatTimeout pulumi.IntPtrOutput `pulumi:"heartbeatTimeout"`
	// Type of Scaling activity attached to lifecycle hook. Supported value: SCALE_OUT, SCALE_IN.
	LifecycleTransition pulumi.StringOutput `pulumi:"lifecycleTransition"`
	// The name of the lifecycle hook, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is lifecycle hook id.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Arn of notification target.
	NotificationArn pulumi.StringOutput `pulumi:"notificationArn"`
	// Additional information that you want to include when Auto Scaling sends a message to the notification target.
	NotificationMetadata pulumi.StringOutput `pulumi:"notificationMetadata"`
	// The ID of the Auto Scaling group to which you want to assign the lifecycle hook.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
}

## Import

Ess lifecycle hook can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/lifecycleHook:LifecycleHook example ash-l12345

```

func GetLifecycleHook

func GetLifecycleHook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LifecycleHookState, opts ...pulumi.ResourceOption) (*LifecycleHook, error)

GetLifecycleHook gets an existing LifecycleHook 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 NewLifecycleHook

func NewLifecycleHook(ctx *pulumi.Context,
	name string, args *LifecycleHookArgs, opts ...pulumi.ResourceOption) (*LifecycleHook, error)

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

func (*LifecycleHook) ElementType

func (*LifecycleHook) ElementType() reflect.Type

func (*LifecycleHook) ToLifecycleHookOutput

func (i *LifecycleHook) ToLifecycleHookOutput() LifecycleHookOutput

func (*LifecycleHook) ToLifecycleHookOutputWithContext

func (i *LifecycleHook) ToLifecycleHookOutputWithContext(ctx context.Context) LifecycleHookOutput

type LifecycleHookArgs

type LifecycleHookArgs struct {
	// Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses. Applicable value: CONTINUE, ABANDON, ROLLBACK, default value: CONTINUE.
	DefaultResult pulumi.StringPtrInput
	// Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the defaultResult parameter. Default value: 600.
	HeartbeatTimeout pulumi.IntPtrInput
	// Type of Scaling activity attached to lifecycle hook. Supported value: SCALE_OUT, SCALE_IN.
	LifecycleTransition pulumi.StringInput
	// The name of the lifecycle hook, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is lifecycle hook id.
	Name pulumi.StringPtrInput
	// The Arn of notification target.
	NotificationArn pulumi.StringPtrInput
	// Additional information that you want to include when Auto Scaling sends a message to the notification target.
	NotificationMetadata pulumi.StringPtrInput
	// The ID of the Auto Scaling group to which you want to assign the lifecycle hook.
	ScalingGroupId pulumi.StringInput
}

The set of arguments for constructing a LifecycleHook resource.

func (LifecycleHookArgs) ElementType

func (LifecycleHookArgs) ElementType() reflect.Type

type LifecycleHookArray

type LifecycleHookArray []LifecycleHookInput

func (LifecycleHookArray) ElementType

func (LifecycleHookArray) ElementType() reflect.Type

func (LifecycleHookArray) ToLifecycleHookArrayOutput

func (i LifecycleHookArray) ToLifecycleHookArrayOutput() LifecycleHookArrayOutput

func (LifecycleHookArray) ToLifecycleHookArrayOutputWithContext

func (i LifecycleHookArray) ToLifecycleHookArrayOutputWithContext(ctx context.Context) LifecycleHookArrayOutput

type LifecycleHookArrayInput

type LifecycleHookArrayInput interface {
	pulumi.Input

	ToLifecycleHookArrayOutput() LifecycleHookArrayOutput
	ToLifecycleHookArrayOutputWithContext(context.Context) LifecycleHookArrayOutput
}

LifecycleHookArrayInput is an input type that accepts LifecycleHookArray and LifecycleHookArrayOutput values. You can construct a concrete instance of `LifecycleHookArrayInput` via:

LifecycleHookArray{ LifecycleHookArgs{...} }

type LifecycleHookArrayOutput

type LifecycleHookArrayOutput struct{ *pulumi.OutputState }

func (LifecycleHookArrayOutput) ElementType

func (LifecycleHookArrayOutput) ElementType() reflect.Type

func (LifecycleHookArrayOutput) Index

func (LifecycleHookArrayOutput) ToLifecycleHookArrayOutput

func (o LifecycleHookArrayOutput) ToLifecycleHookArrayOutput() LifecycleHookArrayOutput

func (LifecycleHookArrayOutput) ToLifecycleHookArrayOutputWithContext

func (o LifecycleHookArrayOutput) ToLifecycleHookArrayOutputWithContext(ctx context.Context) LifecycleHookArrayOutput

type LifecycleHookInput

type LifecycleHookInput interface {
	pulumi.Input

	ToLifecycleHookOutput() LifecycleHookOutput
	ToLifecycleHookOutputWithContext(ctx context.Context) LifecycleHookOutput
}

type LifecycleHookMap

type LifecycleHookMap map[string]LifecycleHookInput

func (LifecycleHookMap) ElementType

func (LifecycleHookMap) ElementType() reflect.Type

func (LifecycleHookMap) ToLifecycleHookMapOutput

func (i LifecycleHookMap) ToLifecycleHookMapOutput() LifecycleHookMapOutput

func (LifecycleHookMap) ToLifecycleHookMapOutputWithContext

func (i LifecycleHookMap) ToLifecycleHookMapOutputWithContext(ctx context.Context) LifecycleHookMapOutput

type LifecycleHookMapInput

type LifecycleHookMapInput interface {
	pulumi.Input

	ToLifecycleHookMapOutput() LifecycleHookMapOutput
	ToLifecycleHookMapOutputWithContext(context.Context) LifecycleHookMapOutput
}

LifecycleHookMapInput is an input type that accepts LifecycleHookMap and LifecycleHookMapOutput values. You can construct a concrete instance of `LifecycleHookMapInput` via:

LifecycleHookMap{ "key": LifecycleHookArgs{...} }

type LifecycleHookMapOutput

type LifecycleHookMapOutput struct{ *pulumi.OutputState }

func (LifecycleHookMapOutput) ElementType

func (LifecycleHookMapOutput) ElementType() reflect.Type

func (LifecycleHookMapOutput) MapIndex

func (LifecycleHookMapOutput) ToLifecycleHookMapOutput

func (o LifecycleHookMapOutput) ToLifecycleHookMapOutput() LifecycleHookMapOutput

func (LifecycleHookMapOutput) ToLifecycleHookMapOutputWithContext

func (o LifecycleHookMapOutput) ToLifecycleHookMapOutputWithContext(ctx context.Context) LifecycleHookMapOutput

type LifecycleHookOutput

type LifecycleHookOutput struct{ *pulumi.OutputState }

func (LifecycleHookOutput) DefaultResult

func (o LifecycleHookOutput) DefaultResult() pulumi.StringPtrOutput

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses. Applicable value: CONTINUE, ABANDON, ROLLBACK, default value: CONTINUE.

func (LifecycleHookOutput) ElementType

func (LifecycleHookOutput) ElementType() reflect.Type

func (LifecycleHookOutput) HeartbeatTimeout

func (o LifecycleHookOutput) HeartbeatTimeout() pulumi.IntPtrOutput

Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the defaultResult parameter. Default value: 600.

func (LifecycleHookOutput) LifecycleTransition

func (o LifecycleHookOutput) LifecycleTransition() pulumi.StringOutput

Type of Scaling activity attached to lifecycle hook. Supported value: SCALE_OUT, SCALE_IN.

func (LifecycleHookOutput) Name

The name of the lifecycle hook, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is lifecycle hook id.

func (LifecycleHookOutput) NotificationArn

func (o LifecycleHookOutput) NotificationArn() pulumi.StringOutput

The Arn of notification target.

func (LifecycleHookOutput) NotificationMetadata

func (o LifecycleHookOutput) NotificationMetadata() pulumi.StringOutput

Additional information that you want to include when Auto Scaling sends a message to the notification target.

func (LifecycleHookOutput) ScalingGroupId

func (o LifecycleHookOutput) ScalingGroupId() pulumi.StringOutput

The ID of the Auto Scaling group to which you want to assign the lifecycle hook.

func (LifecycleHookOutput) ToLifecycleHookOutput

func (o LifecycleHookOutput) ToLifecycleHookOutput() LifecycleHookOutput

func (LifecycleHookOutput) ToLifecycleHookOutputWithContext

func (o LifecycleHookOutput) ToLifecycleHookOutputWithContext(ctx context.Context) LifecycleHookOutput

type LifecycleHookState

type LifecycleHookState struct {
	// Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses. Applicable value: CONTINUE, ABANDON, ROLLBACK, default value: CONTINUE.
	DefaultResult pulumi.StringPtrInput
	// Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the defaultResult parameter. Default value: 600.
	HeartbeatTimeout pulumi.IntPtrInput
	// Type of Scaling activity attached to lifecycle hook. Supported value: SCALE_OUT, SCALE_IN.
	LifecycleTransition pulumi.StringPtrInput
	// The name of the lifecycle hook, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is lifecycle hook id.
	Name pulumi.StringPtrInput
	// The Arn of notification target.
	NotificationArn pulumi.StringPtrInput
	// Additional information that you want to include when Auto Scaling sends a message to the notification target.
	NotificationMetadata pulumi.StringPtrInput
	// The ID of the Auto Scaling group to which you want to assign the lifecycle hook.
	ScalingGroupId pulumi.StringPtrInput
}

func (LifecycleHookState) ElementType

func (LifecycleHookState) ElementType() reflect.Type

type Notification

type Notification struct {
	pulumi.CustomResourceState

	// The Alibaba Cloud Resource Name (ARN) of the notification object, The value must be in `acs:ess:{region}:{account-id}:{resource-relative-id}` format.
	// * region: the region ID of the scaling group. For more information, see `Regions and zones`
	// * account-id: the ID of your account.
	// * resource-relative-id: the notification method. Valid values : `cloudmonitor`, MNS queue: `queue/{queuename}`, Replace the queuename with the specific MNS queue name, MNS topic: `topic/{topicname}`, Replace the topicname with the specific MNS topic name.
	NotificationArn pulumi.StringOutput `pulumi:"notificationArn"`
	// The notification types of Auto Scaling events and resource changes. Supported notification types: 'AUTOSCALING:SCALE_OUT_SUCCESS', 'AUTOSCALING:SCALE_IN_SUCCESS', 'AUTOSCALING:SCALE_OUT_ERROR', 'AUTOSCALING:SCALE_IN_ERROR', 'AUTOSCALING:SCALE_REJECT', 'AUTOSCALING:SCALE_OUT_START', 'AUTOSCALING:SCALE_IN_START', 'AUTOSCALING:SCHEDULE_TASK_EXPIRING'.
	NotificationTypes pulumi.StringArrayOutput `pulumi:"notificationTypes"`
	// The ID of the Auto Scaling group.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
}

Provides a ESS notification resource. More about Ess notification, see [Autoscaling Notification](https://www.alibabacloud.com/help/doc-detail/71114.htm).

> **NOTE:** Available in 1.55.0+

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ess"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/mns"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := fmt.Sprintf("tf-testAccEssNotification-%vd", "%")
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultRegions, err := alicloud.GetRegions(ctx, &GetRegionsArgs{
			Current: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		defaultAccount, err := alicloud.GetAccount(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{
			AvailableDiskCategory:     pulumi.StringRef("cloud_efficiency"),
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("172.16.0.0/24"),
			ZoneId:      pulumi.String(defaultZones.Zones[0].Id),
			VswitchName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultScalingGroup, err := ess.NewScalingGroup(ctx, "defaultScalingGroup", &ess.ScalingGroupArgs{
			MinSize:          pulumi.Int(1),
			MaxSize:          pulumi.Int(1),
			ScalingGroupName: pulumi.String(name),
			RemovalPolicies: pulumi.StringArray{
				pulumi.String("OldestInstance"),
				pulumi.String("NewestInstance"),
			},
			VswitchIds: pulumi.StringArray{
				defaultSwitch.ID(),
			},
		})
		if err != nil {
			return err
		}
		defaultQueue, err := mns.NewQueue(ctx, "defaultQueue", nil)
		if err != nil {
			return err
		}
		_, err = ess.NewNotification(ctx, "defaultNotification", &ess.NotificationArgs{
			ScalingGroupId: defaultScalingGroup.ID(),
			NotificationTypes: pulumi.StringArray{
				pulumi.String("AUTOSCALING:SCALE_OUT_SUCCESS"),
				pulumi.String("AUTOSCALING:SCALE_OUT_ERROR"),
			},
			NotificationArn: defaultQueue.Name.ApplyT(func(name string) (string, error) {
				return fmt.Sprintf("acs:ess:%v:%v:queue/%v", defaultRegions.Regions[0].Id, defaultAccount.Id, name), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ess notification can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/notification:Notification example 'scaling_group_id:notification_arn'

```

func GetNotification

func GetNotification(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NotificationState, opts ...pulumi.ResourceOption) (*Notification, error)

GetNotification gets an existing Notification 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 NewNotification

func NewNotification(ctx *pulumi.Context,
	name string, args *NotificationArgs, opts ...pulumi.ResourceOption) (*Notification, error)

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

func (*Notification) ElementType

func (*Notification) ElementType() reflect.Type

func (*Notification) ToNotificationOutput

func (i *Notification) ToNotificationOutput() NotificationOutput

func (*Notification) ToNotificationOutputWithContext

func (i *Notification) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput

type NotificationArgs

type NotificationArgs struct {
	// The Alibaba Cloud Resource Name (ARN) of the notification object, The value must be in `acs:ess:{region}:{account-id}:{resource-relative-id}` format.
	// * region: the region ID of the scaling group. For more information, see `Regions and zones`
	// * account-id: the ID of your account.
	// * resource-relative-id: the notification method. Valid values : `cloudmonitor`, MNS queue: `queue/{queuename}`, Replace the queuename with the specific MNS queue name, MNS topic: `topic/{topicname}`, Replace the topicname with the specific MNS topic name.
	NotificationArn pulumi.StringInput
	// The notification types of Auto Scaling events and resource changes. Supported notification types: 'AUTOSCALING:SCALE_OUT_SUCCESS', 'AUTOSCALING:SCALE_IN_SUCCESS', 'AUTOSCALING:SCALE_OUT_ERROR', 'AUTOSCALING:SCALE_IN_ERROR', 'AUTOSCALING:SCALE_REJECT', 'AUTOSCALING:SCALE_OUT_START', 'AUTOSCALING:SCALE_IN_START', 'AUTOSCALING:SCHEDULE_TASK_EXPIRING'.
	NotificationTypes pulumi.StringArrayInput
	// The ID of the Auto Scaling group.
	ScalingGroupId pulumi.StringInput
}

The set of arguments for constructing a Notification resource.

func (NotificationArgs) ElementType

func (NotificationArgs) ElementType() reflect.Type

type NotificationArray

type NotificationArray []NotificationInput

func (NotificationArray) ElementType

func (NotificationArray) ElementType() reflect.Type

func (NotificationArray) ToNotificationArrayOutput

func (i NotificationArray) ToNotificationArrayOutput() NotificationArrayOutput

func (NotificationArray) ToNotificationArrayOutputWithContext

func (i NotificationArray) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput

type NotificationArrayInput

type NotificationArrayInput interface {
	pulumi.Input

	ToNotificationArrayOutput() NotificationArrayOutput
	ToNotificationArrayOutputWithContext(context.Context) NotificationArrayOutput
}

NotificationArrayInput is an input type that accepts NotificationArray and NotificationArrayOutput values. You can construct a concrete instance of `NotificationArrayInput` via:

NotificationArray{ NotificationArgs{...} }

type NotificationArrayOutput

type NotificationArrayOutput struct{ *pulumi.OutputState }

func (NotificationArrayOutput) ElementType

func (NotificationArrayOutput) ElementType() reflect.Type

func (NotificationArrayOutput) Index

func (NotificationArrayOutput) ToNotificationArrayOutput

func (o NotificationArrayOutput) ToNotificationArrayOutput() NotificationArrayOutput

func (NotificationArrayOutput) ToNotificationArrayOutputWithContext

func (o NotificationArrayOutput) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput

type NotificationInput

type NotificationInput interface {
	pulumi.Input

	ToNotificationOutput() NotificationOutput
	ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
}

type NotificationMap

type NotificationMap map[string]NotificationInput

func (NotificationMap) ElementType

func (NotificationMap) ElementType() reflect.Type

func (NotificationMap) ToNotificationMapOutput

func (i NotificationMap) ToNotificationMapOutput() NotificationMapOutput

func (NotificationMap) ToNotificationMapOutputWithContext

func (i NotificationMap) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput

type NotificationMapInput

type NotificationMapInput interface {
	pulumi.Input

	ToNotificationMapOutput() NotificationMapOutput
	ToNotificationMapOutputWithContext(context.Context) NotificationMapOutput
}

NotificationMapInput is an input type that accepts NotificationMap and NotificationMapOutput values. You can construct a concrete instance of `NotificationMapInput` via:

NotificationMap{ "key": NotificationArgs{...} }

type NotificationMapOutput

type NotificationMapOutput struct{ *pulumi.OutputState }

func (NotificationMapOutput) ElementType

func (NotificationMapOutput) ElementType() reflect.Type

func (NotificationMapOutput) MapIndex

func (NotificationMapOutput) ToNotificationMapOutput

func (o NotificationMapOutput) ToNotificationMapOutput() NotificationMapOutput

func (NotificationMapOutput) ToNotificationMapOutputWithContext

func (o NotificationMapOutput) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput

type NotificationOutput

type NotificationOutput struct{ *pulumi.OutputState }

func (NotificationOutput) ElementType

func (NotificationOutput) ElementType() reflect.Type

func (NotificationOutput) NotificationArn

func (o NotificationOutput) NotificationArn() pulumi.StringOutput

The Alibaba Cloud Resource Name (ARN) of the notification object, The value must be in `acs:ess:{region}:{account-id}:{resource-relative-id}` format. * region: the region ID of the scaling group. For more information, see `Regions and zones` * account-id: the ID of your account. * resource-relative-id: the notification method. Valid values : `cloudmonitor`, MNS queue: `queue/{queuename}`, Replace the queuename with the specific MNS queue name, MNS topic: `topic/{topicname}`, Replace the topicname with the specific MNS topic name.

func (NotificationOutput) NotificationTypes

func (o NotificationOutput) NotificationTypes() pulumi.StringArrayOutput

The notification types of Auto Scaling events and resource changes. Supported notification types: 'AUTOSCALING:SCALE_OUT_SUCCESS', 'AUTOSCALING:SCALE_IN_SUCCESS', 'AUTOSCALING:SCALE_OUT_ERROR', 'AUTOSCALING:SCALE_IN_ERROR', 'AUTOSCALING:SCALE_REJECT', 'AUTOSCALING:SCALE_OUT_START', 'AUTOSCALING:SCALE_IN_START', 'AUTOSCALING:SCHEDULE_TASK_EXPIRING'.

func (NotificationOutput) ScalingGroupId

func (o NotificationOutput) ScalingGroupId() pulumi.StringOutput

The ID of the Auto Scaling group.

func (NotificationOutput) ToNotificationOutput

func (o NotificationOutput) ToNotificationOutput() NotificationOutput

func (NotificationOutput) ToNotificationOutputWithContext

func (o NotificationOutput) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput

type NotificationState

type NotificationState struct {
	// The Alibaba Cloud Resource Name (ARN) of the notification object, The value must be in `acs:ess:{region}:{account-id}:{resource-relative-id}` format.
	// * region: the region ID of the scaling group. For more information, see `Regions and zones`
	// * account-id: the ID of your account.
	// * resource-relative-id: the notification method. Valid values : `cloudmonitor`, MNS queue: `queue/{queuename}`, Replace the queuename with the specific MNS queue name, MNS topic: `topic/{topicname}`, Replace the topicname with the specific MNS topic name.
	NotificationArn pulumi.StringPtrInput
	// The notification types of Auto Scaling events and resource changes. Supported notification types: 'AUTOSCALING:SCALE_OUT_SUCCESS', 'AUTOSCALING:SCALE_IN_SUCCESS', 'AUTOSCALING:SCALE_OUT_ERROR', 'AUTOSCALING:SCALE_IN_ERROR', 'AUTOSCALING:SCALE_REJECT', 'AUTOSCALING:SCALE_OUT_START', 'AUTOSCALING:SCALE_IN_START', 'AUTOSCALING:SCHEDULE_TASK_EXPIRING'.
	NotificationTypes pulumi.StringArrayInput
	// The ID of the Auto Scaling group.
	ScalingGroupId pulumi.StringPtrInput
}

func (NotificationState) ElementType

func (NotificationState) ElementType() reflect.Type

type ScalingConfiguration

type ScalingConfiguration struct {
	pulumi.CustomResourceState

	// Whether active current scaling configuration in the specified scaling group. Default to `false`.
	Active pulumi.BoolOutput `pulumi:"active"`
	// Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
	CreditSpecification pulumi.StringPtrOutput `pulumi:"creditSpecification"`
	// DataDisk mappings to attach to ecs instance. See Block datadisk below for details.
	DataDisks ScalingConfigurationDataDiskArrayOutput `pulumi:"dataDisks"`
	// Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.
	Enable pulumi.BoolPtrOutput `pulumi:"enable"`
	// The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
	ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"`
	// Hostname of an ECS instance.
	HostName pulumi.StringPtrOutput `pulumi:"hostName"`
	// ID of an image file, indicating the image resource selected when an instance is enabled.
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// Name of an image file, indicating the image resource selected when an instance is enabled.
	ImageName pulumi.StringPtrOutput `pulumi:"imageName"`
	// It has been deprecated from version 1.6.0. New resource `ess.Attachment` replaces it.
	//
	// Deprecated: Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
	InstanceIds pulumi.StringArrayOutput `pulumi:"instanceIds"`
	// Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
	InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"`
	// intelligent configuration mode. In this mode, you only need to specify the number of vCPUs, memory size, instance family, and maximum price. The system selects an instance type that is provided at the lowest price based on your configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode helps reduce the failures of scale-out activities caused by insufficient inventory of instance types
	InstancePatternInfos ScalingConfigurationInstancePatternInfoArrayOutput `pulumi:"instancePatternInfos"`
	// Resource type of an ECS instance.
	InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"`
	// Resource types of an ECS instance.
	InstanceTypes pulumi.StringArrayOutput `pulumi:"instanceTypes"`
	// Network billing type, Values: PayByBandwidth or PayByTraffic. Default to `PayByBandwidth`.
	InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"`
	// Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
	InternetMaxBandwidthIn pulumi.IntOutput `pulumi:"internetMaxBandwidthIn"`
	// Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
	InternetMaxBandwidthOut pulumi.IntPtrOutput `pulumi:"internetMaxBandwidthOut"`
	// It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
	//
	// Deprecated: Attribute io_optimized has been deprecated on instance resource. All the launched alicloud instances will be IO optimized. Suggest to remove it from your template.
	IoOptimized pulumi.StringPtrOutput `pulumi:"ioOptimized"`
	// Whether to use outdated instance type. Default to false.
	IsOutdated pulumi.BoolPtrOutput `pulumi:"isOutdated"`
	// The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
	KeyName pulumi.StringPtrOutput `pulumi:"keyName"`
	// An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.
	KmsEncryptedPassword pulumi.StringPtrOutput `pulumi:"kmsEncryptedPassword"`
	// An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a db account with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.
	KmsEncryptionContext pulumi.MapOutput `pulumi:"kmsEncryptionContext"`
	// Indicates whether to overwrite the existing data. Default to false.
	Override pulumi.BoolPtrOutput `pulumi:"override"`
	// The password of the ECS instance. The password must be 8 to 30 characters in length. It must contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `() ~!@#$%^&*-_+=\|{}[]:;'<>,.?/`, The password of Windows-based instances cannot start with a forward slash (/).
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the `password` and `kmsEncryptedPassword` will be ignored. You must ensure that the selected image has a password configured.
	PasswordInherit pulumi.BoolPtrOutput `pulumi:"passwordInherit"`
	// ID of resource group.
	ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"`
	// Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one.
	RoleName pulumi.StringPtrOutput `pulumi:"roleName"`
	// Name shown for the scheduled task. which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is ScalingConfigurationId.
	ScalingConfigurationName pulumi.StringOutput `pulumi:"scalingConfigurationName"`
	// ID of the scaling group of a scaling configuration.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
	// ID of the security group used to create new instance. It is conflict with `securityGroupIds`.
	SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"`
	// List IDs of the security group used to create new instances. It is conflict with `securityGroupId`.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
	SpotPriceLimits ScalingConfigurationSpotPriceLimitArrayOutput `pulumi:"spotPriceLimits"`
	// The spot strategy for a Pay-As-You-Go instance. Valid values: `NoSpot`, `SpotAsPriceGo`, `SpotWithPriceLimit`.
	SpotStrategy pulumi.StringPtrOutput `pulumi:"spotStrategy"`
	// The another scaling configuration which will be active automatically and replace current configuration when setting `active` to 'false'. It is invalid when `active` is 'true'.
	Substitute pulumi.StringOutput `pulumi:"substitute"`
	// The id of auto snapshot policy for system disk.
	SystemDiskAutoSnapshotPolicyId pulumi.StringPtrOutput `pulumi:"systemDiskAutoSnapshotPolicyId"`
	// Category of the system disk. The parameter value options are `ephemeralSsd`, `cloudEfficiency`, `cloudSsd`, `cloudEssd` and `cloud`. `cloud` only is used to some no I/O optimized instance. Default to `cloudEfficiency`.
	SystemDiskCategory pulumi.StringPtrOutput `pulumi:"systemDiskCategory"`
	// The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
	SystemDiskDescription pulumi.StringPtrOutput `pulumi:"systemDiskDescription"`
	// The name of the system disk. It must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Default value: null.
	SystemDiskName pulumi.StringPtrOutput `pulumi:"systemDiskName"`
	// The performance level of the ESSD used as the system disk.
	SystemDiskPerformanceLevel pulumi.StringPtrOutput `pulumi:"systemDiskPerformanceLevel"`
	// Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
	SystemDiskSize pulumi.IntPtrOutput `pulumi:"systemDiskSize"`
	// A mapping of tags to assign to the resource. It will be applied for ECS instances finally.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
}

## Import

ESS scaling configuration can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/scalingConfiguration:ScalingConfiguration example asg-abc123456

```

func GetScalingConfiguration

func GetScalingConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScalingConfigurationState, opts ...pulumi.ResourceOption) (*ScalingConfiguration, error)

GetScalingConfiguration gets an existing ScalingConfiguration 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 NewScalingConfiguration

func NewScalingConfiguration(ctx *pulumi.Context,
	name string, args *ScalingConfigurationArgs, opts ...pulumi.ResourceOption) (*ScalingConfiguration, error)

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

func (*ScalingConfiguration) ElementType

func (*ScalingConfiguration) ElementType() reflect.Type

func (*ScalingConfiguration) ToScalingConfigurationOutput

func (i *ScalingConfiguration) ToScalingConfigurationOutput() ScalingConfigurationOutput

func (*ScalingConfiguration) ToScalingConfigurationOutputWithContext

func (i *ScalingConfiguration) ToScalingConfigurationOutputWithContext(ctx context.Context) ScalingConfigurationOutput

type ScalingConfigurationArgs

type ScalingConfigurationArgs struct {
	// Whether active current scaling configuration in the specified scaling group. Default to `false`.
	Active pulumi.BoolPtrInput
	// Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
	CreditSpecification pulumi.StringPtrInput
	// DataDisk mappings to attach to ecs instance. See Block datadisk below for details.
	DataDisks ScalingConfigurationDataDiskArrayInput
	// Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.
	Enable pulumi.BoolPtrInput
	// The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
	ForceDelete pulumi.BoolPtrInput
	// Hostname of an ECS instance.
	HostName pulumi.StringPtrInput
	// ID of an image file, indicating the image resource selected when an instance is enabled.
	ImageId pulumi.StringPtrInput
	// Name of an image file, indicating the image resource selected when an instance is enabled.
	ImageName pulumi.StringPtrInput
	// It has been deprecated from version 1.6.0. New resource `ess.Attachment` replaces it.
	//
	// Deprecated: Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
	InstanceIds pulumi.StringArrayInput
	// Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
	InstanceName pulumi.StringPtrInput
	// intelligent configuration mode. In this mode, you only need to specify the number of vCPUs, memory size, instance family, and maximum price. The system selects an instance type that is provided at the lowest price based on your configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode helps reduce the failures of scale-out activities caused by insufficient inventory of instance types
	InstancePatternInfos ScalingConfigurationInstancePatternInfoArrayInput
	// Resource type of an ECS instance.
	InstanceType pulumi.StringPtrInput
	// Resource types of an ECS instance.
	InstanceTypes pulumi.StringArrayInput
	// Network billing type, Values: PayByBandwidth or PayByTraffic. Default to `PayByBandwidth`.
	InternetChargeType pulumi.StringPtrInput
	// Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
	InternetMaxBandwidthIn pulumi.IntPtrInput
	// Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
	//
	// Deprecated: Attribute io_optimized has been deprecated on instance resource. All the launched alicloud instances will be IO optimized. Suggest to remove it from your template.
	IoOptimized pulumi.StringPtrInput
	// Whether to use outdated instance type. Default to false.
	IsOutdated pulumi.BoolPtrInput
	// The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
	KeyName pulumi.StringPtrInput
	// An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.
	KmsEncryptedPassword pulumi.StringPtrInput
	// An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a db account with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.
	KmsEncryptionContext pulumi.MapInput
	// Indicates whether to overwrite the existing data. Default to false.
	Override pulumi.BoolPtrInput
	// The password of the ECS instance. The password must be 8 to 30 characters in length. It must contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `() ~!@#$%^&*-_+=\|{}[]:;'<>,.?/`, The password of Windows-based instances cannot start with a forward slash (/).
	Password pulumi.StringPtrInput
	// Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the `password` and `kmsEncryptedPassword` will be ignored. You must ensure that the selected image has a password configured.
	PasswordInherit pulumi.BoolPtrInput
	// ID of resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one.
	RoleName pulumi.StringPtrInput
	// Name shown for the scheduled task. which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is ScalingConfigurationId.
	ScalingConfigurationName pulumi.StringPtrInput
	// ID of the scaling group of a scaling configuration.
	ScalingGroupId pulumi.StringInput
	// ID of the security group used to create new instance. It is conflict with `securityGroupIds`.
	SecurityGroupId pulumi.StringPtrInput
	// List IDs of the security group used to create new instances. It is conflict with `securityGroupId`.
	SecurityGroupIds pulumi.StringArrayInput
	// Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
	SpotPriceLimits ScalingConfigurationSpotPriceLimitArrayInput
	// The spot strategy for a Pay-As-You-Go instance. Valid values: `NoSpot`, `SpotAsPriceGo`, `SpotWithPriceLimit`.
	SpotStrategy pulumi.StringPtrInput
	// The another scaling configuration which will be active automatically and replace current configuration when setting `active` to 'false'. It is invalid when `active` is 'true'.
	Substitute pulumi.StringPtrInput
	// The id of auto snapshot policy for system disk.
	SystemDiskAutoSnapshotPolicyId pulumi.StringPtrInput
	// Category of the system disk. The parameter value options are `ephemeralSsd`, `cloudEfficiency`, `cloudSsd`, `cloudEssd` and `cloud`. `cloud` only is used to some no I/O optimized instance. Default to `cloudEfficiency`.
	SystemDiskCategory pulumi.StringPtrInput
	// The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
	SystemDiskDescription pulumi.StringPtrInput
	// The name of the system disk. It must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Default value: null.
	SystemDiskName pulumi.StringPtrInput
	// The performance level of the ESSD used as the system disk.
	SystemDiskPerformanceLevel pulumi.StringPtrInput
	// Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
	SystemDiskSize pulumi.IntPtrInput
	// A mapping of tags to assign to the resource. It will be applied for ECS instances finally.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
	Tags pulumi.MapInput
	// User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.
	UserData pulumi.StringPtrInput
}

The set of arguments for constructing a ScalingConfiguration resource.

func (ScalingConfigurationArgs) ElementType

func (ScalingConfigurationArgs) ElementType() reflect.Type

type ScalingConfigurationArray

type ScalingConfigurationArray []ScalingConfigurationInput

func (ScalingConfigurationArray) ElementType

func (ScalingConfigurationArray) ElementType() reflect.Type

func (ScalingConfigurationArray) ToScalingConfigurationArrayOutput

func (i ScalingConfigurationArray) ToScalingConfigurationArrayOutput() ScalingConfigurationArrayOutput

func (ScalingConfigurationArray) ToScalingConfigurationArrayOutputWithContext

func (i ScalingConfigurationArray) ToScalingConfigurationArrayOutputWithContext(ctx context.Context) ScalingConfigurationArrayOutput

type ScalingConfigurationArrayInput

type ScalingConfigurationArrayInput interface {
	pulumi.Input

	ToScalingConfigurationArrayOutput() ScalingConfigurationArrayOutput
	ToScalingConfigurationArrayOutputWithContext(context.Context) ScalingConfigurationArrayOutput
}

ScalingConfigurationArrayInput is an input type that accepts ScalingConfigurationArray and ScalingConfigurationArrayOutput values. You can construct a concrete instance of `ScalingConfigurationArrayInput` via:

ScalingConfigurationArray{ ScalingConfigurationArgs{...} }

type ScalingConfigurationArrayOutput

type ScalingConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ScalingConfigurationArrayOutput) ElementType

func (ScalingConfigurationArrayOutput) Index

func (ScalingConfigurationArrayOutput) ToScalingConfigurationArrayOutput

func (o ScalingConfigurationArrayOutput) ToScalingConfigurationArrayOutput() ScalingConfigurationArrayOutput

func (ScalingConfigurationArrayOutput) ToScalingConfigurationArrayOutputWithContext

func (o ScalingConfigurationArrayOutput) ToScalingConfigurationArrayOutputWithContext(ctx context.Context) ScalingConfigurationArrayOutput

type ScalingConfigurationDataDisk

type ScalingConfigurationDataDisk struct {
	AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"`
	Category             *string `pulumi:"category"`
	DeleteWithInstance   *bool   `pulumi:"deleteWithInstance"`
	Description          *string `pulumi:"description"`
	// Deprecated: Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.
	Device           *string `pulumi:"device"`
	Encrypted        *bool   `pulumi:"encrypted"`
	KmsKeyId         *string `pulumi:"kmsKeyId"`
	Name             *string `pulumi:"name"`
	PerformanceLevel *string `pulumi:"performanceLevel"`
	Size             *int    `pulumi:"size"`
	SnapshotId       *string `pulumi:"snapshotId"`
}

type ScalingConfigurationDataDiskArgs

type ScalingConfigurationDataDiskArgs struct {
	AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"`
	Category             pulumi.StringPtrInput `pulumi:"category"`
	DeleteWithInstance   pulumi.BoolPtrInput   `pulumi:"deleteWithInstance"`
	Description          pulumi.StringPtrInput `pulumi:"description"`
	// Deprecated: Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.
	Device           pulumi.StringPtrInput `pulumi:"device"`
	Encrypted        pulumi.BoolPtrInput   `pulumi:"encrypted"`
	KmsKeyId         pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	Name             pulumi.StringPtrInput `pulumi:"name"`
	PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"`
	Size             pulumi.IntPtrInput    `pulumi:"size"`
	SnapshotId       pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (ScalingConfigurationDataDiskArgs) ElementType

func (ScalingConfigurationDataDiskArgs) ToScalingConfigurationDataDiskOutput

func (i ScalingConfigurationDataDiskArgs) ToScalingConfigurationDataDiskOutput() ScalingConfigurationDataDiskOutput

func (ScalingConfigurationDataDiskArgs) ToScalingConfigurationDataDiskOutputWithContext

func (i ScalingConfigurationDataDiskArgs) ToScalingConfigurationDataDiskOutputWithContext(ctx context.Context) ScalingConfigurationDataDiskOutput

type ScalingConfigurationDataDiskArray

type ScalingConfigurationDataDiskArray []ScalingConfigurationDataDiskInput

func (ScalingConfigurationDataDiskArray) ElementType

func (ScalingConfigurationDataDiskArray) ToScalingConfigurationDataDiskArrayOutput

func (i ScalingConfigurationDataDiskArray) ToScalingConfigurationDataDiskArrayOutput() ScalingConfigurationDataDiskArrayOutput

func (ScalingConfigurationDataDiskArray) ToScalingConfigurationDataDiskArrayOutputWithContext

func (i ScalingConfigurationDataDiskArray) ToScalingConfigurationDataDiskArrayOutputWithContext(ctx context.Context) ScalingConfigurationDataDiskArrayOutput

type ScalingConfigurationDataDiskArrayInput

type ScalingConfigurationDataDiskArrayInput interface {
	pulumi.Input

	ToScalingConfigurationDataDiskArrayOutput() ScalingConfigurationDataDiskArrayOutput
	ToScalingConfigurationDataDiskArrayOutputWithContext(context.Context) ScalingConfigurationDataDiskArrayOutput
}

ScalingConfigurationDataDiskArrayInput is an input type that accepts ScalingConfigurationDataDiskArray and ScalingConfigurationDataDiskArrayOutput values. You can construct a concrete instance of `ScalingConfigurationDataDiskArrayInput` via:

ScalingConfigurationDataDiskArray{ ScalingConfigurationDataDiskArgs{...} }

type ScalingConfigurationDataDiskArrayOutput

type ScalingConfigurationDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ScalingConfigurationDataDiskArrayOutput) ElementType

func (ScalingConfigurationDataDiskArrayOutput) Index

func (ScalingConfigurationDataDiskArrayOutput) ToScalingConfigurationDataDiskArrayOutput

func (o ScalingConfigurationDataDiskArrayOutput) ToScalingConfigurationDataDiskArrayOutput() ScalingConfigurationDataDiskArrayOutput

func (ScalingConfigurationDataDiskArrayOutput) ToScalingConfigurationDataDiskArrayOutputWithContext

func (o ScalingConfigurationDataDiskArrayOutput) ToScalingConfigurationDataDiskArrayOutputWithContext(ctx context.Context) ScalingConfigurationDataDiskArrayOutput

type ScalingConfigurationDataDiskInput

type ScalingConfigurationDataDiskInput interface {
	pulumi.Input

	ToScalingConfigurationDataDiskOutput() ScalingConfigurationDataDiskOutput
	ToScalingConfigurationDataDiskOutputWithContext(context.Context) ScalingConfigurationDataDiskOutput
}

ScalingConfigurationDataDiskInput is an input type that accepts ScalingConfigurationDataDiskArgs and ScalingConfigurationDataDiskOutput values. You can construct a concrete instance of `ScalingConfigurationDataDiskInput` via:

ScalingConfigurationDataDiskArgs{...}

type ScalingConfigurationDataDiskOutput

type ScalingConfigurationDataDiskOutput struct{ *pulumi.OutputState }

func (ScalingConfigurationDataDiskOutput) AutoSnapshotPolicyId

func (ScalingConfigurationDataDiskOutput) Category

func (ScalingConfigurationDataDiskOutput) DeleteWithInstance

func (ScalingConfigurationDataDiskOutput) Description

func (ScalingConfigurationDataDiskOutput) Device deprecated

Deprecated: Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.

func (ScalingConfigurationDataDiskOutput) ElementType

func (ScalingConfigurationDataDiskOutput) Encrypted

func (ScalingConfigurationDataDiskOutput) KmsKeyId

func (ScalingConfigurationDataDiskOutput) Name

func (ScalingConfigurationDataDiskOutput) PerformanceLevel

func (ScalingConfigurationDataDiskOutput) Size

func (ScalingConfigurationDataDiskOutput) SnapshotId

func (ScalingConfigurationDataDiskOutput) ToScalingConfigurationDataDiskOutput

func (o ScalingConfigurationDataDiskOutput) ToScalingConfigurationDataDiskOutput() ScalingConfigurationDataDiskOutput

func (ScalingConfigurationDataDiskOutput) ToScalingConfigurationDataDiskOutputWithContext

func (o ScalingConfigurationDataDiskOutput) ToScalingConfigurationDataDiskOutputWithContext(ctx context.Context) ScalingConfigurationDataDiskOutput

type ScalingConfigurationInput

type ScalingConfigurationInput interface {
	pulumi.Input

	ToScalingConfigurationOutput() ScalingConfigurationOutput
	ToScalingConfigurationOutputWithContext(ctx context.Context) ScalingConfigurationOutput
}

type ScalingConfigurationInstancePatternInfo

type ScalingConfigurationInstancePatternInfo struct {
	Cores               *int     `pulumi:"cores"`
	InstanceFamilyLevel *string  `pulumi:"instanceFamilyLevel"`
	MaxPrice            *float64 `pulumi:"maxPrice"`
	Memory              *float64 `pulumi:"memory"`
}

type ScalingConfigurationInstancePatternInfoArgs

type ScalingConfigurationInstancePatternInfoArgs struct {
	Cores               pulumi.IntPtrInput     `pulumi:"cores"`
	InstanceFamilyLevel pulumi.StringPtrInput  `pulumi:"instanceFamilyLevel"`
	MaxPrice            pulumi.Float64PtrInput `pulumi:"maxPrice"`
	Memory              pulumi.Float64PtrInput `pulumi:"memory"`
}

func (ScalingConfigurationInstancePatternInfoArgs) ElementType

func (ScalingConfigurationInstancePatternInfoArgs) ToScalingConfigurationInstancePatternInfoOutput

func (i ScalingConfigurationInstancePatternInfoArgs) ToScalingConfigurationInstancePatternInfoOutput() ScalingConfigurationInstancePatternInfoOutput

func (ScalingConfigurationInstancePatternInfoArgs) ToScalingConfigurationInstancePatternInfoOutputWithContext

func (i ScalingConfigurationInstancePatternInfoArgs) ToScalingConfigurationInstancePatternInfoOutputWithContext(ctx context.Context) ScalingConfigurationInstancePatternInfoOutput

type ScalingConfigurationInstancePatternInfoArray

type ScalingConfigurationInstancePatternInfoArray []ScalingConfigurationInstancePatternInfoInput

func (ScalingConfigurationInstancePatternInfoArray) ElementType

func (ScalingConfigurationInstancePatternInfoArray) ToScalingConfigurationInstancePatternInfoArrayOutput

func (i ScalingConfigurationInstancePatternInfoArray) ToScalingConfigurationInstancePatternInfoArrayOutput() ScalingConfigurationInstancePatternInfoArrayOutput

func (ScalingConfigurationInstancePatternInfoArray) ToScalingConfigurationInstancePatternInfoArrayOutputWithContext

func (i ScalingConfigurationInstancePatternInfoArray) ToScalingConfigurationInstancePatternInfoArrayOutputWithContext(ctx context.Context) ScalingConfigurationInstancePatternInfoArrayOutput

type ScalingConfigurationInstancePatternInfoArrayInput

type ScalingConfigurationInstancePatternInfoArrayInput interface {
	pulumi.Input

	ToScalingConfigurationInstancePatternInfoArrayOutput() ScalingConfigurationInstancePatternInfoArrayOutput
	ToScalingConfigurationInstancePatternInfoArrayOutputWithContext(context.Context) ScalingConfigurationInstancePatternInfoArrayOutput
}

ScalingConfigurationInstancePatternInfoArrayInput is an input type that accepts ScalingConfigurationInstancePatternInfoArray and ScalingConfigurationInstancePatternInfoArrayOutput values. You can construct a concrete instance of `ScalingConfigurationInstancePatternInfoArrayInput` via:

ScalingConfigurationInstancePatternInfoArray{ ScalingConfigurationInstancePatternInfoArgs{...} }

type ScalingConfigurationInstancePatternInfoArrayOutput

type ScalingConfigurationInstancePatternInfoArrayOutput struct{ *pulumi.OutputState }

func (ScalingConfigurationInstancePatternInfoArrayOutput) ElementType

func (ScalingConfigurationInstancePatternInfoArrayOutput) Index

func (ScalingConfigurationInstancePatternInfoArrayOutput) ToScalingConfigurationInstancePatternInfoArrayOutput

func (o ScalingConfigurationInstancePatternInfoArrayOutput) ToScalingConfigurationInstancePatternInfoArrayOutput() ScalingConfigurationInstancePatternInfoArrayOutput

func (ScalingConfigurationInstancePatternInfoArrayOutput) ToScalingConfigurationInstancePatternInfoArrayOutputWithContext

func (o ScalingConfigurationInstancePatternInfoArrayOutput) ToScalingConfigurationInstancePatternInfoArrayOutputWithContext(ctx context.Context) ScalingConfigurationInstancePatternInfoArrayOutput

type ScalingConfigurationInstancePatternInfoInput

type ScalingConfigurationInstancePatternInfoInput interface {
	pulumi.Input

	ToScalingConfigurationInstancePatternInfoOutput() ScalingConfigurationInstancePatternInfoOutput
	ToScalingConfigurationInstancePatternInfoOutputWithContext(context.Context) ScalingConfigurationInstancePatternInfoOutput
}

ScalingConfigurationInstancePatternInfoInput is an input type that accepts ScalingConfigurationInstancePatternInfoArgs and ScalingConfigurationInstancePatternInfoOutput values. You can construct a concrete instance of `ScalingConfigurationInstancePatternInfoInput` via:

ScalingConfigurationInstancePatternInfoArgs{...}

type ScalingConfigurationInstancePatternInfoOutput

type ScalingConfigurationInstancePatternInfoOutput struct{ *pulumi.OutputState }

func (ScalingConfigurationInstancePatternInfoOutput) Cores

func (ScalingConfigurationInstancePatternInfoOutput) ElementType

func (ScalingConfigurationInstancePatternInfoOutput) InstanceFamilyLevel

func (ScalingConfigurationInstancePatternInfoOutput) MaxPrice

func (ScalingConfigurationInstancePatternInfoOutput) Memory

func (ScalingConfigurationInstancePatternInfoOutput) ToScalingConfigurationInstancePatternInfoOutput

func (o ScalingConfigurationInstancePatternInfoOutput) ToScalingConfigurationInstancePatternInfoOutput() ScalingConfigurationInstancePatternInfoOutput

func (ScalingConfigurationInstancePatternInfoOutput) ToScalingConfigurationInstancePatternInfoOutputWithContext

func (o ScalingConfigurationInstancePatternInfoOutput) ToScalingConfigurationInstancePatternInfoOutputWithContext(ctx context.Context) ScalingConfigurationInstancePatternInfoOutput

type ScalingConfigurationMap

type ScalingConfigurationMap map[string]ScalingConfigurationInput

func (ScalingConfigurationMap) ElementType

func (ScalingConfigurationMap) ElementType() reflect.Type

func (ScalingConfigurationMap) ToScalingConfigurationMapOutput

func (i ScalingConfigurationMap) ToScalingConfigurationMapOutput() ScalingConfigurationMapOutput

func (ScalingConfigurationMap) ToScalingConfigurationMapOutputWithContext

func (i ScalingConfigurationMap) ToScalingConfigurationMapOutputWithContext(ctx context.Context) ScalingConfigurationMapOutput

type ScalingConfigurationMapInput

type ScalingConfigurationMapInput interface {
	pulumi.Input

	ToScalingConfigurationMapOutput() ScalingConfigurationMapOutput
	ToScalingConfigurationMapOutputWithContext(context.Context) ScalingConfigurationMapOutput
}

ScalingConfigurationMapInput is an input type that accepts ScalingConfigurationMap and ScalingConfigurationMapOutput values. You can construct a concrete instance of `ScalingConfigurationMapInput` via:

ScalingConfigurationMap{ "key": ScalingConfigurationArgs{...} }

type ScalingConfigurationMapOutput

type ScalingConfigurationMapOutput struct{ *pulumi.OutputState }

func (ScalingConfigurationMapOutput) ElementType

func (ScalingConfigurationMapOutput) MapIndex

func (ScalingConfigurationMapOutput) ToScalingConfigurationMapOutput

func (o ScalingConfigurationMapOutput) ToScalingConfigurationMapOutput() ScalingConfigurationMapOutput

func (ScalingConfigurationMapOutput) ToScalingConfigurationMapOutputWithContext

func (o ScalingConfigurationMapOutput) ToScalingConfigurationMapOutputWithContext(ctx context.Context) ScalingConfigurationMapOutput

type ScalingConfigurationOutput

type ScalingConfigurationOutput struct{ *pulumi.OutputState }

func (ScalingConfigurationOutput) Active

Whether active current scaling configuration in the specified scaling group. Default to `false`.

func (ScalingConfigurationOutput) CreditSpecification

func (o ScalingConfigurationOutput) CreditSpecification() pulumi.StringPtrOutput

Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.

func (ScalingConfigurationOutput) DataDisks

DataDisk mappings to attach to ecs instance. See Block datadisk below for details.

func (ScalingConfigurationOutput) ElementType

func (ScalingConfigurationOutput) ElementType() reflect.Type

func (ScalingConfigurationOutput) Enable

Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.

func (ScalingConfigurationOutput) ForceDelete

The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.

func (ScalingConfigurationOutput) HostName

Hostname of an ECS instance.

func (ScalingConfigurationOutput) ImageId

ID of an image file, indicating the image resource selected when an instance is enabled.

func (ScalingConfigurationOutput) ImageName

Name of an image file, indicating the image resource selected when an instance is enabled.

func (ScalingConfigurationOutput) InstanceIds deprecated

It has been deprecated from version 1.6.0. New resource `ess.Attachment` replaces it.

Deprecated: Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.

func (ScalingConfigurationOutput) InstanceName

Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.

func (ScalingConfigurationOutput) InstancePatternInfos

intelligent configuration mode. In this mode, you only need to specify the number of vCPUs, memory size, instance family, and maximum price. The system selects an instance type that is provided at the lowest price based on your configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode helps reduce the failures of scale-out activities caused by insufficient inventory of instance types

func (ScalingConfigurationOutput) InstanceType

Resource type of an ECS instance.

func (ScalingConfigurationOutput) InstanceTypes

Resource types of an ECS instance.

func (ScalingConfigurationOutput) InternetChargeType

func (o ScalingConfigurationOutput) InternetChargeType() pulumi.StringPtrOutput

Network billing type, Values: PayByBandwidth or PayByTraffic. Default to `PayByBandwidth`.

func (ScalingConfigurationOutput) InternetMaxBandwidthIn

func (o ScalingConfigurationOutput) InternetMaxBandwidthIn() pulumi.IntOutput

Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].

func (ScalingConfigurationOutput) InternetMaxBandwidthOut

func (o ScalingConfigurationOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].

func (ScalingConfigurationOutput) IoOptimized deprecated

It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.

Deprecated: Attribute io_optimized has been deprecated on instance resource. All the launched alicloud instances will be IO optimized. Suggest to remove it from your template.

func (ScalingConfigurationOutput) IsOutdated

Whether to use outdated instance type. Default to false.

func (ScalingConfigurationOutput) KeyName

The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.

func (ScalingConfigurationOutput) KmsEncryptedPassword

func (o ScalingConfigurationOutput) KmsEncryptedPassword() pulumi.StringPtrOutput

An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.

func (ScalingConfigurationOutput) KmsEncryptionContext

func (o ScalingConfigurationOutput) KmsEncryptionContext() pulumi.MapOutput

An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a db account with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.

func (ScalingConfigurationOutput) Override

Indicates whether to overwrite the existing data. Default to false.

func (ScalingConfigurationOutput) Password

The password of the ECS instance. The password must be 8 to 30 characters in length. It must contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `() ~!@#$%^&*-_+=\|{}[]:;'<>,.?/`, The password of Windows-based instances cannot start with a forward slash (/).

func (ScalingConfigurationOutput) PasswordInherit

func (o ScalingConfigurationOutput) PasswordInherit() pulumi.BoolPtrOutput

Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the `password` and `kmsEncryptedPassword` will be ignored. You must ensure that the selected image has a password configured.

func (ScalingConfigurationOutput) ResourceGroupId

ID of resource group.

func (ScalingConfigurationOutput) RoleName

Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one.

func (ScalingConfigurationOutput) ScalingConfigurationName

func (o ScalingConfigurationOutput) ScalingConfigurationName() pulumi.StringOutput

Name shown for the scheduled task. which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is ScalingConfigurationId.

func (ScalingConfigurationOutput) ScalingGroupId

func (o ScalingConfigurationOutput) ScalingGroupId() pulumi.StringOutput

ID of the scaling group of a scaling configuration.

func (ScalingConfigurationOutput) SecurityGroupId

ID of the security group used to create new instance. It is conflict with `securityGroupIds`.

func (ScalingConfigurationOutput) SecurityGroupIds

List IDs of the security group used to create new instances. It is conflict with `securityGroupId`.

func (ScalingConfigurationOutput) SpotPriceLimits

Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.

func (ScalingConfigurationOutput) SpotStrategy

The spot strategy for a Pay-As-You-Go instance. Valid values: `NoSpot`, `SpotAsPriceGo`, `SpotWithPriceLimit`.

func (ScalingConfigurationOutput) Substitute

The another scaling configuration which will be active automatically and replace current configuration when setting `active` to 'false'. It is invalid when `active` is 'true'.

func (ScalingConfigurationOutput) SystemDiskAutoSnapshotPolicyId

func (o ScalingConfigurationOutput) SystemDiskAutoSnapshotPolicyId() pulumi.StringPtrOutput

The id of auto snapshot policy for system disk.

func (ScalingConfigurationOutput) SystemDiskCategory

func (o ScalingConfigurationOutput) SystemDiskCategory() pulumi.StringPtrOutput

Category of the system disk. The parameter value options are `ephemeralSsd`, `cloudEfficiency`, `cloudSsd`, `cloudEssd` and `cloud`. `cloud` only is used to some no I/O optimized instance. Default to `cloudEfficiency`.

func (ScalingConfigurationOutput) SystemDiskDescription

func (o ScalingConfigurationOutput) SystemDiskDescription() pulumi.StringPtrOutput

The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

func (ScalingConfigurationOutput) SystemDiskName

The name of the system disk. It must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Default value: null.

func (ScalingConfigurationOutput) SystemDiskPerformanceLevel

func (o ScalingConfigurationOutput) SystemDiskPerformanceLevel() pulumi.StringPtrOutput

The performance level of the ESSD used as the system disk.

func (ScalingConfigurationOutput) SystemDiskSize

func (o ScalingConfigurationOutput) SystemDiskSize() pulumi.IntPtrOutput

Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.

func (ScalingConfigurationOutput) Tags

A mapping of tags to assign to the resource. It will be applied for ECS instances finally. - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.

func (ScalingConfigurationOutput) ToScalingConfigurationOutput

func (o ScalingConfigurationOutput) ToScalingConfigurationOutput() ScalingConfigurationOutput

func (ScalingConfigurationOutput) ToScalingConfigurationOutputWithContext

func (o ScalingConfigurationOutput) ToScalingConfigurationOutputWithContext(ctx context.Context) ScalingConfigurationOutput

func (ScalingConfigurationOutput) UserData

User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.

type ScalingConfigurationSpotPriceLimit

type ScalingConfigurationSpotPriceLimit struct {
	// Resource type of an ECS instance.
	InstanceType *string  `pulumi:"instanceType"`
	PriceLimit   *float64 `pulumi:"priceLimit"`
}

type ScalingConfigurationSpotPriceLimitArgs

type ScalingConfigurationSpotPriceLimitArgs struct {
	// Resource type of an ECS instance.
	InstanceType pulumi.StringPtrInput  `pulumi:"instanceType"`
	PriceLimit   pulumi.Float64PtrInput `pulumi:"priceLimit"`
}

func (ScalingConfigurationSpotPriceLimitArgs) ElementType

func (ScalingConfigurationSpotPriceLimitArgs) ToScalingConfigurationSpotPriceLimitOutput

func (i ScalingConfigurationSpotPriceLimitArgs) ToScalingConfigurationSpotPriceLimitOutput() ScalingConfigurationSpotPriceLimitOutput

func (ScalingConfigurationSpotPriceLimitArgs) ToScalingConfigurationSpotPriceLimitOutputWithContext

func (i ScalingConfigurationSpotPriceLimitArgs) ToScalingConfigurationSpotPriceLimitOutputWithContext(ctx context.Context) ScalingConfigurationSpotPriceLimitOutput

type ScalingConfigurationSpotPriceLimitArray

type ScalingConfigurationSpotPriceLimitArray []ScalingConfigurationSpotPriceLimitInput

func (ScalingConfigurationSpotPriceLimitArray) ElementType

func (ScalingConfigurationSpotPriceLimitArray) ToScalingConfigurationSpotPriceLimitArrayOutput

func (i ScalingConfigurationSpotPriceLimitArray) ToScalingConfigurationSpotPriceLimitArrayOutput() ScalingConfigurationSpotPriceLimitArrayOutput

func (ScalingConfigurationSpotPriceLimitArray) ToScalingConfigurationSpotPriceLimitArrayOutputWithContext

func (i ScalingConfigurationSpotPriceLimitArray) ToScalingConfigurationSpotPriceLimitArrayOutputWithContext(ctx context.Context) ScalingConfigurationSpotPriceLimitArrayOutput

type ScalingConfigurationSpotPriceLimitArrayInput

type ScalingConfigurationSpotPriceLimitArrayInput interface {
	pulumi.Input

	ToScalingConfigurationSpotPriceLimitArrayOutput() ScalingConfigurationSpotPriceLimitArrayOutput
	ToScalingConfigurationSpotPriceLimitArrayOutputWithContext(context.Context) ScalingConfigurationSpotPriceLimitArrayOutput
}

ScalingConfigurationSpotPriceLimitArrayInput is an input type that accepts ScalingConfigurationSpotPriceLimitArray and ScalingConfigurationSpotPriceLimitArrayOutput values. You can construct a concrete instance of `ScalingConfigurationSpotPriceLimitArrayInput` via:

ScalingConfigurationSpotPriceLimitArray{ ScalingConfigurationSpotPriceLimitArgs{...} }

type ScalingConfigurationSpotPriceLimitArrayOutput

type ScalingConfigurationSpotPriceLimitArrayOutput struct{ *pulumi.OutputState }

func (ScalingConfigurationSpotPriceLimitArrayOutput) ElementType

func (ScalingConfigurationSpotPriceLimitArrayOutput) Index

func (ScalingConfigurationSpotPriceLimitArrayOutput) ToScalingConfigurationSpotPriceLimitArrayOutput

func (o ScalingConfigurationSpotPriceLimitArrayOutput) ToScalingConfigurationSpotPriceLimitArrayOutput() ScalingConfigurationSpotPriceLimitArrayOutput

func (ScalingConfigurationSpotPriceLimitArrayOutput) ToScalingConfigurationSpotPriceLimitArrayOutputWithContext

func (o ScalingConfigurationSpotPriceLimitArrayOutput) ToScalingConfigurationSpotPriceLimitArrayOutputWithContext(ctx context.Context) ScalingConfigurationSpotPriceLimitArrayOutput

type ScalingConfigurationSpotPriceLimitInput

type ScalingConfigurationSpotPriceLimitInput interface {
	pulumi.Input

	ToScalingConfigurationSpotPriceLimitOutput() ScalingConfigurationSpotPriceLimitOutput
	ToScalingConfigurationSpotPriceLimitOutputWithContext(context.Context) ScalingConfigurationSpotPriceLimitOutput
}

ScalingConfigurationSpotPriceLimitInput is an input type that accepts ScalingConfigurationSpotPriceLimitArgs and ScalingConfigurationSpotPriceLimitOutput values. You can construct a concrete instance of `ScalingConfigurationSpotPriceLimitInput` via:

ScalingConfigurationSpotPriceLimitArgs{...}

type ScalingConfigurationSpotPriceLimitOutput

type ScalingConfigurationSpotPriceLimitOutput struct{ *pulumi.OutputState }

func (ScalingConfigurationSpotPriceLimitOutput) ElementType

func (ScalingConfigurationSpotPriceLimitOutput) InstanceType

Resource type of an ECS instance.

func (ScalingConfigurationSpotPriceLimitOutput) PriceLimit

func (ScalingConfigurationSpotPriceLimitOutput) ToScalingConfigurationSpotPriceLimitOutput

func (o ScalingConfigurationSpotPriceLimitOutput) ToScalingConfigurationSpotPriceLimitOutput() ScalingConfigurationSpotPriceLimitOutput

func (ScalingConfigurationSpotPriceLimitOutput) ToScalingConfigurationSpotPriceLimitOutputWithContext

func (o ScalingConfigurationSpotPriceLimitOutput) ToScalingConfigurationSpotPriceLimitOutputWithContext(ctx context.Context) ScalingConfigurationSpotPriceLimitOutput

type ScalingConfigurationState

type ScalingConfigurationState struct {
	// Whether active current scaling configuration in the specified scaling group. Default to `false`.
	Active pulumi.BoolPtrInput
	// Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
	CreditSpecification pulumi.StringPtrInput
	// DataDisk mappings to attach to ecs instance. See Block datadisk below for details.
	DataDisks ScalingConfigurationDataDiskArrayInput
	// Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.
	Enable pulumi.BoolPtrInput
	// The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
	ForceDelete pulumi.BoolPtrInput
	// Hostname of an ECS instance.
	HostName pulumi.StringPtrInput
	// ID of an image file, indicating the image resource selected when an instance is enabled.
	ImageId pulumi.StringPtrInput
	// Name of an image file, indicating the image resource selected when an instance is enabled.
	ImageName pulumi.StringPtrInput
	// It has been deprecated from version 1.6.0. New resource `ess.Attachment` replaces it.
	//
	// Deprecated: Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
	InstanceIds pulumi.StringArrayInput
	// Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
	InstanceName pulumi.StringPtrInput
	// intelligent configuration mode. In this mode, you only need to specify the number of vCPUs, memory size, instance family, and maximum price. The system selects an instance type that is provided at the lowest price based on your configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode helps reduce the failures of scale-out activities caused by insufficient inventory of instance types
	InstancePatternInfos ScalingConfigurationInstancePatternInfoArrayInput
	// Resource type of an ECS instance.
	InstanceType pulumi.StringPtrInput
	// Resource types of an ECS instance.
	InstanceTypes pulumi.StringArrayInput
	// Network billing type, Values: PayByBandwidth or PayByTraffic. Default to `PayByBandwidth`.
	InternetChargeType pulumi.StringPtrInput
	// Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
	InternetMaxBandwidthIn pulumi.IntPtrInput
	// Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
	//
	// Deprecated: Attribute io_optimized has been deprecated on instance resource. All the launched alicloud instances will be IO optimized. Suggest to remove it from your template.
	IoOptimized pulumi.StringPtrInput
	// Whether to use outdated instance type. Default to false.
	IsOutdated pulumi.BoolPtrInput
	// The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
	KeyName pulumi.StringPtrInput
	// An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.
	KmsEncryptedPassword pulumi.StringPtrInput
	// An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a db account with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.
	KmsEncryptionContext pulumi.MapInput
	// Indicates whether to overwrite the existing data. Default to false.
	Override pulumi.BoolPtrInput
	// The password of the ECS instance. The password must be 8 to 30 characters in length. It must contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `() ~!@#$%^&*-_+=\|{}[]:;'<>,.?/`, The password of Windows-based instances cannot start with a forward slash (/).
	Password pulumi.StringPtrInput
	// Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the `password` and `kmsEncryptedPassword` will be ignored. You must ensure that the selected image has a password configured.
	PasswordInherit pulumi.BoolPtrInput
	// ID of resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one.
	RoleName pulumi.StringPtrInput
	// Name shown for the scheduled task. which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is ScalingConfigurationId.
	ScalingConfigurationName pulumi.StringPtrInput
	// ID of the scaling group of a scaling configuration.
	ScalingGroupId pulumi.StringPtrInput
	// ID of the security group used to create new instance. It is conflict with `securityGroupIds`.
	SecurityGroupId pulumi.StringPtrInput
	// List IDs of the security group used to create new instances. It is conflict with `securityGroupId`.
	SecurityGroupIds pulumi.StringArrayInput
	// Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
	SpotPriceLimits ScalingConfigurationSpotPriceLimitArrayInput
	// The spot strategy for a Pay-As-You-Go instance. Valid values: `NoSpot`, `SpotAsPriceGo`, `SpotWithPriceLimit`.
	SpotStrategy pulumi.StringPtrInput
	// The another scaling configuration which will be active automatically and replace current configuration when setting `active` to 'false'. It is invalid when `active` is 'true'.
	Substitute pulumi.StringPtrInput
	// The id of auto snapshot policy for system disk.
	SystemDiskAutoSnapshotPolicyId pulumi.StringPtrInput
	// Category of the system disk. The parameter value options are `ephemeralSsd`, `cloudEfficiency`, `cloudSsd`, `cloudEssd` and `cloud`. `cloud` only is used to some no I/O optimized instance. Default to `cloudEfficiency`.
	SystemDiskCategory pulumi.StringPtrInput
	// The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
	SystemDiskDescription pulumi.StringPtrInput
	// The name of the system disk. It must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Default value: null.
	SystemDiskName pulumi.StringPtrInput
	// The performance level of the ESSD used as the system disk.
	SystemDiskPerformanceLevel pulumi.StringPtrInput
	// Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
	SystemDiskSize pulumi.IntPtrInput
	// A mapping of tags to assign to the resource. It will be applied for ECS instances finally.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
	Tags pulumi.MapInput
	// User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.
	UserData pulumi.StringPtrInput
}

func (ScalingConfigurationState) ElementType

func (ScalingConfigurationState) ElementType() reflect.Type

type ScalingGroup

type ScalingGroup struct {
	pulumi.CustomResourceState

	// If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
	// - The specified RDS instance must be in running status.
	// - The specified RDS instance’s whitelist must have room for more IP addresses.
	DbInstanceIds pulumi.StringArrayOutput `pulumi:"dbInstanceIds"`
	// Default cool-down time (in seconds) of the scaling group. Value range: [0, 86400]. The default value is 300s.
	DefaultCooldown pulumi.IntPtrOutput `pulumi:"defaultCooldown"`
	// Expected number of ECS instances in the scaling group. Value range: [min_size, maxSize].
	DesiredCapacity pulumi.IntPtrOutput `pulumi:"desiredCapacity"`
	// Specifies whether the scaling group deletion protection is enabled. `true` or `false`, Default value: `false`.
	GroupDeletionProtection pulumi.BoolPtrOutput `pulumi:"groupDeletionProtection"`
	// Resource type within scaling group. Optional values: ECS, ECI. Default to ECS.
	GroupType pulumi.StringOutput `pulumi:"groupType"`
	// Resource type within scaling group. Optional values: ECS, NONE. Default to ECS.
	HealthCheckType pulumi.StringOutput `pulumi:"healthCheckType"`
	// Instance launch template ID, scaling group obtains launch configuration from instance launch template, see [Launch Template](https://www.alibabacloud.com/help/doc-detail/73916.html). Creating scaling group from launch template enable group automatically.
	LaunchTemplateId pulumi.StringPtrOutput `pulumi:"launchTemplateId"`
	// The version number of the launch template. Valid values are the version number, `Latest`, or `Default`, Default value: `Default`.
	LaunchTemplateVersion pulumi.StringPtrOutput `pulumi:"launchTemplateVersion"`
	// If a Server Load Balancer instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server Load Balancer instance.
	// - The Server Load Balancer instance must be enabled.
	// - At least one listener must be configured for each Server Load Balancer and it HealthCheck must be on. Otherwise, creation will fail (it may be useful to add a `dependsOn` argument
	//   targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
	// - The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
	// - The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
	LoadbalancerIds pulumi.StringArrayOutput `pulumi:"loadbalancerIds"`
	// Maximum number of ECS instances in the scaling group. Value range: [0, 1000].
	MaxSize pulumi.IntOutput `pulumi:"maxSize"`
	// Minimum number of ECS instances in the scaling group. Value range: [0, 1000].
	MinSize pulumi.IntOutput `pulumi:"minSize"`
	// Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available in 1.54.0+).
	MultiAzPolicy pulumi.StringPtrOutput `pulumi:"multiAzPolicy"`
	// The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.
	OnDemandBaseCapacity pulumi.IntOutput `pulumi:"onDemandBaseCapacity"`
	// Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.
	OnDemandPercentageAboveBaseCapacity pulumi.IntOutput `pulumi:"onDemandPercentageAboveBaseCapacity"`
	// Set or unset instances within group into protected status.
	ProtectedInstances pulumi.StringArrayOutput `pulumi:"protectedInstances"`
	// RemovalPolicy is used to select the ECS instances you want to remove from the scaling group when multiple candidates for removal exist. Optional values:
	// - OldestInstance: removes the ECS instance that is added to the scaling group at the earliest point in time.
	// - NewestInstance: removes the ECS instance that is added to the scaling group at the latest point in time.
	// - OldestScalingConfiguration: removes the ECS instance that is created based on the earliest scaling configuration.
	// - Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
	RemovalPolicies pulumi.StringArrayOutput `pulumi:"removalPolicies"`
	// Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
	ScalingGroupName pulumi.StringPtrOutput `pulumi:"scalingGroupName"`
	// The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
	SpotInstancePools pulumi.IntOutput `pulumi:"spotInstancePools"`
	// Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
	SpotInstanceRemedy pulumi.BoolOutput `pulumi:"spotInstanceRemedy"`
	// A mapping of tags to assign to the resource.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.
	//
	// Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.
	VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"`
	// List of virtual switch IDs in which the ecs instances to be launched.
	VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"`
}

## Import

ESS scaling group can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/scalingGroup:ScalingGroup example asg-abc123456

```

func GetScalingGroup

func GetScalingGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScalingGroupState, opts ...pulumi.ResourceOption) (*ScalingGroup, error)

GetScalingGroup gets an existing ScalingGroup 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 NewScalingGroup

func NewScalingGroup(ctx *pulumi.Context,
	name string, args *ScalingGroupArgs, opts ...pulumi.ResourceOption) (*ScalingGroup, error)

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

func (*ScalingGroup) ElementType

func (*ScalingGroup) ElementType() reflect.Type

func (*ScalingGroup) ToScalingGroupOutput

func (i *ScalingGroup) ToScalingGroupOutput() ScalingGroupOutput

func (*ScalingGroup) ToScalingGroupOutputWithContext

func (i *ScalingGroup) ToScalingGroupOutputWithContext(ctx context.Context) ScalingGroupOutput

type ScalingGroupArgs

type ScalingGroupArgs struct {
	// If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
	// - The specified RDS instance must be in running status.
	// - The specified RDS instance’s whitelist must have room for more IP addresses.
	DbInstanceIds pulumi.StringArrayInput
	// Default cool-down time (in seconds) of the scaling group. Value range: [0, 86400]. The default value is 300s.
	DefaultCooldown pulumi.IntPtrInput
	// Expected number of ECS instances in the scaling group. Value range: [min_size, maxSize].
	DesiredCapacity pulumi.IntPtrInput
	// Specifies whether the scaling group deletion protection is enabled. `true` or `false`, Default value: `false`.
	GroupDeletionProtection pulumi.BoolPtrInput
	// Resource type within scaling group. Optional values: ECS, ECI. Default to ECS.
	GroupType pulumi.StringPtrInput
	// Resource type within scaling group. Optional values: ECS, NONE. Default to ECS.
	HealthCheckType pulumi.StringPtrInput
	// Instance launch template ID, scaling group obtains launch configuration from instance launch template, see [Launch Template](https://www.alibabacloud.com/help/doc-detail/73916.html). Creating scaling group from launch template enable group automatically.
	LaunchTemplateId pulumi.StringPtrInput
	// The version number of the launch template. Valid values are the version number, `Latest`, or `Default`, Default value: `Default`.
	LaunchTemplateVersion pulumi.StringPtrInput
	// If a Server Load Balancer instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server Load Balancer instance.
	// - The Server Load Balancer instance must be enabled.
	// - At least one listener must be configured for each Server Load Balancer and it HealthCheck must be on. Otherwise, creation will fail (it may be useful to add a `dependsOn` argument
	//   targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
	// - The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
	// - The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
	LoadbalancerIds pulumi.StringArrayInput
	// Maximum number of ECS instances in the scaling group. Value range: [0, 1000].
	MaxSize pulumi.IntInput
	// Minimum number of ECS instances in the scaling group. Value range: [0, 1000].
	MinSize pulumi.IntInput
	// Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available in 1.54.0+).
	MultiAzPolicy pulumi.StringPtrInput
	// The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.
	OnDemandBaseCapacity pulumi.IntPtrInput
	// Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.
	OnDemandPercentageAboveBaseCapacity pulumi.IntPtrInput
	// Set or unset instances within group into protected status.
	ProtectedInstances pulumi.StringArrayInput
	// RemovalPolicy is used to select the ECS instances you want to remove from the scaling group when multiple candidates for removal exist. Optional values:
	// - OldestInstance: removes the ECS instance that is added to the scaling group at the earliest point in time.
	// - NewestInstance: removes the ECS instance that is added to the scaling group at the latest point in time.
	// - OldestScalingConfiguration: removes the ECS instance that is created based on the earliest scaling configuration.
	// - Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
	RemovalPolicies pulumi.StringArrayInput
	// Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
	ScalingGroupName pulumi.StringPtrInput
	// The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
	SpotInstancePools pulumi.IntPtrInput
	// Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
	SpotInstanceRemedy pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapInput
	// It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.
	//
	// Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.
	VswitchId pulumi.StringPtrInput
	// List of virtual switch IDs in which the ecs instances to be launched.
	VswitchIds pulumi.StringArrayInput
}

The set of arguments for constructing a ScalingGroup resource.

func (ScalingGroupArgs) ElementType

func (ScalingGroupArgs) ElementType() reflect.Type

type ScalingGroupArray

type ScalingGroupArray []ScalingGroupInput

func (ScalingGroupArray) ElementType

func (ScalingGroupArray) ElementType() reflect.Type

func (ScalingGroupArray) ToScalingGroupArrayOutput

func (i ScalingGroupArray) ToScalingGroupArrayOutput() ScalingGroupArrayOutput

func (ScalingGroupArray) ToScalingGroupArrayOutputWithContext

func (i ScalingGroupArray) ToScalingGroupArrayOutputWithContext(ctx context.Context) ScalingGroupArrayOutput

type ScalingGroupArrayInput

type ScalingGroupArrayInput interface {
	pulumi.Input

	ToScalingGroupArrayOutput() ScalingGroupArrayOutput
	ToScalingGroupArrayOutputWithContext(context.Context) ScalingGroupArrayOutput
}

ScalingGroupArrayInput is an input type that accepts ScalingGroupArray and ScalingGroupArrayOutput values. You can construct a concrete instance of `ScalingGroupArrayInput` via:

ScalingGroupArray{ ScalingGroupArgs{...} }

type ScalingGroupArrayOutput

type ScalingGroupArrayOutput struct{ *pulumi.OutputState }

func (ScalingGroupArrayOutput) ElementType

func (ScalingGroupArrayOutput) ElementType() reflect.Type

func (ScalingGroupArrayOutput) Index

func (ScalingGroupArrayOutput) ToScalingGroupArrayOutput

func (o ScalingGroupArrayOutput) ToScalingGroupArrayOutput() ScalingGroupArrayOutput

func (ScalingGroupArrayOutput) ToScalingGroupArrayOutputWithContext

func (o ScalingGroupArrayOutput) ToScalingGroupArrayOutputWithContext(ctx context.Context) ScalingGroupArrayOutput

type ScalingGroupInput

type ScalingGroupInput interface {
	pulumi.Input

	ToScalingGroupOutput() ScalingGroupOutput
	ToScalingGroupOutputWithContext(ctx context.Context) ScalingGroupOutput
}

type ScalingGroupMap

type ScalingGroupMap map[string]ScalingGroupInput

func (ScalingGroupMap) ElementType

func (ScalingGroupMap) ElementType() reflect.Type

func (ScalingGroupMap) ToScalingGroupMapOutput

func (i ScalingGroupMap) ToScalingGroupMapOutput() ScalingGroupMapOutput

func (ScalingGroupMap) ToScalingGroupMapOutputWithContext

func (i ScalingGroupMap) ToScalingGroupMapOutputWithContext(ctx context.Context) ScalingGroupMapOutput

type ScalingGroupMapInput

type ScalingGroupMapInput interface {
	pulumi.Input

	ToScalingGroupMapOutput() ScalingGroupMapOutput
	ToScalingGroupMapOutputWithContext(context.Context) ScalingGroupMapOutput
}

ScalingGroupMapInput is an input type that accepts ScalingGroupMap and ScalingGroupMapOutput values. You can construct a concrete instance of `ScalingGroupMapInput` via:

ScalingGroupMap{ "key": ScalingGroupArgs{...} }

type ScalingGroupMapOutput

type ScalingGroupMapOutput struct{ *pulumi.OutputState }

func (ScalingGroupMapOutput) ElementType

func (ScalingGroupMapOutput) ElementType() reflect.Type

func (ScalingGroupMapOutput) MapIndex

func (ScalingGroupMapOutput) ToScalingGroupMapOutput

func (o ScalingGroupMapOutput) ToScalingGroupMapOutput() ScalingGroupMapOutput

func (ScalingGroupMapOutput) ToScalingGroupMapOutputWithContext

func (o ScalingGroupMapOutput) ToScalingGroupMapOutputWithContext(ctx context.Context) ScalingGroupMapOutput

type ScalingGroupOutput

type ScalingGroupOutput struct{ *pulumi.OutputState }

func (ScalingGroupOutput) DbInstanceIds

func (o ScalingGroupOutput) DbInstanceIds() pulumi.StringArrayOutput

If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist. - The specified RDS instance must be in running status. - The specified RDS instance’s whitelist must have room for more IP addresses.

func (ScalingGroupOutput) DefaultCooldown

func (o ScalingGroupOutput) DefaultCooldown() pulumi.IntPtrOutput

Default cool-down time (in seconds) of the scaling group. Value range: [0, 86400]. The default value is 300s.

func (ScalingGroupOutput) DesiredCapacity

func (o ScalingGroupOutput) DesiredCapacity() pulumi.IntPtrOutput

Expected number of ECS instances in the scaling group. Value range: [min_size, maxSize].

func (ScalingGroupOutput) ElementType

func (ScalingGroupOutput) ElementType() reflect.Type

func (ScalingGroupOutput) GroupDeletionProtection

func (o ScalingGroupOutput) GroupDeletionProtection() pulumi.BoolPtrOutput

Specifies whether the scaling group deletion protection is enabled. `true` or `false`, Default value: `false`.

func (ScalingGroupOutput) GroupType

func (o ScalingGroupOutput) GroupType() pulumi.StringOutput

Resource type within scaling group. Optional values: ECS, ECI. Default to ECS.

func (ScalingGroupOutput) HealthCheckType

func (o ScalingGroupOutput) HealthCheckType() pulumi.StringOutput

Resource type within scaling group. Optional values: ECS, NONE. Default to ECS.

func (ScalingGroupOutput) LaunchTemplateId

func (o ScalingGroupOutput) LaunchTemplateId() pulumi.StringPtrOutput

Instance launch template ID, scaling group obtains launch configuration from instance launch template, see [Launch Template](https://www.alibabacloud.com/help/doc-detail/73916.html). Creating scaling group from launch template enable group automatically.

func (ScalingGroupOutput) LaunchTemplateVersion

func (o ScalingGroupOutput) LaunchTemplateVersion() pulumi.StringPtrOutput

The version number of the launch template. Valid values are the version number, `Latest`, or `Default`, Default value: `Default`.

func (ScalingGroupOutput) LoadbalancerIds

func (o ScalingGroupOutput) LoadbalancerIds() pulumi.StringArrayOutput

If a Server Load Balancer instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server Load Balancer instance.

  • The Server Load Balancer instance must be enabled.
  • At least one listener must be configured for each Server Load Balancer and it HealthCheck must be on. Otherwise, creation will fail (it may be useful to add a `dependsOn` argument targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
  • The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
  • The default weight of an ECS instance attached to the Server Load Balancer instance is 50.

func (ScalingGroupOutput) MaxSize

func (o ScalingGroupOutput) MaxSize() pulumi.IntOutput

Maximum number of ECS instances in the scaling group. Value range: [0, 1000].

func (ScalingGroupOutput) MinSize

func (o ScalingGroupOutput) MinSize() pulumi.IntOutput

Minimum number of ECS instances in the scaling group. Value range: [0, 1000].

func (ScalingGroupOutput) MultiAzPolicy

func (o ScalingGroupOutput) MultiAzPolicy() pulumi.StringPtrOutput

Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available in 1.54.0+).

func (ScalingGroupOutput) OnDemandBaseCapacity

func (o ScalingGroupOutput) OnDemandBaseCapacity() pulumi.IntOutput

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.

func (ScalingGroupOutput) OnDemandPercentageAboveBaseCapacity

func (o ScalingGroupOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntOutput

Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.

func (ScalingGroupOutput) ProtectedInstances

func (o ScalingGroupOutput) ProtectedInstances() pulumi.StringArrayOutput

Set or unset instances within group into protected status.

func (ScalingGroupOutput) RemovalPolicies

func (o ScalingGroupOutput) RemovalPolicies() pulumi.StringArrayOutput

RemovalPolicy is used to select the ECS instances you want to remove from the scaling group when multiple candidates for removal exist. Optional values: - OldestInstance: removes the ECS instance that is added to the scaling group at the earliest point in time. - NewestInstance: removes the ECS instance that is added to the scaling group at the latest point in time. - OldestScalingConfiguration: removes the ECS instance that is created based on the earliest scaling configuration. - Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.

func (ScalingGroupOutput) ScalingGroupName

func (o ScalingGroupOutput) ScalingGroupName() pulumi.StringPtrOutput

Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.

func (ScalingGroupOutput) SpotInstancePools

func (o ScalingGroupOutput) SpotInstancePools() pulumi.IntOutput

The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.

func (ScalingGroupOutput) SpotInstanceRemedy

func (o ScalingGroupOutput) SpotInstanceRemedy() pulumi.BoolOutput

Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.

func (ScalingGroupOutput) Tags

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.

func (ScalingGroupOutput) ToScalingGroupOutput

func (o ScalingGroupOutput) ToScalingGroupOutput() ScalingGroupOutput

func (ScalingGroupOutput) ToScalingGroupOutputWithContext

func (o ScalingGroupOutput) ToScalingGroupOutputWithContext(ctx context.Context) ScalingGroupOutput

func (ScalingGroupOutput) VswitchId deprecated

It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.

Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.

func (ScalingGroupOutput) VswitchIds

List of virtual switch IDs in which the ecs instances to be launched.

type ScalingGroupState

type ScalingGroupState struct {
	// If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
	// - The specified RDS instance must be in running status.
	// - The specified RDS instance’s whitelist must have room for more IP addresses.
	DbInstanceIds pulumi.StringArrayInput
	// Default cool-down time (in seconds) of the scaling group. Value range: [0, 86400]. The default value is 300s.
	DefaultCooldown pulumi.IntPtrInput
	// Expected number of ECS instances in the scaling group. Value range: [min_size, maxSize].
	DesiredCapacity pulumi.IntPtrInput
	// Specifies whether the scaling group deletion protection is enabled. `true` or `false`, Default value: `false`.
	GroupDeletionProtection pulumi.BoolPtrInput
	// Resource type within scaling group. Optional values: ECS, ECI. Default to ECS.
	GroupType pulumi.StringPtrInput
	// Resource type within scaling group. Optional values: ECS, NONE. Default to ECS.
	HealthCheckType pulumi.StringPtrInput
	// Instance launch template ID, scaling group obtains launch configuration from instance launch template, see [Launch Template](https://www.alibabacloud.com/help/doc-detail/73916.html). Creating scaling group from launch template enable group automatically.
	LaunchTemplateId pulumi.StringPtrInput
	// The version number of the launch template. Valid values are the version number, `Latest`, or `Default`, Default value: `Default`.
	LaunchTemplateVersion pulumi.StringPtrInput
	// If a Server Load Balancer instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server Load Balancer instance.
	// - The Server Load Balancer instance must be enabled.
	// - At least one listener must be configured for each Server Load Balancer and it HealthCheck must be on. Otherwise, creation will fail (it may be useful to add a `dependsOn` argument
	//   targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
	// - The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
	// - The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
	LoadbalancerIds pulumi.StringArrayInput
	// Maximum number of ECS instances in the scaling group. Value range: [0, 1000].
	MaxSize pulumi.IntPtrInput
	// Minimum number of ECS instances in the scaling group. Value range: [0, 1000].
	MinSize pulumi.IntPtrInput
	// Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available in 1.54.0+).
	MultiAzPolicy pulumi.StringPtrInput
	// The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.
	OnDemandBaseCapacity pulumi.IntPtrInput
	// Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.
	OnDemandPercentageAboveBaseCapacity pulumi.IntPtrInput
	// Set or unset instances within group into protected status.
	ProtectedInstances pulumi.StringArrayInput
	// RemovalPolicy is used to select the ECS instances you want to remove from the scaling group when multiple candidates for removal exist. Optional values:
	// - OldestInstance: removes the ECS instance that is added to the scaling group at the earliest point in time.
	// - NewestInstance: removes the ECS instance that is added to the scaling group at the latest point in time.
	// - OldestScalingConfiguration: removes the ECS instance that is created based on the earliest scaling configuration.
	// - Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
	RemovalPolicies pulumi.StringArrayInput
	// Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
	ScalingGroupName pulumi.StringPtrInput
	// The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
	SpotInstancePools pulumi.IntPtrInput
	// Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
	SpotInstanceRemedy pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapInput
	// It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.
	//
	// Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.
	VswitchId pulumi.StringPtrInput
	// List of virtual switch IDs in which the ecs instances to be launched.
	VswitchIds pulumi.StringArrayInput
}

func (ScalingGroupState) ElementType

func (ScalingGroupState) ElementType() reflect.Type

type ScalingGroupVServerGroups

type ScalingGroupVServerGroups struct {
	pulumi.CustomResourceState

	// If instances of scaling group are attached/removed from slb backend server when attach/detach vserver group from scaling group. Default to true.
	Force pulumi.BoolPtrOutput `pulumi:"force"`
	// ID of the scaling group.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
	// A list of vserver groups attached on scaling group. See Block vserverGroup below for details.
	VserverGroups ScalingGroupVServerGroupsVserverGroupArrayOutput `pulumi:"vserverGroups"`
}

Attaches/Detaches vserver groups to a specified scaling group.

> **NOTE:** The load balancer of which vserver groups belongs to must be in `active` status.

> **NOTE:** If scaling group's network type is `VPC`, the vserver groups must be in the same `VPC`.

> **NOTE:** A scaling group can have at most 5 vserver groups attached by default.

> **NOTE:** Vserver groups and the default group of loadbalancer share the same backend server quota.

> **NOTE:** When attach vserver groups to scaling group, existing ECS instances will be added to vserver groups; Instead, ECS instances will be removed from vserver group when detach.

> **NOTE:** Detach action will be executed before attach action.

> **NOTE:** Vserver group is defined uniquely by `loadbalancerId`, `vserverGroupId`, `port`.

> **NOTE:** Modifing `weight` attribute means detach vserver group first and then, attach with new weight parameter.

> **NOTE:** Resource `ess.ScalingGroupVServerGroups` is available in 1.53.0+.

## Block vserverGroup

the vserverGroup supports the following:

* `loadbalancerId` - (Required) Loadbalancer server ID of VServer Group. * `vserverAttributes` - (Required) A list of VServer Group attributes. See Block vserverAttribute below for details.

## Block vserverAttribute

* `vserverGroupId` - (Required) ID of VServer Group. * `port` - (Required) - The port will be used for VServer Group backend server. * `weight` - (Required) The weight of an ECS instance attached to the VServer Group.

## Import

ESS vserver groups can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/scalingGroupVServerGroups:ScalingGroupVServerGroups example abc123456

```

func GetScalingGroupVServerGroups

func GetScalingGroupVServerGroups(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScalingGroupVServerGroupsState, opts ...pulumi.ResourceOption) (*ScalingGroupVServerGroups, error)

GetScalingGroupVServerGroups gets an existing ScalingGroupVServerGroups 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 NewScalingGroupVServerGroups

func NewScalingGroupVServerGroups(ctx *pulumi.Context,
	name string, args *ScalingGroupVServerGroupsArgs, opts ...pulumi.ResourceOption) (*ScalingGroupVServerGroups, error)

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

func (*ScalingGroupVServerGroups) ElementType

func (*ScalingGroupVServerGroups) ElementType() reflect.Type

func (*ScalingGroupVServerGroups) ToScalingGroupVServerGroupsOutput

func (i *ScalingGroupVServerGroups) ToScalingGroupVServerGroupsOutput() ScalingGroupVServerGroupsOutput

func (*ScalingGroupVServerGroups) ToScalingGroupVServerGroupsOutputWithContext

func (i *ScalingGroupVServerGroups) ToScalingGroupVServerGroupsOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsOutput

type ScalingGroupVServerGroupsArgs

type ScalingGroupVServerGroupsArgs struct {
	// If instances of scaling group are attached/removed from slb backend server when attach/detach vserver group from scaling group. Default to true.
	Force pulumi.BoolPtrInput
	// ID of the scaling group.
	ScalingGroupId pulumi.StringInput
	// A list of vserver groups attached on scaling group. See Block vserverGroup below for details.
	VserverGroups ScalingGroupVServerGroupsVserverGroupArrayInput
}

The set of arguments for constructing a ScalingGroupVServerGroups resource.

func (ScalingGroupVServerGroupsArgs) ElementType

type ScalingGroupVServerGroupsArray

type ScalingGroupVServerGroupsArray []ScalingGroupVServerGroupsInput

func (ScalingGroupVServerGroupsArray) ElementType

func (ScalingGroupVServerGroupsArray) ToScalingGroupVServerGroupsArrayOutput

func (i ScalingGroupVServerGroupsArray) ToScalingGroupVServerGroupsArrayOutput() ScalingGroupVServerGroupsArrayOutput

func (ScalingGroupVServerGroupsArray) ToScalingGroupVServerGroupsArrayOutputWithContext

func (i ScalingGroupVServerGroupsArray) ToScalingGroupVServerGroupsArrayOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsArrayOutput

type ScalingGroupVServerGroupsArrayInput

type ScalingGroupVServerGroupsArrayInput interface {
	pulumi.Input

	ToScalingGroupVServerGroupsArrayOutput() ScalingGroupVServerGroupsArrayOutput
	ToScalingGroupVServerGroupsArrayOutputWithContext(context.Context) ScalingGroupVServerGroupsArrayOutput
}

ScalingGroupVServerGroupsArrayInput is an input type that accepts ScalingGroupVServerGroupsArray and ScalingGroupVServerGroupsArrayOutput values. You can construct a concrete instance of `ScalingGroupVServerGroupsArrayInput` via:

ScalingGroupVServerGroupsArray{ ScalingGroupVServerGroupsArgs{...} }

type ScalingGroupVServerGroupsArrayOutput

type ScalingGroupVServerGroupsArrayOutput struct{ *pulumi.OutputState }

func (ScalingGroupVServerGroupsArrayOutput) ElementType

func (ScalingGroupVServerGroupsArrayOutput) Index

func (ScalingGroupVServerGroupsArrayOutput) ToScalingGroupVServerGroupsArrayOutput

func (o ScalingGroupVServerGroupsArrayOutput) ToScalingGroupVServerGroupsArrayOutput() ScalingGroupVServerGroupsArrayOutput

func (ScalingGroupVServerGroupsArrayOutput) ToScalingGroupVServerGroupsArrayOutputWithContext

func (o ScalingGroupVServerGroupsArrayOutput) ToScalingGroupVServerGroupsArrayOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsArrayOutput

type ScalingGroupVServerGroupsInput

type ScalingGroupVServerGroupsInput interface {
	pulumi.Input

	ToScalingGroupVServerGroupsOutput() ScalingGroupVServerGroupsOutput
	ToScalingGroupVServerGroupsOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsOutput
}

type ScalingGroupVServerGroupsMap

type ScalingGroupVServerGroupsMap map[string]ScalingGroupVServerGroupsInput

func (ScalingGroupVServerGroupsMap) ElementType

func (ScalingGroupVServerGroupsMap) ToScalingGroupVServerGroupsMapOutput

func (i ScalingGroupVServerGroupsMap) ToScalingGroupVServerGroupsMapOutput() ScalingGroupVServerGroupsMapOutput

func (ScalingGroupVServerGroupsMap) ToScalingGroupVServerGroupsMapOutputWithContext

func (i ScalingGroupVServerGroupsMap) ToScalingGroupVServerGroupsMapOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsMapOutput

type ScalingGroupVServerGroupsMapInput

type ScalingGroupVServerGroupsMapInput interface {
	pulumi.Input

	ToScalingGroupVServerGroupsMapOutput() ScalingGroupVServerGroupsMapOutput
	ToScalingGroupVServerGroupsMapOutputWithContext(context.Context) ScalingGroupVServerGroupsMapOutput
}

ScalingGroupVServerGroupsMapInput is an input type that accepts ScalingGroupVServerGroupsMap and ScalingGroupVServerGroupsMapOutput values. You can construct a concrete instance of `ScalingGroupVServerGroupsMapInput` via:

ScalingGroupVServerGroupsMap{ "key": ScalingGroupVServerGroupsArgs{...} }

type ScalingGroupVServerGroupsMapOutput

type ScalingGroupVServerGroupsMapOutput struct{ *pulumi.OutputState }

func (ScalingGroupVServerGroupsMapOutput) ElementType

func (ScalingGroupVServerGroupsMapOutput) MapIndex

func (ScalingGroupVServerGroupsMapOutput) ToScalingGroupVServerGroupsMapOutput

func (o ScalingGroupVServerGroupsMapOutput) ToScalingGroupVServerGroupsMapOutput() ScalingGroupVServerGroupsMapOutput

func (ScalingGroupVServerGroupsMapOutput) ToScalingGroupVServerGroupsMapOutputWithContext

func (o ScalingGroupVServerGroupsMapOutput) ToScalingGroupVServerGroupsMapOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsMapOutput

type ScalingGroupVServerGroupsOutput

type ScalingGroupVServerGroupsOutput struct{ *pulumi.OutputState }

func (ScalingGroupVServerGroupsOutput) ElementType

func (ScalingGroupVServerGroupsOutput) Force

If instances of scaling group are attached/removed from slb backend server when attach/detach vserver group from scaling group. Default to true.

func (ScalingGroupVServerGroupsOutput) ScalingGroupId

ID of the scaling group.

func (ScalingGroupVServerGroupsOutput) ToScalingGroupVServerGroupsOutput

func (o ScalingGroupVServerGroupsOutput) ToScalingGroupVServerGroupsOutput() ScalingGroupVServerGroupsOutput

func (ScalingGroupVServerGroupsOutput) ToScalingGroupVServerGroupsOutputWithContext

func (o ScalingGroupVServerGroupsOutput) ToScalingGroupVServerGroupsOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsOutput

func (ScalingGroupVServerGroupsOutput) VserverGroups

A list of vserver groups attached on scaling group. See Block vserverGroup below for details.

type ScalingGroupVServerGroupsState

type ScalingGroupVServerGroupsState struct {
	// If instances of scaling group are attached/removed from slb backend server when attach/detach vserver group from scaling group. Default to true.
	Force pulumi.BoolPtrInput
	// ID of the scaling group.
	ScalingGroupId pulumi.StringPtrInput
	// A list of vserver groups attached on scaling group. See Block vserverGroup below for details.
	VserverGroups ScalingGroupVServerGroupsVserverGroupArrayInput
}

func (ScalingGroupVServerGroupsState) ElementType

type ScalingGroupVServerGroupsVserverGroup

type ScalingGroupVServerGroupsVserverGroup struct {
	LoadbalancerId    string                                                  `pulumi:"loadbalancerId"`
	VserverAttributes []ScalingGroupVServerGroupsVserverGroupVserverAttribute `pulumi:"vserverAttributes"`
}

type ScalingGroupVServerGroupsVserverGroupArgs

type ScalingGroupVServerGroupsVserverGroupArgs struct {
	LoadbalancerId    pulumi.StringInput                                              `pulumi:"loadbalancerId"`
	VserverAttributes ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayInput `pulumi:"vserverAttributes"`
}

func (ScalingGroupVServerGroupsVserverGroupArgs) ElementType

func (ScalingGroupVServerGroupsVserverGroupArgs) ToScalingGroupVServerGroupsVserverGroupOutput

func (i ScalingGroupVServerGroupsVserverGroupArgs) ToScalingGroupVServerGroupsVserverGroupOutput() ScalingGroupVServerGroupsVserverGroupOutput

func (ScalingGroupVServerGroupsVserverGroupArgs) ToScalingGroupVServerGroupsVserverGroupOutputWithContext

func (i ScalingGroupVServerGroupsVserverGroupArgs) ToScalingGroupVServerGroupsVserverGroupOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsVserverGroupOutput

type ScalingGroupVServerGroupsVserverGroupArray

type ScalingGroupVServerGroupsVserverGroupArray []ScalingGroupVServerGroupsVserverGroupInput

func (ScalingGroupVServerGroupsVserverGroupArray) ElementType

func (ScalingGroupVServerGroupsVserverGroupArray) ToScalingGroupVServerGroupsVserverGroupArrayOutput

func (i ScalingGroupVServerGroupsVserverGroupArray) ToScalingGroupVServerGroupsVserverGroupArrayOutput() ScalingGroupVServerGroupsVserverGroupArrayOutput

func (ScalingGroupVServerGroupsVserverGroupArray) ToScalingGroupVServerGroupsVserverGroupArrayOutputWithContext

func (i ScalingGroupVServerGroupsVserverGroupArray) ToScalingGroupVServerGroupsVserverGroupArrayOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsVserverGroupArrayOutput

type ScalingGroupVServerGroupsVserverGroupArrayInput

type ScalingGroupVServerGroupsVserverGroupArrayInput interface {
	pulumi.Input

	ToScalingGroupVServerGroupsVserverGroupArrayOutput() ScalingGroupVServerGroupsVserverGroupArrayOutput
	ToScalingGroupVServerGroupsVserverGroupArrayOutputWithContext(context.Context) ScalingGroupVServerGroupsVserverGroupArrayOutput
}

ScalingGroupVServerGroupsVserverGroupArrayInput is an input type that accepts ScalingGroupVServerGroupsVserverGroupArray and ScalingGroupVServerGroupsVserverGroupArrayOutput values. You can construct a concrete instance of `ScalingGroupVServerGroupsVserverGroupArrayInput` via:

ScalingGroupVServerGroupsVserverGroupArray{ ScalingGroupVServerGroupsVserverGroupArgs{...} }

type ScalingGroupVServerGroupsVserverGroupArrayOutput

type ScalingGroupVServerGroupsVserverGroupArrayOutput struct{ *pulumi.OutputState }

func (ScalingGroupVServerGroupsVserverGroupArrayOutput) ElementType

func (ScalingGroupVServerGroupsVserverGroupArrayOutput) Index

func (ScalingGroupVServerGroupsVserverGroupArrayOutput) ToScalingGroupVServerGroupsVserverGroupArrayOutput

func (o ScalingGroupVServerGroupsVserverGroupArrayOutput) ToScalingGroupVServerGroupsVserverGroupArrayOutput() ScalingGroupVServerGroupsVserverGroupArrayOutput

func (ScalingGroupVServerGroupsVserverGroupArrayOutput) ToScalingGroupVServerGroupsVserverGroupArrayOutputWithContext

func (o ScalingGroupVServerGroupsVserverGroupArrayOutput) ToScalingGroupVServerGroupsVserverGroupArrayOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsVserverGroupArrayOutput

type ScalingGroupVServerGroupsVserverGroupInput

type ScalingGroupVServerGroupsVserverGroupInput interface {
	pulumi.Input

	ToScalingGroupVServerGroupsVserverGroupOutput() ScalingGroupVServerGroupsVserverGroupOutput
	ToScalingGroupVServerGroupsVserverGroupOutputWithContext(context.Context) ScalingGroupVServerGroupsVserverGroupOutput
}

ScalingGroupVServerGroupsVserverGroupInput is an input type that accepts ScalingGroupVServerGroupsVserverGroupArgs and ScalingGroupVServerGroupsVserverGroupOutput values. You can construct a concrete instance of `ScalingGroupVServerGroupsVserverGroupInput` via:

ScalingGroupVServerGroupsVserverGroupArgs{...}

type ScalingGroupVServerGroupsVserverGroupOutput

type ScalingGroupVServerGroupsVserverGroupOutput struct{ *pulumi.OutputState }

func (ScalingGroupVServerGroupsVserverGroupOutput) ElementType

func (ScalingGroupVServerGroupsVserverGroupOutput) LoadbalancerId

func (ScalingGroupVServerGroupsVserverGroupOutput) ToScalingGroupVServerGroupsVserverGroupOutput

func (o ScalingGroupVServerGroupsVserverGroupOutput) ToScalingGroupVServerGroupsVserverGroupOutput() ScalingGroupVServerGroupsVserverGroupOutput

func (ScalingGroupVServerGroupsVserverGroupOutput) ToScalingGroupVServerGroupsVserverGroupOutputWithContext

func (o ScalingGroupVServerGroupsVserverGroupOutput) ToScalingGroupVServerGroupsVserverGroupOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsVserverGroupOutput

func (ScalingGroupVServerGroupsVserverGroupOutput) VserverAttributes

type ScalingGroupVServerGroupsVserverGroupVserverAttribute

type ScalingGroupVServerGroupsVserverGroupVserverAttribute struct {
	Port           int    `pulumi:"port"`
	VserverGroupId string `pulumi:"vserverGroupId"`
	Weight         int    `pulumi:"weight"`
}

type ScalingGroupVServerGroupsVserverGroupVserverAttributeArgs

type ScalingGroupVServerGroupsVserverGroupVserverAttributeArgs struct {
	Port           pulumi.IntInput    `pulumi:"port"`
	VserverGroupId pulumi.StringInput `pulumi:"vserverGroupId"`
	Weight         pulumi.IntInput    `pulumi:"weight"`
}

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArgs) ElementType

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArgs) ToScalingGroupVServerGroupsVserverGroupVserverAttributeOutput

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArgs) ToScalingGroupVServerGroupsVserverGroupVserverAttributeOutputWithContext

func (i ScalingGroupVServerGroupsVserverGroupVserverAttributeArgs) ToScalingGroupVServerGroupsVserverGroupVserverAttributeOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput

type ScalingGroupVServerGroupsVserverGroupVserverAttributeArray

type ScalingGroupVServerGroupsVserverGroupVserverAttributeArray []ScalingGroupVServerGroupsVserverGroupVserverAttributeInput

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArray) ElementType

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArray) ToScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArray) ToScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutputWithContext

func (i ScalingGroupVServerGroupsVserverGroupVserverAttributeArray) ToScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput

type ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayInput

type ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayInput interface {
	pulumi.Input

	ToScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput() ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput
	ToScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutputWithContext(context.Context) ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput
}

ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayInput is an input type that accepts ScalingGroupVServerGroupsVserverGroupVserverAttributeArray and ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput values. You can construct a concrete instance of `ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayInput` via:

ScalingGroupVServerGroupsVserverGroupVserverAttributeArray{ ScalingGroupVServerGroupsVserverGroupVserverAttributeArgs{...} }

type ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput

type ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput struct{ *pulumi.OutputState }

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput) ElementType

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput) Index

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput) ToScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput) ToScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutputWithContext

func (o ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput) ToScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsVserverGroupVserverAttributeArrayOutput

type ScalingGroupVServerGroupsVserverGroupVserverAttributeInput

type ScalingGroupVServerGroupsVserverGroupVserverAttributeInput interface {
	pulumi.Input

	ToScalingGroupVServerGroupsVserverGroupVserverAttributeOutput() ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput
	ToScalingGroupVServerGroupsVserverGroupVserverAttributeOutputWithContext(context.Context) ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput
}

ScalingGroupVServerGroupsVserverGroupVserverAttributeInput is an input type that accepts ScalingGroupVServerGroupsVserverGroupVserverAttributeArgs and ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput values. You can construct a concrete instance of `ScalingGroupVServerGroupsVserverGroupVserverAttributeInput` via:

ScalingGroupVServerGroupsVserverGroupVserverAttributeArgs{...}

type ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput

type ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput struct{ *pulumi.OutputState }

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput) ElementType

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput) Port

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput) ToScalingGroupVServerGroupsVserverGroupVserverAttributeOutput

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput) ToScalingGroupVServerGroupsVserverGroupVserverAttributeOutputWithContext

func (o ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput) ToScalingGroupVServerGroupsVserverGroupVserverAttributeOutputWithContext(ctx context.Context) ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput) VserverGroupId

func (ScalingGroupVServerGroupsVserverGroupVserverAttributeOutput) Weight

type ScalingRule

type ScalingRule struct {
	pulumi.CustomResourceState

	// Adjustment mode of a scaling rule. Optional values:
	// - QuantityChangeInCapacity: It is used to increase or decrease a specified number of ECS instances.
	// - PercentChangeInCapacity: It is used to increase or decrease a specified proportion of ECS instances.
	// - TotalCapacity: It is used to adjust the quantity of ECS instances in the current scaling group to a specified value.
	AdjustmentType pulumi.StringPtrOutput `pulumi:"adjustmentType"`
	// The number of ECS instances to be adjusted in the scaling rule. This parameter is required and applicable only to simple scaling rules. The number of ECS instances to be adjusted in a single scaling activity cannot exceed 500. Value range:
	// - QuantityChangeInCapacity:(0, 500] U (-500, 0]
	// - PercentChangeInCapacity:[0, 10000] U [-100, 0]
	// - TotalCapacity:[0, 1000]
	AdjustmentValue pulumi.IntPtrOutput `pulumi:"adjustmentValue"`
	Ari             pulumi.StringOutput `pulumi:"ari"`
	// The cooldown time of the scaling rule. This parameter is applicable only to simple scaling rules. Value range: [0, 86,400], in seconds. The default value is empty,if not set, the return value will be 0, which is the default value of integer.
	Cooldown pulumi.IntPtrOutput `pulumi:"cooldown"`
	// Indicates whether scale in by the target tracking policy is disabled. Default to false.
	DisableScaleIn pulumi.BoolPtrOutput `pulumi:"disableScaleIn"`
	// The estimated time, in seconds, until a newly launched instance will contribute CloudMonitor metrics. Default to 300.
	EstimatedInstanceWarmup pulumi.IntOutput `pulumi:"estimatedInstanceWarmup"`
	// A CloudMonitor metric name.
	MetricName pulumi.StringPtrOutput `pulumi:"metricName"`
	// ID of the scaling group of a scaling rule.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
	// Name shown for the scaling rule, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is scaling rule id.
	ScalingRuleName pulumi.StringOutput `pulumi:"scalingRuleName"`
	// The scaling rule type, either "SimpleScalingRule", "TargetTrackingScalingRule", "StepScalingRule". Default to "SimpleScalingRule".
	ScalingRuleType pulumi.StringPtrOutput `pulumi:"scalingRuleType"`
	// Steps for StepScalingRule. See Block stepAdjustment below for details.
	StepAdjustments ScalingRuleStepAdjustmentArrayOutput `pulumi:"stepAdjustments"`
	// The target value for the metric.
	TargetValue pulumi.Float64PtrOutput `pulumi:"targetValue"`
}

## Import

ESS scaling rule can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/scalingRule:ScalingRule example abc123456

```

func GetScalingRule

func GetScalingRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScalingRuleState, opts ...pulumi.ResourceOption) (*ScalingRule, error)

GetScalingRule gets an existing ScalingRule 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 NewScalingRule

func NewScalingRule(ctx *pulumi.Context,
	name string, args *ScalingRuleArgs, opts ...pulumi.ResourceOption) (*ScalingRule, error)

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

func (*ScalingRule) ElementType

func (*ScalingRule) ElementType() reflect.Type

func (*ScalingRule) ToScalingRuleOutput

func (i *ScalingRule) ToScalingRuleOutput() ScalingRuleOutput

func (*ScalingRule) ToScalingRuleOutputWithContext

func (i *ScalingRule) ToScalingRuleOutputWithContext(ctx context.Context) ScalingRuleOutput

type ScalingRuleArgs

type ScalingRuleArgs struct {
	// Adjustment mode of a scaling rule. Optional values:
	// - QuantityChangeInCapacity: It is used to increase or decrease a specified number of ECS instances.
	// - PercentChangeInCapacity: It is used to increase or decrease a specified proportion of ECS instances.
	// - TotalCapacity: It is used to adjust the quantity of ECS instances in the current scaling group to a specified value.
	AdjustmentType pulumi.StringPtrInput
	// The number of ECS instances to be adjusted in the scaling rule. This parameter is required and applicable only to simple scaling rules. The number of ECS instances to be adjusted in a single scaling activity cannot exceed 500. Value range:
	// - QuantityChangeInCapacity:(0, 500] U (-500, 0]
	// - PercentChangeInCapacity:[0, 10000] U [-100, 0]
	// - TotalCapacity:[0, 1000]
	AdjustmentValue pulumi.IntPtrInput
	// The cooldown time of the scaling rule. This parameter is applicable only to simple scaling rules. Value range: [0, 86,400], in seconds. The default value is empty,if not set, the return value will be 0, which is the default value of integer.
	Cooldown pulumi.IntPtrInput
	// Indicates whether scale in by the target tracking policy is disabled. Default to false.
	DisableScaleIn pulumi.BoolPtrInput
	// The estimated time, in seconds, until a newly launched instance will contribute CloudMonitor metrics. Default to 300.
	EstimatedInstanceWarmup pulumi.IntPtrInput
	// A CloudMonitor metric name.
	MetricName pulumi.StringPtrInput
	// ID of the scaling group of a scaling rule.
	ScalingGroupId pulumi.StringInput
	// Name shown for the scaling rule, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is scaling rule id.
	ScalingRuleName pulumi.StringPtrInput
	// The scaling rule type, either "SimpleScalingRule", "TargetTrackingScalingRule", "StepScalingRule". Default to "SimpleScalingRule".
	ScalingRuleType pulumi.StringPtrInput
	// Steps for StepScalingRule. See Block stepAdjustment below for details.
	StepAdjustments ScalingRuleStepAdjustmentArrayInput
	// The target value for the metric.
	TargetValue pulumi.Float64PtrInput
}

The set of arguments for constructing a ScalingRule resource.

func (ScalingRuleArgs) ElementType

func (ScalingRuleArgs) ElementType() reflect.Type

type ScalingRuleArray

type ScalingRuleArray []ScalingRuleInput

func (ScalingRuleArray) ElementType

func (ScalingRuleArray) ElementType() reflect.Type

func (ScalingRuleArray) ToScalingRuleArrayOutput

func (i ScalingRuleArray) ToScalingRuleArrayOutput() ScalingRuleArrayOutput

func (ScalingRuleArray) ToScalingRuleArrayOutputWithContext

func (i ScalingRuleArray) ToScalingRuleArrayOutputWithContext(ctx context.Context) ScalingRuleArrayOutput

type ScalingRuleArrayInput

type ScalingRuleArrayInput interface {
	pulumi.Input

	ToScalingRuleArrayOutput() ScalingRuleArrayOutput
	ToScalingRuleArrayOutputWithContext(context.Context) ScalingRuleArrayOutput
}

ScalingRuleArrayInput is an input type that accepts ScalingRuleArray and ScalingRuleArrayOutput values. You can construct a concrete instance of `ScalingRuleArrayInput` via:

ScalingRuleArray{ ScalingRuleArgs{...} }

type ScalingRuleArrayOutput

type ScalingRuleArrayOutput struct{ *pulumi.OutputState }

func (ScalingRuleArrayOutput) ElementType

func (ScalingRuleArrayOutput) ElementType() reflect.Type

func (ScalingRuleArrayOutput) Index

func (ScalingRuleArrayOutput) ToScalingRuleArrayOutput

func (o ScalingRuleArrayOutput) ToScalingRuleArrayOutput() ScalingRuleArrayOutput

func (ScalingRuleArrayOutput) ToScalingRuleArrayOutputWithContext

func (o ScalingRuleArrayOutput) ToScalingRuleArrayOutputWithContext(ctx context.Context) ScalingRuleArrayOutput

type ScalingRuleInput

type ScalingRuleInput interface {
	pulumi.Input

	ToScalingRuleOutput() ScalingRuleOutput
	ToScalingRuleOutputWithContext(ctx context.Context) ScalingRuleOutput
}

type ScalingRuleMap

type ScalingRuleMap map[string]ScalingRuleInput

func (ScalingRuleMap) ElementType

func (ScalingRuleMap) ElementType() reflect.Type

func (ScalingRuleMap) ToScalingRuleMapOutput

func (i ScalingRuleMap) ToScalingRuleMapOutput() ScalingRuleMapOutput

func (ScalingRuleMap) ToScalingRuleMapOutputWithContext

func (i ScalingRuleMap) ToScalingRuleMapOutputWithContext(ctx context.Context) ScalingRuleMapOutput

type ScalingRuleMapInput

type ScalingRuleMapInput interface {
	pulumi.Input

	ToScalingRuleMapOutput() ScalingRuleMapOutput
	ToScalingRuleMapOutputWithContext(context.Context) ScalingRuleMapOutput
}

ScalingRuleMapInput is an input type that accepts ScalingRuleMap and ScalingRuleMapOutput values. You can construct a concrete instance of `ScalingRuleMapInput` via:

ScalingRuleMap{ "key": ScalingRuleArgs{...} }

type ScalingRuleMapOutput

type ScalingRuleMapOutput struct{ *pulumi.OutputState }

func (ScalingRuleMapOutput) ElementType

func (ScalingRuleMapOutput) ElementType() reflect.Type

func (ScalingRuleMapOutput) MapIndex

func (ScalingRuleMapOutput) ToScalingRuleMapOutput

func (o ScalingRuleMapOutput) ToScalingRuleMapOutput() ScalingRuleMapOutput

func (ScalingRuleMapOutput) ToScalingRuleMapOutputWithContext

func (o ScalingRuleMapOutput) ToScalingRuleMapOutputWithContext(ctx context.Context) ScalingRuleMapOutput

type ScalingRuleOutput

type ScalingRuleOutput struct{ *pulumi.OutputState }

func (ScalingRuleOutput) AdjustmentType

func (o ScalingRuleOutput) AdjustmentType() pulumi.StringPtrOutput

Adjustment mode of a scaling rule. Optional values: - QuantityChangeInCapacity: It is used to increase or decrease a specified number of ECS instances. - PercentChangeInCapacity: It is used to increase or decrease a specified proportion of ECS instances. - TotalCapacity: It is used to adjust the quantity of ECS instances in the current scaling group to a specified value.

func (ScalingRuleOutput) AdjustmentValue

func (o ScalingRuleOutput) AdjustmentValue() pulumi.IntPtrOutput

The number of ECS instances to be adjusted in the scaling rule. This parameter is required and applicable only to simple scaling rules. The number of ECS instances to be adjusted in a single scaling activity cannot exceed 500. Value range: - QuantityChangeInCapacity:(0, 500] U (-500, 0] - PercentChangeInCapacity:[0, 10000] U [-100, 0] - TotalCapacity:[0, 1000]

func (ScalingRuleOutput) Ari

func (ScalingRuleOutput) Cooldown

func (o ScalingRuleOutput) Cooldown() pulumi.IntPtrOutput

The cooldown time of the scaling rule. This parameter is applicable only to simple scaling rules. Value range: [0, 86,400], in seconds. The default value is empty,if not set, the return value will be 0, which is the default value of integer.

func (ScalingRuleOutput) DisableScaleIn

func (o ScalingRuleOutput) DisableScaleIn() pulumi.BoolPtrOutput

Indicates whether scale in by the target tracking policy is disabled. Default to false.

func (ScalingRuleOutput) ElementType

func (ScalingRuleOutput) ElementType() reflect.Type

func (ScalingRuleOutput) EstimatedInstanceWarmup

func (o ScalingRuleOutput) EstimatedInstanceWarmup() pulumi.IntOutput

The estimated time, in seconds, until a newly launched instance will contribute CloudMonitor metrics. Default to 300.

func (ScalingRuleOutput) MetricName

func (o ScalingRuleOutput) MetricName() pulumi.StringPtrOutput

A CloudMonitor metric name.

func (ScalingRuleOutput) ScalingGroupId

func (o ScalingRuleOutput) ScalingGroupId() pulumi.StringOutput

ID of the scaling group of a scaling rule.

func (ScalingRuleOutput) ScalingRuleName

func (o ScalingRuleOutput) ScalingRuleName() pulumi.StringOutput

Name shown for the scaling rule, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is scaling rule id.

func (ScalingRuleOutput) ScalingRuleType

func (o ScalingRuleOutput) ScalingRuleType() pulumi.StringPtrOutput

The scaling rule type, either "SimpleScalingRule", "TargetTrackingScalingRule", "StepScalingRule". Default to "SimpleScalingRule".

func (ScalingRuleOutput) StepAdjustments

Steps for StepScalingRule. See Block stepAdjustment below for details.

func (ScalingRuleOutput) TargetValue

func (o ScalingRuleOutput) TargetValue() pulumi.Float64PtrOutput

The target value for the metric.

func (ScalingRuleOutput) ToScalingRuleOutput

func (o ScalingRuleOutput) ToScalingRuleOutput() ScalingRuleOutput

func (ScalingRuleOutput) ToScalingRuleOutputWithContext

func (o ScalingRuleOutput) ToScalingRuleOutputWithContext(ctx context.Context) ScalingRuleOutput

type ScalingRuleState

type ScalingRuleState struct {
	// Adjustment mode of a scaling rule. Optional values:
	// - QuantityChangeInCapacity: It is used to increase or decrease a specified number of ECS instances.
	// - PercentChangeInCapacity: It is used to increase or decrease a specified proportion of ECS instances.
	// - TotalCapacity: It is used to adjust the quantity of ECS instances in the current scaling group to a specified value.
	AdjustmentType pulumi.StringPtrInput
	// The number of ECS instances to be adjusted in the scaling rule. This parameter is required and applicable only to simple scaling rules. The number of ECS instances to be adjusted in a single scaling activity cannot exceed 500. Value range:
	// - QuantityChangeInCapacity:(0, 500] U (-500, 0]
	// - PercentChangeInCapacity:[0, 10000] U [-100, 0]
	// - TotalCapacity:[0, 1000]
	AdjustmentValue pulumi.IntPtrInput
	Ari             pulumi.StringPtrInput
	// The cooldown time of the scaling rule. This parameter is applicable only to simple scaling rules. Value range: [0, 86,400], in seconds. The default value is empty,if not set, the return value will be 0, which is the default value of integer.
	Cooldown pulumi.IntPtrInput
	// Indicates whether scale in by the target tracking policy is disabled. Default to false.
	DisableScaleIn pulumi.BoolPtrInput
	// The estimated time, in seconds, until a newly launched instance will contribute CloudMonitor metrics. Default to 300.
	EstimatedInstanceWarmup pulumi.IntPtrInput
	// A CloudMonitor metric name.
	MetricName pulumi.StringPtrInput
	// ID of the scaling group of a scaling rule.
	ScalingGroupId pulumi.StringPtrInput
	// Name shown for the scaling rule, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores `_`, hypens `-`, and decimal point `.`. If this parameter value is not specified, the default value is scaling rule id.
	ScalingRuleName pulumi.StringPtrInput
	// The scaling rule type, either "SimpleScalingRule", "TargetTrackingScalingRule", "StepScalingRule". Default to "SimpleScalingRule".
	ScalingRuleType pulumi.StringPtrInput
	// Steps for StepScalingRule. See Block stepAdjustment below for details.
	StepAdjustments ScalingRuleStepAdjustmentArrayInput
	// The target value for the metric.
	TargetValue pulumi.Float64PtrInput
}

func (ScalingRuleState) ElementType

func (ScalingRuleState) ElementType() reflect.Type

type ScalingRuleStepAdjustment

type ScalingRuleStepAdjustment struct {
	MetricIntervalLowerBound *string `pulumi:"metricIntervalLowerBound"`
	MetricIntervalUpperBound *string `pulumi:"metricIntervalUpperBound"`
	ScalingAdjustment        *int    `pulumi:"scalingAdjustment"`
}

type ScalingRuleStepAdjustmentArgs

type ScalingRuleStepAdjustmentArgs struct {
	MetricIntervalLowerBound pulumi.StringPtrInput `pulumi:"metricIntervalLowerBound"`
	MetricIntervalUpperBound pulumi.StringPtrInput `pulumi:"metricIntervalUpperBound"`
	ScalingAdjustment        pulumi.IntPtrInput    `pulumi:"scalingAdjustment"`
}

func (ScalingRuleStepAdjustmentArgs) ElementType

func (ScalingRuleStepAdjustmentArgs) ToScalingRuleStepAdjustmentOutput

func (i ScalingRuleStepAdjustmentArgs) ToScalingRuleStepAdjustmentOutput() ScalingRuleStepAdjustmentOutput

func (ScalingRuleStepAdjustmentArgs) ToScalingRuleStepAdjustmentOutputWithContext

func (i ScalingRuleStepAdjustmentArgs) ToScalingRuleStepAdjustmentOutputWithContext(ctx context.Context) ScalingRuleStepAdjustmentOutput

type ScalingRuleStepAdjustmentArray

type ScalingRuleStepAdjustmentArray []ScalingRuleStepAdjustmentInput

func (ScalingRuleStepAdjustmentArray) ElementType

func (ScalingRuleStepAdjustmentArray) ToScalingRuleStepAdjustmentArrayOutput

func (i ScalingRuleStepAdjustmentArray) ToScalingRuleStepAdjustmentArrayOutput() ScalingRuleStepAdjustmentArrayOutput

func (ScalingRuleStepAdjustmentArray) ToScalingRuleStepAdjustmentArrayOutputWithContext

func (i ScalingRuleStepAdjustmentArray) ToScalingRuleStepAdjustmentArrayOutputWithContext(ctx context.Context) ScalingRuleStepAdjustmentArrayOutput

type ScalingRuleStepAdjustmentArrayInput

type ScalingRuleStepAdjustmentArrayInput interface {
	pulumi.Input

	ToScalingRuleStepAdjustmentArrayOutput() ScalingRuleStepAdjustmentArrayOutput
	ToScalingRuleStepAdjustmentArrayOutputWithContext(context.Context) ScalingRuleStepAdjustmentArrayOutput
}

ScalingRuleStepAdjustmentArrayInput is an input type that accepts ScalingRuleStepAdjustmentArray and ScalingRuleStepAdjustmentArrayOutput values. You can construct a concrete instance of `ScalingRuleStepAdjustmentArrayInput` via:

ScalingRuleStepAdjustmentArray{ ScalingRuleStepAdjustmentArgs{...} }

type ScalingRuleStepAdjustmentArrayOutput

type ScalingRuleStepAdjustmentArrayOutput struct{ *pulumi.OutputState }

func (ScalingRuleStepAdjustmentArrayOutput) ElementType

func (ScalingRuleStepAdjustmentArrayOutput) Index

func (ScalingRuleStepAdjustmentArrayOutput) ToScalingRuleStepAdjustmentArrayOutput

func (o ScalingRuleStepAdjustmentArrayOutput) ToScalingRuleStepAdjustmentArrayOutput() ScalingRuleStepAdjustmentArrayOutput

func (ScalingRuleStepAdjustmentArrayOutput) ToScalingRuleStepAdjustmentArrayOutputWithContext

func (o ScalingRuleStepAdjustmentArrayOutput) ToScalingRuleStepAdjustmentArrayOutputWithContext(ctx context.Context) ScalingRuleStepAdjustmentArrayOutput

type ScalingRuleStepAdjustmentInput

type ScalingRuleStepAdjustmentInput interface {
	pulumi.Input

	ToScalingRuleStepAdjustmentOutput() ScalingRuleStepAdjustmentOutput
	ToScalingRuleStepAdjustmentOutputWithContext(context.Context) ScalingRuleStepAdjustmentOutput
}

ScalingRuleStepAdjustmentInput is an input type that accepts ScalingRuleStepAdjustmentArgs and ScalingRuleStepAdjustmentOutput values. You can construct a concrete instance of `ScalingRuleStepAdjustmentInput` via:

ScalingRuleStepAdjustmentArgs{...}

type ScalingRuleStepAdjustmentOutput

type ScalingRuleStepAdjustmentOutput struct{ *pulumi.OutputState }

func (ScalingRuleStepAdjustmentOutput) ElementType

func (ScalingRuleStepAdjustmentOutput) MetricIntervalLowerBound

func (o ScalingRuleStepAdjustmentOutput) MetricIntervalLowerBound() pulumi.StringPtrOutput

func (ScalingRuleStepAdjustmentOutput) MetricIntervalUpperBound

func (o ScalingRuleStepAdjustmentOutput) MetricIntervalUpperBound() pulumi.StringPtrOutput

func (ScalingRuleStepAdjustmentOutput) ScalingAdjustment

func (o ScalingRuleStepAdjustmentOutput) ScalingAdjustment() pulumi.IntPtrOutput

func (ScalingRuleStepAdjustmentOutput) ToScalingRuleStepAdjustmentOutput

func (o ScalingRuleStepAdjustmentOutput) ToScalingRuleStepAdjustmentOutput() ScalingRuleStepAdjustmentOutput

func (ScalingRuleStepAdjustmentOutput) ToScalingRuleStepAdjustmentOutputWithContext

func (o ScalingRuleStepAdjustmentOutput) ToScalingRuleStepAdjustmentOutputWithContext(ctx context.Context) ScalingRuleStepAdjustmentOutput

type Schedule

type Schedule struct {
	pulumi.CustomResourceState

	Description          pulumi.StringOutput    `pulumi:"description"`
	DesiredCapacity      pulumi.IntPtrOutput    `pulumi:"desiredCapacity"`
	LaunchExpirationTime pulumi.IntPtrOutput    `pulumi:"launchExpirationTime"`
	LaunchTime           pulumi.StringPtrOutput `pulumi:"launchTime"`
	MaxValue             pulumi.IntPtrOutput    `pulumi:"maxValue"`
	MinValue             pulumi.IntPtrOutput    `pulumi:"minValue"`
	RecurrenceEndTime    pulumi.StringOutput    `pulumi:"recurrenceEndTime"`
	RecurrenceType       pulumi.StringOutput    `pulumi:"recurrenceType"`
	RecurrenceValue      pulumi.StringOutput    `pulumi:"recurrenceValue"`
	ScalingGroupId       pulumi.StringOutput    `pulumi:"scalingGroupId"`
	ScheduledAction      pulumi.StringPtrOutput `pulumi:"scheduledAction"`
	ScheduledTaskName    pulumi.StringPtrOutput `pulumi:"scheduledTaskName"`
	TaskEnabled          pulumi.BoolPtrOutput   `pulumi:"taskEnabled"`
}

func GetSchedule

func GetSchedule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScheduleState, opts ...pulumi.ResourceOption) (*Schedule, error)

GetSchedule gets an existing Schedule 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 NewSchedule

func NewSchedule(ctx *pulumi.Context,
	name string, args *ScheduleArgs, opts ...pulumi.ResourceOption) (*Schedule, error)

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

func (*Schedule) ElementType

func (*Schedule) ElementType() reflect.Type

func (*Schedule) ToScheduleOutput

func (i *Schedule) ToScheduleOutput() ScheduleOutput

func (*Schedule) ToScheduleOutputWithContext

func (i *Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

type ScheduleArgs

type ScheduleArgs struct {
	Description          pulumi.StringPtrInput
	DesiredCapacity      pulumi.IntPtrInput
	LaunchExpirationTime pulumi.IntPtrInput
	LaunchTime           pulumi.StringPtrInput
	MaxValue             pulumi.IntPtrInput
	MinValue             pulumi.IntPtrInput
	RecurrenceEndTime    pulumi.StringPtrInput
	RecurrenceType       pulumi.StringPtrInput
	RecurrenceValue      pulumi.StringPtrInput
	ScalingGroupId       pulumi.StringPtrInput
	ScheduledAction      pulumi.StringPtrInput
	ScheduledTaskName    pulumi.StringPtrInput
	TaskEnabled          pulumi.BoolPtrInput
}

The set of arguments for constructing a Schedule resource.

func (ScheduleArgs) ElementType

func (ScheduleArgs) ElementType() reflect.Type

type ScheduleArray

type ScheduleArray []ScheduleInput

func (ScheduleArray) ElementType

func (ScheduleArray) ElementType() reflect.Type

func (ScheduleArray) ToScheduleArrayOutput

func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArray) ToScheduleArrayOutputWithContext

func (i ScheduleArray) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleArrayInput

type ScheduleArrayInput interface {
	pulumi.Input

	ToScheduleArrayOutput() ScheduleArrayOutput
	ToScheduleArrayOutputWithContext(context.Context) ScheduleArrayOutput
}

ScheduleArrayInput is an input type that accepts ScheduleArray and ScheduleArrayOutput values. You can construct a concrete instance of `ScheduleArrayInput` via:

ScheduleArray{ ScheduleArgs{...} }

type ScheduleArrayOutput

type ScheduleArrayOutput struct{ *pulumi.OutputState }

func (ScheduleArrayOutput) ElementType

func (ScheduleArrayOutput) ElementType() reflect.Type

func (ScheduleArrayOutput) Index

func (ScheduleArrayOutput) ToScheduleArrayOutput

func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext

func (o ScheduleArrayOutput) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleInput

type ScheduleInput interface {
	pulumi.Input

	ToScheduleOutput() ScheduleOutput
	ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
}

type ScheduleMap

type ScheduleMap map[string]ScheduleInput

func (ScheduleMap) ElementType

func (ScheduleMap) ElementType() reflect.Type

func (ScheduleMap) ToScheduleMapOutput

func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMap) ToScheduleMapOutputWithContext

func (i ScheduleMap) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

type ScheduleMapInput

type ScheduleMapInput interface {
	pulumi.Input

	ToScheduleMapOutput() ScheduleMapOutput
	ToScheduleMapOutputWithContext(context.Context) ScheduleMapOutput
}

ScheduleMapInput is an input type that accepts ScheduleMap and ScheduleMapOutput values. You can construct a concrete instance of `ScheduleMapInput` via:

ScheduleMap{ "key": ScheduleArgs{...} }

type ScheduleMapOutput

type ScheduleMapOutput struct{ *pulumi.OutputState }

func (ScheduleMapOutput) ElementType

func (ScheduleMapOutput) ElementType() reflect.Type

func (ScheduleMapOutput) MapIndex

func (ScheduleMapOutput) ToScheduleMapOutput

func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMapOutput) ToScheduleMapOutputWithContext

func (o ScheduleMapOutput) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

type ScheduleOutput

type ScheduleOutput struct{ *pulumi.OutputState }

func (ScheduleOutput) Description

func (o ScheduleOutput) Description() pulumi.StringOutput

func (ScheduleOutput) DesiredCapacity

func (o ScheduleOutput) DesiredCapacity() pulumi.IntPtrOutput

func (ScheduleOutput) ElementType

func (ScheduleOutput) ElementType() reflect.Type

func (ScheduleOutput) LaunchExpirationTime

func (o ScheduleOutput) LaunchExpirationTime() pulumi.IntPtrOutput

func (ScheduleOutput) LaunchTime

func (o ScheduleOutput) LaunchTime() pulumi.StringPtrOutput

func (ScheduleOutput) MaxValue

func (o ScheduleOutput) MaxValue() pulumi.IntPtrOutput

func (ScheduleOutput) MinValue

func (o ScheduleOutput) MinValue() pulumi.IntPtrOutput

func (ScheduleOutput) RecurrenceEndTime

func (o ScheduleOutput) RecurrenceEndTime() pulumi.StringOutput

func (ScheduleOutput) RecurrenceType

func (o ScheduleOutput) RecurrenceType() pulumi.StringOutput

func (ScheduleOutput) RecurrenceValue

func (o ScheduleOutput) RecurrenceValue() pulumi.StringOutput

func (ScheduleOutput) ScalingGroupId

func (o ScheduleOutput) ScalingGroupId() pulumi.StringOutput

func (ScheduleOutput) ScheduledAction

func (o ScheduleOutput) ScheduledAction() pulumi.StringPtrOutput

func (ScheduleOutput) ScheduledTaskName

func (o ScheduleOutput) ScheduledTaskName() pulumi.StringPtrOutput

func (ScheduleOutput) TaskEnabled

func (o ScheduleOutput) TaskEnabled() pulumi.BoolPtrOutput

func (ScheduleOutput) ToScheduleOutput

func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput

func (ScheduleOutput) ToScheduleOutputWithContext

func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

type ScheduleState

type ScheduleState struct {
	Description          pulumi.StringPtrInput
	DesiredCapacity      pulumi.IntPtrInput
	LaunchExpirationTime pulumi.IntPtrInput
	LaunchTime           pulumi.StringPtrInput
	MaxValue             pulumi.IntPtrInput
	MinValue             pulumi.IntPtrInput
	RecurrenceEndTime    pulumi.StringPtrInput
	RecurrenceType       pulumi.StringPtrInput
	RecurrenceValue      pulumi.StringPtrInput
	ScalingGroupId       pulumi.StringPtrInput
	ScheduledAction      pulumi.StringPtrInput
	ScheduledTaskName    pulumi.StringPtrInput
	TaskEnabled          pulumi.BoolPtrInput
}

func (ScheduleState) ElementType

func (ScheduleState) ElementType() reflect.Type

type ScheduledTask

type ScheduledTask struct {
	pulumi.CustomResourceState

	// Description of the scheduled task, which is 2-200 characters (English or Chinese) long.
	Description pulumi.StringOutput `pulumi:"description"`
	// The expected number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group. **NOTE:** You must specify the `DesiredCapacity` parameter when you create the scaling group.
	DesiredCapacity pulumi.IntPtrOutput `pulumi:"desiredCapacity"`
	// The time period during which a failed scheduled task is retried. Unit: seconds. Valid values: 0 to 21600. Default value: 600
	LaunchExpirationTime pulumi.IntPtrOutput `pulumi:"launchExpirationTime"`
	// The time at which the scheduled task is triggered. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format.
	// The time must be in UTC. You cannot enter a time point later than 90 days from the date of scheduled task creation.
	// If the `recurrenceType` parameter is specified, the task is executed repeatedly at the time specified by LaunchTime.
	// Otherwise, the task is only executed once at the date and time specified by LaunchTime.
	LaunchTime pulumi.StringPtrOutput `pulumi:"launchTime"`
	// The maximum number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group.
	MaxValue pulumi.IntPtrOutput `pulumi:"maxValue"`
	// The minimum number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group.
	MinValue pulumi.IntPtrOutput `pulumi:"minValue"`
	// Specifies the end time after which the scheduled task is no longer repeated. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format.
	// The time must be in UTC. You cannot enter a time point later than 365 days from the date of scheduled task creation. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time.
	RecurrenceEndTime pulumi.StringOutput `pulumi:"recurrenceEndTime"`
	// Specifies the recurrence type of the scheduled task. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time. Valid values:
	// - Daily: The scheduled task is executed once every specified number of days.
	// - Weekly: The scheduled task is executed on each specified day of a week.
	// - Monthly: The scheduled task is executed on each specified day of a month.
	// - Cron: (Available in 1.60.0+) The scheduled task is executed based on the specified cron expression.
	RecurrenceType pulumi.StringOutput `pulumi:"recurrenceType"`
	// Specifies how often a scheduled task recurs. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time. The valid value depends on `recurrenceType`
	// - Daily: You can enter one value. Valid values: 1 to 31.
	// - Weekly: You can enter multiple values and separate them with commas (,). For example, the values 0 to 6 correspond to the days of the week in sequence from Sunday to Saturday.
	// - Monthly: You can enter two values in A-B format. Valid values of A and B: 1 to 31. The value of B must be greater than or equal to the value of A.
	// - Cron: You can enter a cron expression which is written in UTC and consists of five fields: minute, hour, day of month (date), month, and day of week. The expression can contain wildcard characters including commas (,), question marks (?), hyphens (-), asterisks (*), number signs (#), forward slashes (/), and the L and W letters.
	RecurrenceValue pulumi.StringOutput `pulumi:"recurrenceValue"`
	// The ID of the scaling group where the number of instances is modified when the scheduled task is triggered. After the `ScalingGroupId` parameter is specified, the scaling method of the scheduled task is to specify the number of instances in a scaling group. You must specify at least one of the following parameters: `MinValue`, `MaxValue`, and `DesiredCapacity`. **NOTE:** You cannot specify `scheduledAction` and `scalingGroupId` at the same time.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
	// The operation to be performed when a scheduled task is triggered. Enter the unique identifier of a scaling rule. **NOTE:** You cannot specify `scheduledAction` and `scalingGroupId` at the same time.
	ScheduledAction pulumi.StringPtrOutput `pulumi:"scheduledAction"`
	// Display name of the scheduled task, which must be 2-40 characters (English or Chinese) long.
	ScheduledTaskName pulumi.StringPtrOutput `pulumi:"scheduledTaskName"`
	// Specifies whether to start the scheduled task. Default to true.
	TaskEnabled pulumi.BoolPtrOutput `pulumi:"taskEnabled"`
}

## Import

ESS schedule task can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ess/scheduledTask:ScheduledTask example abc123456

```

func GetScheduledTask

func GetScheduledTask(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScheduledTaskState, opts ...pulumi.ResourceOption) (*ScheduledTask, error)

GetScheduledTask gets an existing ScheduledTask 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 NewScheduledTask

func NewScheduledTask(ctx *pulumi.Context,
	name string, args *ScheduledTaskArgs, opts ...pulumi.ResourceOption) (*ScheduledTask, error)

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

func (*ScheduledTask) ElementType

func (*ScheduledTask) ElementType() reflect.Type

func (*ScheduledTask) ToScheduledTaskOutput

func (i *ScheduledTask) ToScheduledTaskOutput() ScheduledTaskOutput

func (*ScheduledTask) ToScheduledTaskOutputWithContext

func (i *ScheduledTask) ToScheduledTaskOutputWithContext(ctx context.Context) ScheduledTaskOutput

type ScheduledTaskArgs

type ScheduledTaskArgs struct {
	// Description of the scheduled task, which is 2-200 characters (English or Chinese) long.
	Description pulumi.StringPtrInput
	// The expected number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group. **NOTE:** You must specify the `DesiredCapacity` parameter when you create the scaling group.
	DesiredCapacity pulumi.IntPtrInput
	// The time period during which a failed scheduled task is retried. Unit: seconds. Valid values: 0 to 21600. Default value: 600
	LaunchExpirationTime pulumi.IntPtrInput
	// The time at which the scheduled task is triggered. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format.
	// The time must be in UTC. You cannot enter a time point later than 90 days from the date of scheduled task creation.
	// If the `recurrenceType` parameter is specified, the task is executed repeatedly at the time specified by LaunchTime.
	// Otherwise, the task is only executed once at the date and time specified by LaunchTime.
	LaunchTime pulumi.StringPtrInput
	// The maximum number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group.
	MaxValue pulumi.IntPtrInput
	// The minimum number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group.
	MinValue pulumi.IntPtrInput
	// Specifies the end time after which the scheduled task is no longer repeated. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format.
	// The time must be in UTC. You cannot enter a time point later than 365 days from the date of scheduled task creation. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time.
	RecurrenceEndTime pulumi.StringPtrInput
	// Specifies the recurrence type of the scheduled task. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time. Valid values:
	// - Daily: The scheduled task is executed once every specified number of days.
	// - Weekly: The scheduled task is executed on each specified day of a week.
	// - Monthly: The scheduled task is executed on each specified day of a month.
	// - Cron: (Available in 1.60.0+) The scheduled task is executed based on the specified cron expression.
	RecurrenceType pulumi.StringPtrInput
	// Specifies how often a scheduled task recurs. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time. The valid value depends on `recurrenceType`
	// - Daily: You can enter one value. Valid values: 1 to 31.
	// - Weekly: You can enter multiple values and separate them with commas (,). For example, the values 0 to 6 correspond to the days of the week in sequence from Sunday to Saturday.
	// - Monthly: You can enter two values in A-B format. Valid values of A and B: 1 to 31. The value of B must be greater than or equal to the value of A.
	// - Cron: You can enter a cron expression which is written in UTC and consists of five fields: minute, hour, day of month (date), month, and day of week. The expression can contain wildcard characters including commas (,), question marks (?), hyphens (-), asterisks (*), number signs (#), forward slashes (/), and the L and W letters.
	RecurrenceValue pulumi.StringPtrInput
	// The ID of the scaling group where the number of instances is modified when the scheduled task is triggered. After the `ScalingGroupId` parameter is specified, the scaling method of the scheduled task is to specify the number of instances in a scaling group. You must specify at least one of the following parameters: `MinValue`, `MaxValue`, and `DesiredCapacity`. **NOTE:** You cannot specify `scheduledAction` and `scalingGroupId` at the same time.
	ScalingGroupId pulumi.StringPtrInput
	// The operation to be performed when a scheduled task is triggered. Enter the unique identifier of a scaling rule. **NOTE:** You cannot specify `scheduledAction` and `scalingGroupId` at the same time.
	ScheduledAction pulumi.StringPtrInput
	// Display name of the scheduled task, which must be 2-40 characters (English or Chinese) long.
	ScheduledTaskName pulumi.StringPtrInput
	// Specifies whether to start the scheduled task. Default to true.
	TaskEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a ScheduledTask resource.

func (ScheduledTaskArgs) ElementType

func (ScheduledTaskArgs) ElementType() reflect.Type

type ScheduledTaskArray

type ScheduledTaskArray []ScheduledTaskInput

func (ScheduledTaskArray) ElementType

func (ScheduledTaskArray) ElementType() reflect.Type

func (ScheduledTaskArray) ToScheduledTaskArrayOutput

func (i ScheduledTaskArray) ToScheduledTaskArrayOutput() ScheduledTaskArrayOutput

func (ScheduledTaskArray) ToScheduledTaskArrayOutputWithContext

func (i ScheduledTaskArray) ToScheduledTaskArrayOutputWithContext(ctx context.Context) ScheduledTaskArrayOutput

type ScheduledTaskArrayInput

type ScheduledTaskArrayInput interface {
	pulumi.Input

	ToScheduledTaskArrayOutput() ScheduledTaskArrayOutput
	ToScheduledTaskArrayOutputWithContext(context.Context) ScheduledTaskArrayOutput
}

ScheduledTaskArrayInput is an input type that accepts ScheduledTaskArray and ScheduledTaskArrayOutput values. You can construct a concrete instance of `ScheduledTaskArrayInput` via:

ScheduledTaskArray{ ScheduledTaskArgs{...} }

type ScheduledTaskArrayOutput

type ScheduledTaskArrayOutput struct{ *pulumi.OutputState }

func (ScheduledTaskArrayOutput) ElementType

func (ScheduledTaskArrayOutput) ElementType() reflect.Type

func (ScheduledTaskArrayOutput) Index

func (ScheduledTaskArrayOutput) ToScheduledTaskArrayOutput

func (o ScheduledTaskArrayOutput) ToScheduledTaskArrayOutput() ScheduledTaskArrayOutput

func (ScheduledTaskArrayOutput) ToScheduledTaskArrayOutputWithContext

func (o ScheduledTaskArrayOutput) ToScheduledTaskArrayOutputWithContext(ctx context.Context) ScheduledTaskArrayOutput

type ScheduledTaskInput

type ScheduledTaskInput interface {
	pulumi.Input

	ToScheduledTaskOutput() ScheduledTaskOutput
	ToScheduledTaskOutputWithContext(ctx context.Context) ScheduledTaskOutput
}

type ScheduledTaskMap

type ScheduledTaskMap map[string]ScheduledTaskInput

func (ScheduledTaskMap) ElementType

func (ScheduledTaskMap) ElementType() reflect.Type

func (ScheduledTaskMap) ToScheduledTaskMapOutput

func (i ScheduledTaskMap) ToScheduledTaskMapOutput() ScheduledTaskMapOutput

func (ScheduledTaskMap) ToScheduledTaskMapOutputWithContext

func (i ScheduledTaskMap) ToScheduledTaskMapOutputWithContext(ctx context.Context) ScheduledTaskMapOutput

type ScheduledTaskMapInput

type ScheduledTaskMapInput interface {
	pulumi.Input

	ToScheduledTaskMapOutput() ScheduledTaskMapOutput
	ToScheduledTaskMapOutputWithContext(context.Context) ScheduledTaskMapOutput
}

ScheduledTaskMapInput is an input type that accepts ScheduledTaskMap and ScheduledTaskMapOutput values. You can construct a concrete instance of `ScheduledTaskMapInput` via:

ScheduledTaskMap{ "key": ScheduledTaskArgs{...} }

type ScheduledTaskMapOutput

type ScheduledTaskMapOutput struct{ *pulumi.OutputState }

func (ScheduledTaskMapOutput) ElementType

func (ScheduledTaskMapOutput) ElementType() reflect.Type

func (ScheduledTaskMapOutput) MapIndex

func (ScheduledTaskMapOutput) ToScheduledTaskMapOutput

func (o ScheduledTaskMapOutput) ToScheduledTaskMapOutput() ScheduledTaskMapOutput

func (ScheduledTaskMapOutput) ToScheduledTaskMapOutputWithContext

func (o ScheduledTaskMapOutput) ToScheduledTaskMapOutputWithContext(ctx context.Context) ScheduledTaskMapOutput

type ScheduledTaskOutput

type ScheduledTaskOutput struct{ *pulumi.OutputState }

func (ScheduledTaskOutput) Description

func (o ScheduledTaskOutput) Description() pulumi.StringOutput

Description of the scheduled task, which is 2-200 characters (English or Chinese) long.

func (ScheduledTaskOutput) DesiredCapacity

func (o ScheduledTaskOutput) DesiredCapacity() pulumi.IntPtrOutput

The expected number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group. **NOTE:** You must specify the `DesiredCapacity` parameter when you create the scaling group.

func (ScheduledTaskOutput) ElementType

func (ScheduledTaskOutput) ElementType() reflect.Type

func (ScheduledTaskOutput) LaunchExpirationTime

func (o ScheduledTaskOutput) LaunchExpirationTime() pulumi.IntPtrOutput

The time period during which a failed scheduled task is retried. Unit: seconds. Valid values: 0 to 21600. Default value: 600

func (ScheduledTaskOutput) LaunchTime

The time at which the scheduled task is triggered. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format. The time must be in UTC. You cannot enter a time point later than 90 days from the date of scheduled task creation. If the `recurrenceType` parameter is specified, the task is executed repeatedly at the time specified by LaunchTime. Otherwise, the task is only executed once at the date and time specified by LaunchTime.

func (ScheduledTaskOutput) MaxValue

The maximum number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group.

func (ScheduledTaskOutput) MinValue

The minimum number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group.

func (ScheduledTaskOutput) RecurrenceEndTime

func (o ScheduledTaskOutput) RecurrenceEndTime() pulumi.StringOutput

Specifies the end time after which the scheduled task is no longer repeated. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC. You cannot enter a time point later than 365 days from the date of scheduled task creation. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time.

func (ScheduledTaskOutput) RecurrenceType

func (o ScheduledTaskOutput) RecurrenceType() pulumi.StringOutput

Specifies the recurrence type of the scheduled task. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time. Valid values: - Daily: The scheduled task is executed once every specified number of days. - Weekly: The scheduled task is executed on each specified day of a week. - Monthly: The scheduled task is executed on each specified day of a month. - Cron: (Available in 1.60.0+) The scheduled task is executed based on the specified cron expression.

func (ScheduledTaskOutput) RecurrenceValue

func (o ScheduledTaskOutput) RecurrenceValue() pulumi.StringOutput

Specifies how often a scheduled task recurs. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time. The valid value depends on `recurrenceType` - Daily: You can enter one value. Valid values: 1 to 31. - Weekly: You can enter multiple values and separate them with commas (,). For example, the values 0 to 6 correspond to the days of the week in sequence from Sunday to Saturday. - Monthly: You can enter two values in A-B format. Valid values of A and B: 1 to 31. The value of B must be greater than or equal to the value of A. - Cron: You can enter a cron expression which is written in UTC and consists of five fields: minute, hour, day of month (date), month, and day of week. The expression can contain wildcard characters including commas (,), question marks (?), hyphens (-), asterisks (*), number signs (#), forward slashes (/), and the L and W letters.

func (ScheduledTaskOutput) ScalingGroupId

func (o ScheduledTaskOutput) ScalingGroupId() pulumi.StringOutput

The ID of the scaling group where the number of instances is modified when the scheduled task is triggered. After the `ScalingGroupId` parameter is specified, the scaling method of the scheduled task is to specify the number of instances in a scaling group. You must specify at least one of the following parameters: `MinValue`, `MaxValue`, and `DesiredCapacity`. **NOTE:** You cannot specify `scheduledAction` and `scalingGroupId` at the same time.

func (ScheduledTaskOutput) ScheduledAction

func (o ScheduledTaskOutput) ScheduledAction() pulumi.StringPtrOutput

The operation to be performed when a scheduled task is triggered. Enter the unique identifier of a scaling rule. **NOTE:** You cannot specify `scheduledAction` and `scalingGroupId` at the same time.

func (ScheduledTaskOutput) ScheduledTaskName

func (o ScheduledTaskOutput) ScheduledTaskName() pulumi.StringPtrOutput

Display name of the scheduled task, which must be 2-40 characters (English or Chinese) long.

func (ScheduledTaskOutput) TaskEnabled

func (o ScheduledTaskOutput) TaskEnabled() pulumi.BoolPtrOutput

Specifies whether to start the scheduled task. Default to true.

func (ScheduledTaskOutput) ToScheduledTaskOutput

func (o ScheduledTaskOutput) ToScheduledTaskOutput() ScheduledTaskOutput

func (ScheduledTaskOutput) ToScheduledTaskOutputWithContext

func (o ScheduledTaskOutput) ToScheduledTaskOutputWithContext(ctx context.Context) ScheduledTaskOutput

type ScheduledTaskState

type ScheduledTaskState struct {
	// Description of the scheduled task, which is 2-200 characters (English or Chinese) long.
	Description pulumi.StringPtrInput
	// The expected number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group. **NOTE:** You must specify the `DesiredCapacity` parameter when you create the scaling group.
	DesiredCapacity pulumi.IntPtrInput
	// The time period during which a failed scheduled task is retried. Unit: seconds. Valid values: 0 to 21600. Default value: 600
	LaunchExpirationTime pulumi.IntPtrInput
	// The time at which the scheduled task is triggered. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format.
	// The time must be in UTC. You cannot enter a time point later than 90 days from the date of scheduled task creation.
	// If the `recurrenceType` parameter is specified, the task is executed repeatedly at the time specified by LaunchTime.
	// Otherwise, the task is only executed once at the date and time specified by LaunchTime.
	LaunchTime pulumi.StringPtrInput
	// The maximum number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group.
	MaxValue pulumi.IntPtrInput
	// The minimum number of instances in a scaling group when the scaling method of the scheduled task is to specify the number of instances in a scaling group.
	MinValue pulumi.IntPtrInput
	// Specifies the end time after which the scheduled task is no longer repeated. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format.
	// The time must be in UTC. You cannot enter a time point later than 365 days from the date of scheduled task creation. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time.
	RecurrenceEndTime pulumi.StringPtrInput
	// Specifies the recurrence type of the scheduled task. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time. Valid values:
	// - Daily: The scheduled task is executed once every specified number of days.
	// - Weekly: The scheduled task is executed on each specified day of a week.
	// - Monthly: The scheduled task is executed on each specified day of a month.
	// - Cron: (Available in 1.60.0+) The scheduled task is executed based on the specified cron expression.
	RecurrenceType pulumi.StringPtrInput
	// Specifies how often a scheduled task recurs. **NOTE:** You must specify `RecurrenceType`, `RecurrenceValue`, and `RecurrenceEndTime` at the same time. The valid value depends on `recurrenceType`
	// - Daily: You can enter one value. Valid values: 1 to 31.
	// - Weekly: You can enter multiple values and separate them with commas (,). For example, the values 0 to 6 correspond to the days of the week in sequence from Sunday to Saturday.
	// - Monthly: You can enter two values in A-B format. Valid values of A and B: 1 to 31. The value of B must be greater than or equal to the value of A.
	// - Cron: You can enter a cron expression which is written in UTC and consists of five fields: minute, hour, day of month (date), month, and day of week. The expression can contain wildcard characters including commas (,), question marks (?), hyphens (-), asterisks (*), number signs (#), forward slashes (/), and the L and W letters.
	RecurrenceValue pulumi.StringPtrInput
	// The ID of the scaling group where the number of instances is modified when the scheduled task is triggered. After the `ScalingGroupId` parameter is specified, the scaling method of the scheduled task is to specify the number of instances in a scaling group. You must specify at least one of the following parameters: `MinValue`, `MaxValue`, and `DesiredCapacity`. **NOTE:** You cannot specify `scheduledAction` and `scalingGroupId` at the same time.
	ScalingGroupId pulumi.StringPtrInput
	// The operation to be performed when a scheduled task is triggered. Enter the unique identifier of a scaling rule. **NOTE:** You cannot specify `scheduledAction` and `scalingGroupId` at the same time.
	ScheduledAction pulumi.StringPtrInput
	// Display name of the scheduled task, which must be 2-40 characters (English or Chinese) long.
	ScheduledTaskName pulumi.StringPtrInput
	// Specifies whether to start the scheduled task. Default to true.
	TaskEnabled pulumi.BoolPtrInput
}

func (ScheduledTaskState) ElementType

func (ScheduledTaskState) ElementType() reflect.Type

type SuspendProcess

type SuspendProcess struct {
	pulumi.CustomResourceState

	// Activity type N that you want to suspend. Valid values are: `SCALE_OUT`,`SCALE_IN`,`HealthCheck`,`AlarmNotification` and `ScheduledAction`.
	Process pulumi.StringOutput `pulumi:"process"`
	// ID of the scaling group.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
}

Suspend/Resume processes to a specified scaling group.

For information about scaling group suspend process, see [SuspendProcesses](https://www.alibabacloud.com/help/en/auto-scaling/latest/suspendprocesses).

> NOTE: Available in v1.166.0+

## Import

### Timeouts The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration-0-11/resources.html#timeouts) for certain actions* `create` - (Defaults to 1 mins) Used when create the process. * `delete` - (Defaults to 1 mins) Used when delete the process.

func GetSuspendProcess

func GetSuspendProcess(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SuspendProcessState, opts ...pulumi.ResourceOption) (*SuspendProcess, error)

GetSuspendProcess gets an existing SuspendProcess 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 NewSuspendProcess

func NewSuspendProcess(ctx *pulumi.Context,
	name string, args *SuspendProcessArgs, opts ...pulumi.ResourceOption) (*SuspendProcess, error)

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

func (*SuspendProcess) ElementType

func (*SuspendProcess) ElementType() reflect.Type

func (*SuspendProcess) ToSuspendProcessOutput

func (i *SuspendProcess) ToSuspendProcessOutput() SuspendProcessOutput

func (*SuspendProcess) ToSuspendProcessOutputWithContext

func (i *SuspendProcess) ToSuspendProcessOutputWithContext(ctx context.Context) SuspendProcessOutput

type SuspendProcessArgs

type SuspendProcessArgs struct {
	// Activity type N that you want to suspend. Valid values are: `SCALE_OUT`,`SCALE_IN`,`HealthCheck`,`AlarmNotification` and `ScheduledAction`.
	Process pulumi.StringInput
	// ID of the scaling group.
	ScalingGroupId pulumi.StringInput
}

The set of arguments for constructing a SuspendProcess resource.

func (SuspendProcessArgs) ElementType

func (SuspendProcessArgs) ElementType() reflect.Type

type SuspendProcessArray

type SuspendProcessArray []SuspendProcessInput

func (SuspendProcessArray) ElementType

func (SuspendProcessArray) ElementType() reflect.Type

func (SuspendProcessArray) ToSuspendProcessArrayOutput

func (i SuspendProcessArray) ToSuspendProcessArrayOutput() SuspendProcessArrayOutput

func (SuspendProcessArray) ToSuspendProcessArrayOutputWithContext

func (i SuspendProcessArray) ToSuspendProcessArrayOutputWithContext(ctx context.Context) SuspendProcessArrayOutput

type SuspendProcessArrayInput

type SuspendProcessArrayInput interface {
	pulumi.Input

	ToSuspendProcessArrayOutput() SuspendProcessArrayOutput
	ToSuspendProcessArrayOutputWithContext(context.Context) SuspendProcessArrayOutput
}

SuspendProcessArrayInput is an input type that accepts SuspendProcessArray and SuspendProcessArrayOutput values. You can construct a concrete instance of `SuspendProcessArrayInput` via:

SuspendProcessArray{ SuspendProcessArgs{...} }

type SuspendProcessArrayOutput

type SuspendProcessArrayOutput struct{ *pulumi.OutputState }

func (SuspendProcessArrayOutput) ElementType

func (SuspendProcessArrayOutput) ElementType() reflect.Type

func (SuspendProcessArrayOutput) Index

func (SuspendProcessArrayOutput) ToSuspendProcessArrayOutput

func (o SuspendProcessArrayOutput) ToSuspendProcessArrayOutput() SuspendProcessArrayOutput

func (SuspendProcessArrayOutput) ToSuspendProcessArrayOutputWithContext

func (o SuspendProcessArrayOutput) ToSuspendProcessArrayOutputWithContext(ctx context.Context) SuspendProcessArrayOutput

type SuspendProcessInput

type SuspendProcessInput interface {
	pulumi.Input

	ToSuspendProcessOutput() SuspendProcessOutput
	ToSuspendProcessOutputWithContext(ctx context.Context) SuspendProcessOutput
}

type SuspendProcessMap

type SuspendProcessMap map[string]SuspendProcessInput

func (SuspendProcessMap) ElementType

func (SuspendProcessMap) ElementType() reflect.Type

func (SuspendProcessMap) ToSuspendProcessMapOutput

func (i SuspendProcessMap) ToSuspendProcessMapOutput() SuspendProcessMapOutput

func (SuspendProcessMap) ToSuspendProcessMapOutputWithContext

func (i SuspendProcessMap) ToSuspendProcessMapOutputWithContext(ctx context.Context) SuspendProcessMapOutput

type SuspendProcessMapInput

type SuspendProcessMapInput interface {
	pulumi.Input

	ToSuspendProcessMapOutput() SuspendProcessMapOutput
	ToSuspendProcessMapOutputWithContext(context.Context) SuspendProcessMapOutput
}

SuspendProcessMapInput is an input type that accepts SuspendProcessMap and SuspendProcessMapOutput values. You can construct a concrete instance of `SuspendProcessMapInput` via:

SuspendProcessMap{ "key": SuspendProcessArgs{...} }

type SuspendProcessMapOutput

type SuspendProcessMapOutput struct{ *pulumi.OutputState }

func (SuspendProcessMapOutput) ElementType

func (SuspendProcessMapOutput) ElementType() reflect.Type

func (SuspendProcessMapOutput) MapIndex

func (SuspendProcessMapOutput) ToSuspendProcessMapOutput

func (o SuspendProcessMapOutput) ToSuspendProcessMapOutput() SuspendProcessMapOutput

func (SuspendProcessMapOutput) ToSuspendProcessMapOutputWithContext

func (o SuspendProcessMapOutput) ToSuspendProcessMapOutputWithContext(ctx context.Context) SuspendProcessMapOutput

type SuspendProcessOutput

type SuspendProcessOutput struct{ *pulumi.OutputState }

func (SuspendProcessOutput) ElementType

func (SuspendProcessOutput) ElementType() reflect.Type

func (SuspendProcessOutput) Process

Activity type N that you want to suspend. Valid values are: `SCALE_OUT`,`SCALE_IN`,`HealthCheck`,`AlarmNotification` and `ScheduledAction`.

func (SuspendProcessOutput) ScalingGroupId

func (o SuspendProcessOutput) ScalingGroupId() pulumi.StringOutput

ID of the scaling group.

func (SuspendProcessOutput) ToSuspendProcessOutput

func (o SuspendProcessOutput) ToSuspendProcessOutput() SuspendProcessOutput

func (SuspendProcessOutput) ToSuspendProcessOutputWithContext

func (o SuspendProcessOutput) ToSuspendProcessOutputWithContext(ctx context.Context) SuspendProcessOutput

type SuspendProcessState

type SuspendProcessState struct {
	// Activity type N that you want to suspend. Valid values are: `SCALE_OUT`,`SCALE_IN`,`HealthCheck`,`AlarmNotification` and `ScheduledAction`.
	Process pulumi.StringPtrInput
	// ID of the scaling group.
	ScalingGroupId pulumi.StringPtrInput
}

func (SuspendProcessState) ElementType

func (SuspendProcessState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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