@alicloud/ess20220222 1.0.7 → 1.0.9

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 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;
@@ -2241,6 +2242,7 @@ export declare class DetachDBInstancesResponse extends $tea.Model {
2241
2242
  });
2242
2243
  }
2243
2244
  export declare class DetachInstancesRequest extends $tea.Model {
2245
+ clientToken?: string;
2244
2246
  decreaseDesiredCapacity?: boolean;
2245
2247
  detachOption?: string;
2246
2248
  instanceIds?: string[];
@@ -2985,6 +2987,7 @@ export declare class ModifyEciScalingConfigurationRequest extends $tea.Model {
2985
2987
  ingressBandwidth?: number;
2986
2988
  initContainers?: ModifyEciScalingConfigurationRequestInitContainers[];
2987
2989
  instanceFamilyLevel?: string;
2990
+ instanceTypes?: string[];
2988
2991
  ipv6AddressCount?: number;
2989
2992
  loadBalancerWeight?: number;
2990
2993
  memory?: number;
@@ -3294,6 +3297,7 @@ export declare class ModifyScalingGroupRequest extends $tea.Model {
3294
3297
  customPolicyARN?: string;
3295
3298
  defaultCooldown?: number;
3296
3299
  desiredCapacity?: number;
3300
+ disableDesiredCapacity?: boolean;
3297
3301
  groupDeletionProtection?: boolean;
3298
3302
  healthCheckType?: string;
3299
3303
  launchTemplateId?: string;
@@ -3566,6 +3570,7 @@ export declare class RecordLifecycleActionHeartbeatResponse extends $tea.Model {
3566
3570
  });
3567
3571
  }
3568
3572
  export declare class RemoveInstancesRequest extends $tea.Model {
3573
+ clientToken?: string;
3569
3574
  decreaseDesiredCapacity?: boolean;
3570
3575
  instanceIds?: string[];
3571
3576
  ownerAccount?: string;
@@ -5387,6 +5392,7 @@ export declare class DescribeEciScalingConfigurationsResponseBodyScalingConfigur
5387
5392
  ingressBandwidth?: number;
5388
5393
  initContainers?: DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainers[];
5389
5394
  instanceFamilyLevel?: string;
5395
+ instanceTypes?: string[];
5390
5396
  ipv6AddressCount?: number;
5391
5397
  lifecycleState?: string;
5392
5398
  loadBalancerWeight?: number;
@@ -5742,6 +5748,19 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups
5742
5748
  [key: string]: any;
5743
5749
  });
5744
5750
  }
5751
+ export declare class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
5752
+ tagKey?: string;
5753
+ tagValue?: string;
5754
+ static names(): {
5755
+ [key: string]: string;
5756
+ };
5757
+ static types(): {
5758
+ [key: string]: any;
5759
+ };
5760
+ constructor(map?: {
5761
+ [key: string]: any;
5762
+ });
5763
+ }
5745
5764
  export declare class DescribeScalingGroupsResponseBodyScalingGroupsVServerGroupsVServerGroupAttributes extends $tea.Model {
5746
5765
  port?: number;
5747
5766
  VServerGroupId?: string;
@@ -5821,6 +5840,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
5821
5840
  stoppedCapacity?: number;
5822
5841
  suspendedProcesses?: string[];
5823
5842
  systemSuspended?: boolean;
5843
+ tags?: DescribeScalingGroupsResponseBodyScalingGroupsTags[];
5824
5844
  totalCapacity?: number;
5825
5845
  totalInstanceCount?: number;
5826
5846
  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',
@@ -3309,6 +3311,7 @@ class DetachInstancesRequest extends $tea.Model {
3309
3311
  }
3310
3312
  static names() {
3311
3313
  return {
3314
+ clientToken: 'ClientToken',
3312
3315
  decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
3313
3316
  detachOption: 'DetachOption',
3314
3317
  instanceIds: 'InstanceIds',
@@ -3322,6 +3325,7 @@ class DetachInstancesRequest extends $tea.Model {
3322
3325
  }
3323
3326
  static types() {
3324
3327
  return {
3328
+ clientToken: 'string',
3325
3329
  decreaseDesiredCapacity: 'boolean',
3326
3330
  detachOption: 'string',
3327
3331
  instanceIds: { 'type': 'array', 'itemType': 'string' },
@@ -4350,6 +4354,7 @@ class ModifyEciScalingConfigurationRequest extends $tea.Model {
4350
4354
  ingressBandwidth: 'IngressBandwidth',
4351
4355
  initContainers: 'InitContainers',
4352
4356
  instanceFamilyLevel: 'InstanceFamilyLevel',
4357
+ instanceTypes: 'InstanceTypes',
4353
4358
  ipv6AddressCount: 'Ipv6AddressCount',
4354
4359
  loadBalancerWeight: 'LoadBalancerWeight',
4355
4360
  memory: 'Memory',
@@ -4399,6 +4404,7 @@ class ModifyEciScalingConfigurationRequest extends $tea.Model {
4399
4404
  ingressBandwidth: 'number',
4400
4405
  initContainers: { 'type': 'array', 'itemType': ModifyEciScalingConfigurationRequestInitContainers },
4401
4406
  instanceFamilyLevel: 'string',
4407
+ instanceTypes: { 'type': 'array', 'itemType': 'string' },
4402
4408
  ipv6AddressCount: 'number',
4403
4409
  loadBalancerWeight: 'number',
4404
4410
  memory: 'number',
@@ -4864,6 +4870,7 @@ class ModifyScalingGroupRequest extends $tea.Model {
4864
4870
  customPolicyARN: 'CustomPolicyARN',
4865
4871
  defaultCooldown: 'DefaultCooldown',
4866
4872
  desiredCapacity: 'DesiredCapacity',
4873
+ disableDesiredCapacity: 'DisableDesiredCapacity',
4867
4874
  groupDeletionProtection: 'GroupDeletionProtection',
4868
4875
  healthCheckType: 'HealthCheckType',
4869
4876
  launchTemplateId: 'LaunchTemplateId',
@@ -4897,6 +4904,7 @@ class ModifyScalingGroupRequest extends $tea.Model {
4897
4904
  customPolicyARN: 'string',
4898
4905
  defaultCooldown: 'number',
4899
4906
  desiredCapacity: 'number',
4907
+ disableDesiredCapacity: 'boolean',
4900
4908
  groupDeletionProtection: 'boolean',
4901
4909
  healthCheckType: 'string',
4902
4910
  launchTemplateId: 'string',
@@ -5275,6 +5283,7 @@ class RemoveInstancesRequest extends $tea.Model {
5275
5283
  }
5276
5284
  static names() {
5277
5285
  return {
5286
+ clientToken: 'ClientToken',
5278
5287
  decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
5279
5288
  instanceIds: 'InstanceIds',
5280
5289
  ownerAccount: 'OwnerAccount',
@@ -5288,6 +5297,7 @@ class RemoveInstancesRequest extends $tea.Model {
5288
5297
  }
5289
5298
  static types() {
5290
5299
  return {
5300
+ clientToken: 'string',
5291
5301
  decreaseDesiredCapacity: 'boolean',
5292
5302
  instanceIds: { 'type': 'array', 'itemType': 'string' },
5293
5303
  ownerAccount: 'string',
@@ -7919,6 +7929,7 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
7919
7929
  ingressBandwidth: 'IngressBandwidth',
7920
7930
  initContainers: 'InitContainers',
7921
7931
  instanceFamilyLevel: 'InstanceFamilyLevel',
7932
+ instanceTypes: 'InstanceTypes',
7922
7933
  ipv6AddressCount: 'Ipv6AddressCount',
7923
7934
  lifecycleState: 'LifecycleState',
7924
7935
  loadBalancerWeight: 'LoadBalancerWeight',
@@ -7969,6 +7980,7 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
7969
7980
  ingressBandwidth: 'number',
7970
7981
  initContainers: { 'type': 'array', 'itemType': DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainers },
7971
7982
  instanceFamilyLevel: 'string',
7983
+ instanceTypes: { 'type': 'array', 'itemType': 'string' },
7972
7984
  ipv6AddressCount: 'number',
7973
7985
  lifecycleState: 'string',
7974
7986
  loadBalancerWeight: 'number',
@@ -8515,6 +8527,24 @@ class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups extends $tea.Mo
8515
8527
  }
8516
8528
  }
8517
8529
  exports.DescribeScalingGroupsResponseBodyScalingGroupsServerGroups = DescribeScalingGroupsResponseBodyScalingGroupsServerGroups;
8530
+ class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
8531
+ constructor(map) {
8532
+ super(map);
8533
+ }
8534
+ static names() {
8535
+ return {
8536
+ tagKey: 'TagKey',
8537
+ tagValue: 'TagValue',
8538
+ };
8539
+ }
8540
+ static types() {
8541
+ return {
8542
+ tagKey: 'string',
8543
+ tagValue: 'string',
8544
+ };
8545
+ }
8546
+ }
8547
+ exports.DescribeScalingGroupsResponseBodyScalingGroupsTags = DescribeScalingGroupsResponseBodyScalingGroupsTags;
8518
8548
  class DescribeScalingGroupsResponseBodyScalingGroupsVServerGroupsVServerGroupAttributes extends $tea.Model {
8519
8549
  constructor(map) {
8520
8550
  super(map);
@@ -8610,6 +8640,7 @@ class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
8610
8640
  stoppedCapacity: 'StoppedCapacity',
8611
8641
  suspendedProcesses: 'SuspendedProcesses',
8612
8642
  systemSuspended: 'SystemSuspended',
8643
+ tags: 'Tags',
8613
8644
  totalCapacity: 'TotalCapacity',
8614
8645
  totalInstanceCount: 'TotalInstanceCount',
8615
8646
  VServerGroups: 'VServerGroups',
@@ -8671,6 +8702,7 @@ class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
8671
8702
  stoppedCapacity: 'number',
8672
8703
  suspendedProcesses: { 'type': 'array', 'itemType': 'string' },
8673
8704
  systemSuspended: 'boolean',
8705
+ tags: { 'type': 'array', 'itemType': DescribeScalingGroupsResponseBodyScalingGroupsTags },
8674
8706
  totalCapacity: 'number',
8675
8707
  totalInstanceCount: 'number',
8676
8708
  VServerGroups: { 'type': 'array', 'itemType': DescribeScalingGroupsResponseBodyScalingGroupsVServerGroups },
@@ -10881,6 +10913,9 @@ class Client extends openapi_client_1.default {
10881
10913
  if (!tea_util_1.default.isUnset(request.instanceFamilyLevel)) {
10882
10914
  query["InstanceFamilyLevel"] = request.instanceFamilyLevel;
10883
10915
  }
10916
+ if (!tea_util_1.default.isUnset(request.instanceTypes)) {
10917
+ query["InstanceTypes"] = request.instanceTypes;
10918
+ }
10884
10919
  if (!tea_util_1.default.isUnset(request.ipv6AddressCount)) {
10885
10920
  query["Ipv6AddressCount"] = request.ipv6AddressCount;
10886
10921
  }
@@ -12878,6 +12913,9 @@ class Client extends openapi_client_1.default {
12878
12913
  async detachInstancesWithOptions(request, runtime) {
12879
12914
  tea_util_1.default.validateModel(request);
12880
12915
  let query = {};
12916
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
12917
+ query["ClientToken"] = request.clientToken;
12918
+ }
12881
12919
  if (!tea_util_1.default.isUnset(request.decreaseDesiredCapacity)) {
12882
12920
  query["DecreaseDesiredCapacity"] = request.decreaseDesiredCapacity;
12883
12921
  }
@@ -13704,6 +13742,9 @@ class Client extends openapi_client_1.default {
13704
13742
  if (!tea_util_1.default.isUnset(request.instanceFamilyLevel)) {
13705
13743
  query["InstanceFamilyLevel"] = request.instanceFamilyLevel;
13706
13744
  }
13745
+ if (!tea_util_1.default.isUnset(request.instanceTypes)) {
13746
+ query["InstanceTypes"] = request.instanceTypes;
13747
+ }
13707
13748
  if (!tea_util_1.default.isUnset(request.ipv6AddressCount)) {
13708
13749
  query["Ipv6AddressCount"] = request.ipv6AddressCount;
13709
13750
  }
@@ -14113,6 +14154,9 @@ class Client extends openapi_client_1.default {
14113
14154
  if (!tea_util_1.default.isUnset(request.desiredCapacity)) {
14114
14155
  query["DesiredCapacity"] = request.desiredCapacity;
14115
14156
  }
14157
+ if (!tea_util_1.default.isUnset(request.disableDesiredCapacity)) {
14158
+ query["DisableDesiredCapacity"] = request.disableDesiredCapacity;
14159
+ }
14116
14160
  if (!tea_util_1.default.isUnset(request.groupDeletionProtection)) {
14117
14161
  query["GroupDeletionProtection"] = request.groupDeletionProtection;
14118
14162
  }
@@ -14456,6 +14500,9 @@ class Client extends openapi_client_1.default {
14456
14500
  async removeInstancesWithOptions(request, runtime) {
14457
14501
  tea_util_1.default.validateModel(request);
14458
14502
  let query = {};
14503
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
14504
+ query["ClientToken"] = request.clientToken;
14505
+ }
14459
14506
  if (!tea_util_1.default.isUnset(request.decreaseDesiredCapacity)) {
14460
14507
  query["DecreaseDesiredCapacity"] = request.decreaseDesiredCapacity;
14461
14508
  }