@alicloud/ess20220222 1.0.8 → 1.0.10

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
@@ -98,6 +98,7 @@ export declare class AttachDBInstancesResponse extends $tea.Model {
98
98
  });
99
99
  }
100
100
  export declare class AttachInstancesRequest extends $tea.Model {
101
+ clientToken?: string;
101
102
  entrusted?: boolean;
102
103
  instanceIds?: string[];
103
104
  lifecycleHook?: boolean;
@@ -450,6 +451,10 @@ export declare class CreateEciScalingConfigurationRequest extends $tea.Model {
450
451
  cpu?: number;
451
452
  cpuOptionsCore?: number;
452
453
  cpuOptionsThreadsPerCore?: number;
454
+ dataCacheBucket?: string;
455
+ dataCacheBurstingEnabled?: boolean;
456
+ dataCachePL?: string;
457
+ dataCacheProvisionedIops?: number;
453
458
  description?: string;
454
459
  dnsConfigNameServers?: string[];
455
460
  dnsConfigOptions?: CreateEciScalingConfigurationRequestDnsConfigOptions[];
@@ -1985,6 +1990,7 @@ export declare class DescribeScalingInstancesRequest extends $tea.Model {
1985
1990
  healthStatus?: string;
1986
1991
  instanceIds?: string[];
1987
1992
  lifecycleState?: string;
1993
+ lifecycleStates?: string[];
1988
1994
  ownerAccount?: string;
1989
1995
  ownerId?: number;
1990
1996
  pageNumber?: number;
@@ -2242,6 +2248,7 @@ export declare class DetachDBInstancesResponse extends $tea.Model {
2242
2248
  });
2243
2249
  }
2244
2250
  export declare class DetachInstancesRequest extends $tea.Model {
2251
+ clientToken?: string;
2245
2252
  decreaseDesiredCapacity?: boolean;
2246
2253
  detachOption?: string;
2247
2254
  instanceIds?: string[];
@@ -2970,6 +2977,10 @@ export declare class ModifyEciScalingConfigurationRequest extends $tea.Model {
2970
2977
  cpu?: number;
2971
2978
  cpuOptionsCore?: number;
2972
2979
  cpuOptionsThreadsPerCore?: number;
2980
+ dataCacheBucket?: string;
2981
+ dataCacheBurstingEnabled?: boolean;
2982
+ dataCachePL?: string;
2983
+ dataCacheProvisionedIops?: number;
2973
2984
  description?: string;
2974
2985
  dnsConfigNameServers?: string[];
2975
2986
  dnsConfigOptions?: ModifyEciScalingConfigurationRequestDnsConfigOptions[];
@@ -3569,6 +3580,7 @@ export declare class RecordLifecycleActionHeartbeatResponse extends $tea.Model {
3569
3580
  });
3570
3581
  }
3571
3582
  export declare class RemoveInstancesRequest extends $tea.Model {
3583
+ clientToken?: string;
3572
3584
  decreaseDesiredCapacity?: boolean;
3573
3585
  instanceIds?: string[];
3574
3586
  ownerAccount?: string;
@@ -4958,6 +4970,7 @@ export declare class CreateScalingGroupRequestServerGroups extends $tea.Model {
4958
4970
  }
4959
4971
  export declare class CreateScalingGroupRequestTags extends $tea.Model {
4960
4972
  key?: string;
4973
+ propagate?: boolean;
4961
4974
  value?: string;
4962
4975
  static names(): {
4963
4976
  [key: string]: string;
@@ -5348,6 +5361,8 @@ export declare class DescribeEciScalingConfigurationsResponseBodyScalingConfigur
5348
5361
  flexVolumeDriver?: string;
5349
5362
  flexVolumeFsType?: string;
5350
5363
  flexVolumeOptions?: string;
5364
+ hostPathVolumePath?: string;
5365
+ hostPathVolumeType?: string;
5351
5366
  NFSVolumePath?: string;
5352
5367
  NFSVolumeReadOnly?: boolean;
5353
5368
  NFSVolumeServer?: string;
@@ -5375,6 +5390,10 @@ export declare class DescribeEciScalingConfigurationsResponseBodyScalingConfigur
5375
5390
  cpuOptionsCore?: number;
5376
5391
  cpuOptionsThreadsPerCore?: number;
5377
5392
  creationTime?: string;
5393
+ dataCacheBucket?: string;
5394
+ dataCacheBurstingEnabled?: boolean;
5395
+ dataCachePL?: string;
5396
+ dataCacheProvisionedIops?: number;
5378
5397
  description?: string;
5379
5398
  dnsConfigNameServers?: string[];
5380
5399
  dnsConfigOptions?: DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsDnsConfigOptions[];
@@ -5747,6 +5766,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups
5747
5766
  });
5748
5767
  }
5749
5768
  export declare class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
5769
+ propagate?: boolean;
5750
5770
  tagKey?: string;
5751
5771
  tagValue?: string;
5752
5772
  static names(): {
@@ -5866,9 +5886,11 @@ export declare class DescribeScalingInstancesResponseBodyScalingInstances extend
5866
5886
  launchTemplateVersion?: string;
5867
5887
  lifecycleState?: string;
5868
5888
  loadBalancerWeight?: number;
5889
+ privateIpAddress?: string;
5869
5890
  scalingActivityId?: string;
5870
5891
  scalingConfigurationId?: string;
5871
5892
  scalingGroupId?: string;
5893
+ scalingInstanceId?: string;
5872
5894
  spotStrategy?: string;
5873
5895
  warmupState?: string;
5874
5896
  weightedCapacity?: number;
package/dist/client.js CHANGED
@@ -155,6 +155,7 @@ class AttachInstancesRequest extends $tea.Model {
155
155
  }
156
156
  static names() {
157
157
  return {
158
+ clientToken: 'ClientToken',
158
159
  entrusted: 'Entrusted',
159
160
  instanceIds: 'InstanceIds',
160
161
  lifecycleHook: 'LifecycleHook',
@@ -169,6 +170,7 @@ class AttachInstancesRequest extends $tea.Model {
169
170
  }
170
171
  static types() {
171
172
  return {
173
+ clientToken: 'string',
172
174
  entrusted: 'boolean',
173
175
  instanceIds: { 'type': 'array', 'itemType': 'string' },
174
176
  lifecycleHook: 'boolean',
@@ -653,6 +655,10 @@ class CreateEciScalingConfigurationRequest extends $tea.Model {
653
655
  cpu: 'Cpu',
654
656
  cpuOptionsCore: 'CpuOptionsCore',
655
657
  cpuOptionsThreadsPerCore: 'CpuOptionsThreadsPerCore',
658
+ dataCacheBucket: 'DataCacheBucket',
659
+ dataCacheBurstingEnabled: 'DataCacheBurstingEnabled',
660
+ dataCachePL: 'DataCachePL',
661
+ dataCacheProvisionedIops: 'DataCacheProvisionedIops',
656
662
  description: 'Description',
657
663
  dnsConfigNameServers: 'DnsConfigNameServers',
658
664
  dnsConfigOptions: 'DnsConfigOptions',
@@ -702,6 +708,10 @@ class CreateEciScalingConfigurationRequest extends $tea.Model {
702
708
  cpu: 'number',
703
709
  cpuOptionsCore: 'number',
704
710
  cpuOptionsThreadsPerCore: 'number',
711
+ dataCacheBucket: 'string',
712
+ dataCacheBurstingEnabled: 'boolean',
713
+ dataCachePL: 'string',
714
+ dataCacheProvisionedIops: 'number',
705
715
  description: 'string',
706
716
  dnsConfigNameServers: { 'type': 'array', 'itemType': 'string' },
707
717
  dnsConfigOptions: { 'type': 'array', 'itemType': CreateEciScalingConfigurationRequestDnsConfigOptions },
@@ -2932,6 +2942,7 @@ class DescribeScalingInstancesRequest extends $tea.Model {
2932
2942
  healthStatus: 'HealthStatus',
2933
2943
  instanceIds: 'InstanceIds',
2934
2944
  lifecycleState: 'LifecycleState',
2945
+ lifecycleStates: 'LifecycleStates',
2935
2946
  ownerAccount: 'OwnerAccount',
2936
2947
  ownerId: 'OwnerId',
2937
2948
  pageNumber: 'PageNumber',
@@ -2951,6 +2962,7 @@ class DescribeScalingInstancesRequest extends $tea.Model {
2951
2962
  healthStatus: 'string',
2952
2963
  instanceIds: { 'type': 'array', 'itemType': 'string' },
2953
2964
  lifecycleState: 'string',
2965
+ lifecycleStates: { 'type': 'array', 'itemType': 'string' },
2954
2966
  ownerAccount: 'string',
2955
2967
  ownerId: 'number',
2956
2968
  pageNumber: 'number',
@@ -3311,6 +3323,7 @@ class DetachInstancesRequest extends $tea.Model {
3311
3323
  }
3312
3324
  static names() {
3313
3325
  return {
3326
+ clientToken: 'ClientToken',
3314
3327
  decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
3315
3328
  detachOption: 'DetachOption',
3316
3329
  instanceIds: 'InstanceIds',
@@ -3324,6 +3337,7 @@ class DetachInstancesRequest extends $tea.Model {
3324
3337
  }
3325
3338
  static types() {
3326
3339
  return {
3340
+ clientToken: 'string',
3327
3341
  decreaseDesiredCapacity: 'boolean',
3328
3342
  detachOption: 'string',
3329
3343
  instanceIds: { 'type': 'array', 'itemType': 'string' },
@@ -4336,6 +4350,10 @@ class ModifyEciScalingConfigurationRequest extends $tea.Model {
4336
4350
  cpu: 'Cpu',
4337
4351
  cpuOptionsCore: 'CpuOptionsCore',
4338
4352
  cpuOptionsThreadsPerCore: 'CpuOptionsThreadsPerCore',
4353
+ dataCacheBucket: 'DataCacheBucket',
4354
+ dataCacheBurstingEnabled: 'DataCacheBurstingEnabled',
4355
+ dataCachePL: 'DataCachePL',
4356
+ dataCacheProvisionedIops: 'DataCacheProvisionedIops',
4339
4357
  description: 'Description',
4340
4358
  dnsConfigNameServers: 'DnsConfigNameServers',
4341
4359
  dnsConfigOptions: 'DnsConfigOptions',
@@ -4386,6 +4404,10 @@ class ModifyEciScalingConfigurationRequest extends $tea.Model {
4386
4404
  cpu: 'number',
4387
4405
  cpuOptionsCore: 'number',
4388
4406
  cpuOptionsThreadsPerCore: 'number',
4407
+ dataCacheBucket: 'string',
4408
+ dataCacheBurstingEnabled: 'boolean',
4409
+ dataCachePL: 'string',
4410
+ dataCacheProvisionedIops: 'number',
4389
4411
  description: 'string',
4390
4412
  dnsConfigNameServers: { 'type': 'array', 'itemType': 'string' },
4391
4413
  dnsConfigOptions: { 'type': 'array', 'itemType': ModifyEciScalingConfigurationRequestDnsConfigOptions },
@@ -5281,6 +5303,7 @@ class RemoveInstancesRequest extends $tea.Model {
5281
5303
  }
5282
5304
  static names() {
5283
5305
  return {
5306
+ clientToken: 'ClientToken',
5284
5307
  decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
5285
5308
  instanceIds: 'InstanceIds',
5286
5309
  ownerAccount: 'OwnerAccount',
@@ -5294,6 +5317,7 @@ class RemoveInstancesRequest extends $tea.Model {
5294
5317
  }
5295
5318
  static types() {
5296
5319
  return {
5320
+ clientToken: 'string',
5297
5321
  decreaseDesiredCapacity: 'boolean',
5298
5322
  instanceIds: { 'type': 'array', 'itemType': 'string' },
5299
5323
  ownerAccount: 'string',
@@ -7278,12 +7302,14 @@ class CreateScalingGroupRequestTags extends $tea.Model {
7278
7302
  static names() {
7279
7303
  return {
7280
7304
  key: 'Key',
7305
+ propagate: 'Propagate',
7281
7306
  value: 'Value',
7282
7307
  };
7283
7308
  }
7284
7309
  static types() {
7285
7310
  return {
7286
7311
  key: 'string',
7312
+ propagate: 'boolean',
7287
7313
  value: 'string',
7288
7314
  };
7289
7315
  }
@@ -7865,6 +7891,8 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumes e
7865
7891
  flexVolumeDriver: 'FlexVolumeDriver',
7866
7892
  flexVolumeFsType: 'FlexVolumeFsType',
7867
7893
  flexVolumeOptions: 'FlexVolumeOptions',
7894
+ hostPathVolumePath: 'HostPathVolumePath',
7895
+ hostPathVolumeType: 'HostPathVolumeType',
7868
7896
  NFSVolumePath: 'NFSVolumePath',
7869
7897
  NFSVolumeReadOnly: 'NFSVolumeReadOnly',
7870
7898
  NFSVolumeServer: 'NFSVolumeServer',
@@ -7884,6 +7912,8 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumes e
7884
7912
  flexVolumeDriver: 'string',
7885
7913
  flexVolumeFsType: 'string',
7886
7914
  flexVolumeOptions: 'string',
7915
+ hostPathVolumePath: 'string',
7916
+ hostPathVolumeType: 'string',
7887
7917
  NFSVolumePath: 'string',
7888
7918
  NFSVolumeReadOnly: 'boolean',
7889
7919
  NFSVolumeServer: 'string',
@@ -7910,6 +7940,10 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
7910
7940
  cpuOptionsCore: 'CpuOptionsCore',
7911
7941
  cpuOptionsThreadsPerCore: 'CpuOptionsThreadsPerCore',
7912
7942
  creationTime: 'CreationTime',
7943
+ dataCacheBucket: 'DataCacheBucket',
7944
+ dataCacheBurstingEnabled: 'DataCacheBurstingEnabled',
7945
+ dataCachePL: 'DataCachePL',
7946
+ dataCacheProvisionedIops: 'DataCacheProvisionedIops',
7913
7947
  description: 'Description',
7914
7948
  dnsConfigNameServers: 'DnsConfigNameServers',
7915
7949
  dnsConfigOptions: 'DnsConfigOptions',
@@ -7961,6 +7995,10 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
7961
7995
  cpuOptionsCore: 'number',
7962
7996
  cpuOptionsThreadsPerCore: 'number',
7963
7997
  creationTime: 'string',
7998
+ dataCacheBucket: 'string',
7999
+ dataCacheBurstingEnabled: 'boolean',
8000
+ dataCachePL: 'string',
8001
+ dataCacheProvisionedIops: 'number',
7964
8002
  description: 'string',
7965
8003
  dnsConfigNameServers: { 'type': 'array', 'itemType': 'string' },
7966
8004
  dnsConfigOptions: { 'type': 'array', 'itemType': DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsDnsConfigOptions },
@@ -8529,12 +8567,14 @@ class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
8529
8567
  }
8530
8568
  static names() {
8531
8569
  return {
8570
+ propagate: 'Propagate',
8532
8571
  tagKey: 'TagKey',
8533
8572
  tagValue: 'TagValue',
8534
8573
  };
8535
8574
  }
8536
8575
  static types() {
8537
8576
  return {
8577
+ propagate: 'boolean',
8538
8578
  tagKey: 'string',
8539
8579
  tagValue: 'string',
8540
8580
  };
@@ -8725,9 +8765,11 @@ class DescribeScalingInstancesResponseBodyScalingInstances extends $tea.Model {
8725
8765
  launchTemplateVersion: 'LaunchTemplateVersion',
8726
8766
  lifecycleState: 'LifecycleState',
8727
8767
  loadBalancerWeight: 'LoadBalancerWeight',
8768
+ privateIpAddress: 'PrivateIpAddress',
8728
8769
  scalingActivityId: 'ScalingActivityId',
8729
8770
  scalingConfigurationId: 'ScalingConfigurationId',
8730
8771
  scalingGroupId: 'ScalingGroupId',
8772
+ scalingInstanceId: 'ScalingInstanceId',
8731
8773
  spotStrategy: 'SpotStrategy',
8732
8774
  warmupState: 'WarmupState',
8733
8775
  weightedCapacity: 'WeightedCapacity',
@@ -8746,9 +8788,11 @@ class DescribeScalingInstancesResponseBodyScalingInstances extends $tea.Model {
8746
8788
  launchTemplateVersion: 'string',
8747
8789
  lifecycleState: 'string',
8748
8790
  loadBalancerWeight: 'number',
8791
+ privateIpAddress: 'string',
8749
8792
  scalingActivityId: 'string',
8750
8793
  scalingConfigurationId: 'string',
8751
8794
  scalingGroupId: 'string',
8795
+ scalingInstanceId: 'string',
8752
8796
  spotStrategy: 'string',
8753
8797
  warmupState: 'string',
8754
8798
  weightedCapacity: 'number',
@@ -10454,6 +10498,9 @@ class Client extends openapi_client_1.default {
10454
10498
  async attachInstancesWithOptions(request, runtime) {
10455
10499
  tea_util_1.default.validateModel(request);
10456
10500
  let query = {};
10501
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
10502
+ query["ClientToken"] = request.clientToken;
10503
+ }
10457
10504
  if (!tea_util_1.default.isUnset(request.entrusted)) {
10458
10505
  query["Entrusted"] = request.entrusted;
10459
10506
  }
@@ -10861,6 +10908,18 @@ class Client extends openapi_client_1.default {
10861
10908
  if (!tea_util_1.default.isUnset(request.cpuOptionsThreadsPerCore)) {
10862
10909
  query["CpuOptionsThreadsPerCore"] = request.cpuOptionsThreadsPerCore;
10863
10910
  }
10911
+ if (!tea_util_1.default.isUnset(request.dataCacheBucket)) {
10912
+ query["DataCacheBucket"] = request.dataCacheBucket;
10913
+ }
10914
+ if (!tea_util_1.default.isUnset(request.dataCacheBurstingEnabled)) {
10915
+ query["DataCacheBurstingEnabled"] = request.dataCacheBurstingEnabled;
10916
+ }
10917
+ if (!tea_util_1.default.isUnset(request.dataCachePL)) {
10918
+ query["DataCachePL"] = request.dataCachePL;
10919
+ }
10920
+ if (!tea_util_1.default.isUnset(request.dataCacheProvisionedIops)) {
10921
+ query["DataCacheProvisionedIops"] = request.dataCacheProvisionedIops;
10922
+ }
10864
10923
  if (!tea_util_1.default.isUnset(request.description)) {
10865
10924
  query["Description"] = request.description;
10866
10925
  }
@@ -12637,6 +12696,9 @@ class Client extends openapi_client_1.default {
12637
12696
  if (!tea_util_1.default.isUnset(request.lifecycleState)) {
12638
12697
  query["LifecycleState"] = request.lifecycleState;
12639
12698
  }
12699
+ if (!tea_util_1.default.isUnset(request.lifecycleStates)) {
12700
+ query["LifecycleStates"] = request.lifecycleStates;
12701
+ }
12640
12702
  if (!tea_util_1.default.isUnset(request.ownerAccount)) {
12641
12703
  query["OwnerAccount"] = request.ownerAccount;
12642
12704
  }
@@ -12909,6 +12971,9 @@ class Client extends openapi_client_1.default {
12909
12971
  async detachInstancesWithOptions(request, runtime) {
12910
12972
  tea_util_1.default.validateModel(request);
12911
12973
  let query = {};
12974
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
12975
+ query["ClientToken"] = request.clientToken;
12976
+ }
12912
12977
  if (!tea_util_1.default.isUnset(request.decreaseDesiredCapacity)) {
12913
12978
  query["DecreaseDesiredCapacity"] = request.decreaseDesiredCapacity;
12914
12979
  }
@@ -13687,6 +13752,18 @@ class Client extends openapi_client_1.default {
13687
13752
  if (!tea_util_1.default.isUnset(request.cpuOptionsThreadsPerCore)) {
13688
13753
  query["CpuOptionsThreadsPerCore"] = request.cpuOptionsThreadsPerCore;
13689
13754
  }
13755
+ if (!tea_util_1.default.isUnset(request.dataCacheBucket)) {
13756
+ query["DataCacheBucket"] = request.dataCacheBucket;
13757
+ }
13758
+ if (!tea_util_1.default.isUnset(request.dataCacheBurstingEnabled)) {
13759
+ query["DataCacheBurstingEnabled"] = request.dataCacheBurstingEnabled;
13760
+ }
13761
+ if (!tea_util_1.default.isUnset(request.dataCachePL)) {
13762
+ query["DataCachePL"] = request.dataCachePL;
13763
+ }
13764
+ if (!tea_util_1.default.isUnset(request.dataCacheProvisionedIops)) {
13765
+ query["DataCacheProvisionedIops"] = request.dataCacheProvisionedIops;
13766
+ }
13690
13767
  if (!tea_util_1.default.isUnset(request.description)) {
13691
13768
  query["Description"] = request.description;
13692
13769
  }
@@ -14493,6 +14570,9 @@ class Client extends openapi_client_1.default {
14493
14570
  async removeInstancesWithOptions(request, runtime) {
14494
14571
  tea_util_1.default.validateModel(request);
14495
14572
  let query = {};
14573
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
14574
+ query["ClientToken"] = request.clientToken;
14575
+ }
14496
14576
  if (!tea_util_1.default.isUnset(request.decreaseDesiredCapacity)) {
14497
14577
  query["DecreaseDesiredCapacity"] = request.decreaseDesiredCapacity;
14498
14578
  }