@alicloud/cs20151215 3.0.21 → 3.0.22

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
@@ -20,9 +20,11 @@ export declare class Addon extends $tea.Model {
20
20
  }
21
21
  export declare class DataDisk extends $tea.Model {
22
22
  autoSnapshotPolicyId?: string;
23
+ burstingEnabled?: boolean;
23
24
  category?: string;
24
25
  encrypted?: string;
25
26
  performanceLevel?: string;
27
+ provisionedIops?: number;
26
28
  size?: number;
27
29
  static names(): {
28
30
  [key: string]: string;
@@ -49,6 +51,27 @@ export declare class MaintenanceWindow extends $tea.Model {
49
51
  [key: string]: any;
50
52
  });
51
53
  }
54
+ export declare class Nodepool extends $tea.Model {
55
+ autoScaling?: NodepoolAutoScaling;
56
+ count?: number;
57
+ interconnectConfig?: NodepoolInterconnectConfig;
58
+ interconnectMode?: string;
59
+ kubernetesConfig?: NodepoolKubernetesConfig;
60
+ management?: NodepoolManagement;
61
+ maxNodes?: number;
62
+ nodepoolInfo?: NodepoolNodepoolInfo;
63
+ scalingGroup?: NodepoolScalingGroup;
64
+ teeConfig?: NodepoolTeeConfig;
65
+ static names(): {
66
+ [key: string]: string;
67
+ };
68
+ static types(): {
69
+ [key: string]: any;
70
+ };
71
+ constructor(map?: {
72
+ [key: string]: any;
73
+ });
74
+ }
52
75
  export declare class Runtime extends $tea.Model {
53
76
  name?: string;
54
77
  version?: string;
@@ -4004,6 +4027,200 @@ export declare class UpgradeClusterNodepoolResponse extends $tea.Model {
4004
4027
  [key: string]: any;
4005
4028
  });
4006
4029
  }
4030
+ export declare class NodepoolAutoScaling extends $tea.Model {
4031
+ eipBandwidth?: number;
4032
+ eipInternetChargeType?: string;
4033
+ enable?: boolean;
4034
+ isBondEip?: boolean;
4035
+ maxInstances?: number;
4036
+ minInstances?: number;
4037
+ type?: string;
4038
+ static names(): {
4039
+ [key: string]: string;
4040
+ };
4041
+ static types(): {
4042
+ [key: string]: any;
4043
+ };
4044
+ constructor(map?: {
4045
+ [key: string]: any;
4046
+ });
4047
+ }
4048
+ export declare class NodepoolInterconnectConfig extends $tea.Model {
4049
+ bandwidth?: number;
4050
+ ccnId?: string;
4051
+ ccnRegionId?: string;
4052
+ cenId?: string;
4053
+ improvedPeriod?: string;
4054
+ static names(): {
4055
+ [key: string]: string;
4056
+ };
4057
+ static types(): {
4058
+ [key: string]: any;
4059
+ };
4060
+ constructor(map?: {
4061
+ [key: string]: any;
4062
+ });
4063
+ }
4064
+ export declare class NodepoolKubernetesConfig extends $tea.Model {
4065
+ cmsEnabled?: boolean;
4066
+ cpuPolicy?: string;
4067
+ labels?: Tag[];
4068
+ nodeNameMode?: string;
4069
+ runtime?: string;
4070
+ runtimeVersion?: string;
4071
+ taints?: Taint[];
4072
+ userData?: string;
4073
+ static names(): {
4074
+ [key: string]: string;
4075
+ };
4076
+ static types(): {
4077
+ [key: string]: any;
4078
+ };
4079
+ constructor(map?: {
4080
+ [key: string]: any;
4081
+ });
4082
+ }
4083
+ export declare class NodepoolManagementUpgradeConfig extends $tea.Model {
4084
+ autoUpgrade?: boolean;
4085
+ maxUnavailable?: number;
4086
+ surge?: number;
4087
+ surgePercentage?: number;
4088
+ static names(): {
4089
+ [key: string]: string;
4090
+ };
4091
+ static types(): {
4092
+ [key: string]: any;
4093
+ };
4094
+ constructor(map?: {
4095
+ [key: string]: any;
4096
+ });
4097
+ }
4098
+ export declare class NodepoolManagement extends $tea.Model {
4099
+ autoRepair?: boolean;
4100
+ enable?: boolean;
4101
+ upgradeConfig?: NodepoolManagementUpgradeConfig;
4102
+ static names(): {
4103
+ [key: string]: string;
4104
+ };
4105
+ static types(): {
4106
+ [key: string]: any;
4107
+ };
4108
+ constructor(map?: {
4109
+ [key: string]: any;
4110
+ });
4111
+ }
4112
+ export declare class NodepoolNodepoolInfo extends $tea.Model {
4113
+ name?: string;
4114
+ resourceGroupId?: string;
4115
+ type?: string;
4116
+ static names(): {
4117
+ [key: string]: string;
4118
+ };
4119
+ static types(): {
4120
+ [key: string]: any;
4121
+ };
4122
+ constructor(map?: {
4123
+ [key: string]: any;
4124
+ });
4125
+ }
4126
+ export declare class NodepoolScalingGroupPrivatePoolOptions extends $tea.Model {
4127
+ id?: string;
4128
+ matchCriteria?: string;
4129
+ static names(): {
4130
+ [key: string]: string;
4131
+ };
4132
+ static types(): {
4133
+ [key: string]: any;
4134
+ };
4135
+ constructor(map?: {
4136
+ [key: string]: any;
4137
+ });
4138
+ }
4139
+ export declare class NodepoolScalingGroupSpotPriceLimit extends $tea.Model {
4140
+ instanceType?: string;
4141
+ priceLimit?: string;
4142
+ static names(): {
4143
+ [key: string]: string;
4144
+ };
4145
+ static types(): {
4146
+ [key: string]: any;
4147
+ };
4148
+ constructor(map?: {
4149
+ [key: string]: any;
4150
+ });
4151
+ }
4152
+ export declare class NodepoolScalingGroupTags extends $tea.Model {
4153
+ key?: string;
4154
+ value?: string;
4155
+ static names(): {
4156
+ [key: string]: string;
4157
+ };
4158
+ static types(): {
4159
+ [key: string]: any;
4160
+ };
4161
+ constructor(map?: {
4162
+ [key: string]: any;
4163
+ });
4164
+ }
4165
+ export declare class NodepoolScalingGroup extends $tea.Model {
4166
+ autoRenew?: boolean;
4167
+ autoRenewPeriod?: number;
4168
+ compensateWithOnDemand?: boolean;
4169
+ dataDisks?: DataDisk[];
4170
+ deploymentsetId?: string;
4171
+ desiredSize?: number;
4172
+ imageId?: string;
4173
+ imageType?: string;
4174
+ instanceChargeType?: string;
4175
+ instanceTypes?: string[];
4176
+ internetChargeType?: string;
4177
+ internetMaxBandwidthOut?: number;
4178
+ keyPair?: string;
4179
+ loginPassword?: string;
4180
+ multiAzPolicy?: string;
4181
+ onDemandBaseCapacity?: number;
4182
+ onDemandPercentageAboveBaseCapacity?: number;
4183
+ period?: number;
4184
+ periodUnit?: string;
4185
+ platform?: string;
4186
+ privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
4187
+ rdsInstances?: string[];
4188
+ scalingPolicy?: string;
4189
+ securityGroupId?: string;
4190
+ securityGroupIds?: string[];
4191
+ spotInstancePools?: number;
4192
+ spotInstanceRemedy?: boolean;
4193
+ spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
4194
+ spotStrategy?: string;
4195
+ systemDiskBurstingEnabled?: boolean;
4196
+ systemDiskCategory?: string;
4197
+ systemDiskPerformanceLevel?: string;
4198
+ systemDiskProvisionedIops?: number;
4199
+ systemDiskSize?: number;
4200
+ tags?: NodepoolScalingGroupTags[];
4201
+ vswitchIds?: string[];
4202
+ static names(): {
4203
+ [key: string]: string;
4204
+ };
4205
+ static types(): {
4206
+ [key: string]: any;
4207
+ };
4208
+ constructor(map?: {
4209
+ [key: string]: any;
4210
+ });
4211
+ }
4212
+ export declare class NodepoolTeeConfig extends $tea.Model {
4213
+ teeEnable?: boolean;
4214
+ static names(): {
4215
+ [key: string]: string;
4216
+ };
4217
+ static types(): {
4218
+ [key: string]: any;
4219
+ };
4220
+ constructor(map?: {
4221
+ [key: string]: any;
4222
+ });
4223
+ }
4007
4224
  export declare class AttachInstancesResponseBodyList extends $tea.Model {
4008
4225
  code?: string;
4009
4226
  instanceId?: string;
package/dist/client.js CHANGED
@@ -46,18 +46,22 @@ class DataDisk extends $tea.Model {
46
46
  static names() {
47
47
  return {
48
48
  autoSnapshotPolicyId: 'auto_snapshot_policy_id',
49
+ burstingEnabled: 'bursting_enabled',
49
50
  category: 'category',
50
51
  encrypted: 'encrypted',
51
52
  performanceLevel: 'performance_level',
53
+ provisionedIops: 'provisioned_iops',
52
54
  size: 'size',
53
55
  };
54
56
  }
55
57
  static types() {
56
58
  return {
57
59
  autoSnapshotPolicyId: 'string',
60
+ burstingEnabled: 'boolean',
58
61
  category: 'string',
59
62
  encrypted: 'string',
60
63
  performanceLevel: 'string',
64
+ provisionedIops: 'number',
61
65
  size: 'number',
62
66
  };
63
67
  }
@@ -85,6 +89,40 @@ class MaintenanceWindow extends $tea.Model {
85
89
  }
86
90
  }
87
91
  exports.MaintenanceWindow = MaintenanceWindow;
92
+ class Nodepool extends $tea.Model {
93
+ constructor(map) {
94
+ super(map);
95
+ }
96
+ static names() {
97
+ return {
98
+ autoScaling: 'auto_scaling',
99
+ count: 'count',
100
+ interconnectConfig: 'interconnect_config',
101
+ interconnectMode: 'interconnect_mode',
102
+ kubernetesConfig: 'kubernetes_config',
103
+ management: 'management',
104
+ maxNodes: 'max_nodes',
105
+ nodepoolInfo: 'nodepool_info',
106
+ scalingGroup: 'scaling_group',
107
+ teeConfig: 'tee_config',
108
+ };
109
+ }
110
+ static types() {
111
+ return {
112
+ autoScaling: NodepoolAutoScaling,
113
+ count: 'number',
114
+ interconnectConfig: NodepoolInterconnectConfig,
115
+ interconnectMode: 'string',
116
+ kubernetesConfig: NodepoolKubernetesConfig,
117
+ management: NodepoolManagement,
118
+ maxNodes: 'number',
119
+ nodepoolInfo: NodepoolNodepoolInfo,
120
+ scalingGroup: NodepoolScalingGroup,
121
+ teeConfig: NodepoolTeeConfig,
122
+ };
123
+ }
124
+ }
125
+ exports.Nodepool = Nodepool;
88
126
  class Runtime extends $tea.Model {
89
127
  constructor(map) {
90
128
  super(map);
@@ -5471,6 +5509,306 @@ class UpgradeClusterNodepoolResponse extends $tea.Model {
5471
5509
  }
5472
5510
  }
5473
5511
  exports.UpgradeClusterNodepoolResponse = UpgradeClusterNodepoolResponse;
5512
+ class NodepoolAutoScaling extends $tea.Model {
5513
+ constructor(map) {
5514
+ super(map);
5515
+ }
5516
+ static names() {
5517
+ return {
5518
+ eipBandwidth: 'eip_bandwidth',
5519
+ eipInternetChargeType: 'eip_internet_charge_type',
5520
+ enable: 'enable',
5521
+ isBondEip: 'is_bond_eip',
5522
+ maxInstances: 'max_instances',
5523
+ minInstances: 'min_instances',
5524
+ type: 'type',
5525
+ };
5526
+ }
5527
+ static types() {
5528
+ return {
5529
+ eipBandwidth: 'number',
5530
+ eipInternetChargeType: 'string',
5531
+ enable: 'boolean',
5532
+ isBondEip: 'boolean',
5533
+ maxInstances: 'number',
5534
+ minInstances: 'number',
5535
+ type: 'string',
5536
+ };
5537
+ }
5538
+ }
5539
+ exports.NodepoolAutoScaling = NodepoolAutoScaling;
5540
+ class NodepoolInterconnectConfig extends $tea.Model {
5541
+ constructor(map) {
5542
+ super(map);
5543
+ }
5544
+ static names() {
5545
+ return {
5546
+ bandwidth: 'bandwidth',
5547
+ ccnId: 'ccn_id',
5548
+ ccnRegionId: 'ccn_region_id',
5549
+ cenId: 'cen_id',
5550
+ improvedPeriod: 'improved_period',
5551
+ };
5552
+ }
5553
+ static types() {
5554
+ return {
5555
+ bandwidth: 'number',
5556
+ ccnId: 'string',
5557
+ ccnRegionId: 'string',
5558
+ cenId: 'string',
5559
+ improvedPeriod: 'string',
5560
+ };
5561
+ }
5562
+ }
5563
+ exports.NodepoolInterconnectConfig = NodepoolInterconnectConfig;
5564
+ class NodepoolKubernetesConfig extends $tea.Model {
5565
+ constructor(map) {
5566
+ super(map);
5567
+ }
5568
+ static names() {
5569
+ return {
5570
+ cmsEnabled: 'cms_enabled',
5571
+ cpuPolicy: 'cpu_policy',
5572
+ labels: 'labels',
5573
+ nodeNameMode: 'node_name_mode',
5574
+ runtime: 'runtime',
5575
+ runtimeVersion: 'runtime_version',
5576
+ taints: 'taints',
5577
+ userData: 'user_data',
5578
+ };
5579
+ }
5580
+ static types() {
5581
+ return {
5582
+ cmsEnabled: 'boolean',
5583
+ cpuPolicy: 'string',
5584
+ labels: { 'type': 'array', 'itemType': Tag },
5585
+ nodeNameMode: 'string',
5586
+ runtime: 'string',
5587
+ runtimeVersion: 'string',
5588
+ taints: { 'type': 'array', 'itemType': Taint },
5589
+ userData: 'string',
5590
+ };
5591
+ }
5592
+ }
5593
+ exports.NodepoolKubernetesConfig = NodepoolKubernetesConfig;
5594
+ class NodepoolManagementUpgradeConfig extends $tea.Model {
5595
+ constructor(map) {
5596
+ super(map);
5597
+ }
5598
+ static names() {
5599
+ return {
5600
+ autoUpgrade: 'auto_upgrade',
5601
+ maxUnavailable: 'max_unavailable',
5602
+ surge: 'surge',
5603
+ surgePercentage: 'surge_percentage',
5604
+ };
5605
+ }
5606
+ static types() {
5607
+ return {
5608
+ autoUpgrade: 'boolean',
5609
+ maxUnavailable: 'number',
5610
+ surge: 'number',
5611
+ surgePercentage: 'number',
5612
+ };
5613
+ }
5614
+ }
5615
+ exports.NodepoolManagementUpgradeConfig = NodepoolManagementUpgradeConfig;
5616
+ class NodepoolManagement extends $tea.Model {
5617
+ constructor(map) {
5618
+ super(map);
5619
+ }
5620
+ static names() {
5621
+ return {
5622
+ autoRepair: 'auto_repair',
5623
+ enable: 'enable',
5624
+ upgradeConfig: 'upgrade_config',
5625
+ };
5626
+ }
5627
+ static types() {
5628
+ return {
5629
+ autoRepair: 'boolean',
5630
+ enable: 'boolean',
5631
+ upgradeConfig: NodepoolManagementUpgradeConfig,
5632
+ };
5633
+ }
5634
+ }
5635
+ exports.NodepoolManagement = NodepoolManagement;
5636
+ class NodepoolNodepoolInfo extends $tea.Model {
5637
+ constructor(map) {
5638
+ super(map);
5639
+ }
5640
+ static names() {
5641
+ return {
5642
+ name: 'name',
5643
+ resourceGroupId: 'resource_group_id',
5644
+ type: 'type',
5645
+ };
5646
+ }
5647
+ static types() {
5648
+ return {
5649
+ name: 'string',
5650
+ resourceGroupId: 'string',
5651
+ type: 'string',
5652
+ };
5653
+ }
5654
+ }
5655
+ exports.NodepoolNodepoolInfo = NodepoolNodepoolInfo;
5656
+ class NodepoolScalingGroupPrivatePoolOptions extends $tea.Model {
5657
+ constructor(map) {
5658
+ super(map);
5659
+ }
5660
+ static names() {
5661
+ return {
5662
+ id: 'id',
5663
+ matchCriteria: 'match_criteria',
5664
+ };
5665
+ }
5666
+ static types() {
5667
+ return {
5668
+ id: 'string',
5669
+ matchCriteria: 'string',
5670
+ };
5671
+ }
5672
+ }
5673
+ exports.NodepoolScalingGroupPrivatePoolOptions = NodepoolScalingGroupPrivatePoolOptions;
5674
+ class NodepoolScalingGroupSpotPriceLimit extends $tea.Model {
5675
+ constructor(map) {
5676
+ super(map);
5677
+ }
5678
+ static names() {
5679
+ return {
5680
+ instanceType: 'instance_type',
5681
+ priceLimit: 'price_limit',
5682
+ };
5683
+ }
5684
+ static types() {
5685
+ return {
5686
+ instanceType: 'string',
5687
+ priceLimit: 'string',
5688
+ };
5689
+ }
5690
+ }
5691
+ exports.NodepoolScalingGroupSpotPriceLimit = NodepoolScalingGroupSpotPriceLimit;
5692
+ class NodepoolScalingGroupTags extends $tea.Model {
5693
+ constructor(map) {
5694
+ super(map);
5695
+ }
5696
+ static names() {
5697
+ return {
5698
+ key: 'key',
5699
+ value: 'value',
5700
+ };
5701
+ }
5702
+ static types() {
5703
+ return {
5704
+ key: 'string',
5705
+ value: 'string',
5706
+ };
5707
+ }
5708
+ }
5709
+ exports.NodepoolScalingGroupTags = NodepoolScalingGroupTags;
5710
+ class NodepoolScalingGroup extends $tea.Model {
5711
+ constructor(map) {
5712
+ super(map);
5713
+ }
5714
+ static names() {
5715
+ return {
5716
+ autoRenew: 'auto_renew',
5717
+ autoRenewPeriod: 'auto_renew_period',
5718
+ compensateWithOnDemand: 'compensate_with_on_demand',
5719
+ dataDisks: 'data_disks',
5720
+ deploymentsetId: 'deploymentset_id',
5721
+ desiredSize: 'desired_size',
5722
+ imageId: 'image_id',
5723
+ imageType: 'image_type',
5724
+ instanceChargeType: 'instance_charge_type',
5725
+ instanceTypes: 'instance_types',
5726
+ internetChargeType: 'internet_charge_type',
5727
+ internetMaxBandwidthOut: 'internet_max_bandwidth_out',
5728
+ keyPair: 'key_pair',
5729
+ loginPassword: 'login_password',
5730
+ multiAzPolicy: 'multi_az_policy',
5731
+ onDemandBaseCapacity: 'on_demand_base_capacity',
5732
+ onDemandPercentageAboveBaseCapacity: 'on_demand_percentage_above_base_capacity',
5733
+ period: 'period',
5734
+ periodUnit: 'period_unit',
5735
+ platform: 'platform',
5736
+ privatePoolOptions: 'private_pool_options',
5737
+ rdsInstances: 'rds_instances',
5738
+ scalingPolicy: 'scaling_policy',
5739
+ securityGroupId: 'security_group_id',
5740
+ securityGroupIds: 'security_group_ids',
5741
+ spotInstancePools: 'spot_instance_pools',
5742
+ spotInstanceRemedy: 'spot_instance_remedy',
5743
+ spotPriceLimit: 'spot_price_limit',
5744
+ spotStrategy: 'spot_strategy',
5745
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
5746
+ systemDiskCategory: 'system_disk_category',
5747
+ systemDiskPerformanceLevel: 'system_disk_performance_level',
5748
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
5749
+ systemDiskSize: 'system_disk_size',
5750
+ tags: 'tags',
5751
+ vswitchIds: 'vswitch_ids',
5752
+ };
5753
+ }
5754
+ static types() {
5755
+ return {
5756
+ autoRenew: 'boolean',
5757
+ autoRenewPeriod: 'number',
5758
+ compensateWithOnDemand: 'boolean',
5759
+ dataDisks: { 'type': 'array', 'itemType': DataDisk },
5760
+ deploymentsetId: 'string',
5761
+ desiredSize: 'number',
5762
+ imageId: 'string',
5763
+ imageType: 'string',
5764
+ instanceChargeType: 'string',
5765
+ instanceTypes: { 'type': 'array', 'itemType': 'string' },
5766
+ internetChargeType: 'string',
5767
+ internetMaxBandwidthOut: 'number',
5768
+ keyPair: 'string',
5769
+ loginPassword: 'string',
5770
+ multiAzPolicy: 'string',
5771
+ onDemandBaseCapacity: 'number',
5772
+ onDemandPercentageAboveBaseCapacity: 'number',
5773
+ period: 'number',
5774
+ periodUnit: 'string',
5775
+ platform: 'string',
5776
+ privatePoolOptions: NodepoolScalingGroupPrivatePoolOptions,
5777
+ rdsInstances: { 'type': 'array', 'itemType': 'string' },
5778
+ scalingPolicy: 'string',
5779
+ securityGroupId: 'string',
5780
+ securityGroupIds: { 'type': 'array', 'itemType': 'string' },
5781
+ spotInstancePools: 'number',
5782
+ spotInstanceRemedy: 'boolean',
5783
+ spotPriceLimit: { 'type': 'array', 'itemType': NodepoolScalingGroupSpotPriceLimit },
5784
+ spotStrategy: 'string',
5785
+ systemDiskBurstingEnabled: 'boolean',
5786
+ systemDiskCategory: 'string',
5787
+ systemDiskPerformanceLevel: 'string',
5788
+ systemDiskProvisionedIops: 'number',
5789
+ systemDiskSize: 'number',
5790
+ tags: { 'type': 'array', 'itemType': NodepoolScalingGroupTags },
5791
+ vswitchIds: { 'type': 'array', 'itemType': 'string' },
5792
+ };
5793
+ }
5794
+ }
5795
+ exports.NodepoolScalingGroup = NodepoolScalingGroup;
5796
+ class NodepoolTeeConfig extends $tea.Model {
5797
+ constructor(map) {
5798
+ super(map);
5799
+ }
5800
+ static names() {
5801
+ return {
5802
+ teeEnable: 'tee_enable',
5803
+ };
5804
+ }
5805
+ static types() {
5806
+ return {
5807
+ teeEnable: 'boolean',
5808
+ };
5809
+ }
5810
+ }
5811
+ exports.NodepoolTeeConfig = NodepoolTeeConfig;
5474
5812
  class AttachInstancesResponseBodyList extends $tea.Model {
5475
5813
  constructor(map) {
5476
5814
  super(map);