@alicloud/ecs20140526 3.0.6 → 3.0.7

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/src/client.ts CHANGED
@@ -2524,6 +2524,7 @@ export class CopySnapshotRequest extends $tea.Model {
2524
2524
  destinationRegionId?: string;
2525
2525
  destinationSnapshotDescription?: string;
2526
2526
  destinationSnapshotName?: string;
2527
+ destinationStorageLocationArn?: string;
2527
2528
  encrypted?: boolean;
2528
2529
  KMSKeyId?: string;
2529
2530
  ownerId?: number;
@@ -2540,6 +2541,7 @@ export class CopySnapshotRequest extends $tea.Model {
2540
2541
  destinationRegionId: 'DestinationRegionId',
2541
2542
  destinationSnapshotDescription: 'DestinationSnapshotDescription',
2542
2543
  destinationSnapshotName: 'DestinationSnapshotName',
2544
+ destinationStorageLocationArn: 'DestinationStorageLocationArn',
2543
2545
  encrypted: 'Encrypted',
2544
2546
  KMSKeyId: 'KMSKeyId',
2545
2547
  ownerId: 'OwnerId',
@@ -2559,6 +2561,7 @@ export class CopySnapshotRequest extends $tea.Model {
2559
2561
  destinationRegionId: 'string',
2560
2562
  destinationSnapshotDescription: 'string',
2561
2563
  destinationSnapshotName: 'string',
2564
+ destinationStorageLocationArn: 'string',
2562
2565
  encrypted: 'boolean',
2563
2566
  KMSKeyId: 'string',
2564
2567
  ownerId: 'number',
@@ -4911,6 +4914,7 @@ export class CreateLaunchTemplateRequest extends $tea.Model {
4911
4914
  systemDisk?: CreateLaunchTemplateRequestSystemDisk;
4912
4915
  autoReleaseTime?: string;
4913
4916
  dataDisk?: CreateLaunchTemplateRequestDataDisk[];
4917
+ deletionProtection?: boolean;
4914
4918
  deploymentSetId?: string;
4915
4919
  description?: string;
4916
4920
  enableVmOsConfig?: boolean;
@@ -4958,6 +4962,7 @@ export class CreateLaunchTemplateRequest extends $tea.Model {
4958
4962
  systemDisk: 'SystemDisk',
4959
4963
  autoReleaseTime: 'AutoReleaseTime',
4960
4964
  dataDisk: 'DataDisk',
4965
+ deletionProtection: 'DeletionProtection',
4961
4966
  deploymentSetId: 'DeploymentSetId',
4962
4967
  description: 'Description',
4963
4968
  enableVmOsConfig: 'EnableVmOsConfig',
@@ -5008,6 +5013,7 @@ export class CreateLaunchTemplateRequest extends $tea.Model {
5008
5013
  systemDisk: CreateLaunchTemplateRequestSystemDisk,
5009
5014
  autoReleaseTime: 'string',
5010
5015
  dataDisk: { 'type': 'array', 'itemType': CreateLaunchTemplateRequestDataDisk },
5016
+ deletionProtection: 'boolean',
5011
5017
  deploymentSetId: 'string',
5012
5018
  description: 'string',
5013
5019
  enableVmOsConfig: 'boolean',
@@ -5109,6 +5115,7 @@ export class CreateLaunchTemplateVersionRequest extends $tea.Model {
5109
5115
  systemDisk?: CreateLaunchTemplateVersionRequestSystemDisk;
5110
5116
  autoReleaseTime?: string;
5111
5117
  dataDisk?: CreateLaunchTemplateVersionRequestDataDisk[];
5118
+ deletionProtection?: boolean;
5112
5119
  deploymentSetId?: string;
5113
5120
  description?: string;
5114
5121
  enableVmOsConfig?: boolean;
@@ -5155,6 +5162,7 @@ export class CreateLaunchTemplateVersionRequest extends $tea.Model {
5155
5162
  systemDisk: 'SystemDisk',
5156
5163
  autoReleaseTime: 'AutoReleaseTime',
5157
5164
  dataDisk: 'DataDisk',
5165
+ deletionProtection: 'DeletionProtection',
5158
5166
  deploymentSetId: 'DeploymentSetId',
5159
5167
  description: 'Description',
5160
5168
  enableVmOsConfig: 'EnableVmOsConfig',
@@ -5204,6 +5212,7 @@ export class CreateLaunchTemplateVersionRequest extends $tea.Model {
5204
5212
  systemDisk: CreateLaunchTemplateVersionRequestSystemDisk,
5205
5213
  autoReleaseTime: 'string',
5206
5214
  dataDisk: { 'type': 'array', 'itemType': CreateLaunchTemplateVersionRequestDataDisk },
5215
+ deletionProtection: 'boolean',
5207
5216
  deploymentSetId: 'string',
5208
5217
  description: 'string',
5209
5218
  enableVmOsConfig: 'boolean',
@@ -32390,6 +32399,7 @@ export class RunInstancesRequest extends $tea.Model {
32390
32399
  affinity?: string;
32391
32400
  amount?: number;
32392
32401
  arn?: RunInstancesRequestArn[];
32402
+ autoPay?: boolean;
32393
32403
  autoReleaseTime?: string;
32394
32404
  autoRenew?: boolean;
32395
32405
  autoRenewPeriod?: number;
@@ -32467,6 +32477,7 @@ export class RunInstancesRequest extends $tea.Model {
32467
32477
  affinity: 'Affinity',
32468
32478
  amount: 'Amount',
32469
32479
  arn: 'Arn',
32480
+ autoPay: 'AutoPay',
32470
32481
  autoReleaseTime: 'AutoReleaseTime',
32471
32482
  autoRenew: 'AutoRenew',
32472
32483
  autoRenewPeriod: 'AutoRenewPeriod',
@@ -32547,6 +32558,7 @@ export class RunInstancesRequest extends $tea.Model {
32547
32558
  affinity: 'string',
32548
32559
  amount: 'number',
32549
32560
  arn: { 'type': 'array', 'itemType': RunInstancesRequestArn },
32561
+ autoPay: 'boolean',
32550
32562
  autoReleaseTime: 'string',
32551
32563
  autoRenew: 'boolean',
32552
32564
  autoRenewPeriod: 'number',
@@ -35002,6 +35014,7 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultIns
35002
35014
  }
35003
35015
 
35004
35016
  export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult extends $tea.Model {
35017
+ amount?: number;
35005
35018
  errorCode?: string;
35006
35019
  errorMsg?: string;
35007
35020
  instanceIds?: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds;
@@ -35010,6 +35023,7 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult ex
35010
35023
  zoneId?: string;
35011
35024
  static names(): { [key: string]: string } {
35012
35025
  return {
35026
+ amount: 'Amount',
35013
35027
  errorCode: 'ErrorCode',
35014
35028
  errorMsg: 'ErrorMsg',
35015
35029
  instanceIds: 'InstanceIds',
@@ -35021,6 +35035,7 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult ex
35021
35035
 
35022
35036
  static types(): { [key: string]: any } {
35023
35037
  return {
35038
+ amount: 'number',
35024
35039
  errorCode: 'string',
35025
35040
  errorMsg: 'string',
35026
35041
  instanceIds: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds,
@@ -42893,6 +42908,7 @@ export class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInst
42893
42908
  punishType?: string;
42894
42909
  punishUrl?: string;
42895
42910
  rack?: string;
42911
+ responseResult?: string;
42896
42912
  static names(): { [key: string]: string } {
42897
42913
  return {
42898
42914
  canAccept: 'CanAccept',
@@ -42908,6 +42924,7 @@ export class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInst
42908
42924
  punishType: 'PunishType',
42909
42925
  punishUrl: 'PunishUrl',
42910
42926
  rack: 'Rack',
42927
+ responseResult: 'ResponseResult',
42911
42928
  };
42912
42929
  }
42913
42930
 
@@ -42926,6 +42943,7 @@ export class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInst
42926
42943
  punishType: 'string',
42927
42944
  punishUrl: 'string',
42928
42945
  rack: 'string',
42946
+ responseResult: 'string',
42929
42947
  };
42930
42948
  }
42931
42949
 
@@ -45687,6 +45705,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
45687
45705
  systemDisk?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk;
45688
45706
  autoReleaseTime?: string;
45689
45707
  dataDisks?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisks;
45708
+ deletionProtection?: boolean;
45690
45709
  deploymentSetId?: string;
45691
45710
  description?: string;
45692
45711
  enableVmOsConfig?: boolean;
@@ -45725,6 +45744,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
45725
45744
  systemDisk: 'SystemDisk',
45726
45745
  autoReleaseTime: 'AutoReleaseTime',
45727
45746
  dataDisks: 'DataDisks',
45747
+ deletionProtection: 'DeletionProtection',
45728
45748
  deploymentSetId: 'DeploymentSetId',
45729
45749
  description: 'Description',
45730
45750
  enableVmOsConfig: 'EnableVmOsConfig',
@@ -45766,6 +45786,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
45766
45786
  systemDisk: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk,
45767
45787
  autoReleaseTime: 'string',
45768
45788
  dataDisks: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisks,
45789
+ deletionProtection: 'boolean',
45769
45790
  deploymentSetId: 'string',
45770
45791
  description: 'string',
45771
45792
  enableVmOsConfig: 'boolean',
@@ -54330,9 +54351,10 @@ export default class Client extends OpenApi {
54330
54351
  }
54331
54352
 
54332
54353
  /**
54354
+ * ## Usage notes
54333
54355
  * * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
54334
54356
  * * 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.
54335
- * * 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~~).
54357
+ * * 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~~).
54336
54358
  * * 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.
54337
54359
  *
54338
54360
  * @param request AssignPrivateIpAddressesRequest
@@ -54408,9 +54430,10 @@ export default class Client extends OpenApi {
54408
54430
  }
54409
54431
 
54410
54432
  /**
54433
+ * ## Usage notes
54411
54434
  * * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
54412
54435
  * * 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.
54413
- * * 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~~).
54436
+ * * 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~~).
54414
54437
  * * 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.
54415
54438
  *
54416
54439
  * @param request AssignPrivateIpAddressesRequest
@@ -54635,16 +54658,16 @@ export default class Client extends OpenApi {
54635
54658
 
54636
54659
  /**
54637
54660
  * When you call this operation, take note of the following items:
54638
- * * The disk to be attached must be in the **Unattached** (`Available`) state.
54661
+ * * The disk that you want to attach must be in the **Available** state.``
54639
54662
  * * When the disk is attached as a data disk, take note of the following items:
54640
- * * The instance must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
54663
+ * * The instance must be in the **Running** or **Stopped** state.````
54641
54664
  * * If the disk was separately purchased, the billing method of the disk must be pay-as-you-go.
54642
54665
  * * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
54643
54666
  * * When the disk is attached as a system disk, take note of the following items:
54644
54667
  * * The instance must be the original instance from which the system disk was detached.
54645
54668
  * * The instance must be in the **Stopped** state.``
54646
54669
  * * The logon credentials must be configured.
54647
- * * 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.
54670
+ * * 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.
54648
54671
  *
54649
54672
  * @param request AttachDiskRequest
54650
54673
  * @param runtime runtime options for this request RuntimeOptions
@@ -54716,16 +54739,16 @@ export default class Client extends OpenApi {
54716
54739
 
54717
54740
  /**
54718
54741
  * When you call this operation, take note of the following items:
54719
- * * The disk to be attached must be in the **Unattached** (`Available`) state.
54742
+ * * The disk that you want to attach must be in the **Available** state.``
54720
54743
  * * When the disk is attached as a data disk, take note of the following items:
54721
- * * The instance must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
54744
+ * * The instance must be in the **Running** or **Stopped** state.````
54722
54745
  * * If the disk was separately purchased, the billing method of the disk must be pay-as-you-go.
54723
54746
  * * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
54724
54747
  * * When the disk is attached as a system disk, take note of the following items:
54725
54748
  * * The instance must be the original instance from which the system disk was detached.
54726
54749
  * * The instance must be in the **Stopped** state.``
54727
54750
  * * The logon credentials must be configured.
54728
- * * 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.
54751
+ * * 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.
54729
54752
  *
54730
54753
  * @param request AttachDiskRequest
54731
54754
  * @return AttachDiskResponse
@@ -54789,11 +54812,11 @@ export default class Client extends OpenApi {
54789
54812
  }
54790
54813
 
54791
54814
  /**
54792
- * When you call this operation, take note of the following items:
54815
+ * Take note of the following items:
54793
54816
  * * SSH key pairs are not supported on Windows instances.
54794
54817
  * * If an SSH key pair is bound to an instance, authentication by using the username and password is disabled for the instance.
54795
- * * 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.
54796
- * * 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.
54818
+ * * 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.
54819
+ * * 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.
54797
54820
  * * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
54798
54821
  *
54799
54822
  * @param request AttachKeyPairRequest
@@ -54845,11 +54868,11 @@ export default class Client extends OpenApi {
54845
54868
  }
54846
54869
 
54847
54870
  /**
54848
- * When you call this operation, take note of the following items:
54871
+ * Take note of the following items:
54849
54872
  * * SSH key pairs are not supported on Windows instances.
54850
54873
  * * If an SSH key pair is bound to an instance, authentication by using the username and password is disabled for the instance.
54851
- * * 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.
54852
- * * 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.
54874
+ * * 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.
54875
+ * * 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.
54853
54876
  * * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
54854
54877
  *
54855
54878
  * @param request AttachKeyPairRequest
@@ -54961,18 +54984,18 @@ export default class Client extends OpenApi {
54961
54984
  }
54962
54985
 
54963
54986
  /**
54964
- * In security group-related API documents, traffic is sent from the source to the destination.
54987
+ * 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.
54965
54988
  * When you call this operation, take note of the following items:
54966
- * * 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~~).
54967
- * * The valid values of Priority range from 1 to 100. A smaller value specifies a higher priority.
54989
+ * * 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.
54990
+ * * The valid value of Priority ranges from 1 to 100. A smaller value specifies a higher priority.
54968
54991
  * * If several security group rules have the same priority, drop rules take precedence.
54969
54992
  * * 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.
54970
54993
  * * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
54971
54994
  * * You can reference up to 20 security groups as sources or destinations in the rules of each basic security group.
54972
- * * 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.
54973
- * * 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.
54995
+ * * If the specified security group rule already exists in the security group, the call is successful but no security group rule is created.
54996
+ * * 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`.
54974
54997
  * * 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.
54975
- * * 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:
54998
+ * * 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:
54976
54999
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
54977
55000
  * &SecurityGroupId=sg-bp67acfmxazb4p****
54978
55001
  * &Permissions.1.SourceCidrIp=10.0.0.0/8
@@ -54981,7 +55004,7 @@ export default class Client extends OpenApi {
54981
55004
  * &Permissions.1.NicType=intranet
54982
55005
  * &Permissions.1.Policy=Accept
54983
55006
  * &<Common request parameters>
54984
- * * 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:
55007
+ * * 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:
54985
55008
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
54986
55009
  * &SecurityGroupId=sg-bp67acfmxazb4p****
54987
55010
  * &Permissions.1.SourceGroupId=sg-1651FBB**
@@ -54991,7 +55014,7 @@ export default class Client extends OpenApi {
54991
55014
  * &Permissions.1.NicType=intranet
54992
55015
  * &Permissions.1.Policy=Drop
54993
55016
  * &<Common request parameters>
54994
- * * 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:
55017
+ * * 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:
54995
55018
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
54996
55019
  * &SecurityGroupId=sg-bp67acfmxazb4p****
54997
55020
  * &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
@@ -55136,18 +55159,18 @@ export default class Client extends OpenApi {
55136
55159
  }
55137
55160
 
55138
55161
  /**
55139
- * In security group-related API documents, traffic is sent from the source to the destination.
55162
+ * 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.
55140
55163
  * When you call this operation, take note of the following items:
55141
- * * 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~~).
55142
- * * The valid values of Priority range from 1 to 100. A smaller value specifies a higher priority.
55164
+ * * 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.
55165
+ * * The valid value of Priority ranges from 1 to 100. A smaller value specifies a higher priority.
55143
55166
  * * If several security group rules have the same priority, drop rules take precedence.
55144
55167
  * * 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.
55145
55168
  * * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
55146
55169
  * * You can reference up to 20 security groups as sources or destinations in the rules of each basic security group.
55147
- * * 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.
55148
- * * 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.
55170
+ * * If the specified security group rule already exists in the security group, the call is successful but no security group rule is created.
55171
+ * * 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`.
55149
55172
  * * 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.
55150
- * * 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:
55173
+ * * 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:
55151
55174
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
55152
55175
  * &SecurityGroupId=sg-bp67acfmxazb4p****
55153
55176
  * &Permissions.1.SourceCidrIp=10.0.0.0/8
@@ -55156,7 +55179,7 @@ export default class Client extends OpenApi {
55156
55179
  * &Permissions.1.NicType=intranet
55157
55180
  * &Permissions.1.Policy=Accept
55158
55181
  * &<Common request parameters>
55159
- * * 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:
55182
+ * * 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:
55160
55183
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
55161
55184
  * &SecurityGroupId=sg-bp67acfmxazb4p****
55162
55185
  * &Permissions.1.SourceGroupId=sg-1651FBB**
@@ -55166,7 +55189,7 @@ export default class Client extends OpenApi {
55166
55189
  * &Permissions.1.NicType=intranet
55167
55190
  * &Permissions.1.Policy=Drop
55168
55191
  * &<Common request parameters>
55169
- * * 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:
55192
+ * * 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:
55170
55193
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
55171
55194
  * &SecurityGroupId=sg-bp67acfmxazb4p****
55172
55195
  * &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
@@ -55187,7 +55210,47 @@ export default class Client extends OpenApi {
55187
55210
  }
55188
55211
 
55189
55212
  /**
55190
- * The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
55213
+ * 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.
55214
+ * When you call this operation, take note of the following items:
55215
+ * * 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~~).
55216
+ * * You can set Policy to accept or drop for each security group rule to allow or deny access.
55217
+ * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
55218
+ * * When several security group rules have the same priority, drop rules take precedence.
55219
+ * * 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.
55220
+ * * For advanced security groups, security groups cannot be used as authorization objects.
55221
+ * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
55222
+ * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
55223
+ * * 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`.
55224
+ * * 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.
55225
+ * * 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:
55226
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55227
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55228
+ * &Permissions.1.IpProtocol=ICMP
55229
+ * &Permissions.1.DestCidrIp=10.0.0.0/8
55230
+ * &Permissions.1.PortRange=-1/-1
55231
+ * &Permissions.1.NicType=intranet
55232
+ * &Permissions.1.Policy=Accept
55233
+ * &<Common request parameters>
55234
+ * * 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:
55235
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55236
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55237
+ * &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
55238
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
55239
+ * &Permissions.1.IpProtocol=TCP
55240
+ * &Permissions.1.PortRange=22/22
55241
+ * &Permissions.1.NicType=intranet
55242
+ * &Permissions.1.Policy=Drop
55243
+ * &<Common request parameters>
55244
+ * * 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:
55245
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55246
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55247
+ * &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
55248
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
55249
+ * &Permissions.1.IpProtocol=TCP
55250
+ * &Permissions.1.PortRange=22/22
55251
+ * &Permissions.1.NicType=intranet
55252
+ * &Permissions.1.Policy=Drop
55253
+ * &<Common request parameters>
55191
55254
  *
55192
55255
  * @param request AuthorizeSecurityGroupEgressRequest
55193
55256
  * @param runtime runtime options for this request RuntimeOptions
@@ -55322,7 +55385,47 @@ export default class Client extends OpenApi {
55322
55385
  }
55323
55386
 
55324
55387
  /**
55325
- * The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
55388
+ * 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.
55389
+ * When you call this operation, take note of the following items:
55390
+ * * 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~~).
55391
+ * * You can set Policy to accept or drop for each security group rule to allow or deny access.
55392
+ * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
55393
+ * * When several security group rules have the same priority, drop rules take precedence.
55394
+ * * 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.
55395
+ * * For advanced security groups, security groups cannot be used as authorization objects.
55396
+ * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
55397
+ * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
55398
+ * * 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`.
55399
+ * * 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.
55400
+ * * 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:
55401
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55402
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55403
+ * &Permissions.1.IpProtocol=ICMP
55404
+ * &Permissions.1.DestCidrIp=10.0.0.0/8
55405
+ * &Permissions.1.PortRange=-1/-1
55406
+ * &Permissions.1.NicType=intranet
55407
+ * &Permissions.1.Policy=Accept
55408
+ * &<Common request parameters>
55409
+ * * 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:
55410
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55411
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55412
+ * &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
55413
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
55414
+ * &Permissions.1.IpProtocol=TCP
55415
+ * &Permissions.1.PortRange=22/22
55416
+ * &Permissions.1.NicType=intranet
55417
+ * &Permissions.1.Policy=Drop
55418
+ * &<Common request parameters>
55419
+ * * 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:
55420
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55421
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55422
+ * &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
55423
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
55424
+ * &Permissions.1.IpProtocol=TCP
55425
+ * &Permissions.1.PortRange=22/22
55426
+ * &Permissions.1.NicType=intranet
55427
+ * &Permissions.1.Policy=Drop
55428
+ * &<Common request parameters>
55326
55429
  *
55327
55430
  * @param request AuthorizeSecurityGroupEgressRequest
55328
55431
  * @return AuthorizeSecurityGroupEgressResponse
@@ -55950,6 +56053,10 @@ export default class Client extends OpenApi {
55950
56053
  query["DestinationSnapshotName"] = request.destinationSnapshotName;
55951
56054
  }
55952
56055
 
56056
+ if (!Util.isUnset(request.destinationStorageLocationArn)) {
56057
+ query["DestinationStorageLocationArn"] = request.destinationStorageLocationArn;
56058
+ }
56059
+
55953
56060
  if (!Util.isUnset(request.encrypted)) {
55954
56061
  query["Encrypted"] = request.encrypted;
55955
56062
  }
@@ -56022,8 +56129,19 @@ export default class Client extends OpenApi {
56022
56129
  }
56023
56130
 
56024
56131
  /**
56025
- * 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).
56026
- * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
56132
+ * 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.
56133
+ * 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:
56134
+ * * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
56135
+ * * CentOS 6, CentOS 7, CentOS 8, and later
56136
+ * * Debian 8, Debian 9, Debian 10, and later
56137
+ * * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
56138
+ * * CoreOS
56139
+ * * OpenSUSE
56140
+ * * Red Hat 5, Red Hat 6, Red Hat 7, and later
56141
+ * * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
56142
+ * * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
56143
+ * 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.
56144
+ * > 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.
56027
56145
  *
56028
56146
  * @param request CreateActivationRequest
56029
56147
  * @param runtime runtime options for this request RuntimeOptions
@@ -56098,8 +56216,19 @@ export default class Client extends OpenApi {
56098
56216
  }
56099
56217
 
56100
56218
  /**
56101
- * 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).
56102
- * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
56219
+ * 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.
56220
+ * 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:
56221
+ * * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
56222
+ * * CentOS 6, CentOS 7, CentOS 8, and later
56223
+ * * Debian 8, Debian 9, Debian 10, and later
56224
+ * * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
56225
+ * * CoreOS
56226
+ * * OpenSUSE
56227
+ * * Red Hat 5, Red Hat 6, Red Hat 7, and later
56228
+ * * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
56229
+ * * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
56230
+ * 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.
56231
+ * > 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.
56103
56232
  *
56104
56233
  * @param request CreateActivationRequest
56105
56234
  * @return CreateActivationResponse
@@ -56282,10 +56411,10 @@ export default class Client extends OpenApi {
56282
56411
  }
56283
56412
 
56284
56413
  /**
56285
- * 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.
56286
- * When you call this operation, take note of the following items:
56287
- * * You can create a maximum of 100 automatic snapshot policies within each region for a single Alibaba Cloud account.
56288
- * * 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.
56414
+ * 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.
56415
+ * Take note of the following items:
56416
+ * * You can create a maximum of 100 automatic snapshot policies per region for a single Alibaba Cloud account.
56417
+ * * 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.
56289
56418
  * * For information about how to copy a snapshot from one region to another, see the "Background information" section in [Copy a snapshot](~~159441~~).
56290
56419
  *
56291
56420
  * @param request CreateAutoSnapshotPolicyRequest
@@ -56369,10 +56498,10 @@ export default class Client extends OpenApi {
56369
56498
  }
56370
56499
 
56371
56500
  /**
56372
- * 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.
56373
- * When you call this operation, take note of the following items:
56374
- * * You can create a maximum of 100 automatic snapshot policies within each region for a single Alibaba Cloud account.
56375
- * * 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.
56501
+ * 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.
56502
+ * Take note of the following items:
56503
+ * * You can create a maximum of 100 automatic snapshot policies per region for a single Alibaba Cloud account.
56504
+ * * 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.
56376
56505
  * * For information about how to copy a snapshot from one region to another, see the "Background information" section in [Copy a snapshot](~~159441~~).
56377
56506
  *
56378
56507
  * @param request CreateAutoSnapshotPolicyRequest
@@ -56500,19 +56629,7 @@ export default class Client extends OpenApi {
56500
56629
  }
56501
56630
 
56502
56631
  /**
56503
- * * You can create commands of the following types:
56504
- * * RunBatScript: batch commands. These commands are applicable to Windows instances.
56505
- * * RunPowerShellScript: PowerShell commands. These commands are applicable to Windows instances.
56506
- * * RunShellScript: shell commands. These commands are applicable to Linux instances.
56507
- * * 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~~).
56508
- * * When the one-time execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
56509
- * * For a scheduled task, take note of the following items:
56510
- * * The timeout period takes effect on each execution of the command.
56511
- * * When a scheduled execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
56512
- * * The timeout of one execution does not affect the subsequent executions of the command.
56513
- * * You can retain up to 500 to 10,000 Cloud Assistant commands in each region.
56514
- * * 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`.
56515
- * * 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.
56632
+ * 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.
56516
56633
  *
56517
56634
  * @param request CreateCommandRequest
56518
56635
  * @param runtime runtime options for this request RuntimeOptions
@@ -56599,19 +56716,7 @@ export default class Client extends OpenApi {
56599
56716
  }
56600
56717
 
56601
56718
  /**
56602
- * * You can create commands of the following types:
56603
- * * RunBatScript: batch commands. These commands are applicable to Windows instances.
56604
- * * RunPowerShellScript: PowerShell commands. These commands are applicable to Windows instances.
56605
- * * RunShellScript: shell commands. These commands are applicable to Linux instances.
56606
- * * 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~~).
56607
- * * When the one-time execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
56608
- * * For a scheduled task, take note of the following items:
56609
- * * The timeout period takes effect on each execution of the command.
56610
- * * When a scheduled execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
56611
- * * The timeout of one execution does not affect the subsequent executions of the command.
56612
- * * You can retain up to 500 to 10,000 Cloud Assistant commands in each region.
56613
- * * 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`.
56614
- * * 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.
56719
+ * 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.
56615
56720
  *
56616
56721
  * @param request CreateCommandRequest
56617
56722
  * @return CreateCommandResponse
@@ -56964,12 +57069,12 @@ export default class Client extends OpenApi {
56964
57069
  }
56965
57070
 
56966
57071
  /**
56967
- * * 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~~).
57072
+ * * 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~~).
56968
57073
  * * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
56969
57074
  * * 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~~).
56970
- * * 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.
56971
- * * 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.
56972
- * * 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.
57075
+ * * 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.
57076
+ * * 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.
57077
+ * * 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.
56973
57078
  *
56974
57079
  * @param request CreateDiskRequest
56975
57080
  * @param runtime runtime options for this request RuntimeOptions
@@ -57104,12 +57209,12 @@ export default class Client extends OpenApi {
57104
57209
  }
57105
57210
 
57106
57211
  /**
57107
- * * 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~~).
57212
+ * * 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~~).
57108
57213
  * * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
57109
57214
  * * 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~~).
57110
- * * 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.
57111
- * * 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.
57112
- * * 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.
57215
+ * * 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.
57216
+ * * 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.
57217
+ * * 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.
57113
57218
  *
57114
57219
  * @param request CreateDiskRequest
57115
57220
  * @return CreateDiskResponse
@@ -57120,7 +57225,7 @@ export default class Client extends OpenApi {
57120
57225
  }
57121
57226
 
57122
57227
  /**
57123
- * 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~~).
57228
+ * 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~~).
57124
57229
  * * Elasticity assurances are not refundable after purchase.
57125
57230
  * * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
57126
57231
  * * 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.
@@ -57222,7 +57327,7 @@ export default class Client extends OpenApi {
57222
57327
  }
57223
57328
 
57224
57329
  /**
57225
- * 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~~).
57330
+ * 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~~).
57226
57331
  * * Elasticity assurances are not refundable after purchase.
57227
57332
  * * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
57228
57333
  * * 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.
@@ -57592,6 +57697,18 @@ export default class Client extends OpenApi {
57592
57697
  return await this.createImageWithOptions(request, runtime);
57593
57698
  }
57594
57699
 
57700
+ /**
57701
+ * Take note of the following items:
57702
+ * * Only custom image components can be created.
57703
+ * * The images must run Linux operating systems. This indicates that you must set `SystemType` to Linux.
57704
+ * * You must set the image component type to image build component by setting the `ComponentType` parameter to Build.
57705
+ * * 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~~).
57706
+ * 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~~).
57707
+ *
57708
+ * @param request CreateImageComponentRequest
57709
+ * @param runtime runtime options for this request RuntimeOptions
57710
+ * @return CreateImageComponentResponse
57711
+ */
57595
57712
  async createImageComponentWithOptions(request: CreateImageComponentRequest, runtime: $Util.RuntimeOptions): Promise<CreateImageComponentResponse> {
57596
57713
  Util.validateModel(request);
57597
57714
  let query = { };
@@ -57672,6 +57789,17 @@ export default class Client extends OpenApi {
57672
57789
  return $tea.cast<CreateImageComponentResponse>(await this.callApi(params, req, runtime), new CreateImageComponentResponse({}));
57673
57790
  }
57674
57791
 
57792
+ /**
57793
+ * Take note of the following items:
57794
+ * * Only custom image components can be created.
57795
+ * * The images must run Linux operating systems. This indicates that you must set `SystemType` to Linux.
57796
+ * * You must set the image component type to image build component by setting the `ComponentType` parameter to Build.
57797
+ * * 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~~).
57798
+ * 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~~).
57799
+ *
57800
+ * @param request CreateImageComponentRequest
57801
+ * @return CreateImageComponentResponse
57802
+ */
57675
57803
  async createImageComponent(request: CreateImageComponentRequest): Promise<CreateImageComponentResponse> {
57676
57804
  let runtime = new $Util.RuntimeOptions({ });
57677
57805
  return await this.createImageComponentWithOptions(request, runtime);
@@ -58269,6 +58397,10 @@ export default class Client extends OpenApi {
58269
58397
  query["DataDisk"] = request.dataDisk;
58270
58398
  }
58271
58399
 
58400
+ if (!Util.isUnset(request.deletionProtection)) {
58401
+ query["DeletionProtection"] = request.deletionProtection;
58402
+ }
58403
+
58272
58404
  if (!Util.isUnset(request.deploymentSetId)) {
58273
58405
  query["DeploymentSetId"] = request.deploymentSetId;
58274
58406
  }
@@ -58497,6 +58629,10 @@ export default class Client extends OpenApi {
58497
58629
  query["DataDisk"] = request.dataDisk;
58498
58630
  }
58499
58631
 
58632
+ if (!Util.isUnset(request.deletionProtection)) {
58633
+ query["DeletionProtection"] = request.deletionProtection;
58634
+ }
58635
+
58500
58636
  if (!Util.isUnset(request.deploymentSetId)) {
58501
58637
  query["DeploymentSetId"] = request.deploymentSetId;
58502
58638
  }
@@ -58778,11 +58914,12 @@ export default class Client extends OpenApi {
58778
58914
  }
58779
58915
 
58780
58916
  /**
58781
- * When you call this operation, take note of the following items:
58782
- * * 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.
58783
- * * If the NetworkInterfaceId parameter is empty in the response, it indicates that no ENI is created. Call the operation again to create an ENI.
58917
+ * ## Usage notes
58918
+ * Take note of the following items:
58919
+ * * 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.
58920
+ * * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
58784
58921
  * * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
58785
- * * 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.
58922
+ * * 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.
58786
58923
  * * 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~~)
58787
58924
  * * 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~~).
58788
58925
  * **For information about examples on how to call this operation, see **[Create an ENI](~~471552~~).
@@ -58928,11 +59065,12 @@ export default class Client extends OpenApi {
58928
59065
  }
58929
59066
 
58930
59067
  /**
58931
- * When you call this operation, take note of the following items:
58932
- * * 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.
58933
- * * If the NetworkInterfaceId parameter is empty in the response, it indicates that no ENI is created. Call the operation again to create an ENI.
59068
+ * ## Usage notes
59069
+ * Take note of the following items:
59070
+ * * 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.
59071
+ * * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
58934
59072
  * * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
58935
- * * 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.
59073
+ * * 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.
58936
59074
  * * 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~~)
58937
59075
  * * 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~~).
58938
59076
  * **For information about examples on how to call this operation, see **[Create an ENI](~~471552~~).
@@ -59438,7 +59576,7 @@ export default class Client extends OpenApi {
59438
59576
 
59439
59577
  /**
59440
59578
  * When you call this operation, take note of the following items:
59441
- * * You can create up to 100 security groups within a single Alibaba Cloud region.
59579
+ * * You can create up to 100 security groups in a single Alibaba Cloud region.
59442
59580
  * * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
59443
59581
  *
59444
59582
  * @param request CreateSecurityGroupRequest
@@ -59519,7 +59657,7 @@ export default class Client extends OpenApi {
59519
59657
 
59520
59658
  /**
59521
59659
  * When you call this operation, take note of the following items:
59522
- * * You can create up to 100 security groups within a single Alibaba Cloud region.
59660
+ * * You can create up to 100 security groups in a single Alibaba Cloud region.
59523
59661
  * * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
59524
59662
  *
59525
59663
  * @param request CreateSecurityGroupRequest
@@ -59532,7 +59670,7 @@ export default class Client extends OpenApi {
59532
59670
 
59533
59671
  /**
59534
59672
  * You can use the ECS console, call [ECS API](~~63962~~) operations, or use CloudMonitor to view the scheduled simulated system events.
59535
- * A simulated system event can transition between the following lifecycle states:
59673
+ * The following descriptions provide the lifecycle of a simulated system event:
59536
59674
  * * Scheduled: The state of the simulated system event is automatically changed to Scheduled after it is scheduled.
59537
59675
  * * 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.
59538
59676
  * * Canceled: The state of the simulated system event is changed to Canceled if you cancel the event by calling the [CancelSimulatedSystemEvents](~~88808~~) operation.
@@ -59600,7 +59738,7 @@ export default class Client extends OpenApi {
59600
59738
 
59601
59739
  /**
59602
59740
  * You can use the ECS console, call [ECS API](~~63962~~) operations, or use CloudMonitor to view the scheduled simulated system events.
59603
- * A simulated system event can transition between the following lifecycle states:
59741
+ * The following descriptions provide the lifecycle of a simulated system event:
59604
59742
  * * Scheduled: The state of the simulated system event is automatically changed to Scheduled after it is scheduled.
59605
59743
  * * 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.
59606
59744
  * * Canceled: The state of the simulated system event is changed to Canceled if you cancel the event by calling the [CancelSimulatedSystemEvents](~~88808~~) operation.
@@ -59615,21 +59753,7 @@ export default class Client extends OpenApi {
59615
59753
  }
59616
59754
 
59617
59755
  /**
59618
- * The local snapshot feature is replaced by the instant access feature. Parameter description:
59619
- * * 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:
59620
- * * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
59621
- * * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
59622
- * * 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.
59623
- * You cannot create snapshots for a disk in the following scenarios:
59624
- * * The number of manual snapshots of the disk has reached 256.
59625
- * * A snapshot is being created for the disk.
59626
- * * The instance to which the disk is attached has never been started.
59627
- * * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
59628
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
59629
- * When you create a snapshot, take note of the following items:
59630
- * * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
59631
- * * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
59632
- * * 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.``
59756
+ * The request ID.
59633
59757
  *
59634
59758
  * @param request CreateSnapshotRequest
59635
59759
  * @param runtime runtime options for this request RuntimeOptions
@@ -59716,21 +59840,7 @@ export default class Client extends OpenApi {
59716
59840
  }
59717
59841
 
59718
59842
  /**
59719
- * The local snapshot feature is replaced by the instant access feature. Parameter description:
59720
- * * 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:
59721
- * * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
59722
- * * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
59723
- * * 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.
59724
- * You cannot create snapshots for a disk in the following scenarios:
59725
- * * The number of manual snapshots of the disk has reached 256.
59726
- * * A snapshot is being created for the disk.
59727
- * * The instance to which the disk is attached has never been started.
59728
- * * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
59729
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
59730
- * When you create a snapshot, take note of the following items:
59731
- * * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
59732
- * * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
59733
- * * 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.``
59843
+ * The request ID.
59734
59844
  *
59735
59845
  * @param request CreateSnapshotRequest
59736
59846
  * @return CreateSnapshotResponse
@@ -60275,8 +60385,7 @@ export default class Client extends OpenApi {
60275
60385
  }
60276
60386
 
60277
60387
  /**
60278
- * ## Description
60279
- * Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
60388
+ * $.parameters[4].schema.description
60280
60389
  *
60281
60390
  * @param request DeleteActivationRequest
60282
60391
  * @param runtime runtime options for this request RuntimeOptions
@@ -60331,8 +60440,7 @@ export default class Client extends OpenApi {
60331
60440
  }
60332
60441
 
60333
60442
  /**
60334
- * ## Description
60335
- * Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
60443
+ * $.parameters[4].schema.description
60336
60444
  *
60337
60445
  * @param request DeleteActivationRequest
60338
60446
  * @return DeleteActivationResponse
@@ -61331,14 +61439,14 @@ export default class Client extends OpenApi {
61331
61439
  }
61332
61440
 
61333
61441
  /**
61334
- * * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
61442
+ * * 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.
61335
61443
  * * Disks attached to the instance:
61336
- * * If `DeleteWithInstance` is set to false for disks that are attached to the instance, the disks are retained as pay-as-you-go disks.
61337
- * * If `DeleteWithInstance` is set to true for disks that are attached to the instance, the disks are released along with the instance.
61338
- * * If `DeleteAutoSnapshot` is set to false for disks that are attached to the instance, the automatic snapshots of the disks are retained.
61339
- * * If `DeleteAutoSnapshot` is set to true for disks that are attached to the instance, the automatic snapshots of the disks are released.
61444
+ * * The disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks.
61445
+ * * The disks for which `DeleteWithInstance` is set to true are released together with the instance.
61446
+ * * For disks for which `DeleteAutoSnapshot` is set to false, the automatic snapshots of the disks are retained.
61447
+ * * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
61340
61448
  * * Manual snapshots of the disks are retained.
61341
- * * 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~~).
61449
+ * * 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.
61342
61450
  *
61343
61451
  * @param request DeleteInstancesRequest
61344
61452
  * @param runtime runtime options for this request RuntimeOptions
@@ -61405,14 +61513,14 @@ export default class Client extends OpenApi {
61405
61513
  }
61406
61514
 
61407
61515
  /**
61408
- * * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
61516
+ * * 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.
61409
61517
  * * Disks attached to the instance:
61410
- * * If `DeleteWithInstance` is set to false for disks that are attached to the instance, the disks are retained as pay-as-you-go disks.
61411
- * * If `DeleteWithInstance` is set to true for disks that are attached to the instance, the disks are released along with the instance.
61412
- * * If `DeleteAutoSnapshot` is set to false for disks that are attached to the instance, the automatic snapshots of the disks are retained.
61413
- * * If `DeleteAutoSnapshot` is set to true for disks that are attached to the instance, the automatic snapshots of the disks are released.
61518
+ * * The disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks.
61519
+ * * The disks for which `DeleteWithInstance` is set to true are released together with the instance.
61520
+ * * For disks for which `DeleteAutoSnapshot` is set to false, the automatic snapshots of the disks are retained.
61521
+ * * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
61414
61522
  * * Manual snapshots of the disks are retained.
61415
- * * 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~~).
61523
+ * * 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.
61416
61524
  *
61417
61525
  * @param request DeleteInstancesRequest
61418
61526
  * @return DeleteInstancesResponse
@@ -61659,19 +61767,15 @@ export default class Client extends OpenApi {
61659
61767
  }
61660
61768
 
61661
61769
  /**
61662
- * ## Description
61770
+ * ##
61663
61771
  * * The ENI must be in the Available state.
61664
- * * 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.
61665
- * * After an ENI is deleted:
61666
- * * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
61772
+ * * 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.
61773
+ * * After an ENI is deleted, the following situations occur:
61774
+ * * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
61667
61775
  * * The ENI is automatically removed from its security groups.
61668
61776
  * * 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.
61669
- *
61670
- * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/en-US/20230223/krcd/DeleteNetworkInterface.png)
61671
- * * If the ENI is in the Deleting state, the ENI deletion request is sent and the ENI is being deleted.
61672
- * * If the ENI is not found, the ENI is deleted.
61673
- * * 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.
61674
- * For information about examples on how to call this operation, see [Delete an ENI](~~471553~~).
61777
+ * ![](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.
61778
+ * **For information about examples on how to call this operation, see **[Delete an ENI](~~471553~~).
61675
61779
  *
61676
61780
  * @param request DeleteNetworkInterfaceRequest
61677
61781
  * @param runtime runtime options for this request RuntimeOptions
@@ -61726,19 +61830,15 @@ export default class Client extends OpenApi {
61726
61830
  }
61727
61831
 
61728
61832
  /**
61729
- * ## Description
61833
+ * ##
61730
61834
  * * The ENI must be in the Available state.
61731
- * * 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.
61732
- * * After an ENI is deleted:
61733
- * * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
61835
+ * * 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.
61836
+ * * After an ENI is deleted, the following situations occur:
61837
+ * * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
61734
61838
  * * The ENI is automatically removed from its security groups.
61735
61839
  * * 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.
61736
- *
61737
- * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/en-US/20230223/krcd/DeleteNetworkInterface.png)
61738
- * * If the ENI is in the Deleting state, the ENI deletion request is sent and the ENI is being deleted.
61739
- * * If the ENI is not found, the ENI is deleted.
61740
- * * 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.
61741
- * For information about examples on how to call this operation, see [Delete an ENI](~~471553~~).
61840
+ * ![](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.
61841
+ * **For information about examples on how to call this operation, see **[Delete an ENI](~~471553~~).
61742
61842
  *
61743
61843
  * @param request DeleteNetworkInterfaceRequest
61744
61844
  * @return DeleteNetworkInterfaceResponse
@@ -62102,6 +62202,13 @@ export default class Client extends OpenApi {
62102
62202
  return await this.deleteRouterInterfaceWithOptions(request, runtime);
62103
62203
  }
62104
62204
 
62205
+ /**
62206
+ * 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.
62207
+ *
62208
+ * @param request DeleteSecurityGroupRequest
62209
+ * @param runtime runtime options for this request RuntimeOptions
62210
+ * @return DeleteSecurityGroupResponse
62211
+ */
62105
62212
  async deleteSecurityGroupWithOptions(request: DeleteSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSecurityGroupResponse> {
62106
62213
  Util.validateModel(request);
62107
62214
  let query = { };
@@ -62146,6 +62253,12 @@ export default class Client extends OpenApi {
62146
62253
  return $tea.cast<DeleteSecurityGroupResponse>(await this.callApi(params, req, runtime), new DeleteSecurityGroupResponse({}));
62147
62254
  }
62148
62255
 
62256
+ /**
62257
+ * 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.
62258
+ *
62259
+ * @param request DeleteSecurityGroupRequest
62260
+ * @return DeleteSecurityGroupResponse
62261
+ */
62149
62262
  async deleteSecurityGroup(request: DeleteSecurityGroupRequest): Promise<DeleteSecurityGroupResponse> {
62150
62263
  let runtime = new $Util.RuntimeOptions({ });
62151
62264
  return await this.deleteSecurityGroupWithOptions(request, runtime);
@@ -63464,10 +63577,10 @@ export default class Client extends OpenApi {
63464
63577
  }
63465
63578
 
63466
63579
  /**
63467
- * When you call this operation, take note of the following items:
63580
+ * Take note of the following items:
63468
63581
  * * This operation applies only to instances that reside in the classic network.
63469
- * * You can query up to 100 instances that reside in the classic network at a time.
63470
- * * At least the `VpcId` or `InstanceId` parameter is specified.
63582
+ * * You can query a maximum of 100 instances that reside in the classic network at a time.
63583
+ * * At least one of the `VpcId` and `InstanceId` parameters must be configured.
63471
63584
  *
63472
63585
  * @param request DescribeClassicLinkInstancesRequest
63473
63586
  * @param runtime runtime options for this request RuntimeOptions
@@ -63526,10 +63639,10 @@ export default class Client extends OpenApi {
63526
63639
  }
63527
63640
 
63528
63641
  /**
63529
- * When you call this operation, take note of the following items:
63642
+ * Take note of the following items:
63530
63643
  * * This operation applies only to instances that reside in the classic network.
63531
- * * You can query up to 100 instances that reside in the classic network at a time.
63532
- * * At least the `VpcId` or `InstanceId` parameter is specified.
63644
+ * * You can query a maximum of 100 instances that reside in the classic network at a time.
63645
+ * * At least one of the `VpcId` and `InstanceId` parameters must be configured.
63533
63646
  *
63534
63647
  * @param request DescribeClassicLinkInstancesRequest
63535
63648
  * @return DescribeClassicLinkInstancesResponse
@@ -63665,7 +63778,7 @@ export default class Client extends OpenApi {
63665
63778
  }
63666
63779
 
63667
63780
  /**
63668
- * The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
63781
+ * 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.
63669
63782
  *
63670
63783
  * @param request DescribeCommandsRequest
63671
63784
  * @param runtime runtime options for this request RuntimeOptions
@@ -63756,7 +63869,7 @@ export default class Client extends OpenApi {
63756
63869
  }
63757
63870
 
63758
63871
  /**
63759
- * The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
63872
+ * 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.
63760
63873
  *
63761
63874
  * @param request DescribeCommandsRequest
63762
63875
  * @return DescribeCommandsResponse
@@ -63963,9 +64076,10 @@ export default class Client extends OpenApi {
63963
64076
  }
63964
64077
 
63965
64078
  /**
63966
- * You can use one of the following methods to query the details of one or more dedicated hosts:
63967
- * * Specify the `DedicatedHostIds` parameter to query the details of specific dedicated hosts.
63968
- * * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a specific dedicated host cluster.
64079
+ * ## Usage notes
64080
+ * You can use one of the following methods to query the details of dedicated hosts:
64081
+ * * Specify `DedicatedHostIds` to query the details of dedicated hosts.
64082
+ * * Specify `DedicatedHostClusterId` to query the details of the dedicated hosts in a dedicated host cluster.
63969
64083
  *
63970
64084
  * @param request DescribeDedicatedHostsRequest
63971
64085
  * @param runtime runtime options for this request RuntimeOptions
@@ -64060,9 +64174,10 @@ export default class Client extends OpenApi {
64060
64174
  }
64061
64175
 
64062
64176
  /**
64063
- * You can use one of the following methods to query the details of one or more dedicated hosts:
64064
- * * Specify the `DedicatedHostIds` parameter to query the details of specific dedicated hosts.
64065
- * * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a specific dedicated host cluster.
64177
+ * ## Usage notes
64178
+ * You can use one of the following methods to query the details of dedicated hosts:
64179
+ * * Specify `DedicatedHostIds` to query the details of dedicated hosts.
64180
+ * * Specify `DedicatedHostClusterId` to query the details of the dedicated hosts in a dedicated host cluster.
64066
64181
  *
64067
64182
  * @param request DescribeDedicatedHostsRequest
64068
64183
  * @return DescribeDedicatedHostsResponse
@@ -64073,7 +64188,9 @@ export default class Client extends OpenApi {
64073
64188
  }
64074
64189
 
64075
64190
  /**
64076
- * 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.
64191
+ * 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.
64192
+ * By default, the filing tickets of I/O optimized VPC-type instances are queried.
64193
+ * For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
64077
64194
  *
64078
64195
  * @param request DescribeDemandsRequest
64079
64196
  * @param runtime runtime options for this request RuntimeOptions
@@ -64168,7 +64285,9 @@ export default class Client extends OpenApi {
64168
64285
  }
64169
64286
 
64170
64287
  /**
64171
- * 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.
64288
+ * 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.
64289
+ * By default, the filing tickets of I/O optimized VPC-type instances are queried.
64290
+ * For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
64172
64291
  *
64173
64292
  * @param request DescribeDemandsRequest
64174
64293
  * @return DescribeDemandsResponse
@@ -64179,7 +64298,8 @@ export default class Client extends OpenApi {
64179
64298
  }
64180
64299
 
64181
64300
  /**
64182
- * For more information about instance families, see [Instance families](~~25378~~).
64301
+ * ## Usage notes
64302
+ * For more information about instance families, see [Overview of instance families](~~25378~~).
64183
64303
  *
64184
64304
  * @param request DescribeDeploymentSetSupportedInstanceTypeFamilyRequest
64185
64305
  * @param runtime runtime options for this request RuntimeOptions
@@ -64230,7 +64350,8 @@ export default class Client extends OpenApi {
64230
64350
  }
64231
64351
 
64232
64352
  /**
64233
- * For more information about instance families, see [Instance families](~~25378~~).
64353
+ * ## Usage notes
64354
+ * For more information about instance families, see [Overview of instance families](~~25378~~).
64234
64355
  *
64235
64356
  * @param request DescribeDeploymentSetSupportedInstanceTypeFamilyRequest
64236
64357
  * @return DescribeDeploymentSetSupportedInstanceTypeFamilyResponse
@@ -64768,7 +64889,7 @@ export default class Client extends OpenApi {
64768
64889
  }
64769
64890
 
64770
64891
  /**
64771
- * * 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.
64892
+ * * 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.
64772
64893
  * * 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.
64773
64894
  *
64774
64895
  * @param request DescribeDisksFullStatusRequest
@@ -64860,7 +64981,7 @@ export default class Client extends OpenApi {
64860
64981
  }
64861
64982
 
64862
64983
  /**
64863
- * * 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.
64984
+ * * 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.
64864
64985
  * * 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.
64865
64986
  *
64866
64987
  * @param request DescribeDisksFullStatusRequest
@@ -65207,10 +65328,9 @@ export default class Client extends OpenApi {
65207
65328
  }
65208
65329
 
65209
65330
  /**
65210
- * ## Description
65211
- * 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:
65212
- * * 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.
65213
- * * 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.
65331
+ * 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:
65332
+ * * 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.
65333
+ * * 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.
65214
65334
  *
65215
65335
  * @param request DescribeEniMonitorDataRequest
65216
65336
  * @param runtime runtime options for this request RuntimeOptions
@@ -65277,10 +65397,9 @@ export default class Client extends OpenApi {
65277
65397
  }
65278
65398
 
65279
65399
  /**
65280
- * ## Description
65281
- * 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:
65282
- * * 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.
65283
- * * 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.
65400
+ * 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:
65401
+ * * 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.
65402
+ * * 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.
65284
65403
  *
65285
65404
  * @param request DescribeEniMonitorDataRequest
65286
65405
  * @return DescribeEniMonitorDataResponse
@@ -65666,7 +65785,7 @@ export default class Client extends OpenApi {
65666
65785
  /**
65667
65786
  * * 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.
65668
65787
  * * You must specify `ImagePipelineId` or `ExecutionId`.
65669
- * * 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.
65788
+ * * 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.
65670
65789
  *
65671
65790
  * @param request DescribeImagePipelineExecutionsRequest
65672
65791
  * @param runtime runtime options for this request RuntimeOptions
@@ -65743,7 +65862,7 @@ export default class Client extends OpenApi {
65743
65862
  /**
65744
65863
  * * 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.
65745
65864
  * * You must specify `ImagePipelineId` or `ExecutionId`.
65746
- * * 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.
65865
+ * * 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.
65747
65866
  *
65748
65867
  * @param request DescribeImagePipelineExecutionsRequest
65749
65868
  * @return DescribeImagePipelineExecutionsResponse
@@ -65754,6 +65873,7 @@ export default class Client extends OpenApi {
65754
65873
  }
65755
65874
 
65756
65875
  /**
65876
+ * ## Description
65757
65877
  * 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.
65758
65878
  *
65759
65879
  * @param request DescribeImagePipelinesRequest
@@ -65833,6 +65953,7 @@ export default class Client extends OpenApi {
65833
65953
  }
65834
65954
 
65835
65955
  /**
65956
+ * ## Description
65836
65957
  * 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.
65837
65958
  *
65838
65959
  * @param request DescribeImagePipelinesRequest
@@ -66297,8 +66418,8 @@ export default class Client extends OpenApi {
66297
66418
  }
66298
66419
 
66299
66420
  /**
66300
- * * You can query system events that were finished within the last 30 days. The time range for querying unfinished system events is unlimited.
66301
- * * You can also specify the InstanceEventCycleStatus.N parameter to filter the system events in the Scheduled, Executing, or Inquiring state.
66421
+ * * 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.
66422
+ * * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
66302
66423
  *
66303
66424
  * @param request DescribeInstanceHistoryEventsRequest
66304
66425
  * @param runtime runtime options for this request RuntimeOptions
@@ -66409,8 +66530,8 @@ export default class Client extends OpenApi {
66409
66530
  }
66410
66531
 
66411
66532
  /**
66412
- * * You can query system events that were finished within the last 30 days. The time range for querying unfinished system events is unlimited.
66413
- * * You can also specify the InstanceEventCycleStatus.N parameter to filter the system events in the Scheduled, Executing, or Inquiring state.
66533
+ * * 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.
66534
+ * * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
66414
66535
  *
66415
66536
  * @param request DescribeInstanceHistoryEventsRequest
66416
66537
  * @return DescribeInstanceHistoryEventsResponse
@@ -66423,7 +66544,7 @@ export default class Client extends OpenApi {
66423
66544
  /**
66424
66545
  * This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
66425
66546
  * * Maintenance window: the time period that you specify for maintenance.
66426
- * * Maintenance action: the policy that you specify in response to instance shutdown.
66547
+ * * Maintenance action: the action that you specify in response to instance shutdown.
66427
66548
  *
66428
66549
  * @param request DescribeInstanceMaintenanceAttributesRequest
66429
66550
  * @param runtime runtime options for this request RuntimeOptions
@@ -66484,7 +66605,7 @@ export default class Client extends OpenApi {
66484
66605
  /**
66485
66606
  * This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
66486
66607
  * * Maintenance window: the time period that you specify for maintenance.
66487
- * * Maintenance action: the policy that you specify in response to instance shutdown.
66608
+ * * Maintenance action: the action that you specify in response to instance shutdown.
66488
66609
  *
66489
66610
  * @param request DescribeInstanceMaintenanceAttributesRequest
66490
66611
  * @return DescribeInstanceMaintenanceAttributesResponse
@@ -66495,7 +66616,9 @@ export default class Client extends OpenApi {
66495
66616
  }
66496
66617
 
66497
66618
  /**
66498
- * The price.
66619
+ * * 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.
66620
+ * * 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.
66621
+ * * 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.
66499
66622
  *
66500
66623
  * @param request DescribeInstanceModificationPriceRequest
66501
66624
  * @param runtime runtime options for this request RuntimeOptions
@@ -66558,7 +66681,9 @@ export default class Client extends OpenApi {
66558
66681
  }
66559
66682
 
66560
66683
  /**
66561
- * The price.
66684
+ * * 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.
66685
+ * * 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.
66686
+ * * 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.
66562
66687
  *
66563
66688
  * @param request DescribeInstanceModificationPriceRequest
66564
66689
  * @return DescribeInstanceModificationPriceResponse
@@ -66569,7 +66694,7 @@ export default class Client extends OpenApi {
66569
66694
  }
66570
66695
 
66571
66696
  /**
66572
- * When you call this operation, take note of the following items:
66697
+ * Take note of the following items:
66573
66698
  * * 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`.
66574
66699
  * * 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.
66575
66700
  * * 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.
@@ -66631,7 +66756,7 @@ export default class Client extends OpenApi {
66631
66756
  }
66632
66757
 
66633
66758
  /**
66634
- * When you call this operation, take note of the following items:
66759
+ * Take note of the following items:
66635
66760
  * * 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`.
66636
66761
  * * 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.
66637
66762
  * * 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.
@@ -66644,6 +66769,14 @@ export default class Client extends OpenApi {
66644
66769
  return await this.describeInstanceMonitorDataWithOptions(request, runtime);
66645
66770
  }
66646
66771
 
66772
+ /**
66773
+ * ## Description
66774
+ * 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~~).
66775
+ *
66776
+ * @param request DescribeInstanceRamRoleRequest
66777
+ * @param runtime runtime options for this request RuntimeOptions
66778
+ * @return DescribeInstanceRamRoleResponse
66779
+ */
66647
66780
  async describeInstanceRamRoleWithOptions(request: DescribeInstanceRamRoleRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceRamRoleResponse> {
66648
66781
  Util.validateModel(request);
66649
66782
  let query = { };
@@ -66696,6 +66829,13 @@ export default class Client extends OpenApi {
66696
66829
  return $tea.cast<DescribeInstanceRamRoleResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRamRoleResponse({}));
66697
66830
  }
66698
66831
 
66832
+ /**
66833
+ * ## Description
66834
+ * 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~~).
66835
+ *
66836
+ * @param request DescribeInstanceRamRoleRequest
66837
+ * @return DescribeInstanceRamRoleResponse
66838
+ */
66699
66839
  async describeInstanceRamRole(request: DescribeInstanceRamRoleRequest): Promise<DescribeInstanceRamRoleResponse> {
66700
66840
  let runtime = new $Util.RuntimeOptions({ });
66701
66841
  return await this.describeInstanceRamRoleWithOptions(request, runtime);
@@ -67164,6 +67304,32 @@ export default class Client extends OpenApi {
67164
67304
  return await this.describeInstanceVncPasswdWithOptions(request, runtime);
67165
67305
  }
67166
67306
 
67307
+ /**
67308
+ * ## Description
67309
+ * When you call this operation, take note of the following items:
67310
+ * * 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.
67311
+ * * 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.
67312
+ * * When you disconnect from the VNC management terminal, you can reconnect to the VNC management terminal up to 30 times a minute.
67313
+ * * 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 (`&`).
67314
+ * * `vncUrl:` the `VncUrl` value returned after a successful query.
67315
+ * * `instanceId:` the ID of your instance.
67316
+ * * `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.
67317
+ * * `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.
67318
+ * Example:
67319
+ * ```
67320
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
67321
+ *
67322
+ * ```
67323
+ * Or:
67324
+ * ```
67325
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true&password=****
67326
+ *
67327
+ * ```
67328
+ *
67329
+ * @param request DescribeInstanceVncUrlRequest
67330
+ * @param runtime runtime options for this request RuntimeOptions
67331
+ * @return DescribeInstanceVncUrlResponse
67332
+ */
67167
67333
  async describeInstanceVncUrlWithOptions(request: DescribeInstanceVncUrlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceVncUrlResponse> {
67168
67334
  Util.validateModel(request);
67169
67335
  let query = { };
@@ -67208,6 +67374,31 @@ export default class Client extends OpenApi {
67208
67374
  return $tea.cast<DescribeInstanceVncUrlResponse>(await this.callApi(params, req, runtime), new DescribeInstanceVncUrlResponse({}));
67209
67375
  }
67210
67376
 
67377
+ /**
67378
+ * ## Description
67379
+ * When you call this operation, take note of the following items:
67380
+ * * 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.
67381
+ * * 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.
67382
+ * * When you disconnect from the VNC management terminal, you can reconnect to the VNC management terminal up to 30 times a minute.
67383
+ * * 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 (`&`).
67384
+ * * `vncUrl:` the `VncUrl` value returned after a successful query.
67385
+ * * `instanceId:` the ID of your instance.
67386
+ * * `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.
67387
+ * * `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.
67388
+ * Example:
67389
+ * ```
67390
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
67391
+ *
67392
+ * ```
67393
+ * Or:
67394
+ * ```
67395
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true&password=****
67396
+ *
67397
+ * ```
67398
+ *
67399
+ * @param request DescribeInstanceVncUrlRequest
67400
+ * @return DescribeInstanceVncUrlResponse
67401
+ */
67211
67402
  async describeInstanceVncUrl(request: DescribeInstanceVncUrlRequest): Promise<DescribeInstanceVncUrlResponse> {
67212
67403
  let runtime = new $Util.RuntimeOptions({ });
67213
67404
  return await this.describeInstanceVncUrlWithOptions(request, runtime);
@@ -67536,7 +67727,9 @@ export default class Client extends OpenApi {
67536
67727
  }
67537
67728
 
67538
67729
  /**
67539
- * The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
67730
+ * The number of times that the command is run on the instance.
67731
+ * * If the command is set to run only once on the instance, the value is 0 or 1.
67732
+ * * 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.
67540
67733
  *
67541
67734
  * @param request DescribeInvocationResultsRequest
67542
67735
  * @param runtime runtime options for this request RuntimeOptions
@@ -67627,7 +67820,9 @@ export default class Client extends OpenApi {
67627
67820
  }
67628
67821
 
67629
67822
  /**
67630
- * The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
67823
+ * The number of times that the command is run on the instance.
67824
+ * * If the command is set to run only once on the instance, the value is 0 or 1.
67825
+ * * 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.
67631
67826
  *
67632
67827
  * @param request DescribeInvocationResultsRequest
67633
67828
  * @return DescribeInvocationResultsResponse
@@ -67822,6 +68017,14 @@ export default class Client extends OpenApi {
67822
68017
  return await this.describeKeyPairsWithOptions(request, runtime);
67823
68018
  }
67824
68019
 
68020
+ /**
68021
+ * ## Debugging
68022
+ * [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)
68023
+ *
68024
+ * @param request DescribeLaunchTemplateVersionsRequest
68025
+ * @param runtime runtime options for this request RuntimeOptions
68026
+ * @return DescribeLaunchTemplateVersionsResponse
68027
+ */
67825
68028
  async describeLaunchTemplateVersionsWithOptions(request: DescribeLaunchTemplateVersionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLaunchTemplateVersionsResponse> {
67826
68029
  Util.validateModel(request);
67827
68030
  let query = { };
@@ -67898,6 +68101,13 @@ export default class Client extends OpenApi {
67898
68101
  return $tea.cast<DescribeLaunchTemplateVersionsResponse>(await this.callApi(params, req, runtime), new DescribeLaunchTemplateVersionsResponse({}));
67899
68102
  }
67900
68103
 
68104
+ /**
68105
+ * ## Debugging
68106
+ * [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)
68107
+ *
68108
+ * @param request DescribeLaunchTemplateVersionsRequest
68109
+ * @return DescribeLaunchTemplateVersionsResponse
68110
+ */
67901
68111
  async describeLaunchTemplateVersions(request: DescribeLaunchTemplateVersionsRequest): Promise<DescribeLaunchTemplateVersionsResponse> {
67902
68112
  let runtime = new $Util.RuntimeOptions({ });
67903
68113
  return await this.describeLaunchTemplateVersionsWithOptions(request, runtime);
@@ -69449,6 +69659,14 @@ export default class Client extends OpenApi {
69449
69659
  return await this.describeResourceByTagsWithOptions(request, runtime);
69450
69660
  }
69451
69661
 
69662
+ /**
69663
+ * ## Debugging
69664
+ * [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)
69665
+ *
69666
+ * @param request DescribeResourcesModificationRequest
69667
+ * @param runtime runtime options for this request RuntimeOptions
69668
+ * @return DescribeResourcesModificationResponse
69669
+ */
69452
69670
  async describeResourcesModificationWithOptions(request: DescribeResourcesModificationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeResourcesModificationResponse> {
69453
69671
  Util.validateModel(request);
69454
69672
  let query = { };
@@ -69525,6 +69743,13 @@ export default class Client extends OpenApi {
69525
69743
  return $tea.cast<DescribeResourcesModificationResponse>(await this.callApi(params, req, runtime), new DescribeResourcesModificationResponse({}));
69526
69744
  }
69527
69745
 
69746
+ /**
69747
+ * ## Debugging
69748
+ * [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)
69749
+ *
69750
+ * @param request DescribeResourcesModificationRequest
69751
+ * @return DescribeResourcesModificationResponse
69752
+ */
69528
69753
  async describeResourcesModification(request: DescribeResourcesModificationRequest): Promise<DescribeResourcesModificationResponse> {
69529
69754
  let runtime = new $Util.RuntimeOptions({ });
69530
69755
  return await this.describeResourcesModificationWithOptions(request, runtime);
@@ -69812,7 +70037,10 @@ export default class Client extends OpenApi {
69812
70037
  }
69813
70038
 
69814
70039
  /**
69815
- * The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
70040
+ * Take note of the following items:
70041
+ * * The basic information about security groups includes their IDs and descriptions. The response returns security groups ordered in descending order based on their IDs.
70042
+ * * 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.
70043
+ * * 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~~).
69816
70044
  *
69817
70045
  * @param request DescribeSecurityGroupsRequest
69818
70046
  * @param runtime runtime options for this request RuntimeOptions
@@ -69919,7 +70147,10 @@ export default class Client extends OpenApi {
69919
70147
  }
69920
70148
 
69921
70149
  /**
69922
- * The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
70150
+ * Take note of the following items:
70151
+ * * The basic information about security groups includes their IDs and descriptions. The response returns security groups ordered in descending order based on their IDs.
70152
+ * * 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.
70153
+ * * 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~~).
69923
70154
  *
69924
70155
  * @param request DescribeSecurityGroupsRequest
69925
70156
  * @return DescribeSecurityGroupsResponse
@@ -69931,8 +70162,8 @@ export default class Client extends OpenApi {
69931
70162
 
69932
70163
  /**
69933
70164
  * ## Usage notes
69934
- * * 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.
69935
- * * You can call this operation to query the records of files sent in the last six weeks.
70165
+ * * 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.
70166
+ * * You can call this operation to query the file sending records within the last six weeks.
69936
70167
  *
69937
70168
  * @param request DescribeSendFileResultsRequest
69938
70169
  * @param runtime runtime options for this request RuntimeOptions
@@ -70012,8 +70243,8 @@ export default class Client extends OpenApi {
70012
70243
 
70013
70244
  /**
70014
70245
  * ## Usage notes
70015
- * * 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.
70016
- * * You can call this operation to query the records of files sent in the last six weeks.
70246
+ * * 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.
70247
+ * * You can call this operation to query the file sending records within the last six weeks.
70017
70248
  *
70018
70249
  * @param request DescribeSendFileResultsRequest
70019
70250
  * @return DescribeSendFileResultsResponse
@@ -70202,7 +70433,7 @@ export default class Client extends OpenApi {
70202
70433
  /**
70203
70434
  * Take note of the following items:
70204
70435
  * * 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.
70205
- * * 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.
70436
+ * * 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.
70206
70437
  *
70207
70438
  * @param request DescribeSnapshotMonitorDataRequest
70208
70439
  * @param runtime runtime options for this request RuntimeOptions
@@ -70267,7 +70498,7 @@ export default class Client extends OpenApi {
70267
70498
  /**
70268
70499
  * Take note of the following items:
70269
70500
  * * 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.
70270
- * * 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.
70501
+ * * 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.
70271
70502
  *
70272
70503
  * @param request DescribeSnapshotMonitorDataRequest
70273
70504
  * @return DescribeSnapshotMonitorDataResponse
@@ -70331,8 +70562,7 @@ export default class Client extends OpenApi {
70331
70562
  }
70332
70563
 
70333
70564
  /**
70334
- * ## Usage notes
70335
- * 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.
70565
+ * 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.
70336
70566
  * 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~~).
70337
70567
  *
70338
70568
  * @param request DescribeSnapshotsRequest
@@ -70460,8 +70690,7 @@ export default class Client extends OpenApi {
70460
70690
  }
70461
70691
 
70462
70692
  /**
70463
- * ## Usage notes
70464
- * 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.
70693
+ * 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.
70465
70694
  * 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~~).
70466
70695
  *
70467
70696
  * @param request DescribeSnapshotsRequest
@@ -70535,15 +70764,15 @@ export default class Client extends OpenApi {
70535
70764
  }
70536
70765
 
70537
70766
  /**
70538
- * * 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:
70539
- * * Average release rate of preemptible instances.
70540
- * * The discount rate of the average preemptible instance price relative to the pay-as-you-go instance price.
70541
- * * Average preemptible instance price that is calculated based on the preceding percentage.
70542
- * * This operation is applicable only to I/O optimized preemptible instances that are located in virtual private clouds (VPCs).
70543
- * * You can use one of the following methods to specify instance types:
70544
- * * 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.
70545
- * * Set the `InstanceTypes.N parameter` to query information of the specified instance types.
70546
- * * 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.
70767
+ * * 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:
70768
+ * * Average release rate of preemptible instances
70769
+ * * Percentage of the average preemptible instance price relative to the pay-as-you-go instance price
70770
+ * * Average preemptible instance price that is calculated based on the preceding percentage
70771
+ * * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
70772
+ * * You can use one of the following methods to query information that is generated for preemptible instances in the last 30 days:
70773
+ * * Configure `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about an instance type that meets the specified vCPU and memory requirements.
70774
+ * * Configure the `InstanceTypes.N` parameter to query information about a specified instance type.
70775
+ * * 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.
70547
70776
  *
70548
70777
  * @param request DescribeSpotAdviceRequest
70549
70778
  * @param runtime runtime options for this request RuntimeOptions
@@ -70630,15 +70859,15 @@ export default class Client extends OpenApi {
70630
70859
  }
70631
70860
 
70632
70861
  /**
70633
- * * 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:
70634
- * * Average release rate of preemptible instances.
70635
- * * The discount rate of the average preemptible instance price relative to the pay-as-you-go instance price.
70636
- * * Average preemptible instance price that is calculated based on the preceding percentage.
70637
- * * This operation is applicable only to I/O optimized preemptible instances that are located in virtual private clouds (VPCs).
70638
- * * You can use one of the following methods to specify instance types:
70639
- * * 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.
70640
- * * Set the `InstanceTypes.N parameter` to query information of the specified instance types.
70641
- * * 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.
70862
+ * * 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:
70863
+ * * Average release rate of preemptible instances
70864
+ * * Percentage of the average preemptible instance price relative to the pay-as-you-go instance price
70865
+ * * Average preemptible instance price that is calculated based on the preceding percentage
70866
+ * * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
70867
+ * * You can use one of the following methods to query information that is generated for preemptible instances in the last 30 days:
70868
+ * * Configure `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about an instance type that meets the specified vCPU and memory requirements.
70869
+ * * Configure the `InstanceTypes.N` parameter to query information about a specified instance type.
70870
+ * * 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.
70642
70871
  *
70643
70872
  * @param request DescribeSpotAdviceRequest
70644
70873
  * @return DescribeSpotAdviceResponse
@@ -71071,6 +71300,14 @@ export default class Client extends OpenApi {
71071
71300
  return await this.describeTaskAttributeWithOptions(request, runtime);
71072
71301
  }
71073
71302
 
71303
+ /**
71304
+ * ## Debugging
71305
+ * [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)
71306
+ *
71307
+ * @param request DescribeTasksRequest
71308
+ * @param runtime runtime options for this request RuntimeOptions
71309
+ * @return DescribeTasksResponse
71310
+ */
71074
71311
  async describeTasksWithOptions(request: DescribeTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTasksResponse> {
71075
71312
  Util.validateModel(request);
71076
71313
  let query = { };
@@ -71143,6 +71380,13 @@ export default class Client extends OpenApi {
71143
71380
  return $tea.cast<DescribeTasksResponse>(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
71144
71381
  }
71145
71382
 
71383
+ /**
71384
+ * ## Debugging
71385
+ * [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)
71386
+ *
71387
+ * @param request DescribeTasksRequest
71388
+ * @return DescribeTasksResponse
71389
+ */
71146
71390
  async describeTasks(request: DescribeTasksRequest): Promise<DescribeTasksResponse> {
71147
71391
  let runtime = new $Util.RuntimeOptions({ });
71148
71392
  return await this.describeTasksWithOptions(request, runtime);
@@ -71961,17 +72205,7 @@ export default class Client extends OpenApi {
71961
72205
  }
71962
72206
 
71963
72207
  /**
71964
- * ## Description
71965
- * When you call this operation, take note of the following items:
71966
- * * Primary ENIs cannot be detached from ECS instances.
71967
- * * The ENI must be in the Detaching (Detaching) or InUse (InUse) state.
71968
- * * The instance must be in the Running (Running) or Stopped (Stopped) state.
71969
- * * 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.
71970
- * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/en-US/20230223/uemr/DetachNetworkInterface.png)
71971
- * * If the ENI is in the Detaching state, the ENI detachment request is sent and the ENI is being detached from its associated instance.
71972
- * * If the ENI is in the Available state, the ENI is detached from its associated instance.
71973
- * * 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.
71974
- * **For information about examples on how to call this operation, see **[Detach an ENI](~~471551~~).
72208
+ * The operation that you want to perform. Set the value to **DetachNetworkInterface**.
71975
72209
  *
71976
72210
  * @param request DetachNetworkInterfaceRequest
71977
72211
  * @param runtime runtime options for this request RuntimeOptions
@@ -72034,17 +72268,7 @@ export default class Client extends OpenApi {
72034
72268
  }
72035
72269
 
72036
72270
  /**
72037
- * ## Description
72038
- * When you call this operation, take note of the following items:
72039
- * * Primary ENIs cannot be detached from ECS instances.
72040
- * * The ENI must be in the Detaching (Detaching) or InUse (InUse) state.
72041
- * * The instance must be in the Running (Running) or Stopped (Stopped) state.
72042
- * * 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.
72043
- * ![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/en-US/20230223/uemr/DetachNetworkInterface.png)
72044
- * * If the ENI is in the Detaching state, the ENI detachment request is sent and the ENI is being detached from its associated instance.
72045
- * * If the ENI is in the Available state, the ENI is detached from its associated instance.
72046
- * * 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.
72047
- * **For information about examples on how to call this operation, see **[Detach an ENI](~~471551~~).
72271
+ * The operation that you want to perform. Set the value to **DetachNetworkInterface**.
72048
72272
  *
72049
72273
  * @param request DetachNetworkInterfaceRequest
72050
72274
  * @return DetachNetworkInterfaceResponse
@@ -72055,7 +72279,8 @@ export default class Client extends OpenApi {
72055
72279
  }
72056
72280
 
72057
72281
  /**
72058
- * 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.
72282
+ * 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).
72283
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
72059
72284
  *
72060
72285
  * @param request DisableActivationRequest
72061
72286
  * @param runtime runtime options for this request RuntimeOptions
@@ -72110,7 +72335,8 @@ export default class Client extends OpenApi {
72110
72335
  }
72111
72336
 
72112
72337
  /**
72113
- * 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.
72338
+ * 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).
72339
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
72114
72340
  *
72115
72341
  * @param request DisableActivationRequest
72116
72342
  * @return DisableActivationResponse
@@ -72400,7 +72626,7 @@ export default class Client extends OpenApi {
72400
72626
  * Before you export a custom image, complete the following operations:
72401
72627
  * * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
72402
72628
  * * 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:
72403
- * 1. Create a role named `AliyunECSImageExportDefaultRole`. Configure the following policy for the role:
72629
+ * 1. Create a role named `AliyunECSImageExportDefaultRole`, and attach the following policy to the role:
72404
72630
  * ```json
72405
72631
  * {
72406
72632
  * "Statement": [
@@ -72417,7 +72643,7 @@ export default class Client extends OpenApi {
72417
72643
  * "Version": "1"
72418
72644
  * }
72419
72645
  * ```
72420
- * 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:
72646
+ * 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:
72421
72647
  * ```json
72422
72648
  * {
72423
72649
  * "Version": "1",
@@ -72506,7 +72732,7 @@ export default class Client extends OpenApi {
72506
72732
  * Before you export a custom image, complete the following operations:
72507
72733
  * * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
72508
72734
  * * 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:
72509
- * 1. Create a role named `AliyunECSImageExportDefaultRole`. Configure the following policy for the role:
72735
+ * 1. Create a role named `AliyunECSImageExportDefaultRole`, and attach the following policy to the role:
72510
72736
  * ```json
72511
72737
  * {
72512
72738
  * "Statement": [
@@ -72523,7 +72749,7 @@ export default class Client extends OpenApi {
72523
72749
  * "Version": "1"
72524
72750
  * }
72525
72751
  * ```
72526
- * 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:
72752
+ * 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:
72527
72753
  * ```json
72528
72754
  * {
72529
72755
  * "Version": "1",
@@ -72624,15 +72850,6 @@ export default class Client extends OpenApi {
72624
72850
  return await this.exportSnapshotWithOptions(request, runtime);
72625
72851
  }
72626
72852
 
72627
- /**
72628
- * * 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.
72629
- * * For instances of the retired instance types, you cannot obtain command outputs. For more information, see [Retired instance types](~~55263~~).
72630
- * * You cannot obtain the command outputs of Windows instances.
72631
- *
72632
- * @param request GetInstanceConsoleOutputRequest
72633
- * @param runtime runtime options for this request RuntimeOptions
72634
- * @return GetInstanceConsoleOutputResponse
72635
- */
72636
72853
  async getInstanceConsoleOutputWithOptions(request: GetInstanceConsoleOutputRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceConsoleOutputResponse> {
72637
72854
  Util.validateModel(request);
72638
72855
  let query = { };
@@ -72685,14 +72902,6 @@ export default class Client extends OpenApi {
72685
72902
  return $tea.cast<GetInstanceConsoleOutputResponse>(await this.callApi(params, req, runtime), new GetInstanceConsoleOutputResponse({}));
72686
72903
  }
72687
72904
 
72688
- /**
72689
- * * 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.
72690
- * * For instances of the retired instance types, you cannot obtain command outputs. For more information, see [Retired instance types](~~55263~~).
72691
- * * You cannot obtain the command outputs of Windows instances.
72692
- *
72693
- * @param request GetInstanceConsoleOutputRequest
72694
- * @return GetInstanceConsoleOutputResponse
72695
- */
72696
72905
  async getInstanceConsoleOutput(request: GetInstanceConsoleOutputRequest): Promise<GetInstanceConsoleOutputResponse> {
72697
72906
  let runtime = new $Util.RuntimeOptions({ });
72698
72907
  return await this.getInstanceConsoleOutputWithOptions(request, runtime);
@@ -72975,9 +73184,9 @@ export default class Client extends OpenApi {
72975
73184
  }
72976
73185
 
72977
73186
  /**
72978
- * When you call this operation, take note of the following items:
73187
+ * Take note of the following items:
72979
73188
  * * A maximum of 500 key pairs can be created in each region.
72980
- * * The key pair that you want to import must support one of the following encryption methods:
73189
+ * * The key pair to be imported must support one of the following encryption methods:
72981
73190
  * * rsa
72982
73191
  * * dsa
72983
73192
  * * ssh-rsa
@@ -73048,9 +73257,9 @@ export default class Client extends OpenApi {
73048
73257
  }
73049
73258
 
73050
73259
  /**
73051
- * When you call this operation, take note of the following items:
73260
+ * Take note of the following items:
73052
73261
  * * A maximum of 500 key pairs can be created in each region.
73053
- * * The key pair that you want to import must support one of the following encryption methods:
73262
+ * * The key pair to be imported must support one of the following encryption methods:
73054
73263
  * * rsa
73055
73264
  * * dsa
73056
73265
  * * ssh-rsa
@@ -73145,7 +73354,7 @@ export default class Client extends OpenApi {
73145
73354
  }
73146
73355
 
73147
73356
  /**
73148
- * After you call the InstallCloudAssistant operation and then the [RebootInstance](~~25502~~) operation, the Cloud Assistant client is installed and takes effect.
73357
+ * The region ID of the instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
73149
73358
  *
73150
73359
  * @param request InstallCloudAssistantRequest
73151
73360
  * @param runtime runtime options for this request RuntimeOptions
@@ -73200,7 +73409,7 @@ export default class Client extends OpenApi {
73200
73409
  }
73201
73410
 
73202
73411
  /**
73203
- * After you call the InstallCloudAssistant operation and then the [RebootInstance](~~25502~~) operation, the Cloud Assistant client is installed and takes effect.
73412
+ * The region ID of the instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
73204
73413
  *
73205
73414
  * @param request InstallCloudAssistantRequest
73206
73415
  * @return InstallCloudAssistantResponse
@@ -73432,16 +73641,16 @@ export default class Client extends OpenApi {
73432
73641
 
73433
73642
  /**
73434
73643
  * ## Usage notes
73435
- * > 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.
73436
- * When you call this operation, take note of the following items:
73644
+ * > 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.
73645
+ * Take note of the following items:
73437
73646
  * * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
73438
- * * Each instance can be added to up to five security groups by default.
73647
+ * * An instance can be added to up to five security groups.
73439
73648
  * *
73440
73649
  * You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
73441
73650
  * * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
73442
73651
  * * The security group and the instance must reside in the same region.
73443
- * * 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.
73444
- * * 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.
73652
+ * * 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.
73653
+ * * 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.
73445
73654
  *
73446
73655
  * @param request JoinSecurityGroupRequest
73447
73656
  * @param runtime runtime options for this request RuntimeOptions
@@ -73501,16 +73710,16 @@ export default class Client extends OpenApi {
73501
73710
 
73502
73711
  /**
73503
73712
  * ## Usage notes
73504
- * > 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.
73505
- * When you call this operation, take note of the following items:
73713
+ * > 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.
73714
+ * Take note of the following items:
73506
73715
  * * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
73507
- * * Each instance can be added to up to five security groups by default.
73716
+ * * An instance can be added to up to five security groups.
73508
73717
  * *
73509
73718
  * You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
73510
73719
  * * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
73511
73720
  * * The security group and the instance must reside in the same region.
73512
- * * 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.
73513
- * * 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.
73721
+ * * 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.
73722
+ * * 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.
73514
73723
  *
73515
73724
  * @param request JoinSecurityGroupRequest
73516
73725
  * @return JoinSecurityGroupResponse
@@ -73681,7 +73890,7 @@ export default class Client extends OpenApi {
73681
73890
  }
73682
73891
 
73683
73892
  /**
73684
- * Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
73893
+ * You must specify at least one of the following parameters or parameter pairs in a request to determine a query object:
73685
73894
  * * `ResourceId.N`
73686
73895
  * * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
73687
73896
  * * `TagFilter.N`
@@ -73758,7 +73967,7 @@ export default class Client extends OpenApi {
73758
73967
  }
73759
73968
 
73760
73969
  /**
73761
- * Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
73970
+ * You must specify at least one of the following parameters or parameter pairs in a request to determine a query object:
73762
73971
  * * `ResourceId.N`
73763
73972
  * * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
73764
73973
  * * `TagFilter.N`
@@ -74179,7 +74388,8 @@ export default class Client extends OpenApi {
74179
74388
  }
74180
74389
 
74181
74390
  /**
74182
- * Modifies the parameters and content of a Cloud Assistant command.
74391
+ * You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions.
74392
+ * You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
74183
74393
  *
74184
74394
  * @param request ModifyCommandRequest
74185
74395
  * @param runtime runtime options for this request RuntimeOptions
@@ -74254,7 +74464,8 @@ export default class Client extends OpenApi {
74254
74464
  }
74255
74465
 
74256
74466
  /**
74257
- * Modifies the parameters and content of a Cloud Assistant command.
74467
+ * You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions.
74468
+ * You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
74258
74469
  *
74259
74470
  * @param request ModifyCommandRequest
74260
74471
  * @return ModifyCommandResponse
@@ -74359,7 +74570,8 @@ export default class Client extends OpenApi {
74359
74570
  }
74360
74571
 
74361
74572
  /**
74362
- * 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.
74573
+ * ## Usage notes
74574
+ * 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.
74363
74575
  *
74364
74576
  * @param request ModifyDedicatedHostAutoReleaseTimeRequest
74365
74577
  * @param runtime runtime options for this request RuntimeOptions
@@ -74414,7 +74626,8 @@ export default class Client extends OpenApi {
74414
74626
  }
74415
74627
 
74416
74628
  /**
74417
- * 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.
74629
+ * ## Usage notes
74630
+ * 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.
74418
74631
  *
74419
74632
  * @param request ModifyDedicatedHostAutoReleaseTimeRequest
74420
74633
  * @return ModifyDedicatedHostAutoReleaseTimeResponse
@@ -74643,8 +74856,8 @@ export default class Client extends OpenApi {
74643
74856
  }
74644
74857
 
74645
74858
  /**
74646
- * 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.
74647
- * > This operation is in internal preview and has not been officially released. We recommend that you do not use this operation.
74859
+ * 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.
74860
+ * > This operation is in invitational preview and is not publicly available.
74648
74861
  *
74649
74862
  * @param request ModifyDemandRequest
74650
74863
  * @param runtime runtime options for this request RuntimeOptions
@@ -74739,8 +74952,8 @@ export default class Client extends OpenApi {
74739
74952
  }
74740
74953
 
74741
74954
  /**
74742
- * 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.
74743
- * > This operation is in internal preview and has not been officially released. We recommend that you do not use this operation.
74955
+ * 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.
74956
+ * > This operation is in invitational preview and is not publicly available.
74744
74957
  *
74745
74958
  * @param request ModifyDemandRequest
74746
74959
  * @return ModifyDemandResponse
@@ -74955,7 +75168,7 @@ export default class Client extends OpenApi {
74955
75168
  * * 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.
74956
75169
  * * The instance cannot be in the Stopped state due to overdue payments.
74957
75170
  * * 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.
74958
- * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are nonrefundable.
75171
+ * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
74959
75172
  * * You cannot change the billing method again within 5 minutes of a successful change.
74960
75173
  *
74961
75174
  * @param request ModifyDiskChargeTypeRequest
@@ -75029,7 +75242,7 @@ export default class Client extends OpenApi {
75029
75242
  * * 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.
75030
75243
  * * The instance cannot be in the Stopped state due to overdue payments.
75031
75244
  * * 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.
75032
- * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are nonrefundable.
75245
+ * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
75033
75246
  * * You cannot change the billing method again within 5 minutes of a successful change.
75034
75247
  *
75035
75248
  * @param request ModifyDiskChargeTypeRequest
@@ -75102,15 +75315,16 @@ export default class Client extends OpenApi {
75102
75315
  }
75103
75316
 
75104
75317
  /**
75105
- * When you call this operation, take note of the following items:
75318
+ * ## Usage notes
75319
+ * Take note of the following items:
75106
75320
  * * To modify the performance level of an ESSD, take note of the following items:
75107
75321
  * * For a subscription ESSD, you can only upgrade its performance level.
75108
- * * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
75109
- * * The ESSD must be in the **In Use** or **Unattached** (Available) state.
75110
- * * 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.
75322
+ * * For a pay-as-you-go ESSD, you can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
75323
+ * * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
75324
+ * * 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.
75111
75325
  * * 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~~).
75112
- * * 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.
75113
- * 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.
75326
+ * * 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.
75327
+ * 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.
75114
75328
  *
75115
75329
  * @param request ModifyDiskSpecRequest
75116
75330
  * @param runtime runtime options for this request RuntimeOptions
@@ -75177,15 +75391,16 @@ export default class Client extends OpenApi {
75177
75391
  }
75178
75392
 
75179
75393
  /**
75180
- * When you call this operation, take note of the following items:
75394
+ * ## Usage notes
75395
+ * Take note of the following items:
75181
75396
  * * To modify the performance level of an ESSD, take note of the following items:
75182
75397
  * * For a subscription ESSD, you can only upgrade its performance level.
75183
- * * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
75184
- * * The ESSD must be in the **In Use** or **Unattached** (Available) state.
75185
- * * 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.
75398
+ * * For a pay-as-you-go ESSD, you can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
75399
+ * * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
75400
+ * * 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.
75186
75401
  * * 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~~).
75187
- * * 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.
75188
- * 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.
75402
+ * * 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.
75403
+ * 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.
75189
75404
  *
75190
75405
  * @param request ModifyDiskSpecRequest
75191
75406
  * @return ModifyDiskSpecResponse
@@ -75691,7 +75906,7 @@ export default class Client extends OpenApi {
75691
75906
  }
75692
75907
 
75693
75908
  /**
75694
- * Take note of the following items:
75909
+ * When you call this operation, take note of the following items:
75695
75910
  * * You can share only your own custom images with other Alibaba Cloud accounts.
75696
75911
  * * 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.
75697
75912
  * * You can share a custom image with up to 50 Alibaba Cloud accounts.
@@ -75768,7 +75983,7 @@ export default class Client extends OpenApi {
75768
75983
  }
75769
75984
 
75770
75985
  /**
75771
- * Take note of the following items:
75986
+ * When you call this operation, take note of the following items:
75772
75987
  * * You can share only your own custom images with other Alibaba Cloud accounts.
75773
75988
  * * 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.
75774
75989
  * * You can share a custom image with up to 50 Alibaba Cloud accounts.
@@ -75869,23 +76084,23 @@ export default class Client extends OpenApi {
75869
76084
  }
75870
76085
 
75871
76086
  /**
75872
- * 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.
75873
- * When you call this operation, take note of the following items:
75874
- * * 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.
76087
+ * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
76088
+ * Take note of the following items:
76089
+ * * 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.
75875
76090
  * * Reset the password (`Password`):
75876
- * * The instance can not be in the **Starting** state.``
75877
- * * 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.
76091
+ * * The instance must not be in the **Starting** state.``
76092
+ * * 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.
75878
76093
  * * Modify user data (`UserData`):
75879
76094
  * * The instance must be in the **Stopped** state.``
75880
- * * The instance must meet the required conditions on user data. For more information, see [Prepare user data](~~49121~~).
76095
+ * * The instance must support user data. For more information, see [Prepare user data](~~49121~~).
75881
76096
  * * Change the security group (`SecurityGroupIds.N`):
75882
- * * 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.
75883
- * * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
76097
+ * * 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.
76098
+ * * Security groups of instances that reside in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
75884
76099
  * * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
75885
76100
  * * The instance must be in the `Stopped` state.
75886
- * * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The number varies with the instance type.
76101
+ * * 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.
75887
76102
  * * 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.
75888
- * * 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.
76103
+ * * 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.
75889
76104
  *
75890
76105
  * @param request ModifyInstanceAttributeRequest
75891
76106
  * @param runtime runtime options for this request RuntimeOptions
@@ -75980,23 +76195,23 @@ export default class Client extends OpenApi {
75980
76195
  }
75981
76196
 
75982
76197
  /**
75983
- * 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.
75984
- * When you call this operation, take note of the following items:
75985
- * * 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.
76198
+ * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
76199
+ * Take note of the following items:
76200
+ * * 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.
75986
76201
  * * Reset the password (`Password`):
75987
- * * The instance can not be in the **Starting** state.``
75988
- * * 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.
76202
+ * * The instance must not be in the **Starting** state.``
76203
+ * * 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.
75989
76204
  * * Modify user data (`UserData`):
75990
76205
  * * The instance must be in the **Stopped** state.``
75991
- * * The instance must meet the required conditions on user data. For more information, see [Prepare user data](~~49121~~).
76206
+ * * The instance must support user data. For more information, see [Prepare user data](~~49121~~).
75992
76207
  * * Change the security group (`SecurityGroupIds.N`):
75993
- * * 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.
75994
- * * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
76208
+ * * 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.
76209
+ * * Security groups of instances that reside in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
75995
76210
  * * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
75996
76211
  * * The instance must be in the `Stopped` state.
75997
- * * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The number varies with the instance type.
76212
+ * * 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.
75998
76213
  * * 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.
75999
- * * 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.
76214
+ * * 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.
76000
76215
  *
76001
76216
  * @param request ModifyInstanceAttributeRequest
76002
76217
  * @return ModifyInstanceAttributeResponse
@@ -76509,7 +76724,15 @@ export default class Client extends OpenApi {
76509
76724
  }
76510
76725
 
76511
76726
  /**
76512
- * The ID of the instance for which you want to modify bandwidth configurations.
76727
+ * Take note of the following items:
76728
+ * * 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:
76729
+ * * 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.
76730
+ * * 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.
76731
+ * * 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.
76732
+ * * 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.
76733
+ * * 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.
76734
+ * * 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.
76735
+ * * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
76513
76736
  *
76514
76737
  * @param request ModifyInstanceNetworkSpecRequest
76515
76738
  * @param runtime runtime options for this request RuntimeOptions
@@ -76592,7 +76815,15 @@ export default class Client extends OpenApi {
76592
76815
  }
76593
76816
 
76594
76817
  /**
76595
- * The ID of the instance for which you want to modify bandwidth configurations.
76818
+ * Take note of the following items:
76819
+ * * 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:
76820
+ * * 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.
76821
+ * * 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.
76822
+ * * 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.
76823
+ * * 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.
76824
+ * * 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.
76825
+ * * 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.
76826
+ * * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
76596
76827
  *
76597
76828
  * @param request ModifyInstanceNetworkSpecRequest
76598
76829
  * @return ModifyInstanceNetworkSpecResponse
@@ -76792,30 +77023,30 @@ export default class Client extends OpenApi {
76792
77023
 
76793
77024
  /**
76794
77025
  * The instance must be in the **Stopped** state.``
76795
- * * When you call this operation to modify the private IP address or vSwitch of an instance, take note of the following items:
76796
- * * If the instance is newly created, you must restart the instance before you call this operation.
76797
- * * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you call this operation again.
76798
- * * When you call this operation to modify the VPC of an instance, take note of the following items:
77026
+ * * When you call this operation to change the private IP address or vSwitch of an instance, take note of the following items:
77027
+ * * If the instance is a new instance, you must restart the instance before you call this operation.
77028
+ * * After the private IP address or vSwitch of the instance is changed, you must restart the instance before you call this operation again.
77029
+ * * When you call this operation to change the VPC of an instance, take note of the following items:
76799
77030
  * * **Instance:**
76800
77031
  * * The instance cannot be associated with Server Load Balancer (SLB) instances.
76801
77032
  * * 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~~).
76802
- * * 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).
77033
+ * * 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).
76803
77034
  * * **Network:**
76804
- * * The cut-through mode or multi-elastic IP address (EIP) to elastic network interface (ENI) mode must be disabled.
77035
+ * * The cut-through mode or the multi-EIP-to-ENI mode cannot be enabled for the instance.
76805
77036
  * * The instance cannot be associated with a high-availability virtual IP address (HAVIP).
76806
77037
  * * The vSwitch of the instance cannot be associated with a custom route table.
76807
- * * The instance cannot have Global Accelerator (GA) activated.
76808
- * * The instance cannot have secondary ENIs bound.
76809
- * * The instance cannot have IPv6 addresses assigned.
77038
+ * * Global Accelerator (GA) cannot be activated for the instance.
77039
+ * * The instance cannot have secondary ENIs.
77040
+ * * The instance cannot be assigned an IPv6 address.
76810
77041
  * * The primary ENI of the instance cannot be associated with multiple IP addresses.
76811
- * * The vSwitch specified by the VSwitchId parameter must belong to the new VPC.
76812
- * * The new and original vSwitches must reside within the same zone.
76813
- * * 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.
76814
- * * 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~~).
77042
+ * * The new vSwitch that you specify must belong to the new VPC.
77043
+ * * The original and new vSwitches must reside in the same zone.
77044
+ * * 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.
77045
+ * * 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~~).
76815
77046
  * * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
76816
77047
  * * **Security group (SecurityGroupId.N):**
76817
77048
  * * All security groups must be of the same type.
76818
- * * 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~~).
77049
+ * * 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~~).
76819
77050
  * * The security groups that you specify must belong to the new VPC.
76820
77051
  * * 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~~).
76821
77052
  *
@@ -76881,30 +77112,30 @@ export default class Client extends OpenApi {
76881
77112
 
76882
77113
  /**
76883
77114
  * The instance must be in the **Stopped** state.``
76884
- * * When you call this operation to modify the private IP address or vSwitch of an instance, take note of the following items:
76885
- * * If the instance is newly created, you must restart the instance before you call this operation.
76886
- * * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you call this operation again.
76887
- * * When you call this operation to modify the VPC of an instance, take note of the following items:
77115
+ * * When you call this operation to change the private IP address or vSwitch of an instance, take note of the following items:
77116
+ * * If the instance is a new instance, you must restart the instance before you call this operation.
77117
+ * * After the private IP address or vSwitch of the instance is changed, you must restart the instance before you call this operation again.
77118
+ * * When you call this operation to change the VPC of an instance, take note of the following items:
76888
77119
  * * **Instance:**
76889
77120
  * * The instance cannot be associated with Server Load Balancer (SLB) instances.
76890
77121
  * * 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~~).
76891
- * * 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).
77122
+ * * 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).
76892
77123
  * * **Network:**
76893
- * * The cut-through mode or multi-elastic IP address (EIP) to elastic network interface (ENI) mode must be disabled.
77124
+ * * The cut-through mode or the multi-EIP-to-ENI mode cannot be enabled for the instance.
76894
77125
  * * The instance cannot be associated with a high-availability virtual IP address (HAVIP).
76895
77126
  * * The vSwitch of the instance cannot be associated with a custom route table.
76896
- * * The instance cannot have Global Accelerator (GA) activated.
76897
- * * The instance cannot have secondary ENIs bound.
76898
- * * The instance cannot have IPv6 addresses assigned.
77127
+ * * Global Accelerator (GA) cannot be activated for the instance.
77128
+ * * The instance cannot have secondary ENIs.
77129
+ * * The instance cannot be assigned an IPv6 address.
76899
77130
  * * The primary ENI of the instance cannot be associated with multiple IP addresses.
76900
- * * The vSwitch specified by the VSwitchId parameter must belong to the new VPC.
76901
- * * The new and original vSwitches must reside within the same zone.
76902
- * * 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.
76903
- * * 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~~).
77131
+ * * The new vSwitch that you specify must belong to the new VPC.
77132
+ * * The original and new vSwitches must reside in the same zone.
77133
+ * * 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.
77134
+ * * 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~~).
76904
77135
  * * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
76905
77136
  * * **Security group (SecurityGroupId.N):**
76906
77137
  * * All security groups must be of the same type.
76907
- * * 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~~).
77138
+ * * 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~~).
76908
77139
  * * The security groups that you specify must belong to the new VPC.
76909
77140
  * * 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~~).
76910
77141
  *
@@ -76916,6 +77147,14 @@ export default class Client extends OpenApi {
76916
77147
  return await this.modifyInstanceVpcAttributeWithOptions(request, runtime);
76917
77148
  }
76918
77149
 
77150
+ /**
77151
+ * ## Debugging
77152
+ * [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)
77153
+ *
77154
+ * @param request ModifyLaunchTemplateDefaultVersionRequest
77155
+ * @param runtime runtime options for this request RuntimeOptions
77156
+ * @return ModifyLaunchTemplateDefaultVersionResponse
77157
+ */
76919
77158
  async modifyLaunchTemplateDefaultVersionWithOptions(request: ModifyLaunchTemplateDefaultVersionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLaunchTemplateDefaultVersionResponse> {
76920
77159
  Util.validateModel(request);
76921
77160
  let query = { };
@@ -76968,13 +77207,21 @@ export default class Client extends OpenApi {
76968
77207
  return $tea.cast<ModifyLaunchTemplateDefaultVersionResponse>(await this.callApi(params, req, runtime), new ModifyLaunchTemplateDefaultVersionResponse({}));
76969
77208
  }
76970
77209
 
77210
+ /**
77211
+ * ## Debugging
77212
+ * [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)
77213
+ *
77214
+ * @param request ModifyLaunchTemplateDefaultVersionRequest
77215
+ * @return ModifyLaunchTemplateDefaultVersionResponse
77216
+ */
76971
77217
  async modifyLaunchTemplateDefaultVersion(request: ModifyLaunchTemplateDefaultVersionRequest): Promise<ModifyLaunchTemplateDefaultVersionResponse> {
76972
77218
  let runtime = new $Util.RuntimeOptions({ });
76973
77219
  return await this.modifyLaunchTemplateDefaultVersionWithOptions(request, runtime);
76974
77220
  }
76975
77221
 
76976
77222
  /**
76977
- * You can call the ModifyManagedInstance operation to change only the name of a managed instance.
77223
+ * 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).
77224
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
76978
77225
  *
76979
77226
  * @param request ModifyManagedInstanceRequest
76980
77227
  * @param runtime runtime options for this request RuntimeOptions
@@ -77033,7 +77280,8 @@ export default class Client extends OpenApi {
77033
77280
  }
77034
77281
 
77035
77282
  /**
77036
- * You can call the ModifyManagedInstance operation to change only the name of a managed instance.
77283
+ * 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).
77284
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
77037
77285
  *
77038
77286
  * @param request ModifyManagedInstanceRequest
77039
77287
  * @return ModifyManagedInstanceResponse
@@ -77561,12 +77809,8 @@ export default class Client extends OpenApi {
77561
77809
  }
77562
77810
 
77563
77811
  /**
77564
- * ## Description
77565
- * When you call this operation, take note of the following items:
77566
- * * For information about limits on reserved instances, see the "Limits" section in [Overview](~~100370~~).
77567
- * * 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~~).
77568
- * * 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~~).
77569
- * * 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~~).
77812
+ * The region ID of the reserved instance.
77813
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
77570
77814
  *
77571
77815
  * @param request ModifyReservedInstancesRequest
77572
77816
  * @param runtime runtime options for this request RuntimeOptions
@@ -77621,12 +77865,8 @@ export default class Client extends OpenApi {
77621
77865
  }
77622
77866
 
77623
77867
  /**
77624
- * ## Description
77625
- * When you call this operation, take note of the following items:
77626
- * * For information about limits on reserved instances, see the "Limits" section in [Overview](~~100370~~).
77627
- * * 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~~).
77628
- * * 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~~).
77629
- * * 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~~).
77868
+ * The region ID of the reserved instance.
77869
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
77630
77870
  *
77631
77871
  * @param request ModifyReservedInstancesRequest
77632
77872
  * @return ModifyReservedInstancesResponse
@@ -77862,12 +78102,12 @@ export default class Client extends OpenApi {
77862
78102
  }
77863
78103
 
77864
78104
  /**
77865
- * 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.
77866
- * Take note of the following items:
77867
- * * 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.
77868
- * * 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.
77869
- * * The new security group rule after modification cannot be the same as other existing rules.
77870
- * * 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.
78105
+ * 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.
78106
+ * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
78107
+ * * 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.
78108
+ * * 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.
78109
+ * * The modified security group rule cannot be the same as other existing rules.
78110
+ * * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
77871
78111
  *
77872
78112
  * @param request ModifySecurityGroupEgressRuleRequest
77873
78113
  * @param runtime runtime options for this request RuntimeOptions
@@ -77990,12 +78230,12 @@ export default class Client extends OpenApi {
77990
78230
  }
77991
78231
 
77992
78232
  /**
77993
- * 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.
77994
- * Take note of the following items:
77995
- * * 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.
77996
- * * 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.
77997
- * * The new security group rule after modification cannot be the same as other existing rules.
77998
- * * 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.
78233
+ * 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.
78234
+ * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
78235
+ * * 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.
78236
+ * * 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.
78237
+ * * The modified security group rule cannot be the same as other existing rules.
78238
+ * * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
77999
78239
  *
78000
78240
  * @param request ModifySecurityGroupEgressRuleRequest
78001
78241
  * @return ModifySecurityGroupEgressRuleResponse
@@ -78970,7 +79210,7 @@ export default class Client extends OpenApi {
78970
79210
  }
78971
79211
 
78972
79212
  /**
78973
- * 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~~).
79213
+ * 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~~).
78974
79214
  *
78975
79215
  * @param request PurchaseStorageCapacityUnitRequest
78976
79216
  * @param runtime runtime options for this request RuntimeOptions
@@ -79057,7 +79297,7 @@ export default class Client extends OpenApi {
79057
79297
  }
79058
79298
 
79059
79299
  /**
79060
- * 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~~).
79300
+ * 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~~).
79061
79301
  *
79062
79302
  * @param request PurchaseStorageCapacityUnitRequest
79063
79303
  * @return PurchaseStorageCapacityUnitResponse
@@ -79298,10 +79538,10 @@ export default class Client extends OpenApi {
79298
79538
  }
79299
79539
 
79300
79540
  /**
79301
- * * The ECS instances are in the **Running** state.``
79302
- * * You can use the `BatchOptimization` parameter to enable the batch operation mode and restart multiple instances at a time.
79303
- * * 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.
79304
- * * 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.
79541
+ * * The ECS instances must be in the `Running` state.****
79542
+ * * You can use the `BatchOptimization` parameter to specify the batch operation mode and restart multiple instances at a time.
79543
+ * * 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.
79544
+ * * 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.
79305
79545
  *
79306
79546
  * @param request RebootInstancesRequest
79307
79547
  * @param runtime runtime options for this request RuntimeOptions
@@ -79364,10 +79604,10 @@ export default class Client extends OpenApi {
79364
79604
  }
79365
79605
 
79366
79606
  /**
79367
- * * The ECS instances are in the **Running** state.``
79368
- * * You can use the `BatchOptimization` parameter to enable the batch operation mode and restart multiple instances at a time.
79369
- * * 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.
79370
- * * 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.
79607
+ * * The ECS instances must be in the `Running` state.****
79608
+ * * You can use the `BatchOptimization` parameter to specify the batch operation mode and restart multiple instances at a time.
79609
+ * * 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.
79610
+ * * 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.
79371
79611
  *
79372
79612
  * @param request RebootInstancesRequest
79373
79613
  * @return RebootInstancesResponse
@@ -79512,13 +79752,13 @@ export default class Client extends OpenApi {
79512
79752
  }
79513
79753
 
79514
79754
  /**
79515
- * 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.
79516
- * When you call this operation, take note of the following items:
79517
- * * 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:
79518
- * * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
79519
- * * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
79755
+ * 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.
79756
+ * Take note of the following items:
79757
+ * * 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:
79758
+ * * If the instance is in the `Running` state before redeployment, the instance enters the `Stopping` state.
79759
+ * * If the instance is in the `Stopped` state before redeployment, the instance enters the `Starting` state.
79520
79760
  * * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
79521
- * * 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.
79761
+ * * 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.
79522
79762
  * * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
79523
79763
  * * 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~~).
79524
79764
  * The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
@@ -79583,13 +79823,13 @@ export default class Client extends OpenApi {
79583
79823
  }
79584
79824
 
79585
79825
  /**
79586
- * 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.
79587
- * When you call this operation, take note of the following items:
79588
- * * 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:
79589
- * * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
79590
- * * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
79826
+ * 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.
79827
+ * Take note of the following items:
79828
+ * * 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:
79829
+ * * If the instance is in the `Running` state before redeployment, the instance enters the `Stopping` state.
79830
+ * * If the instance is in the `Stopped` state before redeployment, the instance enters the `Starting` state.
79591
79831
  * * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
79592
- * * 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.
79832
+ * * 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.
79593
79833
  * * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
79594
79834
  * * 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~~).
79595
79835
  * The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
@@ -79680,7 +79920,8 @@ export default class Client extends OpenApi {
79680
79920
  }
79681
79921
 
79682
79922
  /**
79683
- * 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.
79923
+ * ## Usage notes
79924
+ * Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
79684
79925
  *
79685
79926
  * @param request ReleaseDedicatedHostRequest
79686
79927
  * @param runtime runtime options for this request RuntimeOptions
@@ -79731,7 +79972,8 @@ export default class Client extends OpenApi {
79731
79972
  }
79732
79973
 
79733
79974
  /**
79734
- * 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.
79975
+ * ## Usage notes
79976
+ * Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
79735
79977
  *
79736
79978
  * @param request ReleaseDedicatedHostRequest
79737
79979
  * @return ReleaseDedicatedHostResponse
@@ -79972,7 +80214,7 @@ export default class Client extends OpenApi {
79972
80214
  }
79973
80215
 
79974
80216
  /**
79975
- * 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.
80217
+ * 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 (,).
79976
80218
  *
79977
80219
  * @param request RenewDedicatedHostsRequest
79978
80220
  * @param runtime runtime options for this request RuntimeOptions
@@ -80035,7 +80277,7 @@ export default class Client extends OpenApi {
80035
80277
  }
80036
80278
 
80037
80279
  /**
80038
- * 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.
80280
+ * 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 (,).
80039
80281
  *
80040
80282
  * @param request RenewDedicatedHostsRequest
80041
80283
  * @return RenewDedicatedHostsResponse
@@ -80126,8 +80368,7 @@ export default class Client extends OpenApi {
80126
80368
  }
80127
80369
 
80128
80370
  /**
80129
- * * 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~~).
80130
- * * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
80371
+ * The IDs of the reserved instances.
80131
80372
  *
80132
80373
  * @param request RenewReservedInstancesRequest
80133
80374
  * @param runtime runtime options for this request RuntimeOptions
@@ -80198,8 +80439,7 @@ export default class Client extends OpenApi {
80198
80439
  }
80199
80440
 
80200
80441
  /**
80201
- * * 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~~).
80202
- * * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
80442
+ * The IDs of the reserved instances.
80203
80443
  *
80204
80444
  * @param request RenewReservedInstancesRequest
80205
80445
  * @return RenewReservedInstancesResponse
@@ -80577,12 +80817,7 @@ export default class Client extends OpenApi {
80577
80817
  }
80578
80818
 
80579
80819
  /**
80580
- * > 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~~).
80581
- * * 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`).
80582
- * * A disk cannot be resized when a snapshot is being created for the disk.
80583
- * * The instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
80584
- * * 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.
80585
- * * 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.
80820
+ * The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
80586
80821
  *
80587
80822
  * @param request ResizeDiskRequest
80588
80823
  * @param runtime runtime options for this request RuntimeOptions
@@ -80641,12 +80876,7 @@ export default class Client extends OpenApi {
80641
80876
  }
80642
80877
 
80643
80878
  /**
80644
- * > 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~~).
80645
- * * 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`).
80646
- * * A disk cannot be resized when a snapshot is being created for the disk.
80647
- * * The instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
80648
- * * 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.
80649
- * * 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.
80879
+ * The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
80650
80880
  *
80651
80881
  * @param request ResizeDiskRequest
80652
80882
  * @return ResizeDiskResponse
@@ -81238,6 +81468,10 @@ export default class Client extends OpenApi {
81238
81468
  query["Arn"] = request.arn;
81239
81469
  }
81240
81470
 
81471
+ if (!Util.isUnset(request.autoPay)) {
81472
+ query["AutoPay"] = request.autoPay;
81473
+ }
81474
+
81241
81475
  if (!Util.isUnset(request.autoReleaseTime)) {
81242
81476
  query["AutoReleaseTime"] = request.autoReleaseTime;
81243
81477
  }
@@ -81579,13 +81813,14 @@ export default class Client extends OpenApi {
81579
81813
  }
81580
81814
 
81581
81815
  /**
81582
- * * The instances to which to send a file must be in the Running (`Running`) state.
81583
- * * The Cloud Assistant client must be installed on the instances. For information about how to install the Cloud Assistant client, see [InstallCloudAssistant](~~85916~~).
81584
- * * 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~~).
81585
- * * For Linux instances, the version of the Cloud Assistant client must be later than 1.0.2.569.
81586
- * * For Windows instances, the version of the Cloud Assistant client must be later than 1.0.0.149.
81587
- * * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
81588
- * * 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.
81816
+ * ## Usage notes
81817
+ * * The instances to which to send a file must be in the Running (`Running`) state.
81818
+ * * [Cloud Assistant Agent must be installed on the instances.](~~64921~~)
81819
+ * * 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.
81820
+ * * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
81821
+ * * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
81822
+ * * The file that you want to send must not exceed 32 KB in size after it is encoded in Base64.
81823
+ * * 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.
81589
81824
  *
81590
81825
  * @param request SendFileRequest
81591
81826
  * @param runtime runtime options for this request RuntimeOptions
@@ -81688,13 +81923,14 @@ export default class Client extends OpenApi {
81688
81923
  }
81689
81924
 
81690
81925
  /**
81691
- * * The instances to which to send a file must be in the Running (`Running`) state.
81692
- * * The Cloud Assistant client must be installed on the instances. For information about how to install the Cloud Assistant client, see [InstallCloudAssistant](~~85916~~).
81693
- * * 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~~).
81694
- * * For Linux instances, the version of the Cloud Assistant client must be later than 1.0.2.569.
81695
- * * For Windows instances, the version of the Cloud Assistant client must be later than 1.0.0.149.
81696
- * * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
81697
- * * 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.
81926
+ * ## Usage notes
81927
+ * * The instances to which to send a file must be in the Running (`Running`) state.
81928
+ * * [Cloud Assistant Agent must be installed on the instances.](~~64921~~)
81929
+ * * 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.
81930
+ * * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
81931
+ * * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
81932
+ * * The file that you want to send must not exceed 32 KB in size after it is encoded in Base64.
81933
+ * * 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.
81698
81934
  *
81699
81935
  * @param request SendFileRequest
81700
81936
  * @return SendFileResponse
@@ -81845,9 +82081,7 @@ export default class Client extends OpenApi {
81845
82081
  }
81846
82082
 
81847
82083
  /**
81848
- * When you call this operation, take note of the following items:
81849
- * * Before the instances are started, they must first be in the `Stopped` state.****
81850
- * * 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.
82084
+ * $.parameters[2].schema.example
81851
82085
  *
81852
82086
  * @param request StartInstanceRequest
81853
82087
  * @param runtime runtime options for this request RuntimeOptions
@@ -81902,9 +82136,7 @@ export default class Client extends OpenApi {
81902
82136
  }
81903
82137
 
81904
82138
  /**
81905
- * When you call this operation, take note of the following items:
81906
- * * Before the instances are started, they must first be in the `Stopped` state.****
81907
- * * 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.
82139
+ * $.parameters[2].schema.example
81908
82140
  *
81909
82141
  * @param request StartInstanceRequest
81910
82142
  * @return StartInstanceResponse
@@ -81915,10 +82147,11 @@ export default class Client extends OpenApi {
81915
82147
  }
81916
82148
 
81917
82149
  /**
81918
- * When you call this operation, take note of the following items:
81919
- * * The ECS instances that you want to start must be in the **Stopped** state.``
81920
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
81921
- * * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
82150
+ * Specifies whether to perform a dry run. Valid values:
82151
+ * * 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.
82152
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
82153
+ * * false: performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
82154
+ * Default value: false.
81922
82155
  *
81923
82156
  * @param request StartInstancesRequest
81924
82157
  * @param runtime runtime options for this request RuntimeOptions
@@ -81977,10 +82210,11 @@ export default class Client extends OpenApi {
81977
82210
  }
81978
82211
 
81979
82212
  /**
81980
- * When you call this operation, take note of the following items:
81981
- * * The ECS instances that you want to start must be in the **Stopped** state.``
81982
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
81983
- * * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
82213
+ * Specifies whether to perform a dry run. Valid values:
82214
+ * * 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.
82215
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
82216
+ * * false: performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
82217
+ * Default value: false.
81984
82218
  *
81985
82219
  * @param request StartInstancesRequest
81986
82220
  * @return StartInstancesResponse
@@ -81991,15 +82225,16 @@ export default class Client extends OpenApi {
81991
82225
  }
81992
82226
 
81993
82227
  /**
81994
- * ## Description
81995
- * The session management feature is in public preview. To use this feature, log on with your Alibaba Cloud account and activate this feature.
81996
- * 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:
81997
- * - The ECS instance must be in the Running (Running) state.
81998
- * - 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.
81999
- * - 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
82000
- * - For Windows operating systems: V2.1.3.256
82001
- * - Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
82002
- * - 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.
82228
+ * 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.
82229
+ * 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:
82230
+ * * The ECS instance must be in the Running (Running) state.
82231
+ * * 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.
82232
+ * * If Cloud Assistant Agent is not installed on the ECS instance, call the [InstallCloudAssistant](~~85916~~) operation to install Cloud Assistant Agent.
82233
+ * * 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~~).
82234
+ * * For Linux operating systems: 2.2.3.256
82235
+ * * For Windows operating systems: 2.1.3.256
82236
+ * * Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
82237
+ * * 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.
82003
82238
  *
82004
82239
  * @param request StartTerminalSessionRequest
82005
82240
  * @param runtime runtime options for this request RuntimeOptions
@@ -82058,15 +82293,16 @@ export default class Client extends OpenApi {
82058
82293
  }
82059
82294
 
82060
82295
  /**
82061
- * ## Description
82062
- * The session management feature is in public preview. To use this feature, log on with your Alibaba Cloud account and activate this feature.
82063
- * 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:
82064
- * - The ECS instance must be in the Running (Running) state.
82065
- * - 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.
82066
- * - 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
82067
- * - For Windows operating systems: V2.1.3.256
82068
- * - Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
82069
- * - 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.
82296
+ * 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.
82297
+ * 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:
82298
+ * * The ECS instance must be in the Running (Running) state.
82299
+ * * 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.
82300
+ * * If Cloud Assistant Agent is not installed on the ECS instance, call the [InstallCloudAssistant](~~85916~~) operation to install Cloud Assistant Agent.
82301
+ * * 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~~).
82302
+ * * For Linux operating systems: 2.2.3.256
82303
+ * * For Windows operating systems: 2.1.3.256
82304
+ * * Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
82305
+ * * 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.
82070
82306
  *
82071
82307
  * @param request StartTerminalSessionRequest
82072
82308
  * @return StartTerminalSessionResponse
@@ -82077,8 +82313,8 @@ export default class Client extends OpenApi {
82077
82313
  }
82078
82314
 
82079
82315
  /**
82080
- * * 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~~).
82081
- * * 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.
82316
+ * * 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~~).
82317
+ * * 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.
82082
82318
  *
82083
82319
  * @param request StopInstanceRequest
82084
82320
  * @param runtime runtime options for this request RuntimeOptions
@@ -82145,8 +82381,8 @@ export default class Client extends OpenApi {
82145
82381
  }
82146
82382
 
82147
82383
  /**
82148
- * * 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~~).
82149
- * * 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.
82384
+ * * 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~~).
82385
+ * * 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.
82150
82386
  *
82151
82387
  * @param request StopInstanceRequest
82152
82388
  * @return StopInstanceResponse
@@ -82157,9 +82393,11 @@ export default class Client extends OpenApi {
82157
82393
  }
82158
82394
 
82159
82395
  /**
82160
- * * 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.
82161
- * * 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.
82162
- * * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
82396
+ * Specifies whether to perform only a dry run, without performing the actual request. Valid Values:
82397
+ * * 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.
82398
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
82399
+ * * false: performs a dry run and sends the request. If the request passes the dry run, the operation is performed.
82400
+ * Default value: false.
82163
82401
  *
82164
82402
  * @param request StopInstancesRequest
82165
82403
  * @param runtime runtime options for this request RuntimeOptions
@@ -82226,9 +82464,11 @@ export default class Client extends OpenApi {
82226
82464
  }
82227
82465
 
82228
82466
  /**
82229
- * * 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.
82230
- * * 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.
82231
- * * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
82467
+ * Specifies whether to perform only a dry run, without performing the actual request. Valid Values:
82468
+ * * 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.
82469
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
82470
+ * * false: performs a dry run and sends the request. If the request passes the dry run, the operation is performed.
82471
+ * Default value: false.
82232
82472
  *
82233
82473
  * @param request StopInstancesRequest
82234
82474
  * @return StopInstancesResponse
@@ -82239,8 +82479,7 @@ export default class Client extends OpenApi {
82239
82479
  }
82240
82480
 
82241
82481
  /**
82242
- * * 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.
82243
- * * 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.
82482
+ * The region ID. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
82244
82483
  *
82245
82484
  * @param request StopInvocationRequest
82246
82485
  * @param runtime runtime options for this request RuntimeOptions
@@ -82299,8 +82538,7 @@ export default class Client extends OpenApi {
82299
82538
  }
82300
82539
 
82301
82540
  /**
82302
- * * 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.
82303
- * * 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.
82541
+ * The region ID. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
82304
82542
  *
82305
82543
  * @param request StopInvocationRequest
82306
82544
  * @return StopInvocationResponse
@@ -82603,8 +82841,7 @@ export default class Client extends OpenApi {
82603
82841
  }
82604
82842
 
82605
82843
  /**
82606
- * * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
82607
- * * 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.
82844
+ * The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
82608
82845
  *
82609
82846
  * @param request UnassignPrivateIpAddressesRequest
82610
82847
  * @param runtime runtime options for this request RuntimeOptions
@@ -82667,8 +82904,7 @@ export default class Client extends OpenApi {
82667
82904
  }
82668
82905
 
82669
82906
  /**
82670
- * * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
82671
- * * 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.
82907
+ * The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
82672
82908
  *
82673
82909
  * @param request UnassignPrivateIpAddressesRequest
82674
82910
  * @return UnassignPrivateIpAddressesResponse