@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/dist/client.d.ts
CHANGED
|
@@ -466,6 +466,7 @@ export declare class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
466
466
|
ingressBandwidth?: number;
|
|
467
467
|
initContainers?: CreateEciScalingConfigurationRequestInitContainers[];
|
|
468
468
|
instanceFamilyLevel?: string;
|
|
469
|
+
instanceTypes?: string[];
|
|
469
470
|
ipv6AddressCount?: number;
|
|
470
471
|
loadBalancerWeight?: number;
|
|
471
472
|
memory?: number;
|
|
@@ -2985,6 +2986,7 @@ export declare class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
2985
2986
|
ingressBandwidth?: number;
|
|
2986
2987
|
initContainers?: ModifyEciScalingConfigurationRequestInitContainers[];
|
|
2987
2988
|
instanceFamilyLevel?: string;
|
|
2989
|
+
instanceTypes?: string[];
|
|
2988
2990
|
ipv6AddressCount?: number;
|
|
2989
2991
|
loadBalancerWeight?: number;
|
|
2990
2992
|
memory?: number;
|
|
@@ -3294,6 +3296,7 @@ export declare class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
3294
3296
|
customPolicyARN?: string;
|
|
3295
3297
|
defaultCooldown?: number;
|
|
3296
3298
|
desiredCapacity?: number;
|
|
3299
|
+
disableDesiredCapacity?: boolean;
|
|
3297
3300
|
groupDeletionProtection?: boolean;
|
|
3298
3301
|
healthCheckType?: string;
|
|
3299
3302
|
launchTemplateId?: string;
|
|
@@ -5387,6 +5390,7 @@ export declare class DescribeEciScalingConfigurationsResponseBodyScalingConfigur
|
|
|
5387
5390
|
ingressBandwidth?: number;
|
|
5388
5391
|
initContainers?: DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainers[];
|
|
5389
5392
|
instanceFamilyLevel?: string;
|
|
5393
|
+
instanceTypes?: string[];
|
|
5390
5394
|
ipv6AddressCount?: number;
|
|
5391
5395
|
lifecycleState?: string;
|
|
5392
5396
|
loadBalancerWeight?: number;
|
|
@@ -5742,6 +5746,19 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups
|
|
|
5742
5746
|
[key: string]: any;
|
|
5743
5747
|
});
|
|
5744
5748
|
}
|
|
5749
|
+
export declare class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
|
|
5750
|
+
tagKey?: string;
|
|
5751
|
+
tagValue?: string;
|
|
5752
|
+
static names(): {
|
|
5753
|
+
[key: string]: string;
|
|
5754
|
+
};
|
|
5755
|
+
static types(): {
|
|
5756
|
+
[key: string]: any;
|
|
5757
|
+
};
|
|
5758
|
+
constructor(map?: {
|
|
5759
|
+
[key: string]: any;
|
|
5760
|
+
});
|
|
5761
|
+
}
|
|
5745
5762
|
export declare class DescribeScalingGroupsResponseBodyScalingGroupsVServerGroupsVServerGroupAttributes extends $tea.Model {
|
|
5746
5763
|
port?: number;
|
|
5747
5764
|
VServerGroupId?: string;
|
|
@@ -5821,6 +5838,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
|
|
|
5821
5838
|
stoppedCapacity?: number;
|
|
5822
5839
|
suspendedProcesses?: string[];
|
|
5823
5840
|
systemSuspended?: boolean;
|
|
5841
|
+
tags?: DescribeScalingGroupsResponseBodyScalingGroupsTags[];
|
|
5824
5842
|
totalCapacity?: number;
|
|
5825
5843
|
totalInstanceCount?: number;
|
|
5826
5844
|
VServerGroups?: DescribeScalingGroupsResponseBodyScalingGroupsVServerGroups[];
|
package/dist/client.js
CHANGED
|
@@ -669,6 +669,7 @@ class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
669
669
|
ingressBandwidth: 'IngressBandwidth',
|
|
670
670
|
initContainers: 'InitContainers',
|
|
671
671
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
672
|
+
instanceTypes: 'InstanceTypes',
|
|
672
673
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
673
674
|
loadBalancerWeight: 'LoadBalancerWeight',
|
|
674
675
|
memory: 'Memory',
|
|
@@ -717,6 +718,7 @@ class CreateEciScalingConfigurationRequest extends $tea.Model {
|
|
|
717
718
|
ingressBandwidth: 'number',
|
|
718
719
|
initContainers: { 'type': 'array', 'itemType': CreateEciScalingConfigurationRequestInitContainers },
|
|
719
720
|
instanceFamilyLevel: 'string',
|
|
721
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
720
722
|
ipv6AddressCount: 'number',
|
|
721
723
|
loadBalancerWeight: 'number',
|
|
722
724
|
memory: 'number',
|
|
@@ -4350,6 +4352,7 @@ class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
4350
4352
|
ingressBandwidth: 'IngressBandwidth',
|
|
4351
4353
|
initContainers: 'InitContainers',
|
|
4352
4354
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
4355
|
+
instanceTypes: 'InstanceTypes',
|
|
4353
4356
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
4354
4357
|
loadBalancerWeight: 'LoadBalancerWeight',
|
|
4355
4358
|
memory: 'Memory',
|
|
@@ -4399,6 +4402,7 @@ class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
|
4399
4402
|
ingressBandwidth: 'number',
|
|
4400
4403
|
initContainers: { 'type': 'array', 'itemType': ModifyEciScalingConfigurationRequestInitContainers },
|
|
4401
4404
|
instanceFamilyLevel: 'string',
|
|
4405
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
4402
4406
|
ipv6AddressCount: 'number',
|
|
4403
4407
|
loadBalancerWeight: 'number',
|
|
4404
4408
|
memory: 'number',
|
|
@@ -4864,6 +4868,7 @@ class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
4864
4868
|
customPolicyARN: 'CustomPolicyARN',
|
|
4865
4869
|
defaultCooldown: 'DefaultCooldown',
|
|
4866
4870
|
desiredCapacity: 'DesiredCapacity',
|
|
4871
|
+
disableDesiredCapacity: 'DisableDesiredCapacity',
|
|
4867
4872
|
groupDeletionProtection: 'GroupDeletionProtection',
|
|
4868
4873
|
healthCheckType: 'HealthCheckType',
|
|
4869
4874
|
launchTemplateId: 'LaunchTemplateId',
|
|
@@ -4897,6 +4902,7 @@ class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
4897
4902
|
customPolicyARN: 'string',
|
|
4898
4903
|
defaultCooldown: 'number',
|
|
4899
4904
|
desiredCapacity: 'number',
|
|
4905
|
+
disableDesiredCapacity: 'boolean',
|
|
4900
4906
|
groupDeletionProtection: 'boolean',
|
|
4901
4907
|
healthCheckType: 'string',
|
|
4902
4908
|
launchTemplateId: 'string',
|
|
@@ -7919,6 +7925,7 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
|
|
|
7919
7925
|
ingressBandwidth: 'IngressBandwidth',
|
|
7920
7926
|
initContainers: 'InitContainers',
|
|
7921
7927
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
7928
|
+
instanceTypes: 'InstanceTypes',
|
|
7922
7929
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
7923
7930
|
lifecycleState: 'LifecycleState',
|
|
7924
7931
|
loadBalancerWeight: 'LoadBalancerWeight',
|
|
@@ -7969,6 +7976,7 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
|
|
|
7969
7976
|
ingressBandwidth: 'number',
|
|
7970
7977
|
initContainers: { 'type': 'array', 'itemType': DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainers },
|
|
7971
7978
|
instanceFamilyLevel: 'string',
|
|
7979
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
7972
7980
|
ipv6AddressCount: 'number',
|
|
7973
7981
|
lifecycleState: 'string',
|
|
7974
7982
|
loadBalancerWeight: 'number',
|
|
@@ -8515,6 +8523,24 @@ class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups extends $tea.Mo
|
|
|
8515
8523
|
}
|
|
8516
8524
|
}
|
|
8517
8525
|
exports.DescribeScalingGroupsResponseBodyScalingGroupsServerGroups = DescribeScalingGroupsResponseBodyScalingGroupsServerGroups;
|
|
8526
|
+
class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
|
|
8527
|
+
constructor(map) {
|
|
8528
|
+
super(map);
|
|
8529
|
+
}
|
|
8530
|
+
static names() {
|
|
8531
|
+
return {
|
|
8532
|
+
tagKey: 'TagKey',
|
|
8533
|
+
tagValue: 'TagValue',
|
|
8534
|
+
};
|
|
8535
|
+
}
|
|
8536
|
+
static types() {
|
|
8537
|
+
return {
|
|
8538
|
+
tagKey: 'string',
|
|
8539
|
+
tagValue: 'string',
|
|
8540
|
+
};
|
|
8541
|
+
}
|
|
8542
|
+
}
|
|
8543
|
+
exports.DescribeScalingGroupsResponseBodyScalingGroupsTags = DescribeScalingGroupsResponseBodyScalingGroupsTags;
|
|
8518
8544
|
class DescribeScalingGroupsResponseBodyScalingGroupsVServerGroupsVServerGroupAttributes extends $tea.Model {
|
|
8519
8545
|
constructor(map) {
|
|
8520
8546
|
super(map);
|
|
@@ -8610,6 +8636,7 @@ class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
8610
8636
|
stoppedCapacity: 'StoppedCapacity',
|
|
8611
8637
|
suspendedProcesses: 'SuspendedProcesses',
|
|
8612
8638
|
systemSuspended: 'SystemSuspended',
|
|
8639
|
+
tags: 'Tags',
|
|
8613
8640
|
totalCapacity: 'TotalCapacity',
|
|
8614
8641
|
totalInstanceCount: 'TotalInstanceCount',
|
|
8615
8642
|
VServerGroups: 'VServerGroups',
|
|
@@ -8671,6 +8698,7 @@ class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
8671
8698
|
stoppedCapacity: 'number',
|
|
8672
8699
|
suspendedProcesses: { 'type': 'array', 'itemType': 'string' },
|
|
8673
8700
|
systemSuspended: 'boolean',
|
|
8701
|
+
tags: { 'type': 'array', 'itemType': DescribeScalingGroupsResponseBodyScalingGroupsTags },
|
|
8674
8702
|
totalCapacity: 'number',
|
|
8675
8703
|
totalInstanceCount: 'number',
|
|
8676
8704
|
VServerGroups: { 'type': 'array', 'itemType': DescribeScalingGroupsResponseBodyScalingGroupsVServerGroups },
|
|
@@ -10881,6 +10909,9 @@ class Client extends openapi_client_1.default {
|
|
|
10881
10909
|
if (!tea_util_1.default.isUnset(request.instanceFamilyLevel)) {
|
|
10882
10910
|
query["InstanceFamilyLevel"] = request.instanceFamilyLevel;
|
|
10883
10911
|
}
|
|
10912
|
+
if (!tea_util_1.default.isUnset(request.instanceTypes)) {
|
|
10913
|
+
query["InstanceTypes"] = request.instanceTypes;
|
|
10914
|
+
}
|
|
10884
10915
|
if (!tea_util_1.default.isUnset(request.ipv6AddressCount)) {
|
|
10885
10916
|
query["Ipv6AddressCount"] = request.ipv6AddressCount;
|
|
10886
10917
|
}
|
|
@@ -13704,6 +13735,9 @@ class Client extends openapi_client_1.default {
|
|
|
13704
13735
|
if (!tea_util_1.default.isUnset(request.instanceFamilyLevel)) {
|
|
13705
13736
|
query["InstanceFamilyLevel"] = request.instanceFamilyLevel;
|
|
13706
13737
|
}
|
|
13738
|
+
if (!tea_util_1.default.isUnset(request.instanceTypes)) {
|
|
13739
|
+
query["InstanceTypes"] = request.instanceTypes;
|
|
13740
|
+
}
|
|
13707
13741
|
if (!tea_util_1.default.isUnset(request.ipv6AddressCount)) {
|
|
13708
13742
|
query["Ipv6AddressCount"] = request.ipv6AddressCount;
|
|
13709
13743
|
}
|
|
@@ -14113,6 +14147,9 @@ class Client extends openapi_client_1.default {
|
|
|
14113
14147
|
if (!tea_util_1.default.isUnset(request.desiredCapacity)) {
|
|
14114
14148
|
query["DesiredCapacity"] = request.desiredCapacity;
|
|
14115
14149
|
}
|
|
14150
|
+
if (!tea_util_1.default.isUnset(request.disableDesiredCapacity)) {
|
|
14151
|
+
query["DisableDesiredCapacity"] = request.disableDesiredCapacity;
|
|
14152
|
+
}
|
|
14116
14153
|
if (!tea_util_1.default.isUnset(request.groupDeletionProtection)) {
|
|
14117
14154
|
query["GroupDeletionProtection"] = request.groupDeletionProtection;
|
|
14118
14155
|
}
|