ScalingConfiguration

Create a ScalingConfiguration Resource

def ScalingConfiguration(resource_name, opts=None, active=None, data_disks=None, enable=None, force_delete=None, image_id=None, instance_ids=None, instance_name=None, instance_type=None, instance_types=None, internet_charge_type=None, internet_max_bandwidth_in=None, internet_max_bandwidth_out=None, io_optimized=None, is_outdated=None, key_name=None, kms_encrypted_password=None, kms_encryption_context=None, override=None, password=None, password_inherit=None, role_name=None, scaling_configuration_name=None, scaling_group_id=None, security_group_id=None, security_group_ids=None, substitute=None, system_disk_category=None, system_disk_size=None, tags=None, user_data=None, __props__=None);
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.
opts ResourceOptions
A bag of options that control this 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.

ScalingConfiguration Resource Properties

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

Inputs

The ScalingConfiguration resource accepts the following input properties:

ImageId string

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

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.

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.

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.

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.

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.

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

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.

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.

ImageId string

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

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.

DataDisks []ScalingConfigurationDataDisk

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.

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.

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.

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.

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

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.

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.

imageId string

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

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.

dataDisks ScalingConfigurationDataDisk[]

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.

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.

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.

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.

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

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.

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.

image_id str

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

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.

data_disks List[ScalingConfigurationDataDisk]

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.

instance_ids List[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_type str

Resource type of an ECS instance.

instance_types List[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 float

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

internet_max_bandwidth_out float

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 Dict[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.

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 List[str]

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

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_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_size float

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 Dict[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.

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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing ScalingConfiguration Resource

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

static get(resource_name, id, opts=None, active=None, data_disks=None, enable=None, force_delete=None, image_id=None, instance_ids=None, instance_name=None, instance_type=None, instance_types=None, internet_charge_type=None, internet_max_bandwidth_in=None, internet_max_bandwidth_out=None, io_optimized=None, is_outdated=None, key_name=None, kms_encrypted_password=None, kms_encryption_context=None, override=None, password=None, password_inherit=None, role_name=None, scaling_configuration_name=None, scaling_group_id=None, security_group_id=None, security_group_ids=None, substitute=None, system_disk_category=None, system_disk_size=None, tags=None, user_data=None, __props__=None);
func GetScalingConfiguration(ctx *Context, name string, id IDInput, state *ScalingConfigurationState, opts ...ResourceOption) (*ScalingConfiguration, error)
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.

The following state arguments are supported:

Active bool

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

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.

ImageId string

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

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.

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.

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

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.

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.

DataDisks []ScalingConfigurationDataDisk

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.

ImageId string

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

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.

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.

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

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.

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.

dataDisks ScalingConfigurationDataDisk[]

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.

imageId string

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

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.

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.

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

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.

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.

data_disks List[ScalingConfigurationDataDisk]

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.

image_id str

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

instance_ids List[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_type str

Resource type of an ECS instance.

instance_types List[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 float

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

internet_max_bandwidth_out float

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 Dict[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.

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 List[str]

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

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_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_size float

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 Dict[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.

Supporting Types

ScalingConfigurationDataDisk

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Category string
DeleteWithInstance bool
Device string

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

Size int
SnapshotId string
Category string
DeleteWithInstance bool
Device string

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

Size int
SnapshotId string
category string
deleteWithInstance boolean
device string

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

size number
snapshotId string
category str
delete_with_instance bool
device str

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

size float
snapshot_id str

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.