DescribeScalingConfigurations

更新时间:
复制 MD 格式

This topic details scaling configurations.

Debug

Run this operation in OpenAPI Explorer to bypass signature calculation and automatically generate SDK code samples.

Request parameters

Parameter

Type

Required

Example

Description

Action String Yes DescribeScalingConfigurations

The name of the API operation. Set the value to DescribeScalingConfigurations.

RegionId String Yes cn-qingdao

The ID of the region where the scaling group resides.

PageNumber Integer No 1

The number of the page to return. Pages start from 1.

Default value: 1.

PageSize Integer No 50

The number of entries per page. Maximum value: 50.

Default value: 10.

ScalingGroupId String No asg-bp17pelvl720x3v7****

The ID of the scaling group. Use this parameter to query only the scaling configurations within this group.

ScalingConfigurationId.N String No asc-bp17pelvl720x5ub****

The IDs of the scaling configurations to query.

The query results include both active and inactive scaling configurations. The status of a scaling configuration is indicated by the LifecycleState parameter in the response.

ScalingConfigurationName.N String No scalingcon****

The names of the scaling configurations to query.

The query ignores the names of inactive scaling configurations and does not report an error.

Returned data

Parameter

Type

Example

Description

RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

The request ID.

PageNumber Integer 1

The current page number.

PageSize Integer 50

The number of entries per page.

TotalCount Integer 1

The total number of scaling configurations.

ScalingConfigurations Array of ScalingConfiguration

Details of the scaling configurations.

ScalingConfiguration
DeploymentSetId String ds-bp1frxuzdg87zh4p****

The ID of the deployment set to which the ECS instance belongs.

CreationTime String 2014-08-14T10:58Z

The time when the scaling configuration was created.

ScalingConfigurationName String scalingconfigura****

The name of the scaling configuration.

SystemDiskDescription String Test system disk.

The description of the system disk.

KeyPairName String keypair****

The name of the key pair used to log on to the ECS instance.

SecurityGroupId String sg-bp18kz60mefs****

The ID of the security group to which the ECS instance belongs. ECS instances in the same security group can communicate with each other.

PrivatePoolOptions.Id String eap-bp67acfmxazb4****

The ID of the private pool, which is the ID of an Elasticity Assurance or a Capacity Reservation.

SystemDiskAutoSnapshotPolicyId String sp-bp12m37ccmxvbmi5****

The ID of the automatic snapshot policy applied to the system disk.

SpotStrategy String NoSpot

The purchasing option for the pay-as-you-go instance. Valid values:

  • NoSpot: A regular pay-as-you-go instance.
  • SpotWithPriceLimit: A spot instance for which you set a maximum hourly price.
  • SpotAsPriceGo: A spot instance for which the system automatically bids based on the current market price.
ScalingGroupId String asg-bp17pelvl720x3v7****

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

Affinity String default

Specifies whether to associate an instance with its dedicated host. Valid values:

  • default: The instance is not associated with the dedicated host. When an instance that was stopped in economical mode is restarted, if the original dedicated host has insufficient resources, the instance is migrated to another dedicated host in the automatic deployment resource pool.
  • host: The instance is associated with the dedicated host. When an instance that was stopped in economical mode is restarted, it remains on its original dedicated host. The restart fails if the original dedicated host has insufficient resources.
Tenancy String default

Specifies whether to create the instance on a dedicated host. Valid values:

  • default: The instance is created on a non-dedicated host.
  • host: The instance is created on a dedicated host. If DedicatedHostId is not specified, Alibaba Cloud automatically selects a dedicated host for the instance.
SystemDiskSize Integer 100

The size of the system disk, in GiB.

Ipv6AddressCount Integer 1

The number of randomly generated IPv6 addresses to assign to the elastic network interface.

SpotDuration Integer 1

The protection period of the spot instance, in hours.

LifecycleState Active

The state of the scaling configuration in the scaling group. Valid values:

  • Active: The scaling configuration is active and used by the scaling group to create ECS instances.
  • Inactive: The scaling configuration is inactive and not used by the scaling group to create ECS instances.
InstanceName String instance****

The name of the ECS instance.

SecurityEnhancementStrategy String Active

Specifies whether to enable security hardening. Valid values:

  • Active: Enables security hardening. This feature is effective only for public images.
  • Deactive: Disables security hardening. This setting is effective for all image types.
UserData String echo hello ecs!

The user data of the ECS instance. The user data must be Base64-encoded.

PrivatePoolOptions.MatchCriteria String Open

The matching strategy for using a private pool to launch an instance. When an Elasticity Assurance or a Capacity Reservation takes effect, a private pool is generated. You can select this private pool to launch instances. Valid values:

  • Open: The system matches an open private pool. If no open private pool is available, resources from the public pool are used.
  • Target: The specified private pool is used. If the specified private pool is unavailable, the instance fails to launch.
  • None: No private pool is used.
DedicatedHostId String dh-bp67acfmxazb4p****

The ID of the dedicated host on which the ECS instance is created. You cannot create spot instances on dedicated hosts. If you specify DedicatedHostId, the SpotStrategy and SpotPriceLimit parameters are ignored.

You can call the DescribeDedicatedHosts operation to query the list of dedicated host IDs.

InstanceGeneration String ecs-3

The generation of the ECS instance.

HpcClusterId String hpc-clus****

The ID of the HPC cluster that contains the ECS instance.

PasswordInherit Boolean true

Specifies whether to use the password preconfigured in the image.

Memory Integer 16

The memory size, in GiB.

You can specify both Cpu and Memory to define a range of instance types. For example, setting Cpu to 2 and Memory to 16 matches all instance types with 2 vCPUs and 16 GiB of memory. Auto Scaling determines the available instance types based on factors such as I/O optimized status and availability zones, and then creates an instance of the instance type that has the lowest price.

Note This configuration is effective only if the cost optimization policy is enabled and no instance type is specified in the scaling configuration.
ImageId String centos6u5_64_20G_aliaegis_2014****.vhd

The ID of the image used to create instances.

ImageFamily String hangzhou-daily-update

The name of the image family. You can set this parameter to obtain the latest available image from the specified image family to create an instance. This parameter cannot be specified if ImageId is also specified.

ImageOwnerAlias String system

The source of the image. Valid values:

  • system: public images provided by Alibaba Cloud.
  • self: your custom images.
  • others: shared images or community images from other Alibaba Cloud users.
  • marketplace: marketplace images.
LoadBalancerWeight Integer 1

The weight of the ECS instance as a backend server. Valid values: 1 to 100.

SystemDiskCategory String cloud

The category of the system disk. Valid values:

  • cloud: basic disk.
  • cloud_efficiency: Ultra Disk.
  • cloud_ssd: SSD Cloud Disk.
  • ephemeral_ssd: local SSD.
  • cloud_essd: ESSD.
  • cloud_auto: ESSD AutoPL disk.
HostName String LocalHost

The hostname of the ECS instance.

SystemDiskName String cloud_ssd_Test

The name of the system disk.

InternetMaxBandwidthOut Integer 10

The maximum outbound public bandwidth, in Mbit/s.

InternetMaxBandwidthIn Integer 10

The maximum inbound public bandwidth, in Mbit/s.

InstanceType String ecs.g6.large

The instance type of the ECS instance.

InstanceDescription String FinanceDept

The description of the ECS instance.

IoOptimized String none

Specifies whether the instance is I/O optimized. Valid values:

  • none: non-I/O optimized.
  • optimized: I/O optimized.
RamRoleName String ramrole****

The name of the RAM role attached to the ECS instance. You can call the ListRoles operation to query available RAM roles. To create a RAM role, see CreateRole.

SystemDiskPerformanceLevel String PL1

The performance level of the ESSD when it is used as the system disk.

Cpu Integer 2

The number of vCPUs.

You can specify both Cpu and Memory to define a range of instance types. For example, setting Cpu to 2 and Memory to 16 matches all instance types with 2 vCPUs and 16 GiB of memory. Auto Scaling determines the available instance types based on factors such as I/O optimized status and availability zones, and then creates an instance of the instance type that has the lowest price.

Note This configuration is effective only if the cost optimization policy is enabled and no instance type is specified in the scaling configuration.
ResourceGroupId String rg-aekzn2ou7xo****

The ID of the resource group to which the ECS instance belongs.

ZoneId String cn-hangzhou-g

The ID of the availability zone for the instance. You can call the DescribeZones operation to query the list of availability zones.

InternetChargeType String PayByTraffic

The network billing method. Valid values:

  • PayByBandwidth: pay-by-bandwidth. In this mode, the value of InternetMaxBandwidthOut is the fixed bandwidth that you purchase.
  • PayByTraffic: pay-by-traffic. In this mode, the value of InternetMaxBandwidthOut is the maximum bandwidth. Charges are based on the actual network traffic that you use.
ImageName String centos6u5_64_20G_aliaegis_20140703.vhd

The name of the image.

ScalingConfigurationId String asc-bp1ezrfgoyn5kijl****

The ID of the scaling configuration.

CreditSpecification String Standard

The performance mode of the burstable performance instance. Valid values:

SpotInterruptionBehavior String Terminate

The interruption mode of the spot instance.

DataDisks Array of DataDisk

Details of the data disks.

DataDisk
PerformanceLevel String PL1

The performance level of the ESSD when it is used as a data disk.

Description String FinanceDept

The description of the data disk.

SnapshotId String s-23f2i****

The ID of the snapshot used to create the data disk.

Device String /dev/xvdb

The mount point of the data disk.

Size Integer 200

The size of the data disk, in GiB. Valid values:

  • cloud: 5 to 2000.
  • cloud_efficiency: 20 to 32768.
  • cloud_ssd: 20 to 32768.
  • cloud_essd: 20 to 32768.
  • ephemeral_ssd: 5 to 800.
DiskName String cloud_ssdData

The name of the data disk.

AutoSnapshotPolicyId String sp-bp19nq9enxqkomib****

The ID of the automatic snapshot policy applied to the data disk.

Category String cloud

The category of the data disk. Valid values:

  • cloud: basic disk. The DeleteWithInstance attribute of a basic disk that is created with an instance is set to true.
  • cloud_efficiency: Ultra Disk.
  • cloud_ssd: SSD Cloud Disk.
  • ephemeral_ssd: local SSD.
  • cloud_essd: ESSD.
  • cloud_auto: ESSD AutoPL disk.
KMSKeyId String 0e478b7a-4262-4802-b8cb-00d3fb40****

The ID of the KMS key for the data disk.

DeleteWithInstance Boolean true

Specifies whether to release the data disk when the instance is released. Valid values:

  • true: The disk is released with the instance.
  • false: The disk is retained when the instance is released.
Encrypted String false

Specifies whether to encrypt the data disk. Valid values:

  • true: The data disk is encrypted.
  • false: The data disk is not encrypted.
Categories Array of String cloud_essd

The categories of the data disk. The first disk category in the list has the highest priority. If Auto Scaling cannot create a data disk by using the disk category with a higher priority, Auto Scaling automatically uses the disk category with the next highest priority. Valid values:

  • cloud: basic disk. The DeleteWithInstance attribute of a basic disk that is created with an instance is set to true.
  • cloud_efficiency: Ultra Disk.
  • cloud_ssd: SSD Cloud Disk.
  • cloud_essd: ESSD.
ProvisionedIops Long 100

The provisioned IOPS of the data disk.

Note IOPS (Input/Output Operations Per Second) indicates the number of I/O operations that a block storage device can process per second and represents the read and write performance of the block storage device.
BurstingEnabled Boolean false

Specifies whether to enable bursting for the data disk. Valid values:

  • true: enabled.
  • false: disabled.
Note This parameter is returned only when DataDisk.Category is set to cloud_auto.

For more information, see ESSD AutoPL disks.

Tags Array of Tag

Details of the tags.

Tag
Key String binary

The key of a tag that is added to the instance. N can be an integer from 1 to 20.

The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with aliyun or acs:. The tag key cannot contain http:// or https://.

Value String alterTable

The value of a tag that is added to the instance. N can be an integer from 1 to 20.

The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with acs:. The tag value cannot contain http:// or https://.

SpotPriceLimit Array of SpotPriceModel

The maximum prices for the specified spot instance types.

SpotPriceModel
InstanceType String ecs.g6.large

The instance type of the spot instance.

PriceLimit Float 0.125

The maximum hourly price for the spot instance.

InstancePatternInfos Array of InstancePatternInfo

Details of the instance types that match the specified criteria.

InstancePatternInfo
MaxPrice Float 2

The maximum hourly price that you are willing to pay for a pay-as-you-go instance or a spot instance.

Cores Integer 2

The number of vCPU cores of the instance type.

Memory Float 4

The memory size of the instance type, in GiB.

InstanceFamilyLevel String EnterpriseLevel

The level of the instance family.

  • EntryLevel: entry-level. This level includes shared instance types. This level provides lower costs but does not guarantee stable computing performance. This level is suitable for business scenarios where CPU utilization is low. For more information, see Shared instance families.
  • EnterpriseLevel: enterprise-level. This level provides stable performance and dedicated resources, and is suitable for business scenarios that require high stability. For more information, see Instance families.
  • CreditEntryLevel: credit entry-level. This level includes burstable performance instances that use CPU credits to ensure computing performance. This level is suitable for business scenarios where CPU utilization is low but may have occasional CPU bursts. For more information, see Burstable performance instances.
Architectures Array of String X86

The architecture of the instance type. Valid values:

  • X86: x86.
  • Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
  • BareMetal: Elastic Bare Metal Server.
  • Arm: Arm.

Default value: All architectures are included.

BurstablePerformance String Include

Specifies whether to include burstable performance instance types. Valid values:

  • Exclude: Excludes burstable performance instance types.
  • Include: Includes burstable performance instance types.
  • Required: Includes only burstable performance instance types.

Default value: Include.

ExcludedInstanceTypes Array of String ecs.n1.small/ecs.n1.*/*7*

The instance types to exclude. You can use an asterisk (*) as a wildcard to exclude an instance type or an entire instance family. Examples:

  • ecs.c6.large: Excludes the ecs.c6.large instance type.
  • ecs.c6.*: Excludes all instance types of the c6 instance family.
InstanceTypeFamilies Array of String ecs.g6

The instance families to query. You can specify up to 10 instance families.

MinimumCpuCoreCount Integer 2

The minimum number of vCPU cores of the instance type.

MaximumCpuCoreCount Integer 4

The maximum number of vCPU cores of the instance type.

Note The value of MaximumCpuCoreCount cannot be more than four times the value of MinimumCpuCoreCount.
GpuSpecs Array of String NVIDIA V100

The GPU type.

InstanceCategories Array of String Compute-optimized with GPU

The category of the instance. Valid values:

Note You can specify up to 10 instance categories.
  • General-purpose
  • Compute-optimized
  • Memory-optimized
  • Big data
  • Local SSDs
  • High Clock Speed
  • Enhanced
  • Shared
  • Compute-optimized with GPU
  • Visual Compute-optimized
  • Heterogeneous Service
  • Compute-optimized with FPGA
  • Compute-optimized with NPU
  • ECS Bare Metal
  • High Performance Compute
CpuArchitectures Array of String X86

The CPU architecture of the instance type. Valid values:

Note You can specify up to two CPU architectures.
  • X86
  • ARM
PhysicalProcessorModels Array of String Intel Xeon(Ice Lake) Platinum 8369B", "Intel Xeon(Skylake) Platinum 8163", … "Intel Xeon(Cascade Lake) Platinum 8269CY

The processor model of the instance. You can specify up to 10 processor models.

MinimumEniQuantity Integer 2

The minimum value for the maximum number of elastic network interfaces that the instance type supports.

MinimumEniPrivateIpAddressQuantity Integer 2

The minimum value for the maximum number of private IPv4 addresses that can be assigned to a single elastic network interface.

MinimumEniIpv6AddressQuantity Integer 1

The minimum value for the maximum number of IPv6 addresses that can be assigned to a single elastic network interface.

MinimumInitialCredit Integer 12

The minimum number of initial vCPU credits for a T5 or T6 burstable performance instance.

MinimumBaselineCredit Integer 12

The minimum baseline vCPU performance of a T5 or T6 burstable performance instance. This is the sum of vCPU performance of all vCPUs.

MinimumMemorySize Float 4

The minimum memory size of the instance, in GiB.

MaximumMemorySize Float 4

The maximum memory size of the instance, in GiB.

MinimumGpuAmount Integer 2

The minimum number of GPUs for the instance. The value must be a positive integer.

MaximumGpuAmount Integer 2

The maximum number of GPUs for the instance. The value must be a positive integer.

SystemDiskCategories Array of String cloud

The categories of the system disk. The first disk category in the list has the highest priority. If Auto Scaling cannot create a system disk by using the disk category with a higher priority, Auto Scaling automatically uses the disk category with the next highest priority. Valid values:

  • cloud: basic disk.
  • cloud_efficiency: Ultra Disk.
  • cloud_ssd: SSD Cloud Disk.
  • cloud_essd: ESSD.
WeightedCapacities Array of String 4

The weight of the specified instance type. The weight indicates the capacity that a single instance of the specified instance type contributes to the scaling group. A larger weight requires fewer instances of that instance type to meet the desired capacity.

InstanceTypes Array of String ecs.g6.large

The list of ECS instance types.

SecurityGroupIds Array of String sg-bp18kz60mefs****

The IDs of the security groups to which the ECS instance belongs. ECS instances in the same security group can communicate with each other.

SchedulerOptions Object

The scheduler options.

ManagedPrivateSpaceId String testManagedPrivateSpaceId

The ID of the fully managed resource pool.

SystemDisk.Encrypted Boolean false

Specifies whether to encrypt the system disk. Valid values:

  • true: The system disk is encrypted.
  • false: The system disk is not encrypted.
SystemDisk.KMSKeyId String 0e478b7a-4262-4802-b8cb-00d3fb40****

The ID of the KMS key used for the system disk.

SystemDisk.EncryptAlgorithm String AES-256

The encryption algorithm for the system disk. Valid values:

  • AES-256
  • SM4-128
SystemDisk.ProvisionedIops Long 100

The provisioned IOPS of the system disk.

Note IOPS (Input/Output Operations Per Second) indicates the number of I/O operations that a block storage device can process per second and represents the read and write performance of the block storage device.
SystemDisk.BurstingEnabled Boolean false

Specifies whether to enable bursting for the system disk. Valid values:

  • true: enabled.
  • false: disabled.
Note This parameter can be set only when SystemDisk.Category is set to cloud_auto.

For more information, see ESSD AutoPL disks.

ImageOptions.LoginAsNonRoot Boolean false

Specifies whether to log on to the ECS instance as the ecs-user. Valid values:

  • true: Yes
  • false: No
DeletionProtection Boolean false

Specifies whether to enable release protection for the ECS instance. This feature prevents pay-as-you-go instances from being accidentally released on the console or through API calls. Valid values:

  • true: Enables release protection. You cannot release the instance on the ECS console or by calling an API operation. This prevents accidental deletion of instances that are scaled out by Auto Scaling.
  • false: Disables release protection. You can release the instance on the ECS console or by calling an API operation.
Note This setting does not prevent Auto Scaling from terminating the instance during a scale-in event.
StorageSetId String ss-bp67acfmxazb4p****

The ID of the storage set.

StorageSetPartitionNumber Integer 2

The maximum number of partitions in the storage set. The value must be an integer that is greater than or equal to 2.

CustomPriorities Array of CustomPriority

The custom priority of the ECS instance type + vSwitch combination.

Note This parameter takes effect only when the MultiAZPolicy scaling policy of the scaling group is set to PRIORITY.

If Auto Scaling fails to create ECS instances by using the ECS instance type + vSwitch combination with a higher priority, it automatically tries the combination with the next-lower priority.

Note If you specify custom priorities for only some ECS instance type + vSwitch combinations, the combinations for which no custom priorities are specified have a lower priority. The priorities of the unspecified combinations are determined by the order of vSwitches in the scaling group and the order of instance types in the scaling configuration. For example, assume that the vSwitches are vsw1 and vsw2 in that order, the instance types are type1 and type2 in that order, and the custom priority order is ["vsw2+type2", "vsw1+type2"]. The final priority order is vsw2+type2 > vsw1+type2 > vsw1+type1 > vsw2+type1.
CustomPriority
InstanceType String ecs.g6.large

The instance type of the ECS instance.

Note This instance type must be included in the list of instance types in the scaling configuration.
VswitchId String vsw-bp14zolna43z266bq****

The ID of the vSwitch.

Note This vSwitch must be included in the list of vSwitches in the scaling group.
NetworkInterfaces Array of NetworkInterface

The list of elastic network interfaces.

NetworkInterface
InstanceType String Primary

The type of the elastic network interface. Valid values:

  • Primary: primary elastic network interface.
  • Secondary: secondary elastic network interface.
NetworkInterfaceTrafficMode String HighPerformance

The communication mode of the elastic network interface. Valid values:

  • Standard: The TCP communication mode is used.
  • HighPerformance: The Elastic RDMA Interface (ERI) is enabled and the RDMA communication mode is used.
Ipv6AddressCount Integer 1

The number of randomly generated IPv6 addresses to assign to the primary elastic network interface.

SecurityGroupIds Array of String sg-2vc3e1v7h****

The IDs of one or more security groups to which the elastic network interface belongs.

SecondaryPrivateIpAddressCount Integer 2

The number of secondary private IPv4 addresses to assign to the elastic network interface. Valid values: 1 to 49.

  • The value cannot exceed the IP address quota of the instance type. For more information, see Instance families.
  • NetworkInterface.N.SecondaryPrivateIpAddressCount specifies the number of secondary private IPv4 addresses to assign to the elastic network interface. This does not include the primary private IP address of the elastic network interface. The system randomly allocates these addresses from the available CIDR block of the vSwitch specified by NetworkInterface.N.VSwitchId.
DedicatedHostClusterId String dc-2zedxc67zqzt7lb4****

The ID of the dedicated host cluster.

PasswordSetted Boolean false

Specifies whether a password is configured for the instance. Valid values:

  • true: A password is configured for the instance.
  • false: No password is configured for the instance.
SecurityOptions Object

The security options.

ConfidentialComputingMode String TDX

The confidential computing mode. Valid values:

  • Enclave: The ECS instance uses an enclave to build a confidential computing environment. For more information, see Create an enclave.
  • TDX: A confidential computing environment based on Trusted Domain Extensions (TDX) is built. For more information, see Create a TDX-enabled instance.
HttpEndpoint String enabled

Specifies whether to enable the instance metadata access channel. Valid values:

  • enabled: enabled.
  • disabled: disabled.
HttpTokens String optional

Specifies whether to enforce the use of Instance Metadata Service Version 2 (IMDSv2) when instance metadata is accessed. Valid values:

  • optional: IMDSv2 is not enforced.
  • required: IMDSv2 is enforced. If you set this value, you cannot use IMDSv1 to access instance metadata.
ResourcePoolOptions Object

The resource pool policy for creating an instance.

  • This parameter is valid only when you create a pay-as-you-go instance.
Strategy String PrivatePoolFirst

A resource pool consists of private pools generated after an Elasticity Assurance or a Capacity Reservation takes effect and the public pool. You can select a resource pool when you launch an instance. Valid values:

  • PrivatePoolFirst: The private pool is prioritized. If you select this option and specify ResourcePoolOptions.PrivatePoolIds or meet the conditions of PrivatePoolTags, the corresponding private pool is used first. If the specified private pool is not available or has insufficient capacity, the system automatically uses an open private pool. If no eligible private pool is found, the public pool is used to create the instance.
  • PrivatePoolOnly: Only the private pool is used. If you select this option, you must specify ResourcePoolOptions.PrivatePoolIds. If the specified private pool has insufficient capacity, the instance fails to start.
  • PublicPoolFirst: The public pool is prioritized. The system preferentially uses the public pool to create the instance. If the public pool has insufficient resources, the system uses a private pool. The system first attempts to use an open private pool. If no eligible private pool is found, the system uses a targeted private pool that is specified by ResourcePoolOptions.PrivatePoolIds or that meets the conditions of PrivatePoolTags.
  • None: No resource pool policy is used.

Default value: None.

PrivatePoolIds Array of String eap-bp67acfmxazb4****

The ID of the private pool, which is the ID of an Elasticity Assurance or a Capacity Reservation. This parameter cannot be specified if PrivatePoolTags is also specified.

PrivatePoolTags Array of PrivatePoolTag

The tags that are used to filter available targeted private pools.

PrivatePoolTag
Key String TestKey

The key of the tag for the private pool.

You can use tags to filter available targeted private pools.

Value String TestValue

The value of the tag for the private pool.

CpuOptions Object

The CPU options.

NestedVirtualization String enabled

Specifies whether to enable hardware-assisted nested virtualization. Valid values:

  • enabled: enabled.
  • disabled: disabled.

Examples

Sample request

http(s)://ess.aliyuncs.com/?Action=DescribeScalingConfigurations
&RegionId=cn-qingdao
&PageNumber=1
&PageSize=50
&ScalingGroupId=asg-bp17pelvl720x3v7****
&ScalingConfigurationId=["asc-bp17pelvl720x5ub****"]
&ScalingConfigurationName=["scalingcon****"]
<common request parameters>

Sample success response

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeScalingConfigurationsResponse>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
    <PageNumber>1</PageNumber>
    <PageSize>50</PageSize>
    <TotalCount>1</TotalCount>
    <ScalingConfigurations>
        <DeploymentSetId>ds-bp1frxuzdg87zh4p****</DeploymentSetId>
        <CreationTime>2014-08-14T10:58Z</CreationTime>
        <ScalingConfigurationName>scalingconfigura****</ScalingConfigurationName>
        <SystemDiskDescription>Test system disk.</SystemDiskDescription>
        <KeyPairName>keypair****</KeyPairName>
        <SecurityGroupId>sg-bp18kz60mefs****</SecurityGroupId>
        <PrivatePoolOptions.Id>eap-bp67acfmxazb4****</PrivatePoolOptions.Id>
        <SystemDiskAutoSnapshotPolicyId>sp-bp12m37ccmxvbmi5****</SystemDiskAutoSnapshotPolicyId>
        <SpotStrategy>NoSpot</SpotStrategy>
        <ScalingGroupId>asg-bp17pelvl720x3v7****</ScalingGroupId>
        <Affinity>default</Affinity>
        <Tenancy>default</Tenancy>
        <SystemDiskSize>100</SystemDiskSize>
        <Ipv6AddressCount>1</Ipv6AddressCount>
        <SpotDuration>1</SpotDuration>
        <LifecycleState>Active</LifecycleState>
        <InstanceName>instance****</InstanceName>
        <SecurityEnhancementStrategy>Active</SecurityEnhancementStrategy>
        <UserData>echo hello ecs!</UserData>
        <PrivatePoolOptions.MatchCriteria>Open</PrivatePoolOptions.MatchCriteria>
        <DedicatedHostId>dh-bp67acfmxazb4p****</DedicatedHostId>
        <InstanceGeneration>ecs-3</InstanceGeneration>
        <HpcClusterId>hpc-clus****</HpcClusterId>
        <PasswordInherit>true</PasswordInherit>
        <Memory>16</Memory>
        <ImageId>centos6u5_64_20G_aliaegis_2014****.vhd</ImageId>
        <ImageFamily>hangzhou-daily-update</ImageFamily>
        <ImageOwnerAlias>system</ImageOwnerAlias>
        <LoadBalancerWeight>1</LoadBalancerWeight>
        <SystemDiskCategory>cloud</SystemDiskCategory>
        <HostName>LocalHost</HostName>
        <SystemDiskName>cloud_ssd_Test</SystemDiskName>
        <InternetMaxBandwidthOut>0</InternetMaxBandwidthOut>
        <InternetMaxBandwidthIn>200</InternetMaxBandwidthIn>
        <InstanceType>ecs.g6.large</InstanceType>
        <InstanceDescription>FinanceDept</InstanceDescription>
        <IoOptimized>none</IoOptimized>
        <RamRoleName>ramrole****</RamRoleName>
        <SystemDiskPerformanceLevel>PL1</SystemDiskPerformanceLevel>
        <Cpu>2</Cpu>
        <ResourceGroupId>rg-aekzn2ou7xo****</ResourceGroupId>
        <ZoneId>cn-hangzhou-g</ZoneId>
        <InternetChargeType>PayByTraffic</InternetChargeType>
        <ImageName>centos6u5_64_20G_aliaegis_20140703.vhd</ImageName>
        <ScalingConfigurationId>asc-bp1ezrfgoyn5kijl****</ScalingConfigurationId>
        <CreditSpecification>Standard</CreditSpecification>
        <SpotInterruptionBehavior>Terminate</SpotInterruptionBehavior>
        <DataDisks>
            <PerformanceLevel>PL1</PerformanceLevel>
            <Description>FinanceDept</Description>
            <SnapshotId>s-23f2i****</SnapshotId>
            <Device>/dev/xvdb</Device>
            <Size>200</Size>
            <DiskName>cloud_ssdData</DiskName>
            <AutoSnapshotPolicyId>sp-bp19nq9enxqkomib****</AutoSnapshotPolicyId>
            <Category>cloud</Category>
            <KMSKeyId>0e478b7a-4262-4802-b8cb-00d3fb40****</KMSKeyId>
            <DeleteWithInstance>true</DeleteWithInstance>
            <Encrypted>false</Encrypted>
            <Categories>cloud_essd</Categories>
            <ProvisionedIops>100</ProvisionedIops>
            <BurstingEnabled>false</BurstingEnabled>
        </DataDisks>
        <Tags>
            <Key>binary</Key>
            <Value>alterTable</Value>
        </Tags>
        <SpotPriceLimit>
            <InstanceType>ecs.g6.large</InstanceType>
            <PriceLimit>0.125</PriceLimit>
        </SpotPriceLimit>
        <InstancePatternInfos>
            <MaxPrice>2</MaxPrice>
            <Cores>2</Cores>
            <Memory>4</Memory>
            <InstanceFamilyLevel>EnterpriseLevel</InstanceFamilyLevel>
            <Architectures>X86</Architectures>
            <BurstablePerformance>Include</BurstablePerformance>
            <ExcludedInstanceTypes>ecs.n1.small/ecs.n1.*/*7*</ExcludedInstanceTypes>
            <InstanceTypeFamilies>["ecs.g6", "ecs.c6", … "ecs.r6"]</InstanceTypeFamilies>
            <MinimumCpuCoreCount>2</MinimumCpuCoreCount>
            <MaximumCpuCoreCount>4</MaximumCpuCoreCount>
            <GpuSpecs>["NVIDIA V100"]</GpuSpecs>
            <InstanceCategories>["Compute-optimized with GPU"]</InstanceCategories>
            <CpuArchitectures>["X86", "ARM"]</CpuArchitectures>
            <PhysicalProcessorModels>["Intel Xeon(Ice Lake) Platinum 8369B", "Intel Xeon(Skylake) Platinum 8163", … "Intel Xeon(Cascade Lake) Platinum 8269CY"]</PhysicalProcessorModels>
            <MinimumEniQuantity>2</MinimumEniQuantity>
            <MinimumEniPrivateIpAddressQuantity>2</MinimumEniPrivateIpAddressQuantity>
            <MinimumEniIpv6AddressQuantity>1</MinimumEniIpv6AddressQuantity>
            <MinimumInitialCredit>12</MinimumInitialCredit>
            <MinimumBaselineCredit>12</MinimumBaselineCredit>
            <MinimumMemorySize>4</MinimumMemorySize>
            <MaximumMemorySize>4</MaximumMemorySize>
            <MinimumGpuAmount>2</MinimumGpuAmount>
            <MaximumGpuAmount>2</MaximumGpuAmount>
        </InstancePatternInfos>
        <SystemDiskCategories>cloud</SystemDiskCategories>
        <WeightedCapacities>4</WeightedCapacities>
        <InstanceTypes>ecs.g6.large</InstanceTypes>
        <SecurityGroupIds>sg-bp18kz60mefs****</SecurityGroupIds>
        <SchedulerOptions>
            <ManagedPrivateSpaceId>testManagedPrivateSpaceId</ManagedPrivateSpaceId>
        </SchedulerOptions>
        <SystemDisk.Encrypted>false</SystemDisk.Encrypted>
        <SystemDisk.KMSKeyId>0e478b7a-4262-4802-b8cb-00d3fb40****</SystemDisk.KMSKeyId>
        <SystemDisk.EncryptAlgorithm>AES-256</SystemDisk.EncryptAlgorithm>
        <SystemDisk.ProvisionedIops>100</SystemDisk.ProvisionedIops>
        <SystemDisk.BurstingEnabled>false</SystemDisk.BurstingEnabled>
        <ImageOptions.LoginAsNonRoot>false</ImageOptions.LoginAsNonRoot>
        <DeletionProtection>false</DeletionProtection>
        <StorageSetId>ss-bp67acfmxazb4p****</StorageSetId>
        <StorageSetPartitionNumber>2</StorageSetPartitionNumber>
        <CustomPriorities>
            <InstanceType>ecs.g6.large</InstanceType>
            <VswitchId>vsw-bp14zolna43z266bq****</VswitchId>
        </CustomPriorities>
        <NetworkInterfaces>
            <InstanceType>Primary</InstanceType>
            <NetworkInterfaceTrafficMode>HighPerformance</NetworkInterfaceTrafficMode>
            <Ipv6AddressCount>1</Ipv6AddressCount>
            <SecurityGroupIds>sg-2vc3e1v7h****</SecurityGroupIds>
        </NetworkInterfaces>
        <DedicatedHostClusterId>dc-2zedxc67zqzt7lb4****</DedicatedHostClusterId>
    </ScalingConfigurations>
</DescribeScalingConfigurationsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "PageNumber" : 1,
  "PageSize" : 50,
  "TotalCount" : 1,
  "ScalingConfigurations" : [ {
    "DeploymentSetId" : "ds-bp1frxuzdg87zh4p****",
    "CreationTime" : "2014-08-14T10:58Z",
    "ScalingConfigurationName" : "scalingconfigura****",
    "SystemDiskDescription" : "Test system disk.",
    "KeyPairName" : "keypair****",
    "SecurityGroupId" : "sg-bp18kz60mefs****",
    "PrivatePoolOptions.Id" : "eap-bp67acfmxazb4****",
    "SystemDiskAutoSnapshotPolicyId" : "sp-bp12m37ccmxvbmi5****",
    "SpotStrategy" : "NoSpot",
    "ScalingGroupId" : "asg-bp17pelvl720x3v7****",
    "Affinity" : "default",
    "Tenancy" : "default",
    "SystemDiskSize" : 100,
    "Ipv6AddressCount" : 1,
    "SpotDuration" : 1,
    "LifecycleState" : "Active",
    "InstanceName" : "instance****",
    "SecurityEnhancementStrategy" : "Active",
    "UserData" : "echo hello ecs!",
    "PrivatePoolOptions.MatchCriteria" : "Open",
    "DedicatedHostId" : "dh-bp67acfmxazb4p****",
    "InstanceGeneration" : "ecs-3",
    "HpcClusterId" : "hpc-clus****",
    "PasswordInherit" : true,
    "Memory" : 16,
    "ImageId" : "centos6u5_64_20G_aliaegis_2014****.vhd",
    "ImageFamily" : "hangzhou-daily-update",
    "ImageOwnerAlias" : "system",
    "LoadBalancerWeight" : 1,
    "SystemDiskCategory" : "cloud",
    "HostName" : "LocalHost",
    "SystemDiskName" : "cloud_ssd_Test",
    "InternetMaxBandwidthOut" : 0,
    "InternetMaxBandwidthIn" : 200,
    "InstanceType" : "ecs.g6.large",
    "InstanceDescription" : "FinanceDept",
    "IoOptimized" : "none",
    "RamRoleName" : "ramrole****",
    "SystemDiskPerformanceLevel" : "PL1",
    "Cpu" : 2,
    "ResourceGroupId" : "rg-aekzn2ou7xo****",
    "ZoneId" : "cn-hangzhou-g",
    "InternetChargeType" : "PayByTraffic",
    "ImageName" : "centos6u5_64_20G_aliaegis_20140703.vhd",
    "ScalingConfigurationId" : "asc-bp1ezrfgoyn5kijl****",
    "CreditSpecification" : "Standard",
    "SpotInterruptionBehavior" : "Terminate",
    "DataDisks" : [ {
      "PerformanceLevel" : "PL1",
      "Description" : "FinanceDept",
      "SnapshotId" : "s-23f2i****",
      "Device" : "/dev/xvdb",
      "Size" : 200,
      "DiskName" : "cloud_ssdData",
      "AutoSnapshotPolicyId" : "sp-bp19nq9enxqkomib****",
      "Category" : "cloud",
      "KMSKeyId" : "0e478b7a-4262-4802-b8cb-00d3fb40****",
      "DeleteWithInstance" : true,
      "Encrypted" : "false",
      "Categories" : [ "cloud_essd" ],
      "ProvisionedIops" : 100,
      "BurstingEnabled" : false
    } ],
    "Tags" : [ {
      "Key" : "binary",
      "Value" : "alterTable"
    } ],
    "SpotPriceLimit" : [ {
      "InstanceType" : "ecs.g6.large",
      "PriceLimit" : 0.125
    } ],
    "InstancePatternInfos" : [ {
      "MaxPrice" : 2,
      "Cores" : 2,
      "Memory" : 4,
      "InstanceFamilyLevel" : "EnterpriseLevel",
      "Architectures" : [ "X86" ],
      "BurstablePerformance" : "Include",
      "ExcludedInstanceTypes" : [ "ecs.n1.small/ecs.n1.*/*7*" ],
      "InstanceTypeFamilies" : [ "[\"ecs.g6\", \"ecs.c6\", … \"ecs.r6\"]" ],
      "MinimumCpuCoreCount" : 2,
      "MaximumCpuCoreCount" : 4,
      "GpuSpecs" : [ "[\"NVIDIA V100\"]" ],
      "InstanceCategories" : [ "[\"Compute-optimized with GPU\"]" ],
      "CpuArchitectures" : [ "[\"X86\", \"ARM\"]" ],
      "PhysicalProcessorModels" : [ "[\"Intel Xeon(Ice Lake) Platinum 8369B\", \"Intel Xeon(Skylake) Platinum 8163\", … \"Intel Xeon(Cascade Lake) Platinum 8269CY\"]" ],
      "MinimumEniQuantity" : 2,
      "MinimumEniPrivateIpAddressQuantity" : 2,
      "MinimumEniIpv6AddressQuantity" : 1,
      "MinimumInitialCredit" : 12,
      "MinimumBaselineCredit" : 12,
      "MinimumMemorySize" : 4,
      "MaximumMemorySize" : 4,
      "MinimumGpuAmount" : 2,
      "MaximumGpuAmount" : 2
    } ],
    "SystemDiskCategories" : [ "cloud" ],
    "WeightedCapacities" : [ "4" ],
    "InstanceTypes" : [ "ecs.g6.large" ],
    "SecurityGroupIds" : [ "sg-bp18kz60mefs****" ],
    "SchedulerOptions" : {
      "ManagedPrivateSpaceId" : "testManagedPrivateSpaceId"
    },
    "SystemDisk.Encrypted" : false,
    "SystemDisk.KMSKeyId" : "0e478b7a-4262-4802-b8cb-00d3fb40****",
    "SystemDisk.EncryptAlgorithm" : "AES-256",
    "SystemDisk.ProvisionedIops" : 100,
    "SystemDisk.BurstingEnabled" : false,
    "ImageOptions.LoginAsNonRoot" : false,
    "DeletionProtection" : false,
    "StorageSetId" : "ss-bp67acfmxazb4p****",
    "StorageSetPartitionNumber" : 2,
    "CustomPriorities" : [ {
      "InstanceType" : "ecs.g6.large",
      "VswitchId" : "vsw-bp14zolna43z266bq****"
    } ],
    "NetworkInterfaces" : [ {
      "InstanceType" : "Primary",
      "NetworkInterfaceTrafficMode" : "HighPerformance",
      "Ipv6AddressCount" : 1,
      "SecurityGroupIds" : [ "sg-2vc3e1v7h****" ]
    } ],
    "DedicatedHostClusterId" : "dc-2zedxc67zqzt7lb4****"
  } ]
}

Error codes

For more error codes, visit the Error Center.