@alicloud/ecs20140526 3.0.5 → 3.0.6
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 +886 -1202
- package/dist/client.js +902 -1202
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +912 -1202
package/dist/client.d.ts
CHANGED
|
@@ -6412,6 +6412,7 @@ export declare class DescribeDeploymentSetSupportedInstanceTypeFamilyRequest ext
|
|
|
6412
6412
|
regionId?: string;
|
|
6413
6413
|
resourceOwnerAccount?: string;
|
|
6414
6414
|
resourceOwnerId?: number;
|
|
6415
|
+
strategy?: string;
|
|
6415
6416
|
static names(): {
|
|
6416
6417
|
[key: string]: string;
|
|
6417
6418
|
};
|
|
@@ -12283,6 +12284,7 @@ export declare class InstallCloudAssistantResponse extends $tea.Model {
|
|
|
12283
12284
|
});
|
|
12284
12285
|
}
|
|
12285
12286
|
export declare class InvokeCommandRequest extends $tea.Model {
|
|
12287
|
+
clientToken?: string;
|
|
12286
12288
|
commandId?: string;
|
|
12287
12289
|
containerId?: string;
|
|
12288
12290
|
containerName?: string;
|
|
@@ -12314,6 +12316,7 @@ export declare class InvokeCommandRequest extends $tea.Model {
|
|
|
12314
12316
|
});
|
|
12315
12317
|
}
|
|
12316
12318
|
export declare class InvokeCommandShrinkRequest extends $tea.Model {
|
|
12319
|
+
clientToken?: string;
|
|
12317
12320
|
commandId?: string;
|
|
12318
12321
|
containerId?: string;
|
|
12319
12322
|
containerName?: string;
|
|
@@ -16953,6 +16956,7 @@ export declare class RevokeSecurityGroupEgressResponse extends $tea.Model {
|
|
|
16953
16956
|
});
|
|
16954
16957
|
}
|
|
16955
16958
|
export declare class RunCommandRequest extends $tea.Model {
|
|
16959
|
+
clientToken?: string;
|
|
16956
16960
|
commandContent?: string;
|
|
16957
16961
|
containerId?: string;
|
|
16958
16962
|
containerName?: string;
|
|
@@ -16991,6 +16995,7 @@ export declare class RunCommandRequest extends $tea.Model {
|
|
|
16991
16995
|
});
|
|
16992
16996
|
}
|
|
16993
16997
|
export declare class RunCommandShrinkRequest extends $tea.Model {
|
|
16998
|
+
clientToken?: string;
|
|
16994
16999
|
commandContent?: string;
|
|
16995
17000
|
containerId?: string;
|
|
16996
17001
|
containerName?: string;
|
|
@@ -20804,6 +20809,7 @@ export declare class DescribeDemandsRequestTag extends $tea.Model {
|
|
|
20804
20809
|
}
|
|
20805
20810
|
export declare class DescribeDemandsResponseBodyDemandsDemandSupplyInfosSupplyInfo extends $tea.Model {
|
|
20806
20811
|
amount?: number;
|
|
20812
|
+
privatePoolId?: string;
|
|
20807
20813
|
supplyEndTime?: string;
|
|
20808
20814
|
supplyStartTime?: string;
|
|
20809
20815
|
supplyStatus?: string;
|
|
@@ -22193,6 +22199,7 @@ export declare class DescribeImagePipelinesResponseBodyImagePipeline extends $te
|
|
|
22193
22199
|
}
|
|
22194
22200
|
export declare class DescribeImageSharePermissionResponseBodyAccountsAccount extends $tea.Model {
|
|
22195
22201
|
aliyunId?: string;
|
|
22202
|
+
sharedTime?: string;
|
|
22196
22203
|
static names(): {
|
|
22197
22204
|
[key: string]: string;
|
|
22198
22205
|
};
|
|
@@ -28638,12 +28645,12 @@ export default class Client extends OpenApi {
|
|
|
28638
28645
|
*/
|
|
28639
28646
|
addTags(request: AddTagsRequest): Promise<AddTagsResponse>;
|
|
28640
28647
|
/**
|
|
28641
|
-
* Before you create a dedicated host, you can call the [DescribeAvailableResource](~~66186~~) operation to query the available
|
|
28648
|
+
* Before you create a dedicated host, you can call the [DescribeAvailableResource](~~66186~~) operation to query the resources available in a specific region or zone.
|
|
28642
28649
|
* We recommend that you understand the billing methods of resources before you create a dedicated host. You are charged for resources used by the created dedicated host. For more information, see [Billing overview](~~68978~~).
|
|
28643
|
-
* *
|
|
28644
|
-
* *
|
|
28645
|
-
* *
|
|
28646
|
-
* *
|
|
28650
|
+
* * You can create up to 100 pay-as-you-go or subscription dedicated hosts at a time.
|
|
28651
|
+
* * After a dedicated host is created, you can use the returned dedicated host ID as the value of a request parameter to call the [DescribeDedicatedHosts](~~134242~~) operation to query the state of the dedicated host.
|
|
28652
|
+
* * After you submit a request to create a dedicated host, an error is returned if a specific parameter is invalid or if the requested resources are insufficient. For more information about error causes, see the "Error codes" section of this topic.
|
|
28653
|
+
* * After a dedicated host is created, you can call the [ModifyInstanceDeployment](~~134248~~) operation to migrate ECS instances from a shared host to the dedicated host. You can also migrate ECS instances from another dedicated host to the created dedicated host.
|
|
28647
28654
|
*
|
|
28648
28655
|
* @param request AllocateDedicatedHostsRequest
|
|
28649
28656
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28651,12 +28658,12 @@ export default class Client extends OpenApi {
|
|
|
28651
28658
|
*/
|
|
28652
28659
|
allocateDedicatedHostsWithOptions(request: AllocateDedicatedHostsRequest, runtime: $Util.RuntimeOptions): Promise<AllocateDedicatedHostsResponse>;
|
|
28653
28660
|
/**
|
|
28654
|
-
* Before you create a dedicated host, you can call the [DescribeAvailableResource](~~66186~~) operation to query the available
|
|
28661
|
+
* Before you create a dedicated host, you can call the [DescribeAvailableResource](~~66186~~) operation to query the resources available in a specific region or zone.
|
|
28655
28662
|
* We recommend that you understand the billing methods of resources before you create a dedicated host. You are charged for resources used by the created dedicated host. For more information, see [Billing overview](~~68978~~).
|
|
28656
|
-
* *
|
|
28657
|
-
* *
|
|
28658
|
-
* *
|
|
28659
|
-
* *
|
|
28663
|
+
* * You can create up to 100 pay-as-you-go or subscription dedicated hosts at a time.
|
|
28664
|
+
* * After a dedicated host is created, you can use the returned dedicated host ID as the value of a request parameter to call the [DescribeDedicatedHosts](~~134242~~) operation to query the state of the dedicated host.
|
|
28665
|
+
* * After you submit a request to create a dedicated host, an error is returned if a specific parameter is invalid or if the requested resources are insufficient. For more information about error causes, see the "Error codes" section of this topic.
|
|
28666
|
+
* * After a dedicated host is created, you can call the [ModifyInstanceDeployment](~~134248~~) operation to migrate ECS instances from a shared host to the dedicated host. You can also migrate ECS instances from another dedicated host to the created dedicated host.
|
|
28660
28667
|
*
|
|
28661
28668
|
* @param request AllocateDedicatedHostsRequest
|
|
28662
28669
|
* @return AllocateDedicatedHostsResponse
|
|
@@ -28680,13 +28687,13 @@ export default class Client extends OpenApi {
|
|
|
28680
28687
|
*/
|
|
28681
28688
|
allocateEipAddress(request: AllocateEipAddressRequest): Promise<AllocateEipAddressResponse>;
|
|
28682
28689
|
/**
|
|
28683
|
-
*
|
|
28684
|
-
* * The instance to which to assign a public IP address must be in the **Running**
|
|
28685
|
-
* * If `OperationLocks` in the DescribeInstances
|
|
28686
|
-
* * You can assign only
|
|
28687
|
-
* * After you assign a public IP address to an instance, you must restart the instance ([RebootInstance](~~25502~~)) or start the instance ([StartInstance](~~25500~~))
|
|
28688
|
-
* If an instance
|
|
28689
|
-
* > After an EIP
|
|
28690
|
+
* Take note of the following items:
|
|
28691
|
+
* * The instance to which you want to assign a public IP address must be in the **Running** or **Stopped** state.````
|
|
28692
|
+
* * If `OperationLocks` in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is [locked for security reasons](~~25695~~) and cannot be assigned a public IP address.
|
|
28693
|
+
* * You can assign only one public IP address to an instance. If the instance already has a public IP address, the `AllocatedAlready` error is returned.
|
|
28694
|
+
* * After you assign a public IP address to an instance, you must restart the instance ([RebootInstance](~~25502~~)) or start the instance ([StartInstance](~~25500~~)) to make the public IP address take effect.
|
|
28695
|
+
* If an instance resides in a virtual private cloud (VPC), you can assign a public IP address to the instance or associate an elastic IP address (EIP) with the instance. For more information, see [AssociateEipAddress](~~36017~~).
|
|
28696
|
+
* > After you associate an EIP with an instance that resides in a VPC, you cannot assign a public IP address to the instance.
|
|
28690
28697
|
*
|
|
28691
28698
|
* @param request AllocatePublicIpAddressRequest
|
|
28692
28699
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28694,20 +28701,20 @@ export default class Client extends OpenApi {
|
|
|
28694
28701
|
*/
|
|
28695
28702
|
allocatePublicIpAddressWithOptions(request: AllocatePublicIpAddressRequest, runtime: $Util.RuntimeOptions): Promise<AllocatePublicIpAddressResponse>;
|
|
28696
28703
|
/**
|
|
28697
|
-
*
|
|
28698
|
-
* * The instance to which to assign a public IP address must be in the **Running**
|
|
28699
|
-
* * If `OperationLocks` in the DescribeInstances
|
|
28700
|
-
* * You can assign only
|
|
28701
|
-
* * After you assign a public IP address to an instance, you must restart the instance ([RebootInstance](~~25502~~)) or start the instance ([StartInstance](~~25500~~))
|
|
28702
|
-
* If an instance
|
|
28703
|
-
* > After an EIP
|
|
28704
|
+
* Take note of the following items:
|
|
28705
|
+
* * The instance to which you want to assign a public IP address must be in the **Running** or **Stopped** state.````
|
|
28706
|
+
* * If `OperationLocks` in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is [locked for security reasons](~~25695~~) and cannot be assigned a public IP address.
|
|
28707
|
+
* * You can assign only one public IP address to an instance. If the instance already has a public IP address, the `AllocatedAlready` error is returned.
|
|
28708
|
+
* * After you assign a public IP address to an instance, you must restart the instance ([RebootInstance](~~25502~~)) or start the instance ([StartInstance](~~25500~~)) to make the public IP address take effect.
|
|
28709
|
+
* If an instance resides in a virtual private cloud (VPC), you can assign a public IP address to the instance or associate an elastic IP address (EIP) with the instance. For more information, see [AssociateEipAddress](~~36017~~).
|
|
28710
|
+
* > After you associate an EIP with an instance that resides in a VPC, you cannot assign a public IP address to the instance.
|
|
28704
28711
|
*
|
|
28705
28712
|
* @param request AllocatePublicIpAddressRequest
|
|
28706
28713
|
* @return AllocatePublicIpAddressResponse
|
|
28707
28714
|
*/
|
|
28708
28715
|
allocatePublicIpAddress(request: AllocatePublicIpAddressRequest): Promise<AllocatePublicIpAddressResponse>;
|
|
28709
28716
|
/**
|
|
28710
|
-
* * Each disk can have only one automatic snapshot policy
|
|
28717
|
+
* * Each disk can have only one automatic snapshot policy.
|
|
28711
28718
|
* * Each automatic snapshot policy can be applied to multiple disks.
|
|
28712
28719
|
*
|
|
28713
28720
|
* @param request ApplyAutoSnapshotPolicyRequest
|
|
@@ -28716,7 +28723,7 @@ export default class Client extends OpenApi {
|
|
|
28716
28723
|
*/
|
|
28717
28724
|
applyAutoSnapshotPolicyWithOptions(request: ApplyAutoSnapshotPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ApplyAutoSnapshotPolicyResponse>;
|
|
28718
28725
|
/**
|
|
28719
|
-
* * Each disk can have only one automatic snapshot policy
|
|
28726
|
+
* * Each disk can have only one automatic snapshot policy.
|
|
28720
28727
|
* * Each automatic snapshot policy can be applied to multiple disks.
|
|
28721
28728
|
*
|
|
28722
28729
|
* @param request ApplyAutoSnapshotPolicyRequest
|
|
@@ -28724,14 +28731,14 @@ export default class Client extends OpenApi {
|
|
|
28724
28731
|
*/
|
|
28725
28732
|
applyAutoSnapshotPolicy(request: ApplyAutoSnapshotPolicyRequest): Promise<ApplyAutoSnapshotPolicyResponse>;
|
|
28726
28733
|
/**
|
|
28727
|
-
* You can specify IPv6 addresses
|
|
28734
|
+
* You can specify IPv6 addresses within the CIDR block of the vSwitch that is connected to the ENI, or specify the number of IPv6 addresses that are automatically generated for the ENI. When you call this operation, take note of the following items:
|
|
28728
28735
|
* * IPv6 must be enabled for the vSwitch with which the ENI is associated. For more information, see [Enable IPv6 for a vSwitch](~~98923~~).
|
|
28729
28736
|
* * The ENI must be in the Available (Available) or InUse (InUse) state.
|
|
28730
28737
|
* * If you want to assign IPv6 addresses to a primary ENI, make sure that the instance to which the ENI is attached is in the Running (Running) or Stopped (Stopped) state.
|
|
28731
|
-
* * The maximum number of IPv6 addresses that can be assigned to an ENI varies
|
|
28738
|
+
* * The maximum number of IPv6 addresses that can be assigned to an ENI varies based on the instance type.
|
|
28732
28739
|
* * If the ENI is in the Available (Available) state, it can be assigned a maximum of 10 IPv6 addresses.
|
|
28733
28740
|
* * If the ENI is already attached to an Elastic Compute Service (ECS) instance, the maximum number of IPv6 addresses that can be assigned to the ENI varies based on the instance type. For more information, see [Overview of instance families](~~25378~~).
|
|
28734
|
-
* * After the operation is called,
|
|
28741
|
+
* * After the operation is called, the IPv6 addresses that are assigned to the ENI can be obtained from the response.
|
|
28735
28742
|
*
|
|
28736
28743
|
* @param request AssignIpv6AddressesRequest
|
|
28737
28744
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28739,23 +28746,23 @@ export default class Client extends OpenApi {
|
|
|
28739
28746
|
*/
|
|
28740
28747
|
assignIpv6AddressesWithOptions(request: AssignIpv6AddressesRequest, runtime: $Util.RuntimeOptions): Promise<AssignIpv6AddressesResponse>;
|
|
28741
28748
|
/**
|
|
28742
|
-
* You can specify IPv6 addresses
|
|
28749
|
+
* You can specify IPv6 addresses within the CIDR block of the vSwitch that is connected to the ENI, or specify the number of IPv6 addresses that are automatically generated for the ENI. When you call this operation, take note of the following items:
|
|
28743
28750
|
* * IPv6 must be enabled for the vSwitch with which the ENI is associated. For more information, see [Enable IPv6 for a vSwitch](~~98923~~).
|
|
28744
28751
|
* * The ENI must be in the Available (Available) or InUse (InUse) state.
|
|
28745
28752
|
* * If you want to assign IPv6 addresses to a primary ENI, make sure that the instance to which the ENI is attached is in the Running (Running) or Stopped (Stopped) state.
|
|
28746
|
-
* * The maximum number of IPv6 addresses that can be assigned to an ENI varies
|
|
28753
|
+
* * The maximum number of IPv6 addresses that can be assigned to an ENI varies based on the instance type.
|
|
28747
28754
|
* * If the ENI is in the Available (Available) state, it can be assigned a maximum of 10 IPv6 addresses.
|
|
28748
28755
|
* * If the ENI is already attached to an Elastic Compute Service (ECS) instance, the maximum number of IPv6 addresses that can be assigned to the ENI varies based on the instance type. For more information, see [Overview of instance families](~~25378~~).
|
|
28749
|
-
* * After the operation is called,
|
|
28756
|
+
* * After the operation is called, the IPv6 addresses that are assigned to the ENI can be obtained from the response.
|
|
28750
28757
|
*
|
|
28751
28758
|
* @param request AssignIpv6AddressesRequest
|
|
28752
28759
|
* @return AssignIpv6AddressesResponse
|
|
28753
28760
|
*/
|
|
28754
28761
|
assignIpv6Addresses(request: AssignIpv6AddressesRequest): Promise<AssignIpv6AddressesResponse>;
|
|
28755
28762
|
/**
|
|
28756
|
-
* * The ENI to which you want to assign secondary private IP addresses must be in the Available or InUse state.
|
|
28757
|
-
* * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
28758
|
-
* * 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 [
|
|
28763
|
+
* * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
|
|
28764
|
+
* * 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 (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~~).
|
|
28759
28766
|
* * 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.
|
|
28760
28767
|
*
|
|
28761
28768
|
* @param request AssignPrivateIpAddressesRequest
|
|
@@ -28764,9 +28771,9 @@ export default class Client extends OpenApi {
|
|
|
28764
28771
|
*/
|
|
28765
28772
|
assignPrivateIpAddressesWithOptions(request: AssignPrivateIpAddressesRequest, runtime: $Util.RuntimeOptions): Promise<AssignPrivateIpAddressesResponse>;
|
|
28766
28773
|
/**
|
|
28767
|
-
* * The ENI to which you want to assign secondary private IP addresses must be in the Available or InUse state.
|
|
28768
|
-
* * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
28769
|
-
* * 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 [
|
|
28774
|
+
* * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
|
|
28775
|
+
* * 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 (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~~).
|
|
28770
28777
|
* * 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.
|
|
28771
28778
|
*
|
|
28772
28779
|
* @param request AssignPrivateIpAddressesRequest
|
|
@@ -28804,11 +28811,10 @@ export default class Client extends OpenApi {
|
|
|
28804
28811
|
*/
|
|
28805
28812
|
associateHaVip(request: AssociateHaVipRequest): Promise<AssociateHaVipResponse>;
|
|
28806
28813
|
/**
|
|
28807
|
-
* ## Description
|
|
28808
28814
|
* When you call this operation, take note of the following items:
|
|
28809
|
-
* * The instance to
|
|
28810
|
-
* * The ClassicLink feature must be enabled for the
|
|
28811
|
-
* * The instance and the VPC must
|
|
28815
|
+
* * The instance that you want to connect to a VPC must be in the **Running** or **Stopped** state.
|
|
28816
|
+
* * The ClassicLink feature must be enabled for the destination VPC. For more information, see [Create a ClassicLink connection](~~65413~~).
|
|
28817
|
+
* * The instance and the VPC must reside in the same region.
|
|
28812
28818
|
*
|
|
28813
28819
|
* @param request AttachClassicLinkVpcRequest
|
|
28814
28820
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28816,18 +28822,17 @@ export default class Client extends OpenApi {
|
|
|
28816
28822
|
*/
|
|
28817
28823
|
attachClassicLinkVpcWithOptions(request: AttachClassicLinkVpcRequest, runtime: $Util.RuntimeOptions): Promise<AttachClassicLinkVpcResponse>;
|
|
28818
28824
|
/**
|
|
28819
|
-
* ## Description
|
|
28820
28825
|
* When you call this operation, take note of the following items:
|
|
28821
|
-
* * The instance to
|
|
28822
|
-
* * The ClassicLink feature must be enabled for the
|
|
28823
|
-
* * The instance and the VPC must
|
|
28826
|
+
* * The instance that you want to connect to a VPC must be in the **Running** or **Stopped** state.
|
|
28827
|
+
* * The ClassicLink feature must be enabled for the destination VPC. For more information, see [Create a ClassicLink connection](~~65413~~).
|
|
28828
|
+
* * The instance and the VPC must reside in the same region.
|
|
28824
28829
|
*
|
|
28825
28830
|
* @param request AttachClassicLinkVpcRequest
|
|
28826
28831
|
* @return AttachClassicLinkVpcResponse
|
|
28827
28832
|
*/
|
|
28828
28833
|
attachClassicLinkVpc(request: AttachClassicLinkVpcRequest): Promise<AttachClassicLinkVpcResponse>;
|
|
28829
28834
|
/**
|
|
28830
|
-
* When you call this operation, take note of the following
|
|
28835
|
+
* When you call this operation, take note of the following items:
|
|
28831
28836
|
* * The disk to be attached must be in the **Unattached** (`Available`) state.
|
|
28832
28837
|
* * When the disk is attached as a data disk, take note of the following items:
|
|
28833
28838
|
* * The instance must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
@@ -28835,10 +28840,9 @@ export default class Client extends OpenApi {
|
|
|
28835
28840
|
* * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
|
|
28836
28841
|
* * When the disk is attached as a system disk, take note of the following items:
|
|
28837
28842
|
* * The instance must be the original instance from which the system disk was detached.
|
|
28838
|
-
* * The instance must be in the **Stopped**
|
|
28843
|
+
* * The instance must be in the **Stopped** state.``
|
|
28839
28844
|
* * The logon credentials must be configured.
|
|
28840
|
-
* * If
|
|
28841
|
-
* * Disks for which the multi-attach feature is enabled can be attached only to instances that support the NVMe protocol. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
28845
|
+
* * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
|
|
28842
28846
|
*
|
|
28843
28847
|
* @param request AttachDiskRequest
|
|
28844
28848
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28846,7 +28850,7 @@ export default class Client extends OpenApi {
|
|
|
28846
28850
|
*/
|
|
28847
28851
|
attachDiskWithOptions(request: AttachDiskRequest, runtime: $Util.RuntimeOptions): Promise<AttachDiskResponse>;
|
|
28848
28852
|
/**
|
|
28849
|
-
* When you call this operation, take note of the following
|
|
28853
|
+
* When you call this operation, take note of the following items:
|
|
28850
28854
|
* * The disk to be attached must be in the **Unattached** (`Available`) state.
|
|
28851
28855
|
* * When the disk is attached as a data disk, take note of the following items:
|
|
28852
28856
|
* * The instance must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
@@ -28854,10 +28858,9 @@ export default class Client extends OpenApi {
|
|
|
28854
28858
|
* * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
|
|
28855
28859
|
* * When the disk is attached as a system disk, take note of the following items:
|
|
28856
28860
|
* * The instance must be the original instance from which the system disk was detached.
|
|
28857
|
-
* * The instance must be in the **Stopped**
|
|
28861
|
+
* * The instance must be in the **Stopped** state.``
|
|
28858
28862
|
* * The logon credentials must be configured.
|
|
28859
|
-
* * If
|
|
28860
|
-
* * Disks for which the multi-attach feature is enabled can be attached only to instances that support the NVMe protocol. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
28863
|
+
* * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
|
|
28861
28864
|
*
|
|
28862
28865
|
* @param request AttachDiskRequest
|
|
28863
28866
|
* @return AttachDiskResponse
|
|
@@ -28868,10 +28871,10 @@ export default class Client extends OpenApi {
|
|
|
28868
28871
|
/**
|
|
28869
28872
|
* When you call this operation, take note of the following items:
|
|
28870
28873
|
* * SSH key pairs are not supported on Windows instances.
|
|
28871
|
-
* * If an SSH key pair is
|
|
28872
|
-
* * If you
|
|
28873
|
-
* * If you
|
|
28874
|
-
* * If an instance already
|
|
28874
|
+
* * 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 **Running** (Running) state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
|
|
28876
|
+
* * 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
|
+
* * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
|
|
28875
28878
|
*
|
|
28876
28879
|
* @param request AttachKeyPairRequest
|
|
28877
28880
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28881,26 +28884,26 @@ export default class Client extends OpenApi {
|
|
|
28881
28884
|
/**
|
|
28882
28885
|
* When you call this operation, take note of the following items:
|
|
28883
28886
|
* * SSH key pairs are not supported on Windows instances.
|
|
28884
|
-
* * If an SSH key pair is
|
|
28885
|
-
* * If you
|
|
28886
|
-
* * If you
|
|
28887
|
-
* * If an instance already
|
|
28887
|
+
* * 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 **Running** (Running) state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
|
|
28889
|
+
* * 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
|
+
* * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
|
|
28888
28891
|
*
|
|
28889
28892
|
* @param request AttachKeyPairRequest
|
|
28890
28893
|
* @return AttachKeyPairResponse
|
|
28891
28894
|
*/
|
|
28892
28895
|
attachKeyPair(request: AttachKeyPairRequest): Promise<AttachKeyPairResponse>;
|
|
28893
28896
|
/**
|
|
28894
|
-
*
|
|
28895
|
-
* * The ENI must be in the **Available**
|
|
28896
|
-
* * The instance must be in the Running
|
|
28897
|
-
*
|
|
28898
|
-
*
|
|
28897
|
+
* Take note of the following items:
|
|
28898
|
+
* * The ENI must be in the **Available** state. You can attach an ENI to only one instance that resides in the same zone and VPC as the ENI.``
|
|
28899
|
+
* * The instance must be in the Running or Stopped state. When you attach ENIs to instances of specific instance types, make sure that the instances are in the Stopped state. For more information, see the "Instance types of the ECS instances that must be in the Stopped (Stopped) state" section in the [Bind an ENI](~~58503~~) topic.
|
|
28900
|
+
* **
|
|
28901
|
+
* **Note**If the last start time of the instance (including the start time of the instance if it is a new instance, the last restart time of the instance, and the last reactivation time of the instance) is before April 1st, 2018 and the instance is in the Running state, you must call the RebootInstance operation to restart the instance. If you do not call the RebootInstance operation to restart the instance, you cannot attach the ENI to the instance.
|
|
28902
|
+
* * You can attach multiple ENIs to one instance. For more information, see [ENI overview](~~58496~~).
|
|
28899
28903
|
* * The vSwitch to which the ENI is connected must be in the same zone and VPC as the vSwitch to which the instance is connected.
|
|
28900
|
-
* * This operation is an asynchronous operation. After this operation
|
|
28901
|
-
* .
|
|
28904
|
+
* * This operation is an asynchronous operation. After you call this operation to attach an ENI, you can view the status or events of the ENI to check whether the ENI is attached. The following figure shows the transitions between the statuses of the ENI.
|
|
28905
|
+
*  If the ENI is in the Attaching state, the ENI attachment request is sent and the ENI is being attached to the specified instance. If the ENI is in the InUse state, the ENI is attached to the specified instance. If the ENI is in the Available state, the ENI failed to be attached.
|
|
28906
|
+
* **For examples on how to call this operation, see **[Attach an ENI](~~471550~~).
|
|
28904
28907
|
*
|
|
28905
28908
|
* @param request AttachNetworkInterfaceRequest
|
|
28906
28909
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28908,33 +28911,34 @@ export default class Client extends OpenApi {
|
|
|
28908
28911
|
*/
|
|
28909
28912
|
attachNetworkInterfaceWithOptions(request: AttachNetworkInterfaceRequest, runtime: $Util.RuntimeOptions): Promise<AttachNetworkInterfaceResponse>;
|
|
28910
28913
|
/**
|
|
28911
|
-
*
|
|
28912
|
-
* * The ENI must be in the **Available**
|
|
28913
|
-
* * The instance must be in the Running
|
|
28914
|
-
*
|
|
28915
|
-
*
|
|
28914
|
+
* Take note of the following items:
|
|
28915
|
+
* * The ENI must be in the **Available** state. You can attach an ENI to only one instance that resides in the same zone and VPC as the ENI.``
|
|
28916
|
+
* * The instance must be in the Running or Stopped state. When you attach ENIs to instances of specific instance types, make sure that the instances are in the Stopped state. For more information, see the "Instance types of the ECS instances that must be in the Stopped (Stopped) state" section in the [Bind an ENI](~~58503~~) topic.
|
|
28917
|
+
* **
|
|
28918
|
+
* **Note**If the last start time of the instance (including the start time of the instance if it is a new instance, the last restart time of the instance, and the last reactivation time of the instance) is before April 1st, 2018 and the instance is in the Running state, you must call the RebootInstance operation to restart the instance. If you do not call the RebootInstance operation to restart the instance, you cannot attach the ENI to the instance.
|
|
28919
|
+
* * You can attach multiple ENIs to one instance. For more information, see [ENI overview](~~58496~~).
|
|
28916
28920
|
* * The vSwitch to which the ENI is connected must be in the same zone and VPC as the vSwitch to which the instance is connected.
|
|
28917
|
-
* * This operation is an asynchronous operation. After this operation
|
|
28918
|
-
* .
|
|
28921
|
+
* * This operation is an asynchronous operation. After you call this operation to attach an ENI, you can view the status or events of the ENI to check whether the ENI is attached. The following figure shows the transitions between the statuses of the ENI.
|
|
28922
|
+
*  If the ENI is in the Attaching state, the ENI attachment request is sent and the ENI is being attached to the specified instance. If the ENI is in the InUse state, the ENI is attached to the specified instance. If the ENI is in the Available state, the ENI failed to be attached.
|
|
28923
|
+
* **For examples on how to call this operation, see **[Attach an ENI](~~471550~~).
|
|
28921
28924
|
*
|
|
28922
28925
|
* @param request AttachNetworkInterfaceRequest
|
|
28923
28926
|
* @return AttachNetworkInterfaceResponse
|
|
28924
28927
|
*/
|
|
28925
28928
|
attachNetworkInterface(request: AttachNetworkInterfaceRequest): Promise<AttachNetworkInterfaceResponse>;
|
|
28926
28929
|
/**
|
|
28930
|
+
* In security group-related API documents, traffic is sent from the source to the destination.
|
|
28927
28931
|
* When you call this operation, take note of the following items:
|
|
28928
|
-
* * The total number of
|
|
28929
|
-
* * The valid
|
|
28930
|
-
* *
|
|
28931
|
-
* * The source can be a CIDR block specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId
|
|
28932
|
-
* *
|
|
28933
|
-
* *
|
|
28934
|
-
* * If the specified security group rule exists in the security group, the
|
|
28935
|
-
* * The `Permissions.N` prefix is added to
|
|
28932
|
+
* * The total number of outbound and inbound rules of each security group cannot exceed 200. For more information, see the "Security group limits" section in [Limits](~~25412#SecurityGroupQuota1~~).
|
|
28933
|
+
* * The valid values of Priority range from 1 to 100. A smaller value specifies a higher priority.
|
|
28934
|
+
* * If several security group rules have the same priority, drop rules take precedence.
|
|
28935
|
+
* * 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
|
+
* * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
|
|
28937
|
+
* * 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 operation is successful but no security group rule is added to the security group.
|
|
28939
|
+
* * The `Permissions.N` prefix is added to specific parameters to generate new parameters. You cannot specify the original parameters and the parameters that contain the Permissions.N prefix at the same time. We recommend that you use the parameters that contain the `Permissions.N` prefix.
|
|
28936
28940
|
* * 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.
|
|
28937
|
-
* * Parameters used to specify an inbound security group rule that
|
|
28941
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set NicType to intranet. For a security group of the classic network type, you can set NicType to internet or intranet. Sample request:
|
|
28938
28942
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28939
28943
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28940
28944
|
* &Permissions.1.SourceCidrIp=10.0.0.0/8
|
|
@@ -28943,7 +28947,7 @@ export default class Client extends OpenApi {
|
|
|
28943
28947
|
* &Permissions.1.NicType=intranet
|
|
28944
28948
|
* &Permissions.1.Policy=Accept
|
|
28945
28949
|
* &<Common request parameters>
|
|
28946
|
-
* * Parameters used to specify an inbound security group rule that
|
|
28950
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. If you specify this group of parameters, you must set NicType to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
|
|
28947
28951
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28948
28952
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28949
28953
|
* &Permissions.1.SourceGroupId=sg-1651FBB**
|
|
@@ -28953,7 +28957,7 @@ export default class Client extends OpenApi {
|
|
|
28953
28957
|
* &Permissions.1.NicType=intranet
|
|
28954
28958
|
* &Permissions.1.Policy=Drop
|
|
28955
28959
|
* &<Common request parameters>
|
|
28956
|
-
* * Parameters used to specify an
|
|
28960
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must specify NicType to intranet. Sample request:
|
|
28957
28961
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28958
28962
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28959
28963
|
* &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
@@ -28963,7 +28967,7 @@ export default class Client extends OpenApi {
|
|
|
28963
28967
|
* &Permissions.1.NicType=intranet
|
|
28964
28968
|
* &Permissions.1.Policy=Drop
|
|
28965
28969
|
* &<Common request parameters>
|
|
28966
|
-
* * For
|
|
28970
|
+
* * For examples on how to configure security group rules, see [Security groups for different use cases](~~25475~~) and [Security group quintuple rules](~~97439~~).
|
|
28967
28971
|
*
|
|
28968
28972
|
* @param request AuthorizeSecurityGroupRequest
|
|
28969
28973
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28971,17 +28975,18 @@ export default class Client extends OpenApi {
|
|
|
28971
28975
|
*/
|
|
28972
28976
|
authorizeSecurityGroupWithOptions(request: AuthorizeSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<AuthorizeSecurityGroupResponse>;
|
|
28973
28977
|
/**
|
|
28978
|
+
* In security group-related API documents, traffic is sent from the source to the destination.
|
|
28974
28979
|
* When you call this operation, take note of the following items:
|
|
28975
|
-
* * The total number of
|
|
28976
|
-
* * The valid
|
|
28977
|
-
* *
|
|
28978
|
-
* * The source can be a CIDR block specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId
|
|
28979
|
-
* *
|
|
28980
|
-
* *
|
|
28981
|
-
* * If the specified security group rule exists in the security group, the
|
|
28982
|
-
* * The `Permissions.N` prefix is added to
|
|
28980
|
+
* * The total number of outbound and inbound rules of each security group cannot exceed 200. For more information, see the "Security group limits" section in [Limits](~~25412#SecurityGroupQuota1~~).
|
|
28981
|
+
* * The valid values of Priority range from 1 to 100. A smaller value specifies a higher priority.
|
|
28982
|
+
* * If several security group rules have the same priority, drop rules take precedence.
|
|
28983
|
+
* * 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
|
+
* * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
|
|
28985
|
+
* * 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 operation is successful but no security group rule is added to the security group.
|
|
28987
|
+
* * The `Permissions.N` prefix is added to specific parameters to generate new parameters. You cannot specify the original parameters and the parameters that contain the Permissions.N prefix at the same time. We recommend that you use the parameters that contain the `Permissions.N` prefix.
|
|
28983
28988
|
* * 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.
|
|
28984
|
-
* * Parameters used to specify an inbound security group rule that
|
|
28989
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set NicType to intranet. For a security group of the classic network type, you can set NicType to internet or intranet. Sample request:
|
|
28985
28990
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28986
28991
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28987
28992
|
* &Permissions.1.SourceCidrIp=10.0.0.0/8
|
|
@@ -28990,7 +28995,7 @@ export default class Client extends OpenApi {
|
|
|
28990
28995
|
* &Permissions.1.NicType=intranet
|
|
28991
28996
|
* &Permissions.1.Policy=Accept
|
|
28992
28997
|
* &<Common request parameters>
|
|
28993
|
-
* * Parameters used to specify an inbound security group rule that
|
|
28998
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. If you specify this group of parameters, you must set NicType to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
|
|
28994
28999
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28995
29000
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28996
29001
|
* &Permissions.1.SourceGroupId=sg-1651FBB**
|
|
@@ -29000,7 +29005,7 @@ export default class Client extends OpenApi {
|
|
|
29000
29005
|
* &Permissions.1.NicType=intranet
|
|
29001
29006
|
* &Permissions.1.Policy=Drop
|
|
29002
29007
|
* &<Common request parameters>
|
|
29003
|
-
* * Parameters used to specify an
|
|
29008
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must specify NicType to intranet. Sample request:
|
|
29004
29009
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
29005
29010
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
29006
29011
|
* &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
@@ -29010,53 +29015,14 @@ export default class Client extends OpenApi {
|
|
|
29010
29015
|
* &Permissions.1.NicType=intranet
|
|
29011
29016
|
* &Permissions.1.Policy=Drop
|
|
29012
29017
|
* &<Common request parameters>
|
|
29013
|
-
* * For
|
|
29018
|
+
* * For examples on how to configure security group rules, see [Security groups for different use cases](~~25475~~) and [Security group quintuple rules](~~97439~~).
|
|
29014
29019
|
*
|
|
29015
29020
|
* @param request AuthorizeSecurityGroupRequest
|
|
29016
29021
|
* @return AuthorizeSecurityGroupResponse
|
|
29017
29022
|
*/
|
|
29018
29023
|
authorizeSecurityGroup(request: AuthorizeSecurityGroupRequest): Promise<AuthorizeSecurityGroupResponse>;
|
|
29019
29024
|
/**
|
|
29020
|
-
*
|
|
29021
|
-
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [](~~25412#SecurityGroupQuota1~~).
|
|
29022
|
-
* * You can set Policy to accept or drop for each security group rule to allow or deny access.
|
|
29023
|
-
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
29024
|
-
* * When several security group rules have the same priority, drop rules take precedence.
|
|
29025
|
-
* * The destination can be a CIDR block specified by DestCidrIp, Ipv6DestCidrIp, or DestPrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by DestGroupId.
|
|
29026
|
-
* * Security groups cannot be referenced as authorization objects in the rules of advanced security groups.
|
|
29027
|
-
* * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
|
|
29028
|
-
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
29029
|
-
* * The `Permissions.N` prefix is added to certain parameters to generate new parameters. Original parameters and parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
29030
|
-
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
29031
|
-
* * Parameters used to specify a security group rule that controls access to a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestCidrIp. Sample request:
|
|
29032
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29033
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29034
|
-
* &Permissions.1.IpProtocol=ICMP
|
|
29035
|
-
* &Permissions.1.DestCidrIp=10.0.0.0/8
|
|
29036
|
-
* &Permissions.1.PortRange=-1/-1
|
|
29037
|
-
* &Permissions.1.NicType=intranet
|
|
29038
|
-
* &Permissions.1.Policy=Accept
|
|
29039
|
-
* &<Common request parameters>
|
|
29040
|
-
* * 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:
|
|
29041
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29042
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29043
|
-
* &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
|
|
29044
|
-
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
29045
|
-
* &Permissions.1.IpProtocol=TCP
|
|
29046
|
-
* &Permissions.1.PortRange=22/22
|
|
29047
|
-
* &Permissions.1.NicType=intranet
|
|
29048
|
-
* &Permissions.1.Policy=Drop
|
|
29049
|
-
* &<Common request parameters>
|
|
29050
|
-
* * 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:
|
|
29051
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29052
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29053
|
-
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
29054
|
-
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
29055
|
-
* &Permissions.1.IpProtocol=TCP
|
|
29056
|
-
* &Permissions.1.PortRange=22/22
|
|
29057
|
-
* &Permissions.1.NicType=intranet
|
|
29058
|
-
* &Permissions.1.Policy=Drop
|
|
29059
|
-
* &<Common request parameters>
|
|
29025
|
+
* The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
29060
29026
|
*
|
|
29061
29027
|
* @param request AuthorizeSecurityGroupEgressRequest
|
|
29062
29028
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29064,46 +29030,7 @@ export default class Client extends OpenApi {
|
|
|
29064
29030
|
*/
|
|
29065
29031
|
authorizeSecurityGroupEgressWithOptions(request: AuthorizeSecurityGroupEgressRequest, runtime: $Util.RuntimeOptions): Promise<AuthorizeSecurityGroupEgressResponse>;
|
|
29066
29032
|
/**
|
|
29067
|
-
*
|
|
29068
|
-
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [](~~25412#SecurityGroupQuota1~~).
|
|
29069
|
-
* * You can set Policy to accept or drop for each security group rule to allow or deny access.
|
|
29070
|
-
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
29071
|
-
* * When several security group rules have the same priority, drop rules take precedence.
|
|
29072
|
-
* * The destination can be a CIDR block specified by DestCidrIp, Ipv6DestCidrIp, or DestPrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by DestGroupId.
|
|
29073
|
-
* * Security groups cannot be referenced as authorization objects in the rules of advanced security groups.
|
|
29074
|
-
* * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
|
|
29075
|
-
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
29076
|
-
* * The `Permissions.N` prefix is added to certain parameters to generate new parameters. Original parameters and parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
29077
|
-
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
29078
|
-
* * Parameters used to specify a security group rule that controls access to a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestCidrIp. Sample request:
|
|
29079
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29080
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29081
|
-
* &Permissions.1.IpProtocol=ICMP
|
|
29082
|
-
* &Permissions.1.DestCidrIp=10.0.0.0/8
|
|
29083
|
-
* &Permissions.1.PortRange=-1/-1
|
|
29084
|
-
* &Permissions.1.NicType=intranet
|
|
29085
|
-
* &Permissions.1.Policy=Accept
|
|
29086
|
-
* &<Common request parameters>
|
|
29087
|
-
* * 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:
|
|
29088
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29089
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29090
|
-
* &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
|
|
29091
|
-
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
29092
|
-
* &Permissions.1.IpProtocol=TCP
|
|
29093
|
-
* &Permissions.1.PortRange=22/22
|
|
29094
|
-
* &Permissions.1.NicType=intranet
|
|
29095
|
-
* &Permissions.1.Policy=Drop
|
|
29096
|
-
* &<Common request parameters>
|
|
29097
|
-
* * 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:
|
|
29098
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
29099
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
29100
|
-
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
29101
|
-
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
29102
|
-
* &Permissions.1.IpProtocol=TCP
|
|
29103
|
-
* &Permissions.1.PortRange=22/22
|
|
29104
|
-
* &Permissions.1.NicType=intranet
|
|
29105
|
-
* &Permissions.1.Policy=Drop
|
|
29106
|
-
* &<Common request parameters>
|
|
29033
|
+
* The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
29107
29034
|
*
|
|
29108
29035
|
* @param request AuthorizeSecurityGroupEgressRequest
|
|
29109
29036
|
* @return AuthorizeSecurityGroupEgressResponse
|
|
@@ -29114,7 +29041,7 @@ export default class Client extends OpenApi {
|
|
|
29114
29041
|
/**
|
|
29115
29042
|
* When you call this operation, take note of the following items:
|
|
29116
29043
|
* * After you cancel an image copy task, the image copy created in the destination region is deleted, and the copied image remains unchanged.
|
|
29117
|
-
* * If the image copy task is complete, the CancelCopyImage operation fails and an error is returned.
|
|
29044
|
+
* * If the image copy task is complete, the CancelCopyImage operation fails, and an error is returned.
|
|
29118
29045
|
*
|
|
29119
29046
|
* @param request CancelCopyImageRequest
|
|
29120
29047
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29124,7 +29051,7 @@ export default class Client extends OpenApi {
|
|
|
29124
29051
|
/**
|
|
29125
29052
|
* When you call this operation, take note of the following items:
|
|
29126
29053
|
* * After you cancel an image copy task, the image copy created in the destination region is deleted, and the copied image remains unchanged.
|
|
29127
|
-
* * If the image copy task is complete, the CancelCopyImage operation fails and an error is returned.
|
|
29054
|
+
* * If the image copy task is complete, the CancelCopyImage operation fails, and an error is returned.
|
|
29128
29055
|
*
|
|
29129
29056
|
* @param request CancelCopyImageRequest
|
|
29130
29057
|
* @return CancelCopyImageResponse
|
|
@@ -29180,9 +29107,9 @@ export default class Client extends OpenApi {
|
|
|
29180
29107
|
*/
|
|
29181
29108
|
connectRouterInterface(request: ConnectRouterInterfaceRequest): Promise<ConnectRouterInterfaceResponse>;
|
|
29182
29109
|
/**
|
|
29183
|
-
* After a public IP address is converted
|
|
29184
|
-
*
|
|
29185
|
-
* * The instance is in the
|
|
29110
|
+
* After a public IP address is converted into an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
|
|
29111
|
+
* When you call this operation, make sure that the following requirements are met:
|
|
29112
|
+
* * The instance is in the `Stopped` or `Running` state.********
|
|
29186
29113
|
* * No EIPs are associated with the instance.
|
|
29187
29114
|
* * The instance has no configuration change tasks that have not taken effect.
|
|
29188
29115
|
* * The public bandwidth of the instance is not 0 Mbit/s.
|
|
@@ -29195,9 +29122,9 @@ export default class Client extends OpenApi {
|
|
|
29195
29122
|
*/
|
|
29196
29123
|
convertNatPublicIpToEipWithOptions(request: ConvertNatPublicIpToEipRequest, runtime: $Util.RuntimeOptions): Promise<ConvertNatPublicIpToEipResponse>;
|
|
29197
29124
|
/**
|
|
29198
|
-
* After a public IP address is converted
|
|
29199
|
-
*
|
|
29200
|
-
* * The instance is in the
|
|
29125
|
+
* After a public IP address is converted into an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
|
|
29126
|
+
* When you call this operation, make sure that the following requirements are met:
|
|
29127
|
+
* * The instance is in the `Stopped` or `Running` state.********
|
|
29201
29128
|
* * No EIPs are associated with the instance.
|
|
29202
29129
|
* * The instance has no configuration change tasks that have not taken effect.
|
|
29203
29130
|
* * The public bandwidth of the instance is not 0 Mbit/s.
|
|
@@ -29209,13 +29136,13 @@ export default class Client extends OpenApi {
|
|
|
29209
29136
|
*/
|
|
29210
29137
|
convertNatPublicIpToEip(request: ConvertNatPublicIpToEipRequest): Promise<ConvertNatPublicIpToEipResponse>;
|
|
29211
29138
|
/**
|
|
29212
|
-
* After you copy a custom image (source image) to the destination region, you can use the image copy to create ECS instances by calling the RunInstances operation or replace the system disks of ECS instances by calling the ReplaceSystemDisk operation in the destination region.
|
|
29213
|
-
*
|
|
29139
|
+
* After you copy a custom image (source image) to the destination region, you can use the image copy to create ECS instances by calling the RunInstances operation or replace the system disks of the ECS instances by calling the ReplaceSystemDisk operation in the destination region.
|
|
29140
|
+
* When you call this operation, take note of the following items:
|
|
29214
29141
|
* * You can copy only custom images that are in the `Available` state.
|
|
29215
|
-
* * Custom images that you want to copy must belong to your Alibaba Cloud account or be shared
|
|
29216
|
-
* * When an image is being copied, the
|
|
29217
|
-
* * A region can have only one image copying task running at a time. Other image copying tasks queue up for the current task to complete before the tasks run in sequence.
|
|
29218
|
-
* * You can configure the `ResourceGroupId` parameter to specify the resource group to which
|
|
29142
|
+
* * Custom images that you want to copy must belong to your Alibaba Cloud account or be shared to you by others, and cannot be copied across accounts.
|
|
29143
|
+
* * When an image is being copied, the image copy cannot be deleted by calling the [DeleteImage](~~25537~~) operation. However, you can cancel the copying task that is running by calling the [CancelCopyImage](~~25539~~) operation.
|
|
29144
|
+
* * A region can have only one image copying task running at a time. Other image copying tasks queue up for the current task to complete before the tasks can run in sequence.
|
|
29145
|
+
* * You can configure the `ResourceGroupId` parameter to specify the resource group to which the image copy belongs. If you do not configure the `ResourceGroupId` parameter, the image copy belongs to the default resource group.
|
|
29219
29146
|
*
|
|
29220
29147
|
* @param request CopyImageRequest
|
|
29221
29148
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29223,13 +29150,13 @@ export default class Client extends OpenApi {
|
|
|
29223
29150
|
*/
|
|
29224
29151
|
copyImageWithOptions(request: CopyImageRequest, runtime: $Util.RuntimeOptions): Promise<CopyImageResponse>;
|
|
29225
29152
|
/**
|
|
29226
|
-
* After you copy a custom image (source image) to the destination region, you can use the image copy to create ECS instances by calling the RunInstances operation or replace the system disks of ECS instances by calling the ReplaceSystemDisk operation in the destination region.
|
|
29227
|
-
*
|
|
29153
|
+
* After you copy a custom image (source image) to the destination region, you can use the image copy to create ECS instances by calling the RunInstances operation or replace the system disks of the ECS instances by calling the ReplaceSystemDisk operation in the destination region.
|
|
29154
|
+
* When you call this operation, take note of the following items:
|
|
29228
29155
|
* * You can copy only custom images that are in the `Available` state.
|
|
29229
|
-
* * Custom images that you want to copy must belong to your Alibaba Cloud account or be shared
|
|
29230
|
-
* * When an image is being copied, the
|
|
29231
|
-
* * A region can have only one image copying task running at a time. Other image copying tasks queue up for the current task to complete before the tasks run in sequence.
|
|
29232
|
-
* * You can configure the `ResourceGroupId` parameter to specify the resource group to which
|
|
29156
|
+
* * Custom images that you want to copy must belong to your Alibaba Cloud account or be shared to you by others, and cannot be copied across accounts.
|
|
29157
|
+
* * When an image is being copied, the image copy cannot be deleted by calling the [DeleteImage](~~25537~~) operation. However, you can cancel the copying task that is running by calling the [CancelCopyImage](~~25539~~) operation.
|
|
29158
|
+
* * A region can have only one image copying task running at a time. Other image copying tasks queue up for the current task to complete before the tasks can run in sequence.
|
|
29159
|
+
* * You can configure the `ResourceGroupId` parameter to specify the resource group to which the image copy belongs. If you do not configure the `ResourceGroupId` parameter, the image copy belongs to the default resource group.
|
|
29233
29160
|
*
|
|
29234
29161
|
* @param request CopyImageRequest
|
|
29235
29162
|
* @return CopyImageResponse
|
|
@@ -29257,19 +29184,8 @@ export default class Client extends OpenApi {
|
|
|
29257
29184
|
*/
|
|
29258
29185
|
copySnapshot(request: CopySnapshotRequest): Promise<CopySnapshotResponse>;
|
|
29259
29186
|
/**
|
|
29260
|
-
*
|
|
29261
|
-
*
|
|
29262
|
-
* * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
|
|
29263
|
-
* * CentOS 6, CentOS 7, CentOS 8, and later
|
|
29264
|
-
* * Debian 8, Debian 9, Debian 10, and later
|
|
29265
|
-
* * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
|
|
29266
|
-
* * CoreOS
|
|
29267
|
-
* * OpenSUSE
|
|
29268
|
-
* * Red Hat 5, Red Hat 6, Red Hat 7, and later
|
|
29269
|
-
* * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
|
|
29270
|
-
* * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
|
|
29271
|
-
* You can create up to 5,000 activation codes for managed instances within an Alibaba Cloud region. When the number of activation codes exceeds 1,000, the usage of activation codes must be greater than 50% before you can proceed to create more activation codes.
|
|
29272
|
-
* > You can go to the **Cloud Assistant** page in the Elastic Compute Service (ECS) console and click **Register Instance** on the **Managed Instances** tab to check the usage of activation codes.
|
|
29187
|
+
* The ID of the region in which you want to create the activation code. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
|
|
29188
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
29273
29189
|
*
|
|
29274
29190
|
* @param request CreateActivationRequest
|
|
29275
29191
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29277,29 +29193,18 @@ export default class Client extends OpenApi {
|
|
|
29277
29193
|
*/
|
|
29278
29194
|
createActivationWithOptions(request: CreateActivationRequest, runtime: $Util.RuntimeOptions): Promise<CreateActivationResponse>;
|
|
29279
29195
|
/**
|
|
29280
|
-
*
|
|
29281
|
-
*
|
|
29282
|
-
* * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
|
|
29283
|
-
* * CentOS 6, CentOS 7, CentOS 8, and later
|
|
29284
|
-
* * Debian 8, Debian 9, Debian 10, and later
|
|
29285
|
-
* * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
|
|
29286
|
-
* * CoreOS
|
|
29287
|
-
* * OpenSUSE
|
|
29288
|
-
* * Red Hat 5, Red Hat 6, Red Hat 7, and later
|
|
29289
|
-
* * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
|
|
29290
|
-
* * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
|
|
29291
|
-
* You can create up to 5,000 activation codes for managed instances within an Alibaba Cloud region. When the number of activation codes exceeds 1,000, the usage of activation codes must be greater than 50% before you can proceed to create more activation codes.
|
|
29292
|
-
* > You can go to the **Cloud Assistant** page in the Elastic Compute Service (ECS) console and click **Register Instance** on the **Managed Instances** tab to check the usage of activation codes.
|
|
29196
|
+
* The ID of the region in which you want to create the activation code. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
|
|
29197
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
29293
29198
|
*
|
|
29294
29199
|
* @param request CreateActivationRequest
|
|
29295
29200
|
* @return CreateActivationResponse
|
|
29296
29201
|
*/
|
|
29297
29202
|
createActivation(request: CreateActivationRequest): Promise<CreateActivationResponse>;
|
|
29298
29203
|
/**
|
|
29299
|
-
* *
|
|
29300
|
-
* *
|
|
29301
|
-
* *
|
|
29302
|
-
* *
|
|
29204
|
+
* * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of preemptible and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](~~200772~~).
|
|
29205
|
+
* * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on computing capacity when preemptible instances are reclaimed.
|
|
29206
|
+
* * Auto Provisioning is provided free-of-charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information about the billing, see [Overview](~~52088~~) and [Pay-as-you-go](~~40653~~).
|
|
29207
|
+
* * If you specify both the `LaunchTemplate*` and `LaunchConfiguration.*` parameters, the LaunchTemplate\\* parameter takes precedence.
|
|
29303
29208
|
*
|
|
29304
29209
|
* @param request CreateAutoProvisioningGroupRequest
|
|
29305
29210
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29307,10 +29212,10 @@ export default class Client extends OpenApi {
|
|
|
29307
29212
|
*/
|
|
29308
29213
|
createAutoProvisioningGroupWithOptions(request: CreateAutoProvisioningGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateAutoProvisioningGroupResponse>;
|
|
29309
29214
|
/**
|
|
29310
|
-
* *
|
|
29311
|
-
* *
|
|
29312
|
-
* *
|
|
29313
|
-
* *
|
|
29215
|
+
* * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of preemptible and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](~~200772~~).
|
|
29216
|
+
* * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on computing capacity when preemptible instances are reclaimed.
|
|
29217
|
+
* * Auto Provisioning is provided free-of-charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information about the billing, see [Overview](~~52088~~) and [Pay-as-you-go](~~40653~~).
|
|
29218
|
+
* * If you specify both the `LaunchTemplate*` and `LaunchConfiguration.*` parameters, the LaunchTemplate\\* parameter takes precedence.
|
|
29314
29219
|
*
|
|
29315
29220
|
* @param request CreateAutoProvisioningGroupRequest
|
|
29316
29221
|
* @return CreateAutoProvisioningGroupResponse
|
|
@@ -29340,12 +29245,12 @@ export default class Client extends OpenApi {
|
|
|
29340
29245
|
*/
|
|
29341
29246
|
createAutoSnapshotPolicy(request: CreateAutoSnapshotPolicyRequest): Promise<CreateAutoSnapshotPolicyResponse>;
|
|
29342
29247
|
/**
|
|
29343
|
-
* When you create a capacity reservation, you can specify attributes such as a zone and an instance type.
|
|
29344
|
-
* * Currently, only immediate capacity reservations are supported. Immediate capacity reservations take effect
|
|
29345
|
-
* * You can call the [CreateInstance](~~25499~~) or [RunInstances](~~63440~~) operation to specify private pool attributes when you create instances.
|
|
29346
|
-
* * Before a capacity reservation
|
|
29347
|
-
* *
|
|
29348
|
-
* >
|
|
29248
|
+
* When you create a capacity reservation, you can specify attributes such as a zone and an instance type. The system uses a private pool to reserve resources that match the specified attributes. For more information, see [Overview of Immediate Capacity Reservation](~~193633~~).
|
|
29249
|
+
* * Currently, only immediate capacity reservations are supported. Immediate capacity reservations take effect immediately after you purchase them. After you purchase an immediate capacity reservation, you are charged for the specified instance type based on the pay-as-you-go billing method regardless of whether you use the capacity reservation to create pay-as-you-go instances. Billing stops when you manually release the capacity reservation or when the capacity reservation expires and is automatically released.
|
|
29250
|
+
* * You can call the [CreateInstance](~~25499~~) or [RunInstances](~~63440~~) operation to specify private pool attributes when you create instances. To modify the attributes of a private pool, you can call the [ModifyInstanceAttachmentAttributes](~~190006~~) operation. If an instance matches a private pool associated with a capacity reservation, you are charged based on the configurations of the instance such as the instance type, disks, and public bandwidth.
|
|
29251
|
+
* * Before you use a private pool associated with a capacity reservation to create pay-as-you-go instances, you are charged only for the specified instance type.
|
|
29252
|
+
* * You can apply savings plans or regional reserved instances to offset hourly billing of unused immediate capacity reservations, and hourly fees of the instances that match the immediate capacity reservations. However, you cannot use zonal reserved instances to offset the hourly fees. We recommend that you purchase reserved instances or savings plans before you purchase immediate capacity reservations. This way, you can access resources free of charge within the coverage of the reserved instances or savings plans.
|
|
29253
|
+
* > You can call the CreateCapacityReservation operation to create only immediate capacity reservations. You can create immediate or scheduled capacity reservations in the Elastic Compute Service (ECS) console. For more information, see [Overview](~~193626#section-oil-qh5-xvx~~).
|
|
29349
29254
|
*
|
|
29350
29255
|
* @param request CreateCapacityReservationRequest
|
|
29351
29256
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29353,12 +29258,12 @@ export default class Client extends OpenApi {
|
|
|
29353
29258
|
*/
|
|
29354
29259
|
createCapacityReservationWithOptions(request: CreateCapacityReservationRequest, runtime: $Util.RuntimeOptions): Promise<CreateCapacityReservationResponse>;
|
|
29355
29260
|
/**
|
|
29356
|
-
* When you create a capacity reservation, you can specify attributes such as a zone and an instance type.
|
|
29357
|
-
* * Currently, only immediate capacity reservations are supported. Immediate capacity reservations take effect
|
|
29358
|
-
* * You can call the [CreateInstance](~~25499~~) or [RunInstances](~~63440~~) operation to specify private pool attributes when you create instances.
|
|
29359
|
-
* * Before a capacity reservation
|
|
29360
|
-
* *
|
|
29361
|
-
* >
|
|
29261
|
+
* When you create a capacity reservation, you can specify attributes such as a zone and an instance type. The system uses a private pool to reserve resources that match the specified attributes. For more information, see [Overview of Immediate Capacity Reservation](~~193633~~).
|
|
29262
|
+
* * Currently, only immediate capacity reservations are supported. Immediate capacity reservations take effect immediately after you purchase them. After you purchase an immediate capacity reservation, you are charged for the specified instance type based on the pay-as-you-go billing method regardless of whether you use the capacity reservation to create pay-as-you-go instances. Billing stops when you manually release the capacity reservation or when the capacity reservation expires and is automatically released.
|
|
29263
|
+
* * You can call the [CreateInstance](~~25499~~) or [RunInstances](~~63440~~) operation to specify private pool attributes when you create instances. To modify the attributes of a private pool, you can call the [ModifyInstanceAttachmentAttributes](~~190006~~) operation. If an instance matches a private pool associated with a capacity reservation, you are charged based on the configurations of the instance such as the instance type, disks, and public bandwidth.
|
|
29264
|
+
* * Before you use a private pool associated with a capacity reservation to create pay-as-you-go instances, you are charged only for the specified instance type.
|
|
29265
|
+
* * You can apply savings plans or regional reserved instances to offset hourly billing of unused immediate capacity reservations, and hourly fees of the instances that match the immediate capacity reservations. However, you cannot use zonal reserved instances to offset the hourly fees. We recommend that you purchase reserved instances or savings plans before you purchase immediate capacity reservations. This way, you can access resources free of charge within the coverage of the reserved instances or savings plans.
|
|
29266
|
+
* > You can call the CreateCapacityReservation operation to create only immediate capacity reservations. You can create immediate or scheduled capacity reservations in the Elastic Compute Service (ECS) console. For more information, see [Overview](~~193626#section-oil-qh5-xvx~~).
|
|
29362
29267
|
*
|
|
29363
29268
|
* @param request CreateCapacityReservationRequest
|
|
29364
29269
|
* @return CreateCapacityReservationResponse
|
|
@@ -29431,14 +29336,12 @@ export default class Client extends OpenApi {
|
|
|
29431
29336
|
createDiagnosticReportWithOptions(request: CreateDiagnosticReportRequest, runtime: $Util.RuntimeOptions): Promise<CreateDiagnosticReportResponse>;
|
|
29432
29337
|
createDiagnosticReport(request: CreateDiagnosticReportRequest): Promise<CreateDiagnosticReportResponse>;
|
|
29433
29338
|
/**
|
|
29434
|
-
*
|
|
29435
|
-
* * You can enable the multi-attach feature when you create a disk. We recommend that you first understand this feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
29436
|
-
* <!---->
|
|
29339
|
+
* * When you create a disk, the multi-attach (`MultiAttach`) feature can be enabled. Before you enable the multi-attach feature, we recommend that you get familiar with the multi-attach feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
29437
29340
|
* * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
|
|
29438
|
-
* * When you create disks, you may be charged for the resources used. We recommend that you
|
|
29439
|
-
* * By default, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This
|
|
29440
|
-
* * If you do not
|
|
29441
|
-
* *
|
|
29341
|
+
* * 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, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This specifies that the automatic snapshots be deleted when the disk is released. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
|
|
29343
|
+
* * If you do not specify the performance level when you create an ESSD, the disk is created as a PL1 ESSD by default. You can call the [ModifyDiskSpec](~~123780~~) operation to change the performance level of the ESSD.
|
|
29344
|
+
* * Disks that are created by calling this operation have their `Portable` attribute set to `true` and the billing method set to pay-as-you-go.
|
|
29442
29345
|
*
|
|
29443
29346
|
* @param request CreateDiskRequest
|
|
29444
29347
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29446,14 +29349,12 @@ export default class Client extends OpenApi {
|
|
|
29446
29349
|
*/
|
|
29447
29350
|
createDiskWithOptions(request: CreateDiskRequest, runtime: $Util.RuntimeOptions): Promise<CreateDiskResponse>;
|
|
29448
29351
|
/**
|
|
29449
|
-
*
|
|
29450
|
-
* * You can enable the multi-attach feature when you create a disk. We recommend that you first understand this feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
29451
|
-
* <!---->
|
|
29352
|
+
* * When you create a disk, the multi-attach (`MultiAttach`) feature can be enabled. Before you enable the multi-attach feature, we recommend that you get familiar with the multi-attach feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
29452
29353
|
* * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
|
|
29453
|
-
* * When you create disks, you may be charged for the resources used. We recommend that you
|
|
29454
|
-
* * By default, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This
|
|
29455
|
-
* * If you do not
|
|
29456
|
-
* *
|
|
29354
|
+
* * 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, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This specifies that the automatic snapshots be deleted when the disk is released. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
|
|
29356
|
+
* * If you do not specify the performance level when you create an ESSD, the disk is created as a PL1 ESSD by default. You can call the [ModifyDiskSpec](~~123780~~) operation to change the performance level of the ESSD.
|
|
29357
|
+
* * Disks that are created by calling this operation have their `Portable` attribute set to `true` and the billing method set to pay-as-you-go.
|
|
29457
29358
|
*
|
|
29458
29359
|
* @param request CreateDiskRequest
|
|
29459
29360
|
* @return CreateDiskResponse
|
|
@@ -29463,7 +29364,7 @@ export default class Client extends OpenApi {
|
|
|
29463
29364
|
* Elasticity Assurance provides a new method to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
|
|
29464
29365
|
* * Elasticity assurances are not refundable after purchase.
|
|
29465
29366
|
* * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
|
|
29466
|
-
* * Elasticity assurances only support
|
|
29367
|
+
* * 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.
|
|
29467
29368
|
*
|
|
29468
29369
|
* @param request CreateElasticityAssuranceRequest
|
|
29469
29370
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29474,7 +29375,7 @@ export default class Client extends OpenApi {
|
|
|
29474
29375
|
* Elasticity Assurance provides a new method to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
|
|
29475
29376
|
* * Elasticity assurances are not refundable after purchase.
|
|
29476
29377
|
* * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
|
|
29477
|
-
* * Elasticity assurances only support
|
|
29378
|
+
* * 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.
|
|
29478
29379
|
*
|
|
29479
29380
|
* @param request CreateElasticityAssuranceRequest
|
|
29480
29381
|
* @return CreateElasticityAssuranceResponse
|
|
@@ -29514,17 +29415,17 @@ export default class Client extends OpenApi {
|
|
|
29514
29415
|
createHpcCluster(request: CreateHpcClusterRequest): Promise<CreateHpcClusterResponse>;
|
|
29515
29416
|
/**
|
|
29516
29417
|
* When you call this operation, take note of the following items:
|
|
29517
|
-
* * You can use the created custom image only
|
|
29518
|
-
* * If the
|
|
29519
|
-
* You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more
|
|
29520
|
-
* * **Method 1**: Create a custom image from an instance. You need to only specify the
|
|
29521
|
-
* * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot
|
|
29522
|
-
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots
|
|
29523
|
-
* When you use
|
|
29418
|
+
* * You can use the created custom image only when the image is in the Available state.
|
|
29419
|
+
* * If the responses contain `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons. In this case, no operation can be performed on the instance.
|
|
29420
|
+
* You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more parameters, the custom image is created based on the parameter that has a higher priority.
|
|
29421
|
+
* * **Method 1**: Create a custom image from an instance. You need to only specify the instance ID (`InstanceId`). The instance must be in the `Running` or `Stopped` state. After the CreateImage operation is called, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, some cache data may not be written to the disks. As a result, the data of the created custom image may be slightly inconsistent with that of the instance. We recommend that you create custom images from instances after you stop the instances ([StopInstances](~~155372~~)).
|
|
29422
|
+
* * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot (`SnapshotId`). The specified snapshot must be created on or after July 15, 2013.
|
|
29423
|
+
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots (`DiskDeviceMapping`).
|
|
29424
|
+
* When you use method 3 to create a custom image, take note of the following items:
|
|
29524
29425
|
* * You can specify only one system disk snapshot. The device name of the system disk must be /dev/xvda.
|
|
29525
|
-
* * You can specify multiple data disk snapshots. The device names of the data disks
|
|
29526
|
-
* * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk
|
|
29527
|
-
* * The specified disk snapshot must be created after July 15, 2013.
|
|
29426
|
+
* * You can specify multiple data disk snapshots. The device names of the data disks must be unique and in alphabetical order from /dev/xvdb to /dev/xvdz.
|
|
29427
|
+
* * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk with a specified size is created.
|
|
29428
|
+
* * The specified disk snapshot must be created on or after July 15, 2013.
|
|
29528
29429
|
*
|
|
29529
29430
|
* @param request CreateImageRequest
|
|
29530
29431
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29533,57 +29434,34 @@ export default class Client extends OpenApi {
|
|
|
29533
29434
|
createImageWithOptions(request: CreateImageRequest, runtime: $Util.RuntimeOptions): Promise<CreateImageResponse>;
|
|
29534
29435
|
/**
|
|
29535
29436
|
* When you call this operation, take note of the following items:
|
|
29536
|
-
* * You can use the created custom image only
|
|
29537
|
-
* * If the
|
|
29538
|
-
* You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more
|
|
29539
|
-
* * **Method 1**: Create a custom image from an instance. You need to only specify the
|
|
29540
|
-
* * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot
|
|
29541
|
-
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots
|
|
29542
|
-
* When you use
|
|
29437
|
+
* * You can use the created custom image only when the image is in the Available state.
|
|
29438
|
+
* * If the responses contain `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons. In this case, no operation can be performed on the instance.
|
|
29439
|
+
* You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more parameters, the custom image is created based on the parameter that has a higher priority.
|
|
29440
|
+
* * **Method 1**: Create a custom image from an instance. You need to only specify the instance ID (`InstanceId`). The instance must be in the `Running` or `Stopped` state. After the CreateImage operation is called, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, some cache data may not be written to the disks. As a result, the data of the created custom image may be slightly inconsistent with that of the instance. We recommend that you create custom images from instances after you stop the instances ([StopInstances](~~155372~~)).
|
|
29441
|
+
* * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot (`SnapshotId`). The specified snapshot must be created on or after July 15, 2013.
|
|
29442
|
+
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots (`DiskDeviceMapping`).
|
|
29443
|
+
* When you use method 3 to create a custom image, take note of the following items:
|
|
29543
29444
|
* * You can specify only one system disk snapshot. The device name of the system disk must be /dev/xvda.
|
|
29544
|
-
* * You can specify multiple data disk snapshots. The device names of the data disks
|
|
29545
|
-
* * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk
|
|
29546
|
-
* * The specified disk snapshot must be created after July 15, 2013.
|
|
29445
|
+
* * You can specify multiple data disk snapshots. The device names of the data disks must be unique and in alphabetical order from /dev/xvdb to /dev/xvdz.
|
|
29446
|
+
* * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk with a specified size is created.
|
|
29447
|
+
* * The specified disk snapshot must be created on or after July 15, 2013.
|
|
29547
29448
|
*
|
|
29548
29449
|
* @param request CreateImageRequest
|
|
29549
29450
|
* @return CreateImageResponse
|
|
29550
29451
|
*/
|
|
29551
29452
|
createImage(request: CreateImageRequest): Promise<CreateImageResponse>;
|
|
29552
|
-
/**
|
|
29553
|
-
* When you call this operation, take note of the following items:
|
|
29554
|
-
* * Only custom image components can be created.
|
|
29555
|
-
* * Image components can be used to create only Linux images, so you must set the `SystemType` parameter to Linux.
|
|
29556
|
-
* * You must configure the image component type to image building component by setting the `ComponentType` parameter to Build.
|
|
29557
|
-
* * You can use Dockerfile to edit the content of image components and then pass the edited content into the `Content` parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. `FROM` commands cannot be used in image components. For information about the commands that are supported, see [Commands supported by Image Builder](~~200206~~).
|
|
29558
|
-
* 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](~~197410~~).
|
|
29559
|
-
*
|
|
29560
|
-
* @param request CreateImageComponentRequest
|
|
29561
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
29562
|
-
* @return CreateImageComponentResponse
|
|
29563
|
-
*/
|
|
29564
29453
|
createImageComponentWithOptions(request: CreateImageComponentRequest, runtime: $Util.RuntimeOptions): Promise<CreateImageComponentResponse>;
|
|
29565
|
-
/**
|
|
29566
|
-
* When you call this operation, take note of the following items:
|
|
29567
|
-
* * Only custom image components can be created.
|
|
29568
|
-
* * Image components can be used to create only Linux images, so you must set the `SystemType` parameter to Linux.
|
|
29569
|
-
* * You must configure the image component type to image building component by setting the `ComponentType` parameter to Build.
|
|
29570
|
-
* * You can use Dockerfile to edit the content of image components and then pass the edited content into the `Content` parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. `FROM` commands cannot be used in image components. For information about the commands that are supported, see [Commands supported by Image Builder](~~200206~~).
|
|
29571
|
-
* 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](~~197410~~).
|
|
29572
|
-
*
|
|
29573
|
-
* @param request CreateImageComponentRequest
|
|
29574
|
-
* @return CreateImageComponentResponse
|
|
29575
|
-
*/
|
|
29576
29454
|
createImageComponent(request: CreateImageComponentRequest): Promise<CreateImageComponentResponse>;
|
|
29577
29455
|
/**
|
|
29578
|
-
* You can use image templates to specify custom image content and create images across regions and accounts. When you
|
|
29456
|
+
* 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:
|
|
29579
29457
|
* * You can create only custom image templates.
|
|
29580
|
-
* * You can
|
|
29581
|
-
* * When you use an image template to create an image, you must create an intermediate instance
|
|
29458
|
+
* * You can configure only public, custom, or shared Linux images or image families as the source images when you create image templates.
|
|
29459
|
+
* * When you use an image template to create an image, you must create an intermediate Elastic Compute Service (ECS) instance to help create the image. The intermediate instance is billed by using the pay-as-you-go billing method. For more information, see [Pay-as-you-go](~~40653~~).
|
|
29582
29460
|
* For the `BuildContent` parameter that specifies the content of image templates, take note of the following items:
|
|
29583
|
-
* * If the
|
|
29584
|
-
* * If the
|
|
29585
|
-
* * You can use Dockerfile to
|
|
29586
|
-
* You can use image components to create image templates in the
|
|
29461
|
+
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source images and `BaseImage` that specifies the source image.
|
|
29462
|
+
* * If the `BuildContent` value does not contain `FROM` commands, the system creates a `FROM` command that consists of the `BaseImageType` and `BaseImage` values in the format of `<BaseImageType>:<BaseImage>` and adds the command to the first line of the template content.
|
|
29463
|
+
* * You can use Dockerfile to edit the content of image templates and then pass the edited content into the `BuildContent` parameter. The content of an image template cannot exceed 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see [Description of commands supported by Image Builder](~~200206~~).
|
|
29464
|
+
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [Overview of Image Builder](~~197410~~).
|
|
29587
29465
|
*
|
|
29588
29466
|
* @param request CreateImagePipelineRequest
|
|
29589
29467
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29591,15 +29469,15 @@ export default class Client extends OpenApi {
|
|
|
29591
29469
|
*/
|
|
29592
29470
|
createImagePipelineWithOptions(request: CreateImagePipelineRequest, runtime: $Util.RuntimeOptions): Promise<CreateImagePipelineResponse>;
|
|
29593
29471
|
/**
|
|
29594
|
-
* You can use image templates to specify custom image content and create images across regions and accounts. When you
|
|
29472
|
+
* 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:
|
|
29595
29473
|
* * You can create only custom image templates.
|
|
29596
|
-
* * You can
|
|
29597
|
-
* * When you use an image template to create an image, you must create an intermediate instance
|
|
29474
|
+
* * You can configure only public, custom, or shared Linux images or image families as the source images when you create image templates.
|
|
29475
|
+
* * When you use an image template to create an image, you must create an intermediate Elastic Compute Service (ECS) instance to help create the image. The intermediate instance is billed by using the pay-as-you-go billing method. For more information, see [Pay-as-you-go](~~40653~~).
|
|
29598
29476
|
* For the `BuildContent` parameter that specifies the content of image templates, take note of the following items:
|
|
29599
|
-
* * If the
|
|
29600
|
-
* * If the
|
|
29601
|
-
* * You can use Dockerfile to
|
|
29602
|
-
* You can use image components to create image templates in the
|
|
29477
|
+
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source images and `BaseImage` that specifies the source image.
|
|
29478
|
+
* * If the `BuildContent` value does not contain `FROM` commands, the system creates a `FROM` command that consists of the `BaseImageType` and `BaseImage` values in the format of `<BaseImageType>:<BaseImage>` and adds the command to the first line of the template content.
|
|
29479
|
+
* * You can use Dockerfile to edit the content of image templates and then pass the edited content into the `BuildContent` parameter. The content of an image template cannot exceed 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see [Description of commands supported by Image Builder](~~200206~~).
|
|
29480
|
+
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [Overview of Image Builder](~~197410~~).
|
|
29603
29481
|
*
|
|
29604
29482
|
* @param request CreateImagePipelineRequest
|
|
29605
29483
|
* @return CreateImagePipelineResponse
|
|
@@ -29737,7 +29615,6 @@ export default class Client extends OpenApi {
|
|
|
29737
29615
|
*/
|
|
29738
29616
|
createLaunchTemplate(request: CreateLaunchTemplateRequest): Promise<CreateLaunchTemplateResponse>;
|
|
29739
29617
|
/**
|
|
29740
|
-
* ## Description
|
|
29741
29618
|
* If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. A maximum of 30 versions can be created for each launch template.
|
|
29742
29619
|
*
|
|
29743
29620
|
* @param request CreateLaunchTemplateVersionRequest
|
|
@@ -29746,7 +29623,6 @@ export default class Client extends OpenApi {
|
|
|
29746
29623
|
*/
|
|
29747
29624
|
createLaunchTemplateVersionWithOptions(request: CreateLaunchTemplateVersionRequest, runtime: $Util.RuntimeOptions): Promise<CreateLaunchTemplateVersionResponse>;
|
|
29748
29625
|
/**
|
|
29749
|
-
* ## Description
|
|
29750
29626
|
* If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. A maximum of 30 versions can be created for each launch template.
|
|
29751
29627
|
*
|
|
29752
29628
|
* @param request CreateLaunchTemplateVersionRequest
|
|
@@ -29769,7 +29645,6 @@ export default class Client extends OpenApi {
|
|
|
29769
29645
|
*/
|
|
29770
29646
|
createNatGateway(request: CreateNatGatewayRequest): Promise<CreateNatGatewayResponse>;
|
|
29771
29647
|
/**
|
|
29772
|
-
* ## Description
|
|
29773
29648
|
* When you call this operation, take note of the following items:
|
|
29774
29649
|
* * This operation is a synchronous operation. After an ENI is created, it immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
|
|
29775
29650
|
* * If the NetworkInterfaceId parameter is empty in the response, it indicates that no ENI is created. Call the operation again to create an ENI.
|
|
@@ -29785,7 +29660,6 @@ export default class Client extends OpenApi {
|
|
|
29785
29660
|
*/
|
|
29786
29661
|
createNetworkInterfaceWithOptions(request: CreateNetworkInterfaceRequest, runtime: $Util.RuntimeOptions): Promise<CreateNetworkInterfaceResponse>;
|
|
29787
29662
|
/**
|
|
29788
|
-
* ## Description
|
|
29789
29663
|
* When you call this operation, take note of the following items:
|
|
29790
29664
|
* * This operation is a synchronous operation. After an ENI is created, it immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
|
|
29791
29665
|
* * If the NetworkInterfaceId parameter is empty in the response, it indicates that no ENI is created. Call the operation again to create an ENI.
|
|
@@ -29817,14 +29691,7 @@ export default class Client extends OpenApi {
|
|
|
29817
29691
|
*/
|
|
29818
29692
|
createPhysicalConnection(request: CreatePhysicalConnectionRequest): Promise<CreatePhysicalConnectionResponse>;
|
|
29819
29693
|
/**
|
|
29820
|
-
*
|
|
29821
|
-
* * A prefix list is a set of one or more network prefixes (CIDR blocks). You can reference prefix lists to configure network rules for other network resources. For more information, see [Overview](~~206223~~).
|
|
29822
|
-
* * When you create a prefix list, take note of the following items:
|
|
29823
|
-
* * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
|
|
29824
|
-
* * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
|
|
29825
|
-
* * You can specify one or more entries for the prefix list. Each entry consists of a CIDR block and a description for the CIDR block. The total number of your specified entries cannot exceed the maximum number.
|
|
29826
|
-
* * For more information about the limits on prefix lists and other resources, see [Limits](~~25412~~).
|
|
29827
|
-
* * You can create RAM users and grant them minimum permissions. This eliminates the need to share the AccessKey pair of your Alibaba Cloud account with other users and reduces security risks for your enterprises. For information about how to grant permissions on prefix lists to RAM users, see [Grant permissions on prefix lists to RAM users](~~206175~~)
|
|
29694
|
+
* PrefixListNameSample
|
|
29828
29695
|
*
|
|
29829
29696
|
* @param request CreatePrefixListRequest
|
|
29830
29697
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29832,14 +29699,7 @@ export default class Client extends OpenApi {
|
|
|
29832
29699
|
*/
|
|
29833
29700
|
createPrefixListWithOptions(request: CreatePrefixListRequest, runtime: $Util.RuntimeOptions): Promise<CreatePrefixListResponse>;
|
|
29834
29701
|
/**
|
|
29835
|
-
*
|
|
29836
|
-
* * A prefix list is a set of one or more network prefixes (CIDR blocks). You can reference prefix lists to configure network rules for other network resources. For more information, see [Overview](~~206223~~).
|
|
29837
|
-
* * When you create a prefix list, take note of the following items:
|
|
29838
|
-
* * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
|
|
29839
|
-
* * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
|
|
29840
|
-
* * You can specify one or more entries for the prefix list. Each entry consists of a CIDR block and a description for the CIDR block. The total number of your specified entries cannot exceed the maximum number.
|
|
29841
|
-
* * For more information about the limits on prefix lists and other resources, see [Limits](~~25412~~).
|
|
29842
|
-
* * You can create RAM users and grant them minimum permissions. This eliminates the need to share the AccessKey pair of your Alibaba Cloud account with other users and reduces security risks for your enterprises. For information about how to grant permissions on prefix lists to RAM users, see [Grant permissions on prefix lists to RAM users](~~206175~~)
|
|
29702
|
+
* PrefixListNameSample
|
|
29843
29703
|
*
|
|
29844
29704
|
* @param request CreatePrefixListRequest
|
|
29845
29705
|
* @return CreatePrefixListResponse
|
|
@@ -29877,7 +29737,7 @@ export default class Client extends OpenApi {
|
|
|
29877
29737
|
createRouterInterface(request: CreateRouterInterfaceRequest): Promise<CreateRouterInterfaceResponse>;
|
|
29878
29738
|
/**
|
|
29879
29739
|
* When you call this operation, take note of the following items:
|
|
29880
|
-
* * You can create up to 100 security groups
|
|
29740
|
+
* * You can create up to 100 security groups within a single Alibaba Cloud region.
|
|
29881
29741
|
* * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
|
|
29882
29742
|
*
|
|
29883
29743
|
* @param request CreateSecurityGroupRequest
|
|
@@ -29887,7 +29747,7 @@ export default class Client extends OpenApi {
|
|
|
29887
29747
|
createSecurityGroupWithOptions(request: CreateSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateSecurityGroupResponse>;
|
|
29888
29748
|
/**
|
|
29889
29749
|
* When you call this operation, take note of the following items:
|
|
29890
|
-
* * You can create up to 100 security groups
|
|
29750
|
+
* * You can create up to 100 security groups within a single Alibaba Cloud region.
|
|
29891
29751
|
* * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
|
|
29892
29752
|
*
|
|
29893
29753
|
* @param request CreateSecurityGroupRequest
|
|
@@ -29920,21 +29780,21 @@ export default class Client extends OpenApi {
|
|
|
29920
29780
|
*/
|
|
29921
29781
|
createSimulatedSystemEvents(request: CreateSimulatedSystemEventsRequest): Promise<CreateSimulatedSystemEventsResponse>;
|
|
29922
29782
|
/**
|
|
29923
|
-
* The local snapshot feature is replaced by the instant access feature.
|
|
29783
|
+
* The local snapshot feature is replaced by the instant access feature. Parameter description:
|
|
29924
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:
|
|
29925
29785
|
* * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
|
|
29926
|
-
* * If
|
|
29786
|
+
* * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
|
|
29927
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.
|
|
29928
29788
|
* You cannot create snapshots for a disk in the following scenarios:
|
|
29929
29789
|
* * The number of manual snapshots of the disk has reached 256.
|
|
29930
29790
|
* * A snapshot is being created for the disk.
|
|
29931
29791
|
* * The instance to which the disk is attached has never been started.
|
|
29932
|
-
* * The ECS instance to which the disk is attached is not in the **Stopped**
|
|
29792
|
+
* * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
|
|
29933
29793
|
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
29934
29794
|
* When you create a snapshot, take note of the following items:
|
|
29935
29795
|
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
|
|
29936
29796
|
* * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
|
|
29937
|
-
* * You can create snapshots for a disk that is in the **Expired**
|
|
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.``
|
|
29938
29798
|
*
|
|
29939
29799
|
* @param request CreateSnapshotRequest
|
|
29940
29800
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29942,38 +29802,38 @@ export default class Client extends OpenApi {
|
|
|
29942
29802
|
*/
|
|
29943
29803
|
createSnapshotWithOptions(request: CreateSnapshotRequest, runtime: $Util.RuntimeOptions): Promise<CreateSnapshotResponse>;
|
|
29944
29804
|
/**
|
|
29945
|
-
* The local snapshot feature is replaced by the instant access feature.
|
|
29805
|
+
* The local snapshot feature is replaced by the instant access feature. Parameter description:
|
|
29946
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:
|
|
29947
29807
|
* * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
|
|
29948
|
-
* * If
|
|
29808
|
+
* * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
|
|
29949
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.
|
|
29950
29810
|
* You cannot create snapshots for a disk in the following scenarios:
|
|
29951
29811
|
* * The number of manual snapshots of the disk has reached 256.
|
|
29952
29812
|
* * A snapshot is being created for the disk.
|
|
29953
29813
|
* * The instance to which the disk is attached has never been started.
|
|
29954
|
-
* * The ECS instance to which the disk is attached is not in the **Stopped**
|
|
29814
|
+
* * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
|
|
29955
29815
|
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
29956
29816
|
* When you create a snapshot, take note of the following items:
|
|
29957
29817
|
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
|
|
29958
29818
|
* * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
|
|
29959
|
-
* * You can create snapshots for a disk that is in the **Expired**
|
|
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.``
|
|
29960
29820
|
*
|
|
29961
29821
|
* @param request CreateSnapshotRequest
|
|
29962
29822
|
* @return CreateSnapshotResponse
|
|
29963
29823
|
*/
|
|
29964
29824
|
createSnapshot(request: CreateSnapshotRequest): Promise<CreateSnapshotResponse>;
|
|
29965
29825
|
/**
|
|
29966
|
-
* You can specify `InstanceId` to create a snapshot-consistent group for the specified disks
|
|
29967
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N
|
|
29826
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for the specified cloud disks of an instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple cloud disks that are attached to multiple instances within the same zone.
|
|
29827
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If `InstanceId` is set, you can use `DiskId.N` to specify only cloud disks attached to the instance specified by InstanceId. You cannot use DiskId.N to specify cloud disks attached to multiple instances.
|
|
29968
29828
|
* When you call this operation, take note of the following items:
|
|
29969
|
-
* * The disk for which you want to create a snapshot must be in the **In Use**
|
|
29970
|
-
* * If the disk is in the **In Use**
|
|
29971
|
-
* * If the disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to an ECS instance. Snapshots cannot be created for disks that have never been attached to ECS
|
|
29829
|
+
* * The cloud disk for which you want to create a snapshot must be in the **In Use**or **Unattached** (`Available`) state.``
|
|
29830
|
+
* * If the cloud disk is in the **In Use** state, the instance to which the cloud disk is attached must be in the **Running**or **Stopped** state.``````
|
|
29831
|
+
* * If the cloud disk is in the **Unattached** (`Available`) state, make sure that the cloud disk has been attached to an ECS instance. Snapshots cannot be created for cloud disks that have never been attached to an ECS instance.
|
|
29972
29832
|
* * The snapshot-consistent group feature can be used to create snapshots only for enhanced SSDs (ESSDs).
|
|
29973
|
-
* * A
|
|
29974
|
-
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring
|
|
29975
|
-
* * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks
|
|
29976
|
-
* For information about the snapshot-consistent group feature
|
|
29833
|
+
* * A snapshot-consistent group can contain snapshots of up to 16 cloud disks (including the system disk and data disks) whose total disk size does not exceed 32 TiB.
|
|
29834
|
+
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring excess fees.
|
|
29835
|
+
* * Snapshot-consistent groups cannot be created for cloud disks that have the multi-attach feature enabled. If cloud disks for which the multi-attach feature is enabled are attached to an instance, you must set `ExcludeDiskId.N` to exclude these cloud disks.
|
|
29836
|
+
* For more information about the snapshot-consistent group feature, see [Create a snapshot-consistent group](~~199625~~).
|
|
29977
29837
|
*
|
|
29978
29838
|
* @param request CreateSnapshotGroupRequest
|
|
29979
29839
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29981,17 +29841,17 @@ export default class Client extends OpenApi {
|
|
|
29981
29841
|
*/
|
|
29982
29842
|
createSnapshotGroupWithOptions(request: CreateSnapshotGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateSnapshotGroupResponse>;
|
|
29983
29843
|
/**
|
|
29984
|
-
* You can specify `InstanceId` to create a snapshot-consistent group for the specified disks
|
|
29985
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N
|
|
29844
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for the specified cloud disks of an instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple cloud disks that are attached to multiple instances within the same zone.
|
|
29845
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If `InstanceId` is set, you can use `DiskId.N` to specify only cloud disks attached to the instance specified by InstanceId. You cannot use DiskId.N to specify cloud disks attached to multiple instances.
|
|
29986
29846
|
* When you call this operation, take note of the following items:
|
|
29987
|
-
* * The disk for which you want to create a snapshot must be in the **In Use**
|
|
29988
|
-
* * If the disk is in the **In Use**
|
|
29989
|
-
* * If the disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to an ECS instance. Snapshots cannot be created for disks that have never been attached to ECS
|
|
29847
|
+
* * The cloud disk for which you want to create a snapshot must be in the **In Use**or **Unattached** (`Available`) state.``
|
|
29848
|
+
* * If the cloud disk is in the **In Use** state, the instance to which the cloud disk is attached must be in the **Running**or **Stopped** state.``````
|
|
29849
|
+
* * If the cloud disk is in the **Unattached** (`Available`) state, make sure that the cloud disk has been attached to an ECS instance. Snapshots cannot be created for cloud disks that have never been attached to an ECS instance.
|
|
29990
29850
|
* * The snapshot-consistent group feature can be used to create snapshots only for enhanced SSDs (ESSDs).
|
|
29991
|
-
* * A
|
|
29992
|
-
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring
|
|
29993
|
-
* * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks
|
|
29994
|
-
* For information about the snapshot-consistent group feature
|
|
29851
|
+
* * A snapshot-consistent group can contain snapshots of up to 16 cloud disks (including the system disk and data disks) whose total disk size does not exceed 32 TiB.
|
|
29852
|
+
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring excess fees.
|
|
29853
|
+
* * Snapshot-consistent groups cannot be created for cloud disks that have the multi-attach feature enabled. If cloud disks for which the multi-attach feature is enabled are attached to an instance, you must set `ExcludeDiskId.N` to exclude these cloud disks.
|
|
29854
|
+
* For more information about the snapshot-consistent group feature, see [Create a snapshot-consistent group](~~199625~~).
|
|
29995
29855
|
*
|
|
29996
29856
|
* @param request CreateSnapshotGroupRequest
|
|
29997
29857
|
* @return CreateSnapshotGroupResponse
|
|
@@ -30000,8 +29860,8 @@ export default class Client extends OpenApi {
|
|
|
30000
29860
|
/**
|
|
30001
29861
|
* A storage set can distribute disks or Shared Block Storage devices to different locations. You can specify the number of partitions in a storage set. A larger number of partitions indicate more discrete distribution of disks or Shared Block Storage devices.
|
|
30002
29862
|
* When you call this operation, take note of the following items:
|
|
30003
|
-
* *
|
|
30004
|
-
* *
|
|
29863
|
+
* * The number of storage sets that you can create in a region is limited. You can call the [DescribeAccountAttributes](~~73772~~) operation to query the limit.
|
|
29864
|
+
* * The number of partitions in a zone is limited. You can call the [DescribeAccountAttributes](~~73772~~) operation to query the limit.
|
|
30005
29865
|
*
|
|
30006
29866
|
* @param request CreateStorageSetRequest
|
|
30007
29867
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30011,8 +29871,8 @@ export default class Client extends OpenApi {
|
|
|
30011
29871
|
/**
|
|
30012
29872
|
* A storage set can distribute disks or Shared Block Storage devices to different locations. You can specify the number of partitions in a storage set. A larger number of partitions indicate more discrete distribution of disks or Shared Block Storage devices.
|
|
30013
29873
|
* When you call this operation, take note of the following items:
|
|
30014
|
-
* *
|
|
30015
|
-
* *
|
|
29874
|
+
* * The number of storage sets that you can create in a region is limited. You can call the [DescribeAccountAttributes](~~73772~~) operation to query the limit.
|
|
29875
|
+
* * The number of partitions in a zone is limited. You can call the [DescribeAccountAttributes](~~73772~~) operation to query the limit.
|
|
30016
29876
|
*
|
|
30017
29877
|
* @param request CreateStorageSetRequest
|
|
30018
29878
|
* @return CreateStorageSetResponse
|
|
@@ -30153,12 +30013,11 @@ export default class Client extends OpenApi {
|
|
|
30153
30013
|
*/
|
|
30154
30014
|
deleteDiagnosticReports(request: DeleteDiagnosticReportsRequest): Promise<DeleteDiagnosticReportsResponse>;
|
|
30155
30015
|
/**
|
|
30156
|
-
*
|
|
30157
|
-
* When you call this operation to release a pay-as-you-go data disk, take note of the following items:
|
|
30016
|
+
* When you call this operation, take note of the following items:
|
|
30158
30017
|
* * Manual snapshots of the disk are retained.
|
|
30159
|
-
* * You can call the [ModifyDiskAttribute](~~25517~~) operation to configure whether to
|
|
30018
|
+
* * You can call the [ModifyDiskAttribute](~~25517~~) operation to configure whether to retain automatic snapshots of the disk or release the snapshots along with the disk. We recommend that you delete the snapshots that are no longer needed to maintain a sufficient quota for new automatic snapshots.
|
|
30160
30019
|
* * The disk must be in the Unattached (Available) state.
|
|
30161
|
-
* * If the specified
|
|
30020
|
+
* * If the specified DiskId parameter does not exist, the request is ignored.
|
|
30162
30021
|
*
|
|
30163
30022
|
* @param request DeleteDiskRequest
|
|
30164
30023
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30166,12 +30025,11 @@ export default class Client extends OpenApi {
|
|
|
30166
30025
|
*/
|
|
30167
30026
|
deleteDiskWithOptions(request: DeleteDiskRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDiskResponse>;
|
|
30168
30027
|
/**
|
|
30169
|
-
*
|
|
30170
|
-
* When you call this operation to release a pay-as-you-go data disk, take note of the following items:
|
|
30028
|
+
* When you call this operation, take note of the following items:
|
|
30171
30029
|
* * Manual snapshots of the disk are retained.
|
|
30172
|
-
* * You can call the [ModifyDiskAttribute](~~25517~~) operation to configure whether to
|
|
30030
|
+
* * You can call the [ModifyDiskAttribute](~~25517~~) operation to configure whether to retain automatic snapshots of the disk or release the snapshots along with the disk. We recommend that you delete the snapshots that are no longer needed to maintain a sufficient quota for new automatic snapshots.
|
|
30173
30031
|
* * The disk must be in the Unattached (Available) state.
|
|
30174
|
-
* * If the specified
|
|
30032
|
+
* * If the specified DiskId parameter does not exist, the request is ignored.
|
|
30175
30033
|
*
|
|
30176
30034
|
* @param request DeleteDiskRequest
|
|
30177
30035
|
* @return DeleteDiskResponse
|
|
@@ -30244,15 +30102,14 @@ export default class Client extends OpenApi {
|
|
|
30244
30102
|
*/
|
|
30245
30103
|
deleteImagePipeline(request: DeleteImagePipelineRequest): Promise<DeleteImagePipelineResponse>;
|
|
30246
30104
|
/**
|
|
30247
|
-
*
|
|
30248
|
-
* *
|
|
30249
|
-
*
|
|
30250
|
-
* *
|
|
30251
|
-
* *
|
|
30252
|
-
* *
|
|
30253
|
-
* * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
|
|
30105
|
+
* * After an instance is released, all the physical resources used by the instance are reclaimed by Alibaba Cloud. Data stored on the instance is deleted permanently and cannot be restored.
|
|
30106
|
+
* * Disk settings may affect their behavior when the instances they are attached to are released. Take note of the following items:
|
|
30107
|
+
* * If `DeleteWithInstance` is set to false, the disks are retained as pay-as-you-go disks.
|
|
30108
|
+
* * If `DeleteWithInstance` is set to true, the disks are released along with the instance.
|
|
30109
|
+
* * If `DeleteAutoSnapshot` is set to false, automatic snapshots of the disks are retained.
|
|
30110
|
+
* * If `DeleteAutoSnapshot` is set to true, automatic snapshots of the disks are released.
|
|
30254
30111
|
* * Manual snapshots of the disks are retained.
|
|
30255
|
-
* * If
|
|
30112
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. In this case, even if the `DeleteWithInstance` parameter is set to `false` for the data disks that are attached to the instance, the parameter is ignored and the data disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).``
|
|
30256
30113
|
*
|
|
30257
30114
|
* @param request DeleteInstanceRequest
|
|
30258
30115
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30260,29 +30117,28 @@ export default class Client extends OpenApi {
|
|
|
30260
30117
|
*/
|
|
30261
30118
|
deleteInstanceWithOptions(request: DeleteInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse>;
|
|
30262
30119
|
/**
|
|
30263
|
-
*
|
|
30264
|
-
* *
|
|
30265
|
-
*
|
|
30266
|
-
* *
|
|
30267
|
-
* *
|
|
30268
|
-
* *
|
|
30269
|
-
* * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
|
|
30120
|
+
* * After an instance is released, all the physical resources used by the instance are reclaimed by Alibaba Cloud. Data stored on the instance is deleted permanently and cannot be restored.
|
|
30121
|
+
* * Disk settings may affect their behavior when the instances they are attached to are released. Take note of the following items:
|
|
30122
|
+
* * If `DeleteWithInstance` is set to false, the disks are retained as pay-as-you-go disks.
|
|
30123
|
+
* * If `DeleteWithInstance` is set to true, the disks are released along with the instance.
|
|
30124
|
+
* * If `DeleteAutoSnapshot` is set to false, automatic snapshots of the disks are retained.
|
|
30125
|
+
* * If `DeleteAutoSnapshot` is set to true, automatic snapshots of the disks are released.
|
|
30270
30126
|
* * Manual snapshots of the disks are retained.
|
|
30271
|
-
* * If
|
|
30127
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. In this case, even if the `DeleteWithInstance` parameter is set to `false` for the data disks that are attached to the instance, the parameter is ignored and the data disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).``
|
|
30272
30128
|
*
|
|
30273
30129
|
* @param request DeleteInstanceRequest
|
|
30274
30130
|
* @return DeleteInstanceResponse
|
|
30275
30131
|
*/
|
|
30276
30132
|
deleteInstance(request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
|
|
30277
30133
|
/**
|
|
30278
|
-
* * After an instance is released, all
|
|
30134
|
+
* * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
30279
30135
|
* * Disks attached to the instance:
|
|
30280
|
-
* *
|
|
30281
|
-
* *
|
|
30282
|
-
* *
|
|
30283
|
-
* *
|
|
30136
|
+
* * If `DeleteWithInstance` is set to false for disks that are attached to the instance, the disks are retained as pay-as-you-go disks.
|
|
30137
|
+
* * If `DeleteWithInstance` is set to true for disks that are attached to the instance, the disks are released along with the instance.
|
|
30138
|
+
* * If `DeleteAutoSnapshot` is set to false for disks that are attached to the instance, the automatic snapshots of the disks are retained.
|
|
30139
|
+
* * If `DeleteAutoSnapshot` is set to true for disks that are attached to the instance, the automatic snapshots of the disks are released.
|
|
30284
30140
|
* * Manual snapshots of the disks are retained.
|
|
30285
|
-
* * If `OperationLocks` in the
|
|
30141
|
+
* * If `OperationLocks` in the DeleteInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. Even if `DeleteWithInstance` is set to `false` for disks that are attached to the instance, the parameter is ignored and the disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
30286
30142
|
*
|
|
30287
30143
|
* @param request DeleteInstancesRequest
|
|
30288
30144
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30290,14 +30146,14 @@ export default class Client extends OpenApi {
|
|
|
30290
30146
|
*/
|
|
30291
30147
|
deleteInstancesWithOptions(request: DeleteInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DeleteInstancesResponse>;
|
|
30292
30148
|
/**
|
|
30293
|
-
* * After an instance is released, all
|
|
30149
|
+
* * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
30294
30150
|
* * Disks attached to the instance:
|
|
30295
|
-
* *
|
|
30296
|
-
* *
|
|
30297
|
-
* *
|
|
30298
|
-
* *
|
|
30151
|
+
* * If `DeleteWithInstance` is set to false for disks that are attached to the instance, the disks are retained as pay-as-you-go disks.
|
|
30152
|
+
* * If `DeleteWithInstance` is set to true for disks that are attached to the instance, the disks are released along with the instance.
|
|
30153
|
+
* * If `DeleteAutoSnapshot` is set to false for disks that are attached to the instance, the automatic snapshots of the disks are retained.
|
|
30154
|
+
* * If `DeleteAutoSnapshot` is set to true for disks that are attached to the instance, the automatic snapshots of the disks are released.
|
|
30299
30155
|
* * Manual snapshots of the disks are retained.
|
|
30300
|
-
* * If `OperationLocks` in the
|
|
30156
|
+
* * If `OperationLocks` in the DeleteInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. Even if `DeleteWithInstance` is set to `false` for disks that are attached to the instance, the parameter is ignored and the disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
30301
30157
|
*
|
|
30302
30158
|
* @param request DeleteInstancesRequest
|
|
30303
30159
|
* @return DeleteInstancesResponse
|
|
@@ -30411,8 +30267,7 @@ export default class Client extends OpenApi {
|
|
|
30411
30267
|
*/
|
|
30412
30268
|
deletePhysicalConnection(request: DeletePhysicalConnectionRequest): Promise<DeletePhysicalConnectionResponse>;
|
|
30413
30269
|
/**
|
|
30414
|
-
*
|
|
30415
|
-
* If a prefix list is associated with resources, you cannot delete the prefix list. You must disassociate the prefix list from the resources before you can delete the prefix list. You can call the [DescribePrefixListAssociations](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describeprefixlistassociations) operation to query resources that are associated with a specific prefix list.
|
|
30270
|
+
* The region ID of the prefix list. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
30416
30271
|
*
|
|
30417
30272
|
* @param request DeletePrefixListRequest
|
|
30418
30273
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30420,8 +30275,7 @@ export default class Client extends OpenApi {
|
|
|
30420
30275
|
*/
|
|
30421
30276
|
deletePrefixListWithOptions(request: DeletePrefixListRequest, runtime: $Util.RuntimeOptions): Promise<DeletePrefixListResponse>;
|
|
30422
30277
|
/**
|
|
30423
|
-
*
|
|
30424
|
-
* If a prefix list is associated with resources, you cannot delete the prefix list. You must disassociate the prefix list from the resources before you can delete the prefix list. You can call the [DescribePrefixListAssociations](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describeprefixlistassociations) operation to query resources that are associated with a specific prefix list.
|
|
30278
|
+
* The region ID of the prefix list. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
30425
30279
|
*
|
|
30426
30280
|
* @param request DeletePrefixListRequest
|
|
30427
30281
|
* @return DeletePrefixListResponse
|
|
@@ -30457,26 +30311,13 @@ export default class Client extends OpenApi {
|
|
|
30457
30311
|
* @return DeleteRouterInterfaceResponse
|
|
30458
30312
|
*/
|
|
30459
30313
|
deleteRouterInterface(request: DeleteRouterInterfaceRequest): Promise<DeleteRouterInterfaceResponse>;
|
|
30460
|
-
/**
|
|
30461
|
-
* Before you delete a security group, make sure that no instances are present in the security group and that the security group is not referenced by other security groups [DescribeSecurityGroupReferences](~~57320~~)). Otherwise, the DeleteSecurityGroup request fails.
|
|
30462
|
-
*
|
|
30463
|
-
* @param request DeleteSecurityGroupRequest
|
|
30464
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
30465
|
-
* @return DeleteSecurityGroupResponse
|
|
30466
|
-
*/
|
|
30467
30314
|
deleteSecurityGroupWithOptions(request: DeleteSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSecurityGroupResponse>;
|
|
30468
|
-
/**
|
|
30469
|
-
* Before you delete a security group, make sure that no instances are present in the security group and that the security group is not referenced by other security groups [DescribeSecurityGroupReferences](~~57320~~)). Otherwise, the DeleteSecurityGroup request fails.
|
|
30470
|
-
*
|
|
30471
|
-
* @param request DeleteSecurityGroupRequest
|
|
30472
|
-
* @return DeleteSecurityGroupResponse
|
|
30473
|
-
*/
|
|
30474
30315
|
deleteSecurityGroup(request: DeleteSecurityGroupRequest): Promise<DeleteSecurityGroupResponse>;
|
|
30475
30316
|
/**
|
|
30476
|
-
*
|
|
30477
|
-
* * If the
|
|
30478
|
-
* * If
|
|
30479
|
-
* * If the
|
|
30317
|
+
* Take note of the following items:
|
|
30318
|
+
* * If the snapshot does not exist, the request is ignored.
|
|
30319
|
+
* * If the snapshot has been used to create custom images, the snapshot cannot be deleted. You need to call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
|
|
30320
|
+
* * If the snapshot has been used to create disks and `Force` is not specified or is set to `false`, the snapshot cannot be deleted directly. If you want to delete the snapshot, set `Force` to true to forcibly delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcibly deleted.
|
|
30480
30321
|
*
|
|
30481
30322
|
* @param request DeleteSnapshotRequest
|
|
30482
30323
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30484,18 +30325,17 @@ export default class Client extends OpenApi {
|
|
|
30484
30325
|
*/
|
|
30485
30326
|
deleteSnapshotWithOptions(request: DeleteSnapshotRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSnapshotResponse>;
|
|
30486
30327
|
/**
|
|
30487
|
-
*
|
|
30488
|
-
* * If the
|
|
30489
|
-
* * If
|
|
30490
|
-
* * If the
|
|
30328
|
+
* Take note of the following items:
|
|
30329
|
+
* * If the snapshot does not exist, the request is ignored.
|
|
30330
|
+
* * If the snapshot has been used to create custom images, the snapshot cannot be deleted. You need to call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
|
|
30331
|
+
* * If the snapshot has been used to create disks and `Force` is not specified or is set to `false`, the snapshot cannot be deleted directly. If you want to delete the snapshot, set `Force` to true to forcibly delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcibly deleted.
|
|
30491
30332
|
*
|
|
30492
30333
|
* @param request DeleteSnapshotRequest
|
|
30493
30334
|
* @return DeleteSnapshotResponse
|
|
30494
30335
|
*/
|
|
30495
30336
|
deleteSnapshot(request: DeleteSnapshotRequest): Promise<DeleteSnapshotResponse>;
|
|
30496
30337
|
/**
|
|
30497
|
-
*
|
|
30498
|
-
* If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the [DeleteImage](~~25537~~) operation to delete the custom images. Then, you can call the [DeleteSnapshot](~~25525~~) operation to delete the disk snapshot.
|
|
30338
|
+
* If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the [DeleteImage](~~25537~~) operation to delete the custom images. After the custom images are deleted, you can call the [DeleteSnapshot](~~25525~~) operation to delete the disk snapshot.
|
|
30499
30339
|
*
|
|
30500
30340
|
* @param request DeleteSnapshotGroupRequest
|
|
30501
30341
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30503,8 +30343,7 @@ export default class Client extends OpenApi {
|
|
|
30503
30343
|
*/
|
|
30504
30344
|
deleteSnapshotGroupWithOptions(request: DeleteSnapshotGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSnapshotGroupResponse>;
|
|
30505
30345
|
/**
|
|
30506
|
-
*
|
|
30507
|
-
* If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the [DeleteImage](~~25537~~) operation to delete the custom images. Then, you can call the [DeleteSnapshot](~~25525~~) operation to delete the disk snapshot.
|
|
30346
|
+
* If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the [DeleteImage](~~25537~~) operation to delete the custom images. After the custom images are deleted, you can call the [DeleteSnapshot](~~25525~~) operation to delete the disk snapshot.
|
|
30508
30347
|
*
|
|
30509
30348
|
* @param request DeleteSnapshotGroupRequest
|
|
30510
30349
|
* @return DeleteSnapshotGroupResponse
|
|
@@ -30655,7 +30494,7 @@ export default class Client extends OpenApi {
|
|
|
30655
30494
|
* When you call this operation, take note of the following items:
|
|
30656
30495
|
* * This operation applies only to instances that reside in the classic network.
|
|
30657
30496
|
* * You can query up to 100 instances that reside in the classic network at a time.
|
|
30658
|
-
* * At least
|
|
30497
|
+
* * At least the `VpcId` or `InstanceId` parameter is specified.
|
|
30659
30498
|
*
|
|
30660
30499
|
* @param request DescribeClassicLinkInstancesRequest
|
|
30661
30500
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30666,7 +30505,7 @@ export default class Client extends OpenApi {
|
|
|
30666
30505
|
* When you call this operation, take note of the following items:
|
|
30667
30506
|
* * This operation applies only to instances that reside in the classic network.
|
|
30668
30507
|
* * You can query up to 100 instances that reside in the classic network at a time.
|
|
30669
|
-
* * At least
|
|
30508
|
+
* * At least the `VpcId` or `InstanceId` parameter is specified.
|
|
30670
30509
|
*
|
|
30671
30510
|
* @param request DescribeClassicLinkInstancesRequest
|
|
30672
30511
|
* @return DescribeClassicLinkInstancesResponse
|
|
@@ -30690,7 +30529,7 @@ export default class Client extends OpenApi {
|
|
|
30690
30529
|
*/
|
|
30691
30530
|
describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse>;
|
|
30692
30531
|
/**
|
|
30693
|
-
*
|
|
30532
|
+
* The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
30694
30533
|
*
|
|
30695
30534
|
* @param request DescribeCommandsRequest
|
|
30696
30535
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30698,7 +30537,7 @@ export default class Client extends OpenApi {
|
|
|
30698
30537
|
*/
|
|
30699
30538
|
describeCommandsWithOptions(request: DescribeCommandsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCommandsResponse>;
|
|
30700
30539
|
/**
|
|
30701
|
-
*
|
|
30540
|
+
* The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
30702
30541
|
*
|
|
30703
30542
|
* @param request DescribeCommandsRequest
|
|
30704
30543
|
* @return DescribeCommandsResponse
|
|
@@ -30724,10 +30563,9 @@ export default class Client extends OpenApi {
|
|
|
30724
30563
|
describeDedicatedHostTypesWithOptions(request: DescribeDedicatedHostTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDedicatedHostTypesResponse>;
|
|
30725
30564
|
describeDedicatedHostTypes(request: DescribeDedicatedHostTypesRequest): Promise<DescribeDedicatedHostTypesResponse>;
|
|
30726
30565
|
/**
|
|
30727
|
-
* ## Description
|
|
30728
30566
|
* You can use one of the following methods to query the details of one or more dedicated hosts:
|
|
30729
|
-
* * Specify the `DedicatedHostIds` parameter to query the details of
|
|
30730
|
-
* * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a dedicated host cluster.
|
|
30567
|
+
* * Specify the `DedicatedHostIds` parameter to query the details of specific dedicated hosts.
|
|
30568
|
+
* * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a specific dedicated host cluster.
|
|
30731
30569
|
*
|
|
30732
30570
|
* @param request DescribeDedicatedHostsRequest
|
|
30733
30571
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30735,19 +30573,16 @@ export default class Client extends OpenApi {
|
|
|
30735
30573
|
*/
|
|
30736
30574
|
describeDedicatedHostsWithOptions(request: DescribeDedicatedHostsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDedicatedHostsResponse>;
|
|
30737
30575
|
/**
|
|
30738
|
-
* ## Description
|
|
30739
30576
|
* You can use one of the following methods to query the details of one or more dedicated hosts:
|
|
30740
|
-
* * Specify the `DedicatedHostIds` parameter to query the details of
|
|
30741
|
-
* * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a dedicated host cluster.
|
|
30577
|
+
* * Specify the `DedicatedHostIds` parameter to query the details of specific dedicated hosts.
|
|
30578
|
+
* * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a specific dedicated host cluster.
|
|
30742
30579
|
*
|
|
30743
30580
|
* @param request DescribeDedicatedHostsRequest
|
|
30744
30581
|
* @return DescribeDedicatedHostsResponse
|
|
30745
30582
|
*/
|
|
30746
30583
|
describeDedicatedHosts(request: DescribeDedicatedHostsRequest): Promise<DescribeDedicatedHostsResponse>;
|
|
30747
30584
|
/**
|
|
30748
|
-
*
|
|
30749
|
-
* By default, the filing tickets of I/O optimized VPC-type instances are queried.
|
|
30750
|
-
* For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
|
|
30585
|
+
* The end time when the filed resources are delivered and available. The time follows the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
30751
30586
|
*
|
|
30752
30587
|
* @param request DescribeDemandsRequest
|
|
30753
30588
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30755,9 +30590,7 @@ export default class Client extends OpenApi {
|
|
|
30755
30590
|
*/
|
|
30756
30591
|
describeDemandsWithOptions(request: DescribeDemandsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDemandsResponse>;
|
|
30757
30592
|
/**
|
|
30758
|
-
*
|
|
30759
|
-
* By default, the filing tickets of I/O optimized VPC-type instances are queried.
|
|
30760
|
-
* For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
|
|
30593
|
+
* The end time when the filed resources are delivered and available. The time follows the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
30761
30594
|
*
|
|
30762
30595
|
* @param request DescribeDemandsRequest
|
|
30763
30596
|
* @return DescribeDemandsResponse
|
|
@@ -30792,9 +30625,10 @@ export default class Client extends OpenApi {
|
|
|
30792
30625
|
* The monitoring data includes read IOPS, write IOPS, read bandwidth (byte/s), write bandwidth (byte/s), read latency (microseconds), and write latency (microseconds) of the disk.
|
|
30793
30626
|
* When you call this operation, take note of the following items:
|
|
30794
30627
|
* * Only the monitoring data of disks that are in the Running (`In_use`) state can be queried. For more information, see [Disk states](~~25689~~).
|
|
30795
|
-
*
|
|
30796
|
-
*
|
|
30797
|
-
* *
|
|
30628
|
+
* **
|
|
30629
|
+
* **Note**Some information may be missing from the monitoring data of a disk because the disk is not in the In Use (`In_Use`) state and the system cannot obtain the relevant information.
|
|
30630
|
+
* * A maximum of 400 monitoring data entries can be returned at a time. An error is returned if the value calculated based on the following formula is greater than 400: `(EndTime - StartTime)/Period`.
|
|
30631
|
+
* * You can query the monitoring data in a maximum of the last 30 days. If the value of `StartTime` is greater than 30 days before the current time, an error is returned.
|
|
30798
30632
|
*
|
|
30799
30633
|
* @param request DescribeDiskMonitorDataRequest
|
|
30800
30634
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30805,23 +30639,24 @@ export default class Client extends OpenApi {
|
|
|
30805
30639
|
* The monitoring data includes read IOPS, write IOPS, read bandwidth (byte/s), write bandwidth (byte/s), read latency (microseconds), and write latency (microseconds) of the disk.
|
|
30806
30640
|
* When you call this operation, take note of the following items:
|
|
30807
30641
|
* * Only the monitoring data of disks that are in the Running (`In_use`) state can be queried. For more information, see [Disk states](~~25689~~).
|
|
30808
|
-
*
|
|
30809
|
-
*
|
|
30810
|
-
* *
|
|
30642
|
+
* **
|
|
30643
|
+
* **Note**Some information may be missing from the monitoring data of a disk because the disk is not in the In Use (`In_Use`) state and the system cannot obtain the relevant information.
|
|
30644
|
+
* * A maximum of 400 monitoring data entries can be returned at a time. An error is returned if the value calculated based on the following formula is greater than 400: `(EndTime - StartTime)/Period`.
|
|
30645
|
+
* * You can query the monitoring data in a maximum of the last 30 days. If the value of `StartTime` is greater than 30 days before the current time, an error is returned.
|
|
30811
30646
|
*
|
|
30812
30647
|
* @param request DescribeDiskMonitorDataRequest
|
|
30813
30648
|
* @return DescribeDiskMonitorDataResponse
|
|
30814
30649
|
*/
|
|
30815
30650
|
describeDiskMonitorData(request: DescribeDiskMonitorDataRequest): Promise<DescribeDiskMonitorDataResponse>;
|
|
30816
30651
|
/**
|
|
30817
|
-
* *
|
|
30818
|
-
* *
|
|
30819
|
-
* *
|
|
30820
|
-
* *
|
|
30821
|
-
* *
|
|
30822
|
-
*
|
|
30823
|
-
* *
|
|
30824
|
-
* 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~~).
|
|
30652
|
+
* * You can specify multiple request parameters such as `RegionId`, `ZoneId`, `DiskIds`, and `InstanceId` as filters. Specified parameters are evaluated by using the "AND" operator. If you specify more than one filter, the records that match all filters are returned.
|
|
30653
|
+
* * The value of the `DiskIds` parameter is a JSON array. If it is not specified, it is not used as a filter, and if `DiskIds` is set to an empty JSON array, it is regarded as a valid filter, and an empty result is returned.
|
|
30654
|
+
* * You can use one of the following methods to check the responses:
|
|
30655
|
+
* * Method 1: Use `NextToken` to configure the query token. Set the value to the `NextToken` value that was returned in the last call made to the DescribeDisks operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
30656
|
+
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the page number to return.
|
|
30657
|
+
* You can use only one of the preceding methods. If you require a large number of entries to be returned, we recommend that you use method 1. If `NextToken` is specified, `PageSize` and `PageNumber` do not take effect and `TotalCount` in the response is invalid.
|
|
30658
|
+
* * A disk that has the multi-attach feature enabled can be attached to multiple instances. You can query the attachment information of the disk based on the `Attachment` values in the response.
|
|
30659
|
+
* When you call an API operation by using Alibaba Cloud CLI, you must specify the request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
30825
30660
|
*
|
|
30826
30661
|
* @param request DescribeDisksRequest
|
|
30827
30662
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30829,14 +30664,14 @@ export default class Client extends OpenApi {
|
|
|
30829
30664
|
*/
|
|
30830
30665
|
describeDisksWithOptions(request: DescribeDisksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDisksResponse>;
|
|
30831
30666
|
/**
|
|
30832
|
-
* *
|
|
30833
|
-
* *
|
|
30834
|
-
* *
|
|
30835
|
-
* *
|
|
30836
|
-
* *
|
|
30837
|
-
*
|
|
30838
|
-
* *
|
|
30839
|
-
* 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~~).
|
|
30667
|
+
* * You can specify multiple request parameters such as `RegionId`, `ZoneId`, `DiskIds`, and `InstanceId` as filters. Specified parameters are evaluated by using the "AND" operator. If you specify more than one filter, the records that match all filters are returned.
|
|
30668
|
+
* * The value of the `DiskIds` parameter is a JSON array. If it is not specified, it is not used as a filter, and if `DiskIds` is set to an empty JSON array, it is regarded as a valid filter, and an empty result is returned.
|
|
30669
|
+
* * You can use one of the following methods to check the responses:
|
|
30670
|
+
* * Method 1: Use `NextToken` to configure the query token. Set the value to the `NextToken` value that was returned in the last call made to the DescribeDisks operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
30671
|
+
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the page number to return.
|
|
30672
|
+
* You can use only one of the preceding methods. If you require a large number of entries to be returned, we recommend that you use method 1. If `NextToken` is specified, `PageSize` and `PageNumber` do not take effect and `TotalCount` in the response is invalid.
|
|
30673
|
+
* * A disk that has the multi-attach feature enabled can be attached to multiple instances. You can query the attachment information of the disk based on the `Attachment` values in the response.
|
|
30674
|
+
* When you call an API operation by using Alibaba Cloud CLI, you must specify the request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
30840
30675
|
*
|
|
30841
30676
|
* @param request DescribeDisksRequest
|
|
30842
30677
|
* @return DescribeDisksResponse
|
|
@@ -30994,9 +30829,9 @@ export default class Client extends OpenApi {
|
|
|
30994
30829
|
*/
|
|
30995
30830
|
describeImageFromFamily(request: DescribeImageFromFamilyRequest): Promise<DescribeImageFromFamilyResponse>;
|
|
30996
30831
|
/**
|
|
30997
|
-
* *
|
|
30998
|
-
* *
|
|
30999
|
-
* *
|
|
30832
|
+
* * 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
|
+
* * You must specify `ImagePipelineId` or `ExecutionId`.
|
|
30834
|
+
* * You can configure the query token by using the `NextToken` parameter. Set the value of the query token to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
|
|
31000
30835
|
*
|
|
31001
30836
|
* @param request DescribeImagePipelineExecutionsRequest
|
|
31002
30837
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31004,9 +30839,9 @@ export default class Client extends OpenApi {
|
|
|
31004
30839
|
*/
|
|
31005
30840
|
describeImagePipelineExecutionsWithOptions(request: DescribeImagePipelineExecutionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImagePipelineExecutionsResponse>;
|
|
31006
30841
|
/**
|
|
31007
|
-
* *
|
|
31008
|
-
* *
|
|
31009
|
-
* *
|
|
30842
|
+
* * 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
|
+
* * You must specify `ImagePipelineId` or `ExecutionId`.
|
|
30844
|
+
* * You can configure the query token by using the `NextToken` parameter. Set the value of the query token to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
|
|
31010
30845
|
*
|
|
31011
30846
|
* @param request DescribeImagePipelineExecutionsRequest
|
|
31012
30847
|
* @return DescribeImagePipelineExecutionsResponse
|
|
@@ -31032,10 +30867,9 @@ export default class Client extends OpenApi {
|
|
|
31032
30867
|
describeImageSupportInstanceTypesWithOptions(request: DescribeImageSupportInstanceTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImageSupportInstanceTypesResponse>;
|
|
31033
30868
|
describeImageSupportInstanceTypes(request: DescribeImageSupportInstanceTypesRequest): Promise<DescribeImageSupportInstanceTypesResponse>;
|
|
31034
30869
|
/**
|
|
31035
|
-
*
|
|
31036
|
-
* *
|
|
31037
|
-
* *
|
|
31038
|
-
* * 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~~).
|
|
30870
|
+
* * You can query your custom images, public images provided by Alibaba Cloud, Alibaba Cloud Marketplace images, and shared images from other Alibaba Cloud accounts.
|
|
30871
|
+
* * This operation supports paged query. The response contains the total number of available images as well as the number of images on the returned page. By default, 10 entries are displayed on each page.
|
|
30872
|
+
* * When you call an API operation by using Alibaba Cloud CLI, you must specify the request parameter values in their required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31039
30873
|
*
|
|
31040
30874
|
* @param request DescribeImagesRequest
|
|
31041
30875
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31043,18 +30877,17 @@ export default class Client extends OpenApi {
|
|
|
31043
30877
|
*/
|
|
31044
30878
|
describeImagesWithOptions(request: DescribeImagesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImagesResponse>;
|
|
31045
30879
|
/**
|
|
31046
|
-
*
|
|
31047
|
-
* *
|
|
31048
|
-
* *
|
|
31049
|
-
* * 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~~).
|
|
30880
|
+
* * You can query your custom images, public images provided by Alibaba Cloud, Alibaba Cloud Marketplace images, and shared images from other Alibaba Cloud accounts.
|
|
30881
|
+
* * This operation supports paged query. The response contains the total number of available images as well as the number of images on the returned page. By default, 10 entries are displayed on each page.
|
|
30882
|
+
* * When you call an API operation by using Alibaba Cloud CLI, you must specify the request parameter values in their required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31050
30883
|
*
|
|
31051
30884
|
* @param request DescribeImagesRequest
|
|
31052
30885
|
* @return DescribeImagesResponse
|
|
31053
30886
|
*/
|
|
31054
30887
|
describeImages(request: DescribeImagesRequest): Promise<DescribeImagesResponse>;
|
|
31055
30888
|
/**
|
|
31056
|
-
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with the
|
|
31057
|
-
* When a private pool expires, data about the association between instances and the private pool becomes invalid.
|
|
30889
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the private pool. You can configure a private pool when you create an instance. This way, the instance matches the elasticity assurance or capacity reservation that is associated with the private pool.
|
|
30890
|
+
* When a private pool expires, data about the association between instances and the private pool becomes invalid. If you call this operation to query the information about the private pool, empty values are returned.
|
|
31058
30891
|
*
|
|
31059
30892
|
* @param request DescribeInstanceAttachmentAttributesRequest
|
|
31060
30893
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31062,8 +30895,8 @@ export default class Client extends OpenApi {
|
|
|
31062
30895
|
*/
|
|
31063
30896
|
describeInstanceAttachmentAttributesWithOptions(request: DescribeInstanceAttachmentAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceAttachmentAttributesResponse>;
|
|
31064
30897
|
/**
|
|
31065
|
-
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with the
|
|
31066
|
-
* When a private pool expires, data about the association between instances and the private pool becomes invalid.
|
|
30898
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the private pool. You can configure a private pool when you create an instance. This way, the instance matches the elasticity assurance or capacity reservation that is associated with the private pool.
|
|
30899
|
+
* When a private pool expires, data about the association between instances and the private pool becomes invalid. If you call this operation to query the information about the private pool, empty values are returned.
|
|
31067
30900
|
*
|
|
31068
30901
|
* @param request DescribeInstanceAttachmentAttributesRequest
|
|
31069
30902
|
* @return DescribeInstanceAttachmentAttributesResponse
|
|
@@ -31089,9 +30922,8 @@ export default class Client extends OpenApi {
|
|
|
31089
30922
|
*/
|
|
31090
30923
|
describeInstanceAutoRenewAttribute(request: DescribeInstanceAutoRenewAttributeRequest): Promise<DescribeInstanceAutoRenewAttributeResponse>;
|
|
31091
30924
|
/**
|
|
31092
|
-
* ## Description
|
|
31093
30925
|
* * You can query system events that were finished within the last 30 days. The time range for querying unfinished system events is unlimited.
|
|
31094
|
-
* * You can also specify the InstanceEventCycleStatus.N parameter to
|
|
30926
|
+
* * You can also specify the InstanceEventCycleStatus.N parameter to filter the system events in the Scheduled, Executing, or Inquiring state.
|
|
31095
30927
|
*
|
|
31096
30928
|
* @param request DescribeInstanceHistoryEventsRequest
|
|
31097
30929
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31099,9 +30931,8 @@ export default class Client extends OpenApi {
|
|
|
31099
30931
|
*/
|
|
31100
30932
|
describeInstanceHistoryEventsWithOptions(request: DescribeInstanceHistoryEventsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceHistoryEventsResponse>;
|
|
31101
30933
|
/**
|
|
31102
|
-
* ## Description
|
|
31103
30934
|
* * You can query system events that were finished within the last 30 days. The time range for querying unfinished system events is unlimited.
|
|
31104
|
-
* * You can also specify the InstanceEventCycleStatus.N parameter to
|
|
30935
|
+
* * You can also specify the InstanceEventCycleStatus.N parameter to filter the system events in the Scheduled, Executing, or Inquiring state.
|
|
31105
30936
|
*
|
|
31106
30937
|
* @param request DescribeInstanceHistoryEventsRequest
|
|
31107
30938
|
* @return DescribeInstanceHistoryEventsResponse
|
|
@@ -31127,10 +30958,7 @@ export default class Client extends OpenApi {
|
|
|
31127
30958
|
*/
|
|
31128
30959
|
describeInstanceMaintenanceAttributes(request: DescribeInstanceMaintenanceAttributesRequest): Promise<DescribeInstanceMaintenanceAttributesResponse>;
|
|
31129
30960
|
/**
|
|
31130
|
-
*
|
|
31131
|
-
* * 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.
|
|
31132
|
-
* * 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.
|
|
31133
|
-
* * 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.
|
|
30961
|
+
* The price.
|
|
31134
30962
|
*
|
|
31135
30963
|
* @param request DescribeInstanceModificationPriceRequest
|
|
31136
30964
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31138,10 +30966,7 @@ export default class Client extends OpenApi {
|
|
|
31138
30966
|
*/
|
|
31139
30967
|
describeInstanceModificationPriceWithOptions(request: DescribeInstanceModificationPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceModificationPriceResponse>;
|
|
31140
30968
|
/**
|
|
31141
|
-
*
|
|
31142
|
-
* * 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.
|
|
31143
|
-
* * 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.
|
|
31144
|
-
* * 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.
|
|
30969
|
+
* The price.
|
|
31145
30970
|
*
|
|
31146
30971
|
* @param request DescribeInstanceModificationPriceRequest
|
|
31147
30972
|
* @return DescribeInstanceModificationPriceResponse
|
|
@@ -31149,7 +30974,7 @@ export default class Client extends OpenApi {
|
|
|
31149
30974
|
describeInstanceModificationPrice(request: DescribeInstanceModificationPriceRequest): Promise<DescribeInstanceModificationPriceResponse>;
|
|
31150
30975
|
/**
|
|
31151
30976
|
* When you call this operation, take note of the following items:
|
|
31152
|
-
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value calculated
|
|
30977
|
+
* * 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`.
|
|
31153
30978
|
* * 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.
|
|
31154
30979
|
* * 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.
|
|
31155
30980
|
*
|
|
@@ -31160,7 +30985,7 @@ export default class Client extends OpenApi {
|
|
|
31160
30985
|
describeInstanceMonitorDataWithOptions(request: DescribeInstanceMonitorDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceMonitorDataResponse>;
|
|
31161
30986
|
/**
|
|
31162
30987
|
* When you call this operation, take note of the following items:
|
|
31163
|
-
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value calculated
|
|
30988
|
+
* * 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`.
|
|
31164
30989
|
* * 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.
|
|
31165
30990
|
* * 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.
|
|
31166
30991
|
*
|
|
@@ -31168,24 +30993,11 @@ export default class Client extends OpenApi {
|
|
|
31168
30993
|
* @return DescribeInstanceMonitorDataResponse
|
|
31169
30994
|
*/
|
|
31170
30995
|
describeInstanceMonitorData(request: DescribeInstanceMonitorDataRequest): Promise<DescribeInstanceMonitorDataResponse>;
|
|
31171
|
-
/**
|
|
31172
|
-
* 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~~).
|
|
31173
|
-
*
|
|
31174
|
-
* @param request DescribeInstanceRamRoleRequest
|
|
31175
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
31176
|
-
* @return DescribeInstanceRamRoleResponse
|
|
31177
|
-
*/
|
|
31178
30996
|
describeInstanceRamRoleWithOptions(request: DescribeInstanceRamRoleRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceRamRoleResponse>;
|
|
31179
|
-
/**
|
|
31180
|
-
* 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~~).
|
|
31181
|
-
*
|
|
31182
|
-
* @param request DescribeInstanceRamRoleRequest
|
|
31183
|
-
* @return DescribeInstanceRamRoleResponse
|
|
31184
|
-
*/
|
|
31185
30997
|
describeInstanceRamRole(request: DescribeInstanceRamRoleRequest): Promise<DescribeInstanceRamRoleResponse>;
|
|
31186
30998
|
/**
|
|
31187
|
-
* *
|
|
31188
|
-
* *
|
|
30999
|
+
* * For information about the lifecycle states of an ECS instance, see [Instance states](~~25687~~).
|
|
31000
|
+
* * You can also call this operation to query the list of ECS instances.
|
|
31189
31001
|
*
|
|
31190
31002
|
* @param request DescribeInstanceStatusRequest
|
|
31191
31003
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31193,8 +31005,8 @@ export default class Client extends OpenApi {
|
|
|
31193
31005
|
*/
|
|
31194
31006
|
describeInstanceStatusWithOptions(request: DescribeInstanceStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceStatusResponse>;
|
|
31195
31007
|
/**
|
|
31196
|
-
* *
|
|
31197
|
-
* *
|
|
31008
|
+
* * For information about the lifecycle states of an ECS instance, see [Instance states](~~25687~~).
|
|
31009
|
+
* * You can also call this operation to query the list of ECS instances.
|
|
31198
31010
|
*
|
|
31199
31011
|
* @param request DescribeInstanceStatusRequest
|
|
31200
31012
|
* @return DescribeInstanceStatusResponse
|
|
@@ -31257,50 +31069,7 @@ export default class Client extends OpenApi {
|
|
|
31257
31069
|
* @return DescribeInstanceVncPasswdResponse
|
|
31258
31070
|
*/
|
|
31259
31071
|
describeInstanceVncPasswd(request: DescribeInstanceVncPasswdRequest): Promise<DescribeInstanceVncPasswdResponse>;
|
|
31260
|
-
/**
|
|
31261
|
-
* When you call this operation, take note of the following items:
|
|
31262
|
-
* * The URL returned is valid only for 15 seconds. If a connection is not established within 15 seconds after a successful query, the URL expires and you must query it again.
|
|
31263
|
-
* * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal within 60 seconds, the VNC management terminal is automatically disconnected.
|
|
31264
|
-
* * After the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal a maximum of 30 times a minute.
|
|
31265
|
-
* * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
|
|
31266
|
-
* * `vncUrl:` the value of the `VncUrl` parameter that is returned after a successful query.
|
|
31267
|
-
* * `instanceId:` the ID of your instance.
|
|
31268
|
-
* * `isWindows:` specifies whether the operating system of the instance is Windows. Set the parameter to `true` if the operating system is Windows. Set the parameter to `false` if the operating system is not Windows.
|
|
31269
|
-
* * `password:` Optional. A six-character password that is used to connect to the VNC management terminal. It can contain digits and letters. If you specify this parameter, you do not need to enter your password again when the connection is being established.
|
|
31270
|
-
* Examples:
|
|
31271
|
-
* ```
|
|
31272
|
-
* ```
|
|
31273
|
-
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true> \\`\\`\\`
|
|
31274
|
-
* or:
|
|
31275
|
-
* ```
|
|
31276
|
-
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true&password=\\\\*\\\\*\\\\*\\\\>\\* \\`\\`\\`
|
|
31277
|
-
*
|
|
31278
|
-
* @param request DescribeInstanceVncUrlRequest
|
|
31279
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
31280
|
-
* @return DescribeInstanceVncUrlResponse
|
|
31281
|
-
*/
|
|
31282
31072
|
describeInstanceVncUrlWithOptions(request: DescribeInstanceVncUrlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceVncUrlResponse>;
|
|
31283
|
-
/**
|
|
31284
|
-
* When you call this operation, take note of the following items:
|
|
31285
|
-
* * The URL returned is valid only for 15 seconds. If a connection is not established within 15 seconds after a successful query, the URL expires and you must query it again.
|
|
31286
|
-
* * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal within 60 seconds, the VNC management terminal is automatically disconnected.
|
|
31287
|
-
* * After the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal a maximum of 30 times a minute.
|
|
31288
|
-
* * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
|
|
31289
|
-
* * `vncUrl:` the value of the `VncUrl` parameter that is returned after a successful query.
|
|
31290
|
-
* * `instanceId:` the ID of your instance.
|
|
31291
|
-
* * `isWindows:` specifies whether the operating system of the instance is Windows. Set the parameter to `true` if the operating system is Windows. Set the parameter to `false` if the operating system is not Windows.
|
|
31292
|
-
* * `password:` Optional. A six-character password that is used to connect to the VNC management terminal. It can contain digits and letters. If you specify this parameter, you do not need to enter your password again when the connection is being established.
|
|
31293
|
-
* Examples:
|
|
31294
|
-
* ```
|
|
31295
|
-
* ```
|
|
31296
|
-
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true> \\`\\`\\`
|
|
31297
|
-
* or:
|
|
31298
|
-
* ```
|
|
31299
|
-
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true&password=\\\\*\\\\*\\\\*\\\\>\\* \\`\\`\\`
|
|
31300
|
-
*
|
|
31301
|
-
* @param request DescribeInstanceVncUrlRequest
|
|
31302
|
-
* @return DescribeInstanceVncUrlResponse
|
|
31303
|
-
*/
|
|
31304
31073
|
describeInstanceVncUrl(request: DescribeInstanceVncUrlRequest): Promise<DescribeInstanceVncUrlResponse>;
|
|
31305
31074
|
/**
|
|
31306
31075
|
* * 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.
|
|
@@ -31347,8 +31116,7 @@ export default class Client extends OpenApi {
|
|
|
31347
31116
|
*/
|
|
31348
31117
|
describeInstancesFullStatus(request: DescribeInstancesFullStatusRequest): Promise<DescribeInstancesFullStatusResponse>;
|
|
31349
31118
|
/**
|
|
31350
|
-
*
|
|
31351
|
-
* * You can query information about command executions within the last four weeks. A maximum of 100,000 pieces of execution information can be retained.
|
|
31119
|
+
* The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
|
|
31352
31120
|
*
|
|
31353
31121
|
* @param request DescribeInvocationResultsRequest
|
|
31354
31122
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31356,16 +31124,15 @@ export default class Client extends OpenApi {
|
|
|
31356
31124
|
*/
|
|
31357
31125
|
describeInvocationResultsWithOptions(request: DescribeInvocationResultsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvocationResultsResponse>;
|
|
31358
31126
|
/**
|
|
31359
|
-
*
|
|
31360
|
-
* * You can query information about command executions within the last four weeks. A maximum of 100,000 pieces of execution information can be retained.
|
|
31127
|
+
* The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
|
|
31361
31128
|
*
|
|
31362
31129
|
* @param request DescribeInvocationResultsRequest
|
|
31363
31130
|
* @return DescribeInvocationResultsResponse
|
|
31364
31131
|
*/
|
|
31365
31132
|
describeInvocationResults(request: DescribeInvocationResultsRequest): Promise<DescribeInvocationResultsResponse>;
|
|
31366
31133
|
/**
|
|
31367
|
-
* * After you run a command, the command may not succeed or return the expected
|
|
31368
|
-
* * You can query information about command executions within the last four weeks. A maximum of 100,000
|
|
31134
|
+
* * After you run a command, the command may not succeed or return the expected result. You can call this operation to query the execution result.
|
|
31135
|
+
* * You can query information about command executions within the last four weeks. A maximum of 100,000 entries of execution information can be retained.
|
|
31369
31136
|
*
|
|
31370
31137
|
* @param request DescribeInvocationsRequest
|
|
31371
31138
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31373,8 +31140,8 @@ export default class Client extends OpenApi {
|
|
|
31373
31140
|
*/
|
|
31374
31141
|
describeInvocationsWithOptions(request: DescribeInvocationsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvocationsResponse>;
|
|
31375
31142
|
/**
|
|
31376
|
-
* * After you run a command, the command may not succeed or return the expected
|
|
31377
|
-
* * You can query information about command executions within the last four weeks. A maximum of 100,000
|
|
31143
|
+
* * After you run a command, the command may not succeed or return the expected result. You can call this operation to query the execution result.
|
|
31144
|
+
* * You can query information about command executions within the last four weeks. A maximum of 100,000 entries of execution information can be retained.
|
|
31378
31145
|
*
|
|
31379
31146
|
* @param request DescribeInvocationsRequest
|
|
31380
31147
|
* @return DescribeInvocationsResponse
|
|
@@ -31423,8 +31190,8 @@ export default class Client extends OpenApi {
|
|
|
31423
31190
|
describeNetworkInterfacePermissionsWithOptions(request: DescribeNetworkInterfacePermissionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNetworkInterfacePermissionsResponse>;
|
|
31424
31191
|
describeNetworkInterfacePermissions(request: DescribeNetworkInterfacePermissionsRequest): Promise<DescribeNetworkInterfacePermissionsResponse>;
|
|
31425
31192
|
/**
|
|
31426
|
-
* The `DescribeNetworkInterfaces` operation supports
|
|
31427
|
-
* >
|
|
31193
|
+
* The `DescribeNetworkInterfaces` operation supports paged queries. During a paged query, when you call the DescribeNetworkInterfaces operation to retrieve the first page of results, set `MaxResults` to limit the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next call to retrieve a new page of results. When you perform the next request, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
31194
|
+
* > You must specify `MaxResults` or `NextToken` for the system to return results based on the preceding pagination mechanism. Otherwise, the system paginates the results based on the `PageNumber` and `PageSize` parameters.
|
|
31428
31195
|
*
|
|
31429
31196
|
* @param request DescribeNetworkInterfacesRequest
|
|
31430
31197
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31432,8 +31199,8 @@ export default class Client extends OpenApi {
|
|
|
31432
31199
|
*/
|
|
31433
31200
|
describeNetworkInterfacesWithOptions(request: DescribeNetworkInterfacesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNetworkInterfacesResponse>;
|
|
31434
31201
|
/**
|
|
31435
|
-
* The `DescribeNetworkInterfaces` operation supports
|
|
31436
|
-
* >
|
|
31202
|
+
* The `DescribeNetworkInterfaces` operation supports paged queries. During a paged query, when you call the DescribeNetworkInterfaces operation to retrieve the first page of results, set `MaxResults` to limit the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next call to retrieve a new page of results. When you perform the next request, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
31203
|
+
* > You must specify `MaxResults` or `NextToken` for the system to return results based on the preceding pagination mechanism. Otherwise, the system paginates the results based on the `PageNumber` and `PageSize` parameters.
|
|
31437
31204
|
*
|
|
31438
31205
|
* @param request DescribeNetworkInterfacesRequest
|
|
31439
31206
|
* @return DescribeNetworkInterfacesResponse
|
|
@@ -31491,16 +31258,15 @@ export default class Client extends OpenApi {
|
|
|
31491
31258
|
*/
|
|
31492
31259
|
describePrefixLists(request: DescribePrefixListsRequest): Promise<DescribePrefixListsResponse>;
|
|
31493
31260
|
/**
|
|
31494
|
-
*
|
|
31495
|
-
*
|
|
31496
|
-
* * When
|
|
31497
|
-
* * When
|
|
31498
|
-
* * When
|
|
31499
|
-
* * When
|
|
31500
|
-
*
|
|
31501
|
-
* * When
|
|
31502
|
-
* *
|
|
31503
|
-
* * By default, the `ChargeType` parameter is set to `PostPaid`. You can specify the `PriceUnit` parameter to query the prices of ECS resources that have different billing cycles.
|
|
31261
|
+
* * The required parameters vary based on the type of resource whose prices you want to query.
|
|
31262
|
+
* * When `ResourceType` is set to instance, you must specify `InstanceType`.
|
|
31263
|
+
* * When `ResourceType` is set to disk, you must specify `DataDisk.1.Category` and `DataDisk.1.Size`. When `ResourceType` is set to disk, only pay-as-you-go prices of cloud disks are returned. In this case, `PriceUnit` can be set only to `Hour`.
|
|
31264
|
+
* * When `ResourceType` is set to ddh, you must specify `DedicatedHostType`.
|
|
31265
|
+
* * When `ResourceType` is set to ElasticityAssurance, you must specify `InstanceType`.
|
|
31266
|
+
* * When `ResourceType` is set to CapacityReservation, you must specify `InstanceType`.
|
|
31267
|
+
* * When `ResourceType` is set to bandwidth, only the pay-by-traffic (`PayByTraffic`) prices of network usage is returned.
|
|
31268
|
+
* * When `ResourceType` is set to instance, the prices of up to four data disks can be queried.
|
|
31269
|
+
* * By default, `ChargeType` is set to `PostPaid`. You can specify `PriceUnit` to query the prices of ECS resources that have different billing cycles.
|
|
31504
31270
|
*
|
|
31505
31271
|
* @param request DescribePriceRequest
|
|
31506
31272
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31508,16 +31274,15 @@ export default class Client extends OpenApi {
|
|
|
31508
31274
|
*/
|
|
31509
31275
|
describePriceWithOptions(request: DescribePriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribePriceResponse>;
|
|
31510
31276
|
/**
|
|
31511
|
-
*
|
|
31512
|
-
*
|
|
31513
|
-
* * When
|
|
31514
|
-
* * When
|
|
31515
|
-
* * When
|
|
31516
|
-
* * When
|
|
31517
|
-
*
|
|
31518
|
-
* * When
|
|
31519
|
-
* *
|
|
31520
|
-
* * By default, the `ChargeType` parameter is set to `PostPaid`. You can specify the `PriceUnit` parameter to query the prices of ECS resources that have different billing cycles.
|
|
31277
|
+
* * The required parameters vary based on the type of resource whose prices you want to query.
|
|
31278
|
+
* * When `ResourceType` is set to instance, you must specify `InstanceType`.
|
|
31279
|
+
* * When `ResourceType` is set to disk, you must specify `DataDisk.1.Category` and `DataDisk.1.Size`. When `ResourceType` is set to disk, only pay-as-you-go prices of cloud disks are returned. In this case, `PriceUnit` can be set only to `Hour`.
|
|
31280
|
+
* * When `ResourceType` is set to ddh, you must specify `DedicatedHostType`.
|
|
31281
|
+
* * When `ResourceType` is set to ElasticityAssurance, you must specify `InstanceType`.
|
|
31282
|
+
* * When `ResourceType` is set to CapacityReservation, you must specify `InstanceType`.
|
|
31283
|
+
* * When `ResourceType` is set to bandwidth, only the pay-by-traffic (`PayByTraffic`) prices of network usage is returned.
|
|
31284
|
+
* * When `ResourceType` is set to instance, the prices of up to four data disks can be queried.
|
|
31285
|
+
* * By default, `ChargeType` is set to `PostPaid`. You can specify `PriceUnit` to query the prices of ECS resources that have different billing cycles.
|
|
31521
31286
|
*
|
|
31522
31287
|
* @param request DescribePriceRequest
|
|
31523
31288
|
* @return DescribePriceResponse
|
|
@@ -31541,10 +31306,9 @@ export default class Client extends OpenApi {
|
|
|
31541
31306
|
*/
|
|
31542
31307
|
describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
|
|
31543
31308
|
/**
|
|
31544
|
-
* ## Description
|
|
31545
31309
|
* * You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
31546
31310
|
* * Take note of the following items:
|
|
31547
|
-
* * If you
|
|
31311
|
+
* * If you specify only the required parameters, the price for renewing an instance for one month is queried by default.
|
|
31548
31312
|
* * The renewal period-related parameter pair (`Period` and `PeriodUnit`) and the synchronized expiration date-related parameter (`ExpectedRenewDay`) are mutually exclusive. You cannot set these parameters together to query the prices for renewing a specified instance for a period of time and to a synchronized expiration date at the same time.
|
|
31549
31313
|
*
|
|
31550
31314
|
* @param request DescribeRenewalPriceRequest
|
|
@@ -31553,10 +31317,9 @@ export default class Client extends OpenApi {
|
|
|
31553
31317
|
*/
|
|
31554
31318
|
describeRenewalPriceWithOptions(request: DescribeRenewalPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRenewalPriceResponse>;
|
|
31555
31319
|
/**
|
|
31556
|
-
* ## Description
|
|
31557
31320
|
* * You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
31558
31321
|
* * Take note of the following items:
|
|
31559
|
-
* * If you
|
|
31322
|
+
* * If you specify only the required parameters, the price for renewing an instance for one month is queried by default.
|
|
31560
31323
|
* * The renewal period-related parameter pair (`Period` and `PeriodUnit`) and the synchronized expiration date-related parameter (`ExpectedRenewDay`) are mutually exclusive. You cannot set these parameters together to query the prices for renewing a specified instance for a period of time and to a synchronized expiration date at the same time.
|
|
31561
31324
|
*
|
|
31562
31325
|
* @param request DescribeRenewalPriceRequest
|
|
@@ -31625,10 +31388,7 @@ export default class Client extends OpenApi {
|
|
|
31625
31388
|
*/
|
|
31626
31389
|
describeSecurityGroupReferences(request: DescribeSecurityGroupReferencesRequest): Promise<DescribeSecurityGroupReferencesResponse>;
|
|
31627
31390
|
/**
|
|
31628
|
-
*
|
|
31629
|
-
* * The basic information of security groups includes the IDs and descriptions. The response returns security groups in descending order based on their IDs.
|
|
31630
|
-
* * We recommend that you use the NextToken and MaxResults parameters for a paged query. We recommend that you use the MaxResults parameter to specify the maximum number of entries to return in each request. The returned 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 the NextToken parameter to the NextToken value that is returned in the previous call and use the MaxResults parameter to specify the maximum number of entries to return in this request. If the returned value of the NextToken parameter is empty, the current page of results is the last page and no more results are to be returned.
|
|
31631
|
-
* * When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31391
|
+
* The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
31632
31392
|
*
|
|
31633
31393
|
* @param request DescribeSecurityGroupsRequest
|
|
31634
31394
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31636,10 +31396,7 @@ export default class Client extends OpenApi {
|
|
|
31636
31396
|
*/
|
|
31637
31397
|
describeSecurityGroupsWithOptions(request: DescribeSecurityGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSecurityGroupsResponse>;
|
|
31638
31398
|
/**
|
|
31639
|
-
*
|
|
31640
|
-
* * The basic information of security groups includes the IDs and descriptions. The response returns security groups in descending order based on their IDs.
|
|
31641
|
-
* * We recommend that you use the NextToken and MaxResults parameters for a paged query. We recommend that you use the MaxResults parameter to specify the maximum number of entries to return in each request. The returned 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 the NextToken parameter to the NextToken value that is returned in the previous call and use the MaxResults parameter to specify the maximum number of entries to return in this request. If the returned value of the NextToken parameter is empty, the current page of results is the last page and no more results are to be returned.
|
|
31642
|
-
* * When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
31399
|
+
* The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
31643
31400
|
*
|
|
31644
31401
|
* @param request DescribeSecurityGroupsRequest
|
|
31645
31402
|
* @return DescribeSecurityGroupsResponse
|
|
@@ -31681,8 +31438,8 @@ export default class Client extends OpenApi {
|
|
|
31681
31438
|
describeSnapshotGroups(request: DescribeSnapshotGroupsRequest): Promise<DescribeSnapshotGroupsResponse>;
|
|
31682
31439
|
/**
|
|
31683
31440
|
* When you call this operation, take note of the following items:
|
|
31684
|
-
* * You can
|
|
31685
|
-
* * Only the
|
|
31441
|
+
* * You can configure multiple request parameters, such as `RegionId`, `DiskIds`, and `InstanceId`, to query snapshot chains. The parameters have logical AND relations.
|
|
31442
|
+
* * Only the configured parameters are used as filter conditions. If `DiskIds` and `SnapshotLinkIds` are set to empty JSON arrays, the values are considered as valid filter conditions. In this case, an empty result is returned.
|
|
31686
31443
|
*
|
|
31687
31444
|
* @param request DescribeSnapshotLinksRequest
|
|
31688
31445
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31691,17 +31448,17 @@ export default class Client extends OpenApi {
|
|
|
31691
31448
|
describeSnapshotLinksWithOptions(request: DescribeSnapshotLinksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSnapshotLinksResponse>;
|
|
31692
31449
|
/**
|
|
31693
31450
|
* When you call this operation, take note of the following items:
|
|
31694
|
-
* * You can
|
|
31695
|
-
* * Only the
|
|
31451
|
+
* * You can configure multiple request parameters, such as `RegionId`, `DiskIds`, and `InstanceId`, to query snapshot chains. The parameters have logical AND relations.
|
|
31452
|
+
* * Only the configured parameters are used as filter conditions. If `DiskIds` and `SnapshotLinkIds` are set to empty JSON arrays, the values are considered as valid filter conditions. In this case, an empty result is returned.
|
|
31696
31453
|
*
|
|
31697
31454
|
* @param request DescribeSnapshotLinksRequest
|
|
31698
31455
|
* @return DescribeSnapshotLinksResponse
|
|
31699
31456
|
*/
|
|
31700
31457
|
describeSnapshotLinks(request: DescribeSnapshotLinksRequest): Promise<DescribeSnapshotLinksResponse>;
|
|
31701
31458
|
/**
|
|
31702
|
-
*
|
|
31459
|
+
* Take note of the following items:
|
|
31703
31460
|
* * 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.
|
|
31704
|
-
* * Only the
|
|
31461
|
+
* * 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.
|
|
31705
31462
|
*
|
|
31706
31463
|
* @param request DescribeSnapshotMonitorDataRequest
|
|
31707
31464
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31709,9 +31466,9 @@ export default class Client extends OpenApi {
|
|
|
31709
31466
|
*/
|
|
31710
31467
|
describeSnapshotMonitorDataWithOptions(request: DescribeSnapshotMonitorDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSnapshotMonitorDataResponse>;
|
|
31711
31468
|
/**
|
|
31712
|
-
*
|
|
31469
|
+
* Take note of the following items:
|
|
31713
31470
|
* * 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.
|
|
31714
|
-
* * Only the
|
|
31471
|
+
* * 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.
|
|
31715
31472
|
*
|
|
31716
31473
|
* @param request DescribeSnapshotMonitorDataRequest
|
|
31717
31474
|
* @return DescribeSnapshotMonitorDataResponse
|
|
@@ -31720,8 +31477,8 @@ export default class Client extends OpenApi {
|
|
|
31720
31477
|
describeSnapshotPackageWithOptions(request: DescribeSnapshotPackageRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSnapshotPackageResponse>;
|
|
31721
31478
|
describeSnapshotPackage(request: DescribeSnapshotPackageRequest): Promise<DescribeSnapshotPackageResponse>;
|
|
31722
31479
|
/**
|
|
31723
|
-
* ##
|
|
31724
|
-
* You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to
|
|
31480
|
+
* ## Usage notes
|
|
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.
|
|
31725
31482
|
* 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~~).
|
|
31726
31483
|
*
|
|
31727
31484
|
* @param request DescribeSnapshotsRequest
|
|
@@ -31730,8 +31487,8 @@ export default class Client extends OpenApi {
|
|
|
31730
31487
|
*/
|
|
31731
31488
|
describeSnapshotsWithOptions(request: DescribeSnapshotsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSnapshotsResponse>;
|
|
31732
31489
|
/**
|
|
31733
|
-
* ##
|
|
31734
|
-
* You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to
|
|
31490
|
+
* ## Usage notes
|
|
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.
|
|
31735
31492
|
* 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~~).
|
|
31736
31493
|
*
|
|
31737
31494
|
* @param request DescribeSnapshotsRequest
|
|
@@ -31793,7 +31550,7 @@ export default class Client extends OpenApi {
|
|
|
31793
31550
|
describeStorageSetsWithOptions(request: DescribeStorageSetsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeStorageSetsResponse>;
|
|
31794
31551
|
describeStorageSets(request: DescribeStorageSetsRequest): Promise<DescribeStorageSetsResponse>;
|
|
31795
31552
|
/**
|
|
31796
|
-
* If a tag key
|
|
31553
|
+
* If a tag key that has no tag value is specified, all tags that contain the tag key are returned. If a tag key-value pair is specified, only tags that exactly match the key-value pair are returned.
|
|
31797
31554
|
*
|
|
31798
31555
|
* @param request DescribeTagsRequest
|
|
31799
31556
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31801,7 +31558,7 @@ export default class Client extends OpenApi {
|
|
|
31801
31558
|
*/
|
|
31802
31559
|
describeTagsWithOptions(request: DescribeTagsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagsResponse>;
|
|
31803
31560
|
/**
|
|
31804
|
-
* If a tag key
|
|
31561
|
+
* If a tag key that has no tag value is specified, all tags that contain the tag key are returned. If a tag key-value pair is specified, only tags that exactly match the key-value pair are returned.
|
|
31805
31562
|
*
|
|
31806
31563
|
* @param request DescribeTagsRequest
|
|
31807
31564
|
* @return DescribeTagsResponse
|
|
@@ -31939,11 +31696,11 @@ export default class Client extends OpenApi {
|
|
|
31939
31696
|
detachClassicLinkVpc(request: DetachClassicLinkVpcRequest): Promise<DetachClassicLinkVpcResponse>;
|
|
31940
31697
|
/**
|
|
31941
31698
|
* When you call this operation, take note of the following items:
|
|
31942
|
-
* * The disk that you want to detach must be in the
|
|
31943
|
-
* * The instance from which you want to detach a data disk must be in the **Running**
|
|
31944
|
-
* * The instance from which you want to detach
|
|
31945
|
-
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"
|
|
31946
|
-
* * DetachDisk is an asynchronous operation.
|
|
31699
|
+
* * The disk that you want to detach must be in the `In_Use` state.
|
|
31700
|
+
* * The instance from which you want to detach a pay-as-you-go data disk must be in the **Running** or **Stopped** state.````
|
|
31701
|
+
* * The instance from which you want to detach a system disk must be in the **Stopped** state.``
|
|
31702
|
+
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"`, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
31703
|
+
* * DetachDisk is an asynchronous operation. After you call the operation, a disk is detached from an instance in approximately 1 minute.
|
|
31947
31704
|
*
|
|
31948
31705
|
* @param request DetachDiskRequest
|
|
31949
31706
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31952,11 +31709,11 @@ export default class Client extends OpenApi {
|
|
|
31952
31709
|
detachDiskWithOptions(request: DetachDiskRequest, runtime: $Util.RuntimeOptions): Promise<DetachDiskResponse>;
|
|
31953
31710
|
/**
|
|
31954
31711
|
* When you call this operation, take note of the following items:
|
|
31955
|
-
* * The disk that you want to detach must be in the
|
|
31956
|
-
* * The instance from which you want to detach a data disk must be in the **Running**
|
|
31957
|
-
* * The instance from which you want to detach
|
|
31958
|
-
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"
|
|
31959
|
-
* * DetachDisk is an asynchronous operation.
|
|
31712
|
+
* * The disk that you want to detach must be in the `In_Use` state.
|
|
31713
|
+
* * The instance from which you want to detach a pay-as-you-go data disk must be in the **Running** or **Stopped** state.````
|
|
31714
|
+
* * The instance from which you want to detach a system disk must be in the **Stopped** state.``
|
|
31715
|
+
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"`, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
31716
|
+
* * DetachDisk is an asynchronous operation. After you call the operation, a disk is detached from an instance in approximately 1 minute.
|
|
31960
31717
|
*
|
|
31961
31718
|
* @param request DetachDiskRequest
|
|
31962
31719
|
* @return DetachDiskResponse
|
|
@@ -31966,8 +31723,8 @@ export default class Client extends OpenApi {
|
|
|
31966
31723
|
detachInstanceRamRole(request: DetachInstanceRamRoleRequest): Promise<DetachInstanceRamRoleResponse>;
|
|
31967
31724
|
/**
|
|
31968
31725
|
* When you call this operation, take note of the following items:
|
|
31969
|
-
* * After you
|
|
31970
|
-
* *
|
|
31726
|
+
* * After you unbind an SSH key pair from an instance, you must call the [RebootInstance](~~25502~~) operation to restart the instance to allow the unbind operation to take effect.
|
|
31727
|
+
* * After you unbind an SSH key pair from an instance, the username and password authentication method is selected for the instance.
|
|
31971
31728
|
*
|
|
31972
31729
|
* @param request DetachKeyPairRequest
|
|
31973
31730
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31976,8 +31733,8 @@ export default class Client extends OpenApi {
|
|
|
31976
31733
|
detachKeyPairWithOptions(request: DetachKeyPairRequest, runtime: $Util.RuntimeOptions): Promise<DetachKeyPairResponse>;
|
|
31977
31734
|
/**
|
|
31978
31735
|
* When you call this operation, take note of the following items:
|
|
31979
|
-
* * After you
|
|
31980
|
-
* *
|
|
31736
|
+
* * After you unbind an SSH key pair from an instance, you must call the [RebootInstance](~~25502~~) operation to restart the instance to allow the unbind operation to take effect.
|
|
31737
|
+
* * After you unbind an SSH key pair from an instance, the username and password authentication method is selected for the instance.
|
|
31981
31738
|
*
|
|
31982
31739
|
* @param request DetachKeyPairRequest
|
|
31983
31740
|
* @return DetachKeyPairResponse
|
|
@@ -32019,7 +31776,6 @@ export default class Client extends OpenApi {
|
|
|
32019
31776
|
*/
|
|
32020
31777
|
detachNetworkInterface(request: DetachNetworkInterfaceRequest): Promise<DetachNetworkInterfaceResponse>;
|
|
32021
31778
|
/**
|
|
32022
|
-
* ## Description
|
|
32023
31779
|
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
32024
31780
|
*
|
|
32025
31781
|
* @param request DisableActivationRequest
|
|
@@ -32028,7 +31784,6 @@ export default class Client extends OpenApi {
|
|
|
32028
31784
|
*/
|
|
32029
31785
|
disableActivationWithOptions(request: DisableActivationRequest, runtime: $Util.RuntimeOptions): Promise<DisableActivationResponse>;
|
|
32030
31786
|
/**
|
|
32031
|
-
* ## Description
|
|
32032
31787
|
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
32033
31788
|
*
|
|
32034
31789
|
* @param request DisableActivationRequest
|
|
@@ -32098,42 +31853,46 @@ export default class Client extends OpenApi {
|
|
|
32098
31853
|
/**
|
|
32099
31854
|
* Before you export a custom image, complete the following operations:
|
|
32100
31855
|
* * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
|
|
32101
|
-
* * Use Resource Access Management (RAM) to
|
|
32102
|
-
* 1. Create a role named `AliyunECSImageExportDefaultRole
|
|
31856
|
+
* * 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`. Configure the following policy for the role:
|
|
31858
|
+
* ```json
|
|
31859
|
+
* {
|
|
31860
|
+
* "Statement": [
|
|
32103
31861
|
* {
|
|
32104
|
-
* "
|
|
32105
|
-
*
|
|
32106
|
-
*
|
|
32107
|
-
*
|
|
32108
|
-
* "
|
|
32109
|
-
*
|
|
32110
|
-
*
|
|
32111
|
-
* ]
|
|
32112
|
-
* }
|
|
32113
|
-
* }
|
|
32114
|
-
* ],
|
|
32115
|
-
* "Version": "1"
|
|
31862
|
+
* "Action": "sts:AssumeRole",
|
|
31863
|
+
* "Effect": "Allow",
|
|
31864
|
+
* "Principal": {
|
|
31865
|
+
* "Service": [
|
|
31866
|
+
* "ecs.aliyuncs.com"
|
|
31867
|
+
* ]
|
|
31868
|
+
* }
|
|
32116
31869
|
* }
|
|
32117
|
-
*
|
|
31870
|
+
* ],
|
|
31871
|
+
* "Version": "1"
|
|
31872
|
+
* }
|
|
31873
|
+
* ```
|
|
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 document and attach the policy to the role:
|
|
31875
|
+
* ```json
|
|
31876
|
+
* {
|
|
31877
|
+
* "Version": "1",
|
|
31878
|
+
* "Statement": [
|
|
32118
31879
|
* {
|
|
32119
|
-
* "
|
|
32120
|
-
*
|
|
32121
|
-
*
|
|
32122
|
-
*
|
|
32123
|
-
*
|
|
32124
|
-
*
|
|
32125
|
-
*
|
|
32126
|
-
*
|
|
32127
|
-
*
|
|
32128
|
-
*
|
|
32129
|
-
*
|
|
32130
|
-
*
|
|
32131
|
-
* ],
|
|
32132
|
-
* "Resource": "*",
|
|
32133
|
-
* "Effect": "Allow"
|
|
32134
|
-
* }
|
|
32135
|
-
* ]
|
|
31880
|
+
* "Action": [
|
|
31881
|
+
* "oss:GetObject",
|
|
31882
|
+
* "oss:PutObject",
|
|
31883
|
+
* "oss:DeleteObject",
|
|
31884
|
+
* "oss:GetBucketLocation",
|
|
31885
|
+
* "oss:GetBucketInfo",
|
|
31886
|
+
* "oss:AbortMultipartUpload",
|
|
31887
|
+
* "oss:ListMultipartUploads",
|
|
31888
|
+
* "oss:ListParts"
|
|
31889
|
+
* ],
|
|
31890
|
+
* "Resource": "*",
|
|
31891
|
+
* "Effect": "Allow"
|
|
32136
31892
|
* }
|
|
31893
|
+
* ]
|
|
31894
|
+
* }
|
|
31895
|
+
* ```
|
|
32137
31896
|
* After you export a custom image, the following situation occurs:
|
|
32138
31897
|
* The custom image is stored in the specified OSS bucket. You can download the custom image. For more information, see [Download objects](~~31912~~).
|
|
32139
31898
|
*
|
|
@@ -32145,42 +31904,46 @@ export default class Client extends OpenApi {
|
|
|
32145
31904
|
/**
|
|
32146
31905
|
* Before you export a custom image, complete the following operations:
|
|
32147
31906
|
* * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
|
|
32148
|
-
* * Use Resource Access Management (RAM) to
|
|
32149
|
-
* 1. Create a role named `AliyunECSImageExportDefaultRole
|
|
31907
|
+
* * 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`. Configure the following policy for the role:
|
|
31909
|
+
* ```json
|
|
31910
|
+
* {
|
|
31911
|
+
* "Statement": [
|
|
32150
31912
|
* {
|
|
32151
|
-
* "
|
|
32152
|
-
*
|
|
32153
|
-
*
|
|
32154
|
-
*
|
|
32155
|
-
* "
|
|
32156
|
-
*
|
|
32157
|
-
*
|
|
32158
|
-
* ]
|
|
32159
|
-
* }
|
|
32160
|
-
* }
|
|
32161
|
-
* ],
|
|
32162
|
-
* "Version": "1"
|
|
31913
|
+
* "Action": "sts:AssumeRole",
|
|
31914
|
+
* "Effect": "Allow",
|
|
31915
|
+
* "Principal": {
|
|
31916
|
+
* "Service": [
|
|
31917
|
+
* "ecs.aliyuncs.com"
|
|
31918
|
+
* ]
|
|
31919
|
+
* }
|
|
32163
31920
|
* }
|
|
32164
|
-
*
|
|
31921
|
+
* ],
|
|
31922
|
+
* "Version": "1"
|
|
31923
|
+
* }
|
|
31924
|
+
* ```
|
|
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 document and attach the policy to the role:
|
|
31926
|
+
* ```json
|
|
31927
|
+
* {
|
|
31928
|
+
* "Version": "1",
|
|
31929
|
+
* "Statement": [
|
|
32165
31930
|
* {
|
|
32166
|
-
* "
|
|
32167
|
-
*
|
|
32168
|
-
*
|
|
32169
|
-
*
|
|
32170
|
-
*
|
|
32171
|
-
*
|
|
32172
|
-
*
|
|
32173
|
-
*
|
|
32174
|
-
*
|
|
32175
|
-
*
|
|
32176
|
-
*
|
|
32177
|
-
*
|
|
32178
|
-
* ],
|
|
32179
|
-
* "Resource": "*",
|
|
32180
|
-
* "Effect": "Allow"
|
|
32181
|
-
* }
|
|
32182
|
-
* ]
|
|
31931
|
+
* "Action": [
|
|
31932
|
+
* "oss:GetObject",
|
|
31933
|
+
* "oss:PutObject",
|
|
31934
|
+
* "oss:DeleteObject",
|
|
31935
|
+
* "oss:GetBucketLocation",
|
|
31936
|
+
* "oss:GetBucketInfo",
|
|
31937
|
+
* "oss:AbortMultipartUpload",
|
|
31938
|
+
* "oss:ListMultipartUploads",
|
|
31939
|
+
* "oss:ListParts"
|
|
31940
|
+
* ],
|
|
31941
|
+
* "Resource": "*",
|
|
31942
|
+
* "Effect": "Allow"
|
|
32183
31943
|
* }
|
|
31944
|
+
* ]
|
|
31945
|
+
* }
|
|
31946
|
+
* ```
|
|
32184
31947
|
* After you export a custom image, the following situation occurs:
|
|
32185
31948
|
* The custom image is stored in the specified OSS bucket. You can download the custom image. For more information, see [Download objects](~~31912~~).
|
|
32186
31949
|
*
|
|
@@ -32204,9 +31967,9 @@ export default class Client extends OpenApi {
|
|
|
32204
31967
|
*/
|
|
32205
31968
|
exportSnapshot(request: ExportSnapshotRequest): Promise<ExportSnapshotResponse>;
|
|
32206
31969
|
/**
|
|
32207
|
-
* * ECS is a virtualized cloud-based service and cannot be connected to display devices.
|
|
32208
|
-
* *
|
|
32209
|
-
* *
|
|
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.
|
|
32210
31973
|
*
|
|
32211
31974
|
* @param request GetInstanceConsoleOutputRequest
|
|
32212
31975
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32214,19 +31977,19 @@ export default class Client extends OpenApi {
|
|
|
32214
31977
|
*/
|
|
32215
31978
|
getInstanceConsoleOutputWithOptions(request: GetInstanceConsoleOutputRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceConsoleOutputResponse>;
|
|
32216
31979
|
/**
|
|
32217
|
-
* * ECS is a virtualized cloud-based service and cannot be connected to display devices.
|
|
32218
|
-
* *
|
|
32219
|
-
* *
|
|
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.
|
|
32220
31983
|
*
|
|
32221
31984
|
* @param request GetInstanceConsoleOutputRequest
|
|
32222
31985
|
* @return GetInstanceConsoleOutputResponse
|
|
32223
31986
|
*/
|
|
32224
31987
|
getInstanceConsoleOutput(request: GetInstanceConsoleOutputRequest): Promise<GetInstanceConsoleOutputResponse>;
|
|
32225
31988
|
/**
|
|
32226
|
-
* ECS returns
|
|
31989
|
+
* 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:
|
|
32227
31990
|
* * The instance must be in the Running state.
|
|
32228
|
-
* *
|
|
32229
|
-
* * If you
|
|
31991
|
+
* * For instances of the retired instance types, you cannot obtain screenshots. For more information, see [Retired instance types](~~55263~~).
|
|
31992
|
+
* * If you call this operation on an instance for multiple times, the call interval must be at least 10 seconds. Otherwise, the `Throttling` error is returned.
|
|
32230
31993
|
*
|
|
32231
31994
|
* @param request GetInstanceScreenshotRequest
|
|
32232
31995
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32234,10 +31997,10 @@ export default class Client extends OpenApi {
|
|
|
32234
31997
|
*/
|
|
32235
31998
|
getInstanceScreenshotWithOptions(request: GetInstanceScreenshotRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceScreenshotResponse>;
|
|
32236
31999
|
/**
|
|
32237
|
-
* ECS returns
|
|
32000
|
+
* 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:
|
|
32238
32001
|
* * The instance must be in the Running state.
|
|
32239
|
-
* *
|
|
32240
|
-
* * If you
|
|
32002
|
+
* * For instances of the retired instance types, you cannot obtain screenshots. For more information, see [Retired instance types](~~55263~~).
|
|
32003
|
+
* * If you call this operation on an instance for multiple times, the call interval must be at least 10 seconds. Otherwise, the `Throttling` error is returned.
|
|
32241
32004
|
*
|
|
32242
32005
|
* @param request GetInstanceScreenshotRequest
|
|
32243
32006
|
* @return GetInstanceScreenshotResponse
|
|
@@ -32246,8 +32009,8 @@ export default class Client extends OpenApi {
|
|
|
32246
32009
|
/**
|
|
32247
32010
|
* When you call this operation, take note of the following items:
|
|
32248
32011
|
* * Before you can import an image, you must upload the image to an Object Storage Service (OSS) bucket. For more information, see [Upload objects](~~31886~~).
|
|
32249
|
-
* * In some scenarios, you may want to create
|
|
32250
|
-
* *
|
|
32012
|
+
* * In some scenarios, you may want to create an image based on the operating system data of a source server, import the image to ECS, and then create an ECS instance from the imported image. The source server can be a physical server, a virtual machine, or a cloud host. If the virtio driver is not installed on the source server, the created ECS instance may be unable to start. To prevent this issue, make sure that the virtio driver is installed on the source server before you import an image to Alibaba Cloud. For more information, see [Install the virtio driver](~~62423~~).
|
|
32013
|
+
* * Before you import images for the first time, you must use Resource Access Management (RAM) to authorize ECS to access your OSS buckets. If ECS is not authorized to access your OSS buckets, the `NoSetRoletoECSServiceAcount` error code is returned when you call the ImportImage operation. The [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101image.0.0.2ffa4df57kSoHX#/role/authorize?request=%7B%22Requests%22%3A%20%7B%22request1%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageImportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSImportRole%22%7D%2C%20%22request2%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageExportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSExportRole%22%7D%7D%2C%20%22ReturnUrl%22%3A%20%22https%3A//ecs.console.aliyun.com/%22%2C%20%22Service%22%3A%20%22ECS%22%7D) page in the RAM console provides a convenient push-button authorization feature for this operation. You can also perform the authorization by using a RAM role and RAM policies. The following examples show the policies and permissions required for some steps in the authorization procedure. For more information, see [Control access to resources by using RAM users](~~25481~~).
|
|
32251
32014
|
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image cannot be imported. Configure the following trust policy for the role:
|
|
32252
32015
|
* {
|
|
32253
32016
|
* "Statement": [
|
|
@@ -32281,19 +32044,19 @@ export default class Client extends OpenApi {
|
|
|
32281
32044
|
* }
|
|
32282
32045
|
* ```
|
|
32283
32046
|
* * You cannot delete an image that is being imported. However, you can call the [CancelTask](~~25624~~) operation to cancel the image import task.
|
|
32284
|
-
* *
|
|
32047
|
+
* * You can import an image only to the same region as the OSS bucket to which the image was uploaded.
|
|
32285
32048
|
* * The valid values of N in the `DiskDeviceMapping.N` parameter range from 1 to 17. When N is set to 1, the disk is a system disk. When N is set to a value from 2 to 17, the disk is a data disk.
|
|
32286
|
-
* * When you set
|
|
32287
|
-
* *
|
|
32288
|
-
* * The
|
|
32289
|
-
* * The
|
|
32049
|
+
* * When you set `Architecture` to `arm64` or when you set `Platform` to `CentOS Stream`, `Anolis`, `AlmaLinux`, `UOS`, `Kylin`, or `Rocky Linux`, take note of the following items:
|
|
32050
|
+
* * To ensure that the password can be set, or that the key pair can be modified for an imported image, the image must meet the following requirements:
|
|
32051
|
+
* * The operating system kernel supports the `CONFIG_FW_CFG_SYSFS` feature. By default, Linux community kernel 4.6 and later, as well as CentOS kernel 3.10.0-826.el7 and later, support this feature. You can run the `grep -nr CONFIG_FW_CFG_SYSFS /boot/config-$(uname -r)` command in the source server of the image. If the command output contains `CONFIG_FW_CFG_SYSFS=y`, the kernel of this image supports the `CONFIG_FW_CFG_SYSFS` feature.
|
|
32052
|
+
* * The latest version of Alibaba Cloud cloud-init is installed on the operating system. If the installed version of cloud-init is 19.1, make sure that the minor version is 19.1.3 or later. If the installed version of cloud-init is 0.7.6a as in some early versions of operating systems, make sure that the minor version is 0.7.6a15 or later. For more information, see [Install cloud-init](~~57803~~).
|
|
32290
32053
|
* * The operating system supports the SHA-512 encryption algorithm.
|
|
32291
|
-
* * If you want
|
|
32054
|
+
* * If you want an imported image to support the resizing of disks and file systems, make sure that the image meets the following requirements before you import it:
|
|
32292
32055
|
* * The kernel version of the operating system is later than 3.6.
|
|
32293
|
-
* * The image supports the growpart command.
|
|
32294
|
-
* * The image
|
|
32295
|
-
* * The
|
|
32296
|
-
* * If the image that you want to import uses the ARM64 architecture, you must
|
|
32056
|
+
* * The image supports the growpart command. To support this command, you must install the `cloud-utils-growpart` package. Package installation methods vary based on operating systems. For more information, see [Resize partitions and file systems of Linux system disks](~~111738~~).
|
|
32057
|
+
* * The image supports the resize2fs command. To support this command, you must install the `e2fsprogs` package. By default, the package is installed on the operating system. If the package is not installed, you must install it.
|
|
32058
|
+
* * The latest version of Alibaba Cloud cloud-init is installed on the operating system. If the installed version of cloud-init is 19.1, make sure that the minor version is 19.1.3 or later. If the installed version of cloud-init is 0.7.6a as in some early versions of operating systems, make sure that the minor version is 0.7.6a15 or later. For more information, see [Install cloud-init](~~57803~~).
|
|
32059
|
+
* * If the image that you want to import uses the ARM64 architecture, you must configure the real-time clock (RTC) to use the Coordinated Universal Time (UTC) time standard. For more information, see [Linux time and time zones](https://icms.alibaba-inc.com/content/ecs/image?l=1\\&m=4656\\&n=3385033).
|
|
32297
32060
|
*
|
|
32298
32061
|
* @param request ImportImageRequest
|
|
32299
32062
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32303,8 +32066,8 @@ export default class Client extends OpenApi {
|
|
|
32303
32066
|
/**
|
|
32304
32067
|
* When you call this operation, take note of the following items:
|
|
32305
32068
|
* * Before you can import an image, you must upload the image to an Object Storage Service (OSS) bucket. For more information, see [Upload objects](~~31886~~).
|
|
32306
|
-
* * In some scenarios, you may want to create
|
|
32307
|
-
* *
|
|
32069
|
+
* * In some scenarios, you may want to create an image based on the operating system data of a source server, import the image to ECS, and then create an ECS instance from the imported image. The source server can be a physical server, a virtual machine, or a cloud host. If the virtio driver is not installed on the source server, the created ECS instance may be unable to start. To prevent this issue, make sure that the virtio driver is installed on the source server before you import an image to Alibaba Cloud. For more information, see [Install the virtio driver](~~62423~~).
|
|
32070
|
+
* * Before you import images for the first time, you must use Resource Access Management (RAM) to authorize ECS to access your OSS buckets. If ECS is not authorized to access your OSS buckets, the `NoSetRoletoECSServiceAcount` error code is returned when you call the ImportImage operation. The [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101image.0.0.2ffa4df57kSoHX#/role/authorize?request=%7B%22Requests%22%3A%20%7B%22request1%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageImportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSImportRole%22%7D%2C%20%22request2%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageExportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSExportRole%22%7D%7D%2C%20%22ReturnUrl%22%3A%20%22https%3A//ecs.console.aliyun.com/%22%2C%20%22Service%22%3A%20%22ECS%22%7D) page in the RAM console provides a convenient push-button authorization feature for this operation. You can also perform the authorization by using a RAM role and RAM policies. The following examples show the policies and permissions required for some steps in the authorization procedure. For more information, see [Control access to resources by using RAM users](~~25481~~).
|
|
32308
32071
|
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image cannot be imported. Configure the following trust policy for the role:
|
|
32309
32072
|
* {
|
|
32310
32073
|
* "Statement": [
|
|
@@ -32338,19 +32101,19 @@ export default class Client extends OpenApi {
|
|
|
32338
32101
|
* }
|
|
32339
32102
|
* ```
|
|
32340
32103
|
* * You cannot delete an image that is being imported. However, you can call the [CancelTask](~~25624~~) operation to cancel the image import task.
|
|
32341
|
-
* *
|
|
32104
|
+
* * You can import an image only to the same region as the OSS bucket to which the image was uploaded.
|
|
32342
32105
|
* * The valid values of N in the `DiskDeviceMapping.N` parameter range from 1 to 17. When N is set to 1, the disk is a system disk. When N is set to a value from 2 to 17, the disk is a data disk.
|
|
32343
|
-
* * When you set
|
|
32344
|
-
* *
|
|
32345
|
-
* * The
|
|
32346
|
-
* * The
|
|
32106
|
+
* * When you set `Architecture` to `arm64` or when you set `Platform` to `CentOS Stream`, `Anolis`, `AlmaLinux`, `UOS`, `Kylin`, or `Rocky Linux`, take note of the following items:
|
|
32107
|
+
* * To ensure that the password can be set, or that the key pair can be modified for an imported image, the image must meet the following requirements:
|
|
32108
|
+
* * The operating system kernel supports the `CONFIG_FW_CFG_SYSFS` feature. By default, Linux community kernel 4.6 and later, as well as CentOS kernel 3.10.0-826.el7 and later, support this feature. You can run the `grep -nr CONFIG_FW_CFG_SYSFS /boot/config-$(uname -r)` command in the source server of the image. If the command output contains `CONFIG_FW_CFG_SYSFS=y`, the kernel of this image supports the `CONFIG_FW_CFG_SYSFS` feature.
|
|
32109
|
+
* * The latest version of Alibaba Cloud cloud-init is installed on the operating system. If the installed version of cloud-init is 19.1, make sure that the minor version is 19.1.3 or later. If the installed version of cloud-init is 0.7.6a as in some early versions of operating systems, make sure that the minor version is 0.7.6a15 or later. For more information, see [Install cloud-init](~~57803~~).
|
|
32347
32110
|
* * The operating system supports the SHA-512 encryption algorithm.
|
|
32348
|
-
* * If you want
|
|
32111
|
+
* * If you want an imported image to support the resizing of disks and file systems, make sure that the image meets the following requirements before you import it:
|
|
32349
32112
|
* * The kernel version of the operating system is later than 3.6.
|
|
32350
|
-
* * The image supports the growpart command.
|
|
32351
|
-
* * The image
|
|
32352
|
-
* * The
|
|
32353
|
-
* * If the image that you want to import uses the ARM64 architecture, you must
|
|
32113
|
+
* * The image supports the growpart command. To support this command, you must install the `cloud-utils-growpart` package. Package installation methods vary based on operating systems. For more information, see [Resize partitions and file systems of Linux system disks](~~111738~~).
|
|
32114
|
+
* * The image supports the resize2fs command. To support this command, you must install the `e2fsprogs` package. By default, the package is installed on the operating system. If the package is not installed, you must install it.
|
|
32115
|
+
* * The latest version of Alibaba Cloud cloud-init is installed on the operating system. If the installed version of cloud-init is 19.1, make sure that the minor version is 19.1.3 or later. If the installed version of cloud-init is 0.7.6a as in some early versions of operating systems, make sure that the minor version is 0.7.6a15 or later. For more information, see [Install cloud-init](~~57803~~).
|
|
32116
|
+
* * If the image that you want to import uses the ARM64 architecture, you must configure the real-time clock (RTC) to use the Coordinated Universal Time (UTC) time standard. For more information, see [Linux time and time zones](https://icms.alibaba-inc.com/content/ecs/image?l=1\\&m=4656\\&n=3385033).
|
|
32354
32117
|
*
|
|
32355
32118
|
* @param request ImportImageRequest
|
|
32356
32119
|
* @return ImportImageResponse
|
|
@@ -32358,20 +32121,20 @@ export default class Client extends OpenApi {
|
|
|
32358
32121
|
importImage(request: ImportImageRequest): Promise<ImportImageResponse>;
|
|
32359
32122
|
/**
|
|
32360
32123
|
* When you call this operation, take note of the following items:
|
|
32361
|
-
* *
|
|
32362
|
-
* *
|
|
32363
|
-
* *
|
|
32364
|
-
* *
|
|
32365
|
-
* *
|
|
32366
|
-
* *
|
|
32367
|
-
* *
|
|
32368
|
-
* *
|
|
32369
|
-
* *
|
|
32370
|
-
* *
|
|
32371
|
-
* *
|
|
32372
|
-
* *
|
|
32373
|
-
* *
|
|
32374
|
-
* *
|
|
32124
|
+
* * A maximum of 500 key pairs can be created in each region.
|
|
32125
|
+
* * The key pair that you want to import must support one of the following encryption methods:
|
|
32126
|
+
* * rsa
|
|
32127
|
+
* * dsa
|
|
32128
|
+
* * ssh-rsa
|
|
32129
|
+
* * ssh-dss
|
|
32130
|
+
* * ecdsa
|
|
32131
|
+
* * <ssh-rsa-cert-v00@openssh.com>
|
|
32132
|
+
* * <ssh-dss-cert-v00@openssh.com>
|
|
32133
|
+
* * <ssh-rsa-cert-v01@openssh.com>
|
|
32134
|
+
* * <ssh-dss-cert-v01@openssh.com>
|
|
32135
|
+
* * <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
32136
|
+
* * <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
32137
|
+
* * <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
32375
32138
|
*
|
|
32376
32139
|
* @param request ImportKeyPairRequest
|
|
32377
32140
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32380,20 +32143,20 @@ export default class Client extends OpenApi {
|
|
|
32380
32143
|
importKeyPairWithOptions(request: ImportKeyPairRequest, runtime: $Util.RuntimeOptions): Promise<ImportKeyPairResponse>;
|
|
32381
32144
|
/**
|
|
32382
32145
|
* When you call this operation, take note of the following items:
|
|
32383
|
-
* *
|
|
32384
|
-
* *
|
|
32385
|
-
* *
|
|
32386
|
-
* *
|
|
32387
|
-
* *
|
|
32388
|
-
* *
|
|
32389
|
-
* *
|
|
32390
|
-
* *
|
|
32391
|
-
* *
|
|
32392
|
-
* *
|
|
32393
|
-
* *
|
|
32394
|
-
* *
|
|
32395
|
-
* *
|
|
32396
|
-
* *
|
|
32146
|
+
* * A maximum of 500 key pairs can be created in each region.
|
|
32147
|
+
* * The key pair that you want to import must support one of the following encryption methods:
|
|
32148
|
+
* * rsa
|
|
32149
|
+
* * dsa
|
|
32150
|
+
* * ssh-rsa
|
|
32151
|
+
* * ssh-dss
|
|
32152
|
+
* * ecdsa
|
|
32153
|
+
* * <ssh-rsa-cert-v00@openssh.com>
|
|
32154
|
+
* * <ssh-dss-cert-v00@openssh.com>
|
|
32155
|
+
* * <ssh-rsa-cert-v01@openssh.com>
|
|
32156
|
+
* * <ssh-dss-cert-v01@openssh.com>
|
|
32157
|
+
* * <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
32158
|
+
* * <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
32159
|
+
* * <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
32397
32160
|
*
|
|
32398
32161
|
* @param request ImportKeyPairRequest
|
|
32399
32162
|
* @return ImportKeyPairResponse
|
|
@@ -32430,20 +32193,20 @@ export default class Client extends OpenApi {
|
|
|
32430
32193
|
*/
|
|
32431
32194
|
installCloudAssistant(request: InstallCloudAssistantRequest): Promise<InstallCloudAssistantResponse>;
|
|
32432
32195
|
/**
|
|
32433
|
-
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements
|
|
32434
|
-
* * The network type is
|
|
32435
|
-
* * The instances are in the
|
|
32196
|
+
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements for running the command, the call fails. Specify instances that meet the requirements and call the InvokeCommand operation again.
|
|
32197
|
+
* * The network type is Virtual Private Cloud (VPC). For more information, see [What is a VPC?](~~34217~~)
|
|
32198
|
+
* * The instances are in the `Running` state.
|
|
32436
32199
|
* * The Cloud Assistant client is installed on the instances. For more information, see [Install the Cloud Assistant client](~~64921~~).
|
|
32437
|
-
* * Before you run PowerShell commands, make sure that the PowerShell module
|
|
32438
|
-
* * If
|
|
32439
|
-
* * If
|
|
32440
|
-
* * The schedule is specified by the `Frequency` parameter. The
|
|
32441
|
-
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your
|
|
32442
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following
|
|
32200
|
+
* * Before you run PowerShell commands, make sure that the instances have the PowerShell module configured.
|
|
32201
|
+
* * If `Timed` is set to false, the command is run only once.
|
|
32202
|
+
* * If `Timed` is set to true, the command is run on a schedule.
|
|
32203
|
+
* * The schedule is specified by the `Frequency` parameter. The results of each execution of a command do not affect the next execution of the command.
|
|
32204
|
+
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your requirements. If you do not specify a time zone, the schedule is based on the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For more information, see [Configure the NTP service and time zone for Linux instances](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
32205
|
+
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following ones. A scheduled task can run a command at a specified interval, only once at a specified point in time, or at designated points in time based on a cron expression with a specified year or time zone. If the `ClientNeedUpgrade` error code is returned, you must upgrade the Cloud Assistant client to the latest version. For more information, see [Update or disable updates for the Cloud Assistant client](~~134383~~).
|
|
32443
32206
|
* - Linux: 2.2.3.282
|
|
32444
32207
|
* - Windows: 2.1.3.282
|
|
32445
32208
|
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
32446
|
-
* * If you enable the custom parameter feature by setting
|
|
32209
|
+
* * If you enable the custom parameter feature by setting EnableParameter to true when you create a command, you must configure custom parameters in the `Parameters` when you run the command.
|
|
32447
32210
|
*
|
|
32448
32211
|
* @param tmpReq InvokeCommandRequest
|
|
32449
32212
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32451,20 +32214,20 @@ export default class Client extends OpenApi {
|
|
|
32451
32214
|
*/
|
|
32452
32215
|
invokeCommandWithOptions(tmpReq: InvokeCommandRequest, runtime: $Util.RuntimeOptions): Promise<InvokeCommandResponse>;
|
|
32453
32216
|
/**
|
|
32454
|
-
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements
|
|
32455
|
-
* * The network type is
|
|
32456
|
-
* * The instances are in the
|
|
32217
|
+
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements for running the command, the call fails. Specify instances that meet the requirements and call the InvokeCommand operation again.
|
|
32218
|
+
* * The network type is Virtual Private Cloud (VPC). For more information, see [What is a VPC?](~~34217~~)
|
|
32219
|
+
* * The instances are in the `Running` state.
|
|
32457
32220
|
* * The Cloud Assistant client is installed on the instances. For more information, see [Install the Cloud Assistant client](~~64921~~).
|
|
32458
|
-
* * Before you run PowerShell commands, make sure that the PowerShell module
|
|
32459
|
-
* * If
|
|
32460
|
-
* * If
|
|
32461
|
-
* * The schedule is specified by the `Frequency` parameter. The
|
|
32462
|
-
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your
|
|
32463
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following
|
|
32221
|
+
* * Before you run PowerShell commands, make sure that the instances have the PowerShell module configured.
|
|
32222
|
+
* * If `Timed` is set to false, the command is run only once.
|
|
32223
|
+
* * If `Timed` is set to true, the command is run on a schedule.
|
|
32224
|
+
* * The schedule is specified by the `Frequency` parameter. The results of each execution of a command do not affect the next execution of the command.
|
|
32225
|
+
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your requirements. If you do not specify a time zone, the schedule is based on the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For more information, see [Configure the NTP service and time zone for Linux instances](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
32226
|
+
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following ones. A scheduled task can run a command at a specified interval, only once at a specified point in time, or at designated points in time based on a cron expression with a specified year or time zone. If the `ClientNeedUpgrade` error code is returned, you must upgrade the Cloud Assistant client to the latest version. For more information, see [Update or disable updates for the Cloud Assistant client](~~134383~~).
|
|
32464
32227
|
* - Linux: 2.2.3.282
|
|
32465
32228
|
* - Windows: 2.1.3.282
|
|
32466
32229
|
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
32467
|
-
* * If you enable the custom parameter feature by setting
|
|
32230
|
+
* * If you enable the custom parameter feature by setting EnableParameter to true when you create a command, you must configure custom parameters in the `Parameters` when you run the command.
|
|
32468
32231
|
*
|
|
32469
32232
|
* @param request InvokeCommandRequest
|
|
32470
32233
|
* @return InvokeCommandResponse
|
|
@@ -32486,14 +32249,15 @@ export default class Client extends OpenApi {
|
|
|
32486
32249
|
*/
|
|
32487
32250
|
joinResourceGroup(request: JoinResourceGroupRequest): Promise<JoinResourceGroupResponse>;
|
|
32488
32251
|
/**
|
|
32252
|
+
* ## Usage notes
|
|
32489
32253
|
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add instances to or remove instances from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add ENIs to or remove ENIs from a security group.
|
|
32490
32254
|
* When you call this operation, take note of the following items:
|
|
32491
|
-
* * Before you add an instance to a security group, the instance must be in the **Stopped**
|
|
32492
|
-
* *
|
|
32493
|
-
* * To add an instance to more security groups, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex.htm). An instance can be added to up to 16 security groups.
|
|
32255
|
+
* * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
|
|
32256
|
+
* * Each instance can be added to up to five security groups by default.
|
|
32494
32257
|
* *
|
|
32258
|
+
* You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
32495
32259
|
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
32496
|
-
* * The security group and the instance must
|
|
32260
|
+
* * The security group and the instance must reside in the same region.
|
|
32497
32261
|
* * 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.
|
|
32498
32262
|
* * An instance and an ENI cannot be added to a security group at the same time. You cannot specify the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
|
|
32499
32263
|
*
|
|
@@ -32503,14 +32267,15 @@ export default class Client extends OpenApi {
|
|
|
32503
32267
|
*/
|
|
32504
32268
|
joinSecurityGroupWithOptions(request: JoinSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<JoinSecurityGroupResponse>;
|
|
32505
32269
|
/**
|
|
32270
|
+
* ## Usage notes
|
|
32506
32271
|
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add instances to or remove instances from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add ENIs to or remove ENIs from a security group.
|
|
32507
32272
|
* When you call this operation, take note of the following items:
|
|
32508
|
-
* * Before you add an instance to a security group, the instance must be in the **Stopped**
|
|
32509
|
-
* *
|
|
32510
|
-
* * To add an instance to more security groups, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex.htm). An instance can be added to up to 16 security groups.
|
|
32273
|
+
* * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
|
|
32274
|
+
* * Each instance can be added to up to five security groups by default.
|
|
32511
32275
|
* *
|
|
32276
|
+
* You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
32512
32277
|
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
32513
|
-
* * The security group and the instance must
|
|
32278
|
+
* * The security group and the instance must reside in the same region.
|
|
32514
32279
|
* * 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.
|
|
32515
32280
|
* * An instance and an ENI cannot be added to a security group at the same time. You cannot specify the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
|
|
32516
32281
|
*
|
|
@@ -32519,11 +32284,11 @@ export default class Client extends OpenApi {
|
|
|
32519
32284
|
*/
|
|
32520
32285
|
joinSecurityGroup(request: JoinSecurityGroupRequest): Promise<JoinSecurityGroupResponse>;
|
|
32521
32286
|
/**
|
|
32522
|
-
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add
|
|
32287
|
+
* > 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.
|
|
32523
32288
|
* When you call this operation, take note of the following items:
|
|
32524
|
-
* * Before you remove an instance from a security group, the instance must be in the **Stopped**
|
|
32525
|
-
* * An instance must belong to at least one security group. Therefore, if the instance to
|
|
32526
|
-
* *
|
|
32289
|
+
* * Before you remove an instance from a security group, the instance must be in the **Stopped** or **Running** state.
|
|
32290
|
+
* * An instance must belong to at least one security group. Therefore, if the instance that you want to remove belongs to only one security group, the LeaveSecurityGroup operation fails.
|
|
32291
|
+
* * You cannot remove an instance and an ENI from a security group at the same time. This indicates that you cannot configure both `InstanceId` and `NetworkInterfaceId` in a request.
|
|
32527
32292
|
*
|
|
32528
32293
|
* @param request LeaveSecurityGroupRequest
|
|
32529
32294
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32531,11 +32296,11 @@ export default class Client extends OpenApi {
|
|
|
32531
32296
|
*/
|
|
32532
32297
|
leaveSecurityGroupWithOptions(request: LeaveSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<LeaveSecurityGroupResponse>;
|
|
32533
32298
|
/**
|
|
32534
|
-
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add
|
|
32299
|
+
* > 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.
|
|
32535
32300
|
* When you call this operation, take note of the following items:
|
|
32536
|
-
* * Before you remove an instance from a security group, the instance must be in the **Stopped**
|
|
32537
|
-
* * An instance must belong to at least one security group. Therefore, if the instance to
|
|
32538
|
-
* *
|
|
32301
|
+
* * Before you remove an instance from a security group, the instance must be in the **Stopped** or **Running** state.
|
|
32302
|
+
* * An instance must belong to at least one security group. Therefore, if the instance that you want to remove belongs to only one security group, the LeaveSecurityGroup operation fails.
|
|
32303
|
+
* * You cannot remove an instance and an ENI from a security group at the same time. This indicates that you cannot configure both `InstanceId` and `NetworkInterfaceId` in a request.
|
|
32539
32304
|
*
|
|
32540
32305
|
* @param request LeaveSecurityGroupRequest
|
|
32541
32306
|
* @return LeaveSecurityGroupResponse
|
|
@@ -32543,8 +32308,8 @@ export default class Client extends OpenApi {
|
|
|
32543
32308
|
leaveSecurityGroup(request: LeaveSecurityGroupRequest): Promise<LeaveSecurityGroupResponse>;
|
|
32544
32309
|
/**
|
|
32545
32310
|
* Before you call this operation to query the states of Cloud Assistant plug-ins on ECS instances, make sure that the versions of the Cloud Assistant client installed on the instances are not earlier than the following ones:
|
|
32546
|
-
*
|
|
32547
|
-
*
|
|
32311
|
+
* * 2.2.3.344 for Linux instances
|
|
32312
|
+
* * 2.1.3.344 for Windows instances
|
|
32548
32313
|
*
|
|
32549
32314
|
* @param request ListPluginStatusRequest
|
|
32550
32315
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32553,8 +32318,8 @@ export default class Client extends OpenApi {
|
|
|
32553
32318
|
listPluginStatusWithOptions(request: ListPluginStatusRequest, runtime: $Util.RuntimeOptions): Promise<ListPluginStatusResponse>;
|
|
32554
32319
|
/**
|
|
32555
32320
|
* Before you call this operation to query the states of Cloud Assistant plug-ins on ECS instances, make sure that the versions of the Cloud Assistant client installed on the instances are not earlier than the following ones:
|
|
32556
|
-
*
|
|
32557
|
-
*
|
|
32321
|
+
* * 2.2.3.344 for Linux instances
|
|
32322
|
+
* * 2.1.3.344 for Windows instances
|
|
32558
32323
|
*
|
|
32559
32324
|
* @param request ListPluginStatusRequest
|
|
32560
32325
|
* @return ListPluginStatusResponse
|
|
@@ -32589,8 +32354,8 @@ export default class Client extends OpenApi {
|
|
|
32589
32354
|
listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
|
|
32590
32355
|
/**
|
|
32591
32356
|
* Before you call this operation, take note of the following items:
|
|
32592
|
-
* * If you modify the capacity or capacity-related settings of an auto
|
|
32593
|
-
* * You cannot modify an auto
|
|
32357
|
+
* * If you modify the capacity or capacity-related settings of an auto-provisioning group, the group executes a scheduling task after the group is modified.
|
|
32358
|
+
* * You cannot modify an auto-provisioning group when the group is being deleted.
|
|
32594
32359
|
*
|
|
32595
32360
|
* @param request ModifyAutoProvisioningGroupRequest
|
|
32596
32361
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32599,8 +32364,8 @@ export default class Client extends OpenApi {
|
|
|
32599
32364
|
modifyAutoProvisioningGroupWithOptions(request: ModifyAutoProvisioningGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAutoProvisioningGroupResponse>;
|
|
32600
32365
|
/**
|
|
32601
32366
|
* Before you call this operation, take note of the following items:
|
|
32602
|
-
* * If you modify the capacity or capacity-related settings of an auto
|
|
32603
|
-
* * You cannot modify an auto
|
|
32367
|
+
* * If you modify the capacity or capacity-related settings of an auto-provisioning group, the group executes a scheduling task after the group is modified.
|
|
32368
|
+
* * You cannot modify an auto-provisioning group when the group is being deleted.
|
|
32604
32369
|
*
|
|
32605
32370
|
* @param request ModifyAutoProvisioningGroupRequest
|
|
32606
32371
|
* @return ModifyAutoProvisioningGroupResponse
|
|
@@ -32641,8 +32406,7 @@ export default class Client extends OpenApi {
|
|
|
32641
32406
|
modifyCapacityReservationWithOptions(request: ModifyCapacityReservationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCapacityReservationResponse>;
|
|
32642
32407
|
modifyCapacityReservation(request: ModifyCapacityReservationRequest): Promise<ModifyCapacityReservationResponse>;
|
|
32643
32408
|
/**
|
|
32644
|
-
*
|
|
32645
|
-
* You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
|
|
32409
|
+
* Modifies the parameters and content of a Cloud Assistant command.
|
|
32646
32410
|
*
|
|
32647
32411
|
* @param request ModifyCommandRequest
|
|
32648
32412
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32650,8 +32414,7 @@ export default class Client extends OpenApi {
|
|
|
32650
32414
|
*/
|
|
32651
32415
|
modifyCommandWithOptions(request: ModifyCommandRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommandResponse>;
|
|
32652
32416
|
/**
|
|
32653
|
-
*
|
|
32654
|
-
* You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
|
|
32417
|
+
* Modifies the parameters and content of a Cloud Assistant command.
|
|
32655
32418
|
*
|
|
32656
32419
|
* @param request ModifyCommandRequest
|
|
32657
32420
|
* @return ModifyCommandResponse
|
|
@@ -32677,7 +32440,7 @@ export default class Client extends OpenApi {
|
|
|
32677
32440
|
*/
|
|
32678
32441
|
modifyDedicatedHostAttribute(request: ModifyDedicatedHostAttributeRequest): Promise<ModifyDedicatedHostAttributeResponse>;
|
|
32679
32442
|
/**
|
|
32680
|
-
* The pay-as-you-go dedicated host is automatically released at the specified time.
|
|
32443
|
+
* The pay-as-you-go dedicated host is automatically released at the specified time. Before you release a dedicated host, make sure that it is no longer in use and you have backed up all the necessary application data.
|
|
32681
32444
|
*
|
|
32682
32445
|
* @param request ModifyDedicatedHostAutoReleaseTimeRequest
|
|
32683
32446
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32685,15 +32448,14 @@ export default class Client extends OpenApi {
|
|
|
32685
32448
|
*/
|
|
32686
32449
|
modifyDedicatedHostAutoReleaseTimeWithOptions(request: ModifyDedicatedHostAutoReleaseTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDedicatedHostAutoReleaseTimeResponse>;
|
|
32687
32450
|
/**
|
|
32688
|
-
* The pay-as-you-go dedicated host is automatically released at the specified time.
|
|
32451
|
+
* The pay-as-you-go dedicated host is automatically released at the specified time. Before you release a dedicated host, make sure that it is no longer in use and you have backed up all the necessary application data.
|
|
32689
32452
|
*
|
|
32690
32453
|
* @param request ModifyDedicatedHostAutoReleaseTimeRequest
|
|
32691
32454
|
* @return ModifyDedicatedHostAutoReleaseTimeResponse
|
|
32692
32455
|
*/
|
|
32693
32456
|
modifyDedicatedHostAutoReleaseTime(request: ModifyDedicatedHostAutoReleaseTimeRequest): Promise<ModifyDedicatedHostAutoReleaseTimeResponse>;
|
|
32694
32457
|
/**
|
|
32695
|
-
*
|
|
32696
|
-
* * If you enable auto-renewal for your subscription dedicated host, the dedicated host is automatically renewed nine days before expiration. The renewal fees are automatically paid at 08:00:00 (UTC+8). If the fees are not paid, they are paid at the same point in time the next day. Automatic payment stops after the fees are paid or after the dedicated host expires and is locked. Make sure that you have sufficient balance within your account.
|
|
32458
|
+
* * If you enable auto-renewal for your subscription dedicated host, the system attempts to deduct the renewal payment at 08:00:00 (UTC+8) nine days before the dedicated host expires to renew the dedicated host. If this deduction attempt fails, the system attempt to deduct the payment at the same point in time the next day. The system attempts to deduct the payment once every day until the dedicated host expires or until the payment is deducted. Make sure that your account balance is sufficient.
|
|
32697
32459
|
* * Subscription dedicated hosts can be automatically renewed along with the subscription Elastic Compute Service (ECS) instances hosted on the dedicated hosts. For more information, see the description of the AutoRenewWithEcs parameter.
|
|
32698
32460
|
*
|
|
32699
32461
|
* @param request ModifyDedicatedHostAutoRenewAttributeRequest
|
|
@@ -32702,8 +32464,7 @@ export default class Client extends OpenApi {
|
|
|
32702
32464
|
*/
|
|
32703
32465
|
modifyDedicatedHostAutoRenewAttributeWithOptions(request: ModifyDedicatedHostAutoRenewAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDedicatedHostAutoRenewAttributeResponse>;
|
|
32704
32466
|
/**
|
|
32705
|
-
*
|
|
32706
|
-
* * If you enable auto-renewal for your subscription dedicated host, the dedicated host is automatically renewed nine days before expiration. The renewal fees are automatically paid at 08:00:00 (UTC+8). If the fees are not paid, they are paid at the same point in time the next day. Automatic payment stops after the fees are paid or after the dedicated host expires and is locked. Make sure that you have sufficient balance within your account.
|
|
32467
|
+
* * If you enable auto-renewal for your subscription dedicated host, the system attempts to deduct the renewal payment at 08:00:00 (UTC+8) nine days before the dedicated host expires to renew the dedicated host. If this deduction attempt fails, the system attempt to deduct the payment at the same point in time the next day. The system attempts to deduct the payment once every day until the dedicated host expires or until the payment is deducted. Make sure that your account balance is sufficient.
|
|
32707
32468
|
* * Subscription dedicated hosts can be automatically renewed along with the subscription Elastic Compute Service (ECS) instances hosted on the dedicated hosts. For more information, see the description of the AutoRenewWithEcs parameter.
|
|
32708
32469
|
*
|
|
32709
32470
|
* @param request ModifyDedicatedHostAutoRenewAttributeRequest
|
|
@@ -32753,15 +32514,14 @@ export default class Client extends OpenApi {
|
|
|
32753
32514
|
*/
|
|
32754
32515
|
modifyDiskAttribute(request: ModifyDiskAttributeRequest): Promise<ModifyDiskAttributeResponse>;
|
|
32755
32516
|
/**
|
|
32756
|
-
* After you change the billing method,
|
|
32517
|
+
* After you change the billing method, any outstanding payments are automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
32757
32518
|
* When you call this operation, take note of the following items:
|
|
32758
32519
|
* * You can change the billing method from subscription to pay-as-you-go for disks that are attached to a subscription instance.
|
|
32759
32520
|
* * 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.
|
|
32760
32521
|
* * The instance cannot be in the Stopped state due to overdue payments.
|
|
32761
32522
|
* * 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.
|
|
32762
|
-
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are
|
|
32523
|
+
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are nonrefundable.
|
|
32763
32524
|
* * You cannot change the billing method again within 5 minutes of a successful change.
|
|
32764
|
-
* * The billing method of disks with the multi-attach feature enabled must be pay-as-you-go and cannot be changed to subscription.
|
|
32765
32525
|
*
|
|
32766
32526
|
* @param request ModifyDiskChargeTypeRequest
|
|
32767
32527
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32769,15 +32529,14 @@ export default class Client extends OpenApi {
|
|
|
32769
32529
|
*/
|
|
32770
32530
|
modifyDiskChargeTypeWithOptions(request: ModifyDiskChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskChargeTypeResponse>;
|
|
32771
32531
|
/**
|
|
32772
|
-
* After you change the billing method,
|
|
32532
|
+
* After you change the billing method, any outstanding payments are automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
32773
32533
|
* When you call this operation, take note of the following items:
|
|
32774
32534
|
* * You can change the billing method from subscription to pay-as-you-go for disks that are attached to a subscription instance.
|
|
32775
32535
|
* * 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.
|
|
32776
32536
|
* * The instance cannot be in the Stopped state due to overdue payments.
|
|
32777
32537
|
* * 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.
|
|
32778
|
-
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are
|
|
32538
|
+
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are nonrefundable.
|
|
32779
32539
|
* * You cannot change the billing method again within 5 minutes of a successful change.
|
|
32780
|
-
* * The billing method of disks with the multi-attach feature enabled must be pay-as-you-go and cannot be changed to subscription.
|
|
32781
32540
|
*
|
|
32782
32541
|
* @param request ModifyDiskChargeTypeRequest
|
|
32783
32542
|
* @return ModifyDiskChargeTypeResponse
|
|
@@ -32786,16 +32545,15 @@ export default class Client extends OpenApi {
|
|
|
32786
32545
|
modifyDiskDeploymentWithOptions(request: ModifyDiskDeploymentRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskDeploymentResponse>;
|
|
32787
32546
|
modifyDiskDeployment(request: ModifyDiskDeploymentRequest): Promise<ModifyDiskDeploymentResponse>;
|
|
32788
32547
|
/**
|
|
32789
|
-
* ## Description
|
|
32790
32548
|
* When you call this operation, take note of the following items:
|
|
32791
32549
|
* * To modify the performance level of an ESSD, take note of the following items:
|
|
32792
32550
|
* * For a subscription ESSD, you can only upgrade its performance level.
|
|
32793
32551
|
* * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
|
|
32794
|
-
* * The ESSD must be in the **In Use**
|
|
32795
|
-
* * If the ESSD is attached to an ECS instance, the instance must be in the **Running**
|
|
32796
|
-
* * If you cannot upgrade the performance level of the ESSD due to
|
|
32797
|
-
* * For
|
|
32798
|
-
* The new disk category or performance level takes effect immediately after this operation is
|
|
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.
|
|
32554
|
+
* * 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 cloud disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
|
|
32556
|
+
* The new cloud disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud charges you based on the new disk category and performance level.
|
|
32799
32557
|
*
|
|
32800
32558
|
* @param request ModifyDiskSpecRequest
|
|
32801
32559
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32803,16 +32561,15 @@ export default class Client extends OpenApi {
|
|
|
32803
32561
|
*/
|
|
32804
32562
|
modifyDiskSpecWithOptions(request: ModifyDiskSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskSpecResponse>;
|
|
32805
32563
|
/**
|
|
32806
|
-
* ## Description
|
|
32807
32564
|
* When you call this operation, take note of the following items:
|
|
32808
32565
|
* * To modify the performance level of an ESSD, take note of the following items:
|
|
32809
32566
|
* * For a subscription ESSD, you can only upgrade its performance level.
|
|
32810
32567
|
* * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
|
|
32811
|
-
* * The ESSD must be in the **In Use**
|
|
32812
|
-
* * If the ESSD is attached to an ECS instance, the instance must be in the **Running**
|
|
32813
|
-
* * If you cannot upgrade the performance level of the ESSD due to
|
|
32814
|
-
* * For
|
|
32815
|
-
* The new disk category or performance level takes effect immediately after this operation is
|
|
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.
|
|
32570
|
+
* * 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 cloud disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
|
|
32572
|
+
* The new cloud disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud charges you based on the new disk category and performance level.
|
|
32816
32573
|
*
|
|
32817
32574
|
* @param request ModifyDiskSpecRequest
|
|
32818
32575
|
* @return ModifyDiskSpecResponse
|
|
@@ -32885,17 +32642,17 @@ export default class Client extends OpenApi {
|
|
|
32885
32642
|
*/
|
|
32886
32643
|
modifyImageShareGroupPermission(request: ModifyImageShareGroupPermissionRequest): Promise<ModifyImageShareGroupPermissionResponse>;
|
|
32887
32644
|
/**
|
|
32888
|
-
*
|
|
32889
|
-
* * You can share only your custom images with other Alibaba Cloud accounts.
|
|
32890
|
-
* * You can share a custom image with up to 10 Alibaba Cloud accounts
|
|
32891
|
-
* * You can share a custom image with up to 50 Alibaba Cloud accounts
|
|
32645
|
+
* Take note of the following items:
|
|
32646
|
+
* * You can share only your own custom images with other Alibaba Cloud accounts.
|
|
32647
|
+
* * 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
|
+
* * You can share a custom image with up to 50 Alibaba Cloud accounts.
|
|
32892
32649
|
* * After you create an instance from a shared custom image by calling the [RunInstances](~~63440~~) operation, you cannot call the [ReInitDisk](~~25519~~) operation to reinitialize the system disk of the instance if the image owner unshares the image or calls the [DeleteImage](~~25537~~) operation to delete the image.
|
|
32893
|
-
*
|
|
32894
|
-
* * Alibaba Cloud provides only the platform
|
|
32650
|
+
* When you publish or unpublish a community image, take note of the following items:
|
|
32651
|
+
* * Alibaba Cloud provides only the platform on which community images can be published and managed. The owner of a community image is responsible for the quality and updates of the image. Make sure that you read and agree to the Community Image Agreement. Otherwise, you cannot publish community images. For more information, see [Publish a community image](~~208370~~)
|
|
32895
32652
|
* * You cannot publish encrypted images as community images.
|
|
32896
32653
|
* * All community images are publicly available. All Alibaba Cloud accounts that reside in the same region as a community image can access the image.
|
|
32897
32654
|
* * You cannot share, export, or copy community images.
|
|
32898
|
-
* * After a community image is unpublished,
|
|
32655
|
+
* * After a community image is unpublished, it is no longer available to other Alibaba Cloud accounts. If a custom image is shared to other Alibaba cloud accounts before it is published as a community image, the accounts can still use the image after it is unpublished.
|
|
32899
32656
|
*
|
|
32900
32657
|
* @param request ModifyImageSharePermissionRequest
|
|
32901
32658
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32903,27 +32660,27 @@ export default class Client extends OpenApi {
|
|
|
32903
32660
|
*/
|
|
32904
32661
|
modifyImageSharePermissionWithOptions(request: ModifyImageSharePermissionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyImageSharePermissionResponse>;
|
|
32905
32662
|
/**
|
|
32906
|
-
*
|
|
32907
|
-
* * You can share only your custom images with other Alibaba Cloud accounts.
|
|
32908
|
-
* * You can share a custom image with up to 10 Alibaba Cloud accounts
|
|
32909
|
-
* * You can share a custom image with up to 50 Alibaba Cloud accounts
|
|
32663
|
+
* Take note of the following items:
|
|
32664
|
+
* * You can share only your own custom images with other Alibaba Cloud accounts.
|
|
32665
|
+
* * 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
|
+
* * You can share a custom image with up to 50 Alibaba Cloud accounts.
|
|
32910
32667
|
* * After you create an instance from a shared custom image by calling the [RunInstances](~~63440~~) operation, you cannot call the [ReInitDisk](~~25519~~) operation to reinitialize the system disk of the instance if the image owner unshares the image or calls the [DeleteImage](~~25537~~) operation to delete the image.
|
|
32911
|
-
*
|
|
32912
|
-
* * Alibaba Cloud provides only the platform
|
|
32668
|
+
* When you publish or unpublish a community image, take note of the following items:
|
|
32669
|
+
* * Alibaba Cloud provides only the platform on which community images can be published and managed. The owner of a community image is responsible for the quality and updates of the image. Make sure that you read and agree to the Community Image Agreement. Otherwise, you cannot publish community images. For more information, see [Publish a community image](~~208370~~)
|
|
32913
32670
|
* * You cannot publish encrypted images as community images.
|
|
32914
32671
|
* * All community images are publicly available. All Alibaba Cloud accounts that reside in the same region as a community image can access the image.
|
|
32915
32672
|
* * You cannot share, export, or copy community images.
|
|
32916
|
-
* * After a community image is unpublished,
|
|
32673
|
+
* * After a community image is unpublished, it is no longer available to other Alibaba Cloud accounts. If a custom image is shared to other Alibaba cloud accounts before it is published as a community image, the accounts can still use the image after it is unpublished.
|
|
32917
32674
|
*
|
|
32918
32675
|
* @param request ModifyImageSharePermissionRequest
|
|
32919
32676
|
* @return ModifyImageSharePermissionResponse
|
|
32920
32677
|
*/
|
|
32921
32678
|
modifyImageSharePermission(request: ModifyImageSharePermissionRequest): Promise<ModifyImageSharePermissionResponse>;
|
|
32922
32679
|
/**
|
|
32923
|
-
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about instances that are created by using the
|
|
32924
|
-
* *
|
|
32925
|
-
* * When you call the following operations, the system
|
|
32926
|
-
* * StartInstance
|
|
32680
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the resources in the private pool. When you create ECS instances, you can configure the instances to use private pool resources, matching them to active elasticity assurances or capacity reservations.
|
|
32681
|
+
* * This operation does not require you to restart the instances for the changes to take effect.
|
|
32682
|
+
* * When you call the following operations on an instance, the system attempts to match the instance with active private pools. If the instance is configured to a specific private pool. the call may fail because the private pool is no longer active or does not have sufficient resources. If the call fails, call the ModifyInstanceAttachmentAttributes operation to change the match mode of the private pool to `Open`.
|
|
32683
|
+
* * StartInstance: starts an instance that is stopped in economical mode.
|
|
32927
32684
|
* * ReActivateInstances
|
|
32928
32685
|
* * ModifyInstanceChargeType
|
|
32929
32686
|
* * ModifyPrepayInstanceSpec
|
|
@@ -32935,10 +32692,10 @@ export default class Client extends OpenApi {
|
|
|
32935
32692
|
*/
|
|
32936
32693
|
modifyInstanceAttachmentAttributesWithOptions(request: ModifyInstanceAttachmentAttributesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAttachmentAttributesResponse>;
|
|
32937
32694
|
/**
|
|
32938
|
-
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about instances that are created by using the
|
|
32939
|
-
* *
|
|
32940
|
-
* * When you call the following operations, the system
|
|
32941
|
-
* * StartInstance
|
|
32695
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the resources in the private pool. When you create ECS instances, you can configure the instances to use private pool resources, matching them to active elasticity assurances or capacity reservations.
|
|
32696
|
+
* * This operation does not require you to restart the instances for the changes to take effect.
|
|
32697
|
+
* * When you call the following operations on an instance, the system attempts to match the instance with active private pools. If the instance is configured to a specific private pool. the call may fail because the private pool is no longer active or does not have sufficient resources. If the call fails, call the ModifyInstanceAttachmentAttributes operation to change the match mode of the private pool to `Open`.
|
|
32698
|
+
* * StartInstance: starts an instance that is stopped in economical mode.
|
|
32942
32699
|
* * ReActivateInstances
|
|
32943
32700
|
* * ModifyInstanceChargeType
|
|
32944
32701
|
* * ModifyPrepayInstanceSpec
|
|
@@ -32949,23 +32706,23 @@ export default class Client extends OpenApi {
|
|
|
32949
32706
|
*/
|
|
32950
32707
|
modifyInstanceAttachmentAttributes(request: ModifyInstanceAttachmentAttributesRequest): Promise<ModifyInstanceAttachmentAttributesResponse>;
|
|
32951
32708
|
/**
|
|
32952
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons and all operations are prohibited
|
|
32709
|
+
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
|
|
32953
32710
|
* When you call this operation, take note of the following items:
|
|
32954
|
-
* * Modify the hostname (`HostName`): After the hostname
|
|
32711
|
+
* * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance for the changes to take effect. You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new hostname does not take effect if you restart the instance from within the operating system.
|
|
32955
32712
|
* * Reset the password (`Password`):
|
|
32956
|
-
* * The instance
|
|
32957
|
-
* * After the password
|
|
32713
|
+
* * The instance can not be in the **Starting** state.``
|
|
32714
|
+
* * After you reset the password, you need to restart the instance for the changes to take effect., You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new password does not take effect if you restart the instance from within the operating system.
|
|
32958
32715
|
* * Modify user data (`UserData`):
|
|
32959
|
-
* * The instance must be in the **Stopped**
|
|
32960
|
-
* * The instance must meet the conditions on user data. For more information, see [
|
|
32716
|
+
* * The instance must be in the **Stopped** state.``
|
|
32717
|
+
* * The instance must meet the required conditions on user data. For more information, see [Prepare user data](~~49121~~).
|
|
32961
32718
|
* * Change the security group (`SecurityGroupIds.N`):
|
|
32962
|
-
* * You can move an instance to a security group of a different type.
|
|
32719
|
+
* * You can move an instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network.
|
|
32963
32720
|
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
|
|
32964
32721
|
* * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
|
|
32965
|
-
* * The instance must be in the
|
|
32966
|
-
* * The value of this parameter cannot exceed the maximum number of queues per ENI
|
|
32967
|
-
* * 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
|
|
32968
|
-
* * If you set
|
|
32722
|
+
* * 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 varies with the instance type.
|
|
32724
|
+
* * 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. The result is returned in the `PrimaryEniQueueNumber` parameter.
|
|
32969
32726
|
*
|
|
32970
32727
|
* @param request ModifyInstanceAttributeRequest
|
|
32971
32728
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32973,23 +32730,23 @@ export default class Client extends OpenApi {
|
|
|
32973
32730
|
*/
|
|
32974
32731
|
modifyInstanceAttributeWithOptions(request: ModifyInstanceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAttributeResponse>;
|
|
32975
32732
|
/**
|
|
32976
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons and all operations are prohibited
|
|
32733
|
+
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
|
|
32977
32734
|
* When you call this operation, take note of the following items:
|
|
32978
|
-
* * Modify the hostname (`HostName`): After the hostname
|
|
32735
|
+
* * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance for the changes to take effect. You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new hostname does not take effect if you restart the instance from within the operating system.
|
|
32979
32736
|
* * Reset the password (`Password`):
|
|
32980
|
-
* * The instance
|
|
32981
|
-
* * After the password
|
|
32737
|
+
* * The instance can not be in the **Starting** state.``
|
|
32738
|
+
* * After you reset the password, you need to restart the instance for the changes to take effect., You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new password does not take effect if you restart the instance from within the operating system.
|
|
32982
32739
|
* * Modify user data (`UserData`):
|
|
32983
|
-
* * The instance must be in the **Stopped**
|
|
32984
|
-
* * The instance must meet the conditions on user data. For more information, see [
|
|
32740
|
+
* * The instance must be in the **Stopped** state.``
|
|
32741
|
+
* * The instance must meet the required conditions on user data. For more information, see [Prepare user data](~~49121~~).
|
|
32985
32742
|
* * Change the security group (`SecurityGroupIds.N`):
|
|
32986
|
-
* * You can move an instance to a security group of a different type.
|
|
32743
|
+
* * You can move an instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network.
|
|
32987
32744
|
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
|
|
32988
32745
|
* * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
|
|
32989
|
-
* * The instance must be in the
|
|
32990
|
-
* * The value of this parameter cannot exceed the maximum number of queues per ENI
|
|
32991
|
-
* * 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
|
|
32992
|
-
* * If you set
|
|
32746
|
+
* * 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 varies with the instance type.
|
|
32748
|
+
* * 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. The result is returned in the `PrimaryEniQueueNumber` parameter.
|
|
32993
32750
|
*
|
|
32994
32751
|
* @param request ModifyInstanceAttributeRequest
|
|
32995
32752
|
* @return ModifyInstanceAttributeResponse
|
|
@@ -32998,9 +32755,9 @@ export default class Client extends OpenApi {
|
|
|
32998
32755
|
modifyInstanceAutoReleaseTimeWithOptions(request: ModifyInstanceAutoReleaseTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAutoReleaseTimeResponse>;
|
|
32999
32756
|
modifyInstanceAutoReleaseTime(request: ModifyInstanceAutoReleaseTimeRequest): Promise<ModifyInstanceAutoReleaseTimeResponse>;
|
|
33000
32757
|
/**
|
|
33001
|
-
* Before you call this operation, make sure that you are familiar with the billing methods and pricing
|
|
33002
|
-
* * The payment for auto-renewal is deducted
|
|
33003
|
-
* * If the
|
|
32758
|
+
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
32759
|
+
* * The payment for auto-renewal of an instance is automatically deducted at 08:00:00 (UTC+8) nine days before the instance expires.
|
|
32760
|
+
* * If the deduction fails, Alibaba Cloud attempts to deduct the payment every day until the payment is deducted or until the instance is locked after the nine-day period ends. Make sure that your account balance or credit balance is sufficient.
|
|
33004
32761
|
*
|
|
33005
32762
|
* @param request ModifyInstanceAutoRenewAttributeRequest
|
|
33006
32763
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33008,9 +32765,9 @@ export default class Client extends OpenApi {
|
|
|
33008
32765
|
*/
|
|
33009
32766
|
modifyInstanceAutoRenewAttributeWithOptions(request: ModifyInstanceAutoRenewAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAutoRenewAttributeResponse>;
|
|
33010
32767
|
/**
|
|
33011
|
-
* Before you call this operation, make sure that you are familiar with the billing methods and pricing
|
|
33012
|
-
* * The payment for auto-renewal is deducted
|
|
33013
|
-
* * If the
|
|
32768
|
+
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
32769
|
+
* * The payment for auto-renewal of an instance is automatically deducted at 08:00:00 (UTC+8) nine days before the instance expires.
|
|
32770
|
+
* * If the deduction fails, Alibaba Cloud attempts to deduct the payment every day until the payment is deducted or until the instance is locked after the nine-day period ends. Make sure that your account balance or credit balance is sufficient.
|
|
33014
32771
|
*
|
|
33015
32772
|
* @param request ModifyInstanceAutoRenewAttributeRequest
|
|
33016
32773
|
* @return ModifyInstanceAutoRenewAttributeResponse
|
|
@@ -33019,12 +32776,12 @@ export default class Client extends OpenApi {
|
|
|
33019
32776
|
/**
|
|
33020
32777
|
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
33021
32778
|
* When you call this operation, take note of the following items:
|
|
33022
|
-
* * The instances must be in the
|
|
33023
|
-
* * After you change the billing method,
|
|
32779
|
+
* * The instances must be in the `Running` or `Stopped` state, and you have no overdue payments for the instances.********
|
|
32780
|
+
* * After you change the billing method, outstanding payments, if any, are automatically completed. Make sure that you have sufficient balance in your account. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set `AutoPay` to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
33024
32781
|
* * **Change the billing method from subscription to pay-as-you-go**:
|
|
33025
|
-
* * Your ECS usage determines whether the billing method of
|
|
32782
|
+
* * Your ECS usage determines whether you can change the billing method of your instance from subscription to pay-as-you-go.
|
|
33026
32783
|
* * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
33027
|
-
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method
|
|
32784
|
+
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method in the next month. The refund amount incurred after you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
|
|
33028
32785
|
* * **Change the billing method from pay-as-you-go to subscription**:
|
|
33029
32786
|
* * You can change the billing method of all data disks that are attached to an instance from pay-as-you-go to subscription.
|
|
33030
32787
|
* * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
|
|
@@ -33037,12 +32794,12 @@ export default class Client extends OpenApi {
|
|
|
33037
32794
|
/**
|
|
33038
32795
|
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
33039
32796
|
* When you call this operation, take note of the following items:
|
|
33040
|
-
* * The instances must be in the
|
|
33041
|
-
* * After you change the billing method,
|
|
32797
|
+
* * The instances must be in the `Running` or `Stopped` state, and you have no overdue payments for the instances.********
|
|
32798
|
+
* * After you change the billing method, outstanding payments, if any, are automatically completed. Make sure that you have sufficient balance in your account. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set `AutoPay` to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
33042
32799
|
* * **Change the billing method from subscription to pay-as-you-go**:
|
|
33043
|
-
* * Your ECS usage determines whether the billing method of
|
|
32800
|
+
* * Your ECS usage determines whether you can change the billing method of your instance from subscription to pay-as-you-go.
|
|
33044
32801
|
* * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
33045
|
-
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method
|
|
32802
|
+
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method in the next month. The refund amount incurred after you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
|
|
33046
32803
|
* * **Change the billing method from pay-as-you-go to subscription**:
|
|
33047
32804
|
* * You can change the billing method of all data disks that are attached to an instance from pay-as-you-go to subscription.
|
|
33048
32805
|
* * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
|
|
@@ -33100,15 +32857,7 @@ export default class Client extends OpenApi {
|
|
|
33100
32857
|
modifyInstanceMetadataOptionsWithOptions(request: ModifyInstanceMetadataOptionsRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceMetadataOptionsResponse>;
|
|
33101
32858
|
modifyInstanceMetadataOptions(request: ModifyInstanceMetadataOptionsRequest): Promise<ModifyInstanceMetadataOptionsResponse>;
|
|
33102
32859
|
/**
|
|
33103
|
-
*
|
|
33104
|
-
* * As of November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to throttling policies for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
33105
|
-
* * 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.
|
|
33106
|
-
* * 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.
|
|
33107
|
-
* * 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.
|
|
33108
|
-
* * 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 automatically assigned to the instance. You must call the [AllocatePublicIpAddress](~~25544~~) operation to assign a public IP address to the instance.
|
|
33109
|
-
* * An instance in the classic network must be in the Stopped state before you can upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of the instance from 0 Mbit/s.
|
|
33110
|
-
* * After the bandwidth is upgraded, AutoPay is set to true by default and the payment is automatically made. Maintain a sufficient account balance. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false. 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.
|
|
33111
|
-
* * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
|
|
32860
|
+
* The ID of the instance for which you want to modify bandwidth configurations.
|
|
33112
32861
|
*
|
|
33113
32862
|
* @param request ModifyInstanceNetworkSpecRequest
|
|
33114
32863
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33116,32 +32865,22 @@ export default class Client extends OpenApi {
|
|
|
33116
32865
|
*/
|
|
33117
32866
|
modifyInstanceNetworkSpecWithOptions(request: ModifyInstanceNetworkSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceNetworkSpecResponse>;
|
|
33118
32867
|
/**
|
|
33119
|
-
*
|
|
33120
|
-
* * As of November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to throttling policies for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
33121
|
-
* * 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.
|
|
33122
|
-
* * 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.
|
|
33123
|
-
* * 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.
|
|
33124
|
-
* * 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 automatically assigned to the instance. You must call the [AllocatePublicIpAddress](~~25544~~) operation to assign a public IP address to the instance.
|
|
33125
|
-
* * An instance in the classic network must be in the Stopped state before you can upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of the instance from 0 Mbit/s.
|
|
33126
|
-
* * After the bandwidth is upgraded, AutoPay is set to true by default and the payment is automatically made. Maintain a sufficient account balance. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false. 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.
|
|
33127
|
-
* * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
|
|
32868
|
+
* The ID of the instance for which you want to modify bandwidth configurations.
|
|
33128
32869
|
*
|
|
33129
32870
|
* @param request ModifyInstanceNetworkSpecRequest
|
|
33130
32871
|
* @return ModifyInstanceNetworkSpecResponse
|
|
33131
32872
|
*/
|
|
33132
32873
|
modifyInstanceNetworkSpec(request: ModifyInstanceNetworkSpecRequest): Promise<ModifyInstanceNetworkSpecResponse>;
|
|
33133
32874
|
/**
|
|
33134
|
-
*
|
|
33135
|
-
* Before you call this operation, make sure that you understand the billing methods and pricing schedule of ECS. For more information, visit the [Elastic Compute Service](https://www.aliyun.com/price/product#/ecs/detail) product page.
|
|
33136
|
-
* For information about ECS SDK for Python used to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
32875
|
+
* For information about how to use the SDK for Python to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
33137
32876
|
* When you call this operation, take note of the following items:
|
|
33138
|
-
* *
|
|
32877
|
+
* * Make sure that you have no overdue payments in your account.
|
|
33139
32878
|
* * You can adjust the public bandwidth of an instance only when the instance is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
33140
32879
|
* * Before you change the instance type of a pay-as-you-go instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change.
|
|
33141
32880
|
* * You can change the instance type of an instance only when the instance is in the **Stopped** (`Stopped`) state.
|
|
33142
|
-
* * The instance type and the public bandwidth of an instance cannot be changed together.
|
|
33143
|
-
* *
|
|
33144
|
-
* * Within a single region, the sum of actual
|
|
32881
|
+
* * You can change only the instance type or only the public bandwidth of an instance at a time. The instance type and the public bandwidth of an instance cannot be changed together.
|
|
32882
|
+
* * 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 of your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
32883
|
+
* * 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.
|
|
33145
32884
|
* * Within a single region, the sum of actual maximum bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
33146
32885
|
*
|
|
33147
32886
|
* @param request ModifyInstanceSpecRequest
|
|
@@ -33150,17 +32889,15 @@ export default class Client extends OpenApi {
|
|
|
33150
32889
|
*/
|
|
33151
32890
|
modifyInstanceSpecWithOptions(request: ModifyInstanceSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceSpecResponse>;
|
|
33152
32891
|
/**
|
|
33153
|
-
*
|
|
33154
|
-
* Before you call this operation, make sure that you understand the billing methods and pricing schedule of ECS. For more information, visit the [Elastic Compute Service](https://www.aliyun.com/price/product#/ecs/detail) product page.
|
|
33155
|
-
* For information about ECS SDK for Python used to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
32892
|
+
* For information about how to use the SDK for Python to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
33156
32893
|
* When you call this operation, take note of the following items:
|
|
33157
|
-
* *
|
|
32894
|
+
* * Make sure that you have no overdue payments in your account.
|
|
33158
32895
|
* * You can adjust the public bandwidth of an instance only when the instance is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
33159
32896
|
* * Before you change the instance type of a pay-as-you-go instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change.
|
|
33160
32897
|
* * You can change the instance type of an instance only when the instance is in the **Stopped** (`Stopped`) state.
|
|
33161
|
-
* * The instance type and the public bandwidth of an instance cannot be changed together.
|
|
33162
|
-
* *
|
|
33163
|
-
* * Within a single region, the sum of actual
|
|
32898
|
+
* * You can change only the instance type or only the public bandwidth of an instance at a time. The instance type and the public bandwidth of an instance cannot be changed together.
|
|
32899
|
+
* * 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 of your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
32900
|
+
* * 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.
|
|
33164
32901
|
* * Within a single region, the sum of actual maximum bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
33165
32902
|
*
|
|
33166
32903
|
* @param request ModifyInstanceSpecRequest
|
|
@@ -33171,7 +32908,7 @@ export default class Client extends OpenApi {
|
|
|
33171
32908
|
* * The password must be six characters in length and can contain only uppercase letters, lowercase letters, and digits.
|
|
33172
32909
|
* * After you modify the VNC password of an instance, take note of the following items:
|
|
33173
32910
|
* * If the instance is I/O optimized, the new password takes effect immediately.
|
|
33174
|
-
* * If the instance is
|
|
32911
|
+
* * If the instance is not I/O optimized, you must [restart the instance](~~25440~~) by using the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect.
|
|
33175
32912
|
*
|
|
33176
32913
|
* @param request ModifyInstanceVncPasswdRequest
|
|
33177
32914
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33182,7 +32919,7 @@ export default class Client extends OpenApi {
|
|
|
33182
32919
|
* * The password must be six characters in length and can contain only uppercase letters, lowercase letters, and digits.
|
|
33183
32920
|
* * After you modify the VNC password of an instance, take note of the following items:
|
|
33184
32921
|
* * If the instance is I/O optimized, the new password takes effect immediately.
|
|
33185
|
-
* * If the instance is
|
|
32922
|
+
* * If the instance is not I/O optimized, you must [restart the instance](~~25440~~) by using the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect.
|
|
33186
32923
|
*
|
|
33187
32924
|
* @param request ModifyInstanceVncPasswdRequest
|
|
33188
32925
|
* @return ModifyInstanceVncPasswdResponse
|
|
@@ -33191,8 +32928,8 @@ export default class Client extends OpenApi {
|
|
|
33191
32928
|
/**
|
|
33192
32929
|
* The instance must be in the **Stopped** state.``
|
|
33193
32930
|
* * When you call this operation to modify the private IP address or vSwitch of an instance, take note of the following items:
|
|
33194
|
-
* * If the instance is newly created, you must restart the instance before you
|
|
33195
|
-
* * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you
|
|
32931
|
+
* * If the instance is newly created, you must restart the instance before you call this operation.
|
|
32932
|
+
* * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you call this operation again.
|
|
33196
32933
|
* * When you call this operation to modify the VPC of an instance, take note of the following items:
|
|
33197
32934
|
* * **Instance:**
|
|
33198
32935
|
* * The instance cannot be associated with Server Load Balancer (SLB) instances.
|
|
@@ -33208,14 +32945,14 @@ export default class Client extends OpenApi {
|
|
|
33208
32945
|
* * The primary ENI of the instance cannot be associated with multiple IP addresses.
|
|
33209
32946
|
* * The vSwitch specified by the VSwitchId parameter must belong to the new VPC.
|
|
33210
32947
|
* * The new and original vSwitches must reside within the same zone.
|
|
33211
|
-
* * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The
|
|
32948
|
+
* * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The new vSwitch must have a sufficient amount of available IP addresses in the CIDR block.
|
|
33212
32949
|
* * If advanced features are enabled in the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
|
|
33213
32950
|
* * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
|
|
33214
32951
|
* * **Security group (SecurityGroupId.N):**
|
|
33215
32952
|
* * All security groups must be of the same type.
|
|
33216
|
-
* * 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~~).
|
|
33217
|
-
* * The
|
|
33218
|
-
* * 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, you
|
|
32953
|
+
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see the "Security group limits" section in [Limits](~~25412~~).
|
|
32954
|
+
* * The security groups that you specify must belong to the new VPC.
|
|
32955
|
+
* * 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~~).
|
|
33219
32956
|
*
|
|
33220
32957
|
* @param request ModifyInstanceVpcAttributeRequest
|
|
33221
32958
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33225,8 +32962,8 @@ export default class Client extends OpenApi {
|
|
|
33225
32962
|
/**
|
|
33226
32963
|
* The instance must be in the **Stopped** state.``
|
|
33227
32964
|
* * When you call this operation to modify the private IP address or vSwitch of an instance, take note of the following items:
|
|
33228
|
-
* * If the instance is newly created, you must restart the instance before you
|
|
33229
|
-
* * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you
|
|
32965
|
+
* * If the instance is newly created, you must restart the instance before you call this operation.
|
|
32966
|
+
* * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you call this operation again.
|
|
33230
32967
|
* * When you call this operation to modify the VPC of an instance, take note of the following items:
|
|
33231
32968
|
* * **Instance:**
|
|
33232
32969
|
* * The instance cannot be associated with Server Load Balancer (SLB) instances.
|
|
@@ -33242,14 +32979,14 @@ export default class Client extends OpenApi {
|
|
|
33242
32979
|
* * The primary ENI of the instance cannot be associated with multiple IP addresses.
|
|
33243
32980
|
* * The vSwitch specified by the VSwitchId parameter must belong to the new VPC.
|
|
33244
32981
|
* * The new and original vSwitches must reside within the same zone.
|
|
33245
|
-
* * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The
|
|
32982
|
+
* * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The new vSwitch must have a sufficient amount of available IP addresses in the CIDR block.
|
|
33246
32983
|
* * If advanced features are enabled in the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
|
|
33247
32984
|
* * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
|
|
33248
32985
|
* * **Security group (SecurityGroupId.N):**
|
|
33249
32986
|
* * All security groups must be of the same type.
|
|
33250
|
-
* * 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~~).
|
|
33251
|
-
* * The
|
|
33252
|
-
* * 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, you
|
|
32987
|
+
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see the "Security group limits" section in [Limits](~~25412~~).
|
|
32988
|
+
* * The security groups that you specify must belong to the new VPC.
|
|
32989
|
+
* * 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~~).
|
|
33253
32990
|
*
|
|
33254
32991
|
* @param request ModifyInstanceVpcAttributeRequest
|
|
33255
32992
|
* @return ModifyInstanceVpcAttributeResponse
|
|
@@ -33258,8 +32995,7 @@ export default class Client extends OpenApi {
|
|
|
33258
32995
|
modifyLaunchTemplateDefaultVersionWithOptions(request: ModifyLaunchTemplateDefaultVersionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLaunchTemplateDefaultVersionResponse>;
|
|
33259
32996
|
modifyLaunchTemplateDefaultVersion(request: ModifyLaunchTemplateDefaultVersionRequest): Promise<ModifyLaunchTemplateDefaultVersionResponse>;
|
|
33260
32997
|
/**
|
|
33261
|
-
*
|
|
33262
|
-
* The ModifyManagedInstance operation can be called to modify only the name of a single managed instance.
|
|
32998
|
+
* You can call the ModifyManagedInstance operation to change only the name of a managed instance.
|
|
33263
32999
|
*
|
|
33264
33000
|
* @param request ModifyManagedInstanceRequest
|
|
33265
33001
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33267,8 +33003,7 @@ export default class Client extends OpenApi {
|
|
|
33267
33003
|
*/
|
|
33268
33004
|
modifyManagedInstanceWithOptions(request: ModifyManagedInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ModifyManagedInstanceResponse>;
|
|
33269
33005
|
/**
|
|
33270
|
-
*
|
|
33271
|
-
* The ModifyManagedInstance operation can be called to modify only the name of a single managed instance.
|
|
33006
|
+
* You can call the ModifyManagedInstance operation to change only the name of a managed instance.
|
|
33272
33007
|
*
|
|
33273
33008
|
* @param request ModifyManagedInstanceRequest
|
|
33274
33009
|
* @return ModifyManagedInstanceResponse
|
|
@@ -33319,15 +33054,15 @@ export default class Client extends OpenApi {
|
|
|
33319
33054
|
*/
|
|
33320
33055
|
modifyPrefixList(request: ModifyPrefixListRequest): Promise<ModifyPrefixListResponse>;
|
|
33321
33056
|
/**
|
|
33322
|
-
* Before you call this operation,
|
|
33323
|
-
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
33057
|
+
* Before you call this operation, we recommend that you familiarize yourself with the billing methods, pricing schedule, and refund rules of [ECS](https://www.alibabacloud.com/product/ecs#pricing). For more information, see [Refund rules for real-time configuration downgrade](~~201955~~).
|
|
33058
|
+
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change the instance. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
33324
33059
|
* When you call this operation, take note of the following items:
|
|
33325
|
-
* *
|
|
33060
|
+
* * You cannot change the instance type of an expired instance. Renew the instance and try again.
|
|
33326
33061
|
* * When you downgrade the instance type of an instance, take note of the following items:
|
|
33327
|
-
* * The instance must be in the
|
|
33062
|
+
* * The instance must be in the `Stopped` state.****
|
|
33328
33063
|
* * You must specify the operation type by setting `OperatorType` to downgrade.
|
|
33329
|
-
* * You can downgrade the configurations of an instance up to three times. Therefore,
|
|
33330
|
-
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.
|
|
33064
|
+
* * You can downgrade the configurations of an instance up to three times. Therefore, up to three refunds for the price difference can be made for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
|
|
33065
|
+
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed during purchase are not refundable.
|
|
33331
33066
|
* * This operation is asynchronous. It takes 5 to 10 seconds for the instance type to change. You must restart the instance by calling the RebootInstance operation or by using the ECS console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect.
|
|
33332
33067
|
* * If the instance is in the **Stopped** state, you only need to start the instance. You do not need to restart the instance after it enters the Running state.
|
|
33333
33068
|
* * If `RebootWhenFinished` is set to true for the instance, you do not need to manually restart the instance.
|
|
@@ -33338,15 +33073,15 @@ export default class Client extends OpenApi {
|
|
|
33338
33073
|
*/
|
|
33339
33074
|
modifyPrepayInstanceSpecWithOptions(request: ModifyPrepayInstanceSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPrepayInstanceSpecResponse>;
|
|
33340
33075
|
/**
|
|
33341
|
-
* Before you call this operation,
|
|
33342
|
-
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
33076
|
+
* Before you call this operation, we recommend that you familiarize yourself with the billing methods, pricing schedule, and refund rules of [ECS](https://www.alibabacloud.com/product/ecs#pricing). For more information, see [Refund rules for real-time configuration downgrade](~~201955~~).
|
|
33077
|
+
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change the instance. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
33343
33078
|
* When you call this operation, take note of the following items:
|
|
33344
|
-
* *
|
|
33079
|
+
* * You cannot change the instance type of an expired instance. Renew the instance and try again.
|
|
33345
33080
|
* * When you downgrade the instance type of an instance, take note of the following items:
|
|
33346
|
-
* * The instance must be in the
|
|
33081
|
+
* * The instance must be in the `Stopped` state.****
|
|
33347
33082
|
* * You must specify the operation type by setting `OperatorType` to downgrade.
|
|
33348
|
-
* * You can downgrade the configurations of an instance up to three times. Therefore,
|
|
33349
|
-
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.
|
|
33083
|
+
* * You can downgrade the configurations of an instance up to three times. Therefore, up to three refunds for the price difference can be made for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
|
|
33084
|
+
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed during purchase are not refundable.
|
|
33350
33085
|
* * This operation is asynchronous. It takes 5 to 10 seconds for the instance type to change. You must restart the instance by calling the RebootInstance operation or by using the ECS console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect.
|
|
33351
33086
|
* * If the instance is in the **Stopped** state, you only need to start the instance. You do not need to restart the instance after it enters the Running state.
|
|
33352
33087
|
* * If `RebootWhenFinished` is set to true for the instance, you do not need to manually restart the instance.
|
|
@@ -33362,10 +33097,10 @@ export default class Client extends OpenApi {
|
|
|
33362
33097
|
/**
|
|
33363
33098
|
* ## Description
|
|
33364
33099
|
* When you call this operation, take note of the following items:
|
|
33365
|
-
* * For information about limits on reserved instances, see the "Limits" section in [
|
|
33366
|
-
* * Before you call this operation to split a reserved instance, make sure that you
|
|
33367
|
-
* * Before you call this operation to merge reserved instances, make sure that you
|
|
33368
|
-
* * Before you call this operation to modify a reserved instance, make sure that you
|
|
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~~).
|
|
33369
33104
|
*
|
|
33370
33105
|
* @param request ModifyReservedInstancesRequest
|
|
33371
33106
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33375,10 +33110,10 @@ export default class Client extends OpenApi {
|
|
|
33375
33110
|
/**
|
|
33376
33111
|
* ## Description
|
|
33377
33112
|
* When you call this operation, take note of the following items:
|
|
33378
|
-
* * For information about limits on reserved instances, see the "Limits" section in [
|
|
33379
|
-
* * Before you call this operation to split a reserved instance, make sure that you
|
|
33380
|
-
* * Before you call this operation to merge reserved instances, make sure that you
|
|
33381
|
-
* * Before you call this operation to modify a reserved instance, make sure that you
|
|
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~~).
|
|
33382
33117
|
*
|
|
33383
33118
|
* @param request ModifyReservedInstancesRequest
|
|
33384
33119
|
* @return ModifyReservedInstancesResponse
|
|
@@ -33417,12 +33152,12 @@ export default class Client extends OpenApi {
|
|
|
33417
33152
|
modifySecurityGroupAttributeWithOptions(request: ModifySecurityGroupAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupAttributeResponse>;
|
|
33418
33153
|
modifySecurityGroupAttribute(request: ModifySecurityGroupAttributeRequest): Promise<ModifySecurityGroupAttributeResponse>;
|
|
33419
33154
|
/**
|
|
33420
|
-
*
|
|
33421
|
-
*
|
|
33422
|
-
* *
|
|
33155
|
+
* In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
33156
|
+
* Take note of the following items:
|
|
33157
|
+
* * An authorization object in a security group rule can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
33423
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 it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
|
|
33424
|
-
* * The
|
|
33425
|
-
* *
|
|
33159
|
+
* * The new security group rule after modification cannot be the same as other existing rules.
|
|
33160
|
+
* * You cannot delete the value of a non-empty parameter in a security group rule. We recommend that you create a rule that has the same parameter configurations as the original rule, except that the specified parameters are left empty, and then delete the original rule.
|
|
33426
33161
|
*
|
|
33427
33162
|
* @param request ModifySecurityGroupEgressRuleRequest
|
|
33428
33163
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33430,19 +33165,19 @@ export default class Client extends OpenApi {
|
|
|
33430
33165
|
*/
|
|
33431
33166
|
modifySecurityGroupEgressRuleWithOptions(request: ModifySecurityGroupEgressRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupEgressRuleResponse>;
|
|
33432
33167
|
/**
|
|
33433
|
-
*
|
|
33434
|
-
*
|
|
33435
|
-
* *
|
|
33168
|
+
* In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
33169
|
+
* Take note of the following items:
|
|
33170
|
+
* * An authorization object in a security group rule can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
33436
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 it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
|
|
33437
|
-
* * The
|
|
33438
|
-
* *
|
|
33172
|
+
* * The new security group rule after modification cannot be the same as other existing rules.
|
|
33173
|
+
* * You cannot delete the value of a non-empty parameter in a security group rule. We recommend that you create a rule that has the same parameter configurations as the original rule, except that the specified parameters are left empty, and then delete the original rule.
|
|
33439
33174
|
*
|
|
33440
33175
|
* @param request ModifySecurityGroupEgressRuleRequest
|
|
33441
33176
|
* @return ModifySecurityGroupEgressRuleResponse
|
|
33442
33177
|
*/
|
|
33443
33178
|
modifySecurityGroupEgressRule(request: ModifySecurityGroupEgressRuleRequest): Promise<ModifySecurityGroupEgressRuleResponse>;
|
|
33444
33179
|
/**
|
|
33445
|
-
*
|
|
33180
|
+
* Take note of the following items:
|
|
33446
33181
|
* * When InnerAccessPolicy is set to Accept for a security group, the instances in the security group can communicate with each other. In this case, the Accept internal access control policy takes precedence over user-created security group rules to keep instances in the security group accessible to each other.
|
|
33447
33182
|
* * When InnerAccessPolicy is set to Drop for a security group, the instances in the security group are isolated from each other. In this case, user-created security group rules take precedence over the Drop internal access control policy and can be used to allow access between the instances. For example, you can call the [AuthorizeSecurityGroup](~~25554~~) operation to create an inbound security group rule that allows the instances in the security group to communicate with each other.
|
|
33448
33183
|
* * You can call the [DescribeSecurityGroupAttribute](~~25555~~) operation to query the internal access policy of a security group.
|
|
@@ -33453,7 +33188,7 @@ export default class Client extends OpenApi {
|
|
|
33453
33188
|
*/
|
|
33454
33189
|
modifySecurityGroupPolicyWithOptions(request: ModifySecurityGroupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupPolicyResponse>;
|
|
33455
33190
|
/**
|
|
33456
|
-
*
|
|
33191
|
+
* Take note of the following items:
|
|
33457
33192
|
* * When InnerAccessPolicy is set to Accept for a security group, the instances in the security group can communicate with each other. In this case, the Accept internal access control policy takes precedence over user-created security group rules to keep instances in the security group accessible to each other.
|
|
33458
33193
|
* * When InnerAccessPolicy is set to Drop for a security group, the instances in the security group are isolated from each other. In this case, user-created security group rules take precedence over the Drop internal access control policy and can be used to allow access between the instances. For example, you can call the [AuthorizeSecurityGroup](~~25554~~) operation to create an inbound security group rule that allows the instances in the security group to communicate with each other.
|
|
33459
33194
|
* * You can call the [DescribeSecurityGroupAttribute](~~25555~~) operation to query the internal access policy of a security group.
|
|
@@ -33463,11 +33198,12 @@ export default class Client extends OpenApi {
|
|
|
33463
33198
|
*/
|
|
33464
33199
|
modifySecurityGroupPolicy(request: ModifySecurityGroupPolicyRequest): Promise<ModifySecurityGroupPolicyResponse>;
|
|
33465
33200
|
/**
|
|
33466
|
-
*
|
|
33467
|
-
*
|
|
33468
|
-
* *
|
|
33201
|
+
* In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
33202
|
+
* When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
|
|
33203
|
+
* * A security group authorization object can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be changed. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
33204
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change it to a prefix list of an IPv6 address family.
|
|
33469
33205
|
* * The modified security group rule cannot be the same as other existing rules.
|
|
33470
|
-
* *
|
|
33206
|
+
* * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
|
|
33471
33207
|
*
|
|
33472
33208
|
* @param request ModifySecurityGroupRuleRequest
|
|
33473
33209
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33475,11 +33211,12 @@ export default class Client extends OpenApi {
|
|
|
33475
33211
|
*/
|
|
33476
33212
|
modifySecurityGroupRuleWithOptions(request: ModifySecurityGroupRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupRuleResponse>;
|
|
33477
33213
|
/**
|
|
33478
|
-
*
|
|
33479
|
-
*
|
|
33480
|
-
* *
|
|
33214
|
+
* In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
33215
|
+
* When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
|
|
33216
|
+
* * A security group authorization object can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be changed. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
33217
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change it to a prefix list of an IPv6 address family.
|
|
33481
33218
|
* * The modified security group rule cannot be the same as other existing rules.
|
|
33482
|
-
* *
|
|
33219
|
+
* * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
|
|
33483
33220
|
*
|
|
33484
33221
|
* @param request ModifySecurityGroupRuleRequest
|
|
33485
33222
|
* @return ModifySecurityGroupRuleResponse
|
|
@@ -33586,7 +33323,7 @@ export default class Client extends OpenApi {
|
|
|
33586
33323
|
*/
|
|
33587
33324
|
purchaseReservedInstancesOffering(request: PurchaseReservedInstancesOfferingRequest): Promise<PurchaseReservedInstancesOfferingResponse>;
|
|
33588
33325
|
/**
|
|
33589
|
-
* Before you call this operation, make sure that you
|
|
33326
|
+
* Before you call this operation, make sure that you are familiar with the billing and pricing plans of SCUs. For more information, see [Storage capacity units](~~137897~~).
|
|
33590
33327
|
*
|
|
33591
33328
|
* @param request PurchaseStorageCapacityUnitRequest
|
|
33592
33329
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33594,19 +33331,18 @@ export default class Client extends OpenApi {
|
|
|
33594
33331
|
*/
|
|
33595
33332
|
purchaseStorageCapacityUnitWithOptions(request: PurchaseStorageCapacityUnitRequest, runtime: $Util.RuntimeOptions): Promise<PurchaseStorageCapacityUnitResponse>;
|
|
33596
33333
|
/**
|
|
33597
|
-
* Before you call this operation, make sure that you
|
|
33334
|
+
* Before you call this operation, make sure that you are familiar with the billing and pricing plans of SCUs. For more information, see [Storage capacity units](~~137897~~).
|
|
33598
33335
|
*
|
|
33599
33336
|
* @param request PurchaseStorageCapacityUnitRequest
|
|
33600
33337
|
* @return PurchaseStorageCapacityUnitResponse
|
|
33601
33338
|
*/
|
|
33602
33339
|
purchaseStorageCapacityUnit(request: PurchaseStorageCapacityUnitRequest): Promise<PurchaseStorageCapacityUnitResponse>;
|
|
33603
33340
|
/**
|
|
33604
|
-
* When you call this operation, take note of the following
|
|
33605
|
-
* * The instance must be in the
|
|
33606
|
-
* *
|
|
33607
|
-
* * After
|
|
33608
|
-
* *
|
|
33609
|
-
* * You cannot call this operation on ECS instances that are locked for security reasons. An instance is locked for security reasons if `OperationLocks` in the response returned when you query information of the instance contains `"LockReason": "security"`. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33341
|
+
* When you call this operation, take note of the following items:
|
|
33342
|
+
* * The instance must be in the `Stopped` state.****
|
|
33343
|
+
* * If an instance has overdue payments for more than 15 days, the instance is stopped and released, and data on the instance can no longer be recovered. You must complete the overdue payments and reactivate the instance within 15 days. If you cannot reactivate an instance that resides in a virtual private cloud (VPC), wait a few minutes and try again.
|
|
33344
|
+
* * After the operation is called, the instance enters the `Starting` state.****
|
|
33345
|
+
* * You cannot call this operation on ECS instances that are locked for security reasons. If `OperationLocks` in the response returned for the DescribeInstances operation contains `LockReason: security`, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33610
33346
|
*
|
|
33611
33347
|
* @param request ReActivateInstancesRequest
|
|
33612
33348
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33614,23 +33350,21 @@ export default class Client extends OpenApi {
|
|
|
33614
33350
|
*/
|
|
33615
33351
|
reActivateInstancesWithOptions(request: ReActivateInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ReActivateInstancesResponse>;
|
|
33616
33352
|
/**
|
|
33617
|
-
* When you call this operation, take note of the following
|
|
33618
|
-
* * The instance must be in the
|
|
33619
|
-
* *
|
|
33620
|
-
* * After
|
|
33621
|
-
* *
|
|
33622
|
-
* * You cannot call this operation on ECS instances that are locked for security reasons. An instance is locked for security reasons if `OperationLocks` in the response returned when you query information of the instance contains `"LockReason": "security"`. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33353
|
+
* When you call this operation, take note of the following items:
|
|
33354
|
+
* * The instance must be in the `Stopped` state.****
|
|
33355
|
+
* * If an instance has overdue payments for more than 15 days, the instance is stopped and released, and data on the instance can no longer be recovered. You must complete the overdue payments and reactivate the instance within 15 days. If you cannot reactivate an instance that resides in a virtual private cloud (VPC), wait a few minutes and try again.
|
|
33356
|
+
* * After the operation is called, the instance enters the `Starting` state.****
|
|
33357
|
+
* * You cannot call this operation on ECS instances that are locked for security reasons. If `OperationLocks` in the response returned for the DescribeInstances operation contains `LockReason: security`, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33623
33358
|
*
|
|
33624
33359
|
* @param request ReActivateInstancesRequest
|
|
33625
33360
|
* @return ReActivateInstancesResponse
|
|
33626
33361
|
*/
|
|
33627
33362
|
reActivateInstances(request: ReActivateInstancesRequest): Promise<ReActivateInstancesResponse>;
|
|
33628
33363
|
/**
|
|
33629
|
-
* When you call this operation, take note of the following
|
|
33364
|
+
* When you call this operation, take note of the following points:
|
|
33630
33365
|
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (Stopped) state.
|
|
33631
33366
|
* * If the instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
33632
33367
|
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
33633
|
-
* * Disks that have the multi-attach feature enabled cannot be re-initialized.
|
|
33634
33368
|
* * When a system disk is re-initialized, it is restored to the state of the image from which it was created. If the source image is deleted, the system disk cannot be re-initialized.
|
|
33635
33369
|
* * When a separately created data disk is re-initialized, it is restored to an empty data disk.
|
|
33636
33370
|
* * When a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
@@ -33642,11 +33376,10 @@ export default class Client extends OpenApi {
|
|
|
33642
33376
|
*/
|
|
33643
33377
|
reInitDiskWithOptions(request: ReInitDiskRequest, runtime: $Util.RuntimeOptions): Promise<ReInitDiskResponse>;
|
|
33644
33378
|
/**
|
|
33645
|
-
* When you call this operation, take note of the following
|
|
33379
|
+
* When you call this operation, take note of the following points:
|
|
33646
33380
|
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (Stopped) state.
|
|
33647
33381
|
* * If the instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
33648
33382
|
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
33649
|
-
* * Disks that have the multi-attach feature enabled cannot be re-initialized.
|
|
33650
33383
|
* * When a system disk is re-initialized, it is restored to the state of the image from which it was created. If the source image is deleted, the system disk cannot be re-initialized.
|
|
33651
33384
|
* * When a separately created data disk is re-initialized, it is restored to an empty data disk.
|
|
33652
33385
|
* * When a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
@@ -33657,10 +33390,10 @@ export default class Client extends OpenApi {
|
|
|
33657
33390
|
*/
|
|
33658
33391
|
reInitDisk(request: ReInitDiskRequest): Promise<ReInitDiskResponse>;
|
|
33659
33392
|
/**
|
|
33660
|
-
* *
|
|
33661
|
-
* * After
|
|
33662
|
-
* * An instance can be
|
|
33663
|
-
* * If `OperationLocks` in the
|
|
33393
|
+
* * Only instances that are in the `Running` state can be restarted.****
|
|
33394
|
+
* * After an instance is restarted, the status of the instance changes to `Starting`.****
|
|
33395
|
+
* * An instance can be forcibly restarted. A forced restart (`ForceStop`) is equivalent to performing a hard restart. This operation can cause data loss if data in the instance is not written to the disk.
|
|
33396
|
+
* * If you call the DescribeInstances operation to query the details of an instance and `OperationLocks` in the response contains "LockReason": "security", the instance is locked for security reasons and cannot be restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33664
33397
|
*
|
|
33665
33398
|
* @param request RebootInstanceRequest
|
|
33666
33399
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33668,16 +33401,35 @@ export default class Client extends OpenApi {
|
|
|
33668
33401
|
*/
|
|
33669
33402
|
rebootInstanceWithOptions(request: RebootInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RebootInstanceResponse>;
|
|
33670
33403
|
/**
|
|
33671
|
-
* *
|
|
33672
|
-
* * After
|
|
33673
|
-
* * An instance can be
|
|
33674
|
-
* * If `OperationLocks` in the
|
|
33404
|
+
* * Only instances that are in the `Running` state can be restarted.****
|
|
33405
|
+
* * After an instance is restarted, the status of the instance changes to `Starting`.****
|
|
33406
|
+
* * An instance can be forcibly restarted. A forced restart (`ForceStop`) is equivalent to performing a hard restart. This operation can cause data loss if data in the instance is not written to the disk.
|
|
33407
|
+
* * If you call the DescribeInstances operation to query the details of an instance and `OperationLocks` in the response contains "LockReason": "security", the instance is locked for security reasons and cannot be restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33675
33408
|
*
|
|
33676
33409
|
* @param request RebootInstanceRequest
|
|
33677
33410
|
* @return RebootInstanceResponse
|
|
33678
33411
|
*/
|
|
33679
33412
|
rebootInstance(request: RebootInstanceRequest): Promise<RebootInstanceResponse>;
|
|
33413
|
+
/**
|
|
33414
|
+
* * The ECS instances are in the **Running** state.``
|
|
33415
|
+
* * You can use the `BatchOptimization` parameter to enable the batch operation mode and restart multiple instances at a time.
|
|
33416
|
+
* * Instances can be forcibly restarted by calling the `ForceReboot` operation. A forced restart is equivalent to a power-off restart for a traditional server. If data in the instance operating system is not written to block-storage devices when the instance is forcibly restarted, the data is lost.
|
|
33417
|
+
* * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
|
|
33418
|
+
*
|
|
33419
|
+
* @param request RebootInstancesRequest
|
|
33420
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33421
|
+
* @return RebootInstancesResponse
|
|
33422
|
+
*/
|
|
33680
33423
|
rebootInstancesWithOptions(request: RebootInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RebootInstancesResponse>;
|
|
33424
|
+
/**
|
|
33425
|
+
* * The ECS instances are in the **Running** state.``
|
|
33426
|
+
* * You can use the `BatchOptimization` parameter to enable the batch operation mode and restart multiple instances at a time.
|
|
33427
|
+
* * Instances can be forcibly restarted by calling the `ForceReboot` operation. A forced restart is equivalent to a power-off restart for a traditional server. If data in the instance operating system is not written to block-storage devices when the instance is forcibly restarted, the data is lost.
|
|
33428
|
+
* * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
|
|
33429
|
+
*
|
|
33430
|
+
* @param request RebootInstancesRequest
|
|
33431
|
+
* @return RebootInstancesResponse
|
|
33432
|
+
*/
|
|
33681
33433
|
rebootInstances(request: RebootInstancesRequest): Promise<RebootInstancesResponse>;
|
|
33682
33434
|
/**
|
|
33683
33435
|
* @deprecated
|
|
@@ -33829,8 +33581,7 @@ export default class Client extends OpenApi {
|
|
|
33829
33581
|
removeTagsWithOptions(request: RemoveTagsRequest, runtime: $Util.RuntimeOptions): Promise<RemoveTagsResponse>;
|
|
33830
33582
|
removeTags(request: RemoveTagsRequest): Promise<RemoveTagsResponse>;
|
|
33831
33583
|
/**
|
|
33832
|
-
*
|
|
33833
|
-
* When you renew the subscription dedicated hosts, deductible vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
33584
|
+
* Valid vouchers can be applied when you renew the subscription plan dedicated hosts. In order to use vouchers, make sure that your account supports the credit card payment method.
|
|
33834
33585
|
*
|
|
33835
33586
|
* @param request RenewDedicatedHostsRequest
|
|
33836
33587
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33838,17 +33589,16 @@ export default class Client extends OpenApi {
|
|
|
33838
33589
|
*/
|
|
33839
33590
|
renewDedicatedHostsWithOptions(request: RenewDedicatedHostsRequest, runtime: $Util.RuntimeOptions): Promise<RenewDedicatedHostsResponse>;
|
|
33840
33591
|
/**
|
|
33841
|
-
*
|
|
33842
|
-
* When you renew the subscription dedicated hosts, deductible vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
33592
|
+
* Valid vouchers can be applied when you renew the subscription plan dedicated hosts. In order to use vouchers, make sure that your account supports the credit card payment method.
|
|
33843
33593
|
*
|
|
33844
33594
|
* @param request RenewDedicatedHostsRequest
|
|
33845
33595
|
* @return RenewDedicatedHostsResponse
|
|
33846
33596
|
*/
|
|
33847
33597
|
renewDedicatedHosts(request: RenewDedicatedHostsRequest): Promise<RenewDedicatedHostsResponse>;
|
|
33848
33598
|
/**
|
|
33849
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods and pricing
|
|
33850
|
-
* * You can call this operation to renew a subscription
|
|
33851
|
-
* * You cannot renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time
|
|
33599
|
+
* * Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
33600
|
+
* * You can call this operation to renew a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
33601
|
+
* * You cannot call this operation to renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time. The parameter pair (`Period` and `PeriodUnit`) that is related to the renewal period and `ExpectedRenewDay` are mutually exclusive.
|
|
33852
33602
|
* * Your account must have sufficient credits.
|
|
33853
33603
|
*
|
|
33854
33604
|
* @param request RenewInstanceRequest
|
|
@@ -33857,9 +33607,9 @@ export default class Client extends OpenApi {
|
|
|
33857
33607
|
*/
|
|
33858
33608
|
renewInstanceWithOptions(request: RenewInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RenewInstanceResponse>;
|
|
33859
33609
|
/**
|
|
33860
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods and pricing
|
|
33861
|
-
* * You can call this operation to renew a subscription
|
|
33862
|
-
* * You cannot renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time
|
|
33610
|
+
* * Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
33611
|
+
* * You can call this operation to renew a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
33612
|
+
* * You cannot call this operation to renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time. The parameter pair (`Period` and `PeriodUnit`) that is related to the renewal period and `ExpectedRenewDay` are mutually exclusive.
|
|
33863
33613
|
* * Your account must have sufficient credits.
|
|
33864
33614
|
*
|
|
33865
33615
|
* @param request RenewInstanceRequest
|
|
@@ -33867,7 +33617,7 @@ export default class Client extends OpenApi {
|
|
|
33867
33617
|
*/
|
|
33868
33618
|
renewInstance(request: RenewInstanceRequest): Promise<RenewInstanceResponse>;
|
|
33869
33619
|
/**
|
|
33870
|
-
* * Before you call this operation, make sure that you
|
|
33620
|
+
* * Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
|
|
33871
33621
|
* * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
|
|
33872
33622
|
*
|
|
33873
33623
|
* @param request RenewReservedInstancesRequest
|
|
@@ -33876,7 +33626,7 @@ export default class Client extends OpenApi {
|
|
|
33876
33626
|
*/
|
|
33877
33627
|
renewReservedInstancesWithOptions(request: RenewReservedInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RenewReservedInstancesResponse>;
|
|
33878
33628
|
/**
|
|
33879
|
-
* * Before you call this operation, make sure that you
|
|
33629
|
+
* * Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
|
|
33880
33630
|
* * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
|
|
33881
33631
|
*
|
|
33882
33632
|
* @param request RenewReservedInstancesRequest
|
|
@@ -33884,16 +33634,17 @@ export default class Client extends OpenApi {
|
|
|
33884
33634
|
*/
|
|
33885
33635
|
renewReservedInstances(request: RenewReservedInstancesRequest): Promise<RenewReservedInstancesResponse>;
|
|
33886
33636
|
/**
|
|
33637
|
+
* ## Description
|
|
33887
33638
|
* When you call this operation, take note of the following items:
|
|
33888
|
-
* * You must specify the
|
|
33889
|
-
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is
|
|
33639
|
+
* * You must specify the ImageId parameter or the DiskId parameter. You cannot specify both of these parameters at the same time. Otherwise, the call fails and an error message is returned.
|
|
33640
|
+
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is available to select users. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm).
|
|
33890
33641
|
* * The category of the system disk cannot be changed.
|
|
33891
33642
|
* * The billing method of the system disk cannot be changed.
|
|
33892
33643
|
* * The instance must be in the `Stopped` state.
|
|
33893
33644
|
* **
|
|
33894
|
-
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and
|
|
33895
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons
|
|
33896
|
-
* * You cannot have
|
|
33645
|
+
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and economical mode is enabled by default for the instance, you must switch from stop mode to standard mode when you stop the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](~~25501~~).
|
|
33646
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons and no operations are allowed on the instance.`` For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33647
|
+
* * You cannot have outstanding payment orders associated with the instance.
|
|
33897
33648
|
* * You can configure the `SystemDisk.Size` parameter to specify the capacity of the new system disk.
|
|
33898
33649
|
* After you call this operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
33899
33650
|
* * Call the [DescribeDisks](~~25514~~) operation to query the state of the new system disk. If the new system disk is in the In_use state, the system disk is replaced.
|
|
@@ -33905,16 +33656,17 @@ export default class Client extends OpenApi {
|
|
|
33905
33656
|
*/
|
|
33906
33657
|
replaceSystemDiskWithOptions(request: ReplaceSystemDiskRequest, runtime: $Util.RuntimeOptions): Promise<ReplaceSystemDiskResponse>;
|
|
33907
33658
|
/**
|
|
33659
|
+
* ## Description
|
|
33908
33660
|
* When you call this operation, take note of the following items:
|
|
33909
|
-
* * You must specify the
|
|
33910
|
-
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is
|
|
33661
|
+
* * You must specify the ImageId parameter or the DiskId parameter. You cannot specify both of these parameters at the same time. Otherwise, the call fails and an error message is returned.
|
|
33662
|
+
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is available to select users. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm).
|
|
33911
33663
|
* * The category of the system disk cannot be changed.
|
|
33912
33664
|
* * The billing method of the system disk cannot be changed.
|
|
33913
33665
|
* * The instance must be in the `Stopped` state.
|
|
33914
33666
|
* **
|
|
33915
|
-
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and
|
|
33916
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons
|
|
33917
|
-
* * You cannot have
|
|
33667
|
+
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and economical mode is enabled by default for the instance, you must switch from stop mode to standard mode when you stop the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](~~25501~~).
|
|
33668
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons and no operations are allowed on the instance.`` For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33669
|
+
* * You cannot have outstanding payment orders associated with the instance.
|
|
33918
33670
|
* * You can configure the `SystemDisk.Size` parameter to specify the capacity of the new system disk.
|
|
33919
33671
|
* After you call this operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
33920
33672
|
* * Call the [DescribeDisks](~~25514~~) operation to query the state of the new system disk. If the new system disk is in the In_use state, the system disk is replaced.
|
|
@@ -33931,7 +33683,7 @@ export default class Client extends OpenApi {
|
|
|
33931
33683
|
* * The disk must be in the In Use (In_Use) or Unattached (Available) state.
|
|
33932
33684
|
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the Stopped (Stopped) state. You can call the [StopInstances](~~155372~~) operation to stop an instance.
|
|
33933
33685
|
* * The snapshot specified by the SnapshotId parameter must be created from the disk specified by the DiskId parameter.
|
|
33934
|
-
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information
|
|
33686
|
+
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information and the response contains `{"OperationLocks": {"LockReason" : "security"}}`, then this indicates that the instance is locked for security reasons and no operations can be performed on the instance.
|
|
33935
33687
|
*
|
|
33936
33688
|
* @param request ResetDiskRequest
|
|
33937
33689
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33943,7 +33695,7 @@ export default class Client extends OpenApi {
|
|
|
33943
33695
|
* * The disk must be in the In Use (In_Use) or Unattached (Available) state.
|
|
33944
33696
|
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the Stopped (Stopped) state. You can call the [StopInstances](~~155372~~) operation to stop an instance.
|
|
33945
33697
|
* * The snapshot specified by the SnapshotId parameter must be created from the disk specified by the DiskId parameter.
|
|
33946
|
-
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information
|
|
33698
|
+
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information and the response contains `{"OperationLocks": {"LockReason" : "security"}}`, then this indicates that the instance is locked for security reasons and no operations can be performed on the instance.
|
|
33947
33699
|
*
|
|
33948
33700
|
* @param request ResetDiskRequest
|
|
33949
33701
|
* @return ResetDiskResponse
|
|
@@ -33965,12 +33717,11 @@ export default class Client extends OpenApi {
|
|
|
33965
33717
|
*/
|
|
33966
33718
|
resetDisks(request: ResetDisksRequest): Promise<ResetDisksResponse>;
|
|
33967
33719
|
/**
|
|
33968
|
-
*
|
|
33969
|
-
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to greater than or equal to 2 TiB without data loss. To resize an MBR disk to greater than or equal to 2 TiB in size, we recommend that you create and attach a new data disk with the desired size. Then, you can partition and format the new data disk to GUID partition table (GPT) and copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline](~~44986~~).
|
|
33720
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. A master boot record (MBR) disk cannot be resized to a size that is larger than 2 TiB. If an MBR disk is resized to a size that is larger than 2 TiB, data may be lost. To resize an MBR disk to a size that is larger than 2 TiB, we recommend that you create and attach a new data disk. Then, you can partition and format the new data disk to GUID partition table (GPT), and then copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline for Linux and Windows instances](~~44986~~).
|
|
33970
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`).
|
|
33971
|
-
* *
|
|
33972
|
-
* * The instance to which the disk
|
|
33973
|
-
* * After you resize a disk,
|
|
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.
|
|
33974
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.
|
|
33975
33726
|
*
|
|
33976
33727
|
* @param request ResizeDiskRequest
|
|
@@ -33979,12 +33730,11 @@ export default class Client extends OpenApi {
|
|
|
33979
33730
|
*/
|
|
33980
33731
|
resizeDiskWithOptions(request: ResizeDiskRequest, runtime: $Util.RuntimeOptions): Promise<ResizeDiskResponse>;
|
|
33981
33732
|
/**
|
|
33982
|
-
*
|
|
33983
|
-
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to greater than or equal to 2 TiB without data loss. To resize an MBR disk to greater than or equal to 2 TiB in size, we recommend that you create and attach a new data disk with the desired size. Then, you can partition and format the new data disk to GUID partition table (GPT) and copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline](~~44986~~).
|
|
33733
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. A master boot record (MBR) disk cannot be resized to a size that is larger than 2 TiB. If an MBR disk is resized to a size that is larger than 2 TiB, data may be lost. To resize an MBR disk to a size that is larger than 2 TiB, we recommend that you create and attach a new data disk. Then, you can partition and format the new data disk to GUID partition table (GPT), and then copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline for Linux and Windows instances](~~44986~~).
|
|
33984
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`).
|
|
33985
|
-
* *
|
|
33986
|
-
* * The instance to which the disk
|
|
33987
|
-
* * After you resize a disk,
|
|
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.
|
|
33988
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.
|
|
33989
33739
|
*
|
|
33990
33740
|
* @param request ResizeDiskRequest
|
|
@@ -33992,8 +33742,9 @@ export default class Client extends OpenApi {
|
|
|
33992
33742
|
*/
|
|
33993
33743
|
resizeDisk(request: ResizeDiskRequest): Promise<ResizeDiskResponse>;
|
|
33994
33744
|
/**
|
|
33745
|
+
* In the security group-related API documents, inbound traffic is sent by the source and received by the destination.
|
|
33995
33746
|
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
33996
|
-
* *
|
|
33747
|
+
* * The parameter used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the ID of a specified security group rule does not exist, an error is reported. - You cannot specify the parameters that are no longer available and the Permissions.N-prefixed counterparts of the parameters at the same time. - Sample request:
|
|
33997
33748
|
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup
|
|
33998
33749
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
33999
33750
|
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
@@ -34001,20 +33752,20 @@ export default class Client extends OpenApi {
|
|
|
34001
33752
|
* &<Common request parameters>
|
|
34002
33753
|
* * Parameters prefixed with Permissions.N.
|
|
34003
33754
|
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rule is deleted.
|
|
34004
|
-
* *
|
|
34005
|
-
* * You can
|
|
34006
|
-
* * Parameters used to
|
|
33755
|
+
* * You cannot specify the SecurityGroupRuleId parameter or parameters that are not prefixed with Permissions.N.
|
|
33756
|
+
* * You can delete a specific inbound security group rule by specifying one of the following groups of parameters. However, you cannot delete the security group rule if you specify only one of the parameters in a group.
|
|
33757
|
+
* * Parameters used to delete an inbound security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourceCidrIp.
|
|
34007
33758
|
* ```
|
|
34008
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceCidrIp=10.0.0.0/8&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34009
33759
|
* ```
|
|
34010
|
-
*
|
|
33760
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourceCidrIp=10.0.0.0/8 \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
33761
|
+
* * Parameters used to delete an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourceGroupId.
|
|
34011
33762
|
* ```
|
|
34012
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceGroupId=sg-bp67acfmxa123b****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34013
33763
|
* ```
|
|
34014
|
-
*
|
|
33764
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourceGroupId=sg-bp67acfmxa123b\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
33765
|
+
* * Parameters used to delete an inbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourcePrefixListId.
|
|
34015
33766
|
* ```
|
|
34016
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34017
33767
|
* ```
|
|
33768
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
34018
33769
|
*
|
|
34019
33770
|
* @param request RevokeSecurityGroupRequest
|
|
34020
33771
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34022,8 +33773,9 @@ export default class Client extends OpenApi {
|
|
|
34022
33773
|
*/
|
|
34023
33774
|
revokeSecurityGroupWithOptions(request: RevokeSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<RevokeSecurityGroupResponse>;
|
|
34024
33775
|
/**
|
|
33776
|
+
* In the security group-related API documents, inbound traffic is sent by the source and received by the destination.
|
|
34025
33777
|
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
34026
|
-
* *
|
|
33778
|
+
* * The parameter used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the ID of a specified security group rule does not exist, an error is reported. - You cannot specify the parameters that are no longer available and the Permissions.N-prefixed counterparts of the parameters at the same time. - Sample request:
|
|
34027
33779
|
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup
|
|
34028
33780
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
34029
33781
|
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
@@ -34031,68 +33783,50 @@ export default class Client extends OpenApi {
|
|
|
34031
33783
|
* &<Common request parameters>
|
|
34032
33784
|
* * Parameters prefixed with Permissions.N.
|
|
34033
33785
|
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rule is deleted.
|
|
34034
|
-
* *
|
|
34035
|
-
* * You can
|
|
34036
|
-
* * Parameters used to
|
|
33786
|
+
* * You cannot specify the SecurityGroupRuleId parameter or parameters that are not prefixed with Permissions.N.
|
|
33787
|
+
* * You can delete a specific inbound security group rule by specifying one of the following groups of parameters. However, you cannot delete the security group rule if you specify only one of the parameters in a group.
|
|
33788
|
+
* * Parameters used to delete an inbound security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourceCidrIp.
|
|
34037
33789
|
* ```
|
|
34038
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceCidrIp=10.0.0.0/8&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34039
33790
|
* ```
|
|
34040
|
-
*
|
|
33791
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourceCidrIp=10.0.0.0/8 \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
33792
|
+
* * Parameters used to delete an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourceGroupId.
|
|
34041
33793
|
* ```
|
|
34042
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceGroupId=sg-bp67acfmxa123b****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34043
33794
|
* ```
|
|
34044
|
-
*
|
|
33795
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourceGroupId=sg-bp67acfmxa123b\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
33796
|
+
* * Parameters used to delete an inbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourcePrefixListId.
|
|
34045
33797
|
* ```
|
|
34046
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34047
33798
|
* ```
|
|
33799
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
34048
33800
|
*
|
|
34049
33801
|
* @param request RevokeSecurityGroupRequest
|
|
34050
33802
|
* @return RevokeSecurityGroupResponse
|
|
34051
33803
|
*/
|
|
34052
33804
|
revokeSecurityGroup(request: RevokeSecurityGroupRequest): Promise<RevokeSecurityGroupResponse>;
|
|
34053
33805
|
/**
|
|
34054
|
-
*
|
|
34055
|
-
*
|
|
34056
|
-
*
|
|
34057
|
-
*
|
|
34058
|
-
*
|
|
34059
|
-
*
|
|
34060
|
-
*
|
|
34061
|
-
*
|
|
34062
|
-
*
|
|
34063
|
-
*
|
|
34064
|
-
*
|
|
34065
|
-
*
|
|
34066
|
-
*
|
|
34067
|
-
*
|
|
34068
|
-
*
|
|
34069
|
-
*
|
|
34070
|
-
*
|
|
34071
|
-
*
|
|
34072
|
-
*
|
|
34073
|
-
*
|
|
34074
|
-
*
|
|
34075
|
-
*
|
|
34076
|
-
*
|
|
34077
|
-
*
|
|
34078
|
-
* &Permissions.1.PortRange=22/22
|
|
34079
|
-
* &Permissions.1.NicType=intranet
|
|
34080
|
-
* &Permissions.1.Policy=accept
|
|
34081
|
-
* &<Common request parameters>
|
|
34082
|
-
*
|
|
34083
|
-
* ```
|
|
34084
|
-
* * Parameters used to delete an outbound security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestPrefixListId.
|
|
34085
|
-
* ```
|
|
34086
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress
|
|
34087
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
34088
|
-
* &Permissions.1.IpProtocol=TCP
|
|
34089
|
-
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
34090
|
-
* &Permissions.1.PortRange=-22/22
|
|
34091
|
-
* &Permissions.1.NicType=intranet
|
|
34092
|
-
* &Permissions.1.Policy=accept
|
|
34093
|
-
* &<Common request parameters>
|
|
34094
|
-
*
|
|
34095
|
-
* ```
|
|
33806
|
+
* In the security group-related API documents, outbound traffic is sent by the source and received by the destination.
|
|
33807
|
+
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
33808
|
+
* * The parameter used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the ID of a specified security group rule does not exist, an error is reported. - You cannot specify the parameters that are no longer available and the Permissions.N-prefixed counterparts of the parameters at the same time. - Sample request:
|
|
33809
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress
|
|
33810
|
+
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
33811
|
+
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
33812
|
+
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
33813
|
+
* &<Common request parameters>
|
|
33814
|
+
* * Parameters prefixed with Permissions.N.
|
|
33815
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroupEgress is successful but no security group rule is deleted.
|
|
33816
|
+
* * You cannot specify the SecurityGroupRuleId parameter or parameters that are not prefixed with Permissions.N.
|
|
33817
|
+
* * You can delete a specific outbound security group rule by specifying one of the following groups of parameters. However, you cannot delete the security group rule if you specify only one of the parameters in a group.
|
|
33818
|
+
* * Parameters used to delete an outbound security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestCidrIp.
|
|
33819
|
+
* ```
|
|
33820
|
+
* ```
|
|
33821
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.DestCidrIp=10.0.0.0/8 \\&Permissions.1.PortRange=-22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
33822
|
+
* * Parameters used to delete an outbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestGroupId.
|
|
33823
|
+
* ```
|
|
33824
|
+
* ```
|
|
33825
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.DestGroupId=sg-bp67acfmxa123b\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
33826
|
+
* * Parameters used to delete an outbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestPrefixListId.
|
|
33827
|
+
* ```
|
|
33828
|
+
* ```
|
|
33829
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy\\*\\*\\*\\* \\&Permissions.1.PortRange=-22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
34096
33830
|
*
|
|
34097
33831
|
* @param request RevokeSecurityGroupEgressRequest
|
|
34098
33832
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34100,70 +33834,37 @@ export default class Client extends OpenApi {
|
|
|
34100
33834
|
*/
|
|
34101
33835
|
revokeSecurityGroupEgressWithOptions(request: RevokeSecurityGroupEgressRequest, runtime: $Util.RuntimeOptions): Promise<RevokeSecurityGroupEgressResponse>;
|
|
34102
33836
|
/**
|
|
34103
|
-
*
|
|
34104
|
-
*
|
|
34105
|
-
*
|
|
34106
|
-
*
|
|
34107
|
-
*
|
|
34108
|
-
*
|
|
34109
|
-
*
|
|
34110
|
-
*
|
|
34111
|
-
*
|
|
34112
|
-
*
|
|
34113
|
-
*
|
|
34114
|
-
*
|
|
34115
|
-
*
|
|
34116
|
-
*
|
|
34117
|
-
*
|
|
34118
|
-
*
|
|
34119
|
-
*
|
|
34120
|
-
*
|
|
34121
|
-
*
|
|
34122
|
-
*
|
|
34123
|
-
*
|
|
34124
|
-
*
|
|
34125
|
-
*
|
|
34126
|
-
*
|
|
34127
|
-
* &Permissions.1.PortRange=22/22
|
|
34128
|
-
* &Permissions.1.NicType=intranet
|
|
34129
|
-
* &Permissions.1.Policy=accept
|
|
34130
|
-
* &<Common request parameters>
|
|
34131
|
-
*
|
|
34132
|
-
* ```
|
|
34133
|
-
* * Parameters used to delete an outbound security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestPrefixListId.
|
|
34134
|
-
* ```
|
|
34135
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress
|
|
34136
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
34137
|
-
* &Permissions.1.IpProtocol=TCP
|
|
34138
|
-
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
34139
|
-
* &Permissions.1.PortRange=-22/22
|
|
34140
|
-
* &Permissions.1.NicType=intranet
|
|
34141
|
-
* &Permissions.1.Policy=accept
|
|
34142
|
-
* &<Common request parameters>
|
|
34143
|
-
*
|
|
34144
|
-
* ```
|
|
33837
|
+
* In the security group-related API documents, outbound traffic is sent by the source and received by the destination.
|
|
33838
|
+
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
33839
|
+
* * The parameter used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the ID of a specified security group rule does not exist, an error is reported. - You cannot specify the parameters that are no longer available and the Permissions.N-prefixed counterparts of the parameters at the same time. - Sample request:
|
|
33840
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress
|
|
33841
|
+
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
33842
|
+
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
33843
|
+
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
33844
|
+
* &<Common request parameters>
|
|
33845
|
+
* * Parameters prefixed with Permissions.N.
|
|
33846
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroupEgress is successful but no security group rule is deleted.
|
|
33847
|
+
* * You cannot specify the SecurityGroupRuleId parameter or parameters that are not prefixed with Permissions.N.
|
|
33848
|
+
* * You can delete a specific outbound security group rule by specifying one of the following groups of parameters. However, you cannot delete the security group rule if you specify only one of the parameters in a group.
|
|
33849
|
+
* * Parameters used to delete an outbound security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestCidrIp.
|
|
33850
|
+
* ```
|
|
33851
|
+
* ```
|
|
33852
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.DestCidrIp=10.0.0.0/8 \\&Permissions.1.PortRange=-22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
33853
|
+
* * Parameters used to delete an outbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestGroupId.
|
|
33854
|
+
* ```
|
|
33855
|
+
* ```
|
|
33856
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.DestGroupId=sg-bp67acfmxa123b\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
33857
|
+
* * Parameters used to delete an outbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestPrefixListId.
|
|
33858
|
+
* ```
|
|
33859
|
+
* ```
|
|
33860
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy\\*\\*\\*\\* \\&Permissions.1.PortRange=-22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
34145
33861
|
*
|
|
34146
33862
|
* @param request RevokeSecurityGroupEgressRequest
|
|
34147
33863
|
* @return RevokeSecurityGroupEgressResponse
|
|
34148
33864
|
*/
|
|
34149
33865
|
revokeSecurityGroupEgress(request: RevokeSecurityGroupEgressRequest): Promise<RevokeSecurityGroupEgressResponse>;
|
|
34150
33866
|
/**
|
|
34151
|
-
*
|
|
34152
|
-
* When you call this operation, take note of the following items:
|
|
34153
|
-
* * The instances on which you want to run a command must reside in a virtual private cloud (VPC).
|
|
34154
|
-
* * The instances must be in the `Running` state.
|
|
34155
|
-
* * The Cloud Assistant client must be installed on the instances. For more information, see [InstallCloudAssistant](~~85916~~).
|
|
34156
|
-
* * Before you run a PowerShell command on a Windows instance, make sure that the PowerShell module is installed on the instance.
|
|
34157
|
-
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For information about time zones, see [Configure the NTP service for ECS instances that run CentOS 6](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
34158
|
-
* * You can specify the `TimeOut` parameter to specify a timeout period for executions of the command on instances. If an execution times out, the Cloud Assistant client forcibly terminates the command process.
|
|
34159
|
-
* * If the one-time execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
|
|
34160
|
-
* * For a scheduled task, the timeout period takes effect on each execution of the command. When a command execution times out, the subsequent executions of the command are not affected. If a scheduled execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
|
|
34161
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following versions. A scheduled task can run a command at a specific interval, only once at a specific time, or at specific times based on a cron expression that includes a specific year or time zone. If the `ClientNeedUpgrade` error code is returned, you must update the Cloud Assistant client to the latest version. For more information, see [Upgrade or disable upgrades for the Cloud Assistant client](~~134383~~).
|
|
34162
|
-
* - Linux: 2.2.3.282
|
|
34163
|
-
* - Windows: 2.1.3.282
|
|
34164
|
-
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
34165
|
-
* * If you set the `EnableParameter` parameter to true, the custom parameter feature is enabled. If you specify the `CommandContent` parameter, you can specify custom parameters in the `{{parameter}}` format. After the command is run, the key-value pairs of the custom parameters are passed in.
|
|
34166
|
-
* * You can retain up to 500 to 10,000 Cloud Assistant commands in each region based on your ECS usage. You can call the [DescribeAccountAttribute](~~73772~~) operation to query quotas.
|
|
33867
|
+
* /home/
|
|
34167
33868
|
*
|
|
34168
33869
|
* @param tmpReq RunCommandRequest
|
|
34169
33870
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34171,22 +33872,7 @@ export default class Client extends OpenApi {
|
|
|
34171
33872
|
*/
|
|
34172
33873
|
runCommandWithOptions(tmpReq: RunCommandRequest, runtime: $Util.RuntimeOptions): Promise<RunCommandResponse>;
|
|
34173
33874
|
/**
|
|
34174
|
-
*
|
|
34175
|
-
* When you call this operation, take note of the following items:
|
|
34176
|
-
* * The instances on which you want to run a command must reside in a virtual private cloud (VPC).
|
|
34177
|
-
* * The instances must be in the `Running` state.
|
|
34178
|
-
* * The Cloud Assistant client must be installed on the instances. For more information, see [InstallCloudAssistant](~~85916~~).
|
|
34179
|
-
* * Before you run a PowerShell command on a Windows instance, make sure that the PowerShell module is installed on the instance.
|
|
34180
|
-
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For information about time zones, see [Configure the NTP service for ECS instances that run CentOS 6](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
34181
|
-
* * You can specify the `TimeOut` parameter to specify a timeout period for executions of the command on instances. If an execution times out, the Cloud Assistant client forcibly terminates the command process.
|
|
34182
|
-
* * If the one-time execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
|
|
34183
|
-
* * For a scheduled task, the timeout period takes effect on each execution of the command. When a command execution times out, the subsequent executions of the command are not affected. If a scheduled execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
|
|
34184
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following versions. A scheduled task can run a command at a specific interval, only once at a specific time, or at specific times based on a cron expression that includes a specific year or time zone. If the `ClientNeedUpgrade` error code is returned, you must update the Cloud Assistant client to the latest version. For more information, see [Upgrade or disable upgrades for the Cloud Assistant client](~~134383~~).
|
|
34185
|
-
* - Linux: 2.2.3.282
|
|
34186
|
-
* - Windows: 2.1.3.282
|
|
34187
|
-
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
34188
|
-
* * If you set the `EnableParameter` parameter to true, the custom parameter feature is enabled. If you specify the `CommandContent` parameter, you can specify custom parameters in the `{{parameter}}` format. After the command is run, the key-value pairs of the custom parameters are passed in.
|
|
34189
|
-
* * You can retain up to 500 to 10,000 Cloud Assistant commands in each region based on your ECS usage. You can call the [DescribeAccountAttribute](~~73772~~) operation to query quotas.
|
|
33875
|
+
* /home/
|
|
34190
33876
|
*
|
|
34191
33877
|
* @param request RunCommandRequest
|
|
34192
33878
|
* @return RunCommandResponse
|
|
@@ -34290,8 +33976,8 @@ export default class Client extends OpenApi {
|
|
|
34290
33976
|
*/
|
|
34291
33977
|
startElasticityAssurance(request: StartElasticityAssuranceRequest): Promise<StartElasticityAssuranceResponse>;
|
|
34292
33978
|
/**
|
|
34293
|
-
* *
|
|
34294
|
-
* *
|
|
33979
|
+
* * After you create an image template, you can call the StartImagePipelineExecution operation to create a pipeline task. The system creates, copies, and shares images based on the parameters configured in the image template.
|
|
33980
|
+
* * You can execute only one pipeline task for each image template.
|
|
34295
33981
|
*
|
|
34296
33982
|
* @param request StartImagePipelineExecutionRequest
|
|
34297
33983
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34299,18 +33985,17 @@ export default class Client extends OpenApi {
|
|
|
34299
33985
|
*/
|
|
34300
33986
|
startImagePipelineExecutionWithOptions(request: StartImagePipelineExecutionRequest, runtime: $Util.RuntimeOptions): Promise<StartImagePipelineExecutionResponse>;
|
|
34301
33987
|
/**
|
|
34302
|
-
* *
|
|
34303
|
-
* *
|
|
33988
|
+
* * After you create an image template, you can call the StartImagePipelineExecution operation to create a pipeline task. The system creates, copies, and shares images based on the parameters configured in the image template.
|
|
33989
|
+
* * You can execute only one pipeline task for each image template.
|
|
34304
33990
|
*
|
|
34305
33991
|
* @param request StartImagePipelineExecutionRequest
|
|
34306
33992
|
* @return StartImagePipelineExecutionResponse
|
|
34307
33993
|
*/
|
|
34308
33994
|
startImagePipelineExecution(request: StartImagePipelineExecutionRequest): Promise<StartImagePipelineExecutionResponse>;
|
|
34309
33995
|
/**
|
|
34310
|
-
* ## Usage notes
|
|
34311
33996
|
* When you call this operation, take note of the following items:
|
|
34312
|
-
* *
|
|
34313
|
-
* * If
|
|
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.
|
|
34314
33999
|
*
|
|
34315
34000
|
* @param request StartInstanceRequest
|
|
34316
34001
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34318,10 +34003,9 @@ export default class Client extends OpenApi {
|
|
|
34318
34003
|
*/
|
|
34319
34004
|
startInstanceWithOptions(request: StartInstanceRequest, runtime: $Util.RuntimeOptions): Promise<StartInstanceResponse>;
|
|
34320
34005
|
/**
|
|
34321
|
-
* ## Usage notes
|
|
34322
34006
|
* When you call this operation, take note of the following items:
|
|
34323
|
-
* *
|
|
34324
|
-
* * If
|
|
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.
|
|
34325
34009
|
*
|
|
34326
34010
|
* @param request StartInstanceRequest
|
|
34327
34011
|
* @return StartInstanceResponse
|
|
@@ -34329,7 +34013,7 @@ export default class Client extends OpenApi {
|
|
|
34329
34013
|
startInstance(request: StartInstanceRequest): Promise<StartInstanceResponse>;
|
|
34330
34014
|
/**
|
|
34331
34015
|
* When you call this operation, take note of the following items:
|
|
34332
|
-
* * The ECS instances that you want to start must be in the **Stopped**
|
|
34016
|
+
* * The ECS instances that you want to start must be in the **Stopped** state.``
|
|
34333
34017
|
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
|
|
34334
34018
|
* * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
34335
34019
|
*
|
|
@@ -34340,7 +34024,7 @@ export default class Client extends OpenApi {
|
|
|
34340
34024
|
startInstancesWithOptions(request: StartInstancesRequest, runtime: $Util.RuntimeOptions): Promise<StartInstancesResponse>;
|
|
34341
34025
|
/**
|
|
34342
34026
|
* When you call this operation, take note of the following items:
|
|
34343
|
-
* * The ECS instances that you want to start must be in the **Stopped**
|
|
34027
|
+
* * The ECS instances that you want to start must be in the **Stopped** state.``
|
|
34344
34028
|
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
|
|
34345
34029
|
* * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
34346
34030
|
*
|
|
@@ -34397,8 +34081,8 @@ export default class Client extends OpenApi {
|
|
|
34397
34081
|
*/
|
|
34398
34082
|
stopInstance(request: StopInstanceRequest): Promise<StopInstanceResponse>;
|
|
34399
34083
|
/**
|
|
34400
|
-
* * If
|
|
34401
|
-
* *
|
|
34084
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
|
|
34085
|
+
* * Once economy mode is enabled for pay-as-you-go instances, you can then switch `StoppedMode` to KeepCharging, which enables standard mode for the instances. In standard mode, you continue to be charged for the instances are stopped, and the resources of the instance type as well as public IP addresses of the instances are retained.
|
|
34402
34086
|
* * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
34403
34087
|
*
|
|
34404
34088
|
* @param request StopInstancesRequest
|
|
@@ -34407,8 +34091,8 @@ export default class Client extends OpenApi {
|
|
|
34407
34091
|
*/
|
|
34408
34092
|
stopInstancesWithOptions(request: StopInstancesRequest, runtime: $Util.RuntimeOptions): Promise<StopInstancesResponse>;
|
|
34409
34093
|
/**
|
|
34410
|
-
* * If
|
|
34411
|
-
* *
|
|
34094
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
|
|
34095
|
+
* * Once economy mode is enabled for pay-as-you-go instances, you can then switch `StoppedMode` to KeepCharging, which enables standard mode for the instances. In standard mode, you continue to be charged for the instances are stopped, and the resources of the instance type as well as public IP addresses of the instances are retained.
|
|
34412
34096
|
* * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
34413
34097
|
*
|
|
34414
34098
|
* @param request StopInstancesRequest
|