@alicloud/eas20210701 7.0.1 → 7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -1001,6 +1001,7 @@ exports.ListGatewayDomainsResponseBodyCustomDomains = ListGatewayDomainsResponse
1001
1001
  class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $dara.Model {
1002
1002
  static names() {
1003
1003
  return {
1004
+ accountId: 'AccountId',
1004
1005
  authoritativeDnsEnabled: 'AuthoritativeDnsEnabled',
1005
1006
  ip: 'Ip',
1006
1007
  securityGroupId: 'SecurityGroupId',
@@ -1011,6 +1012,7 @@ class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $dar
1011
1012
  }
1012
1013
  static types() {
1013
1014
  return {
1015
+ accountId: 'string',
1014
1016
  authoritativeDnsEnabled: 'boolean',
1015
1017
  ip: 'string',
1016
1018
  securityGroupId: 'string',
@@ -2389,6 +2391,7 @@ exports.CreateGatewayResponse = CreateGatewayResponse;
2389
2391
  class CreateGatewayIntranetLinkedVpcRequest extends $dara.Model {
2390
2392
  static names() {
2391
2393
  return {
2394
+ accountId: 'AccountId',
2392
2395
  enableAuthoritativeDns: 'EnableAuthoritativeDns',
2393
2396
  vSwitchId: 'VSwitchId',
2394
2397
  vpcId: 'VpcId',
@@ -2396,6 +2399,7 @@ class CreateGatewayIntranetLinkedVpcRequest extends $dara.Model {
2396
2399
  }
2397
2400
  static types() {
2398
2401
  return {
2402
+ accountId: 'string',
2399
2403
  enableAuthoritativeDns: 'boolean',
2400
2404
  vSwitchId: 'string',
2401
2405
  vpcId: 'string',
@@ -2566,6 +2570,7 @@ class CreateResourceRequest extends $dara.Model {
2566
2570
  ecsInstanceCount: 'EcsInstanceCount',
2567
2571
  ecsInstanceType: 'EcsInstanceType',
2568
2572
  labels: 'Labels',
2573
+ resourceName: 'ResourceName',
2569
2574
  resourceType: 'ResourceType',
2570
2575
  selfManagedResourceOptions: 'SelfManagedResourceOptions',
2571
2576
  systemDiskSize: 'SystemDiskSize',
@@ -2579,6 +2584,7 @@ class CreateResourceRequest extends $dara.Model {
2579
2584
  ecsInstanceCount: 'number',
2580
2585
  ecsInstanceType: 'string',
2581
2586
  labels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2587
+ resourceName: 'string',
2582
2588
  resourceType: 'string',
2583
2589
  selfManagedResourceOptions: CreateResourceRequestSelfManagedResourceOptions,
2584
2590
  systemDiskSize: 'number',
@@ -9114,12 +9120,7 @@ class Client extends openapi_core_1.default {
9114
9120
  reqBodyType: "json",
9115
9121
  bodyType: "json",
9116
9122
  });
9117
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9118
- return $dara.cast(await this.callApi(params, req, runtime), new AttachGatewayDomainResponse({}));
9119
- }
9120
- else {
9121
- return $dara.cast(await this.execute(params, req, runtime), new AttachGatewayDomainResponse({}));
9122
- }
9123
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachGatewayDomainResponse({}));
9123
9124
  }
9124
9125
  /**
9125
9126
  * Binds a custom domain name to a private gateway.
@@ -9167,12 +9168,7 @@ class Client extends openapi_core_1.default {
9167
9168
  reqBodyType: "json",
9168
9169
  bodyType: "json",
9169
9170
  });
9170
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9171
- return $dara.cast(await this.callApi(params, req, runtime), new CloneServiceResponse({}));
9172
- }
9173
- else {
9174
- return $dara.cast(await this.execute(params, req, runtime), new CloneServiceResponse({}));
9175
- }
9171
+ return $dara.cast(await this.callApi(params, req, runtime), new CloneServiceResponse({}));
9176
9172
  }
9177
9173
  /**
9178
9174
  * Clones a service.
@@ -9207,12 +9203,7 @@ class Client extends openapi_core_1.default {
9207
9203
  reqBodyType: "json",
9208
9204
  bodyType: "json",
9209
9205
  });
9210
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9211
- return $dara.cast(await this.callApi(params, req, runtime), new CommitServiceResponse({}));
9212
- }
9213
- else {
9214
- return $dara.cast(await this.execute(params, req, runtime), new CommitServiceResponse({}));
9215
- }
9206
+ return $dara.cast(await this.callApi(params, req, runtime), new CommitServiceResponse({}));
9216
9207
  }
9217
9208
  /**
9218
9209
  * Commits the Worker0 container in the custom container service and deploys the container as a new image.
@@ -9260,12 +9251,7 @@ class Client extends openapi_core_1.default {
9260
9251
  reqBodyType: "json",
9261
9252
  bodyType: "json",
9262
9253
  });
9263
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9264
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAclPolicyResponse({}));
9265
- }
9266
- else {
9267
- return $dara.cast(await this.execute(params, req, runtime), new CreateAclPolicyResponse({}));
9268
- }
9254
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAclPolicyResponse({}));
9269
9255
  }
9270
9256
  /**
9271
9257
  * Creates an access control list (ACL) for a private gateway. The IP CIDR blocks added to the ACL can access the private gateway.
@@ -9330,12 +9316,7 @@ class Client extends openapi_core_1.default {
9330
9316
  reqBodyType: "json",
9331
9317
  bodyType: "json",
9332
9318
  });
9333
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9334
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAppServiceResponse({}));
9335
- }
9336
- else {
9337
- return $dara.cast(await this.execute(params, req, runtime), new CreateAppServiceResponse({}));
9338
- }
9319
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAppServiceResponse({}));
9339
9320
  }
9340
9321
  /**
9341
9322
  * Creates an application service.
@@ -9373,12 +9354,7 @@ class Client extends openapi_core_1.default {
9373
9354
  reqBodyType: "json",
9374
9355
  bodyType: "json",
9375
9356
  });
9376
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9377
- return $dara.cast(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
9378
- }
9379
- else {
9380
- return $dara.cast(await this.execute(params, req, runtime), new CreateBenchmarkTaskResponse({}));
9381
- }
9357
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
9382
9358
  }
9383
9359
  /**
9384
9360
  * Creates a stress testing task.
@@ -9443,12 +9419,7 @@ class Client extends openapi_core_1.default {
9443
9419
  reqBodyType: "json",
9444
9420
  bodyType: "json",
9445
9421
  });
9446
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9447
- return $dara.cast(await this.callApi(params, req, runtime), new CreateGatewayResponse({}));
9448
- }
9449
- else {
9450
- return $dara.cast(await this.execute(params, req, runtime), new CreateGatewayResponse({}));
9451
- }
9422
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateGatewayResponse({}));
9452
9423
  }
9453
9424
  /**
9454
9425
  * Creates a gateway.
@@ -9472,6 +9443,9 @@ class Client extends openapi_core_1.default {
9472
9443
  async createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime) {
9473
9444
  request.validate();
9474
9445
  let query = {};
9446
+ if (!$dara.isNull(request.accountId)) {
9447
+ query["AccountId"] = request.accountId;
9448
+ }
9475
9449
  if (!$dara.isNull(request.enableAuthoritativeDns)) {
9476
9450
  query["EnableAuthoritativeDns"] = request.enableAuthoritativeDns;
9477
9451
  }
@@ -9496,12 +9470,7 @@ class Client extends openapi_core_1.default {
9496
9470
  reqBodyType: "json",
9497
9471
  bodyType: "json",
9498
9472
  });
9499
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9500
- return $dara.cast(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcResponse({}));
9501
- }
9502
- else {
9503
- return $dara.cast(await this.execute(params, req, runtime), new CreateGatewayIntranetLinkedVpcResponse({}));
9504
- }
9473
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcResponse({}));
9505
9474
  }
9506
9475
  /**
9507
9476
  * Creates an internal endpoint of a private gateway.
@@ -9551,12 +9520,7 @@ class Client extends openapi_core_1.default {
9551
9520
  reqBodyType: "json",
9552
9521
  bodyType: "json",
9553
9522
  });
9554
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9555
- return $dara.cast(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcPeerResponse({}));
9556
- }
9557
- else {
9558
- return $dara.cast(await this.execute(params, req, runtime), new CreateGatewayIntranetLinkedVpcPeerResponse({}));
9559
- }
9523
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcPeerResponse({}));
9560
9524
  }
9561
9525
  /**
9562
9526
  * Creates a VPC peering connection on an internal endpoint of a gateway.
@@ -9598,6 +9562,9 @@ class Client extends openapi_core_1.default {
9598
9562
  if (!$dara.isNull(request.labels)) {
9599
9563
  body["Labels"] = request.labels;
9600
9564
  }
9565
+ if (!$dara.isNull(request.resourceName)) {
9566
+ body["ResourceName"] = request.resourceName;
9567
+ }
9601
9568
  if (!$dara.isNull(request.resourceType)) {
9602
9569
  body["ResourceType"] = request.resourceType;
9603
9570
  }
@@ -9625,12 +9592,7 @@ class Client extends openapi_core_1.default {
9625
9592
  reqBodyType: "json",
9626
9593
  bodyType: "json",
9627
9594
  });
9628
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9629
- return $dara.cast(await this.callApi(params, req, runtime), new CreateResourceResponse({}));
9630
- }
9631
- else {
9632
- return $dara.cast(await this.execute(params, req, runtime), new CreateResourceResponse({}));
9633
- }
9595
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateResourceResponse({}));
9634
9596
  }
9635
9597
  /**
9636
9598
  * Creates a resource group.
@@ -9696,12 +9658,7 @@ class Client extends openapi_core_1.default {
9696
9658
  reqBodyType: "json",
9697
9659
  bodyType: "json",
9698
9660
  });
9699
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9700
- return $dara.cast(await this.callApi(params, req, runtime), new CreateResourceInstancesResponse({}));
9701
- }
9702
- else {
9703
- return $dara.cast(await this.execute(params, req, runtime), new CreateResourceInstancesResponse({}));
9704
- }
9661
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateResourceInstancesResponse({}));
9705
9662
  }
9706
9663
  /**
9707
9664
  * Creates instances in a dedicated resource group.
@@ -9746,12 +9703,7 @@ class Client extends openapi_core_1.default {
9746
9703
  reqBodyType: "json",
9747
9704
  bodyType: "json",
9748
9705
  });
9749
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9750
- return $dara.cast(await this.callApi(params, req, runtime), new CreateResourceLogResponse({}));
9751
- }
9752
- else {
9753
- return $dara.cast(await this.execute(params, req, runtime), new CreateResourceLogResponse({}));
9754
- }
9706
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateResourceLogResponse({}));
9755
9707
  }
9756
9708
  /**
9757
9709
  * Enables the LogShipper feature of Log Service for a resource group.
@@ -9808,12 +9760,7 @@ class Client extends openapi_core_1.default {
9808
9760
  reqBodyType: "json",
9809
9761
  bodyType: "json",
9810
9762
  });
9811
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9812
- return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceResponse({}));
9813
- }
9814
- else {
9815
- return $dara.cast(await this.execute(params, req, runtime), new CreateServiceResponse({}));
9816
- }
9763
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceResponse({}));
9817
9764
  }
9818
9765
  /**
9819
9766
  * Creates a model service in Elastic Algorithm Service (EAS).
@@ -9867,12 +9814,7 @@ class Client extends openapi_core_1.default {
9867
9814
  reqBodyType: "json",
9868
9815
  bodyType: "json",
9869
9816
  });
9870
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9871
- return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceAutoScalerResponse({}));
9872
- }
9873
- else {
9874
- return $dara.cast(await this.execute(params, req, runtime), new CreateServiceAutoScalerResponse({}));
9875
- }
9817
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceAutoScalerResponse({}));
9876
9818
  }
9877
9819
  /**
9878
9820
  * Enables the Autoscaler feature and creates an Autoscaler controller for a service.
@@ -9917,12 +9859,7 @@ class Client extends openapi_core_1.default {
9917
9859
  reqBodyType: "json",
9918
9860
  bodyType: "json",
9919
9861
  });
9920
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9921
- return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceCronScalerResponse({}));
9922
- }
9923
- else {
9924
- return $dara.cast(await this.execute(params, req, runtime), new CreateServiceCronScalerResponse({}));
9925
- }
9862
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceCronScalerResponse({}));
9926
9863
  }
9927
9864
  /**
9928
9865
  * Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.
@@ -9967,12 +9904,7 @@ class Client extends openapi_core_1.default {
9967
9904
  reqBodyType: "json",
9968
9905
  bodyType: "json",
9969
9906
  });
9970
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9971
- return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
9972
- }
9973
- else {
9974
- return $dara.cast(await this.execute(params, req, runtime), new CreateServiceMirrorResponse({}));
9975
- }
9907
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
9976
9908
  }
9977
9909
  /**
9978
9910
  * Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.
@@ -10020,12 +9952,7 @@ class Client extends openapi_core_1.default {
10020
9952
  reqBodyType: "json",
10021
9953
  bodyType: "json",
10022
9954
  });
10023
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10024
- return $dara.cast(await this.callApi(params, req, runtime), new CreateVirtualResourceResponse({}));
10025
- }
10026
- else {
10027
- return $dara.cast(await this.execute(params, req, runtime), new CreateVirtualResourceResponse({}));
10028
- }
9955
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateVirtualResourceResponse({}));
10029
9956
  }
10030
9957
  /**
10031
9958
  * Creates a virtual resource group.
@@ -10075,12 +10002,7 @@ class Client extends openapi_core_1.default {
10075
10002
  reqBodyType: "json",
10076
10003
  bodyType: "json",
10077
10004
  });
10078
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10079
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAclPolicyResponse({}));
10080
- }
10081
- else {
10082
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAclPolicyResponse({}));
10083
- }
10005
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAclPolicyResponse({}));
10084
10006
  }
10085
10007
  /**
10086
10008
  * Deletes an access control list (ACL) for a private gateway. The IP CIDR block that is deleted from the ACL cannot access the private gateway.
@@ -10115,12 +10037,7 @@ class Client extends openapi_core_1.default {
10115
10037
  reqBodyType: "json",
10116
10038
  bodyType: "json",
10117
10039
  });
10118
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10119
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
10120
- }
10121
- else {
10122
- return $dara.cast(await this.execute(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
10123
- }
10040
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
10124
10041
  }
10125
10042
  /**
10126
10043
  * Deletes a stress testing task.
@@ -10153,12 +10070,7 @@ class Client extends openapi_core_1.default {
10153
10070
  reqBodyType: "json",
10154
10071
  bodyType: "json",
10155
10072
  });
10156
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10157
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
10158
- }
10159
- else {
10160
- return $dara.cast(await this.execute(params, req, runtime), new DeleteGatewayResponse({}));
10161
- }
10073
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
10162
10074
  }
10163
10075
  /**
10164
10076
  * Deletes a private gateway.
@@ -10201,12 +10113,7 @@ class Client extends openapi_core_1.default {
10201
10113
  reqBodyType: "json",
10202
10114
  bodyType: "json",
10203
10115
  });
10204
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10205
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
10206
- }
10207
- else {
10208
- return $dara.cast(await this.execute(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
10209
- }
10116
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
10210
10117
  }
10211
10118
  /**
10212
10119
  * 删除网关内网访问端点
@@ -10256,12 +10163,7 @@ class Client extends openapi_core_1.default {
10256
10163
  reqBodyType: "json",
10257
10164
  bodyType: "json",
10258
10165
  });
10259
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10260
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcPeerResponse({}));
10261
- }
10262
- else {
10263
- return $dara.cast(await this.execute(params, req, runtime), new DeleteGatewayIntranetLinkedVpcPeerResponse({}));
10264
- }
10166
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcPeerResponse({}));
10265
10167
  }
10266
10168
  /**
10267
10169
  * Deletes a VPC peering connection from an internal endpoint of a gateway.
@@ -10296,12 +10198,7 @@ class Client extends openapi_core_1.default {
10296
10198
  reqBodyType: "json",
10297
10199
  bodyType: "json",
10298
10200
  });
10299
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10300
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceResponse({}));
10301
- }
10302
- else {
10303
- return $dara.cast(await this.execute(params, req, runtime), new DeleteResourceResponse({}));
10304
- }
10201
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceResponse({}));
10305
10202
  }
10306
10203
  /**
10307
10204
  * Deletes a resource group that contains no resources or instances.
@@ -10334,12 +10231,7 @@ class Client extends openapi_core_1.default {
10334
10231
  reqBodyType: "json",
10335
10232
  bodyType: "json",
10336
10233
  });
10337
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10338
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceDLinkResponse({}));
10339
- }
10340
- else {
10341
- return $dara.cast(await this.execute(params, req, runtime), new DeleteResourceDLinkResponse({}));
10342
- }
10234
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceDLinkResponse({}));
10343
10235
  }
10344
10236
  /**
10345
10237
  * Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.
@@ -10393,12 +10285,7 @@ class Client extends openapi_core_1.default {
10393
10285
  reqBodyType: "json",
10394
10286
  bodyType: "json",
10395
10287
  });
10396
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10397
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceInstanceLabelResponse({}));
10398
- }
10399
- else {
10400
- return $dara.cast(await this.execute(params, req, runtime), new DeleteResourceInstanceLabelResponse({}));
10401
- }
10288
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceInstanceLabelResponse({}));
10402
10289
  }
10403
10290
  /**
10404
10291
  * Deletes the tags of an instance in a resource group.
@@ -10443,12 +10330,7 @@ class Client extends openapi_core_1.default {
10443
10330
  reqBodyType: "json",
10444
10331
  bodyType: "json",
10445
10332
  });
10446
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10447
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceInstancesResponse({}));
10448
- }
10449
- else {
10450
- return $dara.cast(await this.execute(params, req, runtime), new DeleteResourceInstancesResponse({}));
10451
- }
10333
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceInstancesResponse({}));
10452
10334
  }
10453
10335
  /**
10454
10336
  * Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.
@@ -10483,12 +10365,7 @@ class Client extends openapi_core_1.default {
10483
10365
  reqBodyType: "json",
10484
10366
  bodyType: "json",
10485
10367
  });
10486
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10487
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceLogResponse({}));
10488
- }
10489
- else {
10490
- return $dara.cast(await this.execute(params, req, runtime), new DeleteResourceLogResponse({}));
10491
- }
10368
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteResourceLogResponse({}));
10492
10369
  }
10493
10370
  /**
10494
10371
  * Disables the LogShipper feature of Log Service for a dedicated resource group.
@@ -10521,12 +10398,7 @@ class Client extends openapi_core_1.default {
10521
10398
  reqBodyType: "json",
10522
10399
  bodyType: "json",
10523
10400
  });
10524
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10525
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceResponse({}));
10526
- }
10527
- else {
10528
- return $dara.cast(await this.execute(params, req, runtime), new DeleteServiceResponse({}));
10529
- }
10401
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceResponse({}));
10530
10402
  }
10531
10403
  /**
10532
10404
  * Deletes a service.
@@ -10559,12 +10431,7 @@ class Client extends openapi_core_1.default {
10559
10431
  reqBodyType: "json",
10560
10432
  bodyType: "json",
10561
10433
  });
10562
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10563
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceAutoScalerResponse({}));
10564
- }
10565
- else {
10566
- return $dara.cast(await this.execute(params, req, runtime), new DeleteServiceAutoScalerResponse({}));
10567
- }
10434
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceAutoScalerResponse({}));
10568
10435
  }
10569
10436
  /**
10570
10437
  * Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.
@@ -10597,12 +10464,7 @@ class Client extends openapi_core_1.default {
10597
10464
  reqBodyType: "json",
10598
10465
  bodyType: "json",
10599
10466
  });
10600
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10601
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceCronScalerResponse({}));
10602
- }
10603
- else {
10604
- return $dara.cast(await this.execute(params, req, runtime), new DeleteServiceCronScalerResponse({}));
10605
- }
10467
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceCronScalerResponse({}));
10606
10468
  }
10607
10469
  /**
10608
10470
  * Disables the Cronscaler feature for a service.
@@ -10648,12 +10510,7 @@ class Client extends openapi_core_1.default {
10648
10510
  reqBodyType: "json",
10649
10511
  bodyType: "json",
10650
10512
  });
10651
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10652
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceInstancesResponse({}));
10653
- }
10654
- else {
10655
- return $dara.cast(await this.execute(params, req, runtime), new DeleteServiceInstancesResponse({}));
10656
- }
10513
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceInstancesResponse({}));
10657
10514
  }
10658
10515
  /**
10659
10516
  * Restarts the instances of a service.
@@ -10700,12 +10557,7 @@ class Client extends openapi_core_1.default {
10700
10557
  reqBodyType: "json",
10701
10558
  bodyType: "json",
10702
10559
  });
10703
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10704
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceLabelResponse({}));
10705
- }
10706
- else {
10707
- return $dara.cast(await this.execute(params, req, runtime), new DeleteServiceLabelResponse({}));
10708
- }
10560
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceLabelResponse({}));
10709
10561
  }
10710
10562
  /**
10711
10563
  * Deletes existing service tags.
@@ -10740,12 +10592,7 @@ class Client extends openapi_core_1.default {
10740
10592
  reqBodyType: "json",
10741
10593
  bodyType: "json",
10742
10594
  });
10743
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10744
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceMirrorResponse({}));
10745
- }
10746
- else {
10747
- return $dara.cast(await this.execute(params, req, runtime), new DeleteServiceMirrorResponse({}));
10748
- }
10595
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteServiceMirrorResponse({}));
10749
10596
  }
10750
10597
  /**
10751
10598
  * Disables the traffic mirroring feature for a service.
@@ -10778,12 +10625,7 @@ class Client extends openapi_core_1.default {
10778
10625
  reqBodyType: "json",
10779
10626
  bodyType: "json",
10780
10627
  });
10781
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10782
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteVirtualResourceResponse({}));
10783
- }
10784
- else {
10785
- return $dara.cast(await this.execute(params, req, runtime), new DeleteVirtualResourceResponse({}));
10786
- }
10628
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteVirtualResourceResponse({}));
10787
10629
  }
10788
10630
  /**
10789
10631
  * Deletes a virtual resource group that contains no resources or instances.
@@ -10816,12 +10658,7 @@ class Client extends openapi_core_1.default {
10816
10658
  reqBodyType: "json",
10817
10659
  bodyType: "json",
10818
10660
  });
10819
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10820
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
10821
- }
10822
- else {
10823
- return $dara.cast(await this.execute(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
10824
- }
10661
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
10825
10662
  }
10826
10663
  /**
10827
10664
  * Queries details about the configurations of a stress testing task.
@@ -10861,12 +10698,7 @@ class Client extends openapi_core_1.default {
10861
10698
  reqBodyType: "json",
10862
10699
  bodyType: "json",
10863
10700
  });
10864
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10865
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
10866
- }
10867
- else {
10868
- return $dara.cast(await this.execute(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
10869
- }
10701
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
10870
10702
  }
10871
10703
  /**
10872
10704
  * Queries the report of a stress testing task.
@@ -10901,12 +10733,7 @@ class Client extends openapi_core_1.default {
10901
10733
  reqBodyType: "json",
10902
10734
  bodyType: "json",
10903
10735
  });
10904
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10905
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeGatewayResponse({}));
10906
- }
10907
- else {
10908
- return $dara.cast(await this.execute(params, req, runtime), new DescribeGatewayResponse({}));
10909
- }
10736
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeGatewayResponse({}));
10910
10737
  }
10911
10738
  /**
10912
10739
  * Queries the details of a private gateway.
@@ -10939,12 +10766,7 @@ class Client extends openapi_core_1.default {
10939
10766
  reqBodyType: "json",
10940
10767
  bodyType: "json",
10941
10768
  });
10942
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10943
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeGroupResponse({}));
10944
- }
10945
- else {
10946
- return $dara.cast(await this.execute(params, req, runtime), new DescribeGroupResponse({}));
10947
- }
10769
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeGroupResponse({}));
10948
10770
  }
10949
10771
  /**
10950
10772
  * Queries the information about a service group.
@@ -10977,12 +10799,7 @@ class Client extends openapi_core_1.default {
10977
10799
  reqBodyType: "json",
10978
10800
  bodyType: "json",
10979
10801
  });
10980
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10981
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeGroupEndpointsResponse({}));
10982
- }
10983
- else {
10984
- return $dara.cast(await this.execute(params, req, runtime), new DescribeGroupEndpointsResponse({}));
10985
- }
10802
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeGroupEndpointsResponse({}));
10986
10803
  }
10987
10804
  /**
10988
10805
  * Obtains a list of endpoints of service groups.
@@ -11027,12 +10844,7 @@ class Client extends openapi_core_1.default {
11027
10844
  reqBodyType: "json",
11028
10845
  bodyType: "json",
11029
10846
  });
11030
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11031
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeMachineSpecResponse({}));
11032
- }
11033
- else {
11034
- return $dara.cast(await this.execute(params, req, runtime), new DescribeMachineSpecResponse({}));
11035
- }
10847
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeMachineSpecResponse({}));
11036
10848
  }
11037
10849
  /**
11038
10850
  * Queries a list of instance types for an available instance in a shared resource group.
@@ -11046,7 +10858,7 @@ class Client extends openapi_core_1.default {
11046
10858
  return await this.describeMachineSpecWithOptions(request, headers, runtime);
11047
10859
  }
11048
10860
  /**
11049
- * 查询可用的地域信息
10861
+ * Queries available regions.
11050
10862
  *
11051
10863
  * @param headers - map
11052
10864
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11067,15 +10879,10 @@ class Client extends openapi_core_1.default {
11067
10879
  reqBodyType: "json",
11068
10880
  bodyType: "json",
11069
10881
  });
11070
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11071
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
11072
- }
11073
- else {
11074
- return $dara.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
11075
- }
10882
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
11076
10883
  }
11077
10884
  /**
11078
- * 查询可用的地域信息
10885
+ * Queries available regions.
11079
10886
  * @returns DescribeRegionsResponse
11080
10887
  */
11081
10888
  async describeRegions() {
@@ -11105,12 +10912,7 @@ class Client extends openapi_core_1.default {
11105
10912
  reqBodyType: "json",
11106
10913
  bodyType: "json",
11107
10914
  });
11108
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11109
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeResourceResponse({}));
11110
- }
11111
- else {
11112
- return $dara.cast(await this.execute(params, req, runtime), new DescribeResourceResponse({}));
11113
- }
10915
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeResourceResponse({}));
11114
10916
  }
11115
10917
  /**
11116
10918
  * Queries the information about a resource group.
@@ -11143,12 +10945,7 @@ class Client extends openapi_core_1.default {
11143
10945
  reqBodyType: "json",
11144
10946
  bodyType: "json",
11145
10947
  });
11146
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11147
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeResourceDLinkResponse({}));
11148
- }
11149
- else {
11150
- return $dara.cast(await this.execute(params, req, runtime), new DescribeResourceDLinkResponse({}));
11151
- }
10948
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeResourceDLinkResponse({}));
11152
10949
  }
11153
10950
  /**
11154
10951
  * Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.
@@ -11181,12 +10978,7 @@ class Client extends openapi_core_1.default {
11181
10978
  reqBodyType: "json",
11182
10979
  bodyType: "json",
11183
10980
  });
11184
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11185
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeResourceLogResponse({}));
11186
- }
11187
- else {
11188
- return $dara.cast(await this.execute(params, req, runtime), new DescribeResourceLogResponse({}));
11189
- }
10981
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeResourceLogResponse({}));
11190
10982
  }
11191
10983
  /**
11192
10984
  * Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.
@@ -11219,12 +11011,7 @@ class Client extends openapi_core_1.default {
11219
11011
  reqBodyType: "json",
11220
11012
  bodyType: "json",
11221
11013
  });
11222
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11223
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceResponse({}));
11224
- }
11225
- else {
11226
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceResponse({}));
11227
- }
11014
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceResponse({}));
11228
11015
  }
11229
11016
  /**
11230
11017
  * Queries the details about a service.
@@ -11257,12 +11044,7 @@ class Client extends openapi_core_1.default {
11257
11044
  reqBodyType: "json",
11258
11045
  bodyType: "json",
11259
11046
  });
11260
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11261
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceAutoScalerResponse({}));
11262
- }
11263
- else {
11264
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceAutoScalerResponse({}));
11265
- }
11047
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceAutoScalerResponse({}));
11266
11048
  }
11267
11049
  /**
11268
11050
  * Queries information about the Autoscaler configurations of a service.
@@ -11295,12 +11077,7 @@ class Client extends openapi_core_1.default {
11295
11077
  reqBodyType: "json",
11296
11078
  bodyType: "json",
11297
11079
  });
11298
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11299
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceCronScalerResponse({}));
11300
- }
11301
- else {
11302
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceCronScalerResponse({}));
11303
- }
11080
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceCronScalerResponse({}));
11304
11081
  }
11305
11082
  /**
11306
11083
  * Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.
@@ -11333,12 +11110,7 @@ class Client extends openapi_core_1.default {
11333
11110
  reqBodyType: "json",
11334
11111
  bodyType: "json",
11335
11112
  });
11336
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11337
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceDiagnosisResponse({}));
11338
- }
11339
- else {
11340
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceDiagnosisResponse({}));
11341
- }
11113
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceDiagnosisResponse({}));
11342
11114
  }
11343
11115
  /**
11344
11116
  * Queries the diagnostics details of a service.
@@ -11371,12 +11143,7 @@ class Client extends openapi_core_1.default {
11371
11143
  reqBodyType: "json",
11372
11144
  bodyType: "json",
11373
11145
  });
11374
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11375
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceEndpointsResponse({}));
11376
- }
11377
- else {
11378
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceEndpointsResponse({}));
11379
- }
11146
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceEndpointsResponse({}));
11380
11147
  }
11381
11148
  /**
11382
11149
  * Obtains a list of service endpoints.
@@ -11431,12 +11198,7 @@ class Client extends openapi_core_1.default {
11431
11198
  reqBodyType: "json",
11432
11199
  bodyType: "json",
11433
11200
  });
11434
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11435
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceEventResponse({}));
11436
- }
11437
- else {
11438
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceEventResponse({}));
11439
- }
11201
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceEventResponse({}));
11440
11202
  }
11441
11203
  /**
11442
11204
  * Queries information about recent service deployment events.
@@ -11471,12 +11233,7 @@ class Client extends openapi_core_1.default {
11471
11233
  reqBodyType: "json",
11472
11234
  bodyType: "json",
11473
11235
  });
11474
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11475
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceInstanceDiagnosisResponse({}));
11476
- }
11477
- else {
11478
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceInstanceDiagnosisResponse({}));
11479
- }
11236
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceInstanceDiagnosisResponse({}));
11480
11237
  }
11481
11238
  /**
11482
11239
  * Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).
@@ -11540,12 +11297,7 @@ class Client extends openapi_core_1.default {
11540
11297
  reqBodyType: "json",
11541
11298
  bodyType: "json",
11542
11299
  });
11543
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11544
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceLogResponse({}));
11545
- }
11546
- else {
11547
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceLogResponse({}));
11548
- }
11300
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceLogResponse({}));
11549
11301
  }
11550
11302
  /**
11551
11303
  * Queries the information about the logs of a service.
@@ -11580,12 +11332,7 @@ class Client extends openapi_core_1.default {
11580
11332
  reqBodyType: "json",
11581
11333
  bodyType: "json",
11582
11334
  });
11583
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11584
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceMirrorResponse({}));
11585
- }
11586
- else {
11587
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceMirrorResponse({}));
11588
- }
11335
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceMirrorResponse({}));
11589
11336
  }
11590
11337
  /**
11591
11338
  * Queries details about the traffic mirroring settings of a service.
@@ -11631,12 +11378,7 @@ class Client extends openapi_core_1.default {
11631
11378
  reqBodyType: "json",
11632
11379
  bodyType: "json",
11633
11380
  });
11634
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11635
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceSignedUrlResponse({}));
11636
- }
11637
- else {
11638
- return $dara.cast(await this.execute(params, req, runtime), new DescribeServiceSignedUrlResponse({}));
11639
- }
11381
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeServiceSignedUrlResponse({}));
11640
11382
  }
11641
11383
  /**
11642
11384
  * Obtains the logon-free URL of the service.
@@ -11681,12 +11423,7 @@ class Client extends openapi_core_1.default {
11681
11423
  reqBodyType: "json",
11682
11424
  bodyType: "json",
11683
11425
  });
11684
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11685
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeSpotDiscountHistoryResponse({}));
11686
- }
11687
- else {
11688
- return $dara.cast(await this.execute(params, req, runtime), new DescribeSpotDiscountHistoryResponse({}));
11689
- }
11426
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeSpotDiscountHistoryResponse({}));
11690
11427
  }
11691
11428
  /**
11692
11429
  * Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.
@@ -11721,12 +11458,7 @@ class Client extends openapi_core_1.default {
11721
11458
  reqBodyType: "json",
11722
11459
  bodyType: "json",
11723
11460
  });
11724
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11725
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeVirtualResourceResponse({}));
11726
- }
11727
- else {
11728
- return $dara.cast(await this.execute(params, req, runtime), new DescribeVirtualResourceResponse({}));
11729
- }
11461
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeVirtualResourceResponse({}));
11730
11462
  }
11731
11463
  /**
11732
11464
  * Views the details of a virtual resource group.
@@ -11771,12 +11503,7 @@ class Client extends openapi_core_1.default {
11771
11503
  reqBodyType: "json",
11772
11504
  bodyType: "json",
11773
11505
  });
11774
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11775
- return $dara.cast(await this.callApi(params, req, runtime), new DetachGatewayDomainResponse({}));
11776
- }
11777
- else {
11778
- return $dara.cast(await this.execute(params, req, runtime), new DetachGatewayDomainResponse({}));
11779
- }
11506
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachGatewayDomainResponse({}));
11780
11507
  }
11781
11508
  /**
11782
11509
  * Unbinds a custom domain name from a private gateway.
@@ -11818,12 +11545,7 @@ class Client extends openapi_core_1.default {
11818
11545
  reqBodyType: "json",
11819
11546
  bodyType: "json",
11820
11547
  });
11821
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11822
- return $dara.cast(await this.callApi(params, req, runtime), new DevelopServiceResponse({}));
11823
- }
11824
- else {
11825
- return $dara.cast(await this.execute(params, req, runtime), new DevelopServiceResponse({}));
11826
- }
11548
+ return $dara.cast(await this.callApi(params, req, runtime), new DevelopServiceResponse({}));
11827
11549
  }
11828
11550
  /**
11829
11551
  * Switches a container service to development mode or exits development mode.
@@ -11865,12 +11587,7 @@ class Client extends openapi_core_1.default {
11865
11587
  reqBodyType: "json",
11866
11588
  bodyType: "json",
11867
11589
  });
11868
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11869
- return $dara.cast(await this.callApi(params, req, runtime), new ListAclPolicyResponse({}));
11870
- }
11871
- else {
11872
- return $dara.cast(await this.execute(params, req, runtime), new ListAclPolicyResponse({}));
11873
- }
11590
+ return $dara.cast(await this.callApi(params, req, runtime), new ListAclPolicyResponse({}));
11874
11591
  }
11875
11592
  /**
11876
11593
  * Queries access control lists (ACLs) created for a private gateway.
@@ -11921,12 +11638,7 @@ class Client extends openapi_core_1.default {
11921
11638
  reqBodyType: "json",
11922
11639
  bodyType: "json",
11923
11640
  });
11924
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11925
- return $dara.cast(await this.callApi(params, req, runtime), new ListBenchmarkTaskResponse({}));
11926
- }
11927
- else {
11928
- return $dara.cast(await this.execute(params, req, runtime), new ListBenchmarkTaskResponse({}));
11929
- }
11641
+ return $dara.cast(await this.callApi(params, req, runtime), new ListBenchmarkTaskResponse({}));
11930
11642
  }
11931
11643
  /**
11932
11644
  * Queries a list of stress testing tasks that are created by the current user.
@@ -11980,12 +11692,7 @@ class Client extends openapi_core_1.default {
11980
11692
  reqBodyType: "json",
11981
11693
  bodyType: "json",
11982
11694
  });
11983
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11984
- return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayResponse({}));
11985
- }
11986
- else {
11987
- return $dara.cast(await this.execute(params, req, runtime), new ListGatewayResponse({}));
11988
- }
11695
+ return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayResponse({}));
11989
11696
  }
11990
11697
  /**
11991
11698
  * Queries a list of private gateways.
@@ -12020,12 +11727,7 @@ class Client extends openapi_core_1.default {
12020
11727
  reqBodyType: "json",
12021
11728
  bodyType: "json",
12022
11729
  });
12023
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12024
- return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayDomainsResponse({}));
12025
- }
12026
- else {
12027
- return $dara.cast(await this.execute(params, req, runtime), new ListGatewayDomainsResponse({}));
12028
- }
11730
+ return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayDomainsResponse({}));
12029
11731
  }
12030
11732
  /**
12031
11733
  * Queries a list of custom domain names of a private gateway.
@@ -12058,12 +11760,7 @@ class Client extends openapi_core_1.default {
12058
11760
  reqBodyType: "json",
12059
11761
  bodyType: "json",
12060
11762
  });
12061
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12062
- return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcResponse({}));
12063
- }
12064
- else {
12065
- return $dara.cast(await this.execute(params, req, runtime), new ListGatewayIntranetLinkedVpcResponse({}));
12066
- }
11763
+ return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcResponse({}));
12067
11764
  }
12068
11765
  /**
12069
11766
  * Queries a list of the internal endpoints of a private gateway.
@@ -12103,12 +11800,7 @@ class Client extends openapi_core_1.default {
12103
11800
  reqBodyType: "json",
12104
11801
  bodyType: "json",
12105
11802
  });
12106
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12107
- return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcPeerResponse({}));
12108
- }
12109
- else {
12110
- return $dara.cast(await this.execute(params, req, runtime), new ListGatewayIntranetLinkedVpcPeerResponse({}));
12111
- }
11803
+ return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcPeerResponse({}));
12112
11804
  }
12113
11805
  /**
12114
11806
  * Obtains a list of all VPC peering connections on internal endpoint of a gateway.
@@ -12143,12 +11835,7 @@ class Client extends openapi_core_1.default {
12143
11835
  reqBodyType: "json",
12144
11836
  bodyType: "json",
12145
11837
  });
12146
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12147
- return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetSupportedZoneResponse({}));
12148
- }
12149
- else {
12150
- return $dara.cast(await this.execute(params, req, runtime), new ListGatewayIntranetSupportedZoneResponse({}));
12151
- }
11838
+ return $dara.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetSupportedZoneResponse({}));
12152
11839
  }
12153
11840
  /**
12154
11841
  * Obtains the zones supported by a gateway within an intranet.
@@ -12197,12 +11884,7 @@ class Client extends openapi_core_1.default {
12197
11884
  reqBodyType: "json",
12198
11885
  bodyType: "json",
12199
11886
  });
12200
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12201
- return $dara.cast(await this.callApi(params, req, runtime), new ListGroupsResponse({}));
12202
- }
12203
- else {
12204
- return $dara.cast(await this.execute(params, req, runtime), new ListGroupsResponse({}));
12205
- }
11887
+ return $dara.cast(await this.callApi(params, req, runtime), new ListGroupsResponse({}));
12206
11888
  }
12207
11889
  /**
12208
11890
  * Queries created service groups.
@@ -12250,12 +11932,7 @@ class Client extends openapi_core_1.default {
12250
11932
  reqBodyType: "json",
12251
11933
  bodyType: "json",
12252
11934
  });
12253
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12254
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourceInstanceWorkerResponse({}));
12255
- }
12256
- else {
12257
- return $dara.cast(await this.execute(params, req, runtime), new ListResourceInstanceWorkerResponse({}));
12258
- }
11935
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourceInstanceWorkerResponse({}));
12259
11936
  }
12260
11937
  /**
12261
11938
  * Queries a list of workers in a resource group.
@@ -12332,12 +12009,7 @@ class Client extends openapi_core_1.default {
12332
12009
  reqBodyType: "json",
12333
12010
  bodyType: "json",
12334
12011
  });
12335
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12336
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourceInstancesResponse({}));
12337
- }
12338
- else {
12339
- return $dara.cast(await this.execute(params, req, runtime), new ListResourceInstancesResponse({}));
12340
- }
12012
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourceInstancesResponse({}));
12341
12013
  }
12342
12014
  /**
12343
12015
  * Queries a list of instances in a dedicated resource group.
@@ -12385,12 +12057,7 @@ class Client extends openapi_core_1.default {
12385
12057
  reqBodyType: "json",
12386
12058
  bodyType: "json",
12387
12059
  });
12388
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12389
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourceServicesResponse({}));
12390
- }
12391
- else {
12392
- return $dara.cast(await this.execute(params, req, runtime), new ListResourceServicesResponse({}));
12393
- }
12060
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourceServicesResponse({}));
12394
12061
  }
12395
12062
  /**
12396
12063
  * Queries a list of services that are deployed in the dedicated resource group.
@@ -12456,12 +12123,7 @@ class Client extends openapi_core_1.default {
12456
12123
  reqBodyType: "json",
12457
12124
  bodyType: "json",
12458
12125
  });
12459
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12460
- return $dara.cast(await this.callApi(params, req, runtime), new ListResourcesResponse({}));
12461
- }
12462
- else {
12463
- return $dara.cast(await this.execute(params, req, runtime), new ListResourcesResponse({}));
12464
- }
12126
+ return $dara.cast(await this.callApi(params, req, runtime), new ListResourcesResponse({}));
12465
12127
  }
12466
12128
  /**
12467
12129
  * Queries a list of dedicated resource groups for the current user.
@@ -12496,12 +12158,7 @@ class Client extends openapi_core_1.default {
12496
12158
  reqBodyType: "json",
12497
12159
  bodyType: "json",
12498
12160
  });
12499
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12500
- return $dara.cast(await this.callApi(params, req, runtime), new ListServiceContainersResponse({}));
12501
- }
12502
- else {
12503
- return $dara.cast(await this.execute(params, req, runtime), new ListServiceContainersResponse({}));
12504
- }
12161
+ return $dara.cast(await this.callApi(params, req, runtime), new ListServiceContainersResponse({}));
12505
12162
  }
12506
12163
  /**
12507
12164
  * Queries the containers of a service.
@@ -12577,12 +12234,7 @@ class Client extends openapi_core_1.default {
12577
12234
  reqBodyType: "json",
12578
12235
  bodyType: "json",
12579
12236
  });
12580
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12581
- return $dara.cast(await this.callApi(params, req, runtime), new ListServiceInstancesResponse({}));
12582
- }
12583
- else {
12584
- return $dara.cast(await this.execute(params, req, runtime), new ListServiceInstancesResponse({}));
12585
- }
12237
+ return $dara.cast(await this.callApi(params, req, runtime), new ListServiceInstancesResponse({}));
12586
12238
  }
12587
12239
  /**
12588
12240
  * Queries instances of a service.
@@ -12627,12 +12279,7 @@ class Client extends openapi_core_1.default {
12627
12279
  reqBodyType: "json",
12628
12280
  bodyType: "json",
12629
12281
  });
12630
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12631
- return $dara.cast(await this.callApi(params, req, runtime), new ListServiceVersionsResponse({}));
12632
- }
12633
- else {
12634
- return $dara.cast(await this.execute(params, req, runtime), new ListServiceVersionsResponse({}));
12635
- }
12282
+ return $dara.cast(await this.callApi(params, req, runtime), new ListServiceVersionsResponse({}));
12636
12283
  }
12637
12284
  /**
12638
12285
  * Queries the information about the historical versions of a service.
@@ -12733,12 +12380,7 @@ class Client extends openapi_core_1.default {
12733
12380
  reqBodyType: "json",
12734
12381
  bodyType: "json",
12735
12382
  });
12736
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12737
- return $dara.cast(await this.callApi(params, req, runtime), new ListServicesResponse({}));
12738
- }
12739
- else {
12740
- return $dara.cast(await this.execute(params, req, runtime), new ListServicesResponse({}));
12741
- }
12383
+ return $dara.cast(await this.callApi(params, req, runtime), new ListServicesResponse({}));
12742
12384
  }
12743
12385
  /**
12744
12386
  * Lists services.
@@ -12773,12 +12415,7 @@ class Client extends openapi_core_1.default {
12773
12415
  reqBodyType: "json",
12774
12416
  bodyType: "json",
12775
12417
  });
12776
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12777
- return $dara.cast(await this.callApi(params, req, runtime), new ListTenantAddonsResponse({}));
12778
- }
12779
- else {
12780
- return $dara.cast(await this.execute(params, req, runtime), new ListTenantAddonsResponse({}));
12781
- }
12418
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTenantAddonsResponse({}));
12782
12419
  }
12783
12420
  /**
12784
12421
  * Queries a list of tenant plug-ins.
@@ -12827,12 +12464,7 @@ class Client extends openapi_core_1.default {
12827
12464
  reqBodyType: "json",
12828
12465
  bodyType: "json",
12829
12466
  });
12830
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12831
- return $dara.cast(await this.callApi(params, req, runtime), new ListVirtualResourceResponse({}));
12832
- }
12833
- else {
12834
- return $dara.cast(await this.execute(params, req, runtime), new ListVirtualResourceResponse({}));
12835
- }
12467
+ return $dara.cast(await this.callApi(params, req, runtime), new ListVirtualResourceResponse({}));
12836
12468
  }
12837
12469
  /**
12838
12470
  * Queries a list of virtual resource groups for the current user.
@@ -12867,12 +12499,7 @@ class Client extends openapi_core_1.default {
12867
12499
  reqBodyType: "json",
12868
12500
  bodyType: "json",
12869
12501
  });
12870
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12871
- return $dara.cast(await this.callApi(params, req, runtime), new ReinstallTenantAddonResponse({}));
12872
- }
12873
- else {
12874
- return $dara.cast(await this.execute(params, req, runtime), new ReinstallTenantAddonResponse({}));
12875
- }
12502
+ return $dara.cast(await this.callApi(params, req, runtime), new ReinstallTenantAddonResponse({}));
12876
12503
  }
12877
12504
  /**
12878
12505
  * Resets tenant configurations.
@@ -12915,12 +12542,7 @@ class Client extends openapi_core_1.default {
12915
12542
  reqBodyType: "json",
12916
12543
  bodyType: "json",
12917
12544
  });
12918
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12919
- return $dara.cast(await this.callApi(params, req, runtime), new ReleaseServiceResponse({}));
12920
- }
12921
- else {
12922
- return $dara.cast(await this.execute(params, req, runtime), new ReleaseServiceResponse({}));
12923
- }
12545
+ return $dara.cast(await this.callApi(params, req, runtime), new ReleaseServiceResponse({}));
12924
12546
  }
12925
12547
  /**
12926
12548
  * Switch the traffic state or weight of the service.
@@ -12955,12 +12577,7 @@ class Client extends openapi_core_1.default {
12955
12577
  reqBodyType: "json",
12956
12578
  bodyType: "json",
12957
12579
  });
12958
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12959
- return $dara.cast(await this.callApi(params, req, runtime), new RestartServiceResponse({}));
12960
- }
12961
- else {
12962
- return $dara.cast(await this.execute(params, req, runtime), new RestartServiceResponse({}));
12963
- }
12580
+ return $dara.cast(await this.callApi(params, req, runtime), new RestartServiceResponse({}));
12964
12581
  }
12965
12582
  /**
12966
12583
  * Restarts a service.
@@ -12993,12 +12610,7 @@ class Client extends openapi_core_1.default {
12993
12610
  reqBodyType: "json",
12994
12611
  bodyType: "json",
12995
12612
  });
12996
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12997
- return $dara.cast(await this.callApi(params, req, runtime), new StartBenchmarkTaskResponse({}));
12998
- }
12999
- else {
13000
- return $dara.cast(await this.execute(params, req, runtime), new StartBenchmarkTaskResponse({}));
13001
- }
12613
+ return $dara.cast(await this.callApi(params, req, runtime), new StartBenchmarkTaskResponse({}));
13002
12614
  }
13003
12615
  /**
13004
12616
  * Starts a stress testing task.
@@ -13031,12 +12643,7 @@ class Client extends openapi_core_1.default {
13031
12643
  reqBodyType: "json",
13032
12644
  bodyType: "json",
13033
12645
  });
13034
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13035
- return $dara.cast(await this.callApi(params, req, runtime), new StartServiceResponse({}));
13036
- }
13037
- else {
13038
- return $dara.cast(await this.execute(params, req, runtime), new StartServiceResponse({}));
13039
- }
12646
+ return $dara.cast(await this.callApi(params, req, runtime), new StartServiceResponse({}));
13040
12647
  }
13041
12648
  /**
13042
12649
  * Starts a service.
@@ -13069,12 +12676,7 @@ class Client extends openapi_core_1.default {
13069
12676
  reqBodyType: "json",
13070
12677
  bodyType: "json",
13071
12678
  });
13072
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13073
- return $dara.cast(await this.callApi(params, req, runtime), new StopBenchmarkTaskResponse({}));
13074
- }
13075
- else {
13076
- return $dara.cast(await this.execute(params, req, runtime), new StopBenchmarkTaskResponse({}));
13077
- }
12679
+ return $dara.cast(await this.callApi(params, req, runtime), new StopBenchmarkTaskResponse({}));
13078
12680
  }
13079
12681
  /**
13080
12682
  * Stops a stress testing task.
@@ -13107,12 +12709,7 @@ class Client extends openapi_core_1.default {
13107
12709
  reqBodyType: "json",
13108
12710
  bodyType: "json",
13109
12711
  });
13110
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13111
- return $dara.cast(await this.callApi(params, req, runtime), new StopServiceResponse({}));
13112
- }
13113
- else {
13114
- return $dara.cast(await this.execute(params, req, runtime), new StopServiceResponse({}));
13115
- }
12712
+ return $dara.cast(await this.callApi(params, req, runtime), new StopServiceResponse({}));
13116
12713
  }
13117
12714
  /**
13118
12715
  * Stops a running service.
@@ -13172,12 +12769,7 @@ class Client extends openapi_core_1.default {
13172
12769
  reqBodyType: "json",
13173
12770
  bodyType: "json",
13174
12771
  });
13175
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13176
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateAppServiceResponse({}));
13177
- }
13178
- else {
13179
- return $dara.cast(await this.execute(params, req, runtime), new UpdateAppServiceResponse({}));
13180
- }
12772
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateAppServiceResponse({}));
13181
12773
  }
13182
12774
  /**
13183
12775
  * Updates an application service.
@@ -13215,12 +12807,7 @@ class Client extends openapi_core_1.default {
13215
12807
  reqBodyType: "json",
13216
12808
  bodyType: "json",
13217
12809
  });
13218
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13219
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
13220
- }
13221
- else {
13222
- return $dara.cast(await this.execute(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
13223
- }
12810
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
13224
12811
  }
13225
12812
  /**
13226
12813
  * Updates a stress testing task.
@@ -13280,12 +12867,7 @@ class Client extends openapi_core_1.default {
13280
12867
  reqBodyType: "json",
13281
12868
  bodyType: "json",
13282
12869
  });
13283
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13284
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateGatewayResponse({}));
13285
- }
13286
- else {
13287
- return $dara.cast(await this.execute(params, req, runtime), new UpdateGatewayResponse({}));
13288
- }
12870
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateGatewayResponse({}));
13289
12871
  }
13290
12872
  /**
13291
12873
  * Update a private gateway.
@@ -13330,12 +12912,7 @@ class Client extends openapi_core_1.default {
13330
12912
  reqBodyType: "json",
13331
12913
  bodyType: "json",
13332
12914
  });
13333
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13334
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourceResponse({}));
13335
- }
13336
- else {
13337
- return $dara.cast(await this.execute(params, req, runtime), new UpdateResourceResponse({}));
13338
- }
12915
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourceResponse({}));
13339
12916
  }
13340
12917
  /**
13341
12918
  * Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.
@@ -13386,12 +12963,7 @@ class Client extends openapi_core_1.default {
13386
12963
  reqBodyType: "json",
13387
12964
  bodyType: "json",
13388
12965
  });
13389
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13390
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourceDLinkResponse({}));
13391
- }
13392
- else {
13393
- return $dara.cast(await this.execute(params, req, runtime), new UpdateResourceDLinkResponse({}));
13394
- }
12966
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourceDLinkResponse({}));
13395
12967
  }
13396
12968
  /**
13397
12969
  * Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.
@@ -13433,12 +13005,7 @@ class Client extends openapi_core_1.default {
13433
13005
  reqBodyType: "json",
13434
13006
  bodyType: "json",
13435
13007
  });
13436
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13437
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourceInstanceResponse({}));
13438
- }
13439
- else {
13440
- return $dara.cast(await this.execute(params, req, runtime), new UpdateResourceInstanceResponse({}));
13441
- }
13008
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourceInstanceResponse({}));
13442
13009
  }
13443
13010
  /**
13444
13011
  * Updates the service scheduling status of an instance in a dedicated resource group.
@@ -13493,12 +13060,7 @@ class Client extends openapi_core_1.default {
13493
13060
  reqBodyType: "json",
13494
13061
  bodyType: "json",
13495
13062
  });
13496
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13497
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourceInstanceLabelResponse({}));
13498
- }
13499
- else {
13500
- return $dara.cast(await this.execute(params, req, runtime), new UpdateResourceInstanceLabelResponse({}));
13501
- }
13063
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourceInstanceLabelResponse({}));
13502
13064
  }
13503
13065
  /**
13504
13066
  * Updates the tag of an instance in a resource group.
@@ -13541,12 +13103,7 @@ class Client extends openapi_core_1.default {
13541
13103
  reqBodyType: "json",
13542
13104
  bodyType: "json",
13543
13105
  });
13544
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13545
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceResponse({}));
13546
- }
13547
- else {
13548
- return $dara.cast(await this.execute(params, req, runtime), new UpdateServiceResponse({}));
13549
- }
13106
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceResponse({}));
13550
13107
  }
13551
13108
  /**
13552
13109
  * Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.
@@ -13597,12 +13154,7 @@ class Client extends openapi_core_1.default {
13597
13154
  reqBodyType: "json",
13598
13155
  bodyType: "json",
13599
13156
  });
13600
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13601
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceAutoScalerResponse({}));
13602
- }
13603
- else {
13604
- return $dara.cast(await this.execute(params, req, runtime), new UpdateServiceAutoScalerResponse({}));
13605
- }
13157
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceAutoScalerResponse({}));
13606
13158
  }
13607
13159
  /**
13608
13160
  * Updates the Autoscaler configurations of a service.
@@ -13647,12 +13199,7 @@ class Client extends openapi_core_1.default {
13647
13199
  reqBodyType: "json",
13648
13200
  bodyType: "json",
13649
13201
  });
13650
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13651
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceCronScalerResponse({}));
13652
- }
13653
- else {
13654
- return $dara.cast(await this.execute(params, req, runtime), new UpdateServiceCronScalerResponse({}));
13655
- }
13202
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceCronScalerResponse({}));
13656
13203
  }
13657
13204
  /**
13658
13205
  * Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.
@@ -13694,12 +13241,7 @@ class Client extends openapi_core_1.default {
13694
13241
  reqBodyType: "json",
13695
13242
  bodyType: "json",
13696
13243
  });
13697
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13698
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceInstanceResponse({}));
13699
- }
13700
- else {
13701
- return $dara.cast(await this.execute(params, req, runtime), new UpdateServiceInstanceResponse({}));
13702
- }
13244
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceInstanceResponse({}));
13703
13245
  }
13704
13246
  /**
13705
13247
  * Updates attributes of service instances. Only isolation can be performed for service instances.
@@ -13741,12 +13283,7 @@ class Client extends openapi_core_1.default {
13741
13283
  reqBodyType: "json",
13742
13284
  bodyType: "json",
13743
13285
  });
13744
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13745
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceLabelResponse({}));
13746
- }
13747
- else {
13748
- return $dara.cast(await this.execute(params, req, runtime), new UpdateServiceLabelResponse({}));
13749
- }
13286
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceLabelResponse({}));
13750
13287
  }
13751
13288
  /**
13752
13289
  * Adds service tags or updates existing service tags.
@@ -13791,12 +13328,7 @@ class Client extends openapi_core_1.default {
13791
13328
  reqBodyType: "json",
13792
13329
  bodyType: "json",
13793
13330
  });
13794
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13795
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceMirrorResponse({}));
13796
- }
13797
- else {
13798
- return $dara.cast(await this.execute(params, req, runtime), new UpdateServiceMirrorResponse({}));
13799
- }
13331
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceMirrorResponse({}));
13800
13332
  }
13801
13333
  /**
13802
13334
  * Updates the traffic mirroring configurations of a service.
@@ -13838,12 +13370,7 @@ class Client extends openapi_core_1.default {
13838
13370
  reqBodyType: "json",
13839
13371
  bodyType: "json",
13840
13372
  });
13841
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13842
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceSafetyLockResponse({}));
13843
- }
13844
- else {
13845
- return $dara.cast(await this.execute(params, req, runtime), new UpdateServiceSafetyLockResponse({}));
13846
- }
13373
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceSafetyLockResponse({}));
13847
13374
  }
13848
13375
  /**
13849
13376
  * Updates the safety lock of a service to minimize misoperations on the service.
@@ -13885,12 +13412,7 @@ class Client extends openapi_core_1.default {
13885
13412
  reqBodyType: "json",
13886
13413
  bodyType: "json",
13887
13414
  });
13888
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13889
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceVersionResponse({}));
13890
- }
13891
- else {
13892
- return $dara.cast(await this.execute(params, req, runtime), new UpdateServiceVersionResponse({}));
13893
- }
13415
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateServiceVersionResponse({}));
13894
13416
  }
13895
13417
  /**
13896
13418
  * Updates the version of a service or rolls back the service to a specific version.
@@ -13938,12 +13460,7 @@ class Client extends openapi_core_1.default {
13938
13460
  reqBodyType: "json",
13939
13461
  bodyType: "json",
13940
13462
  });
13941
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13942
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateVirtualResourceResponse({}));
13943
- }
13944
- else {
13945
- return $dara.cast(await this.execute(params, req, runtime), new UpdateVirtualResourceResponse({}));
13946
- }
13463
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateVirtualResourceResponse({}));
13947
13464
  }
13948
13465
  /**
13949
13466
  * Updates the information about a virtual resource group.