@alicloud/ess20220222 1.0.7 → 1.0.8
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 +18 -0
- package/dist/client.js +37 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +49 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -827,6 +827,7 @@ export class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
827
827
|
ingressBandwidth?: number;
|
|
828
828
|
initContainers?: CreateEciScalingConfigurationRequestInitContainers[];
|
|
829
829
|
instanceFamilyLevel?: string;
|
|
830
|
+
instanceTypes?: string[];
|
|
830
831
|
ipv6AddressCount?: number;
|
|
831
832
|
loadBalancerWeight?: number;
|
|
832
833
|
memory?: number;
|
|
@@ -873,6 +874,7 @@ export class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
873
874
|
ingressBandwidth: 'IngressBandwidth',
|
|
874
875
|
initContainers: 'InitContainers',
|
|
875
876
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
877
|
+
instanceTypes: 'InstanceTypes',
|
|
876
878
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
877
879
|
loadBalancerWeight: 'LoadBalancerWeight',
|
|
878
880
|
memory: 'Memory',
|
|
@@ -922,6 +924,7 @@ export class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
922
924
|
ingressBandwidth: 'number',
|
|
923
925
|
initContainers: { 'type': 'array', 'itemType': CreateEciScalingConfigurationRequestInitContainers },
|
|
924
926
|
instanceFamilyLevel: 'string',
|
|
927
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
925
928
|
ipv6AddressCount: 'number',
|
|
926
929
|
loadBalancerWeight: 'number',
|
|
927
930
|
memory: 'number',
|
|
@@ -5623,6 +5626,7 @@ export class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
5623
5626
|
ingressBandwidth?: number;
|
|
5624
5627
|
initContainers?: ModifyEciScalingConfigurationRequestInitContainers[];
|
|
5625
5628
|
instanceFamilyLevel?: string;
|
|
5629
|
+
instanceTypes?: string[];
|
|
5626
5630
|
ipv6AddressCount?: number;
|
|
5627
5631
|
loadBalancerWeight?: number;
|
|
5628
5632
|
memory?: number;
|
|
@@ -5670,6 +5674,7 @@ export class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
5670
5674
|
ingressBandwidth: 'IngressBandwidth',
|
|
5671
5675
|
initContainers: 'InitContainers',
|
|
5672
5676
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
5677
|
+
instanceTypes: 'InstanceTypes',
|
|
5673
5678
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
5674
5679
|
loadBalancerWeight: 'LoadBalancerWeight',
|
|
5675
5680
|
memory: 'Memory',
|
|
@@ -5720,6 +5725,7 @@ export class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
5720
5725
|
ingressBandwidth: 'number',
|
|
5721
5726
|
initContainers: { 'type': 'array', 'itemType': ModifyEciScalingConfigurationRequestInitContainers },
|
|
5722
5727
|
instanceFamilyLevel: 'string',
|
|
5728
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
5723
5729
|
ipv6AddressCount: 'number',
|
|
5724
5730
|
loadBalancerWeight: 'number',
|
|
5725
5731
|
memory: 'number',
|
|
@@ -6339,6 +6345,7 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
6339
6345
|
customPolicyARN?: string;
|
|
6340
6346
|
defaultCooldown?: number;
|
|
6341
6347
|
desiredCapacity?: number;
|
|
6348
|
+
disableDesiredCapacity?: boolean;
|
|
6342
6349
|
groupDeletionProtection?: boolean;
|
|
6343
6350
|
healthCheckType?: string;
|
|
6344
6351
|
launchTemplateId?: string;
|
|
@@ -6370,6 +6377,7 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
6370
6377
|
customPolicyARN: 'CustomPolicyARN',
|
|
6371
6378
|
defaultCooldown: 'DefaultCooldown',
|
|
6372
6379
|
desiredCapacity: 'DesiredCapacity',
|
|
6380
|
+
disableDesiredCapacity: 'DisableDesiredCapacity',
|
|
6373
6381
|
groupDeletionProtection: 'GroupDeletionProtection',
|
|
6374
6382
|
healthCheckType: 'HealthCheckType',
|
|
6375
6383
|
launchTemplateId: 'LaunchTemplateId',
|
|
@@ -6404,6 +6412,7 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
6404
6412
|
customPolicyARN: 'string',
|
|
6405
6413
|
defaultCooldown: 'number',
|
|
6406
6414
|
desiredCapacity: 'number',
|
|
6415
|
+
disableDesiredCapacity: 'boolean',
|
|
6407
6416
|
groupDeletionProtection: 'boolean',
|
|
6408
6417
|
healthCheckType: 'string',
|
|
6409
6418
|
launchTemplateId: 'string',
|
|
@@ -10257,6 +10266,7 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations e
|
|
|
10257
10266
|
ingressBandwidth?: number;
|
|
10258
10267
|
initContainers?: DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainers[];
|
|
10259
10268
|
instanceFamilyLevel?: string;
|
|
10269
|
+
instanceTypes?: string[];
|
|
10260
10270
|
ipv6AddressCount?: number;
|
|
10261
10271
|
lifecycleState?: string;
|
|
10262
10272
|
loadBalancerWeight?: number;
|
|
@@ -10305,6 +10315,7 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations e
|
|
|
10305
10315
|
ingressBandwidth: 'IngressBandwidth',
|
|
10306
10316
|
initContainers: 'InitContainers',
|
|
10307
10317
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
10318
|
+
instanceTypes: 'InstanceTypes',
|
|
10308
10319
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
10309
10320
|
lifecycleState: 'LifecycleState',
|
|
10310
10321
|
loadBalancerWeight: 'LoadBalancerWeight',
|
|
@@ -10356,6 +10367,7 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations e
|
|
|
10356
10367
|
ingressBandwidth: 'number',
|
|
10357
10368
|
initContainers: { 'type': 'array', 'itemType': DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainers },
|
|
10358
10369
|
instanceFamilyLevel: 'string',
|
|
10370
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
10359
10371
|
ipv6AddressCount: 'number',
|
|
10360
10372
|
lifecycleState: 'string',
|
|
10361
10373
|
loadBalancerWeight: 'number',
|
|
@@ -11087,6 +11099,28 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups extends
|
|
|
11087
11099
|
}
|
|
11088
11100
|
}
|
|
11089
11101
|
|
|
11102
|
+
export class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
|
|
11103
|
+
tagKey?: string;
|
|
11104
|
+
tagValue?: string;
|
|
11105
|
+
static names(): { [key: string]: string } {
|
|
11106
|
+
return {
|
|
11107
|
+
tagKey: 'TagKey',
|
|
11108
|
+
tagValue: 'TagValue',
|
|
11109
|
+
};
|
|
11110
|
+
}
|
|
11111
|
+
|
|
11112
|
+
static types(): { [key: string]: any } {
|
|
11113
|
+
return {
|
|
11114
|
+
tagKey: 'string',
|
|
11115
|
+
tagValue: 'string',
|
|
11116
|
+
};
|
|
11117
|
+
}
|
|
11118
|
+
|
|
11119
|
+
constructor(map?: { [key: string]: any }) {
|
|
11120
|
+
super(map);
|
|
11121
|
+
}
|
|
11122
|
+
}
|
|
11123
|
+
|
|
11090
11124
|
export class DescribeScalingGroupsResponseBodyScalingGroupsVServerGroupsVServerGroupAttributes extends $tea.Model {
|
|
11091
11125
|
port?: number;
|
|
11092
11126
|
VServerGroupId?: string;
|
|
@@ -11186,6 +11220,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
11186
11220
|
stoppedCapacity?: number;
|
|
11187
11221
|
suspendedProcesses?: string[];
|
|
11188
11222
|
systemSuspended?: boolean;
|
|
11223
|
+
tags?: DescribeScalingGroupsResponseBodyScalingGroupsTags[];
|
|
11189
11224
|
totalCapacity?: number;
|
|
11190
11225
|
totalInstanceCount?: number;
|
|
11191
11226
|
VServerGroups?: DescribeScalingGroupsResponseBodyScalingGroupsVServerGroups[];
|
|
@@ -11245,6 +11280,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
11245
11280
|
stoppedCapacity: 'StoppedCapacity',
|
|
11246
11281
|
suspendedProcesses: 'SuspendedProcesses',
|
|
11247
11282
|
systemSuspended: 'SystemSuspended',
|
|
11283
|
+
tags: 'Tags',
|
|
11248
11284
|
totalCapacity: 'TotalCapacity',
|
|
11249
11285
|
totalInstanceCount: 'TotalInstanceCount',
|
|
11250
11286
|
VServerGroups: 'VServerGroups',
|
|
@@ -11307,6 +11343,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
11307
11343
|
stoppedCapacity: 'number',
|
|
11308
11344
|
suspendedProcesses: { 'type': 'array', 'itemType': 'string' },
|
|
11309
11345
|
systemSuspended: 'boolean',
|
|
11346
|
+
tags: { 'type': 'array', 'itemType': DescribeScalingGroupsResponseBodyScalingGroupsTags },
|
|
11310
11347
|
totalCapacity: 'number',
|
|
11311
11348
|
totalInstanceCount: 'number',
|
|
11312
11349
|
VServerGroups: { 'type': 'array', 'itemType': DescribeScalingGroupsResponseBodyScalingGroupsVServerGroups },
|
|
@@ -14102,6 +14139,10 @@ export default class Client extends OpenApi {
|
|
|
14102
14139
|
query["InstanceFamilyLevel"] = request.instanceFamilyLevel;
|
|
14103
14140
|
}
|
|
14104
14141
|
|
|
14142
|
+
if (!Util.isUnset(request.instanceTypes)) {
|
|
14143
|
+
query["InstanceTypes"] = request.instanceTypes;
|
|
14144
|
+
}
|
|
14145
|
+
|
|
14105
14146
|
if (!Util.isUnset(request.ipv6AddressCount)) {
|
|
14106
14147
|
query["Ipv6AddressCount"] = request.ipv6AddressCount;
|
|
14107
14148
|
}
|
|
@@ -17520,6 +17561,10 @@ export default class Client extends OpenApi {
|
|
|
17520
17561
|
query["InstanceFamilyLevel"] = request.instanceFamilyLevel;
|
|
17521
17562
|
}
|
|
17522
17563
|
|
|
17564
|
+
if (!Util.isUnset(request.instanceTypes)) {
|
|
17565
|
+
query["InstanceTypes"] = request.instanceTypes;
|
|
17566
|
+
}
|
|
17567
|
+
|
|
17523
17568
|
if (!Util.isUnset(request.ipv6AddressCount)) {
|
|
17524
17569
|
query["Ipv6AddressCount"] = request.ipv6AddressCount;
|
|
17525
17570
|
}
|
|
@@ -18030,6 +18075,10 @@ export default class Client extends OpenApi {
|
|
|
18030
18075
|
query["DesiredCapacity"] = request.desiredCapacity;
|
|
18031
18076
|
}
|
|
18032
18077
|
|
|
18078
|
+
if (!Util.isUnset(request.disableDesiredCapacity)) {
|
|
18079
|
+
query["DisableDesiredCapacity"] = request.disableDesiredCapacity;
|
|
18080
|
+
}
|
|
18081
|
+
|
|
18033
18082
|
if (!Util.isUnset(request.groupDeletionProtection)) {
|
|
18034
18083
|
query["GroupDeletionProtection"] = request.groupDeletionProtection;
|
|
18035
18084
|
}
|