@alicloud/cs20151215 4.8.9 → 4.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
@@ -1142,117 +1142,190 @@ export class CheckServiceRoleResponseBodyRoles extends $dara.Model {
1142
1142
 
1143
1143
  export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
1144
1144
  /**
1145
+ * @remarks
1146
+ * Indicates whether auto-renewal is enabled for the control plane node.
1147
+ *
1145
1148
  * @example
1146
1149
  * true
1147
1150
  */
1148
1151
  autoRenew?: boolean;
1149
1152
  /**
1153
+ * @remarks
1154
+ * The auto-renewal duration for the control plane node.
1155
+ *
1150
1156
  * @example
1151
1157
  * 1
1152
1158
  */
1153
1159
  autoRenewPeriod?: number;
1154
1160
  /**
1161
+ * @remarks
1162
+ * The billing method of the control plane node.
1163
+ *
1155
1164
  * @example
1156
1165
  * PrePaid
1157
1166
  */
1158
1167
  chargeType?: string;
1159
1168
  /**
1169
+ * @remarks
1170
+ * Indicates whether to install CloudMonitor for the node.
1171
+ *
1160
1172
  * @example
1161
1173
  * true
1162
1174
  */
1163
1175
  cloudMonitorFlags?: boolean;
1164
1176
  /**
1177
+ * @remarks
1178
+ * The CPU management policy of nodes in the node pool.
1179
+ *
1165
1180
  * @example
1166
1181
  * none
1167
1182
  */
1168
1183
  cpuPolicy?: string;
1169
1184
  /**
1185
+ * @remarks
1186
+ * The ID of the deployment set.
1187
+ *
1170
1188
  * @example
1171
1189
  * ds-bp10b35imuam5amw****
1172
1190
  */
1173
1191
  deploymentsetId?: string;
1174
1192
  /**
1193
+ * @remarks
1194
+ * The ID of the image.
1195
+ *
1175
1196
  * @example
1176
1197
  * aliyun_3_x64_20G_alibase_20240819.vhd
1177
1198
  */
1178
1199
  imageId?: string;
1179
1200
  /**
1201
+ * @remarks
1202
+ * The type of the OS image.
1203
+ *
1180
1204
  * @example
1181
1205
  * AliyunLinux3
1182
1206
  */
1183
1207
  imageType?: string;
1208
+ /**
1209
+ * @remarks
1210
+ * The instance type of the node.
1211
+ */
1184
1212
  instanceTypes?: string[];
1185
1213
  /**
1214
+ * @remarks
1215
+ * The name of the key pair. You must set key_pair or login_password.
1216
+ *
1186
1217
  * @example
1187
1218
  * ack
1188
1219
  */
1189
1220
  keyPair?: string;
1190
1221
  /**
1222
+ * @remarks
1223
+ * The SSH logon password. The password must be 8 to 30 characters in length and contain a minimum of three of the following character types: uppercase letters, lowercase letters, digits, and special characters. You must set login_password or key_pair.
1224
+ *
1191
1225
  * @example
1192
1226
  * ack@Test
1193
1227
  */
1194
1228
  loginPassword?: string;
1195
1229
  /**
1230
+ * @remarks
1231
+ * The node port range.
1232
+ *
1196
1233
  * @example
1197
1234
  * 30000-32767
1198
1235
  */
1199
1236
  nodePortRange?: string;
1200
1237
  /**
1238
+ * @remarks
1239
+ * The subscription duration of the control plane node.
1240
+ *
1201
1241
  * @example
1202
1242
  * 1
1203
1243
  */
1204
1244
  period?: number;
1205
1245
  /**
1246
+ * @remarks
1247
+ * The unit of the subscription duration of the control plane node.
1248
+ *
1206
1249
  * @example
1207
1250
  * Month
1208
1251
  */
1209
1252
  periodUnit?: string;
1210
1253
  /**
1254
+ * @remarks
1255
+ * The runtime.
1256
+ *
1211
1257
  * @example
1212
1258
  * containerd
1213
1259
  */
1214
1260
  runtime?: string;
1215
1261
  /**
1262
+ * @remarks
1263
+ * Indicates whether to enable Alibaba Cloud Linux Security Hardening.
1264
+ *
1216
1265
  * @example
1217
1266
  * true
1218
1267
  */
1219
1268
  securityHardeningOs?: boolean;
1220
1269
  /**
1270
+ * @remarks
1271
+ * The number of control plane nodes.
1272
+ *
1221
1273
  * @example
1222
1274
  * 3
1223
1275
  */
1224
1276
  size?: number;
1225
1277
  /**
1278
+ * @remarks
1279
+ * Indicates whether to enable MLPS security hardening.
1280
+ *
1226
1281
  * @example
1227
1282
  * true
1228
1283
  */
1229
1284
  socEnabled?: boolean;
1230
1285
  /**
1286
+ * @remarks
1287
+ * Indicates whether to enable the burst feature for the system disk.
1288
+ *
1231
1289
  * @example
1232
1290
  * true
1233
1291
  */
1234
1292
  systemDiskBurstingEnabled?: boolean;
1235
1293
  /**
1294
+ * @remarks
1295
+ * The category of the system disk for nodes.
1296
+ *
1236
1297
  * @example
1237
1298
  * cloud_essd
1238
1299
  */
1239
1300
  systemDiskCategory?: string;
1240
1301
  /**
1302
+ * @remarks
1303
+ * The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs.
1304
+ *
1241
1305
  * @example
1242
1306
  * PL1
1243
1307
  */
1244
1308
  systemDiskPerformanceLevel?: string;
1245
1309
  /**
1310
+ * @remarks
1311
+ * The preset read/write IOPS of the system disk.
1312
+ *
1246
1313
  * @example
1247
1314
  * 1000
1248
1315
  */
1249
1316
  systemDiskProvisionedIops?: number;
1250
1317
  /**
1318
+ * @remarks
1319
+ * The system disk size of the node. The value must be at least 40 GB.
1320
+ *
1251
1321
  * @example
1252
1322
  * 120
1253
1323
  */
1254
1324
  systemDiskSize?: number;
1255
1325
  /**
1326
+ * @remarks
1327
+ * The automatic snapshot policy of the node.
1328
+ *
1256
1329
  * @example
1257
1330
  * sp-2zej1nogjvovnz4z****
1258
1331
  */
@@ -9767,6 +9840,12 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $dara.Model {
9767
9840
  /**
9768
9841
  * @remarks
9769
9842
  * Features of the queried Kubernetes version.
9843
+ *
9844
+ * @example
9845
+ * {
9846
+ * "AnyAZ": true,
9847
+ * "ChargeType": "PostPaid"
9848
+ * }
9770
9849
  */
9771
9850
  capabilities?: { [key: string]: any };
9772
9851
  /**
@@ -9777,11 +9856,18 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $dara.Model {
9777
9856
  /**
9778
9857
  * @remarks
9779
9858
  * The metadata of the Kubernetes version.
9859
+ *
9860
+ * @example
9861
+ * {
9862
+ * "KubernetesVersion": "1.31.1-aliyun.1",
9863
+ * "SubClass": "default",
9864
+ * "ServiceCIDR": ""
9865
+ * }
9780
9866
  */
9781
9867
  metaData?: { [key: string]: any };
9782
9868
  /**
9783
9869
  * @remarks
9784
- * Details of the supported container runtimes.
9870
+ * The container runtime configurations.
9785
9871
  */
9786
9872
  runtimes?: Runtime[];
9787
9873
  /**
@@ -14708,7 +14794,18 @@ export class ModifyNodePoolNodeConfigRequestRollingPolicy extends $dara.Model {
14708
14794
  }
14709
14795
 
14710
14796
  export class RepairClusterNodePoolRequestOperations extends $dara.Model {
14797
+ /**
14798
+ * @remarks
14799
+ * List of repair operation parameters.
14800
+ */
14711
14801
  args?: string[];
14802
+ /**
14803
+ * @remarks
14804
+ * Repair operation ID.
14805
+ *
14806
+ * @example
14807
+ * remove.containerdContainer
14808
+ */
14712
14809
  operationId?: string;
14713
14810
  static names(): { [key: string]: string } {
14714
14811
  return {
@@ -14887,7 +14984,10 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $dara.Model {
14887
14984
  export class UnInstallClusterAddonsRequestAddons extends $dara.Model {
14888
14985
  /**
14889
14986
  * @remarks
14890
- * Specifies whether to release cloud resources.
14987
+ * Specifies whether to clear cloud resources.
14988
+ *
14989
+ * * true: clears the data and cloud resources.
14990
+ * * false: retains the data and cloud resources.
14891
14991
  *
14892
14992
  * @example
14893
14993
  * true
@@ -14895,7 +14995,7 @@ export class UnInstallClusterAddonsRequestAddons extends $dara.Model {
14895
14995
  cleanupCloudResources?: boolean;
14896
14996
  /**
14897
14997
  * @remarks
14898
- * The component name.
14998
+ * The name of the component.
14899
14999
  *
14900
15000
  * @example
14901
15001
  * ack-node-problem-detector
@@ -15225,6 +15325,38 @@ export class Addon extends $dara.Model {
15225
15325
  }
15226
15326
  }
15227
15327
 
15328
+ export class ContainerdConfig extends $dara.Model {
15329
+ insecureRegistries?: string[];
15330
+ registryMirrors?: string[];
15331
+ static names(): { [key: string]: string } {
15332
+ return {
15333
+ insecureRegistries: 'insecureRegistries',
15334
+ registryMirrors: 'registryMirrors',
15335
+ };
15336
+ }
15337
+
15338
+ static types(): { [key: string]: any } {
15339
+ return {
15340
+ insecureRegistries: { 'type': 'array', 'itemType': 'string' },
15341
+ registryMirrors: { 'type': 'array', 'itemType': 'string' },
15342
+ };
15343
+ }
15344
+
15345
+ validate() {
15346
+ if(Array.isArray(this.insecureRegistries)) {
15347
+ $dara.Model.validateArray(this.insecureRegistries);
15348
+ }
15349
+ if(Array.isArray(this.registryMirrors)) {
15350
+ $dara.Model.validateArray(this.registryMirrors);
15351
+ }
15352
+ super.validate();
15353
+ }
15354
+
15355
+ constructor(map?: { [key: string]: any }) {
15356
+ super(map);
15357
+ }
15358
+ }
15359
+
15228
15360
  export class DataDisk extends $dara.Model {
15229
15361
  /**
15230
15362
  * @example
@@ -15375,6 +15507,7 @@ export class InstancePatterns extends $dara.Model {
15375
15507
  * EnterpriseLevel
15376
15508
  */
15377
15509
  instanceFamilyLevel?: string;
15510
+ instanceTypeFamilies?: string[];
15378
15511
  /**
15379
15512
  * @example
15380
15513
  * 8
@@ -15392,6 +15525,7 @@ export class InstancePatterns extends $dara.Model {
15392
15525
  * @deprecated
15393
15526
  */
15394
15527
  maxPrice?: number;
15528
+ maximumGpuAmount?: number;
15395
15529
  /**
15396
15530
  * @example
15397
15531
  * 8
@@ -15407,6 +15541,9 @@ export class InstancePatterns extends $dara.Model {
15407
15541
  * 8
15408
15542
  */
15409
15543
  minMemorySize?: number;
15544
+ minimumEniIpv6AddressQuantity?: number;
15545
+ minimumEniPrivateIpAddressQuantity?: number;
15546
+ minimumEniQuantity?: number;
15410
15547
  static names(): { [key: string]: string } {
15411
15548
  return {
15412
15549
  architectures: 'architectures',
@@ -15417,12 +15554,17 @@ export class InstancePatterns extends $dara.Model {
15417
15554
  excludedInstanceTypes: 'excluded_instance_types',
15418
15555
  instanceCategories: 'instance_categories',
15419
15556
  instanceFamilyLevel: 'instance_family_level',
15557
+ instanceTypeFamilies: 'instance_type_families',
15420
15558
  maxCpuCores: 'max_cpu_cores',
15421
15559
  maxMemorySize: 'max_memory_size',
15422
15560
  maxPrice: 'max_price',
15561
+ maximumGpuAmount: 'maximum_gpu_amount',
15423
15562
  memory: 'memory',
15424
15563
  minCpuCores: 'min_cpu_cores',
15425
15564
  minMemorySize: 'min_memory_size',
15565
+ minimumEniIpv6AddressQuantity: 'minimum_eni_ipv6_address_quantity',
15566
+ minimumEniPrivateIpAddressQuantity: 'minimum_eni_private_ip_address_quantity',
15567
+ minimumEniQuantity: 'minimum_eni_quantity',
15426
15568
  };
15427
15569
  }
15428
15570
 
@@ -15436,12 +15578,17 @@ export class InstancePatterns extends $dara.Model {
15436
15578
  excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
15437
15579
  instanceCategories: { 'type': 'array', 'itemType': 'string' },
15438
15580
  instanceFamilyLevel: 'string',
15581
+ instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
15439
15582
  maxCpuCores: 'number',
15440
15583
  maxMemorySize: 'number',
15441
15584
  maxPrice: 'number',
15585
+ maximumGpuAmount: 'number',
15442
15586
  memory: 'number',
15443
15587
  minCpuCores: 'number',
15444
15588
  minMemorySize: 'number',
15589
+ minimumEniIpv6AddressQuantity: 'number',
15590
+ minimumEniPrivateIpAddressQuantity: 'number',
15591
+ minimumEniQuantity: 'number',
15445
15592
  };
15446
15593
  }
15447
15594
 
@@ -15458,6 +15605,9 @@ export class InstancePatterns extends $dara.Model {
15458
15605
  if(Array.isArray(this.instanceCategories)) {
15459
15606
  $dara.Model.validateArray(this.instanceCategories);
15460
15607
  }
15608
+ if(Array.isArray(this.instanceTypeFamilies)) {
15609
+ $dara.Model.validateArray(this.instanceTypeFamilies);
15610
+ }
15461
15611
  super.validate();
15462
15612
  }
15463
15613
 
@@ -17144,6 +17294,10 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
17144
17294
  * 0
17145
17295
  */
17146
17296
  minReplicaCount?: number;
17297
+ /**
17298
+ * @remarks
17299
+ * Auto-scaling priority configuration. After creating a node pool with elasticity enabled, you can choose whether to configure a priority strategy and priority settings through [Enabling Node Auto-scaling](https://help.aliyun.com/document_detail/119099.html). This allows you to set priorities for the specified auto-scaling node pool scaling group. The priority value range is [1, 100] and must be a positive integer.
17300
+ */
17147
17301
  priorities?: { [key: string]: string[] };
17148
17302
  /**
17149
17303
  * @remarks
@@ -17179,8 +17333,14 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
17179
17333
  */
17180
17334
  scaleUpFromZero?: boolean;
17181
17335
  /**
17336
+ * @remarks
17337
+ * Elastic component type, default is goatscaler for cluster version 1.24 and above, and cluster-autoscaler below that. Values:
17338
+ *
17339
+ * - `goatscaler`: Instant elasticity.
17340
+ * - `cluster-autoscaler`: Auto-scaling.
17341
+ *
17182
17342
  * @example
17183
- * cluster-autoscaler
17343
+ * goatscaler
17184
17344
  */
17185
17345
  scalerType?: string;
17186
17346
  /**
@@ -17418,6 +17578,8 @@ export class CreateClusterRequest extends $dara.Model {
17418
17578
  apiAudiences?: string;
17419
17579
  /**
17420
17580
  * @remarks
17581
+ * **This parameter is deprecated.**
17582
+ *
17421
17583
  * Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
17422
17584
  *
17423
17585
  * * `true`: enables auto-renewal.
@@ -17435,9 +17597,11 @@ export class CreateClusterRequest extends $dara.Model {
17435
17597
  autoRenew?: boolean;
17436
17598
  /**
17437
17599
  * @remarks
17600
+ * **This parameter is deprecated.**
17601
+ *
17438
17602
  * The auto-renewal duration. This parameter takes effect only if charge_type is set to PrePaid and auto_renew is set to true. If you set `period_unit` to Month, the valid values of auto_renew_period are 1, 2, 3, 6, and 12.
17439
17603
  *
17440
- * Default value: 1
17604
+ * Default value: 1.
17441
17605
  *
17442
17606
  * This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
17443
17607
  *
@@ -17449,19 +17613,18 @@ export class CreateClusterRequest extends $dara.Model {
17449
17613
  autoRenewPeriod?: number;
17450
17614
  /**
17451
17615
  * @remarks
17452
- * The billing method of the resource. The following resources are billed on a subscription basis:
17616
+ * The billing method of the Classic Load Balancer (CLB) instance that is used by the API server. Default value: PostPaid. Valid values:
17453
17617
  *
17454
- * The internal-facing SLB instance used by the API server.
17618
+ * * PostPaid: pay-as-you-go
17619
+ * * PrePaid: subscription. The newly created billing method for the CLB instance is not supported.
17455
17620
  *
17456
- * Valid values:
17457
- *
17458
- * PrePaid: subscription
17621
+ * >
17459
17622
  *
17460
- * PostPaid: pay-as-you-go
17623
+ * * This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
17461
17624
  *
17462
- * Default value: PostPaid.
17625
+ * * Starting from December 1, 2024, new CLB instances no longer support the subscription billing method and will be charged for the instances.
17463
17626
  *
17464
- * This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
17627
+ * For more information, see [CLB billing adjustments](https://help.aliyun.com/document_detail/2839797.html).
17465
17628
  *
17466
17629
  * @example
17467
17630
  * 1
@@ -17539,6 +17702,10 @@ export class CreateClusterRequest extends $dara.Model {
17539
17702
  * 172.20.0.0/16
17540
17703
  */
17541
17704
  containerCidr?: string;
17705
+ /**
17706
+ * @remarks
17707
+ * The control plane configurations of an ACK dedicated cluster.
17708
+ */
17542
17709
  controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
17543
17710
  /**
17544
17711
  * @remarks
@@ -17836,7 +18003,7 @@ export class CreateClusterRequest extends $dara.Model {
17836
18003
  *
17837
18004
  * Valid values: 1, 2, 3, 6, and 12.
17838
18005
  *
17839
- * Default value: 1
18006
+ * Default value: 1.
17840
18007
  *
17841
18008
  * @example
17842
18009
  * 1
@@ -17860,8 +18027,8 @@ export class CreateClusterRequest extends $dara.Model {
17860
18027
  * @remarks
17861
18028
  * The billing method of master nodes. Valid values:
17862
18029
  *
17863
- * * `PrePaid`: subscription.
17864
- * * `PostPaid`: the pay-as-you-go.
18030
+ * * `PrePaid`: subscription
18031
+ * * `PostPaid`: the pay-as-you-go
17865
18032
  *
17866
18033
  * Default value: `PostPaid`
17867
18034
  *
@@ -17884,7 +18051,7 @@ export class CreateClusterRequest extends $dara.Model {
17884
18051
  *
17885
18052
  * Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
17886
18053
  *
17887
- * Default value: 1
18054
+ * Default value: 1.
17888
18055
  *
17889
18056
  * @example
17890
18057
  * 1
@@ -17909,8 +18076,8 @@ export class CreateClusterRequest extends $dara.Model {
17909
18076
  * The system disk type of master nodes. Valid values:
17910
18077
  *
17911
18078
  * * `cloud_efficiency`: ultra disk
17912
- * * `cloud_ssd`: standard SSD.
17913
- * * `cloud_essd`: Enterprise SSD (ESSD).
18079
+ * * `cloud_ssd`: standard SSD
18080
+ * * `cloud_essd`: Enterprise SSD (ESSD)
17914
18081
  *
17915
18082
  * Default value: `cloud_ssd`. The default value may vary in different zones.
17916
18083
  *
@@ -18055,11 +18222,13 @@ export class CreateClusterRequest extends $dara.Model {
18055
18222
  osType?: string;
18056
18223
  /**
18057
18224
  * @remarks
18225
+ * **This parameter is deprecated.**
18226
+ *
18058
18227
  * The subscription duration of the instance. This parameter takes effect and is required only when you set charge_type to PrePaid.
18059
18228
  *
18060
18229
  * Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
18061
18230
  *
18062
- * Default value: 1
18231
+ * Default value: 1.
18063
18232
  *
18064
18233
  * This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
18065
18234
  *
@@ -18071,6 +18240,8 @@ export class CreateClusterRequest extends $dara.Model {
18071
18240
  period?: number;
18072
18241
  /**
18073
18242
  * @remarks
18243
+ * **This parameter is deprecated.**
18244
+ *
18074
18245
  * The billing cycle. This parameter is required if charge_type is set to PrePaid.
18075
18246
  *
18076
18247
  * Valid value: Month, which indicates that resources are billed only on a monthly basis.
@@ -18277,7 +18448,7 @@ export class CreateClusterRequest extends $dara.Model {
18277
18448
  tags?: Tag[];
18278
18449
  /**
18279
18450
  * @remarks
18280
- * The taints that you want to add to nodes. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
18451
+ * The taint. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
18281
18452
  *
18282
18453
  * @deprecated
18283
18454
  */
@@ -18369,8 +18540,8 @@ export class CreateClusterRequest extends $dara.Model {
18369
18540
  * @remarks
18370
18541
  * The billing method of worker nodes. Valid values:
18371
18542
  *
18372
- * * `PrePaid`: subscription.
18373
- * * `PostPaid`: the pay-as-you-go.
18543
+ * * `PrePaid`: subscription
18544
+ * * `PostPaid`: the pay-as-you-go
18374
18545
  *
18375
18546
  * Default value: PostPaid.
18376
18547
  *
@@ -18393,7 +18564,7 @@ export class CreateClusterRequest extends $dara.Model {
18393
18564
  *
18394
18565
  * Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
18395
18566
  *
18396
- * Default value: 1
18567
+ * Default value: 1.
18397
18568
  *
18398
18569
  * @example
18399
18570
  * 1
@@ -18419,10 +18590,10 @@ export class CreateClusterRequest extends $dara.Model {
18419
18590
  *
18420
18591
  * Valid values:
18421
18592
  *
18422
- * * `cloud_efficiency`: ultra disk.
18423
- * * `cloud_ssd`: standard SSD.
18593
+ * * `cloud_efficiency`: ultra disk
18594
+ * * `cloud_ssd`: standard SSD
18424
18595
  *
18425
- * Default value: `cloud_ssd`.
18596
+ * Default value: `cloud_ssd`
18426
18597
  *
18427
18598
  * @example
18428
18599
  * cloud_efficiency
@@ -26737,7 +26908,7 @@ export class GetClusterAuditProjectResponse extends $dara.Model {
26737
26908
  export class GetClusterCheckResponseBody extends $dara.Model {
26738
26909
  /**
26739
26910
  * @remarks
26740
- * Id of the request
26911
+ * The ID of the cluster check task.
26741
26912
  *
26742
26913
  * @example
26743
26914
  * 1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto
@@ -29208,7 +29379,7 @@ export class ModifyClusterNodePoolResponse extends $dara.Model {
29208
29379
  export class ModifyClusterTagsRequest extends $dara.Model {
29209
29380
  /**
29210
29381
  * @remarks
29211
- * The data of the labels that you want to modify.
29382
+ * The data of the tags that you want to modify.
29212
29383
  */
29213
29384
  body?: Tag[];
29214
29385
  static names(): { [key: string]: string } {
@@ -29265,9 +29436,10 @@ export class ModifyClusterTagsResponse extends $dara.Model {
29265
29436
  }
29266
29437
 
29267
29438
  export class ModifyNodePoolNodeConfigRequest extends $dara.Model {
29439
+ containerdConfig?: ContainerdConfig;
29268
29440
  /**
29269
29441
  * @remarks
29270
- * The kubelet configuration.
29442
+ * The parameters of the kubelet.
29271
29443
  */
29272
29444
  kubeletConfig?: KubeletConfig;
29273
29445
  /**
@@ -29277,11 +29449,12 @@ export class ModifyNodePoolNodeConfigRequest extends $dara.Model {
29277
29449
  osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
29278
29450
  /**
29279
29451
  * @remarks
29280
- * The rotation configuration.
29452
+ * The rolling policy configuration.
29281
29453
  */
29282
29454
  rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
29283
29455
  static names(): { [key: string]: string } {
29284
29456
  return {
29457
+ containerdConfig: 'containerd_config',
29285
29458
  kubeletConfig: 'kubelet_config',
29286
29459
  osConfig: 'os_config',
29287
29460
  rollingPolicy: 'rolling_policy',
@@ -29290,6 +29463,7 @@ export class ModifyNodePoolNodeConfigRequest extends $dara.Model {
29290
29463
 
29291
29464
  static types(): { [key: string]: any } {
29292
29465
  return {
29466
+ containerdConfig: ContainerdConfig,
29293
29467
  kubeletConfig: KubeletConfig,
29294
29468
  osConfig: ModifyNodePoolNodeConfigRequestOsConfig,
29295
29469
  rollingPolicy: ModifyNodePoolNodeConfigRequestRollingPolicy,
@@ -29297,6 +29471,9 @@ export class ModifyNodePoolNodeConfigRequest extends $dara.Model {
29297
29471
  }
29298
29472
 
29299
29473
  validate() {
29474
+ if(this.containerdConfig && typeof (this.containerdConfig as any).validate === 'function') {
29475
+ (this.containerdConfig as any).validate();
29476
+ }
29300
29477
  if(this.kubeletConfig && typeof (this.kubeletConfig as any).validate === 'function') {
29301
29478
  (this.kubeletConfig as any).validate();
29302
29479
  }
@@ -30040,6 +30217,8 @@ export class RepairClusterNodePoolRequest extends $dara.Model {
30040
30217
  *
30041
30218
  * @example
30042
30219
  * true
30220
+ *
30221
+ * @deprecated
30043
30222
  */
30044
30223
  autoRestart?: boolean;
30045
30224
  /**
@@ -30047,6 +30226,10 @@ export class RepairClusterNodePoolRequest extends $dara.Model {
30047
30226
  * The list of nodes. If you do not specify nodes, all nodes in the node pool are selected.
30048
30227
  */
30049
30228
  nodes?: string[];
30229
+ /**
30230
+ * @remarks
30231
+ * The repair operation to be performed. If not specified, all repair operations will be executed by default. Generally, there is no need to specify this in most scenarios.
30232
+ */
30050
30233
  operations?: RepairClusterNodePoolRequestOperations[];
30051
30234
  static names(): { [key: string]: string } {
30052
30235
  return {
@@ -30359,7 +30542,7 @@ export class RunClusterCheckResponseBody extends $dara.Model {
30359
30542
  checkId?: string;
30360
30543
  /**
30361
30544
  * @remarks
30362
- * Id of the request
30545
+ * The ID of the request.
30363
30546
  *
30364
30547
  * @example
30365
30548
  * F04DF81D-5C12-1524-B36A-86E02526****
@@ -31125,11 +31308,17 @@ export class StartAlertRequest extends $dara.Model {
31125
31308
  /**
31126
31309
  * @remarks
31127
31310
  * The name of the alert rule set to be enabled.
31311
+ *
31312
+ * @example
31313
+ * sample
31128
31314
  */
31129
31315
  alertRuleGroupName?: string;
31130
31316
  /**
31131
31317
  * @remarks
31132
31318
  * The name of the alert rule to be enabled. If you do not specify an alert rule name, the alert rule set is enabled.
31319
+ *
31320
+ * @example
31321
+ * sample
31133
31322
  */
31134
31323
  alertRuleName?: string;
31135
31324
  static names(): { [key: string]: string } {
@@ -31234,11 +31423,17 @@ export class StopAlertRequest extends $dara.Model {
31234
31423
  /**
31235
31424
  * @remarks
31236
31425
  * The name of the alert rule set to be disabled.
31426
+ *
31427
+ * @example
31428
+ * sample
31237
31429
  */
31238
31430
  alertRuleGroupName?: string;
31239
31431
  /**
31240
31432
  * @remarks
31241
31433
  * The name of the alert rule to be disabled. If you do not specify an alert rule name, the alert rule set is disabled.
31434
+ *
31435
+ * @example
31436
+ * sample
31242
31437
  */
31243
31438
  alertRuleName?: string;
31244
31439
  static names(): { [key: string]: string } {
@@ -31547,7 +31742,7 @@ export class TagResourcesResponse extends $dara.Model {
31547
31742
  export class UnInstallClusterAddonsRequest extends $dara.Model {
31548
31743
  /**
31549
31744
  * @remarks
31550
- * The components that you want to uninstall. The list is an array.
31745
+ * The list of components that you want to uninstall. The list is an array.
31551
31746
  */
31552
31747
  addons?: UnInstallClusterAddonsRequestAddons[];
31553
31748
  static names(): { [key: string]: string } {
@@ -33267,7 +33462,12 @@ export default class Client extends OpenApi {
33267
33462
  reqBodyType: "json",
33268
33463
  bodyType: "json",
33269
33464
  });
33270
- return $dara.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
33465
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33466
+ return $dara.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
33467
+ } else {
33468
+ return $dara.cast<AttachInstancesResponse>(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
33469
+ }
33470
+
33271
33471
  }
33272
33472
 
33273
33473
  /**
@@ -33324,7 +33524,12 @@ export default class Client extends OpenApi {
33324
33524
  reqBodyType: "json",
33325
33525
  bodyType: "json",
33326
33526
  });
33327
- return $dara.cast<AttachInstancesToNodePoolResponse>(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
33527
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33528
+ return $dara.cast<AttachInstancesToNodePoolResponse>(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
33529
+ } else {
33530
+ return $dara.cast<AttachInstancesToNodePoolResponse>(await this.execute(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
33531
+ }
33532
+
33328
33533
  }
33329
33534
 
33330
33535
  /**
@@ -33364,7 +33569,12 @@ export default class Client extends OpenApi {
33364
33569
  reqBodyType: "json",
33365
33570
  bodyType: "none",
33366
33571
  });
33367
- return $dara.cast<CancelClusterUpgradeResponse>(await this.callApi(params, req, runtime), new CancelClusterUpgradeResponse({}));
33572
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33573
+ return $dara.cast<CancelClusterUpgradeResponse>(await this.callApi(params, req, runtime), new CancelClusterUpgradeResponse({}));
33574
+ } else {
33575
+ return $dara.cast<CancelClusterUpgradeResponse>(await this.execute(params, req, runtime), new CancelClusterUpgradeResponse({}));
33576
+ }
33577
+
33368
33578
  }
33369
33579
 
33370
33580
  /**
@@ -33405,7 +33615,12 @@ export default class Client extends OpenApi {
33405
33615
  reqBodyType: "json",
33406
33616
  bodyType: "none",
33407
33617
  });
33408
- return $dara.cast<CancelComponentUpgradeResponse>(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
33618
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33619
+ return $dara.cast<CancelComponentUpgradeResponse>(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
33620
+ } else {
33621
+ return $dara.cast<CancelComponentUpgradeResponse>(await this.execute(params, req, runtime), new CancelComponentUpgradeResponse({}));
33622
+ }
33623
+
33409
33624
  }
33410
33625
 
33411
33626
  /**
@@ -33443,7 +33658,12 @@ export default class Client extends OpenApi {
33443
33658
  reqBodyType: "json",
33444
33659
  bodyType: "json",
33445
33660
  });
33446
- return $dara.cast<CancelOperationPlanResponse>(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
33661
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33662
+ return $dara.cast<CancelOperationPlanResponse>(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
33663
+ } else {
33664
+ return $dara.cast<CancelOperationPlanResponse>(await this.execute(params, req, runtime), new CancelOperationPlanResponse({}));
33665
+ }
33666
+
33447
33667
  }
33448
33668
 
33449
33669
  /**
@@ -33478,7 +33698,12 @@ export default class Client extends OpenApi {
33478
33698
  reqBodyType: "json",
33479
33699
  bodyType: "none",
33480
33700
  });
33481
- return $dara.cast<CancelTaskResponse>(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
33701
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33702
+ return $dara.cast<CancelTaskResponse>(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
33703
+ } else {
33704
+ return $dara.cast<CancelTaskResponse>(await this.execute(params, req, runtime), new CancelTaskResponse({}));
33705
+ }
33706
+
33482
33707
  }
33483
33708
 
33484
33709
  /**
@@ -33513,7 +33738,12 @@ export default class Client extends OpenApi {
33513
33738
  reqBodyType: "json",
33514
33739
  bodyType: "json",
33515
33740
  });
33516
- return $dara.cast<CheckControlPlaneLogEnableResponse>(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
33741
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33742
+ return $dara.cast<CheckControlPlaneLogEnableResponse>(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
33743
+ } else {
33744
+ return $dara.cast<CheckControlPlaneLogEnableResponse>(await this.execute(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
33745
+ }
33746
+
33517
33747
  }
33518
33748
 
33519
33749
  /**
@@ -33556,7 +33786,12 @@ export default class Client extends OpenApi {
33556
33786
  reqBodyType: "json",
33557
33787
  bodyType: "json",
33558
33788
  });
33559
- return $dara.cast<CheckServiceRoleResponse>(await this.callApi(params, req, runtime), new CheckServiceRoleResponse({}));
33789
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33790
+ return $dara.cast<CheckServiceRoleResponse>(await this.callApi(params, req, runtime), new CheckServiceRoleResponse({}));
33791
+ } else {
33792
+ return $dara.cast<CheckServiceRoleResponse>(await this.execute(params, req, runtime), new CheckServiceRoleResponse({}));
33793
+ }
33794
+
33560
33795
  }
33561
33796
 
33562
33797
  /**
@@ -33607,7 +33842,12 @@ export default class Client extends OpenApi {
33607
33842
  reqBodyType: "json",
33608
33843
  bodyType: "none",
33609
33844
  });
33610
- return $dara.cast<CleanClusterUserPermissionsResponse>(await this.callApi(params, req, runtime), new CleanClusterUserPermissionsResponse({}));
33845
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33846
+ return $dara.cast<CleanClusterUserPermissionsResponse>(await this.callApi(params, req, runtime), new CleanClusterUserPermissionsResponse({}));
33847
+ } else {
33848
+ return $dara.cast<CleanClusterUserPermissionsResponse>(await this.execute(params, req, runtime), new CleanClusterUserPermissionsResponse({}));
33849
+ }
33850
+
33611
33851
  }
33612
33852
 
33613
33853
  /**
@@ -33673,7 +33913,12 @@ export default class Client extends OpenApi {
33673
33913
  reqBodyType: "json",
33674
33914
  bodyType: "json",
33675
33915
  });
33676
- return $dara.cast<CleanUserPermissionsResponse>(await this.callApi(params, req, runtime), new CleanUserPermissionsResponse({}));
33916
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
33917
+ return $dara.cast<CleanUserPermissionsResponse>(await this.callApi(params, req, runtime), new CleanUserPermissionsResponse({}));
33918
+ } else {
33919
+ return $dara.cast<CleanUserPermissionsResponse>(await this.execute(params, req, runtime), new CleanUserPermissionsResponse({}));
33920
+ }
33921
+
33677
33922
  }
33678
33923
 
33679
33924
  /**
@@ -33783,7 +34028,12 @@ export default class Client extends OpenApi {
33783
34028
  reqBodyType: "json",
33784
34029
  bodyType: "json",
33785
34030
  });
33786
- return $dara.cast<CreateAutoscalingConfigResponse>(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
34031
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
34032
+ return $dara.cast<CreateAutoscalingConfigResponse>(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
34033
+ } else {
34034
+ return $dara.cast<CreateAutoscalingConfigResponse>(await this.execute(params, req, runtime), new CreateAutoscalingConfigResponse({}));
34035
+ }
34036
+
33787
34037
  }
33788
34038
 
33789
34039
  /**
@@ -34225,7 +34475,12 @@ export default class Client extends OpenApi {
34225
34475
  reqBodyType: "json",
34226
34476
  bodyType: "json",
34227
34477
  });
34228
- return $dara.cast<CreateClusterResponse>(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
34478
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
34479
+ return $dara.cast<CreateClusterResponse>(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
34480
+ } else {
34481
+ return $dara.cast<CreateClusterResponse>(await this.execute(params, req, runtime), new CreateClusterResponse({}));
34482
+ }
34483
+
34229
34484
  }
34230
34485
 
34231
34486
  /**
@@ -34283,7 +34538,12 @@ export default class Client extends OpenApi {
34283
34538
  reqBodyType: "json",
34284
34539
  bodyType: "json",
34285
34540
  });
34286
- return $dara.cast<CreateClusterDiagnosisResponse>(await this.callApi(params, req, runtime), new CreateClusterDiagnosisResponse({}));
34541
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
34542
+ return $dara.cast<CreateClusterDiagnosisResponse>(await this.callApi(params, req, runtime), new CreateClusterDiagnosisResponse({}));
34543
+ } else {
34544
+ return $dara.cast<CreateClusterDiagnosisResponse>(await this.execute(params, req, runtime), new CreateClusterDiagnosisResponse({}));
34545
+ }
34546
+
34287
34547
  }
34288
34548
 
34289
34549
  /**
@@ -34376,7 +34636,12 @@ export default class Client extends OpenApi {
34376
34636
  reqBodyType: "json",
34377
34637
  bodyType: "json",
34378
34638
  });
34379
- return $dara.cast<CreateClusterNodePoolResponse>(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
34639
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
34640
+ return $dara.cast<CreateClusterNodePoolResponse>(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
34641
+ } else {
34642
+ return $dara.cast<CreateClusterNodePoolResponse>(await this.execute(params, req, runtime), new CreateClusterNodePoolResponse({}));
34643
+ }
34644
+
34380
34645
  }
34381
34646
 
34382
34647
  /**
@@ -34429,7 +34694,12 @@ export default class Client extends OpenApi {
34429
34694
  reqBodyType: "json",
34430
34695
  bodyType: "json",
34431
34696
  });
34432
- return $dara.cast<CreateEdgeMachineResponse>(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
34697
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
34698
+ return $dara.cast<CreateEdgeMachineResponse>(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
34699
+ } else {
34700
+ return $dara.cast<CreateEdgeMachineResponse>(await this.execute(params, req, runtime), new CreateEdgeMachineResponse({}));
34701
+ }
34702
+
34433
34703
  }
34434
34704
 
34435
34705
  /**
@@ -34489,7 +34759,12 @@ export default class Client extends OpenApi {
34489
34759
  reqBodyType: "json",
34490
34760
  bodyType: "json",
34491
34761
  });
34492
- return $dara.cast<CreateKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
34762
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
34763
+ return $dara.cast<CreateKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
34764
+ } else {
34765
+ return $dara.cast<CreateKubernetesTriggerResponse>(await this.execute(params, req, runtime), new CreateKubernetesTriggerResponse({}));
34766
+ }
34767
+
34493
34768
  }
34494
34769
 
34495
34770
  /**
@@ -34553,7 +34828,12 @@ export default class Client extends OpenApi {
34553
34828
  reqBodyType: "json",
34554
34829
  bodyType: "json",
34555
34830
  });
34556
- return $dara.cast<CreateTemplateResponse>(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
34831
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
34832
+ return $dara.cast<CreateTemplateResponse>(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
34833
+ } else {
34834
+ return $dara.cast<CreateTemplateResponse>(await this.execute(params, req, runtime), new CreateTemplateResponse({}));
34835
+ }
34836
+
34557
34837
  }
34558
34838
 
34559
34839
  /**
@@ -34610,7 +34890,12 @@ export default class Client extends OpenApi {
34610
34890
  reqBodyType: "json",
34611
34891
  bodyType: "json",
34612
34892
  });
34613
- return $dara.cast<CreateTriggerResponse>(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
34893
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
34894
+ return $dara.cast<CreateTriggerResponse>(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
34895
+ } else {
34896
+ return $dara.cast<CreateTriggerResponse>(await this.execute(params, req, runtime), new CreateTriggerResponse({}));
34897
+ }
34898
+
34614
34899
  }
34615
34900
 
34616
34901
  /**
@@ -34661,7 +34946,12 @@ export default class Client extends OpenApi {
34661
34946
  reqBodyType: "json",
34662
34947
  bodyType: "array",
34663
34948
  });
34664
- return $dara.cast<DeleteAlertContactResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
34949
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
34950
+ return $dara.cast<DeleteAlertContactResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
34951
+ } else {
34952
+ return $dara.cast<DeleteAlertContactResponse>(await this.execute(params, req, runtime), new DeleteAlertContactResponse({}));
34953
+ }
34954
+
34665
34955
  }
34666
34956
 
34667
34957
  /**
@@ -34712,7 +35002,12 @@ export default class Client extends OpenApi {
34712
35002
  reqBodyType: "json",
34713
35003
  bodyType: "array",
34714
35004
  });
34715
- return $dara.cast<DeleteAlertContactGroupResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
35005
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35006
+ return $dara.cast<DeleteAlertContactGroupResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
35007
+ } else {
35008
+ return $dara.cast<DeleteAlertContactGroupResponse>(await this.execute(params, req, runtime), new DeleteAlertContactGroupResponse({}));
35009
+ }
35010
+
34716
35011
  }
34717
35012
 
34718
35013
  /**
@@ -34779,7 +35074,12 @@ export default class Client extends OpenApi {
34779
35074
  reqBodyType: "json",
34780
35075
  bodyType: "json",
34781
35076
  });
34782
- return $dara.cast<DeleteClusterResponse>(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
35077
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35078
+ return $dara.cast<DeleteClusterResponse>(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
35079
+ } else {
35080
+ return $dara.cast<DeleteClusterResponse>(await this.execute(params, req, runtime), new DeleteClusterResponse({}));
35081
+ }
35082
+
34783
35083
  }
34784
35084
 
34785
35085
  /**
@@ -34824,7 +35124,12 @@ export default class Client extends OpenApi {
34824
35124
  reqBodyType: "json",
34825
35125
  bodyType: "json",
34826
35126
  });
34827
- return $dara.cast<DeleteClusterNodepoolResponse>(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
35127
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35128
+ return $dara.cast<DeleteClusterNodepoolResponse>(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
35129
+ } else {
35130
+ return $dara.cast<DeleteClusterNodepoolResponse>(await this.execute(params, req, runtime), new DeleteClusterNodepoolResponse({}));
35131
+ }
35132
+
34828
35133
  }
34829
35134
 
34830
35135
  /**
@@ -34845,8 +35150,7 @@ export default class Client extends OpenApi {
34845
35150
  * @remarks
34846
35151
  * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
34847
35152
  * * The operation may have unexpected risks. Back up the data before you perform this operation.
34848
- * * When the system removes a node, it sets the status of the node to Unschedulable.
34849
- * * The system removes only worker nodes. It does not remove master nodes.
35153
+ * * When you remove a node, the system sets the status of the node to Unschedulable.
34850
35154
  *
34851
35155
  * @param request - DeleteClusterNodesRequest
34852
35156
  * @param headers - map
@@ -34883,7 +35187,12 @@ export default class Client extends OpenApi {
34883
35187
  reqBodyType: "json",
34884
35188
  bodyType: "json",
34885
35189
  });
34886
- return $dara.cast<DeleteClusterNodesResponse>(await this.callApi(params, req, runtime), new DeleteClusterNodesResponse({}));
35190
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35191
+ return $dara.cast<DeleteClusterNodesResponse>(await this.callApi(params, req, runtime), new DeleteClusterNodesResponse({}));
35192
+ } else {
35193
+ return $dara.cast<DeleteClusterNodesResponse>(await this.execute(params, req, runtime), new DeleteClusterNodesResponse({}));
35194
+ }
35195
+
34887
35196
  }
34888
35197
 
34889
35198
  /**
@@ -34892,8 +35201,7 @@ export default class Client extends OpenApi {
34892
35201
  * @remarks
34893
35202
  * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
34894
35203
  * * The operation may have unexpected risks. Back up the data before you perform this operation.
34895
- * * When the system removes a node, it sets the status of the node to Unschedulable.
34896
- * * The system removes only worker nodes. It does not remove master nodes.
35204
+ * * When you remove a node, the system sets the status of the node to Unschedulable.
34897
35205
  *
34898
35206
  * @param request - DeleteClusterNodesRequest
34899
35207
  * @returns DeleteClusterNodesResponse
@@ -34934,7 +35242,12 @@ export default class Client extends OpenApi {
34934
35242
  reqBodyType: "json",
34935
35243
  bodyType: "none",
34936
35244
  });
34937
- return $dara.cast<DeleteEdgeMachineResponse>(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
35245
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35246
+ return $dara.cast<DeleteEdgeMachineResponse>(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
35247
+ } else {
35248
+ return $dara.cast<DeleteEdgeMachineResponse>(await this.execute(params, req, runtime), new DeleteEdgeMachineResponse({}));
35249
+ }
35250
+
34938
35251
  }
34939
35252
 
34940
35253
  /**
@@ -34974,7 +35287,12 @@ export default class Client extends OpenApi {
34974
35287
  reqBodyType: "json",
34975
35288
  bodyType: "none",
34976
35289
  });
34977
- return $dara.cast<DeleteKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
35290
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35291
+ return $dara.cast<DeleteKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
35292
+ } else {
35293
+ return $dara.cast<DeleteKubernetesTriggerResponse>(await this.execute(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
35294
+ }
35295
+
34978
35296
  }
34979
35297
 
34980
35298
  /**
@@ -35020,7 +35338,12 @@ export default class Client extends OpenApi {
35020
35338
  reqBodyType: "json",
35021
35339
  bodyType: "json",
35022
35340
  });
35023
- return $dara.cast<DeletePolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
35341
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35342
+ return $dara.cast<DeletePolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
35343
+ } else {
35344
+ return $dara.cast<DeletePolicyInstanceResponse>(await this.execute(params, req, runtime), new DeletePolicyInstanceResponse({}));
35345
+ }
35346
+
35024
35347
  }
35025
35348
 
35026
35349
  /**
@@ -35057,7 +35380,12 @@ export default class Client extends OpenApi {
35057
35380
  reqBodyType: "json",
35058
35381
  bodyType: "none",
35059
35382
  });
35060
- return $dara.cast<DeleteTemplateResponse>(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
35383
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35384
+ return $dara.cast<DeleteTemplateResponse>(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
35385
+ } else {
35386
+ return $dara.cast<DeleteTemplateResponse>(await this.execute(params, req, runtime), new DeleteTemplateResponse({}));
35387
+ }
35388
+
35061
35389
  }
35062
35390
 
35063
35391
  /**
@@ -35092,7 +35420,12 @@ export default class Client extends OpenApi {
35092
35420
  reqBodyType: "json",
35093
35421
  bodyType: "none",
35094
35422
  });
35095
- return $dara.cast<DeleteTriggerResponse>(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
35423
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35424
+ return $dara.cast<DeleteTriggerResponse>(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
35425
+ } else {
35426
+ return $dara.cast<DeleteTriggerResponse>(await this.execute(params, req, runtime), new DeleteTriggerResponse({}));
35427
+ }
35428
+
35096
35429
  }
35097
35430
 
35098
35431
  /**
@@ -35143,7 +35476,12 @@ export default class Client extends OpenApi {
35143
35476
  reqBodyType: "json",
35144
35477
  bodyType: "json",
35145
35478
  });
35146
- return $dara.cast<DeployPolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
35479
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35480
+ return $dara.cast<DeployPolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
35481
+ } else {
35482
+ return $dara.cast<DeployPolicyInstanceResponse>(await this.execute(params, req, runtime), new DeployPolicyInstanceResponse({}));
35483
+ }
35484
+
35147
35485
  }
35148
35486
 
35149
35487
  /**
@@ -35212,7 +35550,12 @@ export default class Client extends OpenApi {
35212
35550
  reqBodyType: "json",
35213
35551
  bodyType: "json",
35214
35552
  });
35215
- return $dara.cast<DescribeAddonResponse>(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
35553
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35554
+ return $dara.cast<DescribeAddonResponse>(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
35555
+ } else {
35556
+ return $dara.cast<DescribeAddonResponse>(await this.execute(params, req, runtime), new DescribeAddonResponse({}));
35557
+ }
35558
+
35216
35559
  }
35217
35560
 
35218
35561
  /**
@@ -35276,7 +35619,12 @@ export default class Client extends OpenApi {
35276
35619
  reqBodyType: "json",
35277
35620
  bodyType: "json",
35278
35621
  });
35279
- return $dara.cast<DescribeAddonsResponse>(await this.callApi(params, req, runtime), new DescribeAddonsResponse({}));
35622
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35623
+ return $dara.cast<DescribeAddonsResponse>(await this.callApi(params, req, runtime), new DescribeAddonsResponse({}));
35624
+ } else {
35625
+ return $dara.cast<DescribeAddonsResponse>(await this.execute(params, req, runtime), new DescribeAddonsResponse({}));
35626
+ }
35627
+
35280
35628
  }
35281
35629
 
35282
35630
  /**
@@ -35319,7 +35667,12 @@ export default class Client extends OpenApi {
35319
35667
  reqBodyType: "json",
35320
35668
  bodyType: "json",
35321
35669
  });
35322
- return $dara.cast<DescribeClusterAddonInstanceResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
35670
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35671
+ return $dara.cast<DescribeClusterAddonInstanceResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
35672
+ } else {
35673
+ return $dara.cast<DescribeClusterAddonInstanceResponse>(await this.execute(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
35674
+ }
35675
+
35323
35676
  }
35324
35677
 
35325
35678
  /**
@@ -35368,7 +35721,12 @@ export default class Client extends OpenApi {
35368
35721
  reqBodyType: "json",
35369
35722
  bodyType: "json",
35370
35723
  });
35371
- return $dara.cast<DescribeClusterAddonMetadataResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
35724
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35725
+ return $dara.cast<DescribeClusterAddonMetadataResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
35726
+ } else {
35727
+ return $dara.cast<DescribeClusterAddonMetadataResponse>(await this.execute(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
35728
+ }
35729
+
35372
35730
  }
35373
35731
 
35374
35732
  /**
@@ -35411,7 +35769,12 @@ export default class Client extends OpenApi {
35411
35769
  reqBodyType: "json",
35412
35770
  bodyType: "json",
35413
35771
  });
35414
- return $dara.cast<DescribeClusterAddonUpgradeStatusResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
35772
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35773
+ return $dara.cast<DescribeClusterAddonUpgradeStatusResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
35774
+ } else {
35775
+ return $dara.cast<DescribeClusterAddonUpgradeStatusResponse>(await this.execute(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
35776
+ }
35777
+
35415
35778
  }
35416
35779
 
35417
35780
  /**
@@ -35466,7 +35829,12 @@ export default class Client extends OpenApi {
35466
35829
  reqBodyType: "json",
35467
35830
  bodyType: "json",
35468
35831
  });
35469
- return $dara.cast<DescribeClusterAddonsUpgradeStatusResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
35832
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35833
+ return $dara.cast<DescribeClusterAddonsUpgradeStatusResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
35834
+ } else {
35835
+ return $dara.cast<DescribeClusterAddonsUpgradeStatusResponse>(await this.execute(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
35836
+ }
35837
+
35470
35838
  }
35471
35839
 
35472
35840
  /**
@@ -35509,7 +35877,12 @@ export default class Client extends OpenApi {
35509
35877
  reqBodyType: "json",
35510
35878
  bodyType: "json",
35511
35879
  });
35512
- return $dara.cast<DescribeClusterAddonsVersionResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
35880
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35881
+ return $dara.cast<DescribeClusterAddonsVersionResponse>(await this.callApi(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
35882
+ } else {
35883
+ return $dara.cast<DescribeClusterAddonsVersionResponse>(await this.execute(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
35884
+ }
35885
+
35513
35886
  }
35514
35887
 
35515
35888
  /**
@@ -35575,7 +35948,12 @@ export default class Client extends OpenApi {
35575
35948
  reqBodyType: "json",
35576
35949
  bodyType: "string",
35577
35950
  });
35578
- return $dara.cast<DescribeClusterAttachScriptsResponse>(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
35951
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35952
+ return $dara.cast<DescribeClusterAttachScriptsResponse>(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
35953
+ } else {
35954
+ return $dara.cast<DescribeClusterAttachScriptsResponse>(await this.execute(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
35955
+ }
35956
+
35579
35957
  }
35580
35958
 
35581
35959
  /**
@@ -35612,7 +35990,12 @@ export default class Client extends OpenApi {
35612
35990
  reqBodyType: "json",
35613
35991
  bodyType: "json",
35614
35992
  });
35615
- return $dara.cast<DescribeClusterDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
35993
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
35994
+ return $dara.cast<DescribeClusterDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
35995
+ } else {
35996
+ return $dara.cast<DescribeClusterDetailResponse>(await this.execute(params, req, runtime), new DescribeClusterDetailResponse({}));
35997
+ }
35998
+
35616
35999
  }
35617
36000
 
35618
36001
  /**
@@ -35663,7 +36046,12 @@ export default class Client extends OpenApi {
35663
36046
  reqBodyType: "json",
35664
36047
  bodyType: "json",
35665
36048
  });
35666
- return $dara.cast<DescribeClusterEventsResponse>(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
36049
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36050
+ return $dara.cast<DescribeClusterEventsResponse>(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
36051
+ } else {
36052
+ return $dara.cast<DescribeClusterEventsResponse>(await this.execute(params, req, runtime), new DescribeClusterEventsResponse({}));
36053
+ }
36054
+
35667
36055
  }
35668
36056
 
35669
36057
  /**
@@ -35700,7 +36088,12 @@ export default class Client extends OpenApi {
35700
36088
  reqBodyType: "json",
35701
36089
  bodyType: "array",
35702
36090
  });
35703
- return $dara.cast<DescribeClusterLogsResponse>(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
36091
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36092
+ return $dara.cast<DescribeClusterLogsResponse>(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
36093
+ } else {
36094
+ return $dara.cast<DescribeClusterLogsResponse>(await this.execute(params, req, runtime), new DescribeClusterLogsResponse({}));
36095
+ }
36096
+
35704
36097
  }
35705
36098
 
35706
36099
  /**
@@ -35735,7 +36128,12 @@ export default class Client extends OpenApi {
35735
36128
  reqBodyType: "json",
35736
36129
  bodyType: "json",
35737
36130
  });
35738
- return $dara.cast<DescribeClusterNodePoolDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
36131
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36132
+ return $dara.cast<DescribeClusterNodePoolDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
36133
+ } else {
36134
+ return $dara.cast<DescribeClusterNodePoolDetailResponse>(await this.execute(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
36135
+ }
36136
+
35739
36137
  }
35740
36138
 
35741
36139
  /**
@@ -35778,7 +36176,12 @@ export default class Client extends OpenApi {
35778
36176
  reqBodyType: "json",
35779
36177
  bodyType: "json",
35780
36178
  });
35781
- return $dara.cast<DescribeClusterNodePoolsResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
36179
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36180
+ return $dara.cast<DescribeClusterNodePoolsResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
36181
+ } else {
36182
+ return $dara.cast<DescribeClusterNodePoolsResponse>(await this.execute(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
36183
+ }
36184
+
35782
36185
  }
35783
36186
 
35784
36187
  /**
@@ -35839,7 +36242,12 @@ export default class Client extends OpenApi {
35839
36242
  reqBodyType: "json",
35840
36243
  bodyType: "json",
35841
36244
  });
35842
- return $dara.cast<DescribeClusterNodesResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
36245
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36246
+ return $dara.cast<DescribeClusterNodesResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
36247
+ } else {
36248
+ return $dara.cast<DescribeClusterNodesResponse>(await this.execute(params, req, runtime), new DescribeClusterNodesResponse({}));
36249
+ }
36250
+
35843
36251
  }
35844
36252
 
35845
36253
  /**
@@ -35884,7 +36292,12 @@ export default class Client extends OpenApi {
35884
36292
  reqBodyType: "json",
35885
36293
  bodyType: "array",
35886
36294
  });
35887
- return $dara.cast<DescribeClusterResourcesResponse>(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
36295
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36296
+ return $dara.cast<DescribeClusterResourcesResponse>(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
36297
+ } else {
36298
+ return $dara.cast<DescribeClusterResourcesResponse>(await this.execute(params, req, runtime), new DescribeClusterResourcesResponse({}));
36299
+ }
36300
+
35888
36301
  }
35889
36302
 
35890
36303
  /**
@@ -35933,7 +36346,12 @@ export default class Client extends OpenApi {
35933
36346
  reqBodyType: "json",
35934
36347
  bodyType: "json",
35935
36348
  });
35936
- return $dara.cast<DescribeClusterTasksResponse>(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
36349
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36350
+ return $dara.cast<DescribeClusterTasksResponse>(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
36351
+ } else {
36352
+ return $dara.cast<DescribeClusterTasksResponse>(await this.execute(params, req, runtime), new DescribeClusterTasksResponse({}));
36353
+ }
36354
+
35937
36355
  }
35938
36356
 
35939
36357
  /**
@@ -35985,7 +36403,12 @@ export default class Client extends OpenApi {
35985
36403
  reqBodyType: "json",
35986
36404
  bodyType: "json",
35987
36405
  });
35988
- return $dara.cast<DescribeClusterUserKubeconfigResponse>(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
36406
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36407
+ return $dara.cast<DescribeClusterUserKubeconfigResponse>(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
36408
+ } else {
36409
+ return $dara.cast<DescribeClusterUserKubeconfigResponse>(await this.execute(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
36410
+ }
36411
+
35989
36412
  }
35990
36413
 
35991
36414
  /**
@@ -36040,7 +36463,12 @@ export default class Client extends OpenApi {
36040
36463
  reqBodyType: "json",
36041
36464
  bodyType: "json",
36042
36465
  });
36043
- return $dara.cast<DescribeClusterV2UserKubeconfigResponse>(await this.callApi(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
36466
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36467
+ return $dara.cast<DescribeClusterV2UserKubeconfigResponse>(await this.callApi(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
36468
+ } else {
36469
+ return $dara.cast<DescribeClusterV2UserKubeconfigResponse>(await this.execute(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
36470
+ }
36471
+
36044
36472
  }
36045
36473
 
36046
36474
  /**
@@ -36080,7 +36508,12 @@ export default class Client extends OpenApi {
36080
36508
  reqBodyType: "json",
36081
36509
  bodyType: "json",
36082
36510
  });
36083
- return $dara.cast<DescribeClusterVulsResponse>(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
36511
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36512
+ return $dara.cast<DescribeClusterVulsResponse>(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
36513
+ } else {
36514
+ return $dara.cast<DescribeClusterVulsResponse>(await this.execute(params, req, runtime), new DescribeClusterVulsResponse({}));
36515
+ }
36516
+
36084
36517
  }
36085
36518
 
36086
36519
  /**
@@ -36134,7 +36567,12 @@ export default class Client extends OpenApi {
36134
36567
  reqBodyType: "json",
36135
36568
  bodyType: "array",
36136
36569
  });
36137
- return $dara.cast<DescribeClustersResponse>(await this.callApi(params, req, runtime), new DescribeClustersResponse({}));
36570
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36571
+ return $dara.cast<DescribeClustersResponse>(await this.callApi(params, req, runtime), new DescribeClustersResponse({}));
36572
+ } else {
36573
+ return $dara.cast<DescribeClustersResponse>(await this.execute(params, req, runtime), new DescribeClustersResponse({}));
36574
+ }
36575
+
36138
36576
  }
36139
36577
 
36140
36578
  /**
@@ -36206,7 +36644,12 @@ export default class Client extends OpenApi {
36206
36644
  reqBodyType: "json",
36207
36645
  bodyType: "json",
36208
36646
  });
36209
- return $dara.cast<DescribeClustersForRegionResponse>(await this.callApi(params, req, runtime), new DescribeClustersForRegionResponse({}));
36647
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36648
+ return $dara.cast<DescribeClustersForRegionResponse>(await this.callApi(params, req, runtime), new DescribeClustersForRegionResponse({}));
36649
+ } else {
36650
+ return $dara.cast<DescribeClustersForRegionResponse>(await this.execute(params, req, runtime), new DescribeClustersForRegionResponse({}));
36651
+ }
36652
+
36210
36653
  }
36211
36654
 
36212
36655
  /**
@@ -36279,7 +36722,12 @@ export default class Client extends OpenApi {
36279
36722
  reqBodyType: "json",
36280
36723
  bodyType: "json",
36281
36724
  });
36282
- return $dara.cast<DescribeClustersV1Response>(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
36725
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36726
+ return $dara.cast<DescribeClustersV1Response>(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
36727
+ } else {
36728
+ return $dara.cast<DescribeClustersV1Response>(await this.execute(params, req, runtime), new DescribeClustersV1Response({}));
36729
+ }
36730
+
36283
36731
  }
36284
36732
 
36285
36733
  /**
@@ -36319,7 +36767,12 @@ export default class Client extends OpenApi {
36319
36767
  reqBodyType: "json",
36320
36768
  bodyType: "json",
36321
36769
  });
36322
- return $dara.cast<DescribeEdgeMachineActiveProcessResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
36770
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36771
+ return $dara.cast<DescribeEdgeMachineActiveProcessResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
36772
+ } else {
36773
+ return $dara.cast<DescribeEdgeMachineActiveProcessResponse>(await this.execute(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
36774
+ }
36775
+
36323
36776
  }
36324
36777
 
36325
36778
  /**
@@ -36357,7 +36810,12 @@ export default class Client extends OpenApi {
36357
36810
  reqBodyType: "json",
36358
36811
  bodyType: "json",
36359
36812
  });
36360
- return $dara.cast<DescribeEdgeMachineModelsResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
36813
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36814
+ return $dara.cast<DescribeEdgeMachineModelsResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
36815
+ } else {
36816
+ return $dara.cast<DescribeEdgeMachineModelsResponse>(await this.execute(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
36817
+ }
36818
+
36361
36819
  }
36362
36820
 
36363
36821
  /**
@@ -36392,7 +36850,12 @@ export default class Client extends OpenApi {
36392
36850
  reqBodyType: "json",
36393
36851
  bodyType: "json",
36394
36852
  });
36395
- return $dara.cast<DescribeEdgeMachineTunnelConfigDetailResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
36853
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36854
+ return $dara.cast<DescribeEdgeMachineTunnelConfigDetailResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
36855
+ } else {
36856
+ return $dara.cast<DescribeEdgeMachineTunnelConfigDetailResponse>(await this.execute(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
36857
+ }
36858
+
36396
36859
  }
36397
36860
 
36398
36861
  /**
@@ -36455,7 +36918,12 @@ export default class Client extends OpenApi {
36455
36918
  reqBodyType: "json",
36456
36919
  bodyType: "json",
36457
36920
  });
36458
- return $dara.cast<DescribeEdgeMachinesResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
36921
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36922
+ return $dara.cast<DescribeEdgeMachinesResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
36923
+ } else {
36924
+ return $dara.cast<DescribeEdgeMachinesResponse>(await this.execute(params, req, runtime), new DescribeEdgeMachinesResponse({}));
36925
+ }
36926
+
36459
36927
  }
36460
36928
 
36461
36929
  /**
@@ -36512,7 +36980,12 @@ export default class Client extends OpenApi {
36512
36980
  reqBodyType: "json",
36513
36981
  bodyType: "json",
36514
36982
  });
36515
- return $dara.cast<DescribeEventsResponse>(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
36983
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
36984
+ return $dara.cast<DescribeEventsResponse>(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
36985
+ } else {
36986
+ return $dara.cast<DescribeEventsResponse>(await this.execute(params, req, runtime), new DescribeEventsResponse({}));
36987
+ }
36988
+
36516
36989
  }
36517
36990
 
36518
36991
  /**
@@ -36565,7 +37038,12 @@ export default class Client extends OpenApi {
36565
37038
  reqBodyType: "json",
36566
37039
  bodyType: "json",
36567
37040
  });
36568
- return $dara.cast<DescribeEventsForRegionResponse>(await this.callApi(params, req, runtime), new DescribeEventsForRegionResponse({}));
37041
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37042
+ return $dara.cast<DescribeEventsForRegionResponse>(await this.callApi(params, req, runtime), new DescribeEventsForRegionResponse({}));
37043
+ } else {
37044
+ return $dara.cast<DescribeEventsForRegionResponse>(await this.execute(params, req, runtime), new DescribeEventsForRegionResponse({}));
37045
+ }
37046
+
36569
37047
  }
36570
37048
 
36571
37049
  /**
@@ -36620,7 +37098,12 @@ export default class Client extends OpenApi {
36620
37098
  reqBodyType: "json",
36621
37099
  bodyType: "json",
36622
37100
  });
36623
- return $dara.cast<DescribeExternalAgentResponse>(await this.callApi(params, req, runtime), new DescribeExternalAgentResponse({}));
37101
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37102
+ return $dara.cast<DescribeExternalAgentResponse>(await this.callApi(params, req, runtime), new DescribeExternalAgentResponse({}));
37103
+ } else {
37104
+ return $dara.cast<DescribeExternalAgentResponse>(await this.execute(params, req, runtime), new DescribeExternalAgentResponse({}));
37105
+ }
37106
+
36624
37107
  }
36625
37108
 
36626
37109
  /**
@@ -36695,7 +37178,12 @@ export default class Client extends OpenApi {
36695
37178
  reqBodyType: "json",
36696
37179
  bodyType: "array",
36697
37180
  });
36698
- return $dara.cast<DescribeKubernetesVersionMetadataResponse>(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
37181
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37182
+ return $dara.cast<DescribeKubernetesVersionMetadataResponse>(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
37183
+ } else {
37184
+ return $dara.cast<DescribeKubernetesVersionMetadataResponse>(await this.execute(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
37185
+ }
37186
+
36699
37187
  }
36700
37188
 
36701
37189
  /**
@@ -36740,7 +37228,12 @@ export default class Client extends OpenApi {
36740
37228
  reqBodyType: "json",
36741
37229
  bodyType: "json",
36742
37230
  });
36743
- return $dara.cast<DescribeNodePoolVulsResponse>(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
37231
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37232
+ return $dara.cast<DescribeNodePoolVulsResponse>(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
37233
+ } else {
37234
+ return $dara.cast<DescribeNodePoolVulsResponse>(await this.execute(params, req, runtime), new DescribeNodePoolVulsResponse({}));
37235
+ }
37236
+
36744
37237
  }
36745
37238
 
36746
37239
  /**
@@ -36777,7 +37270,12 @@ export default class Client extends OpenApi {
36777
37270
  reqBodyType: "json",
36778
37271
  bodyType: "json",
36779
37272
  });
36780
- return $dara.cast<DescribePoliciesResponse>(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
37273
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37274
+ return $dara.cast<DescribePoliciesResponse>(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
37275
+ } else {
37276
+ return $dara.cast<DescribePoliciesResponse>(await this.execute(params, req, runtime), new DescribePoliciesResponse({}));
37277
+ }
37278
+
36781
37279
  }
36782
37280
 
36783
37281
  /**
@@ -36812,7 +37310,12 @@ export default class Client extends OpenApi {
36812
37310
  reqBodyType: "json",
36813
37311
  bodyType: "json",
36814
37312
  });
36815
- return $dara.cast<DescribePolicyDetailsResponse>(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
37313
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37314
+ return $dara.cast<DescribePolicyDetailsResponse>(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
37315
+ } else {
37316
+ return $dara.cast<DescribePolicyDetailsResponse>(await this.execute(params, req, runtime), new DescribePolicyDetailsResponse({}));
37317
+ }
37318
+
36816
37319
  }
36817
37320
 
36818
37321
  /**
@@ -36847,7 +37350,12 @@ export default class Client extends OpenApi {
36847
37350
  reqBodyType: "json",
36848
37351
  bodyType: "json",
36849
37352
  });
36850
- return $dara.cast<DescribePolicyGovernanceInClusterResponse>(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
37353
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37354
+ return $dara.cast<DescribePolicyGovernanceInClusterResponse>(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
37355
+ } else {
37356
+ return $dara.cast<DescribePolicyGovernanceInClusterResponse>(await this.execute(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
37357
+ }
37358
+
36851
37359
  }
36852
37360
 
36853
37361
  /**
@@ -36894,7 +37402,12 @@ export default class Client extends OpenApi {
36894
37402
  reqBodyType: "json",
36895
37403
  bodyType: "array",
36896
37404
  });
36897
- return $dara.cast<DescribePolicyInstancesResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
37405
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37406
+ return $dara.cast<DescribePolicyInstancesResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
37407
+ } else {
37408
+ return $dara.cast<DescribePolicyInstancesResponse>(await this.execute(params, req, runtime), new DescribePolicyInstancesResponse({}));
37409
+ }
37410
+
36898
37411
  }
36899
37412
 
36900
37413
  /**
@@ -36931,7 +37444,12 @@ export default class Client extends OpenApi {
36931
37444
  reqBodyType: "json",
36932
37445
  bodyType: "json",
36933
37446
  });
36934
- return $dara.cast<DescribePolicyInstancesStatusResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
37447
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37448
+ return $dara.cast<DescribePolicyInstancesStatusResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
37449
+ } else {
37450
+ return $dara.cast<DescribePolicyInstancesStatusResponse>(await this.execute(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
37451
+ }
37452
+
36935
37453
  }
36936
37454
 
36937
37455
  /**
@@ -36978,7 +37496,12 @@ export default class Client extends OpenApi {
36978
37496
  reqBodyType: "json",
36979
37497
  bodyType: "array",
36980
37498
  });
36981
- return $dara.cast<DescribeResourcesDeleteProtectionResponse>(await this.callApi(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
37499
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37500
+ return $dara.cast<DescribeResourcesDeleteProtectionResponse>(await this.callApi(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
37501
+ } else {
37502
+ return $dara.cast<DescribeResourcesDeleteProtectionResponse>(await this.execute(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
37503
+ }
37504
+
36982
37505
  }
36983
37506
 
36984
37507
  /**
@@ -37030,7 +37553,12 @@ export default class Client extends OpenApi {
37030
37553
  reqBodyType: "json",
37031
37554
  bodyType: "json",
37032
37555
  });
37033
- return $dara.cast<DescribeSubaccountK8sClusterUserConfigResponse>(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
37556
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37557
+ return $dara.cast<DescribeSubaccountK8sClusterUserConfigResponse>(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
37558
+ } else {
37559
+ return $dara.cast<DescribeSubaccountK8sClusterUserConfigResponse>(await this.execute(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
37560
+ }
37561
+
37034
37562
  }
37035
37563
 
37036
37564
  /**
@@ -37070,7 +37598,12 @@ export default class Client extends OpenApi {
37070
37598
  reqBodyType: "json",
37071
37599
  bodyType: "json",
37072
37600
  });
37073
- return $dara.cast<DescribeTaskInfoResponse>(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
37601
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37602
+ return $dara.cast<DescribeTaskInfoResponse>(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
37603
+ } else {
37604
+ return $dara.cast<DescribeTaskInfoResponse>(await this.execute(params, req, runtime), new DescribeTaskInfoResponse({}));
37605
+ }
37606
+
37074
37607
  }
37075
37608
 
37076
37609
  /**
@@ -37113,7 +37646,12 @@ export default class Client extends OpenApi {
37113
37646
  reqBodyType: "json",
37114
37647
  bodyType: "array",
37115
37648
  });
37116
- return $dara.cast<DescribeTemplateAttributeResponse>(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
37649
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37650
+ return $dara.cast<DescribeTemplateAttributeResponse>(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
37651
+ } else {
37652
+ return $dara.cast<DescribeTemplateAttributeResponse>(await this.execute(params, req, runtime), new DescribeTemplateAttributeResponse({}));
37653
+ }
37654
+
37117
37655
  }
37118
37656
 
37119
37657
  /**
@@ -37166,7 +37704,12 @@ export default class Client extends OpenApi {
37166
37704
  reqBodyType: "json",
37167
37705
  bodyType: "json",
37168
37706
  });
37169
- return $dara.cast<DescribeTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
37707
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37708
+ return $dara.cast<DescribeTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
37709
+ } else {
37710
+ return $dara.cast<DescribeTemplatesResponse>(await this.execute(params, req, runtime), new DescribeTemplatesResponse({}));
37711
+ }
37712
+
37170
37713
  }
37171
37714
 
37172
37715
  /**
@@ -37223,7 +37766,12 @@ export default class Client extends OpenApi {
37223
37766
  reqBodyType: "json",
37224
37767
  bodyType: "array",
37225
37768
  });
37226
- return $dara.cast<DescribeTriggerResponse>(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
37769
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37770
+ return $dara.cast<DescribeTriggerResponse>(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
37771
+ } else {
37772
+ return $dara.cast<DescribeTriggerResponse>(await this.execute(params, req, runtime), new DescribeTriggerResponse({}));
37773
+ }
37774
+
37227
37775
  }
37228
37776
 
37229
37777
  /**
@@ -37260,7 +37808,12 @@ export default class Client extends OpenApi {
37260
37808
  reqBodyType: "json",
37261
37809
  bodyType: "array",
37262
37810
  });
37263
- return $dara.cast<DescribeUserClusterNamespacesResponse>(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
37811
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37812
+ return $dara.cast<DescribeUserClusterNamespacesResponse>(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
37813
+ } else {
37814
+ return $dara.cast<DescribeUserClusterNamespacesResponse>(await this.execute(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
37815
+ }
37816
+
37264
37817
  }
37265
37818
 
37266
37819
  /**
@@ -37299,7 +37852,12 @@ export default class Client extends OpenApi {
37299
37852
  reqBodyType: "json",
37300
37853
  bodyType: "array",
37301
37854
  });
37302
- return $dara.cast<DescribeUserPermissionResponse>(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
37855
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37856
+ return $dara.cast<DescribeUserPermissionResponse>(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
37857
+ } else {
37858
+ return $dara.cast<DescribeUserPermissionResponse>(await this.execute(params, req, runtime), new DescribeUserPermissionResponse({}));
37859
+ }
37860
+
37303
37861
  }
37304
37862
 
37305
37863
  /**
@@ -37338,7 +37896,12 @@ export default class Client extends OpenApi {
37338
37896
  reqBodyType: "json",
37339
37897
  bodyType: "json",
37340
37898
  });
37341
- return $dara.cast<DescribeUserQuotaResponse>(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
37899
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37900
+ return $dara.cast<DescribeUserQuotaResponse>(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
37901
+ } else {
37902
+ return $dara.cast<DescribeUserQuotaResponse>(await this.execute(params, req, runtime), new DescribeUserQuotaResponse({}));
37903
+ }
37904
+
37342
37905
  }
37343
37906
 
37344
37907
  /**
@@ -37392,7 +37955,12 @@ export default class Client extends OpenApi {
37392
37955
  reqBodyType: "json",
37393
37956
  bodyType: "json",
37394
37957
  });
37395
- return $dara.cast<EdgeClusterAddEdgeMachineResponse>(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
37958
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
37959
+ return $dara.cast<EdgeClusterAddEdgeMachineResponse>(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
37960
+ } else {
37961
+ return $dara.cast<EdgeClusterAddEdgeMachineResponse>(await this.execute(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
37962
+ }
37963
+
37396
37964
  }
37397
37965
 
37398
37966
  /**
@@ -37458,7 +38026,12 @@ export default class Client extends OpenApi {
37458
38026
  reqBodyType: "json",
37459
38027
  bodyType: "json",
37460
38028
  });
37461
- return $dara.cast<FixNodePoolVulsResponse>(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
38029
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38030
+ return $dara.cast<FixNodePoolVulsResponse>(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
38031
+ } else {
38032
+ return $dara.cast<FixNodePoolVulsResponse>(await this.execute(params, req, runtime), new FixNodePoolVulsResponse({}));
38033
+ }
38034
+
37462
38035
  }
37463
38036
 
37464
38037
  /**
@@ -37501,7 +38074,12 @@ export default class Client extends OpenApi {
37501
38074
  reqBodyType: "json",
37502
38075
  bodyType: "json",
37503
38076
  });
37504
- return $dara.cast<GetClusterAddonInstanceResponse>(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
38077
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38078
+ return $dara.cast<GetClusterAddonInstanceResponse>(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
38079
+ } else {
38080
+ return $dara.cast<GetClusterAddonInstanceResponse>(await this.execute(params, req, runtime), new GetClusterAddonInstanceResponse({}));
38081
+ }
38082
+
37505
38083
  }
37506
38084
 
37507
38085
  /**
@@ -37536,7 +38114,12 @@ export default class Client extends OpenApi {
37536
38114
  reqBodyType: "json",
37537
38115
  bodyType: "json",
37538
38116
  });
37539
- return $dara.cast<GetClusterAuditProjectResponse>(await this.callApi(params, req, runtime), new GetClusterAuditProjectResponse({}));
38117
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38118
+ return $dara.cast<GetClusterAuditProjectResponse>(await this.callApi(params, req, runtime), new GetClusterAuditProjectResponse({}));
38119
+ } else {
38120
+ return $dara.cast<GetClusterAuditProjectResponse>(await this.execute(params, req, runtime), new GetClusterAuditProjectResponse({}));
38121
+ }
38122
+
37540
38123
  }
37541
38124
 
37542
38125
  /**
@@ -37571,7 +38154,12 @@ export default class Client extends OpenApi {
37571
38154
  reqBodyType: "json",
37572
38155
  bodyType: "json",
37573
38156
  });
37574
- return $dara.cast<GetClusterCheckResponse>(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
38157
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38158
+ return $dara.cast<GetClusterCheckResponse>(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
38159
+ } else {
38160
+ return $dara.cast<GetClusterCheckResponse>(await this.execute(params, req, runtime), new GetClusterCheckResponse({}));
38161
+ }
38162
+
37575
38163
  }
37576
38164
 
37577
38165
  /**
@@ -37614,7 +38202,12 @@ export default class Client extends OpenApi {
37614
38202
  reqBodyType: "json",
37615
38203
  bodyType: "json",
37616
38204
  });
37617
- return $dara.cast<GetClusterDiagnosisCheckItemsResponse>(await this.callApi(params, req, runtime), new GetClusterDiagnosisCheckItemsResponse({}));
38205
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38206
+ return $dara.cast<GetClusterDiagnosisCheckItemsResponse>(await this.callApi(params, req, runtime), new GetClusterDiagnosisCheckItemsResponse({}));
38207
+ } else {
38208
+ return $dara.cast<GetClusterDiagnosisCheckItemsResponse>(await this.execute(params, req, runtime), new GetClusterDiagnosisCheckItemsResponse({}));
38209
+ }
38210
+
37618
38211
  }
37619
38212
 
37620
38213
  /**
@@ -37659,7 +38252,12 @@ export default class Client extends OpenApi {
37659
38252
  reqBodyType: "json",
37660
38253
  bodyType: "json",
37661
38254
  });
37662
- return $dara.cast<GetClusterDiagnosisResultResponse>(await this.callApi(params, req, runtime), new GetClusterDiagnosisResultResponse({}));
38255
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38256
+ return $dara.cast<GetClusterDiagnosisResultResponse>(await this.callApi(params, req, runtime), new GetClusterDiagnosisResultResponse({}));
38257
+ } else {
38258
+ return $dara.cast<GetClusterDiagnosisResultResponse>(await this.execute(params, req, runtime), new GetClusterDiagnosisResultResponse({}));
38259
+ }
38260
+
37663
38261
  }
37664
38262
 
37665
38263
  /**
@@ -37719,7 +38317,12 @@ export default class Client extends OpenApi {
37719
38317
  reqBodyType: "json",
37720
38318
  bodyType: "array",
37721
38319
  });
37722
- return $dara.cast<GetKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
38320
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38321
+ return $dara.cast<GetKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
38322
+ } else {
38323
+ return $dara.cast<GetKubernetesTriggerResponse>(await this.execute(params, req, runtime), new GetKubernetesTriggerResponse({}));
38324
+ }
38325
+
37723
38326
  }
37724
38327
 
37725
38328
  /**
@@ -37762,7 +38365,12 @@ export default class Client extends OpenApi {
37762
38365
  reqBodyType: "json",
37763
38366
  bodyType: "json",
37764
38367
  });
37765
- return $dara.cast<GetUpgradeStatusResponse>(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
38368
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38369
+ return $dara.cast<GetUpgradeStatusResponse>(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
38370
+ } else {
38371
+ return $dara.cast<GetUpgradeStatusResponse>(await this.execute(params, req, runtime), new GetUpgradeStatusResponse({}));
38372
+ }
38373
+
37766
38374
  }
37767
38375
 
37768
38376
  /**
@@ -37808,7 +38416,12 @@ export default class Client extends OpenApi {
37808
38416
  reqBodyType: "json",
37809
38417
  bodyType: "none",
37810
38418
  });
37811
- return $dara.cast<GrantPermissionsResponse>(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
38419
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38420
+ return $dara.cast<GrantPermissionsResponse>(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
38421
+ } else {
38422
+ return $dara.cast<GrantPermissionsResponse>(await this.execute(params, req, runtime), new GrantPermissionsResponse({}));
38423
+ }
38424
+
37812
38425
  }
37813
38426
 
37814
38427
  /**
@@ -37853,7 +38466,12 @@ export default class Client extends OpenApi {
37853
38466
  reqBodyType: "json",
37854
38467
  bodyType: "json",
37855
38468
  });
37856
- return $dara.cast<InstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
38469
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38470
+ return $dara.cast<InstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
38471
+ } else {
38472
+ return $dara.cast<InstallClusterAddonsResponse>(await this.execute(params, req, runtime), new InstallClusterAddonsResponse({}));
38473
+ }
38474
+
37857
38475
  }
37858
38476
 
37859
38477
  /**
@@ -37918,7 +38536,12 @@ export default class Client extends OpenApi {
37918
38536
  reqBodyType: "json",
37919
38537
  bodyType: "json",
37920
38538
  });
37921
- return $dara.cast<ListAddonsResponse>(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
38539
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38540
+ return $dara.cast<ListAddonsResponse>(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
38541
+ } else {
38542
+ return $dara.cast<ListAddonsResponse>(await this.execute(params, req, runtime), new ListAddonsResponse({}));
38543
+ }
38544
+
37922
38545
  }
37923
38546
 
37924
38547
  /**
@@ -37955,7 +38578,12 @@ export default class Client extends OpenApi {
37955
38578
  reqBodyType: "json",
37956
38579
  bodyType: "json",
37957
38580
  });
37958
- return $dara.cast<ListClusterAddonInstancesResponse>(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
38581
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38582
+ return $dara.cast<ListClusterAddonInstancesResponse>(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
38583
+ } else {
38584
+ return $dara.cast<ListClusterAddonInstancesResponse>(await this.execute(params, req, runtime), new ListClusterAddonInstancesResponse({}));
38585
+ }
38586
+
37959
38587
  }
37960
38588
 
37961
38589
  /**
@@ -38002,7 +38630,12 @@ export default class Client extends OpenApi {
38002
38630
  reqBodyType: "json",
38003
38631
  bodyType: "json",
38004
38632
  });
38005
- return $dara.cast<ListClusterChecksResponse>(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
38633
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38634
+ return $dara.cast<ListClusterChecksResponse>(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
38635
+ } else {
38636
+ return $dara.cast<ListClusterChecksResponse>(await this.execute(params, req, runtime), new ListClusterChecksResponse({}));
38637
+ }
38638
+
38006
38639
  }
38007
38640
 
38008
38641
  /**
@@ -38055,7 +38688,12 @@ export default class Client extends OpenApi {
38055
38688
  reqBodyType: "json",
38056
38689
  bodyType: "json",
38057
38690
  });
38058
- return $dara.cast<ListClusterKubeconfigStatesResponse>(await this.callApi(params, req, runtime), new ListClusterKubeconfigStatesResponse({}));
38691
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38692
+ return $dara.cast<ListClusterKubeconfigStatesResponse>(await this.callApi(params, req, runtime), new ListClusterKubeconfigStatesResponse({}));
38693
+ } else {
38694
+ return $dara.cast<ListClusterKubeconfigStatesResponse>(await this.execute(params, req, runtime), new ListClusterKubeconfigStatesResponse({}));
38695
+ }
38696
+
38059
38697
  }
38060
38698
 
38061
38699
  /**
@@ -38108,7 +38746,12 @@ export default class Client extends OpenApi {
38108
38746
  reqBodyType: "json",
38109
38747
  bodyType: "json",
38110
38748
  });
38111
- return $dara.cast<ListOperationPlansResponse>(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
38749
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38750
+ return $dara.cast<ListOperationPlansResponse>(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
38751
+ } else {
38752
+ return $dara.cast<ListOperationPlansResponse>(await this.execute(params, req, runtime), new ListOperationPlansResponse({}));
38753
+ }
38754
+
38112
38755
  }
38113
38756
 
38114
38757
  /**
@@ -38179,7 +38822,12 @@ export default class Client extends OpenApi {
38179
38822
  reqBodyType: "json",
38180
38823
  bodyType: "json",
38181
38824
  });
38182
- return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
38825
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38826
+ return $dara.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
38827
+ } else {
38828
+ return $dara.cast<ListTagResourcesResponse>(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
38829
+ }
38830
+
38183
38831
  }
38184
38832
 
38185
38833
  /**
@@ -38231,7 +38879,12 @@ export default class Client extends OpenApi {
38231
38879
  reqBodyType: "json",
38232
38880
  bodyType: "json",
38233
38881
  });
38234
- return $dara.cast<ListUserKubeConfigStatesResponse>(await this.callApi(params, req, runtime), new ListUserKubeConfigStatesResponse({}));
38882
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38883
+ return $dara.cast<ListUserKubeConfigStatesResponse>(await this.callApi(params, req, runtime), new ListUserKubeConfigStatesResponse({}));
38884
+ } else {
38885
+ return $dara.cast<ListUserKubeConfigStatesResponse>(await this.execute(params, req, runtime), new ListUserKubeConfigStatesResponse({}));
38886
+ }
38887
+
38235
38888
  }
38236
38889
 
38237
38890
  /**
@@ -38283,7 +38936,12 @@ export default class Client extends OpenApi {
38283
38936
  reqBodyType: "json",
38284
38937
  bodyType: "json",
38285
38938
  });
38286
- return $dara.cast<MigrateClusterResponse>(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
38939
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
38940
+ return $dara.cast<MigrateClusterResponse>(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
38941
+ } else {
38942
+ return $dara.cast<MigrateClusterResponse>(await this.execute(params, req, runtime), new MigrateClusterResponse({}));
38943
+ }
38944
+
38287
38945
  }
38288
38946
 
38289
38947
  /**
@@ -38388,7 +39046,12 @@ export default class Client extends OpenApi {
38388
39046
  reqBodyType: "json",
38389
39047
  bodyType: "json",
38390
39048
  });
38391
- return $dara.cast<ModifyClusterResponse>(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
39049
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39050
+ return $dara.cast<ModifyClusterResponse>(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
39051
+ } else {
39052
+ return $dara.cast<ModifyClusterResponse>(await this.execute(params, req, runtime), new ModifyClusterResponse({}));
39053
+ }
39054
+
38392
39055
  }
38393
39056
 
38394
39057
  /**
@@ -38439,7 +39102,12 @@ export default class Client extends OpenApi {
38439
39102
  reqBodyType: "json",
38440
39103
  bodyType: "none",
38441
39104
  });
38442
- return $dara.cast<ModifyClusterAddonResponse>(await this.callApi(params, req, runtime), new ModifyClusterAddonResponse({}));
39105
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39106
+ return $dara.cast<ModifyClusterAddonResponse>(await this.callApi(params, req, runtime), new ModifyClusterAddonResponse({}));
39107
+ } else {
39108
+ return $dara.cast<ModifyClusterAddonResponse>(await this.execute(params, req, runtime), new ModifyClusterAddonResponse({}));
39109
+ }
39110
+
38443
39111
  }
38444
39112
 
38445
39113
  /**
@@ -38493,7 +39161,12 @@ export default class Client extends OpenApi {
38493
39161
  reqBodyType: "json",
38494
39162
  bodyType: "none",
38495
39163
  });
38496
- return $dara.cast<ModifyClusterConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
39164
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39165
+ return $dara.cast<ModifyClusterConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
39166
+ } else {
39167
+ return $dara.cast<ModifyClusterConfigurationResponse>(await this.execute(params, req, runtime), new ModifyClusterConfigurationResponse({}));
39168
+ }
39169
+
38497
39170
  }
38498
39171
 
38499
39172
  /**
@@ -38569,7 +39242,12 @@ export default class Client extends OpenApi {
38569
39242
  reqBodyType: "json",
38570
39243
  bodyType: "json",
38571
39244
  });
38572
- return $dara.cast<ModifyClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
39245
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39246
+ return $dara.cast<ModifyClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
39247
+ } else {
39248
+ return $dara.cast<ModifyClusterNodePoolResponse>(await this.execute(params, req, runtime), new ModifyClusterNodePoolResponse({}));
39249
+ }
39250
+
38573
39251
  }
38574
39252
 
38575
39253
  /**
@@ -38585,7 +39263,7 @@ export default class Client extends OpenApi {
38585
39263
  }
38586
39264
 
38587
39265
  /**
38588
- * You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
39266
+ * You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
38589
39267
  *
38590
39268
  * @param request - ModifyClusterTagsRequest
38591
39269
  * @param headers - map
@@ -38609,11 +39287,16 @@ export default class Client extends OpenApi {
38609
39287
  reqBodyType: "json",
38610
39288
  bodyType: "none",
38611
39289
  });
38612
- return $dara.cast<ModifyClusterTagsResponse>(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
39290
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39291
+ return $dara.cast<ModifyClusterTagsResponse>(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
39292
+ } else {
39293
+ return $dara.cast<ModifyClusterTagsResponse>(await this.execute(params, req, runtime), new ModifyClusterTagsResponse({}));
39294
+ }
39295
+
38613
39296
  }
38614
39297
 
38615
39298
  /**
38616
- * You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
39299
+ * You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
38617
39300
  *
38618
39301
  * @param request - ModifyClusterTagsRequest
38619
39302
  * @returns ModifyClusterTagsResponse
@@ -38638,6 +39321,10 @@ export default class Client extends OpenApi {
38638
39321
  async modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse> {
38639
39322
  request.validate();
38640
39323
  let body : {[key: string ]: any} = { };
39324
+ if (!$dara.isNull(request.containerdConfig)) {
39325
+ body["containerd_config"] = request.containerdConfig;
39326
+ }
39327
+
38641
39328
  if (!$dara.isNull(request.kubeletConfig)) {
38642
39329
  body["kubelet_config"] = request.kubeletConfig;
38643
39330
  }
@@ -38665,7 +39352,12 @@ export default class Client extends OpenApi {
38665
39352
  reqBodyType: "json",
38666
39353
  bodyType: "json",
38667
39354
  });
38668
- return $dara.cast<ModifyNodePoolNodeConfigResponse>(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
39355
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39356
+ return $dara.cast<ModifyNodePoolNodeConfigResponse>(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
39357
+ } else {
39358
+ return $dara.cast<ModifyNodePoolNodeConfigResponse>(await this.execute(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
39359
+ }
39360
+
38669
39361
  }
38670
39362
 
38671
39363
  /**
@@ -38725,7 +39417,12 @@ export default class Client extends OpenApi {
38725
39417
  reqBodyType: "json",
38726
39418
  bodyType: "json",
38727
39419
  });
38728
- return $dara.cast<ModifyPolicyInstanceResponse>(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
39420
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39421
+ return $dara.cast<ModifyPolicyInstanceResponse>(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
39422
+ } else {
39423
+ return $dara.cast<ModifyPolicyInstanceResponse>(await this.execute(params, req, runtime), new ModifyPolicyInstanceResponse({}));
39424
+ }
39425
+
38729
39426
  }
38730
39427
 
38731
39428
  /**
@@ -38774,7 +39471,12 @@ export default class Client extends OpenApi {
38774
39471
  reqBodyType: "json",
38775
39472
  bodyType: "json",
38776
39473
  });
38777
- return $dara.cast<OpenAckServiceResponse>(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
39474
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39475
+ return $dara.cast<OpenAckServiceResponse>(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
39476
+ } else {
39477
+ return $dara.cast<OpenAckServiceResponse>(await this.execute(params, req, runtime), new OpenAckServiceResponse({}));
39478
+ }
39479
+
38778
39480
  }
38779
39481
 
38780
39482
  /**
@@ -38818,7 +39520,12 @@ export default class Client extends OpenApi {
38818
39520
  reqBodyType: "json",
38819
39521
  bodyType: "none",
38820
39522
  });
38821
- return $dara.cast<PauseClusterUpgradeResponse>(await this.callApi(params, req, runtime), new PauseClusterUpgradeResponse({}));
39523
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39524
+ return $dara.cast<PauseClusterUpgradeResponse>(await this.callApi(params, req, runtime), new PauseClusterUpgradeResponse({}));
39525
+ } else {
39526
+ return $dara.cast<PauseClusterUpgradeResponse>(await this.execute(params, req, runtime), new PauseClusterUpgradeResponse({}));
39527
+ }
39528
+
38822
39529
  }
38823
39530
 
38824
39531
  /**
@@ -38859,7 +39566,12 @@ export default class Client extends OpenApi {
38859
39566
  reqBodyType: "json",
38860
39567
  bodyType: "none",
38861
39568
  });
38862
- return $dara.cast<PauseComponentUpgradeResponse>(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
39569
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39570
+ return $dara.cast<PauseComponentUpgradeResponse>(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
39571
+ } else {
39572
+ return $dara.cast<PauseComponentUpgradeResponse>(await this.execute(params, req, runtime), new PauseComponentUpgradeResponse({}));
39573
+ }
39574
+
38863
39575
  }
38864
39576
 
38865
39577
  /**
@@ -38897,7 +39609,12 @@ export default class Client extends OpenApi {
38897
39609
  reqBodyType: "json",
38898
39610
  bodyType: "none",
38899
39611
  });
38900
- return $dara.cast<PauseTaskResponse>(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
39612
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39613
+ return $dara.cast<PauseTaskResponse>(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
39614
+ } else {
39615
+ return $dara.cast<PauseTaskResponse>(await this.execute(params, req, runtime), new PauseTaskResponse({}));
39616
+ }
39617
+
38901
39618
  }
38902
39619
 
38903
39620
  /**
@@ -38958,7 +39675,12 @@ export default class Client extends OpenApi {
38958
39675
  reqBodyType: "json",
38959
39676
  bodyType: "none",
38960
39677
  });
38961
- return $dara.cast<RemoveClusterNodesResponse>(await this.callApi(params, req, runtime), new RemoveClusterNodesResponse({}));
39678
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39679
+ return $dara.cast<RemoveClusterNodesResponse>(await this.callApi(params, req, runtime), new RemoveClusterNodesResponse({}));
39680
+ } else {
39681
+ return $dara.cast<RemoveClusterNodesResponse>(await this.execute(params, req, runtime), new RemoveClusterNodesResponse({}));
39682
+ }
39683
+
38962
39684
  }
38963
39685
 
38964
39686
  /**
@@ -39046,7 +39768,12 @@ export default class Client extends OpenApi {
39046
39768
  reqBodyType: "json",
39047
39769
  bodyType: "json",
39048
39770
  });
39049
- return $dara.cast<RemoveNodePoolNodesResponse>(await this.callApi(params, req, runtime), new RemoveNodePoolNodesResponse({}));
39771
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39772
+ return $dara.cast<RemoveNodePoolNodesResponse>(await this.callApi(params, req, runtime), new RemoveNodePoolNodesResponse({}));
39773
+ } else {
39774
+ return $dara.cast<RemoveNodePoolNodesResponse>(await this.execute(params, req, runtime), new RemoveNodePoolNodesResponse({}));
39775
+ }
39776
+
39050
39777
  }
39051
39778
 
39052
39779
  /**
@@ -39106,7 +39833,12 @@ export default class Client extends OpenApi {
39106
39833
  reqBodyType: "json",
39107
39834
  bodyType: "json",
39108
39835
  });
39109
- return $dara.cast<RepairClusterNodePoolResponse>(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
39836
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39837
+ return $dara.cast<RepairClusterNodePoolResponse>(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
39838
+ } else {
39839
+ return $dara.cast<RepairClusterNodePoolResponse>(await this.execute(params, req, runtime), new RepairClusterNodePoolResponse({}));
39840
+ }
39841
+
39110
39842
  }
39111
39843
 
39112
39844
  /**
@@ -39146,7 +39878,12 @@ export default class Client extends OpenApi {
39146
39878
  reqBodyType: "json",
39147
39879
  bodyType: "none",
39148
39880
  });
39149
- return $dara.cast<ResumeComponentUpgradeResponse>(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
39881
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39882
+ return $dara.cast<ResumeComponentUpgradeResponse>(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
39883
+ } else {
39884
+ return $dara.cast<ResumeComponentUpgradeResponse>(await this.execute(params, req, runtime), new ResumeComponentUpgradeResponse({}));
39885
+ }
39886
+
39150
39887
  }
39151
39888
 
39152
39889
  /**
@@ -39184,7 +39921,12 @@ export default class Client extends OpenApi {
39184
39921
  reqBodyType: "json",
39185
39922
  bodyType: "none",
39186
39923
  });
39187
- return $dara.cast<ResumeTaskResponse>(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
39924
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39925
+ return $dara.cast<ResumeTaskResponse>(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
39926
+ } else {
39927
+ return $dara.cast<ResumeTaskResponse>(await this.execute(params, req, runtime), new ResumeTaskResponse({}));
39928
+ }
39929
+
39188
39930
  }
39189
39931
 
39190
39932
  /**
@@ -39222,7 +39964,12 @@ export default class Client extends OpenApi {
39222
39964
  reqBodyType: "json",
39223
39965
  bodyType: "none",
39224
39966
  });
39225
- return $dara.cast<ResumeUpgradeClusterResponse>(await this.callApi(params, req, runtime), new ResumeUpgradeClusterResponse({}));
39967
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
39968
+ return $dara.cast<ResumeUpgradeClusterResponse>(await this.callApi(params, req, runtime), new ResumeUpgradeClusterResponse({}));
39969
+ } else {
39970
+ return $dara.cast<ResumeUpgradeClusterResponse>(await this.execute(params, req, runtime), new ResumeUpgradeClusterResponse({}));
39971
+ }
39972
+
39226
39973
  }
39227
39974
 
39228
39975
  /**
@@ -39260,7 +40007,12 @@ export default class Client extends OpenApi {
39260
40007
  reqBodyType: "json",
39261
40008
  bodyType: "json",
39262
40009
  });
39263
- return $dara.cast<RevokeK8sClusterKubeConfigResponse>(await this.callApi(params, req, runtime), new RevokeK8sClusterKubeConfigResponse({}));
40010
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40011
+ return $dara.cast<RevokeK8sClusterKubeConfigResponse>(await this.callApi(params, req, runtime), new RevokeK8sClusterKubeConfigResponse({}));
40012
+ } else {
40013
+ return $dara.cast<RevokeK8sClusterKubeConfigResponse>(await this.execute(params, req, runtime), new RevokeK8sClusterKubeConfigResponse({}));
40014
+ }
40015
+
39264
40016
  }
39265
40017
 
39266
40018
  /**
@@ -39311,7 +40063,12 @@ export default class Client extends OpenApi {
39311
40063
  reqBodyType: "json",
39312
40064
  bodyType: "json",
39313
40065
  });
39314
- return $dara.cast<RunClusterCheckResponse>(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
40066
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40067
+ return $dara.cast<RunClusterCheckResponse>(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
40068
+ } else {
40069
+ return $dara.cast<RunClusterCheckResponse>(await this.execute(params, req, runtime), new RunClusterCheckResponse({}));
40070
+ }
40071
+
39315
40072
  }
39316
40073
 
39317
40074
  /**
@@ -39431,7 +40188,12 @@ export default class Client extends OpenApi {
39431
40188
  reqBodyType: "json",
39432
40189
  bodyType: "json",
39433
40190
  });
39434
- return $dara.cast<ScaleClusterResponse>(await this.callApi(params, req, runtime), new ScaleClusterResponse({}));
40191
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40192
+ return $dara.cast<ScaleClusterResponse>(await this.callApi(params, req, runtime), new ScaleClusterResponse({}));
40193
+ } else {
40194
+ return $dara.cast<ScaleClusterResponse>(await this.execute(params, req, runtime), new ScaleClusterResponse({}));
40195
+ }
40196
+
39435
40197
  }
39436
40198
 
39437
40199
  /**
@@ -39479,7 +40241,12 @@ export default class Client extends OpenApi {
39479
40241
  reqBodyType: "json",
39480
40242
  bodyType: "json",
39481
40243
  });
39482
- return $dara.cast<ScaleClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
40244
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40245
+ return $dara.cast<ScaleClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
40246
+ } else {
40247
+ return $dara.cast<ScaleClusterNodePoolResponse>(await this.execute(params, req, runtime), new ScaleClusterNodePoolResponse({}));
40248
+ }
40249
+
39483
40250
  }
39484
40251
 
39485
40252
  /**
@@ -39608,7 +40375,12 @@ export default class Client extends OpenApi {
39608
40375
  reqBodyType: "json",
39609
40376
  bodyType: "json",
39610
40377
  });
39611
- return $dara.cast<ScaleOutClusterResponse>(await this.callApi(params, req, runtime), new ScaleOutClusterResponse({}));
40378
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40379
+ return $dara.cast<ScaleOutClusterResponse>(await this.callApi(params, req, runtime), new ScaleOutClusterResponse({}));
40380
+ } else {
40381
+ return $dara.cast<ScaleOutClusterResponse>(await this.execute(params, req, runtime), new ScaleOutClusterResponse({}));
40382
+ }
40383
+
39612
40384
  }
39613
40385
 
39614
40386
  /**
@@ -39649,7 +40421,12 @@ export default class Client extends OpenApi {
39649
40421
  reqBodyType: "json",
39650
40422
  bodyType: "json",
39651
40423
  });
39652
- return $dara.cast<ScanClusterVulsResponse>(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
40424
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40425
+ return $dara.cast<ScanClusterVulsResponse>(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
40426
+ } else {
40427
+ return $dara.cast<ScanClusterVulsResponse>(await this.execute(params, req, runtime), new ScanClusterVulsResponse({}));
40428
+ }
40429
+
39653
40430
  }
39654
40431
 
39655
40432
  /**
@@ -39663,6 +40440,8 @@ export default class Client extends OpenApi {
39663
40440
  }
39664
40441
 
39665
40442
  /**
40443
+ * 启用告警
40444
+ *
39666
40445
  * @param request - StartAlertRequest
39667
40446
  * @param headers - map
39668
40447
  * @param runtime - runtime options for this request RuntimeOptions
@@ -39694,10 +40473,17 @@ export default class Client extends OpenApi {
39694
40473
  reqBodyType: "json",
39695
40474
  bodyType: "json",
39696
40475
  });
39697
- return $dara.cast<StartAlertResponse>(await this.callApi(params, req, runtime), new StartAlertResponse({}));
40476
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40477
+ return $dara.cast<StartAlertResponse>(await this.callApi(params, req, runtime), new StartAlertResponse({}));
40478
+ } else {
40479
+ return $dara.cast<StartAlertResponse>(await this.execute(params, req, runtime), new StartAlertResponse({}));
40480
+ }
40481
+
39698
40482
  }
39699
40483
 
39700
40484
  /**
40485
+ * 启用告警
40486
+ *
39701
40487
  * @param request - StartAlertRequest
39702
40488
  * @returns StartAlertResponse
39703
40489
  */
@@ -39741,7 +40527,12 @@ export default class Client extends OpenApi {
39741
40527
  reqBodyType: "json",
39742
40528
  bodyType: "json",
39743
40529
  });
39744
- return $dara.cast<StopAlertResponse>(await this.callApi(params, req, runtime), new StopAlertResponse({}));
40530
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40531
+ return $dara.cast<StopAlertResponse>(await this.callApi(params, req, runtime), new StopAlertResponse({}));
40532
+ } else {
40533
+ return $dara.cast<StopAlertResponse>(await this.execute(params, req, runtime), new StopAlertResponse({}));
40534
+ }
40535
+
39745
40536
  }
39746
40537
 
39747
40538
  /**
@@ -39778,7 +40569,12 @@ export default class Client extends OpenApi {
39778
40569
  reqBodyType: "json",
39779
40570
  bodyType: "json",
39780
40571
  });
39781
- return $dara.cast<SyncClusterNodePoolResponse>(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
40572
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40573
+ return $dara.cast<SyncClusterNodePoolResponse>(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
40574
+ } else {
40575
+ return $dara.cast<SyncClusterNodePoolResponse>(await this.execute(params, req, runtime), new SyncClusterNodePoolResponse({}));
40576
+ }
40577
+
39782
40578
  }
39783
40579
 
39784
40580
  /**
@@ -39833,7 +40629,12 @@ export default class Client extends OpenApi {
39833
40629
  reqBodyType: "json",
39834
40630
  bodyType: "json",
39835
40631
  });
39836
- return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
40632
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40633
+ return $dara.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
40634
+ } else {
40635
+ return $dara.cast<TagResourcesResponse>(await this.execute(params, req, runtime), new TagResourcesResponse({}));
40636
+ }
40637
+
39837
40638
  }
39838
40639
 
39839
40640
  /**
@@ -39873,7 +40674,12 @@ export default class Client extends OpenApi {
39873
40674
  reqBodyType: "json",
39874
40675
  bodyType: "json",
39875
40676
  });
39876
- return $dara.cast<UnInstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
40677
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40678
+ return $dara.cast<UnInstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
40679
+ } else {
40680
+ return $dara.cast<UnInstallClusterAddonsResponse>(await this.execute(params, req, runtime), new UnInstallClusterAddonsResponse({}));
40681
+ }
40682
+
39877
40683
  }
39878
40684
 
39879
40685
  /**
@@ -39944,7 +40750,12 @@ export default class Client extends OpenApi {
39944
40750
  reqBodyType: "json",
39945
40751
  bodyType: "json",
39946
40752
  });
39947
- return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
40753
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40754
+ return $dara.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
40755
+ } else {
40756
+ return $dara.cast<UntagResourcesResponse>(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
40757
+ }
40758
+
39948
40759
  }
39949
40760
 
39950
40761
  /**
@@ -39996,7 +40807,12 @@ export default class Client extends OpenApi {
39996
40807
  reqBodyType: "json",
39997
40808
  bodyType: "json",
39998
40809
  });
39999
- return $dara.cast<UpdateClusterAuditLogConfigResponse>(await this.callApi(params, req, runtime), new UpdateClusterAuditLogConfigResponse({}));
40810
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40811
+ return $dara.cast<UpdateClusterAuditLogConfigResponse>(await this.callApi(params, req, runtime), new UpdateClusterAuditLogConfigResponse({}));
40812
+ } else {
40813
+ return $dara.cast<UpdateClusterAuditLogConfigResponse>(await this.execute(params, req, runtime), new UpdateClusterAuditLogConfigResponse({}));
40814
+ }
40815
+
40000
40816
  }
40001
40817
 
40002
40818
  /**
@@ -40056,7 +40872,12 @@ export default class Client extends OpenApi {
40056
40872
  reqBodyType: "json",
40057
40873
  bodyType: "json",
40058
40874
  });
40059
- return $dara.cast<UpdateContactGroupForAlertResponse>(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
40875
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40876
+ return $dara.cast<UpdateContactGroupForAlertResponse>(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
40877
+ } else {
40878
+ return $dara.cast<UpdateContactGroupForAlertResponse>(await this.execute(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
40879
+ }
40880
+
40060
40881
  }
40061
40882
 
40062
40883
  /**
@@ -40113,7 +40934,12 @@ export default class Client extends OpenApi {
40113
40934
  reqBodyType: "json",
40114
40935
  bodyType: "json",
40115
40936
  });
40116
- return $dara.cast<UpdateControlPlaneLogResponse>(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
40937
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40938
+ return $dara.cast<UpdateControlPlaneLogResponse>(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
40939
+ } else {
40940
+ return $dara.cast<UpdateControlPlaneLogResponse>(await this.execute(params, req, runtime), new UpdateControlPlaneLogResponse({}));
40941
+ }
40942
+
40117
40943
  }
40118
40944
 
40119
40945
  /**
@@ -40166,7 +40992,12 @@ export default class Client extends OpenApi {
40166
40992
  reqBodyType: "json",
40167
40993
  bodyType: "none",
40168
40994
  });
40169
- return $dara.cast<UpdateK8sClusterUserConfigExpireResponse>(await this.callApi(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
40995
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
40996
+ return $dara.cast<UpdateK8sClusterUserConfigExpireResponse>(await this.callApi(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
40997
+ } else {
40998
+ return $dara.cast<UpdateK8sClusterUserConfigExpireResponse>(await this.execute(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
40999
+ }
41000
+
40170
41001
  }
40171
41002
 
40172
41003
  /**
@@ -40227,7 +41058,12 @@ export default class Client extends OpenApi {
40227
41058
  reqBodyType: "json",
40228
41059
  bodyType: "json",
40229
41060
  });
40230
- return $dara.cast<UpdateResourcesDeleteProtectionResponse>(await this.callApi(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
41061
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
41062
+ return $dara.cast<UpdateResourcesDeleteProtectionResponse>(await this.callApi(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
41063
+ } else {
41064
+ return $dara.cast<UpdateResourcesDeleteProtectionResponse>(await this.execute(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
41065
+ }
41066
+
40231
41067
  }
40232
41068
 
40233
41069
  /**
@@ -40288,7 +41124,12 @@ export default class Client extends OpenApi {
40288
41124
  reqBodyType: "json",
40289
41125
  bodyType: "none",
40290
41126
  });
40291
- return $dara.cast<UpdateTemplateResponse>(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
41127
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
41128
+ return $dara.cast<UpdateTemplateResponse>(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
41129
+ } else {
41130
+ return $dara.cast<UpdateTemplateResponse>(await this.execute(params, req, runtime), new UpdateTemplateResponse({}));
41131
+ }
41132
+
40292
41133
  }
40293
41134
 
40294
41135
  /**
@@ -40338,7 +41179,12 @@ export default class Client extends OpenApi {
40338
41179
  reqBodyType: "json",
40339
41180
  bodyType: "none",
40340
41181
  });
40341
- return $dara.cast<UpdateUserPermissionsResponse>(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
41182
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
41183
+ return $dara.cast<UpdateUserPermissionsResponse>(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
41184
+ } else {
41185
+ return $dara.cast<UpdateUserPermissionsResponse>(await this.execute(params, req, runtime), new UpdateUserPermissionsResponse({}));
41186
+ }
41187
+
40342
41188
  }
40343
41189
 
40344
41190
  /**
@@ -40410,7 +41256,12 @@ export default class Client extends OpenApi {
40410
41256
  reqBodyType: "json",
40411
41257
  bodyType: "json",
40412
41258
  });
40413
- return $dara.cast<UpgradeClusterResponse>(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
41259
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
41260
+ return $dara.cast<UpgradeClusterResponse>(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
41261
+ } else {
41262
+ return $dara.cast<UpgradeClusterResponse>(await this.execute(params, req, runtime), new UpgradeClusterResponse({}));
41263
+ }
41264
+
40414
41265
  }
40415
41266
 
40416
41267
  /**
@@ -40457,7 +41308,12 @@ export default class Client extends OpenApi {
40457
41308
  reqBodyType: "json",
40458
41309
  bodyType: "json",
40459
41310
  });
40460
- return $dara.cast<UpgradeClusterAddonsResponse>(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
41311
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
41312
+ return $dara.cast<UpgradeClusterAddonsResponse>(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
41313
+ } else {
41314
+ return $dara.cast<UpgradeClusterAddonsResponse>(await this.execute(params, req, runtime), new UpgradeClusterAddonsResponse({}));
41315
+ }
41316
+
40461
41317
  }
40462
41318
 
40463
41319
  /**
@@ -40529,7 +41385,12 @@ export default class Client extends OpenApi {
40529
41385
  reqBodyType: "json",
40530
41386
  bodyType: "json",
40531
41387
  });
40532
- return $dara.cast<UpgradeClusterNodepoolResponse>(await this.callApi(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
41388
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
41389
+ return $dara.cast<UpgradeClusterNodepoolResponse>(await this.callApi(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
41390
+ } else {
41391
+ return $dara.cast<UpgradeClusterNodepoolResponse>(await this.execute(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
41392
+ }
41393
+
40533
41394
  }
40534
41395
 
40535
41396
  /**