@alicloud/ecs20140526 3.0.6 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +703 -497
- package/dist/client.js +722 -497
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +735 -499
package/dist/client.d.ts
CHANGED
|
@@ -1378,6 +1378,7 @@ export declare class CopySnapshotRequest extends $tea.Model {
|
|
|
1378
1378
|
destinationRegionId?: string;
|
|
1379
1379
|
destinationSnapshotDescription?: string;
|
|
1380
1380
|
destinationSnapshotName?: string;
|
|
1381
|
+
destinationStorageLocationArn?: string;
|
|
1381
1382
|
encrypted?: boolean;
|
|
1382
1383
|
KMSKeyId?: string;
|
|
1383
1384
|
ownerId?: number;
|
|
@@ -2572,6 +2573,7 @@ export declare class CreateLaunchTemplateRequest extends $tea.Model {
|
|
|
2572
2573
|
systemDisk?: CreateLaunchTemplateRequestSystemDisk;
|
|
2573
2574
|
autoReleaseTime?: string;
|
|
2574
2575
|
dataDisk?: CreateLaunchTemplateRequestDataDisk[];
|
|
2576
|
+
deletionProtection?: boolean;
|
|
2575
2577
|
deploymentSetId?: string;
|
|
2576
2578
|
description?: string;
|
|
2577
2579
|
enableVmOsConfig?: boolean;
|
|
@@ -2657,6 +2659,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $tea.Model {
|
|
|
2657
2659
|
systemDisk?: CreateLaunchTemplateVersionRequestSystemDisk;
|
|
2658
2660
|
autoReleaseTime?: string;
|
|
2659
2661
|
dataDisk?: CreateLaunchTemplateVersionRequestDataDisk[];
|
|
2662
|
+
deletionProtection?: boolean;
|
|
2660
2663
|
deploymentSetId?: string;
|
|
2661
2664
|
description?: string;
|
|
2662
2665
|
enableVmOsConfig?: boolean;
|
|
@@ -17071,6 +17074,7 @@ export declare class RunInstancesRequest extends $tea.Model {
|
|
|
17071
17074
|
affinity?: string;
|
|
17072
17075
|
amount?: number;
|
|
17073
17076
|
arn?: RunInstancesRequestArn[];
|
|
17077
|
+
autoPay?: boolean;
|
|
17074
17078
|
autoReleaseTime?: string;
|
|
17075
17079
|
autoRenew?: boolean;
|
|
17076
17080
|
autoRenewPeriod?: number;
|
|
@@ -18442,6 +18446,7 @@ export declare class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchR
|
|
|
18442
18446
|
});
|
|
18443
18447
|
}
|
|
18444
18448
|
export declare class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult extends $tea.Model {
|
|
18449
|
+
amount?: number;
|
|
18445
18450
|
errorCode?: string;
|
|
18446
18451
|
errorMsg?: string;
|
|
18447
18452
|
instanceIds?: CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResultInstanceIds;
|
|
@@ -22764,6 +22769,7 @@ export declare class DescribeInstanceHistoryEventsResponseBodyInstanceSystemEven
|
|
|
22764
22769
|
punishType?: string;
|
|
22765
22770
|
punishUrl?: string;
|
|
22766
22771
|
rack?: string;
|
|
22772
|
+
responseResult?: string;
|
|
22767
22773
|
static names(): {
|
|
22768
22774
|
[key: string]: string;
|
|
22769
22775
|
};
|
|
@@ -24261,6 +24267,7 @@ export declare class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVer
|
|
|
24261
24267
|
systemDisk?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk;
|
|
24262
24268
|
autoReleaseTime?: string;
|
|
24263
24269
|
dataDisks?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisks;
|
|
24270
|
+
deletionProtection?: boolean;
|
|
24264
24271
|
deploymentSetId?: string;
|
|
24265
24272
|
description?: string;
|
|
24266
24273
|
enableVmOsConfig?: boolean;
|
|
@@ -28760,9 +28767,10 @@ export default class Client extends OpenApi {
|
|
|
28760
28767
|
*/
|
|
28761
28768
|
assignIpv6Addresses(request: AssignIpv6AddressesRequest): Promise<AssignIpv6AddressesResponse>;
|
|
28762
28769
|
/**
|
|
28770
|
+
* ## Usage notes
|
|
28763
28771
|
* * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
|
|
28764
28772
|
* * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running (Running) or Stopped (Stopped) state.
|
|
28765
|
-
* * When an ENI is in the Available
|
|
28773
|
+
* * When an ENI is in the Available state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [Overview of instance families](~~25378~~).
|
|
28766
28774
|
* * After you call this operation for an ENI, you can obtain the secondary private IP addresses that are assigned to the ENI from the response.
|
|
28767
28775
|
*
|
|
28768
28776
|
* @param request AssignPrivateIpAddressesRequest
|
|
@@ -28771,9 +28779,10 @@ export default class Client extends OpenApi {
|
|
|
28771
28779
|
*/
|
|
28772
28780
|
assignPrivateIpAddressesWithOptions(request: AssignPrivateIpAddressesRequest, runtime: $Util.RuntimeOptions): Promise<AssignPrivateIpAddressesResponse>;
|
|
28773
28781
|
/**
|
|
28782
|
+
* ## Usage notes
|
|
28774
28783
|
* * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
|
|
28775
28784
|
* * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running (Running) or Stopped (Stopped) state.
|
|
28776
|
-
* * When an ENI is in the Available
|
|
28785
|
+
* * When an ENI is in the Available state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [Overview of instance families](~~25378~~).
|
|
28777
28786
|
* * After you call this operation for an ENI, you can obtain the secondary private IP addresses that are assigned to the ENI from the response.
|
|
28778
28787
|
*
|
|
28779
28788
|
* @param request AssignPrivateIpAddressesRequest
|
|
@@ -28833,16 +28842,16 @@ export default class Client extends OpenApi {
|
|
|
28833
28842
|
attachClassicLinkVpc(request: AttachClassicLinkVpcRequest): Promise<AttachClassicLinkVpcResponse>;
|
|
28834
28843
|
/**
|
|
28835
28844
|
* When you call this operation, take note of the following items:
|
|
28836
|
-
* * The disk to
|
|
28845
|
+
* * The disk that you want to attach must be in the **Available** state.``
|
|
28837
28846
|
* * When the disk is attached as a data disk, take note of the following items:
|
|
28838
|
-
* * The instance must be in the **Running**
|
|
28847
|
+
* * The instance must be in the **Running** or **Stopped** state.````
|
|
28839
28848
|
* * If the disk was separately purchased, the billing method of the disk must be pay-as-you-go.
|
|
28840
28849
|
* * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
|
|
28841
28850
|
* * When the disk is attached as a system disk, take note of the following items:
|
|
28842
28851
|
* * The instance must be the original instance from which the system disk was detached.
|
|
28843
28852
|
* * The instance must be in the **Stopped** state.``
|
|
28844
28853
|
* * The logon credentials must be configured.
|
|
28845
|
-
* * If
|
|
28854
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
28846
28855
|
*
|
|
28847
28856
|
* @param request AttachDiskRequest
|
|
28848
28857
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28851,16 +28860,16 @@ export default class Client extends OpenApi {
|
|
|
28851
28860
|
attachDiskWithOptions(request: AttachDiskRequest, runtime: $Util.RuntimeOptions): Promise<AttachDiskResponse>;
|
|
28852
28861
|
/**
|
|
28853
28862
|
* When you call this operation, take note of the following items:
|
|
28854
|
-
* * The disk to
|
|
28863
|
+
* * The disk that you want to attach must be in the **Available** state.``
|
|
28855
28864
|
* * When the disk is attached as a data disk, take note of the following items:
|
|
28856
|
-
* * The instance must be in the **Running**
|
|
28865
|
+
* * The instance must be in the **Running** or **Stopped** state.````
|
|
28857
28866
|
* * If the disk was separately purchased, the billing method of the disk must be pay-as-you-go.
|
|
28858
28867
|
* * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
|
|
28859
28868
|
* * When the disk is attached as a system disk, take note of the following items:
|
|
28860
28869
|
* * The instance must be the original instance from which the system disk was detached.
|
|
28861
28870
|
* * The instance must be in the **Stopped** state.``
|
|
28862
28871
|
* * The logon credentials must be configured.
|
|
28863
|
-
* * If
|
|
28872
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
28864
28873
|
*
|
|
28865
28874
|
* @param request AttachDiskRequest
|
|
28866
28875
|
* @return AttachDiskResponse
|
|
@@ -28869,11 +28878,11 @@ export default class Client extends OpenApi {
|
|
|
28869
28878
|
attachInstanceRamRoleWithOptions(request: AttachInstanceRamRoleRequest, runtime: $Util.RuntimeOptions): Promise<AttachInstanceRamRoleResponse>;
|
|
28870
28879
|
attachInstanceRamRole(request: AttachInstanceRamRoleRequest): Promise<AttachInstanceRamRoleResponse>;
|
|
28871
28880
|
/**
|
|
28872
|
-
*
|
|
28881
|
+
* Take note of the following items:
|
|
28873
28882
|
* * SSH key pairs are not supported on Windows instances.
|
|
28874
28883
|
* * If an SSH key pair is bound to an instance, authentication by using the username and password is disabled for the instance.
|
|
28875
|
-
* * If you bind an SSH key pair to an instance in the **
|
|
28876
|
-
* * If you bind an SSH key pair to an instance in the **
|
|
28884
|
+
* * If you bind an SSH key pair to an instance in the **running** state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
|
|
28885
|
+
* * If you bind an SSH key pair to an instance in the **stopped** state, you must call the [StartInstance](~~25500~~) operation to start the instance for the key pair to take effect.
|
|
28877
28886
|
* * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
|
|
28878
28887
|
*
|
|
28879
28888
|
* @param request AttachKeyPairRequest
|
|
@@ -28882,11 +28891,11 @@ export default class Client extends OpenApi {
|
|
|
28882
28891
|
*/
|
|
28883
28892
|
attachKeyPairWithOptions(request: AttachKeyPairRequest, runtime: $Util.RuntimeOptions): Promise<AttachKeyPairResponse>;
|
|
28884
28893
|
/**
|
|
28885
|
-
*
|
|
28894
|
+
* Take note of the following items:
|
|
28886
28895
|
* * SSH key pairs are not supported on Windows instances.
|
|
28887
28896
|
* * If an SSH key pair is bound to an instance, authentication by using the username and password is disabled for the instance.
|
|
28888
|
-
* * If you bind an SSH key pair to an instance in the **
|
|
28889
|
-
* * If you bind an SSH key pair to an instance in the **
|
|
28897
|
+
* * If you bind an SSH key pair to an instance in the **running** state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
|
|
28898
|
+
* * If you bind an SSH key pair to an instance in the **stopped** state, you must call the [StartInstance](~~25500~~) operation to start the instance for the key pair to take effect.
|
|
28890
28899
|
* * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
|
|
28891
28900
|
*
|
|
28892
28901
|
* @param request AttachKeyPairRequest
|
|
@@ -28927,18 +28936,18 @@ export default class Client extends OpenApi {
|
|
|
28927
28936
|
*/
|
|
28928
28937
|
attachNetworkInterface(request: AttachNetworkInterfaceRequest): Promise<AttachNetworkInterfaceResponse>;
|
|
28929
28938
|
/**
|
|
28930
|
-
* In security group-related API documents, traffic is sent
|
|
28939
|
+
* In security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
28931
28940
|
* When you call this operation, take note of the following items:
|
|
28932
|
-
* * The total number of
|
|
28933
|
-
* * The valid
|
|
28941
|
+
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section of the [Limits](~~25412#SecurityGroupQuota1~~) topic.
|
|
28942
|
+
* * The valid value of Priority ranges from 1 to 100. A smaller value specifies a higher priority.
|
|
28934
28943
|
* * If several security group rules have the same priority, drop rules take precedence.
|
|
28935
28944
|
* * The source can be a CIDR block that is specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId. The source can also be Elastic Compute Service (ECS) instances in a security group that is specified by SourceGroupId.
|
|
28936
28945
|
* * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
|
|
28937
28946
|
* * You can reference up to 20 security groups as sources or destinations in the rules of each basic security group.
|
|
28938
|
-
* * If the specified security group rule exists in the security group, the
|
|
28939
|
-
* * The `Permissions.N` prefix is added to specific parameters to generate new parameters.
|
|
28947
|
+
* * If the specified security group rule already exists in the security group, the call is successful but no security group rule is created.
|
|
28948
|
+
* * The `Permissions.N` prefix is added to specific parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
28940
28949
|
* * 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.
|
|
28941
|
-
* * Parameters
|
|
28950
|
+
* * Parameters used to determine an inbound security group rule that controls access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set the NicType parameter to intranet. For a security group of the classic network type, you can set the NicType parameter to either internet or intranet. Sample request:
|
|
28942
28951
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28943
28952
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28944
28953
|
* &Permissions.1.SourceCidrIp=10.0.0.0/8
|
|
@@ -28947,7 +28956,7 @@ export default class Client extends OpenApi {
|
|
|
28947
28956
|
* &Permissions.1.NicType=intranet
|
|
28948
28957
|
* &Permissions.1.Policy=Accept
|
|
28949
28958
|
* &<Common request parameters>
|
|
28950
|
-
* * Parameters
|
|
28959
|
+
* * Parameters used to determine an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. In this case, you must set the NicType parameter to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
|
|
28951
28960
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28952
28961
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28953
28962
|
* &Permissions.1.SourceGroupId=sg-1651FBB**
|
|
@@ -28957,7 +28966,7 @@ export default class Client extends OpenApi {
|
|
|
28957
28966
|
* &Permissions.1.NicType=intranet
|
|
28958
28967
|
* &Permissions.1.Policy=Drop
|
|
28959
28968
|
* &<Common request parameters>
|
|
28960
|
-
* * Parameters
|
|
28969
|
+
* * Parameters used to determine an inbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must set NicType to intranet. Sample request:
|
|
28961
28970
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28962
28971
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28963
28972
|
* &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
@@ -28975,18 +28984,18 @@ export default class Client extends OpenApi {
|
|
|
28975
28984
|
*/
|
|
28976
28985
|
authorizeSecurityGroupWithOptions(request: AuthorizeSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<AuthorizeSecurityGroupResponse>;
|
|
28977
28986
|
/**
|
|
28978
|
-
* In security group-related API documents, traffic is sent
|
|
28987
|
+
* In security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
28979
28988
|
* When you call this operation, take note of the following items:
|
|
28980
|
-
* * The total number of
|
|
28981
|
-
* * The valid
|
|
28989
|
+
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section of the [Limits](~~25412#SecurityGroupQuota1~~) topic.
|
|
28990
|
+
* * The valid value of Priority ranges from 1 to 100. A smaller value specifies a higher priority.
|
|
28982
28991
|
* * If several security group rules have the same priority, drop rules take precedence.
|
|
28983
28992
|
* * The source can be a CIDR block that is specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId. The source can also be Elastic Compute Service (ECS) instances in a security group that is specified by SourceGroupId.
|
|
28984
28993
|
* * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
|
|
28985
28994
|
* * You can reference up to 20 security groups as sources or destinations in the rules of each basic security group.
|
|
28986
|
-
* * If the specified security group rule exists in the security group, the
|
|
28987
|
-
* * The `Permissions.N` prefix is added to specific parameters to generate new parameters.
|
|
28995
|
+
* * If the specified security group rule already exists in the security group, the call is successful but no security group rule is created.
|
|
28996
|
+
* * The `Permissions.N` prefix is added to specific parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
28988
28997
|
* * 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.
|
|
28989
|
-
* * Parameters
|
|
28998
|
+
* * Parameters used to determine an inbound security group rule that controls access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set the NicType parameter to intranet. For a security group of the classic network type, you can set the NicType parameter to either internet or intranet. Sample request:
|
|
28990
28999
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28991
29000
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28992
29001
|
* &Permissions.1.SourceCidrIp=10.0.0.0/8
|
|
@@ -28995,7 +29004,7 @@ export default class Client extends OpenApi {
|
|
|
28995
29004
|
* &Permissions.1.NicType=intranet
|
|
28996
29005
|
* &Permissions.1.Policy=Accept
|
|
28997
29006
|
* &<Common request parameters>
|
|
28998
|
-
* * Parameters
|
|
29007
|
+
* * Parameters used to determine an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. In this case, you must set the NicType parameter to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
|
|
28999
29008
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
29000
29009
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
29001
29010
|
* &Permissions.1.SourceGroupId=sg-1651FBB**
|
|
@@ -29005,7 +29014,7 @@ export default class Client extends OpenApi {
|
|
|
29005
29014
|
* &Permissions.1.NicType=intranet
|
|
29006
29015
|
* &Permissions.1.Policy=Drop
|
|
29007
29016
|
* &<Common request parameters>
|
|
29008
|
-
* * Parameters
|
|
29017
|
+
* * Parameters used to determine an inbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must set NicType to intranet. Sample request:
|
|
29009
29018
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
29010
29019
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
29011
29020
|
* &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
@@ -29022,7 +29031,47 @@ export default class Client extends OpenApi {
|
|
|
29022
29031
|
*/
|
|
29023
29032
|
authorizeSecurityGroup(request: AuthorizeSecurityGroupRequest): Promise<AuthorizeSecurityGroupResponse>;
|
|
29024
29033
|
/**
|
|
29025
|
-
*
|
|
29034
|
+
* In the security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
29035
|
+
* When you call this operation, take note of the following items:
|
|
29036
|
+
* * 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~~).
|
|
29037
|
+
* * You can set Policy to accept or drop for each security group rule to allow or deny access.
|
|
29038
|
+
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
29039
|
+
* * When several security group rules have the same priority, drop rules take precedence.
|
|
29040
|
+
* * 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.
|
|
29041
|
+
* * For advanced security groups, security groups cannot be used as authorization objects.
|
|
29042
|
+
* * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
|
|
29043
|
+
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
29044
|
+
* * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be configured together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
29045
|
+
* * You can determine a security group rule by configuring one of the following groups of parameters. You cannot determine a security group rule by configuring only one parameter.
|
|
29046
|
+
* * 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:
|
|
29047
|
+
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29048
|
+
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29049
|
+
* &Permissions.1.IpProtocol=ICMP
|
|
29050
|
+
* &Permissions.1.DestCidrIp=10.0.0.0/8
|
|
29051
|
+
* &Permissions.1.PortRange=-1/-1
|
|
29052
|
+
* &Permissions.1.NicType=intranet
|
|
29053
|
+
* &Permissions.1.Policy=Accept
|
|
29054
|
+
* &<Common request parameters>
|
|
29055
|
+
* * Parameters used to specify a security group rule that controls access to a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestGroupOwnerAccount, and DestGroupId. Sample request:
|
|
29056
|
+
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29057
|
+
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29058
|
+
* &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
|
|
29059
|
+
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
29060
|
+
* &Permissions.1.IpProtocol=TCP
|
|
29061
|
+
* &Permissions.1.PortRange=22/22
|
|
29062
|
+
* &Permissions.1.NicType=intranet
|
|
29063
|
+
* &Permissions.1.Policy=Drop
|
|
29064
|
+
* &<Common request parameters>
|
|
29065
|
+
* * Parameters used to specify a security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in virtual private clouds (VPCs). NicType must be set to intranet. Sample request:
|
|
29066
|
+
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29067
|
+
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29068
|
+
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
29069
|
+
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
29070
|
+
* &Permissions.1.IpProtocol=TCP
|
|
29071
|
+
* &Permissions.1.PortRange=22/22
|
|
29072
|
+
* &Permissions.1.NicType=intranet
|
|
29073
|
+
* &Permissions.1.Policy=Drop
|
|
29074
|
+
* &<Common request parameters>
|
|
29026
29075
|
*
|
|
29027
29076
|
* @param request AuthorizeSecurityGroupEgressRequest
|
|
29028
29077
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29030,7 +29079,47 @@ export default class Client extends OpenApi {
|
|
|
29030
29079
|
*/
|
|
29031
29080
|
authorizeSecurityGroupEgressWithOptions(request: AuthorizeSecurityGroupEgressRequest, runtime: $Util.RuntimeOptions): Promise<AuthorizeSecurityGroupEgressResponse>;
|
|
29032
29081
|
/**
|
|
29033
|
-
*
|
|
29082
|
+
* In the security group-related API documents, outbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
29083
|
+
* When you call this operation, take note of the following items:
|
|
29084
|
+
* * 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~~).
|
|
29085
|
+
* * You can set Policy to accept or drop for each security group rule to allow or deny access.
|
|
29086
|
+
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
29087
|
+
* * When several security group rules have the same priority, drop rules take precedence.
|
|
29088
|
+
* * 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.
|
|
29089
|
+
* * For advanced security groups, security groups cannot be used as authorization objects.
|
|
29090
|
+
* * For each basic security group, a maximum of 20 security groups can be used as authorization objects.
|
|
29091
|
+
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
29092
|
+
* * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters and corresponding parameters prefixed with Permissions.N cannot be configured together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
29093
|
+
* * You can determine a security group rule by configuring one of the following groups of parameters. You cannot determine a security group rule by configuring only one parameter.
|
|
29094
|
+
* * 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:
|
|
29095
|
+
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29096
|
+
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29097
|
+
* &Permissions.1.IpProtocol=ICMP
|
|
29098
|
+
* &Permissions.1.DestCidrIp=10.0.0.0/8
|
|
29099
|
+
* &Permissions.1.PortRange=-1/-1
|
|
29100
|
+
* &Permissions.1.NicType=intranet
|
|
29101
|
+
* &Permissions.1.Policy=Accept
|
|
29102
|
+
* &<Common request parameters>
|
|
29103
|
+
* * Parameters used to specify a security group rule that controls access to a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestGroupOwnerAccount, and DestGroupId. Sample request:
|
|
29104
|
+
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29105
|
+
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29106
|
+
* &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
|
|
29107
|
+
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
29108
|
+
* &Permissions.1.IpProtocol=TCP
|
|
29109
|
+
* &Permissions.1.PortRange=22/22
|
|
29110
|
+
* &Permissions.1.NicType=intranet
|
|
29111
|
+
* &Permissions.1.Policy=Drop
|
|
29112
|
+
* &<Common request parameters>
|
|
29113
|
+
* * Parameters used to specify a security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in virtual private clouds (VPCs). NicType must be set to intranet. Sample request:
|
|
29114
|
+
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29115
|
+
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29116
|
+
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
29117
|
+
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
29118
|
+
* &Permissions.1.IpProtocol=TCP
|
|
29119
|
+
* &Permissions.1.PortRange=22/22
|
|
29120
|
+
* &Permissions.1.NicType=intranet
|
|
29121
|
+
* &Permissions.1.Policy=Drop
|
|
29122
|
+
* &<Common request parameters>
|
|
29034
29123
|
*
|
|
29035
29124
|
* @param request AuthorizeSecurityGroupEgressRequest
|
|
29036
29125
|
* @return AuthorizeSecurityGroupEgressResponse
|
|
@@ -29184,8 +29273,19 @@ export default class Client extends OpenApi {
|
|
|
29184
29273
|
*/
|
|
29185
29274
|
copySnapshot(request: CopySnapshotRequest): Promise<CopySnapshotResponse>;
|
|
29186
29275
|
/**
|
|
29187
|
-
*
|
|
29188
|
-
*
|
|
29276
|
+
* After you use an activation code to register a server that is not provided by Alibaba Cloud as an Alibaba Cloud managed instance, you can use a variety of online services provided by Alibaba Cloud in the managed instance, such as Cloud Assistant, Operation Orchestration Service (OOS), and Apsara Devops.
|
|
29277
|
+
* A server that is not provided by Alibaba Cloud can be registered as an Alibaba Cloud managed instance only when the server can access the Internet and runs an operating system of one of the following versions:
|
|
29278
|
+
* * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
|
|
29279
|
+
* * CentOS 6, CentOS 7, CentOS 8, and later
|
|
29280
|
+
* * Debian 8, Debian 9, Debian 10, and later
|
|
29281
|
+
* * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
|
|
29282
|
+
* * CoreOS
|
|
29283
|
+
* * OpenSUSE
|
|
29284
|
+
* * Red Hat 5, Red Hat 6, Red Hat 7, and later
|
|
29285
|
+
* * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
|
|
29286
|
+
* * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
|
|
29287
|
+
* You can have up to 5,000 activation codes per Alibaba Cloud region. When the number of activation codes exceeds 1,000, the usage of the activation codes must be greater than 50% before you can proceed to create more activation codes.
|
|
29288
|
+
* > To view the usage of activation codes, click **Activation Code** on the **Manage Instances** tab of the **Cloud Assistant** page in the Elastic Compute Service (ECS) console.
|
|
29189
29289
|
*
|
|
29190
29290
|
* @param request CreateActivationRequest
|
|
29191
29291
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29193,8 +29293,19 @@ export default class Client extends OpenApi {
|
|
|
29193
29293
|
*/
|
|
29194
29294
|
createActivationWithOptions(request: CreateActivationRequest, runtime: $Util.RuntimeOptions): Promise<CreateActivationResponse>;
|
|
29195
29295
|
/**
|
|
29196
|
-
*
|
|
29197
|
-
*
|
|
29296
|
+
* After you use an activation code to register a server that is not provided by Alibaba Cloud as an Alibaba Cloud managed instance, you can use a variety of online services provided by Alibaba Cloud in the managed instance, such as Cloud Assistant, Operation Orchestration Service (OOS), and Apsara Devops.
|
|
29297
|
+
* A server that is not provided by Alibaba Cloud can be registered as an Alibaba Cloud managed instance only when the server can access the Internet and runs an operating system of one of the following versions:
|
|
29298
|
+
* * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
|
|
29299
|
+
* * CentOS 6, CentOS 7, CentOS 8, and later
|
|
29300
|
+
* * Debian 8, Debian 9, Debian 10, and later
|
|
29301
|
+
* * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
|
|
29302
|
+
* * CoreOS
|
|
29303
|
+
* * OpenSUSE
|
|
29304
|
+
* * Red Hat 5, Red Hat 6, Red Hat 7, and later
|
|
29305
|
+
* * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
|
|
29306
|
+
* * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
|
|
29307
|
+
* You can have up to 5,000 activation codes per Alibaba Cloud region. When the number of activation codes exceeds 1,000, the usage of the activation codes must be greater than 50% before you can proceed to create more activation codes.
|
|
29308
|
+
* > To view the usage of activation codes, click **Activation Code** on the **Manage Instances** tab of the **Cloud Assistant** page in the Elastic Compute Service (ECS) console.
|
|
29198
29309
|
*
|
|
29199
29310
|
* @param request CreateActivationRequest
|
|
29200
29311
|
* @return CreateActivationResponse
|
|
@@ -29222,10 +29333,10 @@ export default class Client extends OpenApi {
|
|
|
29222
29333
|
*/
|
|
29223
29334
|
createAutoProvisioningGroup(request: CreateAutoProvisioningGroupRequest): Promise<CreateAutoProvisioningGroupResponse>;
|
|
29224
29335
|
/**
|
|
29225
|
-
* When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and cross-region replication for snapshots in the policy to meet your diverse data backup requirements. After you create an automatic snapshot policy, you must call the [ApplyAutoSnapshotPolicy](~~25531~~) operation to apply it to disks. If you want to modify the automatic snapshot policy, you must call the [ModifyAutoSnapshotPolicyEx](~~25529~~) operation.
|
|
29226
|
-
*
|
|
29227
|
-
* * You can create a maximum of 100 automatic snapshot policies
|
|
29228
|
-
* * If an automatic snapshot is being created when the time scheduled for creating another automatic snapshot is due, the new snapshot task is skipped. This may occur when a disk contains a large volume of data. For example, you have scheduled snapshots to be created at 09:00:00, 10:00:00, 11:00:00, and 12:00:00 for a disk. The system starts to create a snapshot for the disk at 09:00:00. The process takes 80 minutes because the disk contains a large volume of data and ends at 10:20:00. The system skips the automatic snapshot task scheduled for 10:00:00 and creates the next automatic snapshot for the disk at 11:00:00.
|
|
29336
|
+
* When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After you create an automatic snapshot policy, you must call the [ApplyAutoSnapshotPolicy](~~25531~~) operation to apply it to disks. If you want to modify the automatic snapshot policy, you must call the [ModifyAutoSnapshotPolicyEx](~~25529~~) operation.
|
|
29337
|
+
* Take note of the following items:
|
|
29338
|
+
* * You can create a maximum of 100 automatic snapshot policies per region for a single Alibaba Cloud account.
|
|
29339
|
+
* * If an automatic snapshot is being created when the time scheduled for creating another automatic snapshot is due, the new snapshot task is skipped. This may occur when a disk contains a large volume of data. For example, you have scheduled snapshots to be created at 09:00:00, 10:00:00, 11:00:00, and 12:00:00 for a disk. The system starts to create a snapshot for the disk at 09:00:00. The process takes 80 minutes to complete because the disk contains a large volume of data and ends at 10:20:00. The system skips the automatic snapshot task scheduled for 10:00:00 and creates the next automatic snapshot for the disk at 11:00:00.
|
|
29229
29340
|
* * For information about how to copy a snapshot from one region to another, see the "Background information" section in [Copy a snapshot](~~159441~~).
|
|
29230
29341
|
*
|
|
29231
29342
|
* @param request CreateAutoSnapshotPolicyRequest
|
|
@@ -29234,10 +29345,10 @@ export default class Client extends OpenApi {
|
|
|
29234
29345
|
*/
|
|
29235
29346
|
createAutoSnapshotPolicyWithOptions(request: CreateAutoSnapshotPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateAutoSnapshotPolicyResponse>;
|
|
29236
29347
|
/**
|
|
29237
|
-
* When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and cross-region replication for snapshots in the policy to meet your diverse data backup requirements. After you create an automatic snapshot policy, you must call the [ApplyAutoSnapshotPolicy](~~25531~~) operation to apply it to disks. If you want to modify the automatic snapshot policy, you must call the [ModifyAutoSnapshotPolicyEx](~~25529~~) operation.
|
|
29238
|
-
*
|
|
29239
|
-
* * You can create a maximum of 100 automatic snapshot policies
|
|
29240
|
-
* * If an automatic snapshot is being created when the time scheduled for creating another automatic snapshot is due, the new snapshot task is skipped. This may occur when a disk contains a large volume of data. For example, you have scheduled snapshots to be created at 09:00:00, 10:00:00, 11:00:00, and 12:00:00 for a disk. The system starts to create a snapshot for the disk at 09:00:00. The process takes 80 minutes because the disk contains a large volume of data and ends at 10:20:00. The system skips the automatic snapshot task scheduled for 10:00:00 and creates the next automatic snapshot for the disk at 11:00:00.
|
|
29348
|
+
* When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After you create an automatic snapshot policy, you must call the [ApplyAutoSnapshotPolicy](~~25531~~) operation to apply it to disks. If you want to modify the automatic snapshot policy, you must call the [ModifyAutoSnapshotPolicyEx](~~25529~~) operation.
|
|
29349
|
+
* Take note of the following items:
|
|
29350
|
+
* * You can create a maximum of 100 automatic snapshot policies per region for a single Alibaba Cloud account.
|
|
29351
|
+
* * If an automatic snapshot is being created when the time scheduled for creating another automatic snapshot is due, the new snapshot task is skipped. This may occur when a disk contains a large volume of data. For example, you have scheduled snapshots to be created at 09:00:00, 10:00:00, 11:00:00, and 12:00:00 for a disk. The system starts to create a snapshot for the disk at 09:00:00. The process takes 80 minutes to complete because the disk contains a large volume of data and ends at 10:20:00. The system skips the automatic snapshot task scheduled for 10:00:00 and creates the next automatic snapshot for the disk at 11:00:00.
|
|
29241
29352
|
* * For information about how to copy a snapshot from one region to another, see the "Background information" section in [Copy a snapshot](~~159441~~).
|
|
29242
29353
|
*
|
|
29243
29354
|
* @param request CreateAutoSnapshotPolicyRequest
|
|
@@ -29270,19 +29381,7 @@ export default class Client extends OpenApi {
|
|
|
29270
29381
|
*/
|
|
29271
29382
|
createCapacityReservation(request: CreateCapacityReservationRequest): Promise<CreateCapacityReservationResponse>;
|
|
29272
29383
|
/**
|
|
29273
|
-
*
|
|
29274
|
-
* * RunBatScript: batch commands. These commands are applicable to Windows instances.
|
|
29275
|
-
* * RunPowerShellScript: PowerShell commands. These commands are applicable to Windows instances.
|
|
29276
|
-
* * RunShellScript: shell commands. These commands are applicable to Linux instances.
|
|
29277
|
-
* * You can specify the TimeOut parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, the Cloud Assistant client forcefully terminates the command process by canceling the process ID (PID) of the command. For more information, see [Install the Cloud Assistant client](~~64921~~).
|
|
29278
|
-
* * When the one-time execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
|
|
29279
|
-
* * For a scheduled task, take note of the following items:
|
|
29280
|
-
* * The timeout period takes effect on each execution of the command.
|
|
29281
|
-
* * When a scheduled execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
|
|
29282
|
-
* * The timeout of one execution does not affect the subsequent executions of the command.
|
|
29283
|
-
* * You can retain up to 500 to 10,000 Cloud Assistant commands in each region.
|
|
29284
|
-
* * You can use the WorkingDir parameter to specify the working directory of a Cloud Assistant command. For Linux instances, the default working directory of a command is the home directory of the root user, which is `/root`. For Windows instances, the default working directory of a command is the directory where the Cloud Assistant client process resides, such as `C:\\Windows\\System32`.
|
|
29285
|
-
* * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true when you create the command. When you configure the CommandContent parameter, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, assume that the command content is `echo {{name}}`. You can use the Parameters parameter to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. Therefore, the `echo Jack` command is actually run.
|
|
29384
|
+
* The ID of the region in which to create the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
29286
29385
|
*
|
|
29287
29386
|
* @param request CreateCommandRequest
|
|
29288
29387
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29290,19 +29389,7 @@ export default class Client extends OpenApi {
|
|
|
29290
29389
|
*/
|
|
29291
29390
|
createCommandWithOptions(request: CreateCommandRequest, runtime: $Util.RuntimeOptions): Promise<CreateCommandResponse>;
|
|
29292
29391
|
/**
|
|
29293
|
-
*
|
|
29294
|
-
* * RunBatScript: batch commands. These commands are applicable to Windows instances.
|
|
29295
|
-
* * RunPowerShellScript: PowerShell commands. These commands are applicable to Windows instances.
|
|
29296
|
-
* * RunShellScript: shell commands. These commands are applicable to Linux instances.
|
|
29297
|
-
* * You can specify the TimeOut parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, the Cloud Assistant client forcefully terminates the command process by canceling the process ID (PID) of the command. For more information, see [Install the Cloud Assistant client](~~64921~~).
|
|
29298
|
-
* * When the one-time execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
|
|
29299
|
-
* * For a scheduled task, take note of the following items:
|
|
29300
|
-
* * The timeout period takes effect on each execution of the command.
|
|
29301
|
-
* * When a scheduled execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
|
|
29302
|
-
* * The timeout of one execution does not affect the subsequent executions of the command.
|
|
29303
|
-
* * You can retain up to 500 to 10,000 Cloud Assistant commands in each region.
|
|
29304
|
-
* * You can use the WorkingDir parameter to specify the working directory of a Cloud Assistant command. For Linux instances, the default working directory of a command is the home directory of the root user, which is `/root`. For Windows instances, the default working directory of a command is the directory where the Cloud Assistant client process resides, such as `C:\\Windows\\System32`.
|
|
29305
|
-
* * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true when you create the command. When you configure the CommandContent parameter, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, assume that the command content is `echo {{name}}`. You can use the Parameters parameter to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. Therefore, the `echo Jack` command is actually run.
|
|
29392
|
+
* The ID of the region in which to create the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
29306
29393
|
*
|
|
29307
29394
|
* @param request CreateCommandRequest
|
|
29308
29395
|
* @return CreateCommandResponse
|
|
@@ -29336,12 +29423,12 @@ export default class Client extends OpenApi {
|
|
|
29336
29423
|
createDiagnosticReportWithOptions(request: CreateDiagnosticReportRequest, runtime: $Util.RuntimeOptions): Promise<CreateDiagnosticReportResponse>;
|
|
29337
29424
|
createDiagnosticReport(request: CreateDiagnosticReportRequest): Promise<CreateDiagnosticReportResponse>;
|
|
29338
29425
|
/**
|
|
29339
|
-
* * When you create a disk, the multi-attach (`MultiAttach`) feature
|
|
29426
|
+
* * When you create a disk, you can enable the multi-attach (`MultiAttach`) feature for the disk. We recommend that you familiarize yourself with the multi-attach feature and its limits before you enable it. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
29340
29427
|
* * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
|
|
29341
29428
|
* * When you create disks, you may be charged for the resources used. We recommend that you get familiar with the Elastic Compute Service (ECS) billing methods before you create a disk. For more information, see [Billing overview](~~25398~~).
|
|
29342
|
-
* * By default,
|
|
29343
|
-
* * If you do not
|
|
29344
|
-
* *
|
|
29429
|
+
* * By default, `DeleteAutoSnapshot` is set to `true` when a disk is created. This indicates that when the disk is released, the automatic snapshots of the disk are also deleted. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
|
|
29430
|
+
* * If you do not configure the performance level when you create an ESSD, the performance level for the ESSD is PL1 by default. You can call the [ModifyDiskSpec](~~123780~~) operation to modify the performance level of the ESSD.
|
|
29431
|
+
* * By default, for a disk that is created by calling this operation, the `Portable` attribute is set to `true` and the billing method is pay-as-you-go.
|
|
29345
29432
|
*
|
|
29346
29433
|
* @param request CreateDiskRequest
|
|
29347
29434
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29349,19 +29436,19 @@ export default class Client extends OpenApi {
|
|
|
29349
29436
|
*/
|
|
29350
29437
|
createDiskWithOptions(request: CreateDiskRequest, runtime: $Util.RuntimeOptions): Promise<CreateDiskResponse>;
|
|
29351
29438
|
/**
|
|
29352
|
-
* * When you create a disk, the multi-attach (`MultiAttach`) feature
|
|
29439
|
+
* * When you create a disk, you can enable the multi-attach (`MultiAttach`) feature for the disk. We recommend that you familiarize yourself with the multi-attach feature and its limits before you enable it. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
29353
29440
|
* * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
|
|
29354
29441
|
* * When you create disks, you may be charged for the resources used. We recommend that you get familiar with the Elastic Compute Service (ECS) billing methods before you create a disk. For more information, see [Billing overview](~~25398~~).
|
|
29355
|
-
* * By default,
|
|
29356
|
-
* * If you do not
|
|
29357
|
-
* *
|
|
29442
|
+
* * By default, `DeleteAutoSnapshot` is set to `true` when a disk is created. This indicates that when the disk is released, the automatic snapshots of the disk are also deleted. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
|
|
29443
|
+
* * If you do not configure the performance level when you create an ESSD, the performance level for the ESSD is PL1 by default. You can call the [ModifyDiskSpec](~~123780~~) operation to modify the performance level of the ESSD.
|
|
29444
|
+
* * By default, for a disk that is created by calling this operation, the `Portable` attribute is set to `true` and the billing method is pay-as-you-go.
|
|
29358
29445
|
*
|
|
29359
29446
|
* @param request CreateDiskRequest
|
|
29360
29447
|
* @return CreateDiskResponse
|
|
29361
29448
|
*/
|
|
29362
29449
|
createDisk(request: CreateDiskRequest): Promise<CreateDiskResponse>;
|
|
29363
29450
|
/**
|
|
29364
|
-
* Elasticity Assurance provides a new
|
|
29451
|
+
* Elasticity Assurance provides a new way to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
|
|
29365
29452
|
* * Elasticity assurances are not refundable after purchase.
|
|
29366
29453
|
* * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
|
|
29367
29454
|
* * Elasticity assurances only support unlimited mode. Therefore, you must set `AssuranceTimes` to `Unlimited`. Elasticity assurances in unlimited mode can be applied an unlimited number of times within their effective period and take effect immediately after they are purchased.
|
|
@@ -29372,7 +29459,7 @@ export default class Client extends OpenApi {
|
|
|
29372
29459
|
*/
|
|
29373
29460
|
createElasticityAssuranceWithOptions(request: CreateElasticityAssuranceRequest, runtime: $Util.RuntimeOptions): Promise<CreateElasticityAssuranceResponse>;
|
|
29374
29461
|
/**
|
|
29375
|
-
* Elasticity Assurance provides a new
|
|
29462
|
+
* Elasticity Assurance provides a new way to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
|
|
29376
29463
|
* * Elasticity assurances are not refundable after purchase.
|
|
29377
29464
|
* * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
|
|
29378
29465
|
* * Elasticity assurances only support unlimited mode. Therefore, you must set `AssuranceTimes` to `Unlimited`. Elasticity assurances in unlimited mode can be applied an unlimited number of times within their effective period and take effect immediately after they are purchased.
|
|
@@ -29450,7 +29537,30 @@ export default class Client extends OpenApi {
|
|
|
29450
29537
|
* @return CreateImageResponse
|
|
29451
29538
|
*/
|
|
29452
29539
|
createImage(request: CreateImageRequest): Promise<CreateImageResponse>;
|
|
29540
|
+
/**
|
|
29541
|
+
* Take note of the following items:
|
|
29542
|
+
* * Only custom image components can be created.
|
|
29543
|
+
* * The images must run Linux operating systems. This indicates that you must set `SystemType` to Linux.
|
|
29544
|
+
* * You must set the image component type to image build component by setting the `ComponentType` parameter to Build.
|
|
29545
|
+
* * You can use Dockerfile to edit the content of image components, and then pass the edited content into the `Content` parameter. The content size must not be greater than 16 KB. `FROM` commands cannot be used in image components. An image component supports up to 127 commands. For information about supported commands, see [Description of commands supported by Image Builder](~~200206~~).
|
|
29546
|
+
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to use image components to create image templates. For more information, see [Overview of Image Builder](~~197410~~).
|
|
29547
|
+
*
|
|
29548
|
+
* @param request CreateImageComponentRequest
|
|
29549
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29550
|
+
* @return CreateImageComponentResponse
|
|
29551
|
+
*/
|
|
29453
29552
|
createImageComponentWithOptions(request: CreateImageComponentRequest, runtime: $Util.RuntimeOptions): Promise<CreateImageComponentResponse>;
|
|
29553
|
+
/**
|
|
29554
|
+
* Take note of the following items:
|
|
29555
|
+
* * Only custom image components can be created.
|
|
29556
|
+
* * The images must run Linux operating systems. This indicates that you must set `SystemType` to Linux.
|
|
29557
|
+
* * You must set the image component type to image build component by setting the `ComponentType` parameter to Build.
|
|
29558
|
+
* * You can use Dockerfile to edit the content of image components, and then pass the edited content into the `Content` parameter. The content size must not be greater than 16 KB. `FROM` commands cannot be used in image components. An image component supports up to 127 commands. For information about supported commands, see [Description of commands supported by Image Builder](~~200206~~).
|
|
29559
|
+
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to use image components to create image templates. For more information, see [Overview of Image Builder](~~197410~~).
|
|
29560
|
+
*
|
|
29561
|
+
* @param request CreateImageComponentRequest
|
|
29562
|
+
* @return CreateImageComponentResponse
|
|
29563
|
+
*/
|
|
29454
29564
|
createImageComponent(request: CreateImageComponentRequest): Promise<CreateImageComponentResponse>;
|
|
29455
29565
|
/**
|
|
29456
29566
|
* You can use image templates to specify custom image content and create images across regions and accounts. When you call this operation, take note of the following items:
|
|
@@ -29645,11 +29755,12 @@ export default class Client extends OpenApi {
|
|
|
29645
29755
|
*/
|
|
29646
29756
|
createNatGateway(request: CreateNatGatewayRequest): Promise<CreateNatGatewayResponse>;
|
|
29647
29757
|
/**
|
|
29648
|
-
*
|
|
29649
|
-
*
|
|
29650
|
-
* *
|
|
29758
|
+
* ## Usage notes
|
|
29759
|
+
* Take note of the following items:
|
|
29760
|
+
* * CreateNetworkInterface is a synchronous operation. After an ENI is created, the ENI immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
|
|
29761
|
+
* * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
|
|
29651
29762
|
* * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
|
|
29652
|
-
* * When an ENI is detached from an instance and
|
|
29763
|
+
* * When an ENI is detached from an instance and attached to another instance, the attributes of the ENI remain unchanged and network traffic is redirected to the new instance.
|
|
29653
29764
|
* * If you want to assign IPv6 addresses when you create an ENI, make sure that IPv6 has been enabled for the vSwitch with which to associate the ENI. For more information, see [What is an IPv6 gateway?](~~98896~~)
|
|
29654
29765
|
* * A quota is imposed on the number of ENIs that can be created per Alibaba Cloud region per account. You can view the quota in the ECS console. For more information, see [View and increase resource quotas](~~184115~~).
|
|
29655
29766
|
* **For information about examples on how to call this operation, see **[Create an ENI](~~471552~~).
|
|
@@ -29660,11 +29771,12 @@ export default class Client extends OpenApi {
|
|
|
29660
29771
|
*/
|
|
29661
29772
|
createNetworkInterfaceWithOptions(request: CreateNetworkInterfaceRequest, runtime: $Util.RuntimeOptions): Promise<CreateNetworkInterfaceResponse>;
|
|
29662
29773
|
/**
|
|
29663
|
-
*
|
|
29664
|
-
*
|
|
29665
|
-
* *
|
|
29774
|
+
* ## Usage notes
|
|
29775
|
+
* Take note of the following items:
|
|
29776
|
+
* * CreateNetworkInterface is a synchronous operation. After an ENI is created, the ENI immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
|
|
29777
|
+
* * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
|
|
29666
29778
|
* * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
|
|
29667
|
-
* * When an ENI is detached from an instance and
|
|
29779
|
+
* * When an ENI is detached from an instance and attached to another instance, the attributes of the ENI remain unchanged and network traffic is redirected to the new instance.
|
|
29668
29780
|
* * If you want to assign IPv6 addresses when you create an ENI, make sure that IPv6 has been enabled for the vSwitch with which to associate the ENI. For more information, see [What is an IPv6 gateway?](~~98896~~)
|
|
29669
29781
|
* * A quota is imposed on the number of ENIs that can be created per Alibaba Cloud region per account. You can view the quota in the ECS console. For more information, see [View and increase resource quotas](~~184115~~).
|
|
29670
29782
|
* **For information about examples on how to call this operation, see **[Create an ENI](~~471552~~).
|
|
@@ -29737,7 +29849,7 @@ export default class Client extends OpenApi {
|
|
|
29737
29849
|
createRouterInterface(request: CreateRouterInterfaceRequest): Promise<CreateRouterInterfaceResponse>;
|
|
29738
29850
|
/**
|
|
29739
29851
|
* When you call this operation, take note of the following items:
|
|
29740
|
-
* * You can create up to 100 security groups
|
|
29852
|
+
* * You can create up to 100 security groups in a single Alibaba Cloud region.
|
|
29741
29853
|
* * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
|
|
29742
29854
|
*
|
|
29743
29855
|
* @param request CreateSecurityGroupRequest
|
|
@@ -29747,7 +29859,7 @@ export default class Client extends OpenApi {
|
|
|
29747
29859
|
createSecurityGroupWithOptions(request: CreateSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateSecurityGroupResponse>;
|
|
29748
29860
|
/**
|
|
29749
29861
|
* When you call this operation, take note of the following items:
|
|
29750
|
-
* * You can create up to 100 security groups
|
|
29862
|
+
* * You can create up to 100 security groups in a single Alibaba Cloud region.
|
|
29751
29863
|
* * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
|
|
29752
29864
|
*
|
|
29753
29865
|
* @param request CreateSecurityGroupRequest
|
|
@@ -29756,7 +29868,7 @@ export default class Client extends OpenApi {
|
|
|
29756
29868
|
createSecurityGroup(request: CreateSecurityGroupRequest): Promise<CreateSecurityGroupResponse>;
|
|
29757
29869
|
/**
|
|
29758
29870
|
* You can use the ECS console, call [ECS API](~~63962~~) operations, or use CloudMonitor to view the scheduled simulated system events.
|
|
29759
|
-
*
|
|
29871
|
+
* The following descriptions provide the lifecycle of a simulated system event:
|
|
29760
29872
|
* * Scheduled: The state of the simulated system event is automatically changed to Scheduled after it is scheduled.
|
|
29761
29873
|
* * Executed: The state of the simulated system event is automatically changed to Executed at the time specified by the NotBefore parameter if no manual intervention is involved.
|
|
29762
29874
|
* * Canceled: The state of the simulated system event is changed to Canceled if you cancel the event by calling the [CancelSimulatedSystemEvents](~~88808~~) operation.
|
|
@@ -29769,7 +29881,7 @@ export default class Client extends OpenApi {
|
|
|
29769
29881
|
createSimulatedSystemEventsWithOptions(request: CreateSimulatedSystemEventsRequest, runtime: $Util.RuntimeOptions): Promise<CreateSimulatedSystemEventsResponse>;
|
|
29770
29882
|
/**
|
|
29771
29883
|
* You can use the ECS console, call [ECS API](~~63962~~) operations, or use CloudMonitor to view the scheduled simulated system events.
|
|
29772
|
-
*
|
|
29884
|
+
* The following descriptions provide the lifecycle of a simulated system event:
|
|
29773
29885
|
* * Scheduled: The state of the simulated system event is automatically changed to Scheduled after it is scheduled.
|
|
29774
29886
|
* * Executed: The state of the simulated system event is automatically changed to Executed at the time specified by the NotBefore parameter if no manual intervention is involved.
|
|
29775
29887
|
* * Canceled: The state of the simulated system event is changed to Canceled if you cancel the event by calling the [CancelSimulatedSystemEvents](~~88808~~) operation.
|
|
@@ -29780,21 +29892,7 @@ export default class Client extends OpenApi {
|
|
|
29780
29892
|
*/
|
|
29781
29893
|
createSimulatedSystemEvents(request: CreateSimulatedSystemEventsRequest): Promise<CreateSimulatedSystemEventsResponse>;
|
|
29782
29894
|
/**
|
|
29783
|
-
* The
|
|
29784
|
-
* * If you used the local snapshot feature before December 14, 2020, you can use the `Category` or `InstantAccess` parameter as expected and must take note of the following items:
|
|
29785
|
-
* * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
|
|
29786
|
-
* * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
|
|
29787
|
-
* * If you did not use the local snapshot feature before December 14, 2020, you can use the `InstantAccess` parameter but cannot use the `Category` parameter.
|
|
29788
|
-
* You cannot create snapshots for a disk in the following scenarios:
|
|
29789
|
-
* * The number of manual snapshots of the disk has reached 256.
|
|
29790
|
-
* * A snapshot is being created for the disk.
|
|
29791
|
-
* * The instance to which the disk is attached has never been started.
|
|
29792
|
-
* * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
|
|
29793
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
29794
|
-
* When you create a snapshot, take note of the following items:
|
|
29795
|
-
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
|
|
29796
|
-
* * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
|
|
29797
|
-
* * You can create snapshots for a disk that is in the **Expired** state.`` If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** state and is deleted when the disk is released.``
|
|
29895
|
+
* The request ID.
|
|
29798
29896
|
*
|
|
29799
29897
|
* @param request CreateSnapshotRequest
|
|
29800
29898
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29802,21 +29900,7 @@ export default class Client extends OpenApi {
|
|
|
29802
29900
|
*/
|
|
29803
29901
|
createSnapshotWithOptions(request: CreateSnapshotRequest, runtime: $Util.RuntimeOptions): Promise<CreateSnapshotResponse>;
|
|
29804
29902
|
/**
|
|
29805
|
-
* The
|
|
29806
|
-
* * If you used the local snapshot feature before December 14, 2020, you can use the `Category` or `InstantAccess` parameter as expected and must take note of the following items:
|
|
29807
|
-
* * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
|
|
29808
|
-
* * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
|
|
29809
|
-
* * If you did not use the local snapshot feature before December 14, 2020, you can use the `InstantAccess` parameter but cannot use the `Category` parameter.
|
|
29810
|
-
* You cannot create snapshots for a disk in the following scenarios:
|
|
29811
|
-
* * The number of manual snapshots of the disk has reached 256.
|
|
29812
|
-
* * A snapshot is being created for the disk.
|
|
29813
|
-
* * The instance to which the disk is attached has never been started.
|
|
29814
|
-
* * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
|
|
29815
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
29816
|
-
* When you create a snapshot, take note of the following items:
|
|
29817
|
-
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
|
|
29818
|
-
* * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
|
|
29819
|
-
* * You can create snapshots for a disk that is in the **Expired** state.`` If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** state and is deleted when the disk is released.``
|
|
29903
|
+
* The request ID.
|
|
29820
29904
|
*
|
|
29821
29905
|
* @param request CreateSnapshotRequest
|
|
29822
29906
|
* @return CreateSnapshotResponse
|
|
@@ -29939,8 +30023,7 @@ export default class Client extends OpenApi {
|
|
|
29939
30023
|
*/
|
|
29940
30024
|
deactivateRouterInterface(request: DeactivateRouterInterfaceRequest): Promise<DeactivateRouterInterfaceResponse>;
|
|
29941
30025
|
/**
|
|
29942
|
-
*
|
|
29943
|
-
* Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
|
|
30026
|
+
* $.parameters[4].schema.description
|
|
29944
30027
|
*
|
|
29945
30028
|
* @param request DeleteActivationRequest
|
|
29946
30029
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29948,8 +30031,7 @@ export default class Client extends OpenApi {
|
|
|
29948
30031
|
*/
|
|
29949
30032
|
deleteActivationWithOptions(request: DeleteActivationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteActivationResponse>;
|
|
29950
30033
|
/**
|
|
29951
|
-
*
|
|
29952
|
-
* Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
|
|
30034
|
+
* $.parameters[4].schema.description
|
|
29953
30035
|
*
|
|
29954
30036
|
* @param request DeleteActivationRequest
|
|
29955
30037
|
* @return DeleteActivationResponse
|
|
@@ -30131,14 +30213,14 @@ export default class Client extends OpenApi {
|
|
|
30131
30213
|
*/
|
|
30132
30214
|
deleteInstance(request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
|
|
30133
30215
|
/**
|
|
30134
|
-
* * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
30216
|
+
* * After an Elastic Compute Service (ECS) instance is released, all the physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
30135
30217
|
* * Disks attached to the instance:
|
|
30136
|
-
* *
|
|
30137
|
-
* *
|
|
30138
|
-
* *
|
|
30139
|
-
* *
|
|
30218
|
+
* * The disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks.
|
|
30219
|
+
* * The disks for which `DeleteWithInstance` is set to true are released together with the instance.
|
|
30220
|
+
* * For disks for which `DeleteAutoSnapshot` is set to false, the automatic snapshots of the disks are retained.
|
|
30221
|
+
* * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
|
|
30140
30222
|
* * Manual snapshots of the disks are retained.
|
|
30141
|
-
* * If `OperationLocks` in the
|
|
30223
|
+
* * If `OperationLocks` in the response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~). Even if `DeleteWithInstance` is set to `false` for the data disks that are attached to the instance, this parameter is ignored and the data disks are released along with the instance.
|
|
30142
30224
|
*
|
|
30143
30225
|
* @param request DeleteInstancesRequest
|
|
30144
30226
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30146,14 +30228,14 @@ export default class Client extends OpenApi {
|
|
|
30146
30228
|
*/
|
|
30147
30229
|
deleteInstancesWithOptions(request: DeleteInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DeleteInstancesResponse>;
|
|
30148
30230
|
/**
|
|
30149
|
-
* * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
30231
|
+
* * After an Elastic Compute Service (ECS) instance is released, all the physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
30150
30232
|
* * Disks attached to the instance:
|
|
30151
|
-
* *
|
|
30152
|
-
* *
|
|
30153
|
-
* *
|
|
30154
|
-
* *
|
|
30233
|
+
* * The disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks.
|
|
30234
|
+
* * The disks for which `DeleteWithInstance` is set to true are released together with the instance.
|
|
30235
|
+
* * For disks for which `DeleteAutoSnapshot` is set to false, the automatic snapshots of the disks are retained.
|
|
30236
|
+
* * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
|
|
30155
30237
|
* * Manual snapshots of the disks are retained.
|
|
30156
|
-
* * If `OperationLocks` in the
|
|
30238
|
+
* * If `OperationLocks` in the response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~). Even if `DeleteWithInstance` is set to `false` for the data disks that are attached to the instance, this parameter is ignored and the data disks are released along with the instance.
|
|
30157
30239
|
*
|
|
30158
30240
|
* @param request DeleteInstancesRequest
|
|
30159
30241
|
* @return DeleteInstancesResponse
|
|
@@ -30198,19 +30280,15 @@ export default class Client extends OpenApi {
|
|
|
30198
30280
|
*/
|
|
30199
30281
|
deleteNatGateway(request: DeleteNatGatewayRequest): Promise<DeleteNatGatewayResponse>;
|
|
30200
30282
|
/**
|
|
30201
|
-
* ##
|
|
30283
|
+
* ##
|
|
30202
30284
|
* * The ENI must be in the Available state.
|
|
30203
|
-
* * If the ENI is
|
|
30204
|
-
* * After an ENI is deleted:
|
|
30285
|
+
* * If the ENI is attached to an Elastic Compute Service (ECS) instance, you must call [DetachNetworkInterface](~~58514~~) to detach the ENI from the instance before you can delete the ENI.
|
|
30286
|
+
* * After an ENI is deleted, the following situations occur:
|
|
30205
30287
|
* * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
|
|
30206
30288
|
* * The ENI is automatically removed from its security groups.
|
|
30207
30289
|
* * This operation is an asynchronous operation. After this operation is called to delete an ENI, you can check the state or events of the ENI to determine whether the ENI is deleted. The following figure shows the transitions between the states of the ENI.
|
|
30208
|
-
*
|
|
30209
|
-
*
|
|
30210
|
-
* * If the ENI is in the Deleting state, the ENI deletion request is sent and the ENI is being deleted.
|
|
30211
|
-
* * If the ENI is not found, the ENI is deleted.
|
|
30212
|
-
* * If the ENI is stuck in the Deleting state, the ENI fails to be deleted and you can re-initiate the request to delete the ENI.
|
|
30213
|
-
* For information about examples on how to call this operation, see [Delete an ENI](~~471553~~).
|
|
30290
|
+
*  - If the ENI is in the Deleting state, the ENI deletion request is sent, and the ENI is being deleted. - If the ENI is not found, the ENI is deleted. - If the ENI is stuck in the Deleting state, the ENI fails to be deleted, and you can re-initiate the request to delete the ENI.
|
|
30291
|
+
* **For information about examples on how to call this operation, see **[Delete an ENI](~~471553~~).
|
|
30214
30292
|
*
|
|
30215
30293
|
* @param request DeleteNetworkInterfaceRequest
|
|
30216
30294
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30218,19 +30296,15 @@ export default class Client extends OpenApi {
|
|
|
30218
30296
|
*/
|
|
30219
30297
|
deleteNetworkInterfaceWithOptions(request: DeleteNetworkInterfaceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteNetworkInterfaceResponse>;
|
|
30220
30298
|
/**
|
|
30221
|
-
* ##
|
|
30299
|
+
* ##
|
|
30222
30300
|
* * The ENI must be in the Available state.
|
|
30223
|
-
* * If the ENI is
|
|
30224
|
-
* * After an ENI is deleted:
|
|
30301
|
+
* * If the ENI is attached to an Elastic Compute Service (ECS) instance, you must call [DetachNetworkInterface](~~58514~~) to detach the ENI from the instance before you can delete the ENI.
|
|
30302
|
+
* * After an ENI is deleted, the following situations occur:
|
|
30225
30303
|
* * All the private IP addresses (including primary and secondary private IP addresses) of the ENI are automatically released.
|
|
30226
30304
|
* * The ENI is automatically removed from its security groups.
|
|
30227
30305
|
* * This operation is an asynchronous operation. After this operation is called to delete an ENI, you can check the state or events of the ENI to determine whether the ENI is deleted. The following figure shows the transitions between the states of the ENI.
|
|
30228
|
-
*
|
|
30229
|
-
*
|
|
30230
|
-
* * If the ENI is in the Deleting state, the ENI deletion request is sent and the ENI is being deleted.
|
|
30231
|
-
* * If the ENI is not found, the ENI is deleted.
|
|
30232
|
-
* * If the ENI is stuck in the Deleting state, the ENI fails to be deleted and you can re-initiate the request to delete the ENI.
|
|
30233
|
-
* For information about examples on how to call this operation, see [Delete an ENI](~~471553~~).
|
|
30306
|
+
*  - If the ENI is in the Deleting state, the ENI deletion request is sent, and the ENI is being deleted. - If the ENI is not found, the ENI is deleted. - If the ENI is stuck in the Deleting state, the ENI fails to be deleted, and you can re-initiate the request to delete the ENI.
|
|
30307
|
+
* **For information about examples on how to call this operation, see **[Delete an ENI](~~471553~~).
|
|
30234
30308
|
*
|
|
30235
30309
|
* @param request DeleteNetworkInterfaceRequest
|
|
30236
30310
|
* @return DeleteNetworkInterfaceResponse
|
|
@@ -30311,7 +30385,20 @@ export default class Client extends OpenApi {
|
|
|
30311
30385
|
* @return DeleteRouterInterfaceResponse
|
|
30312
30386
|
*/
|
|
30313
30387
|
deleteRouterInterface(request: DeleteRouterInterfaceRequest): Promise<DeleteRouterInterfaceResponse>;
|
|
30388
|
+
/**
|
|
30389
|
+
* Before you delete a security group, make sure that the security group does not contain instances and is not referenced by other security groups. Otherwise, the DeleteSecurityGroup request fails. You can call the [DescribeSecurityGroupReferences](~~57320~~) operation to query the reference details of the security group.
|
|
30390
|
+
*
|
|
30391
|
+
* @param request DeleteSecurityGroupRequest
|
|
30392
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30393
|
+
* @return DeleteSecurityGroupResponse
|
|
30394
|
+
*/
|
|
30314
30395
|
deleteSecurityGroupWithOptions(request: DeleteSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSecurityGroupResponse>;
|
|
30396
|
+
/**
|
|
30397
|
+
* Before you delete a security group, make sure that the security group does not contain instances and is not referenced by other security groups. Otherwise, the DeleteSecurityGroup request fails. You can call the [DescribeSecurityGroupReferences](~~57320~~) operation to query the reference details of the security group.
|
|
30398
|
+
*
|
|
30399
|
+
* @param request DeleteSecurityGroupRequest
|
|
30400
|
+
* @return DeleteSecurityGroupResponse
|
|
30401
|
+
*/
|
|
30315
30402
|
deleteSecurityGroup(request: DeleteSecurityGroupRequest): Promise<DeleteSecurityGroupResponse>;
|
|
30316
30403
|
/**
|
|
30317
30404
|
* Take note of the following items:
|
|
@@ -30491,10 +30578,10 @@ export default class Client extends OpenApi {
|
|
|
30491
30578
|
describeCapacityReservationsWithOptions(request: DescribeCapacityReservationsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCapacityReservationsResponse>;
|
|
30492
30579
|
describeCapacityReservations(request: DescribeCapacityReservationsRequest): Promise<DescribeCapacityReservationsResponse>;
|
|
30493
30580
|
/**
|
|
30494
|
-
*
|
|
30581
|
+
* Take note of the following items:
|
|
30495
30582
|
* * This operation applies only to instances that reside in the classic network.
|
|
30496
|
-
* * You can query
|
|
30497
|
-
* * At least the `VpcId`
|
|
30583
|
+
* * You can query a maximum of 100 instances that reside in the classic network at a time.
|
|
30584
|
+
* * At least one of the `VpcId` and `InstanceId` parameters must be configured.
|
|
30498
30585
|
*
|
|
30499
30586
|
* @param request DescribeClassicLinkInstancesRequest
|
|
30500
30587
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30502,10 +30589,10 @@ export default class Client extends OpenApi {
|
|
|
30502
30589
|
*/
|
|
30503
30590
|
describeClassicLinkInstancesWithOptions(request: DescribeClassicLinkInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeClassicLinkInstancesResponse>;
|
|
30504
30591
|
/**
|
|
30505
|
-
*
|
|
30592
|
+
* Take note of the following items:
|
|
30506
30593
|
* * This operation applies only to instances that reside in the classic network.
|
|
30507
|
-
* * You can query
|
|
30508
|
-
* * At least the `VpcId`
|
|
30594
|
+
* * You can query a maximum of 100 instances that reside in the classic network at a time.
|
|
30595
|
+
* * At least one of the `VpcId` and `InstanceId` parameters must be configured.
|
|
30509
30596
|
*
|
|
30510
30597
|
* @param request DescribeClassicLinkInstancesRequest
|
|
30511
30598
|
* @return DescribeClassicLinkInstancesResponse
|
|
@@ -30529,7 +30616,7 @@ export default class Client extends OpenApi {
|
|
|
30529
30616
|
*/
|
|
30530
30617
|
describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse>;
|
|
30531
30618
|
/**
|
|
30532
|
-
*
|
|
30619
|
+
* If you specify only `Action` and `RegionId` to call this operation, all the available commands (`CommandId`) that you created in the specified region are queried by default.
|
|
30533
30620
|
*
|
|
30534
30621
|
* @param request DescribeCommandsRequest
|
|
30535
30622
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30537,7 +30624,7 @@ export default class Client extends OpenApi {
|
|
|
30537
30624
|
*/
|
|
30538
30625
|
describeCommandsWithOptions(request: DescribeCommandsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCommandsResponse>;
|
|
30539
30626
|
/**
|
|
30540
|
-
*
|
|
30627
|
+
* If you specify only `Action` and `RegionId` to call this operation, all the available commands (`CommandId`) that you created in the specified region are queried by default.
|
|
30541
30628
|
*
|
|
30542
30629
|
* @param request DescribeCommandsRequest
|
|
30543
30630
|
* @return DescribeCommandsResponse
|
|
@@ -30563,9 +30650,10 @@ export default class Client extends OpenApi {
|
|
|
30563
30650
|
describeDedicatedHostTypesWithOptions(request: DescribeDedicatedHostTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDedicatedHostTypesResponse>;
|
|
30564
30651
|
describeDedicatedHostTypes(request: DescribeDedicatedHostTypesRequest): Promise<DescribeDedicatedHostTypesResponse>;
|
|
30565
30652
|
/**
|
|
30566
|
-
*
|
|
30567
|
-
*
|
|
30568
|
-
* * Specify
|
|
30653
|
+
* ## Usage notes
|
|
30654
|
+
* You can use one of the following methods to query the details of dedicated hosts:
|
|
30655
|
+
* * Specify `DedicatedHostIds` to query the details of dedicated hosts.
|
|
30656
|
+
* * Specify `DedicatedHostClusterId` to query the details of the dedicated hosts in a dedicated host cluster.
|
|
30569
30657
|
*
|
|
30570
30658
|
* @param request DescribeDedicatedHostsRequest
|
|
30571
30659
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30573,16 +30661,19 @@ export default class Client extends OpenApi {
|
|
|
30573
30661
|
*/
|
|
30574
30662
|
describeDedicatedHostsWithOptions(request: DescribeDedicatedHostsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDedicatedHostsResponse>;
|
|
30575
30663
|
/**
|
|
30576
|
-
*
|
|
30577
|
-
*
|
|
30578
|
-
* * Specify
|
|
30664
|
+
* ## Usage notes
|
|
30665
|
+
* You can use one of the following methods to query the details of dedicated hosts:
|
|
30666
|
+
* * Specify `DedicatedHostIds` to query the details of dedicated hosts.
|
|
30667
|
+
* * Specify `DedicatedHostClusterId` to query the details of the dedicated hosts in a dedicated host cluster.
|
|
30579
30668
|
*
|
|
30580
30669
|
* @param request DescribeDedicatedHostsRequest
|
|
30581
30670
|
* @return DescribeDedicatedHostsResponse
|
|
30582
30671
|
*/
|
|
30583
30672
|
describeDedicatedHosts(request: DescribeDedicatedHostsRequest): Promise<DescribeDedicatedHostsResponse>;
|
|
30584
30673
|
/**
|
|
30585
|
-
*
|
|
30674
|
+
* You can call this operation to query the details of resources you filed with Alibaba Cloud, including the types, delivery status, and consumption details of the resources.
|
|
30675
|
+
* By default, the filing tickets of I/O optimized VPC-type instances are queried.
|
|
30676
|
+
* For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
|
|
30586
30677
|
*
|
|
30587
30678
|
* @param request DescribeDemandsRequest
|
|
30588
30679
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30590,14 +30681,17 @@ export default class Client extends OpenApi {
|
|
|
30590
30681
|
*/
|
|
30591
30682
|
describeDemandsWithOptions(request: DescribeDemandsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDemandsResponse>;
|
|
30592
30683
|
/**
|
|
30593
|
-
*
|
|
30684
|
+
* You can call this operation to query the details of resources you filed with Alibaba Cloud, including the types, delivery status, and consumption details of the resources.
|
|
30685
|
+
* By default, the filing tickets of I/O optimized VPC-type instances are queried.
|
|
30686
|
+
* For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
|
|
30594
30687
|
*
|
|
30595
30688
|
* @param request DescribeDemandsRequest
|
|
30596
30689
|
* @return DescribeDemandsResponse
|
|
30597
30690
|
*/
|
|
30598
30691
|
describeDemands(request: DescribeDemandsRequest): Promise<DescribeDemandsResponse>;
|
|
30599
30692
|
/**
|
|
30600
|
-
*
|
|
30693
|
+
* ## Usage notes
|
|
30694
|
+
* For more information about instance families, see [Overview of instance families](~~25378~~).
|
|
30601
30695
|
*
|
|
30602
30696
|
* @param request DescribeDeploymentSetSupportedInstanceTypeFamilyRequest
|
|
30603
30697
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30605,7 +30699,8 @@ export default class Client extends OpenApi {
|
|
|
30605
30699
|
*/
|
|
30606
30700
|
describeDeploymentSetSupportedInstanceTypeFamilyWithOptions(request: DescribeDeploymentSetSupportedInstanceTypeFamilyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDeploymentSetSupportedInstanceTypeFamilyResponse>;
|
|
30607
30701
|
/**
|
|
30608
|
-
*
|
|
30702
|
+
* ## Usage notes
|
|
30703
|
+
* For more information about instance families, see [Overview of instance families](~~25378~~).
|
|
30609
30704
|
*
|
|
30610
30705
|
* @param request DescribeDeploymentSetSupportedInstanceTypeFamilyRequest
|
|
30611
30706
|
* @return DescribeDeploymentSetSupportedInstanceTypeFamilyResponse
|
|
@@ -30678,7 +30773,7 @@ export default class Client extends OpenApi {
|
|
|
30678
30773
|
*/
|
|
30679
30774
|
describeDisks(request: DescribeDisksRequest): Promise<DescribeDisksResponse>;
|
|
30680
30775
|
/**
|
|
30681
|
-
* * The full status information
|
|
30776
|
+
* * The full status information about an EBS device includes the lifecycle status specified by the `Status` parameter, health status specified by the `HealthStatus` parameter, and event type specified by the `EventType` parameter of the EBS device. You can filter the results based on these parameters.
|
|
30682
30777
|
* * The release time, scheduled execution time, and actual execution time of each EBS device event are identical. If you specify a period of time by using the `EventTime.Start` and `EventTime.End` parameters, all events that occurred within this period are queried. You can query events that occurred within the last seven days.
|
|
30683
30778
|
*
|
|
30684
30779
|
* @param request DescribeDisksFullStatusRequest
|
|
@@ -30687,7 +30782,7 @@ export default class Client extends OpenApi {
|
|
|
30687
30782
|
*/
|
|
30688
30783
|
describeDisksFullStatusWithOptions(request: DescribeDisksFullStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDisksFullStatusResponse>;
|
|
30689
30784
|
/**
|
|
30690
|
-
* * The full status information
|
|
30785
|
+
* * The full status information about an EBS device includes the lifecycle status specified by the `Status` parameter, health status specified by the `HealthStatus` parameter, and event type specified by the `EventType` parameter of the EBS device. You can filter the results based on these parameters.
|
|
30691
30786
|
* * The release time, scheduled execution time, and actual execution time of each EBS device event are identical. If you specify a period of time by using the `EventTime.Start` and `EventTime.End` parameters, all events that occurred within this period are queried. You can query events that occurred within the last seven days.
|
|
30692
30787
|
*
|
|
30693
30788
|
* @param request DescribeDisksFullStatusRequest
|
|
@@ -30742,10 +30837,9 @@ export default class Client extends OpenApi {
|
|
|
30742
30837
|
describeElasticityAssurancesWithOptions(request: DescribeElasticityAssurancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeElasticityAssurancesResponse>;
|
|
30743
30838
|
describeElasticityAssurances(request: DescribeElasticityAssurancesRequest): Promise<DescribeElasticityAssurancesResponse>;
|
|
30744
30839
|
/**
|
|
30745
|
-
*
|
|
30746
|
-
*
|
|
30747
|
-
* *
|
|
30748
|
-
* * Only the monitored data within the last 30 days can be queried. If the value of the StartTime parameter is earlier than 30 days from the time when you call this operation, an error is returned.
|
|
30840
|
+
* The monitoring data includes traffic sent and received over the internal network, the number of packets sent and received by the secondary ENI, and the number of dropped packets sent and received by the secondary ENI. Specific information may be missing from the returned monitoring data. This is because the system cannot obtain the relevant information. For example, if the instance to which the secondary ENI is bound is in the Stopped state, or if the secondary ENI is not bound to an instance and is in the Available state, the monitoring data of the secondary ENI cannot be obtained. When you call this operation, take note of the following items:
|
|
30841
|
+
* * Up to 400 monitoring data entries can be returned at a time. If the value that is calculated by using the following formula is greater than 400: (EndTime − StartTime)/Period, an error is returned.
|
|
30842
|
+
* * Only the monitoring data within the last 30 days can be queried. If the value of StartTime is more than 30 days earlier than the time when you call this operation, an error is returned.
|
|
30749
30843
|
*
|
|
30750
30844
|
* @param request DescribeEniMonitorDataRequest
|
|
30751
30845
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30753,10 +30847,9 @@ export default class Client extends OpenApi {
|
|
|
30753
30847
|
*/
|
|
30754
30848
|
describeEniMonitorDataWithOptions(request: DescribeEniMonitorDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEniMonitorDataResponse>;
|
|
30755
30849
|
/**
|
|
30756
|
-
*
|
|
30757
|
-
*
|
|
30758
|
-
* *
|
|
30759
|
-
* * Only the monitored data within the last 30 days can be queried. If the value of the StartTime parameter is earlier than 30 days from the time when you call this operation, an error is returned.
|
|
30850
|
+
* The monitoring data includes traffic sent and received over the internal network, the number of packets sent and received by the secondary ENI, and the number of dropped packets sent and received by the secondary ENI. Specific information may be missing from the returned monitoring data. This is because the system cannot obtain the relevant information. For example, if the instance to which the secondary ENI is bound is in the Stopped state, or if the secondary ENI is not bound to an instance and is in the Available state, the monitoring data of the secondary ENI cannot be obtained. When you call this operation, take note of the following items:
|
|
30851
|
+
* * Up to 400 monitoring data entries can be returned at a time. If the value that is calculated by using the following formula is greater than 400: (EndTime − StartTime)/Period, an error is returned.
|
|
30852
|
+
* * Only the monitoring data within the last 30 days can be queried. If the value of StartTime is more than 30 days earlier than the time when you call this operation, an error is returned.
|
|
30760
30853
|
*
|
|
30761
30854
|
* @param request DescribeEniMonitorDataRequest
|
|
30762
30855
|
* @return DescribeEniMonitorDataResponse
|
|
@@ -30831,7 +30924,7 @@ export default class Client extends OpenApi {
|
|
|
30831
30924
|
/**
|
|
30832
30925
|
* * The image template that is specified by the `ImagePipelineId` parameter cannot be a deleted image template. When an image template is deleted, the corresponding image creation task is deleted.
|
|
30833
30926
|
* * You must specify `ImagePipelineId` or `ExecutionId`.
|
|
30834
|
-
* * You can configure the query token by using the `NextToken` parameter. Set the value of
|
|
30927
|
+
* * You can configure the query token by using the `NextToken` parameter. Set the value of NextToken to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
|
|
30835
30928
|
*
|
|
30836
30929
|
* @param request DescribeImagePipelineExecutionsRequest
|
|
30837
30930
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30841,13 +30934,14 @@ export default class Client extends OpenApi {
|
|
|
30841
30934
|
/**
|
|
30842
30935
|
* * The image template that is specified by the `ImagePipelineId` parameter cannot be a deleted image template. When an image template is deleted, the corresponding image creation task is deleted.
|
|
30843
30936
|
* * You must specify `ImagePipelineId` or `ExecutionId`.
|
|
30844
|
-
* * You can configure the query token by using the `NextToken` parameter. Set the value of
|
|
30937
|
+
* * You can configure the query token by using the `NextToken` parameter. Set the value of NextToken to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
|
|
30845
30938
|
*
|
|
30846
30939
|
* @param request DescribeImagePipelineExecutionsRequest
|
|
30847
30940
|
* @return DescribeImagePipelineExecutionsResponse
|
|
30848
30941
|
*/
|
|
30849
30942
|
describeImagePipelineExecutions(request: DescribeImagePipelineExecutionsRequest): Promise<DescribeImagePipelineExecutionsResponse>;
|
|
30850
30943
|
/**
|
|
30944
|
+
* ## Description
|
|
30851
30945
|
* You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
30852
30946
|
*
|
|
30853
30947
|
* @param request DescribeImagePipelinesRequest
|
|
@@ -30856,6 +30950,7 @@ export default class Client extends OpenApi {
|
|
|
30856
30950
|
*/
|
|
30857
30951
|
describeImagePipelinesWithOptions(request: DescribeImagePipelinesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImagePipelinesResponse>;
|
|
30858
30952
|
/**
|
|
30953
|
+
* ## Description
|
|
30859
30954
|
* You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
30860
30955
|
*
|
|
30861
30956
|
* @param request DescribeImagePipelinesRequest
|
|
@@ -30922,8 +31017,8 @@ export default class Client extends OpenApi {
|
|
|
30922
31017
|
*/
|
|
30923
31018
|
describeInstanceAutoRenewAttribute(request: DescribeInstanceAutoRenewAttributeRequest): Promise<DescribeInstanceAutoRenewAttributeResponse>;
|
|
30924
31019
|
/**
|
|
30925
|
-
* * You can query system events that were
|
|
30926
|
-
* * You can also specify
|
|
31020
|
+
* * You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
|
|
31021
|
+
* * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
|
|
30927
31022
|
*
|
|
30928
31023
|
* @param request DescribeInstanceHistoryEventsRequest
|
|
30929
31024
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30931,8 +31026,8 @@ export default class Client extends OpenApi {
|
|
|
30931
31026
|
*/
|
|
30932
31027
|
describeInstanceHistoryEventsWithOptions(request: DescribeInstanceHistoryEventsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceHistoryEventsResponse>;
|
|
30933
31028
|
/**
|
|
30934
|
-
* * You can query system events that were
|
|
30935
|
-
* * You can also specify
|
|
31029
|
+
* * You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
|
|
31030
|
+
* * You can also specify InstanceEventCycleStatus to query the system events that are in the Scheduled, Executing, or Inquiring state.
|
|
30936
31031
|
*
|
|
30937
31032
|
* @param request DescribeInstanceHistoryEventsRequest
|
|
30938
31033
|
* @return DescribeInstanceHistoryEventsResponse
|
|
@@ -30941,7 +31036,7 @@ export default class Client extends OpenApi {
|
|
|
30941
31036
|
/**
|
|
30942
31037
|
* This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
|
|
30943
31038
|
* * Maintenance window: the time period that you specify for maintenance.
|
|
30944
|
-
* * Maintenance action: the
|
|
31039
|
+
* * Maintenance action: the action that you specify in response to instance shutdown.
|
|
30945
31040
|
*
|
|
30946
31041
|
* @param request DescribeInstanceMaintenanceAttributesRequest
|
|
30947
31042
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30951,14 +31046,16 @@ export default class Client extends OpenApi {
|
|
|
30951
31046
|
/**
|
|
30952
31047
|
* This operation is used to query the specified maintenance policy of an instance, which contains the following maintenance attributes:
|
|
30953
31048
|
* * Maintenance window: the time period that you specify for maintenance.
|
|
30954
|
-
* * Maintenance action: the
|
|
31049
|
+
* * Maintenance action: the action that you specify in response to instance shutdown.
|
|
30955
31050
|
*
|
|
30956
31051
|
* @param request DescribeInstanceMaintenanceAttributesRequest
|
|
30957
31052
|
* @return DescribeInstanceMaintenanceAttributesResponse
|
|
30958
31053
|
*/
|
|
30959
31054
|
describeInstanceMaintenanceAttributes(request: DescribeInstanceMaintenanceAttributesRequest): Promise<DescribeInstanceMaintenanceAttributesResponse>;
|
|
30960
31055
|
/**
|
|
30961
|
-
* The
|
|
31056
|
+
* * Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations. The pricing information cannot be queried when the instance configurations are downgraded.
|
|
31057
|
+
* * Pricing information cannot be queried for pay-as-you-go ECS instances when you change their configurations. Prices of existing pay-as-you-go ECS instances whose configurations are changed are the same as those of new pay-as-you-go instances. You can call the [DescribePrice](~~107829~~) operation to query the latest prices of ECS instances.
|
|
31058
|
+
* * Before you upgrade the configurations of an instance, we recommend that you call the [DescribeResourcesModification](~~66187~~) operation to query the instance types available for configuration upgrades in a specified zone.
|
|
30962
31059
|
*
|
|
30963
31060
|
* @param request DescribeInstanceModificationPriceRequest
|
|
30964
31061
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30966,14 +31063,16 @@ export default class Client extends OpenApi {
|
|
|
30966
31063
|
*/
|
|
30967
31064
|
describeInstanceModificationPriceWithOptions(request: DescribeInstanceModificationPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceModificationPriceResponse>;
|
|
30968
31065
|
/**
|
|
30969
|
-
* The
|
|
31066
|
+
* * Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations. The pricing information cannot be queried when the instance configurations are downgraded.
|
|
31067
|
+
* * Pricing information cannot be queried for pay-as-you-go ECS instances when you change their configurations. Prices of existing pay-as-you-go ECS instances whose configurations are changed are the same as those of new pay-as-you-go instances. You can call the [DescribePrice](~~107829~~) operation to query the latest prices of ECS instances.
|
|
31068
|
+
* * Before you upgrade the configurations of an instance, we recommend that you call the [DescribeResourcesModification](~~66187~~) operation to query the instance types available for configuration upgrades in a specified zone.
|
|
30970
31069
|
*
|
|
30971
31070
|
* @param request DescribeInstanceModificationPriceRequest
|
|
30972
31071
|
* @return DescribeInstanceModificationPriceResponse
|
|
30973
31072
|
*/
|
|
30974
31073
|
describeInstanceModificationPrice(request: DescribeInstanceModificationPriceRequest): Promise<DescribeInstanceModificationPriceResponse>;
|
|
30975
31074
|
/**
|
|
30976
|
-
*
|
|
31075
|
+
* Take note of the following items:
|
|
30977
31076
|
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value that is calculated by using the following formula is greater than 400: `(EndTime − StartTime)/Period`.
|
|
30978
31077
|
* * You can query the monitoring data of the last 30 days. If the value of the `StartTime` parameter is more than 30 days earlier than the current time, an error is returned.
|
|
30979
31078
|
* * In some scenarios, such as when the instance is in the Stopped state, the system cannot obtain the relevant information and a portion may be missing from the returned monitoring data.
|
|
@@ -30984,7 +31083,7 @@ export default class Client extends OpenApi {
|
|
|
30984
31083
|
*/
|
|
30985
31084
|
describeInstanceMonitorDataWithOptions(request: DescribeInstanceMonitorDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceMonitorDataResponse>;
|
|
30986
31085
|
/**
|
|
30987
|
-
*
|
|
31086
|
+
* Take note of the following items:
|
|
30988
31087
|
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value that is calculated by using the following formula is greater than 400: `(EndTime − StartTime)/Period`.
|
|
30989
31088
|
* * You can query the monitoring data of the last 30 days. If the value of the `StartTime` parameter is more than 30 days earlier than the current time, an error is returned.
|
|
30990
31089
|
* * In some scenarios, such as when the instance is in the Stopped state, the system cannot obtain the relevant information and a portion may be missing from the returned monitoring data.
|
|
@@ -30993,7 +31092,22 @@ export default class Client extends OpenApi {
|
|
|
30993
31092
|
* @return DescribeInstanceMonitorDataResponse
|
|
30994
31093
|
*/
|
|
30995
31094
|
describeInstanceMonitorData(request: DescribeInstanceMonitorDataRequest): Promise<DescribeInstanceMonitorDataResponse>;
|
|
31095
|
+
/**
|
|
31096
|
+
* ## Description
|
|
31097
|
+
* When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31098
|
+
*
|
|
31099
|
+
* @param request DescribeInstanceRamRoleRequest
|
|
31100
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31101
|
+
* @return DescribeInstanceRamRoleResponse
|
|
31102
|
+
*/
|
|
30996
31103
|
describeInstanceRamRoleWithOptions(request: DescribeInstanceRamRoleRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceRamRoleResponse>;
|
|
31104
|
+
/**
|
|
31105
|
+
* ## Description
|
|
31106
|
+
* When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31107
|
+
*
|
|
31108
|
+
* @param request DescribeInstanceRamRoleRequest
|
|
31109
|
+
* @return DescribeInstanceRamRoleResponse
|
|
31110
|
+
*/
|
|
30997
31111
|
describeInstanceRamRole(request: DescribeInstanceRamRoleRequest): Promise<DescribeInstanceRamRoleResponse>;
|
|
30998
31112
|
/**
|
|
30999
31113
|
* * For information about the lifecycle states of an ECS instance, see [Instance states](~~25687~~).
|
|
@@ -31069,7 +31183,58 @@ export default class Client extends OpenApi {
|
|
|
31069
31183
|
* @return DescribeInstanceVncPasswdResponse
|
|
31070
31184
|
*/
|
|
31071
31185
|
describeInstanceVncPasswd(request: DescribeInstanceVncPasswdRequest): Promise<DescribeInstanceVncPasswdResponse>;
|
|
31186
|
+
/**
|
|
31187
|
+
* ## Description
|
|
31188
|
+
* When you call this operation, take note of the following items:
|
|
31189
|
+
* * 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.
|
|
31190
|
+
* * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal for 60 seconds, the VNC management terminal is automatically disconnected.
|
|
31191
|
+
* * When you disconnect from the VNC management terminal, you can reconnect to the VNC management terminal up to 30 times a minute.
|
|
31192
|
+
* * You must append the following parameters to the end of the `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?` URL: `vncUrl`, `instanceId`, `isWindows` (True or False), and `password`. Connect these parameters with ampersands (`&`).
|
|
31193
|
+
* * `vncUrl:` the `VncUrl` value returned after a successful query.
|
|
31194
|
+
* * `instanceId:` the ID of your instance.
|
|
31195
|
+
* * `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.
|
|
31196
|
+
* * `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.
|
|
31197
|
+
* Example:
|
|
31198
|
+
* ```
|
|
31199
|
+
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
|
|
31200
|
+
*
|
|
31201
|
+
* ```
|
|
31202
|
+
* Or:
|
|
31203
|
+
* ```
|
|
31204
|
+
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true&password=****
|
|
31205
|
+
*
|
|
31206
|
+
* ```
|
|
31207
|
+
*
|
|
31208
|
+
* @param request DescribeInstanceVncUrlRequest
|
|
31209
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31210
|
+
* @return DescribeInstanceVncUrlResponse
|
|
31211
|
+
*/
|
|
31072
31212
|
describeInstanceVncUrlWithOptions(request: DescribeInstanceVncUrlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceVncUrlResponse>;
|
|
31213
|
+
/**
|
|
31214
|
+
* ## Description
|
|
31215
|
+
* When you call this operation, take note of the following items:
|
|
31216
|
+
* * 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.
|
|
31217
|
+
* * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal for 60 seconds, the VNC management terminal is automatically disconnected.
|
|
31218
|
+
* * When you disconnect from the VNC management terminal, you can reconnect to the VNC management terminal up to 30 times a minute.
|
|
31219
|
+
* * You must append the following parameters to the end of the `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?` URL: `vncUrl`, `instanceId`, `isWindows` (True or False), and `password`. Connect these parameters with ampersands (`&`).
|
|
31220
|
+
* * `vncUrl:` the `VncUrl` value returned after a successful query.
|
|
31221
|
+
* * `instanceId:` the ID of your instance.
|
|
31222
|
+
* * `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.
|
|
31223
|
+
* * `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.
|
|
31224
|
+
* Example:
|
|
31225
|
+
* ```
|
|
31226
|
+
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
|
|
31227
|
+
*
|
|
31228
|
+
* ```
|
|
31229
|
+
* Or:
|
|
31230
|
+
* ```
|
|
31231
|
+
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true&password=****
|
|
31232
|
+
*
|
|
31233
|
+
* ```
|
|
31234
|
+
*
|
|
31235
|
+
* @param request DescribeInstanceVncUrlRequest
|
|
31236
|
+
* @return DescribeInstanceVncUrlResponse
|
|
31237
|
+
*/
|
|
31073
31238
|
describeInstanceVncUrl(request: DescribeInstanceVncUrlRequest): Promise<DescribeInstanceVncUrlResponse>;
|
|
31074
31239
|
/**
|
|
31075
31240
|
* * You can specify multiple request parameters to be queried. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if InstanceIds is set to an empty JSON array, it is regarded as a valid filter condition and an empty result is returned.
|
|
@@ -31116,7 +31281,9 @@ export default class Client extends OpenApi {
|
|
|
31116
31281
|
*/
|
|
31117
31282
|
describeInstancesFullStatus(request: DescribeInstancesFullStatusRequest): Promise<DescribeInstancesFullStatusResponse>;
|
|
31118
31283
|
/**
|
|
31119
|
-
* The
|
|
31284
|
+
* The number of times that the command is run on the instance.
|
|
31285
|
+
* * If the command is set to run only once on the instance, the value is 0 or 1.
|
|
31286
|
+
* * If the command is set to run on a schedule on the instance, the value is the number of times that the command is run.
|
|
31120
31287
|
*
|
|
31121
31288
|
* @param request DescribeInvocationResultsRequest
|
|
31122
31289
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31124,7 +31291,9 @@ export default class Client extends OpenApi {
|
|
|
31124
31291
|
*/
|
|
31125
31292
|
describeInvocationResultsWithOptions(request: DescribeInvocationResultsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvocationResultsResponse>;
|
|
31126
31293
|
/**
|
|
31127
|
-
* The
|
|
31294
|
+
* The number of times that the command is run on the instance.
|
|
31295
|
+
* * If the command is set to run only once on the instance, the value is 0 or 1.
|
|
31296
|
+
* * If the command is set to run on a schedule on the instance, the value is the number of times that the command is run.
|
|
31128
31297
|
*
|
|
31129
31298
|
* @param request DescribeInvocationResultsRequest
|
|
31130
31299
|
* @return DescribeInvocationResultsResponse
|
|
@@ -31149,7 +31318,22 @@ export default class Client extends OpenApi {
|
|
|
31149
31318
|
describeInvocations(request: DescribeInvocationsRequest): Promise<DescribeInvocationsResponse>;
|
|
31150
31319
|
describeKeyPairsWithOptions(request: DescribeKeyPairsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeKeyPairsResponse>;
|
|
31151
31320
|
describeKeyPairs(request: DescribeKeyPairsRequest): Promise<DescribeKeyPairsResponse>;
|
|
31321
|
+
/**
|
|
31322
|
+
* ## Debugging
|
|
31323
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeLaunchTemplateVersions\\&type=RPC\\&version=2014-05-26)
|
|
31324
|
+
*
|
|
31325
|
+
* @param request DescribeLaunchTemplateVersionsRequest
|
|
31326
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31327
|
+
* @return DescribeLaunchTemplateVersionsResponse
|
|
31328
|
+
*/
|
|
31152
31329
|
describeLaunchTemplateVersionsWithOptions(request: DescribeLaunchTemplateVersionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLaunchTemplateVersionsResponse>;
|
|
31330
|
+
/**
|
|
31331
|
+
* ## Debugging
|
|
31332
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeLaunchTemplateVersions\\&type=RPC\\&version=2014-05-26)
|
|
31333
|
+
*
|
|
31334
|
+
* @param request DescribeLaunchTemplateVersionsRequest
|
|
31335
|
+
* @return DescribeLaunchTemplateVersionsResponse
|
|
31336
|
+
*/
|
|
31153
31337
|
describeLaunchTemplateVersions(request: DescribeLaunchTemplateVersionsRequest): Promise<DescribeLaunchTemplateVersionsResponse>;
|
|
31154
31338
|
describeLaunchTemplatesWithOptions(request: DescribeLaunchTemplatesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLaunchTemplatesResponse>;
|
|
31155
31339
|
describeLaunchTemplates(request: DescribeLaunchTemplatesRequest): Promise<DescribeLaunchTemplatesResponse>;
|
|
@@ -31332,7 +31516,22 @@ export default class Client extends OpenApi {
|
|
|
31332
31516
|
describeReservedInstances(request: DescribeReservedInstancesRequest): Promise<DescribeReservedInstancesResponse>;
|
|
31333
31517
|
describeResourceByTagsWithOptions(request: DescribeResourceByTagsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeResourceByTagsResponse>;
|
|
31334
31518
|
describeResourceByTags(request: DescribeResourceByTagsRequest): Promise<DescribeResourceByTagsResponse>;
|
|
31519
|
+
/**
|
|
31520
|
+
* ## Debugging
|
|
31521
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeResourcesModification\\&type=RPC\\&version=2014-05-26)
|
|
31522
|
+
*
|
|
31523
|
+
* @param request DescribeResourcesModificationRequest
|
|
31524
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31525
|
+
* @return DescribeResourcesModificationResponse
|
|
31526
|
+
*/
|
|
31335
31527
|
describeResourcesModificationWithOptions(request: DescribeResourcesModificationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeResourcesModificationResponse>;
|
|
31528
|
+
/**
|
|
31529
|
+
* ## Debugging
|
|
31530
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeResourcesModification\\&type=RPC\\&version=2014-05-26)
|
|
31531
|
+
*
|
|
31532
|
+
* @param request DescribeResourcesModificationRequest
|
|
31533
|
+
* @return DescribeResourcesModificationResponse
|
|
31534
|
+
*/
|
|
31336
31535
|
describeResourcesModification(request: DescribeResourcesModificationRequest): Promise<DescribeResourcesModificationResponse>;
|
|
31337
31536
|
/**
|
|
31338
31537
|
* @deprecated
|
|
@@ -31388,7 +31587,10 @@ export default class Client extends OpenApi {
|
|
|
31388
31587
|
*/
|
|
31389
31588
|
describeSecurityGroupReferences(request: DescribeSecurityGroupReferencesRequest): Promise<DescribeSecurityGroupReferencesResponse>;
|
|
31390
31589
|
/**
|
|
31391
|
-
*
|
|
31590
|
+
* Take note of the following items:
|
|
31591
|
+
* * The basic information about security groups includes their IDs and descriptions. The response returns security groups ordered in descending order based on their IDs.
|
|
31592
|
+
* * We recommend that you use NextToken and MaxResults for a paged query. We recommend that you use MaxResults to specify the maximum number of entries to return in each request. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you perform the next request, set NextToken to the value that is returned for NextToken in the previous call and use MaxResults to specify the maximum number of entries to return in this call. If the return value of NextToken is empty, the current page of results is the last page and no more results are to be returned.
|
|
31593
|
+
* * When you use Alibaba Cloud CLI to call an API operation, you must specify values for request parameters of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31392
31594
|
*
|
|
31393
31595
|
* @param request DescribeSecurityGroupsRequest
|
|
31394
31596
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31396,7 +31598,10 @@ export default class Client extends OpenApi {
|
|
|
31396
31598
|
*/
|
|
31397
31599
|
describeSecurityGroupsWithOptions(request: DescribeSecurityGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSecurityGroupsResponse>;
|
|
31398
31600
|
/**
|
|
31399
|
-
*
|
|
31601
|
+
* Take note of the following items:
|
|
31602
|
+
* * The basic information about security groups includes their IDs and descriptions. The response returns security groups ordered in descending order based on their IDs.
|
|
31603
|
+
* * We recommend that you use NextToken and MaxResults for a paged query. We recommend that you use MaxResults to specify the maximum number of entries to return in each request. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you perform the next request, set NextToken to the value that is returned for NextToken in the previous call and use MaxResults to specify the maximum number of entries to return in this call. If the return value of NextToken is empty, the current page of results is the last page and no more results are to be returned.
|
|
31604
|
+
* * When you use Alibaba Cloud CLI to call an API operation, you must specify values for request parameters of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31400
31605
|
*
|
|
31401
31606
|
* @param request DescribeSecurityGroupsRequest
|
|
31402
31607
|
* @return DescribeSecurityGroupsResponse
|
|
@@ -31404,8 +31609,8 @@ export default class Client extends OpenApi {
|
|
|
31404
31609
|
describeSecurityGroups(request: DescribeSecurityGroupsRequest): Promise<DescribeSecurityGroupsResponse>;
|
|
31405
31610
|
/**
|
|
31406
31611
|
* ## Usage notes
|
|
31407
|
-
* * When you send a file, the file may fail to be sent to specified Elastic Compute Service (ECS) instances. You can call this operation to check
|
|
31408
|
-
* * You can call this operation to query the
|
|
31612
|
+
* * When you send a file, the file may fail to be sent to specified Elastic Compute Service (ECS) instances. You can call this operation to check the file sending results.
|
|
31613
|
+
* * You can call this operation to query the file sending records within the last six weeks.
|
|
31409
31614
|
*
|
|
31410
31615
|
* @param request DescribeSendFileResultsRequest
|
|
31411
31616
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31414,8 +31619,8 @@ export default class Client extends OpenApi {
|
|
|
31414
31619
|
describeSendFileResultsWithOptions(request: DescribeSendFileResultsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSendFileResultsResponse>;
|
|
31415
31620
|
/**
|
|
31416
31621
|
* ## Usage notes
|
|
31417
|
-
* * When you send a file, the file may fail to be sent to specified Elastic Compute Service (ECS) instances. You can call this operation to check
|
|
31418
|
-
* * You can call this operation to query the
|
|
31622
|
+
* * When you send a file, the file may fail to be sent to specified Elastic Compute Service (ECS) instances. You can call this operation to check the file sending results.
|
|
31623
|
+
* * You can call this operation to query the file sending records within the last six weeks.
|
|
31419
31624
|
*
|
|
31420
31625
|
* @param request DescribeSendFileResultsRequest
|
|
31421
31626
|
* @return DescribeSendFileResultsResponse
|
|
@@ -31458,7 +31663,7 @@ export default class Client extends OpenApi {
|
|
|
31458
31663
|
/**
|
|
31459
31664
|
* Take note of the following items:
|
|
31460
31665
|
* * Up to 400 entries of monitoring data can be returned at a time. If the result of the `(EndTime - StartTime)/Period` formula is greater than 400, an error is returned.
|
|
31461
|
-
* * Only the
|
|
31666
|
+
* * Only the monitored data within the last 30 days can be queried. If the value of `StartTime` is more than 30 days earlier than the time when you call this operation, an error is returned.
|
|
31462
31667
|
*
|
|
31463
31668
|
* @param request DescribeSnapshotMonitorDataRequest
|
|
31464
31669
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31468,7 +31673,7 @@ export default class Client extends OpenApi {
|
|
|
31468
31673
|
/**
|
|
31469
31674
|
* Take note of the following items:
|
|
31470
31675
|
* * Up to 400 entries of monitoring data can be returned at a time. If the result of the `(EndTime - StartTime)/Period` formula is greater than 400, an error is returned.
|
|
31471
|
-
* * Only the
|
|
31676
|
+
* * Only the monitored data within the last 30 days can be queried. If the value of `StartTime` is more than 30 days earlier than the time when you call this operation, an error is returned.
|
|
31472
31677
|
*
|
|
31473
31678
|
* @param request DescribeSnapshotMonitorDataRequest
|
|
31474
31679
|
* @return DescribeSnapshotMonitorDataResponse
|
|
@@ -31477,8 +31682,7 @@ export default class Client extends OpenApi {
|
|
|
31477
31682
|
describeSnapshotPackageWithOptions(request: DescribeSnapshotPackageRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSnapshotPackageResponse>;
|
|
31478
31683
|
describeSnapshotPackage(request: DescribeSnapshotPackageRequest): Promise<DescribeSnapshotPackageResponse>;
|
|
31479
31684
|
/**
|
|
31480
|
-
*
|
|
31481
|
-
* You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
31685
|
+
* You can configure multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
|
|
31482
31686
|
* When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31483
31687
|
*
|
|
31484
31688
|
* @param request DescribeSnapshotsRequest
|
|
@@ -31487,8 +31691,7 @@ export default class Client extends OpenApi {
|
|
|
31487
31691
|
*/
|
|
31488
31692
|
describeSnapshotsWithOptions(request: DescribeSnapshotsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSnapshotsResponse>;
|
|
31489
31693
|
/**
|
|
31490
|
-
*
|
|
31491
|
-
* You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
31694
|
+
* You can configure multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
|
|
31492
31695
|
* When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31493
31696
|
*
|
|
31494
31697
|
* @param request DescribeSnapshotsRequest
|
|
@@ -31511,15 +31714,15 @@ export default class Client extends OpenApi {
|
|
|
31511
31714
|
*/
|
|
31512
31715
|
describeSnapshotsUsage(request: DescribeSnapshotsUsageRequest): Promise<DescribeSnapshotsUsageResponse>;
|
|
31513
31716
|
/**
|
|
31514
|
-
* * You can call this operation to query information that is generated for preemptible instances in the last 30 days and select suitable instance types based on the
|
|
31515
|
-
* * Average release rate of preemptible instances
|
|
31516
|
-
* *
|
|
31517
|
-
* * Average preemptible instance price that is calculated based on the preceding percentage
|
|
31518
|
-
* * This operation is applicable only to I/O optimized preemptible instances that
|
|
31519
|
-
* * You can use one of the following methods to
|
|
31520
|
-
* *
|
|
31521
|
-
* *
|
|
31522
|
-
* *
|
|
31717
|
+
* * You can call this operation to query information that is generated for preemptible instances in the last 30 days and select suitable instance types based on the query results. The information that you can query includes:
|
|
31718
|
+
* * Average release rate of preemptible instances
|
|
31719
|
+
* * Percentage of the average preemptible instance price relative to the pay-as-you-go instance price
|
|
31720
|
+
* * Average preemptible instance price that is calculated based on the preceding percentage
|
|
31721
|
+
* * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
|
|
31722
|
+
* * You can use one of the following methods to query information that is generated for preemptible instances in the last 30 days:
|
|
31723
|
+
* * Configure `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about an instance type that meets the specified vCPU and memory requirements.
|
|
31724
|
+
* * Configure the `InstanceTypes.N` parameter to query information about a specified instance type.
|
|
31725
|
+
* * Configure `Cores` and `Memory` or `MinCores` and `MinMemory`, and then configure `InstanceTypeFamily` or `InstanceFamilyLevel` to query information about an instance type that meets the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.
|
|
31523
31726
|
*
|
|
31524
31727
|
* @param request DescribeSpotAdviceRequest
|
|
31525
31728
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31527,15 +31730,15 @@ export default class Client extends OpenApi {
|
|
|
31527
31730
|
*/
|
|
31528
31731
|
describeSpotAdviceWithOptions(request: DescribeSpotAdviceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSpotAdviceResponse>;
|
|
31529
31732
|
/**
|
|
31530
|
-
* * You can call this operation to query information that is generated for preemptible instances in the last 30 days and select suitable instance types based on the
|
|
31531
|
-
* * Average release rate of preemptible instances
|
|
31532
|
-
* *
|
|
31533
|
-
* * Average preemptible instance price that is calculated based on the preceding percentage
|
|
31534
|
-
* * This operation is applicable only to I/O optimized preemptible instances that
|
|
31535
|
-
* * You can use one of the following methods to
|
|
31536
|
-
* *
|
|
31537
|
-
* *
|
|
31538
|
-
* *
|
|
31733
|
+
* * You can call this operation to query information that is generated for preemptible instances in the last 30 days and select suitable instance types based on the query results. The information that you can query includes:
|
|
31734
|
+
* * Average release rate of preemptible instances
|
|
31735
|
+
* * Percentage of the average preemptible instance price relative to the pay-as-you-go instance price
|
|
31736
|
+
* * Average preemptible instance price that is calculated based on the preceding percentage
|
|
31737
|
+
* * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
|
|
31738
|
+
* * You can use one of the following methods to query information that is generated for preemptible instances in the last 30 days:
|
|
31739
|
+
* * Configure `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about an instance type that meets the specified vCPU and memory requirements.
|
|
31740
|
+
* * Configure the `InstanceTypes.N` parameter to query information about a specified instance type.
|
|
31741
|
+
* * Configure `Cores` and `Memory` or `MinCores` and `MinMemory`, and then configure `InstanceTypeFamily` or `InstanceFamilyLevel` to query information about an instance type that meets the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.
|
|
31539
31742
|
*
|
|
31540
31743
|
* @param request DescribeSpotAdviceRequest
|
|
31541
31744
|
* @return DescribeSpotAdviceResponse
|
|
@@ -31566,7 +31769,22 @@ export default class Client extends OpenApi {
|
|
|
31566
31769
|
describeTags(request: DescribeTagsRequest): Promise<DescribeTagsResponse>;
|
|
31567
31770
|
describeTaskAttributeWithOptions(request: DescribeTaskAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTaskAttributeResponse>;
|
|
31568
31771
|
describeTaskAttribute(request: DescribeTaskAttributeRequest): Promise<DescribeTaskAttributeResponse>;
|
|
31772
|
+
/**
|
|
31773
|
+
* ## Debugging
|
|
31774
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeTasks\\&type=RPC\\&version=2014-05-26)
|
|
31775
|
+
*
|
|
31776
|
+
* @param request DescribeTasksRequest
|
|
31777
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31778
|
+
* @return DescribeTasksResponse
|
|
31779
|
+
*/
|
|
31569
31780
|
describeTasksWithOptions(request: DescribeTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTasksResponse>;
|
|
31781
|
+
/**
|
|
31782
|
+
* ## Debugging
|
|
31783
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeTasks\\&type=RPC\\&version=2014-05-26)
|
|
31784
|
+
*
|
|
31785
|
+
* @param request DescribeTasksRequest
|
|
31786
|
+
* @return DescribeTasksResponse
|
|
31787
|
+
*/
|
|
31570
31788
|
describeTasks(request: DescribeTasksRequest): Promise<DescribeTasksResponse>;
|
|
31571
31789
|
/**
|
|
31572
31790
|
* @deprecated
|
|
@@ -31741,17 +31959,7 @@ export default class Client extends OpenApi {
|
|
|
31741
31959
|
*/
|
|
31742
31960
|
detachKeyPair(request: DetachKeyPairRequest): Promise<DetachKeyPairResponse>;
|
|
31743
31961
|
/**
|
|
31744
|
-
*
|
|
31745
|
-
* When you call this operation, take note of the following items:
|
|
31746
|
-
* * Primary ENIs cannot be detached from ECS instances.
|
|
31747
|
-
* * The ENI must be in the Detaching (Detaching) or InUse (InUse) state.
|
|
31748
|
-
* * The instance must be in the Running (Running) or Stopped (Stopped) state.
|
|
31749
|
-
* * This operation is an asynchronous operation. After this operation is called to detach an ENI, you can check the state or events of the ENI to determine whether the ENI is detached. The following figure shows the transitions between the states of the ENI.
|
|
31750
|
-
* 
|
|
31751
|
-
* * If the ENI is in the Detaching state, the ENI detachment request is sent and the ENI is being detached from its associated instance.
|
|
31752
|
-
* * If the ENI is in the Available state, the ENI is detached from its associated instance.
|
|
31753
|
-
* * If the ENI is stuck in the Detaching state, the ENI may fail to be detached from the associated instance due to specific reasons. For example, the ENI may fail to be detached because the operating system did not respond to the ENI detachment request. If this occurs, you can re-initiate the request to detach the ENI. If the problem persists, restart the instance.
|
|
31754
|
-
* **For information about examples on how to call this operation, see **[Detach an ENI](~~471551~~).
|
|
31962
|
+
* The operation that you want to perform. Set the value to **DetachNetworkInterface**.
|
|
31755
31963
|
*
|
|
31756
31964
|
* @param request DetachNetworkInterfaceRequest
|
|
31757
31965
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31759,24 +31967,15 @@ export default class Client extends OpenApi {
|
|
|
31759
31967
|
*/
|
|
31760
31968
|
detachNetworkInterfaceWithOptions(request: DetachNetworkInterfaceRequest, runtime: $Util.RuntimeOptions): Promise<DetachNetworkInterfaceResponse>;
|
|
31761
31969
|
/**
|
|
31762
|
-
*
|
|
31763
|
-
* When you call this operation, take note of the following items:
|
|
31764
|
-
* * Primary ENIs cannot be detached from ECS instances.
|
|
31765
|
-
* * The ENI must be in the Detaching (Detaching) or InUse (InUse) state.
|
|
31766
|
-
* * The instance must be in the Running (Running) or Stopped (Stopped) state.
|
|
31767
|
-
* * This operation is an asynchronous operation. After this operation is called to detach an ENI, you can check the state or events of the ENI to determine whether the ENI is detached. The following figure shows the transitions between the states of the ENI.
|
|
31768
|
-
* 
|
|
31769
|
-
* * If the ENI is in the Detaching state, the ENI detachment request is sent and the ENI is being detached from its associated instance.
|
|
31770
|
-
* * If the ENI is in the Available state, the ENI is detached from its associated instance.
|
|
31771
|
-
* * If the ENI is stuck in the Detaching state, the ENI may fail to be detached from the associated instance due to specific reasons. For example, the ENI may fail to be detached because the operating system did not respond to the ENI detachment request. If this occurs, you can re-initiate the request to detach the ENI. If the problem persists, restart the instance.
|
|
31772
|
-
* **For information about examples on how to call this operation, see **[Detach an ENI](~~471551~~).
|
|
31970
|
+
* The operation that you want to perform. Set the value to **DetachNetworkInterface**.
|
|
31773
31971
|
*
|
|
31774
31972
|
* @param request DetachNetworkInterfaceRequest
|
|
31775
31973
|
* @return DetachNetworkInterfaceResponse
|
|
31776
31974
|
*/
|
|
31777
31975
|
detachNetworkInterface(request: DetachNetworkInterfaceRequest): Promise<DetachNetworkInterfaceResponse>;
|
|
31778
31976
|
/**
|
|
31779
|
-
*
|
|
31977
|
+
* The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
|
|
31978
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
31780
31979
|
*
|
|
31781
31980
|
* @param request DisableActivationRequest
|
|
31782
31981
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31784,7 +31983,8 @@ export default class Client extends OpenApi {
|
|
|
31784
31983
|
*/
|
|
31785
31984
|
disableActivationWithOptions(request: DisableActivationRequest, runtime: $Util.RuntimeOptions): Promise<DisableActivationResponse>;
|
|
31786
31985
|
/**
|
|
31787
|
-
*
|
|
31986
|
+
* The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
|
|
31987
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
31788
31988
|
*
|
|
31789
31989
|
* @param request DisableActivationRequest
|
|
31790
31990
|
* @return DisableActivationResponse
|
|
@@ -31854,7 +32054,7 @@ export default class Client extends OpenApi {
|
|
|
31854
32054
|
* Before you export a custom image, complete the following operations:
|
|
31855
32055
|
* * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
|
|
31856
32056
|
* * Use Resource Access Management (RAM) to grant Elastic Compute Service (ECS) the permissions to write data to OSS. To complete the authorization, perform the following operations:
|
|
31857
|
-
* 1. Create a role named `AliyunECSImageExportDefaultRole
|
|
32057
|
+
* 1. Create a role named `AliyunECSImageExportDefaultRole`, and attach the following policy to the role:
|
|
31858
32058
|
* ```json
|
|
31859
32059
|
* {
|
|
31860
32060
|
* "Statement": [
|
|
@@ -31871,7 +32071,7 @@ export default class Client extends OpenApi {
|
|
|
31871
32071
|
* "Version": "1"
|
|
31872
32072
|
* }
|
|
31873
32073
|
* ```
|
|
31874
|
-
* 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following
|
|
32074
|
+
* 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following content and attach the policy to the role:
|
|
31875
32075
|
* ```json
|
|
31876
32076
|
* {
|
|
31877
32077
|
* "Version": "1",
|
|
@@ -31905,7 +32105,7 @@ export default class Client extends OpenApi {
|
|
|
31905
32105
|
* Before you export a custom image, complete the following operations:
|
|
31906
32106
|
* * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
|
|
31907
32107
|
* * Use Resource Access Management (RAM) to grant Elastic Compute Service (ECS) the permissions to write data to OSS. To complete the authorization, perform the following operations:
|
|
31908
|
-
* 1. Create a role named `AliyunECSImageExportDefaultRole
|
|
32108
|
+
* 1. Create a role named `AliyunECSImageExportDefaultRole`, and attach the following policy to the role:
|
|
31909
32109
|
* ```json
|
|
31910
32110
|
* {
|
|
31911
32111
|
* "Statement": [
|
|
@@ -31922,7 +32122,7 @@ export default class Client extends OpenApi {
|
|
|
31922
32122
|
* "Version": "1"
|
|
31923
32123
|
* }
|
|
31924
32124
|
* ```
|
|
31925
|
-
* 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following
|
|
32125
|
+
* 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following content and attach the policy to the role:
|
|
31926
32126
|
* ```json
|
|
31927
32127
|
* {
|
|
31928
32128
|
* "Version": "1",
|
|
@@ -31966,24 +32166,7 @@ export default class Client extends OpenApi {
|
|
|
31966
32166
|
* @return ExportSnapshotResponse
|
|
31967
32167
|
*/
|
|
31968
32168
|
exportSnapshot(request: ExportSnapshotRequest): Promise<ExportSnapshotResponse>;
|
|
31969
|
-
/**
|
|
31970
|
-
* * ECS is a virtualized cloud-based service and cannot be connected to display devices. Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to query the command outputs.
|
|
31971
|
-
* * For instances of the retired instance types, you cannot obtain command outputs. For more information, see [Retired instance types](~~55263~~).
|
|
31972
|
-
* * You cannot obtain the command outputs of Windows instances.
|
|
31973
|
-
*
|
|
31974
|
-
* @param request GetInstanceConsoleOutputRequest
|
|
31975
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
31976
|
-
* @return GetInstanceConsoleOutputResponse
|
|
31977
|
-
*/
|
|
31978
32169
|
getInstanceConsoleOutputWithOptions(request: GetInstanceConsoleOutputRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceConsoleOutputResponse>;
|
|
31979
|
-
/**
|
|
31980
|
-
* * ECS is a virtualized cloud-based service and cannot be connected to display devices. Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to query the command outputs.
|
|
31981
|
-
* * For instances of the retired instance types, you cannot obtain command outputs. For more information, see [Retired instance types](~~55263~~).
|
|
31982
|
-
* * You cannot obtain the command outputs of Windows instances.
|
|
31983
|
-
*
|
|
31984
|
-
* @param request GetInstanceConsoleOutputRequest
|
|
31985
|
-
* @return GetInstanceConsoleOutputResponse
|
|
31986
|
-
*/
|
|
31987
32170
|
getInstanceConsoleOutput(request: GetInstanceConsoleOutputRequest): Promise<GetInstanceConsoleOutputResponse>;
|
|
31988
32171
|
/**
|
|
31989
32172
|
* After ECS returns a Base64-encoded instance screenshot in the JPG format, you must decode the screenshot. We recommend that you call this operation for troubleshooting and diagnosis. When you call this operation, take note of the following items:
|
|
@@ -32120,9 +32303,9 @@ export default class Client extends OpenApi {
|
|
|
32120
32303
|
*/
|
|
32121
32304
|
importImage(request: ImportImageRequest): Promise<ImportImageResponse>;
|
|
32122
32305
|
/**
|
|
32123
|
-
*
|
|
32306
|
+
* Take note of the following items:
|
|
32124
32307
|
* * A maximum of 500 key pairs can be created in each region.
|
|
32125
|
-
* * The key pair
|
|
32308
|
+
* * The key pair to be imported must support one of the following encryption methods:
|
|
32126
32309
|
* * rsa
|
|
32127
32310
|
* * dsa
|
|
32128
32311
|
* * ssh-rsa
|
|
@@ -32142,9 +32325,9 @@ export default class Client extends OpenApi {
|
|
|
32142
32325
|
*/
|
|
32143
32326
|
importKeyPairWithOptions(request: ImportKeyPairRequest, runtime: $Util.RuntimeOptions): Promise<ImportKeyPairResponse>;
|
|
32144
32327
|
/**
|
|
32145
|
-
*
|
|
32328
|
+
* Take note of the following items:
|
|
32146
32329
|
* * A maximum of 500 key pairs can be created in each region.
|
|
32147
|
-
* * The key pair
|
|
32330
|
+
* * The key pair to be imported must support one of the following encryption methods:
|
|
32148
32331
|
* * rsa
|
|
32149
32332
|
* * dsa
|
|
32150
32333
|
* * ssh-rsa
|
|
@@ -32178,7 +32361,7 @@ export default class Client extends OpenApi {
|
|
|
32178
32361
|
*/
|
|
32179
32362
|
importSnapshot(request: ImportSnapshotRequest): Promise<ImportSnapshotResponse>;
|
|
32180
32363
|
/**
|
|
32181
|
-
*
|
|
32364
|
+
* The region ID of the instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
32182
32365
|
*
|
|
32183
32366
|
* @param request InstallCloudAssistantRequest
|
|
32184
32367
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32186,7 +32369,7 @@ export default class Client extends OpenApi {
|
|
|
32186
32369
|
*/
|
|
32187
32370
|
installCloudAssistantWithOptions(request: InstallCloudAssistantRequest, runtime: $Util.RuntimeOptions): Promise<InstallCloudAssistantResponse>;
|
|
32188
32371
|
/**
|
|
32189
|
-
*
|
|
32372
|
+
* The region ID of the instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
32190
32373
|
*
|
|
32191
32374
|
* @param request InstallCloudAssistantRequest
|
|
32192
32375
|
* @return InstallCloudAssistantResponse
|
|
@@ -32250,16 +32433,16 @@ export default class Client extends OpenApi {
|
|
|
32250
32433
|
joinResourceGroup(request: JoinResourceGroupRequest): Promise<JoinResourceGroupResponse>;
|
|
32251
32434
|
/**
|
|
32252
32435
|
* ## Usage notes
|
|
32253
|
-
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add
|
|
32254
|
-
*
|
|
32436
|
+
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add an ENI to or remove an ENI from a security group.
|
|
32437
|
+
* Take note of the following items:
|
|
32255
32438
|
* * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
|
|
32256
|
-
* *
|
|
32439
|
+
* * An instance can be added to up to five security groups.
|
|
32257
32440
|
* *
|
|
32258
32441
|
* You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
32259
32442
|
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
32260
32443
|
* * The security group and the instance must reside in the same region.
|
|
32261
|
-
* * The security group and the instance must be of the same network type. If the network type is
|
|
32262
|
-
* * An instance and an ENI cannot be added to a security group at the same time. You cannot
|
|
32444
|
+
* * The security group and the instance must be of the same network type. If the network type is virtual private cloud (VPC), the security group and the instance must be in the same VPC.
|
|
32445
|
+
* * An instance and an ENI cannot be added to a security group at the same time. You cannot configure the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
|
|
32263
32446
|
*
|
|
32264
32447
|
* @param request JoinSecurityGroupRequest
|
|
32265
32448
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32268,16 +32451,16 @@ export default class Client extends OpenApi {
|
|
|
32268
32451
|
joinSecurityGroupWithOptions(request: JoinSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<JoinSecurityGroupResponse>;
|
|
32269
32452
|
/**
|
|
32270
32453
|
* ## Usage notes
|
|
32271
|
-
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add
|
|
32272
|
-
*
|
|
32454
|
+
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add an ENI to or remove an ENI from a security group.
|
|
32455
|
+
* Take note of the following items:
|
|
32273
32456
|
* * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
|
|
32274
|
-
* *
|
|
32457
|
+
* * An instance can be added to up to five security groups.
|
|
32275
32458
|
* *
|
|
32276
32459
|
* You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
32277
32460
|
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
32278
32461
|
* * The security group and the instance must reside in the same region.
|
|
32279
|
-
* * The security group and the instance must be of the same network type. If the network type is
|
|
32280
|
-
* * An instance and an ENI cannot be added to a security group at the same time. You cannot
|
|
32462
|
+
* * The security group and the instance must be of the same network type. If the network type is virtual private cloud (VPC), the security group and the instance must be in the same VPC.
|
|
32463
|
+
* * An instance and an ENI cannot be added to a security group at the same time. You cannot configure the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
|
|
32281
32464
|
*
|
|
32282
32465
|
* @param request JoinSecurityGroupRequest
|
|
32283
32466
|
* @return JoinSecurityGroupResponse
|
|
@@ -32326,7 +32509,7 @@ export default class Client extends OpenApi {
|
|
|
32326
32509
|
*/
|
|
32327
32510
|
listPluginStatus(request: ListPluginStatusRequest): Promise<ListPluginStatusResponse>;
|
|
32328
32511
|
/**
|
|
32329
|
-
*
|
|
32512
|
+
* You must specify at least one of the following parameters or parameter pairs in a request to determine a query object:
|
|
32330
32513
|
* * `ResourceId.N`
|
|
32331
32514
|
* * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
|
|
32332
32515
|
* * `TagFilter.N`
|
|
@@ -32340,7 +32523,7 @@ export default class Client extends OpenApi {
|
|
|
32340
32523
|
*/
|
|
32341
32524
|
listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
|
|
32342
32525
|
/**
|
|
32343
|
-
*
|
|
32526
|
+
* You must specify at least one of the following parameters or parameter pairs in a request to determine a query object:
|
|
32344
32527
|
* * `ResourceId.N`
|
|
32345
32528
|
* * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
|
|
32346
32529
|
* * `TagFilter.N`
|
|
@@ -32406,7 +32589,8 @@ export default class Client extends OpenApi {
|
|
|
32406
32589
|
modifyCapacityReservationWithOptions(request: ModifyCapacityReservationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCapacityReservationResponse>;
|
|
32407
32590
|
modifyCapacityReservation(request: ModifyCapacityReservationRequest): Promise<ModifyCapacityReservationResponse>;
|
|
32408
32591
|
/**
|
|
32409
|
-
*
|
|
32592
|
+
* You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions.
|
|
32593
|
+
* You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
|
|
32410
32594
|
*
|
|
32411
32595
|
* @param request ModifyCommandRequest
|
|
32412
32596
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32414,7 +32598,8 @@ export default class Client extends OpenApi {
|
|
|
32414
32598
|
*/
|
|
32415
32599
|
modifyCommandWithOptions(request: ModifyCommandRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommandResponse>;
|
|
32416
32600
|
/**
|
|
32417
|
-
*
|
|
32601
|
+
* You can modify a command when it is run. After the command is modified, the new command content applies to subsequent executions.
|
|
32602
|
+
* You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
|
|
32418
32603
|
*
|
|
32419
32604
|
* @param request ModifyCommandRequest
|
|
32420
32605
|
* @return ModifyCommandResponse
|
|
@@ -32440,7 +32625,8 @@ export default class Client extends OpenApi {
|
|
|
32440
32625
|
*/
|
|
32441
32626
|
modifyDedicatedHostAttribute(request: ModifyDedicatedHostAttributeRequest): Promise<ModifyDedicatedHostAttributeResponse>;
|
|
32442
32627
|
/**
|
|
32443
|
-
*
|
|
32628
|
+
* ## Usage notes
|
|
32629
|
+
* A pay-as-you-go dedicated host can be automatically released at the specified time. Before you release a pay-as-you-go dedicated host, make sure that the host is no longer required and all necessary application data is backed up.
|
|
32444
32630
|
*
|
|
32445
32631
|
* @param request ModifyDedicatedHostAutoReleaseTimeRequest
|
|
32446
32632
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32448,7 +32634,8 @@ export default class Client extends OpenApi {
|
|
|
32448
32634
|
*/
|
|
32449
32635
|
modifyDedicatedHostAutoReleaseTimeWithOptions(request: ModifyDedicatedHostAutoReleaseTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDedicatedHostAutoReleaseTimeResponse>;
|
|
32450
32636
|
/**
|
|
32451
|
-
*
|
|
32637
|
+
* ## Usage notes
|
|
32638
|
+
* A pay-as-you-go dedicated host can be automatically released at the specified time. Before you release a pay-as-you-go dedicated host, make sure that the host is no longer required and all necessary application data is backed up.
|
|
32452
32639
|
*
|
|
32453
32640
|
* @param request ModifyDedicatedHostAutoReleaseTimeRequest
|
|
32454
32641
|
* @return ModifyDedicatedHostAutoReleaseTimeResponse
|
|
@@ -32476,8 +32663,8 @@ export default class Client extends OpenApi {
|
|
|
32476
32663
|
modifyDedicatedHostsChargeTypeWithOptions(request: ModifyDedicatedHostsChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDedicatedHostsChargeTypeResponse>;
|
|
32477
32664
|
modifyDedicatedHostsChargeType(request: ModifyDedicatedHostsChargeTypeRequest): Promise<ModifyDedicatedHostsChargeTypeResponse>;
|
|
32478
32665
|
/**
|
|
32479
|
-
* You can call this operation to modify the demand information
|
|
32480
|
-
* > This operation is in
|
|
32666
|
+
* You can call this operation to modify the demand information of instance types. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type. Parameters except `DemandName` and `DemandDescription` can be modified only for demands that are in the Rejected state.
|
|
32667
|
+
* > This operation is in invitational preview and is not publicly available.
|
|
32481
32668
|
*
|
|
32482
32669
|
* @param request ModifyDemandRequest
|
|
32483
32670
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32485,8 +32672,8 @@ export default class Client extends OpenApi {
|
|
|
32485
32672
|
*/
|
|
32486
32673
|
modifyDemandWithOptions(request: ModifyDemandRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDemandResponse>;
|
|
32487
32674
|
/**
|
|
32488
|
-
* You can call this operation to modify the demand information
|
|
32489
|
-
* > This operation is in
|
|
32675
|
+
* You can call this operation to modify the demand information of instance types. Alibaba Cloud provides the requested resources based on your demand. You can file demands only for I/O optimized instance types and instances of the virtual private cloud (VPC) type. Parameters except `DemandName` and `DemandDescription` can be modified only for demands that are in the Rejected state.
|
|
32676
|
+
* > This operation is in invitational preview and is not publicly available.
|
|
32490
32677
|
*
|
|
32491
32678
|
* @param request ModifyDemandRequest
|
|
32492
32679
|
* @return ModifyDemandResponse
|
|
@@ -32520,7 +32707,7 @@ export default class Client extends OpenApi {
|
|
|
32520
32707
|
* * You can change the billing method from pay-as-you-go to subscription for data disks that are attached to a subscription or pay-as-you-go instance.
|
|
32521
32708
|
* * The instance cannot be in the Stopped state due to overdue payments.
|
|
32522
32709
|
* * You can change the billing method of each disk up to three times. Up to three refunds can be made for the price differences for each disk.
|
|
32523
|
-
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are
|
|
32710
|
+
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
32524
32711
|
* * You cannot change the billing method again within 5 minutes of a successful change.
|
|
32525
32712
|
*
|
|
32526
32713
|
* @param request ModifyDiskChargeTypeRequest
|
|
@@ -32535,7 +32722,7 @@ export default class Client extends OpenApi {
|
|
|
32535
32722
|
* * You can change the billing method from pay-as-you-go to subscription for data disks that are attached to a subscription or pay-as-you-go instance.
|
|
32536
32723
|
* * The instance cannot be in the Stopped state due to overdue payments.
|
|
32537
32724
|
* * You can change the billing method of each disk up to three times. Up to three refunds can be made for the price differences for each disk.
|
|
32538
|
-
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are
|
|
32725
|
+
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
32539
32726
|
* * You cannot change the billing method again within 5 minutes of a successful change.
|
|
32540
32727
|
*
|
|
32541
32728
|
* @param request ModifyDiskChargeTypeRequest
|
|
@@ -32545,15 +32732,16 @@ export default class Client extends OpenApi {
|
|
|
32545
32732
|
modifyDiskDeploymentWithOptions(request: ModifyDiskDeploymentRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskDeploymentResponse>;
|
|
32546
32733
|
modifyDiskDeployment(request: ModifyDiskDeploymentRequest): Promise<ModifyDiskDeploymentResponse>;
|
|
32547
32734
|
/**
|
|
32548
|
-
*
|
|
32735
|
+
* ## Usage notes
|
|
32736
|
+
* Take note of the following items:
|
|
32549
32737
|
* * To modify the performance level of an ESSD, take note of the following items:
|
|
32550
32738
|
* * For a subscription ESSD, you can only upgrade its performance level.
|
|
32551
|
-
* * For a pay-as-you-go ESSD,
|
|
32552
|
-
* * The ESSD must be in the **In Use** or **Unattached** (Available) state.
|
|
32553
|
-
* * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** or **Stopped** state. The instance cannot be in the Expired state or stopped due to an overdue payment.
|
|
32739
|
+
* * For a pay-as-you-go ESSD, you can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
|
|
32740
|
+
* * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
|
|
32741
|
+
* * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** (Running) or **Stopped** (Stopped) state. The instance cannot be in the Expired state or stopped due to an overdue payment.
|
|
32554
32742
|
* * If you cannot upgrade the performance level of the ESSD due to the capacity limit, resize the ESSD by calling the [ResizeDisk](~~25522~~) operation and then try again. For more information, see [ESSDs](~~122389~~).
|
|
32555
|
-
* * For information about the limits on changing the category of a
|
|
32556
|
-
* The new
|
|
32743
|
+
* * For information about the limits on changing the category of a disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
|
|
32744
|
+
* The new disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud calculates the bill based on the new disk category and performance level.
|
|
32557
32745
|
*
|
|
32558
32746
|
* @param request ModifyDiskSpecRequest
|
|
32559
32747
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32561,15 +32749,16 @@ export default class Client extends OpenApi {
|
|
|
32561
32749
|
*/
|
|
32562
32750
|
modifyDiskSpecWithOptions(request: ModifyDiskSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskSpecResponse>;
|
|
32563
32751
|
/**
|
|
32564
|
-
*
|
|
32752
|
+
* ## Usage notes
|
|
32753
|
+
* Take note of the following items:
|
|
32565
32754
|
* * To modify the performance level of an ESSD, take note of the following items:
|
|
32566
32755
|
* * For a subscription ESSD, you can only upgrade its performance level.
|
|
32567
|
-
* * For a pay-as-you-go ESSD,
|
|
32568
|
-
* * The ESSD must be in the **In Use** or **Unattached** (Available) state.
|
|
32569
|
-
* * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** or **Stopped** state. The instance cannot be in the Expired state or stopped due to an overdue payment.
|
|
32756
|
+
* * For a pay-as-you-go ESSD, you can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
|
|
32757
|
+
* * The ESSD must be in the **In Use** (In_Use) or **Unattached** (Available) state.
|
|
32758
|
+
* * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** (Running) or **Stopped** (Stopped) state. The instance cannot be in the Expired state or stopped due to an overdue payment.
|
|
32570
32759
|
* * If you cannot upgrade the performance level of the ESSD due to the capacity limit, resize the ESSD by calling the [ResizeDisk](~~25522~~) operation and then try again. For more information, see [ESSDs](~~122389~~).
|
|
32571
|
-
* * For information about the limits on changing the category of a
|
|
32572
|
-
* The new
|
|
32760
|
+
* * For information about the limits on changing the category of a disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
|
|
32761
|
+
* The new disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud calculates the bill based on the new disk category and performance level.
|
|
32573
32762
|
*
|
|
32574
32763
|
* @param request ModifyDiskSpecRequest
|
|
32575
32764
|
* @return ModifyDiskSpecResponse
|
|
@@ -32642,7 +32831,7 @@ export default class Client extends OpenApi {
|
|
|
32642
32831
|
*/
|
|
32643
32832
|
modifyImageShareGroupPermission(request: ModifyImageShareGroupPermissionRequest): Promise<ModifyImageShareGroupPermissionResponse>;
|
|
32644
32833
|
/**
|
|
32645
|
-
*
|
|
32834
|
+
* When you call this operation, take note of the following items:
|
|
32646
32835
|
* * You can share only your own custom images with other Alibaba Cloud accounts.
|
|
32647
32836
|
* * You can share a custom image with up to 10 Alibaba Cloud accounts at a time. You can specify up to 10 Alibaba Cloud account IDs by using the AddAccount.N or RemoveAccount.N parameter. If you specify more than 10 account IDs, the parameter will be ignored.
|
|
32648
32837
|
* * You can share a custom image with up to 50 Alibaba Cloud accounts.
|
|
@@ -32660,7 +32849,7 @@ export default class Client extends OpenApi {
|
|
|
32660
32849
|
*/
|
|
32661
32850
|
modifyImageSharePermissionWithOptions(request: ModifyImageSharePermissionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyImageSharePermissionResponse>;
|
|
32662
32851
|
/**
|
|
32663
|
-
*
|
|
32852
|
+
* When you call this operation, take note of the following items:
|
|
32664
32853
|
* * You can share only your own custom images with other Alibaba Cloud accounts.
|
|
32665
32854
|
* * You can share a custom image with up to 10 Alibaba Cloud accounts at a time. You can specify up to 10 Alibaba Cloud account IDs by using the AddAccount.N or RemoveAccount.N parameter. If you specify more than 10 account IDs, the parameter will be ignored.
|
|
32666
32855
|
* * You can share a custom image with up to 50 Alibaba Cloud accounts.
|
|
@@ -32706,23 +32895,23 @@ export default class Client extends OpenApi {
|
|
|
32706
32895
|
*/
|
|
32707
32896
|
modifyInstanceAttachmentAttributes(request: ModifyInstanceAttachmentAttributesRequest): Promise<ModifyInstanceAttachmentAttributesResponse>;
|
|
32708
32897
|
/**
|
|
32709
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}
|
|
32710
|
-
*
|
|
32711
|
-
* * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance for the
|
|
32898
|
+
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
32899
|
+
* Take note of the following items:
|
|
32900
|
+
* * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see [Restart instances](~~25440~~). The new hostname does not take effect if you restart the instance from within the operating system.
|
|
32712
32901
|
* * Reset the password (`Password`):
|
|
32713
|
-
* * The instance
|
|
32714
|
-
* * After you reset the password, you need to restart the instance for the
|
|
32902
|
+
* * The instance must not be in the **Starting** state.``
|
|
32903
|
+
* * After you reset the password, you need to restart the instance in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect. For information about how to restart an instance in the ECS console, see [Restart instances](~~25440~~). The new password does not take effect if you restart the instance from within the operating system.
|
|
32715
32904
|
* * Modify user data (`UserData`):
|
|
32716
32905
|
* * The instance must be in the **Stopped** state.``
|
|
32717
|
-
* * The instance must
|
|
32906
|
+
* * The instance must support user data. For more information, see [Prepare user data](~~49121~~).
|
|
32718
32907
|
* * Change the security group (`SecurityGroupIds.N`):
|
|
32719
|
-
* * You can move an instance to a security group of a different type. If you want to
|
|
32720
|
-
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of
|
|
32908
|
+
* * You can move an instance to a security group of a different type. If you want to move an instance to a security group of a different type, you must be familiar with the differences between the rule configurations of the two security group types to prevent impacts on the instance network.
|
|
32909
|
+
* * Security groups of instances that reside in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
|
|
32721
32910
|
* * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
|
|
32722
32911
|
* * The instance must be in the `Stopped` state.
|
|
32723
|
-
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The number
|
|
32912
|
+
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The maximum number of queues vary with the instance type.
|
|
32724
32913
|
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The results are returned in the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` parameters.
|
|
32725
|
-
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation
|
|
32914
|
+
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation to query the `PrimaryEniQueueNumber` parameter.
|
|
32726
32915
|
*
|
|
32727
32916
|
* @param request ModifyInstanceAttributeRequest
|
|
32728
32917
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32730,23 +32919,23 @@ export default class Client extends OpenApi {
|
|
|
32730
32919
|
*/
|
|
32731
32920
|
modifyInstanceAttributeWithOptions(request: ModifyInstanceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAttributeResponse>;
|
|
32732
32921
|
/**
|
|
32733
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}
|
|
32734
|
-
*
|
|
32735
|
-
* * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance for the
|
|
32922
|
+
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
32923
|
+
* Take note of the following items:
|
|
32924
|
+
* * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see [Restart instances](~~25440~~). The new hostname does not take effect if you restart the instance from within the operating system.
|
|
32736
32925
|
* * Reset the password (`Password`):
|
|
32737
|
-
* * The instance
|
|
32738
|
-
* * After you reset the password, you need to restart the instance for the
|
|
32926
|
+
* * The instance must not be in the **Starting** state.``
|
|
32927
|
+
* * After you reset the password, you need to restart the instance in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect. For information about how to restart an instance in the ECS console, see [Restart instances](~~25440~~). The new password does not take effect if you restart the instance from within the operating system.
|
|
32739
32928
|
* * Modify user data (`UserData`):
|
|
32740
32929
|
* * The instance must be in the **Stopped** state.``
|
|
32741
|
-
* * The instance must
|
|
32930
|
+
* * The instance must support user data. For more information, see [Prepare user data](~~49121~~).
|
|
32742
32931
|
* * Change the security group (`SecurityGroupIds.N`):
|
|
32743
|
-
* * You can move an instance to a security group of a different type. If you want to
|
|
32744
|
-
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of
|
|
32932
|
+
* * You can move an instance to a security group of a different type. If you want to move an instance to a security group of a different type, you must be familiar with the differences between the rule configurations of the two security group types to prevent impacts on the instance network.
|
|
32933
|
+
* * Security groups of instances that reside in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
|
|
32745
32934
|
* * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
|
|
32746
32935
|
* * The instance must be in the `Stopped` state.
|
|
32747
|
-
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The number
|
|
32936
|
+
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The maximum number of queues vary with the instance type.
|
|
32748
32937
|
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The results are returned in the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` parameters.
|
|
32749
|
-
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation
|
|
32938
|
+
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation to query the `PrimaryEniQueueNumber` parameter.
|
|
32750
32939
|
*
|
|
32751
32940
|
* @param request ModifyInstanceAttributeRequest
|
|
32752
32941
|
* @return ModifyInstanceAttributeResponse
|
|
@@ -32857,7 +33046,15 @@ export default class Client extends OpenApi {
|
|
|
32857
33046
|
modifyInstanceMetadataOptionsWithOptions(request: ModifyInstanceMetadataOptionsRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceMetadataOptionsResponse>;
|
|
32858
33047
|
modifyInstanceMetadataOptions(request: ModifyInstanceMetadataOptionsRequest): Promise<ModifyInstanceMetadataOptionsResponse>;
|
|
32859
33048
|
/**
|
|
32860
|
-
*
|
|
33049
|
+
* Take note of the following items:
|
|
33050
|
+
* * From November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
33051
|
+
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
|
|
33052
|
+
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
33053
|
+
* * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a subscription (PrePaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, a public IP address is automatically assigned to the instance.
|
|
33054
|
+
* * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a pay-as-you-go (PostPaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, no public IP address is assigned to the instance. You must call the [AllocatePublicIpAddress](~~25544~~) operation to assign a public IP address to the instance.
|
|
33055
|
+
* * An instance in the classic network must be in the Stopped state before you can upgrade its outbound public bandwidth (InternetMaxBandwidthOut) from 0 Mbit/s.
|
|
33056
|
+
* * After the bandwidth is upgraded, AutoPay is set to true by default and the payment is automatically made. Make sure that your account balance is sufficient. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false. In this case, when you call the ModifyInstanceNetworkSpec operation, an unpaid order is generated. Then, you can log on to the ECS console to pay for the order.
|
|
33057
|
+
* * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
|
|
32861
33058
|
*
|
|
32862
33059
|
* @param request ModifyInstanceNetworkSpecRequest
|
|
32863
33060
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32865,7 +33062,15 @@ export default class Client extends OpenApi {
|
|
|
32865
33062
|
*/
|
|
32866
33063
|
modifyInstanceNetworkSpecWithOptions(request: ModifyInstanceNetworkSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceNetworkSpecResponse>;
|
|
32867
33064
|
/**
|
|
32868
|
-
*
|
|
33065
|
+
* Take note of the following items:
|
|
33066
|
+
* * From November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
33067
|
+
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
|
|
33068
|
+
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
33069
|
+
* * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a subscription (PrePaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, a public IP address is automatically assigned to the instance.
|
|
33070
|
+
* * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a pay-as-you-go (PostPaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, no public IP address is assigned to the instance. You must call the [AllocatePublicIpAddress](~~25544~~) operation to assign a public IP address to the instance.
|
|
33071
|
+
* * An instance in the classic network must be in the Stopped state before you can upgrade its outbound public bandwidth (InternetMaxBandwidthOut) from 0 Mbit/s.
|
|
33072
|
+
* * After the bandwidth is upgraded, AutoPay is set to true by default and the payment is automatically made. Make sure that your account balance is sufficient. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false. In this case, when you call the ModifyInstanceNetworkSpec operation, an unpaid order is generated. Then, you can log on to the ECS console to pay for the order.
|
|
33073
|
+
* * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
|
|
32869
33074
|
*
|
|
32870
33075
|
* @param request ModifyInstanceNetworkSpecRequest
|
|
32871
33076
|
* @return ModifyInstanceNetworkSpecResponse
|
|
@@ -32927,30 +33132,30 @@ export default class Client extends OpenApi {
|
|
|
32927
33132
|
modifyInstanceVncPasswd(request: ModifyInstanceVncPasswdRequest): Promise<ModifyInstanceVncPasswdResponse>;
|
|
32928
33133
|
/**
|
|
32929
33134
|
* The instance must be in the **Stopped** state.``
|
|
32930
|
-
* * When you call this operation to
|
|
32931
|
-
* * If the instance is
|
|
32932
|
-
* * After
|
|
32933
|
-
* * When you call this operation to
|
|
33135
|
+
* * When you call this operation to change the private IP address or vSwitch of an instance, take note of the following items:
|
|
33136
|
+
* * If the instance is a new instance, you must restart the instance before you call this operation.
|
|
33137
|
+
* * After the private IP address or vSwitch of the instance is changed, you must restart the instance before you call this operation again.
|
|
33138
|
+
* * When you call this operation to change the VPC of an instance, take note of the following items:
|
|
32934
33139
|
* * **Instance:**
|
|
32935
33140
|
* * The instance cannot be associated with Server Load Balancer (SLB) instances.
|
|
32936
33141
|
* * The instance cannot be in the Locked, To Be Released, Expired, Expired and Being Recycled, or Overdue and Being Recycled state. For more information, see [ECS instance lifecycle](~~25380~~).
|
|
32937
|
-
* * The instance cannot be
|
|
33142
|
+
* * The instance cannot be used in other Alibaba Cloud services. For example, the instance cannot be in the process of being migrated or having its VPC changed, or the databases deployed on the instance cannot be managed by Data Transmission Service (DTS).
|
|
32938
33143
|
* * **Network:**
|
|
32939
|
-
* * The cut-through mode or multi-
|
|
33144
|
+
* * The cut-through mode or the multi-EIP-to-ENI mode cannot be enabled for the instance.
|
|
32940
33145
|
* * The instance cannot be associated with a high-availability virtual IP address (HAVIP).
|
|
32941
33146
|
* * The vSwitch of the instance cannot be associated with a custom route table.
|
|
32942
|
-
* *
|
|
32943
|
-
* * The instance cannot have secondary ENIs
|
|
32944
|
-
* * The instance cannot
|
|
33147
|
+
* * Global Accelerator (GA) cannot be activated for the instance.
|
|
33148
|
+
* * The instance cannot have secondary ENIs.
|
|
33149
|
+
* * The instance cannot be assigned an IPv6 address.
|
|
32945
33150
|
* * The primary ENI of the instance cannot be associated with multiple IP addresses.
|
|
32946
|
-
* * The vSwitch
|
|
32947
|
-
* * The
|
|
32948
|
-
* * If
|
|
32949
|
-
* * If advanced features are enabled
|
|
33151
|
+
* * The new vSwitch that you specify must belong to the new VPC.
|
|
33152
|
+
* * The original and new vSwitches must reside in the same zone.
|
|
33153
|
+
* * If you assign a private IP address to the primary ENI of the instance, the private IP address must an idle IP address within the CIDR block of the new vSwitch. If you do not assign a private IP address to the primary ENI of the instance, a private IP address is randomly assigned to the ENI. Sufficient IP addresses must be available in the CIDR block of the new vSwitch.
|
|
33154
|
+
* * If advanced features are enabled for the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
|
|
32950
33155
|
* * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
|
|
32951
33156
|
* * **Security group (SecurityGroupId.N):**
|
|
32952
33157
|
* * All security groups must be of the same type.
|
|
32953
|
-
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see
|
|
33158
|
+
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see [Limits](~~25412~~).
|
|
32954
33159
|
* * The security groups that you specify must belong to the new VPC.
|
|
32955
33160
|
* * You can switch the instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network. For more information, see [Overview](~~25387~~).
|
|
32956
33161
|
*
|
|
@@ -32961,30 +33166,30 @@ export default class Client extends OpenApi {
|
|
|
32961
33166
|
modifyInstanceVpcAttributeWithOptions(request: ModifyInstanceVpcAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceVpcAttributeResponse>;
|
|
32962
33167
|
/**
|
|
32963
33168
|
* The instance must be in the **Stopped** state.``
|
|
32964
|
-
* * When you call this operation to
|
|
32965
|
-
* * If the instance is
|
|
32966
|
-
* * After
|
|
32967
|
-
* * When you call this operation to
|
|
33169
|
+
* * When you call this operation to change the private IP address or vSwitch of an instance, take note of the following items:
|
|
33170
|
+
* * If the instance is a new instance, you must restart the instance before you call this operation.
|
|
33171
|
+
* * After the private IP address or vSwitch of the instance is changed, you must restart the instance before you call this operation again.
|
|
33172
|
+
* * When you call this operation to change the VPC of an instance, take note of the following items:
|
|
32968
33173
|
* * **Instance:**
|
|
32969
33174
|
* * The instance cannot be associated with Server Load Balancer (SLB) instances.
|
|
32970
33175
|
* * The instance cannot be in the Locked, To Be Released, Expired, Expired and Being Recycled, or Overdue and Being Recycled state. For more information, see [ECS instance lifecycle](~~25380~~).
|
|
32971
|
-
* * The instance cannot be
|
|
33176
|
+
* * The instance cannot be used in other Alibaba Cloud services. For example, the instance cannot be in the process of being migrated or having its VPC changed, or the databases deployed on the instance cannot be managed by Data Transmission Service (DTS).
|
|
32972
33177
|
* * **Network:**
|
|
32973
|
-
* * The cut-through mode or multi-
|
|
33178
|
+
* * The cut-through mode or the multi-EIP-to-ENI mode cannot be enabled for the instance.
|
|
32974
33179
|
* * The instance cannot be associated with a high-availability virtual IP address (HAVIP).
|
|
32975
33180
|
* * The vSwitch of the instance cannot be associated with a custom route table.
|
|
32976
|
-
* *
|
|
32977
|
-
* * The instance cannot have secondary ENIs
|
|
32978
|
-
* * The instance cannot
|
|
33181
|
+
* * Global Accelerator (GA) cannot be activated for the instance.
|
|
33182
|
+
* * The instance cannot have secondary ENIs.
|
|
33183
|
+
* * The instance cannot be assigned an IPv6 address.
|
|
32979
33184
|
* * The primary ENI of the instance cannot be associated with multiple IP addresses.
|
|
32980
|
-
* * The vSwitch
|
|
32981
|
-
* * The
|
|
32982
|
-
* * If
|
|
32983
|
-
* * If advanced features are enabled
|
|
33185
|
+
* * The new vSwitch that you specify must belong to the new VPC.
|
|
33186
|
+
* * The original and new vSwitches must reside in the same zone.
|
|
33187
|
+
* * If you assign a private IP address to the primary ENI of the instance, the private IP address must an idle IP address within the CIDR block of the new vSwitch. If you do not assign a private IP address to the primary ENI of the instance, a private IP address is randomly assigned to the ENI. Sufficient IP addresses must be available in the CIDR block of the new vSwitch.
|
|
33188
|
+
* * If advanced features are enabled for the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
|
|
32984
33189
|
* * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
|
|
32985
33190
|
* * **Security group (SecurityGroupId.N):**
|
|
32986
33191
|
* * All security groups must be of the same type.
|
|
32987
|
-
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see
|
|
33192
|
+
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see [Limits](~~25412~~).
|
|
32988
33193
|
* * The security groups that you specify must belong to the new VPC.
|
|
32989
33194
|
* * You can switch the instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network. For more information, see [Overview](~~25387~~).
|
|
32990
33195
|
*
|
|
@@ -32992,10 +33197,26 @@ export default class Client extends OpenApi {
|
|
|
32992
33197
|
* @return ModifyInstanceVpcAttributeResponse
|
|
32993
33198
|
*/
|
|
32994
33199
|
modifyInstanceVpcAttribute(request: ModifyInstanceVpcAttributeRequest): Promise<ModifyInstanceVpcAttributeResponse>;
|
|
33200
|
+
/**
|
|
33201
|
+
* ## Debugging
|
|
33202
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=ModifyLaunchTemplateDefaultVersion\\&type=RPC\\&version=2014-05-26)
|
|
33203
|
+
*
|
|
33204
|
+
* @param request ModifyLaunchTemplateDefaultVersionRequest
|
|
33205
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33206
|
+
* @return ModifyLaunchTemplateDefaultVersionResponse
|
|
33207
|
+
*/
|
|
32995
33208
|
modifyLaunchTemplateDefaultVersionWithOptions(request: ModifyLaunchTemplateDefaultVersionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLaunchTemplateDefaultVersionResponse>;
|
|
33209
|
+
/**
|
|
33210
|
+
* ## Debugging
|
|
33211
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=ModifyLaunchTemplateDefaultVersion\\&type=RPC\\&version=2014-05-26)
|
|
33212
|
+
*
|
|
33213
|
+
* @param request ModifyLaunchTemplateDefaultVersionRequest
|
|
33214
|
+
* @return ModifyLaunchTemplateDefaultVersionResponse
|
|
33215
|
+
*/
|
|
32996
33216
|
modifyLaunchTemplateDefaultVersion(request: ModifyLaunchTemplateDefaultVersionRequest): Promise<ModifyLaunchTemplateDefaultVersionResponse>;
|
|
32997
33217
|
/**
|
|
32998
|
-
*
|
|
33218
|
+
* The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
|
|
33219
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
32999
33220
|
*
|
|
33000
33221
|
* @param request ModifyManagedInstanceRequest
|
|
33001
33222
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33003,7 +33224,8 @@ export default class Client extends OpenApi {
|
|
|
33003
33224
|
*/
|
|
33004
33225
|
modifyManagedInstanceWithOptions(request: ModifyManagedInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ModifyManagedInstanceResponse>;
|
|
33005
33226
|
/**
|
|
33006
|
-
*
|
|
33227
|
+
* The region ID. The following regions are supported: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
|
|
33228
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
33007
33229
|
*
|
|
33008
33230
|
* @param request ModifyManagedInstanceRequest
|
|
33009
33231
|
* @return ModifyManagedInstanceResponse
|
|
@@ -33095,12 +33317,8 @@ export default class Client extends OpenApi {
|
|
|
33095
33317
|
modifyReservedInstanceAutoRenewAttributeWithOptions(request: ModifyReservedInstanceAutoRenewAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyReservedInstanceAutoRenewAttributeResponse>;
|
|
33096
33318
|
modifyReservedInstanceAutoRenewAttribute(request: ModifyReservedInstanceAutoRenewAttributeRequest): Promise<ModifyReservedInstanceAutoRenewAttributeResponse>;
|
|
33097
33319
|
/**
|
|
33098
|
-
*
|
|
33099
|
-
*
|
|
33100
|
-
* * For information about limits on reserved instances, see the "Limits" section in [Overview](~~100370~~).
|
|
33101
|
-
* * Before you call this operation to split a reserved instance, make sure that you are familiar with the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
|
|
33102
|
-
* * Before you call this operation to merge reserved instances, make sure that you are familiar with the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
|
|
33103
|
-
* * Before you call this operation to modify a reserved instance, make sure that you are familiar with the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
|
|
33320
|
+
* The region ID of the reserved instance.
|
|
33321
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
|
|
33104
33322
|
*
|
|
33105
33323
|
* @param request ModifyReservedInstancesRequest
|
|
33106
33324
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33108,12 +33326,8 @@ export default class Client extends OpenApi {
|
|
|
33108
33326
|
*/
|
|
33109
33327
|
modifyReservedInstancesWithOptions(request: ModifyReservedInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyReservedInstancesResponse>;
|
|
33110
33328
|
/**
|
|
33111
|
-
*
|
|
33112
|
-
*
|
|
33113
|
-
* * For information about limits on reserved instances, see the "Limits" section in [Overview](~~100370~~).
|
|
33114
|
-
* * Before you call this operation to split a reserved instance, make sure that you are familiar with the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
|
|
33115
|
-
* * Before you call this operation to merge reserved instances, make sure that you are familiar with the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
|
|
33116
|
-
* * Before you call this operation to modify a reserved instance, make sure that you are familiar with the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
|
|
33329
|
+
* The region ID of the reserved instance.
|
|
33330
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
|
|
33117
33331
|
*
|
|
33118
33332
|
* @param request ModifyReservedInstancesRequest
|
|
33119
33333
|
* @return ModifyReservedInstancesResponse
|
|
@@ -33152,12 +33366,12 @@ export default class Client extends OpenApi {
|
|
|
33152
33366
|
modifySecurityGroupAttributeWithOptions(request: ModifySecurityGroupAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupAttributeResponse>;
|
|
33153
33367
|
modifySecurityGroupAttribute(request: ModifySecurityGroupAttributeRequest): Promise<ModifySecurityGroupAttributeResponse>;
|
|
33154
33368
|
/**
|
|
33155
|
-
* In
|
|
33156
|
-
*
|
|
33157
|
-
* *
|
|
33158
|
-
* * 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
|
|
33159
|
-
* * The
|
|
33160
|
-
* * You cannot delete the value of a non-empty parameter
|
|
33369
|
+
* In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
33370
|
+
* When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
|
|
33371
|
+
* * A security group authorization object can be one of the following types: IP address or CIDR block, security group, and prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change the authorization object to a different IP address or CIDR block, but you cannot change the authorization object to a security group or a prefix list.
|
|
33372
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change the authorization object to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change the authorization object to a prefix list of an IPv6 address family.
|
|
33373
|
+
* * The modified security group rule cannot be the same as other existing rules.
|
|
33374
|
+
* * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
|
|
33161
33375
|
*
|
|
33162
33376
|
* @param request ModifySecurityGroupEgressRuleRequest
|
|
33163
33377
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33165,12 +33379,12 @@ export default class Client extends OpenApi {
|
|
|
33165
33379
|
*/
|
|
33166
33380
|
modifySecurityGroupEgressRuleWithOptions(request: ModifySecurityGroupEgressRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupEgressRuleResponse>;
|
|
33167
33381
|
/**
|
|
33168
|
-
* In
|
|
33169
|
-
*
|
|
33170
|
-
* *
|
|
33171
|
-
* * 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
|
|
33172
|
-
* * The
|
|
33173
|
-
* * You cannot delete the value of a non-empty parameter
|
|
33382
|
+
* In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
33383
|
+
* When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
|
|
33384
|
+
* * A security group authorization object can be one of the following types: IP address or CIDR block, security group, and prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change the authorization object to a different IP address or CIDR block, but you cannot change the authorization object to a security group or a prefix list.
|
|
33385
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change the authorization object to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change the authorization object to a prefix list of an IPv6 address family.
|
|
33386
|
+
* * The modified security group rule cannot be the same as other existing rules.
|
|
33387
|
+
* * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
|
|
33174
33388
|
*
|
|
33175
33389
|
* @param request ModifySecurityGroupEgressRuleRequest
|
|
33176
33390
|
* @return ModifySecurityGroupEgressRuleResponse
|
|
@@ -33323,7 +33537,7 @@ export default class Client extends OpenApi {
|
|
|
33323
33537
|
*/
|
|
33324
33538
|
purchaseReservedInstancesOffering(request: PurchaseReservedInstancesOfferingRequest): Promise<PurchaseReservedInstancesOfferingResponse>;
|
|
33325
33539
|
/**
|
|
33326
|
-
* Before you call this operation, make sure that you are familiar with the billing and pricing
|
|
33540
|
+
* Before you call this operation, make sure that you are familiar with the billing and pricing of SCUs. For more information, see [Storage capacity units](~~137897~~).
|
|
33327
33541
|
*
|
|
33328
33542
|
* @param request PurchaseStorageCapacityUnitRequest
|
|
33329
33543
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33331,7 +33545,7 @@ export default class Client extends OpenApi {
|
|
|
33331
33545
|
*/
|
|
33332
33546
|
purchaseStorageCapacityUnitWithOptions(request: PurchaseStorageCapacityUnitRequest, runtime: $Util.RuntimeOptions): Promise<PurchaseStorageCapacityUnitResponse>;
|
|
33333
33547
|
/**
|
|
33334
|
-
* Before you call this operation, make sure that you are familiar with the billing and pricing
|
|
33548
|
+
* Before you call this operation, make sure that you are familiar with the billing and pricing of SCUs. For more information, see [Storage capacity units](~~137897~~).
|
|
33335
33549
|
*
|
|
33336
33550
|
* @param request PurchaseStorageCapacityUnitRequest
|
|
33337
33551
|
* @return PurchaseStorageCapacityUnitResponse
|
|
@@ -33411,10 +33625,10 @@ export default class Client extends OpenApi {
|
|
|
33411
33625
|
*/
|
|
33412
33626
|
rebootInstance(request: RebootInstanceRequest): Promise<RebootInstanceResponse>;
|
|
33413
33627
|
/**
|
|
33414
|
-
* * The ECS instances
|
|
33415
|
-
* * You can use the `BatchOptimization` parameter to
|
|
33416
|
-
* * Instances can be
|
|
33417
|
-
* * If
|
|
33628
|
+
* * The ECS instances must be in the `Running` state.****
|
|
33629
|
+
* * You can use the `BatchOptimization` parameter to specify the batch operation mode and restart multiple instances at a time.
|
|
33630
|
+
* * Instances can be forcefully restarted. A forced restart (`ForceReboot`) is equivalent to powering off a traditional server and then restarting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data may be lost.
|
|
33631
|
+
* * If OperationLocks in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and all operations are prohibited on it.
|
|
33418
33632
|
*
|
|
33419
33633
|
* @param request RebootInstancesRequest
|
|
33420
33634
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33422,10 +33636,10 @@ export default class Client extends OpenApi {
|
|
|
33422
33636
|
*/
|
|
33423
33637
|
rebootInstancesWithOptions(request: RebootInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RebootInstancesResponse>;
|
|
33424
33638
|
/**
|
|
33425
|
-
* * The ECS instances
|
|
33426
|
-
* * You can use the `BatchOptimization` parameter to
|
|
33427
|
-
* * Instances can be
|
|
33428
|
-
* * If
|
|
33639
|
+
* * The ECS instances must be in the `Running` state.****
|
|
33640
|
+
* * You can use the `BatchOptimization` parameter to specify the batch operation mode and restart multiple instances at a time.
|
|
33641
|
+
* * Instances can be forcefully restarted. A forced restart (`ForceReboot`) is equivalent to powering off a traditional server and then restarting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data may be lost.
|
|
33642
|
+
* * If OperationLocks in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and all operations are prohibited on it.
|
|
33429
33643
|
*
|
|
33430
33644
|
* @param request RebootInstancesRequest
|
|
33431
33645
|
* @return RebootInstancesResponse
|
|
@@ -33462,13 +33676,13 @@ export default class Client extends OpenApi {
|
|
|
33462
33676
|
*/
|
|
33463
33677
|
redeployDedicatedHost(request: RedeployDedicatedHostRequest): Promise<RedeployDedicatedHostResponse>;
|
|
33464
33678
|
/**
|
|
33465
|
-
* RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the
|
|
33466
|
-
*
|
|
33467
|
-
* * The instance must be in the Running
|
|
33468
|
-
* * If the instance is in the
|
|
33469
|
-
* * If the instance is in the
|
|
33679
|
+
* RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the `Running` state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
|
|
33680
|
+
* Take note of the following items:
|
|
33681
|
+
* * 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:
|
|
33682
|
+
* * If the instance is in the `Running` state before redeployment, the instance enters the `Stopping` state.
|
|
33683
|
+
* * If the instance is in the `Stopped` state before redeployment, the instance enters the `Starting` state.
|
|
33470
33684
|
* * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
|
|
33471
|
-
* * If the `OperationLocks` parameter in the DescribeInstances
|
|
33685
|
+
* * If the `OperationLocks` parameter in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
|
|
33472
33686
|
* * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
|
|
33473
33687
|
* * 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~~).
|
|
33474
33688
|
* The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
|
|
@@ -33490,13 +33704,13 @@ export default class Client extends OpenApi {
|
|
|
33490
33704
|
*/
|
|
33491
33705
|
redeployInstanceWithOptions(request: RedeployInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RedeployInstanceResponse>;
|
|
33492
33706
|
/**
|
|
33493
|
-
* RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the
|
|
33494
|
-
*
|
|
33495
|
-
* * The instance must be in the Running
|
|
33496
|
-
* * If the instance is in the
|
|
33497
|
-
* * If the instance is in the
|
|
33707
|
+
* RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the `Running` state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
|
|
33708
|
+
* Take note of the following items:
|
|
33709
|
+
* * 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:
|
|
33710
|
+
* * If the instance is in the `Running` state before redeployment, the instance enters the `Stopping` state.
|
|
33711
|
+
* * If the instance is in the `Stopped` state before redeployment, the instance enters the `Starting` state.
|
|
33498
33712
|
* * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
|
|
33499
|
-
* * If the `OperationLocks` parameter in the DescribeInstances
|
|
33713
|
+
* * If the `OperationLocks` parameter in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
|
|
33500
33714
|
* * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
|
|
33501
33715
|
* * 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~~).
|
|
33502
33716
|
* The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
|
|
@@ -33532,7 +33746,8 @@ export default class Client extends OpenApi {
|
|
|
33532
33746
|
*/
|
|
33533
33747
|
releaseCapacityReservation(request: ReleaseCapacityReservationRequest): Promise<ReleaseCapacityReservationResponse>;
|
|
33534
33748
|
/**
|
|
33535
|
-
*
|
|
33749
|
+
* ## Usage notes
|
|
33750
|
+
* Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
|
|
33536
33751
|
*
|
|
33537
33752
|
* @param request ReleaseDedicatedHostRequest
|
|
33538
33753
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33540,7 +33755,8 @@ export default class Client extends OpenApi {
|
|
|
33540
33755
|
*/
|
|
33541
33756
|
releaseDedicatedHostWithOptions(request: ReleaseDedicatedHostRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseDedicatedHostResponse>;
|
|
33542
33757
|
/**
|
|
33543
|
-
*
|
|
33758
|
+
* ## Usage notes
|
|
33759
|
+
* Before you release a pay-as-you-go dedicated host, make sure that no ECS instances are deployed on the dedicated host.
|
|
33544
33760
|
*
|
|
33545
33761
|
* @param request ReleaseDedicatedHostRequest
|
|
33546
33762
|
* @return ReleaseDedicatedHostResponse
|
|
@@ -33581,7 +33797,7 @@ export default class Client extends OpenApi {
|
|
|
33581
33797
|
removeTagsWithOptions(request: RemoveTagsRequest, runtime: $Util.RuntimeOptions): Promise<RemoveTagsResponse>;
|
|
33582
33798
|
removeTags(request: RemoveTagsRequest): Promise<RemoveTagsResponse>;
|
|
33583
33799
|
/**
|
|
33584
|
-
*
|
|
33800
|
+
* The IDs of dedicated hosts. You can specify the IDs of up to 100 subscription dedicated hosts. Specify the dedicated host IDs in a JSON array. Example: `["dh-xxxxxxxxx", "dh-yyyyyyyyy", … "dh-zzzzzzzzz"]`. Separate the IDs with commas (,).
|
|
33585
33801
|
*
|
|
33586
33802
|
* @param request RenewDedicatedHostsRequest
|
|
33587
33803
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33589,7 +33805,7 @@ export default class Client extends OpenApi {
|
|
|
33589
33805
|
*/
|
|
33590
33806
|
renewDedicatedHostsWithOptions(request: RenewDedicatedHostsRequest, runtime: $Util.RuntimeOptions): Promise<RenewDedicatedHostsResponse>;
|
|
33591
33807
|
/**
|
|
33592
|
-
*
|
|
33808
|
+
* The IDs of dedicated hosts. You can specify the IDs of up to 100 subscription dedicated hosts. Specify the dedicated host IDs in a JSON array. Example: `["dh-xxxxxxxxx", "dh-yyyyyyyyy", … "dh-zzzzzzzzz"]`. Separate the IDs with commas (,).
|
|
33593
33809
|
*
|
|
33594
33810
|
* @param request RenewDedicatedHostsRequest
|
|
33595
33811
|
* @return RenewDedicatedHostsResponse
|
|
@@ -33617,8 +33833,7 @@ export default class Client extends OpenApi {
|
|
|
33617
33833
|
*/
|
|
33618
33834
|
renewInstance(request: RenewInstanceRequest): Promise<RenewInstanceResponse>;
|
|
33619
33835
|
/**
|
|
33620
|
-
*
|
|
33621
|
-
* * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
|
|
33836
|
+
* The IDs of the reserved instances.
|
|
33622
33837
|
*
|
|
33623
33838
|
* @param request RenewReservedInstancesRequest
|
|
33624
33839
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33626,8 +33841,7 @@ export default class Client extends OpenApi {
|
|
|
33626
33841
|
*/
|
|
33627
33842
|
renewReservedInstancesWithOptions(request: RenewReservedInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RenewReservedInstancesResponse>;
|
|
33628
33843
|
/**
|
|
33629
|
-
*
|
|
33630
|
-
* * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
|
|
33844
|
+
* The IDs of the reserved instances.
|
|
33631
33845
|
*
|
|
33632
33846
|
* @param request RenewReservedInstancesRequest
|
|
33633
33847
|
* @return RenewReservedInstancesResponse
|
|
@@ -33717,12 +33931,7 @@ export default class Client extends OpenApi {
|
|
|
33717
33931
|
*/
|
|
33718
33932
|
resetDisks(request: ResetDisksRequest): Promise<ResetDisksResponse>;
|
|
33719
33933
|
/**
|
|
33720
|
-
*
|
|
33721
|
-
* * 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`).
|
|
33722
|
-
* * A disk cannot be resized when a snapshot is being created for the disk.
|
|
33723
|
-
* * The instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
33724
|
-
* * After you resize a disk, the partitions and file systems are not changed. You must allocate the storage space on the disk after the disk is resized.
|
|
33725
|
-
* * 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.
|
|
33934
|
+
* The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
|
|
33726
33935
|
*
|
|
33727
33936
|
* @param request ResizeDiskRequest
|
|
33728
33937
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33730,12 +33939,7 @@ export default class Client extends OpenApi {
|
|
|
33730
33939
|
*/
|
|
33731
33940
|
resizeDiskWithOptions(request: ResizeDiskRequest, runtime: $Util.RuntimeOptions): Promise<ResizeDiskResponse>;
|
|
33732
33941
|
/**
|
|
33733
|
-
*
|
|
33734
|
-
* * 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`).
|
|
33735
|
-
* * A disk cannot be resized when a snapshot is being created for the disk.
|
|
33736
|
-
* * The instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
33737
|
-
* * After you resize a disk, the partitions and file systems are not changed. You must allocate the storage space on the disk after the disk is resized.
|
|
33738
|
-
* * 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.
|
|
33942
|
+
* The ID of the disk. You can call the [DescribeDisks](~~25514~~) operation to query the ID of a disk.
|
|
33739
33943
|
*
|
|
33740
33944
|
* @param request ResizeDiskRequest
|
|
33741
33945
|
* @return ResizeDiskResponse
|
|
@@ -33934,13 +34138,14 @@ export default class Client extends OpenApi {
|
|
|
33934
34138
|
*/
|
|
33935
34139
|
runInstances(request: RunInstancesRequest): Promise<RunInstancesResponse>;
|
|
33936
34140
|
/**
|
|
33937
|
-
*
|
|
33938
|
-
* *
|
|
33939
|
-
* *
|
|
33940
|
-
*
|
|
33941
|
-
* *
|
|
33942
|
-
*
|
|
33943
|
-
* *
|
|
34141
|
+
* ## Usage notes
|
|
34142
|
+
* * The instances to which to send a file must be in the Running (`Running`) state.
|
|
34143
|
+
* * [Cloud Assistant Agent must be installed on the instances.](~~64921~~)
|
|
34144
|
+
* * Only Cloud Assistant Agent versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
|
|
34145
|
+
* * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
|
|
34146
|
+
* * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
|
|
34147
|
+
* * The file that you want to send must not exceed 32 KB in size after it is encoded in Base64.
|
|
34148
|
+
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent. Call the [DescribeSendFileResults](~~184117~~) operation or see [Check execution results and troubleshoot common issues](~~87029~~) for troubleshooting.
|
|
33944
34149
|
*
|
|
33945
34150
|
* @param request SendFileRequest
|
|
33946
34151
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33948,13 +34153,14 @@ export default class Client extends OpenApi {
|
|
|
33948
34153
|
*/
|
|
33949
34154
|
sendFileWithOptions(request: SendFileRequest, runtime: $Util.RuntimeOptions): Promise<SendFileResponse>;
|
|
33950
34155
|
/**
|
|
33951
|
-
*
|
|
33952
|
-
* *
|
|
33953
|
-
* *
|
|
33954
|
-
*
|
|
33955
|
-
* *
|
|
33956
|
-
*
|
|
33957
|
-
* *
|
|
34156
|
+
* ## Usage notes
|
|
34157
|
+
* * The instances to which to send a file must be in the Running (`Running`) state.
|
|
34158
|
+
* * [Cloud Assistant Agent must be installed on the instances.](~~64921~~)
|
|
34159
|
+
* * Only Cloud Assistant Agent versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
|
|
34160
|
+
* * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
|
|
34161
|
+
* * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
|
|
34162
|
+
* * The file that you want to send must not exceed 32 KB in size after it is encoded in Base64.
|
|
34163
|
+
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent. Call the [DescribeSendFileResults](~~184117~~) operation or see [Check execution results and troubleshoot common issues](~~87029~~) for troubleshooting.
|
|
33958
34164
|
*
|
|
33959
34165
|
* @param request SendFileRequest
|
|
33960
34166
|
* @return SendFileResponse
|
|
@@ -33993,9 +34199,7 @@ export default class Client extends OpenApi {
|
|
|
33993
34199
|
*/
|
|
33994
34200
|
startImagePipelineExecution(request: StartImagePipelineExecutionRequest): Promise<StartImagePipelineExecutionResponse>;
|
|
33995
34201
|
/**
|
|
33996
|
-
*
|
|
33997
|
-
* * Before the instances are started, they must first be in the `Stopped` state.****
|
|
33998
|
-
* * If `OperationLocks` in the response to the query for the instance information contains `"LockReason" : "security"`, the instance is [locked for security reasons](~~25695~~) and cannot be started.
|
|
34202
|
+
* $.parameters[2].schema.example
|
|
33999
34203
|
*
|
|
34000
34204
|
* @param request StartInstanceRequest
|
|
34001
34205
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34003,19 +34207,18 @@ export default class Client extends OpenApi {
|
|
|
34003
34207
|
*/
|
|
34004
34208
|
startInstanceWithOptions(request: StartInstanceRequest, runtime: $Util.RuntimeOptions): Promise<StartInstanceResponse>;
|
|
34005
34209
|
/**
|
|
34006
|
-
*
|
|
34007
|
-
* * Before the instances are started, they must first be in the `Stopped` state.****
|
|
34008
|
-
* * If `OperationLocks` in the response to the query for the instance information contains `"LockReason" : "security"`, the instance is [locked for security reasons](~~25695~~) and cannot be started.
|
|
34210
|
+
* $.parameters[2].schema.example
|
|
34009
34211
|
*
|
|
34010
34212
|
* @param request StartInstanceRequest
|
|
34011
34213
|
* @return StartInstanceResponse
|
|
34012
34214
|
*/
|
|
34013
34215
|
startInstance(request: StartInstanceRequest): Promise<StartInstanceResponse>;
|
|
34014
34216
|
/**
|
|
34015
|
-
*
|
|
34016
|
-
* * The
|
|
34017
|
-
*
|
|
34018
|
-
* *
|
|
34217
|
+
* Specifies whether to perform a dry run. Valid values:
|
|
34218
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including required parameters, request syntax, and instance status. If the request fails the dry run, an error message is returned. If the request passes the dry run, `DRYRUN.SUCCESS` is returned.
|
|
34219
|
+
* > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
|
|
34220
|
+
* * false: performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
|
|
34221
|
+
* Default value: false.
|
|
34019
34222
|
*
|
|
34020
34223
|
* @param request StartInstancesRequest
|
|
34021
34224
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34023,25 +34226,27 @@ export default class Client extends OpenApi {
|
|
|
34023
34226
|
*/
|
|
34024
34227
|
startInstancesWithOptions(request: StartInstancesRequest, runtime: $Util.RuntimeOptions): Promise<StartInstancesResponse>;
|
|
34025
34228
|
/**
|
|
34026
|
-
*
|
|
34027
|
-
* * The
|
|
34028
|
-
*
|
|
34029
|
-
* *
|
|
34229
|
+
* Specifies whether to perform a dry run. Valid values:
|
|
34230
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including required parameters, request syntax, and instance status. If the request fails the dry run, an error message is returned. If the request passes the dry run, `DRYRUN.SUCCESS` is returned.
|
|
34231
|
+
* > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
|
|
34232
|
+
* * false: performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
|
|
34233
|
+
* Default value: false.
|
|
34030
34234
|
*
|
|
34031
34235
|
* @param request StartInstancesRequest
|
|
34032
34236
|
* @return StartInstancesResponse
|
|
34033
34237
|
*/
|
|
34034
34238
|
startInstances(request: StartInstancesRequest): Promise<StartInstancesResponse>;
|
|
34035
34239
|
/**
|
|
34036
|
-
*
|
|
34037
|
-
*
|
|
34038
|
-
*
|
|
34039
|
-
*
|
|
34040
|
-
*
|
|
34041
|
-
*
|
|
34042
|
-
*
|
|
34043
|
-
*
|
|
34044
|
-
*
|
|
34240
|
+
* The session management feature is in public preview. To use this feature, log on to the ECS console with your Alibaba Cloud account and enable this feature.
|
|
34241
|
+
* When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Take note of the following items:
|
|
34242
|
+
* * The ECS instance must be in the Running (Running) state.
|
|
34243
|
+
* * Cloud Assistant Agent must be installed on the ECS instance. You can call the [DescribeCloudAssistantStatus](~~87346~~) operation to check whether Cloud Assistant Agent is installed on the ECS instance and query the version number of the installed Cloud Assistant Agent.
|
|
34244
|
+
* * If Cloud Assistant Agent is not installed on the ECS instance, call the [InstallCloudAssistant](~~85916~~) operation to install Cloud Assistant Agent.
|
|
34245
|
+
* * Only the Cloud Assistant Agent versions that are later than the following ones support the session management feature. You can upgrade Cloud Assistant Agent. For information about how to upgrade Cloud Assistant Agent, see [Update or disable updates for Cloud Assistant Agent](~~134383~~).
|
|
34246
|
+
* * For Linux operating systems: 2.2.3.256
|
|
34247
|
+
* * For Windows operating systems: 2.1.3.256
|
|
34248
|
+
* * Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
|
|
34249
|
+
* * 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.
|
|
34045
34250
|
*
|
|
34046
34251
|
* @param request StartTerminalSessionRequest
|
|
34047
34252
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34049,23 +34254,24 @@ export default class Client extends OpenApi {
|
|
|
34049
34254
|
*/
|
|
34050
34255
|
startTerminalSessionWithOptions(request: StartTerminalSessionRequest, runtime: $Util.RuntimeOptions): Promise<StartTerminalSessionResponse>;
|
|
34051
34256
|
/**
|
|
34052
|
-
*
|
|
34053
|
-
*
|
|
34054
|
-
*
|
|
34055
|
-
*
|
|
34056
|
-
*
|
|
34057
|
-
*
|
|
34058
|
-
*
|
|
34059
|
-
*
|
|
34060
|
-
*
|
|
34257
|
+
* The session management feature is in public preview. To use this feature, log on to the ECS console with your Alibaba Cloud account and enable this feature.
|
|
34258
|
+
* When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Take note of the following items:
|
|
34259
|
+
* * The ECS instance must be in the Running (Running) state.
|
|
34260
|
+
* * Cloud Assistant Agent must be installed on the ECS instance. You can call the [DescribeCloudAssistantStatus](~~87346~~) operation to check whether Cloud Assistant Agent is installed on the ECS instance and query the version number of the installed Cloud Assistant Agent.
|
|
34261
|
+
* * If Cloud Assistant Agent is not installed on the ECS instance, call the [InstallCloudAssistant](~~85916~~) operation to install Cloud Assistant Agent.
|
|
34262
|
+
* * Only the Cloud Assistant Agent versions that are later than the following ones support the session management feature. You can upgrade Cloud Assistant Agent. For information about how to upgrade Cloud Assistant Agent, see [Update or disable updates for Cloud Assistant Agent](~~134383~~).
|
|
34263
|
+
* * For Linux operating systems: 2.2.3.256
|
|
34264
|
+
* * For Windows operating systems: 2.1.3.256
|
|
34265
|
+
* * Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
|
|
34266
|
+
* * 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.
|
|
34061
34267
|
*
|
|
34062
34268
|
* @param request StartTerminalSessionRequest
|
|
34063
34269
|
* @return StartTerminalSessionResponse
|
|
34064
34270
|
*/
|
|
34065
34271
|
startTerminalSession(request: StartTerminalSessionRequest): Promise<StartTerminalSessionResponse>;
|
|
34066
34272
|
/**
|
|
34067
|
-
* * If the response contains `
|
|
34068
|
-
* * 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.
|
|
34273
|
+
* * If you call the DescribeInstances operation to query the details of an instance and `OperationLocks` in the response contains `"LockReason": "security"`, the instance is locked for security reasons and cannot be stopped. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
34274
|
+
* * If the economical mode is enabled, you can set `StoppedMode` to KeepCharging to switch to the standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.
|
|
34069
34275
|
*
|
|
34070
34276
|
* @param request StopInstanceRequest
|
|
34071
34277
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34073,17 +34279,19 @@ export default class Client extends OpenApi {
|
|
|
34073
34279
|
*/
|
|
34074
34280
|
stopInstanceWithOptions(request: StopInstanceRequest, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
|
|
34075
34281
|
/**
|
|
34076
|
-
* * If the response contains `
|
|
34077
|
-
* * 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.
|
|
34282
|
+
* * If you call the DescribeInstances operation to query the details of an instance and `OperationLocks` in the response contains `"LockReason": "security"`, the instance is locked for security reasons and cannot be stopped. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
34283
|
+
* * If the economical mode is enabled, you can set `StoppedMode` to KeepCharging to switch to the standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.
|
|
34078
34284
|
*
|
|
34079
34285
|
* @param request StopInstanceRequest
|
|
34080
34286
|
* @return StopInstanceResponse
|
|
34081
34287
|
*/
|
|
34082
34288
|
stopInstance(request: StopInstanceRequest): Promise<StopInstanceResponse>;
|
|
34083
34289
|
/**
|
|
34084
|
-
*
|
|
34085
|
-
* *
|
|
34086
|
-
*
|
|
34290
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid Values:
|
|
34291
|
+
* * true: performs a dry run, but the request is not made. The system checks the request for potential issues, including required parameters, request syntax, and instance status. If the request passes the dry run, `DRYRUN.SUCCESS` is returned. Otherwise, an error message is returned.
|
|
34292
|
+
* > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
|
|
34293
|
+
* * false: performs a dry run and sends the request. If the request passes the dry run, the operation is performed.
|
|
34294
|
+
* Default value: false.
|
|
34087
34295
|
*
|
|
34088
34296
|
* @param request StopInstancesRequest
|
|
34089
34297
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34091,17 +34299,18 @@ export default class Client extends OpenApi {
|
|
|
34091
34299
|
*/
|
|
34092
34300
|
stopInstancesWithOptions(request: StopInstancesRequest, runtime: $Util.RuntimeOptions): Promise<StopInstancesResponse>;
|
|
34093
34301
|
/**
|
|
34094
|
-
*
|
|
34095
|
-
* *
|
|
34096
|
-
*
|
|
34302
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid Values:
|
|
34303
|
+
* * true: performs a dry run, but the request is not made. The system checks the request for potential issues, including required parameters, request syntax, and instance status. If the request passes the dry run, `DRYRUN.SUCCESS` is returned. Otherwise, an error message is returned.
|
|
34304
|
+
* > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned regardless of whether the request passes the dry run.
|
|
34305
|
+
* * false: performs a dry run and sends the request. If the request passes the dry run, the operation is performed.
|
|
34306
|
+
* Default value: false.
|
|
34097
34307
|
*
|
|
34098
34308
|
* @param request StopInstancesRequest
|
|
34099
34309
|
* @return StopInstancesResponse
|
|
34100
34310
|
*/
|
|
34101
34311
|
stopInstances(request: StopInstancesRequest): Promise<StopInstancesResponse>;
|
|
34102
34312
|
/**
|
|
34103
|
-
*
|
|
34104
|
-
* * 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.
|
|
34313
|
+
* The region ID. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
34105
34314
|
*
|
|
34106
34315
|
* @param request StopInvocationRequest
|
|
34107
34316
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34109,8 +34318,7 @@ export default class Client extends OpenApi {
|
|
|
34109
34318
|
*/
|
|
34110
34319
|
stopInvocationWithOptions(request: StopInvocationRequest, runtime: $Util.RuntimeOptions): Promise<StopInvocationResponse>;
|
|
34111
34320
|
/**
|
|
34112
|
-
*
|
|
34113
|
-
* * 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.
|
|
34321
|
+
* The region ID. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
34114
34322
|
*
|
|
34115
34323
|
* @param request StopInvocationRequest
|
|
34116
34324
|
* @return StopInvocationResponse
|
|
@@ -34181,8 +34389,7 @@ export default class Client extends OpenApi {
|
|
|
34181
34389
|
*/
|
|
34182
34390
|
unassignIpv6Addresses(request: UnassignIpv6AddressesRequest): Promise<UnassignIpv6AddressesResponse>;
|
|
34183
34391
|
/**
|
|
34184
|
-
*
|
|
34185
|
-
* * 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.
|
|
34392
|
+
* The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
34186
34393
|
*
|
|
34187
34394
|
* @param request UnassignPrivateIpAddressesRequest
|
|
34188
34395
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34190,8 +34397,7 @@ export default class Client extends OpenApi {
|
|
|
34190
34397
|
*/
|
|
34191
34398
|
unassignPrivateIpAddressesWithOptions(request: UnassignPrivateIpAddressesRequest, runtime: $Util.RuntimeOptions): Promise<UnassignPrivateIpAddressesResponse>;
|
|
34192
34399
|
/**
|
|
34193
|
-
*
|
|
34194
|
-
* * 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.
|
|
34400
|
+
* The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
34195
34401
|
*
|
|
34196
34402
|
* @param request UnassignPrivateIpAddressesRequest
|
|
34197
34403
|
* @return UnassignPrivateIpAddressesResponse
|