@alicloud/cs20151215 3.1.1 → 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/dist/client.d.ts +325 -2
- package/dist/client.js +581 -3
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +739 -6
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
|
|
|
@@ -2909,6 +2965,28 @@ export class DescribeClusterResourcesResponse extends $tea.Model {
|
|
|
2909
2965
|
}
|
|
2910
2966
|
}
|
|
2911
2967
|
|
|
2968
|
+
export class DescribeClusterTasksRequest extends $tea.Model {
|
|
2969
|
+
pageNumber?: number;
|
|
2970
|
+
pageSize?: number;
|
|
2971
|
+
static names(): { [key: string]: string } {
|
|
2972
|
+
return {
|
|
2973
|
+
pageNumber: 'page_number',
|
|
2974
|
+
pageSize: 'page_size',
|
|
2975
|
+
};
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2978
|
+
static types(): { [key: string]: any } {
|
|
2979
|
+
return {
|
|
2980
|
+
pageNumber: 'number',
|
|
2981
|
+
pageSize: 'number',
|
|
2982
|
+
};
|
|
2983
|
+
}
|
|
2984
|
+
|
|
2985
|
+
constructor(map?: { [key: string]: any }) {
|
|
2986
|
+
super(map);
|
|
2987
|
+
}
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2912
2990
|
export class DescribeClusterTasksResponseBody extends $tea.Model {
|
|
2913
2991
|
pageInfo?: DescribeClusterTasksResponseBodyPageInfo;
|
|
2914
2992
|
requestId?: string;
|
|
@@ -3183,6 +3261,7 @@ export class DescribeClustersResponse extends $tea.Model {
|
|
|
3183
3261
|
}
|
|
3184
3262
|
|
|
3185
3263
|
export class DescribeClustersV1Request extends $tea.Model {
|
|
3264
|
+
clusterId?: string;
|
|
3186
3265
|
clusterSpec?: string;
|
|
3187
3266
|
clusterType?: string;
|
|
3188
3267
|
name?: string;
|
|
@@ -3192,6 +3271,7 @@ export class DescribeClustersV1Request extends $tea.Model {
|
|
|
3192
3271
|
regionId?: string;
|
|
3193
3272
|
static names(): { [key: string]: string } {
|
|
3194
3273
|
return {
|
|
3274
|
+
clusterId: 'cluster_id',
|
|
3195
3275
|
clusterSpec: 'cluster_spec',
|
|
3196
3276
|
clusterType: 'cluster_type',
|
|
3197
3277
|
name: 'name',
|
|
@@ -3204,6 +3284,7 @@ export class DescribeClustersV1Request extends $tea.Model {
|
|
|
3204
3284
|
|
|
3205
3285
|
static types(): { [key: string]: any } {
|
|
3206
3286
|
return {
|
|
3287
|
+
clusterId: 'string',
|
|
3207
3288
|
clusterSpec: 'string',
|
|
3208
3289
|
clusterType: 'string',
|
|
3209
3290
|
name: 'string',
|
|
@@ -4630,6 +4711,62 @@ export class FixNodePoolVulsResponse extends $tea.Model {
|
|
|
4630
4711
|
}
|
|
4631
4712
|
}
|
|
4632
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
|
+
|
|
4633
4770
|
export class GetClusterCheckResponseBody extends $tea.Model {
|
|
4634
4771
|
checkId?: string;
|
|
4635
4772
|
checkItems?: { [key: string]: {[key: string ]: any}[] };
|
|
@@ -4883,6 +5020,128 @@ export class InstallClusterAddonsResponse extends $tea.Model {
|
|
|
4883
5020
|
}
|
|
4884
5021
|
}
|
|
4885
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
|
+
|
|
4886
5145
|
export class ListClusterChecksRequest extends $tea.Model {
|
|
4887
5146
|
type?: string;
|
|
4888
5147
|
static names(): { [key: string]: string } {
|
|
@@ -7370,6 +7629,66 @@ export class NodepoolKubernetesConfig extends $tea.Model {
|
|
|
7370
7629
|
}
|
|
7371
7630
|
}
|
|
7372
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
|
+
|
|
7373
7692
|
export class NodepoolManagementUpgradeConfig extends $tea.Model {
|
|
7374
7693
|
autoUpgrade?: boolean;
|
|
7375
7694
|
maxUnavailable?: number;
|
|
@@ -7400,11 +7719,21 @@ export class NodepoolManagementUpgradeConfig extends $tea.Model {
|
|
|
7400
7719
|
|
|
7401
7720
|
export class NodepoolManagement extends $tea.Model {
|
|
7402
7721
|
autoRepair?: boolean;
|
|
7722
|
+
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
7723
|
+
autoUpgrade?: boolean;
|
|
7724
|
+
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
7725
|
+
autoVulFix?: boolean;
|
|
7726
|
+
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
7403
7727
|
enable?: boolean;
|
|
7404
7728
|
upgradeConfig?: NodepoolManagementUpgradeConfig;
|
|
7405
7729
|
static names(): { [key: string]: string } {
|
|
7406
7730
|
return {
|
|
7407
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',
|
|
7408
7737
|
enable: 'enable',
|
|
7409
7738
|
upgradeConfig: 'upgrade_config',
|
|
7410
7739
|
};
|
|
@@ -7412,9 +7741,33 @@ export class NodepoolManagement extends $tea.Model {
|
|
|
7412
7741
|
|
|
7413
7742
|
static types(): { [key: string]: any } {
|
|
7414
7743
|
return {
|
|
7415
|
-
autoRepair: 'boolean',
|
|
7416
|
-
|
|
7417
|
-
|
|
7744
|
+
autoRepair: 'boolean',
|
|
7745
|
+
autoRepairPolicy: NodepoolManagementAutoRepairPolicy,
|
|
7746
|
+
autoUpgrade: 'boolean',
|
|
7747
|
+
autoUpgradePolicy: NodepoolManagementAutoUpgradePolicy,
|
|
7748
|
+
autoVulFix: 'boolean',
|
|
7749
|
+
autoVulFixPolicy: NodepoolManagementAutoVulFixPolicy,
|
|
7750
|
+
enable: 'boolean',
|
|
7751
|
+
upgradeConfig: NodepoolManagementUpgradeConfig,
|
|
7752
|
+
};
|
|
7753
|
+
}
|
|
7754
|
+
|
|
7755
|
+
constructor(map?: { [key: string]: any }) {
|
|
7756
|
+
super(map);
|
|
7757
|
+
}
|
|
7758
|
+
}
|
|
7759
|
+
|
|
7760
|
+
export class NodepoolNodeConfig extends $tea.Model {
|
|
7761
|
+
kubeletConfiguration?: KubeletConfig;
|
|
7762
|
+
static names(): { [key: string]: string } {
|
|
7763
|
+
return {
|
|
7764
|
+
kubeletConfiguration: 'kubelet_configuration',
|
|
7765
|
+
};
|
|
7766
|
+
}
|
|
7767
|
+
|
|
7768
|
+
static types(): { [key: string]: any } {
|
|
7769
|
+
return {
|
|
7770
|
+
kubeletConfiguration: KubeletConfig,
|
|
7418
7771
|
};
|
|
7419
7772
|
}
|
|
7420
7773
|
|
|
@@ -7528,6 +7881,7 @@ export class NodepoolScalingGroup extends $tea.Model {
|
|
|
7528
7881
|
internetChargeType?: string;
|
|
7529
7882
|
internetMaxBandwidthOut?: number;
|
|
7530
7883
|
keyPair?: string;
|
|
7884
|
+
loginAsNonRoot?: boolean;
|
|
7531
7885
|
loginPassword?: string;
|
|
7532
7886
|
multiAzPolicy?: string;
|
|
7533
7887
|
onDemandBaseCapacity?: number;
|
|
@@ -7545,7 +7899,11 @@ export class NodepoolScalingGroup extends $tea.Model {
|
|
|
7545
7899
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
7546
7900
|
spotStrategy?: string;
|
|
7547
7901
|
systemDiskBurstingEnabled?: boolean;
|
|
7902
|
+
systemDiskCategories?: string[];
|
|
7548
7903
|
systemDiskCategory?: string;
|
|
7904
|
+
systemDiskEncryptAlgorithm?: string;
|
|
7905
|
+
systemDiskEncrypted?: boolean;
|
|
7906
|
+
systemDiskKmsKeyId?: string;
|
|
7549
7907
|
systemDiskPerformanceLevel?: string;
|
|
7550
7908
|
systemDiskProvisionedIops?: number;
|
|
7551
7909
|
systemDiskSize?: number;
|
|
@@ -7566,6 +7924,7 @@ export class NodepoolScalingGroup extends $tea.Model {
|
|
|
7566
7924
|
internetChargeType: 'internet_charge_type',
|
|
7567
7925
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
7568
7926
|
keyPair: 'key_pair',
|
|
7927
|
+
loginAsNonRoot: 'login_as_non_root',
|
|
7569
7928
|
loginPassword: 'login_password',
|
|
7570
7929
|
multiAzPolicy: 'multi_az_policy',
|
|
7571
7930
|
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
@@ -7583,7 +7942,11 @@ export class NodepoolScalingGroup extends $tea.Model {
|
|
|
7583
7942
|
spotPriceLimit: 'spot_price_limit',
|
|
7584
7943
|
spotStrategy: 'spot_strategy',
|
|
7585
7944
|
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
7945
|
+
systemDiskCategories: 'system_disk_categories',
|
|
7586
7946
|
systemDiskCategory: 'system_disk_category',
|
|
7947
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
7948
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
7949
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
7587
7950
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
7588
7951
|
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
7589
7952
|
systemDiskSize: 'system_disk_size',
|
|
@@ -7607,6 +7970,7 @@ export class NodepoolScalingGroup extends $tea.Model {
|
|
|
7607
7970
|
internetChargeType: 'string',
|
|
7608
7971
|
internetMaxBandwidthOut: 'number',
|
|
7609
7972
|
keyPair: 'string',
|
|
7973
|
+
loginAsNonRoot: 'boolean',
|
|
7610
7974
|
loginPassword: 'string',
|
|
7611
7975
|
multiAzPolicy: 'string',
|
|
7612
7976
|
onDemandBaseCapacity: 'number',
|
|
@@ -7624,7 +7988,11 @@ export class NodepoolScalingGroup extends $tea.Model {
|
|
|
7624
7988
|
spotPriceLimit: { 'type': 'array', 'itemType': NodepoolScalingGroupSpotPriceLimit },
|
|
7625
7989
|
spotStrategy: 'string',
|
|
7626
7990
|
systemDiskBurstingEnabled: 'boolean',
|
|
7991
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
7627
7992
|
systemDiskCategory: 'string',
|
|
7993
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
7994
|
+
systemDiskEncrypted: 'boolean',
|
|
7995
|
+
systemDiskKmsKeyId: 'string',
|
|
7628
7996
|
systemDiskPerformanceLevel: 'string',
|
|
7629
7997
|
systemDiskProvisionedIops: 'number',
|
|
7630
7998
|
systemDiskSize: 'number',
|
|
@@ -7786,6 +8154,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
7786
8154
|
runtime?: string;
|
|
7787
8155
|
runtimeVersion?: string;
|
|
7788
8156
|
taints?: Taint[];
|
|
8157
|
+
unschedulable?: boolean;
|
|
7789
8158
|
userData?: string;
|
|
7790
8159
|
static names(): { [key: string]: string } {
|
|
7791
8160
|
return {
|
|
@@ -7796,6 +8165,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
7796
8165
|
runtime: 'runtime',
|
|
7797
8166
|
runtimeVersion: 'runtime_version',
|
|
7798
8167
|
taints: 'taints',
|
|
8168
|
+
unschedulable: 'unschedulable',
|
|
7799
8169
|
userData: 'user_data',
|
|
7800
8170
|
};
|
|
7801
8171
|
}
|
|
@@ -7809,6 +8179,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
7809
8179
|
runtime: 'string',
|
|
7810
8180
|
runtimeVersion: 'string',
|
|
7811
8181
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
8182
|
+
unschedulable: 'boolean',
|
|
7812
8183
|
userData: 'string',
|
|
7813
8184
|
};
|
|
7814
8185
|
}
|
|
@@ -7946,6 +8317,25 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
7946
8317
|
}
|
|
7947
8318
|
}
|
|
7948
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
|
+
|
|
7949
8339
|
export class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
7950
8340
|
name?: string;
|
|
7951
8341
|
resourceGroupId?: string;
|
|
@@ -8040,6 +8430,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
|
|
|
8040
8430
|
export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
8041
8431
|
autoRenew?: boolean;
|
|
8042
8432
|
autoRenewPeriod?: number;
|
|
8433
|
+
cisEnabled?: boolean;
|
|
8043
8434
|
compensateWithOnDemand?: boolean;
|
|
8044
8435
|
dataDisks?: DataDisk[];
|
|
8045
8436
|
deploymentsetId?: string;
|
|
@@ -8051,6 +8442,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8051
8442
|
internetChargeType?: string;
|
|
8052
8443
|
internetMaxBandwidthOut?: number;
|
|
8053
8444
|
keyPair?: string;
|
|
8445
|
+
loginAsNonRoot?: boolean;
|
|
8054
8446
|
loginPassword?: string;
|
|
8055
8447
|
multiAzPolicy?: string;
|
|
8056
8448
|
onDemandBaseCapacity?: number;
|
|
@@ -8063,12 +8455,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8063
8455
|
scalingPolicy?: string;
|
|
8064
8456
|
securityGroupId?: string;
|
|
8065
8457
|
securityGroupIds?: string[];
|
|
8458
|
+
socEnabled?: boolean;
|
|
8066
8459
|
spotInstancePools?: number;
|
|
8067
8460
|
spotInstanceRemedy?: boolean;
|
|
8068
8461
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
8069
8462
|
spotStrategy?: string;
|
|
8070
8463
|
systemDiskBurstingEnabled?: boolean;
|
|
8464
|
+
systemDiskCategories?: string[];
|
|
8071
8465
|
systemDiskCategory?: string;
|
|
8466
|
+
systemDiskEncryptAlgorithm?: string;
|
|
8467
|
+
systemDiskEncrypted?: boolean;
|
|
8468
|
+
systemDiskKmsKeyId?: string;
|
|
8072
8469
|
systemDiskPerformanceLevel?: string;
|
|
8073
8470
|
systemDiskProvisionedIops?: number;
|
|
8074
8471
|
systemDiskSize?: number;
|
|
@@ -8078,6 +8475,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8078
8475
|
return {
|
|
8079
8476
|
autoRenew: 'auto_renew',
|
|
8080
8477
|
autoRenewPeriod: 'auto_renew_period',
|
|
8478
|
+
cisEnabled: 'cis_enabled',
|
|
8081
8479
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
8082
8480
|
dataDisks: 'data_disks',
|
|
8083
8481
|
deploymentsetId: 'deploymentset_id',
|
|
@@ -8089,6 +8487,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8089
8487
|
internetChargeType: 'internet_charge_type',
|
|
8090
8488
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
8091
8489
|
keyPair: 'key_pair',
|
|
8490
|
+
loginAsNonRoot: 'login_as_non_root',
|
|
8092
8491
|
loginPassword: 'login_password',
|
|
8093
8492
|
multiAzPolicy: 'multi_az_policy',
|
|
8094
8493
|
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
@@ -8101,12 +8500,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8101
8500
|
scalingPolicy: 'scaling_policy',
|
|
8102
8501
|
securityGroupId: 'security_group_id',
|
|
8103
8502
|
securityGroupIds: 'security_group_ids',
|
|
8503
|
+
socEnabled: 'soc_enabled',
|
|
8104
8504
|
spotInstancePools: 'spot_instance_pools',
|
|
8105
8505
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
8106
8506
|
spotPriceLimit: 'spot_price_limit',
|
|
8107
8507
|
spotStrategy: 'spot_strategy',
|
|
8108
8508
|
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
8509
|
+
systemDiskCategories: 'system_disk_categories',
|
|
8109
8510
|
systemDiskCategory: 'system_disk_category',
|
|
8511
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
8512
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
8513
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
8110
8514
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
8111
8515
|
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
8112
8516
|
systemDiskSize: 'system_disk_size',
|
|
@@ -8119,6 +8523,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8119
8523
|
return {
|
|
8120
8524
|
autoRenew: 'boolean',
|
|
8121
8525
|
autoRenewPeriod: 'number',
|
|
8526
|
+
cisEnabled: 'boolean',
|
|
8122
8527
|
compensateWithOnDemand: 'boolean',
|
|
8123
8528
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
8124
8529
|
deploymentsetId: 'string',
|
|
@@ -8130,6 +8535,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8130
8535
|
internetChargeType: 'string',
|
|
8131
8536
|
internetMaxBandwidthOut: 'number',
|
|
8132
8537
|
keyPair: 'string',
|
|
8538
|
+
loginAsNonRoot: 'boolean',
|
|
8133
8539
|
loginPassword: 'string',
|
|
8134
8540
|
multiAzPolicy: 'string',
|
|
8135
8541
|
onDemandBaseCapacity: 'number',
|
|
@@ -8142,12 +8548,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8142
8548
|
scalingPolicy: 'string',
|
|
8143
8549
|
securityGroupId: 'string',
|
|
8144
8550
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
8551
|
+
socEnabled: 'boolean',
|
|
8145
8552
|
spotInstancePools: 'number',
|
|
8146
8553
|
spotInstanceRemedy: 'boolean',
|
|
8147
8554
|
spotPriceLimit: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupSpotPriceLimit },
|
|
8148
8555
|
spotStrategy: 'string',
|
|
8149
8556
|
systemDiskBurstingEnabled: 'boolean',
|
|
8557
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
8150
8558
|
systemDiskCategory: 'string',
|
|
8559
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
8560
|
+
systemDiskEncrypted: 'boolean',
|
|
8561
|
+
systemDiskKmsKeyId: 'string',
|
|
8151
8562
|
systemDiskPerformanceLevel: 'string',
|
|
8152
8563
|
systemDiskProvisionedIops: 'number',
|
|
8153
8564
|
systemDiskSize: 'number',
|
|
@@ -8415,6 +8826,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
8415
8826
|
runtime?: string;
|
|
8416
8827
|
runtimeVersion?: string;
|
|
8417
8828
|
taints?: Taint[];
|
|
8829
|
+
unschedulable?: boolean;
|
|
8418
8830
|
userData?: string;
|
|
8419
8831
|
static names(): { [key: string]: string } {
|
|
8420
8832
|
return {
|
|
@@ -8425,6 +8837,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
8425
8837
|
runtime: 'runtime',
|
|
8426
8838
|
runtimeVersion: 'runtime_version',
|
|
8427
8839
|
taints: 'taints',
|
|
8840
|
+
unschedulable: 'unschedulable',
|
|
8428
8841
|
userData: 'user_data',
|
|
8429
8842
|
};
|
|
8430
8843
|
}
|
|
@@ -8438,6 +8851,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
8438
8851
|
runtime: 'string',
|
|
8439
8852
|
runtimeVersion: 'string',
|
|
8440
8853
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
8854
|
+
unschedulable: 'boolean',
|
|
8441
8855
|
userData: 'string',
|
|
8442
8856
|
};
|
|
8443
8857
|
}
|
|
@@ -8681,16 +9095,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
8681
9095
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
8682
9096
|
autoRenew?: boolean;
|
|
8683
9097
|
autoRenewPeriod?: number;
|
|
9098
|
+
cisEnabled?: boolean;
|
|
8684
9099
|
compensateWithOnDemand?: boolean;
|
|
8685
9100
|
dataDisks?: DataDisk[];
|
|
8686
9101
|
deploymentsetId?: string;
|
|
8687
9102
|
desiredSize?: number;
|
|
8688
9103
|
imageId?: string;
|
|
9104
|
+
imageType?: string;
|
|
8689
9105
|
instanceChargeType?: string;
|
|
8690
9106
|
instanceTypes?: string[];
|
|
8691
9107
|
internetChargeType?: string;
|
|
8692
9108
|
internetMaxBandwidthOut?: number;
|
|
8693
9109
|
keyPair?: string;
|
|
9110
|
+
loginAsNonRoot?: boolean;
|
|
8694
9111
|
loginPassword?: string;
|
|
8695
9112
|
multiAzPolicy?: string;
|
|
8696
9113
|
onDemandBaseCapacity?: number;
|
|
@@ -8705,12 +9122,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
8705
9122
|
scalingPolicy?: string;
|
|
8706
9123
|
securityGroupId?: string;
|
|
8707
9124
|
securityGroupIds?: string[];
|
|
9125
|
+
socEnabled?: boolean;
|
|
8708
9126
|
spotInstancePools?: number;
|
|
8709
9127
|
spotInstanceRemedy?: boolean;
|
|
8710
9128
|
spotPriceLimit?: DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit[];
|
|
8711
9129
|
spotStrategy?: string;
|
|
9130
|
+
systemDiskBurstingEnabled?: boolean;
|
|
9131
|
+
systemDiskCategories?: string[];
|
|
8712
9132
|
systemDiskCategory?: string;
|
|
9133
|
+
systemDiskEncryptAlgorithm?: string;
|
|
9134
|
+
systemDiskEncrypted?: boolean;
|
|
9135
|
+
systemDiskKmsKeyId?: string;
|
|
8713
9136
|
systemDiskPerformanceLevel?: string;
|
|
9137
|
+
systemDiskProvisionedIops?: number;
|
|
8714
9138
|
systemDiskSize?: number;
|
|
8715
9139
|
tags?: Tag[];
|
|
8716
9140
|
vswitchIds?: string[];
|
|
@@ -8718,16 +9142,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
8718
9142
|
return {
|
|
8719
9143
|
autoRenew: 'auto_renew',
|
|
8720
9144
|
autoRenewPeriod: 'auto_renew_period',
|
|
9145
|
+
cisEnabled: 'cis_enabled',
|
|
8721
9146
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
8722
9147
|
dataDisks: 'data_disks',
|
|
8723
9148
|
deploymentsetId: 'deploymentset_id',
|
|
8724
9149
|
desiredSize: 'desired_size',
|
|
8725
9150
|
imageId: 'image_id',
|
|
9151
|
+
imageType: 'image_type',
|
|
8726
9152
|
instanceChargeType: 'instance_charge_type',
|
|
8727
9153
|
instanceTypes: 'instance_types',
|
|
8728
9154
|
internetChargeType: 'internet_charge_type',
|
|
8729
9155
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
8730
9156
|
keyPair: 'key_pair',
|
|
9157
|
+
loginAsNonRoot: 'login_as_non_root',
|
|
8731
9158
|
loginPassword: 'login_password',
|
|
8732
9159
|
multiAzPolicy: 'multi_az_policy',
|
|
8733
9160
|
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
@@ -8742,12 +9169,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
8742
9169
|
scalingPolicy: 'scaling_policy',
|
|
8743
9170
|
securityGroupId: 'security_group_id',
|
|
8744
9171
|
securityGroupIds: 'security_group_ids',
|
|
9172
|
+
socEnabled: 'soc_enabled',
|
|
8745
9173
|
spotInstancePools: 'spot_instance_pools',
|
|
8746
9174
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
8747
9175
|
spotPriceLimit: 'spot_price_limit',
|
|
8748
9176
|
spotStrategy: 'spot_strategy',
|
|
9177
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
9178
|
+
systemDiskCategories: 'system_disk_categories',
|
|
8749
9179
|
systemDiskCategory: 'system_disk_category',
|
|
9180
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
9181
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
9182
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
8750
9183
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
9184
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
8751
9185
|
systemDiskSize: 'system_disk_size',
|
|
8752
9186
|
tags: 'tags',
|
|
8753
9187
|
vswitchIds: 'vswitch_ids',
|
|
@@ -8758,16 +9192,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
8758
9192
|
return {
|
|
8759
9193
|
autoRenew: 'boolean',
|
|
8760
9194
|
autoRenewPeriod: 'number',
|
|
9195
|
+
cisEnabled: 'boolean',
|
|
8761
9196
|
compensateWithOnDemand: 'boolean',
|
|
8762
9197
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
8763
9198
|
deploymentsetId: 'string',
|
|
8764
9199
|
desiredSize: 'number',
|
|
8765
9200
|
imageId: 'string',
|
|
9201
|
+
imageType: 'string',
|
|
8766
9202
|
instanceChargeType: 'string',
|
|
8767
9203
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
8768
9204
|
internetChargeType: 'string',
|
|
8769
9205
|
internetMaxBandwidthOut: 'number',
|
|
8770
9206
|
keyPair: 'string',
|
|
9207
|
+
loginAsNonRoot: 'boolean',
|
|
8771
9208
|
loginPassword: 'string',
|
|
8772
9209
|
multiAzPolicy: 'string',
|
|
8773
9210
|
onDemandBaseCapacity: 'number',
|
|
@@ -8782,12 +9219,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
8782
9219
|
scalingPolicy: 'string',
|
|
8783
9220
|
securityGroupId: 'string',
|
|
8784
9221
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
9222
|
+
socEnabled: 'boolean',
|
|
8785
9223
|
spotInstancePools: 'number',
|
|
8786
9224
|
spotInstanceRemedy: 'boolean',
|
|
8787
9225
|
spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit },
|
|
8788
9226
|
spotStrategy: 'string',
|
|
9227
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
9228
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
8789
9229
|
systemDiskCategory: 'string',
|
|
9230
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
9231
|
+
systemDiskEncrypted: 'boolean',
|
|
9232
|
+
systemDiskKmsKeyId: 'string',
|
|
8790
9233
|
systemDiskPerformanceLevel: 'string',
|
|
9234
|
+
systemDiskProvisionedIops: 'number',
|
|
8791
9235
|
systemDiskSize: 'number',
|
|
8792
9236
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
8793
9237
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -8934,6 +9378,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
8934
9378
|
runtime?: string;
|
|
8935
9379
|
runtimeVersion?: string;
|
|
8936
9380
|
taints?: Taint[];
|
|
9381
|
+
unschedulable?: boolean;
|
|
8937
9382
|
userData?: string;
|
|
8938
9383
|
static names(): { [key: string]: string } {
|
|
8939
9384
|
return {
|
|
@@ -8944,6 +9389,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
8944
9389
|
runtime: 'runtime',
|
|
8945
9390
|
runtimeVersion: 'runtime_version',
|
|
8946
9391
|
taints: 'taints',
|
|
9392
|
+
unschedulable: 'unschedulable',
|
|
8947
9393
|
userData: 'user_data',
|
|
8948
9394
|
};
|
|
8949
9395
|
}
|
|
@@ -8957,6 +9403,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
8957
9403
|
runtime: 'string',
|
|
8958
9404
|
runtimeVersion: 'string',
|
|
8959
9405
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
9406
|
+
unschedulable: 'boolean',
|
|
8960
9407
|
userData: 'string',
|
|
8961
9408
|
};
|
|
8962
9409
|
}
|
|
@@ -9200,16 +9647,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
|
|
|
9200
9647
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Model {
|
|
9201
9648
|
autoRenew?: boolean;
|
|
9202
9649
|
autoRenewPeriod?: number;
|
|
9650
|
+
cisEnabled?: boolean;
|
|
9203
9651
|
compensateWithOnDemand?: boolean;
|
|
9204
9652
|
dataDisks?: DataDisk[];
|
|
9205
9653
|
deploymentsetId?: string;
|
|
9206
9654
|
desiredSize?: number;
|
|
9207
9655
|
imageId?: string;
|
|
9656
|
+
imageType?: string;
|
|
9208
9657
|
instanceChargeType?: string;
|
|
9209
9658
|
instanceTypes?: string[];
|
|
9210
9659
|
internetChargeType?: string;
|
|
9211
9660
|
internetMaxBandwidthOut?: number;
|
|
9212
9661
|
keyPair?: string;
|
|
9662
|
+
loginAsNonRoot?: boolean;
|
|
9213
9663
|
loginPassword?: string;
|
|
9214
9664
|
multiAzPolicy?: string;
|
|
9215
9665
|
onDemandBaseCapacity?: number;
|
|
@@ -9224,12 +9674,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
9224
9674
|
scalingPolicy?: string;
|
|
9225
9675
|
securityGroupId?: string;
|
|
9226
9676
|
securityGroupIds?: string[];
|
|
9677
|
+
socEnabled?: boolean;
|
|
9227
9678
|
spotInstancePools?: number;
|
|
9228
9679
|
spotInstanceRemedy?: boolean;
|
|
9229
9680
|
spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
|
|
9230
9681
|
spotStrategy?: string;
|
|
9682
|
+
systemDiskBurstingEnabled?: boolean;
|
|
9683
|
+
systemDiskCategories?: string[];
|
|
9231
9684
|
systemDiskCategory?: string;
|
|
9685
|
+
systemDiskEncryptAlgorithm?: string;
|
|
9686
|
+
systemDiskEncrypted?: boolean;
|
|
9687
|
+
systemDiskKmsKeyId?: string;
|
|
9232
9688
|
systemDiskPerformanceLevel?: string;
|
|
9689
|
+
systemDiskProvisionedIops?: number;
|
|
9233
9690
|
systemDiskSize?: number;
|
|
9234
9691
|
tags?: Tag[];
|
|
9235
9692
|
vswitchIds?: string[];
|
|
@@ -9237,16 +9694,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
9237
9694
|
return {
|
|
9238
9695
|
autoRenew: 'auto_renew',
|
|
9239
9696
|
autoRenewPeriod: 'auto_renew_period',
|
|
9697
|
+
cisEnabled: 'cis_enabled',
|
|
9240
9698
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
9241
9699
|
dataDisks: 'data_disks',
|
|
9242
9700
|
deploymentsetId: 'deploymentset_id',
|
|
9243
9701
|
desiredSize: 'desired_size',
|
|
9244
9702
|
imageId: 'image_id',
|
|
9703
|
+
imageType: 'image_type',
|
|
9245
9704
|
instanceChargeType: 'instance_charge_type',
|
|
9246
9705
|
instanceTypes: 'instance_types',
|
|
9247
9706
|
internetChargeType: 'internet_charge_type',
|
|
9248
9707
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
9249
9708
|
keyPair: 'key_pair',
|
|
9709
|
+
loginAsNonRoot: 'login_as_non_root',
|
|
9250
9710
|
loginPassword: 'login_password',
|
|
9251
9711
|
multiAzPolicy: 'multi_az_policy',
|
|
9252
9712
|
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
@@ -9261,12 +9721,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
9261
9721
|
scalingPolicy: 'scaling_policy',
|
|
9262
9722
|
securityGroupId: 'security_group_id',
|
|
9263
9723
|
securityGroupIds: 'security_group_ids',
|
|
9724
|
+
socEnabled: 'soc_enabled',
|
|
9264
9725
|
spotInstancePools: 'spot_instance_pools',
|
|
9265
9726
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
9266
9727
|
spotPriceLimit: 'spot_price_limit',
|
|
9267
9728
|
spotStrategy: 'spot_strategy',
|
|
9729
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
9730
|
+
systemDiskCategories: 'system_disk_categories',
|
|
9268
9731
|
systemDiskCategory: 'system_disk_category',
|
|
9732
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
9733
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
9734
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
9269
9735
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
9736
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
9270
9737
|
systemDiskSize: 'system_disk_size',
|
|
9271
9738
|
tags: 'tags',
|
|
9272
9739
|
vswitchIds: 'vswitch_ids',
|
|
@@ -9277,16 +9744,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
9277
9744
|
return {
|
|
9278
9745
|
autoRenew: 'boolean',
|
|
9279
9746
|
autoRenewPeriod: 'number',
|
|
9747
|
+
cisEnabled: 'boolean',
|
|
9280
9748
|
compensateWithOnDemand: 'boolean',
|
|
9281
9749
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
9282
9750
|
deploymentsetId: 'string',
|
|
9283
9751
|
desiredSize: 'number',
|
|
9284
9752
|
imageId: 'string',
|
|
9753
|
+
imageType: 'string',
|
|
9285
9754
|
instanceChargeType: 'string',
|
|
9286
9755
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
9287
9756
|
internetChargeType: 'string',
|
|
9288
9757
|
internetMaxBandwidthOut: 'number',
|
|
9289
9758
|
keyPair: 'string',
|
|
9759
|
+
loginAsNonRoot: 'boolean',
|
|
9290
9760
|
loginPassword: 'string',
|
|
9291
9761
|
multiAzPolicy: 'string',
|
|
9292
9762
|
onDemandBaseCapacity: 'number',
|
|
@@ -9301,12 +9771,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
9301
9771
|
scalingPolicy: 'string',
|
|
9302
9772
|
securityGroupId: 'string',
|
|
9303
9773
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
9774
|
+
socEnabled: 'boolean',
|
|
9304
9775
|
spotInstancePools: 'number',
|
|
9305
9776
|
spotInstanceRemedy: 'boolean',
|
|
9306
9777
|
spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit },
|
|
9307
9778
|
spotStrategy: 'string',
|
|
9779
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
9780
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
9308
9781
|
systemDiskCategory: 'string',
|
|
9782
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
9783
|
+
systemDiskEncrypted: 'boolean',
|
|
9784
|
+
systemDiskKmsKeyId: 'string',
|
|
9309
9785
|
systemDiskPerformanceLevel: 'string',
|
|
9786
|
+
systemDiskProvisionedIops: 'number',
|
|
9310
9787
|
systemDiskSize: 'number',
|
|
9311
9788
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
9312
9789
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -10990,6 +11467,34 @@ export class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
|
|
|
10990
11467
|
}
|
|
10991
11468
|
}
|
|
10992
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
|
+
|
|
10993
11498
|
export class GetKubernetesTriggerResponseBody extends $tea.Model {
|
|
10994
11499
|
id?: string;
|
|
10995
11500
|
name?: string;
|
|
@@ -11108,6 +11613,71 @@ export class InstallClusterAddonsRequestBody extends $tea.Model {
|
|
|
11108
11613
|
}
|
|
11109
11614
|
}
|
|
11110
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
|
+
|
|
11111
11681
|
export class ListClusterChecksResponseBodyChecks extends $tea.Model {
|
|
11112
11682
|
checkId?: string;
|
|
11113
11683
|
createdAt?: string;
|
|
@@ -11530,6 +12100,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
11530
12100
|
dataDisks?: DataDisk[];
|
|
11531
12101
|
desiredSize?: number;
|
|
11532
12102
|
imageId?: string;
|
|
12103
|
+
imageType?: string;
|
|
11533
12104
|
instanceChargeType?: string;
|
|
11534
12105
|
instanceTypes?: string[];
|
|
11535
12106
|
internetChargeType?: string;
|
|
@@ -11549,8 +12120,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
11549
12120
|
spotInstanceRemedy?: boolean;
|
|
11550
12121
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
11551
12122
|
spotStrategy?: string;
|
|
12123
|
+
systemDiskBurstingEnabled?: boolean;
|
|
12124
|
+
systemDiskCategories?: string[];
|
|
11552
12125
|
systemDiskCategory?: string;
|
|
12126
|
+
systemDiskEncryptAlgorithm?: string;
|
|
12127
|
+
systemDiskEncrypted?: boolean;
|
|
12128
|
+
systemDiskKmsKeyId?: string;
|
|
11553
12129
|
systemDiskPerformanceLevel?: string;
|
|
12130
|
+
systemDiskProvisionedIops?: number;
|
|
11554
12131
|
systemDiskSize?: number;
|
|
11555
12132
|
tags?: Tag[];
|
|
11556
12133
|
vswitchIds?: string[];
|
|
@@ -11562,6 +12139,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
11562
12139
|
dataDisks: 'data_disks',
|
|
11563
12140
|
desiredSize: 'desired_size',
|
|
11564
12141
|
imageId: 'image_id',
|
|
12142
|
+
imageType: 'image_type',
|
|
11565
12143
|
instanceChargeType: 'instance_charge_type',
|
|
11566
12144
|
instanceTypes: 'instance_types',
|
|
11567
12145
|
internetChargeType: 'internet_charge_type',
|
|
@@ -11581,8 +12159,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
11581
12159
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
11582
12160
|
spotPriceLimit: 'spot_price_limit',
|
|
11583
12161
|
spotStrategy: 'spot_strategy',
|
|
12162
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
12163
|
+
systemDiskCategories: 'system_disk_categories',
|
|
11584
12164
|
systemDiskCategory: 'system_disk_category',
|
|
12165
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
12166
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
12167
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
11585
12168
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
12169
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
11586
12170
|
systemDiskSize: 'system_disk_size',
|
|
11587
12171
|
tags: 'tags',
|
|
11588
12172
|
vswitchIds: 'vswitch_ids',
|
|
@@ -11597,6 +12181,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
11597
12181
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
11598
12182
|
desiredSize: 'number',
|
|
11599
12183
|
imageId: 'string',
|
|
12184
|
+
imageType: 'string',
|
|
11600
12185
|
instanceChargeType: 'string',
|
|
11601
12186
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
11602
12187
|
internetChargeType: 'string',
|
|
@@ -11616,8 +12201,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
11616
12201
|
spotInstanceRemedy: 'boolean',
|
|
11617
12202
|
spotPriceLimit: { 'type': 'array', 'itemType': ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit },
|
|
11618
12203
|
spotStrategy: 'string',
|
|
12204
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
12205
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
11619
12206
|
systemDiskCategory: 'string',
|
|
12207
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
12208
|
+
systemDiskEncrypted: 'boolean',
|
|
12209
|
+
systemDiskKmsKeyId: 'string',
|
|
11620
12210
|
systemDiskPerformanceLevel: 'string',
|
|
12211
|
+
systemDiskProvisionedIops: 'number',
|
|
11621
12212
|
systemDiskSize: 'number',
|
|
11622
12213
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
11623
12214
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -12043,6 +12634,30 @@ export default class Client extends OpenApi {
|
|
|
12043
12634
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
12044
12635
|
}
|
|
12045
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
|
+
|
|
12046
12661
|
async cancelTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse> {
|
|
12047
12662
|
let req = new $OpenApi.OpenApiRequest({
|
|
12048
12663
|
headers: headers,
|
|
@@ -12623,6 +13238,10 @@ export default class Client extends OpenApi {
|
|
|
12623
13238
|
body["max_nodes"] = request.maxNodes;
|
|
12624
13239
|
}
|
|
12625
13240
|
|
|
13241
|
+
if (!Util.isUnset(request.nodeConfig)) {
|
|
13242
|
+
body["node_config"] = request.nodeConfig;
|
|
13243
|
+
}
|
|
13244
|
+
|
|
12626
13245
|
if (!Util.isUnset(request.nodepoolInfo)) {
|
|
12627
13246
|
body["nodepool_info"] = request.nodepoolInfo;
|
|
12628
13247
|
}
|
|
@@ -13658,9 +14277,20 @@ export default class Client extends OpenApi {
|
|
|
13658
14277
|
return await this.describeClusterResourcesWithOptions(ClusterId, headers, runtime);
|
|
13659
14278
|
}
|
|
13660
14279
|
|
|
13661
|
-
async describeClusterTasksWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse> {
|
|
14280
|
+
async describeClusterTasksWithOptions(clusterId: string, request: DescribeClusterTasksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse> {
|
|
14281
|
+
Util.validateModel(request);
|
|
14282
|
+
let query : {[key: string ]: any} = { };
|
|
14283
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
14284
|
+
query["page_number"] = request.pageNumber;
|
|
14285
|
+
}
|
|
14286
|
+
|
|
14287
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
14288
|
+
query["page_size"] = request.pageSize;
|
|
14289
|
+
}
|
|
14290
|
+
|
|
13662
14291
|
let req = new $OpenApi.OpenApiRequest({
|
|
13663
14292
|
headers: headers,
|
|
14293
|
+
query: OpenApiUtil.query(query),
|
|
13664
14294
|
});
|
|
13665
14295
|
let params = new $OpenApi.Params({
|
|
13666
14296
|
action: "DescribeClusterTasks",
|
|
@@ -13676,10 +14306,10 @@ export default class Client extends OpenApi {
|
|
|
13676
14306
|
return $tea.cast<DescribeClusterTasksResponse>(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
13677
14307
|
}
|
|
13678
14308
|
|
|
13679
|
-
async describeClusterTasks(clusterId: string): Promise<DescribeClusterTasksResponse> {
|
|
14309
|
+
async describeClusterTasks(clusterId: string, request: DescribeClusterTasksRequest): Promise<DescribeClusterTasksResponse> {
|
|
13680
14310
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13681
14311
|
let headers : {[key: string ]: string} = { };
|
|
13682
|
-
return await this.describeClusterTasksWithOptions(clusterId, headers, runtime);
|
|
14312
|
+
return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
|
|
13683
14313
|
}
|
|
13684
14314
|
|
|
13685
14315
|
async describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterUserKubeconfigResponse> {
|
|
@@ -13842,6 +14472,10 @@ export default class Client extends OpenApi {
|
|
|
13842
14472
|
async describeClustersV1WithOptions(request: DescribeClustersV1Request, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersV1Response> {
|
|
13843
14473
|
Util.validateModel(request);
|
|
13844
14474
|
let query : {[key: string ]: any} = { };
|
|
14475
|
+
if (!Util.isUnset(request.clusterId)) {
|
|
14476
|
+
query["cluster_id"] = request.clusterId;
|
|
14477
|
+
}
|
|
14478
|
+
|
|
13845
14479
|
if (!Util.isUnset(request.clusterSpec)) {
|
|
13846
14480
|
query["cluster_spec"] = request.clusterSpec;
|
|
13847
14481
|
}
|
|
@@ -14708,6 +15342,30 @@ export default class Client extends OpenApi {
|
|
|
14708
15342
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
14709
15343
|
}
|
|
14710
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
|
+
|
|
14711
15369
|
async getClusterCheckWithOptions(clusterId: string, checkId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterCheckResponse> {
|
|
14712
15370
|
let req = new $OpenApi.OpenApiRequest({
|
|
14713
15371
|
headers: headers,
|
|
@@ -14871,6 +15529,81 @@ export default class Client extends OpenApi {
|
|
|
14871
15529
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
14872
15530
|
}
|
|
14873
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
|
+
|
|
14874
15607
|
async listClusterChecksWithOptions(clusterId: string, request: ListClusterChecksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterChecksResponse> {
|
|
14875
15608
|
Util.validateModel(request);
|
|
14876
15609
|
let query : {[key: string ]: any} = { };
|