tencentcloud-sdk-nodejs-tke 4.0.352 → 4.0.353
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/CHANGELOG.md +334 -0
- package/SERVICE_CHANGELOG.md +583 -41
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/services/tke/v20180525/tke_client.ts +302 -74
- package/src/services/tke/v20180525/tke_models.ts +1456 -442
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +91 -19
- package/tencentcloud/services/tke/v20180525/tke_client.js +135 -27
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1237 -374
|
@@ -52,6 +52,22 @@ export interface EksCiVolume {
|
|
|
52
52
|
NfsVolumes?: Array<NfsVolume>
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* DescribeEdgeCVMInstances请求参数结构体
|
|
57
|
+
*/
|
|
58
|
+
export interface DescribeEdgeCVMInstancesRequest {
|
|
59
|
+
/**
|
|
60
|
+
* 集群id
|
|
61
|
+
*/
|
|
62
|
+
ClusterID: string
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* 过滤条件
|
|
66
|
+
仅支持cvm-id过滤
|
|
67
|
+
*/
|
|
68
|
+
Filters?: Array<Filter>
|
|
69
|
+
}
|
|
70
|
+
|
|
55
71
|
/**
|
|
56
72
|
* InstallLogAgent请求参数结构体
|
|
57
73
|
*/
|
|
@@ -240,6 +256,26 @@ export interface ServiceAccountAuthenticationOptions {
|
|
|
240
256
|
AutoCreateDiscoveryAnonymousAuth?: boolean
|
|
241
257
|
}
|
|
242
258
|
|
|
259
|
+
/**
|
|
260
|
+
* DescribeEdgeClusterInstances返回参数结构体
|
|
261
|
+
*/
|
|
262
|
+
export interface DescribeEdgeClusterInstancesResponse {
|
|
263
|
+
/**
|
|
264
|
+
* 该集群总数
|
|
265
|
+
*/
|
|
266
|
+
TotalCount?: number
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* 节点信息集合
|
|
270
|
+
*/
|
|
271
|
+
InstanceInfoSet?: string
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
275
|
+
*/
|
|
276
|
+
RequestId?: string
|
|
277
|
+
}
|
|
278
|
+
|
|
243
279
|
/**
|
|
244
280
|
* 不同角色的节点配置参数
|
|
245
281
|
*/
|
|
@@ -804,44 +840,13 @@ export interface ExtensionAddon {
|
|
|
804
840
|
}
|
|
805
841
|
|
|
806
842
|
/**
|
|
807
|
-
*
|
|
843
|
+
* DescribeResourceUsage请求参数结构体
|
|
808
844
|
*/
|
|
809
|
-
export interface
|
|
810
|
-
/**
|
|
811
|
-
* 地域名称
|
|
812
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
813
|
-
*/
|
|
814
|
-
RegionName: string
|
|
815
|
-
|
|
816
|
-
/**
|
|
817
|
-
* 地域ID
|
|
818
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
819
|
-
*/
|
|
820
|
-
RegionId: number
|
|
821
|
-
|
|
822
|
-
/**
|
|
823
|
-
* 地域状态
|
|
824
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
825
|
-
*/
|
|
826
|
-
Status: string
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* 地域特性开关(按照JSON的形式返回所有属性)
|
|
830
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
831
|
-
*/
|
|
832
|
-
FeatureGates: string
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
* 地域简称
|
|
836
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
837
|
-
*/
|
|
838
|
-
Alias: string
|
|
839
|
-
|
|
845
|
+
export interface DescribeResourceUsageRequest {
|
|
840
846
|
/**
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
Remark: string
|
|
847
|
+
* 集群ID
|
|
848
|
+
*/
|
|
849
|
+
ClusterId: string
|
|
845
850
|
}
|
|
846
851
|
|
|
847
852
|
/**
|
|
@@ -959,6 +964,26 @@ export interface CreatePrometheusDashboardResponse {
|
|
|
959
964
|
RequestId?: string
|
|
960
965
|
}
|
|
961
966
|
|
|
967
|
+
/**
|
|
968
|
+
* DescribeTKEEdgeClusterStatus返回参数结构体
|
|
969
|
+
*/
|
|
970
|
+
export interface DescribeTKEEdgeClusterStatusResponse {
|
|
971
|
+
/**
|
|
972
|
+
* 集群当前状态
|
|
973
|
+
*/
|
|
974
|
+
Phase?: string
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* 集群过程数组
|
|
978
|
+
*/
|
|
979
|
+
Conditions?: Array<ClusterCondition>
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
983
|
+
*/
|
|
984
|
+
RequestId?: string
|
|
985
|
+
}
|
|
986
|
+
|
|
962
987
|
/**
|
|
963
988
|
* DescribeClusterStatus请求参数结构体
|
|
964
989
|
*/
|
|
@@ -1100,6 +1125,21 @@ export interface ModifyPrometheusTemplateRequest {
|
|
|
1100
1125
|
Template: PrometheusTemplateModify
|
|
1101
1126
|
}
|
|
1102
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* DeleteEdgeClusterInstances请求参数结构体
|
|
1130
|
+
*/
|
|
1131
|
+
export interface DeleteEdgeClusterInstancesRequest {
|
|
1132
|
+
/**
|
|
1133
|
+
* 集群ID
|
|
1134
|
+
*/
|
|
1135
|
+
ClusterId: string
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* 待删除实例ID数组
|
|
1139
|
+
*/
|
|
1140
|
+
InstanceIds: Array<string>
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1103
1143
|
/**
|
|
1104
1144
|
* DescribeImageCaches请求参数结构体
|
|
1105
1145
|
*/
|
|
@@ -1159,6 +1199,105 @@ export interface DescribePrometheusAlertRuleRequest {
|
|
|
1159
1199
|
Filters?: Array<Filter>
|
|
1160
1200
|
}
|
|
1161
1201
|
|
|
1202
|
+
/**
|
|
1203
|
+
* DescribeEdgeAvailableExtraArgs请求参数结构体
|
|
1204
|
+
*/
|
|
1205
|
+
export interface DescribeEdgeAvailableExtraArgsRequest {
|
|
1206
|
+
/**
|
|
1207
|
+
* 集群版本
|
|
1208
|
+
*/
|
|
1209
|
+
ClusterVersion?: string
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* 已经存在的实例信息
|
|
1214
|
+
*/
|
|
1215
|
+
export interface ExistedInstance {
|
|
1216
|
+
/**
|
|
1217
|
+
* 实例是否支持加入集群(TRUE 可以加入 FALSE 不能加入)。
|
|
1218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1219
|
+
*/
|
|
1220
|
+
Usable: boolean
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* 实例不支持加入的原因。
|
|
1224
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1225
|
+
*/
|
|
1226
|
+
UnusableReason: string
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* 实例已经所在的集群ID。
|
|
1230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1231
|
+
*/
|
|
1232
|
+
AlreadyInCluster: string
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* 实例ID形如:ins-xxxxxxxx。
|
|
1236
|
+
*/
|
|
1237
|
+
InstanceId: string
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* 实例名称。
|
|
1241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1242
|
+
*/
|
|
1243
|
+
InstanceName: string
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* 实例主网卡的内网IP列表。
|
|
1247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1248
|
+
*/
|
|
1249
|
+
PrivateIpAddresses: Array<string>
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* 实例主网卡的公网IP列表。
|
|
1253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1255
|
+
*/
|
|
1256
|
+
PublicIpAddresses: Array<string>
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。
|
|
1260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1261
|
+
*/
|
|
1262
|
+
CreatedTime: string
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* 实例的CPU核数,单位:核。
|
|
1266
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1267
|
+
*/
|
|
1268
|
+
CPU: number
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* 实例内存容量,单位:GB。
|
|
1272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1273
|
+
*/
|
|
1274
|
+
Memory: number
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* 操作系统名称。
|
|
1278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1279
|
+
*/
|
|
1280
|
+
OsName: string
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* 实例机型。
|
|
1284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1285
|
+
*/
|
|
1286
|
+
InstanceType: string
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* 伸缩组ID
|
|
1290
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1291
|
+
*/
|
|
1292
|
+
AutoscalingGroupId: string
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。
|
|
1296
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1297
|
+
*/
|
|
1298
|
+
InstanceChargeType: string
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1162
1301
|
/**
|
|
1163
1302
|
* AddNodeToNodePool返回参数结构体
|
|
1164
1303
|
*/
|
|
@@ -1326,6 +1465,28 @@ export interface GetMostSuitableImageCacheResponse {
|
|
|
1326
1465
|
RequestId?: string
|
|
1327
1466
|
}
|
|
1328
1467
|
|
|
1468
|
+
/**
|
|
1469
|
+
* DescribeEdgeAvailableExtraArgs返回参数结构体
|
|
1470
|
+
*/
|
|
1471
|
+
export interface DescribeEdgeAvailableExtraArgsResponse {
|
|
1472
|
+
/**
|
|
1473
|
+
* 集群版本
|
|
1474
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1475
|
+
*/
|
|
1476
|
+
ClusterVersion?: string
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* 可用的自定义参数
|
|
1480
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1481
|
+
*/
|
|
1482
|
+
AvailableExtraArgs?: EdgeAvailableExtraArgs
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1486
|
+
*/
|
|
1487
|
+
RequestId?: string
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1329
1490
|
/**
|
|
1330
1491
|
* DescribeEnableVpcCniProgress请求参数结构体
|
|
1331
1492
|
*/
|
|
@@ -1687,6 +1848,16 @@ export interface DescribePrometheusRecordRulesRequest {
|
|
|
1687
1848
|
Filters?: Array<Filter>
|
|
1688
1849
|
}
|
|
1689
1850
|
|
|
1851
|
+
/**
|
|
1852
|
+
* DescribeTKEEdgeClusterStatus请求参数结构体
|
|
1853
|
+
*/
|
|
1854
|
+
export interface DescribeTKEEdgeClusterStatusRequest {
|
|
1855
|
+
/**
|
|
1856
|
+
* 边缘计算容器集群Id
|
|
1857
|
+
*/
|
|
1858
|
+
ClusterId: string
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1690
1861
|
/**
|
|
1691
1862
|
* AcquireClusterAdminRole返回参数结构体
|
|
1692
1863
|
*/
|
|
@@ -1723,6 +1894,16 @@ export interface DescribePrometheusTemplateSyncRequest {
|
|
|
1723
1894
|
TemplateId: string
|
|
1724
1895
|
}
|
|
1725
1896
|
|
|
1897
|
+
/**
|
|
1898
|
+
* DeleteTKEEdgeCluster返回参数结构体
|
|
1899
|
+
*/
|
|
1900
|
+
export interface DeleteTKEEdgeClusterResponse {
|
|
1901
|
+
/**
|
|
1902
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1903
|
+
*/
|
|
1904
|
+
RequestId?: string
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1726
1907
|
/**
|
|
1727
1908
|
* 可升级节点信息
|
|
1728
1909
|
*/
|
|
@@ -1859,6 +2040,11 @@ export interface AddExistedInstancesRequest {
|
|
|
1859
2040
|
参数InstanceAdvancedSettingsOverride数组的长度应与InstanceIds数组一致;当长度大于InstanceIds数组长度时将报错;当长度小于InstanceIds数组时,没有对应配置的instace将使用默认配置。
|
|
1860
2041
|
*/
|
|
1861
2042
|
InstanceAdvancedSettingsOverrides?: Array<InstanceAdvancedSettings>
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* 节点镜像(节点选项时,该参数是必传参数)
|
|
2046
|
+
*/
|
|
2047
|
+
ImageId?: string
|
|
1862
2048
|
}
|
|
1863
2049
|
|
|
1864
2050
|
/**
|
|
@@ -2174,36 +2360,82 @@ export interface DescribeClusterAsGroupOptionResponse {
|
|
|
2174
2360
|
}
|
|
2175
2361
|
|
|
2176
2362
|
/**
|
|
2177
|
-
*
|
|
2363
|
+
* CreateTKEEdgeCluster返回参数结构体
|
|
2178
2364
|
*/
|
|
2179
|
-
export interface
|
|
2365
|
+
export interface CreateTKEEdgeClusterResponse {
|
|
2180
2366
|
/**
|
|
2181
|
-
*
|
|
2367
|
+
* 边缘计算集群Id
|
|
2182
2368
|
*/
|
|
2183
|
-
|
|
2369
|
+
ClusterId: string
|
|
2184
2370
|
|
|
2185
2371
|
/**
|
|
2186
|
-
*
|
|
2372
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2187
2373
|
*/
|
|
2188
|
-
|
|
2374
|
+
RequestId?: string
|
|
2375
|
+
}
|
|
2189
2376
|
|
|
2377
|
+
/**
|
|
2378
|
+
* DescribeEdgeClusterExtraArgs返回参数结构体
|
|
2379
|
+
*/
|
|
2380
|
+
export interface DescribeEdgeClusterExtraArgsResponse {
|
|
2190
2381
|
/**
|
|
2191
|
-
|
|
2382
|
+
* 集群自定义参数
|
|
2383
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2384
|
+
*/
|
|
2385
|
+
ClusterExtraArgs: EdgeClusterExtraArgs
|
|
2386
|
+
|
|
2387
|
+
/**
|
|
2388
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2192
2389
|
*/
|
|
2193
|
-
|
|
2390
|
+
RequestId?: string
|
|
2194
2391
|
}
|
|
2195
2392
|
|
|
2196
2393
|
/**
|
|
2197
|
-
*
|
|
2394
|
+
* 资源删除选项
|
|
2198
2395
|
*/
|
|
2199
|
-
export interface
|
|
2396
|
+
export interface ResourceDeleteOption {
|
|
2200
2397
|
/**
|
|
2201
|
-
*
|
|
2398
|
+
* 资源类型,例如CBS
|
|
2202
2399
|
*/
|
|
2203
|
-
|
|
2400
|
+
ResourceType: string
|
|
2204
2401
|
|
|
2205
2402
|
/**
|
|
2206
|
-
*
|
|
2403
|
+
* 集群删除时资源的删除模式:terminate(销毁),retain (保留)
|
|
2404
|
+
*/
|
|
2405
|
+
DeleteMode: string
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
/**
|
|
2409
|
+
* CheckEdgeClusterCIDR请求参数结构体
|
|
2410
|
+
*/
|
|
2411
|
+
export interface CheckEdgeClusterCIDRRequest {
|
|
2412
|
+
/**
|
|
2413
|
+
* 集群的vpc-id
|
|
2414
|
+
*/
|
|
2415
|
+
VpcId: string
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* 集群的pod CIDR
|
|
2419
|
+
*/
|
|
2420
|
+
PodCIDR: string
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* 集群的service CIDR
|
|
2424
|
+
*/
|
|
2425
|
+
ServiceCIDR: string
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* CreateImageCache请求参数结构体
|
|
2430
|
+
*/
|
|
2431
|
+
export interface CreateImageCacheRequest {
|
|
2432
|
+
/**
|
|
2433
|
+
* 用于制作镜像缓存的容器镜像列表
|
|
2434
|
+
*/
|
|
2435
|
+
Images: Array<string>
|
|
2436
|
+
|
|
2437
|
+
/**
|
|
2438
|
+
* 实例所属子网Id
|
|
2207
2439
|
*/
|
|
2208
2440
|
SubnetId: string
|
|
2209
2441
|
|
|
@@ -2338,23 +2570,64 @@ export interface NodeCountSummary {
|
|
|
2338
2570
|
}
|
|
2339
2571
|
|
|
2340
2572
|
/**
|
|
2341
|
-
*
|
|
2573
|
+
* 边缘计算集群信息
|
|
2342
2574
|
*/
|
|
2343
|
-
export interface
|
|
2575
|
+
export interface EdgeCluster {
|
|
2344
2576
|
/**
|
|
2345
|
-
* 集群
|
|
2577
|
+
* 集群Id
|
|
2346
2578
|
*/
|
|
2347
2579
|
ClusterId: string
|
|
2348
2580
|
|
|
2349
2581
|
/**
|
|
2350
|
-
*
|
|
2582
|
+
* 集群名称
|
|
2351
2583
|
*/
|
|
2352
|
-
|
|
2584
|
+
ClusterName: string
|
|
2353
2585
|
|
|
2354
2586
|
/**
|
|
2355
|
-
*
|
|
2587
|
+
* Vpc Id
|
|
2356
2588
|
*/
|
|
2357
|
-
|
|
2589
|
+
VpcId: string
|
|
2590
|
+
|
|
2591
|
+
/**
|
|
2592
|
+
* 集群pod cidr
|
|
2593
|
+
*/
|
|
2594
|
+
PodCIDR: string
|
|
2595
|
+
|
|
2596
|
+
/**
|
|
2597
|
+
* 集群 service cidr
|
|
2598
|
+
*/
|
|
2599
|
+
ServiceCIDR: string
|
|
2600
|
+
|
|
2601
|
+
/**
|
|
2602
|
+
* k8s 版本号
|
|
2603
|
+
*/
|
|
2604
|
+
K8SVersion: string
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* 集群状态
|
|
2608
|
+
*/
|
|
2609
|
+
Status?: string
|
|
2610
|
+
|
|
2611
|
+
/**
|
|
2612
|
+
* 集群描述信息
|
|
2613
|
+
*/
|
|
2614
|
+
ClusterDesc?: string
|
|
2615
|
+
|
|
2616
|
+
/**
|
|
2617
|
+
* 集群创建时间
|
|
2618
|
+
*/
|
|
2619
|
+
CreatedTime?: string
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* 边缘集群版本
|
|
2623
|
+
*/
|
|
2624
|
+
EdgeClusterVersion?: string
|
|
2625
|
+
|
|
2626
|
+
/**
|
|
2627
|
+
* 节点最大Pod数
|
|
2628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2629
|
+
*/
|
|
2630
|
+
MaxNodePodNum?: number
|
|
2358
2631
|
}
|
|
2359
2632
|
|
|
2360
2633
|
/**
|
|
@@ -2473,23 +2746,107 @@ export interface NfsVolume {
|
|
|
2473
2746
|
}
|
|
2474
2747
|
|
|
2475
2748
|
/**
|
|
2476
|
-
*
|
|
2749
|
+
* amp告警渠道配置
|
|
2477
2750
|
*/
|
|
2478
|
-
export interface
|
|
2751
|
+
export interface PrometheusNotification {
|
|
2479
2752
|
/**
|
|
2480
|
-
*
|
|
2753
|
+
* 是否启用
|
|
2481
2754
|
*/
|
|
2482
|
-
|
|
2755
|
+
Enabled: boolean
|
|
2483
2756
|
|
|
2484
2757
|
/**
|
|
2485
|
-
*
|
|
2758
|
+
* 收敛时间
|
|
2486
2759
|
*/
|
|
2487
|
-
|
|
2760
|
+
RepeatInterval: string
|
|
2488
2761
|
|
|
2489
2762
|
/**
|
|
2490
|
-
*
|
|
2763
|
+
* 生效起始时间
|
|
2491
2764
|
*/
|
|
2492
|
-
|
|
2765
|
+
TimeRangeStart: string
|
|
2766
|
+
|
|
2767
|
+
/**
|
|
2768
|
+
* 生效结束时间
|
|
2769
|
+
*/
|
|
2770
|
+
TimeRangeEnd: string
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
|
|
2774
|
+
分别代表:短信、邮件、电话、微信
|
|
2775
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2776
|
+
*/
|
|
2777
|
+
NotifyWay?: Array<string>
|
|
2778
|
+
|
|
2779
|
+
/**
|
|
2780
|
+
* 告警接收组(用户组)
|
|
2781
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2782
|
+
*/
|
|
2783
|
+
ReceiverGroups?: Array<number>
|
|
2784
|
+
|
|
2785
|
+
/**
|
|
2786
|
+
* 电话告警顺序。
|
|
2787
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2788
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2789
|
+
*/
|
|
2790
|
+
PhoneNotifyOrder?: Array<number>
|
|
2791
|
+
|
|
2792
|
+
/**
|
|
2793
|
+
* 电话告警次数。
|
|
2794
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2796
|
+
*/
|
|
2797
|
+
PhoneCircleTimes?: number
|
|
2798
|
+
|
|
2799
|
+
/**
|
|
2800
|
+
* 电话告警轮内间隔。单位:秒
|
|
2801
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2802
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2803
|
+
*/
|
|
2804
|
+
PhoneInnerInterval?: number
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* 电话告警轮外间隔。单位:秒
|
|
2808
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2810
|
+
*/
|
|
2811
|
+
PhoneCircleInterval?: number
|
|
2812
|
+
|
|
2813
|
+
/**
|
|
2814
|
+
* 电话告警触达通知
|
|
2815
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2816
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2817
|
+
*/
|
|
2818
|
+
PhoneArriveNotice?: boolean
|
|
2819
|
+
|
|
2820
|
+
/**
|
|
2821
|
+
* 通道类型,默认为amp,支持以下
|
|
2822
|
+
amp
|
|
2823
|
+
webhook
|
|
2824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2825
|
+
*/
|
|
2826
|
+
Type?: string
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* 如果Type为webhook, 则该字段为必填项
|
|
2830
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2831
|
+
*/
|
|
2832
|
+
WebHook?: string
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
/**
|
|
2836
|
+
* 边缘计算集群公网访问负载均衡信息
|
|
2837
|
+
*/
|
|
2838
|
+
export interface EdgeClusterPublicLB {
|
|
2839
|
+
/**
|
|
2840
|
+
* 是否开启公网访问LB
|
|
2841
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2842
|
+
*/
|
|
2843
|
+
Enabled: boolean
|
|
2844
|
+
|
|
2845
|
+
/**
|
|
2846
|
+
* 允许访问的公网cidr
|
|
2847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2848
|
+
*/
|
|
2849
|
+
AllowFromCidrs?: Array<string>
|
|
2493
2850
|
}
|
|
2494
2851
|
|
|
2495
2852
|
/**
|
|
@@ -2683,6 +3040,31 @@ export interface DeleteClusterRequest {
|
|
|
2683
3040
|
ResourceDeleteOptions?: Array<ResourceDeleteOption>
|
|
2684
3041
|
}
|
|
2685
3042
|
|
|
3043
|
+
/**
|
|
3044
|
+
* DescribeTKEEdgeClusters返回参数结构体
|
|
3045
|
+
*/
|
|
3046
|
+
export interface DescribeTKEEdgeClustersResponse {
|
|
3047
|
+
/**
|
|
3048
|
+
* 集群总个数
|
|
3049
|
+
*/
|
|
3050
|
+
TotalCount?: number
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* 集群信息列表
|
|
3054
|
+
*/
|
|
3055
|
+
Clusters?: Array<EdgeCluster>
|
|
3056
|
+
|
|
3057
|
+
/**
|
|
3058
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3059
|
+
*/
|
|
3060
|
+
RequestId?: string
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
/**
|
|
3064
|
+
* DescribeAvailableTKEEdgeVersion请求参数结构体
|
|
3065
|
+
*/
|
|
3066
|
+
export type DescribeAvailableTKEEdgeVersionRequest = null
|
|
3067
|
+
|
|
2686
3068
|
/**
|
|
2687
3069
|
* DeleteClusterAsGroups请求参数结构体
|
|
2688
3070
|
*/
|
|
@@ -2949,53 +3331,58 @@ export interface EksCiRegionInfo {
|
|
|
2949
3331
|
}
|
|
2950
3332
|
|
|
2951
3333
|
/**
|
|
2952
|
-
*
|
|
3334
|
+
* DescribeEdgeClusterInstances请求参数结构体
|
|
2953
3335
|
*/
|
|
2954
|
-
export interface
|
|
3336
|
+
export interface DescribeEdgeClusterInstancesRequest {
|
|
2955
3337
|
/**
|
|
2956
|
-
* 集群
|
|
3338
|
+
* 集群id
|
|
2957
3339
|
*/
|
|
2958
|
-
|
|
2959
|
-
}
|
|
3340
|
+
ClusterID: string
|
|
2960
3341
|
|
|
2961
|
-
/**
|
|
2962
|
-
* 服务事件
|
|
2963
|
-
*/
|
|
2964
|
-
export interface Event {
|
|
2965
3342
|
/**
|
|
2966
|
-
*
|
|
3343
|
+
* 查询总数
|
|
2967
3344
|
*/
|
|
2968
|
-
|
|
3345
|
+
Limit: number
|
|
2969
3346
|
|
|
2970
3347
|
/**
|
|
2971
|
-
*
|
|
3348
|
+
* 偏移量
|
|
2972
3349
|
*/
|
|
2973
|
-
|
|
3350
|
+
Offset: number
|
|
2974
3351
|
|
|
2975
3352
|
/**
|
|
2976
|
-
*
|
|
3353
|
+
* 过滤条件,仅支持NodeName过滤
|
|
2977
3354
|
*/
|
|
2978
|
-
|
|
3355
|
+
Filters?: Array<Filter>
|
|
3356
|
+
}
|
|
2979
3357
|
|
|
3358
|
+
/**
|
|
3359
|
+
* DisableClusterAudit请求参数结构体
|
|
3360
|
+
*/
|
|
3361
|
+
export interface DisableClusterAuditRequest {
|
|
2980
3362
|
/**
|
|
2981
|
-
*
|
|
3363
|
+
* 集群ID
|
|
2982
3364
|
*/
|
|
2983
|
-
|
|
3365
|
+
ClusterId: string
|
|
3366
|
+
}
|
|
2984
3367
|
|
|
3368
|
+
/**
|
|
3369
|
+
* DescribePrometheusRecordRules返回参数结构体
|
|
3370
|
+
*/
|
|
3371
|
+
export interface DescribePrometheusRecordRulesResponse {
|
|
2985
3372
|
/**
|
|
2986
|
-
*
|
|
3373
|
+
* 聚合规则
|
|
2987
3374
|
*/
|
|
2988
|
-
|
|
3375
|
+
Records: Array<PrometheusRecordRuleYamlItem>
|
|
2989
3376
|
|
|
2990
3377
|
/**
|
|
2991
|
-
*
|
|
3378
|
+
* 总数
|
|
2992
3379
|
*/
|
|
2993
|
-
|
|
3380
|
+
Total: number
|
|
2994
3381
|
|
|
2995
3382
|
/**
|
|
2996
|
-
*
|
|
3383
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2997
3384
|
*/
|
|
2998
|
-
|
|
3385
|
+
RequestId?: string
|
|
2999
3386
|
}
|
|
3000
3387
|
|
|
3001
3388
|
/**
|
|
@@ -3058,28 +3445,54 @@ export interface ResourceUsage {
|
|
|
3058
3445
|
}
|
|
3059
3446
|
|
|
3060
3447
|
/**
|
|
3061
|
-
*
|
|
3448
|
+
* DescribeTKEEdgeClusters请求参数结构体
|
|
3062
3449
|
*/
|
|
3063
|
-
export interface
|
|
3450
|
+
export interface DescribeTKEEdgeClustersRequest {
|
|
3064
3451
|
/**
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3452
|
+
* 集群ID列表(为空时,
|
|
3453
|
+
表示获取账号下所有集群)
|
|
3454
|
+
*/
|
|
3455
|
+
ClusterIds?: Array<string>
|
|
3068
3456
|
|
|
3069
3457
|
/**
|
|
3070
|
-
*
|
|
3458
|
+
* 偏移量,默认0
|
|
3071
3459
|
*/
|
|
3072
|
-
|
|
3460
|
+
Offset?: number
|
|
3073
3461
|
|
|
3074
3462
|
/**
|
|
3075
|
-
*
|
|
3463
|
+
* 最大输出条数,默认20
|
|
3076
3464
|
*/
|
|
3077
|
-
|
|
3465
|
+
Limit?: number
|
|
3078
3466
|
|
|
3079
3467
|
/**
|
|
3080
|
-
*
|
|
3468
|
+
* 过滤条件,当前只支持按照单个条件ClusterName进行过滤
|
|
3081
3469
|
*/
|
|
3082
|
-
|
|
3470
|
+
Filters?: Array<Filter>
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
/**
|
|
3474
|
+
* DescribePrometheusAlertHistory请求参数结构体
|
|
3475
|
+
*/
|
|
3476
|
+
export interface DescribePrometheusAlertHistoryRequest {
|
|
3477
|
+
/**
|
|
3478
|
+
* 实例id
|
|
3479
|
+
*/
|
|
3480
|
+
InstanceId: string
|
|
3481
|
+
|
|
3482
|
+
/**
|
|
3483
|
+
* 告警名称
|
|
3484
|
+
*/
|
|
3485
|
+
RuleName?: string
|
|
3486
|
+
|
|
3487
|
+
/**
|
|
3488
|
+
* 开始时间
|
|
3489
|
+
*/
|
|
3490
|
+
StartTime?: string
|
|
3491
|
+
|
|
3492
|
+
/**
|
|
3493
|
+
* 结束时间
|
|
3494
|
+
*/
|
|
3495
|
+
EndTime?: string
|
|
3083
3496
|
|
|
3084
3497
|
/**
|
|
3085
3498
|
* label集合
|
|
@@ -3342,6 +3755,16 @@ export interface AddClusterCIDRRequest {
|
|
|
3342
3755
|
IgnoreClusterCIDRConflict?: boolean
|
|
3343
3756
|
}
|
|
3344
3757
|
|
|
3758
|
+
/**
|
|
3759
|
+
* DescribeEdgeClusterExtraArgs请求参数结构体
|
|
3760
|
+
*/
|
|
3761
|
+
export interface DescribeEdgeClusterExtraArgsRequest {
|
|
3762
|
+
/**
|
|
3763
|
+
* 集群ID
|
|
3764
|
+
*/
|
|
3765
|
+
ClusterId: string
|
|
3766
|
+
}
|
|
3767
|
+
|
|
3345
3768
|
/**
|
|
3346
3769
|
* DescribeClusters返回参数结构体
|
|
3347
3770
|
*/
|
|
@@ -3566,6 +3989,23 @@ export interface DescribeResourceUsageResponse {
|
|
|
3566
3989
|
RequestId?: string
|
|
3567
3990
|
}
|
|
3568
3991
|
|
|
3992
|
+
/**
|
|
3993
|
+
* 边缘计算集群内网访问LB信息
|
|
3994
|
+
*/
|
|
3995
|
+
export interface EdgeClusterInternalLB {
|
|
3996
|
+
/**
|
|
3997
|
+
* 是否开启内网访问LB
|
|
3998
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3999
|
+
*/
|
|
4000
|
+
Enabled: boolean
|
|
4001
|
+
|
|
4002
|
+
/**
|
|
4003
|
+
* 内网访问LB关联的子网Id
|
|
4004
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4005
|
+
*/
|
|
4006
|
+
SubnetId?: Array<string>
|
|
4007
|
+
}
|
|
4008
|
+
|
|
3569
4009
|
/**
|
|
3570
4010
|
* DescribeClusterRoutes返回参数结构体
|
|
3571
4011
|
*/
|
|
@@ -3638,13 +4078,64 @@ export interface DeleteClusterAsGroupsResponse {
|
|
|
3638
4078
|
}
|
|
3639
4079
|
|
|
3640
4080
|
/**
|
|
3641
|
-
*
|
|
4081
|
+
* 地域属性信息
|
|
3642
4082
|
*/
|
|
3643
|
-
export interface
|
|
4083
|
+
export interface RegionInstance {
|
|
3644
4084
|
/**
|
|
3645
|
-
|
|
4085
|
+
* 地域名称
|
|
4086
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4087
|
+
*/
|
|
4088
|
+
RegionName: string
|
|
4089
|
+
|
|
4090
|
+
/**
|
|
4091
|
+
* 地域ID
|
|
4092
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4093
|
+
*/
|
|
4094
|
+
RegionId: number
|
|
4095
|
+
|
|
4096
|
+
/**
|
|
4097
|
+
* 地域状态
|
|
4098
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4099
|
+
*/
|
|
4100
|
+
Status: string
|
|
4101
|
+
|
|
4102
|
+
/**
|
|
4103
|
+
* 地域特性开关(按照JSON的形式返回所有属性)
|
|
4104
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4105
|
+
*/
|
|
4106
|
+
FeatureGates: string
|
|
4107
|
+
|
|
4108
|
+
/**
|
|
4109
|
+
* 地域简称
|
|
4110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4111
|
+
*/
|
|
4112
|
+
Alias: string
|
|
4113
|
+
|
|
4114
|
+
/**
|
|
4115
|
+
* 地域白名单
|
|
4116
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4117
|
+
*/
|
|
4118
|
+
Remark: string
|
|
4119
|
+
}
|
|
4120
|
+
|
|
4121
|
+
/**
|
|
4122
|
+
* 加入存量节点时的节点池选项
|
|
4123
|
+
*/
|
|
4124
|
+
export interface NodePoolOption {
|
|
4125
|
+
/**
|
|
4126
|
+
* 是否加入节点池
|
|
3646
4127
|
*/
|
|
3647
|
-
|
|
4128
|
+
AddToNodePool?: boolean
|
|
4129
|
+
|
|
4130
|
+
/**
|
|
4131
|
+
* 节点池id
|
|
4132
|
+
*/
|
|
4133
|
+
NodePoolId?: string
|
|
4134
|
+
|
|
4135
|
+
/**
|
|
4136
|
+
* 是否继承节点池相关配置
|
|
4137
|
+
*/
|
|
4138
|
+
InheritConfigurationFromNodePool?: boolean
|
|
3648
4139
|
}
|
|
3649
4140
|
|
|
3650
4141
|
/**
|
|
@@ -4111,6 +4602,81 @@ export interface Capabilities {
|
|
|
4111
4602
|
Drop?: Array<string>
|
|
4112
4603
|
}
|
|
4113
4604
|
|
|
4605
|
+
/**
|
|
4606
|
+
* UpdateTKEEdgeCluster请求参数结构体
|
|
4607
|
+
*/
|
|
4608
|
+
export interface UpdateTKEEdgeClusterRequest {
|
|
4609
|
+
/**
|
|
4610
|
+
* 边缘计算集群ID
|
|
4611
|
+
*/
|
|
4612
|
+
ClusterId: string
|
|
4613
|
+
|
|
4614
|
+
/**
|
|
4615
|
+
* 边缘计算集群名称
|
|
4616
|
+
*/
|
|
4617
|
+
ClusterName?: string
|
|
4618
|
+
|
|
4619
|
+
/**
|
|
4620
|
+
* 边缘计算集群描述信息
|
|
4621
|
+
*/
|
|
4622
|
+
ClusterDesc?: string
|
|
4623
|
+
|
|
4624
|
+
/**
|
|
4625
|
+
* 边缘计算集群的pod cidr
|
|
4626
|
+
*/
|
|
4627
|
+
PodCIDR?: string
|
|
4628
|
+
|
|
4629
|
+
/**
|
|
4630
|
+
* 边缘计算集群的service cidr
|
|
4631
|
+
*/
|
|
4632
|
+
ServiceCIDR?: string
|
|
4633
|
+
|
|
4634
|
+
/**
|
|
4635
|
+
* 边缘计算集群公网访问LB信息
|
|
4636
|
+
*/
|
|
4637
|
+
PublicLB?: EdgeClusterPublicLB
|
|
4638
|
+
|
|
4639
|
+
/**
|
|
4640
|
+
* 边缘计算集群内网访问LB信息
|
|
4641
|
+
*/
|
|
4642
|
+
InternalLB?: EdgeClusterInternalLB
|
|
4643
|
+
|
|
4644
|
+
/**
|
|
4645
|
+
* 边缘计算集群的CoreDns部署信息
|
|
4646
|
+
*/
|
|
4647
|
+
CoreDns?: string
|
|
4648
|
+
|
|
4649
|
+
/**
|
|
4650
|
+
* 边缘计算集群的健康检查多地域部署信息
|
|
4651
|
+
*/
|
|
4652
|
+
HealthRegion?: string
|
|
4653
|
+
|
|
4654
|
+
/**
|
|
4655
|
+
* 边缘计算集群的健康检查部署信息
|
|
4656
|
+
*/
|
|
4657
|
+
Health?: string
|
|
4658
|
+
|
|
4659
|
+
/**
|
|
4660
|
+
* 边缘计算集群的GridDaemon部署信息
|
|
4661
|
+
*/
|
|
4662
|
+
GridDaemon?: string
|
|
4663
|
+
}
|
|
4664
|
+
|
|
4665
|
+
/**
|
|
4666
|
+
* DescribeTKEEdgeExternalKubeconfig返回参数结构体
|
|
4667
|
+
*/
|
|
4668
|
+
export interface DescribeTKEEdgeExternalKubeconfigResponse {
|
|
4669
|
+
/**
|
|
4670
|
+
* kubeconfig文件内容
|
|
4671
|
+
*/
|
|
4672
|
+
Kubeconfig?: string
|
|
4673
|
+
|
|
4674
|
+
/**
|
|
4675
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4676
|
+
*/
|
|
4677
|
+
RequestId?: string
|
|
4678
|
+
}
|
|
4679
|
+
|
|
4114
4680
|
/**
|
|
4115
4681
|
* CreateClusterInstances返回参数结构体
|
|
4116
4682
|
*/
|
|
@@ -4156,6 +4722,21 @@ export interface DescribeClusterRoutesRequest {
|
|
|
4156
4722
|
Filters?: Array<Filter>
|
|
4157
4723
|
}
|
|
4158
4724
|
|
|
4725
|
+
/**
|
|
4726
|
+
* DeleteECMInstances请求参数结构体
|
|
4727
|
+
*/
|
|
4728
|
+
export interface DeleteECMInstancesRequest {
|
|
4729
|
+
/**
|
|
4730
|
+
* 集群ID
|
|
4731
|
+
*/
|
|
4732
|
+
ClusterID: string
|
|
4733
|
+
|
|
4734
|
+
/**
|
|
4735
|
+
* ecm id集合
|
|
4736
|
+
*/
|
|
4737
|
+
EcmIdSet: Array<string>
|
|
4738
|
+
}
|
|
4739
|
+
|
|
4159
4740
|
/**
|
|
4160
4741
|
* 托管集群等级属性
|
|
4161
4742
|
*/
|
|
@@ -4292,6 +4873,26 @@ export interface DisableClusterAuditResponse {
|
|
|
4292
4873
|
RequestId?: string
|
|
4293
4874
|
}
|
|
4294
4875
|
|
|
4876
|
+
/**
|
|
4877
|
+
* RemoveNodeFromNodePool请求参数结构体
|
|
4878
|
+
*/
|
|
4879
|
+
export interface RemoveNodeFromNodePoolRequest {
|
|
4880
|
+
/**
|
|
4881
|
+
* 集群id
|
|
4882
|
+
*/
|
|
4883
|
+
ClusterId: string
|
|
4884
|
+
|
|
4885
|
+
/**
|
|
4886
|
+
* 节点池id
|
|
4887
|
+
*/
|
|
4888
|
+
NodePoolId: string
|
|
4889
|
+
|
|
4890
|
+
/**
|
|
4891
|
+
* 节点id列表,一次最多支持100台
|
|
4892
|
+
*/
|
|
4893
|
+
InstanceIds: Array<string>
|
|
4894
|
+
}
|
|
4895
|
+
|
|
4295
4896
|
/**
|
|
4296
4897
|
* DescribeClusterLevelChangeRecords请求参数结构体
|
|
4297
4898
|
*/
|
|
@@ -4412,6 +5013,31 @@ export interface CreateClusterNodePoolResponse {
|
|
|
4412
5013
|
RequestId?: string
|
|
4413
5014
|
}
|
|
4414
5015
|
|
|
5016
|
+
/**
|
|
5017
|
+
* 过滤器
|
|
5018
|
+
*/
|
|
5019
|
+
export interface Filter {
|
|
5020
|
+
/**
|
|
5021
|
+
* 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
5022
|
+
*/
|
|
5023
|
+
Name: string
|
|
5024
|
+
|
|
5025
|
+
/**
|
|
5026
|
+
* 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
|
5027
|
+
*/
|
|
5028
|
+
Values: Array<string>
|
|
5029
|
+
}
|
|
5030
|
+
|
|
5031
|
+
/**
|
|
5032
|
+
* UpdateTKEEdgeCluster返回参数结构体
|
|
5033
|
+
*/
|
|
5034
|
+
export interface UpdateTKEEdgeClusterResponse {
|
|
5035
|
+
/**
|
|
5036
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5037
|
+
*/
|
|
5038
|
+
RequestId?: string
|
|
5039
|
+
}
|
|
5040
|
+
|
|
4415
5041
|
/**
|
|
4416
5042
|
* 用以帮助用户自动创建EIP的配置
|
|
4417
5043
|
*/
|
|
@@ -4777,6 +5403,16 @@ export interface DNSConfig {
|
|
|
4777
5403
|
Options?: Array<DNSConfigOption>
|
|
4778
5404
|
}
|
|
4779
5405
|
|
|
5406
|
+
/**
|
|
5407
|
+
* DescribeTKEEdgeExternalKubeconfig请求参数结构体
|
|
5408
|
+
*/
|
|
5409
|
+
export interface DescribeTKEEdgeExternalKubeconfigRequest {
|
|
5410
|
+
/**
|
|
5411
|
+
* 集群id
|
|
5412
|
+
*/
|
|
5413
|
+
ClusterId: string
|
|
5414
|
+
}
|
|
5415
|
+
|
|
4780
5416
|
/**
|
|
4781
5417
|
* CreatePrometheusAlertPolicy返回参数结构体
|
|
4782
5418
|
*/
|
|
@@ -4810,110 +5446,53 @@ export interface DNSConfigOption {
|
|
|
4810
5446
|
}
|
|
4811
5447
|
|
|
4812
5448
|
/**
|
|
4813
|
-
*
|
|
5449
|
+
* AddNodeToNodePool请求参数结构体
|
|
4814
5450
|
*/
|
|
4815
|
-
export interface
|
|
5451
|
+
export interface AddNodeToNodePoolRequest {
|
|
4816
5452
|
/**
|
|
4817
|
-
*
|
|
5453
|
+
* 集群id
|
|
4818
5454
|
*/
|
|
4819
|
-
|
|
5455
|
+
ClusterId: string
|
|
4820
5456
|
|
|
4821
5457
|
/**
|
|
4822
|
-
*
|
|
5458
|
+
* 节点池id
|
|
4823
5459
|
*/
|
|
4824
|
-
|
|
5460
|
+
NodePoolId: string
|
|
4825
5461
|
|
|
4826
5462
|
/**
|
|
4827
|
-
*
|
|
5463
|
+
* 节点id
|
|
4828
5464
|
*/
|
|
4829
|
-
|
|
5465
|
+
InstanceIds: Array<string>
|
|
5466
|
+
}
|
|
4830
5467
|
|
|
5468
|
+
/**
|
|
5469
|
+
* DescribeExternalClusterSpec请求参数结构体
|
|
5470
|
+
*/
|
|
5471
|
+
export interface DescribeExternalClusterSpecRequest {
|
|
4831
5472
|
/**
|
|
4832
|
-
*
|
|
5473
|
+
* 注册集群ID
|
|
4833
5474
|
*/
|
|
4834
|
-
|
|
5475
|
+
ClusterId: string
|
|
4835
5476
|
|
|
4836
5477
|
/**
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
*/
|
|
4841
|
-
NotifyWay?: Array<string>
|
|
5478
|
+
* 默认false 获取内网,是否获取外网版注册命令
|
|
5479
|
+
*/
|
|
5480
|
+
IsExtranet?: boolean
|
|
4842
5481
|
|
|
4843
5482
|
/**
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
/**
|
|
4850
|
-
* 电话告警顺序。
|
|
4851
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4852
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4853
|
-
*/
|
|
4854
|
-
PhoneNotifyOrder?: Array<number>
|
|
4855
|
-
|
|
4856
|
-
/**
|
|
4857
|
-
* 电话告警次数。
|
|
4858
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4859
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4860
|
-
*/
|
|
4861
|
-
PhoneCircleTimes?: number
|
|
4862
|
-
|
|
4863
|
-
/**
|
|
4864
|
-
* 电话告警轮内间隔。单位:秒
|
|
4865
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4866
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4867
|
-
*/
|
|
4868
|
-
PhoneInnerInterval?: number
|
|
4869
|
-
|
|
4870
|
-
/**
|
|
4871
|
-
* 电话告警轮外间隔。单位:秒
|
|
4872
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4873
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4874
|
-
*/
|
|
4875
|
-
PhoneCircleInterval?: number
|
|
4876
|
-
|
|
4877
|
-
/**
|
|
4878
|
-
* 电话告警触达通知
|
|
4879
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4880
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4881
|
-
*/
|
|
4882
|
-
PhoneArriveNotice?: boolean
|
|
4883
|
-
|
|
4884
|
-
/**
|
|
4885
|
-
* 通道类型,默认为amp,支持以下
|
|
4886
|
-
amp
|
|
4887
|
-
webhook
|
|
4888
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4889
|
-
*/
|
|
4890
|
-
Type?: string
|
|
4891
|
-
|
|
4892
|
-
/**
|
|
4893
|
-
* 如果Type为webhook, 则该字段为必填项
|
|
4894
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4895
|
-
*/
|
|
4896
|
-
WebHook?: string
|
|
4897
|
-
}
|
|
5483
|
+
* 默认false 不刷新有效时间 ,true刷新有效时间
|
|
5484
|
+
*/
|
|
5485
|
+
IsRefreshExpirationTime?: boolean
|
|
5486
|
+
}
|
|
4898
5487
|
|
|
4899
5488
|
/**
|
|
4900
|
-
*
|
|
5489
|
+
* ModifyPrometheusGlobalNotification返回参数结构体
|
|
4901
5490
|
*/
|
|
4902
|
-
export interface
|
|
4903
|
-
/**
|
|
4904
|
-
* 注册集群ID
|
|
4905
|
-
*/
|
|
4906
|
-
ClusterId: string
|
|
4907
|
-
|
|
4908
|
-
/**
|
|
4909
|
-
* 默认false 获取内网,是否获取外网版注册命令
|
|
4910
|
-
*/
|
|
4911
|
-
IsExtranet?: boolean
|
|
4912
|
-
|
|
5491
|
+
export interface ModifyPrometheusGlobalNotificationResponse {
|
|
4913
5492
|
/**
|
|
4914
|
-
*
|
|
5493
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4915
5494
|
*/
|
|
4916
|
-
|
|
5495
|
+
RequestId?: string
|
|
4917
5496
|
}
|
|
4918
5497
|
|
|
4919
5498
|
/**
|
|
@@ -5513,9 +6092,19 @@ export interface CreatePrometheusTemplateRequest {
|
|
|
5513
6092
|
}
|
|
5514
6093
|
|
|
5515
6094
|
/**
|
|
5516
|
-
*
|
|
6095
|
+
* DescribeEKSContainerInstances返回参数结构体
|
|
5517
6096
|
*/
|
|
5518
|
-
export interface
|
|
6097
|
+
export interface DescribeEKSContainerInstancesResponse {
|
|
6098
|
+
/**
|
|
6099
|
+
* 容器组总数
|
|
6100
|
+
*/
|
|
6101
|
+
TotalCount: number
|
|
6102
|
+
|
|
6103
|
+
/**
|
|
6104
|
+
* 容器组列表
|
|
6105
|
+
*/
|
|
6106
|
+
EksCis: Array<EksCi>
|
|
6107
|
+
|
|
5519
6108
|
/**
|
|
5520
6109
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5521
6110
|
*/
|
|
@@ -5538,18 +6127,18 @@ export interface CreatePrometheusAlertRuleResponse {
|
|
|
5538
6127
|
}
|
|
5539
6128
|
|
|
5540
6129
|
/**
|
|
5541
|
-
*
|
|
6130
|
+
* ECM增强服务
|
|
5542
6131
|
*/
|
|
5543
|
-
export interface
|
|
6132
|
+
export interface ECMEnhancedService {
|
|
5544
6133
|
/**
|
|
5545
|
-
*
|
|
6134
|
+
* 是否开启云监控服务
|
|
5546
6135
|
*/
|
|
5547
|
-
|
|
6136
|
+
SecurityService?: ECMRunMonitorServiceEnabled
|
|
5548
6137
|
|
|
5549
6138
|
/**
|
|
5550
|
-
*
|
|
6139
|
+
* 是否开启云镜服务
|
|
5551
6140
|
*/
|
|
5552
|
-
|
|
6141
|
+
MonitorService?: ECMRunSecurityServiceEnabled
|
|
5553
6142
|
}
|
|
5554
6143
|
|
|
5555
6144
|
/**
|
|
@@ -5563,66 +6152,52 @@ export interface ModifyClusterAuthenticationOptionsResponse {
|
|
|
5563
6152
|
}
|
|
5564
6153
|
|
|
5565
6154
|
/**
|
|
5566
|
-
*
|
|
5567
|
-
*/
|
|
5568
|
-
export interface CreateClusterNodePoolFromExistingAsgResponse {
|
|
5569
|
-
/**
|
|
5570
|
-
* 节点池ID
|
|
5571
|
-
*/
|
|
5572
|
-
NodePoolId?: string
|
|
5573
|
-
|
|
5574
|
-
/**
|
|
5575
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5576
|
-
*/
|
|
5577
|
-
RequestId?: string
|
|
5578
|
-
}
|
|
5579
|
-
|
|
5580
|
-
/**
|
|
5581
|
-
* Prometheus告警规则
|
|
6155
|
+
* 集群创建过程
|
|
5582
6156
|
*/
|
|
5583
|
-
export interface
|
|
5584
|
-
/**
|
|
5585
|
-
* 规则名称
|
|
5586
|
-
*/
|
|
5587
|
-
Name: string
|
|
5588
|
-
|
|
5589
|
-
/**
|
|
5590
|
-
* prometheus语句
|
|
5591
|
-
*/
|
|
5592
|
-
Rule: string
|
|
5593
|
-
|
|
6157
|
+
export interface ClusterCondition {
|
|
5594
6158
|
/**
|
|
5595
|
-
*
|
|
6159
|
+
* 集群创建过程类型
|
|
5596
6160
|
*/
|
|
5597
|
-
|
|
6161
|
+
Type: string
|
|
5598
6162
|
|
|
5599
6163
|
/**
|
|
5600
|
-
*
|
|
6164
|
+
* 集群创建过程状态
|
|
5601
6165
|
*/
|
|
5602
|
-
|
|
6166
|
+
Status: string
|
|
5603
6167
|
|
|
5604
6168
|
/**
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
6169
|
+
* 最后一次探测到该状态的时间
|
|
6170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6171
|
+
*/
|
|
6172
|
+
LastProbeTime: string
|
|
5608
6173
|
|
|
5609
6174
|
/**
|
|
5610
|
-
*
|
|
6175
|
+
* 最后一次转换到该过程的时间
|
|
5611
6176
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5612
6177
|
*/
|
|
5613
|
-
|
|
6178
|
+
LastTransitionTime: string
|
|
5614
6179
|
|
|
5615
6180
|
/**
|
|
5616
|
-
*
|
|
6181
|
+
* 转换到该过程的简明原因
|
|
5617
6182
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5618
6183
|
*/
|
|
5619
|
-
|
|
6184
|
+
Reason: string
|
|
5620
6185
|
|
|
5621
6186
|
/**
|
|
5622
|
-
*
|
|
6187
|
+
* 转换到该过程的更多信息
|
|
5623
6188
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5624
6189
|
*/
|
|
5625
|
-
|
|
6190
|
+
Message: string
|
|
6191
|
+
}
|
|
6192
|
+
|
|
6193
|
+
/**
|
|
6194
|
+
* EnableEventPersistence返回参数结构体
|
|
6195
|
+
*/
|
|
6196
|
+
export interface EnableEventPersistenceResponse {
|
|
6197
|
+
/**
|
|
6198
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6199
|
+
*/
|
|
6200
|
+
RequestId?: string
|
|
5626
6201
|
}
|
|
5627
6202
|
|
|
5628
6203
|
/**
|
|
@@ -5796,6 +6371,26 @@ alertmanager
|
|
|
5796
6371
|
PhoneArriveNotice?: boolean
|
|
5797
6372
|
}
|
|
5798
6373
|
|
|
6374
|
+
/**
|
|
6375
|
+
* DeleteEdgeClusterInstances返回参数结构体
|
|
6376
|
+
*/
|
|
6377
|
+
export interface DeleteEdgeClusterInstancesResponse {
|
|
6378
|
+
/**
|
|
6379
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6380
|
+
*/
|
|
6381
|
+
RequestId?: string
|
|
6382
|
+
}
|
|
6383
|
+
|
|
6384
|
+
/**
|
|
6385
|
+
* DeleteTKEEdgeCluster请求参数结构体
|
|
6386
|
+
*/
|
|
6387
|
+
export interface DeleteTKEEdgeClusterRequest {
|
|
6388
|
+
/**
|
|
6389
|
+
* 集群ID
|
|
6390
|
+
*/
|
|
6391
|
+
ClusterId: string
|
|
6392
|
+
}
|
|
6393
|
+
|
|
5799
6394
|
/**
|
|
5800
6395
|
* CreatePrometheusGlobalNotification返回参数结构体
|
|
5801
6396
|
*/
|
|
@@ -6040,6 +6635,16 @@ export interface CreateClusterNodePoolRequest {
|
|
|
6040
6635
|
*/
|
|
6041
6636
|
Taints?: Array<Taint>
|
|
6042
6637
|
|
|
6638
|
+
/**
|
|
6639
|
+
* 节点池纬度运行时类型及版本
|
|
6640
|
+
*/
|
|
6641
|
+
ContainerRuntime?: string
|
|
6642
|
+
|
|
6643
|
+
/**
|
|
6644
|
+
* 运行时版本
|
|
6645
|
+
*/
|
|
6646
|
+
RuntimeVersion?: string
|
|
6647
|
+
|
|
6043
6648
|
/**
|
|
6044
6649
|
* 节点池os
|
|
6045
6650
|
*/
|
|
@@ -6056,6 +6661,31 @@ export interface CreateClusterNodePoolRequest {
|
|
|
6056
6661
|
Tags?: Array<Tag>
|
|
6057
6662
|
}
|
|
6058
6663
|
|
|
6664
|
+
/**
|
|
6665
|
+
* CheckEdgeClusterCIDR返回参数结构体
|
|
6666
|
+
*/
|
|
6667
|
+
export interface CheckEdgeClusterCIDRResponse {
|
|
6668
|
+
/**
|
|
6669
|
+
* 返回码,具体如下
|
|
6670
|
+
-1 内部错误
|
|
6671
|
+
0 没冲突
|
|
6672
|
+
1 vpc 和 serviceCIDR 冲突
|
|
6673
|
+
2 vpc 和 podCIDR 冲突
|
|
6674
|
+
3 serviceCIDR 和 podCIDR 冲突
|
|
6675
|
+
*/
|
|
6676
|
+
ConflictCode?: number
|
|
6677
|
+
|
|
6678
|
+
/**
|
|
6679
|
+
* CIDR冲突描述信息。
|
|
6680
|
+
*/
|
|
6681
|
+
ConflictMsg?: string
|
|
6682
|
+
|
|
6683
|
+
/**
|
|
6684
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6685
|
+
*/
|
|
6686
|
+
RequestId?: string
|
|
6687
|
+
}
|
|
6688
|
+
|
|
6059
6689
|
/**
|
|
6060
6690
|
* DescribePrometheusClusterAgents请求参数结构体
|
|
6061
6691
|
*/
|
|
@@ -6076,6 +6706,41 @@ export interface DescribePrometheusClusterAgentsRequest {
|
|
|
6076
6706
|
Limit?: number
|
|
6077
6707
|
}
|
|
6078
6708
|
|
|
6709
|
+
/**
|
|
6710
|
+
* 边缘容器参数描述
|
|
6711
|
+
*/
|
|
6712
|
+
export interface EdgeArgsFlag {
|
|
6713
|
+
/**
|
|
6714
|
+
* 参数名
|
|
6715
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6716
|
+
*/
|
|
6717
|
+
Name?: string
|
|
6718
|
+
|
|
6719
|
+
/**
|
|
6720
|
+
* 参数类型
|
|
6721
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6722
|
+
*/
|
|
6723
|
+
Type?: string
|
|
6724
|
+
|
|
6725
|
+
/**
|
|
6726
|
+
* 参数描述
|
|
6727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6728
|
+
*/
|
|
6729
|
+
Usage?: string
|
|
6730
|
+
|
|
6731
|
+
/**
|
|
6732
|
+
* 参数默认值
|
|
6733
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6734
|
+
*/
|
|
6735
|
+
Default?: string
|
|
6736
|
+
|
|
6737
|
+
/**
|
|
6738
|
+
* 参数可选范围(目前包含range和in两种,"[]"代表range,如"[1, 5]"表示参数必须>=1且 <=5, "()"代表in, 如"('aa', 'bb')"表示参数只能为字符串'aa'或者'bb',该参数为空表示不校验)
|
|
6739
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6740
|
+
*/
|
|
6741
|
+
Constraint?: string
|
|
6742
|
+
}
|
|
6743
|
+
|
|
6079
6744
|
/**
|
|
6080
6745
|
* CheckInstancesUpgradeAble返回参数结构体
|
|
6081
6746
|
*/
|
|
@@ -6214,6 +6879,71 @@ export interface UninstallLogAgentResponse {
|
|
|
6214
6879
|
RequestId?: string
|
|
6215
6880
|
}
|
|
6216
6881
|
|
|
6882
|
+
/**
|
|
6883
|
+
* CreateECMInstances请求参数结构体
|
|
6884
|
+
*/
|
|
6885
|
+
export interface CreateECMInstancesRequest {
|
|
6886
|
+
/**
|
|
6887
|
+
* 集群id
|
|
6888
|
+
*/
|
|
6889
|
+
ClusterID: string
|
|
6890
|
+
|
|
6891
|
+
/**
|
|
6892
|
+
* 模块id
|
|
6893
|
+
*/
|
|
6894
|
+
ModuleId: string
|
|
6895
|
+
|
|
6896
|
+
/**
|
|
6897
|
+
* 需要创建实例的可用区及创建数目及运营商的列表
|
|
6898
|
+
*/
|
|
6899
|
+
ZoneInstanceCountISPSet: Array<ECMZoneInstanceCountISP>
|
|
6900
|
+
|
|
6901
|
+
/**
|
|
6902
|
+
* 密码
|
|
6903
|
+
*/
|
|
6904
|
+
Password?: string
|
|
6905
|
+
|
|
6906
|
+
/**
|
|
6907
|
+
* 公网带宽
|
|
6908
|
+
*/
|
|
6909
|
+
InternetMaxBandwidthOut?: number
|
|
6910
|
+
|
|
6911
|
+
/**
|
|
6912
|
+
* 镜像id
|
|
6913
|
+
*/
|
|
6914
|
+
ImageId?: string
|
|
6915
|
+
|
|
6916
|
+
/**
|
|
6917
|
+
* 实例名称
|
|
6918
|
+
*/
|
|
6919
|
+
InstanceName?: string
|
|
6920
|
+
|
|
6921
|
+
/**
|
|
6922
|
+
* 主机名称
|
|
6923
|
+
*/
|
|
6924
|
+
HostName?: string
|
|
6925
|
+
|
|
6926
|
+
/**
|
|
6927
|
+
* 增强服务,包括云镜和云监控
|
|
6928
|
+
*/
|
|
6929
|
+
EnhancedService?: ECMEnhancedService
|
|
6930
|
+
|
|
6931
|
+
/**
|
|
6932
|
+
* 用户自定义脚本
|
|
6933
|
+
*/
|
|
6934
|
+
UserData?: string
|
|
6935
|
+
|
|
6936
|
+
/**
|
|
6937
|
+
* 实例扩展信息
|
|
6938
|
+
*/
|
|
6939
|
+
External?: string
|
|
6940
|
+
|
|
6941
|
+
/**
|
|
6942
|
+
* 实例所属安全组
|
|
6943
|
+
*/
|
|
6944
|
+
SecurityGroupIds?: Array<string>
|
|
6945
|
+
}
|
|
6946
|
+
|
|
6217
6947
|
/**
|
|
6218
6948
|
* CreatePrometheusTemp返回参数结构体
|
|
6219
6949
|
*/
|
|
@@ -6291,6 +7021,16 @@ export interface DescribeClusterAsGroupsRequest {
|
|
|
6291
7021
|
Limit?: number
|
|
6292
7022
|
}
|
|
6293
7023
|
|
|
7024
|
+
/**
|
|
7025
|
+
* ECM云监控服务
|
|
7026
|
+
*/
|
|
7027
|
+
export interface ECMRunMonitorServiceEnabled {
|
|
7028
|
+
/**
|
|
7029
|
+
* 是否开启
|
|
7030
|
+
*/
|
|
7031
|
+
Enabled?: boolean
|
|
7032
|
+
}
|
|
7033
|
+
|
|
6294
7034
|
/**
|
|
6295
7035
|
* SyncPrometheusTemp请求参数结构体
|
|
6296
7036
|
*/
|
|
@@ -6316,6 +7056,31 @@ export interface ModifyClusterEndpointSPResponse {
|
|
|
6316
7056
|
RequestId?: string
|
|
6317
7057
|
}
|
|
6318
7058
|
|
|
7059
|
+
/**
|
|
7060
|
+
* ECM云镜服务
|
|
7061
|
+
*/
|
|
7062
|
+
export interface ECMRunSecurityServiceEnabled {
|
|
7063
|
+
/**
|
|
7064
|
+
* 是否开启
|
|
7065
|
+
*/
|
|
7066
|
+
Enabled?: boolean
|
|
7067
|
+
|
|
7068
|
+
/**
|
|
7069
|
+
* 云镜版本:0 基础版,1 专业版
|
|
7070
|
+
*/
|
|
7071
|
+
Version?: number
|
|
7072
|
+
}
|
|
7073
|
+
|
|
7074
|
+
/**
|
|
7075
|
+
* SyncPrometheusTemplate返回参数结构体
|
|
7076
|
+
*/
|
|
7077
|
+
export interface SyncPrometheusTemplateResponse {
|
|
7078
|
+
/**
|
|
7079
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7080
|
+
*/
|
|
7081
|
+
RequestId?: string
|
|
7082
|
+
}
|
|
7083
|
+
|
|
6319
7084
|
/**
|
|
6320
7085
|
* 集群伸缩组属性
|
|
6321
7086
|
*/
|
|
@@ -6472,6 +7237,57 @@ T4
|
|
|
6472
7237
|
CamRoleName?: string
|
|
6473
7238
|
}
|
|
6474
7239
|
|
|
7240
|
+
/**
|
|
7241
|
+
* DescribeTKEEdgeClusterCredential返回参数结构体
|
|
7242
|
+
*/
|
|
7243
|
+
export interface DescribeTKEEdgeClusterCredentialResponse {
|
|
7244
|
+
/**
|
|
7245
|
+
* 集群的接入地址信息
|
|
7246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7247
|
+
*/
|
|
7248
|
+
Addresses: Array<IPAddress>
|
|
7249
|
+
|
|
7250
|
+
/**
|
|
7251
|
+
* 集群的认证信息
|
|
7252
|
+
*/
|
|
7253
|
+
Credential: ClusterCredential
|
|
7254
|
+
|
|
7255
|
+
/**
|
|
7256
|
+
* 集群的公网访问信息
|
|
7257
|
+
*/
|
|
7258
|
+
PublicLB: EdgeClusterPublicLB
|
|
7259
|
+
|
|
7260
|
+
/**
|
|
7261
|
+
* 集群的内网访问信息
|
|
7262
|
+
*/
|
|
7263
|
+
InternalLB: EdgeClusterInternalLB
|
|
7264
|
+
|
|
7265
|
+
/**
|
|
7266
|
+
* 集群的CoreDns部署信息
|
|
7267
|
+
*/
|
|
7268
|
+
CoreDns: string
|
|
7269
|
+
|
|
7270
|
+
/**
|
|
7271
|
+
* 集群的健康检查多地域部署信息
|
|
7272
|
+
*/
|
|
7273
|
+
HealthRegion: string
|
|
7274
|
+
|
|
7275
|
+
/**
|
|
7276
|
+
* 集群的健康检查部署信息
|
|
7277
|
+
*/
|
|
7278
|
+
Health: string
|
|
7279
|
+
|
|
7280
|
+
/**
|
|
7281
|
+
* 是否部署GridDaemon以支持headless service
|
|
7282
|
+
*/
|
|
7283
|
+
GridDaemon: string
|
|
7284
|
+
|
|
7285
|
+
/**
|
|
7286
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7287
|
+
*/
|
|
7288
|
+
RequestId?: string
|
|
7289
|
+
}
|
|
7290
|
+
|
|
6475
7291
|
/**
|
|
6476
7292
|
* 描述了k8s集群相关配置与信息。
|
|
6477
7293
|
*/
|
|
@@ -6529,6 +7345,12 @@ export interface InstanceAdvancedSettings {
|
|
|
6529
7345
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6530
7346
|
*/
|
|
6531
7347
|
PreStartUserScript: string
|
|
7348
|
+
|
|
7349
|
+
/**
|
|
7350
|
+
* 节点污点
|
|
7351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7352
|
+
*/
|
|
7353
|
+
Taints: Array<Taint>
|
|
6532
7354
|
}
|
|
6533
7355
|
|
|
6534
7356
|
/**
|
|
@@ -6791,6 +7613,56 @@ export interface UpdateEKSClusterRequest {
|
|
|
6791
7613
|
ExtraParam?: string
|
|
6792
7614
|
}
|
|
6793
7615
|
|
|
7616
|
+
/**
|
|
7617
|
+
* CreateTKEEdgeCluster请求参数结构体
|
|
7618
|
+
*/
|
|
7619
|
+
export interface CreateTKEEdgeClusterRequest {
|
|
7620
|
+
/**
|
|
7621
|
+
* k8s版本号
|
|
7622
|
+
*/
|
|
7623
|
+
K8SVersion: string
|
|
7624
|
+
|
|
7625
|
+
/**
|
|
7626
|
+
* vpc 的Id
|
|
7627
|
+
*/
|
|
7628
|
+
VpcId: string
|
|
7629
|
+
|
|
7630
|
+
/**
|
|
7631
|
+
* 集群名称
|
|
7632
|
+
*/
|
|
7633
|
+
ClusterName: string
|
|
7634
|
+
|
|
7635
|
+
/**
|
|
7636
|
+
* 集群pod cidr
|
|
7637
|
+
*/
|
|
7638
|
+
PodCIDR: string
|
|
7639
|
+
|
|
7640
|
+
/**
|
|
7641
|
+
* 集群service cidr
|
|
7642
|
+
*/
|
|
7643
|
+
ServiceCIDR: string
|
|
7644
|
+
|
|
7645
|
+
/**
|
|
7646
|
+
* 集群描述信息
|
|
7647
|
+
*/
|
|
7648
|
+
ClusterDesc?: string
|
|
7649
|
+
|
|
7650
|
+
/**
|
|
7651
|
+
* 集群高级设置
|
|
7652
|
+
*/
|
|
7653
|
+
ClusterAdvancedSettings?: EdgeClusterAdvancedSettings
|
|
7654
|
+
|
|
7655
|
+
/**
|
|
7656
|
+
* 节点上最大Pod数量
|
|
7657
|
+
*/
|
|
7658
|
+
MaxNodePodNum?: number
|
|
7659
|
+
|
|
7660
|
+
/**
|
|
7661
|
+
* 边缘计算集群公网访问LB信息
|
|
7662
|
+
*/
|
|
7663
|
+
PublicLB?: EdgeClusterPublicLB
|
|
7664
|
+
}
|
|
7665
|
+
|
|
6794
7666
|
/**
|
|
6795
7667
|
* CreateEKSCluster返回参数结构体
|
|
6796
7668
|
*/
|
|
@@ -6832,6 +7704,21 @@ export interface Exec {
|
|
|
6832
7704
|
Commands?: Array<string>
|
|
6833
7705
|
}
|
|
6834
7706
|
|
|
7707
|
+
/**
|
|
7708
|
+
* DescribeAvailableTKEEdgeVersion返回参数结构体
|
|
7709
|
+
*/
|
|
7710
|
+
export interface DescribeAvailableTKEEdgeVersionResponse {
|
|
7711
|
+
/**
|
|
7712
|
+
* 版本列表
|
|
7713
|
+
*/
|
|
7714
|
+
Versions?: Array<string>
|
|
7715
|
+
|
|
7716
|
+
/**
|
|
7717
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7718
|
+
*/
|
|
7719
|
+
RequestId?: string
|
|
7720
|
+
}
|
|
7721
|
+
|
|
6835
7722
|
/**
|
|
6836
7723
|
* DeletePrometheusAlertPolicy返回参数结构体
|
|
6837
7724
|
*/
|
|
@@ -6842,6 +7729,35 @@ export interface DeletePrometheusAlertPolicyResponse {
|
|
|
6842
7729
|
RequestId?: string
|
|
6843
7730
|
}
|
|
6844
7731
|
|
|
7732
|
+
/**
|
|
7733
|
+
* 边缘容器集群可用的自定义参数
|
|
7734
|
+
*/
|
|
7735
|
+
export interface EdgeAvailableExtraArgs {
|
|
7736
|
+
/**
|
|
7737
|
+
* kube-apiserver可用的自定义参数
|
|
7738
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7739
|
+
*/
|
|
7740
|
+
KubeAPIServer?: Array<EdgeArgsFlag>
|
|
7741
|
+
|
|
7742
|
+
/**
|
|
7743
|
+
* kube-controller-manager可用的自定义参数
|
|
7744
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7745
|
+
*/
|
|
7746
|
+
KubeControllerManager?: Array<EdgeArgsFlag>
|
|
7747
|
+
|
|
7748
|
+
/**
|
|
7749
|
+
* kube-scheduler可用的自定义参数
|
|
7750
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7751
|
+
*/
|
|
7752
|
+
KubeScheduler?: Array<EdgeArgsFlag>
|
|
7753
|
+
|
|
7754
|
+
/**
|
|
7755
|
+
* kubelet可用的自定义参数
|
|
7756
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7757
|
+
*/
|
|
7758
|
+
Kubelet?: Array<EdgeArgsFlag>
|
|
7759
|
+
}
|
|
7760
|
+
|
|
6845
7761
|
/**
|
|
6846
7762
|
* IP 地址
|
|
6847
7763
|
*/
|
|
@@ -6862,6 +7778,16 @@ export interface IPAddress {
|
|
|
6862
7778
|
Port: number
|
|
6863
7779
|
}
|
|
6864
7780
|
|
|
7781
|
+
/**
|
|
7782
|
+
* DescribeTKEEdgeClusterCredential请求参数结构体
|
|
7783
|
+
*/
|
|
7784
|
+
export interface DescribeTKEEdgeClusterCredentialRequest {
|
|
7785
|
+
/**
|
|
7786
|
+
* 集群Id
|
|
7787
|
+
*/
|
|
7788
|
+
ClusterId: string
|
|
7789
|
+
}
|
|
7790
|
+
|
|
6865
7791
|
/**
|
|
6866
7792
|
* 自动变配集群等级
|
|
6867
7793
|
*/
|
|
@@ -6994,11 +7920,42 @@ export interface CreateClusterRouteResponse {
|
|
|
6994
7920
|
RequestId?: string
|
|
6995
7921
|
}
|
|
6996
7922
|
|
|
7923
|
+
/**
|
|
7924
|
+
* CreateClusterNodePoolFromExistingAsg返回参数结构体
|
|
7925
|
+
*/
|
|
7926
|
+
export interface CreateClusterNodePoolFromExistingAsgResponse {
|
|
7927
|
+
/**
|
|
7928
|
+
* 节点池ID
|
|
7929
|
+
*/
|
|
7930
|
+
NodePoolId?: string
|
|
7931
|
+
|
|
7932
|
+
/**
|
|
7933
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7934
|
+
*/
|
|
7935
|
+
RequestId?: string
|
|
7936
|
+
}
|
|
7937
|
+
|
|
6997
7938
|
/**
|
|
6998
7939
|
* DescribeEKSContainerInstanceRegions请求参数结构体
|
|
6999
7940
|
*/
|
|
7000
7941
|
export type DescribeEKSContainerInstanceRegionsRequest = null
|
|
7001
7942
|
|
|
7943
|
+
/**
|
|
7944
|
+
* DescribeECMInstances请求参数结构体
|
|
7945
|
+
*/
|
|
7946
|
+
export interface DescribeECMInstancesRequest {
|
|
7947
|
+
/**
|
|
7948
|
+
* 集群id
|
|
7949
|
+
*/
|
|
7950
|
+
ClusterID: string
|
|
7951
|
+
|
|
7952
|
+
/**
|
|
7953
|
+
* 过滤条件
|
|
7954
|
+
仅支持ecm-id过滤
|
|
7955
|
+
*/
|
|
7956
|
+
Filters?: Array<Filter>
|
|
7957
|
+
}
|
|
7958
|
+
|
|
7002
7959
|
/**
|
|
7003
7960
|
* DescribeVpcCniPodLimits返回参数结构体
|
|
7004
7961
|
*/
|
|
@@ -7074,13 +8031,51 @@ export interface CreateClusterNodePoolFromExistingAsgRequest {
|
|
|
7074
8031
|
}
|
|
7075
8032
|
|
|
7076
8033
|
/**
|
|
7077
|
-
*
|
|
8034
|
+
* Prometheus告警规则
|
|
7078
8035
|
*/
|
|
7079
|
-
export interface
|
|
8036
|
+
export interface PrometheusAlertRule {
|
|
7080
8037
|
/**
|
|
7081
|
-
*
|
|
8038
|
+
* 规则名称
|
|
7082
8039
|
*/
|
|
7083
|
-
|
|
8040
|
+
Name: string
|
|
8041
|
+
|
|
8042
|
+
/**
|
|
8043
|
+
* prometheus语句
|
|
8044
|
+
*/
|
|
8045
|
+
Rule: string
|
|
8046
|
+
|
|
8047
|
+
/**
|
|
8048
|
+
* 额外标签
|
|
8049
|
+
*/
|
|
8050
|
+
Labels: Array<Label>
|
|
8051
|
+
|
|
8052
|
+
/**
|
|
8053
|
+
* 告警发送模板
|
|
8054
|
+
*/
|
|
8055
|
+
Template: string
|
|
8056
|
+
|
|
8057
|
+
/**
|
|
8058
|
+
* 持续时间
|
|
8059
|
+
*/
|
|
8060
|
+
For: string
|
|
8061
|
+
|
|
8062
|
+
/**
|
|
8063
|
+
* 该条规则的描述信息
|
|
8064
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8065
|
+
*/
|
|
8066
|
+
Describe?: string
|
|
8067
|
+
|
|
8068
|
+
/**
|
|
8069
|
+
* 参考prometheus rule中的annotations
|
|
8070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8071
|
+
*/
|
|
8072
|
+
Annotations?: Array<Label>
|
|
8073
|
+
|
|
8074
|
+
/**
|
|
8075
|
+
* 告警规则状态
|
|
8076
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8077
|
+
*/
|
|
8078
|
+
RuleState?: number
|
|
7084
8079
|
}
|
|
7085
8080
|
|
|
7086
8081
|
/**
|
|
@@ -7193,13 +8188,14 @@ export interface ClusterExtraArgs {
|
|
|
7193
8188
|
}
|
|
7194
8189
|
|
|
7195
8190
|
/**
|
|
7196
|
-
*
|
|
8191
|
+
* 边缘容器集群高级配置
|
|
7197
8192
|
*/
|
|
7198
|
-
export interface
|
|
8193
|
+
export interface EdgeClusterAdvancedSettings {
|
|
7199
8194
|
/**
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
8195
|
+
* 集群自定义参数
|
|
8196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8197
|
+
*/
|
|
8198
|
+
ExtraArgs?: EdgeClusterExtraArgs
|
|
7203
8199
|
}
|
|
7204
8200
|
|
|
7205
8201
|
/**
|
|
@@ -7255,18 +8251,23 @@ failed: 步骤失败
|
|
|
7255
8251
|
}
|
|
7256
8252
|
|
|
7257
8253
|
/**
|
|
7258
|
-
*
|
|
8254
|
+
* ECM实例可用区及对应的实例创建数目及运营商的组合
|
|
7259
8255
|
*/
|
|
7260
|
-
export interface
|
|
8256
|
+
export interface ECMZoneInstanceCountISP {
|
|
7261
8257
|
/**
|
|
7262
|
-
*
|
|
8258
|
+
* 创建实例的可用区
|
|
7263
8259
|
*/
|
|
7264
|
-
|
|
8260
|
+
Zone: string
|
|
7265
8261
|
|
|
7266
8262
|
/**
|
|
7267
|
-
*
|
|
8263
|
+
* 在当前可用区欲创建的实例数目
|
|
7268
8264
|
*/
|
|
7269
|
-
|
|
8265
|
+
InstanceCount: number
|
|
8266
|
+
|
|
8267
|
+
/**
|
|
8268
|
+
* 运营商
|
|
8269
|
+
*/
|
|
8270
|
+
ISP: string
|
|
7270
8271
|
}
|
|
7271
8272
|
|
|
7272
8273
|
/**
|
|
@@ -7362,7 +8363,7 @@ export interface ClusterBasicSettings {
|
|
|
7362
8363
|
/**
|
|
7363
8364
|
* 模板实例
|
|
7364
8365
|
*/
|
|
7365
|
-
export interface
|
|
8366
|
+
export interface PrometheusTemp {
|
|
7366
8367
|
/**
|
|
7367
8368
|
* 模板名称
|
|
7368
8369
|
*/
|
|
@@ -7381,13 +8382,6 @@ cluster 集群级别
|
|
|
7381
8382
|
*/
|
|
7382
8383
|
Describe?: string
|
|
7383
8384
|
|
|
7384
|
-
/**
|
|
7385
|
-
* 当Level为instance时有效,
|
|
7386
|
-
模板中的告警配置列表
|
|
7387
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7388
|
-
*/
|
|
7389
|
-
AlertRules?: Array<PrometheusAlertRule>
|
|
7390
|
-
|
|
7391
8385
|
/**
|
|
7392
8386
|
* 当Level为instance时有效,
|
|
7393
8387
|
模板中的聚合规则列表
|
|
@@ -7445,7 +8439,13 @@ cluster 集群级别
|
|
|
7445
8439
|
模板中的告警配置列表
|
|
7446
8440
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7447
8441
|
*/
|
|
7448
|
-
AlertDetailRules?: Array<
|
|
8442
|
+
AlertDetailRules?: Array<PrometheusAlertPolicyItem>
|
|
8443
|
+
|
|
8444
|
+
/**
|
|
8445
|
+
* 关联实例数目
|
|
8446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8447
|
+
*/
|
|
8448
|
+
TargetsTotal?: number
|
|
7449
8449
|
}
|
|
7450
8450
|
|
|
7451
8451
|
/**
|
|
@@ -7543,143 +8543,69 @@ export interface DeletePrometheusTempSyncRequest {
|
|
|
7543
8543
|
TemplateId: string
|
|
7544
8544
|
|
|
7545
8545
|
/**
|
|
7546
|
-
* 取消同步的对象列表
|
|
7547
|
-
*/
|
|
7548
|
-
Targets: Array<PrometheusTemplateSyncTarget>
|
|
7549
|
-
}
|
|
7550
|
-
|
|
7551
|
-
/**
|
|
7552
|
-
* CreatePrometheusTemplate返回参数结构体
|
|
7553
|
-
*/
|
|
7554
|
-
export interface CreatePrometheusTemplateResponse {
|
|
7555
|
-
/**
|
|
7556
|
-
* 模板Id
|
|
7557
|
-
*/
|
|
7558
|
-
TemplateId?: string
|
|
7559
|
-
|
|
7560
|
-
/**
|
|
7561
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7562
|
-
*/
|
|
7563
|
-
RequestId?: string
|
|
7564
|
-
}
|
|
7565
|
-
|
|
7566
|
-
/**
|
|
7567
|
-
* CreateClusterEndpointVip请求参数结构体
|
|
7568
|
-
*/
|
|
7569
|
-
export interface CreateClusterEndpointVipRequest {
|
|
7570
|
-
/**
|
|
7571
|
-
* 集群ID
|
|
7572
|
-
*/
|
|
7573
|
-
ClusterId: string
|
|
7574
|
-
|
|
7575
|
-
/**
|
|
7576
|
-
* 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
|
|
7577
|
-
*/
|
|
7578
|
-
SecurityPolicies?: Array<string>
|
|
7579
|
-
}
|
|
7580
|
-
|
|
7581
|
-
/**
|
|
7582
|
-
* 弹性容器集群内网访问LB信息
|
|
7583
|
-
*/
|
|
7584
|
-
export interface ClusterInternalLB {
|
|
7585
|
-
/**
|
|
7586
|
-
* 是否开启内网访问LB
|
|
7587
|
-
*/
|
|
7588
|
-
Enabled: boolean
|
|
7589
|
-
|
|
7590
|
-
/**
|
|
7591
|
-
* 内网访问LB关联的子网Id
|
|
7592
|
-
*/
|
|
7593
|
-
SubnetId?: string
|
|
7594
|
-
}
|
|
7595
|
-
|
|
7596
|
-
/**
|
|
7597
|
-
* 已经存在的实例信息
|
|
7598
|
-
*/
|
|
7599
|
-
export interface ExistedInstance {
|
|
7600
|
-
/**
|
|
7601
|
-
* 实例是否支持加入集群(TRUE 可以加入 FALSE 不能加入)。
|
|
7602
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7603
|
-
*/
|
|
7604
|
-
Usable: boolean
|
|
7605
|
-
|
|
7606
|
-
/**
|
|
7607
|
-
* 实例不支持加入的原因。
|
|
7608
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7609
|
-
*/
|
|
7610
|
-
UnusableReason: string
|
|
7611
|
-
|
|
7612
|
-
/**
|
|
7613
|
-
* 实例已经所在的集群ID。
|
|
7614
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7615
|
-
*/
|
|
7616
|
-
AlreadyInCluster: string
|
|
7617
|
-
|
|
7618
|
-
/**
|
|
7619
|
-
* 实例ID形如:ins-xxxxxxxx。
|
|
7620
|
-
*/
|
|
7621
|
-
InstanceId: string
|
|
7622
|
-
|
|
7623
|
-
/**
|
|
7624
|
-
* 实例名称。
|
|
7625
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7626
|
-
*/
|
|
7627
|
-
InstanceName: string
|
|
7628
|
-
|
|
7629
|
-
/**
|
|
7630
|
-
* 实例主网卡的内网IP列表。
|
|
7631
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7632
|
-
*/
|
|
7633
|
-
PrivateIpAddresses: Array<string>
|
|
7634
|
-
|
|
7635
|
-
/**
|
|
7636
|
-
* 实例主网卡的公网IP列表。
|
|
7637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7638
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7639
|
-
*/
|
|
7640
|
-
PublicIpAddresses: Array<string>
|
|
8546
|
+
* 取消同步的对象列表
|
|
8547
|
+
*/
|
|
8548
|
+
Targets: Array<PrometheusTemplateSyncTarget>
|
|
8549
|
+
}
|
|
7641
8550
|
|
|
8551
|
+
/**
|
|
8552
|
+
* CreatePrometheusTemplate返回参数结构体
|
|
8553
|
+
*/
|
|
8554
|
+
export interface CreatePrometheusTemplateResponse {
|
|
7642
8555
|
/**
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
CreatedTime: string
|
|
8556
|
+
* 模板Id
|
|
8557
|
+
*/
|
|
8558
|
+
TemplateId?: string
|
|
7647
8559
|
|
|
7648
8560
|
/**
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
8561
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8562
|
+
*/
|
|
8563
|
+
RequestId?: string
|
|
8564
|
+
}
|
|
7653
8565
|
|
|
8566
|
+
/**
|
|
8567
|
+
* CreateClusterEndpointVip请求参数结构体
|
|
8568
|
+
*/
|
|
8569
|
+
export interface CreateClusterEndpointVipRequest {
|
|
7654
8570
|
/**
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
Memory: number
|
|
8571
|
+
* 集群ID
|
|
8572
|
+
*/
|
|
8573
|
+
ClusterId: string
|
|
7659
8574
|
|
|
7660
8575
|
/**
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
8576
|
+
* 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
|
|
8577
|
+
*/
|
|
8578
|
+
SecurityPolicies?: Array<string>
|
|
8579
|
+
}
|
|
7665
8580
|
|
|
8581
|
+
/**
|
|
8582
|
+
* 弹性容器集群内网访问LB信息
|
|
8583
|
+
*/
|
|
8584
|
+
export interface ClusterInternalLB {
|
|
7666
8585
|
/**
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
InstanceType: string
|
|
8586
|
+
* 是否开启内网访问LB
|
|
8587
|
+
*/
|
|
8588
|
+
Enabled: boolean
|
|
7671
8589
|
|
|
7672
8590
|
/**
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
8591
|
+
* 内网访问LB关联的子网Id
|
|
8592
|
+
*/
|
|
8593
|
+
SubnetId?: string
|
|
8594
|
+
}
|
|
7677
8595
|
|
|
8596
|
+
/**
|
|
8597
|
+
* CreateECMInstances返回参数结构体
|
|
8598
|
+
*/
|
|
8599
|
+
export interface CreateECMInstancesResponse {
|
|
7678
8600
|
/**
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7682
|
-
|
|
8601
|
+
* ecm id 列表
|
|
8602
|
+
*/
|
|
8603
|
+
EcmIdSet?: Array<string>
|
|
8604
|
+
|
|
8605
|
+
/**
|
|
8606
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8607
|
+
*/
|
|
8608
|
+
RequestId?: string
|
|
7683
8609
|
}
|
|
7684
8610
|
|
|
7685
8611
|
/**
|
|
@@ -7728,18 +8654,18 @@ export interface UpdateEKSClusterResponse {
|
|
|
7728
8654
|
}
|
|
7729
8655
|
|
|
7730
8656
|
/**
|
|
7731
|
-
*
|
|
8657
|
+
* DescribeEdgeCVMInstances返回参数结构体
|
|
7732
8658
|
*/
|
|
7733
|
-
export interface
|
|
8659
|
+
export interface DescribeEdgeCVMInstancesResponse {
|
|
7734
8660
|
/**
|
|
7735
|
-
*
|
|
8661
|
+
* 返回的实例相关信息列表的长度
|
|
7736
8662
|
*/
|
|
7737
|
-
|
|
8663
|
+
TotalCount?: number
|
|
7738
8664
|
|
|
7739
8665
|
/**
|
|
7740
|
-
*
|
|
8666
|
+
* 返回的实例相关信息列表
|
|
7741
8667
|
*/
|
|
7742
|
-
|
|
8668
|
+
InstanceInfoSet?: Array<string>
|
|
7743
8669
|
|
|
7744
8670
|
/**
|
|
7745
8671
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -7747,6 +8673,46 @@ export interface DescribePrometheusRecordRulesResponse {
|
|
|
7747
8673
|
RequestId?: string
|
|
7748
8674
|
}
|
|
7749
8675
|
|
|
8676
|
+
/**
|
|
8677
|
+
* 服务事件
|
|
8678
|
+
*/
|
|
8679
|
+
export interface Event {
|
|
8680
|
+
/**
|
|
8681
|
+
* pod名称
|
|
8682
|
+
*/
|
|
8683
|
+
PodName: string
|
|
8684
|
+
|
|
8685
|
+
/**
|
|
8686
|
+
* 事件原因内容
|
|
8687
|
+
*/
|
|
8688
|
+
Reason: string
|
|
8689
|
+
|
|
8690
|
+
/**
|
|
8691
|
+
* 事件类型
|
|
8692
|
+
*/
|
|
8693
|
+
Type: string
|
|
8694
|
+
|
|
8695
|
+
/**
|
|
8696
|
+
* 事件出现次数
|
|
8697
|
+
*/
|
|
8698
|
+
Count: number
|
|
8699
|
+
|
|
8700
|
+
/**
|
|
8701
|
+
* 事件第一次出现时间
|
|
8702
|
+
*/
|
|
8703
|
+
FirstTimestamp: string
|
|
8704
|
+
|
|
8705
|
+
/**
|
|
8706
|
+
* 事件最后一次出现时间
|
|
8707
|
+
*/
|
|
8708
|
+
LastTimestamp: string
|
|
8709
|
+
|
|
8710
|
+
/**
|
|
8711
|
+
* 事件内容
|
|
8712
|
+
*/
|
|
8713
|
+
Message: string
|
|
8714
|
+
}
|
|
8715
|
+
|
|
7750
8716
|
/**
|
|
7751
8717
|
* DeleteClusterNodePool返回参数结构体
|
|
7752
8718
|
*/
|
|
@@ -7767,6 +8733,16 @@ export interface DeleteClusterRouteResponse {
|
|
|
7767
8733
|
RequestId?: string
|
|
7768
8734
|
}
|
|
7769
8735
|
|
|
8736
|
+
/**
|
|
8737
|
+
* DeleteEdgeCVMInstances返回参数结构体
|
|
8738
|
+
*/
|
|
8739
|
+
export interface DeleteEdgeCVMInstancesResponse {
|
|
8740
|
+
/**
|
|
8741
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8742
|
+
*/
|
|
8743
|
+
RequestId?: string
|
|
8744
|
+
}
|
|
8745
|
+
|
|
7770
8746
|
/**
|
|
7771
8747
|
* ModifyClusterNodePool返回参数结构体
|
|
7772
8748
|
*/
|
|
@@ -7883,6 +8859,26 @@ export interface LoginSettings {
|
|
|
7883
8859
|
KeepImageLogin?: string
|
|
7884
8860
|
}
|
|
7885
8861
|
|
|
8862
|
+
/**
|
|
8863
|
+
* DescribePrometheusTemp返回参数结构体
|
|
8864
|
+
*/
|
|
8865
|
+
export interface DescribePrometheusTempResponse {
|
|
8866
|
+
/**
|
|
8867
|
+
* 模板列表
|
|
8868
|
+
*/
|
|
8869
|
+
Templates: Array<PrometheusTemp>
|
|
8870
|
+
|
|
8871
|
+
/**
|
|
8872
|
+
* 总数
|
|
8873
|
+
*/
|
|
8874
|
+
Total: number
|
|
8875
|
+
|
|
8876
|
+
/**
|
|
8877
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8878
|
+
*/
|
|
8879
|
+
RequestId?: string
|
|
8880
|
+
}
|
|
8881
|
+
|
|
7886
8882
|
/**
|
|
7887
8883
|
* SyncPrometheusTemplate请求参数结构体
|
|
7888
8884
|
*/
|
|
@@ -8008,26 +9004,6 @@ ID 按templateId过滤
|
|
|
8008
9004
|
Limit?: number
|
|
8009
9005
|
}
|
|
8010
9006
|
|
|
8011
|
-
/**
|
|
8012
|
-
* DescribeEKSContainerInstances返回参数结构体
|
|
8013
|
-
*/
|
|
8014
|
-
export interface DescribeEKSContainerInstancesResponse {
|
|
8015
|
-
/**
|
|
8016
|
-
* 容器组总数
|
|
8017
|
-
*/
|
|
8018
|
-
TotalCount: number
|
|
8019
|
-
|
|
8020
|
-
/**
|
|
8021
|
-
* 容器组列表
|
|
8022
|
-
*/
|
|
8023
|
-
EksCis: Array<EksCi>
|
|
8024
|
-
|
|
8025
|
-
/**
|
|
8026
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8027
|
-
*/
|
|
8028
|
-
RequestId?: string
|
|
8029
|
-
}
|
|
8030
|
-
|
|
8031
9007
|
/**
|
|
8032
9008
|
* DeleteClusterRouteTable请求参数结构体
|
|
8033
9009
|
*/
|
|
@@ -8119,6 +9095,26 @@ export interface DeletePrometheusTemplateResponse {
|
|
|
8119
9095
|
RequestId?: string
|
|
8120
9096
|
}
|
|
8121
9097
|
|
|
9098
|
+
/**
|
|
9099
|
+
* DescribeECMInstances返回参数结构体
|
|
9100
|
+
*/
|
|
9101
|
+
export interface DescribeECMInstancesResponse {
|
|
9102
|
+
/**
|
|
9103
|
+
* 返回的实例相关信息列表的长度
|
|
9104
|
+
*/
|
|
9105
|
+
TotalCount?: number
|
|
9106
|
+
|
|
9107
|
+
/**
|
|
9108
|
+
* 返回的实例相关信息列表
|
|
9109
|
+
*/
|
|
9110
|
+
InstanceInfoSet?: Array<string>
|
|
9111
|
+
|
|
9112
|
+
/**
|
|
9113
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9114
|
+
*/
|
|
9115
|
+
RequestId?: string
|
|
9116
|
+
}
|
|
9117
|
+
|
|
8122
9118
|
/**
|
|
8123
9119
|
* DescribePrometheusInstance请求参数结构体
|
|
8124
9120
|
*/
|
|
@@ -8130,23 +9126,41 @@ export interface DescribePrometheusInstanceRequest {
|
|
|
8130
9126
|
}
|
|
8131
9127
|
|
|
8132
9128
|
/**
|
|
8133
|
-
*
|
|
9129
|
+
* DeletePrometheusAlertRule请求参数结构体
|
|
8134
9130
|
*/
|
|
8135
|
-
export interface
|
|
9131
|
+
export interface DeletePrometheusAlertRuleRequest {
|
|
8136
9132
|
/**
|
|
8137
|
-
*
|
|
9133
|
+
* 实例id
|
|
8138
9134
|
*/
|
|
8139
|
-
|
|
9135
|
+
InstanceId: string
|
|
8140
9136
|
|
|
8141
9137
|
/**
|
|
8142
|
-
*
|
|
9138
|
+
* 告警规则id列表
|
|
8143
9139
|
*/
|
|
8144
|
-
|
|
9140
|
+
AlertIds: Array<string>
|
|
9141
|
+
}
|
|
8145
9142
|
|
|
9143
|
+
/**
|
|
9144
|
+
* 边缘容器集群master自定义参数
|
|
9145
|
+
*/
|
|
9146
|
+
export interface EdgeClusterExtraArgs {
|
|
8146
9147
|
/**
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
9148
|
+
* kube-apiserver自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
|
|
9149
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9150
|
+
*/
|
|
9151
|
+
KubeAPIServer?: Array<string>
|
|
9152
|
+
|
|
9153
|
+
/**
|
|
9154
|
+
* kube-controller-manager自定义参数
|
|
9155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9156
|
+
*/
|
|
9157
|
+
KubeControllerManager?: Array<string>
|
|
9158
|
+
|
|
9159
|
+
/**
|
|
9160
|
+
* kube-scheduler自定义参数
|
|
9161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9162
|
+
*/
|
|
9163
|
+
KubeScheduler?: Array<string>
|
|
8150
9164
|
}
|
|
8151
9165
|
|
|
8152
9166
|
/**
|
|
@@ -8241,29 +9255,18 @@ export interface AppChart {
|
|
|
8241
9255
|
}
|
|
8242
9256
|
|
|
8243
9257
|
/**
|
|
8244
|
-
*
|
|
8245
|
-
> * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
|
|
8246
|
-
> * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
|
|
8247
|
-
>
|
|
8248
|
-
> 以[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口的`Filter`为例。若我们需要查询可用区(`zone`)为广州一区 ***并且*** 实例计费模式(`instance-charge-type`)为包年包月 ***或者*** 按量计费的实例时,可如下实现:
|
|
8249
|
-
```
|
|
8250
|
-
Filters.0.Name=zone
|
|
8251
|
-
&Filters.0.Values.0=ap-guangzhou-1
|
|
8252
|
-
&Filters.1.Name=instance-charge-type
|
|
8253
|
-
&Filters.1.Values.0=PREPAID
|
|
8254
|
-
&Filters.1.Values.1=POSTPAID_BY_HOUR
|
|
8255
|
-
```
|
|
9258
|
+
* DeleteEdgeCVMInstances请求参数结构体
|
|
8256
9259
|
*/
|
|
8257
|
-
export interface
|
|
9260
|
+
export interface DeleteEdgeCVMInstancesRequest {
|
|
8258
9261
|
/**
|
|
8259
|
-
*
|
|
9262
|
+
* 集群ID
|
|
8260
9263
|
*/
|
|
8261
|
-
|
|
9264
|
+
ClusterID: string
|
|
8262
9265
|
|
|
8263
9266
|
/**
|
|
8264
|
-
*
|
|
9267
|
+
* cvm id集合
|
|
8265
9268
|
*/
|
|
8266
|
-
|
|
9269
|
+
CvmIdSet: Array<string>
|
|
8267
9270
|
}
|
|
8268
9271
|
|
|
8269
9272
|
/**
|
|
@@ -8656,9 +9659,9 @@ export interface DescribeVpcCniPodLimitsRequest {
|
|
|
8656
9659
|
}
|
|
8657
9660
|
|
|
8658
9661
|
/**
|
|
8659
|
-
*
|
|
9662
|
+
* DeleteImageCaches返回参数结构体
|
|
8660
9663
|
*/
|
|
8661
|
-
export interface
|
|
9664
|
+
export interface DeleteImageCachesResponse {
|
|
8662
9665
|
/**
|
|
8663
9666
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8664
9667
|
*/
|
|
@@ -8874,10 +9877,20 @@ export interface DescribeClusterCommonNamesResponse {
|
|
|
8874
9877
|
RequestId?: string
|
|
8875
9878
|
}
|
|
8876
9879
|
|
|
9880
|
+
/**
|
|
9881
|
+
* DeleteECMInstances返回参数结构体
|
|
9882
|
+
*/
|
|
9883
|
+
export interface DeleteECMInstancesResponse {
|
|
9884
|
+
/**
|
|
9885
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9886
|
+
*/
|
|
9887
|
+
RequestId?: string
|
|
9888
|
+
}
|
|
9889
|
+
|
|
8877
9890
|
/**
|
|
8878
9891
|
* 模板实例
|
|
8879
9892
|
*/
|
|
8880
|
-
export interface
|
|
9893
|
+
export interface PrometheusTemplate {
|
|
8881
9894
|
/**
|
|
8882
9895
|
* 模板名称
|
|
8883
9896
|
*/
|
|
@@ -8896,6 +9909,13 @@ cluster 集群级别
|
|
|
8896
9909
|
*/
|
|
8897
9910
|
Describe?: string
|
|
8898
9911
|
|
|
9912
|
+
/**
|
|
9913
|
+
* 当Level为instance时有效,
|
|
9914
|
+
模板中的告警配置列表
|
|
9915
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9916
|
+
*/
|
|
9917
|
+
AlertRules?: Array<PrometheusAlertRule>
|
|
9918
|
+
|
|
8899
9919
|
/**
|
|
8900
9920
|
* 当Level为instance时有效,
|
|
8901
9921
|
模板中的聚合规则列表
|
|
@@ -8953,13 +9973,7 @@ cluster 集群级别
|
|
|
8953
9973
|
模板中的告警配置列表
|
|
8954
9974
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8955
9975
|
*/
|
|
8956
|
-
AlertDetailRules?: Array<
|
|
8957
|
-
|
|
8958
|
-
/**
|
|
8959
|
-
* 关联实例数目
|
|
8960
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8961
|
-
*/
|
|
8962
|
-
TargetsTotal?: number
|
|
9976
|
+
AlertDetailRules?: Array<PrometheusAlertRuleDetail>
|
|
8963
9977
|
}
|
|
8964
9978
|
|
|
8965
9979
|
/**
|