@alicloud/ess20220222 1.10.0 → 1.10.2

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.
Files changed (88) hide show
  1. package/dist/client.d.ts +56 -32
  2. package/dist/client.js +56 -32
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AttachServerGroupsRequest.d.ts +8 -7
  5. package/dist/models/AttachServerGroupsRequest.js.map +1 -1
  6. package/dist/models/CreateScalingConfigurationRequest.d.ts +17 -16
  7. package/dist/models/CreateScalingConfigurationRequest.js +2 -0
  8. package/dist/models/CreateScalingConfigurationRequest.js.map +1 -1
  9. package/dist/models/CreateScalingConfigurationShrinkRequest.d.ts +17 -16
  10. package/dist/models/CreateScalingConfigurationShrinkRequest.js +2 -0
  11. package/dist/models/CreateScalingConfigurationShrinkRequest.js.map +1 -1
  12. package/dist/models/CreateScalingGroupRequest.d.ts +8 -5
  13. package/dist/models/CreateScalingGroupRequest.js.map +1 -1
  14. package/dist/models/DeleteDiagnoseReportRequest.d.ts +4 -0
  15. package/dist/models/DeleteDiagnoseReportRequest.js.map +1 -1
  16. package/dist/models/DeleteDiagnoseReportResponseBody.d.ts +3 -0
  17. package/dist/models/DeleteDiagnoseReportResponseBody.js.map +1 -1
  18. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.d.ts +9 -0
  19. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js.map +1 -1
  20. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.d.ts +22 -0
  21. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js.map +1 -1
  22. package/dist/models/DescribeScalingActivityStatisticsRequest.d.ts +17 -0
  23. package/dist/models/DescribeScalingActivityStatisticsRequest.js.map +1 -1
  24. package/dist/models/DescribeScalingActivityStatisticsResponseBody.d.ts +32 -0
  25. package/dist/models/DescribeScalingActivityStatisticsResponseBody.js.map +1 -1
  26. package/dist/models/DescribeScalingConfigurationsResponseBody.d.ts +1 -0
  27. package/dist/models/DescribeScalingConfigurationsResponseBody.js +2 -0
  28. package/dist/models/DescribeScalingConfigurationsResponseBody.js.map +1 -1
  29. package/dist/models/DescribeScalingGroupDetailResponseBody.d.ts +2 -1
  30. package/dist/models/DescribeScalingGroupDetailResponseBody.js.map +1 -1
  31. package/dist/models/DescribeScalingGroupsResponseBody.d.ts +4 -3
  32. package/dist/models/DescribeScalingGroupsResponseBody.js.map +1 -1
  33. package/dist/models/DetachServerGroupsRequest.d.ts +2 -1
  34. package/dist/models/DetachServerGroupsRequest.js.map +1 -1
  35. package/dist/models/ModifyAlarmRequest.d.ts +21 -20
  36. package/dist/models/ModifyAlarmRequest.js.map +1 -1
  37. package/dist/models/ModifyScalingConfigurationRequest.d.ts +18 -17
  38. package/dist/models/ModifyScalingConfigurationRequest.js +2 -0
  39. package/dist/models/ModifyScalingConfigurationRequest.js.map +1 -1
  40. package/dist/models/ModifyScalingConfigurationShrinkRequest.d.ts +18 -17
  41. package/dist/models/ModifyScalingConfigurationShrinkRequest.js +2 -0
  42. package/dist/models/ModifyScalingConfigurationShrinkRequest.js.map +1 -1
  43. package/dist/models/ModifyScalingGroupRequest.d.ts +20 -13
  44. package/dist/models/ModifyScalingGroupRequest.js.map +1 -1
  45. package/dist/models/QueryHistoricalMetricRequest.d.ts +18 -0
  46. package/dist/models/QueryHistoricalMetricRequest.js.map +1 -1
  47. package/dist/models/QueryHistoricalMetricResponseBody.d.ts +13 -0
  48. package/dist/models/QueryHistoricalMetricResponseBody.js.map +1 -1
  49. package/dist/models/QueryPredictiveMetricRequest.d.ts +18 -0
  50. package/dist/models/QueryPredictiveMetricRequest.js.map +1 -1
  51. package/dist/models/QueryPredictiveMetricResponseBody.d.ts +13 -0
  52. package/dist/models/QueryPredictiveMetricResponseBody.js.map +1 -1
  53. package/dist/models/QueryPredictiveTaskInfoRequest.d.ts +12 -0
  54. package/dist/models/QueryPredictiveTaskInfoRequest.js.map +1 -1
  55. package/dist/models/QueryPredictiveTaskInfoResponseBody.d.ts +16 -0
  56. package/dist/models/QueryPredictiveTaskInfoResponseBody.js.map +1 -1
  57. package/dist/models/QueryPredictiveValueRequest.d.ts +20 -0
  58. package/dist/models/QueryPredictiveValueRequest.js.map +1 -1
  59. package/dist/models/QueryPredictiveValueResponseBody.d.ts +13 -0
  60. package/dist/models/QueryPredictiveValueResponseBody.js.map +1 -1
  61. package/package.json +1 -1
  62. package/src/client.ts +56 -32
  63. package/src/models/AttachServerGroupsRequest.ts +8 -7
  64. package/src/models/CreateScalingConfigurationRequest.ts +19 -16
  65. package/src/models/CreateScalingConfigurationShrinkRequest.ts +19 -16
  66. package/src/models/CreateScalingGroupRequest.ts +8 -5
  67. package/src/models/DeleteDiagnoseReportRequest.ts +4 -0
  68. package/src/models/DeleteDiagnoseReportResponseBody.ts +3 -0
  69. package/src/models/DescribeInstanceCreateAndDeleteStatisticsRequest.ts +9 -0
  70. package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.ts +22 -0
  71. package/src/models/DescribeScalingActivityStatisticsRequest.ts +17 -0
  72. package/src/models/DescribeScalingActivityStatisticsResponseBody.ts +32 -0
  73. package/src/models/DescribeScalingConfigurationsResponseBody.ts +3 -0
  74. package/src/models/DescribeScalingGroupDetailResponseBody.ts +2 -1
  75. package/src/models/DescribeScalingGroupsResponseBody.ts +4 -3
  76. package/src/models/DetachServerGroupsRequest.ts +2 -1
  77. package/src/models/ModifyAlarmRequest.ts +21 -20
  78. package/src/models/ModifyScalingConfigurationRequest.ts +20 -17
  79. package/src/models/ModifyScalingConfigurationShrinkRequest.ts +20 -17
  80. package/src/models/ModifyScalingGroupRequest.ts +20 -13
  81. package/src/models/QueryHistoricalMetricRequest.ts +18 -0
  82. package/src/models/QueryHistoricalMetricResponseBody.ts +13 -0
  83. package/src/models/QueryPredictiveMetricRequest.ts +18 -0
  84. package/src/models/QueryPredictiveMetricResponseBody.ts +13 -0
  85. package/src/models/QueryPredictiveTaskInfoRequest.ts +12 -0
  86. package/src/models/QueryPredictiveTaskInfoResponseBody.ts +16 -0
  87. package/src/models/QueryPredictiveValueRequest.ts +20 -0
  88. package/src/models/QueryPredictiveValueResponseBody.ts +13 -0
@@ -828,13 +828,13 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $dara
828
828
  export class CreateScalingConfigurationRequestInstanceTypeOverrides extends $dara.Model {
829
829
  /**
830
830
  * @remarks
831
- * Instance type N that you want to use to override the instance type that is specified in the launch template.
831
+ * If you want to scale instances in the scaling group based on the weight of an instance type, you must specify this property and WeightedCapacity.
832
832
  *
833
- * If you want to trigger scale-outs based on the weighted capacities of instances, specify InstanceType and WeightedCapacity at the same time. You can specify N instance types by using the Extended Configurations feature. Valid values of N: 1 to 10.
833
+ * The instance type specified by using this parameter overwrites the instance type of the launch template. You can specify N instance types by using the Extend Launch Template feature. You can specify 1 to 10 memory sizes, indicated by N.
834
834
  *
835
- * > This parameter takes effect only if you specify LaunchTemplateId.
835
+ * > This parameter takes effect only if you specify LaunchTemplateId.
836
836
  *
837
- * You can specify an instance type that is available for purchase as the value of InstanceType.
837
+ * You can use this parameter to specify any instance types that are available for purchase.
838
838
  *
839
839
  * @example
840
840
  * ecs.c5.xlarge
@@ -842,21 +842,21 @@ export class CreateScalingConfigurationRequestInstanceTypeOverrides extends $dar
842
842
  instanceType?: string;
843
843
  /**
844
844
  * @remarks
845
- * The weight of instance type N. If you want to trigger scale-outs based on the weighted capacities of instances, you must specify WeightedCapacity after you specify InstanceType.
845
+ * If you need to specify the capacity of the instance type in the scaling configuration, you must specify this parameter after you specify InstanceTypeOverrides.InstanceType.
846
846
  *
847
- * The weight of an instance type specifies the capacity of an instance of the instance type in the scaling group. A higher weight specifies that a smaller number of instances of the specified instance type is required to meet the expected capacity requirement.
847
+ * The weight specifies the capacity of an instance of the specified instance type in the scaling group. A higher weight specifies that a smaller number of instances of the specified instance type are required to meet the expected capacity requirement.
848
848
  *
849
- * Performance metrics, such as the number of vCPUs and the memory size of each instance type, may vary. You can specify different weights for different instance types based on your business requirements.
849
+ * Performance metrics such as the number of vCPUs and memory size vary with each instance type. You can specify different weights for different instance types based on your business requirements.
850
850
  *
851
- * Example:
851
+ * For example:
852
852
  *
853
- * * Current capacity: 0
853
+ * * Current capacity: 0.
854
854
  * * Expected capacity: 6
855
- * * Capacity of ecs.c5.xlarge: 4
855
+ * * Capacity of ecs.c5.xlarge: 4.
856
856
  *
857
- * To meet the expected capacity requirement, Auto Scaling must create and add two ecs.c5.xlarge instances.
857
+ * To reach the expected capacity, Auto Scaling must scale out two instances of ecs.c5.xlarge.
858
858
  *
859
- * > The capacity of the scaling group cannot exceed the sum of the maximum number of instances that is specified by MaxSize and the maximum weight of the instance types.
859
+ * > The total capacity of the scaling group is constrained and cannot surpass the combined total of the maximum group size defined by MaxSize and the highest weight assigned to any instance type.
860
860
  *
861
861
  * Valid values of WeightedCapacity: 1 to 500.
862
862
  *
@@ -903,12 +903,14 @@ export class CreateScalingConfigurationRequestNetworkInterfaces extends $dara.Mo
903
903
  * HighPerformance
904
904
  */
905
905
  networkInterfaceTrafficMode?: string;
906
+ secondaryPrivateIpAddressCount?: number;
906
907
  securityGroupIds?: string[];
907
908
  static names(): { [key: string]: string } {
908
909
  return {
909
910
  instanceType: 'InstanceType',
910
911
  ipv6AddressCount: 'Ipv6AddressCount',
911
912
  networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
913
+ secondaryPrivateIpAddressCount: 'SecondaryPrivateIpAddressCount',
912
914
  securityGroupIds: 'SecurityGroupIds',
913
915
  };
914
916
  }
@@ -918,6 +920,7 @@ export class CreateScalingConfigurationRequestNetworkInterfaces extends $dara.Mo
918
920
  instanceType: 'string',
919
921
  ipv6AddressCount: 'number',
920
922
  networkInterfaceTrafficMode: 'string',
923
+ secondaryPrivateIpAddressCount: 'number',
921
924
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
922
925
  };
923
926
  }
@@ -1016,7 +1019,7 @@ export class CreateScalingConfigurationRequestSecurityOptions extends $dara.Mode
1016
1019
  export class CreateScalingConfigurationRequestSpotPriceLimits extends $dara.Model {
1017
1020
  /**
1018
1021
  * @remarks
1019
- * The instance type of the preemptible instance. This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit.
1022
+ * The instance type of the spot instances. This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit.
1020
1023
  *
1021
1024
  * @example
1022
1025
  * ecs.g6.large
@@ -1024,7 +1027,7 @@ export class CreateScalingConfigurationRequestSpotPriceLimits extends $dara.Mode
1024
1027
  instanceType?: string;
1025
1028
  /**
1026
1029
  * @remarks
1027
- * The price limit of the preemptible instance. This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit.
1030
+ * The price limit of the spot instances. This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit.
1028
1031
  *
1029
1032
  * @example
1030
1033
  * 0.5
@@ -1258,7 +1261,7 @@ export class CreateScalingConfigurationRequest extends $dara.Model {
1258
1261
  instanceType?: string;
1259
1262
  /**
1260
1263
  * @remarks
1261
- * The instance types.
1264
+ * The information about instance types.
1262
1265
  */
1263
1266
  instanceTypeOverrides?: CreateScalingConfigurationRequestInstanceTypeOverrides[];
1264
1267
  /**
@@ -1486,7 +1489,7 @@ export class CreateScalingConfigurationRequest extends $dara.Model {
1486
1489
  spotInterruptionBehavior?: string;
1487
1490
  /**
1488
1491
  * @remarks
1489
- * The billing information of the preemptible instances.
1492
+ * The billing information of the spot instances.
1490
1493
  */
1491
1494
  spotPriceLimits?: CreateScalingConfigurationRequestSpotPriceLimits[];
1492
1495
  /**
@@ -828,13 +828,13 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
828
828
  export class CreateScalingConfigurationShrinkRequestInstanceTypeOverrides extends $dara.Model {
829
829
  /**
830
830
  * @remarks
831
- * Instance type N that you want to use to override the instance type that is specified in the launch template.
831
+ * If you want to scale instances in the scaling group based on the weight of an instance type, you must specify this property and WeightedCapacity.
832
832
  *
833
- * If you want to trigger scale-outs based on the weighted capacities of instances, specify InstanceType and WeightedCapacity at the same time. You can specify N instance types by using the Extended Configurations feature. Valid values of N: 1 to 10.
833
+ * The instance type specified by using this parameter overwrites the instance type of the launch template. You can specify N instance types by using the Extend Launch Template feature. You can specify 1 to 10 memory sizes, indicated by N.
834
834
  *
835
- * > This parameter takes effect only if you specify LaunchTemplateId.
835
+ * > This parameter takes effect only if you specify LaunchTemplateId.
836
836
  *
837
- * You can specify an instance type that is available for purchase as the value of InstanceType.
837
+ * You can use this parameter to specify any instance types that are available for purchase.
838
838
  *
839
839
  * @example
840
840
  * ecs.c5.xlarge
@@ -842,21 +842,21 @@ export class CreateScalingConfigurationShrinkRequestInstanceTypeOverrides extend
842
842
  instanceType?: string;
843
843
  /**
844
844
  * @remarks
845
- * The weight of instance type N. If you want to trigger scale-outs based on the weighted capacities of instances, you must specify WeightedCapacity after you specify InstanceType.
845
+ * If you need to specify the capacity of the instance type in the scaling configuration, you must specify this parameter after you specify InstanceTypeOverrides.InstanceType.
846
846
  *
847
- * The weight of an instance type specifies the capacity of an instance of the instance type in the scaling group. A higher weight specifies that a smaller number of instances of the specified instance type is required to meet the expected capacity requirement.
847
+ * The weight specifies the capacity of an instance of the specified instance type in the scaling group. A higher weight specifies that a smaller number of instances of the specified instance type are required to meet the expected capacity requirement.
848
848
  *
849
- * Performance metrics, such as the number of vCPUs and the memory size of each instance type, may vary. You can specify different weights for different instance types based on your business requirements.
849
+ * Performance metrics such as the number of vCPUs and memory size vary with each instance type. You can specify different weights for different instance types based on your business requirements.
850
850
  *
851
- * Example:
851
+ * For example:
852
852
  *
853
- * * Current capacity: 0
853
+ * * Current capacity: 0.
854
854
  * * Expected capacity: 6
855
- * * Capacity of ecs.c5.xlarge: 4
855
+ * * Capacity of ecs.c5.xlarge: 4.
856
856
  *
857
- * To meet the expected capacity requirement, Auto Scaling must create and add two ecs.c5.xlarge instances.
857
+ * To reach the expected capacity, Auto Scaling must scale out two instances of ecs.c5.xlarge.
858
858
  *
859
- * > The capacity of the scaling group cannot exceed the sum of the maximum number of instances that is specified by MaxSize and the maximum weight of the instance types.
859
+ * > The total capacity of the scaling group is constrained and cannot surpass the combined total of the maximum group size defined by MaxSize and the highest weight assigned to any instance type.
860
860
  *
861
861
  * Valid values of WeightedCapacity: 1 to 500.
862
862
  *
@@ -903,12 +903,14 @@ export class CreateScalingConfigurationShrinkRequestNetworkInterfaces extends $d
903
903
  * HighPerformance
904
904
  */
905
905
  networkInterfaceTrafficMode?: string;
906
+ secondaryPrivateIpAddressCount?: number;
906
907
  securityGroupIds?: string[];
907
908
  static names(): { [key: string]: string } {
908
909
  return {
909
910
  instanceType: 'InstanceType',
910
911
  ipv6AddressCount: 'Ipv6AddressCount',
911
912
  networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
913
+ secondaryPrivateIpAddressCount: 'SecondaryPrivateIpAddressCount',
912
914
  securityGroupIds: 'SecurityGroupIds',
913
915
  };
914
916
  }
@@ -918,6 +920,7 @@ export class CreateScalingConfigurationShrinkRequestNetworkInterfaces extends $d
918
920
  instanceType: 'string',
919
921
  ipv6AddressCount: 'number',
920
922
  networkInterfaceTrafficMode: 'string',
923
+ secondaryPrivateIpAddressCount: 'number',
921
924
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
922
925
  };
923
926
  }
@@ -1016,7 +1019,7 @@ export class CreateScalingConfigurationShrinkRequestSecurityOptions extends $dar
1016
1019
  export class CreateScalingConfigurationShrinkRequestSpotPriceLimits extends $dara.Model {
1017
1020
  /**
1018
1021
  * @remarks
1019
- * The instance type of the preemptible instance. This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit.
1022
+ * The instance type of the spot instances. This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit.
1020
1023
  *
1021
1024
  * @example
1022
1025
  * ecs.g6.large
@@ -1024,7 +1027,7 @@ export class CreateScalingConfigurationShrinkRequestSpotPriceLimits extends $dar
1024
1027
  instanceType?: string;
1025
1028
  /**
1026
1029
  * @remarks
1027
- * The price limit of the preemptible instance. This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit.
1030
+ * The price limit of the spot instances. This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit.
1028
1031
  *
1029
1032
  * @example
1030
1033
  * 0.5
@@ -1258,7 +1261,7 @@ export class CreateScalingConfigurationShrinkRequest extends $dara.Model {
1258
1261
  instanceType?: string;
1259
1262
  /**
1260
1263
  * @remarks
1261
- * The instance types.
1264
+ * The information about instance types.
1262
1265
  */
1263
1266
  instanceTypeOverrides?: CreateScalingConfigurationShrinkRequestInstanceTypeOverrides[];
1264
1267
  /**
@@ -1486,7 +1489,7 @@ export class CreateScalingConfigurationShrinkRequest extends $dara.Model {
1486
1489
  spotInterruptionBehavior?: string;
1487
1490
  /**
1488
1491
  * @remarks
1489
- * The billing information of the preemptible instances.
1492
+ * The billing information of the spot instances.
1490
1493
  */
1491
1494
  spotPriceLimits?: CreateScalingConfigurationShrinkRequestSpotPriceLimits[];
1492
1495
  /**
@@ -442,10 +442,11 @@ export class CreateScalingGroupRequestServerGroups extends $dara.Model {
442
442
  serverGroupId?: string;
443
443
  /**
444
444
  * @remarks
445
- * The type of the server group. Valid values:
445
+ * The type of server group N. Valid Values:
446
446
  *
447
447
  * * ALB
448
448
  * * NLB
449
+ * * GWLB
449
450
  *
450
451
  * @example
451
452
  * ALB
@@ -455,7 +456,9 @@ export class CreateScalingGroupRequestServerGroups extends $dara.Model {
455
456
  * @remarks
456
457
  * The weight of each ECS instance as a backend server in the server group. Valid values: 0 to 100.
457
458
  *
458
- * If you increase the weight for an ECS instance, the number of requests that are forwarded to the ECS instance also increases. If you set the weight for an ECS instance to 0, no requests are forwarded to the ECS instance.
459
+ * The higher the weight, the more access requests the instance will be assigned. If the weight is 0, the instance will not receive any access requests.
460
+ *
461
+ * > For ALB and NLB types, this parameter is required. GWLB type cannot be set.
459
462
  *
460
463
  * @example
461
464
  * 100
@@ -1033,9 +1036,9 @@ export class CreateScalingGroupRequest extends $dara.Model {
1033
1036
  scalingPolicy?: string;
1034
1037
  /**
1035
1038
  * @remarks
1036
- * The server groups.
1039
+ * The information about the server groups.
1037
1040
  *
1038
- * > You cannot use AlbServerGroups and ServerGroups to specify the same server group.
1041
+ * > You cannot use AlbServerGroups and ServerGroups to specify the same server group.
1039
1042
  */
1040
1043
  serverGroups?: CreateScalingGroupRequestServerGroups[];
1041
1044
  /**
@@ -1093,7 +1096,7 @@ export class CreateScalingGroupRequest extends $dara.Model {
1093
1096
  syncAlarmRuleToCms?: boolean;
1094
1097
  /**
1095
1098
  * @remarks
1096
- * The information about the tags of the scaling group.
1099
+ * The collection of tag information for the scaling group.
1097
1100
  */
1098
1101
  tags?: CreateScalingGroupRequestTags[];
1099
1102
  /**
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteDiagnoseReportRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The region ID
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class DeleteDiagnoseReportRequest extends $dara.Model {
13
15
  regionId?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The ID of the diagnostic report.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DeleteDiagnoseReportResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
7
10
  * @example
8
11
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
9
12
  */
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeInstanceCreateAndDeleteStatisticsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The end time of the statistical interval. The time follows the ISO 8601 standard and uses UTC time.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -14,6 +16,8 @@ export class DescribeInstanceCreateAndDeleteStatisticsRequest extends $dara.Mode
14
16
  ownerId?: number;
15
17
  /**
16
18
  * @remarks
19
+ * The region ID
20
+ *
17
21
  * This parameter is required.
18
22
  *
19
23
  * @example
@@ -23,12 +27,17 @@ export class DescribeInstanceCreateAndDeleteStatisticsRequest extends $dara.Mode
23
27
  resourceOwnerAccount?: string;
24
28
  resourceOwnerId?: number;
25
29
  /**
30
+ * @remarks
31
+ * The ID of the scaling group.
32
+ *
26
33
  * @example
27
34
  * asg-2ze4057nqfbxxxxxxxx
28
35
  */
29
36
  scalingGroupId?: string;
30
37
  /**
31
38
  * @remarks
39
+ * The start time of the statistical interval. The time follows the ISO 8601 standard and uses UTC time.
40
+ *
32
41
  * This parameter is required.
33
42
  *
34
43
  * @example
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatisticsStatistic extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The number of new instances.
9
+ *
7
10
  * @example
8
11
  * 12
9
12
  */
10
13
  createdVmCount?: number;
11
14
  /**
15
+ * @remarks
16
+ * The number of released instances.
17
+ *
12
18
  * @example
13
19
  * 34
14
20
  */
15
21
  destroyedVmCount?: number;
16
22
  /**
23
+ * @remarks
24
+ * The number of instances that are started from economical mode.
25
+ *
17
26
  * @example
18
27
  * 5
19
28
  */
20
29
  startedVmCount?: number;
21
30
  /**
31
+ * @remarks
32
+ * The number of instances that are stopped in economical mode.
33
+ *
22
34
  * @example
23
35
  * 10
24
36
  */
25
37
  stoppedVmCount?: number;
26
38
  /**
39
+ * @remarks
40
+ * The time when the statistics are generated. The time is in UTC. Format: yyyyMMddHH.
41
+ *
27
42
  * @example
28
43
  * 2025121623
29
44
  */
@@ -84,8 +99,15 @@ export class DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreate
84
99
  }
85
100
 
86
101
  export class DescribeInstanceCreateAndDeleteStatisticsResponseBody extends $dara.Model {
102
+ /**
103
+ * @remarks
104
+ * Metrics for instance creation and deletion.
105
+ */
87
106
  instanceCreateAndDeleteStatistics?: DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatistics;
88
107
  /**
108
+ * @remarks
109
+ * The request ID.
110
+ *
89
111
  * @example
90
112
  * 086EFCD4-C76F-4DC6-9EE9-0D9B711E****
91
113
  */
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeScalingActivityStatisticsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The end time of the statistical interval. The time follows the ISO 8601 standard and uses UTC time.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -12,6 +14,14 @@ export class DescribeScalingActivityStatisticsRequest extends $dara.Model {
12
14
  */
13
15
  endTime?: string;
14
16
  /**
17
+ * @remarks
18
+ * The name of the metric on which the scaling activity is counted. Valid values:
19
+ *
20
+ * * ScalingActivityStatus: collects statistics on the distribution of scaling activities in different states within a time range.
21
+ * * ScalingActivityErrorCodes: the distribution of error codes in failed scaling activities within a time range.
22
+ *
23
+ * Default value: ScalingActivityStatus.
24
+ *
15
25
  * @example
16
26
  * ScalingActivityStatus
17
27
  */
@@ -19,6 +29,8 @@ export class DescribeScalingActivityStatisticsRequest extends $dara.Model {
19
29
  ownerId?: number;
20
30
  /**
21
31
  * @remarks
32
+ * The region ID.
33
+ *
22
34
  * This parameter is required.
23
35
  *
24
36
  * @example
@@ -28,12 +40,17 @@ export class DescribeScalingActivityStatisticsRequest extends $dara.Model {
28
40
  resourceOwnerAccount?: string;
29
41
  resourceOwnerId?: number;
30
42
  /**
43
+ * @remarks
44
+ * The ID of the scaling group.
45
+ *
31
46
  * @example
32
47
  * asg-8vbje5pofxxxxxxxx
33
48
  */
34
49
  scalingGroupId?: string;
35
50
  /**
36
51
  * @remarks
52
+ * The start time of the statistical interval. The time follows the ISO 8601 standard and uses UTC time.
53
+ *
37
54
  * This parameter is required.
38
55
  *
39
56
  * @example
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatisticsErrorStatistic extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The number of failed scaling activities.
9
+ *
7
10
  * @example
8
11
  * 4
9
12
  */
10
13
  count?: number;
11
14
  /**
15
+ * @remarks
16
+ * Scaling Activity Error Codes
17
+ *
12
18
  * @example
13
19
  * QuotaExceeded.PrivateIpAddress
14
20
  */
15
21
  errorCode?: string;
16
22
  /**
23
+ * @remarks
24
+ * The time when the statistics are generated. The time is in UTC. Format: yyyyMMddHH.
25
+ *
17
26
  * @example
18
27
  * 2025121623
19
28
  */
@@ -71,21 +80,33 @@ export class DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCo
71
80
 
72
81
  export class DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatisticsStatistic extends $dara.Model {
73
82
  /**
83
+ * @remarks
84
+ * The number of failed scaling activities.
85
+ *
74
86
  * @example
75
87
  * 1
76
88
  */
77
89
  failedActivityCount?: number;
78
90
  /**
91
+ * @remarks
92
+ * The number of successful scaling activities.
93
+ *
79
94
  * @example
80
95
  * 10
81
96
  */
82
97
  successActivityCount?: number;
83
98
  /**
99
+ * @remarks
100
+ * The time when the statistics are generated. The time is in UTC. Format: yyyyMMddHH.
101
+ *
84
102
  * @example
85
103
  * 2025121623
86
104
  */
87
105
  time?: string;
88
106
  /**
107
+ * @remarks
108
+ * The number of partially executed scaling activities.
109
+ *
89
110
  * @example
90
111
  * 2
91
112
  */
@@ -145,11 +166,22 @@ export class DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusS
145
166
 
146
167
  export class DescribeScalingActivityStatisticsResponseBody extends $dara.Model {
147
168
  /**
169
+ * @remarks
170
+ * Request ID.
171
+ *
148
172
  * @example
149
173
  * A8F44B4D-BAB4-5176-8705-5984xxxxx
150
174
  */
151
175
  requestId?: string;
176
+ /**
177
+ * @remarks
178
+ * The error message statistics of the scaling activity.
179
+ */
152
180
  scalingActivityErrorCodeStatistics?: DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatistics;
181
+ /**
182
+ * @remarks
183
+ * The statistical metrics of the scaling activity status.
184
+ */
153
185
  scalingActivityStatusStatistics?: DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatistics;
154
186
  static names(): { [key: string]: string } {
155
187
  return {
@@ -557,6 +557,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetwo
557
557
  * HighPerformance
558
558
  */
559
559
  networkInterfaceTrafficMode?: string;
560
+ secondaryPrivateIpAddressCount?: number;
560
561
  /**
561
562
  * @remarks
562
563
  * The IDs of the security groups to which the ENIs belong.
@@ -567,6 +568,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetwo
567
568
  instanceType: 'InstanceType',
568
569
  ipv6AddressCount: 'Ipv6AddressCount',
569
570
  networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
571
+ secondaryPrivateIpAddressCount: 'SecondaryPrivateIpAddressCount',
570
572
  securityGroupIds: 'SecurityGroupIds',
571
573
  };
572
574
  }
@@ -576,6 +578,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetwo
576
578
  instanceType: 'string',
577
579
  ipv6AddressCount: 'number',
578
580
  networkInterfaceTrafficMode: 'string',
581
+ secondaryPrivateIpAddressCount: 'number',
579
582
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
580
583
  };
581
584
  }
@@ -167,6 +167,7 @@ export class DescribeScalingGroupDetailResponseBodyScalingGroupServerGroups exte
167
167
  *
168
168
  * * ALB
169
169
  * * NLB
170
+ * * GWLB
170
171
  *
171
172
  * @example
172
173
  * ALB
@@ -745,7 +746,7 @@ export class DescribeScalingGroupDetailResponseBodyScalingGroup extends $dara.Mo
745
746
  * @remarks
746
747
  * The information about the server groups.
747
748
  *
748
- * > You can use this parameter to obtain information about ALB server groups and Network Load Balancer (NLB) server groups attached to your scaling group.
749
+ * > You can use this parameter to obtain the information about the ALB, NLB, and GWLB server groups associated with a scaling group.
749
750
  */
750
751
  serverGroups?: DescribeScalingGroupDetailResponseBodyScalingGroupServerGroups[];
751
752
  /**
@@ -283,7 +283,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsLoadBalancerConfigs e
283
283
  export class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups extends $dara.Model {
284
284
  /**
285
285
  * @remarks
286
- * The port number used by an ECS instance as a backend server in the server group.
286
+ * The port number used by each ECS instance in the server group.
287
287
  *
288
288
  * @example
289
289
  * 80
@@ -303,6 +303,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups extends
303
303
  *
304
304
  * * ALB
305
305
  * * NLB
306
+ * * GWLB
306
307
  *
307
308
  * @example
308
309
  * ALB
@@ -907,9 +908,9 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $dara.Model
907
908
  scalingPolicy?: string;
908
909
  /**
909
910
  * @remarks
910
- * The server groups.
911
+ * The information about the server groups.
911
912
  *
912
- * > You can use this parameter to obtain information about ALB server groups and Network Load Balancer (NLB) server groups attached to the scaling group.
913
+ * > You can use this parameter to obtain the information about the ALB, NLB, and GWLB server groups associated with a scaling group.
913
914
  */
914
915
  serverGroups?: DescribeScalingGroupsResponseBodyScalingGroupsServerGroups[];
915
916
  /**
@@ -7,7 +7,7 @@ export class DetachServerGroupsRequestServerGroups extends $dara.Model {
7
7
  * @remarks
8
8
  * The port used by ECS instances or elastic container instances as backend servers of the server group.
9
9
  *
10
- * This parameter is required.
10
+ * > For ALB and NLB types, this parameter is required. GWLB type cannot set this parameter and the default value is 6081.
11
11
  *
12
12
  * @example
13
13
  * 22
@@ -29,6 +29,7 @@ export class DetachServerGroupsRequestServerGroups extends $dara.Model {
29
29
  *
30
30
  * * ALB
31
31
  * * NLB
32
+ * * GWLB
32
33
  *
33
34
  * This parameter is required.
34
35
  *