@alicloud/ess20220222 1.0.5 → 1.0.6
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 +31 -13
- package/dist/client.js +42 -13
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +49 -13
package/dist/client.d.ts
CHANGED
|
@@ -628,6 +628,7 @@ export declare class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
628
628
|
creditSpecification?: string;
|
|
629
629
|
dataDisks?: CreateScalingConfigurationRequestDataDisks[];
|
|
630
630
|
dedicatedHostId?: string;
|
|
631
|
+
deletionProtection?: boolean;
|
|
631
632
|
deploymentSetId?: string;
|
|
632
633
|
hostName?: string;
|
|
633
634
|
hpcClusterId?: string;
|
|
@@ -692,6 +693,7 @@ export declare class CreateScalingConfigurationShrinkRequest extends $tea.Model
|
|
|
692
693
|
creditSpecification?: string;
|
|
693
694
|
dataDisks?: CreateScalingConfigurationShrinkRequestDataDisks[];
|
|
694
695
|
dedicatedHostId?: string;
|
|
696
|
+
deletionProtection?: boolean;
|
|
695
697
|
deploymentSetId?: string;
|
|
696
698
|
hostName?: string;
|
|
697
699
|
hpcClusterId?: string;
|
|
@@ -3144,6 +3146,7 @@ export declare class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
3144
3146
|
creditSpecification?: string;
|
|
3145
3147
|
dataDisks?: ModifyScalingConfigurationRequestDataDisks[];
|
|
3146
3148
|
dedicatedHostId?: string;
|
|
3149
|
+
deletionProtection?: boolean;
|
|
3147
3150
|
deploymentSetId?: string;
|
|
3148
3151
|
hostName?: string;
|
|
3149
3152
|
hpcClusterId?: string;
|
|
@@ -3204,6 +3207,7 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $tea.Model
|
|
|
3204
3207
|
creditSpecification?: string;
|
|
3205
3208
|
dataDisks?: ModifyScalingConfigurationShrinkRequestDataDisks[];
|
|
3206
3209
|
dedicatedHostId?: string;
|
|
3210
|
+
deletionProtection?: boolean;
|
|
3207
3211
|
deploymentSetId?: string;
|
|
3208
3212
|
hostName?: string;
|
|
3209
3213
|
hpcClusterId?: string;
|
|
@@ -5615,6 +5619,7 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
5615
5619
|
creditSpecification?: string;
|
|
5616
5620
|
dataDisks?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks[];
|
|
5617
5621
|
dedicatedHostId?: string;
|
|
5622
|
+
deletionProtection?: boolean;
|
|
5618
5623
|
deploymentSetId?: string;
|
|
5619
5624
|
hostName?: string;
|
|
5620
5625
|
hpcClusterId?: string;
|
|
@@ -7224,20 +7229,7 @@ export default class Client extends OpenApi {
|
|
|
7224
7229
|
enterStandby(request: EnterStandbyRequest): Promise<EnterStandbyResponse>;
|
|
7225
7230
|
executeScalingRuleWithOptions(request: ExecuteScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteScalingRuleResponse>;
|
|
7226
7231
|
executeScalingRule(request: ExecuteScalingRuleRequest): Promise<ExecuteScalingRuleResponse>;
|
|
7227
|
-
/**
|
|
7228
|
-
* The IDs of the ECS instances. The value of this parameter can be a JSON array that consists of up to 20 instance IDs. Separate multiple instance IDs with commas (,).
|
|
7229
|
-
*
|
|
7230
|
-
* @param request ExitStandbyRequest
|
|
7231
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7232
|
-
* @return ExitStandbyResponse
|
|
7233
|
-
*/
|
|
7234
7232
|
exitStandbyWithOptions(request: ExitStandbyRequest, runtime: $Util.RuntimeOptions): Promise<ExitStandbyResponse>;
|
|
7235
|
-
/**
|
|
7236
|
-
* The IDs of the ECS instances. The value of this parameter can be a JSON array that consists of up to 20 instance IDs. Separate multiple instance IDs with commas (,).
|
|
7237
|
-
*
|
|
7238
|
-
* @param request ExitStandbyRequest
|
|
7239
|
-
* @return ExitStandbyResponse
|
|
7240
|
-
*/
|
|
7241
7233
|
exitStandby(request: ExitStandbyRequest): Promise<ExitStandbyResponse>;
|
|
7242
7234
|
listTagKeysWithOptions(request: ListTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<ListTagKeysResponse>;
|
|
7243
7235
|
listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse>;
|
|
@@ -7350,9 +7342,35 @@ export default class Client extends OpenApi {
|
|
|
7350
7342
|
scaleWithAdjustment(request: ScaleWithAdjustmentRequest): Promise<ScaleWithAdjustmentResponse>;
|
|
7351
7343
|
setGroupDeletionProtectionWithOptions(request: SetGroupDeletionProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetGroupDeletionProtectionResponse>;
|
|
7352
7344
|
setGroupDeletionProtection(request: SetGroupDeletionProtectionRequest): Promise<SetGroupDeletionProtectionResponse>;
|
|
7345
|
+
/**
|
|
7346
|
+
* Configures the health check feature for Elastic Compute Service (ECS) instances.
|
|
7347
|
+
*
|
|
7348
|
+
* @param request SetInstanceHealthRequest
|
|
7349
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7350
|
+
* @return SetInstanceHealthResponse
|
|
7351
|
+
*/
|
|
7353
7352
|
setInstanceHealthWithOptions(request: SetInstanceHealthRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceHealthResponse>;
|
|
7353
|
+
/**
|
|
7354
|
+
* Configures the health check feature for Elastic Compute Service (ECS) instances.
|
|
7355
|
+
*
|
|
7356
|
+
* @param request SetInstanceHealthRequest
|
|
7357
|
+
* @return SetInstanceHealthResponse
|
|
7358
|
+
*/
|
|
7354
7359
|
setInstanceHealth(request: SetInstanceHealthRequest): Promise<SetInstanceHealthResponse>;
|
|
7360
|
+
/**
|
|
7361
|
+
* Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
|
|
7362
|
+
*
|
|
7363
|
+
* @param request SetInstancesProtectionRequest
|
|
7364
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7365
|
+
* @return SetInstancesProtectionResponse
|
|
7366
|
+
*/
|
|
7355
7367
|
setInstancesProtectionWithOptions(request: SetInstancesProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetInstancesProtectionResponse>;
|
|
7368
|
+
/**
|
|
7369
|
+
* Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
|
|
7370
|
+
*
|
|
7371
|
+
* @param request SetInstancesProtectionRequest
|
|
7372
|
+
* @return SetInstancesProtectionResponse
|
|
7373
|
+
*/
|
|
7356
7374
|
setInstancesProtection(request: SetInstancesProtectionRequest): Promise<SetInstancesProtectionResponse>;
|
|
7357
7375
|
suspendProcessesWithOptions(request: SuspendProcessesRequest, runtime: $Util.RuntimeOptions): Promise<SuspendProcessesResponse>;
|
|
7358
7376
|
suspendProcesses(request: SuspendProcessesRequest): Promise<SuspendProcessesResponse>;
|
package/dist/client.js
CHANGED
|
@@ -926,6 +926,7 @@ class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
926
926
|
creditSpecification: 'CreditSpecification',
|
|
927
927
|
dataDisks: 'DataDisks',
|
|
928
928
|
dedicatedHostId: 'DedicatedHostId',
|
|
929
|
+
deletionProtection: 'DeletionProtection',
|
|
929
930
|
deploymentSetId: 'DeploymentSetId',
|
|
930
931
|
hostName: 'HostName',
|
|
931
932
|
hpcClusterId: 'HpcClusterId',
|
|
@@ -981,6 +982,7 @@ class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
981
982
|
creditSpecification: 'string',
|
|
982
983
|
dataDisks: { 'type': 'array', 'itemType': CreateScalingConfigurationRequestDataDisks },
|
|
983
984
|
dedicatedHostId: 'string',
|
|
985
|
+
deletionProtection: 'boolean',
|
|
984
986
|
deploymentSetId: 'string',
|
|
985
987
|
hostName: 'string',
|
|
986
988
|
hpcClusterId: 'string',
|
|
@@ -1042,6 +1044,7 @@ class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
1042
1044
|
creditSpecification: 'CreditSpecification',
|
|
1043
1045
|
dataDisks: 'DataDisks',
|
|
1044
1046
|
dedicatedHostId: 'DedicatedHostId',
|
|
1047
|
+
deletionProtection: 'DeletionProtection',
|
|
1045
1048
|
deploymentSetId: 'DeploymentSetId',
|
|
1046
1049
|
hostName: 'HostName',
|
|
1047
1050
|
hpcClusterId: 'HpcClusterId',
|
|
@@ -1097,6 +1100,7 @@ class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
1097
1100
|
creditSpecification: 'string',
|
|
1098
1101
|
dataDisks: { 'type': 'array', 'itemType': CreateScalingConfigurationShrinkRequestDataDisks },
|
|
1099
1102
|
dedicatedHostId: 'string',
|
|
1103
|
+
deletionProtection: 'boolean',
|
|
1100
1104
|
deploymentSetId: 'string',
|
|
1101
1105
|
hostName: 'string',
|
|
1102
1106
|
hpcClusterId: 'string',
|
|
@@ -4603,6 +4607,7 @@ class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
4603
4607
|
creditSpecification: 'CreditSpecification',
|
|
4604
4608
|
dataDisks: 'DataDisks',
|
|
4605
4609
|
dedicatedHostId: 'DedicatedHostId',
|
|
4610
|
+
deletionProtection: 'DeletionProtection',
|
|
4606
4611
|
deploymentSetId: 'DeploymentSetId',
|
|
4607
4612
|
hostName: 'HostName',
|
|
4608
4613
|
hpcClusterId: 'HpcClusterId',
|
|
@@ -4654,6 +4659,7 @@ class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
4654
4659
|
creditSpecification: 'string',
|
|
4655
4660
|
dataDisks: { 'type': 'array', 'itemType': ModifyScalingConfigurationRequestDataDisks },
|
|
4656
4661
|
dedicatedHostId: 'string',
|
|
4662
|
+
deletionProtection: 'boolean',
|
|
4657
4663
|
deploymentSetId: 'string',
|
|
4658
4664
|
hostName: 'string',
|
|
4659
4665
|
hpcClusterId: 'string',
|
|
@@ -4711,6 +4717,7 @@ class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
4711
4717
|
creditSpecification: 'CreditSpecification',
|
|
4712
4718
|
dataDisks: 'DataDisks',
|
|
4713
4719
|
dedicatedHostId: 'DedicatedHostId',
|
|
4720
|
+
deletionProtection: 'DeletionProtection',
|
|
4714
4721
|
deploymentSetId: 'DeploymentSetId',
|
|
4715
4722
|
hostName: 'HostName',
|
|
4716
4723
|
hpcClusterId: 'HpcClusterId',
|
|
@@ -4762,6 +4769,7 @@ class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
4762
4769
|
creditSpecification: 'string',
|
|
4763
4770
|
dataDisks: { 'type': 'array', 'itemType': ModifyScalingConfigurationShrinkRequestDataDisks },
|
|
4764
4771
|
dedicatedHostId: 'string',
|
|
4772
|
+
deletionProtection: 'boolean',
|
|
4765
4773
|
deploymentSetId: 'string',
|
|
4766
4774
|
hostName: 'string',
|
|
4767
4775
|
hpcClusterId: 'string',
|
|
@@ -8298,6 +8306,7 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $te
|
|
|
8298
8306
|
creditSpecification: 'CreditSpecification',
|
|
8299
8307
|
dataDisks: 'DataDisks',
|
|
8300
8308
|
dedicatedHostId: 'DedicatedHostId',
|
|
8309
|
+
deletionProtection: 'DeletionProtection',
|
|
8301
8310
|
deploymentSetId: 'DeploymentSetId',
|
|
8302
8311
|
hostName: 'HostName',
|
|
8303
8312
|
hpcClusterId: 'HpcClusterId',
|
|
@@ -8363,6 +8372,7 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $te
|
|
|
8363
8372
|
creditSpecification: 'string',
|
|
8364
8373
|
dataDisks: { 'type': 'array', 'itemType': DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks },
|
|
8365
8374
|
dedicatedHostId: 'string',
|
|
8375
|
+
deletionProtection: 'boolean',
|
|
8366
8376
|
deploymentSetId: 'string',
|
|
8367
8377
|
hostName: 'string',
|
|
8368
8378
|
hpcClusterId: 'string',
|
|
@@ -11100,6 +11110,9 @@ class Client extends openapi_client_1.default {
|
|
|
11100
11110
|
if (!tea_util_1.default.isUnset(request.dedicatedHostId)) {
|
|
11101
11111
|
query["DedicatedHostId"] = request.dedicatedHostId;
|
|
11102
11112
|
}
|
|
11113
|
+
if (!tea_util_1.default.isUnset(request.deletionProtection)) {
|
|
11114
|
+
query["DeletionProtection"] = request.deletionProtection;
|
|
11115
|
+
}
|
|
11103
11116
|
if (!tea_util_1.default.isUnset(request.deploymentSetId)) {
|
|
11104
11117
|
query["DeploymentSetId"] = request.deploymentSetId;
|
|
11105
11118
|
}
|
|
@@ -13319,13 +13332,6 @@ class Client extends openapi_client_1.default {
|
|
|
13319
13332
|
let runtime = new $Util.RuntimeOptions({});
|
|
13320
13333
|
return await this.executeScalingRuleWithOptions(request, runtime);
|
|
13321
13334
|
}
|
|
13322
|
-
/**
|
|
13323
|
-
* The IDs of the ECS instances. The value of this parameter can be a JSON array that consists of up to 20 instance IDs. Separate multiple instance IDs with commas (,).
|
|
13324
|
-
*
|
|
13325
|
-
* @param request ExitStandbyRequest
|
|
13326
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13327
|
-
* @return ExitStandbyResponse
|
|
13328
|
-
*/
|
|
13329
13335
|
async exitStandbyWithOptions(request, runtime) {
|
|
13330
13336
|
tea_util_1.default.validateModel(request);
|
|
13331
13337
|
let query = {};
|
|
@@ -13366,12 +13372,6 @@ class Client extends openapi_client_1.default {
|
|
|
13366
13372
|
});
|
|
13367
13373
|
return $tea.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
|
|
13368
13374
|
}
|
|
13369
|
-
/**
|
|
13370
|
-
* The IDs of the ECS instances. The value of this parameter can be a JSON array that consists of up to 20 instance IDs. Separate multiple instance IDs with commas (,).
|
|
13371
|
-
*
|
|
13372
|
-
* @param request ExitStandbyRequest
|
|
13373
|
-
* @return ExitStandbyResponse
|
|
13374
|
-
*/
|
|
13375
13375
|
async exitStandby(request) {
|
|
13376
13376
|
let runtime = new $Util.RuntimeOptions({});
|
|
13377
13377
|
return await this.exitStandbyWithOptions(request, runtime);
|
|
@@ -13927,6 +13927,9 @@ class Client extends openapi_client_1.default {
|
|
|
13927
13927
|
if (!tea_util_1.default.isUnset(request.dedicatedHostId)) {
|
|
13928
13928
|
query["DedicatedHostId"] = request.dedicatedHostId;
|
|
13929
13929
|
}
|
|
13930
|
+
if (!tea_util_1.default.isUnset(request.deletionProtection)) {
|
|
13931
|
+
query["DeletionProtection"] = request.deletionProtection;
|
|
13932
|
+
}
|
|
13930
13933
|
if (!tea_util_1.default.isUnset(request.deploymentSetId)) {
|
|
13931
13934
|
query["DeploymentSetId"] = request.deploymentSetId;
|
|
13932
13935
|
}
|
|
@@ -14632,6 +14635,13 @@ class Client extends openapi_client_1.default {
|
|
|
14632
14635
|
let runtime = new $Util.RuntimeOptions({});
|
|
14633
14636
|
return await this.setGroupDeletionProtectionWithOptions(request, runtime);
|
|
14634
14637
|
}
|
|
14638
|
+
/**
|
|
14639
|
+
* Configures the health check feature for Elastic Compute Service (ECS) instances.
|
|
14640
|
+
*
|
|
14641
|
+
* @param request SetInstanceHealthRequest
|
|
14642
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14643
|
+
* @return SetInstanceHealthResponse
|
|
14644
|
+
*/
|
|
14635
14645
|
async setInstanceHealthWithOptions(request, runtime) {
|
|
14636
14646
|
tea_util_1.default.validateModel(request);
|
|
14637
14647
|
let query = {};
|
|
@@ -14663,10 +14673,23 @@ class Client extends openapi_client_1.default {
|
|
|
14663
14673
|
});
|
|
14664
14674
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
|
|
14665
14675
|
}
|
|
14676
|
+
/**
|
|
14677
|
+
* Configures the health check feature for Elastic Compute Service (ECS) instances.
|
|
14678
|
+
*
|
|
14679
|
+
* @param request SetInstanceHealthRequest
|
|
14680
|
+
* @return SetInstanceHealthResponse
|
|
14681
|
+
*/
|
|
14666
14682
|
async setInstanceHealth(request) {
|
|
14667
14683
|
let runtime = new $Util.RuntimeOptions({});
|
|
14668
14684
|
return await this.setInstanceHealthWithOptions(request, runtime);
|
|
14669
14685
|
}
|
|
14686
|
+
/**
|
|
14687
|
+
* Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
|
|
14688
|
+
*
|
|
14689
|
+
* @param request SetInstancesProtectionRequest
|
|
14690
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14691
|
+
* @return SetInstancesProtectionResponse
|
|
14692
|
+
*/
|
|
14670
14693
|
async setInstancesProtectionWithOptions(request, runtime) {
|
|
14671
14694
|
tea_util_1.default.validateModel(request);
|
|
14672
14695
|
let query = {};
|
|
@@ -14701,6 +14724,12 @@ class Client extends openapi_client_1.default {
|
|
|
14701
14724
|
});
|
|
14702
14725
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
14703
14726
|
}
|
|
14727
|
+
/**
|
|
14728
|
+
* Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
|
|
14729
|
+
*
|
|
14730
|
+
* @param request SetInstancesProtectionRequest
|
|
14731
|
+
* @return SetInstancesProtectionResponse
|
|
14732
|
+
*/
|
|
14704
14733
|
async setInstancesProtection(request) {
|
|
14705
14734
|
let runtime = new $Util.RuntimeOptions({});
|
|
14706
14735
|
return await this.setInstancesProtectionWithOptions(request, runtime);
|