@alicloud/ecs20140526 7.0.16 → 7.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/client.d.ts +28 -34
  2. package/dist/client.js +28 -108
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AllocateDedicatedHostsRequest.d.ts +2 -2
  5. package/dist/models/DescribeDedicatedHostsRequest.d.ts +15 -15
  6. package/dist/models/DescribeDedicatedHostsResponseBody.d.ts +2 -2
  7. package/dist/models/DescribeDeploymentSetsResponseBody.d.ts +1 -0
  8. package/dist/models/DescribeDeploymentSetsResponseBody.js +2 -0
  9. package/dist/models/DescribeDeploymentSetsResponseBody.js.map +1 -1
  10. package/dist/models/DescribeDisksRequest.d.ts +0 -2
  11. package/dist/models/DescribeDisksRequest.js.map +1 -1
  12. package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +2 -0
  13. package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
  14. package/dist/models/DescribeInstanceTypesResponseBody.d.ts +34 -0
  15. package/dist/models/DescribeInstanceTypesResponseBody.js.map +1 -1
  16. package/dist/models/DescribeLaunchTemplatesRequest.d.ts +5 -5
  17. package/dist/models/DescribeLaunchTemplatesResponseBody.d.ts +6 -6
  18. package/dist/models/DescribeTerminalSessionsResponseBody.d.ts +7 -2
  19. package/dist/models/DescribeTerminalSessionsResponseBody.js.map +1 -1
  20. package/dist/models/ImportImageRequest.d.ts +8 -7
  21. package/dist/models/ImportImageRequest.js.map +1 -1
  22. package/dist/models/ModifyElasticityAssuranceRequest.d.ts +10 -10
  23. package/dist/models/RunInstancesRequest.d.ts +33 -18
  24. package/dist/models/RunInstancesRequest.js.map +1 -1
  25. package/dist/models/RunInstancesResponseBody.d.ts +1 -1
  26. package/package.json +1 -1
  27. package/src/client.ts +28 -108
  28. package/src/models/AllocateDedicatedHostsRequest.ts +2 -2
  29. package/src/models/DescribeDedicatedHostsRequest.ts +15 -15
  30. package/src/models/DescribeDedicatedHostsResponseBody.ts +2 -2
  31. package/src/models/DescribeDeploymentSetsResponseBody.ts +3 -0
  32. package/src/models/DescribeDisksRequest.ts +0 -2
  33. package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +2 -0
  34. package/src/models/DescribeInstanceTypesResponseBody.ts +34 -0
  35. package/src/models/DescribeLaunchTemplatesRequest.ts +5 -5
  36. package/src/models/DescribeLaunchTemplatesResponseBody.ts +6 -6
  37. package/src/models/DescribeTerminalSessionsResponseBody.ts +7 -2
  38. package/src/models/ImportImageRequest.ts +8 -7
  39. package/src/models/ModifyElasticityAssuranceRequest.ts +10 -10
  40. package/src/models/RunInstancesRequest.ts +33 -18
  41. package/src/models/RunInstancesResponseBody.ts +1 -1
package/dist/client.js CHANGED
@@ -165,7 +165,6 @@ class Client extends openapi_core_1.default {
165
165
  * @param runtime - runtime options for this request RuntimeOptions
166
166
  * @returns ActivateRouterInterfaceResponse
167
167
  */
168
- // Deprecated
169
168
  async activateRouterInterfaceWithOptions(request, runtime) {
170
169
  request.validate();
171
170
  let query = {};
@@ -218,7 +217,6 @@ class Client extends openapi_core_1.default {
218
217
  * @param runtime - runtime options for this request RuntimeOptions
219
218
  * @returns AddBandwidthPackageIpsResponse
220
219
  */
221
- // Deprecated
222
220
  async addBandwidthPackageIpsWithOptions(request, runtime) {
223
221
  request.validate();
224
222
  let query = {};
@@ -288,7 +286,6 @@ class Client extends openapi_core_1.default {
288
286
  * @param runtime - runtime options for this request RuntimeOptions
289
287
  * @returns AddTagsResponse
290
288
  */
291
- // Deprecated
292
289
  async addTagsWithOptions(request, runtime) {
293
290
  request.validate();
294
291
  let query = {};
@@ -485,7 +482,6 @@ class Client extends openapi_core_1.default {
485
482
  * @param runtime - runtime options for this request RuntimeOptions
486
483
  * @returns AllocateEipAddressResponse
487
484
  */
488
- // Deprecated
489
485
  async allocateEipAddressWithOptions(request, runtime) {
490
486
  request.validate();
491
487
  let query = {};
@@ -877,7 +873,6 @@ class Client extends openapi_core_1.default {
877
873
  * @param runtime - runtime options for this request RuntimeOptions
878
874
  * @returns AssociateEipAddressResponse
879
875
  */
880
- // Deprecated
881
876
  async associateEipAddressWithOptions(request, runtime) {
882
877
  request.validate();
883
878
  let query = {};
@@ -939,7 +934,6 @@ class Client extends openapi_core_1.default {
939
934
  * @param runtime - runtime options for this request RuntimeOptions
940
935
  * @returns AssociateHaVipResponse
941
936
  */
942
- // Deprecated
943
937
  async associateHaVipWithOptions(request, runtime) {
944
938
  request.validate();
945
939
  let query = {};
@@ -1990,7 +1984,6 @@ class Client extends openapi_core_1.default {
1990
1984
  * @param runtime - runtime options for this request RuntimeOptions
1991
1985
  * @returns CancelPhysicalConnectionResponse
1992
1986
  */
1993
- // Deprecated
1994
1987
  async cancelPhysicalConnectionWithOptions(request, runtime) {
1995
1988
  request.validate();
1996
1989
  let query = {};
@@ -2160,7 +2153,6 @@ class Client extends openapi_core_1.default {
2160
2153
  * @param runtime - runtime options for this request RuntimeOptions
2161
2154
  * @returns ConnectRouterInterfaceResponse
2162
2155
  */
2163
- // Deprecated
2164
2156
  async connectRouterInterfaceWithOptions(request, runtime) {
2165
2157
  request.validate();
2166
2158
  let query = {};
@@ -3564,7 +3556,6 @@ class Client extends openapi_core_1.default {
3564
3556
  * @param runtime - runtime options for this request RuntimeOptions
3565
3557
  * @returns CreateForwardEntryResponse
3566
3558
  */
3567
- // Deprecated
3568
3559
  async createForwardEntryWithOptions(request, runtime) {
3569
3560
  request.validate();
3570
3561
  let query = {};
@@ -3635,7 +3626,6 @@ class Client extends openapi_core_1.default {
3635
3626
  * @param runtime - runtime options for this request RuntimeOptions
3636
3627
  * @returns CreateHaVipResponse
3637
3628
  */
3638
- // Deprecated
3639
3629
  async createHaVipWithOptions(request, runtime) {
3640
3630
  request.validate();
3641
3631
  let query = {};
@@ -4889,7 +4879,6 @@ class Client extends openapi_core_1.default {
4889
4879
  * @param runtime - runtime options for this request RuntimeOptions
4890
4880
  * @returns CreateNatGatewayResponse
4891
4881
  */
4892
- // Deprecated
4893
4882
  async createNatGatewayWithOptions(request, runtime) {
4894
4883
  request.validate();
4895
4884
  let query = {};
@@ -5200,7 +5189,6 @@ class Client extends openapi_core_1.default {
5200
5189
  * @param runtime - runtime options for this request RuntimeOptions
5201
5190
  * @returns CreatePhysicalConnectionResponse
5202
5191
  */
5203
- // Deprecated
5204
5192
  async createPhysicalConnectionWithOptions(request, runtime) {
5205
5193
  request.validate();
5206
5194
  let query = {};
@@ -5465,7 +5453,6 @@ class Client extends openapi_core_1.default {
5465
5453
  * @param runtime - runtime options for this request RuntimeOptions
5466
5454
  * @returns CreateRouteEntryResponse
5467
5455
  */
5468
- // Deprecated
5469
5456
  async createRouteEntryWithOptions(request, runtime) {
5470
5457
  request.validate();
5471
5458
  let query = {};
@@ -5536,7 +5523,6 @@ class Client extends openapi_core_1.default {
5536
5523
  * @param runtime - runtime options for this request RuntimeOptions
5537
5524
  * @returns CreateRouterInterfaceResponse
5538
5525
  */
5539
- // Deprecated
5540
5526
  async createRouterInterfaceWithOptions(request, runtime) {
5541
5527
  request.validate();
5542
5528
  let query = {};
@@ -6208,7 +6194,6 @@ class Client extends openapi_core_1.default {
6208
6194
  * @param runtime - runtime options for this request RuntimeOptions
6209
6195
  * @returns CreateVSwitchResponse
6210
6196
  */
6211
- // Deprecated
6212
6197
  async createVSwitchWithOptions(request, runtime) {
6213
6198
  request.validate();
6214
6199
  let query = {};
@@ -6279,7 +6264,6 @@ class Client extends openapi_core_1.default {
6279
6264
  * @param runtime - runtime options for this request RuntimeOptions
6280
6265
  * @returns CreateVirtualBorderRouterResponse
6281
6266
  */
6282
- // Deprecated
6283
6267
  async createVirtualBorderRouterWithOptions(request, runtime) {
6284
6268
  request.validate();
6285
6269
  let query = {};
@@ -6368,7 +6352,6 @@ class Client extends openapi_core_1.default {
6368
6352
  * @param runtime - runtime options for this request RuntimeOptions
6369
6353
  * @returns CreateVpcResponse
6370
6354
  */
6371
- // Deprecated
6372
6355
  async createVpcWithOptions(request, runtime) {
6373
6356
  request.validate();
6374
6357
  let query = {};
@@ -6436,7 +6419,6 @@ class Client extends openapi_core_1.default {
6436
6419
  * @param runtime - runtime options for this request RuntimeOptions
6437
6420
  * @returns DeactivateRouterInterfaceResponse
6438
6421
  */
6439
- // Deprecated
6440
6422
  async deactivateRouterInterfaceWithOptions(request, runtime) {
6441
6423
  request.validate();
6442
6424
  let query = {};
@@ -6662,7 +6644,6 @@ class Client extends openapi_core_1.default {
6662
6644
  * @param runtime - runtime options for this request RuntimeOptions
6663
6645
  * @returns DeleteBandwidthPackageResponse
6664
6646
  */
6665
- // Deprecated
6666
6647
  async deleteBandwidthPackageWithOptions(request, runtime) {
6667
6648
  request.validate();
6668
6649
  let query = {};
@@ -7044,7 +7025,6 @@ class Client extends openapi_core_1.default {
7044
7025
  * @param runtime - runtime options for this request RuntimeOptions
7045
7026
  * @returns DeleteForwardEntryResponse
7046
7027
  */
7047
- // Deprecated
7048
7028
  async deleteForwardEntryWithOptions(request, runtime) {
7049
7029
  request.validate();
7050
7030
  let query = {};
@@ -7103,7 +7083,6 @@ class Client extends openapi_core_1.default {
7103
7083
  * @param runtime - runtime options for this request RuntimeOptions
7104
7084
  * @returns DeleteHaVipResponse
7105
7085
  */
7106
- // Deprecated
7107
7086
  async deleteHaVipWithOptions(request, runtime) {
7108
7087
  request.validate();
7109
7088
  let query = {};
@@ -7282,10 +7261,11 @@ class Client extends openapi_core_1.default {
7282
7261
  return await this.deleteImageWithOptions(request, runtime);
7283
7262
  }
7284
7263
  /**
7285
- * Deletes an image component.
7264
+ * Deletes an image component. You can specify RegionId and ImageComponentId in the request.
7286
7265
  *
7287
7266
  * @remarks
7288
- * Only custom image components can be deleted.
7267
+ * Only custom image components can be deleted.
7268
+ * * When you delete a component, make sure that the component is not used in the template. Otherwise, the component fails to be deleted.
7289
7269
  *
7290
7270
  * @param request - DeleteImageComponentRequest
7291
7271
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7332,10 +7312,11 @@ class Client extends openapi_core_1.default {
7332
7312
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteImageComponentResponse({}));
7333
7313
  }
7334
7314
  /**
7335
- * Deletes an image component.
7315
+ * Deletes an image component. You can specify RegionId and ImageComponentId in the request.
7336
7316
  *
7337
7317
  * @remarks
7338
- * Only custom image components can be deleted.
7318
+ * Only custom image components can be deleted.
7319
+ * * When you delete a component, make sure that the component is not used in the template. Otherwise, the component fails to be deleted.
7339
7320
  *
7340
7321
  * @param request - DeleteImageComponentRequest
7341
7322
  * @returns DeleteImageComponentResponse
@@ -7345,7 +7326,7 @@ class Client extends openapi_core_1.default {
7345
7326
  return await this.deleteImageComponentWithOptions(request, runtime);
7346
7327
  }
7347
7328
  /**
7348
- * Deletes an image template. You can specify RegionId and ImagePipelineId in the request.
7329
+ * Deletes an image template.
7349
7330
  *
7350
7331
  * @remarks
7351
7332
  * If an ongoing image building task is associated with an image template, you cannot delete the image template. You can delete the image template only if the image building task reaches the SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED state. You can call the DescribeImagePipelineExecutions operation to query the details of an image building task.
@@ -7395,7 +7376,7 @@ class Client extends openapi_core_1.default {
7395
7376
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteImagePipelineResponse({}));
7396
7377
  }
7397
7378
  /**
7398
- * Deletes an image template. You can specify RegionId and ImagePipelineId in the request.
7379
+ * Deletes an image template.
7399
7380
  *
7400
7381
  * @remarks
7401
7382
  * If an ongoing image building task is associated with an image template, you cannot delete the image template. You can delete the image template only if the image building task reaches the SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED state. You can call the DescribeImagePipelineExecutions operation to query the details of an image building task.
@@ -7786,7 +7767,6 @@ class Client extends openapi_core_1.default {
7786
7767
  * @param runtime - runtime options for this request RuntimeOptions
7787
7768
  * @returns DeleteNatGatewayResponse
7788
7769
  */
7789
- // Deprecated
7790
7770
  async deleteNatGatewayWithOptions(request, runtime) {
7791
7771
  request.validate();
7792
7772
  let query = {};
@@ -7929,7 +7909,6 @@ class Client extends openapi_core_1.default {
7929
7909
  * @param runtime - runtime options for this request RuntimeOptions
7930
7910
  * @returns DeleteNetworkInterfacePermissionResponse
7931
7911
  */
7932
- // Deprecated
7933
7912
  async deleteNetworkInterfacePermissionWithOptions(request, runtime) {
7934
7913
  request.validate();
7935
7914
  let query = {};
@@ -7993,7 +7972,6 @@ class Client extends openapi_core_1.default {
7993
7972
  * @param runtime - runtime options for this request RuntimeOptions
7994
7973
  * @returns DeletePhysicalConnectionResponse
7995
7974
  */
7996
- // Deprecated
7997
7975
  async deletePhysicalConnectionWithOptions(request, runtime) {
7998
7976
  request.validate();
7999
7977
  let query = {};
@@ -8172,7 +8150,6 @@ class Client extends openapi_core_1.default {
8172
8150
  * @param runtime - runtime options for this request RuntimeOptions
8173
8151
  * @returns DeleteRouteEntryResponse
8174
8152
  */
8175
- // Deprecated
8176
8153
  async deleteRouteEntryWithOptions(request, runtime) {
8177
8154
  request.validate();
8178
8155
  let query = {};
@@ -8237,7 +8214,6 @@ class Client extends openapi_core_1.default {
8237
8214
  * @param runtime - runtime options for this request RuntimeOptions
8238
8215
  * @returns DeleteRouterInterfaceResponse
8239
8216
  */
8240
- // Deprecated
8241
8217
  async deleteRouterInterfaceWithOptions(request, runtime) {
8242
8218
  request.validate();
8243
8219
  let query = {};
@@ -8548,7 +8524,6 @@ class Client extends openapi_core_1.default {
8548
8524
  * @param runtime - runtime options for this request RuntimeOptions
8549
8525
  * @returns DeleteVSwitchResponse
8550
8526
  */
8551
- // Deprecated
8552
8527
  async deleteVSwitchWithOptions(request, runtime) {
8553
8528
  request.validate();
8554
8529
  let query = {};
@@ -8604,7 +8579,6 @@ class Client extends openapi_core_1.default {
8604
8579
  * @param runtime - runtime options for this request RuntimeOptions
8605
8580
  * @returns DeleteVirtualBorderRouterResponse
8606
8581
  */
8607
- // Deprecated
8608
8582
  async deleteVirtualBorderRouterWithOptions(request, runtime) {
8609
8583
  request.validate();
8610
8584
  let query = {};
@@ -8668,7 +8642,6 @@ class Client extends openapi_core_1.default {
8668
8642
  * @param runtime - runtime options for this request RuntimeOptions
8669
8643
  * @returns DeleteVpcResponse
8670
8644
  */
8671
- // Deprecated
8672
8645
  async deleteVpcWithOptions(request, runtime) {
8673
8646
  request.validate();
8674
8647
  let query = {};
@@ -8783,7 +8756,6 @@ class Client extends openapi_core_1.default {
8783
8756
  * @param runtime - runtime options for this request RuntimeOptions
8784
8757
  * @returns DescribeAccessPointsResponse
8785
8758
  */
8786
- // Deprecated
8787
8759
  async describeAccessPointsWithOptions(request, runtime) {
8788
8760
  request.validate();
8789
8761
  let query = {};
@@ -9488,7 +9460,6 @@ class Client extends openapi_core_1.default {
9488
9460
  * @param runtime - runtime options for this request RuntimeOptions
9489
9461
  * @returns DescribeBandwidthPackagesResponse
9490
9462
  */
9491
- // Deprecated
9492
9463
  async describeBandwidthPackagesWithOptions(request, runtime) {
9493
9464
  request.validate();
9494
9465
  let query = {};
@@ -9904,7 +9875,6 @@ class Client extends openapi_core_1.default {
9904
9875
  * @param runtime - runtime options for this request RuntimeOptions
9905
9876
  * @returns DescribeClustersResponse
9906
9877
  */
9907
- // Deprecated
9908
9878
  async describeClustersWithOptions(request, runtime) {
9909
9879
  request.validate();
9910
9880
  let query = {};
@@ -10253,7 +10223,7 @@ class Client extends openapi_core_1.default {
10253
10223
  return await this.describeDedicatedHostTypesWithOptions(request, runtime);
10254
10224
  }
10255
10225
  /**
10256
- * Queries the information about dedicated hosts, including the physical performance specifications, machine codes, and status of the dedicated hosts, and Elastic Compute Service (ECS) instances that are created on the dedicated hosts.
10226
+ * Queries the details of one or more Dedicated Hosts (DDHs). You can call this operation to obtain information about a DDH, including the physical performance specifications, machine code, service status, and the list of created ECS instances. You can specify relevant parameters, such as DDH IDs, DDH cluster IDs, hostname, and status, to query the required DDH details. This helps you efficiently manage and optimize cloud computing resources.
10257
10227
  *
10258
10228
  * @remarks
10259
10229
  * ## [](#)Usage notes
@@ -10345,7 +10315,7 @@ class Client extends openapi_core_1.default {
10345
10315
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDedicatedHostsResponse({}));
10346
10316
  }
10347
10317
  /**
10348
- * Queries the information about dedicated hosts, including the physical performance specifications, machine codes, and status of the dedicated hosts, and Elastic Compute Service (ECS) instances that are created on the dedicated hosts.
10318
+ * Queries the details of one or more Dedicated Hosts (DDHs). You can call this operation to obtain information about a DDH, including the physical performance specifications, machine code, service status, and the list of created ECS instances. You can specify relevant parameters, such as DDH IDs, DDH cluster IDs, hostname, and status, to query the required DDH details. This helps you efficiently manage and optimize cloud computing resources.
10349
10319
  *
10350
10320
  * @remarks
10351
10321
  * ## [](#)Usage notes
@@ -11132,7 +11102,6 @@ class Client extends openapi_core_1.default {
11132
11102
  * @param runtime - runtime options for this request RuntimeOptions
11133
11103
  * @returns DescribeEipAddressesResponse
11134
11104
  */
11135
- // Deprecated
11136
11105
  async describeEipAddressesWithOptions(request, runtime) {
11137
11106
  request.validate();
11138
11107
  let query = {};
@@ -11218,7 +11187,6 @@ class Client extends openapi_core_1.default {
11218
11187
  * @param runtime - runtime options for this request RuntimeOptions
11219
11188
  * @returns DescribeEipMonitorDataResponse
11220
11189
  */
11221
- // Deprecated
11222
11190
  async describeEipMonitorDataWithOptions(request, runtime) {
11223
11191
  request.validate();
11224
11192
  let query = {};
@@ -11565,7 +11533,6 @@ class Client extends openapi_core_1.default {
11565
11533
  * @param runtime - runtime options for this request RuntimeOptions
11566
11534
  * @returns DescribeForwardTableEntriesResponse
11567
11535
  */
11568
- // Deprecated
11569
11536
  async describeForwardTableEntriesWithOptions(request, runtime) {
11570
11537
  request.validate();
11571
11538
  let query = {};
@@ -11630,7 +11597,6 @@ class Client extends openapi_core_1.default {
11630
11597
  * @param runtime - runtime options for this request RuntimeOptions
11631
11598
  * @returns DescribeHaVipsResponse
11632
11599
  */
11633
- // Deprecated
11634
11600
  async describeHaVipsWithOptions(request, runtime) {
11635
11601
  request.validate();
11636
11602
  let query = {};
@@ -12516,7 +12482,8 @@ class Client extends openapi_core_1.default {
12516
12482
  *
12517
12483
  * @remarks
12518
12484
  * You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
12519
- * * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
12485
+ * * If you do not specify the EventCycleStatus or InstanceEventCycleStatus parameter, only system events in the Avoidated, Executed, Canceled, or Failed state are included in the query results by default.
12486
+ * * You can also specify the InstanceEventCycleStatus parameter in the request to query the system events that are in the Scheduled, Executing, or Inquiring state.
12520
12487
  *
12521
12488
  * @param request - DescribeInstanceHistoryEventsRequest
12522
12489
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12615,7 +12582,8 @@ class Client extends openapi_core_1.default {
12615
12582
  *
12616
12583
  * @remarks
12617
12584
  * You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
12618
- * * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
12585
+ * * If you do not specify the EventCycleStatus or InstanceEventCycleStatus parameter, only system events in the Avoidated, Executed, Canceled, or Failed state are included in the query results by default.
12586
+ * * You can also specify the InstanceEventCycleStatus parameter in the request to query the system events that are in the Scheduled, Executing, or Inquiring state.
12619
12587
  *
12620
12588
  * @param request - DescribeInstanceHistoryEventsRequest
12621
12589
  * @returns DescribeInstanceHistoryEventsResponse
@@ -14128,7 +14096,6 @@ class Client extends openapi_core_1.default {
14128
14096
  * @param runtime - runtime options for this request RuntimeOptions
14129
14097
  * @returns DescribeLimitationResponse
14130
14098
  */
14131
- // Deprecated
14132
14099
  async describeLimitationWithOptions(request, runtime) {
14133
14100
  request.validate();
14134
14101
  let query = {};
@@ -14276,7 +14243,6 @@ class Client extends openapi_core_1.default {
14276
14243
  * @param runtime - runtime options for this request RuntimeOptions
14277
14244
  * @returns DescribeNatGatewaysResponse
14278
14245
  */
14279
- // Deprecated
14280
14246
  async describeNatGatewaysWithOptions(request, runtime) {
14281
14247
  request.validate();
14282
14248
  let query = {};
@@ -14601,7 +14567,6 @@ class Client extends openapi_core_1.default {
14601
14567
  * @param runtime - runtime options for this request RuntimeOptions
14602
14568
  * @returns DescribeNewProjectEipMonitorDataResponse
14603
14569
  */
14604
- // Deprecated
14605
14570
  async describeNewProjectEipMonitorDataWithOptions(request, runtime) {
14606
14571
  request.validate();
14607
14572
  let query = {};
@@ -14666,7 +14631,6 @@ class Client extends openapi_core_1.default {
14666
14631
  * @param runtime - runtime options for this request RuntimeOptions
14667
14632
  * @returns DescribePhysicalConnectionsResponse
14668
14633
  */
14669
- // Deprecated
14670
14634
  async describePhysicalConnectionsWithOptions(request, runtime) {
14671
14635
  request.validate();
14672
14636
  let query = {};
@@ -15694,7 +15658,6 @@ class Client extends openapi_core_1.default {
15694
15658
  * @param runtime - runtime options for this request RuntimeOptions
15695
15659
  * @returns DescribeResourceByTagsResponse
15696
15660
  */
15697
- // Deprecated
15698
15661
  async describeResourceByTagsWithOptions(request, runtime) {
15699
15662
  request.validate();
15700
15663
  let query = {};
@@ -15898,7 +15861,6 @@ class Client extends openapi_core_1.default {
15898
15861
  * @param runtime - runtime options for this request RuntimeOptions
15899
15862
  * @returns DescribeRouteTablesResponse
15900
15863
  */
15901
- // Deprecated
15902
15864
  async describeRouteTablesWithOptions(request, runtime) {
15903
15865
  request.validate();
15904
15866
  let query = {};
@@ -15974,7 +15936,6 @@ class Client extends openapi_core_1.default {
15974
15936
  * @param runtime - runtime options for this request RuntimeOptions
15975
15937
  * @returns DescribeRouterInterfacesResponse
15976
15938
  */
15977
- // Deprecated
15978
15939
  async describeRouterInterfacesWithOptions(request, runtime) {
15979
15940
  request.validate();
15980
15941
  let query = {};
@@ -17394,7 +17355,6 @@ class Client extends openapi_core_1.default {
17394
17355
  * @param runtime - runtime options for this request RuntimeOptions
17395
17356
  * @returns DescribeTagsResponse
17396
17357
  */
17397
- // Deprecated
17398
17358
  async describeTagsWithOptions(request, runtime) {
17399
17359
  request.validate();
17400
17360
  let query = {};
@@ -17672,7 +17632,6 @@ class Client extends openapi_core_1.default {
17672
17632
  * @param runtime - runtime options for this request RuntimeOptions
17673
17633
  * @returns DescribeUserBusinessBehaviorResponse
17674
17634
  */
17675
- // Deprecated
17676
17635
  async describeUserBusinessBehaviorWithOptions(request, runtime) {
17677
17636
  request.validate();
17678
17637
  let query = {};
@@ -17789,7 +17748,6 @@ class Client extends openapi_core_1.default {
17789
17748
  * @param runtime - runtime options for this request RuntimeOptions
17790
17749
  * @returns DescribeVRoutersResponse
17791
17750
  */
17792
- // Deprecated
17793
17751
  async describeVRoutersWithOptions(request, runtime) {
17794
17752
  request.validate();
17795
17753
  let query = {};
@@ -17853,7 +17811,6 @@ class Client extends openapi_core_1.default {
17853
17811
  * @param runtime - runtime options for this request RuntimeOptions
17854
17812
  * @returns DescribeVSwitchesResponse
17855
17813
  */
17856
- // Deprecated
17857
17814
  async describeVSwitchesWithOptions(request, runtime) {
17858
17815
  request.validate();
17859
17816
  let query = {};
@@ -17924,7 +17881,6 @@ class Client extends openapi_core_1.default {
17924
17881
  * @param runtime - runtime options for this request RuntimeOptions
17925
17882
  * @returns DescribeVirtualBorderRoutersResponse
17926
17883
  */
17927
- // Deprecated
17928
17884
  async describeVirtualBorderRoutersWithOptions(request, runtime) {
17929
17885
  request.validate();
17930
17886
  let query = {};
@@ -17983,7 +17939,6 @@ class Client extends openapi_core_1.default {
17983
17939
  * @param runtime - runtime options for this request RuntimeOptions
17984
17940
  * @returns DescribeVirtualBorderRoutersForPhysicalConnectionResponse
17985
17941
  */
17986
- // Deprecated
17987
17942
  async describeVirtualBorderRoutersForPhysicalConnectionWithOptions(request, runtime) {
17988
17943
  request.validate();
17989
17944
  let query = {};
@@ -18047,7 +18002,6 @@ class Client extends openapi_core_1.default {
18047
18002
  * @param runtime - runtime options for this request RuntimeOptions
18048
18003
  * @returns DescribeVpcsResponse
18049
18004
  */
18050
- // Deprecated
18051
18005
  async describeVpcsWithOptions(request, runtime) {
18052
18006
  request.validate();
18053
18007
  let query = {};
@@ -18714,7 +18668,6 @@ class Client extends openapi_core_1.default {
18714
18668
  * @param runtime - runtime options for this request RuntimeOptions
18715
18669
  * @returns EnablePhysicalConnectionResponse
18716
18670
  */
18717
- // Deprecated
18718
18671
  async enablePhysicalConnectionWithOptions(request, runtime) {
18719
18672
  request.validate();
18720
18673
  let query = {};
@@ -18992,7 +18945,6 @@ class Client extends openapi_core_1.default {
18992
18945
  * @param runtime - runtime options for this request RuntimeOptions
18993
18946
  * @returns ExportSnapshotResponse
18994
18947
  */
18995
- // Deprecated
18996
18948
  async exportSnapshotWithOptions(request, runtime) {
18997
18949
  request.validate();
18998
18950
  let query = {};
@@ -19835,20 +19787,15 @@ class Client extends openapi_core_1.default {
19835
19787
  return await this.joinResourceGroupWithOptions(request, runtime);
19836
19788
  }
19837
19789
  /**
19838
- * Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a security group. When you call this operation, you can specify parameters, such as SecurityGroupId, InstanceId, and NetworkInterfaceId, in the request.
19790
+ * Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a specified security group.
19839
19791
  *
19840
19792
  * @remarks
19841
- * ## [](#)Usage notes
19842
- * > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](https://help.aliyun.com/document_detail/25503.html) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](https://help.aliyun.com/document_detail/58513.html) operation to add an ENI to or remove an ENI from a security group.
19843
- * Take note of the following items:
19844
- * * Before you add an instance to a security group, the instance must be in the **Stopped** (Stopped) or **Running** (Running) state.
19845
- * * An instance can be added to up to five security groups by default.
19846
- * * You can [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex) to change the maximum number of security groups to which an instance can be added to 4 or 10.
19847
- * * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
19848
- * * The security group and the instance must reside in the same region.
19849
- * * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must reside in the same VPC.
19793
+ * > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](https://help.aliyun.com/document_detail/25503.html) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](https://help.aliyun.com/document_detail/58513.html) operation to add an ENI to or remove an ENI from a security group.
19850
19794
  * * An instance and an ENI cannot be added to a security group at the same time. You cannot specify `InstanceId` and `NetworkInterfaceId` at the same time in a request.
19851
- * For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
19795
+ * * The security group and the ECS instance to be added to the security group must reside in the same region.
19796
+ * * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must reside in the same VPC.
19797
+ * * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
19798
+ * * An instance can be added to up to five security groups by default. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
19852
19799
  *
19853
19800
  * @param request - JoinSecurityGroupRequest
19854
19801
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19898,20 +19845,15 @@ class Client extends openapi_core_1.default {
19898
19845
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.JoinSecurityGroupResponse({}));
19899
19846
  }
19900
19847
  /**
19901
- * Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a security group. When you call this operation, you can specify parameters, such as SecurityGroupId, InstanceId, and NetworkInterfaceId, in the request.
19848
+ * Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a specified security group.
19902
19849
  *
19903
19850
  * @remarks
19904
- * ## [](#)Usage notes
19905
- * > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](https://help.aliyun.com/document_detail/25503.html) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](https://help.aliyun.com/document_detail/58513.html) operation to add an ENI to or remove an ENI from a security group.
19906
- * Take note of the following items:
19907
- * * Before you add an instance to a security group, the instance must be in the **Stopped** (Stopped) or **Running** (Running) state.
19908
- * * An instance can be added to up to five security groups by default.
19909
- * * You can [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex) to change the maximum number of security groups to which an instance can be added to 4 or 10.
19910
- * * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
19911
- * * The security group and the instance must reside in the same region.
19912
- * * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must reside in the same VPC.
19851
+ * > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](https://help.aliyun.com/document_detail/25503.html) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](https://help.aliyun.com/document_detail/58513.html) operation to add an ENI to or remove an ENI from a security group.
19913
19852
  * * An instance and an ENI cannot be added to a security group at the same time. You cannot specify `InstanceId` and `NetworkInterfaceId` at the same time in a request.
19914
- * For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
19853
+ * * The security group and the ECS instance to be added to the security group must reside in the same region.
19854
+ * * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must reside in the same VPC.
19855
+ * * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
19856
+ * * An instance can be added to up to five security groups by default. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
19915
19857
  *
19916
19858
  * @param request - JoinSecurityGroupRequest
19917
19859
  * @returns JoinSecurityGroupResponse
@@ -20354,7 +20296,6 @@ class Client extends openapi_core_1.default {
20354
20296
  * @param runtime - runtime options for this request RuntimeOptions
20355
20297
  * @returns ModifyBandwidthPackageSpecResponse
20356
20298
  */
20357
- // Deprecated
20358
20299
  async modifyBandwidthPackageSpecWithOptions(request, runtime) {
20359
20300
  request.validate();
20360
20301
  let query = {};
@@ -21199,7 +21140,7 @@ class Client extends openapi_core_1.default {
21199
21140
  return await this.modifyDiskAttributeWithOptions(request, runtime);
21200
21141
  }
21201
21142
  /**
21202
- * Changes the billing method of data disks that are attached to a subscription Elastic Compute Service (ECS) instance.
21143
+ * Converts the billing method of a data disk attached to a subscription ECS instance between pay-as-you-go and subscription.
21203
21144
  *
21204
21145
  * @remarks
21205
21146
  * For information about how to change the billing method of cloud disks, see [Change the billing methods of a disk](https://help.aliyun.com/document_detail/145018.html).
@@ -21264,7 +21205,7 @@ class Client extends openapi_core_1.default {
21264
21205
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDiskChargeTypeResponse({}));
21265
21206
  }
21266
21207
  /**
21267
- * Changes the billing method of data disks that are attached to a subscription Elastic Compute Service (ECS) instance.
21208
+ * Converts the billing method of a data disk attached to a subscription ECS instance between pay-as-you-go and subscription.
21268
21209
  *
21269
21210
  * @remarks
21270
21211
  * For information about how to change the billing method of cloud disks, see [Change the billing methods of a disk](https://help.aliyun.com/document_detail/145018.html).
@@ -21539,7 +21480,6 @@ class Client extends openapi_core_1.default {
21539
21480
  * @param runtime - runtime options for this request RuntimeOptions
21540
21481
  * @returns ModifyEipAddressAttributeResponse
21541
21482
  */
21542
- // Deprecated
21543
21483
  async modifyEipAddressAttributeWithOptions(request, runtime) {
21544
21484
  request.validate();
21545
21485
  let query = {};
@@ -21727,7 +21667,6 @@ class Client extends openapi_core_1.default {
21727
21667
  * @param runtime - runtime options for this request RuntimeOptions
21728
21668
  * @returns ModifyForwardEntryResponse
21729
21669
  */
21730
- // Deprecated
21731
21670
  async modifyForwardEntryWithOptions(request, runtime) {
21732
21671
  request.validate();
21733
21672
  let query = {};
@@ -21801,7 +21740,6 @@ class Client extends openapi_core_1.default {
21801
21740
  * @param runtime - runtime options for this request RuntimeOptions
21802
21741
  * @returns ModifyHaVipAttributeResponse
21803
21742
  */
21804
- // Deprecated
21805
21743
  async modifyHaVipAttributeWithOptions(request, runtime) {
21806
21744
  request.validate();
21807
21745
  let query = {};
@@ -22009,7 +21947,6 @@ class Client extends openapi_core_1.default {
22009
21947
  * @param runtime - runtime options for this request RuntimeOptions
22010
21948
  * @returns ModifyImageShareGroupPermissionResponse
22011
21949
  */
22012
- // Deprecated
22013
21950
  async modifyImageShareGroupPermissionWithOptions(request, runtime) {
22014
21951
  request.validate();
22015
21952
  let query = {};
@@ -23546,7 +23483,6 @@ class Client extends openapi_core_1.default {
23546
23483
  * @param runtime - runtime options for this request RuntimeOptions
23547
23484
  * @returns ModifyPhysicalConnectionAttributeResponse
23548
23485
  */
23549
- // Deprecated
23550
23486
  async modifyPhysicalConnectionAttributeWithOptions(request, runtime) {
23551
23487
  request.validate();
23552
23488
  let query = {};
@@ -24189,7 +24125,6 @@ class Client extends openapi_core_1.default {
24189
24125
  * @param runtime - runtime options for this request RuntimeOptions
24190
24126
  * @returns ModifyRouterInterfaceAttributeResponse
24191
24127
  */
24192
- // Deprecated
24193
24128
  async modifyRouterInterfaceAttributeWithOptions(request, runtime) {
24194
24129
  request.validate();
24195
24130
  let query = {};
@@ -24266,7 +24201,6 @@ class Client extends openapi_core_1.default {
24266
24201
  * @param runtime - runtime options for this request RuntimeOptions
24267
24202
  * @returns ModifyRouterInterfaceSpecResponse
24268
24203
  */
24269
- // Deprecated
24270
24204
  async modifyRouterInterfaceSpecWithOptions(request, runtime) {
24271
24205
  request.validate();
24272
24206
  let query = {};
@@ -25024,7 +24958,6 @@ class Client extends openapi_core_1.default {
25024
24958
  * @param runtime - runtime options for this request RuntimeOptions
25025
24959
  * @returns ModifyUserBusinessBehaviorResponse
25026
24960
  */
25027
- // Deprecated
25028
24961
  async modifyUserBusinessBehaviorWithOptions(request, runtime) {
25029
24962
  request.validate();
25030
24963
  let query = {};
@@ -25085,7 +25018,6 @@ class Client extends openapi_core_1.default {
25085
25018
  * @param runtime - runtime options for this request RuntimeOptions
25086
25019
  * @returns ModifyVRouterAttributeResponse
25087
25020
  */
25088
- // Deprecated
25089
25021
  async modifyVRouterAttributeWithOptions(request, runtime) {
25090
25022
  request.validate();
25091
25023
  let query = {};
@@ -25147,7 +25079,6 @@ class Client extends openapi_core_1.default {
25147
25079
  * @param runtime - runtime options for this request RuntimeOptions
25148
25080
  * @returns ModifyVSwitchAttributeResponse
25149
25081
  */
25150
- // Deprecated
25151
25082
  async modifyVSwitchAttributeWithOptions(request, runtime) {
25152
25083
  request.validate();
25153
25084
  let query = {};
@@ -25209,7 +25140,6 @@ class Client extends openapi_core_1.default {
25209
25140
  * @param runtime - runtime options for this request RuntimeOptions
25210
25141
  * @returns ModifyVirtualBorderRouterAttributeResponse
25211
25142
  */
25212
- // Deprecated
25213
25143
  async modifyVirtualBorderRouterAttributeWithOptions(request, runtime) {
25214
25144
  request.validate();
25215
25145
  let query = {};
@@ -25292,7 +25222,6 @@ class Client extends openapi_core_1.default {
25292
25222
  * @param runtime - runtime options for this request RuntimeOptions
25293
25223
  * @returns ModifyVpcAttributeResponse
25294
25224
  */
25295
- // Deprecated
25296
25225
  async modifyVpcAttributeWithOptions(request, runtime) {
25297
25226
  request.validate();
25298
25227
  let query = {};
@@ -25942,7 +25871,6 @@ class Client extends openapi_core_1.default {
25942
25871
  * @param runtime - runtime options for this request RuntimeOptions
25943
25872
  * @returns RecoverVirtualBorderRouterResponse
25944
25873
  */
25945
- // Deprecated
25946
25874
  async recoverVirtualBorderRouterWithOptions(request, runtime) {
25947
25875
  request.validate();
25948
25876
  let query = {};
@@ -26294,7 +26222,6 @@ class Client extends openapi_core_1.default {
26294
26222
  * @param runtime - runtime options for this request RuntimeOptions
26295
26223
  * @returns ReleaseEipAddressResponse
26296
26224
  */
26297
- // Deprecated
26298
26225
  async releaseEipAddressWithOptions(request, runtime) {
26299
26226
  request.validate();
26300
26227
  let query = {};
@@ -26352,7 +26279,6 @@ class Client extends openapi_core_1.default {
26352
26279
  * @param runtime - runtime options for this request RuntimeOptions
26353
26280
  * @returns ReleasePublicIpAddressResponse
26354
26281
  */
26355
- // Deprecated
26356
26282
  async releasePublicIpAddressWithOptions(request, runtime) {
26357
26283
  request.validate();
26358
26284
  let query = {};
@@ -26404,7 +26330,6 @@ class Client extends openapi_core_1.default {
26404
26330
  * @param runtime - runtime options for this request RuntimeOptions
26405
26331
  * @returns RemoveBandwidthPackageIpsResponse
26406
26332
  */
26407
- // Deprecated
26408
26333
  async removeBandwidthPackageIpsWithOptions(request, runtime) {
26409
26334
  request.validate();
26410
26335
  let query = {};
@@ -26468,7 +26393,6 @@ class Client extends openapi_core_1.default {
26468
26393
  * @param runtime - runtime options for this request RuntimeOptions
26469
26394
  * @returns RemoveTagsResponse
26470
26395
  */
26471
- // Deprecated
26472
26396
  async removeTagsWithOptions(request, runtime) {
26473
26397
  request.validate();
26474
26398
  let query = {};
@@ -29078,7 +29002,6 @@ class Client extends openapi_core_1.default {
29078
29002
  * @param runtime - runtime options for this request RuntimeOptions
29079
29003
  * @returns TerminatePhysicalConnectionResponse
29080
29004
  */
29081
- // Deprecated
29082
29005
  async terminatePhysicalConnectionWithOptions(request, runtime) {
29083
29006
  request.validate();
29084
29007
  let query = {};
@@ -29140,7 +29063,6 @@ class Client extends openapi_core_1.default {
29140
29063
  * @param runtime - runtime options for this request RuntimeOptions
29141
29064
  * @returns TerminateVirtualBorderRouterResponse
29142
29065
  */
29143
- // Deprecated
29144
29066
  async terminateVirtualBorderRouterWithOptions(request, runtime) {
29145
29067
  request.validate();
29146
29068
  let query = {};
@@ -29350,7 +29272,6 @@ class Client extends openapi_core_1.default {
29350
29272
  * @param runtime - runtime options for this request RuntimeOptions
29351
29273
  * @returns UnassociateEipAddressResponse
29352
29274
  */
29353
- // Deprecated
29354
29275
  async unassociateEipAddressWithOptions(request, runtime) {
29355
29276
  request.validate();
29356
29277
  let query = {};
@@ -29412,7 +29333,6 @@ class Client extends openapi_core_1.default {
29412
29333
  * @param runtime - runtime options for this request RuntimeOptions
29413
29334
  * @returns UnassociateHaVipResponse
29414
29335
  */
29415
- // Deprecated
29416
29336
  async unassociateHaVipWithOptions(request, runtime) {
29417
29337
  request.validate();
29418
29338
  let query = {};