@alicloud/ecs20140526 3.0.6 → 3.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -1983,6 +1983,7 @@ class CopySnapshotRequest extends $tea.Model {
1983
1983
  destinationRegionId: 'DestinationRegionId',
1984
1984
  destinationSnapshotDescription: 'DestinationSnapshotDescription',
1985
1985
  destinationSnapshotName: 'DestinationSnapshotName',
1986
+ destinationStorageLocationArn: 'DestinationStorageLocationArn',
1986
1987
  encrypted: 'Encrypted',
1987
1988
  KMSKeyId: 'KMSKeyId',
1988
1989
  ownerId: 'OwnerId',
@@ -2001,6 +2002,7 @@ class CopySnapshotRequest extends $tea.Model {
2001
2002
  destinationRegionId: 'string',
2002
2003
  destinationSnapshotDescription: 'string',
2003
2004
  destinationSnapshotName: 'string',
2005
+ destinationStorageLocationArn: 'string',
2004
2006
  encrypted: 'boolean',
2005
2007
  KMSKeyId: 'string',
2006
2008
  ownerId: 'number',
@@ -3784,6 +3786,7 @@ class CreateLaunchTemplateRequest extends $tea.Model {
3784
3786
  systemDisk: 'SystemDisk',
3785
3787
  autoReleaseTime: 'AutoReleaseTime',
3786
3788
  dataDisk: 'DataDisk',
3789
+ deletionProtection: 'DeletionProtection',
3787
3790
  deploymentSetId: 'DeploymentSetId',
3788
3791
  description: 'Description',
3789
3792
  enableVmOsConfig: 'EnableVmOsConfig',
@@ -3833,6 +3836,7 @@ class CreateLaunchTemplateRequest extends $tea.Model {
3833
3836
  systemDisk: CreateLaunchTemplateRequestSystemDisk,
3834
3837
  autoReleaseTime: 'string',
3835
3838
  dataDisk: { 'type': 'array', 'itemType': CreateLaunchTemplateRequestDataDisk },
3839
+ deletionProtection: 'boolean',
3836
3840
  deploymentSetId: 'string',
3837
3841
  description: 'string',
3838
3842
  enableVmOsConfig: 'boolean',
@@ -3926,6 +3930,7 @@ class CreateLaunchTemplateVersionRequest extends $tea.Model {
3926
3930
  systemDisk: 'SystemDisk',
3927
3931
  autoReleaseTime: 'AutoReleaseTime',
3928
3932
  dataDisk: 'DataDisk',
3933
+ deletionProtection: 'DeletionProtection',
3929
3934
  deploymentSetId: 'DeploymentSetId',
3930
3935
  description: 'Description',
3931
3936
  enableVmOsConfig: 'EnableVmOsConfig',
@@ -3974,6 +3979,7 @@ class CreateLaunchTemplateVersionRequest extends $tea.Model {
3974
3979
  systemDisk: CreateLaunchTemplateVersionRequestSystemDisk,
3975
3980
  autoReleaseTime: 'string',
3976
3981
  dataDisk: { 'type': 'array', 'itemType': CreateLaunchTemplateVersionRequestDataDisk },
3982
+ deletionProtection: 'boolean',
3977
3983
  deploymentSetId: 'string',
3978
3984
  description: 'string',
3979
3985
  enableVmOsConfig: 'boolean',
@@ -22339,6 +22345,7 @@ class ModifySnapshotAttributeRequest extends $tea.Model {
22339
22345
  ownerId: 'OwnerId',
22340
22346
  resourceOwnerAccount: 'ResourceOwnerAccount',
22341
22347
  resourceOwnerId: 'ResourceOwnerId',
22348
+ retentionDays: 'RetentionDays',
22342
22349
  snapshotId: 'SnapshotId',
22343
22350
  snapshotName: 'SnapshotName',
22344
22351
  };
@@ -22351,6 +22358,7 @@ class ModifySnapshotAttributeRequest extends $tea.Model {
22351
22358
  ownerId: 'number',
22352
22359
  resourceOwnerAccount: 'string',
22353
22360
  resourceOwnerId: 'number',
22361
+ retentionDays: 'number',
22354
22362
  snapshotId: 'string',
22355
22363
  snapshotName: 'string',
22356
22364
  };
@@ -24912,6 +24920,7 @@ class RunInstancesRequest extends $tea.Model {
24912
24920
  affinity: 'Affinity',
24913
24921
  amount: 'Amount',
24914
24922
  arn: 'Arn',
24923
+ autoPay: 'AutoPay',
24915
24924
  autoReleaseTime: 'AutoReleaseTime',
24916
24925
  autoRenew: 'AutoRenew',
24917
24926
  autoRenewPeriod: 'AutoRenewPeriod',
@@ -24991,6 +25000,7 @@ class RunInstancesRequest extends $tea.Model {
24991
25000
  affinity: 'string',
24992
25001
  amount: 'number',
24993
25002
  arn: { 'type': 'array', 'itemType': RunInstancesRequestArn },
25003
+ autoPay: 'boolean',
24994
25004
  autoReleaseTime: 'string',
24995
25005
  autoRenew: 'boolean',
24996
25006
  autoRenewPeriod: 'number',
@@ -25459,6 +25469,7 @@ class StartTerminalSessionRequest extends $tea.Model {
25459
25469
  }
25460
25470
  static names() {
25461
25471
  return {
25472
+ commandLine: 'CommandLine',
25462
25473
  instanceId: 'InstanceId',
25463
25474
  ownerAccount: 'OwnerAccount',
25464
25475
  ownerId: 'OwnerId',
@@ -25466,10 +25477,12 @@ class StartTerminalSessionRequest extends $tea.Model {
25466
25477
  regionId: 'RegionId',
25467
25478
  resourceOwnerAccount: 'ResourceOwnerAccount',
25468
25479
  resourceOwnerId: 'ResourceOwnerId',
25480
+ targetServer: 'TargetServer',
25469
25481
  };
25470
25482
  }
25471
25483
  static types() {
25472
25484
  return {
25485
+ commandLine: 'string',
25473
25486
  instanceId: { 'type': 'array', 'itemType': 'string' },
25474
25487
  ownerAccount: 'string',
25475
25488
  ownerId: 'number',
@@ -25477,6 +25490,7 @@ class StartTerminalSessionRequest extends $tea.Model {
25477
25490
  regionId: 'string',
25478
25491
  resourceOwnerAccount: 'string',
25479
25492
  resourceOwnerId: 'number',
25493
+ targetServer: 'string',
25480
25494
  };
25481
25495
  }
25482
25496
  }
@@ -26927,6 +26941,7 @@ class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult extends $
26927
26941
  }
26928
26942
  static names() {
26929
26943
  return {
26944
+ amount: 'Amount',
26930
26945
  errorCode: 'ErrorCode',
26931
26946
  errorMsg: 'ErrorMsg',
26932
26947
  instanceIds: 'InstanceIds',
@@ -26937,6 +26952,7 @@ class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult extends $
26937
26952
  }
26938
26953
  static types() {
26939
26954
  return {
26955
+ amount: 'number',
26940
26956
  errorCode: 'string',
26941
26957
  errorMsg: 'string',
26942
26958
  instanceIds: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds,
@@ -33182,6 +33198,7 @@ class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInstanceSys
33182
33198
  punishType: 'PunishType',
33183
33199
  punishUrl: 'PunishUrl',
33184
33200
  rack: 'Rack',
33201
+ responseResult: 'ResponseResult',
33185
33202
  };
33186
33203
  }
33187
33204
  static types() {
@@ -33199,6 +33216,7 @@ class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInstanceSys
33199
33216
  punishType: 'string',
33200
33217
  punishUrl: 'string',
33201
33218
  rack: 'string',
33219
+ responseResult: 'string',
33202
33220
  };
33203
33221
  }
33204
33222
  }
@@ -35378,6 +35396,7 @@ class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchT
35378
35396
  systemDisk: 'SystemDisk',
35379
35397
  autoReleaseTime: 'AutoReleaseTime',
35380
35398
  dataDisks: 'DataDisks',
35399
+ deletionProtection: 'DeletionProtection',
35381
35400
  deploymentSetId: 'DeploymentSetId',
35382
35401
  description: 'Description',
35383
35402
  enableVmOsConfig: 'EnableVmOsConfig',
@@ -35418,6 +35437,7 @@ class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchT
35418
35437
  systemDisk: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk,
35419
35438
  autoReleaseTime: 'string',
35420
35439
  dataDisks: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisks,
35440
+ deletionProtection: 'boolean',
35421
35441
  deploymentSetId: 'string',
35422
35442
  description: 'string',
35423
35443
  enableVmOsConfig: 'boolean',
@@ -38389,6 +38409,7 @@ class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnap
38389
38409
  }
38390
38410
  static names() {
38391
38411
  return {
38412
+ available: 'Available',
38392
38413
  instantAccess: 'InstantAccess',
38393
38414
  instantAccessRetentionDays: 'InstantAccessRetentionDays',
38394
38415
  progress: 'Progress',
@@ -38400,6 +38421,7 @@ class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnap
38400
38421
  }
38401
38422
  static types() {
38402
38423
  return {
38424
+ available: 'boolean',
38403
38425
  instantAccess: 'boolean',
38404
38426
  instantAccessRetentionDays: 'number',
38405
38427
  progress: 'string',
@@ -38713,6 +38735,7 @@ class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
38713
38735
  }
38714
38736
  static names() {
38715
38737
  return {
38738
+ available: 'Available',
38716
38739
  category: 'Category',
38717
38740
  creationTime: 'CreationTime',
38718
38741
  description: 'Description',
@@ -38743,6 +38766,7 @@ class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
38743
38766
  }
38744
38767
  static types() {
38745
38768
  return {
38769
+ available: 'boolean',
38746
38770
  category: 'string',
38747
38771
  creationTime: 'string',
38748
38772
  description: 'string',
@@ -42292,9 +42316,10 @@ class Client extends openapi_client_1.default {
42292
42316
  return await this.assignIpv6AddressesWithOptions(request, runtime);
42293
42317
  }
42294
42318
  /**
42319
+ * ## Usage notes
42295
42320
  * * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
42296
42321
  * * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running (Running) or Stopped (Stopped) state.
42297
- * * When an ENI is in the Available (Available) state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [Overview of instance families](~~25378~~).
42322
+ * * When an ENI is in the Available state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [Overview of instance families](~~25378~~).
42298
42323
  * * After you call this operation for an ENI, you can obtain the secondary private IP addresses that are assigned to the ENI from the response.
42299
42324
  *
42300
42325
  * @param request AssignPrivateIpAddressesRequest
@@ -42357,9 +42382,10 @@ class Client extends openapi_client_1.default {
42357
42382
  return $tea.cast(await this.callApi(params, req, runtime), new AssignPrivateIpAddressesResponse({}));
42358
42383
  }
42359
42384
  /**
42385
+ * ## Usage notes
42360
42386
  * * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
42361
42387
  * * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running (Running) or Stopped (Stopped) state.
42362
- * * When an ENI is in the Available (Available) state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [Overview of instance families](~~25378~~).
42388
+ * * When an ENI is in the Available state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [Overview of instance families](~~25378~~).
42363
42389
  * * After you call this operation for an ENI, you can obtain the secondary private IP addresses that are assigned to the ENI from the response.
42364
42390
  *
42365
42391
  * @param request AssignPrivateIpAddressesRequest
@@ -42370,7 +42396,7 @@ class Client extends openapi_client_1.default {
42370
42396
  return await this.assignPrivateIpAddressesWithOptions(request, runtime);
42371
42397
  }
42372
42398
  /**
42373
- * @deprecated
42399
+ * @deprecated : AssociateEipAddress is deprecated, please use Vpc::2016-04-28::AssociateEipAddress instead.
42374
42400
  *
42375
42401
  * @param request AssociateEipAddressRequest
42376
42402
  * @param runtime runtime options for this request RuntimeOptions
@@ -42421,7 +42447,7 @@ class Client extends openapi_client_1.default {
42421
42447
  return $tea.cast(await this.callApi(params, req, runtime), new AssociateEipAddressResponse({}));
42422
42448
  }
42423
42449
  /**
42424
- * @deprecated
42450
+ * @deprecated : AssociateEipAddress is deprecated, please use Vpc::2016-04-28::AssociateEipAddress instead.
42425
42451
  *
42426
42452
  * @param request AssociateEipAddressRequest
42427
42453
  * @return AssociateEipAddressResponse
@@ -42555,16 +42581,16 @@ class Client extends openapi_client_1.default {
42555
42581
  }
42556
42582
  /**
42557
42583
  * When you call this operation, take note of the following items:
42558
- * * The disk to be attached must be in the **Unattached** (`Available`) state.
42584
+ * * The disk that you want to attach must be in the **Available** state.``
42559
42585
  * * When the disk is attached as a data disk, take note of the following items:
42560
- * * The instance must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
42586
+ * * The instance must be in the **Running** or **Stopped** state.````
42561
42587
  * * If the disk was separately purchased, the billing method of the disk must be pay-as-you-go.
42562
42588
  * * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
42563
42589
  * * When the disk is attached as a system disk, take note of the following items:
42564
42590
  * * The instance must be the original instance from which the system disk was detached.
42565
42591
  * * The instance must be in the **Stopped** state.``
42566
42592
  * * The logon credentials must be configured.
42567
- * * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
42593
+ * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and all operations are prohibited on the instance.
42568
42594
  *
42569
42595
  * @param request AttachDiskRequest
42570
42596
  * @param runtime runtime options for this request RuntimeOptions
@@ -42624,16 +42650,16 @@ class Client extends openapi_client_1.default {
42624
42650
  }
42625
42651
  /**
42626
42652
  * When you call this operation, take note of the following items:
42627
- * * The disk to be attached must be in the **Unattached** (`Available`) state.
42653
+ * * The disk that you want to attach must be in the **Available** state.``
42628
42654
  * * When the disk is attached as a data disk, take note of the following items:
42629
- * * The instance must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
42655
+ * * The instance must be in the **Running** or **Stopped** state.````
42630
42656
  * * If the disk was separately purchased, the billing method of the disk must be pay-as-you-go.
42631
42657
  * * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
42632
42658
  * * When the disk is attached as a system disk, take note of the following items:
42633
42659
  * * The instance must be the original instance from which the system disk was detached.
42634
42660
  * * The instance must be in the **Stopped** state.``
42635
42661
  * * The logon credentials must be configured.
42636
- * * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
42662
+ * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and all operations are prohibited on the instance.
42637
42663
  *
42638
42664
  * @param request AttachDiskRequest
42639
42665
  * @return AttachDiskResponse
@@ -42687,11 +42713,11 @@ class Client extends openapi_client_1.default {
42687
42713
  return await this.attachInstanceRamRoleWithOptions(request, runtime);
42688
42714
  }
42689
42715
  /**
42690
- * When you call this operation, take note of the following items:
42716
+ * Take note of the following items:
42691
42717
  * * SSH key pairs are not supported on Windows instances.
42692
42718
  * * If an SSH key pair is bound to an instance, authentication by using the username and password is disabled for the instance.
42693
- * * If you bind an SSH key pair to an instance in the **Running** (Running) state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
42694
- * * If you bind an SSH key pair to an instance in the **Stopped** state, you must call the [StartInstance](~~25500~~) operation to start the instance for the key pair to take effect.
42719
+ * * If you bind an SSH key pair to an instance in the **running** state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
42720
+ * * If you bind an SSH key pair to an instance in the **stopped** state, you must call the [StartInstance](~~25500~~) operation to start the instance for the key pair to take effect.
42695
42721
  * * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
42696
42722
  *
42697
42723
  * @param request AttachKeyPairRequest
@@ -42736,11 +42762,11 @@ class Client extends openapi_client_1.default {
42736
42762
  return $tea.cast(await this.callApi(params, req, runtime), new AttachKeyPairResponse({}));
42737
42763
  }
42738
42764
  /**
42739
- * When you call this operation, take note of the following items:
42765
+ * Take note of the following items:
42740
42766
  * * SSH key pairs are not supported on Windows instances.
42741
42767
  * * If an SSH key pair is bound to an instance, authentication by using the username and password is disabled for the instance.
42742
- * * If you bind an SSH key pair to an instance in the **Running** (Running) state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
42743
- * * If you bind an SSH key pair to an instance in the **Stopped** state, you must call the [StartInstance](~~25500~~) operation to start the instance for the key pair to take effect.
42768
+ * * If you bind an SSH key pair to an instance in the **running** state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
42769
+ * * If you bind an SSH key pair to an instance in the **stopped** state, you must call the [StartInstance](~~25500~~) operation to start the instance for the key pair to take effect.
42744
42770
  * * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
42745
42771
  *
42746
42772
  * @param request AttachKeyPairRequest
@@ -42838,18 +42864,18 @@ class Client extends openapi_client_1.default {
42838
42864
  return await this.attachNetworkInterfaceWithOptions(request, runtime);
42839
42865
  }
42840
42866
  /**
42841
- * In security group-related API documents, traffic is sent from the source to the destination.
42867
+ * In security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
42842
42868
  * When you call this operation, take note of the following items:
42843
- * * The total number of outbound and inbound rules of each security group cannot exceed 200. For more information, see the "Security group limits" section in [Limits](~~25412#SecurityGroupQuota1~~).
42844
- * * The valid values of Priority range from 1 to 100. A smaller value specifies a higher priority.
42869
+ * * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section of the [Limits](~~25412#SecurityGroupQuota1~~) topic.
42870
+ * * The valid value of Priority ranges from 1 to 100. A smaller value specifies a higher priority.
42845
42871
  * * If several security group rules have the same priority, drop rules take precedence.
42846
42872
  * * The source can be a CIDR block that is specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId. The source can also be Elastic Compute Service (ECS) instances in a security group that is specified by SourceGroupId.
42847
42873
  * * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
42848
42874
  * * You can reference up to 20 security groups as sources or destinations in the rules of each basic security group.
42849
- * * If the specified security group rule exists in the security group, the operation is successful but no security group rule is added to the security group.
42850
- * * The `Permissions.N` prefix is added to specific parameters to generate new parameters. You cannot specify the original parameters and the parameters that contain the Permissions.N prefix at the same time. We recommend that you use the parameters that contain the `Permissions.N` prefix.
42875
+ * * If the specified security group rule already exists in the security group, the call is successful but no security group rule is created.
42876
+ * * The `Permissions.N` prefix is added to specific parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
42851
42877
  * * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
42852
- * * Parameters that are used to specify an inbound security group rule that manages access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set NicType to intranet. For a security group of the classic network type, you can set NicType to internet or intranet. Sample request:
42878
+ * * Parameters used to determine an inbound security group rule that controls access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set the NicType parameter to intranet. For a security group of the classic network type, you can set the NicType parameter to either internet or intranet. Sample request:
42853
42879
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
42854
42880
  * &SecurityGroupId=sg-bp67acfmxazb4p****
42855
42881
  * &Permissions.1.SourceCidrIp=10.0.0.0/8
@@ -42858,7 +42884,7 @@ class Client extends openapi_client_1.default {
42858
42884
  * &Permissions.1.NicType=intranet
42859
42885
  * &Permissions.1.Policy=Accept
42860
42886
  * &<Common request parameters>
42861
- * * Parameters that are used to specify an inbound security group rule that manages access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. If you specify this group of parameters, you must set NicType to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
42887
+ * * Parameters used to determine an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. In this case, you must set the NicType parameter to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
42862
42888
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
42863
42889
  * &SecurityGroupId=sg-bp67acfmxazb4p****
42864
42890
  * &Permissions.1.SourceGroupId=sg-1651FBB**
@@ -42868,7 +42894,7 @@ class Client extends openapi_client_1.default {
42868
42894
  * &Permissions.1.NicType=intranet
42869
42895
  * &Permissions.1.Policy=Drop
42870
42896
  * &<Common request parameters>
42871
- * * Parameters that are used to specify an inbound security group rule that manages access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must specify NicType to intranet. Sample request:
42897
+ * * Parameters used to determine an inbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must set NicType to intranet. Sample request:
42872
42898
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
42873
42899
  * &SecurityGroupId=sg-bp67acfmxazb4p****
42874
42900
  * &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
@@ -42985,18 +43011,18 @@ class Client extends openapi_client_1.default {
42985
43011
  return $tea.cast(await this.callApi(params, req, runtime), new AuthorizeSecurityGroupResponse({}));
42986
43012
  }
42987
43013
  /**
42988
- * In security group-related API documents, traffic is sent from the source to the destination.
43014
+ * In security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
42989
43015
  * When you call this operation, take note of the following items:
42990
- * * The total number of outbound and inbound rules of each security group cannot exceed 200. For more information, see the "Security group limits" section in [Limits](~~25412#SecurityGroupQuota1~~).
42991
- * * The valid values of Priority range from 1 to 100. A smaller value specifies a higher priority.
43016
+ * * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section of the [Limits](~~25412#SecurityGroupQuota1~~) topic.
43017
+ * * The valid value of Priority ranges from 1 to 100. A smaller value specifies a higher priority.
42992
43018
  * * If several security group rules have the same priority, drop rules take precedence.
42993
43019
  * * The source can be a CIDR block that is specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId. The source can also be Elastic Compute Service (ECS) instances in a security group that is specified by SourceGroupId.
42994
43020
  * * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
42995
43021
  * * You can reference up to 20 security groups as sources or destinations in the rules of each basic security group.
42996
- * * If the specified security group rule exists in the security group, the operation is successful but no security group rule is added to the security group.
42997
- * * The `Permissions.N` prefix is added to specific parameters to generate new parameters. You cannot specify the original parameters and the parameters that contain the Permissions.N prefix at the same time. We recommend that you use the parameters that contain the `Permissions.N` prefix.
43022
+ * * If the specified security group rule already exists in the security group, the call is successful but no security group rule is created.
43023
+ * * The `Permissions.N` prefix is added to specific parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
42998
43024
  * * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
42999
- * * Parameters that are used to specify an inbound security group rule that manages access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set NicType to intranet. For a security group of the classic network type, you can set NicType to internet or intranet. Sample request:
43025
+ * * Parameters used to determine an inbound security group rule that controls access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set the NicType parameter to intranet. For a security group of the classic network type, you can set the NicType parameter to either internet or intranet. Sample request:
43000
43026
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
43001
43027
  * &SecurityGroupId=sg-bp67acfmxazb4p****
43002
43028
  * &Permissions.1.SourceCidrIp=10.0.0.0/8
@@ -43005,7 +43031,7 @@ class Client extends openapi_client_1.default {
43005
43031
  * &Permissions.1.NicType=intranet
43006
43032
  * &Permissions.1.Policy=Accept
43007
43033
  * &<Common request parameters>
43008
- * * Parameters that are used to specify an inbound security group rule that manages access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. If you specify this group of parameters, you must set NicType to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
43034
+ * * Parameters used to determine an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. In this case, you must set the NicType parameter to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
43009
43035
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
43010
43036
  * &SecurityGroupId=sg-bp67acfmxazb4p****
43011
43037
  * &Permissions.1.SourceGroupId=sg-1651FBB**
@@ -43015,7 +43041,7 @@ class Client extends openapi_client_1.default {
43015
43041
  * &Permissions.1.NicType=intranet
43016
43042
  * &Permissions.1.Policy=Drop
43017
43043
  * &<Common request parameters>
43018
- * * Parameters that are used to specify an inbound security group rule that manages access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must specify NicType to intranet. Sample request:
43044
+ * * Parameters used to determine an inbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must set NicType to intranet. Sample request:
43019
43045
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
43020
43046
  * &SecurityGroupId=sg-bp67acfmxazb4p****
43021
43047
  * &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
@@ -43035,7 +43061,47 @@ class Client extends openapi_client_1.default {
43035
43061
  return await this.authorizeSecurityGroupWithOptions(request, runtime);
43036
43062
  }
43037
43063
  /**
43038
- * The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
43064
+ * In the security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
43065
+ * When you call this operation, take note of the following items:
43066
+ * * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [](~~25412#SecurityGroupQuota1~~).
43067
+ * * You can set Policy to accept or drop for each security group rule to allow or deny access.
43068
+ * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
43069
+ * * When several security group rules have the same priority, drop rules take precedence.
43070
+ * * The destination can be a CIDR block specified by DestCidrIp, Ipv6DestCidrIp, or DestPrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by DestGroupId.
43071
+ * * For advanced security groups, security groups cannot be used as authorization objects.
43072
+ * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
43073
+ * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
43074
+ * * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be configured together. We recommend that you use parameters prefixed with `Permissions.N`.
43075
+ * * You can determine a security group rule by configuring one of the following groups of parameters. You cannot determine a security group rule by configuring only one parameter.
43076
+ * * Parameters used to specify a security group rule that controls access to a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestCidrIp. Sample request:
43077
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
43078
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
43079
+ * &Permissions.1.IpProtocol=ICMP
43080
+ * &Permissions.1.DestCidrIp=10.0.0.0/8
43081
+ * &Permissions.1.PortRange=-1/-1
43082
+ * &Permissions.1.NicType=intranet
43083
+ * &Permissions.1.Policy=Accept
43084
+ * &<Common request parameters>
43085
+ * * Parameters used to specify a security group rule that controls access to a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestGroupOwnerAccount, and DestGroupId. Sample request:
43086
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
43087
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
43088
+ * &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
43089
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
43090
+ * &Permissions.1.IpProtocol=TCP
43091
+ * &Permissions.1.PortRange=22/22
43092
+ * &Permissions.1.NicType=intranet
43093
+ * &Permissions.1.Policy=Drop
43094
+ * &<Common request parameters>
43095
+ * * Parameters used to specify a security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in virtual private clouds (VPCs). NicType must be set to intranet. Sample request:
43096
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
43097
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
43098
+ * &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
43099
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
43100
+ * &Permissions.1.IpProtocol=TCP
43101
+ * &Permissions.1.PortRange=22/22
43102
+ * &Permissions.1.NicType=intranet
43103
+ * &Permissions.1.Policy=Drop
43104
+ * &<Common request parameters>
43039
43105
  *
43040
43106
  * @param request AuthorizeSecurityGroupEgressRequest
43041
43107
  * @param runtime runtime options for this request RuntimeOptions
@@ -43142,7 +43208,47 @@ class Client extends openapi_client_1.default {
43142
43208
  return $tea.cast(await this.callApi(params, req, runtime), new AuthorizeSecurityGroupEgressResponse({}));
43143
43209
  }
43144
43210
  /**
43145
- * The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
43211
+ * In the security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
43212
+ * When you call this operation, take note of the following items:
43213
+ * * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [](~~25412#SecurityGroupQuota1~~).
43214
+ * * You can set Policy to accept or drop for each security group rule to allow or deny access.
43215
+ * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
43216
+ * * When several security group rules have the same priority, drop rules take precedence.
43217
+ * * The destination can be a CIDR block specified by DestCidrIp, Ipv6DestCidrIp, or DestPrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by DestGroupId.
43218
+ * * For advanced security groups, security groups cannot be used as authorization objects.
43219
+ * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
43220
+ * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
43221
+ * * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be configured together. We recommend that you use parameters prefixed with `Permissions.N`.
43222
+ * * You can determine a security group rule by configuring one of the following groups of parameters. You cannot determine a security group rule by configuring only one parameter.
43223
+ * * Parameters used to specify a security group rule that controls access to a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestCidrIp. Sample request:
43224
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
43225
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
43226
+ * &Permissions.1.IpProtocol=ICMP
43227
+ * &Permissions.1.DestCidrIp=10.0.0.0/8
43228
+ * &Permissions.1.PortRange=-1/-1
43229
+ * &Permissions.1.NicType=intranet
43230
+ * &Permissions.1.Policy=Accept
43231
+ * &<Common request parameters>
43232
+ * * Parameters used to specify a security group rule that controls access to a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestGroupOwnerAccount, and DestGroupId. Sample request:
43233
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
43234
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
43235
+ * &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
43236
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
43237
+ * &Permissions.1.IpProtocol=TCP
43238
+ * &Permissions.1.PortRange=22/22
43239
+ * &Permissions.1.NicType=intranet
43240
+ * &Permissions.1.Policy=Drop
43241
+ * &<Common request parameters>
43242
+ * * Parameters used to specify a security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in virtual private clouds (VPCs). NicType must be set to intranet. Sample request:
43243
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
43244
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
43245
+ * &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
43246
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
43247
+ * &Permissions.1.IpProtocol=TCP
43248
+ * &Permissions.1.PortRange=22/22
43249
+ * &Permissions.1.NicType=intranet
43250
+ * &Permissions.1.Policy=Drop
43251
+ * &<Common request parameters>
43146
43252
  *
43147
43253
  * @param request AuthorizeSecurityGroupEgressRequest
43148
43254
  * @return AuthorizeSecurityGroupEgressResponse
@@ -43661,9 +43767,9 @@ class Client extends openapi_client_1.default {
43661
43767
  }
43662
43768
  /**
43663
43769
  * When you call this operation, take note of the following items:
43664
- * * New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
43665
- * * Encrypted snapshots cannot be copied.
43666
- * * Local snapshots cannot be copied.
43770
+ * - New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
43771
+ * - Encrypted snapshots cannot be copied.
43772
+ * - Local snapshots cannot be copied.
43667
43773
  *
43668
43774
  * @param request CopySnapshotRequest
43669
43775
  * @param runtime runtime options for this request RuntimeOptions
@@ -43684,6 +43790,9 @@ class Client extends openapi_client_1.default {
43684
43790
  if (!tea_util_1.default.isUnset(request.destinationSnapshotName)) {
43685
43791
  query["DestinationSnapshotName"] = request.destinationSnapshotName;
43686
43792
  }
43793
+ if (!tea_util_1.default.isUnset(request.destinationStorageLocationArn)) {
43794
+ query["DestinationStorageLocationArn"] = request.destinationStorageLocationArn;
43795
+ }
43687
43796
  if (!tea_util_1.default.isUnset(request.encrypted)) {
43688
43797
  query["Encrypted"] = request.encrypted;
43689
43798
  }
@@ -43732,9 +43841,9 @@ class Client extends openapi_client_1.default {
43732
43841
  }
43733
43842
  /**
43734
43843
  * When you call this operation, take note of the following items:
43735
- * * New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
43736
- * * Encrypted snapshots cannot be copied.
43737
- * * Local snapshots cannot be copied.
43844
+ * - New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
43845
+ * - Encrypted snapshots cannot be copied.
43846
+ * - Local snapshots cannot be copied.
43738
43847
  *
43739
43848
  * @param request CopySnapshotRequest
43740
43849
  * @return CopySnapshotResponse
@@ -43744,8 +43853,19 @@ class Client extends openapi_client_1.default {
43744
43853
  return await this.copySnapshotWithOptions(request, runtime);
43745
43854
  }
43746
43855
  /**
43747
- * The ID of the region in which you want to create the activation code. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
43748
- * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
43856
+ * After you use an activation code to register a server that is not provided by Alibaba Cloud as an Alibaba Cloud managed instance, you can use a variety of online services provided by Alibaba Cloud in the managed instance, such as Cloud Assistant, Operation Orchestration Service (OOS), and Apsara Devops.
43857
+ * A server that is not provided by Alibaba Cloud can be registered as an Alibaba Cloud managed instance only when the server can access the Internet and runs an operating system of one of the following versions:
43858
+ * * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
43859
+ * * CentOS 6, CentOS 7, CentOS 8, and later
43860
+ * * Debian 8, Debian 9, Debian 10, and later
43861
+ * * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
43862
+ * * CoreOS
43863
+ * * OpenSUSE
43864
+ * * Red Hat 5, Red Hat 6, Red Hat 7, and later
43865
+ * * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
43866
+ * * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
43867
+ * You can have up to 5,000 activation codes per Alibaba Cloud region. When the number of activation codes exceeds 1,000, the usage of the activation codes must be greater than 50% before you can proceed to create more activation codes.
43868
+ * > To view the usage of activation codes, click **Activation Code** on the **Manage Instances** tab of the **Cloud Assistant** page in the Elastic Compute Service (ECS) console.
43749
43869
  *
43750
43870
  * @param request CreateActivationRequest
43751
43871
  * @param runtime runtime options for this request RuntimeOptions
@@ -43807,8 +43927,19 @@ class Client extends openapi_client_1.default {
43807
43927
  return $tea.cast(await this.callApi(params, req, runtime), new CreateActivationResponse({}));
43808
43928
  }
43809
43929
  /**
43810
- * The ID of the region in which you want to create the activation code. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
43811
- * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
43930
+ * After you use an activation code to register a server that is not provided by Alibaba Cloud as an Alibaba Cloud managed instance, you can use a variety of online services provided by Alibaba Cloud in the managed instance, such as Cloud Assistant, Operation Orchestration Service (OOS), and Apsara Devops.
43931
+ * A server that is not provided by Alibaba Cloud can be registered as an Alibaba Cloud managed instance only when the server can access the Internet and runs an operating system of one of the following versions:
43932
+ * * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
43933
+ * * CentOS 6, CentOS 7, CentOS 8, and later
43934
+ * * Debian 8, Debian 9, Debian 10, and later
43935
+ * * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
43936
+ * * CoreOS
43937
+ * * OpenSUSE
43938
+ * * Red Hat 5, Red Hat 6, Red Hat 7, and later
43939
+ * * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
43940
+ * * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
43941
+ * You can have up to 5,000 activation codes per Alibaba Cloud region. When the number of activation codes exceeds 1,000, the usage of the activation codes must be greater than 50% before you can proceed to create more activation codes.
43942
+ * > To view the usage of activation codes, click **Activation Code** on the **Manage Instances** tab of the **Cloud Assistant** page in the Elastic Compute Service (ECS) console.
43812
43943
  *
43813
43944
  * @param request CreateActivationRequest
43814
43945
  * @return CreateActivationResponse
@@ -43956,10 +44087,10 @@ class Client extends openapi_client_1.default {
43956
44087
  return await this.createAutoProvisioningGroupWithOptions(request, runtime);
43957
44088
  }
43958
44089
  /**
43959
- * When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and cross-region replication for snapshots in the policy to meet your diverse data backup requirements. After you create an automatic snapshot policy, you must call the [ApplyAutoSnapshotPolicy](~~25531~~) operation to apply it to disks. If you want to modify the automatic snapshot policy, you must call the [ModifyAutoSnapshotPolicyEx](~~25529~~) operation.
43960
- * When you call this operation, take note of the following items:
43961
- * * You can create a maximum of 100 automatic snapshot policies within each region for a single Alibaba Cloud account.
43962
- * * If an automatic snapshot is being created when the time scheduled for creating another automatic snapshot is due, the new snapshot task is skipped. This may occur when a disk contains a large volume of data. For example, you have scheduled snapshots to be created at 09:00:00, 10:00:00, 11:00:00, and 12:00:00 for a disk. The system starts to create a snapshot for the disk at 09:00:00. The process takes 80 minutes because the disk contains a large volume of data and ends at 10:20:00. The system skips the automatic snapshot task scheduled for 10:00:00 and creates the next automatic snapshot for the disk at 11:00:00.
44090
+ * When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After you create an automatic snapshot policy, you must call the [ApplyAutoSnapshotPolicy](~~25531~~) operation to apply it to disks. If you want to modify the automatic snapshot policy, you must call the [ModifyAutoSnapshotPolicyEx](~~25529~~) operation.
44091
+ * Take note of the following items:
44092
+ * * You can create a maximum of 100 automatic snapshot policies per region for a single Alibaba Cloud account.
44093
+ * * If an automatic snapshot is being created when the time scheduled for creating another automatic snapshot is due, the new snapshot task is skipped. This may occur when a disk contains a large volume of data. For example, you have scheduled snapshots to be created at 09:00:00, 10:00:00, 11:00:00, and 12:00:00 for a disk. The system starts to create a snapshot for the disk at 09:00:00. The process takes 80 minutes to complete because the disk contains a large volume of data and ends at 10:20:00. The system skips the automatic snapshot task scheduled for 10:00:00 and creates the next automatic snapshot for the disk at 11:00:00.
43963
44094
  * * For information about how to copy a snapshot from one region to another, see the "Background information" section in [Copy a snapshot](~~159441~~).
43964
44095
  *
43965
44096
  * @param request CreateAutoSnapshotPolicyRequest
@@ -44028,10 +44159,10 @@ class Client extends openapi_client_1.default {
44028
44159
  return $tea.cast(await this.callApi(params, req, runtime), new CreateAutoSnapshotPolicyResponse({}));
44029
44160
  }
44030
44161
  /**
44031
- * When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and cross-region replication for snapshots in the policy to meet your diverse data backup requirements. After you create an automatic snapshot policy, you must call the [ApplyAutoSnapshotPolicy](~~25531~~) operation to apply it to disks. If you want to modify the automatic snapshot policy, you must call the [ModifyAutoSnapshotPolicyEx](~~25529~~) operation.
44032
- * When you call this operation, take note of the following items:
44033
- * * You can create a maximum of 100 automatic snapshot policies within each region for a single Alibaba Cloud account.
44034
- * * If an automatic snapshot is being created when the time scheduled for creating another automatic snapshot is due, the new snapshot task is skipped. This may occur when a disk contains a large volume of data. For example, you have scheduled snapshots to be created at 09:00:00, 10:00:00, 11:00:00, and 12:00:00 for a disk. The system starts to create a snapshot for the disk at 09:00:00. The process takes 80 minutes because the disk contains a large volume of data and ends at 10:20:00. The system skips the automatic snapshot task scheduled for 10:00:00 and creates the next automatic snapshot for the disk at 11:00:00.
44162
+ * When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After you create an automatic snapshot policy, you must call the [ApplyAutoSnapshotPolicy](~~25531~~) operation to apply it to disks. If you want to modify the automatic snapshot policy, you must call the [ModifyAutoSnapshotPolicyEx](~~25529~~) operation.
44163
+ * Take note of the following items:
44164
+ * * You can create a maximum of 100 automatic snapshot policies per region for a single Alibaba Cloud account.
44165
+ * * If an automatic snapshot is being created when the time scheduled for creating another automatic snapshot is due, the new snapshot task is skipped. This may occur when a disk contains a large volume of data. For example, you have scheduled snapshots to be created at 09:00:00, 10:00:00, 11:00:00, and 12:00:00 for a disk. The system starts to create a snapshot for the disk at 09:00:00. The process takes 80 minutes to complete because the disk contains a large volume of data and ends at 10:20:00. The system skips the automatic snapshot task scheduled for 10:00:00 and creates the next automatic snapshot for the disk at 11:00:00.
44035
44166
  * * For information about how to copy a snapshot from one region to another, see the "Background information" section in [Copy a snapshot](~~159441~~).
44036
44167
  *
44037
44168
  * @param request CreateAutoSnapshotPolicyRequest
@@ -44139,19 +44270,7 @@ class Client extends openapi_client_1.default {
44139
44270
  return await this.createCapacityReservationWithOptions(request, runtime);
44140
44271
  }
44141
44272
  /**
44142
- * * You can create commands of the following types:
44143
- * * RunBatScript: batch commands. These commands are applicable to Windows instances.
44144
- * * RunPowerShellScript: PowerShell commands. These commands are applicable to Windows instances.
44145
- * * RunShellScript: shell commands. These commands are applicable to Linux instances.
44146
- * * You can specify the TimeOut parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, the Cloud Assistant client forcefully terminates the command process by canceling the process ID (PID) of the command. For more information, see [Install the Cloud Assistant client](~~64921~~).
44147
- * * When the one-time execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
44148
- * * For a scheduled task, take note of the following items:
44149
- * * The timeout period takes effect on each execution of the command.
44150
- * * When a scheduled execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
44151
- * * The timeout of one execution does not affect the subsequent executions of the command.
44152
- * * You can retain up to 500 to 10,000 Cloud Assistant commands in each region.
44153
- * * You can use the WorkingDir parameter to specify the working directory of a Cloud Assistant command. For Linux instances, the default working directory of a command is the home directory of the root user, which is `/root`. For Windows instances, the default working directory of a command is the directory where the Cloud Assistant client process resides, such as `C:\\Windows\\System32`.
44154
- * * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true when you create the command. When you configure the CommandContent parameter, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, assume that the command content is `echo {{name}}`. You can use the Parameters parameter to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. Therefore, the `echo Jack` command is actually run.
44273
+ * The ID of the region in which to create the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
44155
44274
  *
44156
44275
  * @param request CreateCommandRequest
44157
44276
  * @param runtime runtime options for this request RuntimeOptions
@@ -44222,19 +44341,7 @@ class Client extends openapi_client_1.default {
44222
44341
  return $tea.cast(await this.callApi(params, req, runtime), new CreateCommandResponse({}));
44223
44342
  }
44224
44343
  /**
44225
- * * You can create commands of the following types:
44226
- * * RunBatScript: batch commands. These commands are applicable to Windows instances.
44227
- * * RunPowerShellScript: PowerShell commands. These commands are applicable to Windows instances.
44228
- * * RunShellScript: shell commands. These commands are applicable to Linux instances.
44229
- * * You can specify the TimeOut parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, the Cloud Assistant client forcefully terminates the command process by canceling the process ID (PID) of the command. For more information, see [Install the Cloud Assistant client](~~64921~~).
44230
- * * When the one-time execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
44231
- * * For a scheduled task, take note of the following items:
44232
- * * The timeout period takes effect on each execution of the command.
44233
- * * When a scheduled execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
44234
- * * The timeout of one execution does not affect the subsequent executions of the command.
44235
- * * You can retain up to 500 to 10,000 Cloud Assistant commands in each region.
44236
- * * You can use the WorkingDir parameter to specify the working directory of a Cloud Assistant command. For Linux instances, the default working directory of a command is the home directory of the root user, which is `/root`. For Windows instances, the default working directory of a command is the directory where the Cloud Assistant client process resides, such as `C:\\Windows\\System32`.
44237
- * * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true when you create the command. When you configure the CommandContent parameter, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, assume that the command content is `echo {{name}}`. You can use the Parameters parameter to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. Therefore, the `echo Jack` command is actually run.
44344
+ * The ID of the region in which to create the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
44238
44345
  *
44239
44346
  * @param request CreateCommandRequest
44240
44347
  * @return CreateCommandResponse
@@ -44526,12 +44633,12 @@ class Client extends openapi_client_1.default {
44526
44633
  return await this.createDiagnosticReportWithOptions(request, runtime);
44527
44634
  }
44528
44635
  /**
44529
- * * When you create a disk, the multi-attach (`MultiAttach`) feature can be enabled. Before you enable the multi-attach feature, we recommend that you get familiar with the multi-attach feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
44636
+ * * When you create a disk, you can enable the multi-attach (`MultiAttach`) feature for the disk. We recommend that you familiarize yourself with the multi-attach feature and its limits before you enable it. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
44530
44637
  * * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
44531
44638
  * * When you create disks, you may be charged for the resources used. We recommend that you get familiar with the Elastic Compute Service (ECS) billing methods before you create a disk. For more information, see [Billing overview](~~25398~~).
44532
- * * By default, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This specifies that the automatic snapshots be deleted when the disk is released. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
44533
- * * If you do not specify the performance level when you create an ESSD, the disk is created as a PL1 ESSD by default. You can call the [ModifyDiskSpec](~~123780~~) operation to change the performance level of the ESSD.
44534
- * * Disks that are created by calling this operation have their `Portable` attribute set to `true` and the billing method set to pay-as-you-go.
44639
+ * * By default, `DeleteAutoSnapshot` is set to `true` when a disk is created. This indicates that when the disk is released, the automatic snapshots of the disk are also deleted. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
44640
+ * * If you do not configure the performance level when you create an ESSD, the performance level for the ESSD is PL1 by default. You can call the [ModifyDiskSpec](~~123780~~) operation to modify the performance level of the ESSD.
44641
+ * * By default, for a disk that is created by calling this operation, the `Portable` attribute is set to `true` and the billing method is pay-as-you-go.
44535
44642
  *
44536
44643
  * @param request CreateDiskRequest
44537
44644
  * @param runtime runtime options for this request RuntimeOptions
@@ -44638,12 +44745,12 @@ class Client extends openapi_client_1.default {
44638
44745
  return $tea.cast(await this.callApi(params, req, runtime), new CreateDiskResponse({}));
44639
44746
  }
44640
44747
  /**
44641
- * * When you create a disk, the multi-attach (`MultiAttach`) feature can be enabled. Before you enable the multi-attach feature, we recommend that you get familiar with the multi-attach feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
44748
+ * * When you create a disk, you can enable the multi-attach (`MultiAttach`) feature for the disk. We recommend that you familiarize yourself with the multi-attach feature and its limits before you enable it. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
44642
44749
  * * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
44643
44750
  * * When you create disks, you may be charged for the resources used. We recommend that you get familiar with the Elastic Compute Service (ECS) billing methods before you create a disk. For more information, see [Billing overview](~~25398~~).
44644
- * * By default, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This specifies that the automatic snapshots be deleted when the disk is released. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
44645
- * * If you do not specify the performance level when you create an ESSD, the disk is created as a PL1 ESSD by default. You can call the [ModifyDiskSpec](~~123780~~) operation to change the performance level of the ESSD.
44646
- * * Disks that are created by calling this operation have their `Portable` attribute set to `true` and the billing method set to pay-as-you-go.
44751
+ * * By default, `DeleteAutoSnapshot` is set to `true` when a disk is created. This indicates that when the disk is released, the automatic snapshots of the disk are also deleted. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
44752
+ * * If you do not configure the performance level when you create an ESSD, the performance level for the ESSD is PL1 by default. You can call the [ModifyDiskSpec](~~123780~~) operation to modify the performance level of the ESSD.
44753
+ * * By default, for a disk that is created by calling this operation, the `Portable` attribute is set to `true` and the billing method is pay-as-you-go.
44647
44754
  *
44648
44755
  * @param request CreateDiskRequest
44649
44756
  * @return CreateDiskResponse
@@ -44653,7 +44760,7 @@ class Client extends openapi_client_1.default {
44653
44760
  return await this.createDiskWithOptions(request, runtime);
44654
44761
  }
44655
44762
  /**
44656
- * Elasticity Assurance provides a new method to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
44763
+ * Elasticity Assurance provides a new way to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
44657
44764
  * * Elasticity assurances are not refundable after purchase.
44658
44765
  * * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
44659
44766
  * * Elasticity assurances only support unlimited mode. Therefore, you must set `AssuranceTimes` to `Unlimited`. Elasticity assurances in unlimited mode can be applied an unlimited number of times within their effective period and take effect immediately after they are purchased.
@@ -44736,7 +44843,7 @@ class Client extends openapi_client_1.default {
44736
44843
  return $tea.cast(await this.callApi(params, req, runtime), new CreateElasticityAssuranceResponse({}));
44737
44844
  }
44738
44845
  /**
44739
- * Elasticity Assurance provides a new method to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
44846
+ * Elasticity Assurance provides a new way to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
44740
44847
  * * Elasticity assurances are not refundable after purchase.
44741
44848
  * * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
44742
44849
  * * Elasticity assurances only support unlimited mode. Therefore, you must set `AssuranceTimes` to `Unlimited`. Elasticity assurances in unlimited mode can be applied an unlimited number of times within their effective period and take effect immediately after they are purchased.
@@ -45049,6 +45156,18 @@ class Client extends openapi_client_1.default {
45049
45156
  let runtime = new $Util.RuntimeOptions({});
45050
45157
  return await this.createImageWithOptions(request, runtime);
45051
45158
  }
45159
+ /**
45160
+ * Take note of the following items:
45161
+ * * Only custom image components can be created.
45162
+ * * The images must run Linux operating systems. This indicates that you must set `SystemType` to Linux.
45163
+ * * You must set the image component type to image build component by setting the `ComponentType` parameter to Build.
45164
+ * * You can use Dockerfile to edit the content of image components, and then pass the edited content into the `Content` parameter. The content size must not be greater than 16 KB. `FROM` commands cannot be used in image components. An image component supports up to 127 commands. For information about supported commands, see [Description of commands supported by Image Builder](~~200206~~).
45165
+ * You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to use image components to create image templates. For more information, see [Overview of Image Builder](~~197410~~).
45166
+ *
45167
+ * @param request CreateImageComponentRequest
45168
+ * @param runtime runtime options for this request RuntimeOptions
45169
+ * @return CreateImageComponentResponse
45170
+ */
45052
45171
  async createImageComponentWithOptions(request, runtime) {
45053
45172
  tea_util_1.default.validateModel(request);
45054
45173
  let query = {};
@@ -45113,6 +45232,17 @@ class Client extends openapi_client_1.default {
45113
45232
  });
45114
45233
  return $tea.cast(await this.callApi(params, req, runtime), new CreateImageComponentResponse({}));
45115
45234
  }
45235
+ /**
45236
+ * Take note of the following items:
45237
+ * * Only custom image components can be created.
45238
+ * * The images must run Linux operating systems. This indicates that you must set `SystemType` to Linux.
45239
+ * * You must set the image component type to image build component by setting the `ComponentType` parameter to Build.
45240
+ * * You can use Dockerfile to edit the content of image components, and then pass the edited content into the `Content` parameter. The content size must not be greater than 16 KB. `FROM` commands cannot be used in image components. An image component supports up to 127 commands. For information about supported commands, see [Description of commands supported by Image Builder](~~200206~~).
45241
+ * You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to use image components to create image templates. For more information, see [Overview of Image Builder](~~197410~~).
45242
+ *
45243
+ * @param request CreateImageComponentRequest
45244
+ * @return CreateImageComponentResponse
45245
+ */
45116
45246
  async createImageComponent(request) {
45117
45247
  let runtime = new $Util.RuntimeOptions({});
45118
45248
  return await this.createImageComponentWithOptions(request, runtime);
@@ -45610,6 +45740,9 @@ class Client extends openapi_client_1.default {
45610
45740
  if (!tea_util_1.default.isUnset(request.dataDisk)) {
45611
45741
  query["DataDisk"] = request.dataDisk;
45612
45742
  }
45743
+ if (!tea_util_1.default.isUnset(request.deletionProtection)) {
45744
+ query["DeletionProtection"] = request.deletionProtection;
45745
+ }
45613
45746
  if (!tea_util_1.default.isUnset(request.deploymentSetId)) {
45614
45747
  query["DeploymentSetId"] = request.deploymentSetId;
45615
45748
  }
@@ -45790,6 +45923,9 @@ class Client extends openapi_client_1.default {
45790
45923
  if (!tea_util_1.default.isUnset(request.dataDisk)) {
45791
45924
  query["DataDisk"] = request.dataDisk;
45792
45925
  }
45926
+ if (!tea_util_1.default.isUnset(request.deletionProtection)) {
45927
+ query["DeletionProtection"] = request.deletionProtection;
45928
+ }
45793
45929
  if (!tea_util_1.default.isUnset(request.deploymentSetId)) {
45794
45930
  query["DeploymentSetId"] = request.deploymentSetId;
45795
45931
  }
@@ -46014,11 +46150,12 @@ class Client extends openapi_client_1.default {
46014
46150
  return await this.createNatGatewayWithOptions(request, runtime);
46015
46151
  }
46016
46152
  /**
46017
- * When you call this operation, take note of the following items:
46018
- * * This operation is a synchronous operation. After an ENI is created, it immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
46019
- * * If the NetworkInterfaceId parameter is empty in the response, it indicates that no ENI is created. Call the operation again to create an ENI.
46153
+ * ## Usage notes
46154
+ * Take note of the following items:
46155
+ * * CreateNetworkInterface is a synchronous operation. After an ENI is created, the ENI immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
46156
+ * * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
46020
46157
  * * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
46021
- * * When an ENI is detached from an instance and then attached to another instance, the attributes of the ENI remain unchanged and network traffic is directed to the new instance.
46158
+ * * When an ENI is detached from an instance and attached to another instance, the attributes of the ENI remain unchanged and network traffic is redirected to the new instance.
46022
46159
  * * If you want to assign IPv6 addresses when you create an ENI, make sure that IPv6 has been enabled for the vSwitch with which to associate the ENI. For more information, see [What is an IPv6 gateway?](~~98896~~)
46023
46160
  * * A quota is imposed on the number of ENIs that can be created per Alibaba Cloud region per account. You can view the quota in the ECS console. For more information, see [View and increase resource quotas](~~184115~~).
46024
46161
  * **For information about examples on how to call this operation, see **[Create an ENI](~~471552~~).
@@ -46134,11 +46271,12 @@ class Client extends openapi_client_1.default {
46134
46271
  return $tea.cast(await this.callApi(params, req, runtime), new CreateNetworkInterfaceResponse({}));
46135
46272
  }
46136
46273
  /**
46137
- * When you call this operation, take note of the following items:
46138
- * * This operation is a synchronous operation. After an ENI is created, it immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
46139
- * * If the NetworkInterfaceId parameter is empty in the response, it indicates that no ENI is created. Call the operation again to create an ENI.
46274
+ * ## Usage notes
46275
+ * Take note of the following items:
46276
+ * * CreateNetworkInterface is a synchronous operation. After an ENI is created, the ENI immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
46277
+ * * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
46140
46278
  * * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
46141
- * * When an ENI is detached from an instance and then attached to another instance, the attributes of the ENI remain unchanged and network traffic is directed to the new instance.
46279
+ * * When an ENI is detached from an instance and attached to another instance, the attributes of the ENI remain unchanged and network traffic is redirected to the new instance.
46142
46280
  * * If you want to assign IPv6 addresses when you create an ENI, make sure that IPv6 has been enabled for the vSwitch with which to associate the ENI. For more information, see [What is an IPv6 gateway?](~~98896~~)
46143
46281
  * * A quota is imposed on the number of ENIs that can be created per Alibaba Cloud region per account. You can view the quota in the ECS console. For more information, see [View and increase resource quotas](~~184115~~).
46144
46282
  * **For information about examples on how to call this operation, see **[Create an ENI](~~471552~~).
@@ -46556,7 +46694,7 @@ class Client extends openapi_client_1.default {
46556
46694
  }
46557
46695
  /**
46558
46696
  * When you call this operation, take note of the following items:
46559
- * * You can create up to 100 security groups within a single Alibaba Cloud region.
46697
+ * * You can create up to 100 security groups in a single Alibaba Cloud region.
46560
46698
  * * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
46561
46699
  *
46562
46700
  * @param request CreateSecurityGroupRequest
@@ -46623,7 +46761,7 @@ class Client extends openapi_client_1.default {
46623
46761
  }
46624
46762
  /**
46625
46763
  * When you call this operation, take note of the following items:
46626
- * * You can create up to 100 security groups within a single Alibaba Cloud region.
46764
+ * * You can create up to 100 security groups in a single Alibaba Cloud region.
46627
46765
  * * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
46628
46766
  *
46629
46767
  * @param request CreateSecurityGroupRequest
@@ -46635,7 +46773,7 @@ class Client extends openapi_client_1.default {
46635
46773
  }
46636
46774
  /**
46637
46775
  * You can use the ECS console, call [ECS API](~~63962~~) operations, or use CloudMonitor to view the scheduled simulated system events.
46638
- * A simulated system event can transition between the following lifecycle states:
46776
+ * The following descriptions provide the lifecycle of a simulated system event:
46639
46777
  * * Scheduled: The state of the simulated system event is automatically changed to Scheduled after it is scheduled.
46640
46778
  * * Executed: The state of the simulated system event is automatically changed to Executed at the time specified by the NotBefore parameter if no manual intervention is involved.
46641
46779
  * * Canceled: The state of the simulated system event is changed to Canceled if you cancel the event by calling the [CancelSimulatedSystemEvents](~~88808~~) operation.
@@ -46693,7 +46831,7 @@ class Client extends openapi_client_1.default {
46693
46831
  }
46694
46832
  /**
46695
46833
  * You can use the ECS console, call [ECS API](~~63962~~) operations, or use CloudMonitor to view the scheduled simulated system events.
46696
- * A simulated system event can transition between the following lifecycle states:
46834
+ * The following descriptions provide the lifecycle of a simulated system event:
46697
46835
  * * Scheduled: The state of the simulated system event is automatically changed to Scheduled after it is scheduled.
46698
46836
  * * Executed: The state of the simulated system event is automatically changed to Executed at the time specified by the NotBefore parameter if no manual intervention is involved.
46699
46837
  * * Canceled: The state of the simulated system event is changed to Canceled if you cancel the event by calling the [CancelSimulatedSystemEvents](~~88808~~) operation.
@@ -46707,21 +46845,7 @@ class Client extends openapi_client_1.default {
46707
46845
  return await this.createSimulatedSystemEventsWithOptions(request, runtime);
46708
46846
  }
46709
46847
  /**
46710
- * The local snapshot feature is replaced by the instant access feature. Parameter description:
46711
- * * If you used the local snapshot feature before December 14, 2020, you can use the `Category` or `InstantAccess` parameter as expected and must take note of the following items:
46712
- * * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
46713
- * * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
46714
- * * If you did not use the local snapshot feature before December 14, 2020, you can use the `InstantAccess` parameter but cannot use the `Category` parameter.
46715
- * You cannot create snapshots for a disk in the following scenarios:
46716
- * * The number of manual snapshots of the disk has reached 256.
46717
- * * A snapshot is being created for the disk.
46718
- * * The instance to which the disk is attached has never been started.
46719
- * * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
46720
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
46721
- * When you create a snapshot, take note of the following items:
46722
- * * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
46723
- * * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
46724
- * * You can create snapshots for a disk that is in the **Expired** state.`` If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** state and is deleted when the disk is released.``
46848
+ * The request ID.
46725
46849
  *
46726
46850
  * @param request CreateSnapshotRequest
46727
46851
  * @param runtime runtime options for this request RuntimeOptions
@@ -46792,21 +46916,7 @@ class Client extends openapi_client_1.default {
46792
46916
  return $tea.cast(await this.callApi(params, req, runtime), new CreateSnapshotResponse({}));
46793
46917
  }
46794
46918
  /**
46795
- * The local snapshot feature is replaced by the instant access feature. Parameter description:
46796
- * * If you used the local snapshot feature before December 14, 2020, you can use the `Category` or `InstantAccess` parameter as expected and must take note of the following items:
46797
- * * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
46798
- * * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
46799
- * * If you did not use the local snapshot feature before December 14, 2020, you can use the `InstantAccess` parameter but cannot use the `Category` parameter.
46800
- * You cannot create snapshots for a disk in the following scenarios:
46801
- * * The number of manual snapshots of the disk has reached 256.
46802
- * * A snapshot is being created for the disk.
46803
- * * The instance to which the disk is attached has never been started.
46804
- * * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
46805
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
46806
- * When you create a snapshot, take note of the following items:
46807
- * * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
46808
- * * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
46809
- * * You can create snapshots for a disk that is in the **Expired** state.`` If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** state and is deleted when the disk is released.``
46919
+ * The request ID.
46810
46920
  *
46811
46921
  * @param request CreateSnapshotRequest
46812
46922
  * @return CreateSnapshotResponse
@@ -47270,8 +47380,7 @@ class Client extends openapi_client_1.default {
47270
47380
  return await this.deactivateRouterInterfaceWithOptions(request, runtime);
47271
47381
  }
47272
47382
  /**
47273
- * ## Description
47274
- * Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
47383
+ * $.parameters[4].schema.description
47275
47384
  *
47276
47385
  * @param request DeleteActivationRequest
47277
47386
  * @param runtime runtime options for this request RuntimeOptions
@@ -47318,8 +47427,7 @@ class Client extends openapi_client_1.default {
47318
47427
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteActivationResponse({}));
47319
47428
  }
47320
47429
  /**
47321
- * ## Description
47322
- * Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
47430
+ * $.parameters[4].schema.description
47323
47431
  *
47324
47432
  * @param request DeleteActivationRequest
47325
47433
  * @return DeleteActivationResponse
@@ -48179,14 +48287,14 @@ class Client extends openapi_client_1.default {
48179
48287
  return await this.deleteInstanceWithOptions(request, runtime);
48180
48288
  }
48181
48289
  /**
48182
- * * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
48290
+ * * After an Elastic Compute Service (ECS) instance is released, all the physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
48183
48291
  * * Disks attached to the instance:
48184
- * * If `DeleteWithInstance` is set to false for disks that are attached to the instance, the disks are retained as pay-as-you-go disks.
48185
- * * If `DeleteWithInstance` is set to true for disks that are attached to the instance, the disks are released along with the instance.
48186
- * * If `DeleteAutoSnapshot` is set to false for disks that are attached to the instance, the automatic snapshots of the disks are retained.
48187
- * * If `DeleteAutoSnapshot` is set to true for disks that are attached to the instance, the automatic snapshots of the disks are released.
48292
+ * * The disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks.
48293
+ * * The disks for which `DeleteWithInstance` is set to true are released together with the instance.
48294
+ * * For disks for which `DeleteAutoSnapshot` is set to false, the automatic snapshots of the disks are retained.
48295
+ * * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
48188
48296
  * * Manual snapshots of the disks are retained.
48189
- * * If `OperationLocks` in the DeleteInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. Even if `DeleteWithInstance` is set to `false` for disks that are attached to the instance, the parameter is ignored and the disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
48297
+ * * If `OperationLocks` in the response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~). Even if `DeleteWithInstance` is set to `false` for the data disks that are attached to the instance, this parameter is ignored and the data disks are released along with the instance.
48190
48298
  *
48191
48299
  * @param request DeleteInstancesRequest
48192
48300
  * @param runtime runtime options for this request RuntimeOptions
@@ -48242,14 +48350,14 @@ class Client extends openapi_client_1.default {
48242
48350
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteInstancesResponse({}));
48243
48351
  }
48244
48352
  /**
48245
- * * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
48353
+ * * After an Elastic Compute Service (ECS) instance is released, all the physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
48246
48354
  * * Disks attached to the instance:
48247
- * * If `DeleteWithInstance` is set to false for disks that are attached to the instance, the disks are retained as pay-as-you-go disks.
48248
- * * If `DeleteWithInstance` is set to true for disks that are attached to the instance, the disks are released along with the instance.
48249
- * * If `DeleteAutoSnapshot` is set to false for disks that are attached to the instance, the automatic snapshots of the disks are retained.
48250
- * * If `DeleteAutoSnapshot` is set to true for disks that are attached to the instance, the automatic snapshots of the disks are released.
48355
+ * * The disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks.
48356
+ * * The disks for which `DeleteWithInstance` is set to true are released together with the instance.
48357
+ * * For disks for which `DeleteAutoSnapshot` is set to false, the automatic snapshots of the disks are retained.
48358
+ * * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
48251
48359
  * * Manual snapshots of the disks are retained.
48252
- * * If `OperationLocks` in the DeleteInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. Even if `DeleteWithInstance` is set to `false` for disks that are attached to the instance, the parameter is ignored and the disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
48360
+ * * If `OperationLocks` in the response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~). Even if `DeleteWithInstance` is set to `false` for the data disks that are attached to the instance, this parameter is ignored and the data disks are released along with the instance.
48253
48361
  *
48254
48362
  * @param request DeleteInstancesRequest
48255
48363
  * @return DeleteInstancesResponse
@@ -48461,19 +48569,15 @@ class Client extends openapi_client_1.default {
48461
48569
  return await this.deleteNatGatewayWithOptions(request, runtime);
48462
48570
  }
48463
48571
  /**
48464
- * ## Description
48572
+ * ##
48465
48573
  * * The ENI must be in the Available state.
48466
- * * If the ENI is bound to an ECS instance, you must unbind the ENI from the ECS instance ([DetachNetworkInterface](~~58514~~)) before you can delete the ENI.
48467
- * * After an ENI is deleted:
48574
+ * * If the ENI is attached to an Elastic Compute Service (ECS) instance, you must call [DetachNetworkInterface](~~58514~~) to detach the ENI from the instance before you can delete the ENI.
48575
+ * * After an ENI is deleted, the following situations occur:
48468
48576
  * * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
48469
48577
  * * The ENI is automatically removed from its security groups.
48470
48578
  * * This operation is an asynchronous operation. After this operation is called to delete an ENI, you can check the state or events of the ENI to determine whether the ENI is deleted. The following figure shows the transitions between the states of the ENI.
48471
- *
48472
- * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/en-US/20230223/krcd/DeleteNetworkInterface.png)
48473
- * * If the ENI is in the Deleting state, the ENI deletion request is sent and the ENI is being deleted.
48474
- * * If the ENI is not found, the ENI is deleted.
48475
- * * If the ENI is stuck in the Deleting state, the ENI fails to be deleted and you can re-initiate the request to delete the ENI.
48476
- * For information about examples on how to call this operation, see [Delete an ENI](~~471553~~).
48579
+ * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/zh-CN/20221208/xual/DeleteNetworkInterface.jpg) - If the ENI is in the Deleting state, the ENI deletion request is sent, and the ENI is being deleted. - If the ENI is not found, the ENI is deleted. - If the ENI is stuck in the Deleting state, the ENI fails to be deleted, and you can re-initiate the request to delete the ENI.
48580
+ * **For information about examples on how to call this operation, see **[Delete an ENI](~~471553~~).
48477
48581
  *
48478
48582
  * @param request DeleteNetworkInterfaceRequest
48479
48583
  * @param runtime runtime options for this request RuntimeOptions
@@ -48520,19 +48624,15 @@ class Client extends openapi_client_1.default {
48520
48624
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteNetworkInterfaceResponse({}));
48521
48625
  }
48522
48626
  /**
48523
- * ## Description
48627
+ * ##
48524
48628
  * * The ENI must be in the Available state.
48525
- * * If the ENI is bound to an ECS instance, you must unbind the ENI from the ECS instance ([DetachNetworkInterface](~~58514~~)) before you can delete the ENI.
48526
- * * After an ENI is deleted:
48629
+ * * If the ENI is attached to an Elastic Compute Service (ECS) instance, you must call [DetachNetworkInterface](~~58514~~) to detach the ENI from the instance before you can delete the ENI.
48630
+ * * After an ENI is deleted, the following situations occur:
48527
48631
  * * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
48528
48632
  * * The ENI is automatically removed from its security groups.
48529
48633
  * * This operation is an asynchronous operation. After this operation is called to delete an ENI, you can check the state or events of the ENI to determine whether the ENI is deleted. The following figure shows the transitions between the states of the ENI.
48530
- *
48531
- * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/en-US/20230223/krcd/DeleteNetworkInterface.png)
48532
- * * If the ENI is in the Deleting state, the ENI deletion request is sent and the ENI is being deleted.
48533
- * * If the ENI is not found, the ENI is deleted.
48534
- * * If the ENI is stuck in the Deleting state, the ENI fails to be deleted and you can re-initiate the request to delete the ENI.
48535
- * For information about examples on how to call this operation, see [Delete an ENI](~~471553~~).
48634
+ * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/zh-CN/20221208/xual/DeleteNetworkInterface.jpg) - If the ENI is in the Deleting state, the ENI deletion request is sent, and the ENI is being deleted. - If the ENI is not found, the ENI is deleted. - If the ENI is stuck in the Deleting state, the ENI fails to be deleted, and you can re-initiate the request to delete the ENI.
48635
+ * **For information about examples on how to call this operation, see **[Delete an ENI](~~471553~~).
48536
48636
  *
48537
48637
  * @param request DeleteNetworkInterfaceRequest
48538
48638
  * @return DeleteNetworkInterfaceResponse
@@ -48542,7 +48642,7 @@ class Client extends openapi_client_1.default {
48542
48642
  return await this.deleteNetworkInterfaceWithOptions(request, runtime);
48543
48643
  }
48544
48644
  /**
48545
- * @deprecated
48645
+ * @deprecated : DeleteNetworkInterfacePermission is deprecated, please use Ecs::2014-05-26::DeleteNetworkInterface instead.
48546
48646
  *
48547
48647
  * @param request DeleteNetworkInterfacePermissionRequest
48548
48648
  * @param runtime runtime options for this request RuntimeOptions
@@ -48593,7 +48693,7 @@ class Client extends openapi_client_1.default {
48593
48693
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteNetworkInterfacePermissionResponse({}));
48594
48694
  }
48595
48695
  /**
48596
- * @deprecated
48696
+ * @deprecated : DeleteNetworkInterfacePermission is deprecated, please use Ecs::2014-05-26::DeleteNetworkInterface instead.
48597
48697
  *
48598
48698
  * @param request DeleteNetworkInterfacePermissionRequest
48599
48699
  * @return DeleteNetworkInterfacePermissionResponse
@@ -48846,6 +48946,13 @@ class Client extends openapi_client_1.default {
48846
48946
  let runtime = new $Util.RuntimeOptions({});
48847
48947
  return await this.deleteRouterInterfaceWithOptions(request, runtime);
48848
48948
  }
48949
+ /**
48950
+ * Before you delete a security group, make sure that the security group does not contain instances and is not referenced by other security groups. Otherwise, the DeleteSecurityGroup request fails. You can call the [DescribeSecurityGroupReferences](~~57320~~) operation to query the reference details of the security group.
48951
+ *
48952
+ * @param request DeleteSecurityGroupRequest
48953
+ * @param runtime runtime options for this request RuntimeOptions
48954
+ * @return DeleteSecurityGroupResponse
48955
+ */
48849
48956
  async deleteSecurityGroupWithOptions(request, runtime) {
48850
48957
  tea_util_1.default.validateModel(request);
48851
48958
  let query = {};
@@ -48883,6 +48990,12 @@ class Client extends openapi_client_1.default {
48883
48990
  });
48884
48991
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteSecurityGroupResponse({}));
48885
48992
  }
48993
+ /**
48994
+ * Before you delete a security group, make sure that the security group does not contain instances and is not referenced by other security groups. Otherwise, the DeleteSecurityGroup request fails. You can call the [DescribeSecurityGroupReferences](~~57320~~) operation to query the reference details of the security group.
48995
+ *
48996
+ * @param request DeleteSecurityGroupRequest
48997
+ * @return DeleteSecurityGroupResponse
48998
+ */
48886
48999
  async deleteSecurityGroup(request) {
48887
49000
  let runtime = new $Util.RuntimeOptions({});
48888
49001
  return await this.deleteSecurityGroupWithOptions(request, runtime);
@@ -49990,10 +50103,10 @@ class Client extends openapi_client_1.default {
49990
50103
  return await this.describeCapacityReservationsWithOptions(request, runtime);
49991
50104
  }
49992
50105
  /**
49993
- * When you call this operation, take note of the following items:
50106
+ * Take note of the following items:
49994
50107
  * * This operation applies only to instances that reside in the classic network.
49995
- * * You can query up to 100 instances that reside in the classic network at a time.
49996
- * * At least the `VpcId` or `InstanceId` parameter is specified.
50108
+ * * You can query a maximum of 100 instances that reside in the classic network at a time.
50109
+ * * At least one of the `VpcId` and `InstanceId` parameters must be configured.
49997
50110
  *
49998
50111
  * @param request DescribeClassicLinkInstancesRequest
49999
50112
  * @param runtime runtime options for this request RuntimeOptions
@@ -50043,10 +50156,10 @@ class Client extends openapi_client_1.default {
50043
50156
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeClassicLinkInstancesResponse({}));
50044
50157
  }
50045
50158
  /**
50046
- * When you call this operation, take note of the following items:
50159
+ * Take note of the following items:
50047
50160
  * * This operation applies only to instances that reside in the classic network.
50048
- * * You can query up to 100 instances that reside in the classic network at a time.
50049
- * * At least the `VpcId` or `InstanceId` parameter is specified.
50161
+ * * You can query a maximum of 100 instances that reside in the classic network at a time.
50162
+ * * At least one of the `VpcId` and `InstanceId` parameters must be configured.
50050
50163
  *
50051
50164
  * @param request DescribeClassicLinkInstancesRequest
50052
50165
  * @return DescribeClassicLinkInstancesResponse
@@ -50162,7 +50275,7 @@ class Client extends openapi_client_1.default {
50162
50275
  return await this.describeClustersWithOptions(request, runtime);
50163
50276
  }
50164
50277
  /**
50165
- * The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
50278
+ * If you specify only `Action` and `RegionId` to call this operation, all the available commands (`CommandId`) that you created in the specified region are queried by default.
50166
50279
  *
50167
50280
  * @param request DescribeCommandsRequest
50168
50281
  * @param runtime runtime options for this request RuntimeOptions
@@ -50236,7 +50349,7 @@ class Client extends openapi_client_1.default {
50236
50349
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeCommandsResponse({}));
50237
50350
  }
50238
50351
  /**
50239
- * The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
50352
+ * If you specify only `Action` and `RegionId` to call this operation, all the available commands (`CommandId`) that you created in the specified region are queried by default.
50240
50353
  *
50241
50354
  * @param request DescribeCommandsRequest
50242
50355
  * @return DescribeCommandsResponse
@@ -50409,9 +50522,10 @@ class Client extends openapi_client_1.default {
50409
50522
  return await this.describeDedicatedHostTypesWithOptions(request, runtime);
50410
50523
  }
50411
50524
  /**
50412
- * You can use one of the following methods to query the details of one or more dedicated hosts:
50413
- * * Specify the `DedicatedHostIds` parameter to query the details of specific dedicated hosts.
50414
- * * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a specific dedicated host cluster.
50525
+ * ## Usage notes
50526
+ * You can use one of the following methods to query the details of dedicated hosts:
50527
+ * * Specify `DedicatedHostIds` to query the details of dedicated hosts.
50528
+ * * Specify `DedicatedHostClusterId` to query the details of the dedicated hosts in a dedicated host cluster.
50415
50529
  *
50416
50530
  * @param request DescribeDedicatedHostsRequest
50417
50531
  * @param runtime runtime options for this request RuntimeOptions
@@ -50488,9 +50602,10 @@ class Client extends openapi_client_1.default {
50488
50602
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDedicatedHostsResponse({}));
50489
50603
  }
50490
50604
  /**
50491
- * You can use one of the following methods to query the details of one or more dedicated hosts:
50492
- * * Specify the `DedicatedHostIds` parameter to query the details of specific dedicated hosts.
50493
- * * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a specific dedicated host cluster.
50605
+ * ## Usage notes
50606
+ * You can use one of the following methods to query the details of dedicated hosts:
50607
+ * * Specify `DedicatedHostIds` to query the details of dedicated hosts.
50608
+ * * Specify `DedicatedHostClusterId` to query the details of the dedicated hosts in a dedicated host cluster.
50494
50609
  *
50495
50610
  * @param request DescribeDedicatedHostsRequest
50496
50611
  * @return DescribeDedicatedHostsResponse
@@ -50500,7 +50615,9 @@ class Client extends openapi_client_1.default {
50500
50615
  return await this.describeDedicatedHostsWithOptions(request, runtime);
50501
50616
  }
50502
50617
  /**
50503
- * The end time when the filed resources are delivered and available. The time follows the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
50618
+ * You can call this operation to query the details of resources you filed with Alibaba Cloud, including the types, delivery status, and consumption details of the resources.
50619
+ * By default, the filing tickets of I/O optimized VPC-type instances are queried.
50620
+ * For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
50504
50621
  *
50505
50622
  * @param request DescribeDemandsRequest
50506
50623
  * @param runtime runtime options for this request RuntimeOptions
@@ -50577,7 +50694,9 @@ class Client extends openapi_client_1.default {
50577
50694
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDemandsResponse({}));
50578
50695
  }
50579
50696
  /**
50580
- * The end time when the filed resources are delivered and available. The time follows the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
50697
+ * You can call this operation to query the details of resources you filed with Alibaba Cloud, including the types, delivery status, and consumption details of the resources.
50698
+ * By default, the filing tickets of I/O optimized VPC-type instances are queried.
50699
+ * For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
50581
50700
  *
50582
50701
  * @param request DescribeDemandsRequest
50583
50702
  * @return DescribeDemandsResponse
@@ -50587,7 +50706,8 @@ class Client extends openapi_client_1.default {
50587
50706
  return await this.describeDemandsWithOptions(request, runtime);
50588
50707
  }
50589
50708
  /**
50590
- * For more information about instance families, see [Instance families](~~25378~~).
50709
+ * ## Usage notes
50710
+ * For more information about instance families, see [Overview of instance families](~~25378~~).
50591
50711
  *
50592
50712
  * @param request DescribeDeploymentSetSupportedInstanceTypeFamilyRequest
50593
50713
  * @param runtime runtime options for this request RuntimeOptions
@@ -50631,7 +50751,8 @@ class Client extends openapi_client_1.default {
50631
50751
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDeploymentSetSupportedInstanceTypeFamilyResponse({}));
50632
50752
  }
50633
50753
  /**
50634
- * For more information about instance families, see [Instance families](~~25378~~).
50754
+ * ## Usage notes
50755
+ * For more information about instance families, see [Overview of instance families](~~25378~~).
50635
50756
  *
50636
50757
  * @param request DescribeDeploymentSetSupportedInstanceTypeFamilyRequest
50637
50758
  * @return DescribeDeploymentSetSupportedInstanceTypeFamilyResponse
@@ -51079,7 +51200,7 @@ class Client extends openapi_client_1.default {
51079
51200
  return await this.describeDisksWithOptions(request, runtime);
51080
51201
  }
51081
51202
  /**
51082
- * * The full status information of an EBS device includes the lifecycle status provided by the `Status` parameter, health status provided by the `HealthStatus` parameter, and event type provided by the `EventType` parameter of the EBS device. You can filter the results based on these parameters.
51203
+ * * The full status information about an EBS device includes the lifecycle status specified by the `Status` parameter, health status specified by the `HealthStatus` parameter, and event type specified by the `EventType` parameter of the EBS device. You can filter the results based on these parameters.
51083
51204
  * * The release time, scheduled execution time, and actual execution time of each EBS device event are identical. If you specify a period of time by using the `EventTime.Start` and `EventTime.End` parameters, all events that occurred within this period are queried. You can query events that occurred within the last seven days.
51084
51205
  *
51085
51206
  * @param request DescribeDisksFullStatusRequest
@@ -51154,7 +51275,7 @@ class Client extends openapi_client_1.default {
51154
51275
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDisksFullStatusResponse({}));
51155
51276
  }
51156
51277
  /**
51157
- * * The full status information of an EBS device includes the lifecycle status provided by the `Status` parameter, health status provided by the `HealthStatus` parameter, and event type provided by the `EventType` parameter of the EBS device. You can filter the results based on these parameters.
51278
+ * * The full status information about an EBS device includes the lifecycle status specified by the `Status` parameter, health status specified by the `HealthStatus` parameter, and event type specified by the `EventType` parameter of the EBS device. You can filter the results based on these parameters.
51158
51279
  * * The release time, scheduled execution time, and actual execution time of each EBS device event are identical. If you specify a period of time by using the `EventTime.Start` and `EventTime.End` parameters, all events that occurred within this period are queried. You can query events that occurred within the last seven days.
51159
51280
  *
51160
51281
  * @param request DescribeDisksFullStatusRequest
@@ -51444,10 +51565,9 @@ class Client extends openapi_client_1.default {
51444
51565
  return await this.describeElasticityAssurancesWithOptions(request, runtime);
51445
51566
  }
51446
51567
  /**
51447
- * ## Description
51448
- * The monitored data includes traffic sent and received over the internal network, the number of packets sent and received by the secondary ENI, and the number of dropped packets sent and received by the secondary ENI. Specific information may be missing from the returned monitored data. This is because the system cannot obtain the relevant information. For example, if the instance to which the secondary ENI is bound is in the Stopped state, or if the secondary ENI is not bound to an instance and is in the Available state, the monitored data of the secondary ENI cannot be obtained. When you call this operation, take note of the following items:
51449
- * * Up to 400 monitored data entries can be returned at a time. If the value calculated by using the (EndTime - StartTime)/Period formula is greater than 400, an error is returned.
51450
- * * Only the monitored data within the last 30 days can be queried. If the value of the StartTime parameter is earlier than 30 days from the time when you call this operation, an error is returned.
51568
+ * The monitoring data includes traffic sent and received over the internal network, the number of packets sent and received by the secondary ENI, and the number of dropped packets sent and received by the secondary ENI. Specific information may be missing from the returned monitoring data. This is because the system cannot obtain the relevant information. For example, if the instance to which the secondary ENI is bound is in the Stopped state, or if the secondary ENI is not bound to an instance and is in the Available state, the monitoring data of the secondary ENI cannot be obtained. When you call this operation, take note of the following items:
51569
+ * * Up to 400 monitoring data entries can be returned at a time. If the value that is calculated by using the following formula is greater than 400: (EndTime StartTime)/Period, an error is returned.
51570
+ * * Only the monitoring data within the last 30 days can be queried. If the value of StartTime is more than 30 days earlier than the time when you call this operation, an error is returned.
51451
51571
  *
51452
51572
  * @param request DescribeEniMonitorDataRequest
51453
51573
  * @param runtime runtime options for this request RuntimeOptions
@@ -51503,10 +51623,9 @@ class Client extends openapi_client_1.default {
51503
51623
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeEniMonitorDataResponse({}));
51504
51624
  }
51505
51625
  /**
51506
- * ## Description
51507
- * The monitored data includes traffic sent and received over the internal network, the number of packets sent and received by the secondary ENI, and the number of dropped packets sent and received by the secondary ENI. Specific information may be missing from the returned monitored data. This is because the system cannot obtain the relevant information. For example, if the instance to which the secondary ENI is bound is in the Stopped state, or if the secondary ENI is not bound to an instance and is in the Available state, the monitored data of the secondary ENI cannot be obtained. When you call this operation, take note of the following items:
51508
- * * Up to 400 monitored data entries can be returned at a time. If the value calculated by using the (EndTime - StartTime)/Period formula is greater than 400, an error is returned.
51509
- * * Only the monitored data within the last 30 days can be queried. If the value of the StartTime parameter is earlier than 30 days from the time when you call this operation, an error is returned.
51626
+ * The monitoring data includes traffic sent and received over the internal network, the number of packets sent and received by the secondary ENI, and the number of dropped packets sent and received by the secondary ENI. Specific information may be missing from the returned monitoring data. This is because the system cannot obtain the relevant information. For example, if the instance to which the secondary ENI is bound is in the Stopped state, or if the secondary ENI is not bound to an instance and is in the Available state, the monitoring data of the secondary ENI cannot be obtained. When you call this operation, take note of the following items:
51627
+ * * Up to 400 monitoring data entries can be returned at a time. If the value that is calculated by using the following formula is greater than 400: (EndTime StartTime)/Period, an error is returned.
51628
+ * * Only the monitoring data within the last 30 days can be queried. If the value of StartTime is more than 30 days earlier than the time when you call this operation, an error is returned.
51510
51629
  *
51511
51630
  * @param request DescribeEniMonitorDataRequest
51512
51631
  * @return DescribeEniMonitorDataResponse
@@ -51834,7 +51953,7 @@ class Client extends openapi_client_1.default {
51834
51953
  /**
51835
51954
  * * The image template that is specified by the `ImagePipelineId` parameter cannot be a deleted image template. When an image template is deleted, the corresponding image creation task is deleted.
51836
51955
  * * You must specify `ImagePipelineId` or `ExecutionId`.
51837
- * * You can configure the query token by using the `NextToken` parameter. Set the value of the query token to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
51956
+ * * You can configure the query token by using the `NextToken` parameter. Set the value of NextToken to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
51838
51957
  *
51839
51958
  * @param request DescribeImagePipelineExecutionsRequest
51840
51959
  * @param runtime runtime options for this request RuntimeOptions
@@ -51898,7 +52017,7 @@ class Client extends openapi_client_1.default {
51898
52017
  /**
51899
52018
  * * The image template that is specified by the `ImagePipelineId` parameter cannot be a deleted image template. When an image template is deleted, the corresponding image creation task is deleted.
51900
52019
  * * You must specify `ImagePipelineId` or `ExecutionId`.
51901
- * * You can configure the query token by using the `NextToken` parameter. Set the value of the query token to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
52020
+ * * You can configure the query token by using the `NextToken` parameter. Set the value of NextToken to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
51902
52021
  *
51903
52022
  * @param request DescribeImagePipelineExecutionsRequest
51904
52023
  * @return DescribeImagePipelineExecutionsResponse
@@ -51908,6 +52027,7 @@ class Client extends openapi_client_1.default {
51908
52027
  return await this.describeImagePipelineExecutionsWithOptions(request, runtime);
51909
52028
  }
51910
52029
  /**
52030
+ * ## Description
51911
52031
  * You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
51912
52032
  *
51913
52033
  * @param request DescribeImagePipelinesRequest
@@ -51973,6 +52093,7 @@ class Client extends openapi_client_1.default {
51973
52093
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeImagePipelinesResponse({}));
51974
52094
  }
51975
52095
  /**
52096
+ * ## Description
51976
52097
  * You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
51977
52098
  *
51978
52099
  * @param request DescribeImagePipelinesRequest
@@ -52360,8 +52481,8 @@ class Client extends openapi_client_1.default {
52360
52481
  return await this.describeInstanceAutoRenewAttributeWithOptions(request, runtime);
52361
52482
  }
52362
52483
  /**
52363
- * * You can query system events that were finished within the last 30 days. The time range for querying unfinished system events is unlimited.
52364
- * * You can also specify the InstanceEventCycleStatus.N parameter to filter the system events in the Scheduled, Executing, or Inquiring state.
52484
+ * * You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
52485
+ * * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
52365
52486
  *
52366
52487
  * @param request DescribeInstanceHistoryEventsRequest
52367
52488
  * @param runtime runtime options for this request RuntimeOptions
@@ -52450,8 +52571,8 @@ class Client extends openapi_client_1.default {
52450
52571
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceHistoryEventsResponse({}));
52451
52572
  }
52452
52573
  /**
52453
- * * You can query system events that were finished within the last 30 days. The time range for querying unfinished system events is unlimited.
52454
- * * You can also specify the InstanceEventCycleStatus.N parameter to filter the system events in the Scheduled, Executing, or Inquiring state.
52574
+ * * You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
52575
+ * * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
52455
52576
  *
52456
52577
  * @param request DescribeInstanceHistoryEventsRequest
52457
52578
  * @return DescribeInstanceHistoryEventsResponse
@@ -52463,7 +52584,7 @@ class Client extends openapi_client_1.default {
52463
52584
  /**
52464
52585
  * This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
52465
52586
  * * Maintenance window: the time period that you specify for maintenance.
52466
- * * Maintenance action: the policy that you specify in response to instance shutdown.
52587
+ * * Maintenance action: the action that you specify in response to instance shutdown.
52467
52588
  *
52468
52589
  * @param request DescribeInstanceMaintenanceAttributesRequest
52469
52590
  * @param runtime runtime options for this request RuntimeOptions
@@ -52515,7 +52636,7 @@ class Client extends openapi_client_1.default {
52515
52636
  /**
52516
52637
  * This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
52517
52638
  * * Maintenance window: the time period that you specify for maintenance.
52518
- * * Maintenance action: the policy that you specify in response to instance shutdown.
52639
+ * * Maintenance action: the action that you specify in response to instance shutdown.
52519
52640
  *
52520
52641
  * @param request DescribeInstanceMaintenanceAttributesRequest
52521
52642
  * @return DescribeInstanceMaintenanceAttributesResponse
@@ -52525,7 +52646,9 @@ class Client extends openapi_client_1.default {
52525
52646
  return await this.describeInstanceMaintenanceAttributesWithOptions(request, runtime);
52526
52647
  }
52527
52648
  /**
52528
- * The price.
52649
+ * * Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations. The pricing information cannot be queried when the instance configurations are downgraded.
52650
+ * * Pricing information cannot be queried for pay-as-you-go ECS instances when you change their configurations. Prices of existing pay-as-you-go ECS instances whose configurations are changed are the same as those of new pay-as-you-go instances. You can call the [DescribePrice](~~107829~~) operation to query the latest prices of ECS instances.
52651
+ * * Before you upgrade the configurations of an instance, we recommend that you call the [DescribeResourcesModification](~~66187~~) operation to query the instance types available for configuration upgrades in a specified zone.
52529
52652
  *
52530
52653
  * @param request DescribeInstanceModificationPriceRequest
52531
52654
  * @param runtime runtime options for this request RuntimeOptions
@@ -52578,7 +52701,9 @@ class Client extends openapi_client_1.default {
52578
52701
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceModificationPriceResponse({}));
52579
52702
  }
52580
52703
  /**
52581
- * The price.
52704
+ * * Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations. The pricing information cannot be queried when the instance configurations are downgraded.
52705
+ * * Pricing information cannot be queried for pay-as-you-go ECS instances when you change their configurations. Prices of existing pay-as-you-go ECS instances whose configurations are changed are the same as those of new pay-as-you-go instances. You can call the [DescribePrice](~~107829~~) operation to query the latest prices of ECS instances.
52706
+ * * Before you upgrade the configurations of an instance, we recommend that you call the [DescribeResourcesModification](~~66187~~) operation to query the instance types available for configuration upgrades in a specified zone.
52582
52707
  *
52583
52708
  * @param request DescribeInstanceModificationPriceRequest
52584
52709
  * @return DescribeInstanceModificationPriceResponse
@@ -52588,7 +52713,7 @@ class Client extends openapi_client_1.default {
52588
52713
  return await this.describeInstanceModificationPriceWithOptions(request, runtime);
52589
52714
  }
52590
52715
  /**
52591
- * When you call this operation, take note of the following items:
52716
+ * Take note of the following items:
52592
52717
  * * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value that is calculated by using the following formula is greater than 400: `(EndTime − StartTime)/Period`.
52593
52718
  * * You can query the monitoring data of the last 30 days. If the value of the `StartTime` parameter is more than 30 days earlier than the current time, an error is returned.
52594
52719
  * * In some scenarios, such as when the instance is in the Stopped state, the system cannot obtain the relevant information and a portion may be missing from the returned monitoring data.
@@ -52641,7 +52766,7 @@ class Client extends openapi_client_1.default {
52641
52766
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceMonitorDataResponse({}));
52642
52767
  }
52643
52768
  /**
52644
- * When you call this operation, take note of the following items:
52769
+ * Take note of the following items:
52645
52770
  * * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value that is calculated by using the following formula is greater than 400: `(EndTime − StartTime)/Period`.
52646
52771
  * * You can query the monitoring data of the last 30 days. If the value of the `StartTime` parameter is more than 30 days earlier than the current time, an error is returned.
52647
52772
  * * In some scenarios, such as when the instance is in the Stopped state, the system cannot obtain the relevant information and a portion may be missing from the returned monitoring data.
@@ -52653,6 +52778,14 @@ class Client extends openapi_client_1.default {
52653
52778
  let runtime = new $Util.RuntimeOptions({});
52654
52779
  return await this.describeInstanceMonitorDataWithOptions(request, runtime);
52655
52780
  }
52781
+ /**
52782
+ * ## Description
52783
+ * When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
52784
+ *
52785
+ * @param request DescribeInstanceRamRoleRequest
52786
+ * @param runtime runtime options for this request RuntimeOptions
52787
+ * @return DescribeInstanceRamRoleResponse
52788
+ */
52656
52789
  async describeInstanceRamRoleWithOptions(request, runtime) {
52657
52790
  tea_util_1.default.validateModel(request);
52658
52791
  let query = {};
@@ -52696,6 +52829,13 @@ class Client extends openapi_client_1.default {
52696
52829
  });
52697
52830
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceRamRoleResponse({}));
52698
52831
  }
52832
+ /**
52833
+ * ## Description
52834
+ * When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
52835
+ *
52836
+ * @param request DescribeInstanceRamRoleRequest
52837
+ * @return DescribeInstanceRamRoleResponse
52838
+ */
52699
52839
  async describeInstanceRamRole(request) {
52700
52840
  let runtime = new $Util.RuntimeOptions({});
52701
52841
  return await this.describeInstanceRamRoleWithOptions(request, runtime);
@@ -53085,6 +53225,32 @@ class Client extends openapi_client_1.default {
53085
53225
  let runtime = new $Util.RuntimeOptions({});
53086
53226
  return await this.describeInstanceVncPasswdWithOptions(request, runtime);
53087
53227
  }
53228
+ /**
53229
+ * ## Description
53230
+ * When you call this operation, take note of the following items:
53231
+ * * The URL returned is valid only for 15 seconds. If a connection is not established within 15 seconds after a successful query, the URL expires and you must query it again.
53232
+ * * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal for 60 seconds, the VNC management terminal is automatically disconnected.
53233
+ * * When you disconnect from the VNC management terminal, you can reconnect to the VNC management terminal up to 30 times a minute.
53234
+ * * You must append the following parameters to the end of the `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?` URL: `vncUrl`, `instanceId`, `isWindows` (True or False), and `password`. Connect these parameters with ampersands (`&`).
53235
+ * * `vncUrl:` the `VncUrl` value returned after a successful query.
53236
+ * * `instanceId:` the ID of your instance.
53237
+ * * `isWindows:` specifies whether the operating system of the instance is Windows. Set the parameter to `true` if the operating system is Windows. Set the parameter to `false` if the operating system is not Windows.
53238
+ * * `password:` Optional. A six-character password used to connect to the VNC management terminal. It can contain digits and letters. You do not need to enter your password again when the connection is being established if you set this parameter.
53239
+ * Example:
53240
+ * ```
53241
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
53242
+ *
53243
+ * ```
53244
+ * Or:
53245
+ * ```
53246
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true&password=****
53247
+ *
53248
+ * ```
53249
+ *
53250
+ * @param request DescribeInstanceVncUrlRequest
53251
+ * @param runtime runtime options for this request RuntimeOptions
53252
+ * @return DescribeInstanceVncUrlResponse
53253
+ */
53088
53254
  async describeInstanceVncUrlWithOptions(request, runtime) {
53089
53255
  tea_util_1.default.validateModel(request);
53090
53256
  let query = {};
@@ -53122,6 +53288,31 @@ class Client extends openapi_client_1.default {
53122
53288
  });
53123
53289
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceVncUrlResponse({}));
53124
53290
  }
53291
+ /**
53292
+ * ## Description
53293
+ * When you call this operation, take note of the following items:
53294
+ * * The URL returned is valid only for 15 seconds. If a connection is not established within 15 seconds after a successful query, the URL expires and you must query it again.
53295
+ * * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal for 60 seconds, the VNC management terminal is automatically disconnected.
53296
+ * * When you disconnect from the VNC management terminal, you can reconnect to the VNC management terminal up to 30 times a minute.
53297
+ * * You must append the following parameters to the end of the `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?` URL: `vncUrl`, `instanceId`, `isWindows` (True or False), and `password`. Connect these parameters with ampersands (`&`).
53298
+ * * `vncUrl:` the `VncUrl` value returned after a successful query.
53299
+ * * `instanceId:` the ID of your instance.
53300
+ * * `isWindows:` specifies whether the operating system of the instance is Windows. Set the parameter to `true` if the operating system is Windows. Set the parameter to `false` if the operating system is not Windows.
53301
+ * * `password:` Optional. A six-character password used to connect to the VNC management terminal. It can contain digits and letters. You do not need to enter your password again when the connection is being established if you set this parameter.
53302
+ * Example:
53303
+ * ```
53304
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
53305
+ *
53306
+ * ```
53307
+ * Or:
53308
+ * ```
53309
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true&password=****
53310
+ *
53311
+ * ```
53312
+ *
53313
+ * @param request DescribeInstanceVncUrlRequest
53314
+ * @return DescribeInstanceVncUrlResponse
53315
+ */
53125
53316
  async describeInstanceVncUrl(request) {
53126
53317
  let runtime = new $Util.RuntimeOptions({});
53127
53318
  return await this.describeInstanceVncUrlWithOptions(request, runtime);
@@ -53387,7 +53578,9 @@ class Client extends openapi_client_1.default {
53387
53578
  return await this.describeInstancesFullStatusWithOptions(request, runtime);
53388
53579
  }
53389
53580
  /**
53390
- * The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
53581
+ * The number of times that the command is run on the instance.
53582
+ * * If the command is set to run only once on the instance, the value is 0 or 1.
53583
+ * * If the command is set to run on a schedule on the instance, the value is the number of times that the command is run.
53391
53584
  *
53392
53585
  * @param request DescribeInvocationResultsRequest
53393
53586
  * @param runtime runtime options for this request RuntimeOptions
@@ -53461,7 +53654,9 @@ class Client extends openapi_client_1.default {
53461
53654
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeInvocationResultsResponse({}));
53462
53655
  }
53463
53656
  /**
53464
- * The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
53657
+ * The number of times that the command is run on the instance.
53658
+ * * If the command is set to run only once on the instance, the value is 0 or 1.
53659
+ * * If the command is set to run on a schedule on the instance, the value is the number of times that the command is run.
53465
53660
  *
53466
53661
  * @param request DescribeInvocationResultsRequest
53467
53662
  * @return DescribeInvocationResultsResponse
@@ -53621,6 +53816,14 @@ class Client extends openapi_client_1.default {
53621
53816
  let runtime = new $Util.RuntimeOptions({});
53622
53817
  return await this.describeKeyPairsWithOptions(request, runtime);
53623
53818
  }
53819
+ /**
53820
+ * ## Debugging
53821
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeLaunchTemplateVersions\\&type=RPC\\&version=2014-05-26)
53822
+ *
53823
+ * @param request DescribeLaunchTemplateVersionsRequest
53824
+ * @param runtime runtime options for this request RuntimeOptions
53825
+ * @return DescribeLaunchTemplateVersionsResponse
53826
+ */
53624
53827
  async describeLaunchTemplateVersionsWithOptions(request, runtime) {
53625
53828
  tea_util_1.default.validateModel(request);
53626
53829
  let query = {};
@@ -53682,6 +53885,13 @@ class Client extends openapi_client_1.default {
53682
53885
  });
53683
53886
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeLaunchTemplateVersionsResponse({}));
53684
53887
  }
53888
+ /**
53889
+ * ## Debugging
53890
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeLaunchTemplateVersions\\&type=RPC\\&version=2014-05-26)
53891
+ *
53892
+ * @param request DescribeLaunchTemplateVersionsRequest
53893
+ * @return DescribeLaunchTemplateVersionsResponse
53894
+ */
53685
53895
  async describeLaunchTemplateVersions(request) {
53686
53896
  let runtime = new $Util.RuntimeOptions({});
53687
53897
  return await this.describeLaunchTemplateVersionsWithOptions(request, runtime);
@@ -54964,6 +55174,14 @@ class Client extends openapi_client_1.default {
54964
55174
  let runtime = new $Util.RuntimeOptions({});
54965
55175
  return await this.describeResourceByTagsWithOptions(request, runtime);
54966
55176
  }
55177
+ /**
55178
+ * ## Debugging
55179
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeResourcesModification\\&type=RPC\\&version=2014-05-26)
55180
+ *
55181
+ * @param request DescribeResourcesModificationRequest
55182
+ * @param runtime runtime options for this request RuntimeOptions
55183
+ * @return DescribeResourcesModificationResponse
55184
+ */
54967
55185
  async describeResourcesModificationWithOptions(request, runtime) {
54968
55186
  tea_util_1.default.validateModel(request);
54969
55187
  let query = {};
@@ -55025,6 +55243,13 @@ class Client extends openapi_client_1.default {
55025
55243
  });
55026
55244
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourcesModificationResponse({}));
55027
55245
  }
55246
+ /**
55247
+ * ## Debugging
55248
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeResourcesModification\\&type=RPC\\&version=2014-05-26)
55249
+ *
55250
+ * @param request DescribeResourcesModificationRequest
55251
+ * @return DescribeResourcesModificationResponse
55252
+ */
55028
55253
  async describeResourcesModification(request) {
55029
55254
  let runtime = new $Util.RuntimeOptions({});
55030
55255
  return await this.describeResourcesModificationWithOptions(request, runtime);
@@ -55270,7 +55495,10 @@ class Client extends openapi_client_1.default {
55270
55495
  return await this.describeSecurityGroupReferencesWithOptions(request, runtime);
55271
55496
  }
55272
55497
  /**
55273
- * The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
55498
+ * Take note of the following items:
55499
+ * * The basic information about security groups includes their IDs and descriptions. The response returns security groups ordered in descending order based on their IDs.
55500
+ * * We recommend that you use NextToken and MaxResults for a paged query. We recommend that you use MaxResults to specify the maximum number of entries to return in each request. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you perform the next request, set NextToken to the value that is returned for NextToken in the previous call and use MaxResults to specify the maximum number of entries to return in this call. If the return value of NextToken is empty, the current page of results is the last page and no more results are to be returned.
55501
+ * * When you use Alibaba Cloud CLI to call an API operation, you must specify values for request parameters of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
55274
55502
  *
55275
55503
  * @param request DescribeSecurityGroupsRequest
55276
55504
  * @param runtime runtime options for this request RuntimeOptions
@@ -55356,7 +55584,10 @@ class Client extends openapi_client_1.default {
55356
55584
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSecurityGroupsResponse({}));
55357
55585
  }
55358
55586
  /**
55359
- * The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
55587
+ * Take note of the following items:
55588
+ * * The basic information about security groups includes their IDs and descriptions. The response returns security groups ordered in descending order based on their IDs.
55589
+ * * We recommend that you use NextToken and MaxResults for a paged query. We recommend that you use MaxResults to specify the maximum number of entries to return in each request. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you perform the next request, set NextToken to the value that is returned for NextToken in the previous call and use MaxResults to specify the maximum number of entries to return in this call. If the return value of NextToken is empty, the current page of results is the last page and no more results are to be returned.
55590
+ * * When you use Alibaba Cloud CLI to call an API operation, you must specify values for request parameters of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
55360
55591
  *
55361
55592
  * @param request DescribeSecurityGroupsRequest
55362
55593
  * @return DescribeSecurityGroupsResponse
@@ -55367,8 +55598,8 @@ class Client extends openapi_client_1.default {
55367
55598
  }
55368
55599
  /**
55369
55600
  * ## Usage notes
55370
- * * When you send a file, the file may fail to be sent to specified Elastic Compute Service (ECS) instances. You can call this operation to check whether the file is successfully sent.
55371
- * * You can call this operation to query the records of files sent in the last six weeks.
55601
+ * * When you send a file, the file may fail to be sent to specified Elastic Compute Service (ECS) instances. You can call this operation to check the file sending results.
55602
+ * * You can call this operation to query the file sending records within the last six weeks.
55372
55603
  *
55373
55604
  * @param request DescribeSendFileResultsRequest
55374
55605
  * @param runtime runtime options for this request RuntimeOptions
@@ -55434,8 +55665,8 @@ class Client extends openapi_client_1.default {
55434
55665
  }
55435
55666
  /**
55436
55667
  * ## Usage notes
55437
- * * When you send a file, the file may fail to be sent to specified Elastic Compute Service (ECS) instances. You can call this operation to check whether the file is successfully sent.
55438
- * * You can call this operation to query the records of files sent in the last six weeks.
55668
+ * * When you send a file, the file may fail to be sent to specified Elastic Compute Service (ECS) instances. You can call this operation to check the file sending results.
55669
+ * * You can call this operation to query the file sending records within the last six weeks.
55439
55670
  *
55440
55671
  * @param request DescribeSendFileResultsRequest
55441
55672
  * @return DescribeSendFileResultsResponse
@@ -55595,7 +55826,7 @@ class Client extends openapi_client_1.default {
55595
55826
  /**
55596
55827
  * Take note of the following items:
55597
55828
  * * Up to 400 entries of monitoring data can be returned at a time. If the result of the `(EndTime - StartTime)/Period` formula is greater than 400, an error is returned.
55598
- * * Only the monitoring data within the last 30 days can be queried. If the value of `StartTime` is more than 30 days earlier than the time when you call this operation, an error is returned.
55829
+ * * Only the monitored data within the last 30 days can be queried. If the value of `StartTime` is more than 30 days earlier than the time when you call this operation, an error is returned.
55599
55830
  *
55600
55831
  * @param request DescribeSnapshotMonitorDataRequest
55601
55832
  * @param runtime runtime options for this request RuntimeOptions
@@ -55650,7 +55881,7 @@ class Client extends openapi_client_1.default {
55650
55881
  /**
55651
55882
  * Take note of the following items:
55652
55883
  * * Up to 400 entries of monitoring data can be returned at a time. If the result of the `(EndTime - StartTime)/Period` formula is greater than 400, an error is returned.
55653
- * * Only the monitoring data within the last 30 days can be queried. If the value of `StartTime` is more than 30 days earlier than the time when you call this operation, an error is returned.
55884
+ * * Only the monitored data within the last 30 days can be queried. If the value of `StartTime` is more than 30 days earlier than the time when you call this operation, an error is returned.
55654
55885
  *
55655
55886
  * @param request DescribeSnapshotMonitorDataRequest
55656
55887
  * @return DescribeSnapshotMonitorDataResponse
@@ -55704,8 +55935,7 @@ class Client extends openapi_client_1.default {
55704
55935
  return await this.describeSnapshotPackageWithOptions(request, runtime);
55705
55936
  }
55706
55937
  /**
55707
- * ## Usage notes
55708
- * You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
55938
+ * You can configure multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
55709
55939
  * When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
55710
55940
  *
55711
55941
  * @param request DescribeSnapshotsRequest
@@ -55807,8 +56037,7 @@ class Client extends openapi_client_1.default {
55807
56037
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
55808
56038
  }
55809
56039
  /**
55810
- * ## Usage notes
55811
- * You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
56040
+ * You can configure multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
55812
56041
  * When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
55813
56042
  *
55814
56043
  * @param request DescribeSnapshotsRequest
@@ -55873,15 +56102,15 @@ class Client extends openapi_client_1.default {
55873
56102
  return await this.describeSnapshotsUsageWithOptions(request, runtime);
55874
56103
  }
55875
56104
  /**
55876
- * * You can call this operation to query information that is generated for preemptible instances in the last 30 days and select suitable instance types based on the returned results. The information that you can query by calling this operation includes:
55877
- * * Average release rate of preemptible instances.
55878
- * * The discount rate of the average preemptible instance price relative to the pay-as-you-go instance price.
55879
- * * Average preemptible instance price that is calculated based on the preceding percentage.
55880
- * * This operation is applicable only to I/O optimized preemptible instances that are located in virtual private clouds (VPCs).
55881
- * * You can use one of the following methods to specify instance types:
55882
- * * Set the `Cores` and `Memory` parameters or the `MinCores` and `MinMemory` parameters to query information of instance types that have the specified number of vCPUs and memory size.
55883
- * * Set the `InstanceTypes.N parameter` to query information of the specified instance types.
55884
- * * Set the `Cores` and `Memory` parameters or the `MinCores` and `MinMemory` parameters, and set the `InstanceTypeFamily` or `InstanceFamilyLevel` parameter to query information of the instance types that have the specified number of vCPUs and memory size within the specified instance family or at the specified instance family level.
56105
+ * * You can call this operation to query information that is generated for preemptible instances in the last 30 days and select suitable instance types based on the query results. The information that you can query includes:
56106
+ * * Average release rate of preemptible instances
56107
+ * * Percentage of the average preemptible instance price relative to the pay-as-you-go instance price
56108
+ * * Average preemptible instance price that is calculated based on the preceding percentage
56109
+ * * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
56110
+ * * You can use one of the following methods to query information that is generated for preemptible instances in the last 30 days:
56111
+ * * Configure `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about an instance type that meets the specified vCPU and memory requirements.
56112
+ * * Configure the `InstanceTypes.N` parameter to query information about a specified instance type.
56113
+ * * Configure `Cores` and `Memory` or `MinCores` and `MinMemory`, and then configure `InstanceTypeFamily` or `InstanceFamilyLevel` to query information about an instance type that meets the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.
55885
56114
  *
55886
56115
  * @param request DescribeSpotAdviceRequest
55887
56116
  * @param runtime runtime options for this request RuntimeOptions
@@ -55952,15 +56181,15 @@ class Client extends openapi_client_1.default {
55952
56181
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSpotAdviceResponse({}));
55953
56182
  }
55954
56183
  /**
55955
- * * You can call this operation to query information that is generated for preemptible instances in the last 30 days and select suitable instance types based on the returned results. The information that you can query by calling this operation includes:
55956
- * * Average release rate of preemptible instances.
55957
- * * The discount rate of the average preemptible instance price relative to the pay-as-you-go instance price.
55958
- * * Average preemptible instance price that is calculated based on the preceding percentage.
55959
- * * This operation is applicable only to I/O optimized preemptible instances that are located in virtual private clouds (VPCs).
55960
- * * You can use one of the following methods to specify instance types:
55961
- * * Set the `Cores` and `Memory` parameters or the `MinCores` and `MinMemory` parameters to query information of instance types that have the specified number of vCPUs and memory size.
55962
- * * Set the `InstanceTypes.N parameter` to query information of the specified instance types.
55963
- * * Set the `Cores` and `Memory` parameters or the `MinCores` and `MinMemory` parameters, and set the `InstanceTypeFamily` or `InstanceFamilyLevel` parameter to query information of the instance types that have the specified number of vCPUs and memory size within the specified instance family or at the specified instance family level.
56184
+ * * You can call this operation to query information that is generated for preemptible instances in the last 30 days and select suitable instance types based on the query results. The information that you can query includes:
56185
+ * * Average release rate of preemptible instances
56186
+ * * Percentage of the average preemptible instance price relative to the pay-as-you-go instance price
56187
+ * * Average preemptible instance price that is calculated based on the preceding percentage
56188
+ * * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
56189
+ * * You can use one of the following methods to query information that is generated for preemptible instances in the last 30 days:
56190
+ * * Configure `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about an instance type that meets the specified vCPU and memory requirements.
56191
+ * * Configure the `InstanceTypes.N` parameter to query information about a specified instance type.
56192
+ * * Configure `Cores` and `Memory` or `MinCores` and `MinMemory`, and then configure `InstanceTypeFamily` or `InstanceFamilyLevel` to query information about an instance type that meets the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.
55964
56193
  *
55965
56194
  * @param request DescribeSpotAdviceRequest
55966
56195
  * @return DescribeSpotAdviceResponse
@@ -56315,6 +56544,14 @@ class Client extends openapi_client_1.default {
56315
56544
  let runtime = new $Util.RuntimeOptions({});
56316
56545
  return await this.describeTaskAttributeWithOptions(request, runtime);
56317
56546
  }
56547
+ /**
56548
+ * ## Debugging
56549
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeTasks\\&type=RPC\\&version=2014-05-26)
56550
+ *
56551
+ * @param request DescribeTasksRequest
56552
+ * @param runtime runtime options for this request RuntimeOptions
56553
+ * @return DescribeTasksResponse
56554
+ */
56318
56555
  async describeTasksWithOptions(request, runtime) {
56319
56556
  tea_util_1.default.validateModel(request);
56320
56557
  let query = {};
@@ -56373,6 +56610,13 @@ class Client extends openapi_client_1.default {
56373
56610
  });
56374
56611
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
56375
56612
  }
56613
+ /**
56614
+ * ## Debugging
56615
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeTasks\\&type=RPC\\&version=2014-05-26)
56616
+ *
56617
+ * @param request DescribeTasksRequest
56618
+ * @return DescribeTasksResponse
56619
+ */
56376
56620
  async describeTasks(request) {
56377
56621
  let runtime = new $Util.RuntimeOptions({});
56378
56622
  return await this.describeTasksWithOptions(request, runtime);
@@ -57078,17 +57322,7 @@ class Client extends openapi_client_1.default {
57078
57322
  return await this.detachKeyPairWithOptions(request, runtime);
57079
57323
  }
57080
57324
  /**
57081
- * ## Description
57082
- * When you call this operation, take note of the following items:
57083
- * * Primary ENIs cannot be detached from ECS instances.
57084
- * * The ENI must be in the Detaching (Detaching) or InUse (InUse) state.
57085
- * * The instance must be in the Running (Running) or Stopped (Stopped) state.
57086
- * * This operation is an asynchronous operation. After this operation is called to detach an ENI, you can check the state or events of the ENI to determine whether the ENI is detached. The following figure shows the transitions between the states of the ENI.
57087
- * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/en-US/20230223/uemr/DetachNetworkInterface.png)
57088
- * * If the ENI is in the Detaching state, the ENI detachment request is sent and the ENI is being detached from its associated instance.
57089
- * * If the ENI is in the Available state, the ENI is detached from its associated instance.
57090
- * * If the ENI is stuck in the Detaching state, the ENI may fail to be detached from the associated instance due to specific reasons. For example, the ENI may fail to be detached because the operating system did not respond to the ENI detachment request. If this occurs, you can re-initiate the request to detach the ENI. If the problem persists, restart the instance.
57091
- * **For information about examples on how to call this operation, see **[Detach an ENI](~~471551~~).
57325
+ * The operation that you want to perform. Set the value to **DetachNetworkInterface**.
57092
57326
  *
57093
57327
  * @param request DetachNetworkInterfaceRequest
57094
57328
  * @param runtime runtime options for this request RuntimeOptions
@@ -57141,17 +57375,7 @@ class Client extends openapi_client_1.default {
57141
57375
  return $tea.cast(await this.callApi(params, req, runtime), new DetachNetworkInterfaceResponse({}));
57142
57376
  }
57143
57377
  /**
57144
- * ## Description
57145
- * When you call this operation, take note of the following items:
57146
- * * Primary ENIs cannot be detached from ECS instances.
57147
- * * The ENI must be in the Detaching (Detaching) or InUse (InUse) state.
57148
- * * The instance must be in the Running (Running) or Stopped (Stopped) state.
57149
- * * This operation is an asynchronous operation. After this operation is called to detach an ENI, you can check the state or events of the ENI to determine whether the ENI is detached. The following figure shows the transitions between the states of the ENI.
57150
- * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/en-US/20230223/uemr/DetachNetworkInterface.png)
57151
- * * If the ENI is in the Detaching state, the ENI detachment request is sent and the ENI is being detached from its associated instance.
57152
- * * If the ENI is in the Available state, the ENI is detached from its associated instance.
57153
- * * If the ENI is stuck in the Detaching state, the ENI may fail to be detached from the associated instance due to specific reasons. For example, the ENI may fail to be detached because the operating system did not respond to the ENI detachment request. If this occurs, you can re-initiate the request to detach the ENI. If the problem persists, restart the instance.
57154
- * **For information about examples on how to call this operation, see **[Detach an ENI](~~471551~~).
57378
+ * The operation that you want to perform. Set the value to **DetachNetworkInterface**.
57155
57379
  *
57156
57380
  * @param request DetachNetworkInterfaceRequest
57157
57381
  * @return DetachNetworkInterfaceResponse
@@ -57161,7 +57385,8 @@ class Client extends openapi_client_1.default {
57161
57385
  return await this.detachNetworkInterfaceWithOptions(request, runtime);
57162
57386
  }
57163
57387
  /**
57164
- * To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
57388
+ * The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
57389
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
57165
57390
  *
57166
57391
  * @param request DisableActivationRequest
57167
57392
  * @param runtime runtime options for this request RuntimeOptions
@@ -57208,7 +57433,8 @@ class Client extends openapi_client_1.default {
57208
57433
  return $tea.cast(await this.callApi(params, req, runtime), new DisableActivationResponse({}));
57209
57434
  }
57210
57435
  /**
57211
- * To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
57436
+ * The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
57437
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
57212
57438
  *
57213
57439
  * @param request DisableActivationRequest
57214
57440
  * @return DisableActivationResponse
@@ -57460,7 +57686,7 @@ class Client extends openapi_client_1.default {
57460
57686
  * Before you export a custom image, complete the following operations:
57461
57687
  * * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
57462
57688
  * * Use Resource Access Management (RAM) to grant Elastic Compute Service (ECS) the permissions to write data to OSS. To complete the authorization, perform the following operations:
57463
- * 1. Create a role named `AliyunECSImageExportDefaultRole`. Configure the following policy for the role:
57689
+ * 1. Create a role named `AliyunECSImageExportDefaultRole`, and attach the following policy to the role:
57464
57690
  * ```json
57465
57691
  * {
57466
57692
  * "Statement": [
@@ -57477,7 +57703,7 @@ class Client extends openapi_client_1.default {
57477
57703
  * "Version": "1"
57478
57704
  * }
57479
57705
  * ```
57480
- * 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following document and attach the policy to the role:
57706
+ * 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following content and attach the policy to the role:
57481
57707
  * ```json
57482
57708
  * {
57483
57709
  * "Version": "1",
@@ -57556,7 +57782,7 @@ class Client extends openapi_client_1.default {
57556
57782
  * Before you export a custom image, complete the following operations:
57557
57783
  * * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
57558
57784
  * * Use Resource Access Management (RAM) to grant Elastic Compute Service (ECS) the permissions to write data to OSS. To complete the authorization, perform the following operations:
57559
- * 1. Create a role named `AliyunECSImageExportDefaultRole`. Configure the following policy for the role:
57785
+ * 1. Create a role named `AliyunECSImageExportDefaultRole`, and attach the following policy to the role:
57560
57786
  * ```json
57561
57787
  * {
57562
57788
  * "Statement": [
@@ -57573,7 +57799,7 @@ class Client extends openapi_client_1.default {
57573
57799
  * "Version": "1"
57574
57800
  * }
57575
57801
  * ```
57576
- * 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following document and attach the policy to the role:
57802
+ * 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following content and attach the policy to the role:
57577
57803
  * ```json
57578
57804
  * {
57579
57805
  * "Version": "1",
@@ -57664,15 +57890,6 @@ class Client extends openapi_client_1.default {
57664
57890
  let runtime = new $Util.RuntimeOptions({});
57665
57891
  return await this.exportSnapshotWithOptions(request, runtime);
57666
57892
  }
57667
- /**
57668
- * * ECS is a virtualized cloud-based service and cannot be connected to display devices. Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to query the command outputs.
57669
- * * For instances of the retired instance types, you cannot obtain command outputs. For more information, see [Retired instance types](~~55263~~).
57670
- * * You cannot obtain the command outputs of Windows instances.
57671
- *
57672
- * @param request GetInstanceConsoleOutputRequest
57673
- * @param runtime runtime options for this request RuntimeOptions
57674
- * @return GetInstanceConsoleOutputResponse
57675
- */
57676
57893
  async getInstanceConsoleOutputWithOptions(request, runtime) {
57677
57894
  tea_util_1.default.validateModel(request);
57678
57895
  let query = {};
@@ -57716,14 +57933,6 @@ class Client extends openapi_client_1.default {
57716
57933
  });
57717
57934
  return $tea.cast(await this.callApi(params, req, runtime), new GetInstanceConsoleOutputResponse({}));
57718
57935
  }
57719
- /**
57720
- * * ECS is a virtualized cloud-based service and cannot be connected to display devices. Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to query the command outputs.
57721
- * * For instances of the retired instance types, you cannot obtain command outputs. For more information, see [Retired instance types](~~55263~~).
57722
- * * You cannot obtain the command outputs of Windows instances.
57723
- *
57724
- * @param request GetInstanceConsoleOutputRequest
57725
- * @return GetInstanceConsoleOutputResponse
57726
- */
57727
57936
  async getInstanceConsoleOutput(request) {
57728
57937
  let runtime = new $Util.RuntimeOptions({});
57729
57938
  return await this.getInstanceConsoleOutputWithOptions(request, runtime);
@@ -57977,9 +58186,9 @@ class Client extends openapi_client_1.default {
57977
58186
  return await this.importImageWithOptions(request, runtime);
57978
58187
  }
57979
58188
  /**
57980
- * When you call this operation, take note of the following items:
58189
+ * Take note of the following items:
57981
58190
  * * A maximum of 500 key pairs can be created in each region.
57982
- * * The key pair that you want to import must support one of the following encryption methods:
58191
+ * * The key pair to be imported must support one of the following encryption methods:
57983
58192
  * * rsa
57984
58193
  * * dsa
57985
58194
  * * ssh-rsa
@@ -58041,9 +58250,9 @@ class Client extends openapi_client_1.default {
58041
58250
  return $tea.cast(await this.callApi(params, req, runtime), new ImportKeyPairResponse({}));
58042
58251
  }
58043
58252
  /**
58044
- * When you call this operation, take note of the following items:
58253
+ * Take note of the following items:
58045
58254
  * * A maximum of 500 key pairs can be created in each region.
58046
- * * The key pair that you want to import must support one of the following encryption methods:
58255
+ * * The key pair to be imported must support one of the following encryption methods:
58047
58256
  * * rsa
58048
58257
  * * dsa
58049
58258
  * * ssh-rsa
@@ -58127,7 +58336,7 @@ class Client extends openapi_client_1.default {
58127
58336
  return await this.importSnapshotWithOptions(request, runtime);
58128
58337
  }
58129
58338
  /**
58130
- * After you call the InstallCloudAssistant operation and then the [RebootInstance](~~25502~~) operation, the Cloud Assistant client is installed and takes effect.
58339
+ * The region ID of the instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
58131
58340
  *
58132
58341
  * @param request InstallCloudAssistantRequest
58133
58342
  * @param runtime runtime options for this request RuntimeOptions
@@ -58174,7 +58383,7 @@ class Client extends openapi_client_1.default {
58174
58383
  return $tea.cast(await this.callApi(params, req, runtime), new InstallCloudAssistantResponse({}));
58175
58384
  }
58176
58385
  /**
58177
- * After you call the InstallCloudAssistant operation and then the [RebootInstance](~~25502~~) operation, the Cloud Assistant client is installed and takes effect.
58386
+ * The region ID of the instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
58178
58387
  *
58179
58388
  * @param request InstallCloudAssistantRequest
58180
58389
  * @return InstallCloudAssistantResponse
@@ -58372,16 +58581,16 @@ class Client extends openapi_client_1.default {
58372
58581
  }
58373
58582
  /**
58374
58583
  * ## Usage notes
58375
- * > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add instances to or remove instances from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add ENIs to or remove ENIs from a security group.
58376
- * When you call this operation, take note of the following items:
58584
+ * > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add an ENI to or remove an ENI from a security group.
58585
+ * Take note of the following items:
58377
58586
  * * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
58378
- * * Each instance can be added to up to five security groups by default.
58587
+ * * An instance can be added to up to five security groups.
58379
58588
  * *
58380
58589
  * You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
58381
58590
  * * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
58382
58591
  * * The security group and the instance must reside in the same region.
58383
- * * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must be in the same VPC.
58384
- * * An instance and an ENI cannot be added to a security group at the same time. You cannot specify the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
58592
+ * * The security group and the instance must be of the same network type. If the network type is virtual private cloud (VPC), the security group and the instance must be in the same VPC.
58593
+ * * An instance and an ENI cannot be added to a security group at the same time. You cannot configure the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
58385
58594
  *
58386
58595
  * @param request JoinSecurityGroupRequest
58387
58596
  * @param runtime runtime options for this request RuntimeOptions
@@ -58432,16 +58641,16 @@ class Client extends openapi_client_1.default {
58432
58641
  }
58433
58642
  /**
58434
58643
  * ## Usage notes
58435
- * > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add instances to or remove instances from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add ENIs to or remove ENIs from a security group.
58436
- * When you call this operation, take note of the following items:
58644
+ * > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add an ENI to or remove an ENI from a security group.
58645
+ * Take note of the following items:
58437
58646
  * * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
58438
- * * Each instance can be added to up to five security groups by default.
58647
+ * * An instance can be added to up to five security groups.
58439
58648
  * *
58440
58649
  * You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
58441
58650
  * * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
58442
58651
  * * The security group and the instance must reside in the same region.
58443
- * * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must be in the same VPC.
58444
- * * An instance and an ENI cannot be added to a security group at the same time. You cannot specify the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
58652
+ * * The security group and the instance must be of the same network type. If the network type is virtual private cloud (VPC), the security group and the instance must be in the same VPC.
58653
+ * * An instance and an ENI cannot be added to a security group at the same time. You cannot configure the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
58445
58654
  *
58446
58655
  * @param request JoinSecurityGroupRequest
58447
58656
  * @return JoinSecurityGroupResponse
@@ -58589,7 +58798,7 @@ class Client extends openapi_client_1.default {
58589
58798
  return await this.listPluginStatusWithOptions(request, runtime);
58590
58799
  }
58591
58800
  /**
58592
- * Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
58801
+ * You must specify at least one of the following parameters or parameter pairs in a request to determine a query object:
58593
58802
  * * `ResourceId.N`
58594
58803
  * * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
58595
58804
  * * `TagFilter.N`
@@ -58654,7 +58863,7 @@ class Client extends openapi_client_1.default {
58654
58863
  return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
58655
58864
  }
58656
58865
  /**
58657
- * Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
58866
+ * You must specify at least one of the following parameters or parameter pairs in a request to determine a query object:
58658
58867
  * * `ResourceId.N`
58659
58868
  * * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
58660
58869
  * * `TagFilter.N`
@@ -59006,7 +59215,8 @@ class Client extends openapi_client_1.default {
59006
59215
  return await this.modifyCapacityReservationWithOptions(request, runtime);
59007
59216
  }
59008
59217
  /**
59009
- * Modifies the parameters and content of a Cloud Assistant command.
59218
+ * You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions.
59219
+ * You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
59010
59220
  *
59011
59221
  * @param request ModifyCommandRequest
59012
59222
  * @param runtime runtime options for this request RuntimeOptions
@@ -59068,7 +59278,8 @@ class Client extends openapi_client_1.default {
59068
59278
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyCommandResponse({}));
59069
59279
  }
59070
59280
  /**
59071
- * Modifies the parameters and content of a Cloud Assistant command.
59281
+ * You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions.
59282
+ * You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
59072
59283
  *
59073
59284
  * @param request ModifyCommandRequest
59074
59285
  * @return ModifyCommandResponse
@@ -59157,7 +59368,8 @@ class Client extends openapi_client_1.default {
59157
59368
  return await this.modifyDedicatedHostAttributeWithOptions(request, runtime);
59158
59369
  }
59159
59370
  /**
59160
- * The pay-as-you-go dedicated host is automatically released at the specified time. Before you release a dedicated host, make sure that it is no longer in use and you have backed up all the necessary application data.
59371
+ * ## Usage notes
59372
+ * A pay-as-you-go dedicated host can be automatically released at the specified time. Before you release a pay-as-you-go dedicated host, make sure that the host is no longer required and all necessary application data is backed up.
59161
59373
  *
59162
59374
  * @param request ModifyDedicatedHostAutoReleaseTimeRequest
59163
59375
  * @param runtime runtime options for this request RuntimeOptions
@@ -59204,7 +59416,8 @@ class Client extends openapi_client_1.default {
59204
59416
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyDedicatedHostAutoReleaseTimeResponse({}));
59205
59417
  }
59206
59418
  /**
59207
- * The pay-as-you-go dedicated host is automatically released at the specified time. Before you release a dedicated host, make sure that it is no longer in use and you have backed up all the necessary application data.
59419
+ * ## Usage notes
59420
+ * A pay-as-you-go dedicated host can be automatically released at the specified time. Before you release a pay-as-you-go dedicated host, make sure that the host is no longer required and all necessary application data is backed up.
59208
59421
  *
59209
59422
  * @param request ModifyDedicatedHostAutoReleaseTimeRequest
59210
59423
  * @return ModifyDedicatedHostAutoReleaseTimeResponse
@@ -59394,8 +59607,8 @@ class Client extends openapi_client_1.default {
59394
59607
  return await this.modifyDedicatedHostsChargeTypeWithOptions(request, runtime);
59395
59608
  }
59396
59609
  /**
59397
- * You can call this operation to modify the demand information about instance types. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type. Parameters except `DemandName` and `DemandDescription` can be modified only for demands that are in the Rejected state.
59398
- * > This operation is in internal preview and has not been officially released. We recommend that you do not use this operation.
59610
+ * You can call this operation to modify the demand information of instance types. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type. Parameters except `DemandName` and `DemandDescription` can be modified only for demands that are in the Rejected state.
59611
+ * > This operation is in invitational preview and is not publicly available.
59399
59612
  *
59400
59613
  * @param request ModifyDemandRequest
59401
59614
  * @param runtime runtime options for this request RuntimeOptions
@@ -59472,8 +59685,8 @@ class Client extends openapi_client_1.default {
59472
59685
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyDemandResponse({}));
59473
59686
  }
59474
59687
  /**
59475
- * You can call this operation to modify the demand information about instance types. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type. Parameters except `DemandName` and `DemandDescription` can be modified only for demands that are in the Rejected state.
59476
- * > This operation is in internal preview and has not been officially released. We recommend that you do not use this operation.
59688
+ * You can call this operation to modify the demand information of instance types. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type. Parameters except `DemandName` and `DemandDescription` can be modified only for demands that are in the Rejected state.
59689
+ * > This operation is in invitational preview and is not publicly available.
59477
59690
  *
59478
59691
  * @param request ModifyDemandRequest
59479
59692
  * @return ModifyDemandResponse
@@ -59654,7 +59867,7 @@ class Client extends openapi_client_1.default {
59654
59867
  * * You can change the billing method from pay-as-you-go to subscription for data disks that are attached to a subscription or pay-as-you-go instance.
59655
59868
  * * The instance cannot be in the Stopped state due to overdue payments.
59656
59869
  * * You can change the billing method of each disk up to three times. Up to three refunds can be made for the price differences for each disk.
59657
- * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are nonrefundable.
59870
+ * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
59658
59871
  * * You cannot change the billing method again within 5 minutes of a successful change.
59659
59872
  *
59660
59873
  * @param request ModifyDiskChargeTypeRequest
@@ -59717,7 +59930,7 @@ class Client extends openapi_client_1.default {
59717
59930
  * * You can change the billing method from pay-as-you-go to subscription for data disks that are attached to a subscription or pay-as-you-go instance.
59718
59931
  * * The instance cannot be in the Stopped state due to overdue payments.
59719
59932
  * * You can change the billing method of each disk up to three times. Up to three refunds can be made for the price differences for each disk.
59720
- * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are nonrefundable.
59933
+ * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
59721
59934
  * * You cannot change the billing method again within 5 minutes of a successful change.
59722
59935
  *
59723
59936
  * @param request ModifyDiskChargeTypeRequest
@@ -59778,15 +59991,16 @@ class Client extends openapi_client_1.default {
59778
59991
  return await this.modifyDiskDeploymentWithOptions(request, runtime);
59779
59992
  }
59780
59993
  /**
59781
- * When you call this operation, take note of the following items:
59994
+ * ## Usage notes
59995
+ * Take note of the following items:
59782
59996
  * * To modify the performance level of an ESSD, take note of the following items:
59783
59997
  * * For a subscription ESSD, you can only upgrade its performance level.
59784
- * * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
59785
- * * The ESSD must be in the **In Use** or **Unattached** (Available) state.
59786
- * * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** or **Stopped** state. The instance cannot be in the Expired state or stopped due to an overdue payment.
59998
+ * * For a pay-as-you-go ESSD, you can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
59999
+ * * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
60000
+ * * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** (Running) or **Stopped** (Stopped) state. The instance cannot be in the Expired state or stopped due to an overdue payment.
59787
60001
  * * If you cannot upgrade the performance level of the ESSD due to the capacity limit, resize the ESSD by calling the [ResizeDisk](~~25522~~) operation and then try again. For more information, see [ESSDs](~~122389~~).
59788
- * * For information about the limits on changing the category of a cloud disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
59789
- * The new cloud disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud charges you based on the new disk category and performance level.
60002
+ * * For information about the limits on changing the category of a disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
60003
+ * The new disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud calculates the bill based on the new disk category and performance level.
59790
60004
  *
59791
60005
  * @param request ModifyDiskSpecRequest
59792
60006
  * @param runtime runtime options for this request RuntimeOptions
@@ -59842,15 +60056,16 @@ class Client extends openapi_client_1.default {
59842
60056
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyDiskSpecResponse({}));
59843
60057
  }
59844
60058
  /**
59845
- * When you call this operation, take note of the following items:
60059
+ * ## Usage notes
60060
+ * Take note of the following items:
59846
60061
  * * To modify the performance level of an ESSD, take note of the following items:
59847
60062
  * * For a subscription ESSD, you can only upgrade its performance level.
59848
- * * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
59849
- * * The ESSD must be in the **In Use** or **Unattached** (Available) state.
59850
- * * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** or **Stopped** state. The instance cannot be in the Expired state or stopped due to an overdue payment.
60063
+ * * For a pay-as-you-go ESSD, you can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
60064
+ * * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
60065
+ * * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** (Running) or **Stopped** (Stopped) state. The instance cannot be in the Expired state or stopped due to an overdue payment.
59851
60066
  * * If you cannot upgrade the performance level of the ESSD due to the capacity limit, resize the ESSD by calling the [ResizeDisk](~~25522~~) operation and then try again. For more information, see [ESSDs](~~122389~~).
59852
- * * For information about the limits on changing the category of a cloud disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
59853
- * The new cloud disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud charges you based on the new disk category and performance level.
60067
+ * * For information about the limits on changing the category of a disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
60068
+ * The new disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud calculates the bill based on the new disk category and performance level.
59854
60069
  *
59855
60070
  * @param request ModifyDiskSpecRequest
59856
60071
  * @return ModifyDiskSpecResponse
@@ -60276,7 +60491,7 @@ class Client extends openapi_client_1.default {
60276
60491
  return await this.modifyImageShareGroupPermissionWithOptions(request, runtime);
60277
60492
  }
60278
60493
  /**
60279
- * Take note of the following items:
60494
+ * When you call this operation, take note of the following items:
60280
60495
  * * You can share only your own custom images with other Alibaba Cloud accounts.
60281
60496
  * * You can share a custom image with up to 10 Alibaba Cloud accounts at a time. You can specify up to 10 Alibaba Cloud account IDs by using the AddAccount.N or RemoveAccount.N parameter. If you specify more than 10 account IDs, the parameter will be ignored.
60282
60497
  * * You can share a custom image with up to 50 Alibaba Cloud accounts.
@@ -60342,7 +60557,7 @@ class Client extends openapi_client_1.default {
60342
60557
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyImageSharePermissionResponse({}));
60343
60558
  }
60344
60559
  /**
60345
- * Take note of the following items:
60560
+ * When you call this operation, take note of the following items:
60346
60561
  * * You can share only your own custom images with other Alibaba Cloud accounts.
60347
60562
  * * You can share a custom image with up to 10 Alibaba Cloud accounts at a time. You can specify up to 10 Alibaba Cloud account IDs by using the AddAccount.N or RemoveAccount.N parameter. If you specify more than 10 account IDs, the parameter will be ignored.
60348
60563
  * * You can share a custom image with up to 50 Alibaba Cloud accounts.
@@ -60433,23 +60648,23 @@ class Client extends openapi_client_1.default {
60433
60648
  return await this.modifyInstanceAttachmentAttributesWithOptions(request, runtime);
60434
60649
  }
60435
60650
  /**
60436
- * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
60437
- * When you call this operation, take note of the following items:
60438
- * * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance for the changes to take effect. You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new hostname does not take effect if you restart the instance from within the operating system.
60651
+ * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
60652
+ * Take note of the following items:
60653
+ * * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see [Restart instances](~~25440~~). The new hostname does not take effect if you restart the instance from within the operating system.
60439
60654
  * * Reset the password (`Password`):
60440
- * * The instance can not be in the **Starting** state.``
60441
- * * After you reset the password, you need to restart the instance for the changes to take effect., You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new password does not take effect if you restart the instance from within the operating system.
60655
+ * * The instance must not be in the **Starting** state.``
60656
+ * * After you reset the password, you need to restart the instance in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect. For information about how to restart an instance in the ECS console, see [Restart instances](~~25440~~). The new password does not take effect if you restart the instance from within the operating system.
60442
60657
  * * Modify user data (`UserData`):
60443
60658
  * * The instance must be in the **Stopped** state.``
60444
- * * The instance must meet the required conditions on user data. For more information, see [Prepare user data](~~49121~~).
60659
+ * * The instance must support user data. For more information, see [Prepare user data](~~49121~~).
60445
60660
  * * Change the security group (`SecurityGroupIds.N`):
60446
- * * You can move an instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network.
60447
- * * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
60661
+ * * You can move an instance to a security group of a different type. If you want to move an instance to a security group of a different type, you must be familiar with the differences between the rule configurations of the two security group types to prevent impacts on the instance network.
60662
+ * * Security groups of instances that reside in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
60448
60663
  * * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
60449
60664
  * * The instance must be in the `Stopped` state.
60450
- * * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The number varies with the instance type.
60665
+ * * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The maximum number of queues vary with the instance type.
60451
60666
  * * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The results are returned in the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` parameters.
60452
- * * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The result is returned in the `PrimaryEniQueueNumber` parameter.
60667
+ * * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation to query the `PrimaryEniQueueNumber` parameter.
60453
60668
  *
60454
60669
  * @param request ModifyInstanceAttributeRequest
60455
60670
  * @param runtime runtime options for this request RuntimeOptions
@@ -60526,23 +60741,23 @@ class Client extends openapi_client_1.default {
60526
60741
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
60527
60742
  }
60528
60743
  /**
60529
- * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
60530
- * When you call this operation, take note of the following items:
60531
- * * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance for the changes to take effect. You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new hostname does not take effect if you restart the instance from within the operating system.
60744
+ * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
60745
+ * Take note of the following items:
60746
+ * * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see [Restart instances](~~25440~~). The new hostname does not take effect if you restart the instance from within the operating system.
60532
60747
  * * Reset the password (`Password`):
60533
- * * The instance can not be in the **Starting** state.``
60534
- * * After you reset the password, you need to restart the instance for the changes to take effect., You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new password does not take effect if you restart the instance from within the operating system.
60748
+ * * The instance must not be in the **Starting** state.``
60749
+ * * After you reset the password, you need to restart the instance in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect. For information about how to restart an instance in the ECS console, see [Restart instances](~~25440~~). The new password does not take effect if you restart the instance from within the operating system.
60535
60750
  * * Modify user data (`UserData`):
60536
60751
  * * The instance must be in the **Stopped** state.``
60537
- * * The instance must meet the required conditions on user data. For more information, see [Prepare user data](~~49121~~).
60752
+ * * The instance must support user data. For more information, see [Prepare user data](~~49121~~).
60538
60753
  * * Change the security group (`SecurityGroupIds.N`):
60539
- * * You can move an instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network.
60540
- * * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
60754
+ * * You can move an instance to a security group of a different type. If you want to move an instance to a security group of a different type, you must be familiar with the differences between the rule configurations of the two security group types to prevent impacts on the instance network.
60755
+ * * Security groups of instances that reside in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
60541
60756
  * * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
60542
60757
  * * The instance must be in the `Stopped` state.
60543
- * * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The number varies with the instance type.
60758
+ * * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The maximum number of queues vary with the instance type.
60544
60759
  * * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The results are returned in the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` parameters.
60545
- * * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The result is returned in the `PrimaryEniQueueNumber` parameter.
60760
+ * * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation to query the `PrimaryEniQueueNumber` parameter.
60546
60761
  *
60547
60762
  * @param request ModifyInstanceAttributeRequest
60548
60763
  * @return ModifyInstanceAttributeResponse
@@ -60977,7 +61192,15 @@ class Client extends openapi_client_1.default {
60977
61192
  return await this.modifyInstanceMetadataOptionsWithOptions(request, runtime);
60978
61193
  }
60979
61194
  /**
60980
- * The ID of the instance for which you want to modify bandwidth configurations.
61195
+ * Take note of the following items:
61196
+ * * From November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
61197
+ * * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
61198
+ * * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
61199
+ * * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a subscription (PrePaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, a public IP address is automatically assigned to the instance.
61200
+ * * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a pay-as-you-go (PostPaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, no public IP address is assigned to the instance. You must call the [AllocatePublicIpAddress](~~25544~~) operation to assign a public IP address to the instance.
61201
+ * * An instance in the classic network must be in the Stopped state before you can upgrade its outbound public bandwidth (InternetMaxBandwidthOut) from 0 Mbit/s.
61202
+ * * After the bandwidth is upgraded, AutoPay is set to true by default and the payment is automatically made. Make sure that your account balance is sufficient. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false. In this case, when you call the ModifyInstanceNetworkSpec operation, an unpaid order is generated. Then, you can log on to the ECS console to pay for the order.
61203
+ * * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
60981
61204
  *
60982
61205
  * @param request ModifyInstanceNetworkSpecRequest
60983
61206
  * @param runtime runtime options for this request RuntimeOptions
@@ -61045,7 +61268,15 @@ class Client extends openapi_client_1.default {
61045
61268
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceNetworkSpecResponse({}));
61046
61269
  }
61047
61270
  /**
61048
- * The ID of the instance for which you want to modify bandwidth configurations.
61271
+ * Take note of the following items:
61272
+ * * From November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
61273
+ * * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
61274
+ * * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
61275
+ * * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a subscription (PrePaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, a public IP address is automatically assigned to the instance.
61276
+ * * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a pay-as-you-go (PostPaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, no public IP address is assigned to the instance. You must call the [AllocatePublicIpAddress](~~25544~~) operation to assign a public IP address to the instance.
61277
+ * * An instance in the classic network must be in the Stopped state before you can upgrade its outbound public bandwidth (InternetMaxBandwidthOut) from 0 Mbit/s.
61278
+ * * After the bandwidth is upgraded, AutoPay is set to true by default and the payment is automatically made. Make sure that your account balance is sufficient. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false. In this case, when you call the ModifyInstanceNetworkSpec operation, an unpaid order is generated. Then, you can log on to the ECS console to pay for the order.
61279
+ * * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
61049
61280
  *
61050
61281
  * @param request ModifyInstanceNetworkSpecRequest
61051
61282
  * @return ModifyInstanceNetworkSpecResponse
@@ -61218,30 +61449,30 @@ class Client extends openapi_client_1.default {
61218
61449
  }
61219
61450
  /**
61220
61451
  * The instance must be in the **Stopped** state.``
61221
- * * When you call this operation to modify the private IP address or vSwitch of an instance, take note of the following items:
61222
- * * If the instance is newly created, you must restart the instance before you call this operation.
61223
- * * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you call this operation again.
61224
- * * When you call this operation to modify the VPC of an instance, take note of the following items:
61452
+ * * When you call this operation to change the private IP address or vSwitch of an instance, take note of the following items:
61453
+ * * If the instance is a new instance, you must restart the instance before you call this operation.
61454
+ * * After the private IP address or vSwitch of the instance is changed, you must restart the instance before you call this operation again.
61455
+ * * When you call this operation to change the VPC of an instance, take note of the following items:
61225
61456
  * * **Instance:**
61226
61457
  * * The instance cannot be associated with Server Load Balancer (SLB) instances.
61227
61458
  * * The instance cannot be in the Locked, To Be Released, Expired, Expired and Being Recycled, or Overdue and Being Recycled state. For more information, see [ECS instance lifecycle](~~25380~~).
61228
- * * The instance cannot be in-use or used in conjunction with other cloud services. For example, the instance cannot be in the process of being migrated or having its VPC changed, or the databases deployed on the instance cannot be managed by Data Transmission Service (DTS).
61459
+ * * The instance cannot be used in other Alibaba Cloud services. For example, the instance cannot be in the process of being migrated or having its VPC changed, or the databases deployed on the instance cannot be managed by Data Transmission Service (DTS).
61229
61460
  * * **Network:**
61230
- * * The cut-through mode or multi-elastic IP address (EIP) to elastic network interface (ENI) mode must be disabled.
61461
+ * * The cut-through mode or the multi-EIP-to-ENI mode cannot be enabled for the instance.
61231
61462
  * * The instance cannot be associated with a high-availability virtual IP address (HAVIP).
61232
61463
  * * The vSwitch of the instance cannot be associated with a custom route table.
61233
- * * The instance cannot have Global Accelerator (GA) activated.
61234
- * * The instance cannot have secondary ENIs bound.
61235
- * * The instance cannot have IPv6 addresses assigned.
61464
+ * * Global Accelerator (GA) cannot be activated for the instance.
61465
+ * * The instance cannot have secondary ENIs.
61466
+ * * The instance cannot be assigned an IPv6 address.
61236
61467
  * * The primary ENI of the instance cannot be associated with multiple IP addresses.
61237
- * * The vSwitch specified by the VSwitchId parameter must belong to the new VPC.
61238
- * * The new and original vSwitches must reside within the same zone.
61239
- * * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The new vSwitch must have a sufficient amount of available IP addresses in the CIDR block.
61240
- * * If advanced features are enabled in the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
61468
+ * * The new vSwitch that you specify must belong to the new VPC.
61469
+ * * The original and new vSwitches must reside in the same zone.
61470
+ * * If you assign a private IP address to the primary ENI of the instance, the private IP address must an idle IP address within the CIDR block of the new vSwitch. If you do not assign a private IP address to the primary ENI of the instance, a private IP address is randomly assigned to the ENI. Sufficient IP addresses must be available in the CIDR block of the new vSwitch.
61471
+ * * If advanced features are enabled for the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
61241
61472
  * * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
61242
61473
  * * **Security group (SecurityGroupId.N):**
61243
61474
  * * All security groups must be of the same type.
61244
- * * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see the "Security group limits" section in [Limits](~~25412~~).
61475
+ * * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see [Limits](~~25412~~).
61245
61476
  * * The security groups that you specify must belong to the new VPC.
61246
61477
  * * You can switch the instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network. For more information, see [Overview](~~25387~~).
61247
61478
  *
@@ -61297,30 +61528,30 @@ class Client extends openapi_client_1.default {
61297
61528
  }
61298
61529
  /**
61299
61530
  * The instance must be in the **Stopped** state.``
61300
- * * When you call this operation to modify the private IP address or vSwitch of an instance, take note of the following items:
61301
- * * If the instance is newly created, you must restart the instance before you call this operation.
61302
- * * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you call this operation again.
61303
- * * When you call this operation to modify the VPC of an instance, take note of the following items:
61531
+ * * When you call this operation to change the private IP address or vSwitch of an instance, take note of the following items:
61532
+ * * If the instance is a new instance, you must restart the instance before you call this operation.
61533
+ * * After the private IP address or vSwitch of the instance is changed, you must restart the instance before you call this operation again.
61534
+ * * When you call this operation to change the VPC of an instance, take note of the following items:
61304
61535
  * * **Instance:**
61305
61536
  * * The instance cannot be associated with Server Load Balancer (SLB) instances.
61306
61537
  * * The instance cannot be in the Locked, To Be Released, Expired, Expired and Being Recycled, or Overdue and Being Recycled state. For more information, see [ECS instance lifecycle](~~25380~~).
61307
- * * The instance cannot be in-use or used in conjunction with other cloud services. For example, the instance cannot be in the process of being migrated or having its VPC changed, or the databases deployed on the instance cannot be managed by Data Transmission Service (DTS).
61538
+ * * The instance cannot be used in other Alibaba Cloud services. For example, the instance cannot be in the process of being migrated or having its VPC changed, or the databases deployed on the instance cannot be managed by Data Transmission Service (DTS).
61308
61539
  * * **Network:**
61309
- * * The cut-through mode or multi-elastic IP address (EIP) to elastic network interface (ENI) mode must be disabled.
61540
+ * * The cut-through mode or the multi-EIP-to-ENI mode cannot be enabled for the instance.
61310
61541
  * * The instance cannot be associated with a high-availability virtual IP address (HAVIP).
61311
61542
  * * The vSwitch of the instance cannot be associated with a custom route table.
61312
- * * The instance cannot have Global Accelerator (GA) activated.
61313
- * * The instance cannot have secondary ENIs bound.
61314
- * * The instance cannot have IPv6 addresses assigned.
61543
+ * * Global Accelerator (GA) cannot be activated for the instance.
61544
+ * * The instance cannot have secondary ENIs.
61545
+ * * The instance cannot be assigned an IPv6 address.
61315
61546
  * * The primary ENI of the instance cannot be associated with multiple IP addresses.
61316
- * * The vSwitch specified by the VSwitchId parameter must belong to the new VPC.
61317
- * * The new and original vSwitches must reside within the same zone.
61318
- * * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The new vSwitch must have a sufficient amount of available IP addresses in the CIDR block.
61319
- * * If advanced features are enabled in the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
61547
+ * * The new vSwitch that you specify must belong to the new VPC.
61548
+ * * The original and new vSwitches must reside in the same zone.
61549
+ * * If you assign a private IP address to the primary ENI of the instance, the private IP address must an idle IP address within the CIDR block of the new vSwitch. If you do not assign a private IP address to the primary ENI of the instance, a private IP address is randomly assigned to the ENI. Sufficient IP addresses must be available in the CIDR block of the new vSwitch.
61550
+ * * If advanced features are enabled for the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
61320
61551
  * * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
61321
61552
  * * **Security group (SecurityGroupId.N):**
61322
61553
  * * All security groups must be of the same type.
61323
- * * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see the "Security group limits" section in [Limits](~~25412~~).
61554
+ * * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see [Limits](~~25412~~).
61324
61555
  * * The security groups that you specify must belong to the new VPC.
61325
61556
  * * You can switch the instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network. For more information, see [Overview](~~25387~~).
61326
61557
  *
@@ -61331,6 +61562,14 @@ class Client extends openapi_client_1.default {
61331
61562
  let runtime = new $Util.RuntimeOptions({});
61332
61563
  return await this.modifyInstanceVpcAttributeWithOptions(request, runtime);
61333
61564
  }
61565
+ /**
61566
+ * ## Debugging
61567
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=ModifyLaunchTemplateDefaultVersion\\&type=RPC\\&version=2014-05-26)
61568
+ *
61569
+ * @param request ModifyLaunchTemplateDefaultVersionRequest
61570
+ * @param runtime runtime options for this request RuntimeOptions
61571
+ * @return ModifyLaunchTemplateDefaultVersionResponse
61572
+ */
61334
61573
  async modifyLaunchTemplateDefaultVersionWithOptions(request, runtime) {
61335
61574
  tea_util_1.default.validateModel(request);
61336
61575
  let query = {};
@@ -61374,12 +61613,20 @@ class Client extends openapi_client_1.default {
61374
61613
  });
61375
61614
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyLaunchTemplateDefaultVersionResponse({}));
61376
61615
  }
61616
+ /**
61617
+ * ## Debugging
61618
+ * [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=ModifyLaunchTemplateDefaultVersion\\&type=RPC\\&version=2014-05-26)
61619
+ *
61620
+ * @param request ModifyLaunchTemplateDefaultVersionRequest
61621
+ * @return ModifyLaunchTemplateDefaultVersionResponse
61622
+ */
61377
61623
  async modifyLaunchTemplateDefaultVersion(request) {
61378
61624
  let runtime = new $Util.RuntimeOptions({});
61379
61625
  return await this.modifyLaunchTemplateDefaultVersionWithOptions(request, runtime);
61380
61626
  }
61381
61627
  /**
61382
- * You can call the ModifyManagedInstance operation to change only the name of a managed instance.
61628
+ * The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
61629
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
61383
61630
  *
61384
61631
  * @param request ModifyManagedInstanceRequest
61385
61632
  * @param runtime runtime options for this request RuntimeOptions
@@ -61429,7 +61676,8 @@ class Client extends openapi_client_1.default {
61429
61676
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyManagedInstanceResponse({}));
61430
61677
  }
61431
61678
  /**
61432
- * You can call the ModifyManagedInstance operation to change only the name of a managed instance.
61679
+ * The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
61680
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
61433
61681
  *
61434
61682
  * @param request ModifyManagedInstanceRequest
61435
61683
  * @return ModifyManagedInstanceResponse
@@ -61871,12 +62119,8 @@ class Client extends openapi_client_1.default {
61871
62119
  return await this.modifyReservedInstanceAutoRenewAttributeWithOptions(request, runtime);
61872
62120
  }
61873
62121
  /**
61874
- * ## Description
61875
- * When you call this operation, take note of the following items:
61876
- * * For information about limits on reserved instances, see the "Limits" section in [Overview](~~100370~~).
61877
- * * Before you call this operation to split a reserved instance, make sure that you are familiar with the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
61878
- * * Before you call this operation to merge reserved instances, make sure that you are familiar with the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
61879
- * * Before you call this operation to modify a reserved instance, make sure that you are familiar with the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
62122
+ * The region ID of the reserved instance.
62123
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
61880
62124
  *
61881
62125
  * @param request ModifyReservedInstancesRequest
61882
62126
  * @param runtime runtime options for this request RuntimeOptions
@@ -61923,12 +62167,8 @@ class Client extends openapi_client_1.default {
61923
62167
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyReservedInstancesResponse({}));
61924
62168
  }
61925
62169
  /**
61926
- * ## Description
61927
- * When you call this operation, take note of the following items:
61928
- * * For information about limits on reserved instances, see the "Limits" section in [Overview](~~100370~~).
61929
- * * Before you call this operation to split a reserved instance, make sure that you are familiar with the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
61930
- * * Before you call this operation to merge reserved instances, make sure that you are familiar with the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
61931
- * * Before you call this operation to modify a reserved instance, make sure that you are familiar with the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
62170
+ * The region ID of the reserved instance.
62171
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
61932
62172
  *
61933
62173
  * @param request ModifyReservedInstancesRequest
61934
62174
  * @return ModifyReservedInstancesResponse
@@ -62127,12 +62367,12 @@ class Client extends openapi_client_1.default {
62127
62367
  return await this.modifySecurityGroupAttributeWithOptions(request, runtime);
62128
62368
  }
62129
62369
  /**
62130
- * In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
62131
- * Take note of the following items:
62132
- * * An authorization object in a security group rule can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
62133
- * * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
62134
- * * The new security group rule after modification cannot be the same as other existing rules.
62135
- * * You cannot delete the value of a non-empty parameter in a security group rule. We recommend that you create a rule that has the same parameter configurations as the original rule, except that the specified parameters are left empty, and then delete the original rule.
62370
+ * In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
62371
+ * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
62372
+ * * A security group authorization object can be one of the following types: IP address or CIDR block, security group, and prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change the authorization object to a different IP address or CIDR block, but you cannot change the authorization object to a security group or a prefix list.
62373
+ * * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change the authorization object to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change the authorization object to a prefix list of an IPv6 address family.
62374
+ * * The modified security group rule cannot be the same as other existing rules.
62375
+ * * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
62136
62376
  *
62137
62377
  * @param request ModifySecurityGroupEgressRuleRequest
62138
62378
  * @param runtime runtime options for this request RuntimeOptions
@@ -62230,12 +62470,12 @@ class Client extends openapi_client_1.default {
62230
62470
  return $tea.cast(await this.callApi(params, req, runtime), new ModifySecurityGroupEgressRuleResponse({}));
62231
62471
  }
62232
62472
  /**
62233
- * In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
62234
- * Take note of the following items:
62235
- * * An authorization object in a security group rule can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
62236
- * * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
62237
- * * The new security group rule after modification cannot be the same as other existing rules.
62238
- * * You cannot delete the value of a non-empty parameter in a security group rule. We recommend that you create a rule that has the same parameter configurations as the original rule, except that the specified parameters are left empty, and then delete the original rule.
62473
+ * In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
62474
+ * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
62475
+ * * A security group authorization object can be one of the following types: IP address or CIDR block, security group, and prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change the authorization object to a different IP address or CIDR block, but you cannot change the authorization object to a security group or a prefix list.
62476
+ * * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change the authorization object to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change the authorization object to a prefix list of an IPv6 address family.
62477
+ * * The modified security group rule cannot be the same as other existing rules.
62478
+ * * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
62239
62479
  *
62240
62480
  * @param request ModifySecurityGroupEgressRuleRequest
62241
62481
  * @return ModifySecurityGroupEgressRuleResponse
@@ -62449,6 +62689,9 @@ class Client extends openapi_client_1.default {
62449
62689
  if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
62450
62690
  query["ResourceOwnerId"] = request.resourceOwnerId;
62451
62691
  }
62692
+ if (!tea_util_1.default.isUnset(request.retentionDays)) {
62693
+ query["RetentionDays"] = request.retentionDays;
62694
+ }
62452
62695
  if (!tea_util_1.default.isUnset(request.snapshotId)) {
62453
62696
  query["SnapshotId"] = request.snapshotId;
62454
62697
  }
@@ -63052,7 +63295,7 @@ class Client extends openapi_client_1.default {
63052
63295
  return await this.purchaseReservedInstancesOfferingWithOptions(request, runtime);
63053
63296
  }
63054
63297
  /**
63055
- * Before you call this operation, make sure that you are familiar with the billing and pricing plans of SCUs. For more information, see [Storage capacity units](~~137897~~).
63298
+ * Before you call this operation, make sure that you are familiar with the billing and pricing of SCUs. For more information, see [Storage capacity units](~~137897~~).
63056
63299
  *
63057
63300
  * @param request PurchaseStorageCapacityUnitRequest
63058
63301
  * @param runtime runtime options for this request RuntimeOptions
@@ -63123,7 +63366,7 @@ class Client extends openapi_client_1.default {
63123
63366
  return $tea.cast(await this.callApi(params, req, runtime), new PurchaseStorageCapacityUnitResponse({}));
63124
63367
  }
63125
63368
  /**
63126
- * Before you call this operation, make sure that you are familiar with the billing and pricing plans of SCUs. For more information, see [Storage capacity units](~~137897~~).
63369
+ * Before you call this operation, make sure that you are familiar with the billing and pricing of SCUs. For more information, see [Storage capacity units](~~137897~~).
63127
63370
  *
63128
63371
  * @param request PurchaseStorageCapacityUnitRequest
63129
63372
  * @return PurchaseStorageCapacityUnitResponse
@@ -63335,10 +63578,10 @@ class Client extends openapi_client_1.default {
63335
63578
  return await this.rebootInstanceWithOptions(request, runtime);
63336
63579
  }
63337
63580
  /**
63338
- * * The ECS instances are in the **Running** state.``
63339
- * * You can use the `BatchOptimization` parameter to enable the batch operation mode and restart multiple instances at a time.
63340
- * * Instances can be forcibly restarted by calling the `ForceReboot` operation. A forced restart is equivalent to a power-off restart for a traditional server. If data in the instance operating system is not written to block-storage devices when the instance is forcibly restarted, the data is lost.
63341
- * * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
63581
+ * * The ECS instances must be in the `Running` state.****
63582
+ * * You can use the `BatchOptimization` parameter to specify the batch operation mode and restart multiple instances at a time.
63583
+ * * Instances can be forcefully restarted. A forced restart (`ForceReboot`) is equivalent to powering off a traditional server and then restarting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data may be lost.
63584
+ * * If OperationLocks in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and all operations are prohibited on it.
63342
63585
  *
63343
63586
  * @param request RebootInstancesRequest
63344
63587
  * @param runtime runtime options for this request RuntimeOptions
@@ -63391,10 +63634,10 @@ class Client extends openapi_client_1.default {
63391
63634
  return $tea.cast(await this.callApi(params, req, runtime), new RebootInstancesResponse({}));
63392
63635
  }
63393
63636
  /**
63394
- * * The ECS instances are in the **Running** state.``
63395
- * * You can use the `BatchOptimization` parameter to enable the batch operation mode and restart multiple instances at a time.
63396
- * * Instances can be forcibly restarted by calling the `ForceReboot` operation. A forced restart is equivalent to a power-off restart for a traditional server. If data in the instance operating system is not written to block-storage devices when the instance is forcibly restarted, the data is lost.
63397
- * * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
63637
+ * * The ECS instances must be in the `Running` state.****
63638
+ * * You can use the `BatchOptimization` parameter to specify the batch operation mode and restart multiple instances at a time.
63639
+ * * Instances can be forcefully restarted. A forced restart (`ForceReboot`) is equivalent to powering off a traditional server and then restarting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data may be lost.
63640
+ * * If OperationLocks in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and all operations are prohibited on it.
63398
63641
  *
63399
63642
  * @param request RebootInstancesRequest
63400
63643
  * @return RebootInstancesResponse
@@ -63520,13 +63763,13 @@ class Client extends openapi_client_1.default {
63520
63763
  return await this.redeployDedicatedHostWithOptions(request, runtime);
63521
63764
  }
63522
63765
  /**
63523
- * RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the Running (`Running`) state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
63524
- * When you call this operation, take note of the following items:
63525
- * * The instance must be in the Running (Running) or Stopped (Stopped) state. After the instance is redeployed, the following changes occur to the status of the instance:
63526
- * * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
63527
- * * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
63766
+ * RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the `Running` state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
63767
+ * Take note of the following items:
63768
+ * * The instance must be in the Running or Stopped state. After the instance is redeployed, the following changes occur to the status of the instance:
63769
+ * * If the instance is in the `Running` state before redeployment, the instance enters the `Stopping` state.
63770
+ * * If the instance is in the `Stopped` state before redeployment, the instance enters the `Starting` state.
63528
63771
  * * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
63529
- * * If the `OperationLocks` parameter in the DescribeInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
63772
+ * * If the `OperationLocks` parameter in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
63530
63773
  * * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
63531
63774
  * * If the damaged local disk is isolated but the **SystemMaintenance.RebootAndReInitErrorDisk** event is not sent when you handle a local disk-related system event for an instance, you can still call the RedeployInstance operation to redeploy the instance. The SystemMaintenance.RebootAndReInitErrorDisk event indicates that the instance is restarted and the damaged disks are reinitialized due to system maintenance. For more information, see [System events for ECS instances equipped with local disks](~~107693~~).
63532
63775
  * The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
@@ -63584,13 +63827,13 @@ class Client extends openapi_client_1.default {
63584
63827
  return $tea.cast(await this.callApi(params, req, runtime), new RedeployInstanceResponse({}));
63585
63828
  }
63586
63829
  /**
63587
- * RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the Running (`Running`) state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
63588
- * When you call this operation, take note of the following items:
63589
- * * The instance must be in the Running (Running) or Stopped (Stopped) state. After the instance is redeployed, the following changes occur to the status of the instance:
63590
- * * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
63591
- * * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
63830
+ * RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the `Running` state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
63831
+ * Take note of the following items:
63832
+ * * The instance must be in the Running or Stopped state. After the instance is redeployed, the following changes occur to the status of the instance:
63833
+ * * If the instance is in the `Running` state before redeployment, the instance enters the `Stopping` state.
63834
+ * * If the instance is in the `Stopped` state before redeployment, the instance enters the `Starting` state.
63592
63835
  * * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
63593
- * * If the `OperationLocks` parameter in the DescribeInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
63836
+ * * If the `OperationLocks` parameter in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
63594
63837
  * * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
63595
63838
  * * If the damaged local disk is isolated but the **SystemMaintenance.RebootAndReInitErrorDisk** event is not sent when you handle a local disk-related system event for an instance, you can still call the RedeployInstance operation to redeploy the instance. The SystemMaintenance.RebootAndReInitErrorDisk event indicates that the instance is restarted and the damaged disks are reinitialized due to system maintenance. For more information, see [System events for ECS instances equipped with local disks](~~107693~~).
63596
63839
  * The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
@@ -63671,7 +63914,8 @@ class Client extends openapi_client_1.default {
63671
63914
  return await this.releaseCapacityReservationWithOptions(request, runtime);
63672
63915
  }
63673
63916
  /**
63674
- * Before you release a pay-as-you-go dedicated host, make sure that no Elastic Compute Service (ECS) instances are deployed on the dedicated host.
63917
+ * ## Usage notes
63918
+ * Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
63675
63919
  *
63676
63920
  * @param request ReleaseDedicatedHostRequest
63677
63921
  * @param runtime runtime options for this request RuntimeOptions
@@ -63715,7 +63959,8 @@ class Client extends openapi_client_1.default {
63715
63959
  return $tea.cast(await this.callApi(params, req, runtime), new ReleaseDedicatedHostResponse({}));
63716
63960
  }
63717
63961
  /**
63718
- * Before you release a pay-as-you-go dedicated host, make sure that no Elastic Compute Service (ECS) instances are deployed on the dedicated host.
63962
+ * ## Usage notes
63963
+ * Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
63719
63964
  *
63720
63965
  * @param request ReleaseDedicatedHostRequest
63721
63966
  * @return ReleaseDedicatedHostResponse
@@ -63922,7 +64167,7 @@ class Client extends openapi_client_1.default {
63922
64167
  return await this.removeTagsWithOptions(request, runtime);
63923
64168
  }
63924
64169
  /**
63925
- * Valid vouchers can be applied when you renew the subscription plan dedicated hosts. In order to use vouchers, make sure that your account supports the credit card payment method.
64170
+ * The IDs of dedicated hosts. You can specify the IDs of up to 100 subscription dedicated hosts. Specify the dedicated host IDs in a JSON array. Example: `["dh-xxxxxxxxx", "dh-yyyyyyyyy", … "dh-zzzzzzzzz"]`. Separate the IDs with commas (,).
63926
64171
  *
63927
64172
  * @param request RenewDedicatedHostsRequest
63928
64173
  * @param runtime runtime options for this request RuntimeOptions
@@ -63975,7 +64220,7 @@ class Client extends openapi_client_1.default {
63975
64220
  return $tea.cast(await this.callApi(params, req, runtime), new RenewDedicatedHostsResponse({}));
63976
64221
  }
63977
64222
  /**
63978
- * Valid vouchers can be applied when you renew the subscription plan dedicated hosts. In order to use vouchers, make sure that your account supports the credit card payment method.
64223
+ * The IDs of dedicated hosts. You can specify the IDs of up to 100 subscription dedicated hosts. Specify the dedicated host IDs in a JSON array. Example: `["dh-xxxxxxxxx", "dh-yyyyyyyyy", … "dh-zzzzzzzzz"]`. Separate the IDs with commas (,).
63979
64224
  *
63980
64225
  * @param request RenewDedicatedHostsRequest
63981
64226
  * @return RenewDedicatedHostsResponse
@@ -64054,8 +64299,7 @@ class Client extends openapi_client_1.default {
64054
64299
  return await this.renewInstanceWithOptions(request, runtime);
64055
64300
  }
64056
64301
  /**
64057
- * * Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
64058
- * * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
64302
+ * The IDs of the reserved instances.
64059
64303
  *
64060
64304
  * @param request RenewReservedInstancesRequest
64061
64305
  * @param runtime runtime options for this request RuntimeOptions
@@ -64114,8 +64358,7 @@ class Client extends openapi_client_1.default {
64114
64358
  return $tea.cast(await this.callApi(params, req, runtime), new RenewReservedInstancesResponse({}));
64115
64359
  }
64116
64360
  /**
64117
- * * Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
64118
- * * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
64361
+ * The IDs of the reserved instances.
64119
64362
  *
64120
64363
  * @param request RenewReservedInstancesRequest
64121
64364
  * @return RenewReservedInstancesResponse
@@ -64436,12 +64679,7 @@ class Client extends openapi_client_1.default {
64436
64679
  return await this.resetDisksWithOptions(request, runtime);
64437
64680
  }
64438
64681
  /**
64439
- * > 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 an MBR disk is resized to a size that is larger than 2 TiB, data may be lost. To resize an MBR disk to a size that is larger than 2 TiB, we recommend that you create and attach a new data disk. Then, you can 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 [Resize disks offline for Linux and Windows instances](~~44986~~).
64440
- * * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), and enhanced SSDs (ESSDs) (`cloud_essd`).
64441
- * * A disk cannot be resized when a snapshot is being created for the disk.
64442
- * * The instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
64443
- * * After you resize a disk, the partitions and file systems are not changed. You must allocate the storage space on the disk after the disk is resized.
64444
- * * Disks for which the multi-attach feature is enabled can only be resized offline. Before you resize the disks, make sure that instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
64682
+ * The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
64445
64683
  *
64446
64684
  * @param request ResizeDiskRequest
64447
64685
  * @param runtime runtime options for this request RuntimeOptions
@@ -64491,12 +64729,7 @@ class Client extends openapi_client_1.default {
64491
64729
  return $tea.cast(await this.callApi(params, req, runtime), new ResizeDiskResponse({}));
64492
64730
  }
64493
64731
  /**
64494
- * > 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 an MBR disk is resized to a size that is larger than 2 TiB, data may be lost. To resize an MBR disk to a size that is larger than 2 TiB, we recommend that you create and attach a new data disk. Then, you can 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 [Resize disks offline for Linux and Windows instances](~~44986~~).
64495
- * * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), and enhanced SSDs (ESSDs) (`cloud_essd`).
64496
- * * A disk cannot be resized when a snapshot is being created for the disk.
64497
- * * The instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
64498
- * * After you resize a disk, the partitions and file systems are not changed. You must allocate the storage space on the disk after the disk is resized.
64499
- * * Disks for which the multi-attach feature is enabled can only be resized offline. Before you resize the disks, make sure that instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
64732
+ * The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
64500
64733
  *
64501
64734
  * @param request ResizeDiskRequest
64502
64735
  * @return ResizeDiskResponse
@@ -64995,6 +65228,9 @@ class Client extends openapi_client_1.default {
64995
65228
  if (!tea_util_1.default.isUnset(request.arn)) {
64996
65229
  query["Arn"] = request.arn;
64997
65230
  }
65231
+ if (!tea_util_1.default.isUnset(request.autoPay)) {
65232
+ query["AutoPay"] = request.autoPay;
65233
+ }
64998
65234
  if (!tea_util_1.default.isUnset(request.autoReleaseTime)) {
64999
65235
  query["AutoReleaseTime"] = request.autoReleaseTime;
65000
65236
  }
@@ -65261,13 +65497,14 @@ class Client extends openapi_client_1.default {
65261
65497
  return await this.runInstancesWithOptions(request, runtime);
65262
65498
  }
65263
65499
  /**
65264
- * * The instances to which to send a file must be in the Running (`Running`) state.
65265
- * * The Cloud Assistant client must be installed on the instances. For information about how to install the Cloud Assistant client, see [InstallCloudAssistant](~~85916~~).
65266
- * * Only the Cloud Assistant client versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, you must upgrade the Cloud Assistant client to the latest version. For more information, see [Update or disable updates for the Cloud Assistant client](~~134383~~).
65267
- * * For Linux instances, the version of the Cloud Assistant client must be later than 1.0.2.569.
65268
- * * For Windows instances, the version of the Cloud Assistant client must be later than 1.0.0.149.
65269
- * * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
65270
- * * The file may fail to be sent due to exceptions on the instances, network, or the Cloud Assistance client. Call the [DescribeSendFileResults](~~~~) operation to troubleshoot the issues.
65500
+ * ## Usage notes
65501
+ * * The instances to which to send a file must be in the Running (`Running`) state.
65502
+ * * [Cloud Assistant Agent must be installed on the instances.](~~64921~~)
65503
+ * * Only Cloud Assistant Agent versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
65504
+ * * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
65505
+ * * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
65506
+ * * The file that you want to send must not exceed 32 KB in size after it is encoded in Base64.
65507
+ * * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent. Call the [DescribeSendFileResults](~~184117~~) operation or see [Check execution results and troubleshoot common issues](~~87029~~) for troubleshooting.
65271
65508
  *
65272
65509
  * @param request SendFileRequest
65273
65510
  * @param runtime runtime options for this request RuntimeOptions
@@ -65350,13 +65587,14 @@ class Client extends openapi_client_1.default {
65350
65587
  return $tea.cast(await this.callApi(params, req, runtime), new SendFileResponse({}));
65351
65588
  }
65352
65589
  /**
65353
- * * The instances to which to send a file must be in the Running (`Running`) state.
65354
- * * The Cloud Assistant client must be installed on the instances. For information about how to install the Cloud Assistant client, see [InstallCloudAssistant](~~85916~~).
65355
- * * Only the Cloud Assistant client versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, you must upgrade the Cloud Assistant client to the latest version. For more information, see [Update or disable updates for the Cloud Assistant client](~~134383~~).
65356
- * * For Linux instances, the version of the Cloud Assistant client must be later than 1.0.2.569.
65357
- * * For Windows instances, the version of the Cloud Assistant client must be later than 1.0.0.149.
65358
- * * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
65359
- * * The file may fail to be sent due to exceptions on the instances, network, or the Cloud Assistance client. Call the [DescribeSendFileResults](~~~~) operation to troubleshoot the issues.
65590
+ * ## Usage notes
65591
+ * * The instances to which to send a file must be in the Running (`Running`) state.
65592
+ * * [Cloud Assistant Agent must be installed on the instances.](~~64921~~)
65593
+ * * Only Cloud Assistant Agent versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
65594
+ * * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
65595
+ * * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
65596
+ * * The file that you want to send must not exceed 32 KB in size after it is encoded in Base64.
65597
+ * * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent. Call the [DescribeSendFileResults](~~184117~~) operation or see [Check execution results and troubleshoot common issues](~~87029~~) for troubleshooting.
65360
65598
  *
65361
65599
  * @param request SendFileRequest
65362
65600
  * @return SendFileResponse
@@ -65487,9 +65725,7 @@ class Client extends openapi_client_1.default {
65487
65725
  return await this.startImagePipelineExecutionWithOptions(request, runtime);
65488
65726
  }
65489
65727
  /**
65490
- * When you call this operation, take note of the following items:
65491
- * * Before the instances are started, they must first be in the `Stopped` state.****
65492
- * * If `OperationLocks` in the response to the query for the instance information contains `"LockReason" : "security"`, the instance is [locked for security reasons](~~25695~~) and cannot be started.
65728
+ * $.parameters[2].schema.example
65493
65729
  *
65494
65730
  * @param request StartInstanceRequest
65495
65731
  * @param runtime runtime options for this request RuntimeOptions
@@ -65536,9 +65772,7 @@ class Client extends openapi_client_1.default {
65536
65772
  return $tea.cast(await this.callApi(params, req, runtime), new StartInstanceResponse({}));
65537
65773
  }
65538
65774
  /**
65539
- * When you call this operation, take note of the following items:
65540
- * * Before the instances are started, they must first be in the `Stopped` state.****
65541
- * * If `OperationLocks` in the response to the query for the instance information contains `"LockReason" : "security"`, the instance is [locked for security reasons](~~25695~~) and cannot be started.
65775
+ * $.parameters[2].schema.example
65542
65776
  *
65543
65777
  * @param request StartInstanceRequest
65544
65778
  * @return StartInstanceResponse
@@ -65548,10 +65782,11 @@ class Client extends openapi_client_1.default {
65548
65782
  return await this.startInstanceWithOptions(request, runtime);
65549
65783
  }
65550
65784
  /**
65551
- * When you call this operation, take note of the following items:
65552
- * * The ECS instances that you want to start must be in the **Stopped** state.``
65553
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
65554
- * * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
65785
+ * Specifies whether to perform a dry run. Valid values:
65786
+ * * true: performs only a dry run. The system checks the request for potential issues, including required parameters, request syntax, and instance status. If the request fails the dry run, an error message is returned. If the request passes the dry run, `DRYRUN.SUCCESS` is returned.
65787
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
65788
+ * * false: performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
65789
+ * Default value: false.
65555
65790
  *
65556
65791
  * @param request StartInstancesRequest
65557
65792
  * @param runtime runtime options for this request RuntimeOptions
@@ -65601,10 +65836,11 @@ class Client extends openapi_client_1.default {
65601
65836
  return $tea.cast(await this.callApi(params, req, runtime), new StartInstancesResponse({}));
65602
65837
  }
65603
65838
  /**
65604
- * When you call this operation, take note of the following items:
65605
- * * The ECS instances that you want to start must be in the **Stopped** state.``
65606
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
65607
- * * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
65839
+ * Specifies whether to perform a dry run. Valid values:
65840
+ * * true: performs only a dry run. The system checks the request for potential issues, including required parameters, request syntax, and instance status. If the request fails the dry run, an error message is returned. If the request passes the dry run, `DRYRUN.SUCCESS` is returned.
65841
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
65842
+ * * false: performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
65843
+ * Default value: false.
65608
65844
  *
65609
65845
  * @param request StartInstancesRequest
65610
65846
  * @return StartInstancesResponse
@@ -65614,15 +65850,16 @@ class Client extends openapi_client_1.default {
65614
65850
  return await this.startInstancesWithOptions(request, runtime);
65615
65851
  }
65616
65852
  /**
65617
- * ## Description
65618
- * The session management feature is in public preview. To use this feature, log on with your Alibaba Cloud account and activate this feature.
65619
- * When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Before you call this operation to create a session to an ECS instance, take note of the following items:
65620
- * - The ECS instance must be in the Running (Running) state.
65621
- * - The Cloud Assistant client must be installed on the ECS instance. You can call the [DescribeCloudAssistantStatus](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describecloudassistantstatus) operation to check whether the Cloud Assistant client is installed on the ECS instance and query the version number of the installed Cloud Assistant client. - If the Cloud Assistant client is not installed on the ECS instance, call the [InstallCloudAssistant](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/installcloudassistant) operation to install the client.
65622
- * - Only the Cloud Assistant client versions that are later than the following ones support the session management feature. You can upgrade your Cloud Assistant client. For information about how to upgrade the Cloud Assistant client, see [Update or disable updates for the Cloud Assistant client](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/update-or-disable-updates-for-the-cloud-assistant-client). - For Linux operating systems: V2.2.3.256
65623
- * - For Windows operating systems: V2.1.3.256
65624
- * - Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
65625
- * - Up to 1,000 sessions can be created and available per region. Each ECS instance can have up to 10 sessions in the connected state.
65853
+ * The session management feature is in public preview. To use this feature, log on to the ECS console with your Alibaba Cloud account and enable this feature.
65854
+ * When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Take note of the following items:
65855
+ * * The ECS instance must be in the Running (Running) state.
65856
+ * * Cloud Assistant Agent must be installed on the ECS instance. You can call the [DescribeCloudAssistantStatus](~~87346~~) operation to check whether Cloud Assistant Agent is installed on the ECS instance and query the version number of the installed Cloud Assistant Agent.
65857
+ * * If Cloud Assistant Agent is not installed on the ECS instance, call the [InstallCloudAssistant](~~85916~~) operation to install Cloud Assistant Agent.
65858
+ * * Only the Cloud Assistant Agent versions that are later than the following ones support the session management feature. You can upgrade Cloud Assistant Agent. For information about how to upgrade Cloud Assistant Agent, see [Update or disable updates for Cloud Assistant Agent](~~134383~~).
65859
+ * * For Linux operating systems: 2.2.3.256
65860
+ * * For Windows operating systems: 2.1.3.256
65861
+ * * Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
65862
+ * * Up to 1,000 sessions can be created and available per region. Each ECS instance can have up to 10 sessions in the connected state.
65626
65863
  *
65627
65864
  * @param request StartTerminalSessionRequest
65628
65865
  * @param runtime runtime options for this request RuntimeOptions
@@ -65631,6 +65868,9 @@ class Client extends openapi_client_1.default {
65631
65868
  async startTerminalSessionWithOptions(request, runtime) {
65632
65869
  tea_util_1.default.validateModel(request);
65633
65870
  let query = {};
65871
+ if (!tea_util_1.default.isUnset(request.commandLine)) {
65872
+ query["CommandLine"] = request.commandLine;
65873
+ }
65634
65874
  if (!tea_util_1.default.isUnset(request.instanceId)) {
65635
65875
  query["InstanceId"] = request.instanceId;
65636
65876
  }
@@ -65655,6 +65895,9 @@ class Client extends openapi_client_1.default {
65655
65895
  if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
65656
65896
  query["ResourceOwnerId"] = request.resourceOwnerId;
65657
65897
  }
65898
+ if (!tea_util_1.default.isUnset(request.targetServer)) {
65899
+ query["TargetServer"] = request.targetServer;
65900
+ }
65658
65901
  let req = new $OpenApi.OpenApiRequest({
65659
65902
  query: openapi_util_1.default.query(query),
65660
65903
  });
@@ -65672,15 +65915,16 @@ class Client extends openapi_client_1.default {
65672
65915
  return $tea.cast(await this.callApi(params, req, runtime), new StartTerminalSessionResponse({}));
65673
65916
  }
65674
65917
  /**
65675
- * ## Description
65676
- * The session management feature is in public preview. To use this feature, log on with your Alibaba Cloud account and activate this feature.
65677
- * When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Before you call this operation to create a session to an ECS instance, take note of the following items:
65678
- * - The ECS instance must be in the Running (Running) state.
65679
- * - The Cloud Assistant client must be installed on the ECS instance. You can call the [DescribeCloudAssistantStatus](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describecloudassistantstatus) operation to check whether the Cloud Assistant client is installed on the ECS instance and query the version number of the installed Cloud Assistant client. - If the Cloud Assistant client is not installed on the ECS instance, call the [InstallCloudAssistant](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/installcloudassistant) operation to install the client.
65680
- * - Only the Cloud Assistant client versions that are later than the following ones support the session management feature. You can upgrade your Cloud Assistant client. For information about how to upgrade the Cloud Assistant client, see [Update or disable updates for the Cloud Assistant client](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/update-or-disable-updates-for-the-cloud-assistant-client). - For Linux operating systems: V2.2.3.256
65681
- * - For Windows operating systems: V2.1.3.256
65682
- * - Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
65683
- * - Up to 1,000 sessions can be created and available per region. Each ECS instance can have up to 10 sessions in the connected state.
65918
+ * The session management feature is in public preview. To use this feature, log on to the ECS console with your Alibaba Cloud account and enable this feature.
65919
+ * When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Take note of the following items:
65920
+ * * The ECS instance must be in the Running (Running) state.
65921
+ * * Cloud Assistant Agent must be installed on the ECS instance. You can call the [DescribeCloudAssistantStatus](~~87346~~) operation to check whether Cloud Assistant Agent is installed on the ECS instance and query the version number of the installed Cloud Assistant Agent.
65922
+ * * If Cloud Assistant Agent is not installed on the ECS instance, call the [InstallCloudAssistant](~~85916~~) operation to install Cloud Assistant Agent.
65923
+ * * Only the Cloud Assistant Agent versions that are later than the following ones support the session management feature. You can upgrade Cloud Assistant Agent. For information about how to upgrade Cloud Assistant Agent, see [Update or disable updates for Cloud Assistant Agent](~~134383~~).
65924
+ * * For Linux operating systems: 2.2.3.256
65925
+ * * For Windows operating systems: 2.1.3.256
65926
+ * * Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
65927
+ * * Up to 1,000 sessions can be created and available per region. Each ECS instance can have up to 10 sessions in the connected state.
65684
65928
  *
65685
65929
  * @param request StartTerminalSessionRequest
65686
65930
  * @return StartTerminalSessionResponse
@@ -65690,8 +65934,8 @@ class Client extends openapi_client_1.default {
65690
65934
  return await this.startTerminalSessionWithOptions(request, runtime);
65691
65935
  }
65692
65936
  /**
65693
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance. ``For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
65694
- * * If economical mode is enabled, you can set `StoppedMode` to KeepCharging to switch to standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.
65937
+ * * If you call the DescribeInstances operation to query the details of an instance and `OperationLocks` in the response contains `"LockReason": "security"`, the instance is locked for security reasons and cannot be stopped. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
65938
+ * * If the economical mode is enabled, you can set `StoppedMode` to KeepCharging to switch to the standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.
65695
65939
  *
65696
65940
  * @param request StopInstanceRequest
65697
65941
  * @param runtime runtime options for this request RuntimeOptions
@@ -65747,8 +65991,8 @@ class Client extends openapi_client_1.default {
65747
65991
  return $tea.cast(await this.callApi(params, req, runtime), new StopInstanceResponse({}));
65748
65992
  }
65749
65993
  /**
65750
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance. ``For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
65751
- * * If economical mode is enabled, you can set `StoppedMode` to KeepCharging to switch to standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.
65994
+ * * If you call the DescribeInstances operation to query the details of an instance and `OperationLocks` in the response contains `"LockReason": "security"`, the instance is locked for security reasons and cannot be stopped. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
65995
+ * * If the economical mode is enabled, you can set `StoppedMode` to KeepCharging to switch to the standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.
65752
65996
  *
65753
65997
  * @param request StopInstanceRequest
65754
65998
  * @return StopInstanceResponse
@@ -65758,9 +66002,11 @@ class Client extends openapi_client_1.default {
65758
66002
  return await this.stopInstanceWithOptions(request, runtime);
65759
66003
  }
65760
66004
  /**
65761
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
65762
- * * Once economy mode is enabled for pay-as-you-go instances, you can then switch `StoppedMode` to KeepCharging, which enables standard mode for the instances. In standard mode, you continue to be charged for the instances are stopped, and the resources of the instance type as well as public IP addresses of the instances are retained.
65763
- * * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
66005
+ * Specifies whether to perform only a dry run, without performing the actual request. Valid Values:
66006
+ * * true: performs a dry run, but the request is not made. The system checks the request for potential issues, including required parameters, request syntax, and instance status. If the request passes the dry run, `DRYRUN.SUCCESS` is returned. Otherwise, an error message is returned.
66007
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
66008
+ * * false: performs a dry run and sends the request. If the request passes the dry run, the operation is performed.
66009
+ * Default value: false.
65764
66010
  *
65765
66011
  * @param request StopInstancesRequest
65766
66012
  * @param runtime runtime options for this request RuntimeOptions
@@ -65816,9 +66062,11 @@ class Client extends openapi_client_1.default {
65816
66062
  return $tea.cast(await this.callApi(params, req, runtime), new StopInstancesResponse({}));
65817
66063
  }
65818
66064
  /**
65819
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
65820
- * * Once economy mode is enabled for pay-as-you-go instances, you can then switch `StoppedMode` to KeepCharging, which enables standard mode for the instances. In standard mode, you continue to be charged for the instances are stopped, and the resources of the instance type as well as public IP addresses of the instances are retained.
65821
- * * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
66065
+ * Specifies whether to perform only a dry run, without performing the actual request. Valid Values:
66066
+ * * true: performs a dry run, but the request is not made. The system checks the request for potential issues, including required parameters, request syntax, and instance status. If the request passes the dry run, `DRYRUN.SUCCESS` is returned. Otherwise, an error message is returned.
66067
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
66068
+ * * false: performs a dry run and sends the request. If the request passes the dry run, the operation is performed.
66069
+ * Default value: false.
65822
66070
  *
65823
66071
  * @param request StopInstancesRequest
65824
66072
  * @return StopInstancesResponse
@@ -65828,8 +66076,7 @@ class Client extends openapi_client_1.default {
65828
66076
  return await this.stopInstancesWithOptions(request, runtime);
65829
66077
  }
65830
66078
  /**
65831
- * * If you stop the process of a command that runs only once, the executions that have started are not interrupted. The executions that have not started are canceled.
65832
- * * If you stop the process of a scheduled invocation command, the executions that have started are not interrupted. However, the execution does not start in the next period.
66079
+ * The region ID. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
65833
66080
  *
65834
66081
  * @param request StopInvocationRequest
65835
66082
  * @param runtime runtime options for this request RuntimeOptions
@@ -65879,8 +66126,7 @@ class Client extends openapi_client_1.default {
65879
66126
  return $tea.cast(await this.callApi(params, req, runtime), new StopInvocationResponse({}));
65880
66127
  }
65881
66128
  /**
65882
- * * If you stop the process of a command that runs only once, the executions that have started are not interrupted. The executions that have not started are canceled.
65883
- * * If you stop the process of a scheduled invocation command, the executions that have started are not interrupted. However, the execution does not start in the next period.
66129
+ * The region ID. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
65884
66130
  *
65885
66131
  * @param request StopInvocationRequest
65886
66132
  * @return StopInvocationResponse
@@ -66141,8 +66387,7 @@ class Client extends openapi_client_1.default {
66141
66387
  return await this.unassignIpv6AddressesWithOptions(request, runtime);
66142
66388
  }
66143
66389
  /**
66144
- * * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
66145
- * * If the ENI is a primary ENI, the Elastic Compute Service (ECS) instance to which the ENI is attached must be in the **Running** (Running) or **Stopped** (Stopped) state.
66390
+ * The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
66146
66391
  *
66147
66392
  * @param request UnassignPrivateIpAddressesRequest
66148
66393
  * @param runtime runtime options for this request RuntimeOptions
@@ -66195,8 +66440,7 @@ class Client extends openapi_client_1.default {
66195
66440
  return $tea.cast(await this.callApi(params, req, runtime), new UnassignPrivateIpAddressesResponse({}));
66196
66441
  }
66197
66442
  /**
66198
- * * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
66199
- * * If the ENI is a primary ENI, the Elastic Compute Service (ECS) instance to which the ENI is attached must be in the **Running** (Running) or **Stopped** (Stopped) state.
66443
+ * The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
66200
66444
  *
66201
66445
  * @param request UnassignPrivateIpAddressesRequest
66202
66446
  * @return UnassignPrivateIpAddressesResponse