@alicloud/ecs20140526 7.8.2 → 7.8.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.
- package/dist/client.d.ts +2 -2
- package/dist/client.js +5 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCapacityReservationRequest.d.ts +1 -0
- package/dist/models/CreateCapacityReservationRequest.js +2 -0
- package/dist/models/CreateCapacityReservationRequest.js.map +1 -1
- package/dist/models/DescribeCapacityReservationsResponseBody.d.ts +2 -0
- package/dist/models/DescribeCapacityReservationsResponseBody.js +4 -0
- package/dist/models/DescribeCapacityReservationsResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesResponseBody.d.ts +1 -0
- package/dist/models/DescribeInstancesResponseBody.js +2 -0
- package/dist/models/DescribeInstancesResponseBody.js.map +1 -1
- package/dist/models/DescribeRenewalPriceResponseBody.d.ts +46 -0
- package/dist/models/DescribeRenewalPriceResponseBody.js +53 -1
- package/dist/models/DescribeRenewalPriceResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +38 -34
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +6 -2
- package/src/models/CreateCapacityReservationRequest.ts +3 -0
- package/src/models/DescribeCapacityReservationsResponseBody.ts +6 -0
- package/src/models/DescribeInstancesResponseBody.ts +3 -0
- package/src/models/DescribeRenewalPriceResponseBody.ts +80 -0
- package/src/models/model.ts +2 -0
package/dist/client.d.ts
CHANGED
|
@@ -4699,7 +4699,7 @@ export default class Client extends OpenApi {
|
|
|
4699
4699
|
*/
|
|
4700
4700
|
describeRegions(request: $_model.DescribeRegionsRequest): Promise<$_model.DescribeRegionsResponse>;
|
|
4701
4701
|
/**
|
|
4702
|
-
* Queries the renewal prices of Elastic
|
|
4702
|
+
* Queries the renewal prices of Elastic Computing Service (ECS) resources. Only the renewal prices of subscription resources can be queried.
|
|
4703
4703
|
*
|
|
4704
4704
|
* @remarks
|
|
4705
4705
|
* You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
@@ -4713,7 +4713,7 @@ export default class Client extends OpenApi {
|
|
|
4713
4713
|
*/
|
|
4714
4714
|
describeRenewalPriceWithOptions(request: $_model.DescribeRenewalPriceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRenewalPriceResponse>;
|
|
4715
4715
|
/**
|
|
4716
|
-
* Queries the renewal prices of Elastic
|
|
4716
|
+
* Queries the renewal prices of Elastic Computing Service (ECS) resources. Only the renewal prices of subscription resources can be queried.
|
|
4717
4717
|
*
|
|
4718
4718
|
* @remarks
|
|
4719
4719
|
* You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
package/dist/client.js
CHANGED
|
@@ -3014,6 +3014,9 @@ class Client extends openapi_core_1.default {
|
|
|
3014
3014
|
if (!$dara.isNull(request.instanceAmount)) {
|
|
3015
3015
|
query["InstanceAmount"] = request.instanceAmount;
|
|
3016
3016
|
}
|
|
3017
|
+
if (!$dara.isNull(request.instanceChargeType)) {
|
|
3018
|
+
query["InstanceChargeType"] = request.instanceChargeType;
|
|
3019
|
+
}
|
|
3017
3020
|
if (!$dara.isNull(request.instanceType)) {
|
|
3018
3021
|
query["InstanceType"] = request.instanceType;
|
|
3019
3022
|
}
|
|
@@ -16073,7 +16076,7 @@ class Client extends openapi_core_1.default {
|
|
|
16073
16076
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
16074
16077
|
}
|
|
16075
16078
|
/**
|
|
16076
|
-
* Queries the renewal prices of Elastic
|
|
16079
|
+
* Queries the renewal prices of Elastic Computing Service (ECS) resources. Only the renewal prices of subscription resources can be queried.
|
|
16077
16080
|
*
|
|
16078
16081
|
* @remarks
|
|
16079
16082
|
* You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
@@ -16135,7 +16138,7 @@ class Client extends openapi_core_1.default {
|
|
|
16135
16138
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRenewalPriceResponse({}));
|
|
16136
16139
|
}
|
|
16137
16140
|
/**
|
|
16138
|
-
* Queries the renewal prices of Elastic
|
|
16141
|
+
* Queries the renewal prices of Elastic Computing Service (ECS) resources. Only the renewal prices of subscription resources can be queried.
|
|
16139
16142
|
*
|
|
16140
16143
|
* @remarks
|
|
16141
16144
|
* You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|