@alicloud/ecs20140526 7.2.3 → 7.3.0
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 +133 -166
- package/dist/client.js +165 -162
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +0 -7
- package/dist/models/AcceptInquiredSystemEventRequest.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventResponseBody.d.ts +0 -3
- package/dist/models/AcceptInquiredSystemEventResponseBody.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateImagePipelineRequest.d.ts +9 -9
- package/dist/models/CreateInstanceRequest.d.ts +6 -2
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequest.d.ts +2 -2
- package/dist/models/CreateSnapshotGroupRequest.d.ts +7 -7
- package/dist/models/DescribeAutoProvisioningGroupHistoryRequest.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +42 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +32 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableResourceRequest.d.ts +0 -118
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +9 -75
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeElasticityAssurancesRequest.d.ts +1 -1
- package/dist/models/DescribeEniMonitorDataRequest.d.ts +2 -2
- package/dist/models/DescribeImagePipelineExecutionsRequest.d.ts +22 -24
- package/dist/models/DescribeImagePipelineExecutionsRequest.js.map +1 -1
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.d.ts +26 -24
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.js.map +1 -1
- package/dist/models/DescribeImagePipelinesRequest.d.ts +1 -1
- package/dist/models/DescribeImagePipelinesResponseBody.d.ts +2 -2
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesFullStatusRequest.d.ts +2 -1
- package/dist/models/DescribeInstancesFullStatusRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsRequest.d.ts +79 -64
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +160 -136
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +17 -91
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +225 -172
- package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
- package/dist/models/DescribeManagedInstancesRequest.d.ts +18 -0
- package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
- package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
- package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
- package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +8 -8
- package/dist/models/ModifyInstanceMetadataOptionsRequest.d.ts +8 -1
- package/dist/models/ModifyInstanceMetadataOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +1 -1
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/OpenSnapshotServiceRequest.d.ts +26 -0
- package/dist/models/OpenSnapshotServiceRequest.js +64 -0
- package/dist/models/OpenSnapshotServiceRequest.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponse.d.ts +19 -0
- package/dist/models/OpenSnapshotServiceResponse.js +69 -0
- package/dist/models/OpenSnapshotServiceResponse.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponseBody.d.ts +21 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js +58 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js.map +1 -0
- package/dist/models/ReleaseDedicatedHostRequest.d.ts +13 -0
- package/dist/models/ReleaseDedicatedHostRequest.js +2 -0
- package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +69 -59
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +172 -162
- package/src/models/AcceptInquiredSystemEventRequest.ts +0 -7
- package/src/models/AcceptInquiredSystemEventResponseBody.ts +0 -3
- package/src/models/CreateAutoProvisioningGroupRequest.ts +29 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +29 -0
- package/src/models/CreateImagePipelineRequest.ts +9 -9
- package/src/models/CreateInstanceRequest.ts +6 -2
- package/src/models/CreatePrefixListRequest.ts +2 -2
- package/src/models/CreateSnapshotGroupRequest.ts +7 -7
- package/src/models/DescribeAutoProvisioningGroupHistoryRequest.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +42 -0
- package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +32 -0
- package/src/models/DescribeAvailableResourceRequest.ts +0 -118
- package/src/models/DescribeAvailableResourceResponseBody.ts +9 -75
- package/src/models/DescribeElasticityAssurancesRequest.ts +1 -1
- package/src/models/DescribeEniMonitorDataRequest.ts +2 -2
- package/src/models/DescribeImagePipelineExecutionsRequest.ts +22 -24
- package/src/models/DescribeImagePipelineExecutionsResponseBody.ts +26 -24
- package/src/models/DescribeImagePipelinesRequest.ts +1 -1
- package/src/models/DescribeImagePipelinesResponseBody.ts +2 -2
- package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -1
- package/src/models/DescribeInstancesFullStatusRequest.ts +2 -1
- package/src/models/DescribeInvocationResultsRequest.ts +79 -64
- package/src/models/DescribeInvocationResultsResponseBody.ts +160 -136
- package/src/models/DescribeInvocationsRequest.ts +17 -91
- package/src/models/DescribeInvocationsResponseBody.ts +225 -172
- package/src/models/DescribeManagedInstancesRequest.ts +18 -0
- package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
- package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
- package/src/models/ModifyCloudAssistantSettingsRequest.ts +2 -1
- package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +2 -1
- package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +8 -8
- package/src/models/ModifyInstanceMetadataOptionsRequest.ts +8 -1
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +1 -1
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +14 -2
- package/src/models/ModifySecurityGroupRuleRequest.ts +14 -2
- package/src/models/OpenSnapshotServiceRequest.ts +45 -0
- package/src/models/OpenSnapshotServiceResponse.ts +40 -0
- package/src/models/OpenSnapshotServiceResponseBody.ts +34 -0
- package/src/models/ReleaseDedicatedHostRequest.ts +15 -0
- package/src/models/model.ts +5 -0
package/dist/client.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* dubbo
|
|
13
13
|
*
|
|
14
14
|
* @param request - AcceptInquiredSystemEventRequest
|
|
15
15
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17,7 +17,7 @@ export default class Client extends OpenApi {
|
|
|
17
17
|
*/
|
|
18
18
|
acceptInquiredSystemEventWithOptions(request: $_model.AcceptInquiredSystemEventRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AcceptInquiredSystemEventResponse>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* dubbo
|
|
21
21
|
*
|
|
22
22
|
* @param request - AcceptInquiredSystemEventRequest
|
|
23
23
|
* @returns AcceptInquiredSystemEventResponse
|
|
@@ -189,8 +189,17 @@ export default class Client extends OpenApi {
|
|
|
189
189
|
* Applies an automatic snapshot policy to one or more cloud disks. You can call this operation to replace the automatic snapshot policy of a cloud disk.
|
|
190
190
|
*
|
|
191
191
|
* @remarks
|
|
192
|
-
*
|
|
193
|
-
*
|
|
192
|
+
* ## [](#)Usage notes
|
|
193
|
+
* When you call this operation, note that:
|
|
194
|
+
* * You can apply only one automatic snapshot policy to each disk.
|
|
195
|
+
* * You can apply a single automatic snapshot policy to multiple disks.
|
|
196
|
+
* Feature changes:
|
|
197
|
+
* By default, only one policy can be applied to a single disk. After the feature is upgraded, a maximum of 10 automatic snapshot policies can be applied to a single disk at the same time to meet the backup requirements of multiple scenarios.
|
|
198
|
+
* If you need to apply for a whitelist to upgrade the feature, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket).
|
|
199
|
+
* After you upgrade the feature, take note of the following:
|
|
200
|
+
* * Each cloud disk supports up to 10 automatic snapshot policies.
|
|
201
|
+
* * If the target cloud disk already has an automatic snapshot policy applied, calling this operation will add to the existing policy rather than replace it.
|
|
202
|
+
* > To avoid unexpected fees, cancel the automatic snapshot policies that you no longer need.
|
|
194
203
|
*
|
|
195
204
|
* @param request - ApplyAutoSnapshotPolicyRequest
|
|
196
205
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -201,8 +210,17 @@ export default class Client extends OpenApi {
|
|
|
201
210
|
* Applies an automatic snapshot policy to one or more cloud disks. You can call this operation to replace the automatic snapshot policy of a cloud disk.
|
|
202
211
|
*
|
|
203
212
|
* @remarks
|
|
204
|
-
*
|
|
205
|
-
*
|
|
213
|
+
* ## [](#)Usage notes
|
|
214
|
+
* When you call this operation, note that:
|
|
215
|
+
* * You can apply only one automatic snapshot policy to each disk.
|
|
216
|
+
* * You can apply a single automatic snapshot policy to multiple disks.
|
|
217
|
+
* Feature changes:
|
|
218
|
+
* By default, only one policy can be applied to a single disk. After the feature is upgraded, a maximum of 10 automatic snapshot policies can be applied to a single disk at the same time to meet the backup requirements of multiple scenarios.
|
|
219
|
+
* If you need to apply for a whitelist to upgrade the feature, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket).
|
|
220
|
+
* After you upgrade the feature, take note of the following:
|
|
221
|
+
* * Each cloud disk supports up to 10 automatic snapshot policies.
|
|
222
|
+
* * If the target cloud disk already has an automatic snapshot policy applied, calling this operation will add to the existing policy rather than replace it.
|
|
223
|
+
* > To avoid unexpected fees, cancel the automatic snapshot policies that you no longer need.
|
|
206
224
|
*
|
|
207
225
|
* @param request - ApplyAutoSnapshotPolicyRequest
|
|
208
226
|
* @returns ApplyAutoSnapshotPolicyResponse
|
|
@@ -2797,7 +2815,7 @@ export default class Client extends OpenApi {
|
|
|
2797
2815
|
*/
|
|
2798
2816
|
describeAccessPoints(request: $_model.DescribeAccessPointsRequest): Promise<$_model.DescribeAccessPointsResponse>;
|
|
2799
2817
|
/**
|
|
2800
|
-
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed
|
|
2818
|
+
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed the account verification.
|
|
2801
2819
|
*
|
|
2802
2820
|
* @remarks
|
|
2803
2821
|
* After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
@@ -2809,7 +2827,7 @@ export default class Client extends OpenApi {
|
|
|
2809
2827
|
*/
|
|
2810
2828
|
describeAccountAttributesWithOptions(request: $_model.DescribeAccountAttributesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAccountAttributesResponse>;
|
|
2811
2829
|
/**
|
|
2812
|
-
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed
|
|
2830
|
+
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed the account verification.
|
|
2813
2831
|
*
|
|
2814
2832
|
* @remarks
|
|
2815
2833
|
* After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
@@ -2892,7 +2910,7 @@ export default class Client extends OpenApi {
|
|
|
2892
2910
|
*/
|
|
2893
2911
|
describeAutoProvisioningGroups(request: $_model.DescribeAutoProvisioningGroupsRequest): Promise<$_model.DescribeAutoProvisioningGroupsResponse>;
|
|
2894
2912
|
/**
|
|
2895
|
-
*
|
|
2913
|
+
* Queries association relationships of automatic snapshot policies.
|
|
2896
2914
|
*
|
|
2897
2915
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
2898
2916
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2900,7 +2918,7 @@ export default class Client extends OpenApi {
|
|
|
2900
2918
|
*/
|
|
2901
2919
|
describeAutoSnapshotPolicyAssociationsWithOptions(request: $_model.DescribeAutoSnapshotPolicyAssociationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAutoSnapshotPolicyAssociationsResponse>;
|
|
2902
2920
|
/**
|
|
2903
|
-
*
|
|
2921
|
+
* Queries association relationships of automatic snapshot policies.
|
|
2904
2922
|
*
|
|
2905
2923
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
2906
2924
|
* @returns DescribeAutoSnapshotPolicyAssociationsResponse
|
|
@@ -2922,38 +2940,7 @@ export default class Client extends OpenApi {
|
|
|
2922
2940
|
*/
|
|
2923
2941
|
describeAutoSnapshotPolicyEx(request: $_model.DescribeAutoSnapshotPolicyExRequest): Promise<$_model.DescribeAutoSnapshotPolicyExResponse>;
|
|
2924
2942
|
/**
|
|
2925
|
-
*
|
|
2926
|
-
*
|
|
2927
|
-
* @remarks
|
|
2928
|
-
* The value of `DestinationResource` determines whether you need to specify additional parameters. When you select a value in the following chain for DestinationResource, the more to the right the selected value is ordered, the more parameters you must specify.
|
|
2929
|
-
* * Sequence: `Zone > IoOptimized > InstanceType = Network = ddh > SystemDisk > DataDisk`
|
|
2930
|
-
* * Examples:
|
|
2931
|
-
* * If you set `DestinationResource` to `DataDisk`, take note of the following items:
|
|
2932
|
-
* * If you set `ResourceType` to `disk` to query the categories of data disks regardless of whether the disks are attached to ECS instances, you can leave `InstanceType` empty.
|
|
2933
|
-
* * If you set `ResourceType` to `instance` to query the categories of data disks that are attached to ECS instances, you must specify `InstanceType` and `DataDiskCategory` due to instance type-specific limits on data disks.
|
|
2934
|
-
* * If you set `DestinationResource` to `SystemDisk` and `ResourceType` to `instance`, you must specify `InstanceType` due to instance type-specific limits on system disks.
|
|
2935
|
-
* * If you set `DestinationResource` to `InstanceType`, we recommend that you specify `IoOptimized` and `InstanceType`.
|
|
2936
|
-
* * To query the ecs.g5.large instance type in all zones of the China (Hangzhou) region, set `RegionId to cn-hangzhou, DestinationResource to InstanceType, IoOptimized to optimized, and InstanceType to ecs.g5.large`.
|
|
2937
|
-
* * To query the zones in which the ecs.g5.large instance type is available in the China (Hangzhou) region, set `RegionId to cn-hangzhou, DestinationResource to Zone, IoOptimized to optimized, and InstanceType to ecs.g5.large`.
|
|
2938
|
-
* **To query the zones in which the ecs.g5.large instance type is available in the China (Hangzhou) region, specify parameters as follows:**
|
|
2939
|
-
* "RegionId": "cn-hangzhou",
|
|
2940
|
-
* "DestinationResource": "Zone",
|
|
2941
|
-
* "InstanceType": "ecs.g5.large"
|
|
2942
|
-
* **To query the ecs.g5.large instance type in all zones of the China (Hangzhou) region, specify parameters as follows:**
|
|
2943
|
-
* "RegionId": "cn-hangzhou",
|
|
2944
|
-
* "DestinationResource": "InstanceType""InstanceType": "ecs.g5.large"
|
|
2945
|
-
* **To query data disks of the ultra disk category in Hangzhou Zone B regardless of whether the disks are attached to ECS instances, specify parameters as follows:**
|
|
2946
|
-
* "RegionId": "cn-hangzhou",
|
|
2947
|
-
* "ZoneId": "cn-hangzhou-b",
|
|
2948
|
-
* "ResourceType": "disk",
|
|
2949
|
-
* "DestinationResource": "DataDisk"
|
|
2950
|
-
* **To query data disks purchased together with ecs.g7.large instances that reside in Hangzhou Zone B and use Enterprise SSDs (ESSDs) as system disks, specify parameters as follows:**
|
|
2951
|
-
* "RegionId": "cn-hangzhou",
|
|
2952
|
-
* "ZoneId": "cn-hangzhou-b",
|
|
2953
|
-
* "ResourceType": "instance",
|
|
2954
|
-
* "InstanceType": "ecs.g7.large",
|
|
2955
|
-
* "DestinationResource": "SystemDisk",
|
|
2956
|
-
* "SystemDiskCategory": "cloud_essd"
|
|
2943
|
+
* 查询可用资源
|
|
2957
2944
|
*
|
|
2958
2945
|
* @param request - DescribeAvailableResourceRequest
|
|
2959
2946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2961,38 +2948,7 @@ export default class Client extends OpenApi {
|
|
|
2961
2948
|
*/
|
|
2962
2949
|
describeAvailableResourceWithOptions(request: $_model.DescribeAvailableResourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAvailableResourceResponse>;
|
|
2963
2950
|
/**
|
|
2964
|
-
*
|
|
2965
|
-
*
|
|
2966
|
-
* @remarks
|
|
2967
|
-
* The value of `DestinationResource` determines whether you need to specify additional parameters. When you select a value in the following chain for DestinationResource, the more to the right the selected value is ordered, the more parameters you must specify.
|
|
2968
|
-
* * Sequence: `Zone > IoOptimized > InstanceType = Network = ddh > SystemDisk > DataDisk`
|
|
2969
|
-
* * Examples:
|
|
2970
|
-
* * If you set `DestinationResource` to `DataDisk`, take note of the following items:
|
|
2971
|
-
* * If you set `ResourceType` to `disk` to query the categories of data disks regardless of whether the disks are attached to ECS instances, you can leave `InstanceType` empty.
|
|
2972
|
-
* * If you set `ResourceType` to `instance` to query the categories of data disks that are attached to ECS instances, you must specify `InstanceType` and `DataDiskCategory` due to instance type-specific limits on data disks.
|
|
2973
|
-
* * If you set `DestinationResource` to `SystemDisk` and `ResourceType` to `instance`, you must specify `InstanceType` due to instance type-specific limits on system disks.
|
|
2974
|
-
* * If you set `DestinationResource` to `InstanceType`, we recommend that you specify `IoOptimized` and `InstanceType`.
|
|
2975
|
-
* * To query the ecs.g5.large instance type in all zones of the China (Hangzhou) region, set `RegionId to cn-hangzhou, DestinationResource to InstanceType, IoOptimized to optimized, and InstanceType to ecs.g5.large`.
|
|
2976
|
-
* * To query the zones in which the ecs.g5.large instance type is available in the China (Hangzhou) region, set `RegionId to cn-hangzhou, DestinationResource to Zone, IoOptimized to optimized, and InstanceType to ecs.g5.large`.
|
|
2977
|
-
* **To query the zones in which the ecs.g5.large instance type is available in the China (Hangzhou) region, specify parameters as follows:**
|
|
2978
|
-
* "RegionId": "cn-hangzhou",
|
|
2979
|
-
* "DestinationResource": "Zone",
|
|
2980
|
-
* "InstanceType": "ecs.g5.large"
|
|
2981
|
-
* **To query the ecs.g5.large instance type in all zones of the China (Hangzhou) region, specify parameters as follows:**
|
|
2982
|
-
* "RegionId": "cn-hangzhou",
|
|
2983
|
-
* "DestinationResource": "InstanceType""InstanceType": "ecs.g5.large"
|
|
2984
|
-
* **To query data disks of the ultra disk category in Hangzhou Zone B regardless of whether the disks are attached to ECS instances, specify parameters as follows:**
|
|
2985
|
-
* "RegionId": "cn-hangzhou",
|
|
2986
|
-
* "ZoneId": "cn-hangzhou-b",
|
|
2987
|
-
* "ResourceType": "disk",
|
|
2988
|
-
* "DestinationResource": "DataDisk"
|
|
2989
|
-
* **To query data disks purchased together with ecs.g7.large instances that reside in Hangzhou Zone B and use Enterprise SSDs (ESSDs) as system disks, specify parameters as follows:**
|
|
2990
|
-
* "RegionId": "cn-hangzhou",
|
|
2991
|
-
* "ZoneId": "cn-hangzhou-b",
|
|
2992
|
-
* "ResourceType": "instance",
|
|
2993
|
-
* "InstanceType": "ecs.g7.large",
|
|
2994
|
-
* "DestinationResource": "SystemDisk",
|
|
2995
|
-
* "SystemDiskCategory": "cloud_essd"
|
|
2951
|
+
* 查询可用资源
|
|
2996
2952
|
*
|
|
2997
2953
|
* @param request - DescribeAvailableResourceRequest
|
|
2998
2954
|
* @returns DescribeAvailableResourceResponse
|
|
@@ -3692,13 +3648,22 @@ export default class Client extends OpenApi {
|
|
|
3692
3648
|
*/
|
|
3693
3649
|
describeImageFromFamily(request: $_model.DescribeImageFromFamilyRequest): Promise<$_model.DescribeImageFromFamilyResponse>;
|
|
3694
3650
|
/**
|
|
3695
|
-
*
|
|
3651
|
+
* The key of tag N of the image creation task. Valid values of N: 1 to 20.
|
|
3696
3652
|
*
|
|
3697
3653
|
* @remarks
|
|
3698
|
-
*
|
|
3699
|
-
* *
|
|
3700
|
-
* *
|
|
3701
|
-
* *
|
|
3654
|
+
* The status of the image creation task. Valid values:
|
|
3655
|
+
* * PREPARING: Resources, such as intermediate instances, are being created.
|
|
3656
|
+
* * REPAIRING: The source image is being repaired.
|
|
3657
|
+
* * BUILDING: The user-defined commands are being run and an image is being created.
|
|
3658
|
+
* * TESTING: The user-defined test commands are being run.
|
|
3659
|
+
* * DISTRIBUTING: The created image is being copied and shared.
|
|
3660
|
+
* * RELEASING: The temporary resources generated during the image creation process are being released.
|
|
3661
|
+
* * SUCCESS The image creation task is completed.
|
|
3662
|
+
* * PARTITION_SUCCESS: The image creation task is partially completed. The image is created, but exceptions may occur when the image was copied or shared or when temporary resources were released.
|
|
3663
|
+
* * FAILED: The image creation task fails.
|
|
3664
|
+
* * TEST_FAILED: The image is created, but the test fails.
|
|
3665
|
+
* * CANCELLING: The image creation task is being canceled.
|
|
3666
|
+
* * CANCELLED: The image creation task is canceled.
|
|
3702
3667
|
*
|
|
3703
3668
|
* @param request - DescribeImagePipelineExecutionsRequest
|
|
3704
3669
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3706,13 +3671,22 @@ export default class Client extends OpenApi {
|
|
|
3706
3671
|
*/
|
|
3707
3672
|
describeImagePipelineExecutionsWithOptions(request: $_model.DescribeImagePipelineExecutionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeImagePipelineExecutionsResponse>;
|
|
3708
3673
|
/**
|
|
3709
|
-
*
|
|
3674
|
+
* The key of tag N of the image creation task. Valid values of N: 1 to 20.
|
|
3710
3675
|
*
|
|
3711
3676
|
* @remarks
|
|
3712
|
-
*
|
|
3713
|
-
* *
|
|
3714
|
-
* *
|
|
3715
|
-
* *
|
|
3677
|
+
* The status of the image creation task. Valid values:
|
|
3678
|
+
* * PREPARING: Resources, such as intermediate instances, are being created.
|
|
3679
|
+
* * REPAIRING: The source image is being repaired.
|
|
3680
|
+
* * BUILDING: The user-defined commands are being run and an image is being created.
|
|
3681
|
+
* * TESTING: The user-defined test commands are being run.
|
|
3682
|
+
* * DISTRIBUTING: The created image is being copied and shared.
|
|
3683
|
+
* * RELEASING: The temporary resources generated during the image creation process are being released.
|
|
3684
|
+
* * SUCCESS The image creation task is completed.
|
|
3685
|
+
* * PARTITION_SUCCESS: The image creation task is partially completed. The image is created, but exceptions may occur when the image was copied or shared or when temporary resources were released.
|
|
3686
|
+
* * FAILED: The image creation task fails.
|
|
3687
|
+
* * TEST_FAILED: The image is created, but the test fails.
|
|
3688
|
+
* * CANCELLING: The image creation task is being canceled.
|
|
3689
|
+
* * CANCELLED: The image creation task is canceled.
|
|
3716
3690
|
*
|
|
3717
3691
|
* @param request - DescribeImagePipelineExecutionsRequest
|
|
3718
3692
|
* @returns DescribeImagePipelineExecutionsResponse
|
|
@@ -4190,22 +4164,24 @@ export default class Client extends OpenApi {
|
|
|
4190
4164
|
*/
|
|
4191
4165
|
describeInstancesFullStatus(request: $_model.DescribeInstancesFullStatusRequest): Promise<$_model.DescribeInstancesFullStatusResponse>;
|
|
4192
4166
|
/**
|
|
4193
|
-
*
|
|
4194
|
-
*
|
|
4195
|
-
*
|
|
4196
|
-
*
|
|
4197
|
-
* *
|
|
4198
|
-
*
|
|
4199
|
-
*
|
|
4200
|
-
* *
|
|
4201
|
-
*
|
|
4202
|
-
* *
|
|
4203
|
-
*
|
|
4204
|
-
*
|
|
4205
|
-
* *
|
|
4206
|
-
*
|
|
4207
|
-
*
|
|
4208
|
-
*
|
|
4167
|
+
* The execution status of the command. Valid values:
|
|
4168
|
+
* * Running:
|
|
4169
|
+
* * Scheduled task: Before you stop the scheduled execution of the command, the execution state is always Running.
|
|
4170
|
+
* * One-time task: If the command is being run on instances, the execution state is Running.
|
|
4171
|
+
* * Finished:
|
|
4172
|
+
* * Scheduled task: The execution state can never be Finished.
|
|
4173
|
+
* * One-time task: The execution was complete on all instances, or the execution was stopped on some instances and was complete on the other instances.
|
|
4174
|
+
* * Failed:
|
|
4175
|
+
* * Scheduled task: The execution state can never be Failed.
|
|
4176
|
+
* * One-time task: The execution failed on all instances.
|
|
4177
|
+
* * PartialFailed:
|
|
4178
|
+
* * Scheduled task: The execution state can never be PartialFailed.
|
|
4179
|
+
* * One-time task: The execution failed on some instances.
|
|
4180
|
+
* * Stopped: The task was stopped.
|
|
4181
|
+
* * Stopping: The task is being stopped.
|
|
4182
|
+
*
|
|
4183
|
+
* @remarks
|
|
4184
|
+
* DescribeInvocationResults
|
|
4209
4185
|
*
|
|
4210
4186
|
* @param request - DescribeInvocationResultsRequest
|
|
4211
4187
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4213,43 +4189,34 @@ export default class Client extends OpenApi {
|
|
|
4213
4189
|
*/
|
|
4214
4190
|
describeInvocationResultsWithOptions(request: $_model.DescribeInvocationResultsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInvocationResultsResponse>;
|
|
4215
4191
|
/**
|
|
4216
|
-
*
|
|
4217
|
-
*
|
|
4218
|
-
*
|
|
4219
|
-
*
|
|
4220
|
-
* *
|
|
4221
|
-
*
|
|
4222
|
-
*
|
|
4223
|
-
* *
|
|
4224
|
-
*
|
|
4225
|
-
* *
|
|
4226
|
-
*
|
|
4227
|
-
*
|
|
4228
|
-
* *
|
|
4229
|
-
*
|
|
4230
|
-
*
|
|
4231
|
-
*
|
|
4192
|
+
* The execution status of the command. Valid values:
|
|
4193
|
+
* * Running:
|
|
4194
|
+
* * Scheduled task: Before you stop the scheduled execution of the command, the execution state is always Running.
|
|
4195
|
+
* * One-time task: If the command is being run on instances, the execution state is Running.
|
|
4196
|
+
* * Finished:
|
|
4197
|
+
* * Scheduled task: The execution state can never be Finished.
|
|
4198
|
+
* * One-time task: The execution was complete on all instances, or the execution was stopped on some instances and was complete on the other instances.
|
|
4199
|
+
* * Failed:
|
|
4200
|
+
* * Scheduled task: The execution state can never be Failed.
|
|
4201
|
+
* * One-time task: The execution failed on all instances.
|
|
4202
|
+
* * PartialFailed:
|
|
4203
|
+
* * Scheduled task: The execution state can never be PartialFailed.
|
|
4204
|
+
* * One-time task: The execution failed on some instances.
|
|
4205
|
+
* * Stopped: The task was stopped.
|
|
4206
|
+
* * Stopping: The task is being stopped.
|
|
4207
|
+
*
|
|
4208
|
+
* @remarks
|
|
4209
|
+
* DescribeInvocationResults
|
|
4232
4210
|
*
|
|
4233
4211
|
* @param request - DescribeInvocationResultsRequest
|
|
4234
4212
|
* @returns DescribeInvocationResultsResponse
|
|
4235
4213
|
*/
|
|
4236
4214
|
describeInvocationResults(request: $_model.DescribeInvocationResultsRequest): Promise<$_model.DescribeInvocationResultsResponse>;
|
|
4237
4215
|
/**
|
|
4238
|
-
*
|
|
4216
|
+
* The command type.
|
|
4239
4217
|
*
|
|
4240
4218
|
* @remarks
|
|
4241
|
-
*
|
|
4242
|
-
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
4243
|
-
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
4244
|
-
* * During a paged query, when you call the DescribeInvocations operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeInvocations operation to retrieve a new page of results, 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.
|
|
4245
|
-
* * Differences between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
4246
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
4247
|
-
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
4248
|
-
* * The `DescribeInvocationResults` operation queries only the execution status of the command on each instance.
|
|
4249
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on a single instance:
|
|
4250
|
-
* * The `DescribeInvocations` operation is equivalent to the `DescribeInvocationResults` operation.
|
|
4251
|
-
* * If you want to query the status of each execution for a scheduled (recurring) task or a task that is automatically executed on instance startup (`RepeatMode is set to Period or EveryReboot`), you can call only the `DescribeInvocationResults` operation and must set `IncludeHistory` to true. The `DescribeInvocations` operation queries only the most recent execution status of the command.
|
|
4252
|
-
* * If you want to view the command content and parameters, you can call only the `DescribeInvocations` operation and check the `CommandContent` value in the response.
|
|
4219
|
+
* DescribeInvocations
|
|
4253
4220
|
*
|
|
4254
4221
|
* @param request - DescribeInvocationsRequest
|
|
4255
4222
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4257,21 +4224,10 @@ export default class Client extends OpenApi {
|
|
|
4257
4224
|
*/
|
|
4258
4225
|
describeInvocationsWithOptions(request: $_model.DescribeInvocationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInvocationsResponse>;
|
|
4259
4226
|
/**
|
|
4260
|
-
*
|
|
4227
|
+
* The command type.
|
|
4261
4228
|
*
|
|
4262
4229
|
* @remarks
|
|
4263
|
-
*
|
|
4264
|
-
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
4265
|
-
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
4266
|
-
* * During a paged query, when you call the DescribeInvocations operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeInvocations operation to retrieve a new page of results, 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.
|
|
4267
|
-
* * Differences between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
4268
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
4269
|
-
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
4270
|
-
* * The `DescribeInvocationResults` operation queries only the execution status of the command on each instance.
|
|
4271
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on a single instance:
|
|
4272
|
-
* * The `DescribeInvocations` operation is equivalent to the `DescribeInvocationResults` operation.
|
|
4273
|
-
* * If you want to query the status of each execution for a scheduled (recurring) task or a task that is automatically executed on instance startup (`RepeatMode is set to Period or EveryReboot`), you can call only the `DescribeInvocationResults` operation and must set `IncludeHistory` to true. The `DescribeInvocations` operation queries only the most recent execution status of the command.
|
|
4274
|
-
* * If you want to view the command content and parameters, you can call only the `DescribeInvocations` operation and check the `CommandContent` value in the response.
|
|
4230
|
+
* DescribeInvocations
|
|
4275
4231
|
*
|
|
4276
4232
|
* @param request - DescribeInvocationsRequest
|
|
4277
4233
|
* @returns DescribeInvocationsResponse
|
|
@@ -7211,7 +7167,7 @@ export default class Client extends OpenApi {
|
|
|
7211
7167
|
*/
|
|
7212
7168
|
modifyInstanceMetadataOptions(request: $_model.ModifyInstanceMetadataOptionsRequest): Promise<$_model.ModifyInstanceMetadataOptionsResponse>;
|
|
7213
7169
|
/**
|
|
7214
|
-
* Modifies
|
|
7170
|
+
* Modifies instance network configurations.
|
|
7215
7171
|
*
|
|
7216
7172
|
* @remarks
|
|
7217
7173
|
* When you call this operation, note that:
|
|
@@ -7225,7 +7181,7 @@ export default class Client extends OpenApi {
|
|
|
7225
7181
|
*/
|
|
7226
7182
|
modifyInstanceNetworkOptionsWithOptions(request: $_model.ModifyInstanceNetworkOptionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceNetworkOptionsResponse>;
|
|
7227
7183
|
/**
|
|
7228
|
-
* Modifies
|
|
7184
|
+
* Modifies instance network configurations.
|
|
7229
7185
|
*
|
|
7230
7186
|
* @remarks
|
|
7231
7187
|
* When you call this operation, note that:
|
|
@@ -7946,7 +7902,7 @@ export default class Client extends OpenApi {
|
|
|
7946
7902
|
*/
|
|
7947
7903
|
modifySnapshotGroup(request: $_model.ModifySnapshotGroupRequest): Promise<$_model.ModifySnapshotGroupResponse>;
|
|
7948
7904
|
/**
|
|
7949
|
-
*
|
|
7905
|
+
* Modifies the name or description of a storage capacity unit (SCU).
|
|
7950
7906
|
*
|
|
7951
7907
|
* @param request - ModifyStorageCapacityUnitAttributeRequest
|
|
7952
7908
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7954,7 +7910,7 @@ export default class Client extends OpenApi {
|
|
|
7954
7910
|
*/
|
|
7955
7911
|
modifyStorageCapacityUnitAttributeWithOptions(request: $_model.ModifyStorageCapacityUnitAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyStorageCapacityUnitAttributeResponse>;
|
|
7956
7912
|
/**
|
|
7957
|
-
*
|
|
7913
|
+
* Modifies the name or description of a storage capacity unit (SCU).
|
|
7958
7914
|
*
|
|
7959
7915
|
* @param request - ModifyStorageCapacityUnitAttributeRequest
|
|
7960
7916
|
* @returns ModifyStorageCapacityUnitAttributeResponse
|
|
@@ -8070,6 +8026,21 @@ export default class Client extends OpenApi {
|
|
|
8070
8026
|
* @returns ModifyVpcAttributeResponse
|
|
8071
8027
|
*/
|
|
8072
8028
|
modifyVpcAttribute(request: $_model.ModifyVpcAttributeRequest): Promise<$_model.ModifyVpcAttributeResponse>;
|
|
8029
|
+
/**
|
|
8030
|
+
* Activate the snapshot service.
|
|
8031
|
+
*
|
|
8032
|
+
* @param request - OpenSnapshotServiceRequest
|
|
8033
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8034
|
+
* @returns OpenSnapshotServiceResponse
|
|
8035
|
+
*/
|
|
8036
|
+
openSnapshotServiceWithOptions(request: $_model.OpenSnapshotServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.OpenSnapshotServiceResponse>;
|
|
8037
|
+
/**
|
|
8038
|
+
* Activate the snapshot service.
|
|
8039
|
+
*
|
|
8040
|
+
* @param request - OpenSnapshotServiceRequest
|
|
8041
|
+
* @returns OpenSnapshotServiceResponse
|
|
8042
|
+
*/
|
|
8043
|
+
openSnapshotService(request: $_model.OpenSnapshotServiceRequest): Promise<$_model.OpenSnapshotServiceResponse>;
|
|
8073
8044
|
/**
|
|
8074
8045
|
* Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
|
|
8075
8046
|
*
|
|
@@ -8396,7 +8367,7 @@ export default class Client extends OpenApi {
|
|
|
8396
8367
|
*/
|
|
8397
8368
|
releaseCapacityReservation(request: $_model.ReleaseCapacityReservationRequest): Promise<$_model.ReleaseCapacityReservationResponse>;
|
|
8398
8369
|
/**
|
|
8399
|
-
* Releases a pay-as-you-go
|
|
8370
|
+
* Releases a pay-as-you-go Dedicated Host or an expired subscription Dedicated Host.
|
|
8400
8371
|
*
|
|
8401
8372
|
* @remarks
|
|
8402
8373
|
* ## Usage notes
|
|
@@ -8408,7 +8379,7 @@ export default class Client extends OpenApi {
|
|
|
8408
8379
|
*/
|
|
8409
8380
|
releaseDedicatedHostWithOptions(request: $_model.ReleaseDedicatedHostRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReleaseDedicatedHostResponse>;
|
|
8410
8381
|
/**
|
|
8411
|
-
* Releases a pay-as-you-go
|
|
8382
|
+
* Releases a pay-as-you-go Dedicated Host or an expired subscription Dedicated Host.
|
|
8412
8383
|
*
|
|
8413
8384
|
* @remarks
|
|
8414
8385
|
* ## Usage notes
|
|
@@ -8596,13 +8567,11 @@ export default class Client extends OpenApi {
|
|
|
8596
8567
|
* * The category of the system disk cannot be changed.
|
|
8597
8568
|
* * Make sure that no unpaid orders are associated with the instance.
|
|
8598
8569
|
* * The instance must be in the `Stopped` state.
|
|
8599
|
-
*
|
|
8600
|
-
* **Note
|
|
8601
|
-
* *
|
|
8602
|
-
* *
|
|
8603
|
-
* After
|
|
8604
|
-
* * Call the [DescribeDisks](https://help.aliyun.com/document_detail/25514.html) operation to query the status of the new system disk. If the new system disk is in the In Use state, the system disk is replaced.
|
|
8605
|
-
* * Call the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) operation to query the status of the instance whose system disk is replaced. If the `OperationLocks` parameter is empty, the system disk is replaced.
|
|
8570
|
+
* **
|
|
8571
|
+
* **Note:** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode by default is enabled, you can enable standard mode when stopping the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
|
|
8572
|
+
* * You can use the parameter `SystemDisk.Size` to re-specify the size of the system disk (cannot be less than the original system disk capacity).
|
|
8573
|
+
* * If the `OperationLocks` parameter value of the instance contains `"LockReason": "security"`, then the ECS instance is locked for security. You cannot replace the system disk. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
8574
|
+
* After the system disk is replaced, you can query the status of the instance to check whether the replacement is successful by using the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) interface. If the `OperationLocks` parameter is empty, the system disk is replaced.
|
|
8606
8575
|
*
|
|
8607
8576
|
* @param request - ReplaceSystemDiskRequest
|
|
8608
8577
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8619,13 +8588,11 @@ export default class Client extends OpenApi {
|
|
|
8619
8588
|
* * The category of the system disk cannot be changed.
|
|
8620
8589
|
* * Make sure that no unpaid orders are associated with the instance.
|
|
8621
8590
|
* * The instance must be in the `Stopped` state.
|
|
8622
|
-
*
|
|
8623
|
-
* **Note
|
|
8624
|
-
* *
|
|
8625
|
-
* *
|
|
8626
|
-
* After
|
|
8627
|
-
* * Call the [DescribeDisks](https://help.aliyun.com/document_detail/25514.html) operation to query the status of the new system disk. If the new system disk is in the In Use state, the system disk is replaced.
|
|
8628
|
-
* * Call the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) operation to query the status of the instance whose system disk is replaced. If the `OperationLocks` parameter is empty, the system disk is replaced.
|
|
8591
|
+
* **
|
|
8592
|
+
* **Note:** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode by default is enabled, you can enable standard mode when stopping the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
|
|
8593
|
+
* * You can use the parameter `SystemDisk.Size` to re-specify the size of the system disk (cannot be less than the original system disk capacity).
|
|
8594
|
+
* * If the `OperationLocks` parameter value of the instance contains `"LockReason": "security"`, then the ECS instance is locked for security. You cannot replace the system disk. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
8595
|
+
* After the system disk is replaced, you can query the status of the instance to check whether the replacement is successful by using the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) interface. If the `OperationLocks` parameter is empty, the system disk is replaced.
|
|
8629
8596
|
*
|
|
8630
8597
|
* @param request - ReplaceSystemDiskRequest
|
|
8631
8598
|
* @returns ReplaceSystemDiskResponse
|
|
@@ -8725,8 +8692,8 @@ export default class Client extends OpenApi {
|
|
|
8725
8692
|
* Resizes a system disk or a data disk.
|
|
8726
8693
|
*
|
|
8727
8694
|
* @remarks
|
|
8728
|
-
* >
|
|
8729
|
-
* *
|
|
8695
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. If the format is MBR, you cannot resize the file to more than 2TiB. Otherwise, data loss may occur. If you want to resize an MBR partition, we recommend creating and mounting a data disk in the GPT partition format, and then copy the existing data to the new data disk. For more information, see [Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
|
|
8696
|
+
* * The disk types that can be resized include basic disks (`cloud` ), ultra disks (`cloud_efficiency` ), SSDs (`cloud_ssd` ), Enterprise SSDs (ESSDs)(`cloud_essd` ), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), premium elastic ephemeral disks (elastic_ephemeral_disk_premium), and Regional ESSDs (cloud_regional_disk_auto).
|
|
8730
8697
|
* * You cannot resize a cloud disk when a snapshot is being created for the disk. Wait until the snapshot is created before you resize the cloud disk.
|
|
8731
8698
|
* * You cannot call this operation to extend partitions or file systems. You must manually allocate partitions and file systems after the resize cloud disk capacity. For more information, see [Extend partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~) and [Extend partitions and file systems (windows)](~~2932233#a9f9b78f3fujb~~).
|
|
8732
8699
|
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the ECS instances to which the disk is attached meet the following requirements:
|
|
@@ -8746,8 +8713,8 @@ export default class Client extends OpenApi {
|
|
|
8746
8713
|
* Resizes a system disk or a data disk.
|
|
8747
8714
|
*
|
|
8748
8715
|
* @remarks
|
|
8749
|
-
* >
|
|
8750
|
-
* *
|
|
8716
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. If the format is MBR, you cannot resize the file to more than 2TiB. Otherwise, data loss may occur. If you want to resize an MBR partition, we recommend creating and mounting a data disk in the GPT partition format, and then copy the existing data to the new data disk. For more information, see [Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
|
|
8717
|
+
* * The disk types that can be resized include basic disks (`cloud` ), ultra disks (`cloud_efficiency` ), SSDs (`cloud_ssd` ), Enterprise SSDs (ESSDs)(`cloud_essd` ), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), premium elastic ephemeral disks (elastic_ephemeral_disk_premium), and Regional ESSDs (cloud_regional_disk_auto).
|
|
8751
8718
|
* * You cannot resize a cloud disk when a snapshot is being created for the disk. Wait until the snapshot is created before you resize the cloud disk.
|
|
8752
8719
|
* * You cannot call this operation to extend partitions or file systems. You must manually allocate partitions and file systems after the resize cloud disk capacity. For more information, see [Extend partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~) and [Extend partitions and file systems (windows)](~~2932233#a9f9b78f3fujb~~).
|
|
8753
8720
|
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the ECS instances to which the disk is attached meet the following requirements:
|