@alicloud/ess20220222 1.2.0 → 1.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ess20220222",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1366,6 +1366,7 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
1366
1366
  keyPairName?: string;
1367
1367
  loadBalancerWeight?: number;
1368
1368
  memory?: number;
1369
+ networkInterfaces?: CreateScalingConfigurationRequestNetworkInterfaces[];
1369
1370
  ownerAccount?: string;
1370
1371
  ownerId?: number;
1371
1372
  password?: string;
@@ -1423,6 +1424,7 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
1423
1424
  keyPairName: 'KeyPairName',
1424
1425
  loadBalancerWeight: 'LoadBalancerWeight',
1425
1426
  memory: 'Memory',
1427
+ networkInterfaces: 'NetworkInterfaces',
1426
1428
  ownerAccount: 'OwnerAccount',
1427
1429
  ownerId: 'OwnerId',
1428
1430
  password: 'Password',
@@ -1483,6 +1485,7 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
1483
1485
  keyPairName: 'string',
1484
1486
  loadBalancerWeight: 'number',
1485
1487
  memory: 'number',
1488
+ networkInterfaces: { 'type': 'array', 'itemType': CreateScalingConfigurationRequestNetworkInterfaces },
1486
1489
  ownerAccount: 'string',
1487
1490
  ownerId: 'number',
1488
1491
  password: 'string',
@@ -1547,6 +1550,7 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
1547
1550
  keyPairName?: string;
1548
1551
  loadBalancerWeight?: number;
1549
1552
  memory?: number;
1553
+ networkInterfaces?: CreateScalingConfigurationShrinkRequestNetworkInterfaces[];
1550
1554
  ownerAccount?: string;
1551
1555
  ownerId?: number;
1552
1556
  password?: string;
@@ -1604,6 +1608,7 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
1604
1608
  keyPairName: 'KeyPairName',
1605
1609
  loadBalancerWeight: 'LoadBalancerWeight',
1606
1610
  memory: 'Memory',
1611
+ networkInterfaces: 'NetworkInterfaces',
1607
1612
  ownerAccount: 'OwnerAccount',
1608
1613
  ownerId: 'OwnerId',
1609
1614
  password: 'Password',
@@ -1664,6 +1669,7 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
1664
1669
  keyPairName: 'string',
1665
1670
  loadBalancerWeight: 'number',
1666
1671
  memory: 'number',
1672
+ networkInterfaces: { 'type': 'array', 'itemType': CreateScalingConfigurationShrinkRequestNetworkInterfaces },
1667
1673
  ownerAccount: 'string',
1668
1674
  ownerId: 'number',
1669
1675
  password: 'string',
@@ -6440,6 +6446,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
6440
6446
  keyPairName?: string;
6441
6447
  loadBalancerWeight?: number;
6442
6448
  memory?: number;
6449
+ networkInterfaces?: ModifyScalingConfigurationRequestNetworkInterfaces[];
6443
6450
  override?: boolean;
6444
6451
  ownerAccount?: string;
6445
6452
  ownerId?: number;
@@ -6493,6 +6500,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
6493
6500
  keyPairName: 'KeyPairName',
6494
6501
  loadBalancerWeight: 'LoadBalancerWeight',
6495
6502
  memory: 'Memory',
6503
+ networkInterfaces: 'NetworkInterfaces',
6496
6504
  override: 'Override',
6497
6505
  ownerAccount: 'OwnerAccount',
6498
6506
  ownerId: 'OwnerId',
@@ -6549,6 +6557,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
6549
6557
  keyPairName: 'string',
6550
6558
  loadBalancerWeight: 'number',
6551
6559
  memory: 'number',
6560
+ networkInterfaces: { 'type': 'array', 'itemType': ModifyScalingConfigurationRequestNetworkInterfaces },
6552
6561
  override: 'boolean',
6553
6562
  ownerAccount: 'string',
6554
6563
  ownerId: 'number',
@@ -6609,6 +6618,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
6609
6618
  keyPairName?: string;
6610
6619
  loadBalancerWeight?: number;
6611
6620
  memory?: number;
6621
+ networkInterfaces?: ModifyScalingConfigurationShrinkRequestNetworkInterfaces[];
6612
6622
  override?: boolean;
6613
6623
  ownerAccount?: string;
6614
6624
  ownerId?: number;
@@ -6662,6 +6672,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
6662
6672
  keyPairName: 'KeyPairName',
6663
6673
  loadBalancerWeight: 'LoadBalancerWeight',
6664
6674
  memory: 'Memory',
6675
+ networkInterfaces: 'NetworkInterfaces',
6665
6676
  override: 'Override',
6666
6677
  ownerAccount: 'OwnerAccount',
6667
6678
  ownerId: 'OwnerId',
@@ -6718,6 +6729,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
6718
6729
  keyPairName: 'string',
6719
6730
  loadBalancerWeight: 'number',
6720
6731
  memory: 'number',
6732
+ networkInterfaces: { 'type': 'array', 'itemType': ModifyScalingConfigurationShrinkRequestNetworkInterfaces },
6721
6733
  override: 'boolean',
6722
6734
  ownerAccount: 'string',
6723
6735
  ownerId: 'number',
@@ -9628,6 +9640,34 @@ export class CreateScalingConfigurationRequestInstanceTypeOverrides extends $tea
9628
9640
  }
9629
9641
  }
9630
9642
 
9643
+ export class CreateScalingConfigurationRequestNetworkInterfaces extends $tea.Model {
9644
+ instanceType?: string;
9645
+ ipv6AddressCount?: number;
9646
+ networkInterfaceTrafficMode?: string;
9647
+ securityGroupIds?: string[];
9648
+ static names(): { [key: string]: string } {
9649
+ return {
9650
+ instanceType: 'InstanceType',
9651
+ ipv6AddressCount: 'Ipv6AddressCount',
9652
+ networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
9653
+ securityGroupIds: 'SecurityGroupIds',
9654
+ };
9655
+ }
9656
+
9657
+ static types(): { [key: string]: any } {
9658
+ return {
9659
+ instanceType: 'string',
9660
+ ipv6AddressCount: 'number',
9661
+ networkInterfaceTrafficMode: 'string',
9662
+ securityGroupIds: { 'type': 'array', 'itemType': 'string' },
9663
+ };
9664
+ }
9665
+
9666
+ constructor(map?: { [key: string]: any }) {
9667
+ super(map);
9668
+ }
9669
+ }
9670
+
9631
9671
  export class CreateScalingConfigurationRequestSpotPriceLimits extends $tea.Model {
9632
9672
  instanceType?: string;
9633
9673
  priceLimit?: number;
@@ -9879,6 +9919,34 @@ export class CreateScalingConfigurationShrinkRequestInstanceTypeOverrides extend
9879
9919
  }
9880
9920
  }
9881
9921
 
9922
+ export class CreateScalingConfigurationShrinkRequestNetworkInterfaces extends $tea.Model {
9923
+ instanceType?: string;
9924
+ ipv6AddressCount?: number;
9925
+ networkInterfaceTrafficMode?: string;
9926
+ securityGroupIds?: string[];
9927
+ static names(): { [key: string]: string } {
9928
+ return {
9929
+ instanceType: 'InstanceType',
9930
+ ipv6AddressCount: 'Ipv6AddressCount',
9931
+ networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
9932
+ securityGroupIds: 'SecurityGroupIds',
9933
+ };
9934
+ }
9935
+
9936
+ static types(): { [key: string]: any } {
9937
+ return {
9938
+ instanceType: 'string',
9939
+ ipv6AddressCount: 'number',
9940
+ networkInterfaceTrafficMode: 'string',
9941
+ securityGroupIds: { 'type': 'array', 'itemType': 'string' },
9942
+ };
9943
+ }
9944
+
9945
+ constructor(map?: { [key: string]: any }) {
9946
+ super(map);
9947
+ }
9948
+ }
9949
+
9882
9950
  export class CreateScalingConfigurationShrinkRequestSpotPriceLimits extends $tea.Model {
9883
9951
  instanceType?: string;
9884
9952
  priceLimit?: number;
@@ -12240,6 +12308,34 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInsta
12240
12308
  }
12241
12309
  }
12242
12310
 
12311
+ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetworkInterfaces extends $tea.Model {
12312
+ instanceType?: string;
12313
+ ipv6AddressCount?: number;
12314
+ networkInterfaceTrafficMode?: string;
12315
+ securityGroupIds?: string[];
12316
+ static names(): { [key: string]: string } {
12317
+ return {
12318
+ instanceType: 'InstanceType',
12319
+ ipv6AddressCount: 'Ipv6AddressCount',
12320
+ networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
12321
+ securityGroupIds: 'SecurityGroupIds',
12322
+ };
12323
+ }
12324
+
12325
+ static types(): { [key: string]: any } {
12326
+ return {
12327
+ instanceType: 'string',
12328
+ ipv6AddressCount: 'number',
12329
+ networkInterfaceTrafficMode: 'string',
12330
+ securityGroupIds: { 'type': 'array', 'itemType': 'string' },
12331
+ };
12332
+ }
12333
+
12334
+ constructor(map?: { [key: string]: any }) {
12335
+ super(map);
12336
+ }
12337
+ }
12338
+
12243
12339
  export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSchedulerOptions extends $tea.Model {
12244
12340
  managedPrivateSpaceId?: string;
12245
12341
  static names(): { [key: string]: string } {
@@ -12335,6 +12431,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
12335
12431
  lifecycleState?: string;
12336
12432
  loadBalancerWeight?: number;
12337
12433
  memory?: number;
12434
+ networkInterfaces?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetworkInterfaces[];
12338
12435
  passwordInherit?: boolean;
12339
12436
  privatePoolOptions_id?: string;
12340
12437
  privatePoolOptions_matchCriteria?: string;
@@ -12403,6 +12500,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
12403
12500
  lifecycleState: 'LifecycleState',
12404
12501
  loadBalancerWeight: 'LoadBalancerWeight',
12405
12502
  memory: 'Memory',
12503
+ networkInterfaces: 'NetworkInterfaces',
12406
12504
  passwordInherit: 'PasswordInherit',
12407
12505
  privatePoolOptions_id: 'PrivatePoolOptions.Id',
12408
12506
  privatePoolOptions_matchCriteria: 'PrivatePoolOptions.MatchCriteria',
@@ -12474,6 +12572,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
12474
12572
  lifecycleState: 'string',
12475
12573
  loadBalancerWeight: 'number',
12476
12574
  memory: 'number',
12575
+ networkInterfaces: { 'type': 'array', 'itemType': DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetworkInterfaces },
12477
12576
  passwordInherit: 'boolean',
12478
12577
  privatePoolOptions_id: 'string',
12479
12578
  privatePoolOptions_matchCriteria: 'string',
@@ -15034,6 +15133,34 @@ export class ModifyScalingConfigurationRequestInstanceTypeOverrides extends $tea
15034
15133
  }
15035
15134
  }
15036
15135
 
15136
+ export class ModifyScalingConfigurationRequestNetworkInterfaces extends $tea.Model {
15137
+ instanceType?: string;
15138
+ ipv6AddressCount?: number;
15139
+ networkInterfaceTrafficMode?: string;
15140
+ securityGroupIds?: string[];
15141
+ static names(): { [key: string]: string } {
15142
+ return {
15143
+ instanceType: 'InstanceType',
15144
+ ipv6AddressCount: 'Ipv6AddressCount',
15145
+ networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
15146
+ securityGroupIds: 'SecurityGroupIds',
15147
+ };
15148
+ }
15149
+
15150
+ static types(): { [key: string]: any } {
15151
+ return {
15152
+ instanceType: 'string',
15153
+ ipv6AddressCount: 'number',
15154
+ networkInterfaceTrafficMode: 'string',
15155
+ securityGroupIds: { 'type': 'array', 'itemType': 'string' },
15156
+ };
15157
+ }
15158
+
15159
+ constructor(map?: { [key: string]: any }) {
15160
+ super(map);
15161
+ }
15162
+ }
15163
+
15037
15164
  export class ModifyScalingConfigurationRequestSpotPriceLimits extends $tea.Model {
15038
15165
  instanceType?: string;
15039
15166
  priceLimit?: number;
@@ -15285,6 +15412,34 @@ export class ModifyScalingConfigurationShrinkRequestInstanceTypeOverrides extend
15285
15412
  }
15286
15413
  }
15287
15414
 
15415
+ export class ModifyScalingConfigurationShrinkRequestNetworkInterfaces extends $tea.Model {
15416
+ instanceType?: string;
15417
+ ipv6AddressCount?: number;
15418
+ networkInterfaceTrafficMode?: string;
15419
+ securityGroupIds?: string[];
15420
+ static names(): { [key: string]: string } {
15421
+ return {
15422
+ instanceType: 'InstanceType',
15423
+ ipv6AddressCount: 'Ipv6AddressCount',
15424
+ networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
15425
+ securityGroupIds: 'SecurityGroupIds',
15426
+ };
15427
+ }
15428
+
15429
+ static types(): { [key: string]: any } {
15430
+ return {
15431
+ instanceType: 'string',
15432
+ ipv6AddressCount: 'number',
15433
+ networkInterfaceTrafficMode: 'string',
15434
+ securityGroupIds: { 'type': 'array', 'itemType': 'string' },
15435
+ };
15436
+ }
15437
+
15438
+ constructor(map?: { [key: string]: any }) {
15439
+ super(map);
15440
+ }
15441
+ }
15442
+
15288
15443
  export class ModifyScalingConfigurationShrinkRequestSpotPriceLimits extends $tea.Model {
15289
15444
  instanceType?: string;
15290
15445
  priceLimit?: number;
@@ -16879,6 +17034,10 @@ export default class Client extends OpenApi {
16879
17034
  query["Memory"] = request.memory;
16880
17035
  }
16881
17036
 
17037
+ if (!Util.isUnset(request.networkInterfaces)) {
17038
+ query["NetworkInterfaces"] = request.networkInterfaces;
17039
+ }
17040
+
16882
17041
  if (!Util.isUnset(request.ownerAccount)) {
16883
17042
  query["OwnerAccount"] = request.ownerAccount;
16884
17043
  }
@@ -20618,6 +20777,10 @@ export default class Client extends OpenApi {
20618
20777
  query["Memory"] = request.memory;
20619
20778
  }
20620
20779
 
20780
+ if (!Util.isUnset(request.networkInterfaces)) {
20781
+ query["NetworkInterfaces"] = request.networkInterfaces;
20782
+ }
20783
+
20621
20784
  if (!Util.isUnset(request.override)) {
20622
20785
  query["Override"] = request.override;
20623
20786
  }