@alicloud/ecs20140526 7.0.6 → 7.0.8

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 (85) hide show
  1. package/dist/client.d.ts +8 -6
  2. package/dist/client.js +11 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateLaunchTemplateRequestDataDisk.d.ts +23 -15
  5. package/dist/models/CreateLaunchTemplateRequestDataDisk.js +2 -0
  6. package/dist/models/CreateLaunchTemplateRequestDataDisk.js.map +1 -1
  7. package/dist/models/CreateLaunchTemplateRequestSystemDisk.d.ts +8 -0
  8. package/dist/models/CreateLaunchTemplateRequestSystemDisk.js +2 -0
  9. package/dist/models/CreateLaunchTemplateRequestSystemDisk.js.map +1 -1
  10. package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.d.ts +25 -17
  11. package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.js +2 -0
  12. package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.js.map +1 -1
  13. package/dist/models/CreateLaunchTemplateVersionRequestSystemDisk.d.ts +8 -0
  14. package/dist/models/CreateLaunchTemplateVersionRequestSystemDisk.js +2 -0
  15. package/dist/models/CreateLaunchTemplateVersionRequestSystemDisk.js.map +1 -1
  16. package/dist/models/CreateNetworkInterfaceRequest.d.ts +8 -1
  17. package/dist/models/CreateNetworkInterfaceRequest.js.map +1 -1
  18. package/dist/models/CreatePrefixListRequest.d.ts +11 -0
  19. package/dist/models/CreatePrefixListRequest.js.map +1 -1
  20. package/dist/models/CreatePrefixListRequestTag.d.ts +16 -0
  21. package/dist/models/CreatePrefixListRequestTag.js.map +1 -1
  22. package/dist/models/CreateStorageSetRequest.d.ts +1 -0
  23. package/dist/models/CreateStorageSetRequest.js +2 -0
  24. package/dist/models/CreateStorageSetRequest.js.map +1 -1
  25. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +2 -0
  26. package/dist/models/DescribeInstanceAttributeResponseBody.js +6 -0
  27. package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
  28. package/dist/models/DescribeInstanceAttributeResponseBodyNetworkOptions.d.ts +15 -0
  29. package/dist/models/DescribeInstanceAttributeResponseBodyNetworkOptions.js +60 -0
  30. package/dist/models/DescribeInstanceAttributeResponseBodyNetworkOptions.js.map +1 -0
  31. package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.d.ts +8 -0
  32. package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.js +2 -0
  33. package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.js.map +1 -1
  34. package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk.d.ts +1 -0
  35. package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk.js +2 -0
  36. package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk.js.map +1 -1
  37. package/dist/models/DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet.d.ts +8 -1
  38. package/dist/models/DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet.js.map +1 -1
  39. package/dist/models/DescribePrefixListsRequest.d.ts +11 -0
  40. package/dist/models/DescribePrefixListsRequest.js.map +1 -1
  41. package/dist/models/DescribePrefixListsRequestTag.d.ts +16 -0
  42. package/dist/models/DescribePrefixListsRequestTag.js.map +1 -1
  43. package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixList.d.ts +11 -0
  44. package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixList.js.map +1 -1
  45. package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag.d.ts +16 -0
  46. package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag.js.map +1 -1
  47. package/dist/models/DescribeSnapshotLinksRequest.d.ts +1 -1
  48. package/dist/models/InvokeCommandRequest.d.ts +10 -0
  49. package/dist/models/InvokeCommandRequest.js.map +1 -1
  50. package/dist/models/InvokeCommandShrinkRequest.d.ts +10 -0
  51. package/dist/models/InvokeCommandShrinkRequest.js.map +1 -1
  52. package/dist/models/ModifyNetworkInterfaceAttributeRequest.d.ts +8 -1
  53. package/dist/models/ModifyNetworkInterfaceAttributeRequest.js.map +1 -1
  54. package/dist/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.d.ts +1 -1
  55. package/dist/models/RunInstancesRequestDataDisk.d.ts +16 -10
  56. package/dist/models/RunInstancesRequestDataDisk.js.map +1 -1
  57. package/dist/models/model.d.ts +1 -0
  58. package/dist/models/model.js +34 -32
  59. package/dist/models/model.js.map +1 -1
  60. package/package.json +1 -1
  61. package/src/client.ts +12 -6
  62. package/src/models/CreateLaunchTemplateRequestDataDisk.ts +25 -15
  63. package/src/models/CreateLaunchTemplateRequestSystemDisk.ts +10 -0
  64. package/src/models/CreateLaunchTemplateVersionRequestDataDisk.ts +27 -17
  65. package/src/models/CreateLaunchTemplateVersionRequestSystemDisk.ts +10 -0
  66. package/src/models/CreateNetworkInterfaceRequest.ts +8 -1
  67. package/src/models/CreatePrefixListRequest.ts +11 -0
  68. package/src/models/CreatePrefixListRequestTag.ts +16 -0
  69. package/src/models/CreateStorageSetRequest.ts +3 -0
  70. package/src/models/DescribeInstanceAttributeResponseBody.ts +7 -0
  71. package/src/models/DescribeInstanceAttributeResponseBodyNetworkOptions.ts +30 -0
  72. package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.ts +10 -0
  73. package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk.ts +3 -0
  74. package/src/models/DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet.ts +8 -1
  75. package/src/models/DescribePrefixListsRequest.ts +11 -0
  76. package/src/models/DescribePrefixListsRequestTag.ts +16 -0
  77. package/src/models/DescribePrefixListsResponseBodyPrefixListsPrefixList.ts +11 -0
  78. package/src/models/DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag.ts +16 -0
  79. package/src/models/DescribeSnapshotLinksRequest.ts +1 -1
  80. package/src/models/InvokeCommandRequest.ts +10 -0
  81. package/src/models/InvokeCommandShrinkRequest.ts +10 -0
  82. package/src/models/ModifyNetworkInterfaceAttributeRequest.ts +8 -1
  83. package/src/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.ts +1 -1
  84. package/src/models/RunInstancesRequestDataDisk.ts +16 -10
  85. package/src/models/model.ts +1 -0
package/dist/client.d.ts CHANGED
@@ -1597,7 +1597,8 @@ export default class Client extends OpenApi {
1597
1597
  * Creates a prefix list.
1598
1598
  *
1599
1599
  * @remarks
1600
- * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
1600
+ * ## [](#)Usage notes
1601
+ * * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
1601
1602
  * * When you create a prefix list, take note of the following items:
1602
1603
  * * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
1603
1604
  * * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
@@ -1614,7 +1615,8 @@ export default class Client extends OpenApi {
1614
1615
  * Creates a prefix list.
1615
1616
  *
1616
1617
  * @remarks
1617
- * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
1618
+ * ## [](#)Usage notes
1619
+ * * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
1618
1620
  * * When you create a prefix list, take note of the following items:
1619
1621
  * * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
1620
1622
  * * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
@@ -2543,7 +2545,7 @@ export default class Client extends OpenApi {
2543
2545
  */
2544
2546
  deleteSecurityGroup(request: $_model.DeleteSecurityGroupRequest): Promise<$_model.DeleteSecurityGroupResponse>;
2545
2547
  /**
2546
- * Deletes a snapshot. If you call this operation to delete a snapshot that is being created, the snapshot creation task is canceled.
2548
+ * Deletes a specified snapshot. If you call this operation to delete a snapshot that is being created, the associated snapshot creation task is also canceled.
2547
2549
  *
2548
2550
  * @remarks
2549
2551
  * Take note of the following items:
@@ -2557,7 +2559,7 @@ export default class Client extends OpenApi {
2557
2559
  */
2558
2560
  deleteSnapshotWithOptions(request: $_model.DeleteSnapshotRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSnapshotResponse>;
2559
2561
  /**
2560
- * Deletes a snapshot. If you call this operation to delete a snapshot that is being created, the snapshot creation task is canceled.
2562
+ * Deletes a specified snapshot. If you call this operation to delete a snapshot that is being created, the associated snapshot creation task is also canceled.
2561
2563
  *
2562
2564
  * @remarks
2563
2565
  * Take note of the following items:
@@ -4833,7 +4835,7 @@ export default class Client extends OpenApi {
4833
4835
  */
4834
4836
  describeSnapshotGroups(request: $_model.DescribeSnapshotGroupsRequest): Promise<$_model.DescribeSnapshotGroupsResponse>;
4835
4837
  /**
4836
- * Queries the snapshot chains of disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
4838
+ * Queries the snapshot chains of cloud disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
4837
4839
  *
4838
4840
  * @remarks
4839
4841
  * ## [](#)Usage notes
@@ -4847,7 +4849,7 @@ export default class Client extends OpenApi {
4847
4849
  */
4848
4850
  describeSnapshotLinksWithOptions(request: $_model.DescribeSnapshotLinksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSnapshotLinksResponse>;
4849
4851
  /**
4850
- * Queries the snapshot chains of disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
4852
+ * Queries the snapshot chains of cloud disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
4851
4853
  *
4852
4854
  * @remarks
4853
4855
  * ## [](#)Usage notes
package/dist/client.js CHANGED
@@ -5358,7 +5358,8 @@ class Client extends openapi_core_1.default {
5358
5358
  * Creates a prefix list.
5359
5359
  *
5360
5360
  * @remarks
5361
- * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
5361
+ * ## [](#)Usage notes
5362
+ * * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
5362
5363
  * * When you create a prefix list, take note of the following items:
5363
5364
  * * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
5364
5365
  * * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
@@ -5435,7 +5436,8 @@ class Client extends openapi_core_1.default {
5435
5436
  * Creates a prefix list.
5436
5437
  *
5437
5438
  * @remarks
5438
- * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
5439
+ * ## [](#)Usage notes
5440
+ * * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
5439
5441
  * * When you create a prefix list, take note of the following items:
5440
5442
  * * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
5441
5443
  * * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
@@ -6143,6 +6145,9 @@ class Client extends openapi_core_1.default {
6143
6145
  if (!$dara.isNull(request.regionId)) {
6144
6146
  query["RegionId"] = request.regionId;
6145
6147
  }
6148
+ if (!$dara.isNull(request.resourceGroupId)) {
6149
+ query["ResourceGroupId"] = request.resourceGroupId;
6150
+ }
6146
6151
  if (!$dara.isNull(request.resourceOwnerAccount)) {
6147
6152
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
6148
6153
  }
@@ -8348,7 +8353,7 @@ class Client extends openapi_core_1.default {
8348
8353
  return await this.deleteSecurityGroupWithOptions(request, runtime);
8349
8354
  }
8350
8355
  /**
8351
- * Deletes a snapshot. If you call this operation to delete a snapshot that is being created, the snapshot creation task is canceled.
8356
+ * Deletes a specified snapshot. If you call this operation to delete a snapshot that is being created, the associated snapshot creation task is also canceled.
8352
8357
  *
8353
8358
  * @remarks
8354
8359
  * Take note of the following items:
@@ -8398,7 +8403,7 @@ class Client extends openapi_core_1.default {
8398
8403
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSnapshotResponse({}));
8399
8404
  }
8400
8405
  /**
8401
- * Deletes a snapshot. If you call this operation to delete a snapshot that is being created, the snapshot creation task is canceled.
8406
+ * Deletes a specified snapshot. If you call this operation to delete a snapshot that is being created, the associated snapshot creation task is also canceled.
8402
8407
  *
8403
8408
  * @remarks
8404
8409
  * Take note of the following items:
@@ -16537,7 +16542,7 @@ class Client extends openapi_core_1.default {
16537
16542
  return await this.describeSnapshotGroupsWithOptions(request, runtime);
16538
16543
  }
16539
16544
  /**
16540
- * Queries the snapshot chains of disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
16545
+ * Queries the snapshot chains of cloud disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
16541
16546
  *
16542
16547
  * @remarks
16543
16548
  * ## [](#)Usage notes
@@ -16605,7 +16610,7 @@ class Client extends openapi_core_1.default {
16605
16610
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSnapshotLinksResponse({}));
16606
16611
  }
16607
16612
  /**
16608
- * Queries the snapshot chains of disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
16613
+ * Queries the snapshot chains of cloud disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
16609
16614
  *
16610
16615
  * @remarks
16611
16616
  * ## [](#)Usage notes