@alicloud/cs20151215 3.1.2 → 3.2.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/src/client.ts CHANGED
@@ -43,6 +43,7 @@ export class DataDisk extends $tea.Model {
43
43
  category?: string;
44
44
  encrypted?: string;
45
45
  fileSystem?: string;
46
+ kmsKeyId?: string;
46
47
  mountTarget?: string;
47
48
  performanceLevel?: string;
48
49
  provisionedIops?: number;
@@ -55,6 +56,7 @@ export class DataDisk extends $tea.Model {
55
56
  category: 'category',
56
57
  encrypted: 'encrypted',
57
58
  fileSystem: 'file_system',
59
+ kmsKeyId: 'kms_key_id',
58
60
  mountTarget: 'mount_target',
59
61
  performanceLevel: 'performance_level',
60
62
  provisionedIops: 'provisioned_iops',
@@ -70,6 +72,7 @@ export class DataDisk extends $tea.Model {
70
72
  category: 'string',
71
73
  encrypted: 'string',
72
74
  fileSystem: 'string',
75
+ kmsKeyId: 'string',
73
76
  mountTarget: 'string',
74
77
  performanceLevel: 'string',
75
78
  provisionedIops: 'number',
@@ -191,6 +194,7 @@ export class Nodepool extends $tea.Model {
191
194
  kubernetesConfig?: NodepoolKubernetesConfig;
192
195
  management?: NodepoolManagement;
193
196
  maxNodes?: number;
197
+ nodeConfig?: NodepoolNodeConfig;
194
198
  nodepoolInfo?: NodepoolNodepoolInfo;
195
199
  scalingGroup?: NodepoolScalingGroup;
196
200
  teeConfig?: NodepoolTeeConfig;
@@ -203,6 +207,7 @@ export class Nodepool extends $tea.Model {
203
207
  kubernetesConfig: 'kubernetes_config',
204
208
  management: 'management',
205
209
  maxNodes: 'max_nodes',
210
+ nodeConfig: 'node_config',
206
211
  nodepoolInfo: 'nodepool_info',
207
212
  scalingGroup: 'scaling_group',
208
213
  teeConfig: 'tee_config',
@@ -218,6 +223,7 @@ export class Nodepool extends $tea.Model {
218
223
  kubernetesConfig: NodepoolKubernetesConfig,
219
224
  management: NodepoolManagement,
220
225
  maxNodes: 'number',
226
+ nodeConfig: NodepoolNodeConfig,
221
227
  nodepoolInfo: NodepoolNodepoolInfo,
222
228
  scalingGroup: NodepoolScalingGroup,
223
229
  teeConfig: NodepoolTeeConfig,
@@ -578,6 +584,50 @@ export class CancelComponentUpgradeResponse extends $tea.Model {
578
584
  }
579
585
  }
580
586
 
587
+ export class CancelOperationPlanResponseBody extends $tea.Model {
588
+ requestId?: string;
589
+ static names(): { [key: string]: string } {
590
+ return {
591
+ requestId: 'requestId',
592
+ };
593
+ }
594
+
595
+ static types(): { [key: string]: any } {
596
+ return {
597
+ requestId: 'string',
598
+ };
599
+ }
600
+
601
+ constructor(map?: { [key: string]: any }) {
602
+ super(map);
603
+ }
604
+ }
605
+
606
+ export class CancelOperationPlanResponse extends $tea.Model {
607
+ headers: { [key: string]: string };
608
+ statusCode: number;
609
+ body: CancelOperationPlanResponseBody;
610
+ static names(): { [key: string]: string } {
611
+ return {
612
+ headers: 'headers',
613
+ statusCode: 'statusCode',
614
+ body: 'body',
615
+ };
616
+ }
617
+
618
+ static types(): { [key: string]: any } {
619
+ return {
620
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
621
+ statusCode: 'number',
622
+ body: CancelOperationPlanResponseBody,
623
+ };
624
+ }
625
+
626
+ constructor(map?: { [key: string]: any }) {
627
+ super(map);
628
+ }
629
+ }
630
+
581
631
  export class CancelTaskResponse extends $tea.Model {
582
632
  headers: { [key: string]: string };
583
633
  statusCode: number;
@@ -1118,6 +1168,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
1118
1168
  kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
1119
1169
  management?: CreateClusterNodePoolRequestManagement;
1120
1170
  maxNodes?: number;
1171
+ nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
1121
1172
  nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
1122
1173
  scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
1123
1174
  teeConfig?: CreateClusterNodePoolRequestTeeConfig;
@@ -1130,6 +1181,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
1130
1181
  kubernetesConfig: 'kubernetes_config',
1131
1182
  management: 'management',
1132
1183
  maxNodes: 'max_nodes',
1184
+ nodeConfig: 'node_config',
1133
1185
  nodepoolInfo: 'nodepool_info',
1134
1186
  scalingGroup: 'scaling_group',
1135
1187
  teeConfig: 'tee_config',
@@ -1145,6 +1197,7 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
1145
1197
  kubernetesConfig: CreateClusterNodePoolRequestKubernetesConfig,
1146
1198
  management: CreateClusterNodePoolRequestManagement,
1147
1199
  maxNodes: 'number',
1200
+ nodeConfig: CreateClusterNodePoolRequestNodeConfig,
1148
1201
  nodepoolInfo: CreateClusterNodePoolRequestNodepoolInfo,
1149
1202
  scalingGroup: CreateClusterNodePoolRequestScalingGroup,
1150
1203
  teeConfig: CreateClusterNodePoolRequestTeeConfig,
@@ -1677,15 +1730,18 @@ export class DeleteClusterNodepoolRequest extends $tea.Model {
1677
1730
 
1678
1731
  export class DeleteClusterNodepoolResponseBody extends $tea.Model {
1679
1732
  requestId?: string;
1733
+ taskId?: string;
1680
1734
  static names(): { [key: string]: string } {
1681
1735
  return {
1682
1736
  requestId: 'request_id',
1737
+ taskId: 'task_id',
1683
1738
  };
1684
1739
  }
1685
1740
 
1686
1741
  static types(): { [key: string]: any } {
1687
1742
  return {
1688
1743
  requestId: 'string',
1744
+ taskId: 'string',
1689
1745
  };
1690
1746
  }
1691
1747
 
@@ -4655,6 +4711,62 @@ export class FixNodePoolVulsResponse extends $tea.Model {
4655
4711
  }
4656
4712
  }
4657
4713
 
4714
+ export class GetClusterAddonInstanceResponseBody extends $tea.Model {
4715
+ config?: string;
4716
+ logging?: GetClusterAddonInstanceResponseBodyLogging;
4717
+ name?: string;
4718
+ state?: string;
4719
+ version?: string;
4720
+ static names(): { [key: string]: string } {
4721
+ return {
4722
+ config: 'config',
4723
+ logging: 'logging',
4724
+ name: 'name',
4725
+ state: 'state',
4726
+ version: 'version',
4727
+ };
4728
+ }
4729
+
4730
+ static types(): { [key: string]: any } {
4731
+ return {
4732
+ config: 'string',
4733
+ logging: GetClusterAddonInstanceResponseBodyLogging,
4734
+ name: 'string',
4735
+ state: 'string',
4736
+ version: 'string',
4737
+ };
4738
+ }
4739
+
4740
+ constructor(map?: { [key: string]: any }) {
4741
+ super(map);
4742
+ }
4743
+ }
4744
+
4745
+ export class GetClusterAddonInstanceResponse extends $tea.Model {
4746
+ headers: { [key: string]: string };
4747
+ statusCode: number;
4748
+ body: GetClusterAddonInstanceResponseBody;
4749
+ static names(): { [key: string]: string } {
4750
+ return {
4751
+ headers: 'headers',
4752
+ statusCode: 'statusCode',
4753
+ body: 'body',
4754
+ };
4755
+ }
4756
+
4757
+ static types(): { [key: string]: any } {
4758
+ return {
4759
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4760
+ statusCode: 'number',
4761
+ body: GetClusterAddonInstanceResponseBody,
4762
+ };
4763
+ }
4764
+
4765
+ constructor(map?: { [key: string]: any }) {
4766
+ super(map);
4767
+ }
4768
+ }
4769
+
4658
4770
  export class GetClusterCheckResponseBody extends $tea.Model {
4659
4771
  checkId?: string;
4660
4772
  checkItems?: { [key: string]: {[key: string ]: any}[] };
@@ -4908,6 +5020,128 @@ export class InstallClusterAddonsResponse extends $tea.Model {
4908
5020
  }
4909
5021
  }
4910
5022
 
5023
+ export class ListAddonsRequest extends $tea.Model {
5024
+ clusterId?: string;
5025
+ clusterSpec?: string;
5026
+ clusterType?: string;
5027
+ clusterVersion?: string;
5028
+ profile?: string;
5029
+ regionId?: string;
5030
+ static names(): { [key: string]: string } {
5031
+ return {
5032
+ clusterId: 'cluster_id',
5033
+ clusterSpec: 'cluster_spec',
5034
+ clusterType: 'cluster_type',
5035
+ clusterVersion: 'cluster_version',
5036
+ profile: 'profile',
5037
+ regionId: 'region_id',
5038
+ };
5039
+ }
5040
+
5041
+ static types(): { [key: string]: any } {
5042
+ return {
5043
+ clusterId: 'string',
5044
+ clusterSpec: 'string',
5045
+ clusterType: 'string',
5046
+ clusterVersion: 'string',
5047
+ profile: 'string',
5048
+ regionId: 'string',
5049
+ };
5050
+ }
5051
+
5052
+ constructor(map?: { [key: string]: any }) {
5053
+ super(map);
5054
+ }
5055
+ }
5056
+
5057
+ export class ListAddonsResponseBody extends $tea.Model {
5058
+ addons?: ListAddonsResponseBodyAddons[];
5059
+ static names(): { [key: string]: string } {
5060
+ return {
5061
+ addons: 'addons',
5062
+ };
5063
+ }
5064
+
5065
+ static types(): { [key: string]: any } {
5066
+ return {
5067
+ addons: { 'type': 'array', 'itemType': ListAddonsResponseBodyAddons },
5068
+ };
5069
+ }
5070
+
5071
+ constructor(map?: { [key: string]: any }) {
5072
+ super(map);
5073
+ }
5074
+ }
5075
+
5076
+ export class ListAddonsResponse extends $tea.Model {
5077
+ headers: { [key: string]: string };
5078
+ statusCode: number;
5079
+ body: ListAddonsResponseBody;
5080
+ static names(): { [key: string]: string } {
5081
+ return {
5082
+ headers: 'headers',
5083
+ statusCode: 'statusCode',
5084
+ body: 'body',
5085
+ };
5086
+ }
5087
+
5088
+ static types(): { [key: string]: any } {
5089
+ return {
5090
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5091
+ statusCode: 'number',
5092
+ body: ListAddonsResponseBody,
5093
+ };
5094
+ }
5095
+
5096
+ constructor(map?: { [key: string]: any }) {
5097
+ super(map);
5098
+ }
5099
+ }
5100
+
5101
+ export class ListClusterAddonInstancesResponseBody extends $tea.Model {
5102
+ addons?: ListClusterAddonInstancesResponseBodyAddons[];
5103
+ static names(): { [key: string]: string } {
5104
+ return {
5105
+ addons: 'addons',
5106
+ };
5107
+ }
5108
+
5109
+ static types(): { [key: string]: any } {
5110
+ return {
5111
+ addons: { 'type': 'array', 'itemType': ListClusterAddonInstancesResponseBodyAddons },
5112
+ };
5113
+ }
5114
+
5115
+ constructor(map?: { [key: string]: any }) {
5116
+ super(map);
5117
+ }
5118
+ }
5119
+
5120
+ export class ListClusterAddonInstancesResponse extends $tea.Model {
5121
+ headers: { [key: string]: string };
5122
+ statusCode: number;
5123
+ body: ListClusterAddonInstancesResponseBody;
5124
+ static names(): { [key: string]: string } {
5125
+ return {
5126
+ headers: 'headers',
5127
+ statusCode: 'statusCode',
5128
+ body: 'body',
5129
+ };
5130
+ }
5131
+
5132
+ static types(): { [key: string]: any } {
5133
+ return {
5134
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5135
+ statusCode: 'number',
5136
+ body: ListClusterAddonInstancesResponseBody,
5137
+ };
5138
+ }
5139
+
5140
+ constructor(map?: { [key: string]: any }) {
5141
+ super(map);
5142
+ }
5143
+ }
5144
+
4911
5145
  export class ListClusterChecksRequest extends $tea.Model {
4912
5146
  type?: string;
4913
5147
  static names(): { [key: string]: string } {
@@ -7395,6 +7629,66 @@ export class NodepoolKubernetesConfig extends $tea.Model {
7395
7629
  }
7396
7630
  }
7397
7631
 
7632
+ export class NodepoolManagementAutoRepairPolicy extends $tea.Model {
7633
+ restartNode?: boolean;
7634
+ static names(): { [key: string]: string } {
7635
+ return {
7636
+ restartNode: 'restart_node',
7637
+ };
7638
+ }
7639
+
7640
+ static types(): { [key: string]: any } {
7641
+ return {
7642
+ restartNode: 'boolean',
7643
+ };
7644
+ }
7645
+
7646
+ constructor(map?: { [key: string]: any }) {
7647
+ super(map);
7648
+ }
7649
+ }
7650
+
7651
+ export class NodepoolManagementAutoUpgradePolicy extends $tea.Model {
7652
+ autoUpgradeKubelet?: boolean;
7653
+ static names(): { [key: string]: string } {
7654
+ return {
7655
+ autoUpgradeKubelet: 'auto_upgrade_kubelet',
7656
+ };
7657
+ }
7658
+
7659
+ static types(): { [key: string]: any } {
7660
+ return {
7661
+ autoUpgradeKubelet: 'boolean',
7662
+ };
7663
+ }
7664
+
7665
+ constructor(map?: { [key: string]: any }) {
7666
+ super(map);
7667
+ }
7668
+ }
7669
+
7670
+ export class NodepoolManagementAutoVulFixPolicy extends $tea.Model {
7671
+ restartNode?: boolean;
7672
+ vulLevel?: string;
7673
+ static names(): { [key: string]: string } {
7674
+ return {
7675
+ restartNode: 'restart_node',
7676
+ vulLevel: 'vul_level',
7677
+ };
7678
+ }
7679
+
7680
+ static types(): { [key: string]: any } {
7681
+ return {
7682
+ restartNode: 'boolean',
7683
+ vulLevel: 'string',
7684
+ };
7685
+ }
7686
+
7687
+ constructor(map?: { [key: string]: any }) {
7688
+ super(map);
7689
+ }
7690
+ }
7691
+
7398
7692
  export class NodepoolManagementUpgradeConfig extends $tea.Model {
7399
7693
  autoUpgrade?: boolean;
7400
7694
  maxUnavailable?: number;
@@ -7412,9 +7706,49 @@ export class NodepoolManagementUpgradeConfig extends $tea.Model {
7412
7706
  static types(): { [key: string]: any } {
7413
7707
  return {
7414
7708
  autoUpgrade: 'boolean',
7415
- maxUnavailable: 'number',
7416
- surge: 'number',
7417
- surgePercentage: 'number',
7709
+ maxUnavailable: 'number',
7710
+ surge: 'number',
7711
+ surgePercentage: 'number',
7712
+ };
7713
+ }
7714
+
7715
+ constructor(map?: { [key: string]: any }) {
7716
+ super(map);
7717
+ }
7718
+ }
7719
+
7720
+ export class NodepoolManagement extends $tea.Model {
7721
+ autoRepair?: boolean;
7722
+ autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
7723
+ autoUpgrade?: boolean;
7724
+ autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
7725
+ autoVulFix?: boolean;
7726
+ autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
7727
+ enable?: boolean;
7728
+ upgradeConfig?: NodepoolManagementUpgradeConfig;
7729
+ static names(): { [key: string]: string } {
7730
+ return {
7731
+ autoRepair: 'auto_repair',
7732
+ autoRepairPolicy: 'auto_repair_policy',
7733
+ autoUpgrade: 'auto_upgrade',
7734
+ autoUpgradePolicy: 'auto_upgrade_policy',
7735
+ autoVulFix: 'auto_vul_fix',
7736
+ autoVulFixPolicy: 'auto_vul_fix_policy',
7737
+ enable: 'enable',
7738
+ upgradeConfig: 'upgrade_config',
7739
+ };
7740
+ }
7741
+
7742
+ static types(): { [key: string]: any } {
7743
+ return {
7744
+ autoRepair: 'boolean',
7745
+ autoRepairPolicy: NodepoolManagementAutoRepairPolicy,
7746
+ autoUpgrade: 'boolean',
7747
+ autoUpgradePolicy: NodepoolManagementAutoUpgradePolicy,
7748
+ autoVulFix: 'boolean',
7749
+ autoVulFixPolicy: NodepoolManagementAutoVulFixPolicy,
7750
+ enable: 'boolean',
7751
+ upgradeConfig: NodepoolManagementUpgradeConfig,
7418
7752
  };
7419
7753
  }
7420
7754
 
@@ -7423,23 +7757,17 @@ export class NodepoolManagementUpgradeConfig extends $tea.Model {
7423
7757
  }
7424
7758
  }
7425
7759
 
7426
- export class NodepoolManagement extends $tea.Model {
7427
- autoRepair?: boolean;
7428
- enable?: boolean;
7429
- upgradeConfig?: NodepoolManagementUpgradeConfig;
7760
+ export class NodepoolNodeConfig extends $tea.Model {
7761
+ kubeletConfiguration?: KubeletConfig;
7430
7762
  static names(): { [key: string]: string } {
7431
7763
  return {
7432
- autoRepair: 'auto_repair',
7433
- enable: 'enable',
7434
- upgradeConfig: 'upgrade_config',
7764
+ kubeletConfiguration: 'kubelet_configuration',
7435
7765
  };
7436
7766
  }
7437
7767
 
7438
7768
  static types(): { [key: string]: any } {
7439
7769
  return {
7440
- autoRepair: 'boolean',
7441
- enable: 'boolean',
7442
- upgradeConfig: NodepoolManagementUpgradeConfig,
7770
+ kubeletConfiguration: KubeletConfig,
7443
7771
  };
7444
7772
  }
7445
7773
 
@@ -7553,6 +7881,7 @@ export class NodepoolScalingGroup extends $tea.Model {
7553
7881
  internetChargeType?: string;
7554
7882
  internetMaxBandwidthOut?: number;
7555
7883
  keyPair?: string;
7884
+ loginAsNonRoot?: boolean;
7556
7885
  loginPassword?: string;
7557
7886
  multiAzPolicy?: string;
7558
7887
  onDemandBaseCapacity?: number;
@@ -7570,7 +7899,11 @@ export class NodepoolScalingGroup extends $tea.Model {
7570
7899
  spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
7571
7900
  spotStrategy?: string;
7572
7901
  systemDiskBurstingEnabled?: boolean;
7902
+ systemDiskCategories?: string[];
7573
7903
  systemDiskCategory?: string;
7904
+ systemDiskEncryptAlgorithm?: string;
7905
+ systemDiskEncrypted?: boolean;
7906
+ systemDiskKmsKeyId?: string;
7574
7907
  systemDiskPerformanceLevel?: string;
7575
7908
  systemDiskProvisionedIops?: number;
7576
7909
  systemDiskSize?: number;
@@ -7591,6 +7924,7 @@ export class NodepoolScalingGroup extends $tea.Model {
7591
7924
  internetChargeType: 'internet_charge_type',
7592
7925
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
7593
7926
  keyPair: 'key_pair',
7927
+ loginAsNonRoot: 'login_as_non_root',
7594
7928
  loginPassword: 'login_password',
7595
7929
  multiAzPolicy: 'multi_az_policy',
7596
7930
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -7608,7 +7942,11 @@ export class NodepoolScalingGroup extends $tea.Model {
7608
7942
  spotPriceLimit: 'spot_price_limit',
7609
7943
  spotStrategy: 'spot_strategy',
7610
7944
  systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
7945
+ systemDiskCategories: 'system_disk_categories',
7611
7946
  systemDiskCategory: 'system_disk_category',
7947
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
7948
+ systemDiskEncrypted: 'system_disk_encrypted',
7949
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
7612
7950
  systemDiskPerformanceLevel: 'system_disk_performance_level',
7613
7951
  systemDiskProvisionedIops: 'system_disk_provisioned_iops',
7614
7952
  systemDiskSize: 'system_disk_size',
@@ -7632,6 +7970,7 @@ export class NodepoolScalingGroup extends $tea.Model {
7632
7970
  internetChargeType: 'string',
7633
7971
  internetMaxBandwidthOut: 'number',
7634
7972
  keyPair: 'string',
7973
+ loginAsNonRoot: 'boolean',
7635
7974
  loginPassword: 'string',
7636
7975
  multiAzPolicy: 'string',
7637
7976
  onDemandBaseCapacity: 'number',
@@ -7649,7 +7988,11 @@ export class NodepoolScalingGroup extends $tea.Model {
7649
7988
  spotPriceLimit: { 'type': 'array', 'itemType': NodepoolScalingGroupSpotPriceLimit },
7650
7989
  spotStrategy: 'string',
7651
7990
  systemDiskBurstingEnabled: 'boolean',
7991
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
7652
7992
  systemDiskCategory: 'string',
7993
+ systemDiskEncryptAlgorithm: 'string',
7994
+ systemDiskEncrypted: 'boolean',
7995
+ systemDiskKmsKeyId: 'string',
7653
7996
  systemDiskPerformanceLevel: 'string',
7654
7997
  systemDiskProvisionedIops: 'number',
7655
7998
  systemDiskSize: 'number',
@@ -7811,6 +8154,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
7811
8154
  runtime?: string;
7812
8155
  runtimeVersion?: string;
7813
8156
  taints?: Taint[];
8157
+ unschedulable?: boolean;
7814
8158
  userData?: string;
7815
8159
  static names(): { [key: string]: string } {
7816
8160
  return {
@@ -7821,6 +8165,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
7821
8165
  runtime: 'runtime',
7822
8166
  runtimeVersion: 'runtime_version',
7823
8167
  taints: 'taints',
8168
+ unschedulable: 'unschedulable',
7824
8169
  userData: 'user_data',
7825
8170
  };
7826
8171
  }
@@ -7834,6 +8179,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
7834
8179
  runtime: 'string',
7835
8180
  runtimeVersion: 'string',
7836
8181
  taints: { 'type': 'array', 'itemType': Taint },
8182
+ unschedulable: 'boolean',
7837
8183
  userData: 'string',
7838
8184
  };
7839
8185
  }
@@ -7971,6 +8317,25 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
7971
8317
  }
7972
8318
  }
7973
8319
 
8320
+ export class CreateClusterNodePoolRequestNodeConfig extends $tea.Model {
8321
+ kubeletConfiguration?: KubeletConfig;
8322
+ static names(): { [key: string]: string } {
8323
+ return {
8324
+ kubeletConfiguration: 'kubelet_configuration',
8325
+ };
8326
+ }
8327
+
8328
+ static types(): { [key: string]: any } {
8329
+ return {
8330
+ kubeletConfiguration: KubeletConfig,
8331
+ };
8332
+ }
8333
+
8334
+ constructor(map?: { [key: string]: any }) {
8335
+ super(map);
8336
+ }
8337
+ }
8338
+
7974
8339
  export class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
7975
8340
  name?: string;
7976
8341
  resourceGroupId?: string;
@@ -8065,6 +8430,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
8065
8430
  export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8066
8431
  autoRenew?: boolean;
8067
8432
  autoRenewPeriod?: number;
8433
+ cisEnabled?: boolean;
8068
8434
  compensateWithOnDemand?: boolean;
8069
8435
  dataDisks?: DataDisk[];
8070
8436
  deploymentsetId?: string;
@@ -8076,6 +8442,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8076
8442
  internetChargeType?: string;
8077
8443
  internetMaxBandwidthOut?: number;
8078
8444
  keyPair?: string;
8445
+ loginAsNonRoot?: boolean;
8079
8446
  loginPassword?: string;
8080
8447
  multiAzPolicy?: string;
8081
8448
  onDemandBaseCapacity?: number;
@@ -8088,12 +8455,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8088
8455
  scalingPolicy?: string;
8089
8456
  securityGroupId?: string;
8090
8457
  securityGroupIds?: string[];
8458
+ socEnabled?: boolean;
8091
8459
  spotInstancePools?: number;
8092
8460
  spotInstanceRemedy?: boolean;
8093
8461
  spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
8094
8462
  spotStrategy?: string;
8095
8463
  systemDiskBurstingEnabled?: boolean;
8464
+ systemDiskCategories?: string[];
8096
8465
  systemDiskCategory?: string;
8466
+ systemDiskEncryptAlgorithm?: string;
8467
+ systemDiskEncrypted?: boolean;
8468
+ systemDiskKmsKeyId?: string;
8097
8469
  systemDiskPerformanceLevel?: string;
8098
8470
  systemDiskProvisionedIops?: number;
8099
8471
  systemDiskSize?: number;
@@ -8103,6 +8475,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8103
8475
  return {
8104
8476
  autoRenew: 'auto_renew',
8105
8477
  autoRenewPeriod: 'auto_renew_period',
8478
+ cisEnabled: 'cis_enabled',
8106
8479
  compensateWithOnDemand: 'compensate_with_on_demand',
8107
8480
  dataDisks: 'data_disks',
8108
8481
  deploymentsetId: 'deploymentset_id',
@@ -8114,6 +8487,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8114
8487
  internetChargeType: 'internet_charge_type',
8115
8488
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
8116
8489
  keyPair: 'key_pair',
8490
+ loginAsNonRoot: 'login_as_non_root',
8117
8491
  loginPassword: 'login_password',
8118
8492
  multiAzPolicy: 'multi_az_policy',
8119
8493
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -8126,12 +8500,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8126
8500
  scalingPolicy: 'scaling_policy',
8127
8501
  securityGroupId: 'security_group_id',
8128
8502
  securityGroupIds: 'security_group_ids',
8503
+ socEnabled: 'soc_enabled',
8129
8504
  spotInstancePools: 'spot_instance_pools',
8130
8505
  spotInstanceRemedy: 'spot_instance_remedy',
8131
8506
  spotPriceLimit: 'spot_price_limit',
8132
8507
  spotStrategy: 'spot_strategy',
8133
8508
  systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
8509
+ systemDiskCategories: 'system_disk_categories',
8134
8510
  systemDiskCategory: 'system_disk_category',
8511
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
8512
+ systemDiskEncrypted: 'system_disk_encrypted',
8513
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
8135
8514
  systemDiskPerformanceLevel: 'system_disk_performance_level',
8136
8515
  systemDiskProvisionedIops: 'system_disk_provisioned_iops',
8137
8516
  systemDiskSize: 'system_disk_size',
@@ -8144,6 +8523,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8144
8523
  return {
8145
8524
  autoRenew: 'boolean',
8146
8525
  autoRenewPeriod: 'number',
8526
+ cisEnabled: 'boolean',
8147
8527
  compensateWithOnDemand: 'boolean',
8148
8528
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
8149
8529
  deploymentsetId: 'string',
@@ -8155,6 +8535,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8155
8535
  internetChargeType: 'string',
8156
8536
  internetMaxBandwidthOut: 'number',
8157
8537
  keyPair: 'string',
8538
+ loginAsNonRoot: 'boolean',
8158
8539
  loginPassword: 'string',
8159
8540
  multiAzPolicy: 'string',
8160
8541
  onDemandBaseCapacity: 'number',
@@ -8167,12 +8548,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8167
8548
  scalingPolicy: 'string',
8168
8549
  securityGroupId: 'string',
8169
8550
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
8551
+ socEnabled: 'boolean',
8170
8552
  spotInstancePools: 'number',
8171
8553
  spotInstanceRemedy: 'boolean',
8172
8554
  spotPriceLimit: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupSpotPriceLimit },
8173
8555
  spotStrategy: 'string',
8174
8556
  systemDiskBurstingEnabled: 'boolean',
8557
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
8175
8558
  systemDiskCategory: 'string',
8559
+ systemDiskEncryptAlgorithm: 'string',
8560
+ systemDiskEncrypted: 'boolean',
8561
+ systemDiskKmsKeyId: 'string',
8176
8562
  systemDiskPerformanceLevel: 'string',
8177
8563
  systemDiskProvisionedIops: 'number',
8178
8564
  systemDiskSize: 'number',
@@ -8440,6 +8826,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
8440
8826
  runtime?: string;
8441
8827
  runtimeVersion?: string;
8442
8828
  taints?: Taint[];
8829
+ unschedulable?: boolean;
8443
8830
  userData?: string;
8444
8831
  static names(): { [key: string]: string } {
8445
8832
  return {
@@ -8450,6 +8837,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
8450
8837
  runtime: 'runtime',
8451
8838
  runtimeVersion: 'runtime_version',
8452
8839
  taints: 'taints',
8840
+ unschedulable: 'unschedulable',
8453
8841
  userData: 'user_data',
8454
8842
  };
8455
8843
  }
@@ -8463,6 +8851,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
8463
8851
  runtime: 'string',
8464
8852
  runtimeVersion: 'string',
8465
8853
  taints: { 'type': 'array', 'itemType': Taint },
8854
+ unschedulable: 'boolean',
8466
8855
  userData: 'string',
8467
8856
  };
8468
8857
  }
@@ -8706,16 +9095,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
8706
9095
  export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
8707
9096
  autoRenew?: boolean;
8708
9097
  autoRenewPeriod?: number;
9098
+ cisEnabled?: boolean;
8709
9099
  compensateWithOnDemand?: boolean;
8710
9100
  dataDisks?: DataDisk[];
8711
9101
  deploymentsetId?: string;
8712
9102
  desiredSize?: number;
8713
9103
  imageId?: string;
9104
+ imageType?: string;
8714
9105
  instanceChargeType?: string;
8715
9106
  instanceTypes?: string[];
8716
9107
  internetChargeType?: string;
8717
9108
  internetMaxBandwidthOut?: number;
8718
9109
  keyPair?: string;
9110
+ loginAsNonRoot?: boolean;
8719
9111
  loginPassword?: string;
8720
9112
  multiAzPolicy?: string;
8721
9113
  onDemandBaseCapacity?: number;
@@ -8730,12 +9122,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8730
9122
  scalingPolicy?: string;
8731
9123
  securityGroupId?: string;
8732
9124
  securityGroupIds?: string[];
9125
+ socEnabled?: boolean;
8733
9126
  spotInstancePools?: number;
8734
9127
  spotInstanceRemedy?: boolean;
8735
9128
  spotPriceLimit?: DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit[];
8736
9129
  spotStrategy?: string;
9130
+ systemDiskBurstingEnabled?: boolean;
9131
+ systemDiskCategories?: string[];
8737
9132
  systemDiskCategory?: string;
9133
+ systemDiskEncryptAlgorithm?: string;
9134
+ systemDiskEncrypted?: boolean;
9135
+ systemDiskKmsKeyId?: string;
8738
9136
  systemDiskPerformanceLevel?: string;
9137
+ systemDiskProvisionedIops?: number;
8739
9138
  systemDiskSize?: number;
8740
9139
  tags?: Tag[];
8741
9140
  vswitchIds?: string[];
@@ -8743,16 +9142,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8743
9142
  return {
8744
9143
  autoRenew: 'auto_renew',
8745
9144
  autoRenewPeriod: 'auto_renew_period',
9145
+ cisEnabled: 'cis_enabled',
8746
9146
  compensateWithOnDemand: 'compensate_with_on_demand',
8747
9147
  dataDisks: 'data_disks',
8748
9148
  deploymentsetId: 'deploymentset_id',
8749
9149
  desiredSize: 'desired_size',
8750
9150
  imageId: 'image_id',
9151
+ imageType: 'image_type',
8751
9152
  instanceChargeType: 'instance_charge_type',
8752
9153
  instanceTypes: 'instance_types',
8753
9154
  internetChargeType: 'internet_charge_type',
8754
9155
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
8755
9156
  keyPair: 'key_pair',
9157
+ loginAsNonRoot: 'login_as_non_root',
8756
9158
  loginPassword: 'login_password',
8757
9159
  multiAzPolicy: 'multi_az_policy',
8758
9160
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -8767,12 +9169,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8767
9169
  scalingPolicy: 'scaling_policy',
8768
9170
  securityGroupId: 'security_group_id',
8769
9171
  securityGroupIds: 'security_group_ids',
9172
+ socEnabled: 'soc_enabled',
8770
9173
  spotInstancePools: 'spot_instance_pools',
8771
9174
  spotInstanceRemedy: 'spot_instance_remedy',
8772
9175
  spotPriceLimit: 'spot_price_limit',
8773
9176
  spotStrategy: 'spot_strategy',
9177
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
9178
+ systemDiskCategories: 'system_disk_categories',
8774
9179
  systemDiskCategory: 'system_disk_category',
9180
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
9181
+ systemDiskEncrypted: 'system_disk_encrypted',
9182
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
8775
9183
  systemDiskPerformanceLevel: 'system_disk_performance_level',
9184
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
8776
9185
  systemDiskSize: 'system_disk_size',
8777
9186
  tags: 'tags',
8778
9187
  vswitchIds: 'vswitch_ids',
@@ -8783,16 +9192,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8783
9192
  return {
8784
9193
  autoRenew: 'boolean',
8785
9194
  autoRenewPeriod: 'number',
9195
+ cisEnabled: 'boolean',
8786
9196
  compensateWithOnDemand: 'boolean',
8787
9197
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
8788
9198
  deploymentsetId: 'string',
8789
9199
  desiredSize: 'number',
8790
9200
  imageId: 'string',
9201
+ imageType: 'string',
8791
9202
  instanceChargeType: 'string',
8792
9203
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
8793
9204
  internetChargeType: 'string',
8794
9205
  internetMaxBandwidthOut: 'number',
8795
9206
  keyPair: 'string',
9207
+ loginAsNonRoot: 'boolean',
8796
9208
  loginPassword: 'string',
8797
9209
  multiAzPolicy: 'string',
8798
9210
  onDemandBaseCapacity: 'number',
@@ -8807,12 +9219,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
8807
9219
  scalingPolicy: 'string',
8808
9220
  securityGroupId: 'string',
8809
9221
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
9222
+ socEnabled: 'boolean',
8810
9223
  spotInstancePools: 'number',
8811
9224
  spotInstanceRemedy: 'boolean',
8812
9225
  spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit },
8813
9226
  spotStrategy: 'string',
9227
+ systemDiskBurstingEnabled: 'boolean',
9228
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
8814
9229
  systemDiskCategory: 'string',
9230
+ systemDiskEncryptAlgorithm: 'string',
9231
+ systemDiskEncrypted: 'boolean',
9232
+ systemDiskKmsKeyId: 'string',
8815
9233
  systemDiskPerformanceLevel: 'string',
9234
+ systemDiskProvisionedIops: 'number',
8816
9235
  systemDiskSize: 'number',
8817
9236
  tags: { 'type': 'array', 'itemType': Tag },
8818
9237
  vswitchIds: { 'type': 'array', 'itemType': 'string' },
@@ -8959,6 +9378,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
8959
9378
  runtime?: string;
8960
9379
  runtimeVersion?: string;
8961
9380
  taints?: Taint[];
9381
+ unschedulable?: boolean;
8962
9382
  userData?: string;
8963
9383
  static names(): { [key: string]: string } {
8964
9384
  return {
@@ -8969,6 +9389,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
8969
9389
  runtime: 'runtime',
8970
9390
  runtimeVersion: 'runtime_version',
8971
9391
  taints: 'taints',
9392
+ unschedulable: 'unschedulable',
8972
9393
  userData: 'user_data',
8973
9394
  };
8974
9395
  }
@@ -8982,6 +9403,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
8982
9403
  runtime: 'string',
8983
9404
  runtimeVersion: 'string',
8984
9405
  taints: { 'type': 'array', 'itemType': Taint },
9406
+ unschedulable: 'boolean',
8985
9407
  userData: 'string',
8986
9408
  };
8987
9409
  }
@@ -9225,16 +9647,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
9225
9647
  export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Model {
9226
9648
  autoRenew?: boolean;
9227
9649
  autoRenewPeriod?: number;
9650
+ cisEnabled?: boolean;
9228
9651
  compensateWithOnDemand?: boolean;
9229
9652
  dataDisks?: DataDisk[];
9230
9653
  deploymentsetId?: string;
9231
9654
  desiredSize?: number;
9232
9655
  imageId?: string;
9656
+ imageType?: string;
9233
9657
  instanceChargeType?: string;
9234
9658
  instanceTypes?: string[];
9235
9659
  internetChargeType?: string;
9236
9660
  internetMaxBandwidthOut?: number;
9237
9661
  keyPair?: string;
9662
+ loginAsNonRoot?: boolean;
9238
9663
  loginPassword?: string;
9239
9664
  multiAzPolicy?: string;
9240
9665
  onDemandBaseCapacity?: number;
@@ -9249,12 +9674,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9249
9674
  scalingPolicy?: string;
9250
9675
  securityGroupId?: string;
9251
9676
  securityGroupIds?: string[];
9677
+ socEnabled?: boolean;
9252
9678
  spotInstancePools?: number;
9253
9679
  spotInstanceRemedy?: boolean;
9254
9680
  spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
9255
9681
  spotStrategy?: string;
9682
+ systemDiskBurstingEnabled?: boolean;
9683
+ systemDiskCategories?: string[];
9256
9684
  systemDiskCategory?: string;
9685
+ systemDiskEncryptAlgorithm?: string;
9686
+ systemDiskEncrypted?: boolean;
9687
+ systemDiskKmsKeyId?: string;
9257
9688
  systemDiskPerformanceLevel?: string;
9689
+ systemDiskProvisionedIops?: number;
9258
9690
  systemDiskSize?: number;
9259
9691
  tags?: Tag[];
9260
9692
  vswitchIds?: string[];
@@ -9262,16 +9694,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9262
9694
  return {
9263
9695
  autoRenew: 'auto_renew',
9264
9696
  autoRenewPeriod: 'auto_renew_period',
9697
+ cisEnabled: 'cis_enabled',
9265
9698
  compensateWithOnDemand: 'compensate_with_on_demand',
9266
9699
  dataDisks: 'data_disks',
9267
9700
  deploymentsetId: 'deploymentset_id',
9268
9701
  desiredSize: 'desired_size',
9269
9702
  imageId: 'image_id',
9703
+ imageType: 'image_type',
9270
9704
  instanceChargeType: 'instance_charge_type',
9271
9705
  instanceTypes: 'instance_types',
9272
9706
  internetChargeType: 'internet_charge_type',
9273
9707
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
9274
9708
  keyPair: 'key_pair',
9709
+ loginAsNonRoot: 'login_as_non_root',
9275
9710
  loginPassword: 'login_password',
9276
9711
  multiAzPolicy: 'multi_az_policy',
9277
9712
  onDemandBaseCapacity: 'on_demand_base_capacity',
@@ -9286,12 +9721,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9286
9721
  scalingPolicy: 'scaling_policy',
9287
9722
  securityGroupId: 'security_group_id',
9288
9723
  securityGroupIds: 'security_group_ids',
9724
+ socEnabled: 'soc_enabled',
9289
9725
  spotInstancePools: 'spot_instance_pools',
9290
9726
  spotInstanceRemedy: 'spot_instance_remedy',
9291
9727
  spotPriceLimit: 'spot_price_limit',
9292
9728
  spotStrategy: 'spot_strategy',
9729
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
9730
+ systemDiskCategories: 'system_disk_categories',
9293
9731
  systemDiskCategory: 'system_disk_category',
9732
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
9733
+ systemDiskEncrypted: 'system_disk_encrypted',
9734
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
9294
9735
  systemDiskPerformanceLevel: 'system_disk_performance_level',
9736
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
9295
9737
  systemDiskSize: 'system_disk_size',
9296
9738
  tags: 'tags',
9297
9739
  vswitchIds: 'vswitch_ids',
@@ -9302,16 +9744,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9302
9744
  return {
9303
9745
  autoRenew: 'boolean',
9304
9746
  autoRenewPeriod: 'number',
9747
+ cisEnabled: 'boolean',
9305
9748
  compensateWithOnDemand: 'boolean',
9306
9749
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
9307
9750
  deploymentsetId: 'string',
9308
9751
  desiredSize: 'number',
9309
9752
  imageId: 'string',
9753
+ imageType: 'string',
9310
9754
  instanceChargeType: 'string',
9311
9755
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
9312
9756
  internetChargeType: 'string',
9313
9757
  internetMaxBandwidthOut: 'number',
9314
9758
  keyPair: 'string',
9759
+ loginAsNonRoot: 'boolean',
9315
9760
  loginPassword: 'string',
9316
9761
  multiAzPolicy: 'string',
9317
9762
  onDemandBaseCapacity: 'number',
@@ -9326,12 +9771,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
9326
9771
  scalingPolicy: 'string',
9327
9772
  securityGroupId: 'string',
9328
9773
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
9774
+ socEnabled: 'boolean',
9329
9775
  spotInstancePools: 'number',
9330
9776
  spotInstanceRemedy: 'boolean',
9331
9777
  spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit },
9332
9778
  spotStrategy: 'string',
9779
+ systemDiskBurstingEnabled: 'boolean',
9780
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
9333
9781
  systemDiskCategory: 'string',
9782
+ systemDiskEncryptAlgorithm: 'string',
9783
+ systemDiskEncrypted: 'boolean',
9784
+ systemDiskKmsKeyId: 'string',
9334
9785
  systemDiskPerformanceLevel: 'string',
9786
+ systemDiskProvisionedIops: 'number',
9335
9787
  systemDiskSize: 'number',
9336
9788
  tags: { 'type': 'array', 'itemType': Tag },
9337
9789
  vswitchIds: { 'type': 'array', 'itemType': 'string' },
@@ -11015,6 +11467,34 @@ export class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
11015
11467
  }
11016
11468
  }
11017
11469
 
11470
+ export class GetClusterAddonInstanceResponseBodyLogging extends $tea.Model {
11471
+ capable?: boolean;
11472
+ enabled?: boolean;
11473
+ logProject?: string;
11474
+ logstore?: string;
11475
+ static names(): { [key: string]: string } {
11476
+ return {
11477
+ capable: 'capable',
11478
+ enabled: 'enabled',
11479
+ logProject: 'log_project',
11480
+ logstore: 'logstore',
11481
+ };
11482
+ }
11483
+
11484
+ static types(): { [key: string]: any } {
11485
+ return {
11486
+ capable: 'boolean',
11487
+ enabled: 'boolean',
11488
+ logProject: 'string',
11489
+ logstore: 'string',
11490
+ };
11491
+ }
11492
+
11493
+ constructor(map?: { [key: string]: any }) {
11494
+ super(map);
11495
+ }
11496
+ }
11497
+
11018
11498
  export class GetKubernetesTriggerResponseBody extends $tea.Model {
11019
11499
  id?: string;
11020
11500
  name?: string;
@@ -11133,6 +11613,71 @@ export class InstallClusterAddonsRequestBody extends $tea.Model {
11133
11613
  }
11134
11614
  }
11135
11615
 
11616
+ export class ListAddonsResponseBodyAddons extends $tea.Model {
11617
+ architecture?: string[];
11618
+ category?: string;
11619
+ configSchema?: string;
11620
+ installByDefault?: boolean;
11621
+ managed?: boolean;
11622
+ name?: string;
11623
+ supportedActions?: string[];
11624
+ version?: string;
11625
+ static names(): { [key: string]: string } {
11626
+ return {
11627
+ architecture: 'architecture',
11628
+ category: 'category',
11629
+ configSchema: 'config_schema',
11630
+ installByDefault: 'install_by_default',
11631
+ managed: 'managed',
11632
+ name: 'name',
11633
+ supportedActions: 'supported_actions',
11634
+ version: 'version',
11635
+ };
11636
+ }
11637
+
11638
+ static types(): { [key: string]: any } {
11639
+ return {
11640
+ architecture: { 'type': 'array', 'itemType': 'string' },
11641
+ category: 'string',
11642
+ configSchema: 'string',
11643
+ installByDefault: 'boolean',
11644
+ managed: 'boolean',
11645
+ name: 'string',
11646
+ supportedActions: { 'type': 'array', 'itemType': 'string' },
11647
+ version: 'string',
11648
+ };
11649
+ }
11650
+
11651
+ constructor(map?: { [key: string]: any }) {
11652
+ super(map);
11653
+ }
11654
+ }
11655
+
11656
+ export class ListClusterAddonInstancesResponseBodyAddons extends $tea.Model {
11657
+ name?: string;
11658
+ state?: string;
11659
+ version?: string;
11660
+ static names(): { [key: string]: string } {
11661
+ return {
11662
+ name: 'name',
11663
+ state: 'state',
11664
+ version: 'version',
11665
+ };
11666
+ }
11667
+
11668
+ static types(): { [key: string]: any } {
11669
+ return {
11670
+ name: 'string',
11671
+ state: 'string',
11672
+ version: 'string',
11673
+ };
11674
+ }
11675
+
11676
+ constructor(map?: { [key: string]: any }) {
11677
+ super(map);
11678
+ }
11679
+ }
11680
+
11136
11681
  export class ListClusterChecksResponseBodyChecks extends $tea.Model {
11137
11682
  checkId?: string;
11138
11683
  createdAt?: string;
@@ -11555,6 +12100,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11555
12100
  dataDisks?: DataDisk[];
11556
12101
  desiredSize?: number;
11557
12102
  imageId?: string;
12103
+ imageType?: string;
11558
12104
  instanceChargeType?: string;
11559
12105
  instanceTypes?: string[];
11560
12106
  internetChargeType?: string;
@@ -11574,8 +12120,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11574
12120
  spotInstanceRemedy?: boolean;
11575
12121
  spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
11576
12122
  spotStrategy?: string;
12123
+ systemDiskBurstingEnabled?: boolean;
12124
+ systemDiskCategories?: string[];
11577
12125
  systemDiskCategory?: string;
12126
+ systemDiskEncryptAlgorithm?: string;
12127
+ systemDiskEncrypted?: boolean;
12128
+ systemDiskKmsKeyId?: string;
11578
12129
  systemDiskPerformanceLevel?: string;
12130
+ systemDiskProvisionedIops?: number;
11579
12131
  systemDiskSize?: number;
11580
12132
  tags?: Tag[];
11581
12133
  vswitchIds?: string[];
@@ -11587,6 +12139,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11587
12139
  dataDisks: 'data_disks',
11588
12140
  desiredSize: 'desired_size',
11589
12141
  imageId: 'image_id',
12142
+ imageType: 'image_type',
11590
12143
  instanceChargeType: 'instance_charge_type',
11591
12144
  instanceTypes: 'instance_types',
11592
12145
  internetChargeType: 'internet_charge_type',
@@ -11606,8 +12159,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11606
12159
  spotInstanceRemedy: 'spot_instance_remedy',
11607
12160
  spotPriceLimit: 'spot_price_limit',
11608
12161
  spotStrategy: 'spot_strategy',
12162
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
12163
+ systemDiskCategories: 'system_disk_categories',
11609
12164
  systemDiskCategory: 'system_disk_category',
12165
+ systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
12166
+ systemDiskEncrypted: 'system_disk_encrypted',
12167
+ systemDiskKmsKeyId: 'system_disk_kms_key_id',
11610
12168
  systemDiskPerformanceLevel: 'system_disk_performance_level',
12169
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
11611
12170
  systemDiskSize: 'system_disk_size',
11612
12171
  tags: 'tags',
11613
12172
  vswitchIds: 'vswitch_ids',
@@ -11622,6 +12181,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11622
12181
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
11623
12182
  desiredSize: 'number',
11624
12183
  imageId: 'string',
12184
+ imageType: 'string',
11625
12185
  instanceChargeType: 'string',
11626
12186
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
11627
12187
  internetChargeType: 'string',
@@ -11641,8 +12201,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
11641
12201
  spotInstanceRemedy: 'boolean',
11642
12202
  spotPriceLimit: { 'type': 'array', 'itemType': ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit },
11643
12203
  spotStrategy: 'string',
12204
+ systemDiskBurstingEnabled: 'boolean',
12205
+ systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
11644
12206
  systemDiskCategory: 'string',
12207
+ systemDiskEncryptAlgorithm: 'string',
12208
+ systemDiskEncrypted: 'boolean',
12209
+ systemDiskKmsKeyId: 'string',
11645
12210
  systemDiskPerformanceLevel: 'string',
12211
+ systemDiskProvisionedIops: 'number',
11646
12212
  systemDiskSize: 'number',
11647
12213
  tags: { 'type': 'array', 'itemType': Tag },
11648
12214
  vswitchIds: { 'type': 'array', 'itemType': 'string' },
@@ -12068,6 +12634,30 @@ export default class Client extends OpenApi {
12068
12634
  return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
12069
12635
  }
12070
12636
 
12637
+ async cancelOperationPlanWithOptions(planId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelOperationPlanResponse> {
12638
+ let req = new $OpenApi.OpenApiRequest({
12639
+ headers: headers,
12640
+ });
12641
+ let params = new $OpenApi.Params({
12642
+ action: "CancelOperationPlan",
12643
+ version: "2015-12-15",
12644
+ protocol: "HTTPS",
12645
+ pathname: `/operation/plans/${OpenApiUtil.getEncodeParam(planId)}`,
12646
+ method: "DELETE",
12647
+ authType: "AK",
12648
+ style: "ROA",
12649
+ reqBodyType: "json",
12650
+ bodyType: "json",
12651
+ });
12652
+ return $tea.cast<CancelOperationPlanResponse>(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
12653
+ }
12654
+
12655
+ async cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse> {
12656
+ let runtime = new $Util.RuntimeOptions({ });
12657
+ let headers : {[key: string ]: string} = { };
12658
+ return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
12659
+ }
12660
+
12071
12661
  async cancelTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse> {
12072
12662
  let req = new $OpenApi.OpenApiRequest({
12073
12663
  headers: headers,
@@ -12648,6 +13238,10 @@ export default class Client extends OpenApi {
12648
13238
  body["max_nodes"] = request.maxNodes;
12649
13239
  }
12650
13240
 
13241
+ if (!Util.isUnset(request.nodeConfig)) {
13242
+ body["node_config"] = request.nodeConfig;
13243
+ }
13244
+
12651
13245
  if (!Util.isUnset(request.nodepoolInfo)) {
12652
13246
  body["nodepool_info"] = request.nodepoolInfo;
12653
13247
  }
@@ -14748,6 +15342,30 @@ export default class Client extends OpenApi {
14748
15342
  return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
14749
15343
  }
14750
15344
 
15345
+ async getClusterAddonInstanceWithOptions(clusterId: string, instanceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterAddonInstanceResponse> {
15346
+ let req = new $OpenApi.OpenApiRequest({
15347
+ headers: headers,
15348
+ });
15349
+ let params = new $OpenApi.Params({
15350
+ action: "GetClusterAddonInstance",
15351
+ version: "2015-12-15",
15352
+ protocol: "HTTPS",
15353
+ pathname: `/clusters/${OpenApiUtil.getEncodeParam(clusterId)}/addon_instances/${OpenApiUtil.getEncodeParam(instanceName)}`,
15354
+ method: "GET",
15355
+ authType: "AK",
15356
+ style: "ROA",
15357
+ reqBodyType: "json",
15358
+ bodyType: "json",
15359
+ });
15360
+ return $tea.cast<GetClusterAddonInstanceResponse>(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
15361
+ }
15362
+
15363
+ async getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse> {
15364
+ let runtime = new $Util.RuntimeOptions({ });
15365
+ let headers : {[key: string ]: string} = { };
15366
+ return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
15367
+ }
15368
+
14751
15369
  async getClusterCheckWithOptions(clusterId: string, checkId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterCheckResponse> {
14752
15370
  let req = new $OpenApi.OpenApiRequest({
14753
15371
  headers: headers,
@@ -14911,6 +15529,81 @@ export default class Client extends OpenApi {
14911
15529
  return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
14912
15530
  }
14913
15531
 
15532
+ async listAddonsWithOptions(request: ListAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListAddonsResponse> {
15533
+ Util.validateModel(request);
15534
+ let query : {[key: string ]: any} = { };
15535
+ if (!Util.isUnset(request.clusterId)) {
15536
+ query["cluster_id"] = request.clusterId;
15537
+ }
15538
+
15539
+ if (!Util.isUnset(request.clusterSpec)) {
15540
+ query["cluster_spec"] = request.clusterSpec;
15541
+ }
15542
+
15543
+ if (!Util.isUnset(request.clusterType)) {
15544
+ query["cluster_type"] = request.clusterType;
15545
+ }
15546
+
15547
+ if (!Util.isUnset(request.clusterVersion)) {
15548
+ query["cluster_version"] = request.clusterVersion;
15549
+ }
15550
+
15551
+ if (!Util.isUnset(request.profile)) {
15552
+ query["profile"] = request.profile;
15553
+ }
15554
+
15555
+ if (!Util.isUnset(request.regionId)) {
15556
+ query["region_id"] = request.regionId;
15557
+ }
15558
+
15559
+ let req = new $OpenApi.OpenApiRequest({
15560
+ headers: headers,
15561
+ query: OpenApiUtil.query(query),
15562
+ });
15563
+ let params = new $OpenApi.Params({
15564
+ action: "ListAddons",
15565
+ version: "2015-12-15",
15566
+ protocol: "HTTPS",
15567
+ pathname: `/addons`,
15568
+ method: "GET",
15569
+ authType: "AK",
15570
+ style: "ROA",
15571
+ reqBodyType: "json",
15572
+ bodyType: "json",
15573
+ });
15574
+ return $tea.cast<ListAddonsResponse>(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
15575
+ }
15576
+
15577
+ async listAddons(request: ListAddonsRequest): Promise<ListAddonsResponse> {
15578
+ let runtime = new $Util.RuntimeOptions({ });
15579
+ let headers : {[key: string ]: string} = { };
15580
+ return await this.listAddonsWithOptions(request, headers, runtime);
15581
+ }
15582
+
15583
+ async listClusterAddonInstancesWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterAddonInstancesResponse> {
15584
+ let req = new $OpenApi.OpenApiRequest({
15585
+ headers: headers,
15586
+ });
15587
+ let params = new $OpenApi.Params({
15588
+ action: "ListClusterAddonInstances",
15589
+ version: "2015-12-15",
15590
+ protocol: "HTTPS",
15591
+ pathname: `/clusters/${OpenApiUtil.getEncodeParam(clusterId)}/addon_instances`,
15592
+ method: "GET",
15593
+ authType: "AK",
15594
+ style: "ROA",
15595
+ reqBodyType: "json",
15596
+ bodyType: "json",
15597
+ });
15598
+ return $tea.cast<ListClusterAddonInstancesResponse>(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
15599
+ }
15600
+
15601
+ async listClusterAddonInstances(clusterId: string): Promise<ListClusterAddonInstancesResponse> {
15602
+ let runtime = new $Util.RuntimeOptions({ });
15603
+ let headers : {[key: string ]: string} = { };
15604
+ return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
15605
+ }
15606
+
14914
15607
  async listClusterChecksWithOptions(clusterId: string, request: ListClusterChecksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterChecksResponse> {
14915
15608
  Util.validateModel(request);
14916
15609
  let query : {[key: string ]: any} = { };