@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
@@ -90,9 +90,9 @@ export class AllocateDedicatedHostsRequest extends $dara.Model {
90
90
  networkAttributes?: AllocateDedicatedHostsRequestNetworkAttributes;
91
91
  /**
92
92
  * @remarks
93
- * The policy used to migrate the instances deployed on the dedicated host when the dedicated host fails or needs to be repaired online. Valid values:
93
+ * The policy for migrating the instances deployed on the dedicated host when the dedicated host fails or needs to be repaired online. Valid values:
94
94
  *
95
- * * Migrate: The instances are migrated to another physical server and restarted.
95
+ * * Migrate: The instances are migrated to another physical machine and then restarted.
96
96
  *
97
97
  * If cloud disks are attached to the dedicated host, the default value is Migrate.
98
98
  *
@@ -27,6 +27,7 @@ export class CancelAutoSnapshotPolicyRequest extends $dara.Model {
27
27
  * 155780923770
28
28
  */
29
29
  resourceOwnerId?: number;
30
+ autoSnapshotPolicyId?: string;
30
31
  /**
31
32
  * @remarks
32
33
  * The IDs of the disks for which you want to disable the automatic snapshot policy. To disable the automatic snapshot policy for multiple disks, you can set this parameter to a JSON array that consists of multiple disk IDs, such as ["dxxxxxxxxx", "dyyyyyyyyy", … "dzzzzzzzzz"]. Separate the disk IDs with commas (,).
@@ -52,6 +53,7 @@ export class CancelAutoSnapshotPolicyRequest extends $dara.Model {
52
53
  ownerId: 'OwnerId',
53
54
  resourceOwnerAccount: 'ResourceOwnerAccount',
54
55
  resourceOwnerId: 'ResourceOwnerId',
56
+ autoSnapshotPolicyId: 'autoSnapshotPolicyId',
55
57
  diskIds: 'diskIds',
56
58
  regionId: 'regionId',
57
59
  };
@@ -62,6 +64,7 @@ export class CancelAutoSnapshotPolicyRequest extends $dara.Model {
62
64
  ownerId: 'number',
63
65
  resourceOwnerAccount: 'string',
64
66
  resourceOwnerId: 'number',
67
+ autoSnapshotPolicyId: 'string',
65
68
  diskIds: 'string',
66
69
  regionId: 'string',
67
70
  };
@@ -0,0 +1,55 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeAutoSnapshotPolicyAssociationsRequest extends $dara.Model {
6
+ autoSnapshotPolicyId?: string;
7
+ diskId?: string;
8
+ maxResults?: number;
9
+ nextToken?: string;
10
+ ownerAccount?: string;
11
+ ownerId?: number;
12
+ /**
13
+ * @remarks
14
+ * This parameter is required.
15
+ */
16
+ regionId?: string;
17
+ resourceOwnerAccount?: string;
18
+ resourceOwnerId?: number;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ autoSnapshotPolicyId: 'AutoSnapshotPolicyId',
22
+ diskId: 'DiskId',
23
+ maxResults: 'MaxResults',
24
+ nextToken: 'NextToken',
25
+ ownerAccount: 'OwnerAccount',
26
+ ownerId: 'OwnerId',
27
+ regionId: 'RegionId',
28
+ resourceOwnerAccount: 'ResourceOwnerAccount',
29
+ resourceOwnerId: 'ResourceOwnerId',
30
+ };
31
+ }
32
+
33
+ static types(): { [key: string]: any } {
34
+ return {
35
+ autoSnapshotPolicyId: 'string',
36
+ diskId: 'string',
37
+ maxResults: 'number',
38
+ nextToken: 'string',
39
+ ownerAccount: 'string',
40
+ ownerId: 'number',
41
+ regionId: 'string',
42
+ resourceOwnerAccount: 'string',
43
+ resourceOwnerId: 'number',
44
+ };
45
+ }
46
+
47
+ validate() {
48
+ super.validate();
49
+ }
50
+
51
+ constructor(map?: { [key: string]: any }) {
52
+ super(map);
53
+ }
54
+ }
55
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeAutoSnapshotPolicyAssociationsResponseBody } from "./DescribeAutoSnapshotPolicyAssociationsResponseBody";
4
+
5
+
6
+ export class DescribeAutoSnapshotPolicyAssociationsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeAutoSnapshotPolicyAssociationsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribeAutoSnapshotPolicyAssociationsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,88 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociationsAutoSnapshotPolicyAssociation extends $dara.Model {
6
+ autoSnapshotPolicyId?: string;
7
+ diskId?: string;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ autoSnapshotPolicyId: 'AutoSnapshotPolicyId',
11
+ diskId: 'DiskId',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ autoSnapshotPolicyId: 'string',
18
+ diskId: 'string',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
31
+ export class DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociations extends $dara.Model {
32
+ autoSnapshotPolicyAssociation?: DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociationsAutoSnapshotPolicyAssociation[];
33
+ static names(): { [key: string]: string } {
34
+ return {
35
+ autoSnapshotPolicyAssociation: 'AutoSnapshotPolicyAssociation',
36
+ };
37
+ }
38
+
39
+ static types(): { [key: string]: any } {
40
+ return {
41
+ autoSnapshotPolicyAssociation: { 'type': 'array', 'itemType': DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociationsAutoSnapshotPolicyAssociation },
42
+ };
43
+ }
44
+
45
+ validate() {
46
+ if(Array.isArray(this.autoSnapshotPolicyAssociation)) {
47
+ $dara.Model.validateArray(this.autoSnapshotPolicyAssociation);
48
+ }
49
+ super.validate();
50
+ }
51
+
52
+ constructor(map?: { [key: string]: any }) {
53
+ super(map);
54
+ }
55
+ }
56
+
57
+ export class DescribeAutoSnapshotPolicyAssociationsResponseBody extends $dara.Model {
58
+ autoSnapshotPolicyAssociations?: DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociations;
59
+ nextToken?: string;
60
+ requestId?: string;
61
+ static names(): { [key: string]: string } {
62
+ return {
63
+ autoSnapshotPolicyAssociations: 'AutoSnapshotPolicyAssociations',
64
+ nextToken: 'NextToken',
65
+ requestId: 'RequestId',
66
+ };
67
+ }
68
+
69
+ static types(): { [key: string]: any } {
70
+ return {
71
+ autoSnapshotPolicyAssociations: DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociations,
72
+ nextToken: 'string',
73
+ requestId: 'string',
74
+ };
75
+ }
76
+
77
+ validate() {
78
+ if(this.autoSnapshotPolicyAssociations && typeof (this.autoSnapshotPolicyAssociations as any).validate === 'function') {
79
+ (this.autoSnapshotPolicyAssociations as any).validate();
80
+ }
81
+ super.validate();
82
+ }
83
+
84
+ constructor(map?: { [key: string]: any }) {
85
+ super(map);
86
+ }
87
+ }
88
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeDedicatedHostsRequestTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The key of tag N of the dedicated host. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
8
+ * The key of tag N of the DDH. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
9
9
  *
10
10
  * @example
11
11
  * TestKey
@@ -13,7 +13,7 @@ export class DescribeDedicatedHostsRequestTag extends $dara.Model {
13
13
  key?: string;
14
14
  /**
15
15
  * @remarks
16
- * The value of tag N of the dedicated host. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
16
+ * The value of tag N of the DDH. You can specify empty strings as tag values. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
17
17
  *
18
18
  * @example
19
19
  * TestValue
@@ -53,7 +53,7 @@ export class DescribeDedicatedHostsRequest extends $dara.Model {
53
53
  dedicatedHostClusterId?: string;
54
54
  /**
55
55
  * @remarks
56
- * The IDs of dedicated hosts. You can specify up to 100 dedicated host IDs in a single request. Separate the IDs with commas (,).
56
+ * The list of DDH IDs. You can specify up to 100 deployment set IDs in each request. Separate the deployment set IDs with commas (,).
57
57
  *
58
58
  * @example
59
59
  * ["dh-bp165p6xk2tlw61e****", "dh-bp1f9vxmno7emy96****"]
@@ -69,7 +69,7 @@ export class DescribeDedicatedHostsRequest extends $dara.Model {
69
69
  dedicatedHostName?: string;
70
70
  /**
71
71
  * @remarks
72
- * The dedicated host type. You can call the [DescribeDedicatedHostTypes](https://help.aliyun.com/document_detail/134240.html) operation to query the most recent list of dedicated host types.
72
+ * The type of the DDH. You can call the [DescribeDedicatedHostTypes](https://help.aliyun.com/document_detail/134240.html) operation to query the most recent list of DDH types.
73
73
  *
74
74
  * @example
75
75
  * ddh.g5
@@ -110,9 +110,7 @@ export class DescribeDedicatedHostsRequest extends $dara.Model {
110
110
  ownerId?: number;
111
111
  /**
112
112
  * @remarks
113
- * The number of entries per page.
114
- *
115
- * Default value: 1.
113
+ * > This parameter will be removed in the future. You can use NextToken and MaxResults for a paged query.
116
114
  *
117
115
  * @example
118
116
  * 1
@@ -120,11 +118,7 @@ export class DescribeDedicatedHostsRequest extends $dara.Model {
120
118
  pageNumber?: number;
121
119
  /**
122
120
  * @remarks
123
- * The number of entries per page.
124
- *
125
- * Valid values: 1 to 100.
126
- *
127
- * Default value: 10.
121
+ * > This parameter will be removed in the future. You can use NextToken and MaxResults for a paged query.
128
122
  *
129
123
  * @example
130
124
  * 10
@@ -155,11 +149,17 @@ export class DescribeDedicatedHostsRequest extends $dara.Model {
155
149
  resourceOwnerId?: number;
156
150
  /**
157
151
  * @remarks
158
- * Specifies whether to display socket information. Valid values:
152
+ * Specifies whether to display socket information. You can view the remaining resources (vCPUs, memory usage, remaining resources, and total resources) based on the capacity information of the socket dimension. Then you can determine whether ECS instances of the corresponding specifications can be created. Valid values:
159
153
  *
160
- * * true
154
+ * * true Only some DDHs support the information about resources in the socket dimension. For more information, see [View and export information about DDHs](https://help.aliyun.com/document_detail/68989.html).
161
155
  * * false
162
156
  *
157
+ * > Each DDH generally has two CPUs, and each CPU corresponds to Socket 0 and Socket 1. To maximize the performance of an ECS instance on a DDH, ECS instances are not created across sockets.
158
+ *
159
+ * * If one socket has available computing resources for creating the ECS instance, creation succeeds.
160
+ *
161
+ * * If not, creation fails even if the combined available resources of both sockets are sufficient. Although the remaining resources of the two sockets on the DDH are larger than the ECS instance type, the ECS instance cannot be created.
162
+ *
163
163
  * @example
164
164
  * true
165
165
  */
@@ -182,7 +182,7 @@ export class DescribeDedicatedHostsRequest extends $dara.Model {
182
182
  status?: string;
183
183
  /**
184
184
  * @remarks
185
- * The tags of the dedicated host.
185
+ * The list of tags. The list length ranges from 0 to 20.
186
186
  */
187
187
  tag?: DescribeDedicatedHostsRequestTag[];
188
188
  /**
@@ -717,7 +717,7 @@ export class DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHost exten
717
717
  cores?: number;
718
718
  /**
719
719
  * @remarks
720
- * The CPU overcommit ratio.Valid values: 1 to 5.
720
+ * The CPU overcommit ratio. Valid values: 1 to 5.
721
721
  *
722
722
  * @example
723
723
  * 1
@@ -1050,7 +1050,7 @@ export class DescribeDedicatedHostsResponseBodyDedicatedHosts extends $dara.Mode
1050
1050
  export class DescribeDedicatedHostsResponseBody extends $dara.Model {
1051
1051
  /**
1052
1052
  * @remarks
1053
- * Details about the dedicated hosts.
1053
+ * Details about the DDH.
1054
1054
  */
1055
1055
  dedicatedHosts?: DescribeDedicatedHostsResponseBodyDedicatedHosts;
1056
1056
  /**
@@ -105,6 +105,7 @@ export class DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetInstan
105
105
  }
106
106
 
107
107
  export class DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSet extends $dara.Model {
108
+ accountId?: number;
108
109
  /**
109
110
  * @remarks
110
111
  * Details of the capacities of the deployment set. This parameter is valid only when the deployment set contains ECS instances. The value contains information about the capacities of the deployment set in different zones.
@@ -199,6 +200,7 @@ export class DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSet exten
199
200
  strategy?: string;
200
201
  static names(): { [key: string]: string } {
201
202
  return {
203
+ accountId: 'AccountId',
202
204
  capacities: 'Capacities',
203
205
  creationTime: 'CreationTime',
204
206
  deploymentSetDescription: 'DeploymentSetDescription',
@@ -216,6 +218,7 @@ export class DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSet exten
216
218
 
217
219
  static types(): { [key: string]: any } {
218
220
  return {
221
+ accountId: 'number',
219
222
  capacities: DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacities,
220
223
  creationTime: 'string',
221
224
  deploymentSetDescription: 'string',
@@ -297,8 +297,6 @@ export class DescribeDisksRequest extends $dara.Model {
297
297
  *
298
298
  * * financial: The disk is locked due to overdue payments.
299
299
  * * security: The disk is locked due to security reasons.
300
- * * recycling: The spot instance is locked and pending release.
301
- * * dedicatedhostfinancial: The instance is locked due to overdue payments for the dedicated host.
302
300
  *
303
301
  * @example
304
302
  * recycling
@@ -134,10 +134,12 @@ export class DescribeInstanceAttributeResponseBodyInnerIpAddress extends $dara.M
134
134
  }
135
135
 
136
136
  export class DescribeInstanceAttributeResponseBodyNetworkOptions extends $dara.Model {
137
+ bandwidthWeighting?: string;
137
138
  enableJumboFrame?: boolean;
138
139
  enableNetworkEncryption?: boolean;
139
140
  static names(): { [key: string]: string } {
140
141
  return {
142
+ bandwidthWeighting: 'BandwidthWeighting',
141
143
  enableJumboFrame: 'EnableJumboFrame',
142
144
  enableNetworkEncryption: 'EnableNetworkEncryption',
143
145
  };
@@ -145,6 +147,7 @@ export class DescribeInstanceAttributeResponseBodyNetworkOptions extends $dara.M
145
147
 
146
148
  static types(): { [key: string]: any } {
147
149
  return {
150
+ bandwidthWeighting: 'string',
148
151
  enableJumboFrame: 'boolean',
149
152
  enableNetworkEncryption: 'boolean',
150
153
  };
@@ -562,6 +562,8 @@ export class DescribeInstanceHistoryEventsResponseBody extends $dara.Model {
562
562
  * @remarks
563
563
  * A pagination token. It can be used in the next request to retrieve a new page of results.
564
564
  *
565
+ * > If the NextToken parameter is not returned when you use the MaxResults and NextToken parameters to perform a paged query, no more data is returned.
566
+ *
565
567
  * @example
566
568
  * f1c9fa9de5752***
567
569
  */
@@ -3,7 +3,21 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributesAttribute extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the attribute.
9
+ *
10
+ * @example
11
+ * VirtualIntelSpeedSelectTechnologySupport
12
+ */
6
13
  name?: string;
14
+ /**
15
+ * @remarks
16
+ * The attribute value.
17
+ *
18
+ * @example
19
+ * 1
20
+ */
7
21
  value?: string;
8
22
  static names(): { [key: string]: string } {
9
23
  return {
@@ -55,6 +69,16 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttribute
55
69
  }
56
70
 
57
71
  export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock extends $dara.Model {
72
+ /**
73
+ * @remarks
74
+ * Whether PTP is supported. Possible values:
75
+ *
76
+ * * supported
77
+ * * unsupported
78
+ *
79
+ * @example
80
+ * unsupported
81
+ */
58
82
  ptpSupport?: string;
59
83
  static names(): { [key: string]: string } {
60
84
  return {
@@ -308,6 +332,10 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupported
308
332
  }
309
333
 
310
334
  export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends $dara.Model {
335
+ /**
336
+ * @remarks
337
+ * The list of specification attributes.
338
+ */
311
339
  attributes?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes;
312
340
  /**
313
341
  * @remarks
@@ -317,6 +345,10 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
317
345
  * 4
318
346
  */
319
347
  baselineCredit?: number;
348
+ /**
349
+ * @remarks
350
+ * The clock supported by the specification.
351
+ */
320
352
  clock?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock;
321
353
  /**
322
354
  * @remarks
@@ -613,6 +645,8 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
613
645
  * * true
614
646
  * * false
615
647
  *
648
+ * > This parameter is in invitational preview and is not publicly available.
649
+ *
616
650
  * @example
617
651
  * true
618
652
  */
@@ -71,7 +71,7 @@ export class DescribeLaunchTemplatesRequest extends $dara.Model {
71
71
  ownerId?: number;
72
72
  /**
73
73
  * @remarks
74
- * The number of entries to return on each page.
74
+ * The page number. Page starts from page 1.
75
75
  *
76
76
  * Default value: 1.
77
77
  *
@@ -81,7 +81,7 @@ export class DescribeLaunchTemplatesRequest extends $dara.Model {
81
81
  pageNumber?: number;
82
82
  /**
83
83
  * @remarks
84
- * The number of entries to return on each page.
84
+ * The number of entries per page.
85
85
  *
86
86
  * Default value: 10.
87
87
  *
@@ -91,7 +91,7 @@ export class DescribeLaunchTemplatesRequest extends $dara.Model {
91
91
  pageSize?: number;
92
92
  /**
93
93
  * @remarks
94
- * The ID of the region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
94
+ * The region ID of the launch template. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
95
95
  *
96
96
  * This parameter is required.
97
97
  *
@@ -105,7 +105,7 @@ export class DescribeLaunchTemplatesRequest extends $dara.Model {
105
105
  * @remarks
106
106
  * The ID of the resource group to which the launch template belongs. If you specify this parameter to query resources, up to 1,000 resources that belong to the specified resource group can be returned.
107
107
  *
108
- * > Resources in the default resource group are displayed in the response regardless of whether you specify this parameter.
108
+ * > The default resource group is not supported.
109
109
  *
110
110
  * @example
111
111
  * rg-acfmxazb4p****
@@ -115,7 +115,7 @@ export class DescribeLaunchTemplatesRequest extends $dara.Model {
115
115
  * @remarks
116
116
  * The tags of the launch template.
117
117
  *
118
- * > You can only call API operations to add tags to and query the tags of a launch template. You cannot add tags to or view the tags of a launch template in the Elastic Compute Service (ECS) console.
118
+ * > You can only call API operations to add tags to and query the tags of a launch template. You cannot add tags to or view the tags of a launch template in the ECS console.
119
119
  */
120
120
  templateTag?: DescribeLaunchTemplatesRequestTemplateTag[];
121
121
  static names(): { [key: string]: string } {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplateSetTagsTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The tag key of the launch template.
8
+ * The tag value of the launch template.
9
9
  *
10
10
  * @example
11
11
  * TestKey
@@ -13,7 +13,7 @@ export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplate
13
13
  tagKey?: string;
14
14
  /**
15
15
  * @remarks
16
- * The tag value of the launch template.
16
+ * The tag key of the launch template.
17
17
  *
18
18
  * @example
19
19
  * TestValue
@@ -113,7 +113,7 @@ export class DescribeLaunchTemplatesResponseBodyLaunchTemplateSetsLaunchTemplate
113
113
  launchTemplateId?: string;
114
114
  /**
115
115
  * @remarks
116
- * The name of the template.
116
+ * The name of the launch template.
117
117
  *
118
118
  * @example
119
119
  * wd-152630748****
@@ -218,7 +218,7 @@ export class DescribeLaunchTemplatesResponseBody extends $dara.Model {
218
218
  launchTemplateSets?: DescribeLaunchTemplatesResponseBodyLaunchTemplateSets;
219
219
  /**
220
220
  * @remarks
221
- * The page number of the returned page.
221
+ * The page number.
222
222
  *
223
223
  * @example
224
224
  * 1
@@ -226,7 +226,7 @@ export class DescribeLaunchTemplatesResponseBody extends $dara.Model {
226
226
  pageNumber?: number;
227
227
  /**
228
228
  * @remarks
229
- * The number of entries returned per page.
229
+ * The number of entries per page.
230
230
  *
231
231
  * @example
232
232
  * 10
@@ -234,7 +234,7 @@ export class DescribeLaunchTemplatesResponseBody extends $dara.Model {
234
234
  pageSize?: number;
235
235
  /**
236
236
  * @remarks
237
- * The ID of the request.
237
+ * The request ID.
238
238
  *
239
239
  * @example
240
240
  * 04F0F334-1335-436C-A1D7-6C044FE12CBA
@@ -28,6 +28,13 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
28
28
  * 2024-01-19T09:16:46Z
29
29
  */
30
30
  endTime?: string;
31
+ /**
32
+ * @remarks
33
+ * Cause of the connection failure. This parameter is returned only when the Status parameter is Failed.
34
+ *
35
+ * @example
36
+ * The Session Manager is closed normally.
37
+ */
31
38
  failedDetail?: string;
32
39
  /**
33
40
  * @remarks
@@ -51,8 +58,6 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
51
58
  *
52
59
  * * Connecting: The connection is being established.
53
60
  * * Connected: The connection is established.
54
- * * Disconnected: The connection is disconnected.
55
- * * Terminating: The session is being terminated.
56
61
  * * Terminated: The session is terminated.
57
62
  * * Failed: The connection failed.
58
63
  *
@@ -32,7 +32,7 @@ export class ImportImageRequestDiskDeviceMapping extends $dara.Model {
32
32
  diskImSize?: number;
33
33
  /**
34
34
  * @remarks
35
- * The size of disk N in the custom image after the image is imported.
35
+ * The size of disk N in the custom image after the source image is imported.
36
36
  *
37
37
  * You can use this parameter to specify the sizes of the system disk and data disks in the custom image. When you specify the size of the system disk, make sure that the specified size is greater than or equal to the size of the imported image file. Unit: GiB. Valid values:
38
38
  *
@@ -47,13 +47,14 @@ export class ImportImageRequestDiskDeviceMapping extends $dara.Model {
47
47
  diskImageSize?: number;
48
48
  /**
49
49
  * @remarks
50
- * The image format. Valid values:
50
+ * The format of the source image. Valid values:
51
51
  *
52
52
  * * RAW
53
53
  * * VHD
54
54
  * * QCOW2
55
+ * * VMDK (invitational preview)
55
56
  *
56
- * This parameter is empty by default, which indicates that the system checks the format of the image and uses the check result as the value of this parameter.
57
+ * This parameter is empty by default, which indicates that the system checks the image format and uses the check result as the value of this parameter.
57
58
  *
58
59
  * @example
59
60
  * QCOW2
@@ -61,9 +62,9 @@ export class ImportImageRequestDiskDeviceMapping extends $dara.Model {
61
62
  format?: string;
62
63
  /**
63
64
  * @remarks
64
- * The OSS bucket where the image file is stored.
65
+ * The Object Storage Service (OSS) bucket where the image file is stored.
65
66
  *
66
- * > Before you import images for the first time, you must use RAM to authorize ECS to access your OSS buckets. If ECS is not authorized to access your OSS buckets, the `NoSetRoletoECSServiceAcount` error code is returned when you call the ImportImage operation. For more information, see the "**Usage notes**" section in this topic.
67
+ * > Before you import images for the first time, you must use RAM to authorize ECS to access your OSS buckets. If ECS is not authorized to access your OSS buckets, the `NoSetRoletoECSServiceAcount` error code is returned when you call the ImportImage operation. For more information, see **Usage notes**.
67
68
  *
68
69
  * @example
69
70
  * ecsimageos
@@ -71,7 +72,7 @@ export class ImportImageRequestDiskDeviceMapping extends $dara.Model {
71
72
  OSSBucket?: string;
72
73
  /**
73
74
  * @remarks
74
- * The name (key) of the object that the uploaded image is stored as in the OSS bucket.
75
+ * The name (key) of the object that the image file is stored as in the OSS bucket.
75
76
  *
76
77
  * @example
77
78
  * CentOS_5.4_32.raw
@@ -254,7 +255,7 @@ export class ImportImageRequest extends $dara.Model {
254
255
  detectionStrategy?: string;
255
256
  /**
256
257
  * @remarks
257
- * The information of disks from which the custom images are created.
258
+ * Details about the custom images.
258
259
  */
259
260
  diskDeviceMapping?: ImportImageRequestDiskDeviceMapping[];
260
261
  /**