@alicloud/ess20220222 1.8.9 → 1.8.11

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/src/client.ts CHANGED
@@ -2439,15 +2439,22 @@ export class CreateScalingConfigurationRequestSystemDisk extends $dara.Model {
2439
2439
  * @remarks
2440
2440
  * The size of the system disk. Unit: GiB.
2441
2441
  *
2442
- * * If you set SystemDisk.Category cloud: 20 to 500.
2443
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
2444
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
2445
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
2446
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
2442
+ * * Basic disk: 20 to 500.
2447
2443
  *
2448
- * The value of SystemDisk.Size must be greater than or equal to the value of max{20, ImageSize}.
2444
+ * * ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD.
2449
2445
  *
2450
- * Default value: 40 or the size of the image, whichever is greater.
2446
+ * * PL0 ESSD: 1 to 2048.
2447
+ * * PL1 ESSD: 20 to 2048.
2448
+ * * PL2 ESSD: 461 to 2048.
2449
+ * * PL3 ESSD: 1261 to 2048.
2450
+ *
2451
+ * * ESSD AutoPL disk (cloud_auto): 1 to 2048.
2452
+ *
2453
+ * * Other disk categories: 20 to 2048.
2454
+ *
2455
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
2456
+ *
2457
+ * Default value: 40 or the size of the image, whichever is larger.
2451
2458
  *
2452
2459
  * @example
2453
2460
  * 100
@@ -3437,15 +3444,22 @@ export class CreateScalingConfigurationShrinkRequestSystemDisk extends $dara.Mod
3437
3444
  * @remarks
3438
3445
  * The size of the system disk. Unit: GiB.
3439
3446
  *
3440
- * * If you set SystemDisk.Category cloud: 20 to 500.
3441
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
3442
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
3443
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
3444
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
3447
+ * * Basic disk: 20 to 500.
3448
+ *
3449
+ * * ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD.
3445
3450
  *
3446
- * The value of SystemDisk.Size must be greater than or equal to the value of max{20, ImageSize}.
3451
+ * * PL0 ESSD: 1 to 2048.
3452
+ * * PL1 ESSD: 20 to 2048.
3453
+ * * PL2 ESSD: 461 to 2048.
3454
+ * * PL3 ESSD: 1261 to 2048.
3447
3455
  *
3448
- * Default value: 40 or the size of the image, whichever is greater.
3456
+ * * ESSD AutoPL disk (cloud_auto): 1 to 2048.
3457
+ *
3458
+ * * Other disk categories: 20 to 2048.
3459
+ *
3460
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
3461
+ *
3462
+ * Default value: 40 or the size of the image, whichever is larger.
3449
3463
  *
3450
3464
  * @example
3451
3465
  * 100
@@ -4321,6 +4335,11 @@ export class CreateScalingGroupRequestCapacityOptions extends $dara.Model {
4321
4335
  * 20
4322
4336
  */
4323
4337
  onDemandPercentageAboveBaseCapacity?: number;
4338
+ /**
4339
+ * @example
4340
+ * PricePerUnit
4341
+ */
4342
+ priceComparisonMode?: string;
4324
4343
  /**
4325
4344
  * @remarks
4326
4345
  * 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:
@@ -4339,6 +4358,7 @@ export class CreateScalingGroupRequestCapacityOptions extends $dara.Model {
4339
4358
  compensateWithOnDemand: 'CompensateWithOnDemand',
4340
4359
  onDemandBaseCapacity: 'OnDemandBaseCapacity',
4341
4360
  onDemandPercentageAboveBaseCapacity: 'OnDemandPercentageAboveBaseCapacity',
4361
+ priceComparisonMode: 'PriceComparisonMode',
4342
4362
  spotAutoReplaceOnDemand: 'SpotAutoReplaceOnDemand',
4343
4363
  };
4344
4364
  }
@@ -4348,6 +4368,7 @@ export class CreateScalingGroupRequestCapacityOptions extends $dara.Model {
4348
4368
  compensateWithOnDemand: 'boolean',
4349
4369
  onDemandBaseCapacity: 'number',
4350
4370
  onDemandPercentageAboveBaseCapacity: 'number',
4371
+ priceComparisonMode: 'string',
4351
4372
  spotAutoReplaceOnDemand: 'boolean',
4352
4373
  };
4353
4374
  }
@@ -4706,7 +4727,7 @@ export class CreateScalingGroupRequestServerGroups extends $dara.Model {
4706
4727
  export class CreateScalingGroupRequestTags extends $dara.Model {
4707
4728
  /**
4708
4729
  * @remarks
4709
- * The tag key.
4730
+ * The tag key that you want to add to the scaling group.
4710
4731
  *
4711
4732
  * @example
4712
4733
  * Department
@@ -4714,10 +4735,10 @@ export class CreateScalingGroupRequestTags extends $dara.Model {
4714
4735
  key?: string;
4715
4736
  /**
4716
4737
  * @remarks
4717
- * Specifies whether to propagate the tag that you want to add. Valid values:
4738
+ * Specifies whether to propagate the tag that you want to add to the scaling group. Valid values:
4718
4739
  *
4719
- * * true: propagates the tag to new instances.
4720
- * * false: does not propagate the tag to any instance.
4740
+ * * true: propagates the tag to only instances that are newly created.
4741
+ * * false: does not propagate the tag to any instances.
4721
4742
  *
4722
4743
  * Default value: false.
4723
4744
  *
@@ -4727,7 +4748,7 @@ export class CreateScalingGroupRequestTags extends $dara.Model {
4727
4748
  propagate?: boolean;
4728
4749
  /**
4729
4750
  * @remarks
4730
- * The tag value.
4751
+ * The tag value that you want to add to the scaling group.
4731
4752
  *
4732
4753
  * @example
4733
4754
  * Finance
@@ -4891,7 +4912,21 @@ export class CreateScalingRuleRequestAlarmDimensions extends $dara.Model {
4891
4912
  }
4892
4913
 
4893
4914
  export class CreateScalingRuleRequestHybridMetricsDimensions extends $dara.Model {
4915
+ /**
4916
+ * @remarks
4917
+ * The key of the metric dimension.
4918
+ *
4919
+ * @example
4920
+ * queue
4921
+ */
4894
4922
  dimensionKey?: string;
4923
+ /**
4924
+ * @remarks
4925
+ * The value of the metric dimension.
4926
+ *
4927
+ * @example
4928
+ * testQueue
4929
+ */
4895
4930
  dimensionValue?: string;
4896
4931
  static names(): { [key: string]: string } {
4897
4932
  return {
@@ -4917,10 +4952,48 @@ export class CreateScalingRuleRequestHybridMetricsDimensions extends $dara.Model
4917
4952
  }
4918
4953
 
4919
4954
  export class CreateScalingRuleRequestHybridMetrics extends $dara.Model {
4955
+ /**
4956
+ * @remarks
4957
+ * The metric dimensions. You can use this parameter to specify the monitored resources.
4958
+ */
4920
4959
  dimensions?: CreateScalingRuleRequestHybridMetricsDimensions[];
4960
+ /**
4961
+ * @remarks
4962
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
4963
+ *
4964
+ * The expression must be written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
4965
+ *
4966
+ * @example
4967
+ * (a+b)/2
4968
+ */
4921
4969
  expression?: string;
4970
+ /**
4971
+ * @remarks
4972
+ * The reference ID of the metric in the metric expression.
4973
+ *
4974
+ * @example
4975
+ * a
4976
+ */
4922
4977
  id?: string;
4978
+ /**
4979
+ * @remarks
4980
+ * The name of the Hybrid Cloud Monitoring metric.
4981
+ *
4982
+ * @example
4983
+ * AliyunSmq_NumberOfMessagesVisible
4984
+ */
4923
4985
  metricName?: string;
4986
+ /**
4987
+ * @remarks
4988
+ * The statistical method of the metric value. Valid values:
4989
+ *
4990
+ * * Average: calculates the average value of all metric values within a specified interval.
4991
+ * * Minimum: calculates the minimum value of all metric values within a specified interval.
4992
+ * * Maximum: calculates the maximum value of all metric values within a specified interval.
4993
+ *
4994
+ * @example
4995
+ * Average
4996
+ */
4924
4997
  statistic?: string;
4925
4998
  static names(): { [key: string]: string } {
4926
4999
  return {
@@ -5179,7 +5252,21 @@ export class DescribeAlarmsResponseBodyAlarmListExpressions extends $dara.Model
5179
5252
  }
5180
5253
 
5181
5254
  export class DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions extends $dara.Model {
5255
+ /**
5256
+ * @remarks
5257
+ * The key of the metric dimension.
5258
+ *
5259
+ * @example
5260
+ * queue
5261
+ */
5182
5262
  dimensionKey?: string;
5263
+ /**
5264
+ * @remarks
5265
+ * The key of the metric dimension.
5266
+ *
5267
+ * @example
5268
+ * testQueue
5269
+ */
5183
5270
  dimensionValue?: string;
5184
5271
  static names(): { [key: string]: string } {
5185
5272
  return {
@@ -5205,10 +5292,48 @@ export class DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions extends
5205
5292
  }
5206
5293
 
5207
5294
  export class DescribeAlarmsResponseBodyAlarmListHybridMetrics extends $dara.Model {
5295
+ /**
5296
+ * @remarks
5297
+ * The metric dimensions. This parameter is used to specify the monitored resources.
5298
+ */
5208
5299
  dimensions?: DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions[];
5300
+ /**
5301
+ * @remarks
5302
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
5303
+ *
5304
+ * The expression is written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
5305
+ *
5306
+ * @example
5307
+ * (a+b)/2
5308
+ */
5209
5309
  expression?: string;
5310
+ /**
5311
+ * @remarks
5312
+ * The reference ID of the metric in the metric expression.
5313
+ *
5314
+ * @example
5315
+ * a
5316
+ */
5210
5317
  id?: string;
5318
+ /**
5319
+ * @remarks
5320
+ * The name of the Hybrid Cloud Monitoring metric.
5321
+ *
5322
+ * @example
5323
+ * AliyunSmq_NumberOfMessagesVisible
5324
+ */
5211
5325
  metricName?: string;
5326
+ /**
5327
+ * @remarks
5328
+ * The statistical method of the metric value. Valid values:
5329
+ *
5330
+ * * Average: The average value of all metric values within a specified interval is calculated.
5331
+ * * Minimum: The minimum value of all metric values within a specified interval is calculated.
5332
+ * * Maximum: The maximum value of all metric values within a specified interval is calculated.
5333
+ *
5334
+ * @example
5335
+ * Average
5336
+ */
5212
5337
  statistic?: string;
5213
5338
  static names(): { [key: string]: string } {
5214
5339
  return {
@@ -5325,7 +5450,20 @@ export class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
5325
5450
  * &&
5326
5451
  */
5327
5452
  expressionsLogicOperator?: string;
5453
+ /**
5454
+ * @remarks
5455
+ * The Hybrid Cloud Monitoring metrics.
5456
+ */
5328
5457
  hybridMetrics?: DescribeAlarmsResponseBodyAlarmListHybridMetrics[];
5458
+ /**
5459
+ * @remarks
5460
+ * The ID of the Hybrid Cloud Monitoring namespace.
5461
+ *
5462
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
5463
+ *
5464
+ * @example
5465
+ * aliyun-test
5466
+ */
5329
5467
  hybridMonitorNamespace?: string;
5330
5468
  /**
5331
5469
  * @remarks
@@ -5365,10 +5503,11 @@ export class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
5365
5503
  metricName?: string;
5366
5504
  /**
5367
5505
  * @remarks
5368
- * The metric type. Valid values:
5506
+ * The type of the metric. Valid values:
5369
5507
  *
5370
5508
  * * system: system metrics of CloudMonitor
5371
5509
  * * custom: custom metrics that are reported to CloudMonitor.
5510
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
5372
5511
  *
5373
5512
  * @example
5374
5513
  * system
@@ -5398,6 +5537,13 @@ export class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
5398
5537
  * 300
5399
5538
  */
5400
5539
  period?: number;
5540
+ /**
5541
+ * @remarks
5542
+ * The PromQL statement of Hybrid Cloud Monitoring.
5543
+ *
5544
+ * @example
5545
+ * (avg(last_over_time(AliyunMnsnew_ActiveMessages{region=\\"cn-hangzhou\\",userId=\\"123456****\\",queue=\\"testQueue\\"}[900s])) by (userId))/(avg(last_over_time(AliyunEss_RunningInstanceCount{instanceId=\\"asg-bp1****\\"}[900s])) by (userId) != 0)
5546
+ */
5401
5547
  promQL?: string;
5402
5548
  /**
5403
5549
  * @remarks
@@ -10332,6 +10478,38 @@ export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $d
10332
10478
  }
10333
10479
  }
10334
10480
 
10481
+ export class DescribeElasticStrengthResponseBodyResourcePoolsInventoryHealth extends $dara.Model {
10482
+ adequacyScore?: number;
10483
+ healthScore?: number;
10484
+ hotScore?: number;
10485
+ supplyScore?: number;
10486
+ static names(): { [key: string]: string } {
10487
+ return {
10488
+ adequacyScore: 'AdequacyScore',
10489
+ healthScore: 'HealthScore',
10490
+ hotScore: 'HotScore',
10491
+ supplyScore: 'SupplyScore',
10492
+ };
10493
+ }
10494
+
10495
+ static types(): { [key: string]: any } {
10496
+ return {
10497
+ adequacyScore: 'number',
10498
+ healthScore: 'number',
10499
+ hotScore: 'number',
10500
+ supplyScore: 'number',
10501
+ };
10502
+ }
10503
+
10504
+ validate() {
10505
+ super.validate();
10506
+ }
10507
+
10508
+ constructor(map?: { [key: string]: any }) {
10509
+ super(map);
10510
+ }
10511
+ }
10512
+
10335
10513
  export class DescribeElasticStrengthResponseBodyResourcePools extends $dara.Model {
10336
10514
  /**
10337
10515
  * @remarks
@@ -10349,6 +10527,7 @@ export class DescribeElasticStrengthResponseBodyResourcePools extends $dara.Mode
10349
10527
  * ecs.c7t.xlarge
10350
10528
  */
10351
10529
  instanceType?: string;
10530
+ inventoryHealth?: DescribeElasticStrengthResponseBodyResourcePoolsInventoryHealth;
10352
10531
  /**
10353
10532
  * @remarks
10354
10533
  * The error message returned when the scaling strength is the weakest.
@@ -10357,6 +10536,7 @@ export class DescribeElasticStrengthResponseBodyResourcePools extends $dara.Mode
10357
10536
  * The instanceType does not support the image in the configuration.
10358
10537
  */
10359
10538
  msg?: string;
10539
+ status?: string;
10360
10540
  /**
10361
10541
  * @remarks
10362
10542
  * The scaling strength of the resource pool.
@@ -10382,7 +10562,9 @@ export class DescribeElasticStrengthResponseBodyResourcePools extends $dara.Mode
10382
10562
  return {
10383
10563
  code: 'Code',
10384
10564
  instanceType: 'InstanceType',
10565
+ inventoryHealth: 'InventoryHealth',
10385
10566
  msg: 'Msg',
10567
+ status: 'Status',
10386
10568
  strength: 'Strength',
10387
10569
  vSwitchIds: 'VSwitchIds',
10388
10570
  zoneId: 'ZoneId',
@@ -10393,7 +10575,9 @@ export class DescribeElasticStrengthResponseBodyResourcePools extends $dara.Mode
10393
10575
  return {
10394
10576
  code: 'string',
10395
10577
  instanceType: 'string',
10578
+ inventoryHealth: DescribeElasticStrengthResponseBodyResourcePoolsInventoryHealth,
10396
10579
  msg: 'string',
10580
+ status: 'string',
10397
10581
  strength: 'number',
10398
10582
  vSwitchIds: { 'type': 'array', 'itemType': 'string' },
10399
10583
  zoneId: 'string',
@@ -10401,6 +10585,9 @@ export class DescribeElasticStrengthResponseBodyResourcePools extends $dara.Mode
10401
10585
  }
10402
10586
 
10403
10587
  validate() {
10588
+ if(this.inventoryHealth && typeof (this.inventoryHealth as any).validate === 'function') {
10589
+ (this.inventoryHealth as any).validate();
10590
+ }
10404
10591
  if(Array.isArray(this.vSwitchIds)) {
10405
10592
  $dara.Model.validateArray(this.vSwitchIds);
10406
10593
  }
@@ -10522,6 +10709,20 @@ export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks extends $
10522
10709
  * asg-bp16pbfcr8j9*****
10523
10710
  */
10524
10711
  scalingGroupId?: string;
10712
+ /**
10713
+ * @remarks
10714
+ * Indicates whether instances that match the desired scaling configuration are skipped.
10715
+ *
10716
+ * > The system determines the match based on the ID of the desired scaling configuration rather than individual configuration items.
10717
+ *
10718
+ * Valid values:
10719
+ *
10720
+ * * true: Instances that match the desired scaling configuration are skipped. When you initiate an instance refresh task, the system checks the configurations of all instances. The refresh operation is skipped for instances created based on the desired scaling configuration.
10721
+ * * false: Instances that match the desired scaling configuration are not skipped. When an instance refresh task is initiated, all instances in the scaling group at the time of initiation are refreshed.
10722
+ *
10723
+ * @example
10724
+ * true
10725
+ */
10525
10726
  skipMatching?: boolean;
10526
10727
  /**
10527
10728
  * @remarks
@@ -11028,9 +11229,34 @@ export class DescribeRegionsResponseBodyRegions extends $dara.Model {
11028
11229
  }
11029
11230
 
11030
11231
  export class DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages extends $dara.Model {
11232
+ /**
11233
+ * @remarks
11234
+ * The error code that is returned when the scaling activity failed.
11235
+ *
11236
+ * @example
11237
+ * OperationDenied.NoStock
11238
+ */
11031
11239
  code?: string;
11240
+ /**
11241
+ * @remarks
11242
+ * The description of the scaling activity exception.
11243
+ *
11244
+ * @example
11245
+ * Fail to create instances into scaling group.
11246
+ */
11032
11247
  description?: string;
11248
+ /**
11249
+ * @remarks
11250
+ * The IDs of the instances included in the failed scaling activities.
11251
+ */
11033
11252
  failedInstanceIds?: string[];
11253
+ /**
11254
+ * @remarks
11255
+ * The error message that is returned when the scaling activity failed or is partially successful.
11256
+ *
11257
+ * @example
11258
+ * The resource is out of stock in the specified zone. Please try other types, or choose other regions and zones.
11259
+ */
11034
11260
  message?: string;
11035
11261
  static names(): { [key: string]: string } {
11036
11262
  return {
@@ -11204,6 +11430,10 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $dar
11204
11430
  * The specified ECS resource is out of stock in this region. Please try again later.
11205
11431
  */
11206
11432
  errorMessage?: string;
11433
+ /**
11434
+ * @remarks
11435
+ * The error messages that are returned when the scaling activities failed or are partially successful.
11436
+ */
11207
11437
  errorMessages?: DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages[];
11208
11438
  /**
11209
11439
  * @remarks
@@ -14175,6 +14405,17 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions exten
14175
14405
  * 0
14176
14406
  */
14177
14407
  onDemandPercentageAboveBaseCapacity?: number;
14408
+ /**
14409
+ * @remarks
14410
+ * The price comparison mode. Valid values:
14411
+ *
14412
+ * * PricePerUnit: compares prices based on capacity. The capacity of instances in a scaling group is determined by the weights of the instance types used. If no weight is specified, the default weight is 1.
14413
+ * * PricePerVCpu: compares prices based on the price per vCPU.
14414
+ *
14415
+ * @example
14416
+ * PricePerUnit
14417
+ */
14418
+ priceComparisonMode?: string;
14178
14419
  /**
14179
14420
  * @remarks
14180
14421
  * 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:
@@ -14191,6 +14432,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions exten
14191
14432
  compensateWithOnDemand: 'CompensateWithOnDemand',
14192
14433
  onDemandBaseCapacity: 'OnDemandBaseCapacity',
14193
14434
  onDemandPercentageAboveBaseCapacity: 'OnDemandPercentageAboveBaseCapacity',
14435
+ priceComparisonMode: 'PriceComparisonMode',
14194
14436
  spotAutoReplaceOnDemand: 'SpotAutoReplaceOnDemand',
14195
14437
  };
14196
14438
  }
@@ -14200,6 +14442,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions exten
14200
14442
  compensateWithOnDemand: 'boolean',
14201
14443
  onDemandBaseCapacity: 'number',
14202
14444
  onDemandPercentageAboveBaseCapacity: 'number',
14445
+ priceComparisonMode: 'string',
14203
14446
  spotAutoReplaceOnDemand: 'boolean',
14204
14447
  };
14205
14448
  }
@@ -15735,7 +15978,21 @@ export class DescribeScalingRulesResponseBodyScalingRulesAlarms extends $dara.Mo
15735
15978
  }
15736
15979
 
15737
15980
  export class DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions extends $dara.Model {
15981
+ /**
15982
+ * @remarks
15983
+ * The key of the metric dimension.
15984
+ *
15985
+ * @example
15986
+ * queue
15987
+ */
15738
15988
  dimensionKey?: string;
15989
+ /**
15990
+ * @remarks
15991
+ * The key of the metric dimension.
15992
+ *
15993
+ * @example
15994
+ * testQueue
15995
+ */
15739
15996
  dimensionValue?: string;
15740
15997
  static names(): { [key: string]: string } {
15741
15998
  return {
@@ -15761,10 +16018,48 @@ export class DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions
15761
16018
  }
15762
16019
 
15763
16020
  export class DescribeScalingRulesResponseBodyScalingRulesHybridMetrics extends $dara.Model {
16021
+ /**
16022
+ * @remarks
16023
+ * The metric dimensions. This parameter is used to specify the monitored resources.
16024
+ */
15764
16025
  dimensions?: DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions[];
16026
+ /**
16027
+ * @remarks
16028
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
16029
+ *
16030
+ * The expression is written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
16031
+ *
16032
+ * @example
16033
+ * (a+b)/2
16034
+ */
15765
16035
  expression?: string;
16036
+ /**
16037
+ * @remarks
16038
+ * The reference ID of the metric in the metric expression.
16039
+ *
16040
+ * @example
16041
+ * a
16042
+ */
15766
16043
  id?: string;
16044
+ /**
16045
+ * @remarks
16046
+ * The name of the Hybrid Cloud Monitoring metric.
16047
+ *
16048
+ * @example
16049
+ * AliyunSmq_NumberOfMessagesVisible
16050
+ */
15767
16051
  metricName?: string;
16052
+ /**
16053
+ * @remarks
16054
+ * The statistical method of the metric value. Valid values:
16055
+ *
16056
+ * * Average: The average value of all metric values within a specified interval is calculated.
16057
+ * * Minimum: The minimum value of all metric values within a specified interval is calculated.
16058
+ * * Maximum: The maximum value of all metric values within a specified interval is calculated.
16059
+ *
16060
+ * @example
16061
+ * Average
16062
+ */
15768
16063
  statistic?: string;
15769
16064
  static names(): { [key: string]: string } {
15770
16065
  return {
@@ -15906,7 +16201,20 @@ export class DescribeScalingRulesResponseBodyScalingRules extends $dara.Model {
15906
16201
  * 300
15907
16202
  */
15908
16203
  estimatedInstanceWarmup?: number;
16204
+ /**
16205
+ * @remarks
16206
+ * The Hybrid Cloud Monitoring metrics.
16207
+ */
15909
16208
  hybridMetrics?: DescribeScalingRulesResponseBodyScalingRulesHybridMetrics[];
16209
+ /**
16210
+ * @remarks
16211
+ * The ID of the Hybrid Cloud Monitoring namespace.
16212
+ *
16213
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
16214
+ *
16215
+ * @example
16216
+ * aliyun-test
16217
+ */
15910
16218
  hybridMonitorNamespace?: string;
15911
16219
  /**
15912
16220
  * @remarks
@@ -15932,6 +16240,17 @@ export class DescribeScalingRulesResponseBodyScalingRules extends $dara.Model {
15932
16240
  * CpuUtilization
15933
16241
  */
15934
16242
  metricName?: string;
16243
+ /**
16244
+ * @remarks
16245
+ * The metric type. Valid values:
16246
+ *
16247
+ * * system: system metrics of CloudMonitor.
16248
+ * * custom: custom metrics that are reported to CloudMonitor.
16249
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
16250
+ *
16251
+ * @example
16252
+ * system
16253
+ */
15935
16254
  metricType?: string;
15936
16255
  /**
15937
16256
  * @remarks
@@ -18866,13 +19185,20 @@ export class ModifyScalingConfigurationRequestSystemDisk extends $dara.Model {
18866
19185
  * @remarks
18867
19186
  * The size of the system disk. Unit: GiB. Valid values:
18868
19187
  *
18869
- * * If you set SystemDisk.Category to cloud: 20 to 500.
18870
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
18871
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
18872
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
18873
- * * If you set SystemDisk.Category to ephemeral_ssd: 20 to 500.
19188
+ * * Basic disk: 20 to 500.
19189
+ *
19190
+ * * ESSD: Valid values vary based on the performance level of the ESSD.
18874
19191
  *
18875
- * The value of SystemDisk.Size must be greater than or equal to max{20, ImageSize}.
19192
+ * * PL0 ESSD: 1 to 2048.
19193
+ * * PL1 ESSD: 20 to 2048.
19194
+ * * PL2 ESSD: 461 to 2048.
19195
+ * * PL3 ESSD: 1261 to 2048.
19196
+ *
19197
+ * * ESSD AutoPL disk: 1 to 2048.
19198
+ *
19199
+ * * Other disk categories: 20 to 2048.
19200
+ *
19201
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
18876
19202
  *
18877
19203
  * @example
18878
19204
  * 50
@@ -19882,13 +20208,20 @@ export class ModifyScalingConfigurationShrinkRequestSystemDisk extends $dara.Mod
19882
20208
  * @remarks
19883
20209
  * The size of the system disk. Unit: GiB. Valid values:
19884
20210
  *
19885
- * * If you set SystemDisk.Category to cloud: 20 to 500.
19886
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
19887
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
19888
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
19889
- * * If you set SystemDisk.Category to ephemeral_ssd: 20 to 500.
20211
+ * * Basic disk: 20 to 500.
20212
+ *
20213
+ * * ESSD: Valid values vary based on the performance level of the ESSD.
19890
20214
  *
19891
- * The value of SystemDisk.Size must be greater than or equal to max{20, ImageSize}.
20215
+ * * PL0 ESSD: 1 to 2048.
20216
+ * * PL1 ESSD: 20 to 2048.
20217
+ * * PL2 ESSD: 461 to 2048.
20218
+ * * PL3 ESSD: 1261 to 2048.
20219
+ *
20220
+ * * ESSD AutoPL disk: 1 to 2048.
20221
+ *
20222
+ * * Other disk categories: 20 to 2048.
20223
+ *
20224
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
19892
20225
  *
19893
20226
  * @example
19894
20227
  * 50
@@ -20704,7 +21037,7 @@ export class ModifyScalingConfigurationShrinkRequestSpotPriceLimits extends $dar
20704
21037
  export class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
20705
21038
  /**
20706
21039
  * @remarks
20707
- * 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:
21040
+ * 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 only if you set `MultiAZPolicy` in the `CreateScalingGroup` operation to `COST_OPTIMIZED`. Valid values:
20708
21041
  *
20709
21042
  * * true
20710
21043
  * * false
@@ -20715,7 +21048,7 @@ export class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
20715
21048
  compensateWithOnDemand?: boolean;
20716
21049
  /**
20717
21050
  * @remarks
20718
- * 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.
21051
+ * 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.
20719
21052
  *
20720
21053
  * If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 0.
20721
21054
  *
@@ -20725,7 +21058,7 @@ export class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
20725
21058
  onDemandBaseCapacity?: number;
20726
21059
  /**
20727
21060
  * @remarks
20728
- * 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
21061
+ * The percentage of additional pay-as-you-go instances beyond the minimum required by `OnDemandBaseCapacity` in the scaling group. Valid values: 0 to 100
20729
21062
  *
20730
21063
  * If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 100.
20731
21064
  *
@@ -20735,7 +21068,23 @@ export class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
20735
21068
  onDemandPercentageAboveBaseCapacity?: number;
20736
21069
  /**
20737
21070
  * @remarks
20738
- * 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:
21071
+ * The price comparison mode. Valid values:
21072
+ *
21073
+ * * PricePerUnit: compares prices based on capacity.
21074
+ *
21075
+ * The capacity of instances in a scaling group is determined by the weights of the instance types used. If no weight is specified, the default weight is 1, which specifies that each instance in the scaling group has a capacity of 1.
21076
+ *
21077
+ * * PricePerVCpu: compares prices based on the price per vCPU.
21078
+ *
21079
+ * Default value: PricePerUnit.
21080
+ *
21081
+ * @example
21082
+ * PricePerUnit
21083
+ */
21084
+ priceComparisonMode?: string;
21085
+ /**
21086
+ * @remarks
21087
+ * 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 case, 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:
20739
21088
  *
20740
21089
  * * true
20741
21090
  * * false
@@ -20751,6 +21100,7 @@ export class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
20751
21100
  compensateWithOnDemand: 'CompensateWithOnDemand',
20752
21101
  onDemandBaseCapacity: 'OnDemandBaseCapacity',
20753
21102
  onDemandPercentageAboveBaseCapacity: 'OnDemandPercentageAboveBaseCapacity',
21103
+ priceComparisonMode: 'PriceComparisonMode',
20754
21104
  spotAutoReplaceOnDemand: 'SpotAutoReplaceOnDemand',
20755
21105
  };
20756
21106
  }
@@ -20760,6 +21110,7 @@ export class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
20760
21110
  compensateWithOnDemand: 'boolean',
20761
21111
  onDemandBaseCapacity: 'number',
20762
21112
  onDemandPercentageAboveBaseCapacity: 'number',
21113
+ priceComparisonMode: 'string',
20763
21114
  spotAutoReplaceOnDemand: 'boolean',
20764
21115
  };
20765
21116
  }
@@ -20883,7 +21234,21 @@ export class ModifyScalingRuleRequestAlarmDimensions extends $dara.Model {
20883
21234
  }
20884
21235
 
20885
21236
  export class ModifyScalingRuleRequestHybridMetricsDimensions extends $dara.Model {
21237
+ /**
21238
+ * @remarks
21239
+ * The key of the metric dimension.
21240
+ *
21241
+ * @example
21242
+ * queue
21243
+ */
20886
21244
  dimensionKey?: string;
21245
+ /**
21246
+ * @remarks
21247
+ * The value of the metric dimension.
21248
+ *
21249
+ * @example
21250
+ * testQueue
21251
+ */
20887
21252
  dimensionValue?: string;
20888
21253
  static names(): { [key: string]: string } {
20889
21254
  return {
@@ -20909,10 +21274,48 @@ export class ModifyScalingRuleRequestHybridMetricsDimensions extends $dara.Model
20909
21274
  }
20910
21275
 
20911
21276
  export class ModifyScalingRuleRequestHybridMetrics extends $dara.Model {
21277
+ /**
21278
+ * @remarks
21279
+ * The metric dimensions. You can use this parameter to specify the monitored resources.
21280
+ */
20912
21281
  dimensions?: ModifyScalingRuleRequestHybridMetricsDimensions[];
21282
+ /**
21283
+ * @remarks
21284
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
21285
+ *
21286
+ * The expression must be written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
21287
+ *
21288
+ * @example
21289
+ * (a+b)/2
21290
+ */
20913
21291
  expression?: string;
21292
+ /**
21293
+ * @remarks
21294
+ * The reference ID of the metric in the metric expression.
21295
+ *
21296
+ * @example
21297
+ * a
21298
+ */
20914
21299
  id?: string;
21300
+ /**
21301
+ * @remarks
21302
+ * The name of the Hybrid Cloud Monitoring metric.
21303
+ *
21304
+ * @example
21305
+ * AliyunSmq_NumberOfMessagesVisible
21306
+ */
20915
21307
  metricName?: string;
21308
+ /**
21309
+ * @remarks
21310
+ * The statistical method of the metric value. Valid values:
21311
+ *
21312
+ * * Average: calculates the average value of all metric values within a specified interval.
21313
+ * * Minimum: calculates the minimum value of all metric values within a specified interval.
21314
+ * * Maximum: calculates the maximum value of all metric values within a specified interval.
21315
+ *
21316
+ * @example
21317
+ * Average
21318
+ */
20916
21319
  statistic?: string;
20917
21320
  static names(): { [key: string]: string } {
20918
21321
  return {
@@ -22018,6 +22421,14 @@ export class AttachInstancesRequest extends $dara.Model {
22018
22421
  */
22019
22422
  entrusted?: boolean;
22020
22423
  /**
22424
+ * @remarks
22425
+ * Specifies whether to ignore invalid instances when a batch of instances is added to the scaling group. Valid values:
22426
+ *
22427
+ * * true: ignores invalid instances. If invalid instances exist and valid instances are added, the corresponding scaling activity enters the Warning state. You can check the scaling activity details to view the invalid instances that are ignored.
22428
+ * * false: does not ignore invalid instances. If invalid instances exist in the batch of instances that you want to add to the scaling group, an error is reported.
22429
+ *
22430
+ * Default value: false.
22431
+ *
22021
22432
  * @example
22022
22433
  * false
22023
22434
  */
@@ -26808,7 +27219,20 @@ export class CreateScalingRuleRequest extends $dara.Model {
26808
27219
  * 300
26809
27220
  */
26810
27221
  estimatedInstanceWarmup?: number;
27222
+ /**
27223
+ * @remarks
27224
+ * The Hybrid Cloud Monitoring metrics.
27225
+ */
26811
27226
  hybridMetrics?: CreateScalingRuleRequestHybridMetrics[];
27227
+ /**
27228
+ * @remarks
27229
+ * The ID of the Hybrid Cloud Monitoring namespace.
27230
+ *
27231
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
27232
+ *
27233
+ * @example
27234
+ * aliyun-test
27235
+ */
26812
27236
  hybridMonitorNamespace?: string;
26813
27237
  /**
26814
27238
  * @remarks
@@ -26847,6 +27271,17 @@ export class CreateScalingRuleRequest extends $dara.Model {
26847
27271
  * CpuUtilization
26848
27272
  */
26849
27273
  metricName?: string;
27274
+ /**
27275
+ * @remarks
27276
+ * The metric type. Valid values:
27277
+ *
27278
+ * * system: system metrics of CloudMonitor.
27279
+ * * custom: custom metrics that are reported to CloudMonitor.
27280
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
27281
+ *
27282
+ * @example
27283
+ * system
27284
+ */
26850
27285
  metricType?: string;
26851
27286
  /**
26852
27287
  * @remarks
@@ -28553,10 +28988,11 @@ export class DescribeAlarmsRequest extends $dara.Model {
28553
28988
  metricName?: string;
28554
28989
  /**
28555
28990
  * @remarks
28556
- * The metric type. Valid values:
28991
+ * The type of the metric. Valid values:
28557
28992
  *
28558
28993
  * * system: system metrics of CloudMonitor
28559
28994
  * * custom: custom metrics that are reported to CloudMonitor.
28995
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
28560
28996
  *
28561
28997
  * @example
28562
28998
  * true
@@ -29633,6 +30069,7 @@ export class DescribeElasticStrengthRequest extends $dara.Model {
29633
30069
  }
29634
30070
 
29635
30071
  export class DescribeElasticStrengthResponseBody extends $dara.Model {
30072
+ elasticStrength?: string;
29636
30073
  /**
29637
30074
  * @remarks
29638
30075
  * The scaling strength models.
@@ -29665,6 +30102,7 @@ export class DescribeElasticStrengthResponseBody extends $dara.Model {
29665
30102
  totalStrength?: number;
29666
30103
  static names(): { [key: string]: string } {
29667
30104
  return {
30105
+ elasticStrength: 'ElasticStrength',
29668
30106
  elasticStrengthModels: 'ElasticStrengthModels',
29669
30107
  requestId: 'RequestId',
29670
30108
  resourcePools: 'ResourcePools',
@@ -29674,6 +30112,7 @@ export class DescribeElasticStrengthResponseBody extends $dara.Model {
29674
30112
 
29675
30113
  static types(): { [key: string]: any } {
29676
30114
  return {
30115
+ elasticStrength: 'string',
29677
30116
  elasticStrengthModels: { 'type': 'array', 'itemType': DescribeElasticStrengthResponseBodyElasticStrengthModels },
29678
30117
  requestId: 'string',
29679
30118
  resourcePools: { 'type': 'array', 'itemType': DescribeElasticStrengthResponseBodyResourcePools },
@@ -32200,7 +32639,7 @@ export class DescribeScalingGroupsRequest extends $dara.Model {
32200
32639
  ownerId?: number;
32201
32640
  /**
32202
32641
  * @remarks
32203
- * The page number. Pages start from page 1.
32642
+ * The page number. Minimum value: 1.
32204
32643
  *
32205
32644
  * Default value: 1.
32206
32645
  *
@@ -37459,13 +37898,13 @@ export class ModifyScalingConfigurationRequest extends $dara.Model {
37459
37898
  creditSpecification?: string;
37460
37899
  /**
37461
37900
  * @remarks
37462
- * The priority of the custom ECS instance type + vSwitch combination.
37901
+ * The priority of the custom "ECS instance type + vSwitch" combination.
37463
37902
  *
37464
37903
  * > This setting is valid only if the scaling policy of the scaling group is a priority policy.
37465
37904
  *
37466
- * If Auto Scaling cannot create ECS instances by using the custom ECS instance type + vSwitch combination of the highest priority, Auto Scaling creates ECS instances by using the custom ECS instance type + vSwitch combination of the next highest priority.
37905
+ * If Auto Scaling cannot create ECS instances by using the custom "ECS instance type + vSwitch" combination of the highest priority, Auto Scaling creates ECS instances by using the custom "ECS instance type + vSwitch" combination of the next highest priority.
37467
37906
  *
37468
- * > If you specify the priorities of only a part of custom ECS instance type + vSwitch combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
37907
+ * > If you specify the priorities of only a part of custom "ECS instance type + vSwitch" combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
37469
37908
  *
37470
37909
  * * Example: The specified order of vSwitches for your scaling group is vsw1 and vsw2, and the specified order of instance types in your scaling configuration is type1 and type 2. In addition, you use CustomPriorities to specify ["vsw2+type2", "vsw1+type2"]. In this example, the vsw2+type2 combination has the highest priority and the vsw2+type1 combination has the lowest priority. The vsw1+type2 combination has a higher priority than the vsw1+type1 combination.
37471
37910
  */
@@ -38122,13 +38561,13 @@ export class ModifyScalingConfigurationShrinkRequest extends $dara.Model {
38122
38561
  creditSpecification?: string;
38123
38562
  /**
38124
38563
  * @remarks
38125
- * The priority of the custom ECS instance type + vSwitch combination.
38564
+ * The priority of the custom "ECS instance type + vSwitch" combination.
38126
38565
  *
38127
38566
  * > This setting is valid only if the scaling policy of the scaling group is a priority policy.
38128
38567
  *
38129
- * If Auto Scaling cannot create ECS instances by using the custom ECS instance type + vSwitch combination of the highest priority, Auto Scaling creates ECS instances by using the custom ECS instance type + vSwitch combination of the next highest priority.
38568
+ * If Auto Scaling cannot create ECS instances by using the custom "ECS instance type + vSwitch" combination of the highest priority, Auto Scaling creates ECS instances by using the custom "ECS instance type + vSwitch" combination of the next highest priority.
38130
38569
  *
38131
- * > If you specify the priorities of only a part of custom ECS instance type + vSwitch combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
38570
+ * > If you specify the priorities of only a part of custom "ECS instance type + vSwitch" combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
38132
38571
  *
38133
38572
  * * Example: The specified order of vSwitches for your scaling group is vsw1 and vsw2, and the specified order of instance types in your scaling configuration is type1 and type 2. In addition, you use CustomPriorities to specify ["vsw2+type2", "vsw1+type2"]. In this example, the vsw2+type2 combination has the highest priority and the vsw2+type1 combination has the lowest priority. The vsw1+type2 combination has a higher priority than the vsw1+type1 combination.
38134
38573
  */
@@ -39360,7 +39799,20 @@ export class ModifyScalingRuleRequest extends $dara.Model {
39360
39799
  * 60
39361
39800
  */
39362
39801
  estimatedInstanceWarmup?: number;
39802
+ /**
39803
+ * @remarks
39804
+ * The Hybrid Cloud Monitoring metrics.
39805
+ */
39363
39806
  hybridMetrics?: ModifyScalingRuleRequestHybridMetrics[];
39807
+ /**
39808
+ * @remarks
39809
+ * The ID of the Hybrid Cloud Monitoring namespace.
39810
+ *
39811
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
39812
+ *
39813
+ * @example
39814
+ * aliyun-test
39815
+ */
39364
39816
  hybridMonitorNamespace?: string;
39365
39817
  /**
39366
39818
  * @remarks
@@ -39397,6 +39849,17 @@ export class ModifyScalingRuleRequest extends $dara.Model {
39397
39849
  * CpuUtilization
39398
39850
  */
39399
39851
  metricName?: string;
39852
+ /**
39853
+ * @remarks
39854
+ * The metric type. Valid values:
39855
+ *
39856
+ * * system: system metrics of CloudMonitor.
39857
+ * * custom: custom metrics that are reported to CloudMonitor.
39858
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
39859
+ *
39860
+ * @example
39861
+ * system
39862
+ */
39400
39863
  metricType?: string;
39401
39864
  /**
39402
39865
  * @remarks
@@ -41611,6 +42074,22 @@ export class StartInstanceRefreshRequest extends $dara.Model {
41611
42074
  * asg-bp18p2yfxow2dloq****
41612
42075
  */
41613
42076
  scalingGroupId?: string;
42077
+ /**
42078
+ * @remarks
42079
+ * Specifies whether to skip instances that match the desired scaling configuration.
42080
+ *
42081
+ * > The system determines the match based on the ID of the desired scaling configuration rather than individual configuration items.
42082
+ *
42083
+ * Valid values:
42084
+ *
42085
+ * * true: skips instances that match the desired scaling configuration. When you initiate an instance refresh task, the system checks the configurations of all instances. The refresh operation is skipped for instances created based on the desired scaling configuration.
42086
+ * * false: does not skip instances that match the desired scaling configuration. When an instance refresh task is initiated, all instances in the scaling group at the time of initiation are refreshed.
42087
+ *
42088
+ * Default value: true.
42089
+ *
42090
+ * @example
42091
+ * true
42092
+ */
41614
42093
  skipMatching?: boolean;
41615
42094
  static names(): { [key: string]: string } {
41616
42095
  return {
@@ -42629,7 +43108,12 @@ export default class Client extends OpenApi {
42629
43108
  reqBodyType: "formData",
42630
43109
  bodyType: "json",
42631
43110
  });
42632
- return $dara.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
43111
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43112
+ return $dara.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
43113
+ } else {
43114
+ return $dara.cast<ApplyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
43115
+ }
43116
+
42633
43117
  }
42634
43118
 
42635
43119
  /**
@@ -42718,7 +43202,12 @@ export default class Client extends OpenApi {
42718
43202
  reqBodyType: "formData",
42719
43203
  bodyType: "json",
42720
43204
  });
42721
- return $dara.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
43205
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43206
+ return $dara.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
43207
+ } else {
43208
+ return $dara.cast<ApplyScalingGroupResponse>(await this.execute(params, req, runtime), new ApplyScalingGroupResponse({}));
43209
+ }
43210
+
42722
43211
  }
42723
43212
 
42724
43213
  /**
@@ -42823,7 +43312,12 @@ export default class Client extends OpenApi {
42823
43312
  reqBodyType: "formData",
42824
43313
  bodyType: "json",
42825
43314
  });
42826
- return $dara.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
43315
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43316
+ return $dara.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
43317
+ } else {
43318
+ return $dara.cast<AttachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new AttachAlbServerGroupsResponse({}));
43319
+ }
43320
+
42827
43321
  }
42828
43322
 
42829
43323
  /**
@@ -42911,7 +43405,12 @@ export default class Client extends OpenApi {
42911
43405
  reqBodyType: "formData",
42912
43406
  bodyType: "json",
42913
43407
  });
42914
- return $dara.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
43408
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43409
+ return $dara.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
43410
+ } else {
43411
+ return $dara.cast<AttachDBInstancesResponse>(await this.execute(params, req, runtime), new AttachDBInstancesResponse({}));
43412
+ }
43413
+
42915
43414
  }
42916
43415
 
42917
43416
  /**
@@ -43022,7 +43521,12 @@ export default class Client extends OpenApi {
43022
43521
  reqBodyType: "formData",
43023
43522
  bodyType: "json",
43024
43523
  });
43025
- return $dara.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
43524
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43525
+ return $dara.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
43526
+ } else {
43527
+ return $dara.cast<AttachInstancesResponse>(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
43528
+ }
43529
+
43026
43530
  }
43027
43531
 
43028
43532
  /**
@@ -43117,7 +43621,12 @@ export default class Client extends OpenApi {
43117
43621
  reqBodyType: "formData",
43118
43622
  bodyType: "json",
43119
43623
  });
43120
- return $dara.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
43624
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43625
+ return $dara.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
43626
+ } else {
43627
+ return $dara.cast<AttachLoadBalancersResponse>(await this.execute(params, req, runtime), new AttachLoadBalancersResponse({}));
43628
+ }
43629
+
43121
43630
  }
43122
43631
 
43123
43632
  /**
@@ -43192,7 +43701,12 @@ export default class Client extends OpenApi {
43192
43701
  reqBodyType: "formData",
43193
43702
  bodyType: "json",
43194
43703
  });
43195
- return $dara.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
43704
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43705
+ return $dara.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
43706
+ } else {
43707
+ return $dara.cast<AttachServerGroupsResponse>(await this.execute(params, req, runtime), new AttachServerGroupsResponse({}));
43708
+ }
43709
+
43196
43710
  }
43197
43711
 
43198
43712
  /**
@@ -43275,7 +43789,12 @@ export default class Client extends OpenApi {
43275
43789
  reqBodyType: "formData",
43276
43790
  bodyType: "json",
43277
43791
  });
43278
- return $dara.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
43792
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43793
+ return $dara.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
43794
+ } else {
43795
+ return $dara.cast<AttachVServerGroupsResponse>(await this.execute(params, req, runtime), new AttachVServerGroupsResponse({}));
43796
+ }
43797
+
43279
43798
  }
43280
43799
 
43281
43800
  /**
@@ -43353,7 +43872,12 @@ export default class Client extends OpenApi {
43353
43872
  reqBodyType: "formData",
43354
43873
  bodyType: "json",
43355
43874
  });
43356
- return $dara.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
43875
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43876
+ return $dara.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
43877
+ } else {
43878
+ return $dara.cast<CancelInstanceRefreshResponse>(await this.execute(params, req, runtime), new CancelInstanceRefreshResponse({}));
43879
+ }
43880
+
43357
43881
  }
43358
43882
 
43359
43883
  /**
@@ -43422,7 +43946,12 @@ export default class Client extends OpenApi {
43422
43946
  reqBodyType: "formData",
43423
43947
  bodyType: "json",
43424
43948
  });
43425
- return $dara.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
43949
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
43950
+ return $dara.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
43951
+ } else {
43952
+ return $dara.cast<ChangeResourceGroupResponse>(await this.execute(params, req, runtime), new ChangeResourceGroupResponse({}));
43953
+ }
43954
+
43426
43955
  }
43427
43956
 
43428
43957
  /**
@@ -43499,7 +44028,12 @@ export default class Client extends OpenApi {
43499
44028
  reqBodyType: "formData",
43500
44029
  bodyType: "json",
43501
44030
  });
43502
- return $dara.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
44031
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44032
+ return $dara.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
44033
+ } else {
44034
+ return $dara.cast<CompleteLifecycleActionResponse>(await this.execute(params, req, runtime), new CompleteLifecycleActionResponse({}));
44035
+ }
44036
+
43503
44037
  }
43504
44038
 
43505
44039
  /**
@@ -43623,7 +44157,12 @@ export default class Client extends OpenApi {
43623
44157
  reqBodyType: "formData",
43624
44158
  bodyType: "json",
43625
44159
  });
43626
- return $dara.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
44160
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44161
+ return $dara.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
44162
+ } else {
44163
+ return $dara.cast<CreateAlarmResponse>(await this.execute(params, req, runtime), new CreateAlarmResponse({}));
44164
+ }
44165
+
43627
44166
  }
43628
44167
 
43629
44168
  /**
@@ -43668,7 +44207,12 @@ export default class Client extends OpenApi {
43668
44207
  reqBodyType: "formData",
43669
44208
  bodyType: "json",
43670
44209
  });
43671
- return $dara.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
44210
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44211
+ return $dara.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
44212
+ } else {
44213
+ return $dara.cast<CreateDiagnoseReportResponse>(await this.execute(params, req, runtime), new CreateDiagnoseReportResponse({}));
44214
+ }
44215
+
43672
44216
  }
43673
44217
 
43674
44218
  /**
@@ -43910,7 +44454,12 @@ export default class Client extends OpenApi {
43910
44454
  reqBodyType: "formData",
43911
44455
  bodyType: "json",
43912
44456
  });
43913
- return $dara.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
44457
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44458
+ return $dara.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
44459
+ } else {
44460
+ return $dara.cast<CreateEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
44461
+ }
44462
+
43914
44463
  }
43915
44464
 
43916
44465
  /**
@@ -43998,7 +44547,12 @@ export default class Client extends OpenApi {
43998
44547
  reqBodyType: "formData",
43999
44548
  bodyType: "json",
44000
44549
  });
44001
- return $dara.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
44550
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44551
+ return $dara.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
44552
+ } else {
44553
+ return $dara.cast<CreateLifecycleHookResponse>(await this.execute(params, req, runtime), new CreateLifecycleHookResponse({}));
44554
+ }
44555
+
44002
44556
  }
44003
44557
 
44004
44558
  /**
@@ -44075,7 +44629,12 @@ export default class Client extends OpenApi {
44075
44629
  reqBodyType: "formData",
44076
44630
  bodyType: "json",
44077
44631
  });
44078
- return $dara.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
44632
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44633
+ return $dara.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
44634
+ } else {
44635
+ return $dara.cast<CreateNotificationConfigurationResponse>(await this.execute(params, req, runtime), new CreateNotificationConfigurationResponse({}));
44636
+ }
44637
+
44079
44638
  }
44080
44639
 
44081
44640
  /**
@@ -44373,7 +44932,12 @@ export default class Client extends OpenApi {
44373
44932
  reqBodyType: "formData",
44374
44933
  bodyType: "json",
44375
44934
  });
44376
- return $dara.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
44935
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
44936
+ return $dara.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
44937
+ } else {
44938
+ return $dara.cast<CreateScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateScalingConfigurationResponse({}));
44939
+ }
44940
+
44377
44941
  }
44378
44942
 
44379
44943
  /**
@@ -44632,7 +45196,12 @@ export default class Client extends OpenApi {
44632
45196
  reqBodyType: "formData",
44633
45197
  bodyType: "json",
44634
45198
  });
44635
- return $dara.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
45199
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45200
+ return $dara.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
45201
+ } else {
45202
+ return $dara.cast<CreateScalingGroupResponse>(await this.execute(params, req, runtime), new CreateScalingGroupResponse({}));
45203
+ }
45204
+
44636
45205
  }
44637
45206
 
44638
45207
  /**
@@ -44816,7 +45385,12 @@ export default class Client extends OpenApi {
44816
45385
  reqBodyType: "formData",
44817
45386
  bodyType: "json",
44818
45387
  });
44819
- return $dara.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
45388
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45389
+ return $dara.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
45390
+ } else {
45391
+ return $dara.cast<CreateScalingRuleResponse>(await this.execute(params, req, runtime), new CreateScalingRuleResponse({}));
45392
+ }
45393
+
44820
45394
  }
44821
45395
 
44822
45396
  /**
@@ -44947,7 +45521,12 @@ export default class Client extends OpenApi {
44947
45521
  reqBodyType: "formData",
44948
45522
  bodyType: "json",
44949
45523
  });
44950
- return $dara.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
45524
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45525
+ return $dara.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
45526
+ } else {
45527
+ return $dara.cast<CreateScheduledTaskResponse>(await this.execute(params, req, runtime), new CreateScheduledTaskResponse({}));
45528
+ }
45529
+
44951
45530
  }
44952
45531
 
44953
45532
  /**
@@ -45015,7 +45594,12 @@ export default class Client extends OpenApi {
45015
45594
  reqBodyType: "formData",
45016
45595
  bodyType: "json",
45017
45596
  });
45018
- return $dara.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
45597
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45598
+ return $dara.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
45599
+ } else {
45600
+ return $dara.cast<DeactivateScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
45601
+ }
45602
+
45019
45603
  }
45020
45604
 
45021
45605
  /**
@@ -45072,7 +45656,12 @@ export default class Client extends OpenApi {
45072
45656
  reqBodyType: "formData",
45073
45657
  bodyType: "json",
45074
45658
  });
45075
- return $dara.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
45659
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45660
+ return $dara.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
45661
+ } else {
45662
+ return $dara.cast<DeleteAlarmResponse>(await this.execute(params, req, runtime), new DeleteAlarmResponse({}));
45663
+ }
45664
+
45076
45665
  }
45077
45666
 
45078
45667
  /**
@@ -45135,7 +45724,12 @@ export default class Client extends OpenApi {
45135
45724
  reqBodyType: "formData",
45136
45725
  bodyType: "json",
45137
45726
  });
45138
- return $dara.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
45727
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45728
+ return $dara.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
45729
+ } else {
45730
+ return $dara.cast<DeleteEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
45731
+ }
45732
+
45139
45733
  }
45140
45734
 
45141
45735
  /**
@@ -45211,7 +45805,12 @@ export default class Client extends OpenApi {
45211
45805
  reqBodyType: "formData",
45212
45806
  bodyType: "json",
45213
45807
  });
45214
- return $dara.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
45808
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45809
+ return $dara.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
45810
+ } else {
45811
+ return $dara.cast<DeleteLifecycleHookResponse>(await this.execute(params, req, runtime), new DeleteLifecycleHookResponse({}));
45812
+ }
45813
+
45215
45814
  }
45216
45815
 
45217
45816
  /**
@@ -45274,7 +45873,12 @@ export default class Client extends OpenApi {
45274
45873
  reqBodyType: "formData",
45275
45874
  bodyType: "json",
45276
45875
  });
45277
- return $dara.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
45876
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45877
+ return $dara.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
45878
+ } else {
45879
+ return $dara.cast<DeleteNotificationConfigurationResponse>(await this.execute(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
45880
+ }
45881
+
45278
45882
  }
45279
45883
 
45280
45884
  /**
@@ -45333,7 +45937,12 @@ export default class Client extends OpenApi {
45333
45937
  reqBodyType: "formData",
45334
45938
  bodyType: "json",
45335
45939
  });
45336
- return $dara.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
45940
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
45941
+ return $dara.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
45942
+ } else {
45943
+ return $dara.cast<DeleteScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteScalingConfigurationResponse({}));
45944
+ }
45945
+
45337
45946
  }
45338
45947
 
45339
45948
  /**
@@ -45412,7 +46021,12 @@ export default class Client extends OpenApi {
45412
46021
  reqBodyType: "formData",
45413
46022
  bodyType: "json",
45414
46023
  });
45415
- return $dara.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
46024
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46025
+ return $dara.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
46026
+ } else {
46027
+ return $dara.cast<DeleteScalingGroupResponse>(await this.execute(params, req, runtime), new DeleteScalingGroupResponse({}));
46028
+ }
46029
+
45416
46030
  }
45417
46031
 
45418
46032
  /**
@@ -45482,7 +46096,12 @@ export default class Client extends OpenApi {
45482
46096
  reqBodyType: "formData",
45483
46097
  bodyType: "json",
45484
46098
  });
45485
- return $dara.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
46099
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46100
+ return $dara.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
46101
+ } else {
46102
+ return $dara.cast<DeleteScalingRuleResponse>(await this.execute(params, req, runtime), new DeleteScalingRuleResponse({}));
46103
+ }
46104
+
45486
46105
  }
45487
46106
 
45488
46107
  /**
@@ -45540,7 +46159,12 @@ export default class Client extends OpenApi {
45540
46159
  reqBodyType: "formData",
45541
46160
  bodyType: "json",
45542
46161
  });
45543
- return $dara.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
46162
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46163
+ return $dara.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
46164
+ } else {
46165
+ return $dara.cast<DeleteScheduledTaskResponse>(await this.execute(params, req, runtime), new DeleteScheduledTaskResponse({}));
46166
+ }
46167
+
45544
46168
  }
45545
46169
 
45546
46170
  /**
@@ -45622,7 +46246,12 @@ export default class Client extends OpenApi {
45622
46246
  reqBodyType: "formData",
45623
46247
  bodyType: "json",
45624
46248
  });
45625
- return $dara.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
46249
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46250
+ return $dara.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
46251
+ } else {
46252
+ return $dara.cast<DescribeAlarmsResponse>(await this.execute(params, req, runtime), new DescribeAlarmsResponse({}));
46253
+ }
46254
+
45626
46255
  }
45627
46256
 
45628
46257
  /**
@@ -45676,7 +46305,12 @@ export default class Client extends OpenApi {
45676
46305
  reqBodyType: "formData",
45677
46306
  bodyType: "json",
45678
46307
  });
45679
- return $dara.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
46308
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46309
+ return $dara.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
46310
+ } else {
46311
+ return $dara.cast<DescribeAlertConfigurationResponse>(await this.execute(params, req, runtime), new DescribeAlertConfigurationResponse({}));
46312
+ }
46313
+
45680
46314
  }
45681
46315
 
45682
46316
  /**
@@ -45714,7 +46348,12 @@ export default class Client extends OpenApi {
45714
46348
  reqBodyType: "formData",
45715
46349
  bodyType: "json",
45716
46350
  });
45717
- return $dara.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
46351
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46352
+ return $dara.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
46353
+ } else {
46354
+ return $dara.cast<DescribeDiagnoseReportsResponse>(await this.execute(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
46355
+ }
46356
+
45718
46357
  }
45719
46358
 
45720
46359
  /**
@@ -45768,7 +46407,12 @@ export default class Client extends OpenApi {
45768
46407
  reqBodyType: "formData",
45769
46408
  bodyType: "json",
45770
46409
  });
45771
- return $dara.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
46410
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46411
+ return $dara.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
46412
+ } else {
46413
+ return $dara.cast<DescribeEciScalingConfigurationDetailResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
46414
+ }
46415
+
45772
46416
  }
45773
46417
 
45774
46418
  /**
@@ -45846,7 +46490,12 @@ export default class Client extends OpenApi {
45846
46490
  reqBodyType: "formData",
45847
46491
  bodyType: "json",
45848
46492
  });
45849
- return $dara.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
46493
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46494
+ return $dara.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
46495
+ } else {
46496
+ return $dara.cast<DescribeEciScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
46497
+ }
46498
+
45850
46499
  }
45851
46500
 
45852
46501
  /**
@@ -45884,7 +46533,12 @@ export default class Client extends OpenApi {
45884
46533
  reqBodyType: "formData",
45885
46534
  bodyType: "json",
45886
46535
  });
45887
- return $dara.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
46536
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46537
+ return $dara.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
46538
+ } else {
46539
+ return $dara.cast<DescribeElasticStrengthResponse>(await this.execute(params, req, runtime), new DescribeElasticStrengthResponse({}));
46540
+ }
46541
+
45888
46542
  }
45889
46543
 
45890
46544
  /**
@@ -45958,7 +46612,12 @@ export default class Client extends OpenApi {
45958
46612
  reqBodyType: "formData",
45959
46613
  bodyType: "json",
45960
46614
  });
45961
- return $dara.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
46615
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46616
+ return $dara.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
46617
+ } else {
46618
+ return $dara.cast<DescribeInstanceRefreshesResponse>(await this.execute(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
46619
+ }
46620
+
45962
46621
  }
45963
46622
 
45964
46623
  /**
@@ -46031,7 +46690,12 @@ export default class Client extends OpenApi {
46031
46690
  reqBodyType: "formData",
46032
46691
  bodyType: "json",
46033
46692
  });
46034
- return $dara.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
46693
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46694
+ return $dara.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
46695
+ } else {
46696
+ return $dara.cast<DescribeLifecycleActionsResponse>(await this.execute(params, req, runtime), new DescribeLifecycleActionsResponse({}));
46697
+ }
46698
+
46035
46699
  }
46036
46700
 
46037
46701
  /**
@@ -46118,7 +46782,12 @@ export default class Client extends OpenApi {
46118
46782
  reqBodyType: "formData",
46119
46783
  bodyType: "json",
46120
46784
  });
46121
- return $dara.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
46785
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46786
+ return $dara.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
46787
+ } else {
46788
+ return $dara.cast<DescribeLifecycleHooksResponse>(await this.execute(params, req, runtime), new DescribeLifecycleHooksResponse({}));
46789
+ }
46790
+
46122
46791
  }
46123
46792
 
46124
46793
  /**
@@ -46170,7 +46839,12 @@ export default class Client extends OpenApi {
46170
46839
  reqBodyType: "formData",
46171
46840
  bodyType: "json",
46172
46841
  });
46173
- return $dara.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
46842
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46843
+ return $dara.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
46844
+ } else {
46845
+ return $dara.cast<DescribeLimitationResponse>(await this.execute(params, req, runtime), new DescribeLimitationResponse({}));
46846
+ }
46847
+
46174
46848
  }
46175
46849
 
46176
46850
  /**
@@ -46224,7 +46898,12 @@ export default class Client extends OpenApi {
46224
46898
  reqBodyType: "formData",
46225
46899
  bodyType: "json",
46226
46900
  });
46227
- return $dara.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
46901
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46902
+ return $dara.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
46903
+ } else {
46904
+ return $dara.cast<DescribeNotificationConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
46905
+ }
46906
+
46228
46907
  }
46229
46908
 
46230
46909
  /**
@@ -46270,7 +46949,12 @@ export default class Client extends OpenApi {
46270
46949
  reqBodyType: "formData",
46271
46950
  bodyType: "json",
46272
46951
  });
46273
- return $dara.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
46952
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46953
+ return $dara.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
46954
+ } else {
46955
+ return $dara.cast<DescribeNotificationTypesResponse>(await this.execute(params, req, runtime), new DescribeNotificationTypesResponse({}));
46956
+ }
46957
+
46274
46958
  }
46275
46959
 
46276
46960
  /**
@@ -46308,7 +46992,12 @@ export default class Client extends OpenApi {
46308
46992
  reqBodyType: "formData",
46309
46993
  bodyType: "json",
46310
46994
  });
46311
- return $dara.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
46995
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
46996
+ return $dara.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
46997
+ } else {
46998
+ return $dara.cast<DescribePatternTypesResponse>(await this.execute(params, req, runtime), new DescribePatternTypesResponse({}));
46999
+ }
47000
+
46312
47001
  }
46313
47002
 
46314
47003
  /**
@@ -46362,7 +47051,12 @@ export default class Client extends OpenApi {
46362
47051
  reqBodyType: "formData",
46363
47052
  bodyType: "json",
46364
47053
  });
46365
- return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
47054
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47055
+ return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
47056
+ } else {
47057
+ return $dara.cast<DescribeRegionsResponse>(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
47058
+ }
47059
+
46366
47060
  }
46367
47061
 
46368
47062
  /**
@@ -46449,7 +47143,12 @@ export default class Client extends OpenApi {
46449
47143
  reqBodyType: "formData",
46450
47144
  bodyType: "json",
46451
47145
  });
46452
- return $dara.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
47146
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47147
+ return $dara.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
47148
+ } else {
47149
+ return $dara.cast<DescribeScalingActivitiesResponse>(await this.execute(params, req, runtime), new DescribeScalingActivitiesResponse({}));
47150
+ }
47151
+
46453
47152
  }
46454
47153
 
46455
47154
  /**
@@ -46508,7 +47207,12 @@ export default class Client extends OpenApi {
46508
47207
  reqBodyType: "formData",
46509
47208
  bodyType: "json",
46510
47209
  });
46511
- return $dara.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
47210
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47211
+ return $dara.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
47212
+ } else {
47213
+ return $dara.cast<DescribeScalingActivityDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
47214
+ }
47215
+
46512
47216
  }
46513
47217
 
46514
47218
  /**
@@ -46586,7 +47290,12 @@ export default class Client extends OpenApi {
46586
47290
  reqBodyType: "formData",
46587
47291
  bodyType: "json",
46588
47292
  });
46589
- return $dara.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
47293
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47294
+ return $dara.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
47295
+ } else {
47296
+ return $dara.cast<DescribeScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
47297
+ }
47298
+
46590
47299
  }
46591
47300
 
46592
47301
  /**
@@ -46640,7 +47349,12 @@ export default class Client extends OpenApi {
46640
47349
  reqBodyType: "formData",
46641
47350
  bodyType: "json",
46642
47351
  });
46643
- return $dara.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
47352
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47353
+ return $dara.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
47354
+ } else {
47355
+ return $dara.cast<DescribeScalingGroupDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
47356
+ }
47357
+
46644
47358
  }
46645
47359
 
46646
47360
  /**
@@ -46678,7 +47392,12 @@ export default class Client extends OpenApi {
46678
47392
  reqBodyType: "formData",
46679
47393
  bodyType: "json",
46680
47394
  });
46681
- return $dara.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
47395
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47396
+ return $dara.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
47397
+ } else {
47398
+ return $dara.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
47399
+ }
47400
+
46682
47401
  }
46683
47402
 
46684
47403
  /**
@@ -46768,7 +47487,12 @@ export default class Client extends OpenApi {
46768
47487
  reqBodyType: "formData",
46769
47488
  bodyType: "json",
46770
47489
  });
46771
- return $dara.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
47490
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47491
+ return $dara.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
47492
+ } else {
47493
+ return $dara.cast<DescribeScalingGroupsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupsResponse({}));
47494
+ }
47495
+
46772
47496
  }
46773
47497
 
46774
47498
  /**
@@ -46870,7 +47594,12 @@ export default class Client extends OpenApi {
46870
47594
  reqBodyType: "formData",
46871
47595
  bodyType: "json",
46872
47596
  });
46873
- return $dara.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
47597
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47598
+ return $dara.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
47599
+ } else {
47600
+ return $dara.cast<DescribeScalingInstancesResponse>(await this.execute(params, req, runtime), new DescribeScalingInstancesResponse({}));
47601
+ }
47602
+
46874
47603
  }
46875
47604
 
46876
47605
  /**
@@ -46963,7 +47692,12 @@ export default class Client extends OpenApi {
46963
47692
  reqBodyType: "formData",
46964
47693
  bodyType: "json",
46965
47694
  });
46966
- return $dara.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
47695
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47696
+ return $dara.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
47697
+ } else {
47698
+ return $dara.cast<DescribeScalingRulesResponse>(await this.execute(params, req, runtime), new DescribeScalingRulesResponse({}));
47699
+ }
47700
+
46967
47701
  }
46968
47702
 
46969
47703
  /**
@@ -47067,7 +47801,12 @@ export default class Client extends OpenApi {
47067
47801
  reqBodyType: "formData",
47068
47802
  bodyType: "json",
47069
47803
  });
47070
- return $dara.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
47804
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47805
+ return $dara.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
47806
+ } else {
47807
+ return $dara.cast<DescribeScheduledTasksResponse>(await this.execute(params, req, runtime), new DescribeScheduledTasksResponse({}));
47808
+ }
47809
+
47071
47810
  }
47072
47811
 
47073
47812
  /**
@@ -47136,7 +47875,12 @@ export default class Client extends OpenApi {
47136
47875
  reqBodyType: "formData",
47137
47876
  bodyType: "json",
47138
47877
  });
47139
- return $dara.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
47878
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47879
+ return $dara.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
47880
+ } else {
47881
+ return $dara.cast<DetachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new DetachAlbServerGroupsResponse({}));
47882
+ }
47883
+
47140
47884
  }
47141
47885
 
47142
47886
  /**
@@ -47206,7 +47950,12 @@ export default class Client extends OpenApi {
47206
47950
  reqBodyType: "formData",
47207
47951
  bodyType: "json",
47208
47952
  });
47209
- return $dara.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
47953
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
47954
+ return $dara.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
47955
+ } else {
47956
+ return $dara.cast<DetachDBInstancesResponse>(await this.execute(params, req, runtime), new DetachDBInstancesResponse({}));
47957
+ }
47958
+
47210
47959
  }
47211
47960
 
47212
47961
  /**
@@ -47300,7 +48049,12 @@ export default class Client extends OpenApi {
47300
48049
  reqBodyType: "formData",
47301
48050
  bodyType: "json",
47302
48051
  });
47303
- return $dara.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
48052
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48053
+ return $dara.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
48054
+ } else {
48055
+ return $dara.cast<DetachInstancesResponse>(await this.execute(params, req, runtime), new DetachInstancesResponse({}));
48056
+ }
48057
+
47304
48058
  }
47305
48059
 
47306
48060
  /**
@@ -47382,7 +48136,12 @@ export default class Client extends OpenApi {
47382
48136
  reqBodyType: "formData",
47383
48137
  bodyType: "json",
47384
48138
  });
47385
- return $dara.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
48139
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48140
+ return $dara.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
48141
+ } else {
48142
+ return $dara.cast<DetachLoadBalancersResponse>(await this.execute(params, req, runtime), new DetachLoadBalancersResponse({}));
48143
+ }
48144
+
47386
48145
  }
47387
48146
 
47388
48147
  /**
@@ -47448,7 +48207,12 @@ export default class Client extends OpenApi {
47448
48207
  reqBodyType: "formData",
47449
48208
  bodyType: "json",
47450
48209
  });
47451
- return $dara.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
48210
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48211
+ return $dara.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
48212
+ } else {
48213
+ return $dara.cast<DetachServerGroupsResponse>(await this.execute(params, req, runtime), new DetachServerGroupsResponse({}));
48214
+ }
48215
+
47452
48216
  }
47453
48217
 
47454
48218
  /**
@@ -47522,7 +48286,12 @@ export default class Client extends OpenApi {
47522
48286
  reqBodyType: "formData",
47523
48287
  bodyType: "json",
47524
48288
  });
47525
- return $dara.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
48289
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48290
+ return $dara.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
48291
+ } else {
48292
+ return $dara.cast<DetachVServerGroupsResponse>(await this.execute(params, req, runtime), new DetachVServerGroupsResponse({}));
48293
+ }
48294
+
47526
48295
  }
47527
48296
 
47528
48297
  /**
@@ -47587,7 +48356,12 @@ export default class Client extends OpenApi {
47587
48356
  reqBodyType: "formData",
47588
48357
  bodyType: "json",
47589
48358
  });
47590
- return $dara.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
48359
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48360
+ return $dara.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
48361
+ } else {
48362
+ return $dara.cast<DisableAlarmResponse>(await this.execute(params, req, runtime), new DisableAlarmResponse({}));
48363
+ }
48364
+
47591
48365
  }
47592
48366
 
47593
48367
  /**
@@ -47653,7 +48427,12 @@ export default class Client extends OpenApi {
47653
48427
  reqBodyType: "formData",
47654
48428
  bodyType: "json",
47655
48429
  });
47656
- return $dara.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
48430
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48431
+ return $dara.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
48432
+ } else {
48433
+ return $dara.cast<DisableScalingGroupResponse>(await this.execute(params, req, runtime), new DisableScalingGroupResponse({}));
48434
+ }
48435
+
47657
48436
  }
47658
48437
 
47659
48438
  /**
@@ -47712,7 +48491,12 @@ export default class Client extends OpenApi {
47712
48491
  reqBodyType: "formData",
47713
48492
  bodyType: "json",
47714
48493
  });
47715
- return $dara.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
48494
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48495
+ return $dara.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
48496
+ } else {
48497
+ return $dara.cast<EnableAlarmResponse>(await this.execute(params, req, runtime), new EnableAlarmResponse({}));
48498
+ }
48499
+
47716
48500
  }
47717
48501
 
47718
48502
  /**
@@ -47806,7 +48590,12 @@ export default class Client extends OpenApi {
47806
48590
  reqBodyType: "formData",
47807
48591
  bodyType: "json",
47808
48592
  });
47809
- return $dara.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
48593
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48594
+ return $dara.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
48595
+ } else {
48596
+ return $dara.cast<EnableScalingGroupResponse>(await this.execute(params, req, runtime), new EnableScalingGroupResponse({}));
48597
+ }
48598
+
47810
48599
  }
47811
48600
 
47812
48601
  /**
@@ -47883,7 +48672,12 @@ export default class Client extends OpenApi {
47883
48672
  reqBodyType: "formData",
47884
48673
  bodyType: "json",
47885
48674
  });
47886
- return $dara.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
48675
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48676
+ return $dara.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
48677
+ } else {
48678
+ return $dara.cast<EnterStandbyResponse>(await this.execute(params, req, runtime), new EnterStandbyResponse({}));
48679
+ }
48680
+
47887
48681
  }
47888
48682
 
47889
48683
  /**
@@ -47974,7 +48768,12 @@ export default class Client extends OpenApi {
47974
48768
  reqBodyType: "formData",
47975
48769
  bodyType: "json",
47976
48770
  });
47977
- return $dara.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
48771
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48772
+ return $dara.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
48773
+ } else {
48774
+ return $dara.cast<ExecuteScalingRuleResponse>(await this.execute(params, req, runtime), new ExecuteScalingRuleResponse({}));
48775
+ }
48776
+
47978
48777
  }
47979
48778
 
47980
48779
  /**
@@ -48057,7 +48856,12 @@ export default class Client extends OpenApi {
48057
48856
  reqBodyType: "formData",
48058
48857
  bodyType: "json",
48059
48858
  });
48060
- return $dara.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
48859
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48860
+ return $dara.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
48861
+ } else {
48862
+ return $dara.cast<ExitStandbyResponse>(await this.execute(params, req, runtime), new ExitStandbyResponse({}));
48863
+ }
48864
+
48061
48865
  }
48062
48866
 
48063
48867
  /**
@@ -48126,7 +48930,12 @@ export default class Client extends OpenApi {
48126
48930
  reqBodyType: "formData",
48127
48931
  bodyType: "json",
48128
48932
  });
48129
- return $dara.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
48933
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
48934
+ return $dara.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
48935
+ } else {
48936
+ return $dara.cast<ListTagKeysResponse>(await this.execute(params, req, runtime), new ListTagKeysResponse({}));
48937
+ }
48938
+
48130
48939
  }
48131
48940
 
48132
48941
  /**
@@ -48196,7 +49005,12 @@ export default class Client extends OpenApi {
48196
49005
  reqBodyType: "formData",
48197
49006
  bodyType: "json",
48198
49007
  });
48199
- return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
49008
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49009
+ return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
49010
+ } else {
49011
+ return $dara.cast<ListTagResourcesResponse>(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
49012
+ }
49013
+
48200
49014
  }
48201
49015
 
48202
49016
  /**
@@ -48266,7 +49080,12 @@ export default class Client extends OpenApi {
48266
49080
  reqBodyType: "formData",
48267
49081
  bodyType: "json",
48268
49082
  });
48269
- return $dara.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
49083
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49084
+ return $dara.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
49085
+ } else {
49086
+ return $dara.cast<ListTagValuesResponse>(await this.execute(params, req, runtime), new ListTagValuesResponse({}));
49087
+ }
49088
+
48270
49089
  }
48271
49090
 
48272
49091
  /**
@@ -48387,7 +49206,12 @@ export default class Client extends OpenApi {
48387
49206
  reqBodyType: "formData",
48388
49207
  bodyType: "json",
48389
49208
  });
48390
- return $dara.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
49209
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49210
+ return $dara.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
49211
+ } else {
49212
+ return $dara.cast<ModifyAlarmResponse>(await this.execute(params, req, runtime), new ModifyAlarmResponse({}));
49213
+ }
49214
+
48391
49215
  }
48392
49216
 
48393
49217
  /**
@@ -48452,7 +49276,12 @@ export default class Client extends OpenApi {
48452
49276
  reqBodyType: "formData",
48453
49277
  bodyType: "json",
48454
49278
  });
48455
- return $dara.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
49279
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49280
+ return $dara.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
49281
+ } else {
49282
+ return $dara.cast<ModifyAlertConfigurationResponse>(await this.execute(params, req, runtime), new ModifyAlertConfigurationResponse({}));
49283
+ }
49284
+
48456
49285
  }
48457
49286
 
48458
49287
  /**
@@ -48698,7 +49527,12 @@ export default class Client extends OpenApi {
48698
49527
  reqBodyType: "formData",
48699
49528
  bodyType: "json",
48700
49529
  });
48701
- return $dara.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
49530
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49531
+ return $dara.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
49532
+ } else {
49533
+ return $dara.cast<ModifyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
49534
+ }
49535
+
48702
49536
  }
48703
49537
 
48704
49538
  /**
@@ -48764,7 +49598,12 @@ export default class Client extends OpenApi {
48764
49598
  reqBodyType: "formData",
48765
49599
  bodyType: "json",
48766
49600
  });
48767
- return $dara.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
49601
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49602
+ return $dara.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
49603
+ } else {
49604
+ return $dara.cast<ModifyInstanceAttributeResponse>(await this.execute(params, req, runtime), new ModifyInstanceAttributeResponse({}));
49605
+ }
49606
+
48768
49607
  }
48769
49608
 
48770
49609
  /**
@@ -48859,7 +49698,12 @@ export default class Client extends OpenApi {
48859
49698
  reqBodyType: "formData",
48860
49699
  bodyType: "json",
48861
49700
  });
48862
- return $dara.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
49701
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49702
+ return $dara.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
49703
+ } else {
49704
+ return $dara.cast<ModifyLifecycleHookResponse>(await this.execute(params, req, runtime), new ModifyLifecycleHookResponse({}));
49705
+ }
49706
+
48863
49707
  }
48864
49708
 
48865
49709
  /**
@@ -48930,7 +49774,12 @@ export default class Client extends OpenApi {
48930
49774
  reqBodyType: "formData",
48931
49775
  bodyType: "json",
48932
49776
  });
48933
- return $dara.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
49777
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
49778
+ return $dara.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
49779
+ } else {
49780
+ return $dara.cast<ModifyNotificationConfigurationResponse>(await this.execute(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
49781
+ }
49782
+
48934
49783
  }
48935
49784
 
48936
49785
  /**
@@ -49212,7 +50061,12 @@ export default class Client extends OpenApi {
49212
50061
  reqBodyType: "formData",
49213
50062
  bodyType: "json",
49214
50063
  });
49215
- return $dara.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
50064
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50065
+ return $dara.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
50066
+ } else {
50067
+ return $dara.cast<ModifyScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyScalingConfigurationResponse({}));
50068
+ }
50069
+
49216
50070
  }
49217
50071
 
49218
50072
  /**
@@ -49407,7 +50261,12 @@ export default class Client extends OpenApi {
49407
50261
  reqBodyType: "formData",
49408
50262
  bodyType: "json",
49409
50263
  });
49410
- return $dara.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
50264
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50265
+ return $dara.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
50266
+ } else {
50267
+ return $dara.cast<ModifyScalingGroupResponse>(await this.execute(params, req, runtime), new ModifyScalingGroupResponse({}));
50268
+ }
50269
+
49411
50270
  }
49412
50271
 
49413
50272
  /**
@@ -49564,7 +50423,12 @@ export default class Client extends OpenApi {
49564
50423
  reqBodyType: "formData",
49565
50424
  bodyType: "json",
49566
50425
  });
49567
- return $dara.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
50426
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50427
+ return $dara.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
50428
+ } else {
50429
+ return $dara.cast<ModifyScalingRuleResponse>(await this.execute(params, req, runtime), new ModifyScalingRuleResponse({}));
50430
+ }
50431
+
49568
50432
  }
49569
50433
 
49570
50434
  /**
@@ -49684,7 +50548,12 @@ export default class Client extends OpenApi {
49684
50548
  reqBodyType: "formData",
49685
50549
  bodyType: "json",
49686
50550
  });
49687
- return $dara.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
50551
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50552
+ return $dara.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
50553
+ } else {
50554
+ return $dara.cast<ModifyScheduledTaskResponse>(await this.execute(params, req, runtime), new ModifyScheduledTaskResponse({}));
50555
+ }
50556
+
49688
50557
  }
49689
50558
 
49690
50559
  /**
@@ -49761,7 +50630,12 @@ export default class Client extends OpenApi {
49761
50630
  reqBodyType: "formData",
49762
50631
  bodyType: "json",
49763
50632
  });
49764
- return $dara.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
50633
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50634
+ return $dara.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
50635
+ } else {
50636
+ return $dara.cast<RebalanceInstancesResponse>(await this.execute(params, req, runtime), new RebalanceInstancesResponse({}));
50637
+ }
50638
+
49765
50639
  }
49766
50640
 
49767
50641
  /**
@@ -49840,7 +50714,12 @@ export default class Client extends OpenApi {
49840
50714
  reqBodyType: "formData",
49841
50715
  bodyType: "json",
49842
50716
  });
49843
- return $dara.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
50717
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50718
+ return $dara.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
50719
+ } else {
50720
+ return $dara.cast<RecordLifecycleActionHeartbeatResponse>(await this.execute(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
50721
+ }
50722
+
49844
50723
  }
49845
50724
 
49846
50725
  /**
@@ -49940,7 +50819,12 @@ export default class Client extends OpenApi {
49940
50819
  reqBodyType: "formData",
49941
50820
  bodyType: "json",
49942
50821
  });
49943
- return $dara.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
50822
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50823
+ return $dara.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
50824
+ } else {
50825
+ return $dara.cast<RemoveInstancesResponse>(await this.execute(params, req, runtime), new RemoveInstancesResponse({}));
50826
+ }
50827
+
49944
50828
  }
49945
50829
 
49946
50830
  /**
@@ -50008,7 +50892,12 @@ export default class Client extends OpenApi {
50008
50892
  reqBodyType: "formData",
50009
50893
  bodyType: "json",
50010
50894
  });
50011
- return $dara.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
50895
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50896
+ return $dara.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
50897
+ } else {
50898
+ return $dara.cast<ResumeInstanceRefreshResponse>(await this.execute(params, req, runtime), new ResumeInstanceRefreshResponse({}));
50899
+ }
50900
+
50012
50901
  }
50013
50902
 
50014
50903
  /**
@@ -50070,7 +50959,12 @@ export default class Client extends OpenApi {
50070
50959
  reqBodyType: "formData",
50071
50960
  bodyType: "json",
50072
50961
  });
50073
- return $dara.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
50962
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
50963
+ return $dara.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
50964
+ } else {
50965
+ return $dara.cast<ResumeProcessesResponse>(await this.execute(params, req, runtime), new ResumeProcessesResponse({}));
50966
+ }
50967
+
50074
50968
  }
50075
50969
 
50076
50970
  /**
@@ -50128,7 +51022,12 @@ export default class Client extends OpenApi {
50128
51022
  reqBodyType: "formData",
50129
51023
  bodyType: "json",
50130
51024
  });
50131
- return $dara.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
51025
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51026
+ return $dara.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
51027
+ } else {
51028
+ return $dara.cast<RollbackInstanceRefreshResponse>(await this.execute(params, req, runtime), new RollbackInstanceRefreshResponse({}));
51029
+ }
51030
+
50132
51031
  }
50133
51032
 
50134
51033
  /**
@@ -50229,7 +51128,12 @@ export default class Client extends OpenApi {
50229
51128
  reqBodyType: "formData",
50230
51129
  bodyType: "json",
50231
51130
  });
50232
- return $dara.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
51131
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51132
+ return $dara.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
51133
+ } else {
51134
+ return $dara.cast<ScaleWithAdjustmentResponse>(await this.execute(params, req, runtime), new ScaleWithAdjustmentResponse({}));
51135
+ }
51136
+
50233
51137
  }
50234
51138
 
50235
51139
  /**
@@ -50296,7 +51200,12 @@ export default class Client extends OpenApi {
50296
51200
  reqBodyType: "formData",
50297
51201
  bodyType: "json",
50298
51202
  });
50299
- return $dara.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
51203
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51204
+ return $dara.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
51205
+ } else {
51206
+ return $dara.cast<SetGroupDeletionProtectionResponse>(await this.execute(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
51207
+ }
51208
+
50300
51209
  }
50301
51210
 
50302
51211
  /**
@@ -50353,7 +51262,12 @@ export default class Client extends OpenApi {
50353
51262
  reqBodyType: "formData",
50354
51263
  bodyType: "json",
50355
51264
  });
50356
- return $dara.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
51265
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51266
+ return $dara.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
51267
+ } else {
51268
+ return $dara.cast<SetInstanceHealthResponse>(await this.execute(params, req, runtime), new SetInstanceHealthResponse({}));
51269
+ }
51270
+
50357
51271
  }
50358
51272
 
50359
51273
  /**
@@ -50420,7 +51334,12 @@ export default class Client extends OpenApi {
50420
51334
  reqBodyType: "formData",
50421
51335
  bodyType: "json",
50422
51336
  });
50423
- return $dara.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
51337
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51338
+ return $dara.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
51339
+ } else {
51340
+ return $dara.cast<SetInstancesProtectionResponse>(await this.execute(params, req, runtime), new SetInstancesProtectionResponse({}));
51341
+ }
51342
+
50424
51343
  }
50425
51344
 
50426
51345
  /**
@@ -50506,7 +51425,12 @@ export default class Client extends OpenApi {
50506
51425
  reqBodyType: "formData",
50507
51426
  bodyType: "json",
50508
51427
  });
50509
- return $dara.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
51428
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51429
+ return $dara.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
51430
+ } else {
51431
+ return $dara.cast<StartInstanceRefreshResponse>(await this.execute(params, req, runtime), new StartInstanceRefreshResponse({}));
51432
+ }
51433
+
50510
51434
  }
50511
51435
 
50512
51436
  /**
@@ -50573,7 +51497,12 @@ export default class Client extends OpenApi {
50573
51497
  reqBodyType: "formData",
50574
51498
  bodyType: "json",
50575
51499
  });
50576
- return $dara.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
51500
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51501
+ return $dara.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
51502
+ } else {
51503
+ return $dara.cast<SuspendInstanceRefreshResponse>(await this.execute(params, req, runtime), new SuspendInstanceRefreshResponse({}));
51504
+ }
51505
+
50577
51506
  }
50578
51507
 
50579
51508
  /**
@@ -50638,7 +51567,12 @@ export default class Client extends OpenApi {
50638
51567
  reqBodyType: "formData",
50639
51568
  bodyType: "json",
50640
51569
  });
50641
- return $dara.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
51570
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51571
+ return $dara.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
51572
+ } else {
51573
+ return $dara.cast<SuspendProcessesResponse>(await this.execute(params, req, runtime), new SuspendProcessesResponse({}));
51574
+ }
51575
+
50642
51576
  }
50643
51577
 
50644
51578
  /**
@@ -50709,7 +51643,12 @@ export default class Client extends OpenApi {
50709
51643
  reqBodyType: "formData",
50710
51644
  bodyType: "json",
50711
51645
  });
50712
- return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
51646
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51647
+ return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
51648
+ } else {
51649
+ return $dara.cast<TagResourcesResponse>(await this.execute(params, req, runtime), new TagResourcesResponse({}));
51650
+ }
51651
+
50713
51652
  }
50714
51653
 
50715
51654
  /**
@@ -50784,7 +51723,12 @@ export default class Client extends OpenApi {
50784
51723
  reqBodyType: "formData",
50785
51724
  bodyType: "json",
50786
51725
  });
50787
- return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
51726
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51727
+ return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
51728
+ } else {
51729
+ return $dara.cast<UntagResourcesResponse>(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
51730
+ }
51731
+
50788
51732
  }
50789
51733
 
50790
51734
  /**
@@ -50842,7 +51786,12 @@ export default class Client extends OpenApi {
50842
51786
  reqBodyType: "formData",
50843
51787
  bodyType: "json",
50844
51788
  });
50845
- return $dara.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
51789
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51790
+ return $dara.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
51791
+ } else {
51792
+ return $dara.cast<VerifyAuthenticationResponse>(await this.execute(params, req, runtime), new VerifyAuthenticationResponse({}));
51793
+ }
51794
+
50846
51795
  }
50847
51796
 
50848
51797
  /**
@@ -50896,7 +51845,12 @@ export default class Client extends OpenApi {
50896
51845
  reqBodyType: "formData",
50897
51846
  bodyType: "json",
50898
51847
  });
50899
- return $dara.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
51848
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
51849
+ return $dara.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
51850
+ } else {
51851
+ return $dara.cast<VerifyUserResponse>(await this.execute(params, req, runtime), new VerifyUserResponse({}));
51852
+ }
51853
+
50900
51854
  }
50901
51855
 
50902
51856
  /**