@alicloud/ecs20140526 4.1.2 → 4.1.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ecs20140526",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1174,6 +1174,7 @@ export class AttachDiskRequest extends $tea.Model {
1174
1174
  deleteWithInstance?: boolean;
1175
1175
  device?: string;
1176
1176
  diskId?: string;
1177
+ force?: boolean;
1177
1178
  instanceId?: string;
1178
1179
  keyPairName?: string;
1179
1180
  ownerAccount?: string;
@@ -1187,6 +1188,7 @@ export class AttachDiskRequest extends $tea.Model {
1187
1188
  deleteWithInstance: 'DeleteWithInstance',
1188
1189
  device: 'Device',
1189
1190
  diskId: 'DiskId',
1191
+ force: 'Force',
1190
1192
  instanceId: 'InstanceId',
1191
1193
  keyPairName: 'KeyPairName',
1192
1194
  ownerAccount: 'OwnerAccount',
@@ -1203,6 +1205,7 @@ export class AttachDiskRequest extends $tea.Model {
1203
1205
  deleteWithInstance: 'boolean',
1204
1206
  device: 'string',
1205
1207
  diskId: 'string',
1208
+ force: 'boolean',
1206
1209
  instanceId: 'string',
1207
1210
  keyPairName: 'string',
1208
1211
  ownerAccount: 'string',
@@ -5435,6 +5438,7 @@ export class CreateNatGatewayResponse extends $tea.Model {
5435
5438
  export class CreateNetworkInterfaceRequest extends $tea.Model {
5436
5439
  businessType?: string;
5437
5440
  clientToken?: string;
5441
+ connectionTrackingConfiguration?: CreateNetworkInterfaceRequestConnectionTrackingConfiguration;
5438
5442
  deleteOnRelease?: boolean;
5439
5443
  description?: string;
5440
5444
  instanceType?: string;
@@ -5468,6 +5472,7 @@ export class CreateNetworkInterfaceRequest extends $tea.Model {
5468
5472
  return {
5469
5473
  businessType: 'BusinessType',
5470
5474
  clientToken: 'ClientToken',
5475
+ connectionTrackingConfiguration: 'ConnectionTrackingConfiguration',
5471
5476
  deleteOnRelease: 'DeleteOnRelease',
5472
5477
  description: 'Description',
5473
5478
  instanceType: 'InstanceType',
@@ -5504,6 +5509,7 @@ export class CreateNetworkInterfaceRequest extends $tea.Model {
5504
5509
  return {
5505
5510
  businessType: 'string',
5506
5511
  clientToken: 'string',
5512
+ connectionTrackingConfiguration: CreateNetworkInterfaceRequestConnectionTrackingConfiguration,
5507
5513
  deleteOnRelease: 'boolean',
5508
5514
  description: 'string',
5509
5515
  instanceType: 'string',
@@ -17512,6 +17518,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
17512
17518
  associatedPublicIp?: DescribeNetworkInterfaceAttributeResponseBodyAssociatedPublicIp;
17513
17519
  attachment?: DescribeNetworkInterfaceAttributeResponseBodyAttachment;
17514
17520
  bondInterfaceSpecification?: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification;
17521
+ connectionTrackingConfiguration?: DescribeNetworkInterfaceAttributeResponseBodyConnectionTrackingConfiguration;
17515
17522
  creationTime?: string;
17516
17523
  deleteOnRelease?: boolean;
17517
17524
  description?: string;
@@ -17546,6 +17553,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
17546
17553
  associatedPublicIp: 'AssociatedPublicIp',
17547
17554
  attachment: 'Attachment',
17548
17555
  bondInterfaceSpecification: 'BondInterfaceSpecification',
17556
+ connectionTrackingConfiguration: 'ConnectionTrackingConfiguration',
17549
17557
  creationTime: 'CreationTime',
17550
17558
  deleteOnRelease: 'DeleteOnRelease',
17551
17559
  description: 'Description',
@@ -17583,6 +17591,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
17583
17591
  associatedPublicIp: DescribeNetworkInterfaceAttributeResponseBodyAssociatedPublicIp,
17584
17592
  attachment: DescribeNetworkInterfaceAttributeResponseBodyAttachment,
17585
17593
  bondInterfaceSpecification: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification,
17594
+ connectionTrackingConfiguration: DescribeNetworkInterfaceAttributeResponseBodyConnectionTrackingConfiguration,
17586
17595
  creationTime: 'string',
17587
17596
  deleteOnRelease: 'boolean',
17588
17597
  description: 'string',
@@ -28536,6 +28545,7 @@ export class ModifyManagedInstanceResponse extends $tea.Model {
28536
28545
  }
28537
28546
 
28538
28547
  export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
28548
+ connectionTrackingConfiguration?: ModifyNetworkInterfaceAttributeRequestConnectionTrackingConfiguration;
28539
28549
  deleteOnRelease?: boolean;
28540
28550
  description?: string;
28541
28551
  networkInterfaceId?: string;
@@ -28551,6 +28561,7 @@ export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
28551
28561
  txQueueSize?: number;
28552
28562
  static names(): { [key: string]: string } {
28553
28563
  return {
28564
+ connectionTrackingConfiguration: 'ConnectionTrackingConfiguration',
28554
28565
  deleteOnRelease: 'DeleteOnRelease',
28555
28566
  description: 'Description',
28556
28567
  networkInterfaceId: 'NetworkInterfaceId',
@@ -28569,6 +28580,7 @@ export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
28569
28580
 
28570
28581
  static types(): { [key: string]: any } {
28571
28582
  return {
28583
+ connectionTrackingConfiguration: ModifyNetworkInterfaceAttributeRequestConnectionTrackingConfiguration,
28572
28584
  deleteOnRelease: 'boolean',
28573
28585
  description: 'string',
28574
28586
  networkInterfaceId: 'string',
@@ -35485,26 +35497,32 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationArn extends $t
35485
35497
  }
35486
35498
 
35487
35499
  export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk extends $tea.Model {
35500
+ burstingEnabled?: boolean;
35488
35501
  category?: string;
35489
35502
  deleteWithInstance?: boolean;
35490
35503
  description?: string;
35491
35504
  device?: string;
35492
35505
  diskName?: string;
35506
+ encryptAlgorithm?: string;
35493
35507
  encrypted?: boolean;
35494
35508
  kmsKeyId?: string;
35495
35509
  performanceLevel?: string;
35510
+ provisionedIops?: number;
35496
35511
  size?: number;
35497
35512
  snapshotId?: string;
35498
35513
  static names(): { [key: string]: string } {
35499
35514
  return {
35515
+ burstingEnabled: 'BurstingEnabled',
35500
35516
  category: 'Category',
35501
35517
  deleteWithInstance: 'DeleteWithInstance',
35502
35518
  description: 'Description',
35503
35519
  device: 'Device',
35504
35520
  diskName: 'DiskName',
35521
+ encryptAlgorithm: 'EncryptAlgorithm',
35505
35522
  encrypted: 'Encrypted',
35506
35523
  kmsKeyId: 'KmsKeyId',
35507
35524
  performanceLevel: 'PerformanceLevel',
35525
+ provisionedIops: 'ProvisionedIops',
35508
35526
  size: 'Size',
35509
35527
  snapshotId: 'SnapshotId',
35510
35528
  };
@@ -35512,14 +35530,17 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
35512
35530
 
35513
35531
  static types(): { [key: string]: any } {
35514
35532
  return {
35533
+ burstingEnabled: 'boolean',
35515
35534
  category: 'string',
35516
35535
  deleteWithInstance: 'boolean',
35517
35536
  description: 'string',
35518
35537
  device: 'string',
35519
35538
  diskName: 'string',
35539
+ encryptAlgorithm: 'string',
35520
35540
  encrypted: 'boolean',
35521
35541
  kmsKeyId: 'string',
35522
35542
  performanceLevel: 'string',
35543
+ provisionedIops: 'number',
35523
35544
  size: 'number',
35524
35545
  snapshotId: 'string',
35525
35546
  };
@@ -35531,22 +35552,28 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
35531
35552
  }
35532
35553
 
35533
35554
  export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk extends $tea.Model {
35555
+ burstingEnabled?: boolean;
35534
35556
  encryptAlgorithm?: string;
35535
35557
  encrypted?: string;
35536
35558
  KMSKeyId?: string;
35559
+ provisionedIops?: number;
35537
35560
  static names(): { [key: string]: string } {
35538
35561
  return {
35562
+ burstingEnabled: 'BurstingEnabled',
35539
35563
  encryptAlgorithm: 'EncryptAlgorithm',
35540
35564
  encrypted: 'Encrypted',
35541
35565
  KMSKeyId: 'KMSKeyId',
35566
+ provisionedIops: 'ProvisionedIops',
35542
35567
  };
35543
35568
  }
35544
35569
 
35545
35570
  static types(): { [key: string]: any } {
35546
35571
  return {
35572
+ burstingEnabled: 'boolean',
35547
35573
  encryptAlgorithm: 'string',
35548
35574
  encrypted: 'string',
35549
35575
  KMSKeyId: 'string',
35576
+ provisionedIops: 'number',
35550
35577
  };
35551
35578
  }
35552
35579
 
@@ -36825,6 +36852,31 @@ export class CreateNatGatewayResponseBodyForwardTableIds extends $tea.Model {
36825
36852
  }
36826
36853
  }
36827
36854
 
36855
+ export class CreateNetworkInterfaceRequestConnectionTrackingConfiguration extends $tea.Model {
36856
+ tcpClosedAndTimeWaitTimeout?: number;
36857
+ tcpEstablishedTimeout?: number;
36858
+ udpTimeout?: number;
36859
+ static names(): { [key: string]: string } {
36860
+ return {
36861
+ tcpClosedAndTimeWaitTimeout: 'TcpClosedAndTimeWaitTimeout',
36862
+ tcpEstablishedTimeout: 'TcpEstablishedTimeout',
36863
+ udpTimeout: 'UdpTimeout',
36864
+ };
36865
+ }
36866
+
36867
+ static types(): { [key: string]: any } {
36868
+ return {
36869
+ tcpClosedAndTimeWaitTimeout: 'number',
36870
+ tcpEstablishedTimeout: 'number',
36871
+ udpTimeout: 'number',
36872
+ };
36873
+ }
36874
+
36875
+ constructor(map?: { [key: string]: any }) {
36876
+ super(map);
36877
+ }
36878
+ }
36879
+
36828
36880
  export class CreateNetworkInterfaceRequestTag extends $tea.Model {
36829
36881
  key?: string;
36830
36882
  value?: string;
@@ -41299,6 +41351,25 @@ export class DescribeDisksResponseBodyDisksDiskOperationLocks extends $tea.Model
41299
41351
  }
41300
41352
  }
41301
41353
 
41354
+ export class DescribeDisksResponseBodyDisksDiskPlacement extends $tea.Model {
41355
+ zoneIds?: string;
41356
+ static names(): { [key: string]: string } {
41357
+ return {
41358
+ zoneIds: 'ZoneIds',
41359
+ };
41360
+ }
41361
+
41362
+ static types(): { [key: string]: any } {
41363
+ return {
41364
+ zoneIds: 'string',
41365
+ };
41366
+ }
41367
+
41368
+ constructor(map?: { [key: string]: any }) {
41369
+ super(map);
41370
+ }
41371
+ }
41372
+
41302
41373
  export class DescribeDisksResponseBodyDisksDiskTagsTag extends $tea.Model {
41303
41374
  tagKey?: string;
41304
41375
  tagValue?: string;
@@ -41371,6 +41442,7 @@ export class DescribeDisksResponseBodyDisksDisk extends $tea.Model {
41371
41442
  multiAttach?: string;
41372
41443
  operationLocks?: DescribeDisksResponseBodyDisksDiskOperationLocks;
41373
41444
  performanceLevel?: string;
41445
+ placement?: DescribeDisksResponseBodyDisksDiskPlacement;
41374
41446
  portable?: boolean;
41375
41447
  productCode?: string;
41376
41448
  provisionedIops?: number;
@@ -41421,6 +41493,7 @@ export class DescribeDisksResponseBodyDisksDisk extends $tea.Model {
41421
41493
  multiAttach: 'MultiAttach',
41422
41494
  operationLocks: 'OperationLocks',
41423
41495
  performanceLevel: 'PerformanceLevel',
41496
+ placement: 'Placement',
41424
41497
  portable: 'Portable',
41425
41498
  productCode: 'ProductCode',
41426
41499
  provisionedIops: 'ProvisionedIops',
@@ -41474,6 +41547,7 @@ export class DescribeDisksResponseBodyDisksDisk extends $tea.Model {
41474
41547
  multiAttach: 'string',
41475
41548
  operationLocks: DescribeDisksResponseBodyDisksDiskOperationLocks,
41476
41549
  performanceLevel: 'string',
41550
+ placement: DescribeDisksResponseBodyDisksDiskPlacement,
41477
41551
  portable: 'boolean',
41478
41552
  productCode: 'string',
41479
41553
  provisionedIops: 'number',
@@ -47614,6 +47688,31 @@ export class DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecifica
47614
47688
  }
47615
47689
  }
47616
47690
 
47691
+ export class DescribeNetworkInterfaceAttributeResponseBodyConnectionTrackingConfiguration extends $tea.Model {
47692
+ tcpClosedAndTimeWaitTimeout?: number;
47693
+ tcpEstablishedTimeout?: number;
47694
+ udpTimeout?: number;
47695
+ static names(): { [key: string]: string } {
47696
+ return {
47697
+ tcpClosedAndTimeWaitTimeout: 'TcpClosedAndTimeWaitTimeout',
47698
+ tcpEstablishedTimeout: 'TcpEstablishedTimeout',
47699
+ udpTimeout: 'UdpTimeout',
47700
+ };
47701
+ }
47702
+
47703
+ static types(): { [key: string]: any } {
47704
+ return {
47705
+ tcpClosedAndTimeWaitTimeout: 'number',
47706
+ tcpEstablishedTimeout: 'number',
47707
+ udpTimeout: 'number',
47708
+ };
47709
+ }
47710
+
47711
+ constructor(map?: { [key: string]: any }) {
47712
+ super(map);
47713
+ }
47714
+ }
47715
+
47617
47716
  export class DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSetsIpv4PrefixSet extends $tea.Model {
47618
47717
  ipv4Prefix?: string;
47619
47718
  static names(): { [key: string]: string } {
@@ -53964,6 +54063,31 @@ export class ModifyManagedInstanceResponseBodyInstance extends $tea.Model {
53964
54063
  }
53965
54064
  }
53966
54065
 
54066
+ export class ModifyNetworkInterfaceAttributeRequestConnectionTrackingConfiguration extends $tea.Model {
54067
+ tcpClosedAndTimeWaitTimeout?: number;
54068
+ tcpEstablishedTimeout?: number;
54069
+ udpTimeout?: number;
54070
+ static names(): { [key: string]: string } {
54071
+ return {
54072
+ tcpClosedAndTimeWaitTimeout: 'TcpClosedAndTimeWaitTimeout',
54073
+ tcpEstablishedTimeout: 'TcpEstablishedTimeout',
54074
+ udpTimeout: 'UdpTimeout',
54075
+ };
54076
+ }
54077
+
54078
+ static types(): { [key: string]: any } {
54079
+ return {
54080
+ tcpClosedAndTimeWaitTimeout: 'number',
54081
+ tcpEstablishedTimeout: 'number',
54082
+ udpTimeout: 'number',
54083
+ };
54084
+ }
54085
+
54086
+ constructor(map?: { [key: string]: any }) {
54087
+ super(map);
54088
+ }
54089
+ }
54090
+
53967
54091
  export class ModifyPrefixListRequestAddEntry extends $tea.Model {
53968
54092
  cidr?: string;
53969
54093
  description?: string;
@@ -56369,6 +56493,10 @@ export default class Client extends OpenApi {
56369
56493
  query["DiskId"] = request.diskId;
56370
56494
  }
56371
56495
 
56496
+ if (!Util.isUnset(request.force)) {
56497
+ query["Force"] = request.force;
56498
+ }
56499
+
56372
56500
  if (!Util.isUnset(request.instanceId)) {
56373
56501
  query["InstanceId"] = request.instanceId;
56374
56502
  }
@@ -59289,18 +59417,20 @@ export default class Client extends OpenApi {
59289
59417
  }
59290
59418
 
59291
59419
  /**
59292
- * When you call this operation, take note of the following items:
59293
- * * You can use the created custom image only when the image is in the Available state.
59294
- * * If the responses contain `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons. In this case, no operation can be performed on the instance.
59295
- * You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more parameters, the custom image is created based on the parameter that has a higher priority.
59296
- * * **Method 1**: Create a custom image from an instance. You need to only specify the instance ID (`InstanceId`). The instance must be in the `Running` or `Stopped` state. After the CreateImage operation is called, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, some cache data may not be written to the disks. As a result, the data of the created custom image may be slightly inconsistent with that of the instance. We recommend that you create custom images from instances after you stop the instances ([StopInstances](~~155372~~)).
59297
- * * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot (`SnapshotId`). The specified snapshot must be created on or after July 15, 2013.
59298
- * * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots (`DiskDeviceMapping`).
59299
- * When you use method 3 to create a custom image, take note of the following items:
59300
- * * You can specify only one system disk snapshot. The device name of the system disk must be /dev/xvda.
59301
- * * You can specify multiple data disk snapshots. The device names of the data disks must be unique and in alphabetical order from /dev/xvdb to /dev/xvdz.
59302
- * * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk with a specified size is created.
59303
- * * The specified disk snapshot must be created on or after July 15, 2013.
59420
+ * ## [](#)Usage notes
59421
+ * Take note of the following items:
59422
+ * * You can use the created custom image only if the image is in the Available (Available) state.
59423
+ * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons. No operations are allowed on the instance.
59424
+ * * To optimize the image, we recommend that you specify DetectionStrategy when you create the image. For more information, see [Overview of image check](~~439819~~).
59425
+ * You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more of these parameters, the custom image is created based on the parameter that has a higher priority.
59426
+ * * **Method 1**: Create a custom image from an instance. You need to only specify the ID of the instance by using `InstanceId`. The instance must be in the Running (`Running`) or Stopped (`Stopped`) state. After you call the CreateImage operation, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, cache data may not be written to disks. In this case, the data of the custom image may be slightly different from the data of the instance. We recommend that you stop instances by calling the [StopInstances](~~155372~~) operation before you create custom images from the instances.
59427
+ * * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot by using `SnapshotId`. The specified system disk snapshot must be created after July 15, 2013.
59428
+ * * **Method 3**: Create a custom image from multiple disk snapshots. You must specify data mappings between the snapshots and the disks to be created by using the parameters that start with `DiskDeviceMapping`.
59429
+ * When you use Method 3 to create a custom image, take note of the following items:
59430
+ * * You can specify only one snapshot to use to create the system disk in the custom image. The device name of the system disk must be /dev/xvda.
59431
+ * * You can specify up to 16 snapshots to use to create data disks in the custom image. The device names of the data disks are unique and range from /dev/xvdb to /dev/xvdz in alphabetical order.
59432
+ * * You can leave `SnapshotId` empty. In this case, an empty data disk with the specified size is created.
59433
+ * * The specified disk snapshot must be created after July 15, 2013.
59304
59434
  *
59305
59435
  * @param request CreateImageRequest
59306
59436
  * @param runtime runtime options for this request RuntimeOptions
@@ -59403,18 +59533,20 @@ export default class Client extends OpenApi {
59403
59533
  }
59404
59534
 
59405
59535
  /**
59406
- * When you call this operation, take note of the following items:
59407
- * * You can use the created custom image only when the image is in the Available state.
59408
- * * If the responses contain `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons. In this case, no operation can be performed on the instance.
59409
- * You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more parameters, the custom image is created based on the parameter that has a higher priority.
59410
- * * **Method 1**: Create a custom image from an instance. You need to only specify the instance ID (`InstanceId`). The instance must be in the `Running` or `Stopped` state. After the CreateImage operation is called, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, some cache data may not be written to the disks. As a result, the data of the created custom image may be slightly inconsistent with that of the instance. We recommend that you create custom images from instances after you stop the instances ([StopInstances](~~155372~~)).
59411
- * * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot (`SnapshotId`). The specified snapshot must be created on or after July 15, 2013.
59412
- * * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots (`DiskDeviceMapping`).
59413
- * When you use method 3 to create a custom image, take note of the following items:
59414
- * * You can specify only one system disk snapshot. The device name of the system disk must be /dev/xvda.
59415
- * * You can specify multiple data disk snapshots. The device names of the data disks must be unique and in alphabetical order from /dev/xvdb to /dev/xvdz.
59416
- * * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk with a specified size is created.
59417
- * * The specified disk snapshot must be created on or after July 15, 2013.
59536
+ * ## [](#)Usage notes
59537
+ * Take note of the following items:
59538
+ * * You can use the created custom image only if the image is in the Available (Available) state.
59539
+ * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons. No operations are allowed on the instance.
59540
+ * * To optimize the image, we recommend that you specify DetectionStrategy when you create the image. For more information, see [Overview of image check](~~439819~~).
59541
+ * You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more of these parameters, the custom image is created based on the parameter that has a higher priority.
59542
+ * * **Method 1**: Create a custom image from an instance. You need to only specify the ID of the instance by using `InstanceId`. The instance must be in the Running (`Running`) or Stopped (`Stopped`) state. After you call the CreateImage operation, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, cache data may not be written to disks. In this case, the data of the custom image may be slightly different from the data of the instance. We recommend that you stop instances by calling the [StopInstances](~~155372~~) operation before you create custom images from the instances.
59543
+ * * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot by using `SnapshotId`. The specified system disk snapshot must be created after July 15, 2013.
59544
+ * * **Method 3**: Create a custom image from multiple disk snapshots. You must specify data mappings between the snapshots and the disks to be created by using the parameters that start with `DiskDeviceMapping`.
59545
+ * When you use Method 3 to create a custom image, take note of the following items:
59546
+ * * You can specify only one snapshot to use to create the system disk in the custom image. The device name of the system disk must be /dev/xvda.
59547
+ * * You can specify up to 16 snapshots to use to create data disks in the custom image. The device names of the data disks are unique and range from /dev/xvdb to /dev/xvdz in alphabetical order.
59548
+ * * You can leave `SnapshotId` empty. In this case, an empty data disk with the specified size is created.
59549
+ * * The specified disk snapshot must be created after July 15, 2013.
59418
59550
  *
59419
59551
  * @param request CreateImageRequest
59420
59552
  * @return CreateImageResponse
@@ -60347,7 +60479,8 @@ export default class Client extends OpenApi {
60347
60479
  }
60348
60480
 
60349
60481
  /**
60350
- * If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. A maximum of 30 versions can be created for each launch template.
60482
+ * ## [](#)Usage notes
60483
+ * If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. You can create up to 30 versions for each launch template.
60351
60484
  *
60352
60485
  * @param request CreateLaunchTemplateVersionRequest
60353
60486
  * @param runtime runtime options for this request RuntimeOptions
@@ -60562,7 +60695,8 @@ export default class Client extends OpenApi {
60562
60695
  }
60563
60696
 
60564
60697
  /**
60565
- * If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. A maximum of 30 versions can be created for each launch template.
60698
+ * ## [](#)Usage notes
60699
+ * If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. You can create up to 30 versions for each launch template.
60566
60700
  *
60567
60701
  * @param request CreateLaunchTemplateVersionRequest
60568
60702
  * @return CreateLaunchTemplateVersionResponse
@@ -60679,6 +60813,10 @@ export default class Client extends OpenApi {
60679
60813
  query["ClientToken"] = request.clientToken;
60680
60814
  }
60681
60815
 
60816
+ if (!Util.isUnset(request.connectionTrackingConfiguration)) {
60817
+ query["ConnectionTrackingConfiguration"] = request.connectionTrackingConfiguration;
60818
+ }
60819
+
60682
60820
  if (!Util.isUnset(request.deleteOnRelease)) {
60683
60821
  query["DeleteOnRelease"] = request.deleteOnRelease;
60684
60822
  }
@@ -69045,11 +69183,11 @@ export default class Client extends OpenApi {
69045
69183
  }
69046
69184
 
69047
69185
  /**
69048
- * ## Usage notes
69049
- * Before you call this operation, take note of the following items:
69050
- * * The MaxResults parameter specifies the maximum number of entries to return on each page. The maximum value of this parameter is changed from 1600 to 100. If you called this operation in 2022, you can continue to use 1600 as the maximum value of MaxResults until November 15, 2023. As of November 15, 2023, only 100 can be used as the maximum value of MaxResults. If you do not specify the NextToken parameter when you call the DescribeInstanceTypes operation, only the first page of results that contains up to 100 entries is returned. If you want to retrieve more results, specify the NextToken parameter to perform paged queries, or specify filter conditions to filter results.
69051
- * * We recommend that you specify the MaxResults and NextToken parameters to perform paged queries. The first time you call the DescribeInstanceTypes operation, specify MaxResults to limit the maximum number of entries to return in the call. If the number of entries to return exceeds the specified value of MaxResults, the response includes a NextToken value. You can set NextToken to this return value and specify MaxResults in your next request to DescribeInstanceTypes to retrieve the next page of results.
69052
- * * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a specified region, call the [DescribeAvailableResource](~~66186~~) operation.
69186
+ * ## [](#)Usage notes
69187
+ * Take note of the following items:
69188
+ * * MaxResults specifies the maximum number of entries per page. The maximum value of this parameter is changed from 1600 to 100. As of November 15, 2023, only 100 can be used as the maximum value of MaxResults. If you called the DescribeInstanceTypes operation in 2022, you can use 1600 as the maximum value before November 15, 2023. If you do not specify NextToken when you call the DescribeInstanceTypes operation, only the first page of results that contains up to 100 entries is returned. If you want to retrieve more results, specify NextToken to perform paged queries, or specify filter conditions to filter results.
69189
+ * * We recommend that you specify MaxResults and NextToken to perform paged queries. The first time you call the DescribeInstanceTypes operation, set MaxResults to specify the maximum number of entries to return in a single call. If the number of entries to return exceeds the specified MaxResults value, the response includes a NextToken value. You can set NextToken to the returned value and specify MaxResults in your next request to DescribeInstanceTypes to retrieve the next page of results.
69190
+ * * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a specific region, call the [DescribeAvailableResource](~~66186~~) operation.
69053
69191
  * * To use special instance types such as instance types that are unavailable for purchase, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
69054
69192
  *
69055
69193
  * @param request DescribeInstanceTypesRequest
@@ -69265,11 +69403,11 @@ export default class Client extends OpenApi {
69265
69403
  }
69266
69404
 
69267
69405
  /**
69268
- * ## Usage notes
69269
- * Before you call this operation, take note of the following items:
69270
- * * The MaxResults parameter specifies the maximum number of entries to return on each page. The maximum value of this parameter is changed from 1600 to 100. If you called this operation in 2022, you can continue to use 1600 as the maximum value of MaxResults until November 15, 2023. As of November 15, 2023, only 100 can be used as the maximum value of MaxResults. If you do not specify the NextToken parameter when you call the DescribeInstanceTypes operation, only the first page of results that contains up to 100 entries is returned. If you want to retrieve more results, specify the NextToken parameter to perform paged queries, or specify filter conditions to filter results.
69271
- * * We recommend that you specify the MaxResults and NextToken parameters to perform paged queries. The first time you call the DescribeInstanceTypes operation, specify MaxResults to limit the maximum number of entries to return in the call. If the number of entries to return exceeds the specified value of MaxResults, the response includes a NextToken value. You can set NextToken to this return value and specify MaxResults in your next request to DescribeInstanceTypes to retrieve the next page of results.
69272
- * * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a specified region, call the [DescribeAvailableResource](~~66186~~) operation.
69406
+ * ## [](#)Usage notes
69407
+ * Take note of the following items:
69408
+ * * MaxResults specifies the maximum number of entries per page. The maximum value of this parameter is changed from 1600 to 100. As of November 15, 2023, only 100 can be used as the maximum value of MaxResults. If you called the DescribeInstanceTypes operation in 2022, you can use 1600 as the maximum value before November 15, 2023. If you do not specify NextToken when you call the DescribeInstanceTypes operation, only the first page of results that contains up to 100 entries is returned. If you want to retrieve more results, specify NextToken to perform paged queries, or specify filter conditions to filter results.
69409
+ * * We recommend that you specify MaxResults and NextToken to perform paged queries. The first time you call the DescribeInstanceTypes operation, set MaxResults to specify the maximum number of entries to return in a single call. If the number of entries to return exceeds the specified MaxResults value, the response includes a NextToken value. You can set NextToken to the returned value and specify MaxResults in your next request to DescribeInstanceTypes to retrieve the next page of results.
69410
+ * * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a specific region, call the [DescribeAvailableResource](~~66186~~) operation.
69273
69411
  * * To use special instance types such as instance types that are unavailable for purchase, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
69274
69412
  *
69275
69413
  * @param request DescribeInstanceTypesRequest
@@ -75632,20 +75770,20 @@ export default class Client extends OpenApi {
75632
75770
 
75633
75771
  /**
75634
75772
  * ## [](#)Usage notes
75635
- * * The Elastic Compute Service (ECS) instances on which you want to run the Cloud Assistant command must meet the following requirements. If multiple ECS instances are specified and one of the instances does not meet the requirements for running the command, the call fails. You must specify instances that meet the requirements and call the InvokeCommand operation again.
75773
+ * * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If multiple ECS instances are specified and one of the instances does not meet the requirements for running the command, the call fails. You must specify instances that meet the requirements and call the InvokeCommand operation again.
75636
75774
  * * The instances are in the Running (`Running`) state. You can call the [DescribeInstances](~~25506~~) operation to query the status of instances.
75637
- * * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent on an ECS instance](~~64921~~).
75638
- * * Before you run PowerShell commands on the instances, make sure that the instances have the PowerShell module configured.
75775
+ * * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
75776
+ * * If the command is a PowerShell command, make sure that the instances have the PowerShell module configured.
75639
75777
  * * You can configure the command to run only once on the instances.
75640
- * * You can configure the command to run multiple times on the instances based on a schedule.
75641
- * * The schedule is specified by the Frequency parameter. The results of each execution of the command do not affect the next execution of the command.
75642
- * * If you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instances meets your business requirements. For more information, see [Manage the time synchronization service](~~92803~~).[](~~51890~~)
75643
- * To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following ones. A scheduled task can run a command at a fixed interval, only once at a specific time, or at specific times based on a cron expression in a specified year or time zone. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
75778
+ * * You can configure the command to run on the instances based on a schedule.
75779
+ * * The schedule is specified by Frequency. The results of each execution of the command do not affect the next execution of the command.
75780
+ * * When you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instances. Make sure that the time or time zone of the instances meets your business requirements. For more information, see [Manage the time synchronization service](~~92704~~).
75781
+ * To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following versions. A scheduled task can run a command at a fixed interval, only once at a specific time, or at specific times based on a cron expression in a specified year or time zone. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
75644
75782
  * * Linux: 2.2.3.282
75645
75783
  * * Windows: 2.1.3.282
75646
75784
  * * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If a command execution fails, no execution information is generated. For more information, see [Check execution results and troubleshoot common issues](~~87029~~).
75647
75785
  * * If you enable the custom parameter feature when you create the command, you must specify custom parameters (`Parameters`) to run the command.
75648
- * * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances. Run the command when the return value of CloudAssistantStatus is true.
75786
+ * * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances and run the command when the value of CloudAssistantStatus in the response is true for the instances.
75649
75787
  *
75650
75788
  * @param tmpReq InvokeCommandRequest
75651
75789
  * @param runtime runtime options for this request RuntimeOptions
@@ -75763,20 +75901,20 @@ export default class Client extends OpenApi {
75763
75901
 
75764
75902
  /**
75765
75903
  * ## [](#)Usage notes
75766
- * * The Elastic Compute Service (ECS) instances on which you want to run the Cloud Assistant command must meet the following requirements. If multiple ECS instances are specified and one of the instances does not meet the requirements for running the command, the call fails. You must specify instances that meet the requirements and call the InvokeCommand operation again.
75904
+ * * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If multiple ECS instances are specified and one of the instances does not meet the requirements for running the command, the call fails. You must specify instances that meet the requirements and call the InvokeCommand operation again.
75767
75905
  * * The instances are in the Running (`Running`) state. You can call the [DescribeInstances](~~25506~~) operation to query the status of instances.
75768
- * * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent on an ECS instance](~~64921~~).
75769
- * * Before you run PowerShell commands on the instances, make sure that the instances have the PowerShell module configured.
75906
+ * * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
75907
+ * * If the command is a PowerShell command, make sure that the instances have the PowerShell module configured.
75770
75908
  * * You can configure the command to run only once on the instances.
75771
- * * You can configure the command to run multiple times on the instances based on a schedule.
75772
- * * The schedule is specified by the Frequency parameter. The results of each execution of the command do not affect the next execution of the command.
75773
- * * If you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instances meets your business requirements. For more information, see [Manage the time synchronization service](~~92803~~).[](~~51890~~)
75774
- * To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following ones. A scheduled task can run a command at a fixed interval, only once at a specific time, or at specific times based on a cron expression in a specified year or time zone. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
75909
+ * * You can configure the command to run on the instances based on a schedule.
75910
+ * * The schedule is specified by Frequency. The results of each execution of the command do not affect the next execution of the command.
75911
+ * * When you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instances. Make sure that the time or time zone of the instances meets your business requirements. For more information, see [Manage the time synchronization service](~~92704~~).
75912
+ * To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following versions. A scheduled task can run a command at a fixed interval, only once at a specific time, or at specific times based on a cron expression in a specified year or time zone. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
75775
75913
  * * Linux: 2.2.3.282
75776
75914
  * * Windows: 2.1.3.282
75777
75915
  * * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If a command execution fails, no execution information is generated. For more information, see [Check execution results and troubleshoot common issues](~~87029~~).
75778
75916
  * * If you enable the custom parameter feature when you create the command, you must specify custom parameters (`Parameters`) to run the command.
75779
- * * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances. Run the command when the return value of CloudAssistantStatus is true.
75917
+ * * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances and run the command when the value of CloudAssistantStatus in the response is true for the instances.
75780
75918
  *
75781
75919
  * @param request InvokeCommandRequest
75782
75920
  * @return InvokeCommandResponse
@@ -79795,6 +79933,10 @@ export default class Client extends OpenApi {
79795
79933
  async modifyNetworkInterfaceAttributeWithOptions(request: ModifyNetworkInterfaceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNetworkInterfaceAttributeResponse> {
79796
79934
  Util.validateModel(request);
79797
79935
  let query = { };
79936
+ if (!Util.isUnset(request.connectionTrackingConfiguration)) {
79937
+ query["ConnectionTrackingConfiguration"] = request.connectionTrackingConfiguration;
79938
+ }
79939
+
79798
79940
  if (!Util.isUnset(request.deleteOnRelease)) {
79799
79941
  query["DeleteOnRelease"] = request.deleteOnRelease;
79800
79942
  }
@@ -83332,7 +83474,13 @@ export default class Client extends OpenApi {
83332
83474
  }
83333
83475
 
83334
83476
  /**
83335
- * The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
83477
+ * ## [](#)Usage notes
83478
+ * > Before you call this operation to resize a disk, you must check the partition format of the disk. A master boot record (MBR) disk cannot be resized to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend that you perform the following steps: Create another data disk that is larger than 2 TiB in size, partition and format the new data disk to GUID partition table (GPT), and then copy data from the MBR disk to the new GPT data disk. For more information, see [Step 1: Resize a disk to extend its capacity](~~44986~~).
83479
+ * * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), SSDs (`cloud_ssd`), enhanced SSDs (ESSDs)(`cloud_essd`), and ESSD AutoPL disks (cloud_auto).
83480
+ * * A disk cannot be resized when a snapshot is being created for the disk.
83481
+ * * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
83482
+ * * After you resize a disk, the partitions and file systems of the disk are not changed. You must allocate the storage space on the disk after the disk is resized.
83483
+ * * Disks for which the multi-attach feature is enabled support online resizing and offline resizing. Before you resize the disks offline, make sure that the instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
83336
83484
  *
83337
83485
  * @param request ResizeDiskRequest
83338
83486
  * @param runtime runtime options for this request RuntimeOptions
@@ -83391,7 +83539,13 @@ export default class Client extends OpenApi {
83391
83539
  }
83392
83540
 
83393
83541
  /**
83394
- * The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
83542
+ * ## [](#)Usage notes
83543
+ * > Before you call this operation to resize a disk, you must check the partition format of the disk. A master boot record (MBR) disk cannot be resized to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend that you perform the following steps: Create another data disk that is larger than 2 TiB in size, partition and format the new data disk to GUID partition table (GPT), and then copy data from the MBR disk to the new GPT data disk. For more information, see [Step 1: Resize a disk to extend its capacity](~~44986~~).
83544
+ * * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), SSDs (`cloud_ssd`), enhanced SSDs (ESSDs)(`cloud_essd`), and ESSD AutoPL disks (cloud_auto).
83545
+ * * A disk cannot be resized when a snapshot is being created for the disk.
83546
+ * * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
83547
+ * * After you resize a disk, the partitions and file systems of the disk are not changed. You must allocate the storage space on the disk after the disk is resized.
83548
+ * * Disks for which the multi-attach feature is enabled support online resizing and offline resizing. Before you resize the disks offline, make sure that the instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
83395
83549
  *
83396
83550
  * @param request ResizeDiskRequest
83397
83551
  * @return ResizeDiskResponse