published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Defines the instance configuration in the scaling group, including compute, memory, network, storage, and security. When the scaling group expands, new instances are created based on this configuration source.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
autoScalingDemo:
type: volcenginecc:autoscaling:ScalingConfiguration
name: AutoScalingDemo
properties:
instanceName: AutoScalingDemo
scalingConfigurationName: AutoScalingDemo
hostName: AutoScalingDemo
scalingGroupId: scg-ye43d97gsvkxgganxxxx
securityGroupIds:
- sg-rrco3fkzzy0wv0x589wxxxx
eip:
bandwidth: 1
billing_type: PostPaidByBandwidth
isp: BGP
bandwidth_package_id: bwp-btgl56gbli4g5h0b2v7ixxxx
release_with_instance: true
ipv6AddressCount: 1
spotStrategy: SpotWithPriceLimit
instanceTypeOverrides:
- instance_type: ecs.g4il.large
price_limit: 0.5
imageId: image-aagd56zrvqjtdripxxxx
securityEnhancementStrategy: Active
volumes:
- delete_with_instance: true
size: 40
volume_type: ESSD_PL0
- delete_with_instance: true
size: 500
volume_type: ESSD_FlexPL
extra_performance_iops: 3
extra_performance_type_id: Balance
- delete_with_instance: true
size: 510
volume_type: ESSD_FlexPL
extra_performance_iops: 2
extra_performance_type_id: IOPS
- delete_with_instance: true
size: 520
volume_type: ESSD_FlexPL
extra_performance_throughput_mb: 2
extra_performance_type_id: Throughput
projectName: default
keyPairName: test
password: test
instanceDescription: Web server configuration
zoneId: cn-test
tags:
- key: env
value: test
Create ScalingConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScalingConfiguration(name: string, args?: ScalingConfigurationArgs, opts?: CustomResourceOptions);@overload
def ScalingConfiguration(resource_name: str,
args: Optional[ScalingConfigurationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ScalingConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
eip: Optional[ScalingConfigurationEipArgs] = None,
host_name: Optional[str] = None,
hpc_cluster_id: Optional[str] = None,
image_id: Optional[str] = None,
instance_description: Optional[str] = None,
instance_name: Optional[str] = None,
instance_type_overrides: Optional[Sequence[ScalingConfigurationInstanceTypeOverrideArgs]] = None,
ipv6_address_count: Optional[int] = None,
key_pair_name: Optional[str] = None,
lifecycle_state: Optional[str] = None,
password: Optional[str] = None,
project_name: Optional[str] = None,
scaling_configuration_name: Optional[str] = None,
scaling_group_id: Optional[str] = None,
security_enhancement_strategy: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
spot_strategy: Optional[str] = None,
tags: Optional[Sequence[ScalingConfigurationTagArgs]] = None,
user_data: Optional[str] = None,
volumes: Optional[Sequence[ScalingConfigurationVolumeArgs]] = None,
zone_id: Optional[str] = None)func NewScalingConfiguration(ctx *Context, name string, args *ScalingConfigurationArgs, opts ...ResourceOption) (*ScalingConfiguration, error)public ScalingConfiguration(string name, ScalingConfigurationArgs? args = null, CustomResourceOptions? opts = null)
public ScalingConfiguration(String name, ScalingConfigurationArgs args)
public ScalingConfiguration(String name, ScalingConfigurationArgs args, CustomResourceOptions options)
type: volcenginecc:autoscaling:ScalingConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScalingConfiguration resource accepts the following input properties:
- Eip
Volcengine.
Scaling Configuration Eip - Public IP.
- Host
Name string - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- Hpc
Cluster stringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- Image
Id string - Image ID. The image resource used when the scaling group automatically creates an instance
- Instance
Description string - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- Instance
Name string - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- Instance
Type List<Volcengine.Overrides Scaling Configuration Instance Type Override> - Ipv6Address
Count int - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- Key
Pair stringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- Lifecycle
State string - Lifecycle status. Values: Active (active) / InActive (inactive)
- Password string
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- Project
Name string - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- Scaling
Configuration stringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- Scaling
Group stringId - Scaling group ID to which the scaling configuration belongs
- Security
Enhancement stringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- Security
Group List<string>Ids - Security group ID associated with the instance's primary network interface
- Spot
Strategy string - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
List<Volcengine.
Scaling Configuration Tag> - User
Data string - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- Volumes
List<Volcengine.
Scaling Configuration Volume> - Zone
Id string - Availability zone ID for the scaling configuration
- Eip
Scaling
Configuration Eip Args - Public IP.
- Host
Name string - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- Hpc
Cluster stringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- Image
Id string - Image ID. The image resource used when the scaling group automatically creates an instance
- Instance
Description string - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- Instance
Name string - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- Instance
Type []ScalingOverrides Configuration Instance Type Override Args - Ipv6Address
Count int - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- Key
Pair stringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- Lifecycle
State string - Lifecycle status. Values: Active (active) / InActive (inactive)
- Password string
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- Project
Name string - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- Scaling
Configuration stringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- Scaling
Group stringId - Scaling group ID to which the scaling configuration belongs
- Security
Enhancement stringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- Security
Group []stringIds - Security group ID associated with the instance's primary network interface
- Spot
Strategy string - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
[]Scaling
Configuration Tag Args - User
Data string - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- Volumes
[]Scaling
Configuration Volume Args - Zone
Id string - Availability zone ID for the scaling configuration
- eip
Scaling
Configuration Eip - Public IP.
- host
Name String - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- hpc
Cluster StringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- image
Id String - Image ID. The image resource used when the scaling group automatically creates an instance
- instance
Description String - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- instance
Name String - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- instance
Type List<ScalingOverrides Configuration Instance Type Override> - ipv6Address
Count Integer - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- key
Pair StringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- lifecycle
State String - Lifecycle status. Values: Active (active) / InActive (inactive)
- password String
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- project
Name String - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- scaling
Configuration StringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- scaling
Group StringId - Scaling group ID to which the scaling configuration belongs
- security
Enhancement StringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- security
Group List<String>Ids - Security group ID associated with the instance's primary network interface
- spot
Strategy String - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
List<Scaling
Configuration Tag> - user
Data String - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- volumes
List<Scaling
Configuration Volume> - zone
Id String - Availability zone ID for the scaling configuration
- eip
Scaling
Configuration Eip - Public IP.
- host
Name string - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- hpc
Cluster stringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- image
Id string - Image ID. The image resource used when the scaling group automatically creates an instance
- instance
Description string - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- instance
Name string - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- instance
Type ScalingOverrides Configuration Instance Type Override[] - ipv6Address
Count number - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- key
Pair stringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- lifecycle
State string - Lifecycle status. Values: Active (active) / InActive (inactive)
- password string
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- project
Name string - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- scaling
Configuration stringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- scaling
Group stringId - Scaling group ID to which the scaling configuration belongs
- security
Enhancement stringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- security
Group string[]Ids - Security group ID associated with the instance's primary network interface
- spot
Strategy string - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
Scaling
Configuration Tag[] - user
Data string - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- volumes
Scaling
Configuration Volume[] - zone
Id string - Availability zone ID for the scaling configuration
- eip
Scaling
Configuration Eip Args - Public IP.
- host_
name str - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- hpc_
cluster_ strid - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- image_
id str - Image ID. The image resource used when the scaling group automatically creates an instance
- instance_
description str - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- instance_
name str - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- instance_
type_ Sequence[Scalingoverrides Configuration Instance Type Override Args] - ipv6_
address_ intcount - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- key_
pair_ strname - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- lifecycle_
state str - Lifecycle status. Values: Active (active) / InActive (inactive)
- password str
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- project_
name str - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- scaling_
configuration_ strname - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- scaling_
group_ strid - Scaling group ID to which the scaling configuration belongs
- security_
enhancement_ strstrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- security_
group_ Sequence[str]ids - Security group ID associated with the instance's primary network interface
- spot_
strategy str - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
Sequence[Scaling
Configuration Tag Args] - user_
data str - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- volumes
Sequence[Scaling
Configuration Volume Args] - zone_
id str - Availability zone ID for the scaling configuration
- eip Property Map
- Public IP.
- host
Name String - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- hpc
Cluster StringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- image
Id String - Image ID. The image resource used when the scaling group automatically creates an instance
- instance
Description String - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- instance
Name String - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- instance
Type List<Property Map>Overrides - ipv6Address
Count Number - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- key
Pair StringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- lifecycle
State String - Lifecycle status. Values: Active (active) / InActive (inactive)
- password String
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- project
Name String - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- scaling
Configuration StringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- scaling
Group StringId - Scaling group ID to which the scaling configuration belongs
- security
Enhancement StringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- security
Group List<String>Ids - Security group ID associated with the instance's primary network interface
- spot
Strategy String - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
- List<Property Map>
- user
Data String - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- volumes List<Property Map>
- zone
Id String - Availability zone ID for the scaling configuration
Outputs
All input properties are implicitly available as output properties. Additionally, the ScalingConfiguration resource produces the following output properties:
- Created
At string - Resource creation time (UTC)
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Charge stringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- Instance
Types List<string> - List of compute specifications for the instance
- Scaling
Configuration stringId - Scaling configuration ID
- Updated
At string - Resource update time (UTC)
- Created
At string - Resource creation time (UTC)
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Charge stringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- Instance
Types []string - List of compute specifications for the instance
- Scaling
Configuration stringId - Scaling configuration ID
- Updated
At string - Resource update time (UTC)
- created
At String - Resource creation time (UTC)
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Charge StringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- instance
Types List<String> - List of compute specifications for the instance
- scaling
Configuration StringId - Scaling configuration ID
- updated
At String - Resource update time (UTC)
- created
At string - Resource creation time (UTC)
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Charge stringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- instance
Types string[] - List of compute specifications for the instance
- scaling
Configuration stringId - Scaling configuration ID
- updated
At string - Resource update time (UTC)
- created_
at str - Resource creation time (UTC)
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
charge_ strtype - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- instance_
types Sequence[str] - List of compute specifications for the instance
- scaling_
configuration_ strid - Scaling configuration ID
- updated_
at str - Resource update time (UTC)
- created
At String - Resource creation time (UTC)
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Charge StringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- instance
Types List<String> - List of compute specifications for the instance
- scaling
Configuration StringId - Scaling configuration ID
- updated
At String - Resource update time (UTC)
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,
created_at: Optional[str] = None,
eip: Optional[ScalingConfigurationEipArgs] = None,
host_name: Optional[str] = None,
hpc_cluster_id: Optional[str] = None,
image_id: Optional[str] = None,
instance_charge_type: Optional[str] = None,
instance_description: Optional[str] = None,
instance_name: Optional[str] = None,
instance_type_overrides: Optional[Sequence[ScalingConfigurationInstanceTypeOverrideArgs]] = None,
instance_types: Optional[Sequence[str]] = None,
ipv6_address_count: Optional[int] = None,
key_pair_name: Optional[str] = None,
lifecycle_state: Optional[str] = None,
password: Optional[str] = None,
project_name: Optional[str] = None,
scaling_configuration_id: Optional[str] = None,
scaling_configuration_name: Optional[str] = None,
scaling_group_id: Optional[str] = None,
security_enhancement_strategy: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
spot_strategy: Optional[str] = None,
tags: Optional[Sequence[ScalingConfigurationTagArgs]] = None,
updated_at: Optional[str] = None,
user_data: Optional[str] = None,
volumes: Optional[Sequence[ScalingConfigurationVolumeArgs]] = None,
zone_id: Optional[str] = None) -> ScalingConfigurationfunc 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)resources: _: type: volcenginecc:autoscaling:ScalingConfiguration get: id: ${id}- 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.
- Created
At string - Resource creation time (UTC)
- Eip
Volcengine.
Scaling Configuration Eip - Public IP.
- Host
Name string - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- Hpc
Cluster stringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- Image
Id string - Image ID. The image resource used when the scaling group automatically creates an instance
- Instance
Charge stringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- Instance
Description string - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- Instance
Name string - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- Instance
Type List<Volcengine.Overrides Scaling Configuration Instance Type Override> - Instance
Types List<string> - List of compute specifications for the instance
- Ipv6Address
Count int - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- Key
Pair stringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- Lifecycle
State string - Lifecycle status. Values: Active (active) / InActive (inactive)
- Password string
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- Project
Name string - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- Scaling
Configuration stringId - Scaling configuration ID
- Scaling
Configuration stringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- Scaling
Group stringId - Scaling group ID to which the scaling configuration belongs
- Security
Enhancement stringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- Security
Group List<string>Ids - Security group ID associated with the instance's primary network interface
- Spot
Strategy string - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
List<Volcengine.
Scaling Configuration Tag> - Updated
At string - Resource update time (UTC)
- User
Data string - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- Volumes
List<Volcengine.
Scaling Configuration Volume> - Zone
Id string - Availability zone ID for the scaling configuration
- Created
At string - Resource creation time (UTC)
- Eip
Scaling
Configuration Eip Args - Public IP.
- Host
Name string - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- Hpc
Cluster stringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- Image
Id string - Image ID. The image resource used when the scaling group automatically creates an instance
- Instance
Charge stringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- Instance
Description string - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- Instance
Name string - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- Instance
Type []ScalingOverrides Configuration Instance Type Override Args - Instance
Types []string - List of compute specifications for the instance
- Ipv6Address
Count int - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- Key
Pair stringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- Lifecycle
State string - Lifecycle status. Values: Active (active) / InActive (inactive)
- Password string
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- Project
Name string - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- Scaling
Configuration stringId - Scaling configuration ID
- Scaling
Configuration stringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- Scaling
Group stringId - Scaling group ID to which the scaling configuration belongs
- Security
Enhancement stringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- Security
Group []stringIds - Security group ID associated with the instance's primary network interface
- Spot
Strategy string - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
[]Scaling
Configuration Tag Args - Updated
At string - Resource update time (UTC)
- User
Data string - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- Volumes
[]Scaling
Configuration Volume Args - Zone
Id string - Availability zone ID for the scaling configuration
- created
At String - Resource creation time (UTC)
- eip
Scaling
Configuration Eip - Public IP.
- host
Name String - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- hpc
Cluster StringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- image
Id String - Image ID. The image resource used when the scaling group automatically creates an instance
- instance
Charge StringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- instance
Description String - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- instance
Name String - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- instance
Type List<ScalingOverrides Configuration Instance Type Override> - instance
Types List<String> - List of compute specifications for the instance
- ipv6Address
Count Integer - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- key
Pair StringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- lifecycle
State String - Lifecycle status. Values: Active (active) / InActive (inactive)
- password String
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- project
Name String - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- scaling
Configuration StringId - Scaling configuration ID
- scaling
Configuration StringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- scaling
Group StringId - Scaling group ID to which the scaling configuration belongs
- security
Enhancement StringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- security
Group List<String>Ids - Security group ID associated with the instance's primary network interface
- spot
Strategy String - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
List<Scaling
Configuration Tag> - updated
At String - Resource update time (UTC)
- user
Data String - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- volumes
List<Scaling
Configuration Volume> - zone
Id String - Availability zone ID for the scaling configuration
- created
At string - Resource creation time (UTC)
- eip
Scaling
Configuration Eip - Public IP.
- host
Name string - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- hpc
Cluster stringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- image
Id string - Image ID. The image resource used when the scaling group automatically creates an instance
- instance
Charge stringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- instance
Description string - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- instance
Name string - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- instance
Type ScalingOverrides Configuration Instance Type Override[] - instance
Types string[] - List of compute specifications for the instance
- ipv6Address
Count number - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- key
Pair stringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- lifecycle
State string - Lifecycle status. Values: Active (active) / InActive (inactive)
- password string
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- project
Name string - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- scaling
Configuration stringId - Scaling configuration ID
- scaling
Configuration stringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- scaling
Group stringId - Scaling group ID to which the scaling configuration belongs
- security
Enhancement stringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- security
Group string[]Ids - Security group ID associated with the instance's primary network interface
- spot
Strategy string - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
Scaling
Configuration Tag[] - updated
At string - Resource update time (UTC)
- user
Data string - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- volumes
Scaling
Configuration Volume[] - zone
Id string - Availability zone ID for the scaling configuration
- created_
at str - Resource creation time (UTC)
- eip
Scaling
Configuration Eip Args - Public IP.
- host_
name str - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- hpc_
cluster_ strid - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- image_
id str - Image ID. The image resource used when the scaling group automatically creates an instance
- instance_
charge_ strtype - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- instance_
description str - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- instance_
name str - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- instance_
type_ Sequence[Scalingoverrides Configuration Instance Type Override Args] - instance_
types Sequence[str] - List of compute specifications for the instance
- ipv6_
address_ intcount - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- key_
pair_ strname - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- lifecycle_
state str - Lifecycle status. Values: Active (active) / InActive (inactive)
- password str
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- project_
name str - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- scaling_
configuration_ strid - Scaling configuration ID
- scaling_
configuration_ strname - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- scaling_
group_ strid - Scaling group ID to which the scaling configuration belongs
- security_
enhancement_ strstrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- security_
group_ Sequence[str]ids - Security group ID associated with the instance's primary network interface
- spot_
strategy str - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
-
Sequence[Scaling
Configuration Tag Args] - updated_
at str - Resource update time (UTC)
- user_
data str - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- volumes
Sequence[Scaling
Configuration Volume Args] - zone_
id str - Availability zone ID for the scaling configuration
- created
At String - Resource creation time (UTC)
- eip Property Map
- Public IP.
- host
Name String - Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-'
- hpc
Cluster StringId - ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'.
- image
Id String - Image ID. The image resource used when the scaling group automatically creates an instance
- instance
Charge StringType - Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go)
- instance
Description String - Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- instance
Name String - Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters.
- instance
Type List<Property Map>Overrides - instance
Types List<String> - List of compute specifications for the instance
- ipv6Address
Count Number - Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you.
- key
Pair StringName - Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect
- lifecycle
State String - Lifecycle status. Values: Active (active) / InActive (inactive)
- password String
- When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$'
- project
Name String - The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters
- scaling
Configuration StringId - Scaling configuration ID
- scaling
Configuration StringName - Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported.
- scaling
Group StringId - Scaling group ID to which the scaling configuration belongs
- security
Enhancement StringStrategy - Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images.
- security
Group List<String>Ids - Security group ID associated with the instance's primary network interface
- spot
Strategy String - Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit
- List<Property Map>
- updated
At String - Resource update time (UTC)
- user
Data String - Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty
- volumes List<Property Map>
- zone
Id String - Availability zone ID for the scaling configuration
Supporting Types
ScalingConfigurationEip, ScalingConfigurationEipArgs
- Bandwidth int
- Peak bandwidth for the public IP. Default is 1, unit: Mbps. Value: When Eip.BillingType is set to PostPaidByBandwidth, the value is 1–500. When Eip.BillingType is set to PostPaidByTraffic, the value is 1–200.
- Bandwidth
Package stringId - ID of the shared bandwidth package, indicating that the public IP will be added to the shared bandwidth package. You can call the DescribeBandwidthPackages API to query the shared bandwidth package ID. The public IP can be added to the shared bandwidth package only if the following conditions are met: Both have the same security protection type. Both have the same line type. The shared bandwidth package is IPv4 type.
- Billing
Type string - Billing type for public IP. Options: PostPaidByBandwidth (default): Pay-as-you-go, billed by bandwidth cap. PostPaidByTraffic: Pay-as-you-go, billed by actual traffic.
- Isp string
- Line type. Values: BGP (default): BGP line. If your account has applied for static single line, ISP can also be set to ChinaMobile (China Mobile), ChinaTelecom (China Telecom), or ChinaUnicom (China Unicom).
- Release
With boolInstance - Whether the public IP is deleted along with the instance. This applies only to pay-as-you-go public IPs and takes effect when deleting the instance in the ECS console. For retention details after deleting an instance in a scaling group, see the detailed instructions in instance management. Values: true: The public IP is deleted with the instance. false: The public IP is not deleted with the instance
- Bandwidth int
- Peak bandwidth for the public IP. Default is 1, unit: Mbps. Value: When Eip.BillingType is set to PostPaidByBandwidth, the value is 1–500. When Eip.BillingType is set to PostPaidByTraffic, the value is 1–200.
- Bandwidth
Package stringId - ID of the shared bandwidth package, indicating that the public IP will be added to the shared bandwidth package. You can call the DescribeBandwidthPackages API to query the shared bandwidth package ID. The public IP can be added to the shared bandwidth package only if the following conditions are met: Both have the same security protection type. Both have the same line type. The shared bandwidth package is IPv4 type.
- Billing
Type string - Billing type for public IP. Options: PostPaidByBandwidth (default): Pay-as-you-go, billed by bandwidth cap. PostPaidByTraffic: Pay-as-you-go, billed by actual traffic.
- Isp string
- Line type. Values: BGP (default): BGP line. If your account has applied for static single line, ISP can also be set to ChinaMobile (China Mobile), ChinaTelecom (China Telecom), or ChinaUnicom (China Unicom).
- Release
With boolInstance - Whether the public IP is deleted along with the instance. This applies only to pay-as-you-go public IPs and takes effect when deleting the instance in the ECS console. For retention details after deleting an instance in a scaling group, see the detailed instructions in instance management. Values: true: The public IP is deleted with the instance. false: The public IP is not deleted with the instance
- bandwidth Integer
- Peak bandwidth for the public IP. Default is 1, unit: Mbps. Value: When Eip.BillingType is set to PostPaidByBandwidth, the value is 1–500. When Eip.BillingType is set to PostPaidByTraffic, the value is 1–200.
- bandwidth
Package StringId - ID of the shared bandwidth package, indicating that the public IP will be added to the shared bandwidth package. You can call the DescribeBandwidthPackages API to query the shared bandwidth package ID. The public IP can be added to the shared bandwidth package only if the following conditions are met: Both have the same security protection type. Both have the same line type. The shared bandwidth package is IPv4 type.
- billing
Type String - Billing type for public IP. Options: PostPaidByBandwidth (default): Pay-as-you-go, billed by bandwidth cap. PostPaidByTraffic: Pay-as-you-go, billed by actual traffic.
- isp String
- Line type. Values: BGP (default): BGP line. If your account has applied for static single line, ISP can also be set to ChinaMobile (China Mobile), ChinaTelecom (China Telecom), or ChinaUnicom (China Unicom).
- release
With BooleanInstance - Whether the public IP is deleted along with the instance. This applies only to pay-as-you-go public IPs and takes effect when deleting the instance in the ECS console. For retention details after deleting an instance in a scaling group, see the detailed instructions in instance management. Values: true: The public IP is deleted with the instance. false: The public IP is not deleted with the instance
- bandwidth number
- Peak bandwidth for the public IP. Default is 1, unit: Mbps. Value: When Eip.BillingType is set to PostPaidByBandwidth, the value is 1–500. When Eip.BillingType is set to PostPaidByTraffic, the value is 1–200.
- bandwidth
Package stringId - ID of the shared bandwidth package, indicating that the public IP will be added to the shared bandwidth package. You can call the DescribeBandwidthPackages API to query the shared bandwidth package ID. The public IP can be added to the shared bandwidth package only if the following conditions are met: Both have the same security protection type. Both have the same line type. The shared bandwidth package is IPv4 type.
- billing
Type string - Billing type for public IP. Options: PostPaidByBandwidth (default): Pay-as-you-go, billed by bandwidth cap. PostPaidByTraffic: Pay-as-you-go, billed by actual traffic.
- isp string
- Line type. Values: BGP (default): BGP line. If your account has applied for static single line, ISP can also be set to ChinaMobile (China Mobile), ChinaTelecom (China Telecom), or ChinaUnicom (China Unicom).
- release
With booleanInstance - Whether the public IP is deleted along with the instance. This applies only to pay-as-you-go public IPs and takes effect when deleting the instance in the ECS console. For retention details after deleting an instance in a scaling group, see the detailed instructions in instance management. Values: true: The public IP is deleted with the instance. false: The public IP is not deleted with the instance
- bandwidth int
- Peak bandwidth for the public IP. Default is 1, unit: Mbps. Value: When Eip.BillingType is set to PostPaidByBandwidth, the value is 1–500. When Eip.BillingType is set to PostPaidByTraffic, the value is 1–200.
- bandwidth_
package_ strid - ID of the shared bandwidth package, indicating that the public IP will be added to the shared bandwidth package. You can call the DescribeBandwidthPackages API to query the shared bandwidth package ID. The public IP can be added to the shared bandwidth package only if the following conditions are met: Both have the same security protection type. Both have the same line type. The shared bandwidth package is IPv4 type.
- billing_
type str - Billing type for public IP. Options: PostPaidByBandwidth (default): Pay-as-you-go, billed by bandwidth cap. PostPaidByTraffic: Pay-as-you-go, billed by actual traffic.
- isp str
- Line type. Values: BGP (default): BGP line. If your account has applied for static single line, ISP can also be set to ChinaMobile (China Mobile), ChinaTelecom (China Telecom), or ChinaUnicom (China Unicom).
- release_
with_ boolinstance - Whether the public IP is deleted along with the instance. This applies only to pay-as-you-go public IPs and takes effect when deleting the instance in the ECS console. For retention details after deleting an instance in a scaling group, see the detailed instructions in instance management. Values: true: The public IP is deleted with the instance. false: The public IP is not deleted with the instance
- bandwidth Number
- Peak bandwidth for the public IP. Default is 1, unit: Mbps. Value: When Eip.BillingType is set to PostPaidByBandwidth, the value is 1–500. When Eip.BillingType is set to PostPaidByTraffic, the value is 1–200.
- bandwidth
Package StringId - ID of the shared bandwidth package, indicating that the public IP will be added to the shared bandwidth package. You can call the DescribeBandwidthPackages API to query the shared bandwidth package ID. The public IP can be added to the shared bandwidth package only if the following conditions are met: Both have the same security protection type. Both have the same line type. The shared bandwidth package is IPv4 type.
- billing
Type String - Billing type for public IP. Options: PostPaidByBandwidth (default): Pay-as-you-go, billed by bandwidth cap. PostPaidByTraffic: Pay-as-you-go, billed by actual traffic.
- isp String
- Line type. Values: BGP (default): BGP line. If your account has applied for static single line, ISP can also be set to ChinaMobile (China Mobile), ChinaTelecom (China Telecom), or ChinaUnicom (China Unicom).
- release
With BooleanInstance - Whether the public IP is deleted along with the instance. This applies only to pay-as-you-go public IPs and takes effect when deleting the instance in the ECS console. For retention details after deleting an instance in a scaling group, see the detailed instructions in instance management. Values: true: The public IP is deleted with the instance. false: The public IP is not deleted with the instance
ScalingConfigurationInstanceTypeOverride, ScalingConfigurationInstanceTypeOverrideArgs
- Instance
Type string - Specify the specifications for preemptible instances. Parameter - N: Indicates the sequence number of the instance specification, value range 1–10. Value - InstanceType: Specifies the specification for the preemptible instance. Use & to separate multiple specifications.
- Price
Limit double - Specify the maximum hourly price for preemptible instance types. Parameter - N: Indicates the instance type sequence number. Value: 1–10. PriceLimit: Specifies the maximum hourly price for the preemptible instance type. Value: Greater than 0, up to three decimal places. Use & to separate multiple prices.
- Instance
Type string - Specify the specifications for preemptible instances. Parameter - N: Indicates the sequence number of the instance specification, value range 1–10. Value - InstanceType: Specifies the specification for the preemptible instance. Use & to separate multiple specifications.
- Price
Limit float64 - Specify the maximum hourly price for preemptible instance types. Parameter - N: Indicates the instance type sequence number. Value: 1–10. PriceLimit: Specifies the maximum hourly price for the preemptible instance type. Value: Greater than 0, up to three decimal places. Use & to separate multiple prices.
- instance
Type String - Specify the specifications for preemptible instances. Parameter - N: Indicates the sequence number of the instance specification, value range 1–10. Value - InstanceType: Specifies the specification for the preemptible instance. Use & to separate multiple specifications.
- price
Limit Double - Specify the maximum hourly price for preemptible instance types. Parameter - N: Indicates the instance type sequence number. Value: 1–10. PriceLimit: Specifies the maximum hourly price for the preemptible instance type. Value: Greater than 0, up to three decimal places. Use & to separate multiple prices.
- instance
Type string - Specify the specifications for preemptible instances. Parameter - N: Indicates the sequence number of the instance specification, value range 1–10. Value - InstanceType: Specifies the specification for the preemptible instance. Use & to separate multiple specifications.
- price
Limit number - Specify the maximum hourly price for preemptible instance types. Parameter - N: Indicates the instance type sequence number. Value: 1–10. PriceLimit: Specifies the maximum hourly price for the preemptible instance type. Value: Greater than 0, up to three decimal places. Use & to separate multiple prices.
- instance_
type str - Specify the specifications for preemptible instances. Parameter - N: Indicates the sequence number of the instance specification, value range 1–10. Value - InstanceType: Specifies the specification for the preemptible instance. Use & to separate multiple specifications.
- price_
limit float - Specify the maximum hourly price for preemptible instance types. Parameter - N: Indicates the instance type sequence number. Value: 1–10. PriceLimit: Specifies the maximum hourly price for the preemptible instance type. Value: Greater than 0, up to three decimal places. Use & to separate multiple prices.
- instance
Type String - Specify the specifications for preemptible instances. Parameter - N: Indicates the sequence number of the instance specification, value range 1–10. Value - InstanceType: Specifies the specification for the preemptible instance. Use & to separate multiple specifications.
- price
Limit Number - Specify the maximum hourly price for preemptible instance types. Parameter - N: Indicates the instance type sequence number. Value: 1–10. PriceLimit: Specifies the maximum hourly price for the preemptible instance type. Value: Greater than 0, up to three decimal places. Use & to separate multiple prices.
ScalingConfigurationTag, ScalingConfigurationTagArgs
ScalingConfigurationVolume, ScalingConfigurationVolumeArgs
- Delete
With boolInstance - Whether the cloud disk is released with the instance: true (default): The cloud disk is released with the instance. false: The cloud disk is not released with the instance. When set to false, this does not apply to system disks. System disks are always released with the instance and cannot be retained.
- Extra
Performance intIops - You can use this parameter to configure the extra performance package IOPS size for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceIOPS specifies the extra performance package IOPS size for the Nth disk: IOPS: 1–50000. Balance: 1–50000.
- Extra
Performance intThroughput Mb - You can use this parameter to configure the extra performance package throughput size for cloud disks, in MB/s. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceThroughputMB specifies the extra performance package throughput size for the Nth disk: Throughput: 1–650.
- Extra
Performance stringType Id - This parameter allows you to purchase extra performance for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. "1" is the system disk; "2" or greater indicates a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceTypeId specifies the extra performance package type for the Nth disk: IOPS: IOPS type, use the ExtraPerformanceIOPS parameter. Balance: Balanced type, use the ExtraPerformanceIOPS parameter. Throughput: Throughput type, use the ExtraPerformanceThroughputMB parameter.
- Size int
- Cloud disk capacity, in GiB. System disk range: 10–500. Data disk range: 10–8192. If using ESSD_FlexPL with additional performance, size must be >= 500 GB
- Volume
Type string - Cloud disk types: ESSDFlexPL: Extreme SSD FlexPL. ESSDPL0: Extreme SSD PL0.
- Delete
With boolInstance - Whether the cloud disk is released with the instance: true (default): The cloud disk is released with the instance. false: The cloud disk is not released with the instance. When set to false, this does not apply to system disks. System disks are always released with the instance and cannot be retained.
- Extra
Performance intIops - You can use this parameter to configure the extra performance package IOPS size for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceIOPS specifies the extra performance package IOPS size for the Nth disk: IOPS: 1–50000. Balance: 1–50000.
- Extra
Performance intThroughput Mb - You can use this parameter to configure the extra performance package throughput size for cloud disks, in MB/s. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceThroughputMB specifies the extra performance package throughput size for the Nth disk: Throughput: 1–650.
- Extra
Performance stringType Id - This parameter allows you to purchase extra performance for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. "1" is the system disk; "2" or greater indicates a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceTypeId specifies the extra performance package type for the Nth disk: IOPS: IOPS type, use the ExtraPerformanceIOPS parameter. Balance: Balanced type, use the ExtraPerformanceIOPS parameter. Throughput: Throughput type, use the ExtraPerformanceThroughputMB parameter.
- Size int
- Cloud disk capacity, in GiB. System disk range: 10–500. Data disk range: 10–8192. If using ESSD_FlexPL with additional performance, size must be >= 500 GB
- Volume
Type string - Cloud disk types: ESSDFlexPL: Extreme SSD FlexPL. ESSDPL0: Extreme SSD PL0.
- delete
With BooleanInstance - Whether the cloud disk is released with the instance: true (default): The cloud disk is released with the instance. false: The cloud disk is not released with the instance. When set to false, this does not apply to system disks. System disks are always released with the instance and cannot be retained.
- extra
Performance IntegerIops - You can use this parameter to configure the extra performance package IOPS size for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceIOPS specifies the extra performance package IOPS size for the Nth disk: IOPS: 1–50000. Balance: 1–50000.
- extra
Performance IntegerThroughput Mb - You can use this parameter to configure the extra performance package throughput size for cloud disks, in MB/s. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceThroughputMB specifies the extra performance package throughput size for the Nth disk: Throughput: 1–650.
- extra
Performance StringType Id - This parameter allows you to purchase extra performance for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. "1" is the system disk; "2" or greater indicates a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceTypeId specifies the extra performance package type for the Nth disk: IOPS: IOPS type, use the ExtraPerformanceIOPS parameter. Balance: Balanced type, use the ExtraPerformanceIOPS parameter. Throughput: Throughput type, use the ExtraPerformanceThroughputMB parameter.
- size Integer
- Cloud disk capacity, in GiB. System disk range: 10–500. Data disk range: 10–8192. If using ESSD_FlexPL with additional performance, size must be >= 500 GB
- volume
Type String - Cloud disk types: ESSDFlexPL: Extreme SSD FlexPL. ESSDPL0: Extreme SSD PL0.
- delete
With booleanInstance - Whether the cloud disk is released with the instance: true (default): The cloud disk is released with the instance. false: The cloud disk is not released with the instance. When set to false, this does not apply to system disks. System disks are always released with the instance and cannot be retained.
- extra
Performance numberIops - You can use this parameter to configure the extra performance package IOPS size for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceIOPS specifies the extra performance package IOPS size for the Nth disk: IOPS: 1–50000. Balance: 1–50000.
- extra
Performance numberThroughput Mb - You can use this parameter to configure the extra performance package throughput size for cloud disks, in MB/s. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceThroughputMB specifies the extra performance package throughput size for the Nth disk: Throughput: 1–650.
- extra
Performance stringType Id - This parameter allows you to purchase extra performance for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. "1" is the system disk; "2" or greater indicates a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceTypeId specifies the extra performance package type for the Nth disk: IOPS: IOPS type, use the ExtraPerformanceIOPS parameter. Balance: Balanced type, use the ExtraPerformanceIOPS parameter. Throughput: Throughput type, use the ExtraPerformanceThroughputMB parameter.
- size number
- Cloud disk capacity, in GiB. System disk range: 10–500. Data disk range: 10–8192. If using ESSD_FlexPL with additional performance, size must be >= 500 GB
- volume
Type string - Cloud disk types: ESSDFlexPL: Extreme SSD FlexPL. ESSDPL0: Extreme SSD PL0.
- delete_
with_ boolinstance - Whether the cloud disk is released with the instance: true (default): The cloud disk is released with the instance. false: The cloud disk is not released with the instance. When set to false, this does not apply to system disks. System disks are always released with the instance and cannot be retained.
- extra_
performance_ intiops - You can use this parameter to configure the extra performance package IOPS size for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceIOPS specifies the extra performance package IOPS size for the Nth disk: IOPS: 1–50000. Balance: 1–50000.
- extra_
performance_ intthroughput_ mb - You can use this parameter to configure the extra performance package throughput size for cloud disks, in MB/s. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceThroughputMB specifies the extra performance package throughput size for the Nth disk: Throughput: 1–650.
- extra_
performance_ strtype_ id - This parameter allows you to purchase extra performance for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. "1" is the system disk; "2" or greater indicates a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceTypeId specifies the extra performance package type for the Nth disk: IOPS: IOPS type, use the ExtraPerformanceIOPS parameter. Balance: Balanced type, use the ExtraPerformanceIOPS parameter. Throughput: Throughput type, use the ExtraPerformanceThroughputMB parameter.
- size int
- Cloud disk capacity, in GiB. System disk range: 10–500. Data disk range: 10–8192. If using ESSD_FlexPL with additional performance, size must be >= 500 GB
- volume_
type str - Cloud disk types: ESSDFlexPL: Extreme SSD FlexPL. ESSDPL0: Extreme SSD PL0.
- delete
With BooleanInstance - Whether the cloud disk is released with the instance: true (default): The cloud disk is released with the instance. false: The cloud disk is not released with the instance. When set to false, this does not apply to system disks. System disks are always released with the instance and cannot be retained.
- extra
Performance NumberIops - You can use this parameter to configure the extra performance package IOPS size for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceIOPS specifies the extra performance package IOPS size for the Nth disk: IOPS: 1–50000. Balance: 1–50000.
- extra
Performance NumberThroughput Mb - You can use this parameter to configure the extra performance package throughput size for cloud disks, in MB/s. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. '1' represents the system disk; '2' or greater represents a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceThroughputMB specifies the extra performance package throughput size for the Nth disk: Throughput: 1–650.
- extra
Performance StringType Id - This parameter allows you to purchase extra performance for cloud disks. Only ESSD FlexPL is supported. Parameter - N: Indicates the disk sequence number. "1" is the system disk; "2" or greater indicates a data disk. Only data disks support extra performance packages. Value: 2–16. ExtraPerformanceTypeId specifies the extra performance package type for the Nth disk: IOPS: IOPS type, use the ExtraPerformanceIOPS parameter. Balance: Balanced type, use the ExtraPerformanceIOPS parameter. Throughput: Throughput type, use the ExtraPerformanceThroughputMB parameter.
- size Number
- Cloud disk capacity, in GiB. System disk range: 10–500. Data disk range: 10–8192. If using ESSD_FlexPL with additional performance, size must be >= 500 GB
- volume
Type String - Cloud disk types: ESSDFlexPL: Extreme SSD FlexPL. ESSDPL0: Extreme SSD PL0.
Import
$ pulumi import volcenginecc:autoscaling/scalingConfiguration:ScalingConfiguration example "scaling_configuration_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
