@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.
- package/dist/client.d.ts +6 -6
- package/dist/client.js +9 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateElasticityAssuranceRequest.d.ts +10 -10
- package/dist/models/CreateImagePipelineRequest.d.ts +20 -0
- package/dist/models/CreateImagePipelineRequest.js +37 -1
- package/dist/models/CreateImagePipelineRequest.js.map +1 -1
- package/dist/models/DescribeDiagnosticMetricsRequest.d.ts +0 -4
- package/dist/models/DescribeDiagnosticMetricsRequest.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +3 -5
- package/dist/models/DescribeDisksRequest.js.map +1 -1
- package/dist/models/DescribeDisksResponseBody.d.ts +1 -1
- package/dist/models/DescribeImagePipelinesResponseBody.d.ts +33 -0
- package/dist/models/DescribeImagePipelinesResponseBody.js +59 -1
- package/dist/models/DescribeImagePipelinesResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +25 -0
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +25 -0
- package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
- package/dist/models/DescribePortRangeListsRequest.d.ts +2 -2
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +10 -10
- package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +3 -1
- package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +3 -1
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +3 -3
- package/dist/models/ModifyDedicatedHostsChargeTypeResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +9 -7
- package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +3 -3
- package/dist/models/ModifySnapshotCategoryRequest.d.ts +5 -3
- package/dist/models/ModifySnapshotCategoryRequest.js.map +1 -1
- package/dist/models/ReleaseDedicatedHostRequest.d.ts +1 -0
- package/dist/models/ReleaseDedicatedHostRequest.js +2 -0
- package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +57 -51
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -6
- package/src/models/CreateElasticityAssuranceRequest.ts +10 -10
- package/src/models/CreateImagePipelineRequest.ts +47 -0
- package/src/models/DescribeDiagnosticMetricsRequest.ts +0 -4
- package/src/models/DescribeDisksRequest.ts +3 -5
- package/src/models/DescribeDisksResponseBody.ts +1 -1
- package/src/models/DescribeImagePipelinesResponseBody.ts +73 -0
- package/src/models/DescribeInvocationResultsResponseBody.ts +25 -0
- package/src/models/DescribeInvocationsResponseBody.ts +25 -0
- package/src/models/DescribePortRangeListsRequest.ts +2 -2
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +10 -10
- package/src/models/DescribeSnapshotLinksResponseBody.ts +3 -1
- package/src/models/DescribeSnapshotsResponseBody.ts +3 -1
- package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +3 -3
- package/src/models/ModifyDedicatedHostsChargeTypeResponseBody.ts +1 -1
- package/src/models/ModifyInstanceNetworkOptionsRequest.ts +9 -7
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +3 -3
- package/src/models/ModifySnapshotCategoryRequest.ts +5 -3
- package/src/models/ReleaseDedicatedHostRequest.ts +3 -0
- 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
|
|
7214
|
+
* Modifies the network bandwidth weight of an instance.
|
|
7215
7215
|
*
|
|
7216
7216
|
* @remarks
|
|
7217
|
-
* When you call this operation,
|
|
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.
|
|
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
|
|
7228
|
+
* Modifies the network bandwidth weight of an instance.
|
|
7229
7229
|
*
|
|
7230
7230
|
* @remarks
|
|
7231
|
-
* When you call this operation,
|
|
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.
|
|
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
|
|
23093
|
+
* Modifies the network bandwidth weight of an instance.
|
|
23094
23094
|
*
|
|
23095
23095
|
* @remarks
|
|
23096
|
-
* When you call this operation,
|
|
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.
|
|
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
|
|
23140
|
+
* Modifies the network bandwidth weight of an instance.
|
|
23141
23141
|
*
|
|
23142
23142
|
* @remarks
|
|
23143
|
-
* When you call this operation,
|
|
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.
|
|
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
|
});
|