@alicloud/ecs20140526 7.1.3 → 7.2.1

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 (91) hide show
  1. package/dist/client.d.ts +43 -10
  2. package/dist/client.js +112 -11
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateLaunchTemplateRequest.d.ts +14 -0
  5. package/dist/models/CreateLaunchTemplateRequest.js +25 -1
  6. package/dist/models/CreateLaunchTemplateRequest.js.map +1 -1
  7. package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +14 -0
  8. package/dist/models/CreateLaunchTemplateVersionRequest.js +25 -1
  9. package/dist/models/CreateLaunchTemplateVersionRequest.js.map +1 -1
  10. package/dist/models/CreatePrefixListRequest.d.ts +5 -5
  11. package/dist/models/DescribeCloudAssistantSettingsResponseBody.d.ts +18 -0
  12. package/dist/models/DescribeCloudAssistantSettingsResponseBody.js.map +1 -1
  13. package/dist/models/DescribeImagesResponseBody.d.ts +1 -0
  14. package/dist/models/DescribeImagesResponseBody.js +2 -0
  15. package/dist/models/DescribeImagesResponseBody.js.map +1 -1
  16. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -0
  17. package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
  18. package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +2 -0
  19. package/dist/models/DescribeInstanceHistoryEventsResponseBody.js +4 -0
  20. package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
  21. package/dist/models/DescribeInstanceTypesRequest.d.ts +1 -0
  22. package/dist/models/DescribeInstanceTypesRequest.js +5 -0
  23. package/dist/models/DescribeInstanceTypesRequest.js.map +1 -1
  24. package/dist/models/DescribeInstanceTypesResponseBody.d.ts +57 -0
  25. package/dist/models/DescribeInstanceTypesResponseBody.js +99 -1
  26. package/dist/models/DescribeInstanceTypesResponseBody.js.map +1 -1
  27. package/dist/models/DescribeLaunchTemplateVersionsResponseBody.d.ts +14 -0
  28. package/dist/models/DescribeLaunchTemplateVersionsResponseBody.js +25 -1
  29. package/dist/models/DescribeLaunchTemplateVersionsResponseBody.js.map +1 -1
  30. package/dist/models/DescribeNetworkInterfacesResponseBody.d.ts +1 -1
  31. package/dist/models/DescribeSecurityGroupAttributeRequest.d.ts +8 -0
  32. package/dist/models/DescribeSecurityGroupAttributeRequest.js +2 -0
  33. package/dist/models/DescribeSecurityGroupAttributeRequest.js.map +1 -1
  34. package/dist/models/DescribeSecurityGroupAttributeResponseBody.d.ts +14 -0
  35. package/dist/models/DescribeSecurityGroupAttributeResponseBody.js +28 -1
  36. package/dist/models/DescribeSecurityGroupAttributeResponseBody.js.map +1 -1
  37. package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +18 -0
  38. package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
  39. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +4 -0
  40. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
  41. package/dist/models/ModifyInstanceClockOptionsRequest.d.ts +71 -0
  42. package/dist/models/ModifyInstanceClockOptionsRequest.js +74 -0
  43. package/dist/models/ModifyInstanceClockOptionsRequest.js.map +1 -0
  44. package/dist/models/ModifyInstanceClockOptionsResponse.d.ts +19 -0
  45. package/dist/models/ModifyInstanceClockOptionsResponse.js +69 -0
  46. package/dist/models/ModifyInstanceClockOptionsResponse.js.map +1 -0
  47. package/dist/models/ModifyInstanceClockOptionsResponseBody.d.ts +31 -0
  48. package/dist/models/ModifyInstanceClockOptionsResponseBody.js +60 -0
  49. package/dist/models/ModifyInstanceClockOptionsResponseBody.js.map +1 -0
  50. package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +14 -0
  51. package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -1
  52. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +5 -0
  53. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.js.map +1 -1
  54. package/dist/models/ModifySnapshotAttributeRequest.d.ts +1 -1
  55. package/dist/models/ModifySnapshotCategoryRequest.d.ts +1 -1
  56. package/dist/models/StartTerminalSessionRequest.d.ts +16 -0
  57. package/dist/models/StartTerminalSessionRequest.js +29 -1
  58. package/dist/models/StartTerminalSessionRequest.js.map +1 -1
  59. package/dist/models/StartTerminalSessionShrinkRequest.d.ts +85 -0
  60. package/dist/models/StartTerminalSessionShrinkRequest.js +85 -0
  61. package/dist/models/StartTerminalSessionShrinkRequest.js.map +1 -0
  62. package/dist/models/model.d.ts +13 -0
  63. package/dist/models/model.js +88 -62
  64. package/dist/models/model.js.map +1 -1
  65. package/package.json +1 -1
  66. package/src/client.ts +129 -11
  67. package/src/models/CreateLaunchTemplateRequest.ts +29 -0
  68. package/src/models/CreateLaunchTemplateVersionRequest.ts +29 -0
  69. package/src/models/CreatePrefixListRequest.ts +5 -5
  70. package/src/models/DescribeCloudAssistantSettingsResponseBody.ts +18 -0
  71. package/src/models/DescribeImagesResponseBody.ts +3 -0
  72. package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -0
  73. package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +6 -0
  74. package/src/models/DescribeInstanceTypesRequest.ts +6 -0
  75. package/src/models/DescribeInstanceTypesResponseBody.ts +119 -0
  76. package/src/models/DescribeLaunchTemplateVersionsResponseBody.ts +29 -0
  77. package/src/models/DescribeNetworkInterfacesResponseBody.ts +1 -1
  78. package/src/models/DescribeSecurityGroupAttributeRequest.ts +10 -0
  79. package/src/models/DescribeSecurityGroupAttributeResponseBody.ts +32 -0
  80. package/src/models/ModifyCloudAssistantSettingsRequest.ts +18 -0
  81. package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +4 -0
  82. package/src/models/ModifyInstanceClockOptionsRequest.ts +100 -0
  83. package/src/models/ModifyInstanceClockOptionsResponse.ts +40 -0
  84. package/src/models/ModifyInstanceClockOptionsResponseBody.ts +46 -0
  85. package/src/models/ModifyInstanceNetworkOptionsRequest.ts +14 -0
  86. package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +5 -0
  87. package/src/models/ModifySnapshotAttributeRequest.ts +1 -1
  88. package/src/models/ModifySnapshotCategoryRequest.ts +1 -1
  89. package/src/models/StartTerminalSessionRequest.ts +35 -0
  90. package/src/models/StartTerminalSessionShrinkRequest.ts +125 -0
  91. package/src/models/model.ts +13 -0
@@ -587,6 +587,29 @@ export class CreateLaunchTemplateRequestNetworkInterface extends $dara.Model {
587
587
  }
588
588
  }
589
589
 
590
+ export class CreateLaunchTemplateRequestSecurityOptions extends $dara.Model {
591
+ trustedSystemMode?: string;
592
+ static names(): { [key: string]: string } {
593
+ return {
594
+ trustedSystemMode: 'TrustedSystemMode',
595
+ };
596
+ }
597
+
598
+ static types(): { [key: string]: any } {
599
+ return {
600
+ trustedSystemMode: 'string',
601
+ };
602
+ }
603
+
604
+ validate() {
605
+ super.validate();
606
+ }
607
+
608
+ constructor(map?: { [key: string]: any }) {
609
+ super(map);
610
+ }
611
+ }
612
+
590
613
  export class CreateLaunchTemplateRequestTag extends $dara.Model {
591
614
  /**
592
615
  * @remarks
@@ -1057,6 +1080,7 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
1057
1080
  * sg-bp15ed6xe1yxeycg7****
1058
1081
  */
1059
1082
  securityGroupIds?: string[];
1083
+ securityOptions?: CreateLaunchTemplateRequestSecurityOptions;
1060
1084
  /**
1061
1085
  * @remarks
1062
1086
  * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
@@ -1201,6 +1225,7 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
1201
1225
  securityEnhancementStrategy: 'SecurityEnhancementStrategy',
1202
1226
  securityGroupId: 'SecurityGroupId',
1203
1227
  securityGroupIds: 'SecurityGroupIds',
1228
+ securityOptions: 'SecurityOptions',
1204
1229
  spotDuration: 'SpotDuration',
1205
1230
  spotPriceLimit: 'SpotPriceLimit',
1206
1231
  spotStrategy: 'SpotStrategy',
@@ -1260,6 +1285,7 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
1260
1285
  securityEnhancementStrategy: 'string',
1261
1286
  securityGroupId: 'string',
1262
1287
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
1288
+ securityOptions: CreateLaunchTemplateRequestSecurityOptions,
1263
1289
  spotDuration: 'number',
1264
1290
  spotPriceLimit: 'number',
1265
1291
  spotStrategy: 'string',
@@ -1290,6 +1316,9 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
1290
1316
  if(Array.isArray(this.securityGroupIds)) {
1291
1317
  $dara.Model.validateArray(this.securityGroupIds);
1292
1318
  }
1319
+ if(this.securityOptions && typeof (this.securityOptions as any).validate === 'function') {
1320
+ (this.securityOptions as any).validate();
1321
+ }
1293
1322
  if(Array.isArray(this.tag)) {
1294
1323
  $dara.Model.validateArray(this.tag);
1295
1324
  }
@@ -553,6 +553,29 @@ export class CreateLaunchTemplateVersionRequestNetworkInterface extends $dara.Mo
553
553
  }
554
554
  }
555
555
 
556
+ export class CreateLaunchTemplateVersionRequestSecurityOptions extends $dara.Model {
557
+ trustedSystemMode?: string;
558
+ static names(): { [key: string]: string } {
559
+ return {
560
+ trustedSystemMode: 'TrustedSystemMode',
561
+ };
562
+ }
563
+
564
+ static types(): { [key: string]: any } {
565
+ return {
566
+ trustedSystemMode: 'string',
567
+ };
568
+ }
569
+
570
+ validate() {
571
+ super.validate();
572
+ }
573
+
574
+ constructor(map?: { [key: string]: any }) {
575
+ super(map);
576
+ }
577
+ }
578
+
556
579
  export class CreateLaunchTemplateVersionRequestTag extends $dara.Model {
557
580
  /**
558
581
  * @remarks
@@ -987,6 +1010,7 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
987
1010
  * sg-bp15ed6xe1yxeycg7****
988
1011
  */
989
1012
  securityGroupIds?: string[];
1013
+ securityOptions?: CreateLaunchTemplateVersionRequestSecurityOptions;
990
1014
  /**
991
1015
  * @remarks
992
1016
  * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
@@ -1113,6 +1137,7 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
1113
1137
  securityEnhancementStrategy: 'SecurityEnhancementStrategy',
1114
1138
  securityGroupId: 'SecurityGroupId',
1115
1139
  securityGroupIds: 'SecurityGroupIds',
1140
+ securityOptions: 'SecurityOptions',
1116
1141
  spotDuration: 'SpotDuration',
1117
1142
  spotPriceLimit: 'SpotPriceLimit',
1118
1143
  spotStrategy: 'SpotStrategy',
@@ -1171,6 +1196,7 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
1171
1196
  securityEnhancementStrategy: 'string',
1172
1197
  securityGroupId: 'string',
1173
1198
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
1199
+ securityOptions: CreateLaunchTemplateVersionRequestSecurityOptions,
1174
1200
  spotDuration: 'number',
1175
1201
  spotPriceLimit: 'number',
1176
1202
  spotStrategy: 'string',
@@ -1199,6 +1225,9 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
1199
1225
  if(Array.isArray(this.securityGroupIds)) {
1200
1226
  $dara.Model.validateArray(this.securityGroupIds);
1201
1227
  }
1228
+ if(this.securityOptions && typeof (this.securityOptions as any).validate === 'function') {
1229
+ (this.securityOptions as any).validate();
1230
+ }
1202
1231
  if(Array.isArray(this.tag)) {
1203
1232
  $dara.Model.validateArray(this.tag);
1204
1233
  }
@@ -5,17 +5,17 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePrefixListRequestEntry extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The CIDR block in entry N. Valid values of N: 0 to 200. Take note of the following items:
8
+ * The CIDR block in entry N. Valid values of N: 0 to 200. Notes:
9
9
  *
10
10
  * * The total number of entries cannot exceed the `MaxEntries` value.
11
11
  * * CIDR block types are determined by the IP address family. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
12
12
  * * CIDR blocks must be unique across all entries in a prefix list. For example, you cannot specify 192.168.1.0/24 twice in the entries of the prefix list.
13
- * * IP addresses are supported. The system converts IP addresses into CIDR blocks. For example, if you specify 192.168.1.100, the system converts it into the 192.168.1.100/32 CIDR block.
14
- * * If an IPv6 CIDR block is used, the system converts it into the zero compression format and changes uppercase letters into lowercase ones. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000/32, the system converts it into 2001:db8::/32.
13
+ * * You can set a single IP address. The system automatically converts the IP address to a CIDR block. For example, if you set 192.168.1.100, the system automatically converts it to 192.168.1.100/32.
14
+ * * If you use an IPv6 CIDR block, the system automatically converts the CIDR block to zero and the letters to lowercase. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000/32, the system converts it to 2001:db8::/32.
15
15
  *
16
- * For more information about CIDR blocks, see the [What is CIDR?](https://help.aliyun.com/document_detail/40637.html#title-gu4-uzk-12r) section in the "Network FAQ" topic.
16
+ * For more information about CIDR blocks, see [What is CIDR?](https://help.aliyun.com/document_detail/185311.html#598efe6ef1v00)
17
17
  *
18
- * This parameter is empty by default.
18
+ * By default, this parameter is left empty.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -205,6 +205,20 @@ export class DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigs extend
205
205
  }
206
206
 
207
207
  export class DescribeCloudAssistantSettingsResponseBodySessionManagerConfig extends $dara.Model {
208
+ /**
209
+ * @remarks
210
+ * Specify whether to enable Cloud Assistant Session Manager. Valid values:
211
+ *
212
+ * * true: Enables the feature.
213
+ * * false: Disables the feature.
214
+ *
215
+ * Note:
216
+ *
217
+ * * The feature applies to all regions.
218
+ *
219
+ * @example
220
+ * true
221
+ */
208
222
  sessionManagerEnabled?: boolean;
209
223
  static names(): { [key: string]: string } {
210
224
  return {
@@ -335,6 +349,10 @@ export class DescribeCloudAssistantSettingsResponseBody extends $dara.Model {
335
349
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
336
350
  */
337
351
  requestId?: string;
352
+ /**
353
+ * @remarks
354
+ * Cloud Assistant Session Manager configuration.
355
+ */
338
356
  sessionManagerConfig?: DescribeCloudAssistantSettingsResponseBodySessionManagerConfig;
339
357
  /**
340
358
  * @remarks
@@ -586,6 +586,7 @@ export class DescribeImagesResponseBodyImagesImage extends $dara.Model {
586
586
  * true
587
587
  */
588
588
  isSupportIoOptimized?: boolean;
589
+ licenseType?: string;
589
590
  /**
590
591
  * @remarks
591
592
  * Indicates whether the image supports logons of non-root users. Valid values:
@@ -724,6 +725,7 @@ export class DescribeImagesResponseBodyImagesImage extends $dara.Model {
724
725
  isSubscribed: 'IsSubscribed',
725
726
  isSupportCloudinit: 'IsSupportCloudinit',
726
727
  isSupportIoOptimized: 'IsSupportIoOptimized',
728
+ licenseType: 'LicenseType',
727
729
  loginAsNonRootSupported: 'LoginAsNonRootSupported',
728
730
  OSName: 'OSName',
729
731
  OSNameEn: 'OSNameEn',
@@ -761,6 +763,7 @@ export class DescribeImagesResponseBodyImagesImage extends $dara.Model {
761
763
  isSubscribed: 'boolean',
762
764
  isSupportCloudinit: 'boolean',
763
765
  isSupportIoOptimized: 'boolean',
766
+ licenseType: 'string',
764
767
  loginAsNonRootSupported: 'boolean',
765
768
  OSName: 'string',
766
769
  OSNameEn: 'string',
@@ -135,7 +135,15 @@ export class DescribeInstanceAttributeResponseBodyInnerIpAddress extends $dara.M
135
135
 
136
136
  export class DescribeInstanceAttributeResponseBodyNetworkOptions extends $dara.Model {
137
137
  bandwidthWeighting?: string;
138
+ /**
139
+ * @example
140
+ * false
141
+ */
138
142
  enableJumboFrame?: boolean;
143
+ /**
144
+ * @example
145
+ * False
146
+ */
139
147
  enableNetworkEncryption?: boolean;
140
148
  static names(): { [key: string]: string } {
141
149
  return {
@@ -431,6 +439,10 @@ export class DescribeInstanceAttributeResponseBody extends $dara.Model {
431
439
  * false
432
440
  */
433
441
  enableJumboFrame?: boolean;
442
+ /**
443
+ * @example
444
+ * True
445
+ */
434
446
  enableNetworkEncryption?: boolean;
435
447
  /**
436
448
  * @remarks
@@ -555,6 +567,12 @@ export class DescribeInstanceAttributeResponseBody extends $dara.Model {
555
567
  * 16384
556
568
  */
557
569
  memory?: number;
570
+ /**
571
+ * @remarks
572
+ * Details about network options.
573
+ *
574
+ * > This parameter is in invitational preview and is not publicly available.
575
+ */
558
576
  networkOptions?: DescribeInstanceAttributeResponseBodyNetworkOptions;
559
577
  /**
560
578
  * @remarks
@@ -273,6 +273,8 @@ export class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInst
273
273
  * The inactive disks that were released and whose data must be cleared.
274
274
  */
275
275
  inactiveDisks?: DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInstanceSystemEventTypeExtendedAttributeInactiveDisks;
276
+ metricName?: string;
277
+ metricValue?: string;
276
278
  /**
277
279
  * @remarks
278
280
  * The migration solution of the instance. Valid value: MigrationPlan. Instances can be migrated only by using migration plans.
@@ -338,6 +340,8 @@ export class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInst
338
340
  hostId: 'HostId',
339
341
  hostType: 'HostType',
340
342
  inactiveDisks: 'InactiveDisks',
343
+ metricName: 'MetricName',
344
+ metricValue: 'MetricValue',
341
345
  migrationOptions: 'MigrationOptions',
342
346
  onlineRepairPolicy: 'OnlineRepairPolicy',
343
347
  punishDomain: 'PunishDomain',
@@ -357,6 +361,8 @@ export class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInst
357
361
  hostId: 'string',
358
362
  hostType: 'string',
359
363
  inactiveDisks: DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInstanceSystemEventTypeExtendedAttributeInactiveDisks,
364
+ metricName: 'string',
365
+ metricValue: 'string',
360
366
  migrationOptions: DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInstanceSystemEventTypeExtendedAttributeMigrationOptions,
361
367
  onlineRepairPolicy: 'string',
362
368
  punishDomain: 'string',
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeInstanceTypesRequest extends $dara.Model {
6
+ additionalAttributes?: string[];
6
7
  /**
7
8
  * @remarks
8
9
  * The CPU architecture. Valid values:
@@ -434,6 +435,7 @@ export class DescribeInstanceTypesRequest extends $dara.Model {
434
435
  resourceOwnerId?: number;
435
436
  static names(): { [key: string]: string } {
436
437
  return {
438
+ additionalAttributes: 'AdditionalAttributes',
437
439
  cpuArchitecture: 'CpuArchitecture',
438
440
  cpuArchitectures: 'CpuArchitectures',
439
441
  GPUSpec: 'GPUSpec',
@@ -486,6 +488,7 @@ export class DescribeInstanceTypesRequest extends $dara.Model {
486
488
 
487
489
  static types(): { [key: string]: any } {
488
490
  return {
491
+ additionalAttributes: { 'type': 'array', 'itemType': 'string' },
489
492
  cpuArchitecture: 'string',
490
493
  cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
491
494
  GPUSpec: 'string',
@@ -537,6 +540,9 @@ export class DescribeInstanceTypesRequest extends $dara.Model {
537
540
  }
538
541
 
539
542
  validate() {
543
+ if(Array.isArray(this.additionalAttributes)) {
544
+ $dara.Model.validateArray(this.additionalAttributes);
545
+ }
540
546
  if(Array.isArray(this.cpuArchitectures)) {
541
547
  $dara.Model.validateArray(this.cpuArchitectures);
542
548
  }
@@ -305,6 +305,119 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCa
305
305
  }
306
306
  }
307
307
 
308
+ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo extends $dara.Model {
309
+ ebsBandwidth?: number;
310
+ ebsBurstBandwidth?: number;
311
+ name?: string;
312
+ vpcBandwidth?: number;
313
+ vpcBurstBandwidth?: number;
314
+ static names(): { [key: string]: string } {
315
+ return {
316
+ ebsBandwidth: 'EbsBandwidth',
317
+ ebsBurstBandwidth: 'EbsBurstBandwidth',
318
+ name: 'Name',
319
+ vpcBandwidth: 'VpcBandwidth',
320
+ vpcBurstBandwidth: 'VpcBurstBandwidth',
321
+ };
322
+ }
323
+
324
+ static types(): { [key: string]: any } {
325
+ return {
326
+ ebsBandwidth: 'number',
327
+ ebsBurstBandwidth: 'number',
328
+ name: 'string',
329
+ vpcBandwidth: 'number',
330
+ vpcBurstBandwidth: 'number',
331
+ };
332
+ }
333
+
334
+ validate() {
335
+ super.validate();
336
+ }
337
+
338
+ constructor(map?: { [key: string]: any }) {
339
+ super(map);
340
+ }
341
+ }
342
+
343
+ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos extends $dara.Model {
344
+ weightingInfo?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo[];
345
+ static names(): { [key: string]: string } {
346
+ return {
347
+ weightingInfo: 'WeightingInfo',
348
+ };
349
+ }
350
+
351
+ static types(): { [key: string]: any } {
352
+ return {
353
+ weightingInfo: { 'type': 'array', 'itemType': DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo },
354
+ };
355
+ }
356
+
357
+ validate() {
358
+ if(Array.isArray(this.weightingInfo)) {
359
+ $dara.Model.validateArray(this.weightingInfo);
360
+ }
361
+ super.validate();
362
+ }
363
+
364
+ constructor(map?: { [key: string]: any }) {
365
+ super(map);
366
+ }
367
+ }
368
+
369
+ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting extends $dara.Model {
370
+ weightingInfos?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos;
371
+ static names(): { [key: string]: string } {
372
+ return {
373
+ weightingInfos: 'WeightingInfos',
374
+ };
375
+ }
376
+
377
+ static types(): { [key: string]: any } {
378
+ return {
379
+ weightingInfos: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos,
380
+ };
381
+ }
382
+
383
+ validate() {
384
+ if(this.weightingInfos && typeof (this.weightingInfos as any).validate === 'function') {
385
+ (this.weightingInfos as any).validate();
386
+ }
387
+ super.validate();
388
+ }
389
+
390
+ constructor(map?: { [key: string]: any }) {
391
+ super(map);
392
+ }
393
+ }
394
+
395
+ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo extends $dara.Model {
396
+ bandwidthWeighting?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting;
397
+ static names(): { [key: string]: string } {
398
+ return {
399
+ bandwidthWeighting: 'BandwidthWeighting',
400
+ };
401
+ }
402
+
403
+ static types(): { [key: string]: any } {
404
+ return {
405
+ bandwidthWeighting: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting,
406
+ };
407
+ }
408
+
409
+ validate() {
410
+ if(this.bandwidthWeighting && typeof (this.bandwidthWeighting as any).validate === 'function') {
411
+ (this.bandwidthWeighting as any).validate();
412
+ }
413
+ super.validate();
414
+ }
415
+
416
+ constructor(map?: { [key: string]: any }) {
417
+ super(map);
418
+ }
419
+ }
420
+
308
421
  export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes extends $dara.Model {
309
422
  supportedBootMode?: string[];
310
423
  static names(): { [key: string]: string } {
@@ -651,6 +764,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
651
764
  * true
652
765
  */
653
766
  networkEncryptionSupport?: boolean;
767
+ networkInfo?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo;
654
768
  /**
655
769
  * @remarks
656
770
  * Indicates whether cloud disks can be attached by using the NVMe protocol. Valid values:
@@ -749,6 +863,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
749
863
  networkCardQuantity: 'NetworkCardQuantity',
750
864
  networkCards: 'NetworkCards',
751
865
  networkEncryptionSupport: 'NetworkEncryptionSupport',
866
+ networkInfo: 'NetworkInfo',
752
867
  nvmeSupport: 'NvmeSupport',
753
868
  physicalProcessorModel: 'PhysicalProcessorModel',
754
869
  primaryEniQueueNumber: 'PrimaryEniQueueNumber',
@@ -798,6 +913,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
798
913
  networkCardQuantity: 'number',
799
914
  networkCards: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards,
800
915
  networkEncryptionSupport: 'boolean',
916
+ networkInfo: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo,
801
917
  nvmeSupport: 'string',
802
918
  physicalProcessorModel: 'string',
803
919
  primaryEniQueueNumber: 'number',
@@ -824,6 +940,9 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
824
940
  if(this.networkCards && typeof (this.networkCards as any).validate === 'function') {
825
941
  (this.networkCards as any).validate();
826
942
  }
943
+ if(this.networkInfo && typeof (this.networkInfo as any).validate === 'function') {
944
+ (this.networkInfo as any).validate();
945
+ }
827
946
  if(this.supportedBootModes && typeof (this.supportedBootModes as any).validate === 'function') {
828
947
  (this.supportedBootModes as any).validate();
829
948
  }
@@ -482,6 +482,29 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
482
482
  }
483
483
  }
484
484
 
485
+ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSecurityOptions extends $dara.Model {
486
+ trustedSystemMode?: string;
487
+ static names(): { [key: string]: string } {
488
+ return {
489
+ trustedSystemMode: 'TrustedSystemMode',
490
+ };
491
+ }
492
+
493
+ static types(): { [key: string]: any } {
494
+ return {
495
+ trustedSystemMode: 'string',
496
+ };
497
+ }
498
+
499
+ validate() {
500
+ super.validate();
501
+ }
502
+
503
+ constructor(map?: { [key: string]: any }) {
504
+ super(map);
505
+ }
506
+ }
507
+
485
508
  export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataTagsInstanceTag extends $dara.Model {
486
509
  /**
487
510
  * @remarks
@@ -876,6 +899,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
876
899
  * > `SecurityGroupId` and `SecurityGroupIds` are mutually exclusive in the response.
877
900
  */
878
901
  securityGroupIds?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSecurityGroupIds;
902
+ securityOptions?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSecurityOptions;
879
903
  /**
880
904
  * @remarks
881
905
  * The protection period of the spot instance. Unit: hours. Valid values:
@@ -987,6 +1011,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
987
1011
  securityEnhancementStrategy: 'SecurityEnhancementStrategy',
988
1012
  securityGroupId: 'SecurityGroupId',
989
1013
  securityGroupIds: 'SecurityGroupIds',
1014
+ securityOptions: 'SecurityOptions',
990
1015
  spotDuration: 'SpotDuration',
991
1016
  spotPriceLimit: 'SpotPriceLimit',
992
1017
  spotStrategy: 'SpotStrategy',
@@ -1037,6 +1062,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
1037
1062
  securityEnhancementStrategy: 'string',
1038
1063
  securityGroupId: 'string',
1039
1064
  securityGroupIds: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSecurityGroupIds,
1065
+ securityOptions: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSecurityOptions,
1040
1066
  spotDuration: 'number',
1041
1067
  spotPriceLimit: 'number',
1042
1068
  spotStrategy: 'string',
@@ -1064,6 +1090,9 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
1064
1090
  if(this.securityGroupIds && typeof (this.securityGroupIds as any).validate === 'function') {
1065
1091
  (this.securityGroupIds as any).validate();
1066
1092
  }
1093
+ if(this.securityOptions && typeof (this.securityOptions as any).validate === 'function') {
1094
+ (this.securityOptions as any).validate();
1095
+ }
1067
1096
  if(this.tags && typeof (this.tags as any).validate === 'function') {
1068
1097
  (this.tags as any).validate();
1069
1098
  }
@@ -509,7 +509,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
509
509
  attachment?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment;
510
510
  /**
511
511
  * @remarks
512
- * The time when the ENI was created.
512
+ * The time when the security group was created. The time follows the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
513
513
  *
514
514
  * @example
515
515
  * 2019-12-25T12:31:31Z
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The attributes of the security group. Valid value: snapshotPolicyIds: queries information about snapshot policies associated with a security group.
9
+ *
10
+ * @example
11
+ * snapshotPolicyIds
12
+ */
13
+ attribute?: string;
6
14
  /**
7
15
  * @remarks
8
16
  * The direction in which the security group rule is applied. Valid values:
@@ -87,6 +95,7 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
87
95
  securityGroupId?: string;
88
96
  static names(): { [key: string]: string } {
89
97
  return {
98
+ attribute: 'Attribute',
90
99
  direction: 'Direction',
91
100
  maxResults: 'MaxResults',
92
101
  nextToken: 'NextToken',
@@ -102,6 +111,7 @@ export class DescribeSecurityGroupAttributeRequest extends $dara.Model {
102
111
 
103
112
  static types(): { [key: string]: any } {
104
113
  return {
114
+ attribute: 'string',
105
115
  direction: 'string',
106
116
  maxResults: 'number',
107
117
  nextToken: 'string',
@@ -308,6 +308,32 @@ export class DescribeSecurityGroupAttributeResponseBodyPermissions extends $dara
308
308
  }
309
309
  }
310
310
 
311
+ export class DescribeSecurityGroupAttributeResponseBodySnapshotPolicyIds extends $dara.Model {
312
+ snapshotPolicyId?: string[];
313
+ static names(): { [key: string]: string } {
314
+ return {
315
+ snapshotPolicyId: 'SnapshotPolicyId',
316
+ };
317
+ }
318
+
319
+ static types(): { [key: string]: any } {
320
+ return {
321
+ snapshotPolicyId: { 'type': 'array', 'itemType': 'string' },
322
+ };
323
+ }
324
+
325
+ validate() {
326
+ if(Array.isArray(this.snapshotPolicyId)) {
327
+ $dara.Model.validateArray(this.snapshotPolicyId);
328
+ }
329
+ super.validate();
330
+ }
331
+
332
+ constructor(map?: { [key: string]: any }) {
333
+ super(map);
334
+ }
335
+ }
336
+
311
337
  export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
312
338
  /**
313
339
  * @remarks
@@ -373,6 +399,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
373
399
  * SecurityGroupName Sample
374
400
  */
375
401
  securityGroupName?: string;
402
+ snapshotPolicyIds?: DescribeSecurityGroupAttributeResponseBodySnapshotPolicyIds;
376
403
  /**
377
404
  * @remarks
378
405
  * The ID of the VPC. If a VPC ID is returned, the network type of the security group is VPC. If no VPC ID is returned, the network type of the security group is classic network.
@@ -391,6 +418,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
391
418
  requestId: 'RequestId',
392
419
  securityGroupId: 'SecurityGroupId',
393
420
  securityGroupName: 'SecurityGroupName',
421
+ snapshotPolicyIds: 'SnapshotPolicyIds',
394
422
  vpcId: 'VpcId',
395
423
  };
396
424
  }
@@ -405,6 +433,7 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
405
433
  requestId: 'string',
406
434
  securityGroupId: 'string',
407
435
  securityGroupName: 'string',
436
+ snapshotPolicyIds: DescribeSecurityGroupAttributeResponseBodySnapshotPolicyIds,
408
437
  vpcId: 'string',
409
438
  };
410
439
  }
@@ -413,6 +442,9 @@ export class DescribeSecurityGroupAttributeResponseBody extends $dara.Model {
413
442
  if(this.permissions && typeof (this.permissions as any).validate === 'function') {
414
443
  (this.permissions as any).validate();
415
444
  }
445
+ if(this.snapshotPolicyIds && typeof (this.snapshotPolicyIds as any).validate === 'function') {
446
+ (this.snapshotPolicyIds as any).validate();
447
+ }
416
448
  super.validate();
417
449
  }
418
450
 
@@ -156,6 +156,20 @@ export class ModifyCloudAssistantSettingsRequestOssDeliveryConfig extends $dara.
156
156
  }
157
157
 
158
158
  export class ModifyCloudAssistantSettingsRequestSessionManagerConfig extends $dara.Model {
159
+ /**
160
+ * @remarks
161
+ * Specify whether to enable Cloud Assistant Session Manager. Valid values:
162
+ *
163
+ * * true: Enables the feature.
164
+ * * false: Disables the feature.
165
+ *
166
+ * Notes:
167
+ *
168
+ * * The feature applies to all regions.
169
+ *
170
+ * @example
171
+ * true
172
+ */
159
173
  sessionManagerEnabled?: boolean;
160
174
  static names(): { [key: string]: string } {
161
175
  return {
@@ -253,6 +267,10 @@ export class ModifyCloudAssistantSettingsRequest extends $dara.Model {
253
267
  regionId?: string;
254
268
  resourceOwnerAccount?: string;
255
269
  resourceOwnerId?: number;
270
+ /**
271
+ * @remarks
272
+ * Cloud Assistant Session Manager configuration.
273
+ */
256
274
  sessionManagerConfig?: ModifyCloudAssistantSettingsRequestSessionManagerConfig;
257
275
  /**
258
276
  * @remarks
@@ -27,6 +27,10 @@ export class ModifyCloudAssistantSettingsShrinkRequest extends $dara.Model {
27
27
  regionId?: string;
28
28
  resourceOwnerAccount?: string;
29
29
  resourceOwnerId?: number;
30
+ /**
31
+ * @remarks
32
+ * Cloud Assistant Session Manager configuration.
33
+ */
30
34
  sessionManagerConfigShrink?: string;
31
35
  /**
32
36
  * @remarks