@alicloud/ess20220222 1.10.2 → 1.11.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 +17 -2
- package/dist/client.js +92 -2
- package/dist/client.js.map +1 -1
- package/dist/models/ApplyEciScalingConfigurationRequest.d.ts +0 -7
- package/dist/models/ApplyEciScalingConfigurationRequest.js.map +1 -1
- package/dist/models/ApplyScalingGroupRequest.d.ts +0 -7
- package/dist/models/ApplyScalingGroupRequest.js.map +1 -1
- package/dist/models/CreateEciScalingConfigurationRequest.d.ts +280 -0
- package/dist/models/CreateEciScalingConfigurationRequest.js.map +1 -1
- package/dist/models/CreateScalingConfigurationRequest.d.ts +18 -0
- package/dist/models/CreateScalingConfigurationRequest.js +36 -1
- package/dist/models/CreateScalingConfigurationRequest.js.map +1 -1
- package/dist/models/CreateScalingConfigurationShrinkRequest.d.ts +18 -0
- package/dist/models/CreateScalingConfigurationShrinkRequest.js +36 -1
- package/dist/models/CreateScalingConfigurationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeCandidateInstanceTypeRequest.d.ts +65 -0
- package/dist/models/DescribeCandidateInstanceTypeRequest.js +100 -0
- package/dist/models/DescribeCandidateInstanceTypeRequest.js.map +1 -0
- package/dist/models/DescribeCandidateInstanceTypeResponse.d.ts +19 -0
- package/dist/models/DescribeCandidateInstanceTypeResponse.js +69 -0
- package/dist/models/DescribeCandidateInstanceTypeResponse.js.map +1 -0
- package/dist/models/DescribeCandidateInstanceTypeResponseBody.d.ts +23 -0
- package/dist/models/DescribeCandidateInstanceTypeResponseBody.js +68 -0
- package/dist/models/DescribeCandidateInstanceTypeResponseBody.js.map +1 -0
- package/dist/models/DescribeElasticStrengthResponseBody.d.ts +2 -0
- package/dist/models/DescribeElasticStrengthResponseBody.js +4 -0
- package/dist/models/DescribeElasticStrengthResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.d.ts +0 -39
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js.map +1 -1
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.d.ts +0 -57
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.js.map +1 -1
- package/dist/models/DescribeScalingConfigurationsResponseBody.d.ts +36 -0
- package/dist/models/DescribeScalingConfigurationsResponseBody.js +36 -1
- package/dist/models/DescribeScalingConfigurationsResponseBody.js.map +1 -1
- package/dist/models/ModifyEciScalingConfigurationRequest.d.ts +293 -0
- package/dist/models/ModifyEciScalingConfigurationRequest.js.map +1 -1
- package/dist/models/ModifyScalingConfigurationRequest.d.ts +18 -0
- package/dist/models/ModifyScalingConfigurationRequest.js +36 -1
- package/dist/models/ModifyScalingConfigurationRequest.js.map +1 -1
- package/dist/models/ModifyScalingConfigurationShrinkRequest.d.ts +18 -0
- package/dist/models/ModifyScalingConfigurationShrinkRequest.js +36 -1
- package/dist/models/ModifyScalingConfigurationShrinkRequest.js.map +1 -1
- package/dist/models/QueryHistoricalMetricResponseBody.d.ts +0 -18
- package/dist/models/QueryHistoricalMetricResponseBody.js.map +1 -1
- package/dist/models/QueryPredictiveMetricResponseBody.d.ts +0 -18
- package/dist/models/QueryPredictiveMetricResponseBody.js.map +1 -1
- package/dist/models/QueryPredictiveTaskInfoResponseBody.d.ts +0 -25
- package/dist/models/QueryPredictiveTaskInfoResponseBody.js.map +1 -1
- package/dist/models/QueryPredictiveValueResponseBody.d.ts +0 -18
- package/dist/models/QueryPredictiveValueResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +65 -49
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +112 -2
- package/src/models/ApplyEciScalingConfigurationRequest.ts +0 -7
- package/src/models/ApplyScalingGroupRequest.ts +0 -7
- package/src/models/CreateEciScalingConfigurationRequest.ts +280 -0
- package/src/models/CreateScalingConfigurationRequest.ts +44 -0
- package/src/models/CreateScalingConfigurationShrinkRequest.ts +44 -0
- package/src/models/DescribeCandidateInstanceTypeRequest.ts +120 -0
- package/src/models/DescribeCandidateInstanceTypeResponse.ts +40 -0
- package/src/models/DescribeCandidateInstanceTypeResponseBody.ts +46 -0
- package/src/models/DescribeElasticStrengthResponseBody.ts +6 -0
- package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.ts +0 -39
- package/src/models/DescribeScalingActivityStatisticsResponseBody.ts +0 -57
- package/src/models/DescribeScalingConfigurationsResponseBody.ts +62 -0
- package/src/models/ModifyEciScalingConfigurationRequest.ts +293 -0
- package/src/models/ModifyScalingConfigurationRequest.ts +44 -0
- package/src/models/ModifyScalingConfigurationShrinkRequest.ts +44 -0
- package/src/models/QueryHistoricalMetricResponseBody.ts +0 -18
- package/src/models/QueryPredictiveMetricResponseBody.ts +0 -18
- package/src/models/QueryPredictiveTaskInfoResponseBody.ts +0 -25
- package/src/models/QueryPredictiveValueResponseBody.ts +0 -18
- package/src/models/model.ts +8 -0
package/dist/client.d.ts
CHANGED
|
@@ -918,6 +918,21 @@ export default class Client extends OpenApi {
|
|
|
918
918
|
* @returns DescribeAlertConfigurationResponse
|
|
919
919
|
*/
|
|
920
920
|
describeAlertConfiguration(request: $_model.DescribeAlertConfigurationRequest): Promise<$_model.DescribeAlertConfigurationResponse>;
|
|
921
|
+
/**
|
|
922
|
+
* 查询备选规格
|
|
923
|
+
*
|
|
924
|
+
* @param request - DescribeCandidateInstanceTypeRequest
|
|
925
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
926
|
+
* @returns DescribeCandidateInstanceTypeResponse
|
|
927
|
+
*/
|
|
928
|
+
describeCandidateInstanceTypeWithOptions(request: $_model.DescribeCandidateInstanceTypeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCandidateInstanceTypeResponse>;
|
|
929
|
+
/**
|
|
930
|
+
* 查询备选规格
|
|
931
|
+
*
|
|
932
|
+
* @param request - DescribeCandidateInstanceTypeRequest
|
|
933
|
+
* @returns DescribeCandidateInstanceTypeResponse
|
|
934
|
+
*/
|
|
935
|
+
describeCandidateInstanceType(request: $_model.DescribeCandidateInstanceTypeRequest): Promise<$_model.DescribeCandidateInstanceTypeResponse>;
|
|
921
936
|
/**
|
|
922
937
|
* Queries the diagnostic reports.
|
|
923
938
|
*
|
|
@@ -2160,7 +2175,7 @@ export default class Client extends OpenApi {
|
|
|
2160
2175
|
*/
|
|
2161
2176
|
setGroupDeletionProtection(request: $_model.SetGroupDeletionProtectionRequest): Promise<$_model.SetGroupDeletionProtectionResponse>;
|
|
2162
2177
|
/**
|
|
2163
|
-
* Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O
|
|
2178
|
+
* Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\\\\\&M hurdles efficiently.
|
|
2164
2179
|
*
|
|
2165
2180
|
* @remarks
|
|
2166
2181
|
* Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from their scaling groups. To prevent a specific instance from being removed, you can put it in either the Standby or Protected state. For more information, see [EnterStandby](https://help.aliyun.com/document_detail/459345.html) and [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
|
|
@@ -2171,7 +2186,7 @@ export default class Client extends OpenApi {
|
|
|
2171
2186
|
*/
|
|
2172
2187
|
setInstanceHealthWithOptions(request: $_model.SetInstanceHealthRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetInstanceHealthResponse>;
|
|
2173
2188
|
/**
|
|
2174
|
-
* Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O
|
|
2189
|
+
* Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\\\\\&M hurdles efficiently.
|
|
2175
2190
|
*
|
|
2176
2191
|
* @remarks
|
|
2177
2192
|
* Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from their scaling groups. To prevent a specific instance from being removed, you can put it in either the Standby or Protected state. For more information, see [EnterStandby](https://help.aliyun.com/document_detail/459345.html) and [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
|
package/dist/client.js
CHANGED
|
@@ -1516,6 +1516,9 @@ class Client extends openapi_core_1.default {
|
|
|
1516
1516
|
if (!$dara.isNull(request.instanceType)) {
|
|
1517
1517
|
query["InstanceType"] = request.instanceType;
|
|
1518
1518
|
}
|
|
1519
|
+
if (!$dara.isNull(request.instanceTypeCandidateOptions)) {
|
|
1520
|
+
query["InstanceTypeCandidateOptions"] = request.instanceTypeCandidateOptions;
|
|
1521
|
+
}
|
|
1519
1522
|
if (!$dara.isNull(request.instanceTypeOverrides)) {
|
|
1520
1523
|
query["InstanceTypeOverrides"] = request.instanceTypeOverrides;
|
|
1521
1524
|
}
|
|
@@ -2831,6 +2834,90 @@ class Client extends openapi_core_1.default {
|
|
|
2831
2834
|
let runtime = new $dara.RuntimeOptions({});
|
|
2832
2835
|
return await this.describeAlertConfigurationWithOptions(request, runtime);
|
|
2833
2836
|
}
|
|
2837
|
+
/**
|
|
2838
|
+
* 查询备选规格
|
|
2839
|
+
*
|
|
2840
|
+
* @param request - DescribeCandidateInstanceTypeRequest
|
|
2841
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2842
|
+
* @returns DescribeCandidateInstanceTypeResponse
|
|
2843
|
+
*/
|
|
2844
|
+
async describeCandidateInstanceTypeWithOptions(request, runtime) {
|
|
2845
|
+
request.validate();
|
|
2846
|
+
let query = {};
|
|
2847
|
+
if (!$dara.isNull(request.allowCrossAz)) {
|
|
2848
|
+
query["AllowCrossAz"] = request.allowCrossAz;
|
|
2849
|
+
}
|
|
2850
|
+
if (!$dara.isNull(request.allowDifferentGeneration)) {
|
|
2851
|
+
query["AllowDifferentGeneration"] = request.allowDifferentGeneration;
|
|
2852
|
+
}
|
|
2853
|
+
if (!$dara.isNull(request.dataDiskCategories)) {
|
|
2854
|
+
query["DataDiskCategories"] = request.dataDiskCategories;
|
|
2855
|
+
}
|
|
2856
|
+
if (!$dara.isNull(request.imageFamily)) {
|
|
2857
|
+
query["ImageFamily"] = request.imageFamily;
|
|
2858
|
+
}
|
|
2859
|
+
if (!$dara.isNull(request.imageId)) {
|
|
2860
|
+
query["ImageId"] = request.imageId;
|
|
2861
|
+
}
|
|
2862
|
+
if (!$dara.isNull(request.imageName)) {
|
|
2863
|
+
query["ImageName"] = request.imageName;
|
|
2864
|
+
}
|
|
2865
|
+
if (!$dara.isNull(request.instanceTypes)) {
|
|
2866
|
+
query["InstanceTypes"] = request.instanceTypes;
|
|
2867
|
+
}
|
|
2868
|
+
if (!$dara.isNull(request.ipv6AddressCount)) {
|
|
2869
|
+
query["Ipv6AddressCount"] = request.ipv6AddressCount;
|
|
2870
|
+
}
|
|
2871
|
+
if (!$dara.isNull(request.maxPrice)) {
|
|
2872
|
+
query["MaxPrice"] = request.maxPrice;
|
|
2873
|
+
}
|
|
2874
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2875
|
+
query["OwnerId"] = request.ownerId;
|
|
2876
|
+
}
|
|
2877
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2878
|
+
query["RegionId"] = request.regionId;
|
|
2879
|
+
}
|
|
2880
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2881
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2882
|
+
}
|
|
2883
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2884
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2885
|
+
}
|
|
2886
|
+
if (!$dara.isNull(request.spotStrategy)) {
|
|
2887
|
+
query["SpotStrategy"] = request.spotStrategy;
|
|
2888
|
+
}
|
|
2889
|
+
if (!$dara.isNull(request.systemDiskCategories)) {
|
|
2890
|
+
query["SystemDiskCategories"] = request.systemDiskCategories;
|
|
2891
|
+
}
|
|
2892
|
+
if (!$dara.isNull(request.zoneIds)) {
|
|
2893
|
+
query["ZoneIds"] = request.zoneIds;
|
|
2894
|
+
}
|
|
2895
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2896
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2897
|
+
});
|
|
2898
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2899
|
+
action: "DescribeCandidateInstanceType",
|
|
2900
|
+
version: "2022-02-22",
|
|
2901
|
+
protocol: "HTTPS",
|
|
2902
|
+
pathname: "/",
|
|
2903
|
+
method: "POST",
|
|
2904
|
+
authType: "AK",
|
|
2905
|
+
style: "RPC",
|
|
2906
|
+
reqBodyType: "formData",
|
|
2907
|
+
bodyType: "json",
|
|
2908
|
+
});
|
|
2909
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCandidateInstanceTypeResponse({}));
|
|
2910
|
+
}
|
|
2911
|
+
/**
|
|
2912
|
+
* 查询备选规格
|
|
2913
|
+
*
|
|
2914
|
+
* @param request - DescribeCandidateInstanceTypeRequest
|
|
2915
|
+
* @returns DescribeCandidateInstanceTypeResponse
|
|
2916
|
+
*/
|
|
2917
|
+
async describeCandidateInstanceType(request) {
|
|
2918
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2919
|
+
return await this.describeCandidateInstanceTypeWithOptions(request, runtime);
|
|
2920
|
+
}
|
|
2834
2921
|
/**
|
|
2835
2922
|
* Queries the diagnostic reports.
|
|
2836
2923
|
*
|
|
@@ -5850,6 +5937,9 @@ class Client extends openapi_core_1.default {
|
|
|
5850
5937
|
if (!$dara.isNull(request.instancePatternInfos)) {
|
|
5851
5938
|
query["InstancePatternInfos"] = request.instancePatternInfos;
|
|
5852
5939
|
}
|
|
5940
|
+
if (!$dara.isNull(request.instanceTypeCandidateOptions)) {
|
|
5941
|
+
query["InstanceTypeCandidateOptions"] = request.instanceTypeCandidateOptions;
|
|
5942
|
+
}
|
|
5853
5943
|
if (!$dara.isNull(request.instanceTypeOverrides)) {
|
|
5854
5944
|
query["InstanceTypeOverrides"] = request.instanceTypeOverrides;
|
|
5855
5945
|
}
|
|
@@ -7184,7 +7274,7 @@ class Client extends openapi_core_1.default {
|
|
|
7184
7274
|
return await this.setGroupDeletionProtectionWithOptions(request, runtime);
|
|
7185
7275
|
}
|
|
7186
7276
|
/**
|
|
7187
|
-
* Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O
|
|
7277
|
+
* Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\\\\\&M hurdles efficiently.
|
|
7188
7278
|
*
|
|
7189
7279
|
* @remarks
|
|
7190
7280
|
* Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from their scaling groups. To prevent a specific instance from being removed, you can put it in either the Standby or Protected state. For more information, see [EnterStandby](https://help.aliyun.com/document_detail/459345.html) and [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
|
|
@@ -7225,7 +7315,7 @@ class Client extends openapi_core_1.default {
|
|
|
7225
7315
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetInstanceHealthResponse({}));
|
|
7226
7316
|
}
|
|
7227
7317
|
/**
|
|
7228
|
-
* Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O
|
|
7318
|
+
* Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\\\\\&M hurdles efficiently.
|
|
7229
7319
|
*
|
|
7230
7320
|
* @remarks
|
|
7231
7321
|
* Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from their scaling groups. To prevent a specific instance from being removed, you can put it in either the Standby or Protected state. For more information, see [EnterStandby](https://help.aliyun.com/document_detail/459345.html) and [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
|