@alicloud/ecs20140526 3.0.3 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -7574,6 +7574,7 @@ export declare class DescribeImageSharePermissionResponse extends $tea.Model {
7574
7574
  });
7575
7575
  }
7576
7576
  export declare class DescribeImageSupportInstanceTypesRequest extends $tea.Model {
7577
+ actionType?: string;
7577
7578
  filter?: DescribeImageSupportInstanceTypesRequestFilter[];
7578
7579
  imageId?: string;
7579
7580
  ownerId?: number;
@@ -9865,6 +9866,7 @@ export declare class DescribeResourceByTagsResponse extends $tea.Model {
9865
9866
  });
9866
9867
  }
9867
9868
  export declare class DescribeResourcesModificationRequest extends $tea.Model {
9869
+ conditions?: string[];
9868
9870
  cores?: number;
9869
9871
  destinationResource?: string;
9870
9872
  instanceType?: string;
@@ -13415,12 +13417,62 @@ export declare class ModifyDiskChargeTypeResponse extends $tea.Model {
13415
13417
  [key: string]: any;
13416
13418
  });
13417
13419
  }
13420
+ export declare class ModifyDiskDeploymentRequest extends $tea.Model {
13421
+ diskCategory?: string;
13422
+ diskId?: string;
13423
+ dryRun?: boolean;
13424
+ ownerAccount?: string;
13425
+ ownerId?: number;
13426
+ performanceLevel?: string;
13427
+ resourceOwnerAccount?: string;
13428
+ resourceOwnerId?: number;
13429
+ storageClusterId?: string;
13430
+ static names(): {
13431
+ [key: string]: string;
13432
+ };
13433
+ static types(): {
13434
+ [key: string]: any;
13435
+ };
13436
+ constructor(map?: {
13437
+ [key: string]: any;
13438
+ });
13439
+ }
13440
+ export declare class ModifyDiskDeploymentResponseBody extends $tea.Model {
13441
+ requestId?: string;
13442
+ taskId?: string;
13443
+ static names(): {
13444
+ [key: string]: string;
13445
+ };
13446
+ static types(): {
13447
+ [key: string]: any;
13448
+ };
13449
+ constructor(map?: {
13450
+ [key: string]: any;
13451
+ });
13452
+ }
13453
+ export declare class ModifyDiskDeploymentResponse extends $tea.Model {
13454
+ headers: {
13455
+ [key: string]: string;
13456
+ };
13457
+ statusCode: number;
13458
+ body: ModifyDiskDeploymentResponseBody;
13459
+ static names(): {
13460
+ [key: string]: string;
13461
+ };
13462
+ static types(): {
13463
+ [key: string]: any;
13464
+ };
13465
+ constructor(map?: {
13466
+ [key: string]: any;
13467
+ });
13468
+ }
13418
13469
  export declare class ModifyDiskSpecRequest extends $tea.Model {
13419
13470
  diskCategory?: string;
13420
13471
  diskId?: string;
13421
13472
  dryRun?: boolean;
13422
13473
  ownerAccount?: string;
13423
13474
  ownerId?: number;
13475
+ performanceControlOptions?: ModifyDiskSpecRequestPerformanceControlOptions;
13424
13476
  performanceLevel?: string;
13425
13477
  provisionedIops?: number;
13426
13478
  resourceOwnerAccount?: string;
@@ -14314,10 +14366,12 @@ export declare class ModifyInstanceSpecRequest extends $tea.Model {
14314
14366
  allowMigrateAcrossZone?: boolean;
14315
14367
  async?: boolean;
14316
14368
  clientToken?: string;
14369
+ disk?: ModifyInstanceSpecRequestDisk[];
14317
14370
  instanceId?: string;
14318
14371
  instanceType?: string;
14319
14372
  internetMaxBandwidthIn?: number;
14320
14373
  internetMaxBandwidthOut?: number;
14374
+ modifyMode?: string;
14321
14375
  ownerAccount?: string;
14322
14376
  ownerId?: number;
14323
14377
  resourceOwnerAccount?: string;
@@ -14706,10 +14760,12 @@ export declare class ModifyPrepayInstanceSpecRequest extends $tea.Model {
14706
14760
  systemDisk?: ModifyPrepayInstanceSpecRequestSystemDisk;
14707
14761
  autoPay?: boolean;
14708
14762
  clientToken?: string;
14763
+ disk?: ModifyPrepayInstanceSpecRequestDisk[];
14709
14764
  endTime?: string;
14710
14765
  instanceId?: string;
14711
14766
  instanceType?: string;
14712
14767
  migrateAcrossZone?: boolean;
14768
+ modifyMode?: string;
14713
14769
  operatorType?: string;
14714
14770
  ownerAccount?: string;
14715
14771
  ownerId?: number;
@@ -17030,6 +17086,7 @@ export declare class RunInstancesRequest extends $tea.Model {
17030
17086
  httpTokens?: string;
17031
17087
  imageFamily?: string;
17032
17088
  imageId?: string;
17089
+ imageOptions?: RunInstancesRequestImageOptions;
17033
17090
  instanceChargeType?: string;
17034
17091
  instanceName?: string;
17035
17092
  instanceType?: string;
@@ -25677,6 +25734,60 @@ export declare class DescribeResourceByTagsResponseBodyResources extends $tea.Mo
25677
25734
  [key: string]: any;
25678
25735
  });
25679
25736
  }
25737
+ export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditionsCondition extends $tea.Model {
25738
+ key?: string;
25739
+ static names(): {
25740
+ [key: string]: string;
25741
+ };
25742
+ static types(): {
25743
+ [key: string]: any;
25744
+ };
25745
+ constructor(map?: {
25746
+ [key: string]: any;
25747
+ });
25748
+ }
25749
+ export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditions extends $tea.Model {
25750
+ condition?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditionsCondition[];
25751
+ static names(): {
25752
+ [key: string]: string;
25753
+ };
25754
+ static types(): {
25755
+ [key: string]: any;
25756
+ };
25757
+ constructor(map?: {
25758
+ [key: string]: any;
25759
+ });
25760
+ }
25761
+ export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResource extends $tea.Model {
25762
+ conditions?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditions;
25763
+ max?: number;
25764
+ min?: number;
25765
+ status?: string;
25766
+ statusCategory?: string;
25767
+ unit?: string;
25768
+ value?: string;
25769
+ static names(): {
25770
+ [key: string]: string;
25771
+ };
25772
+ static types(): {
25773
+ [key: string]: any;
25774
+ };
25775
+ constructor(map?: {
25776
+ [key: string]: any;
25777
+ });
25778
+ }
25779
+ export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResources extends $tea.Model {
25780
+ conditionSupportedResource?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResource[];
25781
+ static names(): {
25782
+ [key: string]: string;
25783
+ };
25784
+ static types(): {
25785
+ [key: string]: any;
25786
+ };
25787
+ constructor(map?: {
25788
+ [key: string]: any;
25789
+ });
25790
+ }
25680
25791
  export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource extends $tea.Model {
25681
25792
  max?: number;
25682
25793
  min?: number;
@@ -25707,6 +25818,7 @@ export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvai
25707
25818
  });
25708
25819
  }
25709
25820
  export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource extends $tea.Model {
25821
+ conditionSupportedResources?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResources;
25710
25822
  supportedResources?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources;
25711
25823
  type?: string;
25712
25824
  static names(): {
@@ -27640,6 +27752,20 @@ export declare class ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstances ex
27640
27752
  [key: string]: any;
27641
27753
  });
27642
27754
  }
27755
+ export declare class ModifyDiskSpecRequestPerformanceControlOptions extends $tea.Model {
27756
+ IOPS?: number;
27757
+ recover?: string;
27758
+ throughput?: number;
27759
+ static names(): {
27760
+ [key: string]: string;
27761
+ };
27762
+ static types(): {
27763
+ [key: string]: any;
27764
+ };
27765
+ constructor(map?: {
27766
+ [key: string]: any;
27767
+ });
27768
+ }
27643
27769
  export declare class ModifyElasticityAssuranceRequestPrivatePoolOptions extends $tea.Model {
27644
27770
  id?: string;
27645
27771
  name?: string;
@@ -27756,6 +27882,20 @@ export declare class ModifyInstanceSpecRequestTemporary extends $tea.Model {
27756
27882
  [key: string]: any;
27757
27883
  });
27758
27884
  }
27885
+ export declare class ModifyInstanceSpecRequestDisk extends $tea.Model {
27886
+ category?: string;
27887
+ diskId?: string;
27888
+ performanceLevel?: string;
27889
+ static names(): {
27890
+ [key: string]: string;
27891
+ };
27892
+ static types(): {
27893
+ [key: string]: any;
27894
+ };
27895
+ constructor(map?: {
27896
+ [key: string]: any;
27897
+ });
27898
+ }
27759
27899
  export declare class ModifyManagedInstanceResponseBodyInstance extends $tea.Model {
27760
27900
  instanceId?: string;
27761
27901
  instanceName?: string;
@@ -27806,6 +27946,20 @@ export declare class ModifyPrepayInstanceSpecRequestSystemDisk extends $tea.Mode
27806
27946
  [key: string]: any;
27807
27947
  });
27808
27948
  }
27949
+ export declare class ModifyPrepayInstanceSpecRequestDisk extends $tea.Model {
27950
+ category?: string;
27951
+ diskId?: string;
27952
+ performanceLevel?: string;
27953
+ static names(): {
27954
+ [key: string]: string;
27955
+ };
27956
+ static types(): {
27957
+ [key: string]: any;
27958
+ };
27959
+ constructor(map?: {
27960
+ [key: string]: any;
27961
+ });
27962
+ }
27809
27963
  export declare class ModifyReservedInstancesRequestConfiguration extends $tea.Model {
27810
27964
  instanceAmount?: number;
27811
27965
  instanceType?: string;
@@ -28245,6 +28399,18 @@ export declare class RunInstancesRequestDataDisk extends $tea.Model {
28245
28399
  [key: string]: any;
28246
28400
  });
28247
28401
  }
28402
+ export declare class RunInstancesRequestImageOptions extends $tea.Model {
28403
+ loginAsNonRoot?: boolean;
28404
+ static names(): {
28405
+ [key: string]: string;
28406
+ };
28407
+ static types(): {
28408
+ [key: string]: any;
28409
+ };
28410
+ constructor(map?: {
28411
+ [key: string]: any;
28412
+ });
28413
+ }
28248
28414
  export declare class RunInstancesRequestNetworkInterface extends $tea.Model {
28249
28415
  description?: string;
28250
28416
  instanceType?: string;
@@ -28498,6 +28664,7 @@ export default class Client extends OpenApi {
28498
28664
  allocateDedicatedHosts(request: AllocateDedicatedHostsRequest): Promise<AllocateDedicatedHostsResponse>;
28499
28665
  /**
28500
28666
  * @deprecated
28667
+ * > This operation has been upgraded. We recommend that you do not use it. For information about the new version of this operation, see [AllocateEipAddress](~~120192~~).
28501
28668
  *
28502
28669
  * @param request AllocateEipAddressRequest
28503
28670
  * @param runtime runtime options for this request RuntimeOptions
@@ -28506,6 +28673,7 @@ export default class Client extends OpenApi {
28506
28673
  allocateEipAddressWithOptions(request: AllocateEipAddressRequest, runtime: $Util.RuntimeOptions): Promise<AllocateEipAddressResponse>;
28507
28674
  /**
28508
28675
  * @deprecated
28676
+ * > This operation has been upgraded. We recommend that you do not use it. For information about the new version of this operation, see [AllocateEipAddress](~~120192~~).
28509
28677
  *
28510
28678
  * @param request AllocateEipAddressRequest
28511
28679
  * @return AllocateEipAddressResponse
@@ -28540,7 +28708,7 @@ export default class Client extends OpenApi {
28540
28708
  allocatePublicIpAddress(request: AllocatePublicIpAddressRequest): Promise<AllocatePublicIpAddressResponse>;
28541
28709
  /**
28542
28710
  * * Each disk can have only one automatic snapshot policy applied.
28543
- * * A single automatic snapshot policy can be applied to multiple disks.
28711
+ * * Each automatic snapshot policy can be applied to multiple disks.
28544
28712
  *
28545
28713
  * @param request ApplyAutoSnapshotPolicyRequest
28546
28714
  * @param runtime runtime options for this request RuntimeOptions
@@ -28549,7 +28717,7 @@ export default class Client extends OpenApi {
28549
28717
  applyAutoSnapshotPolicyWithOptions(request: ApplyAutoSnapshotPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ApplyAutoSnapshotPolicyResponse>;
28550
28718
  /**
28551
28719
  * * Each disk can have only one automatic snapshot policy applied.
28552
- * * A single automatic snapshot policy can be applied to multiple disks.
28720
+ * * Each automatic snapshot policy can be applied to multiple disks.
28553
28721
  *
28554
28722
  * @param request ApplyAutoSnapshotPolicyRequest
28555
28723
  * @return ApplyAutoSnapshotPolicyResponse
@@ -28756,18 +28924,17 @@ export default class Client extends OpenApi {
28756
28924
  */
28757
28925
  attachNetworkInterface(request: AttachNetworkInterfaceRequest): Promise<AttachNetworkInterfaceResponse>;
28758
28926
  /**
28759
- * ## Description
28760
28927
  * When you call this operation, take note of the following items:
28761
28928
  * * 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 [Limits](~~25412#SecurityGroupQuota1~~).
28762
28929
  * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
28763
28930
  * * When multiple security group rules have the same priority, drop rules take precedence.
28764
28931
  * * The source can be a CIDR block specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by SourceGroupId.
28765
- * * For advanced security groups, security groups cannot be used as authorization objects.
28766
- * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
28932
+ * * Security groups cannot be referenced as authorization objects in rules of advanced security groups.
28933
+ * * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
28767
28934
  * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
28768
- * * The `Permissions.N` prefix is added to some 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`.
28935
+ * * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters andparameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
28769
28936
  * * 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.
28770
- * * Parameters used to specify a security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange, 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:
28937
+ * * Parameters used to specify 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:
28771
28938
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
28772
28939
  * &SecurityGroupId=sg-bp67acfmxazb4p****
28773
28940
  * &Permissions.1.SourceCidrIp=10.0.0.0/8
@@ -28776,7 +28943,7 @@ export default class Client extends OpenApi {
28776
28943
  * &Permissions.1.NicType=intranet
28777
28944
  * &Permissions.1.Policy=Accept
28778
28945
  * &<Common request parameters>
28779
- * * Parameters used to specify a 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 allow mutual access between security groups in the classic network, you can allow or deny another security group within the same region access to your security group. The security group that is allowed access to your security group can belong to your own Alibaba Cloud account or another Alibaba Cloud account specified by the SourceGroupOwnerAccount parameter. To allow mutual access between security groups in VPCs, you can allow or deny another security group within the same VPC access to your security group. Sample request:
28946
+ * * Parameters used to specify 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. For access control between security groups in the classic network, you can allow or deny other security groups within the same region to access your security group. The security groups that are allowed to access your security group can belong to your own Alibaba Cloud account or another Alibaba Cloud account specified by the SourceGroupOwnerAccount parameter. For access control between security groups in VPCs, you can allow or deny another security group within the same VPC to access your security group. Sample request:
28780
28947
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
28781
28948
  * &SecurityGroupId=sg-bp67acfmxazb4p****
28782
28949
  * &Permissions.1.SourceGroupId=sg-1651FBB**
@@ -28786,7 +28953,7 @@ export default class Client extends OpenApi {
28786
28953
  * &Permissions.1.NicType=intranet
28787
28954
  * &Permissions.1.Policy=Drop
28788
28955
  * &<Common request parameters>
28789
- * * Parameters used to specify a security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in VPCs. NicType must be set to intranet. Sample request:
28956
+ * * Parameters used to specify an outbound 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 VPCs. NicType must be set to intranet. Sample request:
28790
28957
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
28791
28958
  * &SecurityGroupId=sg-bp67acfmxazb4p****
28792
28959
  * &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
@@ -28804,18 +28971,17 @@ export default class Client extends OpenApi {
28804
28971
  */
28805
28972
  authorizeSecurityGroupWithOptions(request: AuthorizeSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<AuthorizeSecurityGroupResponse>;
28806
28973
  /**
28807
- * ## Description
28808
28974
  * When you call this operation, take note of the following items:
28809
28975
  * * 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 [Limits](~~25412#SecurityGroupQuota1~~).
28810
28976
  * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
28811
28977
  * * When multiple security group rules have the same priority, drop rules take precedence.
28812
28978
  * * The source can be a CIDR block specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by SourceGroupId.
28813
- * * For advanced security groups, security groups cannot be used as authorization objects.
28814
- * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
28979
+ * * Security groups cannot be referenced as authorization objects in rules of advanced security groups.
28980
+ * * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
28815
28981
  * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
28816
- * * The `Permissions.N` prefix is added to some 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`.
28982
+ * * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters andparameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
28817
28983
  * * 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.
28818
- * * Parameters used to specify a security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange, 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:
28984
+ * * Parameters used to specify 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:
28819
28985
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
28820
28986
  * &SecurityGroupId=sg-bp67acfmxazb4p****
28821
28987
  * &Permissions.1.SourceCidrIp=10.0.0.0/8
@@ -28824,7 +28990,7 @@ export default class Client extends OpenApi {
28824
28990
  * &Permissions.1.NicType=intranet
28825
28991
  * &Permissions.1.Policy=Accept
28826
28992
  * &<Common request parameters>
28827
- * * Parameters used to specify a 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 allow mutual access between security groups in the classic network, you can allow or deny another security group within the same region access to your security group. The security group that is allowed access to your security group can belong to your own Alibaba Cloud account or another Alibaba Cloud account specified by the SourceGroupOwnerAccount parameter. To allow mutual access between security groups in VPCs, you can allow or deny another security group within the same VPC access to your security group. Sample request:
28993
+ * * Parameters used to specify 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. For access control between security groups in the classic network, you can allow or deny other security groups within the same region to access your security group. The security groups that are allowed to access your security group can belong to your own Alibaba Cloud account or another Alibaba Cloud account specified by the SourceGroupOwnerAccount parameter. For access control between security groups in VPCs, you can allow or deny another security group within the same VPC to access your security group. Sample request:
28828
28994
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
28829
28995
  * &SecurityGroupId=sg-bp67acfmxazb4p****
28830
28996
  * &Permissions.1.SourceGroupId=sg-1651FBB**
@@ -28834,7 +29000,7 @@ export default class Client extends OpenApi {
28834
29000
  * &Permissions.1.NicType=intranet
28835
29001
  * &Permissions.1.Policy=Drop
28836
29002
  * &<Common request parameters>
28837
- * * Parameters used to specify a security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in VPCs. NicType must be set to intranet. Sample request:
29003
+ * * Parameters used to specify an outbound 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 VPCs. NicType must be set to intranet. Sample request:
28838
29004
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
28839
29005
  * &SecurityGroupId=sg-bp67acfmxazb4p****
28840
29006
  * &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
@@ -28851,17 +29017,16 @@ export default class Client extends OpenApi {
28851
29017
  */
28852
29018
  authorizeSecurityGroup(request: AuthorizeSecurityGroupRequest): Promise<AuthorizeSecurityGroupResponse>;
28853
29019
  /**
28854
- * ## Description
28855
29020
  * When you call this operation, take note of the following items:
28856
29021
  * * 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~~).
28857
29022
  * * You can set Policy to accept or drop for each security group rule to allow or deny access.
28858
29023
  * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
28859
29024
  * * When several security group rules have the same priority, drop rules take precedence.
28860
29025
  * * 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.
28861
- * * For advanced security groups, security groups cannot be used as authorization objects.
28862
- * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
29026
+ * * Security groups cannot be referenced as authorization objects in the rules of advanced security groups.
29027
+ * * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
28863
29028
  * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
28864
- * * The `Permissions.N` prefix is added to some 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`.
29029
+ * * The `Permissions.N` prefix is added to certain parameters to generate new parameters. Original parameters and parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
28865
29030
  * * 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.
28866
29031
  * * 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:
28867
29032
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
@@ -28899,17 +29064,16 @@ export default class Client extends OpenApi {
28899
29064
  */
28900
29065
  authorizeSecurityGroupEgressWithOptions(request: AuthorizeSecurityGroupEgressRequest, runtime: $Util.RuntimeOptions): Promise<AuthorizeSecurityGroupEgressResponse>;
28901
29066
  /**
28902
- * ## Description
28903
29067
  * When you call this operation, take note of the following items:
28904
29068
  * * 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~~).
28905
29069
  * * You can set Policy to accept or drop for each security group rule to allow or deny access.
28906
29070
  * * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
28907
29071
  * * When several security group rules have the same priority, drop rules take precedence.
28908
29072
  * * 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.
28909
- * * For advanced security groups, security groups cannot be used as authorization objects.
28910
- * * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
29073
+ * * Security groups cannot be referenced as authorization objects in the rules of advanced security groups.
29074
+ * * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
28911
29075
  * * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
28912
- * * The `Permissions.N` prefix is added to some 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`.
29076
+ * * The `Permissions.N` prefix is added to certain parameters to generate new parameters. Original parameters and parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
28913
29077
  * * 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.
28914
29078
  * * 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:
28915
29079
  * http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
@@ -29016,9 +29180,9 @@ export default class Client extends OpenApi {
29016
29180
  */
29017
29181
  connectRouterInterface(request: ConnectRouterInterfaceRequest): Promise<ConnectRouterInterfaceResponse>;
29018
29182
  /**
29019
- * After a public IP address is converted into an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
29183
+ * After a public IP address is converted to an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
29020
29184
  * Before you call this operation, make sure that the following requirements are met:
29021
- * * The instance is in the `Stopped` or `Running` state.
29185
+ * * The instance is in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
29022
29186
  * * No EIPs are associated with the instance.
29023
29187
  * * The instance has no configuration change tasks that have not taken effect.
29024
29188
  * * The public bandwidth of the instance is not 0 Mbit/s.
@@ -29031,9 +29195,9 @@ export default class Client extends OpenApi {
29031
29195
  */
29032
29196
  convertNatPublicIpToEipWithOptions(request: ConvertNatPublicIpToEipRequest, runtime: $Util.RuntimeOptions): Promise<ConvertNatPublicIpToEipResponse>;
29033
29197
  /**
29034
- * After a public IP address is converted into an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
29198
+ * After a public IP address is converted to an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
29035
29199
  * Before you call this operation, make sure that the following requirements are met:
29036
- * * The instance is in the `Stopped` or `Running` state.
29200
+ * * The instance is in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
29037
29201
  * * No EIPs are associated with the instance.
29038
29202
  * * The instance has no configuration change tasks that have not taken effect.
29039
29203
  * * The public bandwidth of the instance is not 0 Mbit/s.
@@ -29799,16 +29963,16 @@ export default class Client extends OpenApi {
29799
29963
  */
29800
29964
  createSnapshot(request: CreateSnapshotRequest): Promise<CreateSnapshotResponse>;
29801
29965
  /**
29802
- * You can specify `InstanceId` to create a snapshot-consistent group for the specified disks of the instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks that are attached to multiple instances within the same zone.
29803
- * > You cannot specify both `DiskId.N` and `ExcludeDiskId.N`. If `InstanceId` is specified, `DiskId.N` is only used to specify the disks that are attached to the instance specified by InstanceId.
29966
+ * You can specify `InstanceId` to create a snapshot-consistent group for the specified disks in an instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks that are attached to multiple instances within the same zone.
29967
+ * > You cannot specify both `DiskId.N` and `ExcludeDiskId.N`. If `InstanceId` is set, you can use `DiskId.N` to specify only disks attached to the instance specified by InstanceId. You cannot use DiskId.N to specify disks attached to multiple instances.
29804
29968
  * When you call this operation, take note of the following items:
29805
29969
  * * The disk for which you want to create a snapshot must be in the **In Use** (`In_use`) or **Unattached** (`Available`) state.
29806
- * * If the disk is in the **In Use** (`In_use`) state, the instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
29970
+ * * If the disk is in the **In Use** (`In_use`) state, the instance to which the disk is attached must be in the **Running** or **Stopped** state.````
29807
29971
  * * If the disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to an ECS instance. Snapshots cannot be created for disks that have never been attached to ECS instances.
29808
29972
  * * The snapshot-consistent group feature can be used to create snapshots only for enhanced SSDs (ESSDs).
29809
- * * A single snapshot-consistent group can contain snapshots of up to 16 disks including the system disk and data disks and cannot exceed 32 TiB in size.
29973
+ * * A single snapshot-consistent group can contain snapshots of up to 16 disks including the system disk and data disks. A single snapshot-consistent group cannot exceed 32 TiB in size.
29810
29974
  * * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring excessive fees.
29811
- * * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks that have the multi-attach feature enabled are attached to the instance for which you want to create a snapshot-consistent group, you must set the `ExcludeDiskId.N` parameter to exclude these disks.
29975
+ * * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks that have the multi-attach feature enabled are attached to an instance, you must set the `ExcludeDiskId.N` parameter to exclude these disks.
29812
29976
  * For information about the snapshot-consistent group feature and its billing, see [Create a snapshot-consistent group](~~199625~~).
29813
29977
  *
29814
29978
  * @param request CreateSnapshotGroupRequest
@@ -29817,16 +29981,16 @@ export default class Client extends OpenApi {
29817
29981
  */
29818
29982
  createSnapshotGroupWithOptions(request: CreateSnapshotGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateSnapshotGroupResponse>;
29819
29983
  /**
29820
- * You can specify `InstanceId` to create a snapshot-consistent group for the specified disks of the instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks that are attached to multiple instances within the same zone.
29821
- * > You cannot specify both `DiskId.N` and `ExcludeDiskId.N`. If `InstanceId` is specified, `DiskId.N` is only used to specify the disks that are attached to the instance specified by InstanceId.
29984
+ * You can specify `InstanceId` to create a snapshot-consistent group for the specified disks in an instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks that are attached to multiple instances within the same zone.
29985
+ * > You cannot specify both `DiskId.N` and `ExcludeDiskId.N`. If `InstanceId` is set, you can use `DiskId.N` to specify only disks attached to the instance specified by InstanceId. You cannot use DiskId.N to specify disks attached to multiple instances.
29822
29986
  * When you call this operation, take note of the following items:
29823
29987
  * * The disk for which you want to create a snapshot must be in the **In Use** (`In_use`) or **Unattached** (`Available`) state.
29824
- * * If the disk is in the **In Use** (`In_use`) state, the instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
29988
+ * * If the disk is in the **In Use** (`In_use`) state, the instance to which the disk is attached must be in the **Running** or **Stopped** state.````
29825
29989
  * * If the disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to an ECS instance. Snapshots cannot be created for disks that have never been attached to ECS instances.
29826
29990
  * * The snapshot-consistent group feature can be used to create snapshots only for enhanced SSDs (ESSDs).
29827
- * * A single snapshot-consistent group can contain snapshots of up to 16 disks including the system disk and data disks and cannot exceed 32 TiB in size.
29991
+ * * A single snapshot-consistent group can contain snapshots of up to 16 disks including the system disk and data disks. A single snapshot-consistent group cannot exceed 32 TiB in size.
29828
29992
  * * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring excessive fees.
29829
- * * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks that have the multi-attach feature enabled are attached to the instance for which you want to create a snapshot-consistent group, you must set the `ExcludeDiskId.N` parameter to exclude these disks.
29993
+ * * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks that have the multi-attach feature enabled are attached to an instance, you must set the `ExcludeDiskId.N` parameter to exclude these disks.
29830
29994
  * For information about the snapshot-consistent group feature and its billing, see [Create a snapshot-consistent group](~~199625~~).
29831
29995
  *
29832
29996
  * @param request CreateSnapshotGroupRequest
@@ -30311,7 +30475,7 @@ export default class Client extends OpenApi {
30311
30475
  /**
30312
30476
  * When you call this operation, take note of the following items:
30313
30477
  * * If the specified snapshot does not exist, the request is ignored.
30314
- * * If the specified snapshot has been used to create custom images, the snapshot cannot be deleted. You must call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
30478
+ * * If a snapshot has been used to create custom images, the snapshot cannot be deleted. You must call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
30315
30479
  * * If the specified snapshot has been used to create disks and the `Force` parameter is not specified or is set to `false`, the snapshot cannot be deleted directly. If you want to delete the snapshot, set the `Force` parameter to true to forcefully delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.
30316
30480
  *
30317
30481
  * @param request DeleteSnapshotRequest
@@ -30322,7 +30486,7 @@ export default class Client extends OpenApi {
30322
30486
  /**
30323
30487
  * When you call this operation, take note of the following items:
30324
30488
  * * If the specified snapshot does not exist, the request is ignored.
30325
- * * If the specified snapshot has been used to create custom images, the snapshot cannot be deleted. You must call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
30489
+ * * If a snapshot has been used to create custom images, the snapshot cannot be deleted. You must call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
30326
30490
  * * If the specified snapshot has been used to create disks and the `Force` parameter is not specified or is set to `false`, the snapshot cannot be deleted directly. If you want to delete the snapshot, set the `Force` parameter to true to forcefully delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.
30327
30491
  *
30328
30492
  * @param request DeleteSnapshotRequest
@@ -30412,7 +30576,7 @@ export default class Client extends OpenApi {
30412
30576
  describeAccessPoints(request: DescribeAccessPointsRequest): Promise<DescribeAccessPointsResponse>;
30413
30577
  /**
30414
30578
  * After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](~~25412~~).
30415
- * You can also [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex) to request a quota increase.
30579
+ * You can apply for a quota increase in the [Quota Center console](https://ecs.console.aliyun.com/?#/privilegeQuotaV2/region/cn-hangzhou?subTab=userQuota).
30416
30580
  *
30417
30581
  * @param request DescribeAccountAttributesRequest
30418
30582
  * @param runtime runtime options for this request RuntimeOptions
@@ -30421,7 +30585,7 @@ export default class Client extends OpenApi {
30421
30585
  describeAccountAttributesWithOptions(request: DescribeAccountAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAccountAttributesResponse>;
30422
30586
  /**
30423
30587
  * After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](~~25412~~).
30424
- * You can also [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex) to request a quota increase.
30588
+ * You can apply for a quota increase in the [Quota Center console](https://ecs.console.aliyun.com/?#/privilegeQuotaV2/region/cn-hangzhou?subTab=userQuota).
30425
30589
  *
30426
30590
  * @param request DescribeAccountAttributesRequest
30427
30591
  * @return DescribeAccountAttributesResponse
@@ -30726,7 +30890,7 @@ export default class Client extends OpenApi {
30726
30890
  */
30727
30891
  describeEipMonitorData(request: DescribeEipMonitorDataRequest): Promise<DescribeEipMonitorDataResponse>;
30728
30892
  /**
30729
- * When an elasticity assurance expires, data about the association between instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
30893
+ * When an elasticity assurance expires, data about the association between the instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
30730
30894
  *
30731
30895
  * @param request DescribeElasticityAssuranceInstancesRequest
30732
30896
  * @param runtime runtime options for this request RuntimeOptions
@@ -30734,7 +30898,7 @@ export default class Client extends OpenApi {
30734
30898
  */
30735
30899
  describeElasticityAssuranceInstancesWithOptions(request: DescribeElasticityAssuranceInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeElasticityAssuranceInstancesResponse>;
30736
30900
  /**
30737
- * When an elasticity assurance expires, data about the association between instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
30901
+ * When an elasticity assurance expires, data about the association between the instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
30738
30902
  *
30739
30903
  * @param request DescribeElasticityAssuranceInstancesRequest
30740
30904
  * @return DescribeElasticityAssuranceInstancesResponse
@@ -31037,7 +31201,7 @@ export default class Client extends OpenApi {
31037
31201
  */
31038
31202
  describeInstanceStatus(request: DescribeInstanceStatusRequest): Promise<DescribeInstanceStatusResponse>;
31039
31203
  /**
31040
- * > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
31204
+ * > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
31041
31205
  *
31042
31206
  * @param request DescribeInstanceTopologyRequest
31043
31207
  * @param runtime runtime options for this request RuntimeOptions
@@ -31045,7 +31209,7 @@ export default class Client extends OpenApi {
31045
31209
  */
31046
31210
  describeInstanceTopologyWithOptions(request: DescribeInstanceTopologyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTopologyResponse>;
31047
31211
  /**
31048
- * > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
31212
+ * > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
31049
31213
  *
31050
31214
  * @param request DescribeInstanceTopologyRequest
31051
31215
  * @return DescribeInstanceTopologyResponse
@@ -31097,13 +31261,13 @@ export default class Client extends OpenApi {
31097
31261
  * When you call this operation, take note of the following items:
31098
31262
  * * 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.
31099
31263
  * * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal within 60 seconds, the VNC management terminal is automatically disconnected.
31100
- * * When the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal up to 30 times a minute.
31101
- * * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).`` Where,
31102
- * * `vncUrl:` the `VncUrl` value returned after a successful query.
31264
+ * * After the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal a maximum of 30 times a minute.
31265
+ * * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
31266
+ * * `vncUrl:` the value of the `VncUrl` parameter that is returned after a successful query.
31103
31267
  * * `instanceId:` the ID of your instance.
31104
31268
  * * `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.
31105
- * * `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.
31106
- * Example:
31269
+ * * `password:` Optional. A six-character password that is used to connect to the VNC management terminal. It can contain digits and letters. If you specify this parameter, you do not need to enter your password again when the connection is being established.
31270
+ * Examples:
31107
31271
  * ```
31108
31272
  * ```
31109
31273
  * <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true> \\`\\`\\`
@@ -31120,13 +31284,13 @@ export default class Client extends OpenApi {
31120
31284
  * When you call this operation, take note of the following items:
31121
31285
  * * 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.
31122
31286
  * * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal within 60 seconds, the VNC management terminal is automatically disconnected.
31123
- * * When the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal up to 30 times a minute.
31124
- * * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).`` Where,
31125
- * * `vncUrl:` the `VncUrl` value returned after a successful query.
31287
+ * * After the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal a maximum of 30 times a minute.
31288
+ * * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
31289
+ * * `vncUrl:` the value of the `VncUrl` parameter that is returned after a successful query.
31126
31290
  * * `instanceId:` the ID of your instance.
31127
31291
  * * `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.
31128
- * * `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.
31129
- * Example:
31292
+ * * `password:` Optional. A six-character password that is used to connect to the VNC management terminal. It can contain digits and letters. If you specify this parameter, you do not need to enter your password again when the connection is being established.
31293
+ * Examples:
31130
31294
  * ```
31131
31295
  * ```
31132
31296
  * <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true> \\`\\`\\`
@@ -31166,7 +31330,7 @@ export default class Client extends OpenApi {
31166
31330
  */
31167
31331
  describeInstances(request: DescribeInstancesRequest): Promise<DescribeInstancesResponse>;
31168
31332
  /**
31169
- * The response includes instance states and instance system events in the Scheduled state.
31333
+ * The response includes instance states and instance system events that are in the Scheduled state.
31170
31334
  * If a period is specified, events are queried based on the specified period.
31171
31335
  *
31172
31336
  * @param request DescribeInstancesFullStatusRequest
@@ -31175,7 +31339,7 @@ export default class Client extends OpenApi {
31175
31339
  */
31176
31340
  describeInstancesFullStatusWithOptions(request: DescribeInstancesFullStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstancesFullStatusResponse>;
31177
31341
  /**
31178
- * The response includes instance states and instance system events in the Scheduled state.
31342
+ * The response includes instance states and instance system events that are in the Scheduled state.
31179
31343
  * If a period is specified, events are queried based on the specified period.
31180
31344
  *
31181
31345
  * @param request DescribeInstancesFullStatusRequest
@@ -31775,11 +31939,11 @@ export default class Client extends OpenApi {
31775
31939
  detachClassicLinkVpc(request: DetachClassicLinkVpcRequest): Promise<DetachClassicLinkVpcResponse>;
31776
31940
  /**
31777
31941
  * When you call this operation, take note of the following items:
31778
- * * The disk you want to detach must be in the `In_Use` state.
31779
- * * The instance from which you want to detach a data disk must be in the `Running` or `Stopped`state.********
31780
- * * The instance from which you want to detach the system disk must be in the `Stopped` state.****
31781
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.``
31782
- * * DetachDisk is an asynchronous operation. It takes about one minute for a disk to be detached from an instance after the operation is called.
31942
+ * * The disk that you want to detach must be in the In Use (`In_Use`) state.
31943
+ * * The instance from which you want to detach a data disk must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
31944
+ * * The instance from which you want to detach the system disk must be in the **Stopped** (`Stopped`) state.
31945
+ * * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"` when you query the instance information, the instance is locked for security reasons and all operations do not take effect on the instance.
31946
+ * * DetachDisk is an asynchronous operation. It takes about 1 minute for a disk to be detached from an instance after the operation is called.
31783
31947
  *
31784
31948
  * @param request DetachDiskRequest
31785
31949
  * @param runtime runtime options for this request RuntimeOptions
@@ -31788,11 +31952,11 @@ export default class Client extends OpenApi {
31788
31952
  detachDiskWithOptions(request: DetachDiskRequest, runtime: $Util.RuntimeOptions): Promise<DetachDiskResponse>;
31789
31953
  /**
31790
31954
  * When you call this operation, take note of the following items:
31791
- * * The disk you want to detach must be in the `In_Use` state.
31792
- * * The instance from which you want to detach a data disk must be in the `Running` or `Stopped`state.********
31793
- * * The instance from which you want to detach the system disk must be in the `Stopped` state.****
31794
- * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.``
31795
- * * DetachDisk is an asynchronous operation. It takes about one minute for a disk to be detached from an instance after the operation is called.
31955
+ * * The disk that you want to detach must be in the In Use (`In_Use`) state.
31956
+ * * The instance from which you want to detach a data disk must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
31957
+ * * The instance from which you want to detach the system disk must be in the **Stopped** (`Stopped`) state.
31958
+ * * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"` when you query the instance information, the instance is locked for security reasons and all operations do not take effect on the instance.
31959
+ * * DetachDisk is an asynchronous operation. It takes about 1 minute for a disk to be detached from an instance after the operation is called.
31796
31960
  *
31797
31961
  * @param request DetachDiskRequest
31798
31962
  * @return DetachDiskResponse
@@ -32250,7 +32414,20 @@ export default class Client extends OpenApi {
32250
32414
  * @return ImportSnapshotResponse
32251
32415
  */
32252
32416
  importSnapshot(request: ImportSnapshotRequest): Promise<ImportSnapshotResponse>;
32417
+ /**
32418
+ * After you call the InstallCloudAssistant operation and then the [RebootInstance](~~25502~~) operation, the Cloud Assistant client is installed and takes effect.
32419
+ *
32420
+ * @param request InstallCloudAssistantRequest
32421
+ * @param runtime runtime options for this request RuntimeOptions
32422
+ * @return InstallCloudAssistantResponse
32423
+ */
32253
32424
  installCloudAssistantWithOptions(request: InstallCloudAssistantRequest, runtime: $Util.RuntimeOptions): Promise<InstallCloudAssistantResponse>;
32425
+ /**
32426
+ * After you call the InstallCloudAssistant operation and then the [RebootInstance](~~25502~~) operation, the Cloud Assistant client is installed and takes effect.
32427
+ *
32428
+ * @param request InstallCloudAssistantRequest
32429
+ * @return InstallCloudAssistantResponse
32430
+ */
32254
32431
  installCloudAssistant(request: InstallCloudAssistantRequest): Promise<InstallCloudAssistantResponse>;
32255
32432
  /**
32256
32433
  * * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements to run the command, the call fails. Specify instances that meet the requirements and call the InvokeCommand operation again.
@@ -32412,7 +32589,7 @@ export default class Client extends OpenApi {
32412
32589
  listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
32413
32590
  /**
32414
32591
  * Before you call this operation, take note of the following items:
32415
- * * If you modify the capacity or capacity-related settings of an auto provisioning group, the group executes the scheduling task once after the modification.
32592
+ * * If you modify the capacity or capacity-related settings of an auto provisioning group, the group executes a scheduling task once after the group is modified.
32416
32593
  * * You cannot modify an auto provisioning group when the group is being deleted.
32417
32594
  *
32418
32595
  * @param request ModifyAutoProvisioningGroupRequest
@@ -32422,7 +32599,7 @@ export default class Client extends OpenApi {
32422
32599
  modifyAutoProvisioningGroupWithOptions(request: ModifyAutoProvisioningGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAutoProvisioningGroupResponse>;
32423
32600
  /**
32424
32601
  * Before you call this operation, take note of the following items:
32425
- * * If you modify the capacity or capacity-related settings of an auto provisioning group, the group executes the scheduling task once after the modification.
32602
+ * * If you modify the capacity or capacity-related settings of an auto provisioning group, the group executes a scheduling task once after the group is modified.
32426
32603
  * * You cannot modify an auto provisioning group when the group is being deleted.
32427
32604
  *
32428
32605
  * @param request ModifyAutoProvisioningGroupRequest
@@ -32537,7 +32714,22 @@ export default class Client extends OpenApi {
32537
32714
  modifyDedicatedHostClusterAttribute(request: ModifyDedicatedHostClusterAttributeRequest): Promise<ModifyDedicatedHostClusterAttributeResponse>;
32538
32715
  modifyDedicatedHostsChargeTypeWithOptions(request: ModifyDedicatedHostsChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDedicatedHostsChargeTypeResponse>;
32539
32716
  modifyDedicatedHostsChargeType(request: ModifyDedicatedHostsChargeTypeRequest): Promise<ModifyDedicatedHostsChargeTypeResponse>;
32717
+ /**
32718
+ * 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.
32719
+ * > This operation is in internal preview and has not been officially released. We recommend that you do not use this operation.
32720
+ *
32721
+ * @param request ModifyDemandRequest
32722
+ * @param runtime runtime options for this request RuntimeOptions
32723
+ * @return ModifyDemandResponse
32724
+ */
32540
32725
  modifyDemandWithOptions(request: ModifyDemandRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDemandResponse>;
32726
+ /**
32727
+ * 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.
32728
+ * > This operation is in internal preview and has not been officially released. We recommend that you do not use this operation.
32729
+ *
32730
+ * @param request ModifyDemandRequest
32731
+ * @return ModifyDemandResponse
32732
+ */
32541
32733
  modifyDemand(request: ModifyDemandRequest): Promise<ModifyDemandResponse>;
32542
32734
  modifyDeploymentSetAttributeWithOptions(request: ModifyDeploymentSetAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDeploymentSetAttributeResponse>;
32543
32735
  modifyDeploymentSetAttribute(request: ModifyDeploymentSetAttributeRequest): Promise<ModifyDeploymentSetAttributeResponse>;
@@ -32591,7 +32783,40 @@ export default class Client extends OpenApi {
32591
32783
  * @return ModifyDiskChargeTypeResponse
32592
32784
  */
32593
32785
  modifyDiskChargeType(request: ModifyDiskChargeTypeRequest): Promise<ModifyDiskChargeTypeResponse>;
32786
+ modifyDiskDeploymentWithOptions(request: ModifyDiskDeploymentRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskDeploymentResponse>;
32787
+ modifyDiskDeployment(request: ModifyDiskDeploymentRequest): Promise<ModifyDiskDeploymentResponse>;
32788
+ /**
32789
+ * ## Description
32790
+ * When you call this operation, take note of the following items:
32791
+ * * To modify the performance level of an ESSD, take note of the following items:
32792
+ * * For a subscription ESSD, you can only upgrade its performance level.
32793
+ * * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
32794
+ * * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
32795
+ * * If the ESSD is attached to an 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.
32796
+ * * If you cannot upgrade the performance level of the ESSD due to its capacity, resize the ESSD by calling the [ResizeDisk](~~25522~~) operation and then try again. For more information, see [Enhanced SSDs](~~122389~~).
32797
+ * * For more 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.
32798
+ * The new disk category or performance level takes effect immediately after this operation is executed. Alibaba Cloud calculates the bill based on the new disk category and performance level.
32799
+ *
32800
+ * @param request ModifyDiskSpecRequest
32801
+ * @param runtime runtime options for this request RuntimeOptions
32802
+ * @return ModifyDiskSpecResponse
32803
+ */
32594
32804
  modifyDiskSpecWithOptions(request: ModifyDiskSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskSpecResponse>;
32805
+ /**
32806
+ * ## Description
32807
+ * When you call this operation, take note of the following items:
32808
+ * * To modify the performance level of an ESSD, take note of the following items:
32809
+ * * For a subscription ESSD, you can only upgrade its performance level.
32810
+ * * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
32811
+ * * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
32812
+ * * If the ESSD is attached to an 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.
32813
+ * * If you cannot upgrade the performance level of the ESSD due to its capacity, resize the ESSD by calling the [ResizeDisk](~~25522~~) operation and then try again. For more information, see [Enhanced SSDs](~~122389~~).
32814
+ * * For more 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.
32815
+ * The new disk category or performance level takes effect immediately after this operation is executed. Alibaba Cloud calculates the bill based on the new disk category and performance level.
32816
+ *
32817
+ * @param request ModifyDiskSpecRequest
32818
+ * @return ModifyDiskSpecResponse
32819
+ */
32595
32820
  modifyDiskSpec(request: ModifyDiskSpecRequest): Promise<ModifyDiskSpecResponse>;
32596
32821
  /**
32597
32822
  * @deprecated
@@ -32694,7 +32919,34 @@ export default class Client extends OpenApi {
32694
32919
  * @return ModifyImageSharePermissionResponse
32695
32920
  */
32696
32921
  modifyImageSharePermission(request: ModifyImageSharePermissionRequest): Promise<ModifyImageSharePermissionResponse>;
32922
+ /**
32923
+ * A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about instances that are created by using the private pool. You can also use a private pool when you create an ECS instance, so that the instance can be matched to the elasticity assurance or capacity reservation associated with the private pool.
32924
+ * * After you call this operation to modify the attributes of the private pool for an instance, you do not need to restart the instance.
32925
+ * * When you call the following operations, the system rematches the instance with private pools. If the instance already matches a specified private pool, the call to an operation may fail when the private pool capacity is used up or because the private pool expires. If the call fails, call the ModifyInstanceAttachmentAttributes operation to change the match mode of the private pool to `Open`.
32926
+ * * StartInstance
32927
+ * * ReActivateInstances
32928
+ * * ModifyInstanceChargeType
32929
+ * * ModifyPrepayInstanceSpec
32930
+ * * ReplaceSystemDisk
32931
+ *
32932
+ * @param request ModifyInstanceAttachmentAttributesRequest
32933
+ * @param runtime runtime options for this request RuntimeOptions
32934
+ * @return ModifyInstanceAttachmentAttributesResponse
32935
+ */
32697
32936
  modifyInstanceAttachmentAttributesWithOptions(request: ModifyInstanceAttachmentAttributesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAttachmentAttributesResponse>;
32937
+ /**
32938
+ * A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about instances that are created by using the private pool. You can also use a private pool when you create an ECS instance, so that the instance can be matched to the elasticity assurance or capacity reservation associated with the private pool.
32939
+ * * After you call this operation to modify the attributes of the private pool for an instance, you do not need to restart the instance.
32940
+ * * When you call the following operations, the system rematches the instance with private pools. If the instance already matches a specified private pool, the call to an operation may fail when the private pool capacity is used up or because the private pool expires. If the call fails, call the ModifyInstanceAttachmentAttributes operation to change the match mode of the private pool to `Open`.
32941
+ * * StartInstance
32942
+ * * ReActivateInstances
32943
+ * * ModifyInstanceChargeType
32944
+ * * ModifyPrepayInstanceSpec
32945
+ * * ReplaceSystemDisk
32946
+ *
32947
+ * @param request ModifyInstanceAttachmentAttributesRequest
32948
+ * @return ModifyInstanceAttachmentAttributesResponse
32949
+ */
32698
32950
  modifyInstanceAttachmentAttributes(request: ModifyInstanceAttachmentAttributesRequest): Promise<ModifyInstanceAttachmentAttributesResponse>;
32699
32951
  /**
32700
32952
  * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons and all operations are prohibited on it.
@@ -32746,9 +32998,8 @@ export default class Client extends OpenApi {
32746
32998
  modifyInstanceAutoReleaseTimeWithOptions(request: ModifyInstanceAutoReleaseTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAutoReleaseTimeResponse>;
32747
32999
  modifyInstanceAutoReleaseTime(request: ModifyInstanceAutoReleaseTimeRequest): Promise<ModifyInstanceAutoReleaseTimeResponse>;
32748
33000
  /**
32749
- * Before you call this operation, make sure that you understand the billing methods and pricing schedule of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.aliyun.com/price/product#/ecs/detail) product page.
32750
- * * The payment for auto-renewal is first deducted automatically at 08:00:00 (UTC+8) nine days before the instance expires.
32751
- * * If the subscription period of a new instance is one week, the renewal payment is automatically deducted on the day the instance is created.
33001
+ * Before you call this operation, make sure that you are familiar with the billing methods and pricing schedule of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
33002
+ * * The payment for auto-renewal is deducted automatically at 08:00:00 (UTC+8) nine days before the instance expires.
32752
33003
  * * If the first deduction attempt fails, Alibaba Cloud attempts to deduct the payment each day until the payment is deducted or until the instance is locked after the nine-day period ends. Make sure that your account balance or credit balance is sufficient.
32753
33004
  *
32754
33005
  * @param request ModifyInstanceAutoRenewAttributeRequest
@@ -32757,9 +33008,8 @@ export default class Client extends OpenApi {
32757
33008
  */
32758
33009
  modifyInstanceAutoRenewAttributeWithOptions(request: ModifyInstanceAutoRenewAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAutoRenewAttributeResponse>;
32759
33010
  /**
32760
- * Before you call this operation, make sure that you understand the billing methods and pricing schedule of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.aliyun.com/price/product#/ecs/detail) product page.
32761
- * * The payment for auto-renewal is first deducted automatically at 08:00:00 (UTC+8) nine days before the instance expires.
32762
- * * If the subscription period of a new instance is one week, the renewal payment is automatically deducted on the day the instance is created.
33011
+ * Before you call this operation, make sure that you are familiar with the billing methods and pricing schedule of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
33012
+ * * The payment for auto-renewal is deducted automatically at 08:00:00 (UTC+8) nine days before the instance expires.
32763
33013
  * * If the first deduction attempt fails, Alibaba Cloud attempts to deduct the payment each day until the payment is deducted or until the instance is locked after the nine-day period ends. Make sure that your account balance or credit balance is sufficient.
32764
33014
  *
32765
33015
  * @param request ModifyInstanceAutoRenewAttributeRequest
@@ -32767,17 +33017,17 @@ export default class Client extends OpenApi {
32767
33017
  */
32768
33018
  modifyInstanceAutoRenewAttribute(request: ModifyInstanceAutoRenewAttributeRequest): Promise<ModifyInstanceAutoRenewAttributeResponse>;
32769
33019
  /**
32770
- * Before you call this operation, make sure that you understand the billing methods and pricing schedule of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
33020
+ * Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
32771
33021
  * When you call this operation, take note of the following items:
32772
- * * The instances must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state, and you have no overdue payments for them.
32773
- * * After you change the billing method, automatic payment is enabled by default. Make sure that you have sufficient balance in your account. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the `AutoPay` parameter to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
32774
- * * **Change the billing method from subscription to pay-as-you-go**:
32775
- * * Your ECS usage determines whether the billing method of an instance can be changed from subscription to pay-as-you-go.
32776
- * * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
32777
- * * **Refund rule**: You have a quota for the total refund amount each month, and unused balance of this quota is not carried forward into the next month. After you use up the refund quota of the current month, you can change the billing method only when the next month arrives. The refund amount incurred when you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
32778
- * * **Change the billing method from pay-as-you-go to subscription**:
32779
- * * You can change the billing method of all data disks attached to an instance from pay-as-you-go to subscription.
32780
- * * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
33022
+ * * The instances must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state, and you cannot have overdue payments associated with them.
33023
+ * * After you change the billing method, the payment (if any) is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the `AutoPay` parameter to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
33024
+ * * **Change the billing method from subscription to pay-as-you-go**:
33025
+ * * Your ECS usage determines whether the billing method of an instance can be changed from subscription to pay-as-you-go.
33026
+ * * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
33027
+ * * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method only in the next month. The refund amount incurred after you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
33028
+ * * **Change the billing method from pay-as-you-go to subscription**:
33029
+ * * You can change the billing method of all data disks that are attached to an instance from pay-as-you-go to subscription.
33030
+ * * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
32781
33031
  *
32782
33032
  * @param request ModifyInstanceChargeTypeRequest
32783
33033
  * @param runtime runtime options for this request RuntimeOptions
@@ -32785,17 +33035,17 @@ export default class Client extends OpenApi {
32785
33035
  */
32786
33036
  modifyInstanceChargeTypeWithOptions(request: ModifyInstanceChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceChargeTypeResponse>;
32787
33037
  /**
32788
- * Before you call this operation, make sure that you understand the billing methods and pricing schedule of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
33038
+ * Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
32789
33039
  * When you call this operation, take note of the following items:
32790
- * * The instances must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state, and you have no overdue payments for them.
32791
- * * After you change the billing method, automatic payment is enabled by default. Make sure that you have sufficient balance in your account. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the `AutoPay` parameter to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
32792
- * * **Change the billing method from subscription to pay-as-you-go**:
32793
- * * Your ECS usage determines whether the billing method of an instance can be changed from subscription to pay-as-you-go.
32794
- * * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
32795
- * * **Refund rule**: You have a quota for the total refund amount each month, and unused balance of this quota is not carried forward into the next month. After you use up the refund quota of the current month, you can change the billing method only when the next month arrives. The refund amount incurred when you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
32796
- * * **Change the billing method from pay-as-you-go to subscription**:
32797
- * * You can change the billing method of all data disks attached to an instance from pay-as-you-go to subscription.
32798
- * * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
33040
+ * * The instances must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state, and you cannot have overdue payments associated with them.
33041
+ * * After you change the billing method, the payment (if any) is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the `AutoPay` parameter to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
33042
+ * * **Change the billing method from subscription to pay-as-you-go**:
33043
+ * * Your ECS usage determines whether the billing method of an instance can be changed from subscription to pay-as-you-go.
33044
+ * * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
33045
+ * * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method only in the next month. The refund amount incurred after you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
33046
+ * * **Change the billing method from pay-as-you-go to subscription**:
33047
+ * * You can change the billing method of all data disks that are attached to an instance from pay-as-you-go to subscription.
33048
+ * * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
32799
33049
  *
32800
33050
  * @param request ModifyInstanceChargeTypeRequest
32801
33051
  * @return ModifyInstanceChargeTypeResponse
@@ -33007,7 +33257,22 @@ export default class Client extends OpenApi {
33007
33257
  modifyInstanceVpcAttribute(request: ModifyInstanceVpcAttributeRequest): Promise<ModifyInstanceVpcAttributeResponse>;
33008
33258
  modifyLaunchTemplateDefaultVersionWithOptions(request: ModifyLaunchTemplateDefaultVersionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLaunchTemplateDefaultVersionResponse>;
33009
33259
  modifyLaunchTemplateDefaultVersion(request: ModifyLaunchTemplateDefaultVersionRequest): Promise<ModifyLaunchTemplateDefaultVersionResponse>;
33260
+ /**
33261
+ * ## Description
33262
+ * The ModifyManagedInstance operation can be called to modify only the name of a single managed instance.
33263
+ *
33264
+ * @param request ModifyManagedInstanceRequest
33265
+ * @param runtime runtime options for this request RuntimeOptions
33266
+ * @return ModifyManagedInstanceResponse
33267
+ */
33010
33268
  modifyManagedInstanceWithOptions(request: ModifyManagedInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ModifyManagedInstanceResponse>;
33269
+ /**
33270
+ * ## Description
33271
+ * The ModifyManagedInstance operation can be called to modify only the name of a single managed instance.
33272
+ *
33273
+ * @param request ModifyManagedInstanceRequest
33274
+ * @return ModifyManagedInstanceResponse
33275
+ */
33011
33276
  modifyManagedInstance(request: ModifyManagedInstanceRequest): Promise<ModifyManagedInstanceResponse>;
33012
33277
  modifyNetworkInterfaceAttributeWithOptions(request: ModifyNetworkInterfaceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNetworkInterfaceAttributeResponse>;
33013
33278
  modifyNetworkInterfaceAttribute(request: ModifyNetworkInterfaceAttributeRequest): Promise<ModifyNetworkInterfaceAttributeResponse>;
@@ -33055,17 +33320,17 @@ export default class Client extends OpenApi {
33055
33320
  modifyPrefixList(request: ModifyPrefixListRequest): Promise<ModifyPrefixListResponse>;
33056
33321
  /**
33057
33322
  * Before you call this operation, make sure that you understand the billing methods, pricing schedule, and refund policies of [ECS](https://www.alibabacloud.com/product/ecs#pricing). For more information, see [Request a refund for the downgrade of resource specifications](~~201955~~).
33058
- * Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the supported instance types. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
33059
- * When you call this operation, take note of the following item:
33060
- * * You cannot change the instance type of an expired instance. Renew the instance and try again.
33323
+ * Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
33324
+ * When you call this operation, take note of the following items:
33325
+ * * The instance type of an expired instance cannot be changed. You can renew the instance and try again.
33061
33326
  * * When you downgrade the instance type of an instance, take note of the following items:
33062
- * * The instance must be in the **Stopped** (`Stopped`) state.
33063
- * * You must specify the operation type by setting the `OperatorType` parameter to downgrade.
33064
- * * You can downgrade the configurations of an instance for up to three times. In this case, you can apply for up to three refunds for price differences for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
33065
- * * The price difference is refunded to the payment account that you used to purchase the instance. You cannot apply for a refund for vouchers that you already redeemed.
33066
- * * This operation is asynchronous. The system requires 5 to 10 seconds to change the instance type of an instance. For the instance type change to take effect, you must restart the instance in the ECS console or by calling the RebootInstance operation. If you restart only the operating system of the instance, the instance type change does not take effect.
33067
- * * If the instance is in the **Stopped** state, you need to only start the instance. You do not need to restart the instance after it enters the Running state.
33068
- * * If you set the `RebootWhenFinished` parameter to true for the instance, you do not need to restart the instance.
33327
+ * * The instance must be in the **Stopped** state.``
33328
+ * * You must specify the operation type by setting `OperatorType` to downgrade.
33329
+ * * You can downgrade the configurations of an instance up to three times. Therefore, a maximum of three refunds for price difference can be made for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
33330
+ * * The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.
33331
+ * * This operation is asynchronous. It takes 5 to 10 seconds for the instance type to change. You must restart the instance by calling the RebootInstance operation or by using the ECS console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect.
33332
+ * * If the instance is in the **Stopped** state, you only need to start the instance. You do not need to restart the instance after it enters the Running state.
33333
+ * * If `RebootWhenFinished` is set to true for the instance, you do not need to manually restart the instance.
33069
33334
  *
33070
33335
  * @param request ModifyPrepayInstanceSpecRequest
33071
33336
  * @param runtime runtime options for this request RuntimeOptions
@@ -33074,17 +33339,17 @@ export default class Client extends OpenApi {
33074
33339
  modifyPrepayInstanceSpecWithOptions(request: ModifyPrepayInstanceSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPrepayInstanceSpecResponse>;
33075
33340
  /**
33076
33341
  * Before you call this operation, make sure that you understand the billing methods, pricing schedule, and refund policies of [ECS](https://www.alibabacloud.com/product/ecs#pricing). For more information, see [Request a refund for the downgrade of resource specifications](~~201955~~).
33077
- * Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the supported instance types. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
33078
- * When you call this operation, take note of the following item:
33079
- * * You cannot change the instance type of an expired instance. Renew the instance and try again.
33342
+ * Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
33343
+ * When you call this operation, take note of the following items:
33344
+ * * The instance type of an expired instance cannot be changed. You can renew the instance and try again.
33080
33345
  * * When you downgrade the instance type of an instance, take note of the following items:
33081
- * * The instance must be in the **Stopped** (`Stopped`) state.
33082
- * * You must specify the operation type by setting the `OperatorType` parameter to downgrade.
33083
- * * You can downgrade the configurations of an instance for up to three times. In this case, you can apply for up to three refunds for price differences for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
33084
- * * The price difference is refunded to the payment account that you used to purchase the instance. You cannot apply for a refund for vouchers that you already redeemed.
33085
- * * This operation is asynchronous. The system requires 5 to 10 seconds to change the instance type of an instance. For the instance type change to take effect, you must restart the instance in the ECS console or by calling the RebootInstance operation. If you restart only the operating system of the instance, the instance type change does not take effect.
33086
- * * If the instance is in the **Stopped** state, you need to only start the instance. You do not need to restart the instance after it enters the Running state.
33087
- * * If you set the `RebootWhenFinished` parameter to true for the instance, you do not need to restart the instance.
33346
+ * * The instance must be in the **Stopped** state.``
33347
+ * * You must specify the operation type by setting `OperatorType` to downgrade.
33348
+ * * You can downgrade the configurations of an instance up to three times. Therefore, a maximum of three refunds for price difference can be made for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
33349
+ * * The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.
33350
+ * * This operation is asynchronous. It takes 5 to 10 seconds for the instance type to change. You must restart the instance by calling the RebootInstance operation or by using the ECS console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect.
33351
+ * * If the instance is in the **Stopped** state, you only need to start the instance. You do not need to restart the instance after it enters the Running state.
33352
+ * * If `RebootWhenFinished` is set to true for the instance, you do not need to manually restart the instance.
33088
33353
  *
33089
33354
  * @param request ModifyPrepayInstanceSpecRequest
33090
33355
  * @return ModifyPrepayInstanceSpecResponse
@@ -33094,7 +33359,30 @@ export default class Client extends OpenApi {
33094
33359
  modifyReservedInstanceAttribute(request: ModifyReservedInstanceAttributeRequest): Promise<ModifyReservedInstanceAttributeResponse>;
33095
33360
  modifyReservedInstanceAutoRenewAttributeWithOptions(request: ModifyReservedInstanceAutoRenewAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyReservedInstanceAutoRenewAttributeResponse>;
33096
33361
  modifyReservedInstanceAutoRenewAttribute(request: ModifyReservedInstanceAutoRenewAttributeRequest): Promise<ModifyReservedInstanceAutoRenewAttributeResponse>;
33362
+ /**
33363
+ * ## Description
33364
+ * When you call this operation, take note of the following items:
33365
+ * * For information about limits on reserved instances, see the "Limits" section in [Reserved instance overview](~~100370~~).
33366
+ * * Before you call this operation to split a reserved instance, make sure that you fully understand the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
33367
+ * * Before you call this operation to merge reserved instances, make sure that you fully understand the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
33368
+ * * Before you call this operation to modify a reserved instance, make sure that you fully understand the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
33369
+ *
33370
+ * @param request ModifyReservedInstancesRequest
33371
+ * @param runtime runtime options for this request RuntimeOptions
33372
+ * @return ModifyReservedInstancesResponse
33373
+ */
33097
33374
  modifyReservedInstancesWithOptions(request: ModifyReservedInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyReservedInstancesResponse>;
33375
+ /**
33376
+ * ## Description
33377
+ * When you call this operation, take note of the following items:
33378
+ * * For information about limits on reserved instances, see the "Limits" section in [Reserved instance overview](~~100370~~).
33379
+ * * Before you call this operation to split a reserved instance, make sure that you fully understand the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
33380
+ * * Before you call this operation to merge reserved instances, make sure that you fully understand the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
33381
+ * * Before you call this operation to modify a reserved instance, make sure that you fully understand the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
33382
+ *
33383
+ * @param request ModifyReservedInstancesRequest
33384
+ * @return ModifyReservedInstancesResponse
33385
+ */
33098
33386
  modifyReservedInstances(request: ModifyReservedInstancesRequest): Promise<ModifyReservedInstancesResponse>;
33099
33387
  /**
33100
33388
  * @deprecated
@@ -33128,7 +33416,30 @@ export default class Client extends OpenApi {
33128
33416
  modifyRouterInterfaceSpec(request: ModifyRouterInterfaceSpecRequest): Promise<ModifyRouterInterfaceSpecResponse>;
33129
33417
  modifySecurityGroupAttributeWithOptions(request: ModifySecurityGroupAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupAttributeResponse>;
33130
33418
  modifySecurityGroupAttribute(request: ModifySecurityGroupAttributeRequest): Promise<ModifySecurityGroupAttributeResponse>;
33419
+ /**
33420
+ * ## Description
33421
+ * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
33422
+ * * If the type of the authorization object (source or destination) is IP address or CIDR block, security group, or prefix list, the type cannot be changed. 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.
33423
+ * * 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.
33424
+ * * The modified security group rule cannot be the same as other existing rules.
33425
+ * * If you want to delete the values of non-empty parameters for the rule, we recommend that you create a new rule and delete the original rule.
33426
+ *
33427
+ * @param request ModifySecurityGroupEgressRuleRequest
33428
+ * @param runtime runtime options for this request RuntimeOptions
33429
+ * @return ModifySecurityGroupEgressRuleResponse
33430
+ */
33131
33431
  modifySecurityGroupEgressRuleWithOptions(request: ModifySecurityGroupEgressRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupEgressRuleResponse>;
33432
+ /**
33433
+ * ## Description
33434
+ * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
33435
+ * * If the type of the authorization object (source or destination) is IP address or CIDR block, security group, or prefix list, the type cannot be changed. 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.
33436
+ * * 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.
33437
+ * * The modified security group rule cannot be the same as other existing rules.
33438
+ * * If you want to delete the values of non-empty parameters for the rule, we recommend that you create a new rule and delete the original rule.
33439
+ *
33440
+ * @param request ModifySecurityGroupEgressRuleRequest
33441
+ * @return ModifySecurityGroupEgressRuleResponse
33442
+ */
33132
33443
  modifySecurityGroupEgressRule(request: ModifySecurityGroupEgressRuleRequest): Promise<ModifySecurityGroupEgressRuleResponse>;
33133
33444
  /**
33134
33445
  * When you call this operation, take note of the following items:
@@ -33151,7 +33462,28 @@ export default class Client extends OpenApi {
33151
33462
  * @return ModifySecurityGroupPolicyResponse
33152
33463
  */
33153
33464
  modifySecurityGroupPolicy(request: ModifySecurityGroupPolicyRequest): Promise<ModifySecurityGroupPolicyResponse>;
33465
+ /**
33466
+ * When you modify a security group rule by specifying its ID, take note of the following items:
33467
+ * * If the type of the authorization object (source or destination) is IP address or CIDR block, security group, or prefix list, the authorization object type cannot be changed. 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.
33468
+ * * 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.
33469
+ * * The modified security group rule cannot be the same as other existing rules.
33470
+ * * If you want to delete the values of non-empty parameters for the rule, we recommend that you create a new rule and delete the original rule.
33471
+ *
33472
+ * @param request ModifySecurityGroupRuleRequest
33473
+ * @param runtime runtime options for this request RuntimeOptions
33474
+ * @return ModifySecurityGroupRuleResponse
33475
+ */
33154
33476
  modifySecurityGroupRuleWithOptions(request: ModifySecurityGroupRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupRuleResponse>;
33477
+ /**
33478
+ * When you modify a security group rule by specifying its ID, take note of the following items:
33479
+ * * If the type of the authorization object (source or destination) is IP address or CIDR block, security group, or prefix list, the authorization object type cannot be changed. 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.
33480
+ * * 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.
33481
+ * * The modified security group rule cannot be the same as other existing rules.
33482
+ * * If you want to delete the values of non-empty parameters for the rule, we recommend that you create a new rule and delete the original rule.
33483
+ *
33484
+ * @param request ModifySecurityGroupRuleRequest
33485
+ * @return ModifySecurityGroupRuleResponse
33486
+ */
33155
33487
  modifySecurityGroupRule(request: ModifySecurityGroupRuleRequest): Promise<ModifySecurityGroupRuleResponse>;
33156
33488
  modifySnapshotAttributeWithOptions(request: ModifySnapshotAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifySnapshotAttributeResponse>;
33157
33489
  modifySnapshotAttribute(request: ModifySnapshotAttributeRequest): Promise<ModifySnapshotAttributeResponse>;
@@ -33253,7 +33585,20 @@ export default class Client extends OpenApi {
33253
33585
  * @return PurchaseReservedInstancesOfferingResponse
33254
33586
  */
33255
33587
  purchaseReservedInstancesOffering(request: PurchaseReservedInstancesOfferingRequest): Promise<PurchaseReservedInstancesOfferingResponse>;
33588
+ /**
33589
+ * Before you call this operation, make sure that you understand the billing methods and pricing of SCUs. For more information, see [Storage capacity units](~~137897~~).
33590
+ *
33591
+ * @param request PurchaseStorageCapacityUnitRequest
33592
+ * @param runtime runtime options for this request RuntimeOptions
33593
+ * @return PurchaseStorageCapacityUnitResponse
33594
+ */
33256
33595
  purchaseStorageCapacityUnitWithOptions(request: PurchaseStorageCapacityUnitRequest, runtime: $Util.RuntimeOptions): Promise<PurchaseStorageCapacityUnitResponse>;
33596
+ /**
33597
+ * Before you call this operation, make sure that you understand the billing methods and pricing of SCUs. For more information, see [Storage capacity units](~~137897~~).
33598
+ *
33599
+ * @param request PurchaseStorageCapacityUnitRequest
33600
+ * @return PurchaseStorageCapacityUnitResponse
33601
+ */
33257
33602
  purchaseStorageCapacityUnit(request: PurchaseStorageCapacityUnitRequest): Promise<PurchaseStorageCapacityUnitResponse>;
33258
33603
  /**
33259
33604
  * When you call this operation, take note of the following points:
@@ -33280,13 +33625,42 @@ export default class Client extends OpenApi {
33280
33625
  * @return ReActivateInstancesResponse
33281
33626
  */
33282
33627
  reActivateInstances(request: ReActivateInstancesRequest): Promise<ReActivateInstancesResponse>;
33628
+ /**
33629
+ * When you call this operation, take note of the following items:
33630
+ * * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (Stopped) state.
33631
+ * * If the instance has never been started since it was created, the disks attached to it cannot be re-initialized.
33632
+ * * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
33633
+ * * Disks that have the multi-attach feature enabled cannot be re-initialized.
33634
+ * * When a system disk is re-initialized, it is restored to the state of the image from which it was created. If the source image is deleted, the system disk cannot be re-initialized.
33635
+ * * When a separately created data disk is re-initialized, it is restored to an empty data disk.
33636
+ * * When a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
33637
+ * > If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
33638
+ *
33639
+ * @param request ReInitDiskRequest
33640
+ * @param runtime runtime options for this request RuntimeOptions
33641
+ * @return ReInitDiskResponse
33642
+ */
33283
33643
  reInitDiskWithOptions(request: ReInitDiskRequest, runtime: $Util.RuntimeOptions): Promise<ReInitDiskResponse>;
33644
+ /**
33645
+ * When you call this operation, take note of the following items:
33646
+ * * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (Stopped) state.
33647
+ * * If the instance has never been started since it was created, the disks attached to it cannot be re-initialized.
33648
+ * * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
33649
+ * * Disks that have the multi-attach feature enabled cannot be re-initialized.
33650
+ * * When a system disk is re-initialized, it is restored to the state of the image from which it was created. If the source image is deleted, the system disk cannot be re-initialized.
33651
+ * * When a separately created data disk is re-initialized, it is restored to an empty data disk.
33652
+ * * When a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
33653
+ * > If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
33654
+ *
33655
+ * @param request ReInitDiskRequest
33656
+ * @return ReInitDiskResponse
33657
+ */
33284
33658
  reInitDisk(request: ReInitDiskRequest): Promise<ReInitDiskResponse>;
33285
33659
  /**
33286
- * * Only instances that are in the `Running` state can be restarted.****
33287
- * * After the ECS instance is restarted, the status of the instance changes to `Starting`.****
33288
- * * An instance can be forcibly restarted. A forced restart (`ForceStop`) is equivalent to performing a hard restart. This operation can cause data loss if data in the instance is not written to the disk.
33289
- * * 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 restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
33660
+ * * The ECS instance to which you want to restart must be in the **Running** (`Running`) state.
33661
+ * * After this operation is called, the status of the instance changes to `Starting`.****
33662
+ * * An instance can be forcefully restarted. A forced restart (`ForceReboot`) is equivalent to powering off a traditional server and then starting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data is lost.
33663
+ * * If `OperationLocks` in the DescribeInstances response contains "LockReason" : "security" for an instance, the instance is locked for security reasons and cannot be restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
33290
33664
  *
33291
33665
  * @param request RebootInstanceRequest
33292
33666
  * @param runtime runtime options for this request RuntimeOptions
@@ -33294,10 +33668,10 @@ export default class Client extends OpenApi {
33294
33668
  */
33295
33669
  rebootInstanceWithOptions(request: RebootInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RebootInstanceResponse>;
33296
33670
  /**
33297
- * * Only instances that are in the `Running` state can be restarted.****
33298
- * * After the ECS instance is restarted, the status of the instance changes to `Starting`.****
33299
- * * An instance can be forcibly restarted. A forced restart (`ForceStop`) is equivalent to performing a hard restart. This operation can cause data loss if data in the instance is not written to the disk.
33300
- * * 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 restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
33671
+ * * The ECS instance to which you want to restart must be in the **Running** (`Running`) state.
33672
+ * * After this operation is called, the status of the instance changes to `Starting`.****
33673
+ * * An instance can be forcefully restarted. A forced restart (`ForceReboot`) is equivalent to powering off a traditional server and then starting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data is lost.
33674
+ * * If `OperationLocks` in the DescribeInstances response contains "LockReason" : "security" for an instance, the instance is locked for security reasons and cannot be restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
33301
33675
  *
33302
33676
  * @param request RebootInstanceRequest
33303
33677
  * @return RebootInstanceResponse
@@ -33320,19 +33694,32 @@ export default class Client extends OpenApi {
33320
33694
  * @return RecoverVirtualBorderRouterResponse
33321
33695
  */
33322
33696
  recoverVirtualBorderRouter(request: RecoverVirtualBorderRouterRequest): Promise<RecoverVirtualBorderRouterResponse>;
33697
+ /**
33698
+ * If a dedicated host is in the UnderAssessment state, we recommend that you call this operation to migrate ECS instances away from the dedicated host to prevent permanent failures. You can call the [DescribeDedicatedHosts](~~134242~~) operation to query the status of a dedicated host.
33699
+ *
33700
+ * @param request RedeployDedicatedHostRequest
33701
+ * @param runtime runtime options for this request RuntimeOptions
33702
+ * @return RedeployDedicatedHostResponse
33703
+ */
33323
33704
  redeployDedicatedHostWithOptions(request: RedeployDedicatedHostRequest, runtime: $Util.RuntimeOptions): Promise<RedeployDedicatedHostResponse>;
33705
+ /**
33706
+ * If a dedicated host is in the UnderAssessment state, we recommend that you call this operation to migrate ECS instances away from the dedicated host to prevent permanent failures. You can call the [DescribeDedicatedHosts](~~134242~~) operation to query the status of a dedicated host.
33707
+ *
33708
+ * @param request RedeployDedicatedHostRequest
33709
+ * @return RedeployDedicatedHostResponse
33710
+ */
33324
33711
  redeployDedicatedHost(request: RedeployDedicatedHostRequest): Promise<RedeployDedicatedHostResponse>;
33325
33712
  /**
33326
- * 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 the redeployment.
33713
+ * 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.
33327
33714
  * When you call this operation, take note of the following items:
33328
- * * 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:
33715
+ * * 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:
33329
33716
  * * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
33330
33717
  * * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
33331
33718
  * * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
33332
33719
  * * 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.
33333
33720
  * * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
33334
- * * When you handle a local disk-related system event for an instance, if the damaged local disk is isolated but the **SystemMaintenance.RebootAndReInitErrorDisk** event is not sent, 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~~).
33335
- * The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides the possible event status.
33721
+ * * 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~~).
33722
+ * The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
33336
33723
  * |System event|Event status|
33337
33724
  * |---|---|
33338
33725
  * |Instance restart due to system maintenance (SystemMaintenance.Reboot)|Inquiring and Scheduled|
@@ -33343,7 +33730,7 @@ export default class Client extends OpenApi {
33343
33730
  * |For ECS instances that use only local disks: instance restart due to a system error (SystemFailure.Reboot)|Executing|
33344
33731
  * |Isolation of damaged disks due to system maintenance (SystemMaintenance.IsolateErrorDisk)|Inquiring|
33345
33732
  * |Re-initialization of damaged disks due to system maintenance (SystemMaintenance.ReInitErrorDisk)|Inquiring|
33346
- * **Note**When instances that use local disks are redeployed, the local disks are re-initialized and data in the local disks is cleared.
33733
+ * **Note**When instances that use local disks are redeployed, the local disks are re-initialized and data on the local disks is cleared.
33347
33734
  *
33348
33735
  * @param request RedeployInstanceRequest
33349
33736
  * @param runtime runtime options for this request RuntimeOptions
@@ -33351,16 +33738,16 @@ export default class Client extends OpenApi {
33351
33738
  */
33352
33739
  redeployInstanceWithOptions(request: RedeployInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RedeployInstanceResponse>;
33353
33740
  /**
33354
- * 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 the redeployment.
33741
+ * 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.
33355
33742
  * When you call this operation, take note of the following items:
33356
- * * 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:
33743
+ * * 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:
33357
33744
  * * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
33358
33745
  * * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
33359
33746
  * * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
33360
33747
  * * 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.
33361
33748
  * * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
33362
- * * When you handle a local disk-related system event for an instance, if the damaged local disk is isolated but the **SystemMaintenance.RebootAndReInitErrorDisk** event is not sent, 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~~).
33363
- * The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides the possible event status.
33749
+ * * 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~~).
33750
+ * The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
33364
33751
  * |System event|Event status|
33365
33752
  * |---|---|
33366
33753
  * |Instance restart due to system maintenance (SystemMaintenance.Reboot)|Inquiring and Scheduled|
@@ -33371,14 +33758,14 @@ export default class Client extends OpenApi {
33371
33758
  * |For ECS instances that use only local disks: instance restart due to a system error (SystemFailure.Reboot)|Executing|
33372
33759
  * |Isolation of damaged disks due to system maintenance (SystemMaintenance.IsolateErrorDisk)|Inquiring|
33373
33760
  * |Re-initialization of damaged disks due to system maintenance (SystemMaintenance.ReInitErrorDisk)|Inquiring|
33374
- * **Note**When instances that use local disks are redeployed, the local disks are re-initialized and data in the local disks is cleared.
33761
+ * **Note**When instances that use local disks are redeployed, the local disks are re-initialized and data on the local disks is cleared.
33375
33762
  *
33376
33763
  * @param request RedeployInstanceRequest
33377
33764
  * @return RedeployInstanceResponse
33378
33765
  */
33379
33766
  redeployInstance(request: RedeployInstanceRequest): Promise<RedeployInstanceResponse>;
33380
33767
  /**
33381
- * When the release mode of an immediate capacity reservation is set to manual release, you can call this operation to release the capacity reservation.
33768
+ * If the release mode of a capacity reservation that takes effect immediately is set to manual release, you can call this operation to release the capacity reservation.
33382
33769
  *
33383
33770
  * @param request ReleaseCapacityReservationRequest
33384
33771
  * @param runtime runtime options for this request RuntimeOptions
@@ -33386,13 +33773,26 @@ export default class Client extends OpenApi {
33386
33773
  */
33387
33774
  releaseCapacityReservationWithOptions(request: ReleaseCapacityReservationRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseCapacityReservationResponse>;
33388
33775
  /**
33389
- * When the release mode of an immediate capacity reservation is set to manual release, you can call this operation to release the capacity reservation.
33776
+ * If the release mode of a capacity reservation that takes effect immediately is set to manual release, you can call this operation to release the capacity reservation.
33390
33777
  *
33391
33778
  * @param request ReleaseCapacityReservationRequest
33392
33779
  * @return ReleaseCapacityReservationResponse
33393
33780
  */
33394
33781
  releaseCapacityReservation(request: ReleaseCapacityReservationRequest): Promise<ReleaseCapacityReservationResponse>;
33782
+ /**
33783
+ * 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.
33784
+ *
33785
+ * @param request ReleaseDedicatedHostRequest
33786
+ * @param runtime runtime options for this request RuntimeOptions
33787
+ * @return ReleaseDedicatedHostResponse
33788
+ */
33395
33789
  releaseDedicatedHostWithOptions(request: ReleaseDedicatedHostRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseDedicatedHostResponse>;
33790
+ /**
33791
+ * 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.
33792
+ *
33793
+ * @param request ReleaseDedicatedHostRequest
33794
+ * @return ReleaseDedicatedHostResponse
33795
+ */
33396
33796
  releaseDedicatedHost(request: ReleaseDedicatedHostRequest): Promise<ReleaseDedicatedHostResponse>;
33397
33797
  /**
33398
33798
  * @deprecated
@@ -33428,17 +33828,126 @@ export default class Client extends OpenApi {
33428
33828
  removeBandwidthPackageIps(request: RemoveBandwidthPackageIpsRequest): Promise<RemoveBandwidthPackageIpsResponse>;
33429
33829
  removeTagsWithOptions(request: RemoveTagsRequest, runtime: $Util.RuntimeOptions): Promise<RemoveTagsResponse>;
33430
33830
  removeTags(request: RemoveTagsRequest): Promise<RemoveTagsResponse>;
33831
+ /**
33832
+ * ## Description
33833
+ * When you renew the subscription dedicated hosts, deductible vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
33834
+ *
33835
+ * @param request RenewDedicatedHostsRequest
33836
+ * @param runtime runtime options for this request RuntimeOptions
33837
+ * @return RenewDedicatedHostsResponse
33838
+ */
33431
33839
  renewDedicatedHostsWithOptions(request: RenewDedicatedHostsRequest, runtime: $Util.RuntimeOptions): Promise<RenewDedicatedHostsResponse>;
33840
+ /**
33841
+ * ## Description
33842
+ * When you renew the subscription dedicated hosts, deductible vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
33843
+ *
33844
+ * @param request RenewDedicatedHostsRequest
33845
+ * @return RenewDedicatedHostsResponse
33846
+ */
33432
33847
  renewDedicatedHosts(request: RenewDedicatedHostsRequest): Promise<RenewDedicatedHostsResponse>;
33848
+ /**
33849
+ * * Before you call this operation, make sure that you are familiar with the billing methods and pricing schedule of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
33850
+ * * You can call this operation to renew a subscription ECS instance for a period of time or to a synchronized expiration date.
33851
+ * * You cannot renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time by calling this operation. The parameter pair (`Period` and `PeriodUnit`) that is related to the renewal period and the `ExpectedRenewDay` parameter are mutually exclusive.
33852
+ * * Your account must have sufficient credits.
33853
+ *
33854
+ * @param request RenewInstanceRequest
33855
+ * @param runtime runtime options for this request RuntimeOptions
33856
+ * @return RenewInstanceResponse
33857
+ */
33433
33858
  renewInstanceWithOptions(request: RenewInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RenewInstanceResponse>;
33859
+ /**
33860
+ * * Before you call this operation, make sure that you are familiar with the billing methods and pricing schedule of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
33861
+ * * You can call this operation to renew a subscription ECS instance for a period of time or to a synchronized expiration date.
33862
+ * * You cannot renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time by calling this operation. The parameter pair (`Period` and `PeriodUnit`) that is related to the renewal period and the `ExpectedRenewDay` parameter are mutually exclusive.
33863
+ * * Your account must have sufficient credits.
33864
+ *
33865
+ * @param request RenewInstanceRequest
33866
+ * @return RenewInstanceResponse
33867
+ */
33434
33868
  renewInstance(request: RenewInstanceRequest): Promise<RenewInstanceResponse>;
33869
+ /**
33870
+ * * Before you call this operation, make sure that you fully understand the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
33871
+ * * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
33872
+ *
33873
+ * @param request RenewReservedInstancesRequest
33874
+ * @param runtime runtime options for this request RuntimeOptions
33875
+ * @return RenewReservedInstancesResponse
33876
+ */
33435
33877
  renewReservedInstancesWithOptions(request: RenewReservedInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RenewReservedInstancesResponse>;
33878
+ /**
33879
+ * * Before you call this operation, make sure that you fully understand the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
33880
+ * * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
33881
+ *
33882
+ * @param request RenewReservedInstancesRequest
33883
+ * @return RenewReservedInstancesResponse
33884
+ */
33436
33885
  renewReservedInstances(request: RenewReservedInstancesRequest): Promise<RenewReservedInstancesResponse>;
33886
+ /**
33887
+ * When you call this operation, take note of the following items:
33888
+ * * You must specify the `ImageId` parameter or the `DiskId` parameter. You cannot specify both parameters in the same request. Otherwise, the request fails and an error message is returned.````
33889
+ * > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is in invitational preview. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm).
33890
+ * * The category of the system disk cannot be changed.
33891
+ * * The billing method of the system disk cannot be changed.
33892
+ * * The instance must be in the `Stopped` state.
33893
+ * **
33894
+ * **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and the economical mode is enabled by default for the instance, you must set the stop mode to the standard mode when you stop the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](~~25501~~).
33895
+ * * 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~~).
33896
+ * * You cannot have unpaid orders that are associated with the instance.
33897
+ * * You can configure the `SystemDisk.Size` parameter to specify the capacity of the new system disk.
33898
+ * After you call this operation, you can use one of the following methods to check whether the system disk is replaced:
33899
+ * * Call the [DescribeDisks](~~25514~~) operation to query the state of the new system disk. If the new system disk is in the In_use state, the system disk is replaced.
33900
+ * * Call the [DescribeInstances](~~25506~~) operation to query the state of the instance whose system disk is replaced. If `OperationLocks` in the response is empty, the system disk is replaced.
33901
+ *
33902
+ * @param request ReplaceSystemDiskRequest
33903
+ * @param runtime runtime options for this request RuntimeOptions
33904
+ * @return ReplaceSystemDiskResponse
33905
+ */
33437
33906
  replaceSystemDiskWithOptions(request: ReplaceSystemDiskRequest, runtime: $Util.RuntimeOptions): Promise<ReplaceSystemDiskResponse>;
33907
+ /**
33908
+ * When you call this operation, take note of the following items:
33909
+ * * You must specify the `ImageId` parameter or the `DiskId` parameter. You cannot specify both parameters in the same request. Otherwise, the request fails and an error message is returned.````
33910
+ * > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is in invitational preview. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm).
33911
+ * * The category of the system disk cannot be changed.
33912
+ * * The billing method of the system disk cannot be changed.
33913
+ * * The instance must be in the `Stopped` state.
33914
+ * **
33915
+ * **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and the economical mode is enabled by default for the instance, you must set the stop mode to the standard mode when you stop the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](~~25501~~).
33916
+ * * 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~~).
33917
+ * * You cannot have unpaid orders that are associated with the instance.
33918
+ * * You can configure the `SystemDisk.Size` parameter to specify the capacity of the new system disk.
33919
+ * After you call this operation, you can use one of the following methods to check whether the system disk is replaced:
33920
+ * * Call the [DescribeDisks](~~25514~~) operation to query the state of the new system disk. If the new system disk is in the In_use state, the system disk is replaced.
33921
+ * * Call the [DescribeInstances](~~25506~~) operation to query the state of the instance whose system disk is replaced. If `OperationLocks` in the response is empty, the system disk is replaced.
33922
+ *
33923
+ * @param request ReplaceSystemDiskRequest
33924
+ * @return ReplaceSystemDiskResponse
33925
+ */
33438
33926
  replaceSystemDisk(request: ReplaceSystemDiskRequest): Promise<ReplaceSystemDiskResponse>;
33439
33927
  reportInstancesStatusWithOptions(request: ReportInstancesStatusRequest, runtime: $Util.RuntimeOptions): Promise<ReportInstancesStatusResponse>;
33440
33928
  reportInstancesStatus(request: ReportInstancesStatusRequest): Promise<ReportInstancesStatusResponse>;
33929
+ /**
33930
+ * When you call this operation, take note of the following items:
33931
+ * * The disk must be in the In Use (In_Use) or Unattached (Available) state.
33932
+ * * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the Stopped (Stopped) state. You can call the [StopInstances](~~155372~~) operation to stop an instance.
33933
+ * * The snapshot specified by the SnapshotId parameter must be created from the disk specified by the DiskId parameter.
33934
+ * * When you call the [DescribeInstances](~~25506~~) operation to query instance information, if the response contains `{"OperationLocks": {"LockReason" : "security"}}` for an instance, the instance is locked for security reasons and no operations can be performed on the instance.
33935
+ *
33936
+ * @param request ResetDiskRequest
33937
+ * @param runtime runtime options for this request RuntimeOptions
33938
+ * @return ResetDiskResponse
33939
+ */
33441
33940
  resetDiskWithOptions(request: ResetDiskRequest, runtime: $Util.RuntimeOptions): Promise<ResetDiskResponse>;
33941
+ /**
33942
+ * When you call this operation, take note of the following items:
33943
+ * * The disk must be in the In Use (In_Use) or Unattached (Available) state.
33944
+ * * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the Stopped (Stopped) state. You can call the [StopInstances](~~155372~~) operation to stop an instance.
33945
+ * * The snapshot specified by the SnapshotId parameter must be created from the disk specified by the DiskId parameter.
33946
+ * * When you call the [DescribeInstances](~~25506~~) operation to query instance information, if the response contains `{"OperationLocks": {"LockReason" : "security"}}` for an instance, the instance is locked for security reasons and no operations can be performed on the instance.
33947
+ *
33948
+ * @param request ResetDiskRequest
33949
+ * @return ResetDiskResponse
33950
+ */
33442
33951
  resetDisk(request: ResetDiskRequest): Promise<ResetDiskResponse>;
33443
33952
  /**
33444
33953
  * This operation will be removed in the future. We recommend that you call the [ResetDisk](~~25520~~) operation to roll back a disk.
@@ -33455,9 +33964,91 @@ export default class Client extends OpenApi {
33455
33964
  * @return ResetDisksResponse
33456
33965
  */
33457
33966
  resetDisks(request: ResetDisksRequest): Promise<ResetDisksResponse>;
33967
+ /**
33968
+ * ## Description
33969
+ * > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to greater than or equal to 2 TiB without data loss. To resize an MBR disk to greater than or equal to 2 TiB in size, we recommend that you create and attach a new data disk with the desired size. Then, you can partition and format the new data disk to GUID partition table (GPT) and copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline](~~44986~~).
33970
+ * * 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`).
33971
+ * * You cannot resize a disk when a snapshot is being created for the disk.
33972
+ * * The instance to which the disk to be resized is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
33973
+ * * After you resize a disk, its partitions and file systems are not changed. You must manually allocate the storage space on the disk after it is resized.
33974
+ * * 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.
33975
+ *
33976
+ * @param request ResizeDiskRequest
33977
+ * @param runtime runtime options for this request RuntimeOptions
33978
+ * @return ResizeDiskResponse
33979
+ */
33458
33980
  resizeDiskWithOptions(request: ResizeDiskRequest, runtime: $Util.RuntimeOptions): Promise<ResizeDiskResponse>;
33981
+ /**
33982
+ * ## Description
33983
+ * > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to greater than or equal to 2 TiB without data loss. To resize an MBR disk to greater than or equal to 2 TiB in size, we recommend that you create and attach a new data disk with the desired size. Then, you can partition and format the new data disk to GUID partition table (GPT) and copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline](~~44986~~).
33984
+ * * 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`).
33985
+ * * You cannot resize a disk when a snapshot is being created for the disk.
33986
+ * * The instance to which the disk to be resized is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
33987
+ * * After you resize a disk, its partitions and file systems are not changed. You must manually allocate the storage space on the disk after it is resized.
33988
+ * * 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.
33989
+ *
33990
+ * @param request ResizeDiskRequest
33991
+ * @return ResizeDiskResponse
33992
+ */
33459
33993
  resizeDisk(request: ResizeDiskRequest): Promise<ResizeDiskResponse>;
33994
+ /**
33995
+ * When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
33996
+ * * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the specified security group rule ID does not exist, an error is reported. - Parameters that are no longer used and their Permissions.N-prefixed counterparts cannot be specified at the same time. - Sample request:
33997
+ * http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup
33998
+ * &SecurityGroupId=sg-bp67acfmxazb4p****
33999
+ * &SecurityGroupRuleId.1=sgr-bpdfmk****
34000
+ * &SecurityGroupRuleId.2=sgr-bpdfmg****
34001
+ * &<Common request parameters>
34002
+ * * Parameters prefixed with Permissions.N.
34003
+ * * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rule is deleted.
34004
+ * * Security group rule IDs and parameters without the Permissions.N prefix cannot be specified.
34005
+ * * You can determine an inbound rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
34006
+ * * Parameters used to determine an inbound security group rule that controls access from a specified CIDR block: SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourceCidrIp. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
34007
+ * ```
34008
+ * http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceCidrIp=10.0.0.0/8&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
34009
+ * ```
34010
+ * * Parameters used to determine an inbound security group rule that controls access from a security group: SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourceGroupId. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
34011
+ * ```
34012
+ * http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceGroupId=sg-bp67acfmxa123b****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
34013
+ * ```
34014
+ * * Parameters used to delete an inbound security group rule that controls access from a prefix list. SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourcePrefixListId. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
34015
+ * ```
34016
+ * http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
34017
+ * ```
34018
+ *
34019
+ * @param request RevokeSecurityGroupRequest
34020
+ * @param runtime runtime options for this request RuntimeOptions
34021
+ * @return RevokeSecurityGroupResponse
34022
+ */
33460
34023
  revokeSecurityGroupWithOptions(request: RevokeSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<RevokeSecurityGroupResponse>;
34024
+ /**
34025
+ * When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
34026
+ * * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the specified security group rule ID does not exist, an error is reported. - Parameters that are no longer used and their Permissions.N-prefixed counterparts cannot be specified at the same time. - Sample request:
34027
+ * http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup
34028
+ * &SecurityGroupId=sg-bp67acfmxazb4p****
34029
+ * &SecurityGroupRuleId.1=sgr-bpdfmk****
34030
+ * &SecurityGroupRuleId.2=sgr-bpdfmg****
34031
+ * &<Common request parameters>
34032
+ * * Parameters prefixed with Permissions.N.
34033
+ * * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rule is deleted.
34034
+ * * Security group rule IDs and parameters without the Permissions.N prefix cannot be specified.
34035
+ * * You can determine an inbound rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
34036
+ * * Parameters used to determine an inbound security group rule that controls access from a specified CIDR block: SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourceCidrIp. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
34037
+ * ```
34038
+ * http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceCidrIp=10.0.0.0/8&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
34039
+ * ```
34040
+ * * Parameters used to determine an inbound security group rule that controls access from a security group: SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourceGroupId. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
34041
+ * ```
34042
+ * http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceGroupId=sg-bp67acfmxa123b****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
34043
+ * ```
34044
+ * * Parameters used to delete an inbound security group rule that controls access from a prefix list. SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourcePrefixListId. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
34045
+ * ```
34046
+ * http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
34047
+ * ```
34048
+ *
34049
+ * @param request RevokeSecurityGroupRequest
34050
+ * @return RevokeSecurityGroupResponse
34051
+ */
33461
34052
  revokeSecurityGroup(request: RevokeSecurityGroupRequest): Promise<RevokeSecurityGroupResponse>;
33462
34053
  /**
33463
34054
  * ## Description
@@ -33556,11 +34147,132 @@ export default class Client extends OpenApi {
33556
34147
  * @return RevokeSecurityGroupEgressResponse
33557
34148
  */
33558
34149
  revokeSecurityGroupEgress(request: RevokeSecurityGroupEgressRequest): Promise<RevokeSecurityGroupEgressResponse>;
34150
+ /**
34151
+ * Compared with the [CreateCommand](~~64844~~) and [InvokeCommand](~~64841~~) operations, you can call the RunCommand operation once to create and run a command.
34152
+ * When you call this operation, take note of the following items:
34153
+ * * The instances on which you want to run a command must reside in a virtual private cloud (VPC).
34154
+ * * The instances must be in the `Running` state.
34155
+ * * The Cloud Assistant client must be installed on the instances. For more information, see [InstallCloudAssistant](~~85916~~).
34156
+ * * Before you run a PowerShell command on a Windows instance, make sure that the PowerShell module is installed on the instance.
34157
+ * * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For information about time zones, see [Configure the NTP service for ECS instances that run CentOS 6](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
34158
+ * * You can specify the `TimeOut` parameter to specify a timeout period for executions of the command on instances. If an execution times out, the Cloud Assistant client forcibly terminates the command process.
34159
+ * * If the one-time execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
34160
+ * * For a scheduled task, the timeout period takes effect on each execution of the command. When a command execution times out, the subsequent executions of the command are not affected. If a scheduled execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
34161
+ * To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following versions. A scheduled task can run a command at a specific interval, only once at a specific time, or at specific times based on a cron expression that includes a specific year or time zone. If the `ClientNeedUpgrade` error code is returned, you must update the Cloud Assistant client to the latest version. For more information, see [Upgrade or disable upgrades for the Cloud Assistant client](~~134383~~).
34162
+ * - Linux: 2.2.3.282
34163
+ * - Windows: 2.1.3.282
34164
+ * * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
34165
+ * * If you set the `EnableParameter` parameter to true, the custom parameter feature is enabled. If you specify the `CommandContent` parameter, you can specify custom parameters in the `{{parameter}}` format. After the command is run, the key-value pairs of the custom parameters are passed in.
34166
+ * * You can retain up to 500 to 10,000 Cloud Assistant commands in each region based on your ECS usage. You can call the [DescribeAccountAttribute](~~73772~~) operation to query quotas.
34167
+ *
34168
+ * @param tmpReq RunCommandRequest
34169
+ * @param runtime runtime options for this request RuntimeOptions
34170
+ * @return RunCommandResponse
34171
+ */
33559
34172
  runCommandWithOptions(tmpReq: RunCommandRequest, runtime: $Util.RuntimeOptions): Promise<RunCommandResponse>;
34173
+ /**
34174
+ * Compared with the [CreateCommand](~~64844~~) and [InvokeCommand](~~64841~~) operations, you can call the RunCommand operation once to create and run a command.
34175
+ * When you call this operation, take note of the following items:
34176
+ * * The instances on which you want to run a command must reside in a virtual private cloud (VPC).
34177
+ * * The instances must be in the `Running` state.
34178
+ * * The Cloud Assistant client must be installed on the instances. For more information, see [InstallCloudAssistant](~~85916~~).
34179
+ * * Before you run a PowerShell command on a Windows instance, make sure that the PowerShell module is installed on the instance.
34180
+ * * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For information about time zones, see [Configure the NTP service for ECS instances that run CentOS 6](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
34181
+ * * You can specify the `TimeOut` parameter to specify a timeout period for executions of the command on instances. If an execution times out, the Cloud Assistant client forcibly terminates the command process.
34182
+ * * If the one-time execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
34183
+ * * For a scheduled task, the timeout period takes effect on each execution of the command. When a command execution times out, the subsequent executions of the command are not affected. If a scheduled execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
34184
+ * To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following versions. A scheduled task can run a command at a specific interval, only once at a specific time, or at specific times based on a cron expression that includes a specific year or time zone. If the `ClientNeedUpgrade` error code is returned, you must update the Cloud Assistant client to the latest version. For more information, see [Upgrade or disable upgrades for the Cloud Assistant client](~~134383~~).
34185
+ * - Linux: 2.2.3.282
34186
+ * - Windows: 2.1.3.282
34187
+ * * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
34188
+ * * If you set the `EnableParameter` parameter to true, the custom parameter feature is enabled. If you specify the `CommandContent` parameter, you can specify custom parameters in the `{{parameter}}` format. After the command is run, the key-value pairs of the custom parameters are passed in.
34189
+ * * You can retain up to 500 to 10,000 Cloud Assistant commands in each region based on your ECS usage. You can call the [DescribeAccountAttribute](~~73772~~) operation to query quotas.
34190
+ *
34191
+ * @param request RunCommandRequest
34192
+ * @return RunCommandResponse
34193
+ */
33560
34194
  runCommand(request: RunCommandRequest): Promise<RunCommandResponse>;
34195
+ /**
34196
+ * * **Preparations**:
34197
+ * * The real-name verification is complete. For more information, see [Real-name verification](~~48263~~).
34198
+ * * Cost estimation: Learn about the billing methods of ECS resources. For more information, see [Billing overview](~~25398~~).
34199
+ * * Instance type selection: Call the [DescribeInstanceTypes](~~25620~~) operation to query the performance data of instance types, or see [Best practices for instance type selection](~~58291~~) to learn about how to select instance types.
34200
+ * * Query for available resources: Call the [DescribeAvailableResource](~~66186~~) operation to query available resources in a specific region or zone.
34201
+ * * Network planning: Make sure that you have security groups available for use. For more information, see [CreateSecurityGroup](~~25553~~). Before you create an instance of the Virtual Private Cloud (VPC) type, create a VPC in the region where you want to create the instance. For more information, see [Create a VPC](~~65430~~).
34202
+ * * **Precautions**:
34203
+ * * You can create a maximum of 100 instances at a time.
34204
+ * * You can use the `AutoReleaseTime` parameter to set the time when you want the instances to be automatically released.
34205
+ * * After instances are created, you can call the [DescribeInstances](~~25506~~) operation to check their states.
34206
+ * * By default, instances automatically start after they are created. Instances are ready for use when they are in the Running (`Running`) state.
34207
+ * * As of 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 throttling policy imposes the following constraints: Within a single region, the total maximum bandwidth value of all instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s and that of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
34208
+ * * Different from the [CreateInstance](~~25499~~) operation, the `RunInstances` operation allows the system to assign public IP addresses to the new instances if you set the `InternetMaxBandwidthOut` parameter to a value greater than 0.
34209
+ * * When you call the RunInstances operation to create an instance, you can use one of the following methods to bind a primary elastic network interface (ENI) to the instance. Note that you can use only one of the methods to configure the primary ENI in each call. Otherwise, the call fails and an error message is returned. Specify parameters such as `SecurityGroupId`, `VSwitchId`, `PrivateIpAddress`, `NetworkInterfaceQueueNumber`, and `Ipv6AddressCount` to configure the primary ENI. Specify parameters that start with `NetworkInterface.N.` to configure the primary and secondary ENIs. If `NetworkInterface.N.InstanceType` is set to `Primary`, the primary ENI is bound to the instance. If `NetworkInterface.N.InstanceType` is set to `Secondary` or left empty, a secondary ENI is bound to the instance.
34210
+ * * After you call this operation, an error is returned if a parameter is invalid or if available resources are insufficient. For more information, see the "Error codes" section of this topic.
34211
+ * > If the `QuotaExceed.ElasticQuota` error is returned when you call this operation, you have reached the maximum number of instances of the specified instance type that can be created within the specified region or the maximum number of vCPUs for all instance types in a zone. You can go to the [ECS console](https://ecs.console.aliyun.com/?spm=a2c8b.12215451.favorites.decs.5e3a336aMGTtzy#/privileges/quota) or [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to request a quota increase.
34212
+ * * **Best practices**:
34213
+ * * We recommend that you use auto provisioning groups in the following scenarios: Resources are insufficient to create more than 100 instances at a time, you want to quickly create instances regardless of resource configurations such as instance types or zones, or you want to create instances to consume a specific total number of vCPUs regardless of the number of the instances. You can call the [CreateAutoProvisioningGroup](~~122738~~) operation to create an auto provisioning group to deploy an instance cluster across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](~~200772~~).
34214
+ * * You can call the `RunInstances` operation to batch create instances. To better manage and search for these instances, we recommend that you specify tags for the instances by using the `Tag.N.Key` and `Tag.N.Value` parameters. You can also append incremental suffixes (`UniqueSuffix`) to the hostname (`HostName`) and to the instance name (`InstanceName`).
34215
+ * * A launch template contains parameters required to create an instance so that you do not have to specify these parameters every time you create instances. You can call the [CreateLaunchTemplate](~~74686~~) operation to create a launch template. Then, in your request to call the `RunInstances` operation, you can specify the `LaunchTemplateId` and `LaunchTemplateVersion` parameters to use the launch template.
34216
+ * * When you create an instance in the [ECS console](https://ecs.console.aliyun.com/), you can view the best practices for calling the `RunInstances` operation. In the Preview step, click View Open API in the Configurations Selected section. In the dialog box that appears, the left-side **API Workflow** section shows the operations and request parameters that are related to the `RunInstances` operation. The right-side section shows SDK examples for the **Java** and **Python** programming languages.
34217
+ *
34218
+ * @param request RunInstancesRequest
34219
+ * @param runtime runtime options for this request RuntimeOptions
34220
+ * @return RunInstancesResponse
34221
+ */
33561
34222
  runInstancesWithOptions(request: RunInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RunInstancesResponse>;
34223
+ /**
34224
+ * * **Preparations**:
34225
+ * * The real-name verification is complete. For more information, see [Real-name verification](~~48263~~).
34226
+ * * Cost estimation: Learn about the billing methods of ECS resources. For more information, see [Billing overview](~~25398~~).
34227
+ * * Instance type selection: Call the [DescribeInstanceTypes](~~25620~~) operation to query the performance data of instance types, or see [Best practices for instance type selection](~~58291~~) to learn about how to select instance types.
34228
+ * * Query for available resources: Call the [DescribeAvailableResource](~~66186~~) operation to query available resources in a specific region or zone.
34229
+ * * Network planning: Make sure that you have security groups available for use. For more information, see [CreateSecurityGroup](~~25553~~). Before you create an instance of the Virtual Private Cloud (VPC) type, create a VPC in the region where you want to create the instance. For more information, see [Create a VPC](~~65430~~).
34230
+ * * **Precautions**:
34231
+ * * You can create a maximum of 100 instances at a time.
34232
+ * * You can use the `AutoReleaseTime` parameter to set the time when you want the instances to be automatically released.
34233
+ * * After instances are created, you can call the [DescribeInstances](~~25506~~) operation to check their states.
34234
+ * * By default, instances automatically start after they are created. Instances are ready for use when they are in the Running (`Running`) state.
34235
+ * * As of 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 throttling policy imposes the following constraints: Within a single region, the total maximum bandwidth value of all instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s and that of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
34236
+ * * Different from the [CreateInstance](~~25499~~) operation, the `RunInstances` operation allows the system to assign public IP addresses to the new instances if you set the `InternetMaxBandwidthOut` parameter to a value greater than 0.
34237
+ * * When you call the RunInstances operation to create an instance, you can use one of the following methods to bind a primary elastic network interface (ENI) to the instance. Note that you can use only one of the methods to configure the primary ENI in each call. Otherwise, the call fails and an error message is returned. Specify parameters such as `SecurityGroupId`, `VSwitchId`, `PrivateIpAddress`, `NetworkInterfaceQueueNumber`, and `Ipv6AddressCount` to configure the primary ENI. Specify parameters that start with `NetworkInterface.N.` to configure the primary and secondary ENIs. If `NetworkInterface.N.InstanceType` is set to `Primary`, the primary ENI is bound to the instance. If `NetworkInterface.N.InstanceType` is set to `Secondary` or left empty, a secondary ENI is bound to the instance.
34238
+ * * After you call this operation, an error is returned if a parameter is invalid or if available resources are insufficient. For more information, see the "Error codes" section of this topic.
34239
+ * > If the `QuotaExceed.ElasticQuota` error is returned when you call this operation, you have reached the maximum number of instances of the specified instance type that can be created within the specified region or the maximum number of vCPUs for all instance types in a zone. You can go to the [ECS console](https://ecs.console.aliyun.com/?spm=a2c8b.12215451.favorites.decs.5e3a336aMGTtzy#/privileges/quota) or [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to request a quota increase.
34240
+ * * **Best practices**:
34241
+ * * We recommend that you use auto provisioning groups in the following scenarios: Resources are insufficient to create more than 100 instances at a time, you want to quickly create instances regardless of resource configurations such as instance types or zones, or you want to create instances to consume a specific total number of vCPUs regardless of the number of the instances. You can call the [CreateAutoProvisioningGroup](~~122738~~) operation to create an auto provisioning group to deploy an instance cluster across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](~~200772~~).
34242
+ * * You can call the `RunInstances` operation to batch create instances. To better manage and search for these instances, we recommend that you specify tags for the instances by using the `Tag.N.Key` and `Tag.N.Value` parameters. You can also append incremental suffixes (`UniqueSuffix`) to the hostname (`HostName`) and to the instance name (`InstanceName`).
34243
+ * * A launch template contains parameters required to create an instance so that you do not have to specify these parameters every time you create instances. You can call the [CreateLaunchTemplate](~~74686~~) operation to create a launch template. Then, in your request to call the `RunInstances` operation, you can specify the `LaunchTemplateId` and `LaunchTemplateVersion` parameters to use the launch template.
34244
+ * * When you create an instance in the [ECS console](https://ecs.console.aliyun.com/), you can view the best practices for calling the `RunInstances` operation. In the Preview step, click View Open API in the Configurations Selected section. In the dialog box that appears, the left-side **API Workflow** section shows the operations and request parameters that are related to the `RunInstances` operation. The right-side section shows SDK examples for the **Java** and **Python** programming languages.
34245
+ *
34246
+ * @param request RunInstancesRequest
34247
+ * @return RunInstancesResponse
34248
+ */
33562
34249
  runInstances(request: RunInstancesRequest): Promise<RunInstancesResponse>;
34250
+ /**
34251
+ * * The instances to which to send a file must be in the Running (`Running`) state.
34252
+ * * The Cloud Assistant client must be installed on the instances. For information about how to install the Cloud Assistant client, see [InstallCloudAssistant](~~85916~~).
34253
+ * * 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~~).
34254
+ * * For Linux instances, the version of the Cloud Assistant client must be later than 1.0.2.569.
34255
+ * * For Windows instances, the version of the Cloud Assistant client must be later than 1.0.0.149.
34256
+ * * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
34257
+ * * 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.
34258
+ *
34259
+ * @param request SendFileRequest
34260
+ * @param runtime runtime options for this request RuntimeOptions
34261
+ * @return SendFileResponse
34262
+ */
33563
34263
  sendFileWithOptions(request: SendFileRequest, runtime: $Util.RuntimeOptions): Promise<SendFileResponse>;
34264
+ /**
34265
+ * * The instances to which to send a file must be in the Running (`Running`) state.
34266
+ * * The Cloud Assistant client must be installed on the instances. For information about how to install the Cloud Assistant client, see [InstallCloudAssistant](~~85916~~).
34267
+ * * 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~~).
34268
+ * * For Linux instances, the version of the Cloud Assistant client must be later than 1.0.2.569.
34269
+ * * For Windows instances, the version of the Cloud Assistant client must be later than 1.0.0.149.
34270
+ * * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
34271
+ * * 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.
34272
+ *
34273
+ * @param request SendFileRequest
34274
+ * @return SendFileResponse
34275
+ */
33564
34276
  sendFile(request: SendFileRequest): Promise<SendFileResponse>;
33565
34277
  /**
33566
34278
  * @deprecated
@@ -33577,15 +34289,112 @@ export default class Client extends OpenApi {
33577
34289
  * @return StartElasticityAssuranceResponse
33578
34290
  */
33579
34291
  startElasticityAssurance(request: StartElasticityAssuranceRequest): Promise<StartElasticityAssuranceResponse>;
34292
+ /**
34293
+ * * After an image template is created, you must call the StartImagePipelineExecution operation to execute an image creation task. The system creates, distributes, and shares an image based on the parameters configured in the image template.
34294
+ * * Only one image creation task can be executed at a time based on a single image template. You can call the CancelImagePipelineExecution operation multiple times to cancel multiple image creation tasks at a time. If you cancel some image creation tasks, the other tasks are not affected.
34295
+ *
34296
+ * @param request StartImagePipelineExecutionRequest
34297
+ * @param runtime runtime options for this request RuntimeOptions
34298
+ * @return StartImagePipelineExecutionResponse
34299
+ */
33580
34300
  startImagePipelineExecutionWithOptions(request: StartImagePipelineExecutionRequest, runtime: $Util.RuntimeOptions): Promise<StartImagePipelineExecutionResponse>;
34301
+ /**
34302
+ * * After an image template is created, you must call the StartImagePipelineExecution operation to execute an image creation task. The system creates, distributes, and shares an image based on the parameters configured in the image template.
34303
+ * * Only one image creation task can be executed at a time based on a single image template. You can call the CancelImagePipelineExecution operation multiple times to cancel multiple image creation tasks at a time. If you cancel some image creation tasks, the other tasks are not affected.
34304
+ *
34305
+ * @param request StartImagePipelineExecutionRequest
34306
+ * @return StartImagePipelineExecutionResponse
34307
+ */
33581
34308
  startImagePipelineExecution(request: StartImagePipelineExecutionRequest): Promise<StartImagePipelineExecutionResponse>;
34309
+ /**
34310
+ * ## Usage notes
34311
+ * When you call this operation, take note of the following items:
34312
+ * * The instances that you want to start must be in the **Stopped** (`Stopped`) state.
34313
+ * * If the response contains `{"OperationLocks"`: `{"LockReason" : "security"}}` for an instance when you query the information of the instance, the instance is locked for [security reasons](~~25695~~) and cannot be started.
34314
+ *
34315
+ * @param request StartInstanceRequest
34316
+ * @param runtime runtime options for this request RuntimeOptions
34317
+ * @return StartInstanceResponse
34318
+ */
33582
34319
  startInstanceWithOptions(request: StartInstanceRequest, runtime: $Util.RuntimeOptions): Promise<StartInstanceResponse>;
34320
+ /**
34321
+ * ## Usage notes
34322
+ * When you call this operation, take note of the following items:
34323
+ * * The instances that you want to start must be in the **Stopped** (`Stopped`) state.
34324
+ * * If the response contains `{"OperationLocks"`: `{"LockReason" : "security"}}` for an instance when you query the information of the instance, the instance is locked for [security reasons](~~25695~~) and cannot be started.
34325
+ *
34326
+ * @param request StartInstanceRequest
34327
+ * @return StartInstanceResponse
34328
+ */
33583
34329
  startInstance(request: StartInstanceRequest): Promise<StartInstanceResponse>;
34330
+ /**
34331
+ * When you call this operation, take note of the following items:
34332
+ * * The ECS instances that you want to start must be in the **Stopped** (`Stopped`) state.
34333
+ * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
34334
+ * * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
34335
+ *
34336
+ * @param request StartInstancesRequest
34337
+ * @param runtime runtime options for this request RuntimeOptions
34338
+ * @return StartInstancesResponse
34339
+ */
33584
34340
  startInstancesWithOptions(request: StartInstancesRequest, runtime: $Util.RuntimeOptions): Promise<StartInstancesResponse>;
34341
+ /**
34342
+ * When you call this operation, take note of the following items:
34343
+ * * The ECS instances that you want to start must be in the **Stopped** (`Stopped`) state.
34344
+ * * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
34345
+ * * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
34346
+ *
34347
+ * @param request StartInstancesRequest
34348
+ * @return StartInstancesResponse
34349
+ */
33585
34350
  startInstances(request: StartInstancesRequest): Promise<StartInstancesResponse>;
34351
+ /**
34352
+ * ## Description
34353
+ * The session management feature is in public preview. To use this feature, log on with your Alibaba Cloud account and activate this feature.
34354
+ * 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:
34355
+ * - The ECS instance must be in the Running (Running) state.
34356
+ * - 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.
34357
+ * - 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
34358
+ * - For Windows operating systems: V2.1.3.256
34359
+ * - Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
34360
+ * - 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.
34361
+ *
34362
+ * @param request StartTerminalSessionRequest
34363
+ * @param runtime runtime options for this request RuntimeOptions
34364
+ * @return StartTerminalSessionResponse
34365
+ */
33586
34366
  startTerminalSessionWithOptions(request: StartTerminalSessionRequest, runtime: $Util.RuntimeOptions): Promise<StartTerminalSessionResponse>;
34367
+ /**
34368
+ * ## Description
34369
+ * The session management feature is in public preview. To use this feature, log on with your Alibaba Cloud account and activate this feature.
34370
+ * 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:
34371
+ * - The ECS instance must be in the Running (Running) state.
34372
+ * - 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.
34373
+ * - 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
34374
+ * - For Windows operating systems: V2.1.3.256
34375
+ * - Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
34376
+ * - 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.
34377
+ *
34378
+ * @param request StartTerminalSessionRequest
34379
+ * @return StartTerminalSessionResponse
34380
+ */
33587
34381
  startTerminalSession(request: StartTerminalSessionRequest): Promise<StartTerminalSessionResponse>;
34382
+ /**
34383
+ * * 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~~).
34384
+ * * 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.
34385
+ *
34386
+ * @param request StopInstanceRequest
34387
+ * @param runtime runtime options for this request RuntimeOptions
34388
+ * @return StopInstanceResponse
34389
+ */
33588
34390
  stopInstanceWithOptions(request: StopInstanceRequest, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
34391
+ /**
34392
+ * * 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~~).
34393
+ * * 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.
34394
+ *
34395
+ * @param request StopInstanceRequest
34396
+ * @return StopInstanceResponse
34397
+ */
33589
34398
  stopInstance(request: StopInstanceRequest): Promise<StopInstanceResponse>;
33590
34399
  /**
33591
34400
  * * If you call the DescribeInstances operation and the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instances are locked for security reasons and cannot be stopped.
@@ -33606,9 +34415,37 @@ export default class Client extends OpenApi {
33606
34415
  * @return StopInstancesResponse
33607
34416
  */
33608
34417
  stopInstances(request: StopInstancesRequest): Promise<StopInstancesResponse>;
34418
+ /**
34419
+ * * 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.
34420
+ * * 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.
34421
+ *
34422
+ * @param request StopInvocationRequest
34423
+ * @param runtime runtime options for this request RuntimeOptions
34424
+ * @return StopInvocationResponse
34425
+ */
33609
34426
  stopInvocationWithOptions(request: StopInvocationRequest, runtime: $Util.RuntimeOptions): Promise<StopInvocationResponse>;
34427
+ /**
34428
+ * * 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.
34429
+ * * 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.
34430
+ *
34431
+ * @param request StopInvocationRequest
34432
+ * @return StopInvocationResponse
34433
+ */
33610
34434
  stopInvocation(request: StopInvocationRequest): Promise<StopInvocationResponse>;
34435
+ /**
34436
+ * Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in [Limits](~~25412~~).
34437
+ *
34438
+ * @param request TagResourcesRequest
34439
+ * @param runtime runtime options for this request RuntimeOptions
34440
+ * @return TagResourcesResponse
34441
+ */
33611
34442
  tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
34443
+ /**
34444
+ * Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in [Limits](~~25412~~).
34445
+ *
34446
+ * @param request TagResourcesRequest
34447
+ * @return TagResourcesResponse
34448
+ */
33612
34449
  tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
33613
34450
  /**
33614
34451
  * @deprecated
@@ -33640,9 +34477,41 @@ export default class Client extends OpenApi {
33640
34477
  * @return TerminateVirtualBorderRouterResponse
33641
34478
  */
33642
34479
  terminateVirtualBorderRouter(request: TerminateVirtualBorderRouterRequest): Promise<TerminateVirtualBorderRouterResponse>;
34480
+ /**
34481
+ * When you call this operation, take note of the following items:
34482
+ * * The ENI must be in the **Available** (Available) or **InUse** (InUse) state.
34483
+ * * 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.
34484
+ *
34485
+ * @param request UnassignIpv6AddressesRequest
34486
+ * @param runtime runtime options for this request RuntimeOptions
34487
+ * @return UnassignIpv6AddressesResponse
34488
+ */
33643
34489
  unassignIpv6AddressesWithOptions(request: UnassignIpv6AddressesRequest, runtime: $Util.RuntimeOptions): Promise<UnassignIpv6AddressesResponse>;
34490
+ /**
34491
+ * When you call this operation, take note of the following items:
34492
+ * * The ENI must be in the **Available** (Available) or **InUse** (InUse) state.
34493
+ * * 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.
34494
+ *
34495
+ * @param request UnassignIpv6AddressesRequest
34496
+ * @return UnassignIpv6AddressesResponse
34497
+ */
33644
34498
  unassignIpv6Addresses(request: UnassignIpv6AddressesRequest): Promise<UnassignIpv6AddressesResponse>;
34499
+ /**
34500
+ * * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
34501
+ * * 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.
34502
+ *
34503
+ * @param request UnassignPrivateIpAddressesRequest
34504
+ * @param runtime runtime options for this request RuntimeOptions
34505
+ * @return UnassignPrivateIpAddressesResponse
34506
+ */
33645
34507
  unassignPrivateIpAddressesWithOptions(request: UnassignPrivateIpAddressesRequest, runtime: $Util.RuntimeOptions): Promise<UnassignPrivateIpAddressesResponse>;
34508
+ /**
34509
+ * * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
34510
+ * * 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.
34511
+ *
34512
+ * @param request UnassignPrivateIpAddressesRequest
34513
+ * @return UnassignPrivateIpAddressesResponse
34514
+ */
33646
34515
  unassignPrivateIpAddresses(request: UnassignPrivateIpAddressesRequest): Promise<UnassignPrivateIpAddressesResponse>;
33647
34516
  /**
33648
34517
  * @deprecated