@alicloud/ess20220222 1.0.5 → 1.0.7
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 +47 -27
- package/dist/client.js +69 -33
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +84 -38
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;
|
|
@@ -1933,6 +1935,7 @@ export declare class DescribeScalingGroupsRequest extends $tea.Model {
|
|
|
1933
1935
|
scalingGroupIds?: string[];
|
|
1934
1936
|
scalingGroupName?: string;
|
|
1935
1937
|
scalingGroupNames?: string[];
|
|
1938
|
+
tags?: DescribeScalingGroupsRequestTags[];
|
|
1936
1939
|
static names(): {
|
|
1937
1940
|
[key: string]: string;
|
|
1938
1941
|
};
|
|
@@ -3144,6 +3147,7 @@ export declare class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
3144
3147
|
creditSpecification?: string;
|
|
3145
3148
|
dataDisks?: ModifyScalingConfigurationRequestDataDisks[];
|
|
3146
3149
|
dedicatedHostId?: string;
|
|
3150
|
+
deletionProtection?: boolean;
|
|
3147
3151
|
deploymentSetId?: string;
|
|
3148
3152
|
hostName?: string;
|
|
3149
3153
|
hpcClusterId?: string;
|
|
@@ -3204,6 +3208,7 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $tea.Model
|
|
|
3204
3208
|
creditSpecification?: string;
|
|
3205
3209
|
dataDisks?: ModifyScalingConfigurationShrinkRequestDataDisks[];
|
|
3206
3210
|
dedicatedHostId?: string;
|
|
3211
|
+
deletionProtection?: boolean;
|
|
3207
3212
|
deploymentSetId?: string;
|
|
3208
3213
|
hostName?: string;
|
|
3209
3214
|
hpcClusterId?: string;
|
|
@@ -5513,19 +5518,6 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
|
|
|
5513
5518
|
[key: string]: any;
|
|
5514
5519
|
});
|
|
5515
5520
|
}
|
|
5516
|
-
export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurationsPrivatePoolOptions extends $tea.Model {
|
|
5517
|
-
id?: string;
|
|
5518
|
-
matchCriteria?: string;
|
|
5519
|
-
static names(): {
|
|
5520
|
-
[key: string]: string;
|
|
5521
|
-
};
|
|
5522
|
-
static types(): {
|
|
5523
|
-
[key: string]: any;
|
|
5524
|
-
};
|
|
5525
|
-
constructor(map?: {
|
|
5526
|
-
[key: string]: any;
|
|
5527
|
-
});
|
|
5528
|
-
}
|
|
5529
5521
|
export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks extends $tea.Model {
|
|
5530
5522
|
autoSnapshotPolicyId?: string;
|
|
5531
5523
|
burstingEnabled?: boolean;
|
|
@@ -5608,13 +5600,13 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
5608
5600
|
});
|
|
5609
5601
|
}
|
|
5610
5602
|
export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $tea.Model {
|
|
5611
|
-
privatePoolOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsPrivatePoolOptions;
|
|
5612
5603
|
affinity?: string;
|
|
5613
5604
|
cpu?: number;
|
|
5614
5605
|
creationTime?: string;
|
|
5615
5606
|
creditSpecification?: string;
|
|
5616
5607
|
dataDisks?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks[];
|
|
5617
5608
|
dedicatedHostId?: string;
|
|
5609
|
+
deletionProtection?: boolean;
|
|
5618
5610
|
deploymentSetId?: string;
|
|
5619
5611
|
hostName?: string;
|
|
5620
5612
|
hpcClusterId?: string;
|
|
@@ -5639,6 +5631,8 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
5639
5631
|
loadBalancerWeight?: number;
|
|
5640
5632
|
memory?: number;
|
|
5641
5633
|
passwordInherit?: boolean;
|
|
5634
|
+
privatePoolOptions_id?: string;
|
|
5635
|
+
privatePoolOptions_matchCriteria?: string;
|
|
5642
5636
|
ramRoleName?: string;
|
|
5643
5637
|
resourceGroupId?: string;
|
|
5644
5638
|
scalingConfigurationId?: string;
|
|
@@ -5679,6 +5673,19 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
5679
5673
|
[key: string]: any;
|
|
5680
5674
|
});
|
|
5681
5675
|
}
|
|
5676
|
+
export declare class DescribeScalingGroupsRequestTags extends $tea.Model {
|
|
5677
|
+
key?: string;
|
|
5678
|
+
value?: string;
|
|
5679
|
+
static names(): {
|
|
5680
|
+
[key: string]: string;
|
|
5681
|
+
};
|
|
5682
|
+
static types(): {
|
|
5683
|
+
[key: string]: any;
|
|
5684
|
+
};
|
|
5685
|
+
constructor(map?: {
|
|
5686
|
+
[key: string]: any;
|
|
5687
|
+
});
|
|
5688
|
+
}
|
|
5682
5689
|
export declare class DescribeScalingGroupsResponseBodyScalingGroupsAlbServerGroups extends $tea.Model {
|
|
5683
5690
|
albServerGroupId?: string;
|
|
5684
5691
|
port?: number;
|
|
@@ -7224,20 +7231,7 @@ export default class Client extends OpenApi {
|
|
|
7224
7231
|
enterStandby(request: EnterStandbyRequest): Promise<EnterStandbyResponse>;
|
|
7225
7232
|
executeScalingRuleWithOptions(request: ExecuteScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteScalingRuleResponse>;
|
|
7226
7233
|
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
7234
|
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
7235
|
exitStandby(request: ExitStandbyRequest): Promise<ExitStandbyResponse>;
|
|
7242
7236
|
listTagKeysWithOptions(request: ListTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<ListTagKeysResponse>;
|
|
7243
7237
|
listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse>;
|
|
@@ -7350,9 +7344,35 @@ export default class Client extends OpenApi {
|
|
|
7350
7344
|
scaleWithAdjustment(request: ScaleWithAdjustmentRequest): Promise<ScaleWithAdjustmentResponse>;
|
|
7351
7345
|
setGroupDeletionProtectionWithOptions(request: SetGroupDeletionProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetGroupDeletionProtectionResponse>;
|
|
7352
7346
|
setGroupDeletionProtection(request: SetGroupDeletionProtectionRequest): Promise<SetGroupDeletionProtectionResponse>;
|
|
7347
|
+
/**
|
|
7348
|
+
* Configures the health check feature for Elastic Compute Service (ECS) instances.
|
|
7349
|
+
*
|
|
7350
|
+
* @param request SetInstanceHealthRequest
|
|
7351
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7352
|
+
* @return SetInstanceHealthResponse
|
|
7353
|
+
*/
|
|
7353
7354
|
setInstanceHealthWithOptions(request: SetInstanceHealthRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceHealthResponse>;
|
|
7355
|
+
/**
|
|
7356
|
+
* Configures the health check feature for Elastic Compute Service (ECS) instances.
|
|
7357
|
+
*
|
|
7358
|
+
* @param request SetInstanceHealthRequest
|
|
7359
|
+
* @return SetInstanceHealthResponse
|
|
7360
|
+
*/
|
|
7354
7361
|
setInstanceHealth(request: SetInstanceHealthRequest): Promise<SetInstanceHealthResponse>;
|
|
7362
|
+
/**
|
|
7363
|
+
* Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
|
|
7364
|
+
*
|
|
7365
|
+
* @param request SetInstancesProtectionRequest
|
|
7366
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7367
|
+
* @return SetInstancesProtectionResponse
|
|
7368
|
+
*/
|
|
7355
7369
|
setInstancesProtectionWithOptions(request: SetInstancesProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetInstancesProtectionResponse>;
|
|
7370
|
+
/**
|
|
7371
|
+
* Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
|
|
7372
|
+
*
|
|
7373
|
+
* @param request SetInstancesProtectionRequest
|
|
7374
|
+
* @return SetInstancesProtectionResponse
|
|
7375
|
+
*/
|
|
7356
7376
|
setInstancesProtection(request: SetInstancesProtectionRequest): Promise<SetInstancesProtectionResponse>;
|
|
7357
7377
|
suspendProcessesWithOptions(request: SuspendProcessesRequest, runtime: $Util.RuntimeOptions): Promise<SuspendProcessesResponse>;
|
|
7358
7378
|
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',
|
|
@@ -2849,6 +2853,7 @@ class DescribeScalingGroupsRequest extends $tea.Model {
|
|
|
2849
2853
|
scalingGroupIds: 'ScalingGroupIds',
|
|
2850
2854
|
scalingGroupName: 'ScalingGroupName',
|
|
2851
2855
|
scalingGroupNames: 'ScalingGroupNames',
|
|
2856
|
+
tags: 'Tags',
|
|
2852
2857
|
};
|
|
2853
2858
|
}
|
|
2854
2859
|
static types() {
|
|
@@ -2865,6 +2870,7 @@ class DescribeScalingGroupsRequest extends $tea.Model {
|
|
|
2865
2870
|
scalingGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
2866
2871
|
scalingGroupName: 'string',
|
|
2867
2872
|
scalingGroupNames: { 'type': 'array', 'itemType': 'string' },
|
|
2873
|
+
tags: { 'type': 'array', 'itemType': DescribeScalingGroupsRequestTags },
|
|
2868
2874
|
};
|
|
2869
2875
|
}
|
|
2870
2876
|
}
|
|
@@ -4603,6 +4609,7 @@ class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
4603
4609
|
creditSpecification: 'CreditSpecification',
|
|
4604
4610
|
dataDisks: 'DataDisks',
|
|
4605
4611
|
dedicatedHostId: 'DedicatedHostId',
|
|
4612
|
+
deletionProtection: 'DeletionProtection',
|
|
4606
4613
|
deploymentSetId: 'DeploymentSetId',
|
|
4607
4614
|
hostName: 'HostName',
|
|
4608
4615
|
hpcClusterId: 'HpcClusterId',
|
|
@@ -4654,6 +4661,7 @@ class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
4654
4661
|
creditSpecification: 'string',
|
|
4655
4662
|
dataDisks: { 'type': 'array', 'itemType': ModifyScalingConfigurationRequestDataDisks },
|
|
4656
4663
|
dedicatedHostId: 'string',
|
|
4664
|
+
deletionProtection: 'boolean',
|
|
4657
4665
|
deploymentSetId: 'string',
|
|
4658
4666
|
hostName: 'string',
|
|
4659
4667
|
hpcClusterId: 'string',
|
|
@@ -4711,6 +4719,7 @@ class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
4711
4719
|
creditSpecification: 'CreditSpecification',
|
|
4712
4720
|
dataDisks: 'DataDisks',
|
|
4713
4721
|
dedicatedHostId: 'DedicatedHostId',
|
|
4722
|
+
deletionProtection: 'DeletionProtection',
|
|
4714
4723
|
deploymentSetId: 'DeploymentSetId',
|
|
4715
4724
|
hostName: 'HostName',
|
|
4716
4725
|
hpcClusterId: 'HpcClusterId',
|
|
@@ -4762,6 +4771,7 @@ class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
4762
4771
|
creditSpecification: 'string',
|
|
4763
4772
|
dataDisks: { 'type': 'array', 'itemType': ModifyScalingConfigurationShrinkRequestDataDisks },
|
|
4764
4773
|
dedicatedHostId: 'string',
|
|
4774
|
+
deletionProtection: 'boolean',
|
|
4765
4775
|
deploymentSetId: 'string',
|
|
4766
4776
|
hostName: 'string',
|
|
4767
4777
|
hpcClusterId: 'string',
|
|
@@ -8145,24 +8155,6 @@ class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea.Model
|
|
|
8145
8155
|
}
|
|
8146
8156
|
}
|
|
8147
8157
|
exports.DescribeScalingActivitiesResponseBodyScalingActivities = DescribeScalingActivitiesResponseBodyScalingActivities;
|
|
8148
|
-
class DescribeScalingConfigurationsResponseBodyScalingConfigurationsPrivatePoolOptions extends $tea.Model {
|
|
8149
|
-
constructor(map) {
|
|
8150
|
-
super(map);
|
|
8151
|
-
}
|
|
8152
|
-
static names() {
|
|
8153
|
-
return {
|
|
8154
|
-
id: 'Id',
|
|
8155
|
-
matchCriteria: 'MatchCriteria',
|
|
8156
|
-
};
|
|
8157
|
-
}
|
|
8158
|
-
static types() {
|
|
8159
|
-
return {
|
|
8160
|
-
id: 'string',
|
|
8161
|
-
matchCriteria: 'string',
|
|
8162
|
-
};
|
|
8163
|
-
}
|
|
8164
|
-
}
|
|
8165
|
-
exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsPrivatePoolOptions = DescribeScalingConfigurationsResponseBodyScalingConfigurationsPrivatePoolOptions;
|
|
8166
8158
|
class DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks extends $tea.Model {
|
|
8167
8159
|
constructor(map) {
|
|
8168
8160
|
super(map);
|
|
@@ -8291,13 +8283,13 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $te
|
|
|
8291
8283
|
}
|
|
8292
8284
|
static names() {
|
|
8293
8285
|
return {
|
|
8294
|
-
privatePoolOptions: 'PrivatePoolOptions',
|
|
8295
8286
|
affinity: 'Affinity',
|
|
8296
8287
|
cpu: 'Cpu',
|
|
8297
8288
|
creationTime: 'CreationTime',
|
|
8298
8289
|
creditSpecification: 'CreditSpecification',
|
|
8299
8290
|
dataDisks: 'DataDisks',
|
|
8300
8291
|
dedicatedHostId: 'DedicatedHostId',
|
|
8292
|
+
deletionProtection: 'DeletionProtection',
|
|
8301
8293
|
deploymentSetId: 'DeploymentSetId',
|
|
8302
8294
|
hostName: 'HostName',
|
|
8303
8295
|
hpcClusterId: 'HpcClusterId',
|
|
@@ -8322,6 +8314,8 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $te
|
|
|
8322
8314
|
loadBalancerWeight: 'LoadBalancerWeight',
|
|
8323
8315
|
memory: 'Memory',
|
|
8324
8316
|
passwordInherit: 'PasswordInherit',
|
|
8317
|
+
privatePoolOptions_id: 'PrivatePoolOptions.Id',
|
|
8318
|
+
privatePoolOptions_matchCriteria: 'PrivatePoolOptions.MatchCriteria',
|
|
8325
8319
|
ramRoleName: 'RamRoleName',
|
|
8326
8320
|
resourceGroupId: 'ResourceGroupId',
|
|
8327
8321
|
scalingConfigurationId: 'ScalingConfigurationId',
|
|
@@ -8356,13 +8350,13 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $te
|
|
|
8356
8350
|
}
|
|
8357
8351
|
static types() {
|
|
8358
8352
|
return {
|
|
8359
|
-
privatePoolOptions: DescribeScalingConfigurationsResponseBodyScalingConfigurationsPrivatePoolOptions,
|
|
8360
8353
|
affinity: 'string',
|
|
8361
8354
|
cpu: 'number',
|
|
8362
8355
|
creationTime: 'string',
|
|
8363
8356
|
creditSpecification: 'string',
|
|
8364
8357
|
dataDisks: { 'type': 'array', 'itemType': DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks },
|
|
8365
8358
|
dedicatedHostId: 'string',
|
|
8359
|
+
deletionProtection: 'boolean',
|
|
8366
8360
|
deploymentSetId: 'string',
|
|
8367
8361
|
hostName: 'string',
|
|
8368
8362
|
hpcClusterId: 'string',
|
|
@@ -8387,6 +8381,8 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $te
|
|
|
8387
8381
|
loadBalancerWeight: 'number',
|
|
8388
8382
|
memory: 'number',
|
|
8389
8383
|
passwordInherit: 'boolean',
|
|
8384
|
+
privatePoolOptions_id: 'string',
|
|
8385
|
+
privatePoolOptions_matchCriteria: 'string',
|
|
8390
8386
|
ramRoleName: 'string',
|
|
8391
8387
|
resourceGroupId: 'string',
|
|
8392
8388
|
scalingConfigurationId: 'string',
|
|
@@ -8421,6 +8417,24 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $te
|
|
|
8421
8417
|
}
|
|
8422
8418
|
}
|
|
8423
8419
|
exports.DescribeScalingConfigurationsResponseBodyScalingConfigurations = DescribeScalingConfigurationsResponseBodyScalingConfigurations;
|
|
8420
|
+
class DescribeScalingGroupsRequestTags extends $tea.Model {
|
|
8421
|
+
constructor(map) {
|
|
8422
|
+
super(map);
|
|
8423
|
+
}
|
|
8424
|
+
static names() {
|
|
8425
|
+
return {
|
|
8426
|
+
key: 'Key',
|
|
8427
|
+
value: 'Value',
|
|
8428
|
+
};
|
|
8429
|
+
}
|
|
8430
|
+
static types() {
|
|
8431
|
+
return {
|
|
8432
|
+
key: 'string',
|
|
8433
|
+
value: 'string',
|
|
8434
|
+
};
|
|
8435
|
+
}
|
|
8436
|
+
}
|
|
8437
|
+
exports.DescribeScalingGroupsRequestTags = DescribeScalingGroupsRequestTags;
|
|
8424
8438
|
class DescribeScalingGroupsResponseBodyScalingGroupsAlbServerGroups extends $tea.Model {
|
|
8425
8439
|
constructor(map) {
|
|
8426
8440
|
super(map);
|
|
@@ -11100,6 +11114,9 @@ class Client extends openapi_client_1.default {
|
|
|
11100
11114
|
if (!tea_util_1.default.isUnset(request.dedicatedHostId)) {
|
|
11101
11115
|
query["DedicatedHostId"] = request.dedicatedHostId;
|
|
11102
11116
|
}
|
|
11117
|
+
if (!tea_util_1.default.isUnset(request.deletionProtection)) {
|
|
11118
|
+
query["DeletionProtection"] = request.deletionProtection;
|
|
11119
|
+
}
|
|
11103
11120
|
if (!tea_util_1.default.isUnset(request.deploymentSetId)) {
|
|
11104
11121
|
query["DeploymentSetId"] = request.deploymentSetId;
|
|
11105
11122
|
}
|
|
@@ -12548,6 +12565,9 @@ class Client extends openapi_client_1.default {
|
|
|
12548
12565
|
if (!tea_util_1.default.isUnset(request.scalingGroupNames)) {
|
|
12549
12566
|
query["ScalingGroupNames"] = request.scalingGroupNames;
|
|
12550
12567
|
}
|
|
12568
|
+
if (!tea_util_1.default.isUnset(request.tags)) {
|
|
12569
|
+
query["Tags"] = request.tags;
|
|
12570
|
+
}
|
|
12551
12571
|
let req = new $OpenApi.OpenApiRequest({
|
|
12552
12572
|
query: openapi_util_1.default.query(query),
|
|
12553
12573
|
});
|
|
@@ -13319,13 +13339,6 @@ class Client extends openapi_client_1.default {
|
|
|
13319
13339
|
let runtime = new $Util.RuntimeOptions({});
|
|
13320
13340
|
return await this.executeScalingRuleWithOptions(request, runtime);
|
|
13321
13341
|
}
|
|
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
13342
|
async exitStandbyWithOptions(request, runtime) {
|
|
13330
13343
|
tea_util_1.default.validateModel(request);
|
|
13331
13344
|
let query = {};
|
|
@@ -13366,12 +13379,6 @@ class Client extends openapi_client_1.default {
|
|
|
13366
13379
|
});
|
|
13367
13380
|
return $tea.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
|
|
13368
13381
|
}
|
|
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
13382
|
async exitStandby(request) {
|
|
13376
13383
|
let runtime = new $Util.RuntimeOptions({});
|
|
13377
13384
|
return await this.exitStandbyWithOptions(request, runtime);
|
|
@@ -13927,6 +13934,9 @@ class Client extends openapi_client_1.default {
|
|
|
13927
13934
|
if (!tea_util_1.default.isUnset(request.dedicatedHostId)) {
|
|
13928
13935
|
query["DedicatedHostId"] = request.dedicatedHostId;
|
|
13929
13936
|
}
|
|
13937
|
+
if (!tea_util_1.default.isUnset(request.deletionProtection)) {
|
|
13938
|
+
query["DeletionProtection"] = request.deletionProtection;
|
|
13939
|
+
}
|
|
13930
13940
|
if (!tea_util_1.default.isUnset(request.deploymentSetId)) {
|
|
13931
13941
|
query["DeploymentSetId"] = request.deploymentSetId;
|
|
13932
13942
|
}
|
|
@@ -14632,6 +14642,13 @@ class Client extends openapi_client_1.default {
|
|
|
14632
14642
|
let runtime = new $Util.RuntimeOptions({});
|
|
14633
14643
|
return await this.setGroupDeletionProtectionWithOptions(request, runtime);
|
|
14634
14644
|
}
|
|
14645
|
+
/**
|
|
14646
|
+
* Configures the health check feature for Elastic Compute Service (ECS) instances.
|
|
14647
|
+
*
|
|
14648
|
+
* @param request SetInstanceHealthRequest
|
|
14649
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14650
|
+
* @return SetInstanceHealthResponse
|
|
14651
|
+
*/
|
|
14635
14652
|
async setInstanceHealthWithOptions(request, runtime) {
|
|
14636
14653
|
tea_util_1.default.validateModel(request);
|
|
14637
14654
|
let query = {};
|
|
@@ -14663,10 +14680,23 @@ class Client extends openapi_client_1.default {
|
|
|
14663
14680
|
});
|
|
14664
14681
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
|
|
14665
14682
|
}
|
|
14683
|
+
/**
|
|
14684
|
+
* Configures the health check feature for Elastic Compute Service (ECS) instances.
|
|
14685
|
+
*
|
|
14686
|
+
* @param request SetInstanceHealthRequest
|
|
14687
|
+
* @return SetInstanceHealthResponse
|
|
14688
|
+
*/
|
|
14666
14689
|
async setInstanceHealth(request) {
|
|
14667
14690
|
let runtime = new $Util.RuntimeOptions({});
|
|
14668
14691
|
return await this.setInstanceHealthWithOptions(request, runtime);
|
|
14669
14692
|
}
|
|
14693
|
+
/**
|
|
14694
|
+
* Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
|
|
14695
|
+
*
|
|
14696
|
+
* @param request SetInstancesProtectionRequest
|
|
14697
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14698
|
+
* @return SetInstancesProtectionResponse
|
|
14699
|
+
*/
|
|
14670
14700
|
async setInstancesProtectionWithOptions(request, runtime) {
|
|
14671
14701
|
tea_util_1.default.validateModel(request);
|
|
14672
14702
|
let query = {};
|
|
@@ -14701,6 +14731,12 @@ class Client extends openapi_client_1.default {
|
|
|
14701
14731
|
});
|
|
14702
14732
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
14703
14733
|
}
|
|
14734
|
+
/**
|
|
14735
|
+
* Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
|
|
14736
|
+
*
|
|
14737
|
+
* @param request SetInstancesProtectionRequest
|
|
14738
|
+
* @return SetInstancesProtectionResponse
|
|
14739
|
+
*/
|
|
14704
14740
|
async setInstancesProtection(request) {
|
|
14705
14741
|
let runtime = new $Util.RuntimeOptions({});
|
|
14706
14742
|
return await this.setInstancesProtectionWithOptions(request, runtime);
|