@alicloud/ecs20140526 7.2.4 → 7.4.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.
Files changed (147) hide show
  1. package/dist/client.d.ts +163 -166
  2. package/dist/client.js +279 -162
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AcceptInquiredSystemEventRequest.d.ts +0 -7
  5. package/dist/models/AcceptInquiredSystemEventRequest.js.map +1 -1
  6. package/dist/models/AcceptInquiredSystemEventResponseBody.d.ts +0 -3
  7. package/dist/models/AcceptInquiredSystemEventResponseBody.js.map +1 -1
  8. package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +14 -0
  9. package/dist/models/CreateAutoProvisioningGroupRequest.js +25 -1
  10. package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
  11. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +14 -0
  12. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +25 -1
  13. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
  14. package/dist/models/CreateImagePipelineRequest.d.ts +9 -9
  15. package/dist/models/CreateInstanceRequest.d.ts +6 -2
  16. package/dist/models/CreateInstanceRequest.js.map +1 -1
  17. package/dist/models/CreatePrefixListRequest.d.ts +2 -2
  18. package/dist/models/CreateSnapshotGroupRequest.d.ts +7 -7
  19. package/dist/models/DescribeAutoProvisioningGroupHistoryRequest.d.ts +1 -1
  20. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +42 -0
  21. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -1
  22. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +32 -0
  23. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -1
  24. package/dist/models/DescribeAvailableResourceRequest.d.ts +0 -118
  25. package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
  26. package/dist/models/DescribeAvailableResourceResponseBody.d.ts +9 -75
  27. package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
  28. package/dist/models/DescribeElasticityAssurancesRequest.d.ts +1 -1
  29. package/dist/models/DescribeEniMonitorDataRequest.d.ts +2 -2
  30. package/dist/models/DescribeImagePipelineExecutionsRequest.d.ts +22 -24
  31. package/dist/models/DescribeImagePipelineExecutionsRequest.js.map +1 -1
  32. package/dist/models/DescribeImagePipelineExecutionsResponseBody.d.ts +26 -24
  33. package/dist/models/DescribeImagePipelineExecutionsResponseBody.js.map +1 -1
  34. package/dist/models/DescribeImagePipelinesRequest.d.ts +1 -1
  35. package/dist/models/DescribeImagePipelinesResponseBody.d.ts +2 -2
  36. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -1
  37. package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
  38. package/dist/models/DescribeInstancesFullStatusRequest.d.ts +2 -1
  39. package/dist/models/DescribeInstancesFullStatusRequest.js.map +1 -1
  40. package/dist/models/DescribeInvocationResultsRequest.d.ts +79 -64
  41. package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
  42. package/dist/models/DescribeInvocationResultsResponseBody.d.ts +160 -136
  43. package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
  44. package/dist/models/DescribeInvocationsRequest.d.ts +17 -91
  45. package/dist/models/DescribeInvocationsRequest.js.map +1 -1
  46. package/dist/models/DescribeInvocationsResponseBody.d.ts +225 -172
  47. package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
  48. package/dist/models/DescribeManagedInstancesRequest.d.ts +18 -0
  49. package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
  50. package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.d.ts +52 -0
  51. package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js +57 -1
  52. package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js.map +1 -1
  53. package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
  54. package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
  55. package/dist/models/DisableNetworkInterfaceQoSrequest.d.ts +33 -0
  56. package/dist/models/DisableNetworkInterfaceQoSrequest.js +68 -0
  57. package/dist/models/DisableNetworkInterfaceQoSrequest.js.map +1 -0
  58. package/dist/models/DisableNetworkInterfaceQoSresponse.d.ts +19 -0
  59. package/dist/models/DisableNetworkInterfaceQoSresponse.js +69 -0
  60. package/dist/models/DisableNetworkInterfaceQoSresponse.js.map +1 -0
  61. package/dist/models/DisableNetworkInterfaceQoSresponseBody.d.ts +18 -0
  62. package/dist/models/DisableNetworkInterfaceQoSresponseBody.js +58 -0
  63. package/dist/models/DisableNetworkInterfaceQoSresponseBody.js.map +1 -0
  64. package/dist/models/EnableNetworkInterfaceQoSrequest.d.ts +71 -0
  65. package/dist/models/EnableNetworkInterfaceQoSrequest.js +100 -0
  66. package/dist/models/EnableNetworkInterfaceQoSrequest.js.map +1 -0
  67. package/dist/models/EnableNetworkInterfaceQoSresponse.d.ts +19 -0
  68. package/dist/models/EnableNetworkInterfaceQoSresponse.js +69 -0
  69. package/dist/models/EnableNetworkInterfaceQoSresponse.js.map +1 -0
  70. package/dist/models/EnableNetworkInterfaceQoSresponseBody.d.ts +18 -0
  71. package/dist/models/EnableNetworkInterfaceQoSresponseBody.js +58 -0
  72. package/dist/models/EnableNetworkInterfaceQoSresponseBody.js.map +1 -0
  73. package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +2 -1
  74. package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
  75. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +2 -1
  76. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
  77. package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +8 -8
  78. package/dist/models/ModifyInstanceMetadataOptionsRequest.d.ts +8 -1
  79. package/dist/models/ModifyInstanceMetadataOptionsRequest.js.map +1 -1
  80. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +1 -1
  81. package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +14 -2
  82. package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
  83. package/dist/models/ModifySecurityGroupRuleRequest.d.ts +14 -2
  84. package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
  85. package/dist/models/OpenSnapshotServiceRequest.d.ts +26 -0
  86. package/dist/models/OpenSnapshotServiceRequest.js +64 -0
  87. package/dist/models/OpenSnapshotServiceRequest.js.map +1 -0
  88. package/dist/models/OpenSnapshotServiceResponse.d.ts +19 -0
  89. package/dist/models/OpenSnapshotServiceResponse.js +69 -0
  90. package/dist/models/OpenSnapshotServiceResponse.js.map +1 -0
  91. package/dist/models/OpenSnapshotServiceResponseBody.d.ts +21 -0
  92. package/dist/models/OpenSnapshotServiceResponseBody.js +58 -0
  93. package/dist/models/OpenSnapshotServiceResponseBody.js.map +1 -0
  94. package/dist/models/ReleaseDedicatedHostRequest.d.ts +12 -0
  95. package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
  96. package/dist/models/model.d.ts +14 -0
  97. package/dist/models/model.js +93 -65
  98. package/dist/models/model.js.map +1 -1
  99. package/package.json +1 -1
  100. package/src/client.ts +304 -162
  101. package/src/models/AcceptInquiredSystemEventRequest.ts +0 -7
  102. package/src/models/AcceptInquiredSystemEventResponseBody.ts +0 -3
  103. package/src/models/CreateAutoProvisioningGroupRequest.ts +29 -0
  104. package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +29 -0
  105. package/src/models/CreateImagePipelineRequest.ts +9 -9
  106. package/src/models/CreateInstanceRequest.ts +6 -2
  107. package/src/models/CreatePrefixListRequest.ts +2 -2
  108. package/src/models/CreateSnapshotGroupRequest.ts +7 -7
  109. package/src/models/DescribeAutoProvisioningGroupHistoryRequest.ts +1 -1
  110. package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +42 -0
  111. package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +32 -0
  112. package/src/models/DescribeAvailableResourceRequest.ts +0 -118
  113. package/src/models/DescribeAvailableResourceResponseBody.ts +9 -75
  114. package/src/models/DescribeElasticityAssurancesRequest.ts +1 -1
  115. package/src/models/DescribeEniMonitorDataRequest.ts +2 -2
  116. package/src/models/DescribeImagePipelineExecutionsRequest.ts +22 -24
  117. package/src/models/DescribeImagePipelineExecutionsResponseBody.ts +26 -24
  118. package/src/models/DescribeImagePipelinesRequest.ts +1 -1
  119. package/src/models/DescribeImagePipelinesResponseBody.ts +2 -2
  120. package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -1
  121. package/src/models/DescribeInstancesFullStatusRequest.ts +2 -1
  122. package/src/models/DescribeInvocationResultsRequest.ts +79 -64
  123. package/src/models/DescribeInvocationResultsResponseBody.ts +160 -136
  124. package/src/models/DescribeInvocationsRequest.ts +17 -91
  125. package/src/models/DescribeInvocationsResponseBody.ts +225 -172
  126. package/src/models/DescribeManagedInstancesRequest.ts +18 -0
  127. package/src/models/DescribeNetworkInterfaceAttributeResponseBody.ts +90 -0
  128. package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
  129. package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
  130. package/src/models/DisableNetworkInterfaceQoSrequest.ts +56 -0
  131. package/src/models/DisableNetworkInterfaceQoSresponse.ts +40 -0
  132. package/src/models/DisableNetworkInterfaceQoSresponseBody.ts +31 -0
  133. package/src/models/EnableNetworkInterfaceQoSrequest.ts +117 -0
  134. package/src/models/EnableNetworkInterfaceQoSresponse.ts +40 -0
  135. package/src/models/EnableNetworkInterfaceQoSresponseBody.ts +31 -0
  136. package/src/models/ModifyCloudAssistantSettingsRequest.ts +2 -1
  137. package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +2 -1
  138. package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +8 -8
  139. package/src/models/ModifyInstanceMetadataOptionsRequest.ts +8 -1
  140. package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +1 -1
  141. package/src/models/ModifySecurityGroupEgressRuleRequest.ts +14 -2
  142. package/src/models/ModifySecurityGroupRuleRequest.ts +14 -2
  143. package/src/models/OpenSnapshotServiceRequest.ts +45 -0
  144. package/src/models/OpenSnapshotServiceResponse.ts +40 -0
  145. package/src/models/OpenSnapshotServiceResponseBody.ts +34 -0
  146. package/src/models/ReleaseDedicatedHostRequest.ts +12 -0
  147. package/src/models/model.ts +14 -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
- * Accepts the default operation for a system event in the Inquiring state and authorizes the system to perform the operation.
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
- * Accepts the default operation for a system event in the Inquiring state and authorizes the system to perform the operation.
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
- * Each disk can have only one automatic snapshot policy.
193
- * * Each automatic snapshot policy can be applied to multiple disks.
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
- * Each disk can have only one automatic snapshot policy.
205
- * * Each automatic snapshot policy can be applied to multiple disks.
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 real-name verification.
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 real-name verification.
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
- * Queries resources in a zone. You can query the resources available in a zone before you create Elastic Compute Service (ECS) instances by calling the RunInstances operation or before you change instance types by calling the ModifyInstanceSpec operation.
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
- * Queries resources in a zone. You can query the resources available in a zone before you create Elastic Compute Service (ECS) instances by calling the RunInstances operation or before you change instance types by calling the ModifyInstanceSpec operation.
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
- * Queries the details of an image creation task.
3651
+ * The key of tag N of the image creation task. Valid values of N: 1 to 20.
3696
3652
  *
3697
3653
  * @remarks
3698
- * ## [](#)Usage notes
3699
- * * 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.
3700
- * * You must specify `ImagePipelineId` or `ExecutionId`.
3701
- * * You can configure the query token by using the `NextToken` parameter. Set NextToken to the value of `NextToken` that was returned the previous call to the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page.
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
- * Queries the details of an image creation task.
3674
+ * The key of tag N of the image creation task. Valid values of N: 1 to 20.
3710
3675
  *
3711
3676
  * @remarks
3712
- * ## [](#)Usage notes
3713
- * * 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.
3714
- * * You must specify `ImagePipelineId` or `ExecutionId`.
3715
- * * You can configure the query token by using the `NextToken` parameter. Set NextToken to the value of `NextToken` that was returned the previous call to the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page.
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
- * Queries the execution results of one or more Cloud Assistant commands on Elastic Compute Service (ECS) instances.
4194
- *
4195
- * @remarks
4196
- * ## [](#)Usage notes
4197
- * * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results.
4198
- * * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
4199
- * * 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.
4200
- * * During a paged query, when you call the DescribeInvocationResults 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 DescribeInvocationResults 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.
4201
- * * Comparison between the `DescribeInvocations` and `DescribeInvocationResults` operations:
4202
- * * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
4203
- * * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
4204
- * * The `DescribeInvocationResults` operation queries only the execution status of the command on each instance.
4205
- * * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on a single instance:
4206
- * * The `DescribeInvocations` operation is equivalent to the `DescribeInvocationResults` operation.
4207
- * * 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.
4208
- * * 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.
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
- * Queries the execution results of one or more Cloud Assistant commands on Elastic Compute Service (ECS) instances.
4217
- *
4218
- * @remarks
4219
- * ## [](#)Usage notes
4220
- * * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results.
4221
- * * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
4222
- * * 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.
4223
- * * During a paged query, when you call the DescribeInvocationResults 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 DescribeInvocationResults 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.
4224
- * * Comparison between the `DescribeInvocations` and `DescribeInvocationResults` operations:
4225
- * * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
4226
- * * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
4227
- * * The `DescribeInvocationResults` operation queries only the execution status of the command on each instance.
4228
- * * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on a single instance:
4229
- * * The `DescribeInvocations` operation is equivalent to the `DescribeInvocationResults` operation.
4230
- * * 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.
4231
- * * 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.
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
- * Queries the execution list and states of Cloud Assistant commands.
4216
+ * The command type.
4239
4217
  *
4240
4218
  * @remarks
4241
- * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results.
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
- * Queries the execution list and states of Cloud Assistant commands.
4227
+ * The command type.
4261
4228
  *
4262
4229
  * @remarks
4263
- * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results.
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
@@ -5654,6 +5610,21 @@ export default class Client extends OpenApi {
5654
5610
  * @returns DisableDiskEncryptionByDefaultResponse
5655
5611
  */
5656
5612
  disableDiskEncryptionByDefault(request: $_model.DisableDiskEncryptionByDefaultRequest): Promise<$_model.DisableDiskEncryptionByDefaultResponse>;
5613
+ /**
5614
+ * 禁用弹性网卡QoS限速设置
5615
+ *
5616
+ * @param request - DisableNetworkInterfaceQoSRequest
5617
+ * @param runtime - runtime options for this request RuntimeOptions
5618
+ * @returns DisableNetworkInterfaceQoSResponse
5619
+ */
5620
+ disableNetworkInterfaceQoSWithOptions(request: $_model.DisableNetworkInterfaceQoSRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableNetworkInterfaceQoSResponse>;
5621
+ /**
5622
+ * 禁用弹性网卡QoS限速设置
5623
+ *
5624
+ * @param request - DisableNetworkInterfaceQoSRequest
5625
+ * @returns DisableNetworkInterfaceQoSResponse
5626
+ */
5627
+ disableNetworkInterfaceQoS(request: $_model.DisableNetworkInterfaceQoSRequest): Promise<$_model.DisableNetworkInterfaceQoSResponse>;
5657
5628
  /**
5658
5629
  * Enables the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
5659
5630
  *
@@ -5697,6 +5668,21 @@ export default class Client extends OpenApi {
5697
5668
  * @returns EnableDiskEncryptionByDefaultResponse
5698
5669
  */
5699
5670
  enableDiskEncryptionByDefault(request: $_model.EnableDiskEncryptionByDefaultRequest): Promise<$_model.EnableDiskEncryptionByDefaultResponse>;
5671
+ /**
5672
+ * 启用或修改弹性网卡QoS限速设置
5673
+ *
5674
+ * @param request - EnableNetworkInterfaceQoSRequest
5675
+ * @param runtime - runtime options for this request RuntimeOptions
5676
+ * @returns EnableNetworkInterfaceQoSResponse
5677
+ */
5678
+ enableNetworkInterfaceQoSWithOptions(request: $_model.EnableNetworkInterfaceQoSRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableNetworkInterfaceQoSResponse>;
5679
+ /**
5680
+ * 启用或修改弹性网卡QoS限速设置
5681
+ *
5682
+ * @param request - EnableNetworkInterfaceQoSRequest
5683
+ * @returns EnableNetworkInterfaceQoSResponse
5684
+ */
5685
+ enableNetworkInterfaceQoS(request: $_model.EnableNetworkInterfaceQoSRequest): Promise<$_model.EnableNetworkInterfaceQoSResponse>;
5700
5686
  /**
5701
5687
  * EnablePhysicalConnection
5702
5688
  *
@@ -7211,7 +7197,7 @@ export default class Client extends OpenApi {
7211
7197
  */
7212
7198
  modifyInstanceMetadataOptions(request: $_model.ModifyInstanceMetadataOptionsRequest): Promise<$_model.ModifyInstanceMetadataOptionsResponse>;
7213
7199
  /**
7214
- * Modifies the network bandwidth weight of an instance.
7200
+ * Modifies instance network configurations.
7215
7201
  *
7216
7202
  * @remarks
7217
7203
  * When you call this operation, note that:
@@ -7225,7 +7211,7 @@ export default class Client extends OpenApi {
7225
7211
  */
7226
7212
  modifyInstanceNetworkOptionsWithOptions(request: $_model.ModifyInstanceNetworkOptionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceNetworkOptionsResponse>;
7227
7213
  /**
7228
- * Modifies the network bandwidth weight of an instance.
7214
+ * Modifies instance network configurations.
7229
7215
  *
7230
7216
  * @remarks
7231
7217
  * When you call this operation, note that:
@@ -7946,7 +7932,7 @@ export default class Client extends OpenApi {
7946
7932
  */
7947
7933
  modifySnapshotGroup(request: $_model.ModifySnapshotGroupRequest): Promise<$_model.ModifySnapshotGroupResponse>;
7948
7934
  /**
7949
- * Changes the name or modifies the description of a storage capacity unit (SCU).
7935
+ * Modifies the name or description of a storage capacity unit (SCU).
7950
7936
  *
7951
7937
  * @param request - ModifyStorageCapacityUnitAttributeRequest
7952
7938
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7954,7 +7940,7 @@ export default class Client extends OpenApi {
7954
7940
  */
7955
7941
  modifyStorageCapacityUnitAttributeWithOptions(request: $_model.ModifyStorageCapacityUnitAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyStorageCapacityUnitAttributeResponse>;
7956
7942
  /**
7957
- * Changes the name or modifies the description of a storage capacity unit (SCU).
7943
+ * Modifies the name or description of a storage capacity unit (SCU).
7958
7944
  *
7959
7945
  * @param request - ModifyStorageCapacityUnitAttributeRequest
7960
7946
  * @returns ModifyStorageCapacityUnitAttributeResponse
@@ -8070,6 +8056,21 @@ export default class Client extends OpenApi {
8070
8056
  * @returns ModifyVpcAttributeResponse
8071
8057
  */
8072
8058
  modifyVpcAttribute(request: $_model.ModifyVpcAttributeRequest): Promise<$_model.ModifyVpcAttributeResponse>;
8059
+ /**
8060
+ * Activate the snapshot service.
8061
+ *
8062
+ * @param request - OpenSnapshotServiceRequest
8063
+ * @param runtime - runtime options for this request RuntimeOptions
8064
+ * @returns OpenSnapshotServiceResponse
8065
+ */
8066
+ openSnapshotServiceWithOptions(request: $_model.OpenSnapshotServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.OpenSnapshotServiceResponse>;
8067
+ /**
8068
+ * Activate the snapshot service.
8069
+ *
8070
+ * @param request - OpenSnapshotServiceRequest
8071
+ * @returns OpenSnapshotServiceResponse
8072
+ */
8073
+ openSnapshotService(request: $_model.OpenSnapshotServiceRequest): Promise<$_model.OpenSnapshotServiceResponse>;
8073
8074
  /**
8074
8075
  * Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
8075
8076
  *
@@ -8396,7 +8397,7 @@ export default class Client extends OpenApi {
8396
8397
  */
8397
8398
  releaseCapacityReservation(request: $_model.ReleaseCapacityReservationRequest): Promise<$_model.ReleaseCapacityReservationResponse>;
8398
8399
  /**
8399
- * Releases a pay-as-you-go dedicated host.
8400
+ * Releases a pay-as-you-go Dedicated Host or an expired subscription Dedicated Host.
8400
8401
  *
8401
8402
  * @remarks
8402
8403
  * ## Usage notes
@@ -8408,7 +8409,7 @@ export default class Client extends OpenApi {
8408
8409
  */
8409
8410
  releaseDedicatedHostWithOptions(request: $_model.ReleaseDedicatedHostRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReleaseDedicatedHostResponse>;
8410
8411
  /**
8411
- * Releases a pay-as-you-go dedicated host.
8412
+ * Releases a pay-as-you-go Dedicated Host or an expired subscription Dedicated Host.
8412
8413
  *
8413
8414
  * @remarks
8414
8415
  * ## Usage notes
@@ -8596,13 +8597,11 @@ export default class Client extends OpenApi {
8596
8597
  * * The category of the system disk cannot be changed.
8597
8598
  * * Make sure that no unpaid orders are associated with the instance.
8598
8599
  * * The instance must be in the `Stopped` state.
8599
- *
8600
- * **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 default economical mode is enabled, enable standard mode when you stop the instance. This prevents the instance from being unable to restart due to insufficient ECS resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
8601
- * * The instance cannot be locked for security reasons. If the value of `OperationLocks` in the DescribeInstances response contains `"LockReason": "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
8602
- * * You can configure `SystemDisk.Size` to specify the capacity of the new system disk.
8603
- * After you call the ReplaceSystemDisk operation, you can use one of the following methods to check whether the system disk is replaced:
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.
8600
+ * **
8601
+ * **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).
8602
+ * * 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).
8603
+ * * 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).
8604
+ * 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
8605
  *
8607
8606
  * @param request - ReplaceSystemDiskRequest
8608
8607
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8619,13 +8618,11 @@ export default class Client extends OpenApi {
8619
8618
  * * The category of the system disk cannot be changed.
8620
8619
  * * Make sure that no unpaid orders are associated with the instance.
8621
8620
  * * The instance must be in the `Stopped` state.
8622
- *
8623
- * **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 default economical mode is enabled, enable standard mode when you stop the instance. This prevents the instance from being unable to restart due to insufficient ECS resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
8624
- * * The instance cannot be locked for security reasons. If the value of `OperationLocks` in the DescribeInstances response contains `"LockReason": "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
8625
- * * You can configure `SystemDisk.Size` to specify the capacity of the new system disk.
8626
- * After you call the ReplaceSystemDisk operation, you can use one of the following methods to check whether the system disk is replaced:
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.
8621
+ * **
8622
+ * **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).
8623
+ * * 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).
8624
+ * * 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).
8625
+ * 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
8626
  *
8630
8627
  * @param request - ReplaceSystemDiskRequest
8631
8628
  * @returns ReplaceSystemDiskResponse
@@ -8725,8 +8722,8 @@ export default class Client extends OpenApi {
8725
8722
  * Resizes a system disk or a data disk.
8726
8723
  *
8727
8724
  * @remarks
8728
- * > 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 a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend performing the following steps: Create a new data disk that is larger than 2 TiB in size, partition and format the new data disk by using the GUID Partition Table (GPT) format, and then copy data from the MBR disk to the GPT data disk. For more information, see [Step 1: Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
8729
- * * You can resize disks of the following disk categories: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), Enterprise SSDs (ESSDs) (`cloud_essd`), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), and premium elastic ephemeral disks (elastic_ephemeral_disk_premium).
8725
+ * > 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).
8726
+ * * 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
8727
  * * 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
8728
  * * 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
8729
  * * 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 +8743,8 @@ export default class Client extends OpenApi {
8746
8743
  * Resizes a system disk or a data disk.
8747
8744
  *
8748
8745
  * @remarks
8749
- * > 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 a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend performing the following steps: Create a new data disk that is larger than 2 TiB in size, partition and format the new data disk by using the GUID Partition Table (GPT) format, and then copy data from the MBR disk to the GPT data disk. For more information, see [Step 1: Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
8750
- * * You can resize disks of the following disk categories: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), Enterprise SSDs (ESSDs) (`cloud_essd`), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), and premium elastic ephemeral disks (elastic_ephemeral_disk_premium).
8746
+ * > 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).
8747
+ * * 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
8748
  * * 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
8749
  * * 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
8750
  * * 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: