@alicloud/ecs20140526 7.2.2 → 7.2.4

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 (59) hide show
  1. package/dist/client.d.ts +6 -6
  2. package/dist/client.js +9 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateElasticityAssuranceRequest.d.ts +10 -10
  5. package/dist/models/CreateImagePipelineRequest.d.ts +20 -0
  6. package/dist/models/CreateImagePipelineRequest.js +37 -1
  7. package/dist/models/CreateImagePipelineRequest.js.map +1 -1
  8. package/dist/models/DescribeDiagnosticMetricsRequest.d.ts +0 -4
  9. package/dist/models/DescribeDiagnosticMetricsRequest.js.map +1 -1
  10. package/dist/models/DescribeDisksRequest.d.ts +3 -5
  11. package/dist/models/DescribeDisksRequest.js.map +1 -1
  12. package/dist/models/DescribeDisksResponseBody.d.ts +1 -1
  13. package/dist/models/DescribeImagePipelinesResponseBody.d.ts +33 -0
  14. package/dist/models/DescribeImagePipelinesResponseBody.js +59 -1
  15. package/dist/models/DescribeImagePipelinesResponseBody.js.map +1 -1
  16. package/dist/models/DescribeInvocationResultsResponseBody.d.ts +25 -0
  17. package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
  18. package/dist/models/DescribeInvocationsResponseBody.d.ts +25 -0
  19. package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
  20. package/dist/models/DescribePortRangeListsRequest.d.ts +2 -2
  21. package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +10 -10
  22. package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +3 -1
  23. package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
  24. package/dist/models/DescribeSnapshotsResponseBody.d.ts +3 -1
  25. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  26. package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +3 -3
  27. package/dist/models/ModifyDedicatedHostsChargeTypeResponseBody.d.ts +1 -1
  28. package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +9 -7
  29. package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -1
  30. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +3 -3
  31. package/dist/models/ModifySnapshotCategoryRequest.d.ts +5 -3
  32. package/dist/models/ModifySnapshotCategoryRequest.js.map +1 -1
  33. package/dist/models/ReleaseDedicatedHostRequest.d.ts +1 -0
  34. package/dist/models/ReleaseDedicatedHostRequest.js +2 -0
  35. package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
  36. package/dist/models/model.d.ts +3 -0
  37. package/dist/models/model.js +57 -51
  38. package/dist/models/model.js.map +1 -1
  39. package/package.json +1 -1
  40. package/src/client.ts +10 -6
  41. package/src/models/CreateElasticityAssuranceRequest.ts +10 -10
  42. package/src/models/CreateImagePipelineRequest.ts +47 -0
  43. package/src/models/DescribeDiagnosticMetricsRequest.ts +0 -4
  44. package/src/models/DescribeDisksRequest.ts +3 -5
  45. package/src/models/DescribeDisksResponseBody.ts +1 -1
  46. package/src/models/DescribeImagePipelinesResponseBody.ts +73 -0
  47. package/src/models/DescribeInvocationResultsResponseBody.ts +25 -0
  48. package/src/models/DescribeInvocationsResponseBody.ts +25 -0
  49. package/src/models/DescribePortRangeListsRequest.ts +2 -2
  50. package/src/models/DescribeRecommendInstanceTypeRequest.ts +10 -10
  51. package/src/models/DescribeSnapshotLinksResponseBody.ts +3 -1
  52. package/src/models/DescribeSnapshotsResponseBody.ts +3 -1
  53. package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +3 -3
  54. package/src/models/ModifyDedicatedHostsChargeTypeResponseBody.ts +1 -1
  55. package/src/models/ModifyInstanceNetworkOptionsRequest.ts +9 -7
  56. package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +3 -3
  57. package/src/models/ModifySnapshotCategoryRequest.ts +5 -3
  58. package/src/models/ReleaseDedicatedHostRequest.ts +3 -0
  59. package/src/models/model.ts +3 -0
package/dist/client.d.ts CHANGED
@@ -7211,13 +7211,13 @@ export default class Client extends OpenApi {
7211
7211
  */
7212
7212
  modifyInstanceMetadataOptions(request: $_model.ModifyInstanceMetadataOptionsRequest): Promise<$_model.ModifyInstanceMetadataOptionsResponse>;
7213
7213
  /**
7214
- * Modifies instance network configurations.
7214
+ * Modifies the network bandwidth weight of an instance.
7215
7215
  *
7216
7216
  * @remarks
7217
- * When you call this operation, take note of the following item:
7217
+ * When you call this operation, note that:
7218
7218
  * * This is an asynchronous operation. The ID of the asynchronous task is returned after the call. Query the asynchronous task result to determine whether the execution is complete.
7219
7219
  * * You can modify only one attribute at a time. If you modify multiple attributes, call this operation multiple times.
7220
- * * To modify the BandwidthWeighting, you must specify the specifications of the instance. The instance types that are supported. You can query the instance type list (DescribeInstanceTypes).
7220
+ * * To modify the BandwidthWeighting, you must specify the specifications of the instance. You can use the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) to query whether the current instance type supports bandwidth weights and the supported bandwidth weights.
7221
7221
  *
7222
7222
  * @param request - ModifyInstanceNetworkOptionsRequest
7223
7223
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7225,13 +7225,13 @@ export default class Client extends OpenApi {
7225
7225
  */
7226
7226
  modifyInstanceNetworkOptionsWithOptions(request: $_model.ModifyInstanceNetworkOptionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceNetworkOptionsResponse>;
7227
7227
  /**
7228
- * Modifies instance network configurations.
7228
+ * Modifies the network bandwidth weight of an instance.
7229
7229
  *
7230
7230
  * @remarks
7231
- * When you call this operation, take note of the following item:
7231
+ * When you call this operation, note that:
7232
7232
  * * This is an asynchronous operation. The ID of the asynchronous task is returned after the call. Query the asynchronous task result to determine whether the execution is complete.
7233
7233
  * * You can modify only one attribute at a time. If you modify multiple attributes, call this operation multiple times.
7234
- * * To modify the BandwidthWeighting, you must specify the specifications of the instance. The instance types that are supported. You can query the instance type list (DescribeInstanceTypes).
7234
+ * * To modify the BandwidthWeighting, you must specify the specifications of the instance. You can use the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) to query whether the current instance type supports bandwidth weights and the supported bandwidth weights.
7235
7235
  *
7236
7236
  * @param request - ModifyInstanceNetworkOptionsRequest
7237
7237
  * @returns ModifyInstanceNetworkOptionsResponse
package/dist/client.js CHANGED
@@ -23090,13 +23090,13 @@ class Client extends openapi_core_1.default {
23090
23090
  return await this.modifyInstanceMetadataOptionsWithOptions(request, runtime);
23091
23091
  }
23092
23092
  /**
23093
- * Modifies instance network configurations.
23093
+ * Modifies the network bandwidth weight of an instance.
23094
23094
  *
23095
23095
  * @remarks
23096
- * When you call this operation, take note of the following item:
23096
+ * When you call this operation, note that:
23097
23097
  * * This is an asynchronous operation. The ID of the asynchronous task is returned after the call. Query the asynchronous task result to determine whether the execution is complete.
23098
23098
  * * You can modify only one attribute at a time. If you modify multiple attributes, call this operation multiple times.
23099
- * * To modify the BandwidthWeighting, you must specify the specifications of the instance. The instance types that are supported. You can query the instance type list (DescribeInstanceTypes).
23099
+ * * To modify the BandwidthWeighting, you must specify the specifications of the instance. You can use the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) to query whether the current instance type supports bandwidth weights and the supported bandwidth weights.
23100
23100
  *
23101
23101
  * @param request - ModifyInstanceNetworkOptionsRequest
23102
23102
  * @param runtime - runtime options for this request RuntimeOptions
@@ -23137,13 +23137,13 @@ class Client extends openapi_core_1.default {
23137
23137
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyInstanceNetworkOptionsResponse({}));
23138
23138
  }
23139
23139
  /**
23140
- * Modifies instance network configurations.
23140
+ * Modifies the network bandwidth weight of an instance.
23141
23141
  *
23142
23142
  * @remarks
23143
- * When you call this operation, take note of the following item:
23143
+ * When you call this operation, note that:
23144
23144
  * * This is an asynchronous operation. The ID of the asynchronous task is returned after the call. Query the asynchronous task result to determine whether the execution is complete.
23145
23145
  * * You can modify only one attribute at a time. If you modify multiple attributes, call this operation multiple times.
23146
- * * To modify the BandwidthWeighting, you must specify the specifications of the instance. The instance types that are supported. You can query the instance type list (DescribeInstanceTypes).
23146
+ * * To modify the BandwidthWeighting, you must specify the specifications of the instance. You can use the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) to query whether the current instance type supports bandwidth weights and the supported bandwidth weights.
23147
23147
  *
23148
23148
  * @param request - ModifyInstanceNetworkOptionsRequest
23149
23149
  * @returns ModifyInstanceNetworkOptionsResponse
@@ -26609,6 +26609,9 @@ class Client extends openapi_core_1.default {
26609
26609
  if (!$dara.isNull(request.resourceOwnerId)) {
26610
26610
  query["ResourceOwnerId"] = request.resourceOwnerId;
26611
26611
  }
26612
+ if (!$dara.isNull(request.terminateSubscription)) {
26613
+ query["TerminateSubscription"] = request.terminateSubscription;
26614
+ }
26612
26615
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
26613
26616
  query: openapi_core_2.OpenApiUtil.query(query),
26614
26617
  });