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:
- Scaling
Group stringId 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 string Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- Data
Disks List<Pulumi.Ali Cloud. Ess. Inputs. Scaling Configuration Data Disk Args> 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 string Hostname of an ECS instance.
- Image
Id string ID of an image file, indicating the image resource selected when an instance is enabled.
- Image
Name string Name of an image file, indicating the image resource selected when an instance is enabled.
- Instance
Ids List<string> It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- Instance
Name string Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- Instance
Pattern List<Pulumi.Infos Ali Cloud. Ess. Inputs. Scaling Configuration Instance Pattern Info Args> 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 string Resource type of an ECS instance.
- Instance
Types List<string> Resource types of an ECS instance.
- Internet
Charge stringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- Internet
Max intBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- Internet
Max intBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- Io
Optimized string It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 string The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- Kms
Encrypted stringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- Kms
Encryption Dictionary<string, object>Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- 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
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- Resource
Group stringId ID of resource group.
- Role
Name string 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 stringName 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 stringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- Security
Group List<string>Ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- Spot
Price List<Pulumi.Limits Ali Cloud. Ess. Inputs. Scaling Configuration Spot Price Limit Args> Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- Spot
Strategy 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 whenactive
is 'true'.- System
Disk stringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- System
Disk stringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- System
Disk stringDescription 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 boolEncrypted Whether to encrypt the system disk.
- System
Disk stringName 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 stringPerformance Level The performance level of the ESSD used as the system disk.
- System
Disk intSize 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}.
- 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.
- User
Data string User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.
- Scaling
Group stringId 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 string Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- Data
Disks []ScalingConfiguration Data Disk Args 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 string Hostname of an ECS instance.
- Image
Id string ID of an image file, indicating the image resource selected when an instance is enabled.
- Image
Name string Name of an image file, indicating the image resource selected when an instance is enabled.
- Instance
Ids []string It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- Instance
Name string Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- Instance
Pattern []ScalingInfos Configuration Instance Pattern Info Args 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 string Resource type of an ECS instance.
- Instance
Types []string Resource types of an ECS instance.
- Internet
Charge stringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- Internet
Max intBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- Internet
Max intBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- Io
Optimized string It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 string The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- Kms
Encrypted stringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- Kms
Encryption map[string]interface{}Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- 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
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- Resource
Group stringId ID of resource group.
- Role
Name string 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 stringName 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 stringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- Security
Group []stringIds List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- Spot
Price []ScalingLimits Configuration Spot Price Limit Args Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- Spot
Strategy 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 whenactive
is 'true'.- System
Disk stringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- System
Disk stringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- System
Disk stringDescription 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 boolEncrypted Whether to encrypt the system disk.
- System
Disk stringName 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 stringPerformance Level The performance level of the ESSD used as the system disk.
- System
Disk intSize 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}.
- 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.
- User
Data string User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.
- scaling
Group StringId ID of the scaling group of a scaling configuration.
- active Boolean
Whether active current scaling configuration in the specified scaling group. Default to
false
.- credit
Specification String Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- data
Disks List<ScalingConfiguration Data Disk Args> 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.
- force
Delete Boolean The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Name String Hostname of an ECS instance.
- image
Id String ID of an image file, indicating the image resource selected when an instance is enabled.
- image
Name String Name of an image file, indicating the image resource selected when an instance is enabled.
- instance
Ids List<String> It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- instance
Name String Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- instance
Pattern List<ScalingInfos Configuration Instance Pattern Info Args> 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 String Resource type of an ECS instance.
- instance
Types List<String> Resource types of an ECS instance.
- internet
Charge StringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- internet
Max IntegerBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- internet
Max IntegerBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- io
Optimized String It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 Boolean Whether to use outdated instance type. Default to false.
- key
Name String The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- kms
Encrypted StringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- kms
Encryption Map<String,Object>Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- password
Inherit Boolean Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the
password
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- resource
Group StringId ID of resource group.
- role
Name String 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 StringName 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 StringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- security
Group List<String>Ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- spot
Price List<ScalingLimits Configuration Spot Price Limit Args> Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- spot
Strategy 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 whenactive
is 'true'.- system
Disk StringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- system
Disk StringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- system
Disk StringDescription 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 BooleanEncrypted Whether to encrypt the system disk.
- system
Disk StringName 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 StringPerformance Level The performance level of the ESSD used as the system disk.
- system
Disk IntegerSize 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}.
- 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.
- user
Data String User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.
- scaling
Group stringId ID of the scaling group of a scaling configuration.
- active boolean
Whether active current scaling configuration in the specified scaling group. Default to
false
.- credit
Specification string Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- data
Disks ScalingConfiguration Data Disk Args[] 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.
- force
Delete boolean The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Name string Hostname of an ECS instance.
- image
Id string ID of an image file, indicating the image resource selected when an instance is enabled.
- image
Name string Name of an image file, indicating the image resource selected when an instance is enabled.
- instance
Ids string[] It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- instance
Name string Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- instance
Pattern ScalingInfos Configuration Instance Pattern Info Args[] 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 string Resource type of an ECS instance.
- instance
Types string[] Resource types of an ECS instance.
- internet
Charge stringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- internet
Max numberBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- internet
Max numberBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- io
Optimized string It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 boolean Whether to use outdated instance type. Default to false.
- key
Name string The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- kms
Encrypted stringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- kms
Encryption {[key: string]: any}Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- password
Inherit boolean Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the
password
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- resource
Group stringId ID of resource group.
- role
Name string 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 stringName 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 stringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- security
Group string[]Ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- spot
Price ScalingLimits Configuration Spot Price Limit Args[] Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- spot
Strategy 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 whenactive
is 'true'.- system
Disk stringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- system
Disk stringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- system
Disk stringDescription 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 booleanEncrypted Whether to encrypt the system disk.
- system
Disk stringName 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 stringPerformance Level The performance level of the ESSD used as the system disk.
- system
Disk numberSize 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}.
- {[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.
- user
Data string User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.
- scaling_
group_ strid 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[ScalingConfiguration Data Disk Args] 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.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_ Sequence[Scalinginfos Configuration Instance Pattern Info Args] 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_ strtype Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- internet_
max_ intbandwidth_ in Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- internet_
max_ intbandwidth_ out 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.
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_ strpassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- kms_
encryption_ Mapping[str, Any]context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- resource_
group_ strid 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_ strname 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_ strid ID of the security group used to create new instance. It is conflict with
security_group_ids
.- security_
group_ Sequence[str]ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- spot_
price_ Sequence[Scalinglimits Configuration Spot Price Limit Args] 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 whenactive
is 'true'.- system_
disk_ strauto_ snapshot_ policy_ id The id of auto snapshot policy for system disk.
- system_
disk_ strcategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- system_
disk_ strdescription 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_ boolencrypted Whether to encrypt the system disk.
- system_
disk_ strname 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_ strperformance_ level The performance level of the ESSD used as the system disk.
- system_
disk_ intsize 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}.
- 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.
- scaling
Group StringId ID of the scaling group of a scaling configuration.
- active Boolean
Whether active current scaling configuration in the specified scaling group. Default to
false
.- credit
Specification String Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- data
Disks 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.
- force
Delete Boolean The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Name String Hostname of an ECS instance.
- image
Id String ID of an image file, indicating the image resource selected when an instance is enabled.
- image
Name String Name of an image file, indicating the image resource selected when an instance is enabled.
- instance
Ids List<String> It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- instance
Name String Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- instance
Pattern List<Property Map>Infos 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 String Resource type of an ECS instance.
- instance
Types List<String> Resource types of an ECS instance.
- internet
Charge StringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- internet
Max NumberBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- internet
Max NumberBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- io
Optimized String It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 Boolean Whether to use outdated instance type. Default to false.
- key
Name String The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- kms
Encrypted StringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- kms
Encryption Map<Any>Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- password
Inherit Boolean Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the
password
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- resource
Group StringId ID of resource group.
- role
Name String 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 StringName 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 StringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- security
Group List<String>Ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- spot
Price List<Property Map>Limits Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- spot
Strategy 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 whenactive
is 'true'.- system
Disk StringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- system
Disk StringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- system
Disk StringDescription 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 BooleanEncrypted Whether to encrypt the system disk.
- system
Disk StringName 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 StringPerformance Level The performance level of the ESSD used as the system disk.
- system
Disk NumberSize 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}.
- 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.
- user
Data 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.
- Active bool
Whether active current scaling configuration in the specified scaling group. Default to
false
.- Credit
Specification string Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- Data
Disks List<Pulumi.Ali Cloud. Ess. Inputs. Scaling Configuration Data Disk Args> 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 string Hostname of an ECS instance.
- Image
Id string ID of an image file, indicating the image resource selected when an instance is enabled.
- Image
Name string Name of an image file, indicating the image resource selected when an instance is enabled.
- Instance
Ids List<string> It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- Instance
Name string Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- Instance
Pattern List<Pulumi.Infos Ali Cloud. Ess. Inputs. Scaling Configuration Instance Pattern Info Args> 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 string Resource type of an ECS instance.
- Instance
Types List<string> Resource types of an ECS instance.
- Internet
Charge stringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- Internet
Max intBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- Internet
Max intBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- Io
Optimized string It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 string The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- Kms
Encrypted stringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- Kms
Encryption Dictionary<string, object>Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- 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
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- Resource
Group stringId ID of resource group.
- Role
Name string 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 stringName 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 stringId ID of the scaling group of a scaling configuration.
- Security
Group stringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- Security
Group List<string>Ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- Spot
Price List<Pulumi.Limits Ali Cloud. Ess. Inputs. Scaling Configuration Spot Price Limit Args> Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- Spot
Strategy 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 whenactive
is 'true'.- System
Disk stringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- System
Disk stringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- System
Disk stringDescription 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 boolEncrypted Whether to encrypt the system disk.
- System
Disk stringName 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 stringPerformance Level The performance level of the ESSD used as the system disk.
- System
Disk intSize 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}.
- 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.
- User
Data 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 string Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- Data
Disks []ScalingConfiguration Data Disk Args 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 string Hostname of an ECS instance.
- Image
Id string ID of an image file, indicating the image resource selected when an instance is enabled.
- Image
Name string Name of an image file, indicating the image resource selected when an instance is enabled.
- Instance
Ids []string It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- Instance
Name string Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- Instance
Pattern []ScalingInfos Configuration Instance Pattern Info Args 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 string Resource type of an ECS instance.
- Instance
Types []string Resource types of an ECS instance.
- Internet
Charge stringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- Internet
Max intBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- Internet
Max intBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- Io
Optimized string It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 string The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- Kms
Encrypted stringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- Kms
Encryption map[string]interface{}Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- 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
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- Resource
Group stringId ID of resource group.
- Role
Name string 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 stringName 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 stringId ID of the scaling group of a scaling configuration.
- Security
Group stringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- Security
Group []stringIds List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- Spot
Price []ScalingLimits Configuration Spot Price Limit Args Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- Spot
Strategy 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 whenactive
is 'true'.- System
Disk stringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- System
Disk stringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- System
Disk stringDescription 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 boolEncrypted Whether to encrypt the system disk.
- System
Disk stringName 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 stringPerformance Level The performance level of the ESSD used as the system disk.
- System
Disk intSize 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}.
- 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.
- User
Data 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
.- credit
Specification String Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- data
Disks List<ScalingConfiguration Data Disk Args> 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.
- force
Delete Boolean The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Name String Hostname of an ECS instance.
- image
Id String ID of an image file, indicating the image resource selected when an instance is enabled.
- image
Name String Name of an image file, indicating the image resource selected when an instance is enabled.
- instance
Ids List<String> It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- instance
Name String Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- instance
Pattern List<ScalingInfos Configuration Instance Pattern Info Args> 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 String Resource type of an ECS instance.
- instance
Types List<String> Resource types of an ECS instance.
- internet
Charge StringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- internet
Max IntegerBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- internet
Max IntegerBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- io
Optimized String It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 Boolean Whether to use outdated instance type. Default to false.
- key
Name String The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- kms
Encrypted StringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- kms
Encryption Map<String,Object>Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- password
Inherit Boolean Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the
password
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- resource
Group StringId ID of resource group.
- role
Name String 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 StringName 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 StringId ID of the scaling group of a scaling configuration.
- security
Group StringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- security
Group List<String>Ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- spot
Price List<ScalingLimits Configuration Spot Price Limit Args> Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- spot
Strategy 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 whenactive
is 'true'.- system
Disk StringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- system
Disk StringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- system
Disk StringDescription 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 BooleanEncrypted Whether to encrypt the system disk.
- system
Disk StringName 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 StringPerformance Level The performance level of the ESSD used as the system disk.
- system
Disk IntegerSize 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}.
- 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.
- user
Data 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
.- credit
Specification string Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- data
Disks ScalingConfiguration Data Disk Args[] 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.
- force
Delete boolean The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Name string Hostname of an ECS instance.
- image
Id string ID of an image file, indicating the image resource selected when an instance is enabled.
- image
Name string Name of an image file, indicating the image resource selected when an instance is enabled.
- instance
Ids string[] It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- instance
Name string Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- instance
Pattern ScalingInfos Configuration Instance Pattern Info Args[] 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 string Resource type of an ECS instance.
- instance
Types string[] Resource types of an ECS instance.
- internet
Charge stringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- internet
Max numberBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- internet
Max numberBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- io
Optimized string It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 boolean Whether to use outdated instance type. Default to false.
- key
Name string The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- kms
Encrypted stringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- kms
Encryption {[key: string]: any}Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- password
Inherit boolean Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the
password
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- resource
Group stringId ID of resource group.
- role
Name string 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 stringName 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 stringId ID of the scaling group of a scaling configuration.
- security
Group stringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- security
Group string[]Ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- spot
Price ScalingLimits Configuration Spot Price Limit Args[] Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- spot
Strategy 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 whenactive
is 'true'.- system
Disk stringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- system
Disk stringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- system
Disk stringDescription 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 booleanEncrypted Whether to encrypt the system disk.
- system
Disk stringName 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 stringPerformance Level The performance level of the ESSD used as the system disk.
- system
Disk numberSize 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}.
- {[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.
- user
Data 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[ScalingConfiguration Data Disk Args] 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.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_ Sequence[Scalinginfos Configuration Instance Pattern Info Args] 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_ strtype Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- internet_
max_ intbandwidth_ in Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- internet_
max_ intbandwidth_ out 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.
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_ strpassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- kms_
encryption_ Mapping[str, Any]context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- resource_
group_ strid 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_ strname 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_ strid ID of the scaling group of a scaling configuration.
- security_
group_ strid ID of the security group used to create new instance. It is conflict with
security_group_ids
.- security_
group_ Sequence[str]ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- spot_
price_ Sequence[Scalinglimits Configuration Spot Price Limit Args] 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 whenactive
is 'true'.- system_
disk_ strauto_ snapshot_ policy_ id The id of auto snapshot policy for system disk.
- system_
disk_ strcategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- system_
disk_ strdescription 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_ boolencrypted Whether to encrypt the system disk.
- system_
disk_ strname 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_ strperformance_ level The performance level of the ESSD used as the system disk.
- system_
disk_ intsize 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}.
- 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
.- credit
Specification String Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
- data
Disks 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.
- force
Delete Boolean The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Name String Hostname of an ECS instance.
- image
Id String ID of an image file, indicating the image resource selected when an instance is enabled.
- image
Name String Name of an image file, indicating the image resource selected when an instance is enabled.
- instance
Ids List<String> It has been deprecated from version 1.6.0. New resource
alicloud.ess.Attachment
replaces it.Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.
- instance
Name String Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
- instance
Pattern List<Property Map>Infos 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 String Resource type of an ECS instance.
- instance
Types List<String> Resource types of an ECS instance.
- internet
Charge StringType Network billing type, Values: PayByBandwidth or PayByTraffic. Default to
PayByBandwidth
.- internet
Max NumberBandwidth In Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
- internet
Max NumberBandwidth Out Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
- io
Optimized String It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
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 Boolean Whether to use outdated instance type. Default to false.
- key
Name String The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
- kms
Encrypted StringPassword An KMS encrypts password used to a db account. If the
password
is filled in, this field will be ignored.- kms
Encryption Map<Any>Context An KMS encryption context used to decrypt
kms_encrypted_password
before creating or updating a db account withkms_encrypted_password
. See Encryption Context. It is valid whenkms_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 (/).- password
Inherit Boolean Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the
password
andkms_encrypted_password
will be ignored. You must ensure that the selected image has a password configured.- resource
Group StringId ID of resource group.
- role
Name String 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 StringName 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 StringId ID of the scaling group of a scaling configuration.
- security
Group StringId ID of the security group used to create new instance. It is conflict with
security_group_ids
.- security
Group List<String>Ids List IDs of the security group used to create new instances. It is conflict with
security_group_id
.- spot
Price List<Property Map>Limits Sets the maximum price hourly for instance types. See Block spotPriceLimit below for details.
- spot
Strategy 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 whenactive
is 'true'.- system
Disk StringAuto Snapshot Policy Id The id of auto snapshot policy for system disk.
- system
Disk StringCategory Category of the system disk. The parameter value options are
ephemeral_ssd
,cloud_efficiency
,cloud_ssd
,cloud_essd
andcloud
.cloud
only is used to some no I/O optimized instance. Default tocloud_efficiency
.- system
Disk StringDescription 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 BooleanEncrypted Whether to encrypt the system disk.
- system
Disk StringName 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 StringPerformance Level The performance level of the ESSD used as the system disk.
- system
Disk NumberSize 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}.
- 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.
- user
Data String User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.
Supporting Types
ScalingConfigurationDataDisk
- Auto
Snapshot stringPolicy Id - Category string
- Delete
With boolInstance - Description string
- Device string
Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.
- Encrypted bool
- Kms
Key stringId - Name string
- Performance
Level string - Size int
- Snapshot
Id string
- Auto
Snapshot stringPolicy Id - Category string
- Delete
With boolInstance - Description string
- Device string
Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.
- Encrypted bool
- Kms
Key stringId - Name string
- Performance
Level string - Size int
- Snapshot
Id string
- auto
Snapshot StringPolicy Id - category String
- delete
With BooleanInstance - description String
- device String
Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.
- encrypted Boolean
- kms
Key StringId - name String
- performance
Level String - size Integer
- snapshot
Id String
- auto
Snapshot stringPolicy Id - category string
- delete
With booleanInstance - description string
- device string
Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.
- encrypted boolean
- kms
Key stringId - name string
- performance
Level string - size number
- snapshot
Id string
- auto_
snapshot_ strpolicy_ id - category str
- delete_
with_ boolinstance - description str
- device str
Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.
- encrypted bool
- kms_
key_ strid - name str
- performance_
level str - size int
- snapshot_
id str
- auto
Snapshot StringPolicy Id - category String
- delete
With BooleanInstance - description String
- device String
Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.
- encrypted Boolean
- kms
Key StringId - name String
- performance
Level String - size Number
- snapshot
Id String
ScalingConfigurationInstancePatternInfo
- Cores int
- Instance
Family stringLevel - Max
Price double - Memory double
- Cores int
- Instance
Family stringLevel - Max
Price float64 - Memory float64
- cores Integer
- instance
Family StringLevel - max
Price Double - memory Double
- cores number
- instance
Family stringLevel - max
Price number - memory number
- cores int
- instance_
family_ strlevel - max_
price float - memory float
- cores Number
- instance
Family StringLevel - max
Price Number - memory Number
ScalingConfigurationSpotPriceLimit
- Instance
Type string Resource type of an ECS instance.
- Price
Limit double
- Instance
Type string Resource type of an ECS instance.
- Price
Limit float64
- instance
Type String Resource type of an ECS instance.
- price
Limit Double
- instance
Type string Resource type of an ECS instance.
- price
Limit number
- instance_
type str Resource type of an ECS instance.
- price_
limit float
- instance
Type String Resource type of an ECS instance.
- price
Limit Number
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.