@alicloud/ecs20140526 3.0.6 → 3.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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',
@@ -29062,6 +29071,7 @@ export class ModifySnapshotAttributeRequest extends $tea.Model {
29062
29071
  ownerId?: number;
29063
29072
  resourceOwnerAccount?: string;
29064
29073
  resourceOwnerId?: number;
29074
+ retentionDays?: number;
29065
29075
  snapshotId?: string;
29066
29076
  snapshotName?: string;
29067
29077
  static names(): { [key: string]: string } {
@@ -29072,6 +29082,7 @@ export class ModifySnapshotAttributeRequest extends $tea.Model {
29072
29082
  ownerId: 'OwnerId',
29073
29083
  resourceOwnerAccount: 'ResourceOwnerAccount',
29074
29084
  resourceOwnerId: 'ResourceOwnerId',
29085
+ retentionDays: 'RetentionDays',
29075
29086
  snapshotId: 'SnapshotId',
29076
29087
  snapshotName: 'SnapshotName',
29077
29088
  };
@@ -29085,6 +29096,7 @@ export class ModifySnapshotAttributeRequest extends $tea.Model {
29085
29096
  ownerId: 'number',
29086
29097
  resourceOwnerAccount: 'string',
29087
29098
  resourceOwnerId: 'number',
29099
+ retentionDays: 'number',
29088
29100
  snapshotId: 'string',
29089
29101
  snapshotName: 'string',
29090
29102
  };
@@ -32390,6 +32402,7 @@ export class RunInstancesRequest extends $tea.Model {
32390
32402
  affinity?: string;
32391
32403
  amount?: number;
32392
32404
  arn?: RunInstancesRequestArn[];
32405
+ autoPay?: boolean;
32393
32406
  autoReleaseTime?: string;
32394
32407
  autoRenew?: boolean;
32395
32408
  autoRenewPeriod?: number;
@@ -32467,6 +32480,7 @@ export class RunInstancesRequest extends $tea.Model {
32467
32480
  affinity: 'Affinity',
32468
32481
  amount: 'Amount',
32469
32482
  arn: 'Arn',
32483
+ autoPay: 'AutoPay',
32470
32484
  autoReleaseTime: 'AutoReleaseTime',
32471
32485
  autoRenew: 'AutoRenew',
32472
32486
  autoRenewPeriod: 'AutoRenewPeriod',
@@ -32547,6 +32561,7 @@ export class RunInstancesRequest extends $tea.Model {
32547
32561
  affinity: 'string',
32548
32562
  amount: 'number',
32549
32563
  arn: { 'type': 'array', 'itemType': RunInstancesRequestArn },
32564
+ autoPay: 'boolean',
32550
32565
  autoReleaseTime: 'string',
32551
32566
  autoRenew: 'boolean',
32552
32567
  autoRenewPeriod: 'number',
@@ -33125,6 +33140,7 @@ export class StartInstancesResponse extends $tea.Model {
33125
33140
  }
33126
33141
 
33127
33142
  export class StartTerminalSessionRequest extends $tea.Model {
33143
+ commandLine?: string;
33128
33144
  instanceId?: string[];
33129
33145
  ownerAccount?: string;
33130
33146
  ownerId?: number;
@@ -33132,8 +33148,10 @@ export class StartTerminalSessionRequest extends $tea.Model {
33132
33148
  regionId?: string;
33133
33149
  resourceOwnerAccount?: string;
33134
33150
  resourceOwnerId?: number;
33151
+ targetServer?: string;
33135
33152
  static names(): { [key: string]: string } {
33136
33153
  return {
33154
+ commandLine: 'CommandLine',
33137
33155
  instanceId: 'InstanceId',
33138
33156
  ownerAccount: 'OwnerAccount',
33139
33157
  ownerId: 'OwnerId',
@@ -33141,11 +33159,13 @@ export class StartTerminalSessionRequest extends $tea.Model {
33141
33159
  regionId: 'RegionId',
33142
33160
  resourceOwnerAccount: 'ResourceOwnerAccount',
33143
33161
  resourceOwnerId: 'ResourceOwnerId',
33162
+ targetServer: 'TargetServer',
33144
33163
  };
33145
33164
  }
33146
33165
 
33147
33166
  static types(): { [key: string]: any } {
33148
33167
  return {
33168
+ commandLine: 'string',
33149
33169
  instanceId: { 'type': 'array', 'itemType': 'string' },
33150
33170
  ownerAccount: 'string',
33151
33171
  ownerId: 'number',
@@ -33153,6 +33173,7 @@ export class StartTerminalSessionRequest extends $tea.Model {
33153
33173
  regionId: 'string',
33154
33174
  resourceOwnerAccount: 'string',
33155
33175
  resourceOwnerId: 'number',
33176
+ targetServer: 'string',
33156
33177
  };
33157
33178
  }
33158
33179
 
@@ -35002,6 +35023,7 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultIns
35002
35023
  }
35003
35024
 
35004
35025
  export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult extends $tea.Model {
35026
+ amount?: number;
35005
35027
  errorCode?: string;
35006
35028
  errorMsg?: string;
35007
35029
  instanceIds?: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds;
@@ -35010,6 +35032,7 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult ex
35010
35032
  zoneId?: string;
35011
35033
  static names(): { [key: string]: string } {
35012
35034
  return {
35035
+ amount: 'Amount',
35013
35036
  errorCode: 'ErrorCode',
35014
35037
  errorMsg: 'ErrorMsg',
35015
35038
  instanceIds: 'InstanceIds',
@@ -35021,6 +35044,7 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult ex
35021
35044
 
35022
35045
  static types(): { [key: string]: any } {
35023
35046
  return {
35047
+ amount: 'number',
35024
35048
  errorCode: 'string',
35025
35049
  errorMsg: 'string',
35026
35050
  instanceIds: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds,
@@ -42893,6 +42917,7 @@ export class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInst
42893
42917
  punishType?: string;
42894
42918
  punishUrl?: string;
42895
42919
  rack?: string;
42920
+ responseResult?: string;
42896
42921
  static names(): { [key: string]: string } {
42897
42922
  return {
42898
42923
  canAccept: 'CanAccept',
@@ -42908,6 +42933,7 @@ export class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInst
42908
42933
  punishType: 'PunishType',
42909
42934
  punishUrl: 'PunishUrl',
42910
42935
  rack: 'Rack',
42936
+ responseResult: 'ResponseResult',
42911
42937
  };
42912
42938
  }
42913
42939
 
@@ -42926,6 +42952,7 @@ export class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEventSetInst
42926
42952
  punishType: 'string',
42927
42953
  punishUrl: 'string',
42928
42954
  rack: 'string',
42955
+ responseResult: 'string',
42929
42956
  };
42930
42957
  }
42931
42958
 
@@ -45687,6 +45714,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
45687
45714
  systemDisk?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk;
45688
45715
  autoReleaseTime?: string;
45689
45716
  dataDisks?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisks;
45717
+ deletionProtection?: boolean;
45690
45718
  deploymentSetId?: string;
45691
45719
  description?: string;
45692
45720
  enableVmOsConfig?: boolean;
@@ -45725,6 +45753,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
45725
45753
  systemDisk: 'SystemDisk',
45726
45754
  autoReleaseTime: 'AutoReleaseTime',
45727
45755
  dataDisks: 'DataDisks',
45756
+ deletionProtection: 'DeletionProtection',
45728
45757
  deploymentSetId: 'DeploymentSetId',
45729
45758
  description: 'Description',
45730
45759
  enableVmOsConfig: 'EnableVmOsConfig',
@@ -45766,6 +45795,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
45766
45795
  systemDisk: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk,
45767
45796
  autoReleaseTime: 'string',
45768
45797
  dataDisks: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisks,
45798
+ deletionProtection: 'boolean',
45769
45799
  deploymentSetId: 'string',
45770
45800
  description: 'string',
45771
45801
  enableVmOsConfig: 'boolean',
@@ -49485,6 +49515,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapsh
49485
49515
  }
49486
49516
 
49487
49517
  export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshot extends $tea.Model {
49518
+ available?: boolean;
49488
49519
  instantAccess?: boolean;
49489
49520
  instantAccessRetentionDays?: number;
49490
49521
  progress?: string;
@@ -49494,6 +49525,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapsh
49494
49525
  tags?: DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTags;
49495
49526
  static names(): { [key: string]: string } {
49496
49527
  return {
49528
+ available: 'Available',
49497
49529
  instantAccess: 'InstantAccess',
49498
49530
  instantAccessRetentionDays: 'InstantAccessRetentionDays',
49499
49531
  progress: 'Progress',
@@ -49506,6 +49538,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapsh
49506
49538
 
49507
49539
  static types(): { [key: string]: any } {
49508
49540
  return {
49541
+ available: 'boolean',
49509
49542
  instantAccess: 'boolean',
49510
49543
  instantAccessRetentionDays: 'number',
49511
49544
  progress: 'string',
@@ -49891,6 +49924,7 @@ export class DescribeSnapshotsResponseBodySnapshotsSnapshotTags extends $tea.Mod
49891
49924
  }
49892
49925
 
49893
49926
  export class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
49927
+ available?: boolean;
49894
49928
  category?: string;
49895
49929
  creationTime?: string;
49896
49930
  description?: string;
@@ -49919,6 +49953,7 @@ export class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
49919
49953
  usage?: string;
49920
49954
  static names(): { [key: string]: string } {
49921
49955
  return {
49956
+ available: 'Available',
49922
49957
  category: 'Category',
49923
49958
  creationTime: 'CreationTime',
49924
49959
  description: 'Description',
@@ -49950,6 +49985,7 @@ export class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
49950
49985
 
49951
49986
  static types(): { [key: string]: any } {
49952
49987
  return {
49988
+ available: 'boolean',
49953
49989
  category: 'string',
49954
49990
  creationTime: 'string',
49955
49991
  description: 'string',
@@ -54330,9 +54366,10 @@ export default class Client extends OpenApi {
54330
54366
  }
54331
54367
 
54332
54368
  /**
54369
+ * ## Usage notes
54333
54370
  * * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
54334
54371
  * * 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~~).
54372
+ * * 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
54373
  * * 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
54374
  *
54338
54375
  * @param request AssignPrivateIpAddressesRequest
@@ -54408,9 +54445,10 @@ export default class Client extends OpenApi {
54408
54445
  }
54409
54446
 
54410
54447
  /**
54448
+ * ## Usage notes
54411
54449
  * * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
54412
54450
  * * 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~~).
54451
+ * * 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
54452
  * * 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
54453
  *
54416
54454
  * @param request AssignPrivateIpAddressesRequest
@@ -54422,7 +54460,7 @@ export default class Client extends OpenApi {
54422
54460
  }
54423
54461
 
54424
54462
  /**
54425
- * @deprecated
54463
+ * @deprecated : AssociateEipAddress is deprecated, please use Vpc::2016-04-28::AssociateEipAddress instead.
54426
54464
  *
54427
54465
  * @param request AssociateEipAddressRequest
54428
54466
  * @param runtime runtime options for this request RuntimeOptions
@@ -54482,7 +54520,7 @@ export default class Client extends OpenApi {
54482
54520
  }
54483
54521
 
54484
54522
  /**
54485
- * @deprecated
54523
+ * @deprecated : AssociateEipAddress is deprecated, please use Vpc::2016-04-28::AssociateEipAddress instead.
54486
54524
  *
54487
54525
  * @param request AssociateEipAddressRequest
54488
54526
  * @return AssociateEipAddressResponse
@@ -54635,16 +54673,16 @@ export default class Client extends OpenApi {
54635
54673
 
54636
54674
  /**
54637
54675
  * When you call this operation, take note of the following items:
54638
- * * The disk to be attached must be in the **Unattached** (`Available`) state.
54676
+ * * The disk that you want to attach must be in the **Available** state.``
54639
54677
  * * 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.
54678
+ * * The instance must be in the **Running** or **Stopped** state.````
54641
54679
  * * If the disk was separately purchased, the billing method of the disk must be pay-as-you-go.
54642
54680
  * * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
54643
54681
  * * When the disk is attached as a system disk, take note of the following items:
54644
54682
  * * The instance must be the original instance from which the system disk was detached.
54645
54683
  * * The instance must be in the **Stopped** state.``
54646
54684
  * * 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.
54685
+ * * 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
54686
  *
54649
54687
  * @param request AttachDiskRequest
54650
54688
  * @param runtime runtime options for this request RuntimeOptions
@@ -54716,16 +54754,16 @@ export default class Client extends OpenApi {
54716
54754
 
54717
54755
  /**
54718
54756
  * When you call this operation, take note of the following items:
54719
- * * The disk to be attached must be in the **Unattached** (`Available`) state.
54757
+ * * The disk that you want to attach must be in the **Available** state.``
54720
54758
  * * 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.
54759
+ * * The instance must be in the **Running** or **Stopped** state.````
54722
54760
  * * If the disk was separately purchased, the billing method of the disk must be pay-as-you-go.
54723
54761
  * * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
54724
54762
  * * When the disk is attached as a system disk, take note of the following items:
54725
54763
  * * The instance must be the original instance from which the system disk was detached.
54726
54764
  * * The instance must be in the **Stopped** state.``
54727
54765
  * * 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.
54766
+ * * 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
54767
  *
54730
54768
  * @param request AttachDiskRequest
54731
54769
  * @return AttachDiskResponse
@@ -54789,11 +54827,11 @@ export default class Client extends OpenApi {
54789
54827
  }
54790
54828
 
54791
54829
  /**
54792
- * When you call this operation, take note of the following items:
54830
+ * Take note of the following items:
54793
54831
  * * SSH key pairs are not supported on Windows instances.
54794
54832
  * * 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.
54833
+ * * 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.
54834
+ * * 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
54835
  * * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
54798
54836
  *
54799
54837
  * @param request AttachKeyPairRequest
@@ -54845,11 +54883,11 @@ export default class Client extends OpenApi {
54845
54883
  }
54846
54884
 
54847
54885
  /**
54848
- * When you call this operation, take note of the following items:
54886
+ * Take note of the following items:
54849
54887
  * * SSH key pairs are not supported on Windows instances.
54850
54888
  * * 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.
54889
+ * * 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.
54890
+ * * 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
54891
  * * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
54854
54892
  *
54855
54893
  * @param request AttachKeyPairRequest
@@ -54961,18 +54999,18 @@ export default class Client extends OpenApi {
54961
54999
  }
54962
55000
 
54963
55001
  /**
54964
- * In security group-related API documents, traffic is sent from the source to the destination.
55002
+ * 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
55003
  * 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.
55004
+ * * 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.
55005
+ * * The valid value of Priority ranges from 1 to 100. A smaller value specifies a higher priority.
54968
55006
  * * If several security group rules have the same priority, drop rules take precedence.
54969
55007
  * * 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
55008
  * * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
54971
55009
  * * 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.
55010
+ * * If the specified security group rule already exists in the security group, the call is successful but no security group rule is created.
55011
+ * * 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
55012
  * * 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:
55013
+ * * 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
55014
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
54977
55015
  * &SecurityGroupId=sg-bp67acfmxazb4p****
54978
55016
  * &Permissions.1.SourceCidrIp=10.0.0.0/8
@@ -54981,7 +55019,7 @@ export default class Client extends OpenApi {
54981
55019
  * &Permissions.1.NicType=intranet
54982
55020
  * &Permissions.1.Policy=Accept
54983
55021
  * &<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:
55022
+ * * 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
55023
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
54986
55024
  * &SecurityGroupId=sg-bp67acfmxazb4p****
54987
55025
  * &Permissions.1.SourceGroupId=sg-1651FBB**
@@ -54991,7 +55029,7 @@ export default class Client extends OpenApi {
54991
55029
  * &Permissions.1.NicType=intranet
54992
55030
  * &Permissions.1.Policy=Drop
54993
55031
  * &<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:
55032
+ * * 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
55033
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
54996
55034
  * &SecurityGroupId=sg-bp67acfmxazb4p****
54997
55035
  * &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
@@ -55136,18 +55174,18 @@ export default class Client extends OpenApi {
55136
55174
  }
55137
55175
 
55138
55176
  /**
55139
- * In security group-related API documents, traffic is sent from the source to the destination.
55177
+ * 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
55178
  * 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.
55179
+ * * 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.
55180
+ * * The valid value of Priority ranges from 1 to 100. A smaller value specifies a higher priority.
55143
55181
  * * If several security group rules have the same priority, drop rules take precedence.
55144
55182
  * * 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
55183
  * * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
55146
55184
  * * 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.
55185
+ * * If the specified security group rule already exists in the security group, the call is successful but no security group rule is created.
55186
+ * * 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
55187
  * * 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:
55188
+ * * 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
55189
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
55152
55190
  * &SecurityGroupId=sg-bp67acfmxazb4p****
55153
55191
  * &Permissions.1.SourceCidrIp=10.0.0.0/8
@@ -55156,7 +55194,7 @@ export default class Client extends OpenApi {
55156
55194
  * &Permissions.1.NicType=intranet
55157
55195
  * &Permissions.1.Policy=Accept
55158
55196
  * &<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:
55197
+ * * 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
55198
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
55161
55199
  * &SecurityGroupId=sg-bp67acfmxazb4p****
55162
55200
  * &Permissions.1.SourceGroupId=sg-1651FBB**
@@ -55166,7 +55204,7 @@ export default class Client extends OpenApi {
55166
55204
  * &Permissions.1.NicType=intranet
55167
55205
  * &Permissions.1.Policy=Drop
55168
55206
  * &<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:
55207
+ * * 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
55208
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
55171
55209
  * &SecurityGroupId=sg-bp67acfmxazb4p****
55172
55210
  * &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
@@ -55187,7 +55225,47 @@ export default class Client extends OpenApi {
55187
55225
  }
55188
55226
 
55189
55227
  /**
55190
- * The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
55228
+ * 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.
55229
+ * When you call this operation, take note of the following items:
55230
+ * * 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~~).
55231
+ * * You can set Policy to accept or drop for each security group rule to allow or deny access.
55232
+ * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
55233
+ * * When several security group rules have the same priority, drop rules take precedence.
55234
+ * * 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.
55235
+ * * For advanced security groups, security groups cannot be used as authorization objects.
55236
+ * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
55237
+ * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
55238
+ * * 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`.
55239
+ * * 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.
55240
+ * * 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:
55241
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55242
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55243
+ * &Permissions.1.IpProtocol=ICMP
55244
+ * &Permissions.1.DestCidrIp=10.0.0.0/8
55245
+ * &Permissions.1.PortRange=-1/-1
55246
+ * &Permissions.1.NicType=intranet
55247
+ * &Permissions.1.Policy=Accept
55248
+ * &<Common request parameters>
55249
+ * * 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:
55250
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55251
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55252
+ * &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
55253
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
55254
+ * &Permissions.1.IpProtocol=TCP
55255
+ * &Permissions.1.PortRange=22/22
55256
+ * &Permissions.1.NicType=intranet
55257
+ * &Permissions.1.Policy=Drop
55258
+ * &<Common request parameters>
55259
+ * * 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:
55260
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55261
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55262
+ * &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
55263
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
55264
+ * &Permissions.1.IpProtocol=TCP
55265
+ * &Permissions.1.PortRange=22/22
55266
+ * &Permissions.1.NicType=intranet
55267
+ * &Permissions.1.Policy=Drop
55268
+ * &<Common request parameters>
55191
55269
  *
55192
55270
  * @param request AuthorizeSecurityGroupEgressRequest
55193
55271
  * @param runtime runtime options for this request RuntimeOptions
@@ -55322,7 +55400,47 @@ export default class Client extends OpenApi {
55322
55400
  }
55323
55401
 
55324
55402
  /**
55325
- * The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
55403
+ * 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.
55404
+ * When you call this operation, take note of the following items:
55405
+ * * 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~~).
55406
+ * * You can set Policy to accept or drop for each security group rule to allow or deny access.
55407
+ * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
55408
+ * * When several security group rules have the same priority, drop rules take precedence.
55409
+ * * 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.
55410
+ * * For advanced security groups, security groups cannot be used as authorization objects.
55411
+ * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
55412
+ * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
55413
+ * * 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`.
55414
+ * * 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.
55415
+ * * 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:
55416
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55417
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55418
+ * &Permissions.1.IpProtocol=ICMP
55419
+ * &Permissions.1.DestCidrIp=10.0.0.0/8
55420
+ * &Permissions.1.PortRange=-1/-1
55421
+ * &Permissions.1.NicType=intranet
55422
+ * &Permissions.1.Policy=Accept
55423
+ * &<Common request parameters>
55424
+ * * 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:
55425
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55426
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55427
+ * &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
55428
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
55429
+ * &Permissions.1.IpProtocol=TCP
55430
+ * &Permissions.1.PortRange=22/22
55431
+ * &Permissions.1.NicType=intranet
55432
+ * &Permissions.1.Policy=Drop
55433
+ * &<Common request parameters>
55434
+ * * 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:
55435
+ * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
55436
+ * &SecurityGroupId=sg-bp67acfmxazb4ph***
55437
+ * &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
55438
+ * &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
55439
+ * &Permissions.1.IpProtocol=TCP
55440
+ * &Permissions.1.PortRange=22/22
55441
+ * &Permissions.1.NicType=intranet
55442
+ * &Permissions.1.Policy=Drop
55443
+ * &<Common request parameters>
55326
55444
  *
55327
55445
  * @param request AuthorizeSecurityGroupEgressRequest
55328
55446
  * @return AuthorizeSecurityGroupEgressResponse
@@ -55923,9 +56041,9 @@ export default class Client extends OpenApi {
55923
56041
 
55924
56042
  /**
55925
56043
  * When you call this operation, take note of the following items:
55926
- * * New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
55927
- * * Encrypted snapshots cannot be copied.
55928
- * * Local snapshots cannot be copied.
56044
+ * - New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
56045
+ * - Encrypted snapshots cannot be copied.
56046
+ * - Local snapshots cannot be copied.
55929
56047
  *
55930
56048
  * @param request CopySnapshotRequest
55931
56049
  * @param runtime runtime options for this request RuntimeOptions
@@ -55950,6 +56068,10 @@ export default class Client extends OpenApi {
55950
56068
  query["DestinationSnapshotName"] = request.destinationSnapshotName;
55951
56069
  }
55952
56070
 
56071
+ if (!Util.isUnset(request.destinationStorageLocationArn)) {
56072
+ query["DestinationStorageLocationArn"] = request.destinationStorageLocationArn;
56073
+ }
56074
+
55953
56075
  if (!Util.isUnset(request.encrypted)) {
55954
56076
  query["Encrypted"] = request.encrypted;
55955
56077
  }
@@ -56009,9 +56131,9 @@ export default class Client extends OpenApi {
56009
56131
 
56010
56132
  /**
56011
56133
  * When you call this operation, take note of the following items:
56012
- * * New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
56013
- * * Encrypted snapshots cannot be copied.
56014
- * * Local snapshots cannot be copied.
56134
+ * - New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
56135
+ * - Encrypted snapshots cannot be copied.
56136
+ * - Local snapshots cannot be copied.
56015
56137
  *
56016
56138
  * @param request CopySnapshotRequest
56017
56139
  * @return CopySnapshotResponse
@@ -56022,8 +56144,19 @@ export default class Client extends OpenApi {
56022
56144
  }
56023
56145
 
56024
56146
  /**
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.
56147
+ * 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.
56148
+ * 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:
56149
+ * * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
56150
+ * * CentOS 6, CentOS 7, CentOS 8, and later
56151
+ * * Debian 8, Debian 9, Debian 10, and later
56152
+ * * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
56153
+ * * CoreOS
56154
+ * * OpenSUSE
56155
+ * * Red Hat 5, Red Hat 6, Red Hat 7, and later
56156
+ * * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
56157
+ * * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
56158
+ * 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.
56159
+ * > 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
56160
  *
56028
56161
  * @param request CreateActivationRequest
56029
56162
  * @param runtime runtime options for this request RuntimeOptions
@@ -56098,8 +56231,19 @@ export default class Client extends OpenApi {
56098
56231
  }
56099
56232
 
56100
56233
  /**
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.
56234
+ * 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.
56235
+ * 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:
56236
+ * * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
56237
+ * * CentOS 6, CentOS 7, CentOS 8, and later
56238
+ * * Debian 8, Debian 9, Debian 10, and later
56239
+ * * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
56240
+ * * CoreOS
56241
+ * * OpenSUSE
56242
+ * * Red Hat 5, Red Hat 6, Red Hat 7, and later
56243
+ * * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
56244
+ * * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
56245
+ * 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.
56246
+ * > 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
56247
  *
56104
56248
  * @param request CreateActivationRequest
56105
56249
  * @return CreateActivationResponse
@@ -56282,10 +56426,10 @@ export default class Client extends OpenApi {
56282
56426
  }
56283
56427
 
56284
56428
  /**
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.
56429
+ * 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.
56430
+ * Take note of the following items:
56431
+ * * You can create a maximum of 100 automatic snapshot policies per region for a single Alibaba Cloud account.
56432
+ * * 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
56433
  * * For information about how to copy a snapshot from one region to another, see the "Background information" section in [Copy a snapshot](~~159441~~).
56290
56434
  *
56291
56435
  * @param request CreateAutoSnapshotPolicyRequest
@@ -56369,10 +56513,10 @@ export default class Client extends OpenApi {
56369
56513
  }
56370
56514
 
56371
56515
  /**
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.
56516
+ * 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.
56517
+ * Take note of the following items:
56518
+ * * You can create a maximum of 100 automatic snapshot policies per region for a single Alibaba Cloud account.
56519
+ * * 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
56520
  * * For information about how to copy a snapshot from one region to another, see the "Background information" section in [Copy a snapshot](~~159441~~).
56377
56521
  *
56378
56522
  * @param request CreateAutoSnapshotPolicyRequest
@@ -56500,19 +56644,7 @@ export default class Client extends OpenApi {
56500
56644
  }
56501
56645
 
56502
56646
  /**
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.
56647
+ * 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
56648
  *
56517
56649
  * @param request CreateCommandRequest
56518
56650
  * @param runtime runtime options for this request RuntimeOptions
@@ -56599,19 +56731,7 @@ export default class Client extends OpenApi {
56599
56731
  }
56600
56732
 
56601
56733
  /**
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.
56734
+ * 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
56735
  *
56616
56736
  * @param request CreateCommandRequest
56617
56737
  * @return CreateCommandResponse
@@ -56964,12 +57084,12 @@ export default class Client extends OpenApi {
56964
57084
  }
56965
57085
 
56966
57086
  /**
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~~).
57087
+ * * 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
57088
  * * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
56969
57089
  * * 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.
57090
+ * * 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.
57091
+ * * 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.
57092
+ * * 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
57093
  *
56974
57094
  * @param request CreateDiskRequest
56975
57095
  * @param runtime runtime options for this request RuntimeOptions
@@ -57104,12 +57224,12 @@ export default class Client extends OpenApi {
57104
57224
  }
57105
57225
 
57106
57226
  /**
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~~).
57227
+ * * 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
57228
  * * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
57109
57229
  * * 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.
57230
+ * * 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.
57231
+ * * 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.
57232
+ * * 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
57233
  *
57114
57234
  * @param request CreateDiskRequest
57115
57235
  * @return CreateDiskResponse
@@ -57120,7 +57240,7 @@ export default class Client extends OpenApi {
57120
57240
  }
57121
57241
 
57122
57242
  /**
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~~).
57243
+ * 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
57244
  * * Elasticity assurances are not refundable after purchase.
57125
57245
  * * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
57126
57246
  * * 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 +57342,7 @@ export default class Client extends OpenApi {
57222
57342
  }
57223
57343
 
57224
57344
  /**
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~~).
57345
+ * 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
57346
  * * Elasticity assurances are not refundable after purchase.
57227
57347
  * * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
57228
57348
  * * 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 +57712,18 @@ export default class Client extends OpenApi {
57592
57712
  return await this.createImageWithOptions(request, runtime);
57593
57713
  }
57594
57714
 
57715
+ /**
57716
+ * Take note of the following items:
57717
+ * * Only custom image components can be created.
57718
+ * * The images must run Linux operating systems. This indicates that you must set `SystemType` to Linux.
57719
+ * * You must set the image component type to image build component by setting the `ComponentType` parameter to Build.
57720
+ * * 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~~).
57721
+ * 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~~).
57722
+ *
57723
+ * @param request CreateImageComponentRequest
57724
+ * @param runtime runtime options for this request RuntimeOptions
57725
+ * @return CreateImageComponentResponse
57726
+ */
57595
57727
  async createImageComponentWithOptions(request: CreateImageComponentRequest, runtime: $Util.RuntimeOptions): Promise<CreateImageComponentResponse> {
57596
57728
  Util.validateModel(request);
57597
57729
  let query = { };
@@ -57672,6 +57804,17 @@ export default class Client extends OpenApi {
57672
57804
  return $tea.cast<CreateImageComponentResponse>(await this.callApi(params, req, runtime), new CreateImageComponentResponse({}));
57673
57805
  }
57674
57806
 
57807
+ /**
57808
+ * Take note of the following items:
57809
+ * * Only custom image components can be created.
57810
+ * * The images must run Linux operating systems. This indicates that you must set `SystemType` to Linux.
57811
+ * * You must set the image component type to image build component by setting the `ComponentType` parameter to Build.
57812
+ * * 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~~).
57813
+ * 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~~).
57814
+ *
57815
+ * @param request CreateImageComponentRequest
57816
+ * @return CreateImageComponentResponse
57817
+ */
57675
57818
  async createImageComponent(request: CreateImageComponentRequest): Promise<CreateImageComponentResponse> {
57676
57819
  let runtime = new $Util.RuntimeOptions({ });
57677
57820
  return await this.createImageComponentWithOptions(request, runtime);
@@ -58269,6 +58412,10 @@ export default class Client extends OpenApi {
58269
58412
  query["DataDisk"] = request.dataDisk;
58270
58413
  }
58271
58414
 
58415
+ if (!Util.isUnset(request.deletionProtection)) {
58416
+ query["DeletionProtection"] = request.deletionProtection;
58417
+ }
58418
+
58272
58419
  if (!Util.isUnset(request.deploymentSetId)) {
58273
58420
  query["DeploymentSetId"] = request.deploymentSetId;
58274
58421
  }
@@ -58497,6 +58644,10 @@ export default class Client extends OpenApi {
58497
58644
  query["DataDisk"] = request.dataDisk;
58498
58645
  }
58499
58646
 
58647
+ if (!Util.isUnset(request.deletionProtection)) {
58648
+ query["DeletionProtection"] = request.deletionProtection;
58649
+ }
58650
+
58500
58651
  if (!Util.isUnset(request.deploymentSetId)) {
58501
58652
  query["DeploymentSetId"] = request.deploymentSetId;
58502
58653
  }
@@ -58778,11 +58929,12 @@ export default class Client extends OpenApi {
58778
58929
  }
58779
58930
 
58780
58931
  /**
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.
58932
+ * ## Usage notes
58933
+ * Take note of the following items:
58934
+ * * 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.
58935
+ * * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
58784
58936
  * * 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.
58937
+ * * 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
58938
  * * 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
58939
  * * 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
58940
  * **For information about examples on how to call this operation, see **[Create an ENI](~~471552~~).
@@ -58928,11 +59080,12 @@ export default class Client extends OpenApi {
58928
59080
  }
58929
59081
 
58930
59082
  /**
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.
59083
+ * ## Usage notes
59084
+ * Take note of the following items:
59085
+ * * 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.
59086
+ * * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
58934
59087
  * * 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.
59088
+ * * 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
59089
  * * 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
59090
  * * 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
59091
  * **For information about examples on how to call this operation, see **[Create an ENI](~~471552~~).
@@ -59438,7 +59591,7 @@ export default class Client extends OpenApi {
59438
59591
 
59439
59592
  /**
59440
59593
  * 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.
59594
+ * * You can create up to 100 security groups in a single Alibaba Cloud region.
59442
59595
  * * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
59443
59596
  *
59444
59597
  * @param request CreateSecurityGroupRequest
@@ -59519,7 +59672,7 @@ export default class Client extends OpenApi {
59519
59672
 
59520
59673
  /**
59521
59674
  * 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.
59675
+ * * You can create up to 100 security groups in a single Alibaba Cloud region.
59523
59676
  * * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
59524
59677
  *
59525
59678
  * @param request CreateSecurityGroupRequest
@@ -59532,7 +59685,7 @@ export default class Client extends OpenApi {
59532
59685
 
59533
59686
  /**
59534
59687
  * 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:
59688
+ * The following descriptions provide the lifecycle of a simulated system event:
59536
59689
  * * Scheduled: The state of the simulated system event is automatically changed to Scheduled after it is scheduled.
59537
59690
  * * 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
59691
  * * 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 +59753,7 @@ export default class Client extends OpenApi {
59600
59753
 
59601
59754
  /**
59602
59755
  * 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:
59756
+ * The following descriptions provide the lifecycle of a simulated system event:
59604
59757
  * * Scheduled: The state of the simulated system event is automatically changed to Scheduled after it is scheduled.
59605
59758
  * * 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
59759
  * * 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 +59768,7 @@ export default class Client extends OpenApi {
59615
59768
  }
59616
59769
 
59617
59770
  /**
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.``
59771
+ * The request ID.
59633
59772
  *
59634
59773
  * @param request CreateSnapshotRequest
59635
59774
  * @param runtime runtime options for this request RuntimeOptions
@@ -59716,21 +59855,7 @@ export default class Client extends OpenApi {
59716
59855
  }
59717
59856
 
59718
59857
  /**
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.``
59858
+ * The request ID.
59734
59859
  *
59735
59860
  * @param request CreateSnapshotRequest
59736
59861
  * @return CreateSnapshotResponse
@@ -60275,8 +60400,7 @@ export default class Client extends OpenApi {
60275
60400
  }
60276
60401
 
60277
60402
  /**
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.
60403
+ * $.parameters[4].schema.description
60280
60404
  *
60281
60405
  * @param request DeleteActivationRequest
60282
60406
  * @param runtime runtime options for this request RuntimeOptions
@@ -60331,8 +60455,7 @@ export default class Client extends OpenApi {
60331
60455
  }
60332
60456
 
60333
60457
  /**
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.
60458
+ * $.parameters[4].schema.description
60336
60459
  *
60337
60460
  * @param request DeleteActivationRequest
60338
60461
  * @return DeleteActivationResponse
@@ -61331,14 +61454,14 @@ export default class Client extends OpenApi {
61331
61454
  }
61332
61455
 
61333
61456
  /**
61334
- * * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
61457
+ * * 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
61458
  * * 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.
61459
+ * * The disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks.
61460
+ * * The disks for which `DeleteWithInstance` is set to true are released together with the instance.
61461
+ * * For disks for which `DeleteAutoSnapshot` is set to false, the automatic snapshots of the disks are retained.
61462
+ * * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
61340
61463
  * * 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~~).
61464
+ * * 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
61465
  *
61343
61466
  * @param request DeleteInstancesRequest
61344
61467
  * @param runtime runtime options for this request RuntimeOptions
@@ -61405,14 +61528,14 @@ export default class Client extends OpenApi {
61405
61528
  }
61406
61529
 
61407
61530
  /**
61408
- * * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
61531
+ * * 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
61532
  * * 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.
61533
+ * * The disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks.
61534
+ * * The disks for which `DeleteWithInstance` is set to true are released together with the instance.
61535
+ * * For disks for which `DeleteAutoSnapshot` is set to false, the automatic snapshots of the disks are retained.
61536
+ * * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
61414
61537
  * * 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~~).
61538
+ * * 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
61539
  *
61417
61540
  * @param request DeleteInstancesRequest
61418
61541
  * @return DeleteInstancesResponse
@@ -61659,19 +61782,15 @@ export default class Client extends OpenApi {
61659
61782
  }
61660
61783
 
61661
61784
  /**
61662
- * ## Description
61785
+ * ##
61663
61786
  * * 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.
61787
+ * * 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.
61788
+ * * After an ENI is deleted, the following situations occur:
61789
+ * * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
61667
61790
  * * The ENI is automatically removed from its security groups.
61668
61791
  * * 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~~).
61792
+ * ![](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.
61793
+ * **For information about examples on how to call this operation, see **[Delete an ENI](~~471553~~).
61675
61794
  *
61676
61795
  * @param request DeleteNetworkInterfaceRequest
61677
61796
  * @param runtime runtime options for this request RuntimeOptions
@@ -61726,19 +61845,15 @@ export default class Client extends OpenApi {
61726
61845
  }
61727
61846
 
61728
61847
  /**
61729
- * ## Description
61848
+ * ##
61730
61849
  * * 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.
61850
+ * * 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.
61851
+ * * After an ENI is deleted, the following situations occur:
61852
+ * * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
61734
61853
  * * The ENI is automatically removed from its security groups.
61735
61854
  * * 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~~).
61855
+ * ![](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.
61856
+ * **For information about examples on how to call this operation, see **[Delete an ENI](~~471553~~).
61742
61857
  *
61743
61858
  * @param request DeleteNetworkInterfaceRequest
61744
61859
  * @return DeleteNetworkInterfaceResponse
@@ -61749,7 +61864,7 @@ export default class Client extends OpenApi {
61749
61864
  }
61750
61865
 
61751
61866
  /**
61752
- * @deprecated
61867
+ * @deprecated : DeleteNetworkInterfacePermission is deprecated, please use Ecs::2014-05-26::DeleteNetworkInterface instead.
61753
61868
  *
61754
61869
  * @param request DeleteNetworkInterfacePermissionRequest
61755
61870
  * @param runtime runtime options for this request RuntimeOptions
@@ -61809,7 +61924,7 @@ export default class Client extends OpenApi {
61809
61924
  }
61810
61925
 
61811
61926
  /**
61812
- * @deprecated
61927
+ * @deprecated : DeleteNetworkInterfacePermission is deprecated, please use Ecs::2014-05-26::DeleteNetworkInterface instead.
61813
61928
  *
61814
61929
  * @param request DeleteNetworkInterfacePermissionRequest
61815
61930
  * @return DeleteNetworkInterfacePermissionResponse
@@ -62102,6 +62217,13 @@ export default class Client extends OpenApi {
62102
62217
  return await this.deleteRouterInterfaceWithOptions(request, runtime);
62103
62218
  }
62104
62219
 
62220
+ /**
62221
+ * 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.
62222
+ *
62223
+ * @param request DeleteSecurityGroupRequest
62224
+ * @param runtime runtime options for this request RuntimeOptions
62225
+ * @return DeleteSecurityGroupResponse
62226
+ */
62105
62227
  async deleteSecurityGroupWithOptions(request: DeleteSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSecurityGroupResponse> {
62106
62228
  Util.validateModel(request);
62107
62229
  let query = { };
@@ -62146,6 +62268,12 @@ export default class Client extends OpenApi {
62146
62268
  return $tea.cast<DeleteSecurityGroupResponse>(await this.callApi(params, req, runtime), new DeleteSecurityGroupResponse({}));
62147
62269
  }
62148
62270
 
62271
+ /**
62272
+ * 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.
62273
+ *
62274
+ * @param request DeleteSecurityGroupRequest
62275
+ * @return DeleteSecurityGroupResponse
62276
+ */
62149
62277
  async deleteSecurityGroup(request: DeleteSecurityGroupRequest): Promise<DeleteSecurityGroupResponse> {
62150
62278
  let runtime = new $Util.RuntimeOptions({ });
62151
62279
  return await this.deleteSecurityGroupWithOptions(request, runtime);
@@ -63464,10 +63592,10 @@ export default class Client extends OpenApi {
63464
63592
  }
63465
63593
 
63466
63594
  /**
63467
- * When you call this operation, take note of the following items:
63595
+ * Take note of the following items:
63468
63596
  * * 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.
63597
+ * * You can query a maximum of 100 instances that reside in the classic network at a time.
63598
+ * * At least one of the `VpcId` and `InstanceId` parameters must be configured.
63471
63599
  *
63472
63600
  * @param request DescribeClassicLinkInstancesRequest
63473
63601
  * @param runtime runtime options for this request RuntimeOptions
@@ -63526,10 +63654,10 @@ export default class Client extends OpenApi {
63526
63654
  }
63527
63655
 
63528
63656
  /**
63529
- * When you call this operation, take note of the following items:
63657
+ * Take note of the following items:
63530
63658
  * * 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.
63659
+ * * You can query a maximum of 100 instances that reside in the classic network at a time.
63660
+ * * At least one of the `VpcId` and `InstanceId` parameters must be configured.
63533
63661
  *
63534
63662
  * @param request DescribeClassicLinkInstancesRequest
63535
63663
  * @return DescribeClassicLinkInstancesResponse
@@ -63665,7 +63793,7 @@ export default class Client extends OpenApi {
63665
63793
  }
63666
63794
 
63667
63795
  /**
63668
- * The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
63796
+ * 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
63797
  *
63670
63798
  * @param request DescribeCommandsRequest
63671
63799
  * @param runtime runtime options for this request RuntimeOptions
@@ -63756,7 +63884,7 @@ export default class Client extends OpenApi {
63756
63884
  }
63757
63885
 
63758
63886
  /**
63759
- * The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
63887
+ * 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
63888
  *
63761
63889
  * @param request DescribeCommandsRequest
63762
63890
  * @return DescribeCommandsResponse
@@ -63963,9 +64091,10 @@ export default class Client extends OpenApi {
63963
64091
  }
63964
64092
 
63965
64093
  /**
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.
64094
+ * ## Usage notes
64095
+ * You can use one of the following methods to query the details of dedicated hosts:
64096
+ * * Specify `DedicatedHostIds` to query the details of dedicated hosts.
64097
+ * * Specify `DedicatedHostClusterId` to query the details of the dedicated hosts in a dedicated host cluster.
63969
64098
  *
63970
64099
  * @param request DescribeDedicatedHostsRequest
63971
64100
  * @param runtime runtime options for this request RuntimeOptions
@@ -64060,9 +64189,10 @@ export default class Client extends OpenApi {
64060
64189
  }
64061
64190
 
64062
64191
  /**
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.
64192
+ * ## Usage notes
64193
+ * You can use one of the following methods to query the details of dedicated hosts:
64194
+ * * Specify `DedicatedHostIds` to query the details of dedicated hosts.
64195
+ * * Specify `DedicatedHostClusterId` to query the details of the dedicated hosts in a dedicated host cluster.
64066
64196
  *
64067
64197
  * @param request DescribeDedicatedHostsRequest
64068
64198
  * @return DescribeDedicatedHostsResponse
@@ -64073,7 +64203,9 @@ export default class Client extends OpenApi {
64073
64203
  }
64074
64204
 
64075
64205
  /**
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.
64206
+ * 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.
64207
+ * By default, the filing tickets of I/O optimized VPC-type instances are queried.
64208
+ * For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
64077
64209
  *
64078
64210
  * @param request DescribeDemandsRequest
64079
64211
  * @param runtime runtime options for this request RuntimeOptions
@@ -64168,7 +64300,9 @@ export default class Client extends OpenApi {
64168
64300
  }
64169
64301
 
64170
64302
  /**
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.
64303
+ * 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.
64304
+ * By default, the filing tickets of I/O optimized VPC-type instances are queried.
64305
+ * For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
64172
64306
  *
64173
64307
  * @param request DescribeDemandsRequest
64174
64308
  * @return DescribeDemandsResponse
@@ -64179,7 +64313,8 @@ export default class Client extends OpenApi {
64179
64313
  }
64180
64314
 
64181
64315
  /**
64182
- * For more information about instance families, see [Instance families](~~25378~~).
64316
+ * ## Usage notes
64317
+ * For more information about instance families, see [Overview of instance families](~~25378~~).
64183
64318
  *
64184
64319
  * @param request DescribeDeploymentSetSupportedInstanceTypeFamilyRequest
64185
64320
  * @param runtime runtime options for this request RuntimeOptions
@@ -64230,7 +64365,8 @@ export default class Client extends OpenApi {
64230
64365
  }
64231
64366
 
64232
64367
  /**
64233
- * For more information about instance families, see [Instance families](~~25378~~).
64368
+ * ## Usage notes
64369
+ * For more information about instance families, see [Overview of instance families](~~25378~~).
64234
64370
  *
64235
64371
  * @param request DescribeDeploymentSetSupportedInstanceTypeFamilyRequest
64236
64372
  * @return DescribeDeploymentSetSupportedInstanceTypeFamilyResponse
@@ -64768,7 +64904,7 @@ export default class Client extends OpenApi {
64768
64904
  }
64769
64905
 
64770
64906
  /**
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.
64907
+ * * 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
64908
  * * 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
64909
  *
64774
64910
  * @param request DescribeDisksFullStatusRequest
@@ -64860,7 +64996,7 @@ export default class Client extends OpenApi {
64860
64996
  }
64861
64997
 
64862
64998
  /**
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.
64999
+ * * 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
65000
  * * 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
65001
  *
64866
65002
  * @param request DescribeDisksFullStatusRequest
@@ -65207,10 +65343,9 @@ export default class Client extends OpenApi {
65207
65343
  }
65208
65344
 
65209
65345
  /**
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.
65346
+ * 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:
65347
+ * * 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.
65348
+ * * 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
65349
  *
65215
65350
  * @param request DescribeEniMonitorDataRequest
65216
65351
  * @param runtime runtime options for this request RuntimeOptions
@@ -65277,10 +65412,9 @@ export default class Client extends OpenApi {
65277
65412
  }
65278
65413
 
65279
65414
  /**
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.
65415
+ * 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:
65416
+ * * 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.
65417
+ * * 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
65418
  *
65285
65419
  * @param request DescribeEniMonitorDataRequest
65286
65420
  * @return DescribeEniMonitorDataResponse
@@ -65666,7 +65800,7 @@ export default class Client extends OpenApi {
65666
65800
  /**
65667
65801
  * * 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
65802
  * * 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.
65803
+ * * 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
65804
  *
65671
65805
  * @param request DescribeImagePipelineExecutionsRequest
65672
65806
  * @param runtime runtime options for this request RuntimeOptions
@@ -65743,7 +65877,7 @@ export default class Client extends OpenApi {
65743
65877
  /**
65744
65878
  * * 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
65879
  * * 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.
65880
+ * * 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
65881
  *
65748
65882
  * @param request DescribeImagePipelineExecutionsRequest
65749
65883
  * @return DescribeImagePipelineExecutionsResponse
@@ -65754,6 +65888,7 @@ export default class Client extends OpenApi {
65754
65888
  }
65755
65889
 
65756
65890
  /**
65891
+ * ## Description
65757
65892
  * 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
65893
  *
65759
65894
  * @param request DescribeImagePipelinesRequest
@@ -65833,6 +65968,7 @@ export default class Client extends OpenApi {
65833
65968
  }
65834
65969
 
65835
65970
  /**
65971
+ * ## Description
65836
65972
  * 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
65973
  *
65838
65974
  * @param request DescribeImagePipelinesRequest
@@ -66297,8 +66433,8 @@ export default class Client extends OpenApi {
66297
66433
  }
66298
66434
 
66299
66435
  /**
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.
66436
+ * * 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.
66437
+ * * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
66302
66438
  *
66303
66439
  * @param request DescribeInstanceHistoryEventsRequest
66304
66440
  * @param runtime runtime options for this request RuntimeOptions
@@ -66409,8 +66545,8 @@ export default class Client extends OpenApi {
66409
66545
  }
66410
66546
 
66411
66547
  /**
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.
66548
+ * * 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.
66549
+ * * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
66414
66550
  *
66415
66551
  * @param request DescribeInstanceHistoryEventsRequest
66416
66552
  * @return DescribeInstanceHistoryEventsResponse
@@ -66423,7 +66559,7 @@ export default class Client extends OpenApi {
66423
66559
  /**
66424
66560
  * This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
66425
66561
  * * Maintenance window: the time period that you specify for maintenance.
66426
- * * Maintenance action: the policy that you specify in response to instance shutdown.
66562
+ * * Maintenance action: the action that you specify in response to instance shutdown.
66427
66563
  *
66428
66564
  * @param request DescribeInstanceMaintenanceAttributesRequest
66429
66565
  * @param runtime runtime options for this request RuntimeOptions
@@ -66484,7 +66620,7 @@ export default class Client extends OpenApi {
66484
66620
  /**
66485
66621
  * This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
66486
66622
  * * Maintenance window: the time period that you specify for maintenance.
66487
- * * Maintenance action: the policy that you specify in response to instance shutdown.
66623
+ * * Maintenance action: the action that you specify in response to instance shutdown.
66488
66624
  *
66489
66625
  * @param request DescribeInstanceMaintenanceAttributesRequest
66490
66626
  * @return DescribeInstanceMaintenanceAttributesResponse
@@ -66495,7 +66631,9 @@ export default class Client extends OpenApi {
66495
66631
  }
66496
66632
 
66497
66633
  /**
66498
- * The price.
66634
+ * * 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.
66635
+ * * 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.
66636
+ * * 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
66637
  *
66500
66638
  * @param request DescribeInstanceModificationPriceRequest
66501
66639
  * @param runtime runtime options for this request RuntimeOptions
@@ -66558,7 +66696,9 @@ export default class Client extends OpenApi {
66558
66696
  }
66559
66697
 
66560
66698
  /**
66561
- * The price.
66699
+ * * 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.
66700
+ * * 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.
66701
+ * * 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
66702
  *
66563
66703
  * @param request DescribeInstanceModificationPriceRequest
66564
66704
  * @return DescribeInstanceModificationPriceResponse
@@ -66569,7 +66709,7 @@ export default class Client extends OpenApi {
66569
66709
  }
66570
66710
 
66571
66711
  /**
66572
- * When you call this operation, take note of the following items:
66712
+ * Take note of the following items:
66573
66713
  * * 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
66714
  * * 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
66715
  * * 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 +66771,7 @@ export default class Client extends OpenApi {
66631
66771
  }
66632
66772
 
66633
66773
  /**
66634
- * When you call this operation, take note of the following items:
66774
+ * Take note of the following items:
66635
66775
  * * 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
66776
  * * 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
66777
  * * 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 +66784,14 @@ export default class Client extends OpenApi {
66644
66784
  return await this.describeInstanceMonitorDataWithOptions(request, runtime);
66645
66785
  }
66646
66786
 
66787
+ /**
66788
+ * ## Description
66789
+ * 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~~).
66790
+ *
66791
+ * @param request DescribeInstanceRamRoleRequest
66792
+ * @param runtime runtime options for this request RuntimeOptions
66793
+ * @return DescribeInstanceRamRoleResponse
66794
+ */
66647
66795
  async describeInstanceRamRoleWithOptions(request: DescribeInstanceRamRoleRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceRamRoleResponse> {
66648
66796
  Util.validateModel(request);
66649
66797
  let query = { };
@@ -66696,6 +66844,13 @@ export default class Client extends OpenApi {
66696
66844
  return $tea.cast<DescribeInstanceRamRoleResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRamRoleResponse({}));
66697
66845
  }
66698
66846
 
66847
+ /**
66848
+ * ## Description
66849
+ * 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~~).
66850
+ *
66851
+ * @param request DescribeInstanceRamRoleRequest
66852
+ * @return DescribeInstanceRamRoleResponse
66853
+ */
66699
66854
  async describeInstanceRamRole(request: DescribeInstanceRamRoleRequest): Promise<DescribeInstanceRamRoleResponse> {
66700
66855
  let runtime = new $Util.RuntimeOptions({ });
66701
66856
  return await this.describeInstanceRamRoleWithOptions(request, runtime);
@@ -67164,6 +67319,32 @@ export default class Client extends OpenApi {
67164
67319
  return await this.describeInstanceVncPasswdWithOptions(request, runtime);
67165
67320
  }
67166
67321
 
67322
+ /**
67323
+ * ## Description
67324
+ * When you call this operation, take note of the following items:
67325
+ * * 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.
67326
+ * * 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.
67327
+ * * When you disconnect from the VNC management terminal, you can reconnect to the VNC management terminal up to 30 times a minute.
67328
+ * * 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 (`&`).
67329
+ * * `vncUrl:` the `VncUrl` value returned after a successful query.
67330
+ * * `instanceId:` the ID of your instance.
67331
+ * * `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.
67332
+ * * `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.
67333
+ * Example:
67334
+ * ```
67335
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
67336
+ *
67337
+ * ```
67338
+ * Or:
67339
+ * ```
67340
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true&password=****
67341
+ *
67342
+ * ```
67343
+ *
67344
+ * @param request DescribeInstanceVncUrlRequest
67345
+ * @param runtime runtime options for this request RuntimeOptions
67346
+ * @return DescribeInstanceVncUrlResponse
67347
+ */
67167
67348
  async describeInstanceVncUrlWithOptions(request: DescribeInstanceVncUrlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceVncUrlResponse> {
67168
67349
  Util.validateModel(request);
67169
67350
  let query = { };
@@ -67208,6 +67389,31 @@ export default class Client extends OpenApi {
67208
67389
  return $tea.cast<DescribeInstanceVncUrlResponse>(await this.callApi(params, req, runtime), new DescribeInstanceVncUrlResponse({}));
67209
67390
  }
67210
67391
 
67392
+ /**
67393
+ * ## Description
67394
+ * When you call this operation, take note of the following items:
67395
+ * * 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.
67396
+ * * 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.
67397
+ * * When you disconnect from the VNC management terminal, you can reconnect to the VNC management terminal up to 30 times a minute.
67398
+ * * 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 (`&`).
67399
+ * * `vncUrl:` the `VncUrl` value returned after a successful query.
67400
+ * * `instanceId:` the ID of your instance.
67401
+ * * `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.
67402
+ * * `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.
67403
+ * Example:
67404
+ * ```
67405
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
67406
+ *
67407
+ * ```
67408
+ * Or:
67409
+ * ```
67410
+ * https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true&password=****
67411
+ *
67412
+ * ```
67413
+ *
67414
+ * @param request DescribeInstanceVncUrlRequest
67415
+ * @return DescribeInstanceVncUrlResponse
67416
+ */
67211
67417
  async describeInstanceVncUrl(request: DescribeInstanceVncUrlRequest): Promise<DescribeInstanceVncUrlResponse> {
67212
67418
  let runtime = new $Util.RuntimeOptions({ });
67213
67419
  return await this.describeInstanceVncUrlWithOptions(request, runtime);
@@ -67536,7 +67742,9 @@ export default class Client extends OpenApi {
67536
67742
  }
67537
67743
 
67538
67744
  /**
67539
- * The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
67745
+ * The number of times that the command is run on the instance.
67746
+ * * If the command is set to run only once on the instance, the value is 0 or 1.
67747
+ * * 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
67748
  *
67541
67749
  * @param request DescribeInvocationResultsRequest
67542
67750
  * @param runtime runtime options for this request RuntimeOptions
@@ -67627,7 +67835,9 @@ export default class Client extends OpenApi {
67627
67835
  }
67628
67836
 
67629
67837
  /**
67630
- * The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
67838
+ * The number of times that the command is run on the instance.
67839
+ * * If the command is set to run only once on the instance, the value is 0 or 1.
67840
+ * * 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
67841
  *
67632
67842
  * @param request DescribeInvocationResultsRequest
67633
67843
  * @return DescribeInvocationResultsResponse
@@ -67822,6 +68032,14 @@ export default class Client extends OpenApi {
67822
68032
  return await this.describeKeyPairsWithOptions(request, runtime);
67823
68033
  }
67824
68034
 
68035
+ /**
68036
+ * ## Debugging
68037
+ * [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)
68038
+ *
68039
+ * @param request DescribeLaunchTemplateVersionsRequest
68040
+ * @param runtime runtime options for this request RuntimeOptions
68041
+ * @return DescribeLaunchTemplateVersionsResponse
68042
+ */
67825
68043
  async describeLaunchTemplateVersionsWithOptions(request: DescribeLaunchTemplateVersionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLaunchTemplateVersionsResponse> {
67826
68044
  Util.validateModel(request);
67827
68045
  let query = { };
@@ -67898,6 +68116,13 @@ export default class Client extends OpenApi {
67898
68116
  return $tea.cast<DescribeLaunchTemplateVersionsResponse>(await this.callApi(params, req, runtime), new DescribeLaunchTemplateVersionsResponse({}));
67899
68117
  }
67900
68118
 
68119
+ /**
68120
+ * ## Debugging
68121
+ * [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)
68122
+ *
68123
+ * @param request DescribeLaunchTemplateVersionsRequest
68124
+ * @return DescribeLaunchTemplateVersionsResponse
68125
+ */
67901
68126
  async describeLaunchTemplateVersions(request: DescribeLaunchTemplateVersionsRequest): Promise<DescribeLaunchTemplateVersionsResponse> {
67902
68127
  let runtime = new $Util.RuntimeOptions({ });
67903
68128
  return await this.describeLaunchTemplateVersionsWithOptions(request, runtime);
@@ -69449,6 +69674,14 @@ export default class Client extends OpenApi {
69449
69674
  return await this.describeResourceByTagsWithOptions(request, runtime);
69450
69675
  }
69451
69676
 
69677
+ /**
69678
+ * ## Debugging
69679
+ * [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)
69680
+ *
69681
+ * @param request DescribeResourcesModificationRequest
69682
+ * @param runtime runtime options for this request RuntimeOptions
69683
+ * @return DescribeResourcesModificationResponse
69684
+ */
69452
69685
  async describeResourcesModificationWithOptions(request: DescribeResourcesModificationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeResourcesModificationResponse> {
69453
69686
  Util.validateModel(request);
69454
69687
  let query = { };
@@ -69525,6 +69758,13 @@ export default class Client extends OpenApi {
69525
69758
  return $tea.cast<DescribeResourcesModificationResponse>(await this.callApi(params, req, runtime), new DescribeResourcesModificationResponse({}));
69526
69759
  }
69527
69760
 
69761
+ /**
69762
+ * ## Debugging
69763
+ * [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)
69764
+ *
69765
+ * @param request DescribeResourcesModificationRequest
69766
+ * @return DescribeResourcesModificationResponse
69767
+ */
69528
69768
  async describeResourcesModification(request: DescribeResourcesModificationRequest): Promise<DescribeResourcesModificationResponse> {
69529
69769
  let runtime = new $Util.RuntimeOptions({ });
69530
69770
  return await this.describeResourcesModificationWithOptions(request, runtime);
@@ -69812,7 +70052,10 @@ export default class Client extends OpenApi {
69812
70052
  }
69813
70053
 
69814
70054
  /**
69815
- * The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
70055
+ * Take note of the following items:
70056
+ * * The basic information about security groups includes their IDs and descriptions. The response returns security groups ordered in descending order based on their IDs.
70057
+ * * 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.
70058
+ * * 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
70059
  *
69817
70060
  * @param request DescribeSecurityGroupsRequest
69818
70061
  * @param runtime runtime options for this request RuntimeOptions
@@ -69919,7 +70162,10 @@ export default class Client extends OpenApi {
69919
70162
  }
69920
70163
 
69921
70164
  /**
69922
- * The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
70165
+ * Take note of the following items:
70166
+ * * The basic information about security groups includes their IDs and descriptions. The response returns security groups ordered in descending order based on their IDs.
70167
+ * * 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.
70168
+ * * 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
70169
  *
69924
70170
  * @param request DescribeSecurityGroupsRequest
69925
70171
  * @return DescribeSecurityGroupsResponse
@@ -69931,8 +70177,8 @@ export default class Client extends OpenApi {
69931
70177
 
69932
70178
  /**
69933
70179
  * ## 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.
70180
+ * * 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.
70181
+ * * You can call this operation to query the file sending records within the last six weeks.
69936
70182
  *
69937
70183
  * @param request DescribeSendFileResultsRequest
69938
70184
  * @param runtime runtime options for this request RuntimeOptions
@@ -70012,8 +70258,8 @@ export default class Client extends OpenApi {
70012
70258
 
70013
70259
  /**
70014
70260
  * ## 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.
70261
+ * * 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.
70262
+ * * You can call this operation to query the file sending records within the last six weeks.
70017
70263
  *
70018
70264
  * @param request DescribeSendFileResultsRequest
70019
70265
  * @return DescribeSendFileResultsResponse
@@ -70202,7 +70448,7 @@ export default class Client extends OpenApi {
70202
70448
  /**
70203
70449
  * Take note of the following items:
70204
70450
  * * 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.
70451
+ * * 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
70452
  *
70207
70453
  * @param request DescribeSnapshotMonitorDataRequest
70208
70454
  * @param runtime runtime options for this request RuntimeOptions
@@ -70267,7 +70513,7 @@ export default class Client extends OpenApi {
70267
70513
  /**
70268
70514
  * Take note of the following items:
70269
70515
  * * 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.
70516
+ * * 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
70517
  *
70272
70518
  * @param request DescribeSnapshotMonitorDataRequest
70273
70519
  * @return DescribeSnapshotMonitorDataResponse
@@ -70331,8 +70577,7 @@ export default class Client extends OpenApi {
70331
70577
  }
70332
70578
 
70333
70579
  /**
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.
70580
+ * 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
70581
  * 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
70582
  *
70338
70583
  * @param request DescribeSnapshotsRequest
@@ -70460,8 +70705,7 @@ export default class Client extends OpenApi {
70460
70705
  }
70461
70706
 
70462
70707
  /**
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.
70708
+ * 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
70709
  * 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
70710
  *
70467
70711
  * @param request DescribeSnapshotsRequest
@@ -70535,15 +70779,15 @@ export default class Client extends OpenApi {
70535
70779
  }
70536
70780
 
70537
70781
  /**
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.
70782
+ * * 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:
70783
+ * * Average release rate of preemptible instances
70784
+ * * Percentage of the average preemptible instance price relative to the pay-as-you-go instance price
70785
+ * * Average preemptible instance price that is calculated based on the preceding percentage
70786
+ * * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
70787
+ * * You can use one of the following methods to query information that is generated for preemptible instances in the last 30 days:
70788
+ * * Configure `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about an instance type that meets the specified vCPU and memory requirements.
70789
+ * * Configure the `InstanceTypes.N` parameter to query information about a specified instance type.
70790
+ * * 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
70791
  *
70548
70792
  * @param request DescribeSpotAdviceRequest
70549
70793
  * @param runtime runtime options for this request RuntimeOptions
@@ -70630,15 +70874,15 @@ export default class Client extends OpenApi {
70630
70874
  }
70631
70875
 
70632
70876
  /**
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.
70877
+ * * 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:
70878
+ * * Average release rate of preemptible instances
70879
+ * * Percentage of the average preemptible instance price relative to the pay-as-you-go instance price
70880
+ * * Average preemptible instance price that is calculated based on the preceding percentage
70881
+ * * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
70882
+ * * You can use one of the following methods to query information that is generated for preemptible instances in the last 30 days:
70883
+ * * Configure `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about an instance type that meets the specified vCPU and memory requirements.
70884
+ * * Configure the `InstanceTypes.N` parameter to query information about a specified instance type.
70885
+ * * 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
70886
  *
70643
70887
  * @param request DescribeSpotAdviceRequest
70644
70888
  * @return DescribeSpotAdviceResponse
@@ -71071,6 +71315,14 @@ export default class Client extends OpenApi {
71071
71315
  return await this.describeTaskAttributeWithOptions(request, runtime);
71072
71316
  }
71073
71317
 
71318
+ /**
71319
+ * ## Debugging
71320
+ * [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)
71321
+ *
71322
+ * @param request DescribeTasksRequest
71323
+ * @param runtime runtime options for this request RuntimeOptions
71324
+ * @return DescribeTasksResponse
71325
+ */
71074
71326
  async describeTasksWithOptions(request: DescribeTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTasksResponse> {
71075
71327
  Util.validateModel(request);
71076
71328
  let query = { };
@@ -71143,6 +71395,13 @@ export default class Client extends OpenApi {
71143
71395
  return $tea.cast<DescribeTasksResponse>(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
71144
71396
  }
71145
71397
 
71398
+ /**
71399
+ * ## Debugging
71400
+ * [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)
71401
+ *
71402
+ * @param request DescribeTasksRequest
71403
+ * @return DescribeTasksResponse
71404
+ */
71146
71405
  async describeTasks(request: DescribeTasksRequest): Promise<DescribeTasksResponse> {
71147
71406
  let runtime = new $Util.RuntimeOptions({ });
71148
71407
  return await this.describeTasksWithOptions(request, runtime);
@@ -71961,17 +72220,7 @@ export default class Client extends OpenApi {
71961
72220
  }
71962
72221
 
71963
72222
  /**
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~~).
72223
+ * The operation that you want to perform. Set the value to **DetachNetworkInterface**.
71975
72224
  *
71976
72225
  * @param request DetachNetworkInterfaceRequest
71977
72226
  * @param runtime runtime options for this request RuntimeOptions
@@ -72034,17 +72283,7 @@ export default class Client extends OpenApi {
72034
72283
  }
72035
72284
 
72036
72285
  /**
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~~).
72286
+ * The operation that you want to perform. Set the value to **DetachNetworkInterface**.
72048
72287
  *
72049
72288
  * @param request DetachNetworkInterfaceRequest
72050
72289
  * @return DetachNetworkInterfaceResponse
@@ -72055,7 +72294,8 @@ export default class Client extends OpenApi {
72055
72294
  }
72056
72295
 
72057
72296
  /**
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.
72297
+ * 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).
72298
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
72059
72299
  *
72060
72300
  * @param request DisableActivationRequest
72061
72301
  * @param runtime runtime options for this request RuntimeOptions
@@ -72110,7 +72350,8 @@ export default class Client extends OpenApi {
72110
72350
  }
72111
72351
 
72112
72352
  /**
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.
72353
+ * 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).
72354
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
72114
72355
  *
72115
72356
  * @param request DisableActivationRequest
72116
72357
  * @return DisableActivationResponse
@@ -72400,7 +72641,7 @@ export default class Client extends OpenApi {
72400
72641
  * Before you export a custom image, complete the following operations:
72401
72642
  * * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
72402
72643
  * * 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:
72644
+ * 1. Create a role named `AliyunECSImageExportDefaultRole`, and attach the following policy to the role:
72404
72645
  * ```json
72405
72646
  * {
72406
72647
  * "Statement": [
@@ -72417,7 +72658,7 @@ export default class Client extends OpenApi {
72417
72658
  * "Version": "1"
72418
72659
  * }
72419
72660
  * ```
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:
72661
+ * 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
72662
  * ```json
72422
72663
  * {
72423
72664
  * "Version": "1",
@@ -72506,7 +72747,7 @@ export default class Client extends OpenApi {
72506
72747
  * Before you export a custom image, complete the following operations:
72507
72748
  * * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
72508
72749
  * * 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:
72750
+ * 1. Create a role named `AliyunECSImageExportDefaultRole`, and attach the following policy to the role:
72510
72751
  * ```json
72511
72752
  * {
72512
72753
  * "Statement": [
@@ -72523,7 +72764,7 @@ export default class Client extends OpenApi {
72523
72764
  * "Version": "1"
72524
72765
  * }
72525
72766
  * ```
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:
72767
+ * 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
72768
  * ```json
72528
72769
  * {
72529
72770
  * "Version": "1",
@@ -72624,15 +72865,6 @@ export default class Client extends OpenApi {
72624
72865
  return await this.exportSnapshotWithOptions(request, runtime);
72625
72866
  }
72626
72867
 
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
72868
  async getInstanceConsoleOutputWithOptions(request: GetInstanceConsoleOutputRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceConsoleOutputResponse> {
72637
72869
  Util.validateModel(request);
72638
72870
  let query = { };
@@ -72685,14 +72917,6 @@ export default class Client extends OpenApi {
72685
72917
  return $tea.cast<GetInstanceConsoleOutputResponse>(await this.callApi(params, req, runtime), new GetInstanceConsoleOutputResponse({}));
72686
72918
  }
72687
72919
 
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
72920
  async getInstanceConsoleOutput(request: GetInstanceConsoleOutputRequest): Promise<GetInstanceConsoleOutputResponse> {
72697
72921
  let runtime = new $Util.RuntimeOptions({ });
72698
72922
  return await this.getInstanceConsoleOutputWithOptions(request, runtime);
@@ -72975,9 +73199,9 @@ export default class Client extends OpenApi {
72975
73199
  }
72976
73200
 
72977
73201
  /**
72978
- * When you call this operation, take note of the following items:
73202
+ * Take note of the following items:
72979
73203
  * * 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:
73204
+ * * The key pair to be imported must support one of the following encryption methods:
72981
73205
  * * rsa
72982
73206
  * * dsa
72983
73207
  * * ssh-rsa
@@ -73048,9 +73272,9 @@ export default class Client extends OpenApi {
73048
73272
  }
73049
73273
 
73050
73274
  /**
73051
- * When you call this operation, take note of the following items:
73275
+ * Take note of the following items:
73052
73276
  * * 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:
73277
+ * * The key pair to be imported must support one of the following encryption methods:
73054
73278
  * * rsa
73055
73279
  * * dsa
73056
73280
  * * ssh-rsa
@@ -73145,7 +73369,7 @@ export default class Client extends OpenApi {
73145
73369
  }
73146
73370
 
73147
73371
  /**
73148
- * After you call the InstallCloudAssistant operation and then the [RebootInstance](~~25502~~) operation, the Cloud Assistant client is installed and takes effect.
73372
+ * The region ID of the instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
73149
73373
  *
73150
73374
  * @param request InstallCloudAssistantRequest
73151
73375
  * @param runtime runtime options for this request RuntimeOptions
@@ -73200,7 +73424,7 @@ export default class Client extends OpenApi {
73200
73424
  }
73201
73425
 
73202
73426
  /**
73203
- * After you call the InstallCloudAssistant operation and then the [RebootInstance](~~25502~~) operation, the Cloud Assistant client is installed and takes effect.
73427
+ * The region ID of the instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
73204
73428
  *
73205
73429
  * @param request InstallCloudAssistantRequest
73206
73430
  * @return InstallCloudAssistantResponse
@@ -73432,16 +73656,16 @@ export default class Client extends OpenApi {
73432
73656
 
73433
73657
  /**
73434
73658
  * ## 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:
73659
+ * > 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.
73660
+ * Take note of the following items:
73437
73661
  * * 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.
73662
+ * * An instance can be added to up to five security groups.
73439
73663
  * *
73440
73664
  * You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
73441
73665
  * * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
73442
73666
  * * 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.
73667
+ * * 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.
73668
+ * * 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
73669
  *
73446
73670
  * @param request JoinSecurityGroupRequest
73447
73671
  * @param runtime runtime options for this request RuntimeOptions
@@ -73501,16 +73725,16 @@ export default class Client extends OpenApi {
73501
73725
 
73502
73726
  /**
73503
73727
  * ## 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:
73728
+ * > 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.
73729
+ * Take note of the following items:
73506
73730
  * * 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.
73731
+ * * An instance can be added to up to five security groups.
73508
73732
  * *
73509
73733
  * You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
73510
73734
  * * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
73511
73735
  * * 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.
73736
+ * * 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.
73737
+ * * 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
73738
  *
73515
73739
  * @param request JoinSecurityGroupRequest
73516
73740
  * @return JoinSecurityGroupResponse
@@ -73681,7 +73905,7 @@ export default class Client extends OpenApi {
73681
73905
  }
73682
73906
 
73683
73907
  /**
73684
- * Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
73908
+ * You must specify at least one of the following parameters or parameter pairs in a request to determine a query object:
73685
73909
  * * `ResourceId.N`
73686
73910
  * * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
73687
73911
  * * `TagFilter.N`
@@ -73758,7 +73982,7 @@ export default class Client extends OpenApi {
73758
73982
  }
73759
73983
 
73760
73984
  /**
73761
- * Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
73985
+ * You must specify at least one of the following parameters or parameter pairs in a request to determine a query object:
73762
73986
  * * `ResourceId.N`
73763
73987
  * * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
73764
73988
  * * `TagFilter.N`
@@ -74179,7 +74403,8 @@ export default class Client extends OpenApi {
74179
74403
  }
74180
74404
 
74181
74405
  /**
74182
- * Modifies the parameters and content of a Cloud Assistant command.
74406
+ * You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions.
74407
+ * You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
74183
74408
  *
74184
74409
  * @param request ModifyCommandRequest
74185
74410
  * @param runtime runtime options for this request RuntimeOptions
@@ -74254,7 +74479,8 @@ export default class Client extends OpenApi {
74254
74479
  }
74255
74480
 
74256
74481
  /**
74257
- * Modifies the parameters and content of a Cloud Assistant command.
74482
+ * You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions.
74483
+ * You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
74258
74484
  *
74259
74485
  * @param request ModifyCommandRequest
74260
74486
  * @return ModifyCommandResponse
@@ -74359,7 +74585,8 @@ export default class Client extends OpenApi {
74359
74585
  }
74360
74586
 
74361
74587
  /**
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.
74588
+ * ## Usage notes
74589
+ * 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
74590
  *
74364
74591
  * @param request ModifyDedicatedHostAutoReleaseTimeRequest
74365
74592
  * @param runtime runtime options for this request RuntimeOptions
@@ -74414,7 +74641,8 @@ export default class Client extends OpenApi {
74414
74641
  }
74415
74642
 
74416
74643
  /**
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.
74644
+ * ## Usage notes
74645
+ * 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
74646
  *
74419
74647
  * @param request ModifyDedicatedHostAutoReleaseTimeRequest
74420
74648
  * @return ModifyDedicatedHostAutoReleaseTimeResponse
@@ -74643,8 +74871,8 @@ export default class Client extends OpenApi {
74643
74871
  }
74644
74872
 
74645
74873
  /**
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.
74874
+ * 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.
74875
+ * > This operation is in invitational preview and is not publicly available.
74648
74876
  *
74649
74877
  * @param request ModifyDemandRequest
74650
74878
  * @param runtime runtime options for this request RuntimeOptions
@@ -74739,8 +74967,8 @@ export default class Client extends OpenApi {
74739
74967
  }
74740
74968
 
74741
74969
  /**
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.
74970
+ * 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.
74971
+ * > This operation is in invitational preview and is not publicly available.
74744
74972
  *
74745
74973
  * @param request ModifyDemandRequest
74746
74974
  * @return ModifyDemandResponse
@@ -74955,7 +75183,7 @@ export default class Client extends OpenApi {
74955
75183
  * * 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
75184
  * * The instance cannot be in the Stopped state due to overdue payments.
74957
75185
  * * 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.
75186
+ * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
74959
75187
  * * You cannot change the billing method again within 5 minutes of a successful change.
74960
75188
  *
74961
75189
  * @param request ModifyDiskChargeTypeRequest
@@ -75029,7 +75257,7 @@ export default class Client extends OpenApi {
75029
75257
  * * 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
75258
  * * The instance cannot be in the Stopped state due to overdue payments.
75031
75259
  * * 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.
75260
+ * * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
75033
75261
  * * You cannot change the billing method again within 5 minutes of a successful change.
75034
75262
  *
75035
75263
  * @param request ModifyDiskChargeTypeRequest
@@ -75102,15 +75330,16 @@ export default class Client extends OpenApi {
75102
75330
  }
75103
75331
 
75104
75332
  /**
75105
- * When you call this operation, take note of the following items:
75333
+ * ## Usage notes
75334
+ * Take note of the following items:
75106
75335
  * * To modify the performance level of an ESSD, take note of the following items:
75107
75336
  * * 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.
75337
+ * * For a pay-as-you-go ESSD, you can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
75338
+ * * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
75339
+ * * 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
75340
  * * 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.
75341
+ * * 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.
75342
+ * 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
75343
  *
75115
75344
  * @param request ModifyDiskSpecRequest
75116
75345
  * @param runtime runtime options for this request RuntimeOptions
@@ -75177,15 +75406,16 @@ export default class Client extends OpenApi {
75177
75406
  }
75178
75407
 
75179
75408
  /**
75180
- * When you call this operation, take note of the following items:
75409
+ * ## Usage notes
75410
+ * Take note of the following items:
75181
75411
  * * To modify the performance level of an ESSD, take note of the following items:
75182
75412
  * * 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.
75413
+ * * For a pay-as-you-go ESSD, you can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
75414
+ * * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
75415
+ * * 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
75416
  * * 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.
75417
+ * * 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.
75418
+ * 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
75419
  *
75190
75420
  * @param request ModifyDiskSpecRequest
75191
75421
  * @return ModifyDiskSpecResponse
@@ -75691,7 +75921,7 @@ export default class Client extends OpenApi {
75691
75921
  }
75692
75922
 
75693
75923
  /**
75694
- * Take note of the following items:
75924
+ * When you call this operation, take note of the following items:
75695
75925
  * * You can share only your own custom images with other Alibaba Cloud accounts.
75696
75926
  * * 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
75927
  * * You can share a custom image with up to 50 Alibaba Cloud accounts.
@@ -75768,7 +75998,7 @@ export default class Client extends OpenApi {
75768
75998
  }
75769
75999
 
75770
76000
  /**
75771
- * Take note of the following items:
76001
+ * When you call this operation, take note of the following items:
75772
76002
  * * You can share only your own custom images with other Alibaba Cloud accounts.
75773
76003
  * * 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
76004
  * * You can share a custom image with up to 50 Alibaba Cloud accounts.
@@ -75869,23 +76099,23 @@ export default class Client extends OpenApi {
75869
76099
  }
75870
76100
 
75871
76101
  /**
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.
76102
+ * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
76103
+ * Take note of the following items:
76104
+ * * 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
76105
  * * 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.
76106
+ * * The instance must not be in the **Starting** state.``
76107
+ * * 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
76108
  * * Modify user data (`UserData`):
75879
76109
  * * 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~~).
76110
+ * * The instance must support user data. For more information, see [Prepare user data](~~49121~~).
75881
76111
  * * 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.
76112
+ * * 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.
76113
+ * * Security groups of instances that reside in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
75884
76114
  * * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
75885
76115
  * * 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.
76116
+ * * 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
76117
  * * 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.
76118
+ * * 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
76119
  *
75890
76120
  * @param request ModifyInstanceAttributeRequest
75891
76121
  * @param runtime runtime options for this request RuntimeOptions
@@ -75980,23 +76210,23 @@ export default class Client extends OpenApi {
75980
76210
  }
75981
76211
 
75982
76212
  /**
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.
76213
+ * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
76214
+ * Take note of the following items:
76215
+ * * 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
76216
  * * 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.
76217
+ * * The instance must not be in the **Starting** state.``
76218
+ * * 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
76219
  * * Modify user data (`UserData`):
75990
76220
  * * 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~~).
76221
+ * * The instance must support user data. For more information, see [Prepare user data](~~49121~~).
75992
76222
  * * 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.
76223
+ * * 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.
76224
+ * * Security groups of instances that reside in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
75995
76225
  * * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
75996
76226
  * * 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.
76227
+ * * 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
76228
  * * 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.
76229
+ * * 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
76230
  *
76001
76231
  * @param request ModifyInstanceAttributeRequest
76002
76232
  * @return ModifyInstanceAttributeResponse
@@ -76509,7 +76739,15 @@ export default class Client extends OpenApi {
76509
76739
  }
76510
76740
 
76511
76741
  /**
76512
- * The ID of the instance for which you want to modify bandwidth configurations.
76742
+ * Take note of the following items:
76743
+ * * 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:
76744
+ * * 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.
76745
+ * * 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.
76746
+ * * 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.
76747
+ * * 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.
76748
+ * * 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.
76749
+ * * 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.
76750
+ * * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
76513
76751
  *
76514
76752
  * @param request ModifyInstanceNetworkSpecRequest
76515
76753
  * @param runtime runtime options for this request RuntimeOptions
@@ -76592,7 +76830,15 @@ export default class Client extends OpenApi {
76592
76830
  }
76593
76831
 
76594
76832
  /**
76595
- * The ID of the instance for which you want to modify bandwidth configurations.
76833
+ * Take note of the following items:
76834
+ * * 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:
76835
+ * * 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.
76836
+ * * 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.
76837
+ * * 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.
76838
+ * * 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.
76839
+ * * 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.
76840
+ * * 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.
76841
+ * * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
76596
76842
  *
76597
76843
  * @param request ModifyInstanceNetworkSpecRequest
76598
76844
  * @return ModifyInstanceNetworkSpecResponse
@@ -76792,30 +77038,30 @@ export default class Client extends OpenApi {
76792
77038
 
76793
77039
  /**
76794
77040
  * 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:
77041
+ * * When you call this operation to change the private IP address or vSwitch of an instance, take note of the following items:
77042
+ * * If the instance is a new instance, you must restart the instance before you call this operation.
77043
+ * * After the private IP address or vSwitch of the instance is changed, you must restart the instance before you call this operation again.
77044
+ * * When you call this operation to change the VPC of an instance, take note of the following items:
76799
77045
  * * **Instance:**
76800
77046
  * * The instance cannot be associated with Server Load Balancer (SLB) instances.
76801
77047
  * * 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).
77048
+ * * 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
77049
  * * **Network:**
76804
- * * The cut-through mode or multi-elastic IP address (EIP) to elastic network interface (ENI) mode must be disabled.
77050
+ * * The cut-through mode or the multi-EIP-to-ENI mode cannot be enabled for the instance.
76805
77051
  * * The instance cannot be associated with a high-availability virtual IP address (HAVIP).
76806
77052
  * * 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.
77053
+ * * Global Accelerator (GA) cannot be activated for the instance.
77054
+ * * The instance cannot have secondary ENIs.
77055
+ * * The instance cannot be assigned an IPv6 address.
76810
77056
  * * 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~~).
77057
+ * * The new vSwitch that you specify must belong to the new VPC.
77058
+ * * The original and new vSwitches must reside in the same zone.
77059
+ * * 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.
77060
+ * * 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
77061
  * * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
76816
77062
  * * **Security group (SecurityGroupId.N):**
76817
77063
  * * 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~~).
77064
+ * * 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
77065
  * * The security groups that you specify must belong to the new VPC.
76820
77066
  * * 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
77067
  *
@@ -76881,30 +77127,30 @@ export default class Client extends OpenApi {
76881
77127
 
76882
77128
  /**
76883
77129
  * 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:
77130
+ * * When you call this operation to change the private IP address or vSwitch of an instance, take note of the following items:
77131
+ * * If the instance is a new instance, you must restart the instance before you call this operation.
77132
+ * * After the private IP address or vSwitch of the instance is changed, you must restart the instance before you call this operation again.
77133
+ * * When you call this operation to change the VPC of an instance, take note of the following items:
76888
77134
  * * **Instance:**
76889
77135
  * * The instance cannot be associated with Server Load Balancer (SLB) instances.
76890
77136
  * * 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).
77137
+ * * 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
77138
  * * **Network:**
76893
- * * The cut-through mode or multi-elastic IP address (EIP) to elastic network interface (ENI) mode must be disabled.
77139
+ * * The cut-through mode or the multi-EIP-to-ENI mode cannot be enabled for the instance.
76894
77140
  * * The instance cannot be associated with a high-availability virtual IP address (HAVIP).
76895
77141
  * * 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.
77142
+ * * Global Accelerator (GA) cannot be activated for the instance.
77143
+ * * The instance cannot have secondary ENIs.
77144
+ * * The instance cannot be assigned an IPv6 address.
76899
77145
  * * 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~~).
77146
+ * * The new vSwitch that you specify must belong to the new VPC.
77147
+ * * The original and new vSwitches must reside in the same zone.
77148
+ * * 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.
77149
+ * * 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
77150
  * * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
76905
77151
  * * **Security group (SecurityGroupId.N):**
76906
77152
  * * 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~~).
77153
+ * * 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
77154
  * * The security groups that you specify must belong to the new VPC.
76909
77155
  * * 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
77156
  *
@@ -76916,6 +77162,14 @@ export default class Client extends OpenApi {
76916
77162
  return await this.modifyInstanceVpcAttributeWithOptions(request, runtime);
76917
77163
  }
76918
77164
 
77165
+ /**
77166
+ * ## Debugging
77167
+ * [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)
77168
+ *
77169
+ * @param request ModifyLaunchTemplateDefaultVersionRequest
77170
+ * @param runtime runtime options for this request RuntimeOptions
77171
+ * @return ModifyLaunchTemplateDefaultVersionResponse
77172
+ */
76919
77173
  async modifyLaunchTemplateDefaultVersionWithOptions(request: ModifyLaunchTemplateDefaultVersionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLaunchTemplateDefaultVersionResponse> {
76920
77174
  Util.validateModel(request);
76921
77175
  let query = { };
@@ -76968,13 +77222,21 @@ export default class Client extends OpenApi {
76968
77222
  return $tea.cast<ModifyLaunchTemplateDefaultVersionResponse>(await this.callApi(params, req, runtime), new ModifyLaunchTemplateDefaultVersionResponse({}));
76969
77223
  }
76970
77224
 
77225
+ /**
77226
+ * ## Debugging
77227
+ * [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)
77228
+ *
77229
+ * @param request ModifyLaunchTemplateDefaultVersionRequest
77230
+ * @return ModifyLaunchTemplateDefaultVersionResponse
77231
+ */
76971
77232
  async modifyLaunchTemplateDefaultVersion(request: ModifyLaunchTemplateDefaultVersionRequest): Promise<ModifyLaunchTemplateDefaultVersionResponse> {
76972
77233
  let runtime = new $Util.RuntimeOptions({ });
76973
77234
  return await this.modifyLaunchTemplateDefaultVersionWithOptions(request, runtime);
76974
77235
  }
76975
77236
 
76976
77237
  /**
76977
- * You can call the ModifyManagedInstance operation to change only the name of a managed instance.
77238
+ * 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).
77239
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
76978
77240
  *
76979
77241
  * @param request ModifyManagedInstanceRequest
76980
77242
  * @param runtime runtime options for this request RuntimeOptions
@@ -77033,7 +77295,8 @@ export default class Client extends OpenApi {
77033
77295
  }
77034
77296
 
77035
77297
  /**
77036
- * You can call the ModifyManagedInstance operation to change only the name of a managed instance.
77298
+ * 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).
77299
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
77037
77300
  *
77038
77301
  * @param request ModifyManagedInstanceRequest
77039
77302
  * @return ModifyManagedInstanceResponse
@@ -77561,12 +77824,8 @@ export default class Client extends OpenApi {
77561
77824
  }
77562
77825
 
77563
77826
  /**
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~~).
77827
+ * The region ID of the reserved instance.
77828
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
77570
77829
  *
77571
77830
  * @param request ModifyReservedInstancesRequest
77572
77831
  * @param runtime runtime options for this request RuntimeOptions
@@ -77621,12 +77880,8 @@ export default class Client extends OpenApi {
77621
77880
  }
77622
77881
 
77623
77882
  /**
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~~).
77883
+ * The region ID of the reserved instance.
77884
+ * You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
77630
77885
  *
77631
77886
  * @param request ModifyReservedInstancesRequest
77632
77887
  * @return ModifyReservedInstancesResponse
@@ -77862,12 +78117,12 @@ export default class Client extends OpenApi {
77862
78117
  }
77863
78118
 
77864
78119
  /**
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.
78120
+ * 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.
78121
+ * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
78122
+ * * 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.
78123
+ * * 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.
78124
+ * * The modified security group rule cannot be the same as other existing rules.
78125
+ * * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
77871
78126
  *
77872
78127
  * @param request ModifySecurityGroupEgressRuleRequest
77873
78128
  * @param runtime runtime options for this request RuntimeOptions
@@ -77990,12 +78245,12 @@ export default class Client extends OpenApi {
77990
78245
  }
77991
78246
 
77992
78247
  /**
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.
78248
+ * 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.
78249
+ * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
78250
+ * * 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.
78251
+ * * 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.
78252
+ * * The modified security group rule cannot be the same as other existing rules.
78253
+ * * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
77999
78254
  *
78000
78255
  * @param request ModifySecurityGroupEgressRuleRequest
78001
78256
  * @return ModifySecurityGroupEgressRuleResponse
@@ -78252,6 +78507,10 @@ export default class Client extends OpenApi {
78252
78507
  query["ResourceOwnerId"] = request.resourceOwnerId;
78253
78508
  }
78254
78509
 
78510
+ if (!Util.isUnset(request.retentionDays)) {
78511
+ query["RetentionDays"] = request.retentionDays;
78512
+ }
78513
+
78255
78514
  if (!Util.isUnset(request.snapshotId)) {
78256
78515
  query["SnapshotId"] = request.snapshotId;
78257
78516
  }
@@ -78970,7 +79229,7 @@ export default class Client extends OpenApi {
78970
79229
  }
78971
79230
 
78972
79231
  /**
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~~).
79232
+ * 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
79233
  *
78975
79234
  * @param request PurchaseStorageCapacityUnitRequest
78976
79235
  * @param runtime runtime options for this request RuntimeOptions
@@ -79057,7 +79316,7 @@ export default class Client extends OpenApi {
79057
79316
  }
79058
79317
 
79059
79318
  /**
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~~).
79319
+ * 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
79320
  *
79062
79321
  * @param request PurchaseStorageCapacityUnitRequest
79063
79322
  * @return PurchaseStorageCapacityUnitResponse
@@ -79298,10 +79557,10 @@ export default class Client extends OpenApi {
79298
79557
  }
79299
79558
 
79300
79559
  /**
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.
79560
+ * * The ECS instances must be in the `Running` state.****
79561
+ * * You can use the `BatchOptimization` parameter to specify the batch operation mode and restart multiple instances at a time.
79562
+ * * 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.
79563
+ * * 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
79564
  *
79306
79565
  * @param request RebootInstancesRequest
79307
79566
  * @param runtime runtime options for this request RuntimeOptions
@@ -79364,10 +79623,10 @@ export default class Client extends OpenApi {
79364
79623
  }
79365
79624
 
79366
79625
  /**
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.
79626
+ * * The ECS instances must be in the `Running` state.****
79627
+ * * You can use the `BatchOptimization` parameter to specify the batch operation mode and restart multiple instances at a time.
79628
+ * * 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.
79629
+ * * 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
79630
  *
79372
79631
  * @param request RebootInstancesRequest
79373
79632
  * @return RebootInstancesResponse
@@ -79512,13 +79771,13 @@ export default class Client extends OpenApi {
79512
79771
  }
79513
79772
 
79514
79773
  /**
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.
79774
+ * 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.
79775
+ * Take note of the following items:
79776
+ * * 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:
79777
+ * * If the instance is in the `Running` state before redeployment, the instance enters the `Stopping` state.
79778
+ * * If the instance is in the `Stopped` state before redeployment, the instance enters the `Starting` state.
79520
79779
  * * 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.
79780
+ * * 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
79781
  * * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
79523
79782
  * * 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
79783
  * 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 +79842,13 @@ export default class Client extends OpenApi {
79583
79842
  }
79584
79843
 
79585
79844
  /**
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.
79845
+ * 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.
79846
+ * Take note of the following items:
79847
+ * * 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:
79848
+ * * If the instance is in the `Running` state before redeployment, the instance enters the `Stopping` state.
79849
+ * * If the instance is in the `Stopped` state before redeployment, the instance enters the `Starting` state.
79591
79850
  * * 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.
79851
+ * * 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
79852
  * * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
79594
79853
  * * 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
79854
  * 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 +79939,8 @@ export default class Client extends OpenApi {
79680
79939
  }
79681
79940
 
79682
79941
  /**
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.
79942
+ * ## Usage notes
79943
+ * Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
79684
79944
  *
79685
79945
  * @param request ReleaseDedicatedHostRequest
79686
79946
  * @param runtime runtime options for this request RuntimeOptions
@@ -79731,7 +79991,8 @@ export default class Client extends OpenApi {
79731
79991
  }
79732
79992
 
79733
79993
  /**
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.
79994
+ * ## Usage notes
79995
+ * Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
79735
79996
  *
79736
79997
  * @param request ReleaseDedicatedHostRequest
79737
79998
  * @return ReleaseDedicatedHostResponse
@@ -79972,7 +80233,7 @@ export default class Client extends OpenApi {
79972
80233
  }
79973
80234
 
79974
80235
  /**
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.
80236
+ * 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
80237
  *
79977
80238
  * @param request RenewDedicatedHostsRequest
79978
80239
  * @param runtime runtime options for this request RuntimeOptions
@@ -80035,7 +80296,7 @@ export default class Client extends OpenApi {
80035
80296
  }
80036
80297
 
80037
80298
  /**
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.
80299
+ * 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
80300
  *
80040
80301
  * @param request RenewDedicatedHostsRequest
80041
80302
  * @return RenewDedicatedHostsResponse
@@ -80126,8 +80387,7 @@ export default class Client extends OpenApi {
80126
80387
  }
80127
80388
 
80128
80389
  /**
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.
80390
+ * The IDs of the reserved instances.
80131
80391
  *
80132
80392
  * @param request RenewReservedInstancesRequest
80133
80393
  * @param runtime runtime options for this request RuntimeOptions
@@ -80198,8 +80458,7 @@ export default class Client extends OpenApi {
80198
80458
  }
80199
80459
 
80200
80460
  /**
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.
80461
+ * The IDs of the reserved instances.
80203
80462
  *
80204
80463
  * @param request RenewReservedInstancesRequest
80205
80464
  * @return RenewReservedInstancesResponse
@@ -80577,12 +80836,7 @@ export default class Client extends OpenApi {
80577
80836
  }
80578
80837
 
80579
80838
  /**
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.
80839
+ * The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
80586
80840
  *
80587
80841
  * @param request ResizeDiskRequest
80588
80842
  * @param runtime runtime options for this request RuntimeOptions
@@ -80641,12 +80895,7 @@ export default class Client extends OpenApi {
80641
80895
  }
80642
80896
 
80643
80897
  /**
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.
80898
+ * The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
80650
80899
  *
80651
80900
  * @param request ResizeDiskRequest
80652
80901
  * @return ResizeDiskResponse
@@ -81238,6 +81487,10 @@ export default class Client extends OpenApi {
81238
81487
  query["Arn"] = request.arn;
81239
81488
  }
81240
81489
 
81490
+ if (!Util.isUnset(request.autoPay)) {
81491
+ query["AutoPay"] = request.autoPay;
81492
+ }
81493
+
81241
81494
  if (!Util.isUnset(request.autoReleaseTime)) {
81242
81495
  query["AutoReleaseTime"] = request.autoReleaseTime;
81243
81496
  }
@@ -81579,13 +81832,14 @@ export default class Client extends OpenApi {
81579
81832
  }
81580
81833
 
81581
81834
  /**
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.
81835
+ * ## Usage notes
81836
+ * * The instances to which to send a file must be in the Running (`Running`) state.
81837
+ * * [Cloud Assistant Agent must be installed on the instances.](~~64921~~)
81838
+ * * 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.
81839
+ * * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
81840
+ * * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
81841
+ * * The file that you want to send must not exceed 32 KB in size after it is encoded in Base64.
81842
+ * * 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
81843
  *
81590
81844
  * @param request SendFileRequest
81591
81845
  * @param runtime runtime options for this request RuntimeOptions
@@ -81688,13 +81942,14 @@ export default class Client extends OpenApi {
81688
81942
  }
81689
81943
 
81690
81944
  /**
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.
81945
+ * ## Usage notes
81946
+ * * The instances to which to send a file must be in the Running (`Running`) state.
81947
+ * * [Cloud Assistant Agent must be installed on the instances.](~~64921~~)
81948
+ * * 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.
81949
+ * * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
81950
+ * * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
81951
+ * * The file that you want to send must not exceed 32 KB in size after it is encoded in Base64.
81952
+ * * 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
81953
  *
81699
81954
  * @param request SendFileRequest
81700
81955
  * @return SendFileResponse
@@ -81845,9 +82100,7 @@ export default class Client extends OpenApi {
81845
82100
  }
81846
82101
 
81847
82102
  /**
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.
82103
+ * $.parameters[2].schema.example
81851
82104
  *
81852
82105
  * @param request StartInstanceRequest
81853
82106
  * @param runtime runtime options for this request RuntimeOptions
@@ -81902,9 +82155,7 @@ export default class Client extends OpenApi {
81902
82155
  }
81903
82156
 
81904
82157
  /**
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.
82158
+ * $.parameters[2].schema.example
81908
82159
  *
81909
82160
  * @param request StartInstanceRequest
81910
82161
  * @return StartInstanceResponse
@@ -81915,10 +82166,11 @@ export default class Client extends OpenApi {
81915
82166
  }
81916
82167
 
81917
82168
  /**
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.
82169
+ * Specifies whether to perform a dry run. Valid values:
82170
+ * * 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.
82171
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
82172
+ * * false: performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
82173
+ * Default value: false.
81922
82174
  *
81923
82175
  * @param request StartInstancesRequest
81924
82176
  * @param runtime runtime options for this request RuntimeOptions
@@ -81977,10 +82229,11 @@ export default class Client extends OpenApi {
81977
82229
  }
81978
82230
 
81979
82231
  /**
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.
82232
+ * Specifies whether to perform a dry run. Valid values:
82233
+ * * 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.
82234
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
82235
+ * * false: performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
82236
+ * Default value: false.
81984
82237
  *
81985
82238
  * @param request StartInstancesRequest
81986
82239
  * @return StartInstancesResponse
@@ -81991,15 +82244,16 @@ export default class Client extends OpenApi {
81991
82244
  }
81992
82245
 
81993
82246
  /**
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.
82247
+ * 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.
82248
+ * 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:
82249
+ * * The ECS instance must be in the Running (Running) state.
82250
+ * * 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.
82251
+ * * If Cloud Assistant Agent is not installed on the ECS instance, call the [InstallCloudAssistant](~~85916~~) operation to install Cloud Assistant Agent.
82252
+ * * 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~~).
82253
+ * * For Linux operating systems: 2.2.3.256
82254
+ * * For Windows operating systems: 2.1.3.256
82255
+ * * Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
82256
+ * * 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
82257
  *
82004
82258
  * @param request StartTerminalSessionRequest
82005
82259
  * @param runtime runtime options for this request RuntimeOptions
@@ -82008,6 +82262,10 @@ export default class Client extends OpenApi {
82008
82262
  async startTerminalSessionWithOptions(request: StartTerminalSessionRequest, runtime: $Util.RuntimeOptions): Promise<StartTerminalSessionResponse> {
82009
82263
  Util.validateModel(request);
82010
82264
  let query = { };
82265
+ if (!Util.isUnset(request.commandLine)) {
82266
+ query["CommandLine"] = request.commandLine;
82267
+ }
82268
+
82011
82269
  if (!Util.isUnset(request.instanceId)) {
82012
82270
  query["InstanceId"] = request.instanceId;
82013
82271
  }
@@ -82040,6 +82298,10 @@ export default class Client extends OpenApi {
82040
82298
  query["ResourceOwnerId"] = request.resourceOwnerId;
82041
82299
  }
82042
82300
 
82301
+ if (!Util.isUnset(request.targetServer)) {
82302
+ query["TargetServer"] = request.targetServer;
82303
+ }
82304
+
82043
82305
  let req = new $OpenApi.OpenApiRequest({
82044
82306
  query: OpenApiUtil.query(query),
82045
82307
  });
@@ -82058,15 +82320,16 @@ export default class Client extends OpenApi {
82058
82320
  }
82059
82321
 
82060
82322
  /**
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.
82323
+ * 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.
82324
+ * 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:
82325
+ * * The ECS instance must be in the Running (Running) state.
82326
+ * * 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.
82327
+ * * If Cloud Assistant Agent is not installed on the ECS instance, call the [InstallCloudAssistant](~~85916~~) operation to install Cloud Assistant Agent.
82328
+ * * 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~~).
82329
+ * * For Linux operating systems: 2.2.3.256
82330
+ * * For Windows operating systems: 2.1.3.256
82331
+ * * Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
82332
+ * * 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
82333
  *
82071
82334
  * @param request StartTerminalSessionRequest
82072
82335
  * @return StartTerminalSessionResponse
@@ -82077,8 +82340,8 @@ export default class Client extends OpenApi {
82077
82340
  }
82078
82341
 
82079
82342
  /**
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.
82343
+ * * 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~~).
82344
+ * * 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
82345
  *
82083
82346
  * @param request StopInstanceRequest
82084
82347
  * @param runtime runtime options for this request RuntimeOptions
@@ -82145,8 +82408,8 @@ export default class Client extends OpenApi {
82145
82408
  }
82146
82409
 
82147
82410
  /**
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.
82411
+ * * 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~~).
82412
+ * * 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
82413
  *
82151
82414
  * @param request StopInstanceRequest
82152
82415
  * @return StopInstanceResponse
@@ -82157,9 +82420,11 @@ export default class Client extends OpenApi {
82157
82420
  }
82158
82421
 
82159
82422
  /**
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.
82423
+ * Specifies whether to perform only a dry run, without performing the actual request. Valid Values:
82424
+ * * 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.
82425
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
82426
+ * * false: performs a dry run and sends the request. If the request passes the dry run, the operation is performed.
82427
+ * Default value: false.
82163
82428
  *
82164
82429
  * @param request StopInstancesRequest
82165
82430
  * @param runtime runtime options for this request RuntimeOptions
@@ -82226,9 +82491,11 @@ export default class Client extends OpenApi {
82226
82491
  }
82227
82492
 
82228
82493
  /**
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.
82494
+ * Specifies whether to perform only a dry run, without performing the actual request. Valid Values:
82495
+ * * 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.
82496
+ * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
82497
+ * * false: performs a dry run and sends the request. If the request passes the dry run, the operation is performed.
82498
+ * Default value: false.
82232
82499
  *
82233
82500
  * @param request StopInstancesRequest
82234
82501
  * @return StopInstancesResponse
@@ -82239,8 +82506,7 @@ export default class Client extends OpenApi {
82239
82506
  }
82240
82507
 
82241
82508
  /**
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.
82509
+ * The region ID. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
82244
82510
  *
82245
82511
  * @param request StopInvocationRequest
82246
82512
  * @param runtime runtime options for this request RuntimeOptions
@@ -82299,8 +82565,7 @@ export default class Client extends OpenApi {
82299
82565
  }
82300
82566
 
82301
82567
  /**
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.
82568
+ * The region ID. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
82304
82569
  *
82305
82570
  * @param request StopInvocationRequest
82306
82571
  * @return StopInvocationResponse
@@ -82603,8 +82868,7 @@ export default class Client extends OpenApi {
82603
82868
  }
82604
82869
 
82605
82870
  /**
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.
82871
+ * The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
82608
82872
  *
82609
82873
  * @param request UnassignPrivateIpAddressesRequest
82610
82874
  * @param runtime runtime options for this request RuntimeOptions
@@ -82667,8 +82931,7 @@ export default class Client extends OpenApi {
82667
82931
  }
82668
82932
 
82669
82933
  /**
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.
82934
+ * The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
82672
82935
  *
82673
82936
  * @param request UnassignPrivateIpAddressesRequest
82674
82937
  * @return UnassignPrivateIpAddressesResponse