@alicloud/ecs20140526 7.0.16 → 7.1.0

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 (78) hide show
  1. package/dist/client.d.ts +58 -34
  2. package/dist/client.js +145 -108
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AllocateDedicatedHostsRequest.d.ts +2 -2
  5. package/dist/models/CancelAutoSnapshotPolicyRequest.d.ts +1 -0
  6. package/dist/models/CancelAutoSnapshotPolicyRequest.js +2 -0
  7. package/dist/models/CancelAutoSnapshotPolicyRequest.js.map +1 -1
  8. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +26 -0
  9. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js +74 -0
  10. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -0
  11. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponse.d.ts +19 -0
  12. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponse.js +69 -0
  13. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponse.js.map +1 -0
  14. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +43 -0
  15. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js +108 -0
  16. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -0
  17. package/dist/models/DescribeDedicatedHostsRequest.d.ts +15 -15
  18. package/dist/models/DescribeDedicatedHostsResponseBody.d.ts +2 -2
  19. package/dist/models/DescribeDeploymentSetsResponseBody.d.ts +1 -0
  20. package/dist/models/DescribeDeploymentSetsResponseBody.js +2 -0
  21. package/dist/models/DescribeDeploymentSetsResponseBody.js.map +1 -1
  22. package/dist/models/DescribeDisksRequest.d.ts +0 -2
  23. package/dist/models/DescribeDisksRequest.js.map +1 -1
  24. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +1 -0
  25. package/dist/models/DescribeInstanceAttributeResponseBody.js +2 -0
  26. package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
  27. package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +2 -0
  28. package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
  29. package/dist/models/DescribeInstanceTypesResponseBody.d.ts +34 -0
  30. package/dist/models/DescribeInstanceTypesResponseBody.js.map +1 -1
  31. package/dist/models/DescribeLaunchTemplatesRequest.d.ts +5 -5
  32. package/dist/models/DescribeLaunchTemplatesResponseBody.d.ts +6 -6
  33. package/dist/models/DescribeTerminalSessionsResponseBody.d.ts +7 -2
  34. package/dist/models/DescribeTerminalSessionsResponseBody.js.map +1 -1
  35. package/dist/models/ImportImageRequest.d.ts +8 -7
  36. package/dist/models/ImportImageRequest.js.map +1 -1
  37. package/dist/models/ModifyElasticityAssuranceRequest.d.ts +10 -10
  38. package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +26 -0
  39. package/dist/models/ModifyInstanceNetworkOptionsRequest.js +66 -0
  40. package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -0
  41. package/dist/models/ModifyInstanceNetworkOptionsResponse.d.ts +19 -0
  42. package/dist/models/ModifyInstanceNetworkOptionsResponse.js +69 -0
  43. package/dist/models/ModifyInstanceNetworkOptionsResponse.js.map +1 -0
  44. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +26 -0
  45. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.js +60 -0
  46. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.js.map +1 -0
  47. package/dist/models/RunInstancesRequest.d.ts +34 -18
  48. package/dist/models/RunInstancesRequest.js +2 -0
  49. package/dist/models/RunInstancesRequest.js.map +1 -1
  50. package/dist/models/RunInstancesResponseBody.d.ts +1 -1
  51. package/dist/models/model.d.ts +8 -0
  52. package/dist/models/model.js +53 -36
  53. package/dist/models/model.js.map +1 -1
  54. package/package.json +1 -1
  55. package/src/client.ts +164 -108
  56. package/src/models/AllocateDedicatedHostsRequest.ts +2 -2
  57. package/src/models/CancelAutoSnapshotPolicyRequest.ts +3 -0
  58. package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +55 -0
  59. package/src/models/DescribeAutoSnapshotPolicyAssociationsResponse.ts +40 -0
  60. package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +88 -0
  61. package/src/models/DescribeDedicatedHostsRequest.ts +15 -15
  62. package/src/models/DescribeDedicatedHostsResponseBody.ts +2 -2
  63. package/src/models/DescribeDeploymentSetsResponseBody.ts +3 -0
  64. package/src/models/DescribeDisksRequest.ts +0 -2
  65. package/src/models/DescribeInstanceAttributeResponseBody.ts +3 -0
  66. package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +2 -0
  67. package/src/models/DescribeInstanceTypesResponseBody.ts +34 -0
  68. package/src/models/DescribeLaunchTemplatesRequest.ts +5 -5
  69. package/src/models/DescribeLaunchTemplatesResponseBody.ts +6 -6
  70. package/src/models/DescribeTerminalSessionsResponseBody.ts +7 -2
  71. package/src/models/ImportImageRequest.ts +8 -7
  72. package/src/models/ModifyElasticityAssuranceRequest.ts +10 -10
  73. package/src/models/ModifyInstanceNetworkOptionsRequest.ts +47 -0
  74. package/src/models/ModifyInstanceNetworkOptionsResponse.ts +40 -0
  75. package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +41 -0
  76. package/src/models/RunInstancesRequest.ts +36 -18
  77. package/src/models/RunInstancesResponseBody.ts +1 -1
  78. package/src/models/model.ts +8 -0
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 = {};
@@ -1821,6 +1815,9 @@ class Client extends openapi_core_1.default {
1821
1815
  if (!$dara.isNull(request.resourceOwnerId)) {
1822
1816
  query["ResourceOwnerId"] = request.resourceOwnerId;
1823
1817
  }
1818
+ if (!$dara.isNull(request.autoSnapshotPolicyId)) {
1819
+ query["autoSnapshotPolicyId"] = request.autoSnapshotPolicyId;
1820
+ }
1824
1821
  if (!$dara.isNull(request.diskIds)) {
1825
1822
  query["diskIds"] = request.diskIds;
1826
1823
  }
@@ -1990,7 +1987,6 @@ class Client extends openapi_core_1.default {
1990
1987
  * @param runtime - runtime options for this request RuntimeOptions
1991
1988
  * @returns CancelPhysicalConnectionResponse
1992
1989
  */
1993
- // Deprecated
1994
1990
  async cancelPhysicalConnectionWithOptions(request, runtime) {
1995
1991
  request.validate();
1996
1992
  let query = {};
@@ -2160,7 +2156,6 @@ class Client extends openapi_core_1.default {
2160
2156
  * @param runtime - runtime options for this request RuntimeOptions
2161
2157
  * @returns ConnectRouterInterfaceResponse
2162
2158
  */
2163
- // Deprecated
2164
2159
  async connectRouterInterfaceWithOptions(request, runtime) {
2165
2160
  request.validate();
2166
2161
  let query = {};
@@ -3564,7 +3559,6 @@ class Client extends openapi_core_1.default {
3564
3559
  * @param runtime - runtime options for this request RuntimeOptions
3565
3560
  * @returns CreateForwardEntryResponse
3566
3561
  */
3567
- // Deprecated
3568
3562
  async createForwardEntryWithOptions(request, runtime) {
3569
3563
  request.validate();
3570
3564
  let query = {};
@@ -3635,7 +3629,6 @@ class Client extends openapi_core_1.default {
3635
3629
  * @param runtime - runtime options for this request RuntimeOptions
3636
3630
  * @returns CreateHaVipResponse
3637
3631
  */
3638
- // Deprecated
3639
3632
  async createHaVipWithOptions(request, runtime) {
3640
3633
  request.validate();
3641
3634
  let query = {};
@@ -4889,7 +4882,6 @@ class Client extends openapi_core_1.default {
4889
4882
  * @param runtime - runtime options for this request RuntimeOptions
4890
4883
  * @returns CreateNatGatewayResponse
4891
4884
  */
4892
- // Deprecated
4893
4885
  async createNatGatewayWithOptions(request, runtime) {
4894
4886
  request.validate();
4895
4887
  let query = {};
@@ -5200,7 +5192,6 @@ class Client extends openapi_core_1.default {
5200
5192
  * @param runtime - runtime options for this request RuntimeOptions
5201
5193
  * @returns CreatePhysicalConnectionResponse
5202
5194
  */
5203
- // Deprecated
5204
5195
  async createPhysicalConnectionWithOptions(request, runtime) {
5205
5196
  request.validate();
5206
5197
  let query = {};
@@ -5465,7 +5456,6 @@ class Client extends openapi_core_1.default {
5465
5456
  * @param runtime - runtime options for this request RuntimeOptions
5466
5457
  * @returns CreateRouteEntryResponse
5467
5458
  */
5468
- // Deprecated
5469
5459
  async createRouteEntryWithOptions(request, runtime) {
5470
5460
  request.validate();
5471
5461
  let query = {};
@@ -5536,7 +5526,6 @@ class Client extends openapi_core_1.default {
5536
5526
  * @param runtime - runtime options for this request RuntimeOptions
5537
5527
  * @returns CreateRouterInterfaceResponse
5538
5528
  */
5539
- // Deprecated
5540
5529
  async createRouterInterfaceWithOptions(request, runtime) {
5541
5530
  request.validate();
5542
5531
  let query = {};
@@ -6208,7 +6197,6 @@ class Client extends openapi_core_1.default {
6208
6197
  * @param runtime - runtime options for this request RuntimeOptions
6209
6198
  * @returns CreateVSwitchResponse
6210
6199
  */
6211
- // Deprecated
6212
6200
  async createVSwitchWithOptions(request, runtime) {
6213
6201
  request.validate();
6214
6202
  let query = {};
@@ -6279,7 +6267,6 @@ class Client extends openapi_core_1.default {
6279
6267
  * @param runtime - runtime options for this request RuntimeOptions
6280
6268
  * @returns CreateVirtualBorderRouterResponse
6281
6269
  */
6282
- // Deprecated
6283
6270
  async createVirtualBorderRouterWithOptions(request, runtime) {
6284
6271
  request.validate();
6285
6272
  let query = {};
@@ -6368,7 +6355,6 @@ class Client extends openapi_core_1.default {
6368
6355
  * @param runtime - runtime options for this request RuntimeOptions
6369
6356
  * @returns CreateVpcResponse
6370
6357
  */
6371
- // Deprecated
6372
6358
  async createVpcWithOptions(request, runtime) {
6373
6359
  request.validate();
6374
6360
  let query = {};
@@ -6436,7 +6422,6 @@ class Client extends openapi_core_1.default {
6436
6422
  * @param runtime - runtime options for this request RuntimeOptions
6437
6423
  * @returns DeactivateRouterInterfaceResponse
6438
6424
  */
6439
- // Deprecated
6440
6425
  async deactivateRouterInterfaceWithOptions(request, runtime) {
6441
6426
  request.validate();
6442
6427
  let query = {};
@@ -6662,7 +6647,6 @@ class Client extends openapi_core_1.default {
6662
6647
  * @param runtime - runtime options for this request RuntimeOptions
6663
6648
  * @returns DeleteBandwidthPackageResponse
6664
6649
  */
6665
- // Deprecated
6666
6650
  async deleteBandwidthPackageWithOptions(request, runtime) {
6667
6651
  request.validate();
6668
6652
  let query = {};
@@ -7044,7 +7028,6 @@ class Client extends openapi_core_1.default {
7044
7028
  * @param runtime - runtime options for this request RuntimeOptions
7045
7029
  * @returns DeleteForwardEntryResponse
7046
7030
  */
7047
- // Deprecated
7048
7031
  async deleteForwardEntryWithOptions(request, runtime) {
7049
7032
  request.validate();
7050
7033
  let query = {};
@@ -7103,7 +7086,6 @@ class Client extends openapi_core_1.default {
7103
7086
  * @param runtime - runtime options for this request RuntimeOptions
7104
7087
  * @returns DeleteHaVipResponse
7105
7088
  */
7106
- // Deprecated
7107
7089
  async deleteHaVipWithOptions(request, runtime) {
7108
7090
  request.validate();
7109
7091
  let query = {};
@@ -7282,10 +7264,11 @@ class Client extends openapi_core_1.default {
7282
7264
  return await this.deleteImageWithOptions(request, runtime);
7283
7265
  }
7284
7266
  /**
7285
- * Deletes an image component.
7267
+ * Deletes an image component. You can specify RegionId and ImageComponentId in the request.
7286
7268
  *
7287
7269
  * @remarks
7288
- * Only custom image components can be deleted.
7270
+ * Only custom image components can be deleted.
7271
+ * * When you delete a component, make sure that the component is not used in the template. Otherwise, the component fails to be deleted.
7289
7272
  *
7290
7273
  * @param request - DeleteImageComponentRequest
7291
7274
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7332,10 +7315,11 @@ class Client extends openapi_core_1.default {
7332
7315
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteImageComponentResponse({}));
7333
7316
  }
7334
7317
  /**
7335
- * Deletes an image component.
7318
+ * Deletes an image component. You can specify RegionId and ImageComponentId in the request.
7336
7319
  *
7337
7320
  * @remarks
7338
- * Only custom image components can be deleted.
7321
+ * Only custom image components can be deleted.
7322
+ * * When you delete a component, make sure that the component is not used in the template. Otherwise, the component fails to be deleted.
7339
7323
  *
7340
7324
  * @param request - DeleteImageComponentRequest
7341
7325
  * @returns DeleteImageComponentResponse
@@ -7345,7 +7329,7 @@ class Client extends openapi_core_1.default {
7345
7329
  return await this.deleteImageComponentWithOptions(request, runtime);
7346
7330
  }
7347
7331
  /**
7348
- * Deletes an image template. You can specify RegionId and ImagePipelineId in the request.
7332
+ * Deletes an image template.
7349
7333
  *
7350
7334
  * @remarks
7351
7335
  * 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 +7379,7 @@ class Client extends openapi_core_1.default {
7395
7379
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteImagePipelineResponse({}));
7396
7380
  }
7397
7381
  /**
7398
- * Deletes an image template. You can specify RegionId and ImagePipelineId in the request.
7382
+ * Deletes an image template.
7399
7383
  *
7400
7384
  * @remarks
7401
7385
  * 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 +7770,6 @@ class Client extends openapi_core_1.default {
7786
7770
  * @param runtime - runtime options for this request RuntimeOptions
7787
7771
  * @returns DeleteNatGatewayResponse
7788
7772
  */
7789
- // Deprecated
7790
7773
  async deleteNatGatewayWithOptions(request, runtime) {
7791
7774
  request.validate();
7792
7775
  let query = {};
@@ -7929,7 +7912,6 @@ class Client extends openapi_core_1.default {
7929
7912
  * @param runtime - runtime options for this request RuntimeOptions
7930
7913
  * @returns DeleteNetworkInterfacePermissionResponse
7931
7914
  */
7932
- // Deprecated
7933
7915
  async deleteNetworkInterfacePermissionWithOptions(request, runtime) {
7934
7916
  request.validate();
7935
7917
  let query = {};
@@ -7993,7 +7975,6 @@ class Client extends openapi_core_1.default {
7993
7975
  * @param runtime - runtime options for this request RuntimeOptions
7994
7976
  * @returns DeletePhysicalConnectionResponse
7995
7977
  */
7996
- // Deprecated
7997
7978
  async deletePhysicalConnectionWithOptions(request, runtime) {
7998
7979
  request.validate();
7999
7980
  let query = {};
@@ -8172,7 +8153,6 @@ class Client extends openapi_core_1.default {
8172
8153
  * @param runtime - runtime options for this request RuntimeOptions
8173
8154
  * @returns DeleteRouteEntryResponse
8174
8155
  */
8175
- // Deprecated
8176
8156
  async deleteRouteEntryWithOptions(request, runtime) {
8177
8157
  request.validate();
8178
8158
  let query = {};
@@ -8237,7 +8217,6 @@ class Client extends openapi_core_1.default {
8237
8217
  * @param runtime - runtime options for this request RuntimeOptions
8238
8218
  * @returns DeleteRouterInterfaceResponse
8239
8219
  */
8240
- // Deprecated
8241
8220
  async deleteRouterInterfaceWithOptions(request, runtime) {
8242
8221
  request.validate();
8243
8222
  let query = {};
@@ -8548,7 +8527,6 @@ class Client extends openapi_core_1.default {
8548
8527
  * @param runtime - runtime options for this request RuntimeOptions
8549
8528
  * @returns DeleteVSwitchResponse
8550
8529
  */
8551
- // Deprecated
8552
8530
  async deleteVSwitchWithOptions(request, runtime) {
8553
8531
  request.validate();
8554
8532
  let query = {};
@@ -8604,7 +8582,6 @@ class Client extends openapi_core_1.default {
8604
8582
  * @param runtime - runtime options for this request RuntimeOptions
8605
8583
  * @returns DeleteVirtualBorderRouterResponse
8606
8584
  */
8607
- // Deprecated
8608
8585
  async deleteVirtualBorderRouterWithOptions(request, runtime) {
8609
8586
  request.validate();
8610
8587
  let query = {};
@@ -8668,7 +8645,6 @@ class Client extends openapi_core_1.default {
8668
8645
  * @param runtime - runtime options for this request RuntimeOptions
8669
8646
  * @returns DeleteVpcResponse
8670
8647
  */
8671
- // Deprecated
8672
8648
  async deleteVpcWithOptions(request, runtime) {
8673
8649
  request.validate();
8674
8650
  let query = {};
@@ -8783,7 +8759,6 @@ class Client extends openapi_core_1.default {
8783
8759
  * @param runtime - runtime options for this request RuntimeOptions
8784
8760
  * @returns DescribeAccessPointsResponse
8785
8761
  */
8786
- // Deprecated
8787
8762
  async describeAccessPointsWithOptions(request, runtime) {
8788
8763
  request.validate();
8789
8764
  let query = {};
@@ -9188,6 +9163,69 @@ class Client extends openapi_core_1.default {
9188
9163
  let runtime = new $dara.RuntimeOptions({});
9189
9164
  return await this.describeAutoProvisioningGroupsWithOptions(request, runtime);
9190
9165
  }
9166
+ /**
9167
+ * 查询自动快照策略的关联关系
9168
+ *
9169
+ * @param request - DescribeAutoSnapshotPolicyAssociationsRequest
9170
+ * @param runtime - runtime options for this request RuntimeOptions
9171
+ * @returns DescribeAutoSnapshotPolicyAssociationsResponse
9172
+ */
9173
+ async describeAutoSnapshotPolicyAssociationsWithOptions(request, runtime) {
9174
+ request.validate();
9175
+ let query = {};
9176
+ if (!$dara.isNull(request.autoSnapshotPolicyId)) {
9177
+ query["AutoSnapshotPolicyId"] = request.autoSnapshotPolicyId;
9178
+ }
9179
+ if (!$dara.isNull(request.diskId)) {
9180
+ query["DiskId"] = request.diskId;
9181
+ }
9182
+ if (!$dara.isNull(request.maxResults)) {
9183
+ query["MaxResults"] = request.maxResults;
9184
+ }
9185
+ if (!$dara.isNull(request.nextToken)) {
9186
+ query["NextToken"] = request.nextToken;
9187
+ }
9188
+ if (!$dara.isNull(request.ownerAccount)) {
9189
+ query["OwnerAccount"] = request.ownerAccount;
9190
+ }
9191
+ if (!$dara.isNull(request.ownerId)) {
9192
+ query["OwnerId"] = request.ownerId;
9193
+ }
9194
+ if (!$dara.isNull(request.regionId)) {
9195
+ query["RegionId"] = request.regionId;
9196
+ }
9197
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
9198
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
9199
+ }
9200
+ if (!$dara.isNull(request.resourceOwnerId)) {
9201
+ query["ResourceOwnerId"] = request.resourceOwnerId;
9202
+ }
9203
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9204
+ query: openapi_core_2.OpenApiUtil.query(query),
9205
+ });
9206
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9207
+ action: "DescribeAutoSnapshotPolicyAssociations",
9208
+ version: "2014-05-26",
9209
+ protocol: "HTTPS",
9210
+ pathname: "/",
9211
+ method: "POST",
9212
+ authType: "AK",
9213
+ style: "RPC",
9214
+ reqBodyType: "formData",
9215
+ bodyType: "json",
9216
+ });
9217
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAutoSnapshotPolicyAssociationsResponse({}));
9218
+ }
9219
+ /**
9220
+ * 查询自动快照策略的关联关系
9221
+ *
9222
+ * @param request - DescribeAutoSnapshotPolicyAssociationsRequest
9223
+ * @returns DescribeAutoSnapshotPolicyAssociationsResponse
9224
+ */
9225
+ async describeAutoSnapshotPolicyAssociations(request) {
9226
+ let runtime = new $dara.RuntimeOptions({});
9227
+ return await this.describeAutoSnapshotPolicyAssociationsWithOptions(request, runtime);
9228
+ }
9191
9229
  /**
9192
9230
  * Queries the details of automatic snapshot policies that are created in a specific region.
9193
9231
  *
@@ -9488,7 +9526,6 @@ class Client extends openapi_core_1.default {
9488
9526
  * @param runtime - runtime options for this request RuntimeOptions
9489
9527
  * @returns DescribeBandwidthPackagesResponse
9490
9528
  */
9491
- // Deprecated
9492
9529
  async describeBandwidthPackagesWithOptions(request, runtime) {
9493
9530
  request.validate();
9494
9531
  let query = {};
@@ -9904,7 +9941,6 @@ class Client extends openapi_core_1.default {
9904
9941
  * @param runtime - runtime options for this request RuntimeOptions
9905
9942
  * @returns DescribeClustersResponse
9906
9943
  */
9907
- // Deprecated
9908
9944
  async describeClustersWithOptions(request, runtime) {
9909
9945
  request.validate();
9910
9946
  let query = {};
@@ -10253,7 +10289,7 @@ class Client extends openapi_core_1.default {
10253
10289
  return await this.describeDedicatedHostTypesWithOptions(request, runtime);
10254
10290
  }
10255
10291
  /**
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.
10292
+ * 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
10293
  *
10258
10294
  * @remarks
10259
10295
  * ## [](#)Usage notes
@@ -10345,7 +10381,7 @@ class Client extends openapi_core_1.default {
10345
10381
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDedicatedHostsResponse({}));
10346
10382
  }
10347
10383
  /**
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.
10384
+ * 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
10385
  *
10350
10386
  * @remarks
10351
10387
  * ## [](#)Usage notes
@@ -11132,7 +11168,6 @@ class Client extends openapi_core_1.default {
11132
11168
  * @param runtime - runtime options for this request RuntimeOptions
11133
11169
  * @returns DescribeEipAddressesResponse
11134
11170
  */
11135
- // Deprecated
11136
11171
  async describeEipAddressesWithOptions(request, runtime) {
11137
11172
  request.validate();
11138
11173
  let query = {};
@@ -11218,7 +11253,6 @@ class Client extends openapi_core_1.default {
11218
11253
  * @param runtime - runtime options for this request RuntimeOptions
11219
11254
  * @returns DescribeEipMonitorDataResponse
11220
11255
  */
11221
- // Deprecated
11222
11256
  async describeEipMonitorDataWithOptions(request, runtime) {
11223
11257
  request.validate();
11224
11258
  let query = {};
@@ -11565,7 +11599,6 @@ class Client extends openapi_core_1.default {
11565
11599
  * @param runtime - runtime options for this request RuntimeOptions
11566
11600
  * @returns DescribeForwardTableEntriesResponse
11567
11601
  */
11568
- // Deprecated
11569
11602
  async describeForwardTableEntriesWithOptions(request, runtime) {
11570
11603
  request.validate();
11571
11604
  let query = {};
@@ -11630,7 +11663,6 @@ class Client extends openapi_core_1.default {
11630
11663
  * @param runtime - runtime options for this request RuntimeOptions
11631
11664
  * @returns DescribeHaVipsResponse
11632
11665
  */
11633
- // Deprecated
11634
11666
  async describeHaVipsWithOptions(request, runtime) {
11635
11667
  request.validate();
11636
11668
  let query = {};
@@ -12516,7 +12548,8 @@ class Client extends openapi_core_1.default {
12516
12548
  *
12517
12549
  * @remarks
12518
12550
  * 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.
12551
+ * * 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.
12552
+ * * 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
12553
  *
12521
12554
  * @param request - DescribeInstanceHistoryEventsRequest
12522
12555
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12615,7 +12648,8 @@ class Client extends openapi_core_1.default {
12615
12648
  *
12616
12649
  * @remarks
12617
12650
  * 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.
12651
+ * * 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.
12652
+ * * 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
12653
  *
12620
12654
  * @param request - DescribeInstanceHistoryEventsRequest
12621
12655
  * @returns DescribeInstanceHistoryEventsResponse
@@ -14128,7 +14162,6 @@ class Client extends openapi_core_1.default {
14128
14162
  * @param runtime - runtime options for this request RuntimeOptions
14129
14163
  * @returns DescribeLimitationResponse
14130
14164
  */
14131
- // Deprecated
14132
14165
  async describeLimitationWithOptions(request, runtime) {
14133
14166
  request.validate();
14134
14167
  let query = {};
@@ -14276,7 +14309,6 @@ class Client extends openapi_core_1.default {
14276
14309
  * @param runtime - runtime options for this request RuntimeOptions
14277
14310
  * @returns DescribeNatGatewaysResponse
14278
14311
  */
14279
- // Deprecated
14280
14312
  async describeNatGatewaysWithOptions(request, runtime) {
14281
14313
  request.validate();
14282
14314
  let query = {};
@@ -14601,7 +14633,6 @@ class Client extends openapi_core_1.default {
14601
14633
  * @param runtime - runtime options for this request RuntimeOptions
14602
14634
  * @returns DescribeNewProjectEipMonitorDataResponse
14603
14635
  */
14604
- // Deprecated
14605
14636
  async describeNewProjectEipMonitorDataWithOptions(request, runtime) {
14606
14637
  request.validate();
14607
14638
  let query = {};
@@ -14666,7 +14697,6 @@ class Client extends openapi_core_1.default {
14666
14697
  * @param runtime - runtime options for this request RuntimeOptions
14667
14698
  * @returns DescribePhysicalConnectionsResponse
14668
14699
  */
14669
- // Deprecated
14670
14700
  async describePhysicalConnectionsWithOptions(request, runtime) {
14671
14701
  request.validate();
14672
14702
  let query = {};
@@ -15694,7 +15724,6 @@ class Client extends openapi_core_1.default {
15694
15724
  * @param runtime - runtime options for this request RuntimeOptions
15695
15725
  * @returns DescribeResourceByTagsResponse
15696
15726
  */
15697
- // Deprecated
15698
15727
  async describeResourceByTagsWithOptions(request, runtime) {
15699
15728
  request.validate();
15700
15729
  let query = {};
@@ -15898,7 +15927,6 @@ class Client extends openapi_core_1.default {
15898
15927
  * @param runtime - runtime options for this request RuntimeOptions
15899
15928
  * @returns DescribeRouteTablesResponse
15900
15929
  */
15901
- // Deprecated
15902
15930
  async describeRouteTablesWithOptions(request, runtime) {
15903
15931
  request.validate();
15904
15932
  let query = {};
@@ -15974,7 +16002,6 @@ class Client extends openapi_core_1.default {
15974
16002
  * @param runtime - runtime options for this request RuntimeOptions
15975
16003
  * @returns DescribeRouterInterfacesResponse
15976
16004
  */
15977
- // Deprecated
15978
16005
  async describeRouterInterfacesWithOptions(request, runtime) {
15979
16006
  request.validate();
15980
16007
  let query = {};
@@ -17394,7 +17421,6 @@ class Client extends openapi_core_1.default {
17394
17421
  * @param runtime - runtime options for this request RuntimeOptions
17395
17422
  * @returns DescribeTagsResponse
17396
17423
  */
17397
- // Deprecated
17398
17424
  async describeTagsWithOptions(request, runtime) {
17399
17425
  request.validate();
17400
17426
  let query = {};
@@ -17672,7 +17698,6 @@ class Client extends openapi_core_1.default {
17672
17698
  * @param runtime - runtime options for this request RuntimeOptions
17673
17699
  * @returns DescribeUserBusinessBehaviorResponse
17674
17700
  */
17675
- // Deprecated
17676
17701
  async describeUserBusinessBehaviorWithOptions(request, runtime) {
17677
17702
  request.validate();
17678
17703
  let query = {};
@@ -17789,7 +17814,6 @@ class Client extends openapi_core_1.default {
17789
17814
  * @param runtime - runtime options for this request RuntimeOptions
17790
17815
  * @returns DescribeVRoutersResponse
17791
17816
  */
17792
- // Deprecated
17793
17817
  async describeVRoutersWithOptions(request, runtime) {
17794
17818
  request.validate();
17795
17819
  let query = {};
@@ -17853,7 +17877,6 @@ class Client extends openapi_core_1.default {
17853
17877
  * @param runtime - runtime options for this request RuntimeOptions
17854
17878
  * @returns DescribeVSwitchesResponse
17855
17879
  */
17856
- // Deprecated
17857
17880
  async describeVSwitchesWithOptions(request, runtime) {
17858
17881
  request.validate();
17859
17882
  let query = {};
@@ -17924,7 +17947,6 @@ class Client extends openapi_core_1.default {
17924
17947
  * @param runtime - runtime options for this request RuntimeOptions
17925
17948
  * @returns DescribeVirtualBorderRoutersResponse
17926
17949
  */
17927
- // Deprecated
17928
17950
  async describeVirtualBorderRoutersWithOptions(request, runtime) {
17929
17951
  request.validate();
17930
17952
  let query = {};
@@ -17983,7 +18005,6 @@ class Client extends openapi_core_1.default {
17983
18005
  * @param runtime - runtime options for this request RuntimeOptions
17984
18006
  * @returns DescribeVirtualBorderRoutersForPhysicalConnectionResponse
17985
18007
  */
17986
- // Deprecated
17987
18008
  async describeVirtualBorderRoutersForPhysicalConnectionWithOptions(request, runtime) {
17988
18009
  request.validate();
17989
18010
  let query = {};
@@ -18047,7 +18068,6 @@ class Client extends openapi_core_1.default {
18047
18068
  * @param runtime - runtime options for this request RuntimeOptions
18048
18069
  * @returns DescribeVpcsResponse
18049
18070
  */
18050
- // Deprecated
18051
18071
  async describeVpcsWithOptions(request, runtime) {
18052
18072
  request.validate();
18053
18073
  let query = {};
@@ -18714,7 +18734,6 @@ class Client extends openapi_core_1.default {
18714
18734
  * @param runtime - runtime options for this request RuntimeOptions
18715
18735
  * @returns EnablePhysicalConnectionResponse
18716
18736
  */
18717
- // Deprecated
18718
18737
  async enablePhysicalConnectionWithOptions(request, runtime) {
18719
18738
  request.validate();
18720
18739
  let query = {};
@@ -18992,7 +19011,6 @@ class Client extends openapi_core_1.default {
18992
19011
  * @param runtime - runtime options for this request RuntimeOptions
18993
19012
  * @returns ExportSnapshotResponse
18994
19013
  */
18995
- // Deprecated
18996
19014
  async exportSnapshotWithOptions(request, runtime) {
18997
19015
  request.validate();
18998
19016
  let query = {};
@@ -19835,20 +19853,15 @@ class Client extends openapi_core_1.default {
19835
19853
  return await this.joinResourceGroupWithOptions(request, runtime);
19836
19854
  }
19837
19855
  /**
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.
19856
+ * Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a specified security group.
19839
19857
  *
19840
19858
  * @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.
19859
+ * > 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
19860
  * * 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).
19861
+ * * The security group and the ECS instance to be added to the security group must reside in the same region.
19862
+ * * 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.
19863
+ * * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
19864
+ * * An instance can be added to up to five security groups by default. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
19852
19865
  *
19853
19866
  * @param request - JoinSecurityGroupRequest
19854
19867
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19898,20 +19911,15 @@ class Client extends openapi_core_1.default {
19898
19911
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.JoinSecurityGroupResponse({}));
19899
19912
  }
19900
19913
  /**
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.
19914
+ * Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a specified security group.
19902
19915
  *
19903
19916
  * @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.
19917
+ * > 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
19918
  * * 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).
19919
+ * * The security group and the ECS instance to be added to the security group must reside in the same region.
19920
+ * * 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.
19921
+ * * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
19922
+ * * An instance can be added to up to five security groups by default. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
19915
19923
  *
19916
19924
  * @param request - JoinSecurityGroupRequest
19917
19925
  * @returns JoinSecurityGroupResponse
@@ -20354,7 +20362,6 @@ class Client extends openapi_core_1.default {
20354
20362
  * @param runtime - runtime options for this request RuntimeOptions
20355
20363
  * @returns ModifyBandwidthPackageSpecResponse
20356
20364
  */
20357
- // Deprecated
20358
20365
  async modifyBandwidthPackageSpecWithOptions(request, runtime) {
20359
20366
  request.validate();
20360
20367
  let query = {};
@@ -21199,7 +21206,7 @@ class Client extends openapi_core_1.default {
21199
21206
  return await this.modifyDiskAttributeWithOptions(request, runtime);
21200
21207
  }
21201
21208
  /**
21202
- * Changes the billing method of data disks that are attached to a subscription Elastic Compute Service (ECS) instance.
21209
+ * Converts the billing method of a data disk attached to a subscription ECS instance between pay-as-you-go and subscription.
21203
21210
  *
21204
21211
  * @remarks
21205
21212
  * 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 +21271,7 @@ class Client extends openapi_core_1.default {
21264
21271
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDiskChargeTypeResponse({}));
21265
21272
  }
21266
21273
  /**
21267
- * Changes the billing method of data disks that are attached to a subscription Elastic Compute Service (ECS) instance.
21274
+ * Converts the billing method of a data disk attached to a subscription ECS instance between pay-as-you-go and subscription.
21268
21275
  *
21269
21276
  * @remarks
21270
21277
  * 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 +21546,6 @@ class Client extends openapi_core_1.default {
21539
21546
  * @param runtime - runtime options for this request RuntimeOptions
21540
21547
  * @returns ModifyEipAddressAttributeResponse
21541
21548
  */
21542
- // Deprecated
21543
21549
  async modifyEipAddressAttributeWithOptions(request, runtime) {
21544
21550
  request.validate();
21545
21551
  let query = {};
@@ -21727,7 +21733,6 @@ class Client extends openapi_core_1.default {
21727
21733
  * @param runtime - runtime options for this request RuntimeOptions
21728
21734
  * @returns ModifyForwardEntryResponse
21729
21735
  */
21730
- // Deprecated
21731
21736
  async modifyForwardEntryWithOptions(request, runtime) {
21732
21737
  request.validate();
21733
21738
  let query = {};
@@ -21801,7 +21806,6 @@ class Client extends openapi_core_1.default {
21801
21806
  * @param runtime - runtime options for this request RuntimeOptions
21802
21807
  * @returns ModifyHaVipAttributeResponse
21803
21808
  */
21804
- // Deprecated
21805
21809
  async modifyHaVipAttributeWithOptions(request, runtime) {
21806
21810
  request.validate();
21807
21811
  let query = {};
@@ -22009,7 +22013,6 @@ class Client extends openapi_core_1.default {
22009
22013
  * @param runtime - runtime options for this request RuntimeOptions
22010
22014
  * @returns ModifyImageShareGroupPermissionResponse
22011
22015
  */
22012
- // Deprecated
22013
22016
  async modifyImageShareGroupPermissionWithOptions(request, runtime) {
22014
22017
  request.validate();
22015
22018
  let query = {};
@@ -22819,6 +22822,57 @@ class Client extends openapi_core_1.default {
22819
22822
  let runtime = new $dara.RuntimeOptions({});
22820
22823
  return await this.modifyInstanceMetadataOptionsWithOptions(request, runtime);
22821
22824
  }
22825
+ /**
22826
+ * 修改实例网络选项
22827
+ *
22828
+ * @param request - ModifyInstanceNetworkOptionsRequest
22829
+ * @param runtime - runtime options for this request RuntimeOptions
22830
+ * @returns ModifyInstanceNetworkOptionsResponse
22831
+ */
22832
+ async modifyInstanceNetworkOptionsWithOptions(request, runtime) {
22833
+ request.validate();
22834
+ let query = {};
22835
+ if (!$dara.isNull(request.bandwidthWeighting)) {
22836
+ query["BandwidthWeighting"] = request.bandwidthWeighting;
22837
+ }
22838
+ if (!$dara.isNull(request.instanceId)) {
22839
+ query["InstanceId"] = request.instanceId;
22840
+ }
22841
+ if (!$dara.isNull(request.ownerId)) {
22842
+ query["OwnerId"] = request.ownerId;
22843
+ }
22844
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
22845
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
22846
+ }
22847
+ if (!$dara.isNull(request.resourceOwnerId)) {
22848
+ query["ResourceOwnerId"] = request.resourceOwnerId;
22849
+ }
22850
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
22851
+ query: openapi_core_2.OpenApiUtil.query(query),
22852
+ });
22853
+ let params = new openapi_core_2.$OpenApiUtil.Params({
22854
+ action: "ModifyInstanceNetworkOptions",
22855
+ version: "2014-05-26",
22856
+ protocol: "HTTPS",
22857
+ pathname: "/",
22858
+ method: "POST",
22859
+ authType: "AK",
22860
+ style: "RPC",
22861
+ reqBodyType: "formData",
22862
+ bodyType: "json",
22863
+ });
22864
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyInstanceNetworkOptionsResponse({}));
22865
+ }
22866
+ /**
22867
+ * 修改实例网络选项
22868
+ *
22869
+ * @param request - ModifyInstanceNetworkOptionsRequest
22870
+ * @returns ModifyInstanceNetworkOptionsResponse
22871
+ */
22872
+ async modifyInstanceNetworkOptions(request) {
22873
+ let runtime = new $dara.RuntimeOptions({});
22874
+ return await this.modifyInstanceNetworkOptionsWithOptions(request, runtime);
22875
+ }
22822
22876
  /**
22823
22877
  * Modifies the network configurations of an Elastic Compute Service (ECS) instance, such as the public bandwidth, assignment or unassignment of a static public IP address (also known as system-assigned or auto-assigned public IP address), and billing method for network usage. You can call this operation to upgrade or downgrade the network configurations of ECS instances.
22824
22878
  *
@@ -23546,7 +23600,6 @@ class Client extends openapi_core_1.default {
23546
23600
  * @param runtime - runtime options for this request RuntimeOptions
23547
23601
  * @returns ModifyPhysicalConnectionAttributeResponse
23548
23602
  */
23549
- // Deprecated
23550
23603
  async modifyPhysicalConnectionAttributeWithOptions(request, runtime) {
23551
23604
  request.validate();
23552
23605
  let query = {};
@@ -24189,7 +24242,6 @@ class Client extends openapi_core_1.default {
24189
24242
  * @param runtime - runtime options for this request RuntimeOptions
24190
24243
  * @returns ModifyRouterInterfaceAttributeResponse
24191
24244
  */
24192
- // Deprecated
24193
24245
  async modifyRouterInterfaceAttributeWithOptions(request, runtime) {
24194
24246
  request.validate();
24195
24247
  let query = {};
@@ -24266,7 +24318,6 @@ class Client extends openapi_core_1.default {
24266
24318
  * @param runtime - runtime options for this request RuntimeOptions
24267
24319
  * @returns ModifyRouterInterfaceSpecResponse
24268
24320
  */
24269
- // Deprecated
24270
24321
  async modifyRouterInterfaceSpecWithOptions(request, runtime) {
24271
24322
  request.validate();
24272
24323
  let query = {};
@@ -25024,7 +25075,6 @@ class Client extends openapi_core_1.default {
25024
25075
  * @param runtime - runtime options for this request RuntimeOptions
25025
25076
  * @returns ModifyUserBusinessBehaviorResponse
25026
25077
  */
25027
- // Deprecated
25028
25078
  async modifyUserBusinessBehaviorWithOptions(request, runtime) {
25029
25079
  request.validate();
25030
25080
  let query = {};
@@ -25085,7 +25135,6 @@ class Client extends openapi_core_1.default {
25085
25135
  * @param runtime - runtime options for this request RuntimeOptions
25086
25136
  * @returns ModifyVRouterAttributeResponse
25087
25137
  */
25088
- // Deprecated
25089
25138
  async modifyVRouterAttributeWithOptions(request, runtime) {
25090
25139
  request.validate();
25091
25140
  let query = {};
@@ -25147,7 +25196,6 @@ class Client extends openapi_core_1.default {
25147
25196
  * @param runtime - runtime options for this request RuntimeOptions
25148
25197
  * @returns ModifyVSwitchAttributeResponse
25149
25198
  */
25150
- // Deprecated
25151
25199
  async modifyVSwitchAttributeWithOptions(request, runtime) {
25152
25200
  request.validate();
25153
25201
  let query = {};
@@ -25209,7 +25257,6 @@ class Client extends openapi_core_1.default {
25209
25257
  * @param runtime - runtime options for this request RuntimeOptions
25210
25258
  * @returns ModifyVirtualBorderRouterAttributeResponse
25211
25259
  */
25212
- // Deprecated
25213
25260
  async modifyVirtualBorderRouterAttributeWithOptions(request, runtime) {
25214
25261
  request.validate();
25215
25262
  let query = {};
@@ -25292,7 +25339,6 @@ class Client extends openapi_core_1.default {
25292
25339
  * @param runtime - runtime options for this request RuntimeOptions
25293
25340
  * @returns ModifyVpcAttributeResponse
25294
25341
  */
25295
- // Deprecated
25296
25342
  async modifyVpcAttributeWithOptions(request, runtime) {
25297
25343
  request.validate();
25298
25344
  let query = {};
@@ -25942,7 +25988,6 @@ class Client extends openapi_core_1.default {
25942
25988
  * @param runtime - runtime options for this request RuntimeOptions
25943
25989
  * @returns RecoverVirtualBorderRouterResponse
25944
25990
  */
25945
- // Deprecated
25946
25991
  async recoverVirtualBorderRouterWithOptions(request, runtime) {
25947
25992
  request.validate();
25948
25993
  let query = {};
@@ -26294,7 +26339,6 @@ class Client extends openapi_core_1.default {
26294
26339
  * @param runtime - runtime options for this request RuntimeOptions
26295
26340
  * @returns ReleaseEipAddressResponse
26296
26341
  */
26297
- // Deprecated
26298
26342
  async releaseEipAddressWithOptions(request, runtime) {
26299
26343
  request.validate();
26300
26344
  let query = {};
@@ -26352,7 +26396,6 @@ class Client extends openapi_core_1.default {
26352
26396
  * @param runtime - runtime options for this request RuntimeOptions
26353
26397
  * @returns ReleasePublicIpAddressResponse
26354
26398
  */
26355
- // Deprecated
26356
26399
  async releasePublicIpAddressWithOptions(request, runtime) {
26357
26400
  request.validate();
26358
26401
  let query = {};
@@ -26404,7 +26447,6 @@ class Client extends openapi_core_1.default {
26404
26447
  * @param runtime - runtime options for this request RuntimeOptions
26405
26448
  * @returns RemoveBandwidthPackageIpsResponse
26406
26449
  */
26407
- // Deprecated
26408
26450
  async removeBandwidthPackageIpsWithOptions(request, runtime) {
26409
26451
  request.validate();
26410
26452
  let query = {};
@@ -26468,7 +26510,6 @@ class Client extends openapi_core_1.default {
26468
26510
  * @param runtime - runtime options for this request RuntimeOptions
26469
26511
  * @returns RemoveTagsResponse
26470
26512
  */
26471
- // Deprecated
26472
26513
  async removeTagsWithOptions(request, runtime) {
26473
26514
  request.validate();
26474
26515
  let query = {};
@@ -29078,7 +29119,6 @@ class Client extends openapi_core_1.default {
29078
29119
  * @param runtime - runtime options for this request RuntimeOptions
29079
29120
  * @returns TerminatePhysicalConnectionResponse
29080
29121
  */
29081
- // Deprecated
29082
29122
  async terminatePhysicalConnectionWithOptions(request, runtime) {
29083
29123
  request.validate();
29084
29124
  let query = {};
@@ -29140,7 +29180,6 @@ class Client extends openapi_core_1.default {
29140
29180
  * @param runtime - runtime options for this request RuntimeOptions
29141
29181
  * @returns TerminateVirtualBorderRouterResponse
29142
29182
  */
29143
- // Deprecated
29144
29183
  async terminateVirtualBorderRouterWithOptions(request, runtime) {
29145
29184
  request.validate();
29146
29185
  let query = {};
@@ -29350,7 +29389,6 @@ class Client extends openapi_core_1.default {
29350
29389
  * @param runtime - runtime options for this request RuntimeOptions
29351
29390
  * @returns UnassociateEipAddressResponse
29352
29391
  */
29353
- // Deprecated
29354
29392
  async unassociateEipAddressWithOptions(request, runtime) {
29355
29393
  request.validate();
29356
29394
  let query = {};
@@ -29412,7 +29450,6 @@ class Client extends openapi_core_1.default {
29412
29450
  * @param runtime - runtime options for this request RuntimeOptions
29413
29451
  * @returns UnassociateHaVipResponse
29414
29452
  */
29415
- // Deprecated
29416
29453
  async unassociateHaVipWithOptions(request, runtime) {
29417
29454
  request.validate();
29418
29455
  let query = {};