@alicloud/ess20220222 1.8.5 → 1.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +850 -383
- package/dist/client.js +82 -49
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +875 -383
package/src/client.ts
CHANGED
|
@@ -315,10 +315,10 @@ export class AttachAlbServerGroupsRequest extends $tea.Model {
|
|
|
315
315
|
clientToken?: string;
|
|
316
316
|
/**
|
|
317
317
|
* @remarks
|
|
318
|
-
* Specifies whether to add the existing Elastic Compute Service (ECS) instances or elastic container instances in the scaling group to the ALB server group. Valid values:
|
|
318
|
+
* Specifies whether to add the existing Elastic Compute Service (ECS) instances or elastic container instances in the scaling group to the new ALB server group. Valid values:
|
|
319
319
|
*
|
|
320
|
-
* * true: adds the existing ECS instances or elastic container instances in the scaling group to the ALB server group. In this case, the system returns the value of `ScalingActivityId`.
|
|
321
|
-
* * false: does not add the existing ECS instances or elastic container instances in the scaling group to the ALB server group.
|
|
320
|
+
* * true: adds the existing ECS instances or elastic container instances in the scaling group to the new ALB server group. In this case, the system returns the value of `ScalingActivityId`.
|
|
321
|
+
* * false: does not add the existing ECS instances or elastic container instances in the scaling group to the new ALB server group.
|
|
322
322
|
*
|
|
323
323
|
* Default value: false.
|
|
324
324
|
*
|
|
@@ -807,7 +807,7 @@ export class AttachLoadBalancersRequest extends $tea.Model {
|
|
|
807
807
|
*
|
|
808
808
|
* **
|
|
809
809
|
*
|
|
810
|
-
* **Note** If a load balancer is currently attached to your scaling group, and you want to add the instances in your scaling group to the backend server groups of the load balancer, you can call this operation again and set
|
|
810
|
+
* **Note** If a load balancer is currently attached to your scaling group, and you want to add the instances in your scaling group to the backend server groups of the load balancer, you can call this operation again and set ForceAttach request to true.
|
|
811
811
|
*
|
|
812
812
|
* * false: If you set this parameter to false, the attachment of the load balancer does not entail the addition of the existing instances in the scaling group to the backend server groups of the load balancer.
|
|
813
813
|
*
|
|
@@ -1471,7 +1471,7 @@ export class CompleteLifecycleActionRequest extends $tea.Model {
|
|
|
1471
1471
|
lifecycleActionResult?: string;
|
|
1472
1472
|
/**
|
|
1473
1473
|
* @remarks
|
|
1474
|
-
* The token of the lifecycle
|
|
1474
|
+
* The token of the lifecycle action. You can obtain the token from the Simple Message Queue (SMQ, formerly MNS) queue or topic that is specified for the lifecycle hook.
|
|
1475
1475
|
*
|
|
1476
1476
|
* This parameter is required.
|
|
1477
1477
|
*
|
|
@@ -1590,12 +1590,12 @@ export class CreateAlarmRequest extends $tea.Model {
|
|
|
1590
1590
|
alarmActions?: string[];
|
|
1591
1591
|
/**
|
|
1592
1592
|
* @remarks
|
|
1593
|
-
* The operator that
|
|
1593
|
+
* The operator that you want to use to compare the metric value and the threshold. Valid values:
|
|
1594
1594
|
*
|
|
1595
|
-
* * If the metric value is greater than or equal to the threshold, set the value to
|
|
1596
|
-
* * If the metric value is less than or equal to the threshold, set the value to
|
|
1597
|
-
* * If the metric value is greater than the threshold, set the value to
|
|
1598
|
-
* * If the metric value is less than the threshold, set the value to
|
|
1595
|
+
* * If the metric value is greater than or equal to the threshold, set the value to >=.
|
|
1596
|
+
* * If the metric value is less than or equal to the metric threshold, set the value to <=.
|
|
1597
|
+
* * If the metric value is greater than the metric threshold, set the value to >.
|
|
1598
|
+
* * If the metric value is less than the metric threshold, set the value to <.
|
|
1599
1599
|
*
|
|
1600
1600
|
* Default value: >=.
|
|
1601
1601
|
*
|
|
@@ -1639,7 +1639,7 @@ export class CreateAlarmRequest extends $tea.Model {
|
|
|
1639
1639
|
effective?: string;
|
|
1640
1640
|
/**
|
|
1641
1641
|
* @remarks
|
|
1642
|
-
* The number of times that the threshold must be reached before a scaling rule
|
|
1642
|
+
* The number of consecutive times that the threshold must be reached before a scaling rule is executed. For example, if you set this parameter to 3, the average CPU utilization must reach or exceed 80% three times in a row before the scaling rule is executed.
|
|
1643
1643
|
*
|
|
1644
1644
|
* Default value: 3.
|
|
1645
1645
|
*
|
|
@@ -1715,10 +1715,10 @@ export class CreateAlarmRequest extends $tea.Model {
|
|
|
1715
1715
|
metricName?: string;
|
|
1716
1716
|
/**
|
|
1717
1717
|
* @remarks
|
|
1718
|
-
* The type
|
|
1718
|
+
* The metric type. Valid values:
|
|
1719
1719
|
*
|
|
1720
|
-
* * system: system metrics of CloudMonitor
|
|
1721
|
-
* * custom: custom metrics that are reported to CloudMonitor
|
|
1720
|
+
* * system: system metrics of CloudMonitor.
|
|
1721
|
+
* * custom: custom metrics that are reported to CloudMonitor.
|
|
1722
1722
|
*
|
|
1723
1723
|
* @example
|
|
1724
1724
|
* system
|
|
@@ -1774,11 +1774,11 @@ export class CreateAlarmRequest extends $tea.Model {
|
|
|
1774
1774
|
scalingGroupId?: string;
|
|
1775
1775
|
/**
|
|
1776
1776
|
* @remarks
|
|
1777
|
-
* The method that
|
|
1777
|
+
* The method that you want to use to aggregate the metric data. Valid values:
|
|
1778
1778
|
*
|
|
1779
|
-
* * Average
|
|
1780
|
-
* * Minimum
|
|
1781
|
-
* * Maximum
|
|
1779
|
+
* * Average: the average value.
|
|
1780
|
+
* * Minimum: the minimum value.
|
|
1781
|
+
* * Maximum: the maximum value.
|
|
1782
1782
|
*
|
|
1783
1783
|
* Default value: Average.
|
|
1784
1784
|
*
|
|
@@ -1911,6 +1911,8 @@ export class CreateAlarmResponse extends $tea.Model {
|
|
|
1911
1911
|
export class CreateDiagnoseReportRequest extends $tea.Model {
|
|
1912
1912
|
/**
|
|
1913
1913
|
* @remarks
|
|
1914
|
+
* The region ID of the scaling group.
|
|
1915
|
+
*
|
|
1914
1916
|
* This parameter is required.
|
|
1915
1917
|
*
|
|
1916
1918
|
* @example
|
|
@@ -1919,6 +1921,8 @@ export class CreateDiagnoseReportRequest extends $tea.Model {
|
|
|
1919
1921
|
regionId?: string;
|
|
1920
1922
|
/**
|
|
1921
1923
|
* @remarks
|
|
1924
|
+
* The ID of the scaling group.
|
|
1925
|
+
*
|
|
1922
1926
|
* This parameter is required.
|
|
1923
1927
|
*
|
|
1924
1928
|
* @example
|
|
@@ -1946,13 +1950,16 @@ export class CreateDiagnoseReportRequest extends $tea.Model {
|
|
|
1946
1950
|
|
|
1947
1951
|
export class CreateDiagnoseReportResponseBody extends $tea.Model {
|
|
1948
1952
|
/**
|
|
1953
|
+
* @remarks
|
|
1954
|
+
* The unique ID of the diagnostic report.
|
|
1955
|
+
*
|
|
1949
1956
|
* @example
|
|
1950
1957
|
* dr-uf6enpbnri1xhcy9qc7s
|
|
1951
1958
|
*/
|
|
1952
1959
|
reportId?: string;
|
|
1953
1960
|
/**
|
|
1954
1961
|
* @remarks
|
|
1955
|
-
*
|
|
1962
|
+
* The ID of the request.
|
|
1956
1963
|
*
|
|
1957
1964
|
* @example
|
|
1958
1965
|
* 0189C6CB-07BA-5AFE-B533-D93892324774
|
|
@@ -2203,6 +2210,18 @@ export class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
2203
2210
|
* 20
|
|
2204
2211
|
*/
|
|
2205
2212
|
ephemeralStorage?: number;
|
|
2213
|
+
/**
|
|
2214
|
+
* @remarks
|
|
2215
|
+
* The version of the GPU driver. Valid values:
|
|
2216
|
+
*
|
|
2217
|
+
* * tesla=470.82.01 (default)
|
|
2218
|
+
* * tesla=525.85.12
|
|
2219
|
+
*
|
|
2220
|
+
* > You can switch the GPU driver version only for a few Elastic Compute Service (ECS) instance types. For more information, see [Specify GPU-accelerated ECS instance types to create an elastic container instance](https://help.aliyun.com/document_detail/2579486.html).
|
|
2221
|
+
*
|
|
2222
|
+
* @example
|
|
2223
|
+
* tesla=525.85.12
|
|
2224
|
+
*/
|
|
2206
2225
|
gpuDriverVersion?: string;
|
|
2207
2226
|
/**
|
|
2208
2227
|
* @remarks
|
|
@@ -2632,18 +2651,19 @@ export class CreateLifecycleHookRequest extends $tea.Model {
|
|
|
2632
2651
|
lifecycleTransition?: string;
|
|
2633
2652
|
/**
|
|
2634
2653
|
* @remarks
|
|
2635
|
-
* The Alibaba Cloud Resource Name (ARN) of the notification
|
|
2654
|
+
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. If you do not specify this parameter, no notification is sent when the lifecycle hook takes effect. If you specify this parameter, the value must be in one of the following formats:
|
|
2636
2655
|
*
|
|
2637
|
-
* * If you
|
|
2638
|
-
* * If you
|
|
2639
|
-
* * If you
|
|
2656
|
+
* * If you specify a Simple Message Queue (SMQ, formerly MNS) as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
|
|
2657
|
+
* * If you specify an SMQ topic as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
|
|
2658
|
+
* * If you specify a CloudOps Orchestration Service (OOS) template as the notification recipient, specify the value in the acs:oos:{region-id}:{account-id}:template/{templatename} format.
|
|
2659
|
+
* * If you specify an event bus as the notification recipient, specify the value in the acs:eventbridge:{region-id}:{account-id}:eventbus/default format.
|
|
2640
2660
|
*
|
|
2641
|
-
* The variables in the preceding
|
|
2661
|
+
* The variables in the preceding value formats have the following meanings:
|
|
2642
2662
|
*
|
|
2643
|
-
* * region-id: the region ID of
|
|
2644
|
-
* * account-id: the ID of the Alibaba Cloud account.
|
|
2645
|
-
* * queuename: the name of the
|
|
2646
|
-
* * topicname: the name of the
|
|
2663
|
+
* * region-id: the region ID of your scaling group.
|
|
2664
|
+
* * account-id: the ID of the Alibaba Cloud account. IDs of Resource Access Management (RAM) users are not supported.
|
|
2665
|
+
* * queuename: the name of the SMQ queue.
|
|
2666
|
+
* * topicname: the name of the SMQ topic.
|
|
2647
2667
|
* * templatename: the name of the OOS template.
|
|
2648
2668
|
*
|
|
2649
2669
|
* @example
|
|
@@ -2783,15 +2803,15 @@ export class CreateNotificationConfigurationRequest extends $tea.Model {
|
|
|
2783
2803
|
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following list describes the value formats of this parameter:
|
|
2784
2804
|
*
|
|
2785
2805
|
* * If you specify CloudMonitor as the notification recipient, specify the value in the `acs:ess:{region-id}:{account-id}:cloudmonitor` format.
|
|
2786
|
-
* * If you specify an
|
|
2787
|
-
* * If you specify an
|
|
2806
|
+
* * If you specify an SMQ queue as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format.
|
|
2807
|
+
* * If you specify an SMQ topic as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format.
|
|
2788
2808
|
*
|
|
2789
2809
|
* The variables in the preceding formats have the following meanings:
|
|
2790
2810
|
*
|
|
2791
2811
|
* * `region-id`: the region ID of the scaling group.
|
|
2792
2812
|
* * `account-id`: the ID of the Alibaba Cloud account.
|
|
2793
|
-
* * `queuename`: the name of the
|
|
2794
|
-
* * `topicname`: the name of the
|
|
2813
|
+
* * `queuename`: the name of the SMQ queue.
|
|
2814
|
+
* * `topicname`: the name of the SMQ topic.
|
|
2795
2815
|
*
|
|
2796
2816
|
* This parameter is required.
|
|
2797
2817
|
*
|
|
@@ -3034,7 +3054,35 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
3034
3054
|
* hpc-clusterid
|
|
3035
3055
|
*/
|
|
3036
3056
|
hpcClusterId?: string;
|
|
3057
|
+
/**
|
|
3058
|
+
* @remarks
|
|
3059
|
+
* Specifies whether to enable the access channel for instance metadata. Valid values:
|
|
3060
|
+
*
|
|
3061
|
+
* * enabled
|
|
3062
|
+
* * disabled
|
|
3063
|
+
*
|
|
3064
|
+
* Default value: enabled.
|
|
3065
|
+
*
|
|
3066
|
+
* > For information about instance metadata, see [Obtain instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
3067
|
+
*
|
|
3068
|
+
* @example
|
|
3069
|
+
* enabled
|
|
3070
|
+
*/
|
|
3037
3071
|
httpEndpoint?: string;
|
|
3072
|
+
/**
|
|
3073
|
+
* @remarks
|
|
3074
|
+
* Specifies whether to forcibly use the security hardening mode (IMDSv2) to access instance metadata. Valid values:
|
|
3075
|
+
*
|
|
3076
|
+
* * optional: does not forcibly use the security hardening mode (IMDSv2).
|
|
3077
|
+
* * required: forcibly uses the security hardening mode (IMDSv2). If you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
3078
|
+
*
|
|
3079
|
+
* Default value: optional.
|
|
3080
|
+
*
|
|
3081
|
+
* > For more information about instance metadata access modes, see [Access modes of instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
3082
|
+
*
|
|
3083
|
+
* @example
|
|
3084
|
+
* optional
|
|
3085
|
+
*/
|
|
3038
3086
|
httpTokens?: string;
|
|
3039
3087
|
/**
|
|
3040
3088
|
* @remarks
|
|
@@ -3080,7 +3128,7 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
3080
3128
|
instanceName?: string;
|
|
3081
3129
|
/**
|
|
3082
3130
|
* @remarks
|
|
3083
|
-
* The
|
|
3131
|
+
* The intelligent configuration settings, which determine the available instance types.
|
|
3084
3132
|
*/
|
|
3085
3133
|
instancePatternInfos?: CreateScalingConfigurationRequestInstancePatternInfos[];
|
|
3086
3134
|
/**
|
|
@@ -3118,9 +3166,10 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
3118
3166
|
internetChargeType?: string;
|
|
3119
3167
|
/**
|
|
3120
3168
|
* @remarks
|
|
3121
|
-
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
3169
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
3122
3170
|
*
|
|
3123
|
-
*
|
|
3171
|
+
* * If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10, and the default value is 10.
|
|
3172
|
+
* * If the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `InternetMaxBandwidthOut`, and the default value is the value of `InternetMaxBandwidthOut`.
|
|
3124
3173
|
*
|
|
3125
3174
|
* @example
|
|
3126
3175
|
* 100
|
|
@@ -3128,10 +3177,9 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
3128
3177
|
internetMaxBandwidthIn?: number;
|
|
3129
3178
|
/**
|
|
3130
3179
|
* @remarks
|
|
3131
|
-
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
3180
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
3132
3181
|
*
|
|
3133
|
-
*
|
|
3134
|
-
* * Valid values if you set InternetChargeType to PayByTraffic: 0 to 100. If you leave this parameter empty, an error is returned.
|
|
3182
|
+
* Default value: 0.
|
|
3135
3183
|
*
|
|
3136
3184
|
* @example
|
|
3137
3185
|
* 50
|
|
@@ -3645,7 +3693,35 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
3645
3693
|
* hpc-clusterid
|
|
3646
3694
|
*/
|
|
3647
3695
|
hpcClusterId?: string;
|
|
3696
|
+
/**
|
|
3697
|
+
* @remarks
|
|
3698
|
+
* Specifies whether to enable the access channel for instance metadata. Valid values:
|
|
3699
|
+
*
|
|
3700
|
+
* * enabled
|
|
3701
|
+
* * disabled
|
|
3702
|
+
*
|
|
3703
|
+
* Default value: enabled.
|
|
3704
|
+
*
|
|
3705
|
+
* > For information about instance metadata, see [Obtain instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
3706
|
+
*
|
|
3707
|
+
* @example
|
|
3708
|
+
* enabled
|
|
3709
|
+
*/
|
|
3648
3710
|
httpEndpoint?: string;
|
|
3711
|
+
/**
|
|
3712
|
+
* @remarks
|
|
3713
|
+
* Specifies whether to forcibly use the security hardening mode (IMDSv2) to access instance metadata. Valid values:
|
|
3714
|
+
*
|
|
3715
|
+
* * optional: does not forcibly use the security hardening mode (IMDSv2).
|
|
3716
|
+
* * required: forcibly uses the security hardening mode (IMDSv2). If you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
3717
|
+
*
|
|
3718
|
+
* Default value: optional.
|
|
3719
|
+
*
|
|
3720
|
+
* > For more information about instance metadata access modes, see [Access modes of instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
3721
|
+
*
|
|
3722
|
+
* @example
|
|
3723
|
+
* optional
|
|
3724
|
+
*/
|
|
3649
3725
|
httpTokens?: string;
|
|
3650
3726
|
/**
|
|
3651
3727
|
* @remarks
|
|
@@ -3691,7 +3767,7 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
3691
3767
|
instanceName?: string;
|
|
3692
3768
|
/**
|
|
3693
3769
|
* @remarks
|
|
3694
|
-
* The
|
|
3770
|
+
* The intelligent configuration settings, which determine the available instance types.
|
|
3695
3771
|
*/
|
|
3696
3772
|
instancePatternInfos?: CreateScalingConfigurationShrinkRequestInstancePatternInfos[];
|
|
3697
3773
|
/**
|
|
@@ -3729,9 +3805,10 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
3729
3805
|
internetChargeType?: string;
|
|
3730
3806
|
/**
|
|
3731
3807
|
* @remarks
|
|
3732
|
-
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
3808
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
3733
3809
|
*
|
|
3734
|
-
*
|
|
3810
|
+
* * If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10, and the default value is 10.
|
|
3811
|
+
* * If the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `InternetMaxBandwidthOut`, and the default value is the value of `InternetMaxBandwidthOut`.
|
|
3735
3812
|
*
|
|
3736
3813
|
* @example
|
|
3737
3814
|
* 100
|
|
@@ -3739,10 +3816,9 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
3739
3816
|
internetMaxBandwidthIn?: number;
|
|
3740
3817
|
/**
|
|
3741
3818
|
* @remarks
|
|
3742
|
-
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
3819
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
3743
3820
|
*
|
|
3744
|
-
*
|
|
3745
|
-
* * Valid values if you set InternetChargeType to PayByTraffic: 0 to 100. If you leave this parameter empty, an error is returned.
|
|
3821
|
+
* Default value: 0.
|
|
3746
3822
|
*
|
|
3747
3823
|
* @example
|
|
3748
3824
|
* 50
|
|
@@ -4233,6 +4309,10 @@ export class CreateScalingGroupRequest extends $tea.Model {
|
|
|
4233
4309
|
* false
|
|
4234
4310
|
*/
|
|
4235
4311
|
azBalance?: boolean;
|
|
4312
|
+
/**
|
|
4313
|
+
* @remarks
|
|
4314
|
+
* The capacity options.
|
|
4315
|
+
*/
|
|
4236
4316
|
capacityOptions?: CreateScalingGroupRequestCapacityOptions;
|
|
4237
4317
|
/**
|
|
4238
4318
|
* @remarks
|
|
@@ -5047,9 +5127,9 @@ export class CreateScalingRuleRequest extends $tea.Model {
|
|
|
5047
5127
|
* * SimpleScalingRule: a simple scaling rule. After you execute a simple scaling rule, Auto Scaling adjusts the number of ECS instances or elastic container instances in the scaling group based on the values of AdjustmentType and AdjustmentValue.
|
|
5048
5128
|
* * TargetTrackingScalingRule: a target tracking scaling rule. After you execute a target tracking scaling rule, Auto Scaling dynamically calculates the number of ECS instances or elastic container instances to scale based on the predefined metric (MetricName) and attempts to maintain the metric value close to the expected value (TargetValue).
|
|
5049
5129
|
* * StepScalingRule: a step scaling rule. After you execute a step scaling rule, Auto Scaling scales instances step by step based on the predefined thresholds and metric values.
|
|
5050
|
-
* * PredictiveScalingRule: uses machine learning to analyze historical monitoring data of the scaling group and predicts the future values of metrics. In addition, Auto Scaling automatically creates scheduled tasks to specify the value range for the scaling group.
|
|
5130
|
+
* * PredictiveScalingRule: a predictive scaling rule. After you execute a predictive scaling rule, Auto Scaling uses machine learning to analyze historical monitoring data of the scaling group and predicts the future values of metrics. In addition, Auto Scaling automatically creates scheduled tasks to specify the value range for the scaling group.
|
|
5051
5131
|
*
|
|
5052
|
-
* Default value: SimpleScalingRule
|
|
5132
|
+
* Default value: SimpleScalingRule.
|
|
5053
5133
|
*
|
|
5054
5134
|
* @example
|
|
5055
5135
|
* SimpleScalingRule
|
|
@@ -5884,18 +5964,18 @@ export class DeleteLifecycleHookResponse extends $tea.Model {
|
|
|
5884
5964
|
export class DeleteNotificationConfigurationRequest extends $tea.Model {
|
|
5885
5965
|
/**
|
|
5886
5966
|
* @remarks
|
|
5887
|
-
* The Alibaba Cloud Resource Name (ARN) of the notification
|
|
5967
|
+
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. Specify the value in one of the following formats:
|
|
5888
5968
|
*
|
|
5889
|
-
* * If you
|
|
5890
|
-
* * If you
|
|
5891
|
-
* * If you
|
|
5969
|
+
* * If you specify CloudMonitor as the notification recipient, specify the value in the acs:ess:{region-id}:{account-id}:cloudmonitor format.
|
|
5970
|
+
* * If you specify a Simple Message Queue (SMQ, formerly MNS) queue as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
|
|
5971
|
+
* * If you specify an SMQ queue as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
|
|
5892
5972
|
*
|
|
5893
|
-
* The variables in the preceding formats have the following meanings:
|
|
5973
|
+
* The variables in the preceding value formats have the following meanings:
|
|
5894
5974
|
*
|
|
5895
5975
|
* * region-id: the region ID of the scaling group.
|
|
5896
|
-
* * account-id: the ID of
|
|
5897
|
-
* * queuename: the name of the
|
|
5898
|
-
* * topicname: the name of the
|
|
5976
|
+
* * account-id: the ID of your Alibaba Cloud cloud.
|
|
5977
|
+
* * queuename: the name of the SMQ queue.
|
|
5978
|
+
* * topicname: the name of the SMQ topic.
|
|
5899
5979
|
*
|
|
5900
5980
|
* This parameter is required.
|
|
5901
5981
|
*
|
|
@@ -6722,26 +6802,40 @@ export class DescribeAlertConfigurationResponse extends $tea.Model {
|
|
|
6722
6802
|
|
|
6723
6803
|
export class DescribeDiagnoseReportsRequest extends $tea.Model {
|
|
6724
6804
|
/**
|
|
6805
|
+
* @remarks
|
|
6806
|
+
* The page number.
|
|
6807
|
+
*
|
|
6725
6808
|
* @example
|
|
6726
6809
|
* 1
|
|
6727
6810
|
*/
|
|
6728
6811
|
pageNumber?: number;
|
|
6729
6812
|
/**
|
|
6813
|
+
* @remarks
|
|
6814
|
+
* The number of entries per page.
|
|
6815
|
+
*
|
|
6730
6816
|
* @example
|
|
6731
6817
|
* 10
|
|
6732
6818
|
*/
|
|
6733
6819
|
pageSize?: number;
|
|
6734
6820
|
/**
|
|
6735
6821
|
* @remarks
|
|
6822
|
+
* The region ID of the scaling group.
|
|
6823
|
+
*
|
|
6736
6824
|
* This parameter is required.
|
|
6737
6825
|
*
|
|
6738
6826
|
* @example
|
|
6739
6827
|
* cn-shenzhen
|
|
6740
6828
|
*/
|
|
6741
6829
|
regionId?: string;
|
|
6830
|
+
/**
|
|
6831
|
+
* @remarks
|
|
6832
|
+
* The IDs of the diagnostic reports. You can specify at most 20 IDs.
|
|
6833
|
+
*/
|
|
6742
6834
|
reportIds?: string[];
|
|
6743
6835
|
/**
|
|
6744
6836
|
* @remarks
|
|
6837
|
+
* The ID of the scaling group.
|
|
6838
|
+
*
|
|
6745
6839
|
* This parameter is required.
|
|
6746
6840
|
*
|
|
6747
6841
|
* @example
|
|
@@ -6775,25 +6869,38 @@ export class DescribeDiagnoseReportsRequest extends $tea.Model {
|
|
|
6775
6869
|
|
|
6776
6870
|
export class DescribeDiagnoseReportsResponseBody extends $tea.Model {
|
|
6777
6871
|
/**
|
|
6872
|
+
* @remarks
|
|
6873
|
+
* The page number.
|
|
6874
|
+
*
|
|
6778
6875
|
* @example
|
|
6779
6876
|
* 1
|
|
6780
6877
|
*/
|
|
6781
6878
|
pageNumber?: number;
|
|
6782
6879
|
/**
|
|
6880
|
+
* @remarks
|
|
6881
|
+
* The number of entries per page.
|
|
6882
|
+
*
|
|
6783
6883
|
* @example
|
|
6784
6884
|
* 10
|
|
6785
6885
|
*/
|
|
6786
6886
|
pageSize?: number;
|
|
6887
|
+
/**
|
|
6888
|
+
* @remarks
|
|
6889
|
+
* The diagnostic reports.
|
|
6890
|
+
*/
|
|
6787
6891
|
reports?: DescribeDiagnoseReportsResponseBodyReports[];
|
|
6788
6892
|
/**
|
|
6789
6893
|
* @remarks
|
|
6790
|
-
*
|
|
6894
|
+
* The ID of the request.
|
|
6791
6895
|
*
|
|
6792
6896
|
* @example
|
|
6793
6897
|
* ECA123C6-107B-5F70-A177-740A7224C996
|
|
6794
6898
|
*/
|
|
6795
6899
|
requestId?: string;
|
|
6796
6900
|
/**
|
|
6901
|
+
* @remarks
|
|
6902
|
+
* The total number of diagnostic reports.
|
|
6903
|
+
*
|
|
6797
6904
|
* @example
|
|
6798
6905
|
* 5
|
|
6799
6906
|
*/
|
|
@@ -7181,14 +7288,30 @@ export class DescribeEciScalingConfigurationsResponse extends $tea.Model {
|
|
|
7181
7288
|
|
|
7182
7289
|
export class DescribeElasticStrengthRequest extends $tea.Model {
|
|
7183
7290
|
dataDiskCategories?: string[];
|
|
7291
|
+
/**
|
|
7292
|
+
* @example
|
|
7293
|
+
* CentOS7
|
|
7294
|
+
*/
|
|
7184
7295
|
imageFamily?: string;
|
|
7296
|
+
/**
|
|
7297
|
+
* @example
|
|
7298
|
+
* centos6u5_64_20G_aliaegis****.vhd
|
|
7299
|
+
*/
|
|
7185
7300
|
imageId?: string;
|
|
7301
|
+
/**
|
|
7302
|
+
* @example
|
|
7303
|
+
* ubuntu_18_04_x64_20G_alibase_20231225.vhd
|
|
7304
|
+
*/
|
|
7186
7305
|
imageName?: string;
|
|
7187
7306
|
/**
|
|
7188
7307
|
* @remarks
|
|
7189
7308
|
* The instance types. The instance types specified by this parameter overwrite the instance types specified in the scaling configuration.
|
|
7190
7309
|
*/
|
|
7191
7310
|
instanceTypes?: string[];
|
|
7311
|
+
/**
|
|
7312
|
+
* @example
|
|
7313
|
+
* 1
|
|
7314
|
+
*/
|
|
7192
7315
|
ipv6AddressCount?: number;
|
|
7193
7316
|
/**
|
|
7194
7317
|
* @remarks
|
|
@@ -7227,6 +7350,10 @@ export class DescribeElasticStrengthRequest extends $tea.Model {
|
|
|
7227
7350
|
* The IDs of the scaling groups that you want to query.
|
|
7228
7351
|
*/
|
|
7229
7352
|
scalingGroupIds?: string[];
|
|
7353
|
+
/**
|
|
7354
|
+
* @example
|
|
7355
|
+
* NoSpot
|
|
7356
|
+
*/
|
|
7230
7357
|
spotStrategy?: string;
|
|
7231
7358
|
/**
|
|
7232
7359
|
* @remarks
|
|
@@ -7283,7 +7410,7 @@ export class DescribeElasticStrengthRequest extends $tea.Model {
|
|
|
7283
7410
|
export class DescribeElasticStrengthResponseBody extends $tea.Model {
|
|
7284
7411
|
/**
|
|
7285
7412
|
* @remarks
|
|
7286
|
-
* The scaling
|
|
7413
|
+
* The scaling strengths of scaling configurations that are queried at the same time.
|
|
7287
7414
|
*/
|
|
7288
7415
|
elasticStrengthModels?: DescribeElasticStrengthResponseBodyElasticStrengthModels[];
|
|
7289
7416
|
/**
|
|
@@ -7781,7 +7908,7 @@ export class DescribeLifecycleHooksRequest extends $tea.Model {
|
|
|
7781
7908
|
export class DescribeLifecycleHooksResponseBody extends $tea.Model {
|
|
7782
7909
|
/**
|
|
7783
7910
|
* @remarks
|
|
7784
|
-
*
|
|
7911
|
+
* Details about the lifecycle hooks.
|
|
7785
7912
|
*/
|
|
7786
7913
|
lifecycleHooks?: DescribeLifecycleHooksResponseBodyLifecycleHooks[];
|
|
7787
7914
|
/**
|
|
@@ -8293,13 +8420,12 @@ export class DescribeNotificationTypesResponse extends $tea.Model {
|
|
|
8293
8420
|
export class DescribePatternTypesRequest extends $tea.Model {
|
|
8294
8421
|
/**
|
|
8295
8422
|
* @remarks
|
|
8296
|
-
* The
|
|
8423
|
+
* The architecture types of the instance types. Valid values:
|
|
8297
8424
|
*
|
|
8298
|
-
* * X86: x86
|
|
8299
|
-
* * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated
|
|
8300
|
-
* * BareMetal: ECS Bare Metal Instance
|
|
8301
|
-
* * Arm: Arm
|
|
8302
|
-
* * SuperComputeCluster: Super Computing Cluster
|
|
8425
|
+
* * X86: x86 architecture.
|
|
8426
|
+
* * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
|
|
8427
|
+
* * BareMetal: ECS Bare Metal Instance.
|
|
8428
|
+
* * Arm: Arm.
|
|
8303
8429
|
*
|
|
8304
8430
|
* By default, all values are selected.
|
|
8305
8431
|
*/
|
|
@@ -8357,24 +8483,23 @@ export class DescribePatternTypesRequest extends $tea.Model {
|
|
|
8357
8483
|
gpuSpecs?: string[];
|
|
8358
8484
|
/**
|
|
8359
8485
|
* @remarks
|
|
8360
|
-
* The
|
|
8361
|
-
*
|
|
8362
|
-
* * General-purpose
|
|
8363
|
-
* * Compute-optimized
|
|
8364
|
-
* * Memory-optimized
|
|
8365
|
-
* * Big data
|
|
8366
|
-
* * Local SSDs
|
|
8367
|
-
* * High Clock Speed
|
|
8368
|
-
* * Enhanced
|
|
8369
|
-
* * Shared
|
|
8370
|
-
* * Compute-optimized with GPU
|
|
8371
|
-
* * Visual Compute-optimized
|
|
8372
|
-
* * Heterogeneous Service
|
|
8373
|
-
* * Compute-optimized with FPGA
|
|
8374
|
-
* * Compute-optimized with NPU
|
|
8375
|
-
* * ECS Bare Metal
|
|
8376
|
-
* *
|
|
8377
|
-
* * High Performance Compute
|
|
8486
|
+
* The classifications of the instance types. Valid values:
|
|
8487
|
+
*
|
|
8488
|
+
* * General-purpose: general-purpose instance type.
|
|
8489
|
+
* * Compute-optimized: compute-optimized instance type.
|
|
8490
|
+
* * Memory-optimized: memory-optimized instance type.
|
|
8491
|
+
* * Big data: big data instance type.
|
|
8492
|
+
* * Local SSDs: instance type with local SSDs.
|
|
8493
|
+
* * High Clock Speed: instance type with high clock speeds.
|
|
8494
|
+
* * Enhanced: enhanced instance type.
|
|
8495
|
+
* * Shared: shared instance type.
|
|
8496
|
+
* * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
|
|
8497
|
+
* * Visual Compute-optimized: visual compute-optimized instance type.
|
|
8498
|
+
* * Heterogeneous Service: heterogeneous service instance type.
|
|
8499
|
+
* * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
|
|
8500
|
+
* * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
|
|
8501
|
+
* * ECS Bare Metal: ECS Bare Metal Instance type.
|
|
8502
|
+
* * High Performance Compute: HPC-optimized instance type.
|
|
8378
8503
|
*/
|
|
8379
8504
|
instanceCategories?: string[];
|
|
8380
8505
|
/**
|
|
@@ -8537,6 +8662,10 @@ export class DescribePatternTypesRequest extends $tea.Model {
|
|
|
8537
8662
|
* The IDs of the vSwitches.
|
|
8538
8663
|
*/
|
|
8539
8664
|
vSwitchId?: string[];
|
|
8665
|
+
/**
|
|
8666
|
+
* @remarks
|
|
8667
|
+
* The zone IDs. If you pass vSwitch IDs to the system, this parameter does not take effect.
|
|
8668
|
+
*/
|
|
8540
8669
|
zoneId?: string[];
|
|
8541
8670
|
static names(): { [key: string]: string } {
|
|
8542
8671
|
return {
|
|
@@ -8772,6 +8901,9 @@ export class DescribeRegionsResponse extends $tea.Model {
|
|
|
8772
8901
|
|
|
8773
8902
|
export class DescribeScalingActivitiesRequest extends $tea.Model {
|
|
8774
8903
|
/**
|
|
8904
|
+
* @remarks
|
|
8905
|
+
* The ID of the instance refresh task. If you specify this parameter, this operation returns the list of scaling activities associated with the instance refresh task.
|
|
8906
|
+
*
|
|
8775
8907
|
* @example
|
|
8776
8908
|
* ir-a12ds234fasd*****
|
|
8777
8909
|
*/
|
|
@@ -9006,7 +9138,7 @@ export class DescribeScalingActivityDetailRequest extends $tea.Model {
|
|
|
9006
9138
|
export class DescribeScalingActivityDetailResponseBody extends $tea.Model {
|
|
9007
9139
|
/**
|
|
9008
9140
|
* @remarks
|
|
9009
|
-
* The details of the scaling activity.
|
|
9141
|
+
* The details of the scaling activity. The result of a scaling activity is either successful or failed. If the scaling activity is rejected, no scaling activity details are returned.
|
|
9010
9142
|
*
|
|
9011
9143
|
* @example
|
|
9012
9144
|
* new ECS instances \\"i-bp16t2cgmiiymeqv****\\" are created.
|
|
@@ -10204,11 +10336,24 @@ export class DescribeScheduledTasksRequest extends $tea.Model {
|
|
|
10204
10336
|
*/
|
|
10205
10337
|
pageSize?: number;
|
|
10206
10338
|
/**
|
|
10339
|
+
* @remarks
|
|
10340
|
+
* The interval at which scheduled task N is repeatedly executed. Valid values:
|
|
10341
|
+
*
|
|
10342
|
+
* * Daily: Scheduled task N is executed once every specified number of days.
|
|
10343
|
+
* * Weekly: Scheduled task N is executed on each specified day of a week.
|
|
10344
|
+
* * Monthly: Scheduled task N is executed on each specified day of a month.
|
|
10345
|
+
* * Cron: Scheduled task N is executed based on the specified Cron expression.
|
|
10346
|
+
*
|
|
10207
10347
|
* @example
|
|
10208
10348
|
* Weekly
|
|
10209
10349
|
*/
|
|
10210
10350
|
recurrenceType?: string;
|
|
10211
10351
|
/**
|
|
10352
|
+
* @remarks
|
|
10353
|
+
* The number of times scheduled task N is repeatedly executed.
|
|
10354
|
+
*
|
|
10355
|
+
* You can specify this parameter only if you set RecurrenceType to Weekly. Separate multiple values with commas (,). The values that correspond to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday are 0, 1, 2, 3, 4, 5, and 6.
|
|
10356
|
+
*
|
|
10212
10357
|
* @example
|
|
10213
10358
|
* 1,2,3
|
|
10214
10359
|
*/
|
|
@@ -10249,11 +10394,20 @@ export class DescribeScheduledTasksRequest extends $tea.Model {
|
|
|
10249
10394
|
*/
|
|
10250
10395
|
scheduledTaskNames?: string[];
|
|
10251
10396
|
/**
|
|
10397
|
+
* @remarks
|
|
10398
|
+
* Specifies whether scheduled task N is enabled.
|
|
10399
|
+
*
|
|
10400
|
+
* * true
|
|
10401
|
+
* * false
|
|
10402
|
+
*
|
|
10252
10403
|
* @example
|
|
10253
10404
|
* true
|
|
10254
10405
|
*/
|
|
10255
10406
|
taskEnabled?: boolean;
|
|
10256
10407
|
/**
|
|
10408
|
+
* @remarks
|
|
10409
|
+
* The name of scheduled task N. Fuzzy search based on keywords is supported.
|
|
10410
|
+
*
|
|
10257
10411
|
* @example
|
|
10258
10412
|
* scheduled****
|
|
10259
10413
|
*/
|
|
@@ -10411,7 +10565,7 @@ export class DetachAlbServerGroupsRequest extends $tea.Model {
|
|
|
10411
10565
|
clientToken?: string;
|
|
10412
10566
|
/**
|
|
10413
10567
|
* @remarks
|
|
10414
|
-
* Specifies whether to remove the existing ECS instances from the ALB server group. Valid values:
|
|
10568
|
+
* Specifies whether to remove the existing Elastic Compute Service (ECS) instances from the Application Load Balancer (ALB) server group marked for detachment. Valid values:
|
|
10415
10569
|
*
|
|
10416
10570
|
* * true: removes the existing ECS instances from the ALB server group and returns the value of `ScalingActivityId`. You can query the value of ScalingActivityId to check whether the existing ECS instances are removed from the ALB server group.
|
|
10417
10571
|
* * false: does not remove the existing ECS instances from the ALB server group.
|
|
@@ -10537,9 +10691,9 @@ export class DetachAlbServerGroupsResponse extends $tea.Model {
|
|
|
10537
10691
|
export class DetachDBInstancesRequest extends $tea.Model {
|
|
10538
10692
|
/**
|
|
10539
10693
|
* @remarks
|
|
10540
|
-
* The client token that is used to ensure the idempotence of the request.
|
|
10694
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
10541
10695
|
*
|
|
10542
|
-
* The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [
|
|
10696
|
+
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [Ensure idempotence](https://help.aliyun.com/document_detail/25965.html).
|
|
10543
10697
|
*
|
|
10544
10698
|
* @example
|
|
10545
10699
|
* 123e4567-e89b-12d3-a456-42665544****
|
|
@@ -10576,7 +10730,10 @@ export class DetachDBInstancesRequest extends $tea.Model {
|
|
|
10576
10730
|
regionId?: string;
|
|
10577
10731
|
/**
|
|
10578
10732
|
* @remarks
|
|
10579
|
-
*
|
|
10733
|
+
* Specifies whether to remove the security group. This parameter takes effect only if you set `AttachMode` to `SecurityGroup`. Valid values:
|
|
10734
|
+
*
|
|
10735
|
+
* * true
|
|
10736
|
+
* * false
|
|
10580
10737
|
*
|
|
10581
10738
|
* Default value: false.
|
|
10582
10739
|
*
|
|
@@ -10886,7 +11043,7 @@ export class DetachLoadBalancersRequest extends $tea.Model {
|
|
|
10886
11043
|
clientToken?: string;
|
|
10887
11044
|
/**
|
|
10888
11045
|
* @remarks
|
|
10889
|
-
* Specifies whether to remove Elastic Compute Service (ECS) instances in the scaling group from the backend server groups of the
|
|
11046
|
+
* Specifies whether to remove Elastic Compute Service (ECS) instances in the scaling group from the backend server groups of the Server Load Balancer (SLB) instance. Valid values:
|
|
10890
11047
|
*
|
|
10891
11048
|
* * true
|
|
10892
11049
|
* * false
|
|
@@ -12737,10 +12894,10 @@ export class ModifyAlarmRequest extends $tea.Model {
|
|
|
12737
12894
|
metricName?: string;
|
|
12738
12895
|
/**
|
|
12739
12896
|
* @remarks
|
|
12740
|
-
* The type
|
|
12897
|
+
* The metric type. Valid values:
|
|
12741
12898
|
*
|
|
12742
12899
|
* * system: system metrics of CloudMonitor
|
|
12743
|
-
* * custom: custom metrics that are reported to CloudMonitor
|
|
12900
|
+
* * custom: custom metrics that are reported to CloudMonitor.
|
|
12744
12901
|
*
|
|
12745
12902
|
* @example
|
|
12746
12903
|
* system
|
|
@@ -13236,6 +13393,18 @@ export class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
13236
13393
|
* 20
|
|
13237
13394
|
*/
|
|
13238
13395
|
ephemeralStorage?: number;
|
|
13396
|
+
/**
|
|
13397
|
+
* @remarks
|
|
13398
|
+
* The version of the GPU driver. Valid values:
|
|
13399
|
+
*
|
|
13400
|
+
* * tesla=470.82.01 (default)
|
|
13401
|
+
* * tesla=525.85.12
|
|
13402
|
+
*
|
|
13403
|
+
* > You can switch the GPU driver version only for a few Elastic Compute Service (ECS) instance types. For more information, see [Specify GPU-accelerated ECS instance types to create an elastic container instance](https://help.aliyun.com/document_detail/2579486.html).
|
|
13404
|
+
*
|
|
13405
|
+
* @example
|
|
13406
|
+
* tesla=525.85.12
|
|
13407
|
+
*/
|
|
13239
13408
|
gpuDriverVersion?: string;
|
|
13240
13409
|
/**
|
|
13241
13410
|
* @remarks
|
|
@@ -13791,18 +13960,19 @@ export class ModifyLifecycleHookRequest extends $tea.Model {
|
|
|
13791
13960
|
lifecycleTransition?: string;
|
|
13792
13961
|
/**
|
|
13793
13962
|
* @remarks
|
|
13794
|
-
* The Alibaba Cloud Resource Name (ARN) of the notification
|
|
13963
|
+
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. Specify the value in one of the following formats:
|
|
13795
13964
|
*
|
|
13796
|
-
* * If
|
|
13797
|
-
* * If
|
|
13798
|
-
* * If
|
|
13965
|
+
* * If you specify a Simple Message Queue (SMQ, formerly MNS) as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
|
|
13966
|
+
* * If you specify an SMQ topic as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
|
|
13967
|
+
* * If you specify a CloudOps Orchestration Service (OOS) template as the notification recipient, specify the value in the acs:oos:{region-id}:{account-id}:template/{templatename} format.
|
|
13968
|
+
* * If you specify an event bus as the notification recipient, specify the value in the acs:eventbridge:{region-id}:{account-id}:eventbus/default format.
|
|
13799
13969
|
*
|
|
13800
|
-
* The variables in the preceding
|
|
13970
|
+
* The variables in the preceding value formats have the following meanings:
|
|
13801
13971
|
*
|
|
13802
|
-
* * region-id: the region ID of
|
|
13803
|
-
* * account-id: the ID of
|
|
13804
|
-
* * queuename: the name of the
|
|
13805
|
-
* * topicname: the name of the
|
|
13972
|
+
* * region-id: the region ID of your scaling group.
|
|
13973
|
+
* * account-id: the ID of your Alibaba Cloud account.
|
|
13974
|
+
* * queuename: the name of the SMQ queue.
|
|
13975
|
+
* * topicname: the name of the SMQ topic.
|
|
13806
13976
|
* * templatename: the name of the OOS template.
|
|
13807
13977
|
*
|
|
13808
13978
|
* @example
|
|
@@ -13933,18 +14103,18 @@ export class ModifyLifecycleHookResponse extends $tea.Model {
|
|
|
13933
14103
|
export class ModifyNotificationConfigurationRequest extends $tea.Model {
|
|
13934
14104
|
/**
|
|
13935
14105
|
* @remarks
|
|
13936
|
-
* The Alibaba Cloud Resource Name (ARN) of the notification
|
|
14106
|
+
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following list describes the value formats of this parameter:
|
|
13937
14107
|
*
|
|
13938
|
-
* * If you
|
|
13939
|
-
* * If you
|
|
13940
|
-
* * If you
|
|
14108
|
+
* * If you specify CloudMonitor as the notification recipient, specify the value in the `acs:ess:{region-id}:{account-id}:cloudmonitor` format.
|
|
14109
|
+
* * If you specify a Simple Message Queue (SMQ) queue as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format.
|
|
14110
|
+
* * If you specify an SMQ topic as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format.
|
|
13941
14111
|
*
|
|
13942
|
-
* The variables in the preceding formats have the following meanings:
|
|
14112
|
+
* The variables in the preceding value formats have the following meanings:
|
|
13943
14113
|
*
|
|
13944
14114
|
* * region-id: the region ID of your scaling group.
|
|
13945
|
-
* * account-id: the ID of your Alibaba Cloud.
|
|
13946
|
-
* * queuename: the name of the
|
|
13947
|
-
* * topicname: the name of the
|
|
14115
|
+
* * account-id: the ID of your Alibaba Cloud account.
|
|
14116
|
+
* * queuename: the name of the SMQ queue.
|
|
14117
|
+
* * topicname: the name of the SMQ topic.
|
|
13948
14118
|
*
|
|
13949
14119
|
* This parameter is required.
|
|
13950
14120
|
*
|
|
@@ -14181,7 +14351,35 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
14181
14351
|
* hpc-clusterid
|
|
14182
14352
|
*/
|
|
14183
14353
|
hpcClusterId?: string;
|
|
14354
|
+
/**
|
|
14355
|
+
* @remarks
|
|
14356
|
+
* Specifies whether to enable the access channel for instance metadata. Valid values:
|
|
14357
|
+
*
|
|
14358
|
+
* * enabled
|
|
14359
|
+
* * disabled
|
|
14360
|
+
*
|
|
14361
|
+
* Default value: enabled.
|
|
14362
|
+
*
|
|
14363
|
+
* > For information about instance metadata, see [Obtain instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
14364
|
+
*
|
|
14365
|
+
* @example
|
|
14366
|
+
* enabled
|
|
14367
|
+
*/
|
|
14184
14368
|
httpEndpoint?: string;
|
|
14369
|
+
/**
|
|
14370
|
+
* @remarks
|
|
14371
|
+
* Specifies whether to forcibly use the security hardening mode (IMDSv2) to access instance metadata. Valid values:
|
|
14372
|
+
*
|
|
14373
|
+
* * optional: does not forcibly use the security hardening mode (IMDSv2).
|
|
14374
|
+
* * required: forcibly uses the security hardening mode (IMDSv2). If you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
14375
|
+
*
|
|
14376
|
+
* Default value: optional.
|
|
14377
|
+
*
|
|
14378
|
+
* > For more information about instance metadata access modes, see [Access modes of instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
14379
|
+
*
|
|
14380
|
+
* @example
|
|
14381
|
+
* optional
|
|
14382
|
+
*/
|
|
14185
14383
|
httpTokens?: string;
|
|
14186
14384
|
/**
|
|
14187
14385
|
* @remarks
|
|
@@ -14229,7 +14427,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
14229
14427
|
instanceName?: string;
|
|
14230
14428
|
/**
|
|
14231
14429
|
* @remarks
|
|
14232
|
-
* The
|
|
14430
|
+
* The intelligent configuration settings, which determine the available instance types.
|
|
14233
14431
|
*/
|
|
14234
14432
|
instancePatternInfos?: ModifyScalingConfigurationRequestInstancePatternInfos[];
|
|
14235
14433
|
/**
|
|
@@ -14255,13 +14453,22 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
14255
14453
|
* PayByBandwidth
|
|
14256
14454
|
*/
|
|
14257
14455
|
internetChargeType?: string;
|
|
14456
|
+
/**
|
|
14457
|
+
* @remarks
|
|
14458
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
14459
|
+
*
|
|
14460
|
+
* * If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10. The default value is 10.
|
|
14461
|
+
* * If the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `InternetMaxBandwidthOut`. The default value is the value of `InternetMaxBandwidthOut`.
|
|
14462
|
+
*
|
|
14463
|
+
* @example
|
|
14464
|
+
* 10
|
|
14465
|
+
*/
|
|
14258
14466
|
internetMaxBandwidthIn?: number;
|
|
14259
14467
|
/**
|
|
14260
14468
|
* @remarks
|
|
14261
|
-
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
14469
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
14262
14470
|
*
|
|
14263
|
-
*
|
|
14264
|
-
* * If you set InternetChargeType to PayByTraffic: 0 to 100. If you leave this parameter empty, an error is returned.
|
|
14471
|
+
* Default value: 0.
|
|
14265
14472
|
*
|
|
14266
14473
|
* @example
|
|
14267
14474
|
* 50
|
|
@@ -14324,7 +14531,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
14324
14531
|
networkInterfaces?: ModifyScalingConfigurationRequestNetworkInterfaces[];
|
|
14325
14532
|
/**
|
|
14326
14533
|
* @remarks
|
|
14327
|
-
* Specifies whether to
|
|
14534
|
+
* Specifies whether to overwrite existing data. Valid values:
|
|
14328
14535
|
*
|
|
14329
14536
|
* * true
|
|
14330
14537
|
* * false
|
|
@@ -14761,7 +14968,35 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14761
14968
|
* hpc-clusterid
|
|
14762
14969
|
*/
|
|
14763
14970
|
hpcClusterId?: string;
|
|
14971
|
+
/**
|
|
14972
|
+
* @remarks
|
|
14973
|
+
* Specifies whether to enable the access channel for instance metadata. Valid values:
|
|
14974
|
+
*
|
|
14975
|
+
* * enabled
|
|
14976
|
+
* * disabled
|
|
14977
|
+
*
|
|
14978
|
+
* Default value: enabled.
|
|
14979
|
+
*
|
|
14980
|
+
* > For information about instance metadata, see [Obtain instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
14981
|
+
*
|
|
14982
|
+
* @example
|
|
14983
|
+
* enabled
|
|
14984
|
+
*/
|
|
14764
14985
|
httpEndpoint?: string;
|
|
14986
|
+
/**
|
|
14987
|
+
* @remarks
|
|
14988
|
+
* Specifies whether to forcibly use the security hardening mode (IMDSv2) to access instance metadata. Valid values:
|
|
14989
|
+
*
|
|
14990
|
+
* * optional: does not forcibly use the security hardening mode (IMDSv2).
|
|
14991
|
+
* * required: forcibly uses the security hardening mode (IMDSv2). If you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
14992
|
+
*
|
|
14993
|
+
* Default value: optional.
|
|
14994
|
+
*
|
|
14995
|
+
* > For more information about instance metadata access modes, see [Access modes of instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
14996
|
+
*
|
|
14997
|
+
* @example
|
|
14998
|
+
* optional
|
|
14999
|
+
*/
|
|
14765
15000
|
httpTokens?: string;
|
|
14766
15001
|
/**
|
|
14767
15002
|
* @remarks
|
|
@@ -14809,7 +15044,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14809
15044
|
instanceName?: string;
|
|
14810
15045
|
/**
|
|
14811
15046
|
* @remarks
|
|
14812
|
-
* The
|
|
15047
|
+
* The intelligent configuration settings, which determine the available instance types.
|
|
14813
15048
|
*/
|
|
14814
15049
|
instancePatternInfos?: ModifyScalingConfigurationShrinkRequestInstancePatternInfos[];
|
|
14815
15050
|
/**
|
|
@@ -14835,13 +15070,22 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14835
15070
|
* PayByBandwidth
|
|
14836
15071
|
*/
|
|
14837
15072
|
internetChargeType?: string;
|
|
15073
|
+
/**
|
|
15074
|
+
* @remarks
|
|
15075
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
15076
|
+
*
|
|
15077
|
+
* * If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10. The default value is 10.
|
|
15078
|
+
* * If the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `InternetMaxBandwidthOut`. The default value is the value of `InternetMaxBandwidthOut`.
|
|
15079
|
+
*
|
|
15080
|
+
* @example
|
|
15081
|
+
* 10
|
|
15082
|
+
*/
|
|
14838
15083
|
internetMaxBandwidthIn?: number;
|
|
14839
15084
|
/**
|
|
14840
15085
|
* @remarks
|
|
14841
|
-
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
15086
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
14842
15087
|
*
|
|
14843
|
-
*
|
|
14844
|
-
* * If you set InternetChargeType to PayByTraffic: 0 to 100. If you leave this parameter empty, an error is returned.
|
|
15088
|
+
* Default value: 0.
|
|
14845
15089
|
*
|
|
14846
15090
|
* @example
|
|
14847
15091
|
* 50
|
|
@@ -14904,7 +15148,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14904
15148
|
networkInterfaces?: ModifyScalingConfigurationShrinkRequestNetworkInterfaces[];
|
|
14905
15149
|
/**
|
|
14906
15150
|
* @remarks
|
|
14907
|
-
* Specifies whether to
|
|
15151
|
+
* Specifies whether to overwrite existing data. Valid values:
|
|
14908
15152
|
*
|
|
14909
15153
|
* * true
|
|
14910
15154
|
* * false
|
|
@@ -15313,6 +15557,10 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
15313
15557
|
* false
|
|
15314
15558
|
*/
|
|
15315
15559
|
azBalance?: boolean;
|
|
15560
|
+
/**
|
|
15561
|
+
* @remarks
|
|
15562
|
+
* The capacity options.
|
|
15563
|
+
*/
|
|
15316
15564
|
capacityOptions?: ModifyScalingGroupRequestCapacityOptions;
|
|
15317
15565
|
/**
|
|
15318
15566
|
* @remarks
|
|
@@ -16146,6 +16394,7 @@ export class ModifyScheduledTaskRequest extends $tea.Model {
|
|
|
16146
16394
|
* 2
|
|
16147
16395
|
*/
|
|
16148
16396
|
recurrenceValue?: string;
|
|
16397
|
+
regionId?: string;
|
|
16149
16398
|
resourceOwnerAccount?: string;
|
|
16150
16399
|
resourceOwnerId?: number;
|
|
16151
16400
|
/**
|
|
@@ -16212,6 +16461,7 @@ export class ModifyScheduledTaskRequest extends $tea.Model {
|
|
|
16212
16461
|
recurrenceEndTime: 'RecurrenceEndTime',
|
|
16213
16462
|
recurrenceType: 'RecurrenceType',
|
|
16214
16463
|
recurrenceValue: 'RecurrenceValue',
|
|
16464
|
+
regionId: 'RegionId',
|
|
16215
16465
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
16216
16466
|
resourceOwnerId: 'ResourceOwnerId',
|
|
16217
16467
|
scalingGroupId: 'ScalingGroupId',
|
|
@@ -16235,6 +16485,7 @@ export class ModifyScheduledTaskRequest extends $tea.Model {
|
|
|
16235
16485
|
recurrenceEndTime: 'string',
|
|
16236
16486
|
recurrenceType: 'string',
|
|
16237
16487
|
recurrenceValue: 'string',
|
|
16488
|
+
regionId: 'string',
|
|
16238
16489
|
resourceOwnerAccount: 'string',
|
|
16239
16490
|
resourceOwnerId: 'number',
|
|
16240
16491
|
scalingGroupId: 'string',
|
|
@@ -16426,9 +16677,9 @@ export class RecordLifecycleActionHeartbeatRequest extends $tea.Model {
|
|
|
16426
16677
|
resourceOwnerAccount?: string;
|
|
16427
16678
|
/**
|
|
16428
16679
|
* @remarks
|
|
16429
|
-
* The time window during which the
|
|
16680
|
+
* The time window during which the ECS instance stays in a Pending state. When the time window ends, Auto Scaling executes the default action. Valid values: 30 to 21600. Unit: seconds.
|
|
16430
16681
|
*
|
|
16431
|
-
* After you create a lifecycle hook, you can call this operation to extend the time window during which the
|
|
16682
|
+
* After you create a lifecycle hook, you can call this operation to extend the time window during which the ECS instance stays in a Pending state. You can also call the [CompleteLifecycleAction](https://help.aliyun.com/document_detail/459335.html) operation to remove the ECS instance from the Pending state ahead of schedule.
|
|
16432
16683
|
*
|
|
16433
16684
|
* Default value: 600.
|
|
16434
16685
|
*
|
|
@@ -16438,9 +16689,11 @@ export class RecordLifecycleActionHeartbeatRequest extends $tea.Model {
|
|
|
16438
16689
|
heartbeatTimeout?: number;
|
|
16439
16690
|
/**
|
|
16440
16691
|
* @remarks
|
|
16441
|
-
* The action token of the lifecycle hook. You can obtain the token from the details page of the Message
|
|
16442
|
-
*
|
|
16443
|
-
*
|
|
16692
|
+
* The action token of the lifecycle hook. You can obtain the token from the details page of the Simple Message Queue (SMQ, formerly MNS) queue specified for the lifecycle hook.
|
|
16693
|
+
*
|
|
16694
|
+
* You can also call the [DescribeLifecycleActions](https://help.aliyun.com/document_detail/459333.html) operation to obtain the action token of the lifecycle hook.
|
|
16695
|
+
*
|
|
16696
|
+
* If you specified an SMQ topic for the lifecycle hook, you can obtain the token from the MNS topic.
|
|
16444
16697
|
*
|
|
16445
16698
|
* This parameter is required.
|
|
16446
16699
|
*
|
|
@@ -16629,15 +16882,17 @@ export class RemoveInstancesRequest extends $tea.Model {
|
|
|
16629
16882
|
scalingGroupId?: string;
|
|
16630
16883
|
/**
|
|
16631
16884
|
* @remarks
|
|
16632
|
-
* The period of time
|
|
16885
|
+
* The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
16633
16886
|
*
|
|
16634
16887
|
* >
|
|
16635
16888
|
*
|
|
16636
16889
|
* * By default, this parameter inherits the value of StopInstanceTimeout specified in the CreateScalingGroup or ModifyScalingGroup operation. You can also specify a different value for this parameter in the RemoveInstances operation.
|
|
16637
16890
|
*
|
|
16638
|
-
* * This parameter takes effect only if you set RemovePolicy to release
|
|
16639
|
-
*
|
|
16640
|
-
*
|
|
16891
|
+
* * This parameter takes effect only if you set RemovePolicy to release.
|
|
16892
|
+
*
|
|
16893
|
+
* * If you specify this parameter, the system waits for the ECS instance to enter the Stopped state only for up to the specified period of time before continuing with the scale-in operation, regardless of the status of the ECS instance.
|
|
16894
|
+
*
|
|
16895
|
+
* * If you do not specify this parameter, the system continues with the scale-in operation until the ECS instance enters the Stopped state. If the ECS instance is not successfully stopped, the scale-in process is rolled back and considered failed.
|
|
16641
16896
|
*
|
|
16642
16897
|
* @example
|
|
16643
16898
|
* 60
|
|
@@ -17156,10 +17411,10 @@ export class ScaleWithAdjustmentRequest extends $tea.Model {
|
|
|
17156
17411
|
* @remarks
|
|
17157
17412
|
* Specifies whether to trigger the scaling activity in a synchronous manner. This parameter takes effect only on scaling groups for which you specified an expected number of instances. Valid values:
|
|
17158
17413
|
*
|
|
17159
|
-
* * true: triggers the scaling activity in a synchronous manner.
|
|
17160
|
-
* * false: does not trigger the scaling activity in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number
|
|
17414
|
+
* * true: triggers the scaling activity in a synchronous manner. A scaling activity is triggered at the time when the scaling rule is executed.
|
|
17415
|
+
* * false: does not trigger the scaling activity in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number and determines whether to trigger the scaling activity based on the check result.
|
|
17161
17416
|
*
|
|
17162
|
-
* >
|
|
17417
|
+
* > For more information about the expected number of instances feature, see [Expected number of instances](https://help.aliyun.com/document_detail/146231.html).
|
|
17163
17418
|
*
|
|
17164
17419
|
* Default value: false.
|
|
17165
17420
|
*
|
|
@@ -17283,10 +17538,10 @@ export class ScaleWithAdjustmentShrinkRequest extends $tea.Model {
|
|
|
17283
17538
|
* @remarks
|
|
17284
17539
|
* Specifies whether to trigger the scaling activity in a synchronous manner. This parameter takes effect only on scaling groups for which you specified an expected number of instances. Valid values:
|
|
17285
17540
|
*
|
|
17286
|
-
* * true: triggers the scaling activity in a synchronous manner.
|
|
17287
|
-
* * false: does not trigger the scaling activity in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number
|
|
17541
|
+
* * true: triggers the scaling activity in a synchronous manner. A scaling activity is triggered at the time when the scaling rule is executed.
|
|
17542
|
+
* * false: does not trigger the scaling activity in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number and determines whether to trigger the scaling activity based on the check result.
|
|
17288
17543
|
*
|
|
17289
|
-
* >
|
|
17544
|
+
* > For more information about the expected number of instances feature, see [Expected number of instances](https://help.aliyun.com/document_detail/146231.html).
|
|
17290
17545
|
*
|
|
17291
17546
|
* Default value: false.
|
|
17292
17547
|
*
|
|
@@ -17730,7 +17985,7 @@ export class SetInstancesProtectionResponse extends $tea.Model {
|
|
|
17730
17985
|
export class StartInstanceRefreshRequest extends $tea.Model {
|
|
17731
17986
|
/**
|
|
17732
17987
|
* @remarks
|
|
17733
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see
|
|
17988
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [Ensure idempotence](https://help.aliyun.com/document_detail/25965.html).
|
|
17734
17989
|
*
|
|
17735
17990
|
* @example
|
|
17736
17991
|
* 123e4567-e89b-12d3-a456-42665544****
|
|
@@ -18003,13 +18258,13 @@ export class SuspendProcessesRequest extends $tea.Model {
|
|
|
18003
18258
|
ownerId?: number;
|
|
18004
18259
|
/**
|
|
18005
18260
|
* @remarks
|
|
18006
|
-
* The types of
|
|
18261
|
+
* The types of processes that you want to suspend. Valid values:
|
|
18007
18262
|
*
|
|
18008
|
-
* *
|
|
18009
|
-
* *
|
|
18010
|
-
* *
|
|
18011
|
-
* *
|
|
18012
|
-
* *
|
|
18263
|
+
* * ScaleIn: the scale-in process.
|
|
18264
|
+
* * ScaleOut: the scale-out process.
|
|
18265
|
+
* * HealthCheck: the health check process.
|
|
18266
|
+
* * AlarmNotification: the process of executing an event-triggered task.
|
|
18267
|
+
* * ScheduledAction: the process of executing a scheduled task.
|
|
18013
18268
|
*
|
|
18014
18269
|
* Presently, Auto Scaling supports suspending the five mentioned process types. In cases where more than five types are specified, Auto Scaling will automatically disregard duplicates and proceed with suspending the unique process types.
|
|
18015
18270
|
*
|
|
@@ -18145,7 +18400,7 @@ export class TagResourcesRequest extends $tea.Model {
|
|
|
18145
18400
|
resourceType?: string;
|
|
18146
18401
|
/**
|
|
18147
18402
|
* @remarks
|
|
18148
|
-
*
|
|
18403
|
+
* The tags that you want to add to the Auto Scaling resources.
|
|
18149
18404
|
*
|
|
18150
18405
|
* This parameter is required.
|
|
18151
18406
|
*/
|
|
@@ -20999,22 +21254,21 @@ export class CreateScalingConfigurationRequestDataDisks extends $tea.Model {
|
|
|
20999
21254
|
export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
21000
21255
|
/**
|
|
21001
21256
|
* @remarks
|
|
21002
|
-
* The architecture types of instance types. Valid values:
|
|
21257
|
+
* The architecture types of the instance types. Valid values:
|
|
21003
21258
|
*
|
|
21004
|
-
* * X86: x86.
|
|
21259
|
+
* * X86: x86 architecture.
|
|
21005
21260
|
* * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
|
|
21006
21261
|
* * BareMetal: ECS Bare Metal Instance.
|
|
21007
21262
|
* * Arm: Arm.
|
|
21008
|
-
* * SuperComputeCluster: Super Computing Cluster.
|
|
21009
21263
|
*
|
|
21010
|
-
* By default, all values are
|
|
21264
|
+
* By default, all values are selected.
|
|
21011
21265
|
*/
|
|
21012
21266
|
architectures?: string[];
|
|
21013
21267
|
/**
|
|
21014
21268
|
* @remarks
|
|
21015
21269
|
* Specifies whether to include burstable instance types. Valid values:
|
|
21016
21270
|
*
|
|
21017
|
-
* * Exclude:
|
|
21271
|
+
* * Exclude: excludes burstable instance types.
|
|
21018
21272
|
* * Include: includes burstable instance types.
|
|
21019
21273
|
* * Required: includes only burstable instance types.
|
|
21020
21274
|
*
|
|
@@ -21026,11 +21280,11 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
21026
21280
|
burstablePerformance?: string;
|
|
21027
21281
|
/**
|
|
21028
21282
|
* @remarks
|
|
21029
|
-
* The number of vCPUs per instance type in intelligent configuration mode. You can
|
|
21283
|
+
* The number of vCPUs per instance type in intelligent configuration mode. You can specify this parameter to filter the available instance types. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
21030
21284
|
*
|
|
21031
21285
|
* Take note of the following items:
|
|
21032
21286
|
*
|
|
21033
|
-
* * InstancePatternInfos applies only to
|
|
21287
|
+
* * InstancePatternInfos applies only to scaling groups that reside in virtual private clouds (VPCs).
|
|
21034
21288
|
* * If you specify InstancePatternInfos, you must also specify InstancePatternInfos.Cores and InstancePatternInfos.Memory.
|
|
21035
21289
|
* * If you specify InstanceType or InstanceTypes, Auto Scaling preferentially uses the instance type specified by InstanceType or InstanceTypes to create instances during scale-out events. If the specified instance type has insufficient inventory, Auto Scaling uses the lowest-priced instance type specified by InstancePatternInfos to create instances during scale-out events.
|
|
21036
21290
|
*
|
|
@@ -21040,9 +21294,9 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
21040
21294
|
cores?: number;
|
|
21041
21295
|
/**
|
|
21042
21296
|
* @remarks
|
|
21043
|
-
* The CPU architectures of instance types. Valid values:
|
|
21297
|
+
* The CPU architectures of the instance types. Valid values:
|
|
21044
21298
|
*
|
|
21045
|
-
* > You can specify
|
|
21299
|
+
* > You can specify up to two CPU architectures.
|
|
21046
21300
|
*
|
|
21047
21301
|
* * x86
|
|
21048
21302
|
* * Arm
|
|
@@ -21050,7 +21304,7 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
21050
21304
|
cpuArchitectures?: string[];
|
|
21051
21305
|
/**
|
|
21052
21306
|
* @remarks
|
|
21053
|
-
* The instance types that you want to exclude. You can use
|
|
21307
|
+
* The instance types that you want to exclude. You can use an asterisk (\\*) as a wildcard character to exclude an instance type or an instance family. Examples:
|
|
21054
21308
|
*
|
|
21055
21309
|
* * ecs.c6.large: excludes the ecs.c6.large instance type.
|
|
21056
21310
|
* * ecs.c6.\\*: excludes the c6 instance family.
|
|
@@ -21063,35 +21317,34 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
21063
21317
|
gpuSpecs?: string[];
|
|
21064
21318
|
/**
|
|
21065
21319
|
* @remarks
|
|
21066
|
-
* The categories of instance types. Valid values:
|
|
21320
|
+
* The categories of the instance types. Valid values:
|
|
21067
21321
|
*
|
|
21068
21322
|
* > You can specify up to 10 categories.
|
|
21069
21323
|
*
|
|
21070
|
-
* * General-purpose
|
|
21071
|
-
* * Compute-optimized
|
|
21072
|
-
* * Memory-optimized
|
|
21073
|
-
* * Big data
|
|
21074
|
-
* * Local SSDs
|
|
21075
|
-
* * High Clock Speed
|
|
21076
|
-
* * Enhanced
|
|
21077
|
-
* * Shared
|
|
21078
|
-
* * Compute-optimized with GPU
|
|
21079
|
-
* * Visual Compute-optimized
|
|
21080
|
-
* * Heterogeneous Service
|
|
21081
|
-
* * Compute-optimized with FPGA
|
|
21082
|
-
* * Compute-optimized with NPU
|
|
21083
|
-
* * ECS Bare Metal
|
|
21084
|
-
* *
|
|
21085
|
-
* * High Performance Compute
|
|
21324
|
+
* * General-purpose: general-purpose instance type.
|
|
21325
|
+
* * Compute-optimized: compute-optimized instance type.
|
|
21326
|
+
* * Memory-optimized: memory-optimized instance type.
|
|
21327
|
+
* * Big data: big data instance type.
|
|
21328
|
+
* * Local SSDs: instance type that uses local SSDs.
|
|
21329
|
+
* * High Clock Speed: instance type that has high clock speeds.
|
|
21330
|
+
* * Enhanced: enhanced instance type.
|
|
21331
|
+
* * Shared: shared instance type.
|
|
21332
|
+
* * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
|
|
21333
|
+
* * Visual Compute-optimized: visual compute-optimized instance type.
|
|
21334
|
+
* * Heterogeneous Service: heterogeneous service instance type.
|
|
21335
|
+
* * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
|
|
21336
|
+
* * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
|
|
21337
|
+
* * ECS Bare Metal: ECS Bare Metal Instance type.
|
|
21338
|
+
* * High Performance Compute: HPC-optimized instance type.
|
|
21086
21339
|
*/
|
|
21087
21340
|
instanceCategories?: string[];
|
|
21088
21341
|
/**
|
|
21089
21342
|
* @remarks
|
|
21090
|
-
* The level of the instance family. You can
|
|
21343
|
+
* The level of the instance family. You can specify this parameter to match the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
|
|
21091
21344
|
*
|
|
21092
|
-
* * EntryLevel: entry
|
|
21093
|
-
* * EnterpriseLevel: enterprise
|
|
21094
|
-
* * CreditEntryLevel: credit
|
|
21345
|
+
* * EntryLevel: entry-level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
21346
|
+
* * EnterpriseLevel: enterprise-level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
21347
|
+
* * CreditEntryLevel: credit entry-level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview](https://help.aliyun.com/document_detail/59977.html) of burstable instances.
|
|
21095
21348
|
*
|
|
21096
21349
|
* @example
|
|
21097
21350
|
* EnterpriseLevel
|
|
@@ -21140,7 +21393,7 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
21140
21393
|
maximumMemorySize?: number;
|
|
21141
21394
|
/**
|
|
21142
21395
|
* @remarks
|
|
21143
|
-
* The memory size per instance type in intelligent configuration mode. Unit: GiB. You can
|
|
21396
|
+
* The memory size per instance type in intelligent configuration mode. Unit: GiB. You can specify this parameter to filter the available instance types.
|
|
21144
21397
|
*
|
|
21145
21398
|
* @example
|
|
21146
21399
|
* 4
|
|
@@ -21212,7 +21465,7 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
21212
21465
|
minimumMemorySize?: number;
|
|
21213
21466
|
/**
|
|
21214
21467
|
* @remarks
|
|
21215
|
-
* The processor models of instance types. You can specify up to 10 processor models.
|
|
21468
|
+
* The processor models of the instance types. You can specify up to 10 processor models.
|
|
21216
21469
|
*/
|
|
21217
21470
|
physicalProcessorModels?: string[];
|
|
21218
21471
|
static names(): { [key: string]: string } {
|
|
@@ -21932,22 +22185,21 @@ export class CreateScalingConfigurationShrinkRequestDataDisks extends $tea.Model
|
|
|
21932
22185
|
export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.Model {
|
|
21933
22186
|
/**
|
|
21934
22187
|
* @remarks
|
|
21935
|
-
* The architecture types of instance types. Valid values:
|
|
22188
|
+
* The architecture types of the instance types. Valid values:
|
|
21936
22189
|
*
|
|
21937
|
-
* * X86: x86.
|
|
22190
|
+
* * X86: x86 architecture.
|
|
21938
22191
|
* * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
|
|
21939
22192
|
* * BareMetal: ECS Bare Metal Instance.
|
|
21940
22193
|
* * Arm: Arm.
|
|
21941
|
-
* * SuperComputeCluster: Super Computing Cluster.
|
|
21942
22194
|
*
|
|
21943
|
-
* By default, all values are
|
|
22195
|
+
* By default, all values are selected.
|
|
21944
22196
|
*/
|
|
21945
22197
|
architectures?: string[];
|
|
21946
22198
|
/**
|
|
21947
22199
|
* @remarks
|
|
21948
22200
|
* Specifies whether to include burstable instance types. Valid values:
|
|
21949
22201
|
*
|
|
21950
|
-
* * Exclude:
|
|
22202
|
+
* * Exclude: excludes burstable instance types.
|
|
21951
22203
|
* * Include: includes burstable instance types.
|
|
21952
22204
|
* * Required: includes only burstable instance types.
|
|
21953
22205
|
*
|
|
@@ -21959,11 +22211,11 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
21959
22211
|
burstablePerformance?: string;
|
|
21960
22212
|
/**
|
|
21961
22213
|
* @remarks
|
|
21962
|
-
* The number of vCPUs per instance type in intelligent configuration mode. You can
|
|
22214
|
+
* The number of vCPUs per instance type in intelligent configuration mode. You can specify this parameter to filter the available instance types. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
21963
22215
|
*
|
|
21964
22216
|
* Take note of the following items:
|
|
21965
22217
|
*
|
|
21966
|
-
* * InstancePatternInfos applies only to
|
|
22218
|
+
* * InstancePatternInfos applies only to scaling groups that reside in virtual private clouds (VPCs).
|
|
21967
22219
|
* * If you specify InstancePatternInfos, you must also specify InstancePatternInfos.Cores and InstancePatternInfos.Memory.
|
|
21968
22220
|
* * If you specify InstanceType or InstanceTypes, Auto Scaling preferentially uses the instance type specified by InstanceType or InstanceTypes to create instances during scale-out events. If the specified instance type has insufficient inventory, Auto Scaling uses the lowest-priced instance type specified by InstancePatternInfos to create instances during scale-out events.
|
|
21969
22221
|
*
|
|
@@ -21973,9 +22225,9 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
21973
22225
|
cores?: number;
|
|
21974
22226
|
/**
|
|
21975
22227
|
* @remarks
|
|
21976
|
-
* The CPU architectures of instance types. Valid values:
|
|
22228
|
+
* The CPU architectures of the instance types. Valid values:
|
|
21977
22229
|
*
|
|
21978
|
-
* > You can specify
|
|
22230
|
+
* > You can specify up to two CPU architectures.
|
|
21979
22231
|
*
|
|
21980
22232
|
* * x86
|
|
21981
22233
|
* * Arm
|
|
@@ -21983,7 +22235,7 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
21983
22235
|
cpuArchitectures?: string[];
|
|
21984
22236
|
/**
|
|
21985
22237
|
* @remarks
|
|
21986
|
-
* The instance types that you want to exclude. You can use
|
|
22238
|
+
* The instance types that you want to exclude. You can use an asterisk (\\*) as a wildcard character to exclude an instance type or an instance family. Examples:
|
|
21987
22239
|
*
|
|
21988
22240
|
* * ecs.c6.large: excludes the ecs.c6.large instance type.
|
|
21989
22241
|
* * ecs.c6.\\*: excludes the c6 instance family.
|
|
@@ -21996,35 +22248,34 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
21996
22248
|
gpuSpecs?: string[];
|
|
21997
22249
|
/**
|
|
21998
22250
|
* @remarks
|
|
21999
|
-
* The categories of instance types. Valid values:
|
|
22251
|
+
* The categories of the instance types. Valid values:
|
|
22000
22252
|
*
|
|
22001
22253
|
* > You can specify up to 10 categories.
|
|
22002
22254
|
*
|
|
22003
|
-
* * General-purpose
|
|
22004
|
-
* * Compute-optimized
|
|
22005
|
-
* * Memory-optimized
|
|
22006
|
-
* * Big data
|
|
22007
|
-
* * Local SSDs
|
|
22008
|
-
* * High Clock Speed
|
|
22009
|
-
* * Enhanced
|
|
22010
|
-
* * Shared
|
|
22011
|
-
* * Compute-optimized with GPU
|
|
22012
|
-
* * Visual Compute-optimized
|
|
22013
|
-
* * Heterogeneous Service
|
|
22014
|
-
* * Compute-optimized with FPGA
|
|
22015
|
-
* * Compute-optimized with NPU
|
|
22016
|
-
* * ECS Bare Metal
|
|
22017
|
-
* *
|
|
22018
|
-
* * High Performance Compute
|
|
22255
|
+
* * General-purpose: general-purpose instance type.
|
|
22256
|
+
* * Compute-optimized: compute-optimized instance type.
|
|
22257
|
+
* * Memory-optimized: memory-optimized instance type.
|
|
22258
|
+
* * Big data: big data instance type.
|
|
22259
|
+
* * Local SSDs: instance type that uses local SSDs.
|
|
22260
|
+
* * High Clock Speed: instance type that has high clock speeds.
|
|
22261
|
+
* * Enhanced: enhanced instance type.
|
|
22262
|
+
* * Shared: shared instance type.
|
|
22263
|
+
* * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
|
|
22264
|
+
* * Visual Compute-optimized: visual compute-optimized instance type.
|
|
22265
|
+
* * Heterogeneous Service: heterogeneous service instance type.
|
|
22266
|
+
* * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
|
|
22267
|
+
* * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
|
|
22268
|
+
* * ECS Bare Metal: ECS Bare Metal Instance type.
|
|
22269
|
+
* * High Performance Compute: HPC-optimized instance type.
|
|
22019
22270
|
*/
|
|
22020
22271
|
instanceCategories?: string[];
|
|
22021
22272
|
/**
|
|
22022
22273
|
* @remarks
|
|
22023
|
-
* The level of the instance family. You can
|
|
22274
|
+
* The level of the instance family. You can specify this parameter to match the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
|
|
22024
22275
|
*
|
|
22025
|
-
* * EntryLevel: entry
|
|
22026
|
-
* * EnterpriseLevel: enterprise
|
|
22027
|
-
* * CreditEntryLevel: credit
|
|
22276
|
+
* * EntryLevel: entry-level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
22277
|
+
* * EnterpriseLevel: enterprise-level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
22278
|
+
* * CreditEntryLevel: credit entry-level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview](https://help.aliyun.com/document_detail/59977.html) of burstable instances.
|
|
22028
22279
|
*
|
|
22029
22280
|
* @example
|
|
22030
22281
|
* EnterpriseLevel
|
|
@@ -22073,7 +22324,7 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
22073
22324
|
maximumMemorySize?: number;
|
|
22074
22325
|
/**
|
|
22075
22326
|
* @remarks
|
|
22076
|
-
* The memory size per instance type in intelligent configuration mode. Unit: GiB. You can
|
|
22327
|
+
* The memory size per instance type in intelligent configuration mode. Unit: GiB. You can specify this parameter to filter the available instance types.
|
|
22077
22328
|
*
|
|
22078
22329
|
* @example
|
|
22079
22330
|
* 4
|
|
@@ -22145,7 +22396,7 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
22145
22396
|
minimumMemorySize?: number;
|
|
22146
22397
|
/**
|
|
22147
22398
|
* @remarks
|
|
22148
|
-
* The processor models of instance types. You can specify up to 10 processor models.
|
|
22399
|
+
* The processor models of the instance types. You can specify up to 10 processor models.
|
|
22149
22400
|
*/
|
|
22150
22401
|
physicalProcessorModels?: string[];
|
|
22151
22402
|
static names(): { [key: string]: string } {
|
|
@@ -22421,9 +22672,51 @@ export class CreateScalingGroupRequestAlbServerGroups extends $tea.Model {
|
|
|
22421
22672
|
}
|
|
22422
22673
|
|
|
22423
22674
|
export class CreateScalingGroupRequestCapacityOptions extends $tea.Model {
|
|
22675
|
+
/**
|
|
22676
|
+
* @remarks
|
|
22677
|
+
* Specifies whether to automatically create pay-as-you-go ECS instances to reach the required number of ECS instances when preemptible ECS instances cannot be created due to high prices or insufficient inventory of resources. This parameter takes effect when you set `MultiAZPolicy` to `COST_OPTIMIZED`. Valid values:
|
|
22678
|
+
*
|
|
22679
|
+
* * true
|
|
22680
|
+
* * false
|
|
22681
|
+
*
|
|
22682
|
+
* Default value: true.
|
|
22683
|
+
*
|
|
22684
|
+
* @example
|
|
22685
|
+
* true
|
|
22686
|
+
*/
|
|
22424
22687
|
compensateWithOnDemand?: boolean;
|
|
22688
|
+
/**
|
|
22689
|
+
* @remarks
|
|
22690
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. When the number of pay-as-you-go instances drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
|
|
22691
|
+
*
|
|
22692
|
+
* If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 0.
|
|
22693
|
+
*
|
|
22694
|
+
* @example
|
|
22695
|
+
* 30
|
|
22696
|
+
*/
|
|
22425
22697
|
onDemandBaseCapacity?: number;
|
|
22698
|
+
/**
|
|
22699
|
+
* @remarks
|
|
22700
|
+
* The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. `OnDemandBaseCapacity` specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100.
|
|
22701
|
+
*
|
|
22702
|
+
* If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 100.
|
|
22703
|
+
*
|
|
22704
|
+
* @example
|
|
22705
|
+
* 20
|
|
22706
|
+
*/
|
|
22426
22707
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
22708
|
+
/**
|
|
22709
|
+
* @remarks
|
|
22710
|
+
* Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify `CompensateWithOnDemand`, it may result in a higher percentage of pay-as-you-go instances compared to the value of `OnDemandPercentageAboveBaseCapacity`. In this scenario, Auto Scaling will try to deploy preemptible instances to replace the surplus pay-as-you-go instances. When `CompensateWithOnDemand` is specified, Auto Scaling creates pay-as-you-go instances if there are not enough preemptible instance types. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:
|
|
22711
|
+
*
|
|
22712
|
+
* * true
|
|
22713
|
+
* * false
|
|
22714
|
+
*
|
|
22715
|
+
* Default value: false.
|
|
22716
|
+
*
|
|
22717
|
+
* @example
|
|
22718
|
+
* false
|
|
22719
|
+
*/
|
|
22427
22720
|
spotAutoReplaceOnDemand?: boolean;
|
|
22428
22721
|
static names(): { [key: string]: string } {
|
|
22429
22722
|
return {
|
|
@@ -22773,7 +23066,7 @@ export class CreateScalingGroupRequestServerGroups extends $tea.Model {
|
|
|
22773
23066
|
export class CreateScalingGroupRequestTags extends $tea.Model {
|
|
22774
23067
|
/**
|
|
22775
23068
|
* @remarks
|
|
22776
|
-
* The tag key
|
|
23069
|
+
* The tag key.
|
|
22777
23070
|
*
|
|
22778
23071
|
* @example
|
|
22779
23072
|
* Department
|
|
@@ -22781,10 +23074,10 @@ export class CreateScalingGroupRequestTags extends $tea.Model {
|
|
|
22781
23074
|
key?: string;
|
|
22782
23075
|
/**
|
|
22783
23076
|
* @remarks
|
|
22784
|
-
* Specifies whether to propagate the tag that you want to add
|
|
23077
|
+
* Specifies whether to propagate the tag that you want to add. Valid values:
|
|
22785
23078
|
*
|
|
22786
|
-
* * true: propagates the tag to
|
|
22787
|
-
* * false: does not propagate the tag to any
|
|
23079
|
+
* * true: propagates the tag to new instances.
|
|
23080
|
+
* * false: does not propagate the tag to any instance.
|
|
22788
23081
|
*
|
|
22789
23082
|
* Default value: false.
|
|
22790
23083
|
*
|
|
@@ -22794,7 +23087,7 @@ export class CreateScalingGroupRequestTags extends $tea.Model {
|
|
|
22794
23087
|
propagate?: boolean;
|
|
22795
23088
|
/**
|
|
22796
23089
|
* @remarks
|
|
22797
|
-
* The tag value
|
|
23090
|
+
* The tag value.
|
|
22798
23091
|
*
|
|
22799
23092
|
* @example
|
|
22800
23093
|
* Finance
|
|
@@ -23512,21 +23805,57 @@ export class DescribeAlarmsResponseBodyAlarmList extends $tea.Model {
|
|
|
23512
23805
|
|
|
23513
23806
|
export class DescribeDiagnoseReportsResponseBodyReportsDetails extends $tea.Model {
|
|
23514
23807
|
/**
|
|
23808
|
+
* @remarks
|
|
23809
|
+
* The type of the diagnostic item. Valid values:
|
|
23810
|
+
*
|
|
23811
|
+
* * AccountArrearage: Checks whether your Alibaba Cloud account has overdue payments.
|
|
23812
|
+
* * AccountNotEnoughBalance: Checks whether the balance of your Alibaba Cloud account at the China site (aliyun.com) is greater than or equal to CNY 100.
|
|
23813
|
+
* * ElasticStrength: Checks whether the instance types that are specified in the scaling configuration are sufficient.
|
|
23814
|
+
* * VSwitch: Checks whether a specific vSwitch can work as expected. For example, if a vSwitch is deleted, the vSwitch cannot provide services and an exception occurs.
|
|
23815
|
+
* * SecurityGroup: Checks whether a specific security group can work as expected. For example, if a security group is deleted, the security group cannot provide services and an exception occurs.
|
|
23816
|
+
* * KeyPair: Checks whether the key pair is available. If the specified key pair is deleted, specify another key pair for the scaling group.
|
|
23817
|
+
* * SlbBackendServerQuota: Checks whether the number of ECS instances that are added to the default server group and the vServer groups of the SLB instances associated with the scaling group has reached the upper limit.
|
|
23818
|
+
* * AlbBackendServerQuota: Checks whether the number of ECS instances that are added to the backend server groups of the ALB instances associated with the scaling group has reached the upper limit.
|
|
23819
|
+
* * NlbBackendServerQuota: Checks whether the number of ECS instances that are added to the backend server groups of the NLB instances associated with the scaling group has reached the upper limit.
|
|
23820
|
+
*
|
|
23515
23821
|
* @example
|
|
23516
23822
|
* AccountArrearage
|
|
23517
23823
|
*/
|
|
23518
23824
|
diagnoseType?: string;
|
|
23519
23825
|
/**
|
|
23826
|
+
* @remarks
|
|
23827
|
+
* The error code of the diagnostic item. Valid values:
|
|
23828
|
+
*
|
|
23829
|
+
* * VSwitchIdNotFound: The vSwitch does not exist.
|
|
23830
|
+
* * SecurityGroupNotFound: The security group does not exist.
|
|
23831
|
+
* * KeyPairNotFound: The key pair does not exist.
|
|
23832
|
+
* * SlbBackendServerQuotaExceeded: The number of ECS instances that are added to the default server group and the vServer groups of the SLB instances associated with the scaling group has reached the upper limit.
|
|
23833
|
+
* * AlbBackendServerQuotaExceeded: The number of ECS instances that are attached to the ALB instances of the scaling group has reached the upper limit.
|
|
23834
|
+
* * NlbBackendServerQuotaExceeded: The number of ECS instances that are attached to the NLB instances of the scaling group has reached the upper limit.
|
|
23835
|
+
* * AccountArrearage: Your account has overdue payments.
|
|
23836
|
+
* * AccountNotEnoughBalance: The balance of your Alibaba Cloud account is less than CNY 100.
|
|
23837
|
+
* * ElasticStrengthAlert: The inventory levels are lower than expected.
|
|
23838
|
+
*
|
|
23520
23839
|
* @example
|
|
23521
23840
|
* VSwitchIdNotFound
|
|
23522
23841
|
*/
|
|
23523
23842
|
errorCode?: string;
|
|
23524
23843
|
/**
|
|
23844
|
+
* @remarks
|
|
23845
|
+
* The ID of the resource.
|
|
23846
|
+
*
|
|
23525
23847
|
* @example
|
|
23526
23848
|
* sg-280ih****
|
|
23527
23849
|
*/
|
|
23528
23850
|
resourceId?: string;
|
|
23529
23851
|
/**
|
|
23852
|
+
* @remarks
|
|
23853
|
+
* The status of the diagnostic item. Valid values:
|
|
23854
|
+
*
|
|
23855
|
+
* * Normal: The diagnostic result is normal.
|
|
23856
|
+
* * Warn: The diagnostic result is warning.
|
|
23857
|
+
* * Critical: The diagnostic result is critical.
|
|
23858
|
+
*
|
|
23530
23859
|
* @example
|
|
23531
23860
|
* Normal
|
|
23532
23861
|
*/
|
|
@@ -23556,37 +23885,69 @@ export class DescribeDiagnoseReportsResponseBodyReportsDetails extends $tea.Mode
|
|
|
23556
23885
|
|
|
23557
23886
|
export class DescribeDiagnoseReportsResponseBodyReports extends $tea.Model {
|
|
23558
23887
|
/**
|
|
23888
|
+
* @remarks
|
|
23889
|
+
* The time when the diagnostic report was created.
|
|
23890
|
+
*
|
|
23559
23891
|
* @example
|
|
23560
23892
|
* 2024-08-23T02:22:30Z
|
|
23561
23893
|
*/
|
|
23562
23894
|
creationTime?: string;
|
|
23895
|
+
/**
|
|
23896
|
+
* @remarks
|
|
23897
|
+
* The details of the diagnostic report.
|
|
23898
|
+
*/
|
|
23563
23899
|
details?: DescribeDiagnoseReportsResponseBodyReportsDetails[];
|
|
23564
23900
|
/**
|
|
23901
|
+
* @remarks
|
|
23902
|
+
* The status of the diagnostic item. Only the severe status is displayed in the diagnostic report. Valid values:
|
|
23903
|
+
*
|
|
23904
|
+
* * Normal: The diagnostic result is normal.
|
|
23905
|
+
* * Warn: The diagnostic result is warning.
|
|
23906
|
+
* * Critical: The diagnostic result is critical.
|
|
23907
|
+
*
|
|
23565
23908
|
* @example
|
|
23566
23909
|
* Normal
|
|
23567
23910
|
*/
|
|
23568
23911
|
diagnoseStatus?: string;
|
|
23569
23912
|
/**
|
|
23913
|
+
* @remarks
|
|
23914
|
+
* The status of the diagnostic report. Valid values:
|
|
23915
|
+
*
|
|
23916
|
+
* * processing: The diagnosis is in progress.
|
|
23917
|
+
* * Finished: The diagnosis is complete.
|
|
23918
|
+
*
|
|
23570
23919
|
* @example
|
|
23571
23920
|
* Finished
|
|
23572
23921
|
*/
|
|
23573
23922
|
processStatus?: string;
|
|
23574
23923
|
/**
|
|
23924
|
+
* @remarks
|
|
23925
|
+
* The ID of the region.
|
|
23926
|
+
*
|
|
23575
23927
|
* @example
|
|
23576
23928
|
* cn-qingdao
|
|
23577
23929
|
*/
|
|
23578
23930
|
regionId?: string;
|
|
23579
23931
|
/**
|
|
23932
|
+
* @remarks
|
|
23933
|
+
* The ID of the diagnostic report.
|
|
23934
|
+
*
|
|
23580
23935
|
* @example
|
|
23581
23936
|
* dr-bp14p0cjp7wvjob5l6hk
|
|
23582
23937
|
*/
|
|
23583
23938
|
reportId?: string;
|
|
23584
23939
|
/**
|
|
23940
|
+
* @remarks
|
|
23941
|
+
* The ID of the scaling group.
|
|
23942
|
+
*
|
|
23585
23943
|
* @example
|
|
23586
23944
|
* asg-bp124uve5iph3*****
|
|
23587
23945
|
*/
|
|
23588
23946
|
scalingGroupId?: string;
|
|
23589
23947
|
/**
|
|
23948
|
+
* @remarks
|
|
23949
|
+
* The user ID of the scaling group.
|
|
23950
|
+
*
|
|
23590
23951
|
* @example
|
|
23591
23952
|
* 161456884*******
|
|
23592
23953
|
*/
|
|
@@ -27325,6 +27686,13 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations e
|
|
|
27325
27686
|
* 20
|
|
27326
27687
|
*/
|
|
27327
27688
|
ephemeralStorage?: number;
|
|
27689
|
+
/**
|
|
27690
|
+
* @remarks
|
|
27691
|
+
* The version of the GPU driver.
|
|
27692
|
+
*
|
|
27693
|
+
* @example
|
|
27694
|
+
* tesla=470.82.01
|
|
27695
|
+
*/
|
|
27328
27696
|
gpuDriverVersion?: string;
|
|
27329
27697
|
/**
|
|
27330
27698
|
* @remarks
|
|
@@ -27666,6 +28034,34 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations e
|
|
|
27666
28034
|
}
|
|
27667
28035
|
}
|
|
27668
28036
|
|
|
28037
|
+
export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth extends $tea.Model {
|
|
28038
|
+
adequacyScore?: number;
|
|
28039
|
+
healthScore?: number;
|
|
28040
|
+
hotScore?: number;
|
|
28041
|
+
supplyScore?: number;
|
|
28042
|
+
static names(): { [key: string]: string } {
|
|
28043
|
+
return {
|
|
28044
|
+
adequacyScore: 'AdequacyScore',
|
|
28045
|
+
healthScore: 'HealthScore',
|
|
28046
|
+
hotScore: 'HotScore',
|
|
28047
|
+
supplyScore: 'SupplyScore',
|
|
28048
|
+
};
|
|
28049
|
+
}
|
|
28050
|
+
|
|
28051
|
+
static types(): { [key: string]: any } {
|
|
28052
|
+
return {
|
|
28053
|
+
adequacyScore: 'number',
|
|
28054
|
+
healthScore: 'number',
|
|
28055
|
+
hotScore: 'number',
|
|
28056
|
+
supplyScore: 'number',
|
|
28057
|
+
};
|
|
28058
|
+
}
|
|
28059
|
+
|
|
28060
|
+
constructor(map?: { [key: string]: any }) {
|
|
28061
|
+
super(map);
|
|
28062
|
+
}
|
|
28063
|
+
}
|
|
28064
|
+
|
|
27669
28065
|
export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools extends $tea.Model {
|
|
27670
28066
|
/**
|
|
27671
28067
|
* @remarks
|
|
@@ -27683,6 +28079,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
|
|
|
27683
28079
|
* ecs.r7.large
|
|
27684
28080
|
*/
|
|
27685
28081
|
instanceType?: string;
|
|
28082
|
+
inventoryHealth?: DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth;
|
|
27686
28083
|
/**
|
|
27687
28084
|
* @remarks
|
|
27688
28085
|
* The error message returned when the scaling strength is the weakest.
|
|
@@ -27691,6 +28088,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
|
|
|
27691
28088
|
* The instanceTypes or diskTypes are not supported.
|
|
27692
28089
|
*/
|
|
27693
28090
|
msg?: string;
|
|
28091
|
+
status?: string;
|
|
27694
28092
|
/**
|
|
27695
28093
|
* @remarks
|
|
27696
28094
|
* The scaling strength of the resource pool.
|
|
@@ -27716,7 +28114,9 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
|
|
|
27716
28114
|
return {
|
|
27717
28115
|
code: 'Code',
|
|
27718
28116
|
instanceType: 'InstanceType',
|
|
28117
|
+
inventoryHealth: 'InventoryHealth',
|
|
27719
28118
|
msg: 'Msg',
|
|
28119
|
+
status: 'Status',
|
|
27720
28120
|
strength: 'Strength',
|
|
27721
28121
|
vSwitchIds: 'VSwitchIds',
|
|
27722
28122
|
zoneId: 'ZoneId',
|
|
@@ -27727,7 +28127,9 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
|
|
|
27727
28127
|
return {
|
|
27728
28128
|
code: 'string',
|
|
27729
28129
|
instanceType: 'string',
|
|
28130
|
+
inventoryHealth: DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth,
|
|
27730
28131
|
msg: 'string',
|
|
28132
|
+
status: 'string',
|
|
27731
28133
|
strength: 'number',
|
|
27732
28134
|
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
27733
28135
|
zoneId: 'string',
|
|
@@ -27740,6 +28142,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoo
|
|
|
27740
28142
|
}
|
|
27741
28143
|
|
|
27742
28144
|
export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $tea.Model {
|
|
28145
|
+
elasticStrength?: string;
|
|
27743
28146
|
/**
|
|
27744
28147
|
* @remarks
|
|
27745
28148
|
* The resource pools.
|
|
@@ -27763,6 +28166,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $t
|
|
|
27763
28166
|
totalStrength?: number;
|
|
27764
28167
|
static names(): { [key: string]: string } {
|
|
27765
28168
|
return {
|
|
28169
|
+
elasticStrength: 'ElasticStrength',
|
|
27766
28170
|
resourcePools: 'ResourcePools',
|
|
27767
28171
|
scalingGroupId: 'ScalingGroupId',
|
|
27768
28172
|
totalStrength: 'TotalStrength',
|
|
@@ -27771,6 +28175,7 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $t
|
|
|
27771
28175
|
|
|
27772
28176
|
static types(): { [key: string]: any } {
|
|
27773
28177
|
return {
|
|
28178
|
+
elasticStrength: 'string',
|
|
27774
28179
|
resourcePools: { 'type': 'array', 'itemType': DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools },
|
|
27775
28180
|
scalingGroupId: 'string',
|
|
27776
28181
|
totalStrength: 'number',
|
|
@@ -28158,20 +28563,20 @@ export class DescribeLifecycleHooksResponseBodyLifecycleHooks extends $tea.Model
|
|
|
28158
28563
|
lifecycleTransition?: string;
|
|
28159
28564
|
/**
|
|
28160
28565
|
* @remarks
|
|
28161
|
-
* The ARN of the notification recipient when the lifecycle hook takes effect. The value of this parameter
|
|
28566
|
+
* The ARN of the notification recipient when the lifecycle hook takes effect. The value of this parameter must be in one of the following formats:
|
|
28162
28567
|
*
|
|
28163
|
-
* * If you
|
|
28164
|
-
* * If you
|
|
28165
|
-
* * If you
|
|
28166
|
-
* * If you
|
|
28167
|
-
* * If you
|
|
28568
|
+
* * If you do not create a notification rule, specify the value in the `acs:ess:{region-id}:{account-id}:null/null` format.
|
|
28569
|
+
* * If you specify a Simple Message Queue (SMQ, formerly MNS) queue as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format.
|
|
28570
|
+
* * If you specify an SMQ as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format.
|
|
28571
|
+
* * If you specify a CloudOps Orchestration Service (OOS) template as the notification recipient, specify the value in the `acs:oos:{region-id}:{account-id}:template/{templatename}` format.
|
|
28572
|
+
* * If you specify an event bus as the notification recipient, specify the value in the `acs:eventbridge:{region-id}:{account-id}:eventbus/default` format.
|
|
28168
28573
|
*
|
|
28169
|
-
* The variables in the preceding formats have the following meanings:
|
|
28574
|
+
* The variables in the preceding value formats have the following meanings:
|
|
28170
28575
|
*
|
|
28171
28576
|
* * region-id: the region ID of your scaling group.
|
|
28172
|
-
* * account-id: the ID of your Alibaba Cloud.
|
|
28173
|
-
* * queuename: the name of the
|
|
28174
|
-
* * topicname: the name of the
|
|
28577
|
+
* * account-id: the ID of your Alibaba Cloud account.
|
|
28578
|
+
* * queuename: the name of the SMQ queue.
|
|
28579
|
+
* * topicname: the name of the SMQ topic.
|
|
28175
28580
|
* * templatename: the name of the OOS template.
|
|
28176
28581
|
*
|
|
28177
28582
|
* @example
|
|
@@ -28230,18 +28635,18 @@ export class DescribeLifecycleHooksResponseBodyLifecycleHooks extends $tea.Model
|
|
|
28230
28635
|
export class DescribeNotificationConfigurationsResponseBodyNotificationConfigurationModels extends $tea.Model {
|
|
28231
28636
|
/**
|
|
28232
28637
|
* @remarks
|
|
28233
|
-
* The Alibaba Cloud Resource Name (ARN) of the notification
|
|
28638
|
+
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. The value is in one of the following formats:
|
|
28234
28639
|
*
|
|
28235
|
-
* * If you
|
|
28236
|
-
* * If you
|
|
28237
|
-
* * If you
|
|
28640
|
+
* * If you specify CloudMonitor as the notification recipient, the value is in the acs:ess:{region-id}:{account-id}:cloudmonitor format.
|
|
28641
|
+
* * If you specify a Simple Message Queue (SMQ, formerly MNS) as the notification recipient, the value is in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
|
|
28642
|
+
* * If you specify an SMQ topic as the notification recipient, the value is in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
|
|
28238
28643
|
*
|
|
28239
|
-
* The variables in the preceding formats have the following meanings:
|
|
28644
|
+
* The variables in the preceding value formats have the following meanings:
|
|
28240
28645
|
*
|
|
28241
|
-
* * region-id: the region ID of
|
|
28242
|
-
* * account-id: the ID of
|
|
28243
|
-
* * queuename: the name of the
|
|
28244
|
-
* * topicname: the name of the
|
|
28646
|
+
* * region-id: the region ID of your scaling group.
|
|
28647
|
+
* * account-id: the ID of your Alibaba Cloud account.
|
|
28648
|
+
* * queuename: the name of the SMQ queue.
|
|
28649
|
+
* * topicname: the name of the SMQ topic.
|
|
28245
28650
|
*
|
|
28246
28651
|
* @example
|
|
28247
28652
|
* acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo****
|
|
@@ -28569,6 +28974,9 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea
|
|
|
28569
28974
|
*/
|
|
28570
28975
|
errorMessage?: string;
|
|
28571
28976
|
/**
|
|
28977
|
+
* @remarks
|
|
28978
|
+
* The ID of the instance refresh task.
|
|
28979
|
+
*
|
|
28572
28980
|
* @example
|
|
28573
28981
|
* ir-asdf12adsxg*****
|
|
28574
28982
|
*/
|
|
@@ -28997,13 +29405,12 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataD
|
|
|
28997
29405
|
export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatternInfos extends $tea.Model {
|
|
28998
29406
|
/**
|
|
28999
29407
|
* @remarks
|
|
29000
|
-
* The
|
|
29408
|
+
* The architectures of instance types. Valid values:
|
|
29001
29409
|
*
|
|
29002
|
-
* * X86: x86
|
|
29003
|
-
* * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated
|
|
29004
|
-
* * BareMetal: ECS Bare Metal Instance
|
|
29005
|
-
* * Arm: Arm
|
|
29006
|
-
* * SuperComputeCluster: Super Computing Cluster
|
|
29410
|
+
* * X86: x86.
|
|
29411
|
+
* * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
|
|
29412
|
+
* * BareMetal: ECS Bare Metal Instance.
|
|
29413
|
+
* * Arm: Arm.
|
|
29007
29414
|
*/
|
|
29008
29415
|
architectures?: string[];
|
|
29009
29416
|
/**
|
|
@@ -29051,26 +29458,25 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInsta
|
|
|
29051
29458
|
gpuSpecs?: string[];
|
|
29052
29459
|
/**
|
|
29053
29460
|
* @remarks
|
|
29054
|
-
* The categories of
|
|
29461
|
+
* The categories of ECS instances. Valid values:
|
|
29055
29462
|
*
|
|
29056
|
-
* >
|
|
29463
|
+
* > Up to 10 categories of ECS instances are supported.
|
|
29057
29464
|
*
|
|
29058
|
-
* * General-purpose
|
|
29059
|
-
* * Compute-optimized
|
|
29060
|
-
* * Memory-optimized
|
|
29061
|
-
* * Big data
|
|
29062
|
-
* * Local SSDs
|
|
29063
|
-
* * High Clock Speed
|
|
29064
|
-
* * Enhanced
|
|
29065
|
-
* * Shared
|
|
29066
|
-
* * Compute-optimized with GPU
|
|
29067
|
-
* * Visual Compute-optimized
|
|
29068
|
-
* * Heterogeneous Service
|
|
29069
|
-
* * Compute-optimized with FPGA
|
|
29070
|
-
* * Compute-optimized with NPU
|
|
29071
|
-
* * ECS Bare Metal
|
|
29072
|
-
* *
|
|
29073
|
-
* * High Performance Compute
|
|
29465
|
+
* * General-purpose: general-purpose instance type.
|
|
29466
|
+
* * Compute-optimized: compute-optimized instance type.
|
|
29467
|
+
* * Memory-optimized: memory-optimized instance type.
|
|
29468
|
+
* * Big data: big data instance type.
|
|
29469
|
+
* * Local SSDs: instance type with local SSDs.
|
|
29470
|
+
* * High Clock Speed: instance type with high clock speeds.
|
|
29471
|
+
* * Enhanced: enhanced instance type.
|
|
29472
|
+
* * Shared: shared instance type.
|
|
29473
|
+
* * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
|
|
29474
|
+
* * Visual Compute-optimized: visual compute-optimized instance type.
|
|
29475
|
+
* * Heterogeneous Service: heterogeneous service instance type.
|
|
29476
|
+
* * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
|
|
29477
|
+
* * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
|
|
29478
|
+
* * ECS Bare Metal: ECS Bare Metal Instance type.
|
|
29479
|
+
* * High Performance Compute: HPC-optimized instance type.
|
|
29074
29480
|
*/
|
|
29075
29481
|
instanceCategories?: string[];
|
|
29076
29482
|
/**
|
|
@@ -29349,11 +29755,6 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSched
|
|
|
29349
29755
|
|
|
29350
29756
|
export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions extends $tea.Model {
|
|
29351
29757
|
/**
|
|
29352
|
-
* @remarks
|
|
29353
|
-
* 机密计算模式。可能值:
|
|
29354
|
-
* - Enclave:表示ECS实例使用Enclave构建机密计算环境。更多信息,请参见[使用Enclave构建机密计算环境](https://help.aliyun.com/document_detail/203433.html)。
|
|
29355
|
-
* - TDX:表示构建TDX机密计算环境。更多信息,请参见[构建TDX机密计算环境](https://help.aliyun.com/document_detail/479090.html)。
|
|
29356
|
-
*
|
|
29357
29758
|
* @example
|
|
29358
29759
|
* TDX
|
|
29359
29760
|
*/
|
|
@@ -29567,7 +29968,27 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
29567
29968
|
* hpc-clus****
|
|
29568
29969
|
*/
|
|
29569
29970
|
hpcClusterId?: string;
|
|
29971
|
+
/**
|
|
29972
|
+
* @remarks
|
|
29973
|
+
* Indicates whether the access channel is enabled for instance metadata. Valid values:
|
|
29974
|
+
*
|
|
29975
|
+
* * enabled
|
|
29976
|
+
* * disabled
|
|
29977
|
+
*
|
|
29978
|
+
* @example
|
|
29979
|
+
* enabled
|
|
29980
|
+
*/
|
|
29570
29981
|
httpEndpoint?: string;
|
|
29982
|
+
/**
|
|
29983
|
+
* @remarks
|
|
29984
|
+
* Indicates whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
|
|
29985
|
+
*
|
|
29986
|
+
* * optional: The security hardening mode IMDSv2 is not forcibly used.
|
|
29987
|
+
* * required: The security hardening mode (IMDSv2) is forcibly used. After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
29988
|
+
*
|
|
29989
|
+
* @example
|
|
29990
|
+
* optional
|
|
29991
|
+
*/
|
|
29571
29992
|
httpTokens?: string;
|
|
29572
29993
|
/**
|
|
29573
29994
|
* @remarks
|
|
@@ -29672,7 +30093,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
29672
30093
|
internetChargeType?: string;
|
|
29673
30094
|
/**
|
|
29674
30095
|
* @remarks
|
|
29675
|
-
* The maximum inbound bandwidth. Unit: Mbit/s.
|
|
30096
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s.
|
|
29676
30097
|
*
|
|
29677
30098
|
* @example
|
|
29678
30099
|
* 200
|
|
@@ -29680,10 +30101,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
29680
30101
|
internetMaxBandwidthIn?: number;
|
|
29681
30102
|
/**
|
|
29682
30103
|
* @remarks
|
|
29683
|
-
* The maximum outbound bandwidth. Unit: Mbit/s.
|
|
29684
|
-
*
|
|
29685
|
-
* * 0 to 1024 if you set InternetChargeType to PayByBandwidth. If you leave this parameter empty, this parameter is automatically set to 0.
|
|
29686
|
-
* * 0 to 1024 if you set InternetChargeType to PayByTraffic. If you leave this parameter empty, an error is returned.
|
|
30104
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s.
|
|
29687
30105
|
*
|
|
29688
30106
|
* @example
|
|
29689
30107
|
* 0
|
|
@@ -29839,10 +30257,6 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
29839
30257
|
* The IDs of the security groups to which the ECS instances belong. ECS instances that belong to the same security group can communicate with each other.
|
|
29840
30258
|
*/
|
|
29841
30259
|
securityGroupIds?: string[];
|
|
29842
|
-
/**
|
|
29843
|
-
* @remarks
|
|
29844
|
-
* 安全选项。
|
|
29845
|
-
*/
|
|
29846
30260
|
securityOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions;
|
|
29847
30261
|
/**
|
|
29848
30262
|
* @remarks
|
|
@@ -31296,9 +31710,43 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsAlbServerGroups exten
|
|
|
31296
31710
|
}
|
|
31297
31711
|
|
|
31298
31712
|
export class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions extends $tea.Model {
|
|
31713
|
+
/**
|
|
31714
|
+
* @remarks
|
|
31715
|
+
* Indicates whether pay-as-you-go ECS instances can be automatically created to reach the required number of ECS instances when preemptible ECS instances cannot be created due to high prices or insufficient inventory of resources. This parameter takes effect when you set `MultiAZPolicy` to `COST_OPTIMIZED`. Valid values:
|
|
31716
|
+
*
|
|
31717
|
+
* * true
|
|
31718
|
+
* * false
|
|
31719
|
+
*
|
|
31720
|
+
* @example
|
|
31721
|
+
* true
|
|
31722
|
+
*/
|
|
31299
31723
|
compensateWithOnDemand?: boolean;
|
|
31724
|
+
/**
|
|
31725
|
+
* @remarks
|
|
31726
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. When the actual number of pay-as-you-go instances drops below the minimum threshold, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
|
|
31727
|
+
*
|
|
31728
|
+
* @example
|
|
31729
|
+
* 0
|
|
31730
|
+
*/
|
|
31300
31731
|
onDemandBaseCapacity?: number;
|
|
31732
|
+
/**
|
|
31733
|
+
* @remarks
|
|
31734
|
+
* The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. `OnDemandBaseCapacity` specifies the minimum number of pay-as-you-go instances required in the scaling group. Valid values: 0 to 100.
|
|
31735
|
+
*
|
|
31736
|
+
* @example
|
|
31737
|
+
* 0
|
|
31738
|
+
*/
|
|
31301
31739
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
31740
|
+
/**
|
|
31741
|
+
* @remarks
|
|
31742
|
+
* Specifies whether to replace pay-as-you-go ECS instances with preemptible ECS instances. If you specify `CompensateWithOnDemand`, it may result in a higher percentage of pay-as-you-go instances compared to the value of `OnDemandPercentageAboveBaseCapacity`. In this scenario, Auto Scaling will try to deploy preemptible ECS instances to replace the surplus pay-as-you-go ECS instances. When `CompensateWithOnDemand` is specified, Auto Scaling creates pay-as-you-go ECS instances if there are not enough preemptible instance types available. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:
|
|
31743
|
+
*
|
|
31744
|
+
* * true
|
|
31745
|
+
* * false
|
|
31746
|
+
*
|
|
31747
|
+
* @example
|
|
31748
|
+
* false
|
|
31749
|
+
*/
|
|
31302
31750
|
spotAutoReplaceOnDemand?: boolean;
|
|
31303
31751
|
static names(): { [key: string]: string } {
|
|
31304
31752
|
return {
|
|
@@ -31687,6 +32135,10 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
31687
32135
|
* false
|
|
31688
32136
|
*/
|
|
31689
32137
|
azBalance?: boolean;
|
|
32138
|
+
/**
|
|
32139
|
+
* @remarks
|
|
32140
|
+
* The capacity options.
|
|
32141
|
+
*/
|
|
31690
32142
|
capacityOptions?: DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions;
|
|
31691
32143
|
/**
|
|
31692
32144
|
* @remarks
|
|
@@ -35832,22 +36284,21 @@ export class ModifyScalingConfigurationRequestDataDisks extends $tea.Model {
|
|
|
35832
36284
|
export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
35833
36285
|
/**
|
|
35834
36286
|
* @remarks
|
|
35835
|
-
* The
|
|
36287
|
+
* The architecture types of the instance types. Valid values:
|
|
35836
36288
|
*
|
|
35837
36289
|
* * X86: x86.
|
|
35838
36290
|
* * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
|
|
35839
36291
|
* * BareMetal: ECS Bare Metal Instance.
|
|
35840
36292
|
* * Arm: Arm.
|
|
35841
|
-
* * SuperComputeCluster: Super Computing Cluster.
|
|
35842
36293
|
*
|
|
35843
|
-
* By default, all values are
|
|
36294
|
+
* By default, all values are selected.
|
|
35844
36295
|
*/
|
|
35845
36296
|
architectures?: string[];
|
|
35846
36297
|
/**
|
|
35847
36298
|
* @remarks
|
|
35848
36299
|
* Specifies whether to include burstable instance types. Valid values:
|
|
35849
36300
|
*
|
|
35850
|
-
* * Exclude:
|
|
36301
|
+
* * Exclude: excludes burstable instance types.
|
|
35851
36302
|
* * Include: includes burstable instance types.
|
|
35852
36303
|
* * Required: includes only burstable instance types.
|
|
35853
36304
|
*
|
|
@@ -35873,7 +36324,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
35873
36324
|
cores?: number;
|
|
35874
36325
|
/**
|
|
35875
36326
|
* @remarks
|
|
35876
|
-
* The CPU architectures of instance types. Valid values:
|
|
36327
|
+
* The CPU architectures of the instance types. Valid values:
|
|
35877
36328
|
*
|
|
35878
36329
|
* > You can specify up to two CPU architectures.
|
|
35879
36330
|
*
|
|
@@ -35883,7 +36334,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
35883
36334
|
cpuArchitectures?: string[];
|
|
35884
36335
|
/**
|
|
35885
36336
|
* @remarks
|
|
35886
|
-
* The instance types that you want to exclude. You can use
|
|
36337
|
+
* The instance types that you want to exclude. You can use an asterisk (\\*) as a wildcard character to exclude an instance type or an instance family. Examples:
|
|
35887
36338
|
*
|
|
35888
36339
|
* * ecs.c6.large: excludes the ecs.c6.large instance type.
|
|
35889
36340
|
* * ecs.c6.\\*: excludes the c6 instance family.
|
|
@@ -35896,33 +36347,32 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
35896
36347
|
gpuSpecs?: string[];
|
|
35897
36348
|
/**
|
|
35898
36349
|
* @remarks
|
|
35899
|
-
* The categories of instance types. Valid values:
|
|
35900
|
-
*
|
|
35901
|
-
* * General-purpose
|
|
35902
|
-
* * Compute-optimized
|
|
35903
|
-
* * Memory-optimized
|
|
35904
|
-
* * Big data
|
|
35905
|
-
* * Local SSDs
|
|
35906
|
-
* * High Clock Speed
|
|
35907
|
-
* * Enhanced
|
|
35908
|
-
* * Shared
|
|
35909
|
-
* * Compute-optimized with GPU
|
|
35910
|
-
* * Visual Compute-optimized
|
|
35911
|
-
* * Heterogeneous Service
|
|
35912
|
-
* * Compute-optimized with FPGA
|
|
35913
|
-
* * Compute-optimized with NPU
|
|
35914
|
-
* * ECS Bare Metal
|
|
35915
|
-
* *
|
|
35916
|
-
* * High Performance Compute
|
|
36350
|
+
* The categories of the instance types. Valid values:
|
|
36351
|
+
*
|
|
36352
|
+
* * General-purpose: general-purpose instance type.
|
|
36353
|
+
* * Compute-optimized: compute-optimized instance type.
|
|
36354
|
+
* * Memory-optimized: memory-optimized instance type.
|
|
36355
|
+
* * Big data: big data instance type.
|
|
36356
|
+
* * Local SSDs: instance type that uses local SSDs.
|
|
36357
|
+
* * High Clock Speed: instance type that has a high clock speed.
|
|
36358
|
+
* * Enhanced: enhanced instance type.
|
|
36359
|
+
* * Shared: shared instance type.
|
|
36360
|
+
* * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
|
|
36361
|
+
* * Visual Compute-optimized: visual compute-optimized instance type.
|
|
36362
|
+
* * Heterogeneous Service: heterogeneous service instance type.
|
|
36363
|
+
* * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
|
|
36364
|
+
* * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
|
|
36365
|
+
* * ECS Bare Metal: ECS Bare Metal Instance type.
|
|
36366
|
+
* * High Performance Compute: HPC-optimized instance type.
|
|
35917
36367
|
*/
|
|
35918
36368
|
instanceCategories?: string[];
|
|
35919
36369
|
/**
|
|
35920
36370
|
* @remarks
|
|
35921
|
-
* The level of the instance family. You can specify this parameter to
|
|
36371
|
+
* The level of the instance family. You can specify this parameter to obtain the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
|
|
35922
36372
|
*
|
|
35923
|
-
* * EntryLevel: entry
|
|
35924
|
-
* * EnterpriseLevel: enterprise
|
|
35925
|
-
* * CreditEntryLevel: credit
|
|
36373
|
+
* * EntryLevel: entry-level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
36374
|
+
* * EnterpriseLevel: enterprise-level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
36375
|
+
* * CreditEntryLevel: credit entry-level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview](https://help.aliyun.com/document_detail/59977.html) of burstable instances.
|
|
35926
36376
|
*
|
|
35927
36377
|
* @example
|
|
35928
36378
|
* EnterpriseLevel
|
|
@@ -35935,7 +36385,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
35935
36385
|
instanceTypeFamilies?: string[];
|
|
35936
36386
|
/**
|
|
35937
36387
|
* @remarks
|
|
35938
|
-
* The maximum hourly price of pay-as-you-go or preemptible instances in intelligent configuration mode. You can specify this parameter to
|
|
36388
|
+
* The maximum hourly price of pay-as-you-go or preemptible instances in intelligent configuration mode. You can specify this parameter to obtain the available instance types.
|
|
35939
36389
|
*
|
|
35940
36390
|
* > If you set SpotStrategy to SpotWithPriceLimit, you must specify this parameter. In other cases, this parameter is optional.
|
|
35941
36391
|
*
|
|
@@ -35979,7 +36429,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
35979
36429
|
memory?: number;
|
|
35980
36430
|
/**
|
|
35981
36431
|
* @remarks
|
|
35982
|
-
* The baseline vCPU computing performance (overall baseline performance of all vCPUs)
|
|
36432
|
+
* The baseline vCPU computing performance (overall baseline performance of all vCPUs) of each t5 or t6 burstable instance.
|
|
35983
36433
|
*
|
|
35984
36434
|
* @example
|
|
35985
36435
|
* 12
|
|
@@ -36027,7 +36477,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
36027
36477
|
minimumGpuAmount?: number;
|
|
36028
36478
|
/**
|
|
36029
36479
|
* @remarks
|
|
36030
|
-
* The initial vCPU credits
|
|
36480
|
+
* The initial vCPU credits of each t5 or t6 burstable instance.
|
|
36031
36481
|
*
|
|
36032
36482
|
* @example
|
|
36033
36483
|
* 12
|
|
@@ -36043,7 +36493,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
36043
36493
|
minimumMemorySize?: number;
|
|
36044
36494
|
/**
|
|
36045
36495
|
* @remarks
|
|
36046
|
-
* The processor models of instance types. You can specify up to 10 processor models.
|
|
36496
|
+
* The processor models of the instance types. You can specify up to 10 processor models.
|
|
36047
36497
|
*/
|
|
36048
36498
|
physicalProcessorModels?: string[];
|
|
36049
36499
|
static names(): { [key: string]: string } {
|
|
@@ -36783,22 +37233,21 @@ export class ModifyScalingConfigurationShrinkRequestDataDisks extends $tea.Model
|
|
|
36783
37233
|
export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.Model {
|
|
36784
37234
|
/**
|
|
36785
37235
|
* @remarks
|
|
36786
|
-
* The
|
|
37236
|
+
* The architecture types of the instance types. Valid values:
|
|
36787
37237
|
*
|
|
36788
37238
|
* * X86: x86.
|
|
36789
37239
|
* * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
|
|
36790
37240
|
* * BareMetal: ECS Bare Metal Instance.
|
|
36791
37241
|
* * Arm: Arm.
|
|
36792
|
-
* * SuperComputeCluster: Super Computing Cluster.
|
|
36793
37242
|
*
|
|
36794
|
-
* By default, all values are
|
|
37243
|
+
* By default, all values are selected.
|
|
36795
37244
|
*/
|
|
36796
37245
|
architectures?: string[];
|
|
36797
37246
|
/**
|
|
36798
37247
|
* @remarks
|
|
36799
37248
|
* Specifies whether to include burstable instance types. Valid values:
|
|
36800
37249
|
*
|
|
36801
|
-
* * Exclude:
|
|
37250
|
+
* * Exclude: excludes burstable instance types.
|
|
36802
37251
|
* * Include: includes burstable instance types.
|
|
36803
37252
|
* * Required: includes only burstable instance types.
|
|
36804
37253
|
*
|
|
@@ -36824,7 +37273,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
36824
37273
|
cores?: number;
|
|
36825
37274
|
/**
|
|
36826
37275
|
* @remarks
|
|
36827
|
-
* The CPU architectures of instance types. Valid values:
|
|
37276
|
+
* The CPU architectures of the instance types. Valid values:
|
|
36828
37277
|
*
|
|
36829
37278
|
* > You can specify up to two CPU architectures.
|
|
36830
37279
|
*
|
|
@@ -36834,7 +37283,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
36834
37283
|
cpuArchitectures?: string[];
|
|
36835
37284
|
/**
|
|
36836
37285
|
* @remarks
|
|
36837
|
-
* The instance types that you want to exclude. You can use
|
|
37286
|
+
* The instance types that you want to exclude. You can use an asterisk (\\*) as a wildcard character to exclude an instance type or an instance family. Examples:
|
|
36838
37287
|
*
|
|
36839
37288
|
* * ecs.c6.large: excludes the ecs.c6.large instance type.
|
|
36840
37289
|
* * ecs.c6.\\*: excludes the c6 instance family.
|
|
@@ -36847,33 +37296,32 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
36847
37296
|
gpuSpecs?: string[];
|
|
36848
37297
|
/**
|
|
36849
37298
|
* @remarks
|
|
36850
|
-
* The categories of instance types. Valid values:
|
|
36851
|
-
*
|
|
36852
|
-
* * General-purpose
|
|
36853
|
-
* * Compute-optimized
|
|
36854
|
-
* * Memory-optimized
|
|
36855
|
-
* * Big data
|
|
36856
|
-
* * Local SSDs
|
|
36857
|
-
* * High Clock Speed
|
|
36858
|
-
* * Enhanced
|
|
36859
|
-
* * Shared
|
|
36860
|
-
* * Compute-optimized with GPU
|
|
36861
|
-
* * Visual Compute-optimized
|
|
36862
|
-
* * Heterogeneous Service
|
|
36863
|
-
* * Compute-optimized with FPGA
|
|
36864
|
-
* * Compute-optimized with NPU
|
|
36865
|
-
* * ECS Bare Metal
|
|
36866
|
-
* *
|
|
36867
|
-
* * High Performance Compute
|
|
37299
|
+
* The categories of the instance types. Valid values:
|
|
37300
|
+
*
|
|
37301
|
+
* * General-purpose: general-purpose instance type.
|
|
37302
|
+
* * Compute-optimized: compute-optimized instance type.
|
|
37303
|
+
* * Memory-optimized: memory-optimized instance type.
|
|
37304
|
+
* * Big data: big data instance type.
|
|
37305
|
+
* * Local SSDs: instance type that uses local SSDs.
|
|
37306
|
+
* * High Clock Speed: instance type that has a high clock speed.
|
|
37307
|
+
* * Enhanced: enhanced instance type.
|
|
37308
|
+
* * Shared: shared instance type.
|
|
37309
|
+
* * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
|
|
37310
|
+
* * Visual Compute-optimized: visual compute-optimized instance type.
|
|
37311
|
+
* * Heterogeneous Service: heterogeneous service instance type.
|
|
37312
|
+
* * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
|
|
37313
|
+
* * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
|
|
37314
|
+
* * ECS Bare Metal: ECS Bare Metal Instance type.
|
|
37315
|
+
* * High Performance Compute: HPC-optimized instance type.
|
|
36868
37316
|
*/
|
|
36869
37317
|
instanceCategories?: string[];
|
|
36870
37318
|
/**
|
|
36871
37319
|
* @remarks
|
|
36872
|
-
* The level of the instance family. You can specify this parameter to
|
|
37320
|
+
* The level of the instance family. You can specify this parameter to obtain the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
|
|
36873
37321
|
*
|
|
36874
|
-
* * EntryLevel: entry
|
|
36875
|
-
* * EnterpriseLevel: enterprise
|
|
36876
|
-
* * CreditEntryLevel: credit
|
|
37322
|
+
* * EntryLevel: entry-level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
37323
|
+
* * EnterpriseLevel: enterprise-level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
37324
|
+
* * CreditEntryLevel: credit entry-level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview](https://help.aliyun.com/document_detail/59977.html) of burstable instances.
|
|
36877
37325
|
*
|
|
36878
37326
|
* @example
|
|
36879
37327
|
* EnterpriseLevel
|
|
@@ -36886,7 +37334,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
36886
37334
|
instanceTypeFamilies?: string[];
|
|
36887
37335
|
/**
|
|
36888
37336
|
* @remarks
|
|
36889
|
-
* The maximum hourly price of pay-as-you-go or preemptible instances in intelligent configuration mode. You can specify this parameter to
|
|
37337
|
+
* The maximum hourly price of pay-as-you-go or preemptible instances in intelligent configuration mode. You can specify this parameter to obtain the available instance types.
|
|
36890
37338
|
*
|
|
36891
37339
|
* > If you set SpotStrategy to SpotWithPriceLimit, you must specify this parameter. In other cases, this parameter is optional.
|
|
36892
37340
|
*
|
|
@@ -36930,7 +37378,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
36930
37378
|
memory?: number;
|
|
36931
37379
|
/**
|
|
36932
37380
|
* @remarks
|
|
36933
|
-
* The baseline vCPU computing performance (overall baseline performance of all vCPUs)
|
|
37381
|
+
* The baseline vCPU computing performance (overall baseline performance of all vCPUs) of each t5 or t6 burstable instance.
|
|
36934
37382
|
*
|
|
36935
37383
|
* @example
|
|
36936
37384
|
* 12
|
|
@@ -36978,7 +37426,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
36978
37426
|
minimumGpuAmount?: number;
|
|
36979
37427
|
/**
|
|
36980
37428
|
* @remarks
|
|
36981
|
-
* The initial vCPU credits
|
|
37429
|
+
* The initial vCPU credits of each t5 or t6 burstable instance.
|
|
36982
37430
|
*
|
|
36983
37431
|
* @example
|
|
36984
37432
|
* 12
|
|
@@ -36994,7 +37442,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
36994
37442
|
minimumMemorySize?: number;
|
|
36995
37443
|
/**
|
|
36996
37444
|
* @remarks
|
|
36997
|
-
* The processor models of instance types. You can specify up to 10 processor models.
|
|
37445
|
+
* The processor models of the instance types. You can specify up to 10 processor models.
|
|
36998
37446
|
*/
|
|
36999
37447
|
physicalProcessorModels?: string[];
|
|
37000
37448
|
static names(): { [key: string]: string } {
|
|
@@ -37251,9 +37699,49 @@ export class ModifyScalingConfigurationShrinkRequestSpotPriceLimits extends $tea
|
|
|
37251
37699
|
}
|
|
37252
37700
|
|
|
37253
37701
|
export class ModifyScalingGroupRequestCapacityOptions extends $tea.Model {
|
|
37702
|
+
/**
|
|
37703
|
+
* @remarks
|
|
37704
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the requirements on the number of ECS instances in the scaling group when the number of preemptible instances cannot be reached due to reasons such as cost-related issues and insufficient resources. This parameter takes effect only if you set `MultiAZPolicy` in the `CreateScalingGroup` operation to `COST_OPTIMIZED`. Valid values:
|
|
37705
|
+
*
|
|
37706
|
+
* * true
|
|
37707
|
+
* * false
|
|
37708
|
+
*
|
|
37709
|
+
* @example
|
|
37710
|
+
* true
|
|
37711
|
+
*/
|
|
37254
37712
|
compensateWithOnDemand?: boolean;
|
|
37713
|
+
/**
|
|
37714
|
+
* @remarks
|
|
37715
|
+
* The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
|
|
37716
|
+
*
|
|
37717
|
+
* If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 0.
|
|
37718
|
+
*
|
|
37719
|
+
* @example
|
|
37720
|
+
* 30
|
|
37721
|
+
*/
|
|
37255
37722
|
onDemandBaseCapacity?: number;
|
|
37723
|
+
/**
|
|
37724
|
+
* @remarks
|
|
37725
|
+
* The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. `OnDemandBaseCapacity` specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100
|
|
37726
|
+
*
|
|
37727
|
+
* If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 100.
|
|
37728
|
+
*
|
|
37729
|
+
* @example
|
|
37730
|
+
* 20
|
|
37731
|
+
*/
|
|
37256
37732
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
37733
|
+
/**
|
|
37734
|
+
* @remarks
|
|
37735
|
+
* Specifies whether to replace pay-as-you-go ECS instances with preemptible ECS instances. If you specify `CompensateWithOnDemand`, it may result in a higher percentage of pay-as-you-go instances compared to the value of `OnDemandPercentageAboveBaseCapacity`. In this scenario, Auto Scaling will try to deploy preemptible ECS instances to replace the surplus pay-as-you-go ECS instances. When `CompensateWithOnDemand` is specified, Auto Scaling creates pay-as-you-go ECS instances if there are not enough preemptible instance types. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:
|
|
37736
|
+
*
|
|
37737
|
+
* * true
|
|
37738
|
+
* * false
|
|
37739
|
+
*
|
|
37740
|
+
* Default value: false.
|
|
37741
|
+
*
|
|
37742
|
+
* @example
|
|
37743
|
+
* true
|
|
37744
|
+
*/
|
|
37257
37745
|
spotAutoReplaceOnDemand?: boolean;
|
|
37258
37746
|
static names(): { [key: string]: string } {
|
|
37259
37747
|
return {
|
|
@@ -37707,9 +38195,9 @@ export class StartInstanceRefreshRequestDesiredConfiguration extends $tea.Model
|
|
|
37707
38195
|
export class TagResourcesRequestTags extends $tea.Model {
|
|
37708
38196
|
/**
|
|
37709
38197
|
* @remarks
|
|
37710
|
-
* The
|
|
38198
|
+
* The tag key.
|
|
37711
38199
|
*
|
|
37712
|
-
* You cannot specify empty
|
|
38200
|
+
* You cannot specify an empty string as a tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. The tag key cannot contain `http://` or `https://`.
|
|
37713
38201
|
*
|
|
37714
38202
|
* @example
|
|
37715
38203
|
* TestKey
|
|
@@ -37719,8 +38207,8 @@ export class TagResourcesRequestTags extends $tea.Model {
|
|
|
37719
38207
|
* @remarks
|
|
37720
38208
|
* Specifies whether to propagate the tag that you want to add. Valid values:
|
|
37721
38209
|
*
|
|
37722
|
-
* * true: propagates the tag
|
|
37723
|
-
* * false: does not propagate the tag to any
|
|
38210
|
+
* * true: propagates the tag to new instances.
|
|
38211
|
+
* * false: does not propagate the tag to any instance.
|
|
37724
38212
|
*
|
|
37725
38213
|
* Default value: false.
|
|
37726
38214
|
*
|
|
@@ -37730,9 +38218,9 @@ export class TagResourcesRequestTags extends $tea.Model {
|
|
|
37730
38218
|
propagate?: boolean;
|
|
37731
38219
|
/**
|
|
37732
38220
|
* @remarks
|
|
37733
|
-
* The
|
|
38221
|
+
* The tag value.
|
|
37734
38222
|
*
|
|
37735
|
-
* You can specify empty strings as tag values. The tag value
|
|
38223
|
+
* You can specify empty strings as tag values. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
|
|
37736
38224
|
*
|
|
37737
38225
|
* @example
|
|
37738
38226
|
* TestValue
|
|
@@ -38551,7 +39039,7 @@ export default class Client extends OpenApi {
|
|
|
38551
39039
|
}
|
|
38552
39040
|
|
|
38553
39041
|
/**
|
|
38554
|
-
* Cancels an instance refresh task. Take note that
|
|
39042
|
+
* Cancels an instance refresh task. Take note that instances whose configurations were already updated by running an instance refresh task remain intact even after you cancel the task.
|
|
38555
39043
|
*
|
|
38556
39044
|
* @remarks
|
|
38557
39045
|
* You cannot call this operation to cancel instance refresh tasks that are being rolled back.
|
|
@@ -38601,7 +39089,7 @@ export default class Client extends OpenApi {
|
|
|
38601
39089
|
}
|
|
38602
39090
|
|
|
38603
39091
|
/**
|
|
38604
|
-
* Cancels an instance refresh task. Take note that
|
|
39092
|
+
* Cancels an instance refresh task. Take note that instances whose configurations were already updated by running an instance refresh task remain intact even after you cancel the task.
|
|
38605
39093
|
*
|
|
38606
39094
|
* @remarks
|
|
38607
39095
|
* You cannot call this operation to cancel instance refresh tasks that are being rolled back.
|
|
@@ -38889,7 +39377,7 @@ export default class Client extends OpenApi {
|
|
|
38889
39377
|
}
|
|
38890
39378
|
|
|
38891
39379
|
/**
|
|
38892
|
-
*
|
|
39380
|
+
* Creates a diagnostic report.
|
|
38893
39381
|
*
|
|
38894
39382
|
* @param request - CreateDiagnoseReportRequest
|
|
38895
39383
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -38916,7 +39404,7 @@ export default class Client extends OpenApi {
|
|
|
38916
39404
|
}
|
|
38917
39405
|
|
|
38918
39406
|
/**
|
|
38919
|
-
*
|
|
39407
|
+
* Creates a diagnostic report.
|
|
38920
39408
|
*
|
|
38921
39409
|
* @param request - CreateDiagnoseReportRequest
|
|
38922
39410
|
* @returns CreateDiagnoseReportResponse
|
|
@@ -39266,9 +39754,9 @@ export default class Client extends OpenApi {
|
|
|
39266
39754
|
* Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
|
|
39267
39755
|
*
|
|
39268
39756
|
* @remarks
|
|
39269
|
-
* You can
|
|
39757
|
+
* You can specify CloudMonitor system events, Simple Message Queue (SMQ, formerly MNS) topics, or SMQ queues as notification recipients. When a scaling event of the specified type or resource change occurs in your scaling group, Auto Scaling automatically sends notifications to CloudMonitor or SMQ.
|
|
39270
39758
|
* * You cannot specify the same recipient for notifications of different event types in a scaling group.
|
|
39271
|
-
* For example, you cannot enable the same CloudMonitor system event,
|
|
39759
|
+
* For example, you cannot enable the same CloudMonitor system event, SMQ topic, or SMQ queue to receive notifications of different event types in a scaling group.
|
|
39272
39760
|
*
|
|
39273
39761
|
* @param request - CreateNotificationConfigurationRequest
|
|
39274
39762
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -39326,9 +39814,9 @@ export default class Client extends OpenApi {
|
|
|
39326
39814
|
* Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
|
|
39327
39815
|
*
|
|
39328
39816
|
* @remarks
|
|
39329
|
-
* You can
|
|
39817
|
+
* You can specify CloudMonitor system events, Simple Message Queue (SMQ, formerly MNS) topics, or SMQ queues as notification recipients. When a scaling event of the specified type or resource change occurs in your scaling group, Auto Scaling automatically sends notifications to CloudMonitor or SMQ.
|
|
39330
39818
|
* * You cannot specify the same recipient for notifications of different event types in a scaling group.
|
|
39331
|
-
* For example, you cannot enable the same CloudMonitor system event,
|
|
39819
|
+
* For example, you cannot enable the same CloudMonitor system event, SMQ topic, or SMQ queue to receive notifications of different event types in a scaling group.
|
|
39332
39820
|
*
|
|
39333
39821
|
* @param request - CreateNotificationConfigurationRequest
|
|
39334
39822
|
* @returns CreateNotificationConfigurationResponse
|
|
@@ -40935,7 +41423,7 @@ export default class Client extends OpenApi {
|
|
|
40935
41423
|
}
|
|
40936
41424
|
|
|
40937
41425
|
/**
|
|
40938
|
-
*
|
|
41426
|
+
* Queries the diagnostic reports.
|
|
40939
41427
|
*
|
|
40940
41428
|
* @param request - DescribeDiagnoseReportsRequest
|
|
40941
41429
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -40962,7 +41450,7 @@ export default class Client extends OpenApi {
|
|
|
40962
41450
|
}
|
|
40963
41451
|
|
|
40964
41452
|
/**
|
|
40965
|
-
*
|
|
41453
|
+
* Queries the diagnostic reports.
|
|
40966
41454
|
*
|
|
40967
41455
|
* @param request - DescribeDiagnoseReportsRequest
|
|
40968
41456
|
* @returns DescribeDiagnoseReportsResponse
|
|
@@ -41105,7 +41593,7 @@ export default class Client extends OpenApi {
|
|
|
41105
41593
|
}
|
|
41106
41594
|
|
|
41107
41595
|
/**
|
|
41108
|
-
*
|
|
41596
|
+
* Queries the scaling strength of a scaling configuration. The success rate of scale-out events depends on the scaling strength of the scaling configuration that you want to use. By checking the scaling strength of a scaling configuration, you can enable Auto Scaling to measure its performance and improve specific configurations.
|
|
41109
41597
|
*
|
|
41110
41598
|
* @param request - DescribeElasticStrengthRequest
|
|
41111
41599
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -41132,7 +41620,7 @@ export default class Client extends OpenApi {
|
|
|
41132
41620
|
}
|
|
41133
41621
|
|
|
41134
41622
|
/**
|
|
41135
|
-
*
|
|
41623
|
+
* Queries the scaling strength of a scaling configuration. The success rate of scale-out events depends on the scaling strength of the scaling configuration that you want to use. By checking the scaling strength of a scaling configuration, you can enable Auto Scaling to measure its performance and improve specific configurations.
|
|
41136
41624
|
*
|
|
41137
41625
|
* @param request - DescribeElasticStrengthRequest
|
|
41138
41626
|
* @returns DescribeElasticStrengthResponse
|
|
@@ -41217,7 +41705,7 @@ export default class Client extends OpenApi {
|
|
|
41217
41705
|
}
|
|
41218
41706
|
|
|
41219
41707
|
/**
|
|
41220
|
-
* Queries
|
|
41708
|
+
* Queries lifecycle hook actions. When you call the DescribeLifecycleActions operation, you can specify parameters such as ScalingActivityId, NextToken, and MaxResults to query the details such as the action status and ID of a lifecycle hook. You can also call this operation to query the IDs of Elastic Compute Service (ECS) instances on which the lifecycle hook takes effect.
|
|
41221
41709
|
*
|
|
41222
41710
|
* @remarks
|
|
41223
41711
|
* If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
|
|
@@ -41279,7 +41767,7 @@ export default class Client extends OpenApi {
|
|
|
41279
41767
|
}
|
|
41280
41768
|
|
|
41281
41769
|
/**
|
|
41282
|
-
* Queries
|
|
41770
|
+
* Queries lifecycle hook actions. When you call the DescribeLifecycleActions operation, you can specify parameters such as ScalingActivityId, NextToken, and MaxResults to query the details such as the action status and ID of a lifecycle hook. You can also call this operation to query the IDs of Elastic Compute Service (ECS) instances on which the lifecycle hook takes effect.
|
|
41283
41771
|
*
|
|
41284
41772
|
* @remarks
|
|
41285
41773
|
* If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
|
|
@@ -41297,7 +41785,7 @@ export default class Client extends OpenApi {
|
|
|
41297
41785
|
}
|
|
41298
41786
|
|
|
41299
41787
|
/**
|
|
41300
|
-
* Queries lifecycle hooks.
|
|
41788
|
+
* Queries lifecycle hooks. When you call this operation, you can specify the lifecycle hook ID or scaling group ID to query the details of the desired lifecycle hook, such as the default action after the lifecycle hook times out, scaling activity that corresponds to the lifecycle hook, Alibaba Cloud Resource Name (ARN) of the notification recipient, and effective period of the lifecycle hook.
|
|
41301
41789
|
*
|
|
41302
41790
|
* @remarks
|
|
41303
41791
|
* You can use one of the following methods to query lifecycle hooks:
|
|
@@ -41366,7 +41854,7 @@ export default class Client extends OpenApi {
|
|
|
41366
41854
|
}
|
|
41367
41855
|
|
|
41368
41856
|
/**
|
|
41369
|
-
* Queries lifecycle hooks.
|
|
41857
|
+
* Queries lifecycle hooks. When you call this operation, you can specify the lifecycle hook ID or scaling group ID to query the details of the desired lifecycle hook, such as the default action after the lifecycle hook times out, scaling activity that corresponds to the lifecycle hook, Alibaba Cloud Resource Name (ARN) of the notification recipient, and effective period of the lifecycle hook.
|
|
41370
41858
|
*
|
|
41371
41859
|
* @remarks
|
|
41372
41860
|
* You can use one of the following methods to query lifecycle hooks:
|
|
@@ -41713,7 +42201,7 @@ export default class Client extends OpenApi {
|
|
|
41713
42201
|
}
|
|
41714
42202
|
|
|
41715
42203
|
/**
|
|
41716
|
-
* Queries the details of a scaling activity.
|
|
42204
|
+
* Queries the details of a scaling activity. You can query a scaling activity by its ID. The scaling activity details include the scaling activity status, error code, and error message. You can efficiently troubleshoot issues and analyze service performance based on the error message.
|
|
41717
42205
|
*
|
|
41718
42206
|
* @param request - DescribeScalingActivityDetailRequest
|
|
41719
42207
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -41756,7 +42244,7 @@ export default class Client extends OpenApi {
|
|
|
41756
42244
|
}
|
|
41757
42245
|
|
|
41758
42246
|
/**
|
|
41759
|
-
* Queries the details of a scaling activity.
|
|
42247
|
+
* Queries the details of a scaling activity. You can query a scaling activity by its ID. The scaling activity details include the scaling activity status, error code, and error message. You can efficiently troubleshoot issues and analyze service performance based on the error message.
|
|
41760
42248
|
*
|
|
41761
42249
|
* @param request - DescribeScalingActivityDetailRequest
|
|
41762
42250
|
* @returns DescribeScalingActivityDetailResponse
|
|
@@ -41899,7 +42387,7 @@ export default class Client extends OpenApi {
|
|
|
41899
42387
|
}
|
|
41900
42388
|
|
|
41901
42389
|
/**
|
|
41902
|
-
*
|
|
42390
|
+
* Queries the latest diagnosis details for a scaling group. Diagnosis details are only returned in the presence of exceptions.
|
|
41903
42391
|
*
|
|
41904
42392
|
* @param request - DescribeScalingGroupDiagnoseDetailsRequest
|
|
41905
42393
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -41926,7 +42414,7 @@ export default class Client extends OpenApi {
|
|
|
41926
42414
|
}
|
|
41927
42415
|
|
|
41928
42416
|
/**
|
|
41929
|
-
*
|
|
42417
|
+
* Queries the latest diagnosis details for a scaling group. Diagnosis details are only returned in the presence of exceptions.
|
|
41930
42418
|
*
|
|
41931
42419
|
* @param request - DescribeScalingGroupDiagnoseDetailsRequest
|
|
41932
42420
|
* @returns DescribeScalingGroupDiagnoseDetailsResponse
|
|
@@ -42395,7 +42883,7 @@ export default class Client extends OpenApi {
|
|
|
42395
42883
|
}
|
|
42396
42884
|
|
|
42397
42885
|
/**
|
|
42398
|
-
*
|
|
42886
|
+
* Detaches one or more ApsaraDB RDS instances from a scaling group. If you want to decrease the number of ApsaraDB RDS instances attached to your scaling group, you can call the DetachDBInstance operation. This operation liberates ApsaraDB RDS instances from your scaling group, thereby significantly boosting the agility and efficiency in managing and allocating your resources.
|
|
42399
42887
|
*
|
|
42400
42888
|
* @param request - DetachDBInstancesRequest
|
|
42401
42889
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -42454,7 +42942,7 @@ export default class Client extends OpenApi {
|
|
|
42454
42942
|
}
|
|
42455
42943
|
|
|
42456
42944
|
/**
|
|
42457
|
-
*
|
|
42945
|
+
* Detaches one or more ApsaraDB RDS instances from a scaling group. If you want to decrease the number of ApsaraDB RDS instances attached to your scaling group, you can call the DetachDBInstance operation. This operation liberates ApsaraDB RDS instances from your scaling group, thereby significantly boosting the agility and efficiency in managing and allocating your resources.
|
|
42458
42946
|
*
|
|
42459
42947
|
* @param request - DetachDBInstancesRequest
|
|
42460
42948
|
* @returns DetachDBInstancesResponse
|
|
@@ -43385,7 +43873,7 @@ export default class Client extends OpenApi {
|
|
|
43385
43873
|
}
|
|
43386
43874
|
|
|
43387
43875
|
/**
|
|
43388
|
-
* Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
|
|
43876
|
+
* Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient resource management. This operation aids in the automation of resource categorization and permission management processes.
|
|
43389
43877
|
*
|
|
43390
43878
|
* @remarks
|
|
43391
43879
|
* Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
|
|
@@ -43444,7 +43932,7 @@ export default class Client extends OpenApi {
|
|
|
43444
43932
|
}
|
|
43445
43933
|
|
|
43446
43934
|
/**
|
|
43447
|
-
* Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
|
|
43935
|
+
* Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient resource management. This operation aids in the automation of resource categorization and permission management processes.
|
|
43448
43936
|
*
|
|
43449
43937
|
* @remarks
|
|
43450
43938
|
* Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
|
|
@@ -44882,6 +45370,10 @@ export default class Client extends OpenApi {
|
|
|
44882
45370
|
query["RecurrenceValue"] = request.recurrenceValue;
|
|
44883
45371
|
}
|
|
44884
45372
|
|
|
45373
|
+
if (!Util.isUnset(request.regionId)) {
|
|
45374
|
+
query["RegionId"] = request.regionId;
|
|
45375
|
+
}
|
|
45376
|
+
|
|
44885
45377
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
44886
45378
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
44887
45379
|
}
|
|
@@ -45028,8 +45520,8 @@ export default class Client extends OpenApi {
|
|
|
45028
45520
|
* Extends the time window during which Elastic Compute Service (ECS) instances stay in a Pending state. If the current time window during which an ECS instance stays in a Pending state is not sufficient for you to complete custom operations on the ECS instance, you can call the RecordLifecycleActionHeartbeat operation to extend the time window. When you call this operation, you can specify lifecycleHookId, lifecycleActionToken, and heartbeatTimeout to extend the time window for the desired ECS instance.
|
|
45029
45521
|
*
|
|
45030
45522
|
* @remarks
|
|
45031
|
-
* You can call this operation only
|
|
45032
|
-
* An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in
|
|
45523
|
+
* You can call this operation only to extend the time window during which Elastic Compute Service (ECS) instances stay in a Pending state.
|
|
45524
|
+
* An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in the Pending state up to 20 times.
|
|
45033
45525
|
*
|
|
45034
45526
|
* @param request - RecordLifecycleActionHeartbeatRequest
|
|
45035
45527
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -45087,8 +45579,8 @@ export default class Client extends OpenApi {
|
|
|
45087
45579
|
* Extends the time window during which Elastic Compute Service (ECS) instances stay in a Pending state. If the current time window during which an ECS instance stays in a Pending state is not sufficient for you to complete custom operations on the ECS instance, you can call the RecordLifecycleActionHeartbeat operation to extend the time window. When you call this operation, you can specify lifecycleHookId, lifecycleActionToken, and heartbeatTimeout to extend the time window for the desired ECS instance.
|
|
45088
45580
|
*
|
|
45089
45581
|
* @remarks
|
|
45090
|
-
* You can call this operation only
|
|
45091
|
-
* An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in
|
|
45582
|
+
* You can call this operation only to extend the time window during which Elastic Compute Service (ECS) instances stay in a Pending state.
|
|
45583
|
+
* An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in the Pending state up to 20 times.
|
|
45092
45584
|
*
|
|
45093
45585
|
* @param request - RecordLifecycleActionHeartbeatRequest
|
|
45094
45586
|
* @returns RecordLifecycleActionHeartbeatResponse
|
|
@@ -45263,7 +45755,7 @@ export default class Client extends OpenApi {
|
|
|
45263
45755
|
}
|
|
45264
45756
|
|
|
45265
45757
|
/**
|
|
45266
|
-
* Resumes suspended processes in a scaling group.
|
|
45758
|
+
* Resumes suspended processes in a scaling group. This operation allows Auto Scaling to proceed with executing these processes according to their predefined rules and logic. For example, if you resume the health check process in your scaling group, Auto Scaling automatically detects and removes any instances deemed unhealthy from the scaling group.
|
|
45267
45759
|
*
|
|
45268
45760
|
* @param request - ResumeProcessesRequest
|
|
45269
45761
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -45314,7 +45806,7 @@ export default class Client extends OpenApi {
|
|
|
45314
45806
|
}
|
|
45315
45807
|
|
|
45316
45808
|
/**
|
|
45317
|
-
* Resumes suspended processes in a scaling group.
|
|
45809
|
+
* Resumes suspended processes in a scaling group. This operation allows Auto Scaling to proceed with executing these processes according to their predefined rules and logic. For example, if you resume the health check process in your scaling group, Auto Scaling automatically detects and removes any instances deemed unhealthy from the scaling group.
|
|
45318
45810
|
*
|
|
45319
45811
|
* @param request - ResumeProcessesRequest
|
|
45320
45812
|
* @returns ResumeProcessesResponse
|
|
@@ -45325,7 +45817,7 @@ export default class Client extends OpenApi {
|
|
|
45325
45817
|
}
|
|
45326
45818
|
|
|
45327
45819
|
/**
|
|
45328
|
-
* Rolls back an instance refresh task. If
|
|
45820
|
+
* Rolls back an instance refresh task. If an instance refresh task cannot meet your business requirements, you can call the RollbackInstanceRefresh operation. When you roll back an instance refresh task, Auto Scaling creates new instances based on the active scaling configuration to replace the instances whose configurations are already updated by running the task.
|
|
45329
45821
|
*
|
|
45330
45822
|
* @param request - RollbackInstanceRefreshRequest
|
|
45331
45823
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -45372,7 +45864,7 @@ export default class Client extends OpenApi {
|
|
|
45372
45864
|
}
|
|
45373
45865
|
|
|
45374
45866
|
/**
|
|
45375
|
-
* Rolls back an instance refresh task. If
|
|
45867
|
+
* Rolls back an instance refresh task. If an instance refresh task cannot meet your business requirements, you can call the RollbackInstanceRefresh operation. When you roll back an instance refresh task, Auto Scaling creates new instances based on the active scaling configuration to replace the instances whose configurations are already updated by running the task.
|
|
45376
45868
|
*
|
|
45377
45869
|
* @param request - RollbackInstanceRefreshRequest
|
|
45378
45870
|
* @returns RollbackInstanceRefreshResponse
|
|
@@ -45681,13 +46173,13 @@ export default class Client extends OpenApi {
|
|
|
45681
46173
|
}
|
|
45682
46174
|
|
|
45683
46175
|
/**
|
|
45684
|
-
* Starts an instance refresh task. If you want to
|
|
46176
|
+
* Starts an instance refresh task. If you want to apply a new scaling configuration in a scaling group or update the image specified in a scaling configuration, you can call the StartInstanceRefresh operation.
|
|
45685
46177
|
*
|
|
45686
46178
|
* @remarks
|
|
45687
46179
|
* Only one instance refresh task can be executed at a time in a scaling group.
|
|
45688
|
-
* *
|
|
45689
|
-
* *
|
|
45690
|
-
* *
|
|
46180
|
+
* * You can start instance refresh tasks for Elastic Compute Service (ECS) instances in scaling groups that use the **priority policy** as the scaling policy. Scaling groups whose capacity is measured based on the **number of vCPUs** and scaling groups whose instance reclaim mode is **Economical Mode** or **Forcibly Recycle** do not support the StartInstanceRefresh operation.
|
|
46181
|
+
* * When you start an instance refresh task, scaling events can be completed as expected. Take note that instances that are scaled out use the configurations specified in the instance refresh task.
|
|
46182
|
+
* * The StartInstanceRefresh operation does not take effect on instances that are manually added or instances that are in the Standby and Protected states.
|
|
45691
46183
|
*
|
|
45692
46184
|
* @param request - StartInstanceRefreshRequest
|
|
45693
46185
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -45750,13 +46242,13 @@ export default class Client extends OpenApi {
|
|
|
45750
46242
|
}
|
|
45751
46243
|
|
|
45752
46244
|
/**
|
|
45753
|
-
* Starts an instance refresh task. If you want to
|
|
46245
|
+
* Starts an instance refresh task. If you want to apply a new scaling configuration in a scaling group or update the image specified in a scaling configuration, you can call the StartInstanceRefresh operation.
|
|
45754
46246
|
*
|
|
45755
46247
|
* @remarks
|
|
45756
46248
|
* Only one instance refresh task can be executed at a time in a scaling group.
|
|
45757
|
-
* *
|
|
45758
|
-
* *
|
|
45759
|
-
* *
|
|
46249
|
+
* * You can start instance refresh tasks for Elastic Compute Service (ECS) instances in scaling groups that use the **priority policy** as the scaling policy. Scaling groups whose capacity is measured based on the **number of vCPUs** and scaling groups whose instance reclaim mode is **Economical Mode** or **Forcibly Recycle** do not support the StartInstanceRefresh operation.
|
|
46250
|
+
* * When you start an instance refresh task, scaling events can be completed as expected. Take note that instances that are scaled out use the configurations specified in the instance refresh task.
|
|
46251
|
+
* * The StartInstanceRefresh operation does not take effect on instances that are manually added or instances that are in the Standby and Protected states.
|
|
45760
46252
|
*
|
|
45761
46253
|
* @param request - StartInstanceRefreshRequest
|
|
45762
46254
|
* @returns StartInstanceRefreshResponse
|
|
@@ -45767,7 +46259,7 @@ export default class Client extends OpenApi {
|
|
|
45767
46259
|
}
|
|
45768
46260
|
|
|
45769
46261
|
/**
|
|
45770
|
-
* Suspends an instance refresh task.
|
|
46262
|
+
* Suspends an instance refresh task. If you are not sure that you want to roll back an ongoing instance refresh task whose configurations you think has an issue, you can call the SuspendInstanceRefresh operation to suspend the task.
|
|
45771
46263
|
*
|
|
45772
46264
|
* @remarks
|
|
45773
46265
|
* You cannot call this operation to suspend an instance refresh task that is being rolled back.
|
|
@@ -45817,7 +46309,7 @@ export default class Client extends OpenApi {
|
|
|
45817
46309
|
}
|
|
45818
46310
|
|
|
45819
46311
|
/**
|
|
45820
|
-
* Suspends an instance refresh task.
|
|
46312
|
+
* Suspends an instance refresh task. If you are not sure that you want to roll back an ongoing instance refresh task whose configurations you think has an issue, you can call the SuspendInstanceRefresh operation to suspend the task.
|
|
45821
46313
|
*
|
|
45822
46314
|
* @remarks
|
|
45823
46315
|
* You cannot call this operation to suspend an instance refresh task that is being rolled back.
|
|
@@ -45893,7 +46385,7 @@ export default class Client extends OpenApi {
|
|
|
45893
46385
|
}
|
|
45894
46386
|
|
|
45895
46387
|
/**
|
|
45896
|
-
* Creates and
|
|
46388
|
+
* Creates and adds tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
|
|
45897
46389
|
*
|
|
45898
46390
|
* @remarks
|
|
45899
46391
|
* You can attach up to 20 tags to a scaling group.
|
|
@@ -45953,7 +46445,7 @@ export default class Client extends OpenApi {
|
|
|
45953
46445
|
}
|
|
45954
46446
|
|
|
45955
46447
|
/**
|
|
45956
|
-
* Creates and
|
|
46448
|
+
* Creates and adds tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
|
|
45957
46449
|
*
|
|
45958
46450
|
* @remarks
|
|
45959
46451
|
* You can attach up to 20 tags to a scaling group.
|
|
@@ -46039,7 +46531,7 @@ export default class Client extends OpenApi {
|
|
|
46039
46531
|
}
|
|
46040
46532
|
|
|
46041
46533
|
/**
|
|
46042
|
-
* Checks whether
|
|
46534
|
+
* Checks whether the specified Alibaba Cloud account assumes the AliyunServiceRoleForAutoScaling service-linked role. An account can be used to operate Elastic Compute Service (ECS) instances and elastic container instances only after it assumes the service-linked role.
|
|
46043
46535
|
*
|
|
46044
46536
|
* @param request - VerifyAuthenticationRequest
|
|
46045
46537
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -46086,7 +46578,7 @@ export default class Client extends OpenApi {
|
|
|
46086
46578
|
}
|
|
46087
46579
|
|
|
46088
46580
|
/**
|
|
46089
|
-
* Checks whether
|
|
46581
|
+
* Checks whether the specified Alibaba Cloud account assumes the AliyunServiceRoleForAutoScaling service-linked role. An account can be used to operate Elastic Compute Service (ECS) instances and elastic container instances only after it assumes the service-linked role.
|
|
46090
46582
|
*
|
|
46091
46583
|
* @param request - VerifyAuthenticationRequest
|
|
46092
46584
|
* @returns VerifyAuthenticationResponse
|