alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.ess.ScalingConfiguration

Import

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

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

Create ScalingConfiguration Resource

new ScalingConfiguration(name: string, args: ScalingConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ScalingConfiguration(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         active: Optional[bool] = None,
                         credit_specification: Optional[str] = None,
                         data_disks: Optional[Sequence[ScalingConfigurationDataDiskArgs]] = None,
                         enable: Optional[bool] = None,
                         force_delete: Optional[bool] = None,
                         host_name: Optional[str] = None,
                         image_id: Optional[str] = None,
                         image_name: Optional[str] = None,
                         instance_ids: Optional[Sequence[str]] = None,
                         instance_name: Optional[str] = None,
                         instance_pattern_infos: Optional[Sequence[ScalingConfigurationInstancePatternInfoArgs]] = None,
                         instance_type: Optional[str] = None,
                         instance_types: Optional[Sequence[str]] = None,
                         internet_charge_type: Optional[str] = None,
                         internet_max_bandwidth_in: Optional[int] = None,
                         internet_max_bandwidth_out: Optional[int] = None,
                         io_optimized: Optional[str] = None,
                         is_outdated: Optional[bool] = None,
                         key_name: Optional[str] = None,
                         kms_encrypted_password: Optional[str] = None,
                         kms_encryption_context: Optional[Mapping[str, Any]] = None,
                         override: Optional[bool] = None,
                         password: Optional[str] = None,
                         password_inherit: Optional[bool] = None,
                         resource_group_id: Optional[str] = None,
                         role_name: Optional[str] = None,
                         scaling_configuration_name: Optional[str] = None,
                         scaling_group_id: Optional[str] = None,
                         security_group_id: Optional[str] = None,
                         security_group_ids: Optional[Sequence[str]] = None,
                         spot_price_limits: Optional[Sequence[ScalingConfigurationSpotPriceLimitArgs]] = None,
                         spot_strategy: Optional[str] = None,
                         substitute: Optional[str] = None,
                         system_disk_auto_snapshot_policy_id: Optional[str] = None,
                         system_disk_category: Optional[str] = None,
                         system_disk_description: Optional[str] = None,
                         system_disk_encrypted: Optional[bool] = None,
                         system_disk_name: Optional[str] = None,
                         system_disk_performance_level: Optional[str] = None,
                         system_disk_size: Optional[int] = None,
                         tags: Optional[Mapping[str, Any]] = None,
                         user_data: Optional[str] = None)
@overload
def ScalingConfiguration(resource_name: str,
                         args: ScalingConfigurationArgs,
                         opts: Optional[ResourceOptions] = None)
func NewScalingConfiguration(ctx *Context, name string, args ScalingConfigurationArgs, opts ...ResourceOption) (*ScalingConfiguration, error)
public ScalingConfiguration(string name, ScalingConfigurationArgs args, CustomResourceOptions? opts = null)
public ScalingConfiguration(String name, ScalingConfigurationArgs args)
public ScalingConfiguration(String name, ScalingConfigurationArgs args, CustomResourceOptions options)
type: alicloud:ess:ScalingConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ScalingConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ScalingConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ScalingConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ScalingConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ScalingConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ScalingConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ScalingConfiguration resource accepts the following input properties:

ScalingGroupId string

ID of the scaling group of a scaling configuration.

Active bool

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

CreditSpecification string

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

DataDisks List<Pulumi.AliCloud.Ess.Inputs.ScalingConfigurationDataDiskArgs>

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

Enable bool

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

ForceDelete bool

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

HostName string

Hostname of an ECS instance.

ImageId string

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

ImageName string

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

InstanceIds List<string>

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

Deprecated:

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

InstanceName string

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

InstancePatternInfos List<Pulumi.AliCloud.Ess.Inputs.ScalingConfigurationInstancePatternInfoArgs>

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

InstanceType string

Resource type of an ECS instance.

InstanceTypes List<string>

Resource types of an ECS instance.

InternetChargeType string

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

InternetMaxBandwidthIn int

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

InternetMaxBandwidthOut int

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

IoOptimized string

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.

IsOutdated bool

Whether to use outdated instance type. Default to false.

KeyName string

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

KmsEncryptedPassword string

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

KmsEncryptionContext Dictionary<string, object>

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

Override bool

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

Password string

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 (/).

PasswordInherit bool

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

ResourceGroupId string

ID of resource group.

RoleName string

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

ScalingConfigurationName string

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.

SecurityGroupId string

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

SecurityGroupIds List<string>

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

SpotPriceLimits List<Pulumi.AliCloud.Ess.Inputs.ScalingConfigurationSpotPriceLimitArgs>

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

SpotStrategy string

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

Substitute string

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

SystemDiskAutoSnapshotPolicyId string

The id of auto snapshot policy for system disk.

SystemDiskCategory string

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

SystemDiskDescription string

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

SystemDiskEncrypted bool

Whether to encrypt the system disk.

SystemDiskName string

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.

SystemDiskPerformanceLevel string

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

SystemDiskSize int

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

Tags Dictionary<string, object>

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.
UserData string

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

ScalingGroupId string

ID of the scaling group of a scaling configuration.

Active bool

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

CreditSpecification string

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

DataDisks []ScalingConfigurationDataDiskArgs

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

Enable bool

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

ForceDelete bool

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

HostName string

Hostname of an ECS instance.

ImageId string

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

ImageName string

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

InstanceIds []string

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

Deprecated:

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

InstanceName string

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

InstancePatternInfos []ScalingConfigurationInstancePatternInfoArgs

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

InstanceType string

Resource type of an ECS instance.

InstanceTypes []string

Resource types of an ECS instance.

InternetChargeType string

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

InternetMaxBandwidthIn int

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

InternetMaxBandwidthOut int

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

IoOptimized string

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.

IsOutdated bool

Whether to use outdated instance type. Default to false.

KeyName string

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

KmsEncryptedPassword string

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

KmsEncryptionContext map[string]interface{}

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

Override bool

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

Password string

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 (/).

PasswordInherit bool

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

ResourceGroupId string

ID of resource group.

RoleName string

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

ScalingConfigurationName string

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.

SecurityGroupId string

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

SecurityGroupIds []string

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

SpotPriceLimits []ScalingConfigurationSpotPriceLimitArgs

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

SpotStrategy string

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

Substitute string

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

SystemDiskAutoSnapshotPolicyId string

The id of auto snapshot policy for system disk.

SystemDiskCategory string

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

SystemDiskDescription string

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

SystemDiskEncrypted bool

Whether to encrypt the system disk.

SystemDiskName string

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.

SystemDiskPerformanceLevel string

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

SystemDiskSize int

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

Tags map[string]interface{}

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.
UserData string

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

scalingGroupId String

ID of the scaling group of a scaling configuration.

active Boolean

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

creditSpecification String

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

dataDisks List<ScalingConfigurationDataDiskArgs>

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

enable Boolean

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

forceDelete Boolean

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

hostName String

Hostname of an ECS instance.

imageId String

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

imageName String

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

instanceIds List<String>

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

Deprecated:

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

instanceName String

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

instancePatternInfos List<ScalingConfigurationInstancePatternInfoArgs>

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

instanceType String

Resource type of an ECS instance.

instanceTypes List<String>

Resource types of an ECS instance.

internetChargeType String

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

internetMaxBandwidthIn Integer

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

internetMaxBandwidthOut Integer

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

ioOptimized String

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.

isOutdated Boolean

Whether to use outdated instance type. Default to false.

keyName String

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

kmsEncryptedPassword String

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

kmsEncryptionContext Map<String,Object>

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

override Boolean

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

password String

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 (/).

passwordInherit Boolean

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

resourceGroupId String

ID of resource group.

roleName String

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

scalingConfigurationName String

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.

securityGroupId String

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

securityGroupIds List<String>

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

spotPriceLimits List<ScalingConfigurationSpotPriceLimitArgs>

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

spotStrategy String

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

substitute String

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

systemDiskAutoSnapshotPolicyId String

The id of auto snapshot policy for system disk.

systemDiskCategory String

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

systemDiskDescription String

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

systemDiskEncrypted Boolean

Whether to encrypt the system disk.

systemDiskName String

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.

systemDiskPerformanceLevel String

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

systemDiskSize Integer

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

tags Map<String,Object>

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.
userData String

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

scalingGroupId string

ID of the scaling group of a scaling configuration.

active boolean

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

creditSpecification string

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

dataDisks ScalingConfigurationDataDiskArgs[]

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

enable boolean

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

forceDelete boolean

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

hostName string

Hostname of an ECS instance.

imageId string

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

imageName string

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

instanceIds string[]

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

Deprecated:

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

instanceName string

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

instancePatternInfos ScalingConfigurationInstancePatternInfoArgs[]

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

instanceType string

Resource type of an ECS instance.

instanceTypes string[]

Resource types of an ECS instance.

internetChargeType string

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

internetMaxBandwidthIn number

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

internetMaxBandwidthOut number

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

ioOptimized string

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.

isOutdated boolean

Whether to use outdated instance type. Default to false.

keyName string

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

kmsEncryptedPassword string

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

kmsEncryptionContext {[key: string]: any}

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

override boolean

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

password string

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 (/).

passwordInherit boolean

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

resourceGroupId string

ID of resource group.

roleName string

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

scalingConfigurationName string

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.

securityGroupId string

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

securityGroupIds string[]

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

spotPriceLimits ScalingConfigurationSpotPriceLimitArgs[]

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

spotStrategy string

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

substitute string

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

systemDiskAutoSnapshotPolicyId string

The id of auto snapshot policy for system disk.

systemDiskCategory string

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

systemDiskDescription string

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

systemDiskEncrypted boolean

Whether to encrypt the system disk.

systemDiskName string

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.

systemDiskPerformanceLevel string

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

systemDiskSize number

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

tags {[key: string]: any}

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.
userData string

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

scaling_group_id str

ID of the scaling group of a scaling configuration.

active bool

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

credit_specification str

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

data_disks Sequence[ScalingConfigurationDataDiskArgs]

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

enable bool

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

force_delete bool

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

host_name str

Hostname of an ECS instance.

image_id str

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

image_name str

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

instance_ids Sequence[str]

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

Deprecated:

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

instance_name str

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

instance_pattern_infos Sequence[ScalingConfigurationInstancePatternInfoArgs]

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

instance_type str

Resource type of an ECS instance.

instance_types Sequence[str]

Resource types of an ECS instance.

internet_charge_type str

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

internet_max_bandwidth_in int

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

internet_max_bandwidth_out int

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

io_optimized str

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.

is_outdated bool

Whether to use outdated instance type. Default to false.

key_name str

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

kms_encrypted_password str

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

kms_encryption_context Mapping[str, Any]

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

override bool

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

password str

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_inherit bool

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

resource_group_id str

ID of resource group.

role_name str

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

scaling_configuration_name str

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.

security_group_id str

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

security_group_ids Sequence[str]

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

spot_price_limits Sequence[ScalingConfigurationSpotPriceLimitArgs]

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

spot_strategy str

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

substitute str

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

system_disk_auto_snapshot_policy_id str

The id of auto snapshot policy for system disk.

system_disk_category str

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

system_disk_description str

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

system_disk_encrypted bool

Whether to encrypt the system disk.

system_disk_name str

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.

system_disk_performance_level str

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

system_disk_size int

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

tags Mapping[str, Any]

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.
user_data str

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

scalingGroupId String

ID of the scaling group of a scaling configuration.

active Boolean

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

creditSpecification String

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

dataDisks List<Property Map>

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

enable Boolean

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

forceDelete Boolean

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

hostName String

Hostname of an ECS instance.

imageId String

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

imageName String

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

instanceIds List<String>

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

Deprecated:

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

instanceName String

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

instancePatternInfos List<Property Map>

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

instanceType String

Resource type of an ECS instance.

instanceTypes List<String>

Resource types of an ECS instance.

internetChargeType String

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

internetMaxBandwidthIn Number

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

internetMaxBandwidthOut Number

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

ioOptimized String

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.

isOutdated Boolean

Whether to use outdated instance type. Default to false.

keyName String

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

kmsEncryptedPassword String

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

kmsEncryptionContext Map<Any>

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

override Boolean

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

password String

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 (/).

passwordInherit Boolean

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

resourceGroupId String

ID of resource group.

roleName String

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

scalingConfigurationName String

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.

securityGroupId String

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

securityGroupIds List<String>

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

spotPriceLimits List<Property Map>

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

spotStrategy String

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

substitute String

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

systemDiskAutoSnapshotPolicyId String

The id of auto snapshot policy for system disk.

systemDiskCategory String

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

systemDiskDescription String

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

systemDiskEncrypted Boolean

Whether to encrypt the system disk.

systemDiskName String

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.

systemDiskPerformanceLevel String

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

systemDiskSize Number

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

tags Map<Any>

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.
userData String

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

Outputs

All input properties are implicitly available as output properties. Additionally, the ScalingConfiguration resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing ScalingConfiguration Resource

Get an existing ScalingConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ScalingConfigurationState, opts?: CustomResourceOptions): ScalingConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        active: Optional[bool] = None,
        credit_specification: Optional[str] = None,
        data_disks: Optional[Sequence[ScalingConfigurationDataDiskArgs]] = None,
        enable: Optional[bool] = None,
        force_delete: Optional[bool] = None,
        host_name: Optional[str] = None,
        image_id: Optional[str] = None,
        image_name: Optional[str] = None,
        instance_ids: Optional[Sequence[str]] = None,
        instance_name: Optional[str] = None,
        instance_pattern_infos: Optional[Sequence[ScalingConfigurationInstancePatternInfoArgs]] = None,
        instance_type: Optional[str] = None,
        instance_types: Optional[Sequence[str]] = None,
        internet_charge_type: Optional[str] = None,
        internet_max_bandwidth_in: Optional[int] = None,
        internet_max_bandwidth_out: Optional[int] = None,
        io_optimized: Optional[str] = None,
        is_outdated: Optional[bool] = None,
        key_name: Optional[str] = None,
        kms_encrypted_password: Optional[str] = None,
        kms_encryption_context: Optional[Mapping[str, Any]] = None,
        override: Optional[bool] = None,
        password: Optional[str] = None,
        password_inherit: Optional[bool] = None,
        resource_group_id: Optional[str] = None,
        role_name: Optional[str] = None,
        scaling_configuration_name: Optional[str] = None,
        scaling_group_id: Optional[str] = None,
        security_group_id: Optional[str] = None,
        security_group_ids: Optional[Sequence[str]] = None,
        spot_price_limits: Optional[Sequence[ScalingConfigurationSpotPriceLimitArgs]] = None,
        spot_strategy: Optional[str] = None,
        substitute: Optional[str] = None,
        system_disk_auto_snapshot_policy_id: Optional[str] = None,
        system_disk_category: Optional[str] = None,
        system_disk_description: Optional[str] = None,
        system_disk_encrypted: Optional[bool] = None,
        system_disk_name: Optional[str] = None,
        system_disk_performance_level: Optional[str] = None,
        system_disk_size: Optional[int] = None,
        tags: Optional[Mapping[str, Any]] = None,
        user_data: Optional[str] = None) -> ScalingConfiguration
func GetScalingConfiguration(ctx *Context, name string, id IDInput, state *ScalingConfigurationState, opts ...ResourceOption) (*ScalingConfiguration, error)
public static ScalingConfiguration Get(string name, Input<string> id, ScalingConfigurationState? state, CustomResourceOptions? opts = null)
public static ScalingConfiguration get(String name, Output<String> id, ScalingConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Active bool

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

CreditSpecification string

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

DataDisks List<Pulumi.AliCloud.Ess.Inputs.ScalingConfigurationDataDiskArgs>

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

Enable bool

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

ForceDelete bool

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

HostName string

Hostname of an ECS instance.

ImageId string

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

ImageName string

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

InstanceIds List<string>

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

Deprecated:

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

InstanceName string

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

InstancePatternInfos List<Pulumi.AliCloud.Ess.Inputs.ScalingConfigurationInstancePatternInfoArgs>

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

InstanceType string

Resource type of an ECS instance.

InstanceTypes List<string>

Resource types of an ECS instance.

InternetChargeType string

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

InternetMaxBandwidthIn int

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

InternetMaxBandwidthOut int

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

IoOptimized string

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.

IsOutdated bool

Whether to use outdated instance type. Default to false.

KeyName string

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

KmsEncryptedPassword string

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

KmsEncryptionContext Dictionary<string, object>

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

Override bool

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

Password string

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 (/).

PasswordInherit bool

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

ResourceGroupId string

ID of resource group.

RoleName string

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

ScalingConfigurationName string

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.

ScalingGroupId string

ID of the scaling group of a scaling configuration.

SecurityGroupId string

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

SecurityGroupIds List<string>

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

SpotPriceLimits List<Pulumi.AliCloud.Ess.Inputs.ScalingConfigurationSpotPriceLimitArgs>

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

SpotStrategy string

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

Substitute string

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

SystemDiskAutoSnapshotPolicyId string

The id of auto snapshot policy for system disk.

SystemDiskCategory string

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

SystemDiskDescription string

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

SystemDiskEncrypted bool

Whether to encrypt the system disk.

SystemDiskName string

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.

SystemDiskPerformanceLevel string

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

SystemDiskSize int

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

Tags Dictionary<string, object>

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.
UserData string

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

Active bool

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

CreditSpecification string

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

DataDisks []ScalingConfigurationDataDiskArgs

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

Enable bool

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

ForceDelete bool

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

HostName string

Hostname of an ECS instance.

ImageId string

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

ImageName string

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

InstanceIds []string

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

Deprecated:

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

InstanceName string

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

InstancePatternInfos []ScalingConfigurationInstancePatternInfoArgs

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

InstanceType string

Resource type of an ECS instance.

InstanceTypes []string

Resource types of an ECS instance.

InternetChargeType string

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

InternetMaxBandwidthIn int

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

InternetMaxBandwidthOut int

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

IoOptimized string

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.

IsOutdated bool

Whether to use outdated instance type. Default to false.

KeyName string

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

KmsEncryptedPassword string

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

KmsEncryptionContext map[string]interface{}

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

Override bool

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

Password string

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 (/).

PasswordInherit bool

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

ResourceGroupId string

ID of resource group.

RoleName string

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

ScalingConfigurationName string

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.

ScalingGroupId string

ID of the scaling group of a scaling configuration.

SecurityGroupId string

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

SecurityGroupIds []string

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

SpotPriceLimits []ScalingConfigurationSpotPriceLimitArgs

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

SpotStrategy string

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

Substitute string

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

SystemDiskAutoSnapshotPolicyId string

The id of auto snapshot policy for system disk.

SystemDiskCategory string

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

SystemDiskDescription string

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

SystemDiskEncrypted bool

Whether to encrypt the system disk.

SystemDiskName string

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.

SystemDiskPerformanceLevel string

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

SystemDiskSize int

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

Tags map[string]interface{}

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.
UserData string

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

active Boolean

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

creditSpecification String

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

dataDisks List<ScalingConfigurationDataDiskArgs>

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

enable Boolean

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

forceDelete Boolean

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

hostName String

Hostname of an ECS instance.

imageId String

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

imageName String

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

instanceIds List<String>

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

Deprecated:

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

instanceName String

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

instancePatternInfos List<ScalingConfigurationInstancePatternInfoArgs>

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

instanceType String

Resource type of an ECS instance.

instanceTypes List<String>

Resource types of an ECS instance.

internetChargeType String

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

internetMaxBandwidthIn Integer

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

internetMaxBandwidthOut Integer

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

ioOptimized String

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.

isOutdated Boolean

Whether to use outdated instance type. Default to false.

keyName String

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

kmsEncryptedPassword String

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

kmsEncryptionContext Map<String,Object>

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

override Boolean

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

password String

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 (/).

passwordInherit Boolean

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

resourceGroupId String

ID of resource group.

roleName String

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

scalingConfigurationName String

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.

scalingGroupId String

ID of the scaling group of a scaling configuration.

securityGroupId String

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

securityGroupIds List<String>

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

spotPriceLimits List<ScalingConfigurationSpotPriceLimitArgs>

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

spotStrategy String

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

substitute String

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

systemDiskAutoSnapshotPolicyId String

The id of auto snapshot policy for system disk.

systemDiskCategory String

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

systemDiskDescription String

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

systemDiskEncrypted Boolean

Whether to encrypt the system disk.

systemDiskName String

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.

systemDiskPerformanceLevel String

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

systemDiskSize Integer

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

tags Map<String,Object>

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.
userData String

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

active boolean

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

creditSpecification string

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

dataDisks ScalingConfigurationDataDiskArgs[]

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

enable boolean

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

forceDelete boolean

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

hostName string

Hostname of an ECS instance.

imageId string

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

imageName string

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

instanceIds string[]

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

Deprecated:

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

instanceName string

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

instancePatternInfos ScalingConfigurationInstancePatternInfoArgs[]

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

instanceType string

Resource type of an ECS instance.

instanceTypes string[]

Resource types of an ECS instance.

internetChargeType string

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

internetMaxBandwidthIn number

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

internetMaxBandwidthOut number

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

ioOptimized string

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.

isOutdated boolean

Whether to use outdated instance type. Default to false.

keyName string

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

kmsEncryptedPassword string

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

kmsEncryptionContext {[key: string]: any}

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

override boolean

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

password string

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 (/).

passwordInherit boolean

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

resourceGroupId string

ID of resource group.

roleName string

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

scalingConfigurationName string

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.

scalingGroupId string

ID of the scaling group of a scaling configuration.

securityGroupId string

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

securityGroupIds string[]

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

spotPriceLimits ScalingConfigurationSpotPriceLimitArgs[]

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

spotStrategy string

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

substitute string

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

systemDiskAutoSnapshotPolicyId string

The id of auto snapshot policy for system disk.

systemDiskCategory string

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

systemDiskDescription string

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

systemDiskEncrypted boolean

Whether to encrypt the system disk.

systemDiskName string

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.

systemDiskPerformanceLevel string

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

systemDiskSize number

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

tags {[key: string]: any}

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.
userData string

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

active bool

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

credit_specification str

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

data_disks Sequence[ScalingConfigurationDataDiskArgs]

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

enable bool

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

force_delete bool

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

host_name str

Hostname of an ECS instance.

image_id str

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

image_name str

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

instance_ids Sequence[str]

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

Deprecated:

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

instance_name str

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

instance_pattern_infos Sequence[ScalingConfigurationInstancePatternInfoArgs]

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

instance_type str

Resource type of an ECS instance.

instance_types Sequence[str]

Resource types of an ECS instance.

internet_charge_type str

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

internet_max_bandwidth_in int

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

internet_max_bandwidth_out int

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

io_optimized str

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.

is_outdated bool

Whether to use outdated instance type. Default to false.

key_name str

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

kms_encrypted_password str

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

kms_encryption_context Mapping[str, Any]

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

override bool

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

password str

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_inherit bool

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

resource_group_id str

ID of resource group.

role_name str

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

scaling_configuration_name str

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.

scaling_group_id str

ID of the scaling group of a scaling configuration.

security_group_id str

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

security_group_ids Sequence[str]

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

spot_price_limits Sequence[ScalingConfigurationSpotPriceLimitArgs]

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

spot_strategy str

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

substitute str

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

system_disk_auto_snapshot_policy_id str

The id of auto snapshot policy for system disk.

system_disk_category str

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

system_disk_description str

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

system_disk_encrypted bool

Whether to encrypt the system disk.

system_disk_name str

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.

system_disk_performance_level str

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

system_disk_size int

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

tags Mapping[str, Any]

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.
user_data str

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

active Boolean

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

creditSpecification String

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

dataDisks List<Property Map>

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

enable Boolean

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

forceDelete Boolean

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

hostName String

Hostname of an ECS instance.

imageId String

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

imageName String

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

instanceIds List<String>

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

Deprecated:

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

instanceName String

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

instancePatternInfos List<Property Map>

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

instanceType String

Resource type of an ECS instance.

instanceTypes List<String>

Resource types of an ECS instance.

internetChargeType String

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

internetMaxBandwidthIn Number

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

internetMaxBandwidthOut Number

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

ioOptimized String

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.

isOutdated Boolean

Whether to use outdated instance type. Default to false.

keyName String

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

kmsEncryptedPassword String

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

kmsEncryptionContext Map<Any>

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

override Boolean

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

password String

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 (/).

passwordInherit Boolean

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

resourceGroupId String

ID of resource group.

roleName String

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

scalingConfigurationName String

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.

scalingGroupId String

ID of the scaling group of a scaling configuration.

securityGroupId String

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

securityGroupIds List<String>

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

spotPriceLimits List<Property Map>

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

spotStrategy String

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

substitute String

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

systemDiskAutoSnapshotPolicyId String

The id of auto snapshot policy for system disk.

systemDiskCategory String

Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.

systemDiskDescription String

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

systemDiskEncrypted Boolean

Whether to encrypt the system disk.

systemDiskName String

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.

systemDiskPerformanceLevel String

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

systemDiskSize Number

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

tags Map<Any>

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.
userData String

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

Supporting Types

ScalingConfigurationDataDisk

AutoSnapshotPolicyId string
Category string
DeleteWithInstance bool
Description string
Device string

Deprecated:

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

Encrypted bool
KmsKeyId string
Name string
PerformanceLevel string
Size int
SnapshotId string
AutoSnapshotPolicyId string
Category string
DeleteWithInstance bool
Description string
Device string

Deprecated:

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

Encrypted bool
KmsKeyId string
Name string
PerformanceLevel string
Size int
SnapshotId string
autoSnapshotPolicyId String
category String
deleteWithInstance Boolean
description String
device String

Deprecated:

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

encrypted Boolean
kmsKeyId String
name String
performanceLevel String
size Integer
snapshotId String
autoSnapshotPolicyId string
category string
deleteWithInstance boolean
description string
device string

Deprecated:

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

encrypted boolean
kmsKeyId string
name string
performanceLevel string
size number
snapshotId string
auto_snapshot_policy_id str
category str
delete_with_instance bool
description str
device str

Deprecated:

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

encrypted bool
kms_key_id str
name str
performance_level str
size int
snapshot_id str
autoSnapshotPolicyId String
category String
deleteWithInstance Boolean
description String
device String

Deprecated:

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

encrypted Boolean
kmsKeyId String
name String
performanceLevel String
size Number
snapshotId String

ScalingConfigurationInstancePatternInfo

Cores int
InstanceFamilyLevel string
MaxPrice float64
Memory float64
cores Integer
instanceFamilyLevel String
maxPrice Double
memory Double
cores number
instanceFamilyLevel string
maxPrice number
memory number
cores Number
instanceFamilyLevel String
maxPrice Number
memory Number

ScalingConfigurationSpotPriceLimit

InstanceType string

Resource type of an ECS instance.

PriceLimit double
InstanceType string

Resource type of an ECS instance.

PriceLimit float64
instanceType String

Resource type of an ECS instance.

priceLimit Double
instanceType string

Resource type of an ECS instance.

priceLimit number
instance_type str

Resource type of an ECS instance.

price_limit float
instanceType String

Resource type of an ECS instance.

priceLimit Number

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.