tencentcloud-sdk-nodejs-tke 4.0.352 → 4.0.355
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 +585 -0
- package/SERVICE_CHANGELOG.md +628 -40
- package/package.json +1 -1
- package/products.md +25 -24
- package/src/services/tke/v20180525/tke_client.ts +302 -74
- package/src/services/tke/v20180525/tke_models.ts +1504 -479
- 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 +1244 -372
|
@@ -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集合
|
|
@@ -3280,6 +3693,11 @@ export interface ClusterCIDRSettings {
|
|
|
3280
3693
|
* VPC-CNI网络模式下,弹性网卡IP的回收时间,取值范围[300,15768000)
|
|
3281
3694
|
*/
|
|
3282
3695
|
ClaimExpiredSeconds?: number
|
|
3696
|
+
|
|
3697
|
+
/**
|
|
3698
|
+
* 是否忽略 ServiceCIDR 冲突错误, 仅在 VPC-CNI 模式生效,默认不忽略
|
|
3699
|
+
*/
|
|
3700
|
+
IgnoreServiceCIDRConflict?: boolean
|
|
3283
3701
|
}
|
|
3284
3702
|
|
|
3285
3703
|
/**
|
|
@@ -3342,6 +3760,16 @@ export interface AddClusterCIDRRequest {
|
|
|
3342
3760
|
IgnoreClusterCIDRConflict?: boolean
|
|
3343
3761
|
}
|
|
3344
3762
|
|
|
3763
|
+
/**
|
|
3764
|
+
* DescribeEdgeClusterExtraArgs请求参数结构体
|
|
3765
|
+
*/
|
|
3766
|
+
export interface DescribeEdgeClusterExtraArgsRequest {
|
|
3767
|
+
/**
|
|
3768
|
+
* 集群ID
|
|
3769
|
+
*/
|
|
3770
|
+
ClusterId: string
|
|
3771
|
+
}
|
|
3772
|
+
|
|
3345
3773
|
/**
|
|
3346
3774
|
* DescribeClusters返回参数结构体
|
|
3347
3775
|
*/
|
|
@@ -3566,6 +3994,23 @@ export interface DescribeResourceUsageResponse {
|
|
|
3566
3994
|
RequestId?: string
|
|
3567
3995
|
}
|
|
3568
3996
|
|
|
3997
|
+
/**
|
|
3998
|
+
* 边缘计算集群内网访问LB信息
|
|
3999
|
+
*/
|
|
4000
|
+
export interface EdgeClusterInternalLB {
|
|
4001
|
+
/**
|
|
4002
|
+
* 是否开启内网访问LB
|
|
4003
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4004
|
+
*/
|
|
4005
|
+
Enabled: boolean
|
|
4006
|
+
|
|
4007
|
+
/**
|
|
4008
|
+
* 内网访问LB关联的子网Id
|
|
4009
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4010
|
+
*/
|
|
4011
|
+
SubnetId?: Array<string>
|
|
4012
|
+
}
|
|
4013
|
+
|
|
3569
4014
|
/**
|
|
3570
4015
|
* DescribeClusterRoutes返回参数结构体
|
|
3571
4016
|
*/
|
|
@@ -3638,13 +4083,64 @@ export interface DeleteClusterAsGroupsResponse {
|
|
|
3638
4083
|
}
|
|
3639
4084
|
|
|
3640
4085
|
/**
|
|
3641
|
-
*
|
|
4086
|
+
* 地域属性信息
|
|
3642
4087
|
*/
|
|
3643
|
-
export interface
|
|
4088
|
+
export interface RegionInstance {
|
|
3644
4089
|
/**
|
|
3645
|
-
|
|
4090
|
+
* 地域名称
|
|
4091
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4092
|
+
*/
|
|
4093
|
+
RegionName: string
|
|
4094
|
+
|
|
4095
|
+
/**
|
|
4096
|
+
* 地域ID
|
|
4097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4098
|
+
*/
|
|
4099
|
+
RegionId: number
|
|
4100
|
+
|
|
4101
|
+
/**
|
|
4102
|
+
* 地域状态
|
|
4103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4104
|
+
*/
|
|
4105
|
+
Status: string
|
|
4106
|
+
|
|
4107
|
+
/**
|
|
4108
|
+
* 地域特性开关(按照JSON的形式返回所有属性)
|
|
4109
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4110
|
+
*/
|
|
4111
|
+
FeatureGates: string
|
|
4112
|
+
|
|
4113
|
+
/**
|
|
4114
|
+
* 地域简称
|
|
4115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4116
|
+
*/
|
|
4117
|
+
Alias: string
|
|
4118
|
+
|
|
4119
|
+
/**
|
|
4120
|
+
* 地域白名单
|
|
4121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4122
|
+
*/
|
|
4123
|
+
Remark: string
|
|
4124
|
+
}
|
|
4125
|
+
|
|
4126
|
+
/**
|
|
4127
|
+
* 加入存量节点时的节点池选项
|
|
4128
|
+
*/
|
|
4129
|
+
export interface NodePoolOption {
|
|
4130
|
+
/**
|
|
4131
|
+
* 是否加入节点池
|
|
3646
4132
|
*/
|
|
3647
|
-
|
|
4133
|
+
AddToNodePool?: boolean
|
|
4134
|
+
|
|
4135
|
+
/**
|
|
4136
|
+
* 节点池id
|
|
4137
|
+
*/
|
|
4138
|
+
NodePoolId?: string
|
|
4139
|
+
|
|
4140
|
+
/**
|
|
4141
|
+
* 是否继承节点池相关配置
|
|
4142
|
+
*/
|
|
4143
|
+
InheritConfigurationFromNodePool?: boolean
|
|
3648
4144
|
}
|
|
3649
4145
|
|
|
3650
4146
|
/**
|
|
@@ -4111,6 +4607,81 @@ export interface Capabilities {
|
|
|
4111
4607
|
Drop?: Array<string>
|
|
4112
4608
|
}
|
|
4113
4609
|
|
|
4610
|
+
/**
|
|
4611
|
+
* UpdateTKEEdgeCluster请求参数结构体
|
|
4612
|
+
*/
|
|
4613
|
+
export interface UpdateTKEEdgeClusterRequest {
|
|
4614
|
+
/**
|
|
4615
|
+
* 边缘计算集群ID
|
|
4616
|
+
*/
|
|
4617
|
+
ClusterId: string
|
|
4618
|
+
|
|
4619
|
+
/**
|
|
4620
|
+
* 边缘计算集群名称
|
|
4621
|
+
*/
|
|
4622
|
+
ClusterName?: string
|
|
4623
|
+
|
|
4624
|
+
/**
|
|
4625
|
+
* 边缘计算集群描述信息
|
|
4626
|
+
*/
|
|
4627
|
+
ClusterDesc?: string
|
|
4628
|
+
|
|
4629
|
+
/**
|
|
4630
|
+
* 边缘计算集群的pod cidr
|
|
4631
|
+
*/
|
|
4632
|
+
PodCIDR?: string
|
|
4633
|
+
|
|
4634
|
+
/**
|
|
4635
|
+
* 边缘计算集群的service cidr
|
|
4636
|
+
*/
|
|
4637
|
+
ServiceCIDR?: string
|
|
4638
|
+
|
|
4639
|
+
/**
|
|
4640
|
+
* 边缘计算集群公网访问LB信息
|
|
4641
|
+
*/
|
|
4642
|
+
PublicLB?: EdgeClusterPublicLB
|
|
4643
|
+
|
|
4644
|
+
/**
|
|
4645
|
+
* 边缘计算集群内网访问LB信息
|
|
4646
|
+
*/
|
|
4647
|
+
InternalLB?: EdgeClusterInternalLB
|
|
4648
|
+
|
|
4649
|
+
/**
|
|
4650
|
+
* 边缘计算集群的CoreDns部署信息
|
|
4651
|
+
*/
|
|
4652
|
+
CoreDns?: string
|
|
4653
|
+
|
|
4654
|
+
/**
|
|
4655
|
+
* 边缘计算集群的健康检查多地域部署信息
|
|
4656
|
+
*/
|
|
4657
|
+
HealthRegion?: string
|
|
4658
|
+
|
|
4659
|
+
/**
|
|
4660
|
+
* 边缘计算集群的健康检查部署信息
|
|
4661
|
+
*/
|
|
4662
|
+
Health?: string
|
|
4663
|
+
|
|
4664
|
+
/**
|
|
4665
|
+
* 边缘计算集群的GridDaemon部署信息
|
|
4666
|
+
*/
|
|
4667
|
+
GridDaemon?: string
|
|
4668
|
+
}
|
|
4669
|
+
|
|
4670
|
+
/**
|
|
4671
|
+
* DescribeTKEEdgeExternalKubeconfig返回参数结构体
|
|
4672
|
+
*/
|
|
4673
|
+
export interface DescribeTKEEdgeExternalKubeconfigResponse {
|
|
4674
|
+
/**
|
|
4675
|
+
* kubeconfig文件内容
|
|
4676
|
+
*/
|
|
4677
|
+
Kubeconfig?: string
|
|
4678
|
+
|
|
4679
|
+
/**
|
|
4680
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4681
|
+
*/
|
|
4682
|
+
RequestId?: string
|
|
4683
|
+
}
|
|
4684
|
+
|
|
4114
4685
|
/**
|
|
4115
4686
|
* CreateClusterInstances返回参数结构体
|
|
4116
4687
|
*/
|
|
@@ -4156,6 +4727,21 @@ export interface DescribeClusterRoutesRequest {
|
|
|
4156
4727
|
Filters?: Array<Filter>
|
|
4157
4728
|
}
|
|
4158
4729
|
|
|
4730
|
+
/**
|
|
4731
|
+
* DeleteECMInstances请求参数结构体
|
|
4732
|
+
*/
|
|
4733
|
+
export interface DeleteECMInstancesRequest {
|
|
4734
|
+
/**
|
|
4735
|
+
* 集群ID
|
|
4736
|
+
*/
|
|
4737
|
+
ClusterID: string
|
|
4738
|
+
|
|
4739
|
+
/**
|
|
4740
|
+
* ecm id集合
|
|
4741
|
+
*/
|
|
4742
|
+
EcmIdSet: Array<string>
|
|
4743
|
+
}
|
|
4744
|
+
|
|
4159
4745
|
/**
|
|
4160
4746
|
* 托管集群等级属性
|
|
4161
4747
|
*/
|
|
@@ -4292,6 +4878,26 @@ export interface DisableClusterAuditResponse {
|
|
|
4292
4878
|
RequestId?: string
|
|
4293
4879
|
}
|
|
4294
4880
|
|
|
4881
|
+
/**
|
|
4882
|
+
* RemoveNodeFromNodePool请求参数结构体
|
|
4883
|
+
*/
|
|
4884
|
+
export interface RemoveNodeFromNodePoolRequest {
|
|
4885
|
+
/**
|
|
4886
|
+
* 集群id
|
|
4887
|
+
*/
|
|
4888
|
+
ClusterId: string
|
|
4889
|
+
|
|
4890
|
+
/**
|
|
4891
|
+
* 节点池id
|
|
4892
|
+
*/
|
|
4893
|
+
NodePoolId: string
|
|
4894
|
+
|
|
4895
|
+
/**
|
|
4896
|
+
* 节点id列表,一次最多支持100台
|
|
4897
|
+
*/
|
|
4898
|
+
InstanceIds: Array<string>
|
|
4899
|
+
}
|
|
4900
|
+
|
|
4295
4901
|
/**
|
|
4296
4902
|
* DescribeClusterLevelChangeRecords请求参数结构体
|
|
4297
4903
|
*/
|
|
@@ -4412,6 +5018,31 @@ export interface CreateClusterNodePoolResponse {
|
|
|
4412
5018
|
RequestId?: string
|
|
4413
5019
|
}
|
|
4414
5020
|
|
|
5021
|
+
/**
|
|
5022
|
+
* 过滤器
|
|
5023
|
+
*/
|
|
5024
|
+
export interface Filter {
|
|
5025
|
+
/**
|
|
5026
|
+
* 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
5027
|
+
*/
|
|
5028
|
+
Name: string
|
|
5029
|
+
|
|
5030
|
+
/**
|
|
5031
|
+
* 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
|
5032
|
+
*/
|
|
5033
|
+
Values: Array<string>
|
|
5034
|
+
}
|
|
5035
|
+
|
|
5036
|
+
/**
|
|
5037
|
+
* UpdateTKEEdgeCluster返回参数结构体
|
|
5038
|
+
*/
|
|
5039
|
+
export interface UpdateTKEEdgeClusterResponse {
|
|
5040
|
+
/**
|
|
5041
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5042
|
+
*/
|
|
5043
|
+
RequestId?: string
|
|
5044
|
+
}
|
|
5045
|
+
|
|
4415
5046
|
/**
|
|
4416
5047
|
* 用以帮助用户自动创建EIP的配置
|
|
4417
5048
|
*/
|
|
@@ -4777,6 +5408,16 @@ export interface DNSConfig {
|
|
|
4777
5408
|
Options?: Array<DNSConfigOption>
|
|
4778
5409
|
}
|
|
4779
5410
|
|
|
5411
|
+
/**
|
|
5412
|
+
* DescribeTKEEdgeExternalKubeconfig请求参数结构体
|
|
5413
|
+
*/
|
|
5414
|
+
export interface DescribeTKEEdgeExternalKubeconfigRequest {
|
|
5415
|
+
/**
|
|
5416
|
+
* 集群id
|
|
5417
|
+
*/
|
|
5418
|
+
ClusterId: string
|
|
5419
|
+
}
|
|
5420
|
+
|
|
4780
5421
|
/**
|
|
4781
5422
|
* CreatePrometheusAlertPolicy返回参数结构体
|
|
4782
5423
|
*/
|
|
@@ -4810,110 +5451,53 @@ export interface DNSConfigOption {
|
|
|
4810
5451
|
}
|
|
4811
5452
|
|
|
4812
5453
|
/**
|
|
4813
|
-
*
|
|
5454
|
+
* AddNodeToNodePool请求参数结构体
|
|
4814
5455
|
*/
|
|
4815
|
-
export interface
|
|
5456
|
+
export interface AddNodeToNodePoolRequest {
|
|
4816
5457
|
/**
|
|
4817
|
-
*
|
|
5458
|
+
* 集群id
|
|
4818
5459
|
*/
|
|
4819
|
-
|
|
5460
|
+
ClusterId: string
|
|
4820
5461
|
|
|
4821
5462
|
/**
|
|
4822
|
-
*
|
|
5463
|
+
* 节点池id
|
|
4823
5464
|
*/
|
|
4824
|
-
|
|
5465
|
+
NodePoolId: string
|
|
4825
5466
|
|
|
4826
5467
|
/**
|
|
4827
|
-
*
|
|
5468
|
+
* 节点id
|
|
4828
5469
|
*/
|
|
4829
|
-
|
|
5470
|
+
InstanceIds: Array<string>
|
|
5471
|
+
}
|
|
4830
5472
|
|
|
5473
|
+
/**
|
|
5474
|
+
* DescribeExternalClusterSpec请求参数结构体
|
|
5475
|
+
*/
|
|
5476
|
+
export interface DescribeExternalClusterSpecRequest {
|
|
4831
5477
|
/**
|
|
4832
|
-
*
|
|
5478
|
+
* 注册集群ID
|
|
4833
5479
|
*/
|
|
4834
|
-
|
|
5480
|
+
ClusterId: string
|
|
4835
5481
|
|
|
4836
5482
|
/**
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
*/
|
|
4841
|
-
NotifyWay?: Array<string>
|
|
5483
|
+
* 默认false 获取内网,是否获取外网版注册命令
|
|
5484
|
+
*/
|
|
5485
|
+
IsExtranet?: boolean
|
|
4842
5486
|
|
|
4843
5487
|
/**
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
ReceiverGroups?: Array<number>
|
|
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
|
|
5488
|
+
* 默认false 不刷新有效时间 ,true刷新有效时间
|
|
5489
|
+
*/
|
|
5490
|
+
IsRefreshExpirationTime?: boolean
|
|
4897
5491
|
}
|
|
4898
5492
|
|
|
4899
5493
|
/**
|
|
4900
|
-
*
|
|
5494
|
+
* ModifyPrometheusGlobalNotification返回参数结构体
|
|
4901
5495
|
*/
|
|
4902
|
-
export interface
|
|
4903
|
-
/**
|
|
4904
|
-
* 注册集群ID
|
|
4905
|
-
*/
|
|
4906
|
-
ClusterId: string
|
|
4907
|
-
|
|
4908
|
-
/**
|
|
4909
|
-
* 默认false 获取内网,是否获取外网版注册命令
|
|
4910
|
-
*/
|
|
4911
|
-
IsExtranet?: boolean
|
|
4912
|
-
|
|
5496
|
+
export interface ModifyPrometheusGlobalNotificationResponse {
|
|
4913
5497
|
/**
|
|
4914
|
-
*
|
|
5498
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4915
5499
|
*/
|
|
4916
|
-
|
|
5500
|
+
RequestId?: string
|
|
4917
5501
|
}
|
|
4918
5502
|
|
|
4919
5503
|
/**
|
|
@@ -5513,9 +6097,19 @@ export interface CreatePrometheusTemplateRequest {
|
|
|
5513
6097
|
}
|
|
5514
6098
|
|
|
5515
6099
|
/**
|
|
5516
|
-
*
|
|
6100
|
+
* DescribeEKSContainerInstances返回参数结构体
|
|
5517
6101
|
*/
|
|
5518
|
-
export interface
|
|
6102
|
+
export interface DescribeEKSContainerInstancesResponse {
|
|
6103
|
+
/**
|
|
6104
|
+
* 容器组总数
|
|
6105
|
+
*/
|
|
6106
|
+
TotalCount: number
|
|
6107
|
+
|
|
6108
|
+
/**
|
|
6109
|
+
* 容器组列表
|
|
6110
|
+
*/
|
|
6111
|
+
EksCis: Array<EksCi>
|
|
6112
|
+
|
|
5519
6113
|
/**
|
|
5520
6114
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5521
6115
|
*/
|
|
@@ -5538,18 +6132,18 @@ export interface CreatePrometheusAlertRuleResponse {
|
|
|
5538
6132
|
}
|
|
5539
6133
|
|
|
5540
6134
|
/**
|
|
5541
|
-
*
|
|
6135
|
+
* ECM增强服务
|
|
5542
6136
|
*/
|
|
5543
|
-
export interface
|
|
6137
|
+
export interface ECMEnhancedService {
|
|
5544
6138
|
/**
|
|
5545
|
-
*
|
|
6139
|
+
* 是否开启云监控服务
|
|
5546
6140
|
*/
|
|
5547
|
-
|
|
6141
|
+
SecurityService?: ECMRunMonitorServiceEnabled
|
|
5548
6142
|
|
|
5549
6143
|
/**
|
|
5550
|
-
*
|
|
6144
|
+
* 是否开启云镜服务
|
|
5551
6145
|
*/
|
|
5552
|
-
|
|
6146
|
+
MonitorService?: ECMRunSecurityServiceEnabled
|
|
5553
6147
|
}
|
|
5554
6148
|
|
|
5555
6149
|
/**
|
|
@@ -5563,66 +6157,52 @@ export interface ModifyClusterAuthenticationOptionsResponse {
|
|
|
5563
6157
|
}
|
|
5564
6158
|
|
|
5565
6159
|
/**
|
|
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告警规则
|
|
6160
|
+
* 集群创建过程
|
|
5582
6161
|
*/
|
|
5583
|
-
export interface
|
|
5584
|
-
/**
|
|
5585
|
-
* 规则名称
|
|
5586
|
-
*/
|
|
5587
|
-
Name: string
|
|
5588
|
-
|
|
5589
|
-
/**
|
|
5590
|
-
* prometheus语句
|
|
5591
|
-
*/
|
|
5592
|
-
Rule: string
|
|
5593
|
-
|
|
6162
|
+
export interface ClusterCondition {
|
|
5594
6163
|
/**
|
|
5595
|
-
*
|
|
6164
|
+
* 集群创建过程类型
|
|
5596
6165
|
*/
|
|
5597
|
-
|
|
6166
|
+
Type: string
|
|
5598
6167
|
|
|
5599
6168
|
/**
|
|
5600
|
-
*
|
|
6169
|
+
* 集群创建过程状态
|
|
5601
6170
|
*/
|
|
5602
|
-
|
|
6171
|
+
Status: string
|
|
5603
6172
|
|
|
5604
6173
|
/**
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
6174
|
+
* 最后一次探测到该状态的时间
|
|
6175
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6176
|
+
*/
|
|
6177
|
+
LastProbeTime: string
|
|
5608
6178
|
|
|
5609
6179
|
/**
|
|
5610
|
-
*
|
|
6180
|
+
* 最后一次转换到该过程的时间
|
|
5611
6181
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5612
6182
|
*/
|
|
5613
|
-
|
|
6183
|
+
LastTransitionTime: string
|
|
5614
6184
|
|
|
5615
6185
|
/**
|
|
5616
|
-
*
|
|
6186
|
+
* 转换到该过程的简明原因
|
|
5617
6187
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5618
6188
|
*/
|
|
5619
|
-
|
|
6189
|
+
Reason: string
|
|
5620
6190
|
|
|
5621
6191
|
/**
|
|
5622
|
-
*
|
|
6192
|
+
* 转换到该过程的更多信息
|
|
5623
6193
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5624
6194
|
*/
|
|
5625
|
-
|
|
6195
|
+
Message: string
|
|
6196
|
+
}
|
|
6197
|
+
|
|
6198
|
+
/**
|
|
6199
|
+
* EnableEventPersistence返回参数结构体
|
|
6200
|
+
*/
|
|
6201
|
+
export interface EnableEventPersistenceResponse {
|
|
6202
|
+
/**
|
|
6203
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6204
|
+
*/
|
|
6205
|
+
RequestId?: string
|
|
5626
6206
|
}
|
|
5627
6207
|
|
|
5628
6208
|
/**
|
|
@@ -5796,6 +6376,26 @@ alertmanager
|
|
|
5796
6376
|
PhoneArriveNotice?: boolean
|
|
5797
6377
|
}
|
|
5798
6378
|
|
|
6379
|
+
/**
|
|
6380
|
+
* DeleteEdgeClusterInstances返回参数结构体
|
|
6381
|
+
*/
|
|
6382
|
+
export interface DeleteEdgeClusterInstancesResponse {
|
|
6383
|
+
/**
|
|
6384
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6385
|
+
*/
|
|
6386
|
+
RequestId?: string
|
|
6387
|
+
}
|
|
6388
|
+
|
|
6389
|
+
/**
|
|
6390
|
+
* DeleteTKEEdgeCluster请求参数结构体
|
|
6391
|
+
*/
|
|
6392
|
+
export interface DeleteTKEEdgeClusterRequest {
|
|
6393
|
+
/**
|
|
6394
|
+
* 集群ID
|
|
6395
|
+
*/
|
|
6396
|
+
ClusterId: string
|
|
6397
|
+
}
|
|
6398
|
+
|
|
5799
6399
|
/**
|
|
5800
6400
|
* CreatePrometheusGlobalNotification返回参数结构体
|
|
5801
6401
|
*/
|
|
@@ -6040,6 +6640,16 @@ export interface CreateClusterNodePoolRequest {
|
|
|
6040
6640
|
*/
|
|
6041
6641
|
Taints?: Array<Taint>
|
|
6042
6642
|
|
|
6643
|
+
/**
|
|
6644
|
+
* 节点池纬度运行时类型及版本
|
|
6645
|
+
*/
|
|
6646
|
+
ContainerRuntime?: string
|
|
6647
|
+
|
|
6648
|
+
/**
|
|
6649
|
+
* 运行时版本
|
|
6650
|
+
*/
|
|
6651
|
+
RuntimeVersion?: string
|
|
6652
|
+
|
|
6043
6653
|
/**
|
|
6044
6654
|
* 节点池os
|
|
6045
6655
|
*/
|
|
@@ -6056,6 +6666,31 @@ export interface CreateClusterNodePoolRequest {
|
|
|
6056
6666
|
Tags?: Array<Tag>
|
|
6057
6667
|
}
|
|
6058
6668
|
|
|
6669
|
+
/**
|
|
6670
|
+
* CheckEdgeClusterCIDR返回参数结构体
|
|
6671
|
+
*/
|
|
6672
|
+
export interface CheckEdgeClusterCIDRResponse {
|
|
6673
|
+
/**
|
|
6674
|
+
* 返回码,具体如下
|
|
6675
|
+
-1 内部错误
|
|
6676
|
+
0 没冲突
|
|
6677
|
+
1 vpc 和 serviceCIDR 冲突
|
|
6678
|
+
2 vpc 和 podCIDR 冲突
|
|
6679
|
+
3 serviceCIDR 和 podCIDR 冲突
|
|
6680
|
+
*/
|
|
6681
|
+
ConflictCode?: number
|
|
6682
|
+
|
|
6683
|
+
/**
|
|
6684
|
+
* CIDR冲突描述信息。
|
|
6685
|
+
*/
|
|
6686
|
+
ConflictMsg?: string
|
|
6687
|
+
|
|
6688
|
+
/**
|
|
6689
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6690
|
+
*/
|
|
6691
|
+
RequestId?: string
|
|
6692
|
+
}
|
|
6693
|
+
|
|
6059
6694
|
/**
|
|
6060
6695
|
* DescribePrometheusClusterAgents请求参数结构体
|
|
6061
6696
|
*/
|
|
@@ -6076,6 +6711,41 @@ export interface DescribePrometheusClusterAgentsRequest {
|
|
|
6076
6711
|
Limit?: number
|
|
6077
6712
|
}
|
|
6078
6713
|
|
|
6714
|
+
/**
|
|
6715
|
+
* 边缘容器参数描述
|
|
6716
|
+
*/
|
|
6717
|
+
export interface EdgeArgsFlag {
|
|
6718
|
+
/**
|
|
6719
|
+
* 参数名
|
|
6720
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6721
|
+
*/
|
|
6722
|
+
Name?: string
|
|
6723
|
+
|
|
6724
|
+
/**
|
|
6725
|
+
* 参数类型
|
|
6726
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6727
|
+
*/
|
|
6728
|
+
Type?: string
|
|
6729
|
+
|
|
6730
|
+
/**
|
|
6731
|
+
* 参数描述
|
|
6732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6733
|
+
*/
|
|
6734
|
+
Usage?: string
|
|
6735
|
+
|
|
6736
|
+
/**
|
|
6737
|
+
* 参数默认值
|
|
6738
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6739
|
+
*/
|
|
6740
|
+
Default?: string
|
|
6741
|
+
|
|
6742
|
+
/**
|
|
6743
|
+
* 参数可选范围(目前包含range和in两种,"[]"代表range,如"[1, 5]"表示参数必须>=1且 <=5, "()"代表in, 如"('aa', 'bb')"表示参数只能为字符串'aa'或者'bb',该参数为空表示不校验)
|
|
6744
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6745
|
+
*/
|
|
6746
|
+
Constraint?: string
|
|
6747
|
+
}
|
|
6748
|
+
|
|
6079
6749
|
/**
|
|
6080
6750
|
* CheckInstancesUpgradeAble返回参数结构体
|
|
6081
6751
|
*/
|
|
@@ -6215,70 +6885,135 @@ export interface UninstallLogAgentResponse {
|
|
|
6215
6885
|
}
|
|
6216
6886
|
|
|
6217
6887
|
/**
|
|
6218
|
-
*
|
|
6888
|
+
* CreateECMInstances请求参数结构体
|
|
6219
6889
|
*/
|
|
6220
|
-
export interface
|
|
6890
|
+
export interface CreateECMInstancesRequest {
|
|
6221
6891
|
/**
|
|
6222
|
-
*
|
|
6892
|
+
* 集群id
|
|
6223
6893
|
*/
|
|
6224
|
-
|
|
6894
|
+
ClusterID: string
|
|
6225
6895
|
|
|
6226
6896
|
/**
|
|
6227
|
-
*
|
|
6897
|
+
* 模块id
|
|
6228
6898
|
*/
|
|
6229
|
-
|
|
6230
|
-
}
|
|
6899
|
+
ModuleId: string
|
|
6231
6900
|
|
|
6232
|
-
/**
|
|
6233
|
-
* DescribePrometheusTargets请求参数结构体
|
|
6234
|
-
*/
|
|
6235
|
-
export interface DescribePrometheusTargetsRequest {
|
|
6236
6901
|
/**
|
|
6237
|
-
*
|
|
6902
|
+
* 需要创建实例的可用区及创建数目及运营商的列表
|
|
6238
6903
|
*/
|
|
6239
|
-
|
|
6904
|
+
ZoneInstanceCountISPSet: Array<ECMZoneInstanceCountISP>
|
|
6240
6905
|
|
|
6241
6906
|
/**
|
|
6242
|
-
*
|
|
6907
|
+
* 密码
|
|
6243
6908
|
*/
|
|
6244
|
-
|
|
6909
|
+
Password?: string
|
|
6245
6910
|
|
|
6246
6911
|
/**
|
|
6247
|
-
*
|
|
6912
|
+
* 公网带宽
|
|
6248
6913
|
*/
|
|
6249
|
-
|
|
6914
|
+
InternetMaxBandwidthOut?: number
|
|
6250
6915
|
|
|
6251
6916
|
/**
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
*/
|
|
6256
|
-
Filters?: Array<Filter>
|
|
6257
|
-
}
|
|
6917
|
+
* 镜像id
|
|
6918
|
+
*/
|
|
6919
|
+
ImageId?: string
|
|
6258
6920
|
|
|
6259
|
-
/**
|
|
6260
|
-
* DeletePrometheusTemplateSync返回参数结构体
|
|
6261
|
-
*/
|
|
6262
|
-
export interface DeletePrometheusTemplateSyncResponse {
|
|
6263
6921
|
/**
|
|
6264
|
-
*
|
|
6922
|
+
* 实例名称
|
|
6265
6923
|
*/
|
|
6266
|
-
|
|
6267
|
-
}
|
|
6924
|
+
InstanceName?: string
|
|
6268
6925
|
|
|
6269
|
-
/**
|
|
6270
|
-
* DescribeClusterAsGroups请求参数结构体
|
|
6271
|
-
*/
|
|
6272
|
-
export interface DescribeClusterAsGroupsRequest {
|
|
6273
6926
|
/**
|
|
6274
|
-
*
|
|
6927
|
+
* 主机名称
|
|
6275
6928
|
*/
|
|
6276
|
-
|
|
6929
|
+
HostName?: string
|
|
6277
6930
|
|
|
6278
6931
|
/**
|
|
6279
|
-
*
|
|
6932
|
+
* 增强服务,包括云镜和云监控
|
|
6280
6933
|
*/
|
|
6281
|
-
|
|
6934
|
+
EnhancedService?: ECMEnhancedService
|
|
6935
|
+
|
|
6936
|
+
/**
|
|
6937
|
+
* 用户自定义脚本
|
|
6938
|
+
*/
|
|
6939
|
+
UserData?: string
|
|
6940
|
+
|
|
6941
|
+
/**
|
|
6942
|
+
* 实例扩展信息
|
|
6943
|
+
*/
|
|
6944
|
+
External?: string
|
|
6945
|
+
|
|
6946
|
+
/**
|
|
6947
|
+
* 实例所属安全组
|
|
6948
|
+
*/
|
|
6949
|
+
SecurityGroupIds?: Array<string>
|
|
6950
|
+
}
|
|
6951
|
+
|
|
6952
|
+
/**
|
|
6953
|
+
* CreatePrometheusTemp返回参数结构体
|
|
6954
|
+
*/
|
|
6955
|
+
export interface CreatePrometheusTempResponse {
|
|
6956
|
+
/**
|
|
6957
|
+
* 模板Id
|
|
6958
|
+
*/
|
|
6959
|
+
TemplateId: string
|
|
6960
|
+
|
|
6961
|
+
/**
|
|
6962
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6963
|
+
*/
|
|
6964
|
+
RequestId?: string
|
|
6965
|
+
}
|
|
6966
|
+
|
|
6967
|
+
/**
|
|
6968
|
+
* DescribePrometheusTargets请求参数结构体
|
|
6969
|
+
*/
|
|
6970
|
+
export interface DescribePrometheusTargetsRequest {
|
|
6971
|
+
/**
|
|
6972
|
+
* 实例id
|
|
6973
|
+
*/
|
|
6974
|
+
InstanceId: string
|
|
6975
|
+
|
|
6976
|
+
/**
|
|
6977
|
+
* 集群类型
|
|
6978
|
+
*/
|
|
6979
|
+
ClusterType: string
|
|
6980
|
+
|
|
6981
|
+
/**
|
|
6982
|
+
* 集群id
|
|
6983
|
+
*/
|
|
6984
|
+
ClusterId: string
|
|
6985
|
+
|
|
6986
|
+
/**
|
|
6987
|
+
* 过滤条件,当前支持
|
|
6988
|
+
Name=state
|
|
6989
|
+
Value=up, down, unknown
|
|
6990
|
+
*/
|
|
6991
|
+
Filters?: Array<Filter>
|
|
6992
|
+
}
|
|
6993
|
+
|
|
6994
|
+
/**
|
|
6995
|
+
* DeletePrometheusTemplateSync返回参数结构体
|
|
6996
|
+
*/
|
|
6997
|
+
export interface DeletePrometheusTemplateSyncResponse {
|
|
6998
|
+
/**
|
|
6999
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7000
|
+
*/
|
|
7001
|
+
RequestId?: string
|
|
7002
|
+
}
|
|
7003
|
+
|
|
7004
|
+
/**
|
|
7005
|
+
* DescribeClusterAsGroups请求参数结构体
|
|
7006
|
+
*/
|
|
7007
|
+
export interface DescribeClusterAsGroupsRequest {
|
|
7008
|
+
/**
|
|
7009
|
+
* 集群ID
|
|
7010
|
+
*/
|
|
7011
|
+
ClusterId: string
|
|
7012
|
+
|
|
7013
|
+
/**
|
|
7014
|
+
* 伸缩组ID列表,如果为空,表示拉取集群关联的所有伸缩组。
|
|
7015
|
+
*/
|
|
7016
|
+
AutoScalingGroupIds?: Array<string>
|
|
6282
7017
|
|
|
6283
7018
|
/**
|
|
6284
7019
|
* 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
@@ -6291,6 +7026,16 @@ export interface DescribeClusterAsGroupsRequest {
|
|
|
6291
7026
|
Limit?: number
|
|
6292
7027
|
}
|
|
6293
7028
|
|
|
7029
|
+
/**
|
|
7030
|
+
* ECM云监控服务
|
|
7031
|
+
*/
|
|
7032
|
+
export interface ECMRunMonitorServiceEnabled {
|
|
7033
|
+
/**
|
|
7034
|
+
* 是否开启
|
|
7035
|
+
*/
|
|
7036
|
+
Enabled?: boolean
|
|
7037
|
+
}
|
|
7038
|
+
|
|
6294
7039
|
/**
|
|
6295
7040
|
* SyncPrometheusTemp请求参数结构体
|
|
6296
7041
|
*/
|
|
@@ -6316,6 +7061,31 @@ export interface ModifyClusterEndpointSPResponse {
|
|
|
6316
7061
|
RequestId?: string
|
|
6317
7062
|
}
|
|
6318
7063
|
|
|
7064
|
+
/**
|
|
7065
|
+
* ECM云镜服务
|
|
7066
|
+
*/
|
|
7067
|
+
export interface ECMRunSecurityServiceEnabled {
|
|
7068
|
+
/**
|
|
7069
|
+
* 是否开启
|
|
7070
|
+
*/
|
|
7071
|
+
Enabled?: boolean
|
|
7072
|
+
|
|
7073
|
+
/**
|
|
7074
|
+
* 云镜版本:0 基础版,1 专业版
|
|
7075
|
+
*/
|
|
7076
|
+
Version?: number
|
|
7077
|
+
}
|
|
7078
|
+
|
|
7079
|
+
/**
|
|
7080
|
+
* SyncPrometheusTemplate返回参数结构体
|
|
7081
|
+
*/
|
|
7082
|
+
export interface SyncPrometheusTemplateResponse {
|
|
7083
|
+
/**
|
|
7084
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7085
|
+
*/
|
|
7086
|
+
RequestId?: string
|
|
7087
|
+
}
|
|
7088
|
+
|
|
6319
7089
|
/**
|
|
6320
7090
|
* 集群伸缩组属性
|
|
6321
7091
|
*/
|
|
@@ -6472,6 +7242,57 @@ T4
|
|
|
6472
7242
|
CamRoleName?: string
|
|
6473
7243
|
}
|
|
6474
7244
|
|
|
7245
|
+
/**
|
|
7246
|
+
* DescribeTKEEdgeClusterCredential返回参数结构体
|
|
7247
|
+
*/
|
|
7248
|
+
export interface DescribeTKEEdgeClusterCredentialResponse {
|
|
7249
|
+
/**
|
|
7250
|
+
* 集群的接入地址信息
|
|
7251
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7252
|
+
*/
|
|
7253
|
+
Addresses: Array<IPAddress>
|
|
7254
|
+
|
|
7255
|
+
/**
|
|
7256
|
+
* 集群的认证信息
|
|
7257
|
+
*/
|
|
7258
|
+
Credential: ClusterCredential
|
|
7259
|
+
|
|
7260
|
+
/**
|
|
7261
|
+
* 集群的公网访问信息
|
|
7262
|
+
*/
|
|
7263
|
+
PublicLB: EdgeClusterPublicLB
|
|
7264
|
+
|
|
7265
|
+
/**
|
|
7266
|
+
* 集群的内网访问信息
|
|
7267
|
+
*/
|
|
7268
|
+
InternalLB: EdgeClusterInternalLB
|
|
7269
|
+
|
|
7270
|
+
/**
|
|
7271
|
+
* 集群的CoreDns部署信息
|
|
7272
|
+
*/
|
|
7273
|
+
CoreDns: string
|
|
7274
|
+
|
|
7275
|
+
/**
|
|
7276
|
+
* 集群的健康检查多地域部署信息
|
|
7277
|
+
*/
|
|
7278
|
+
HealthRegion: string
|
|
7279
|
+
|
|
7280
|
+
/**
|
|
7281
|
+
* 集群的健康检查部署信息
|
|
7282
|
+
*/
|
|
7283
|
+
Health: string
|
|
7284
|
+
|
|
7285
|
+
/**
|
|
7286
|
+
* 是否部署GridDaemon以支持headless service
|
|
7287
|
+
*/
|
|
7288
|
+
GridDaemon: string
|
|
7289
|
+
|
|
7290
|
+
/**
|
|
7291
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7292
|
+
*/
|
|
7293
|
+
RequestId?: string
|
|
7294
|
+
}
|
|
7295
|
+
|
|
6475
7296
|
/**
|
|
6476
7297
|
* 描述了k8s集群相关配置与信息。
|
|
6477
7298
|
*/
|
|
@@ -6529,6 +7350,12 @@ export interface InstanceAdvancedSettings {
|
|
|
6529
7350
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6530
7351
|
*/
|
|
6531
7352
|
PreStartUserScript: string
|
|
7353
|
+
|
|
7354
|
+
/**
|
|
7355
|
+
* 节点污点
|
|
7356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7357
|
+
*/
|
|
7358
|
+
Taints: Array<Taint>
|
|
6532
7359
|
}
|
|
6533
7360
|
|
|
6534
7361
|
/**
|
|
@@ -6791,6 +7618,56 @@ export interface UpdateEKSClusterRequest {
|
|
|
6791
7618
|
ExtraParam?: string
|
|
6792
7619
|
}
|
|
6793
7620
|
|
|
7621
|
+
/**
|
|
7622
|
+
* CreateTKEEdgeCluster请求参数结构体
|
|
7623
|
+
*/
|
|
7624
|
+
export interface CreateTKEEdgeClusterRequest {
|
|
7625
|
+
/**
|
|
7626
|
+
* k8s版本号
|
|
7627
|
+
*/
|
|
7628
|
+
K8SVersion: string
|
|
7629
|
+
|
|
7630
|
+
/**
|
|
7631
|
+
* vpc 的Id
|
|
7632
|
+
*/
|
|
7633
|
+
VpcId: string
|
|
7634
|
+
|
|
7635
|
+
/**
|
|
7636
|
+
* 集群名称
|
|
7637
|
+
*/
|
|
7638
|
+
ClusterName: string
|
|
7639
|
+
|
|
7640
|
+
/**
|
|
7641
|
+
* 集群pod cidr
|
|
7642
|
+
*/
|
|
7643
|
+
PodCIDR: string
|
|
7644
|
+
|
|
7645
|
+
/**
|
|
7646
|
+
* 集群service cidr
|
|
7647
|
+
*/
|
|
7648
|
+
ServiceCIDR: string
|
|
7649
|
+
|
|
7650
|
+
/**
|
|
7651
|
+
* 集群描述信息
|
|
7652
|
+
*/
|
|
7653
|
+
ClusterDesc?: string
|
|
7654
|
+
|
|
7655
|
+
/**
|
|
7656
|
+
* 集群高级设置
|
|
7657
|
+
*/
|
|
7658
|
+
ClusterAdvancedSettings?: EdgeClusterAdvancedSettings
|
|
7659
|
+
|
|
7660
|
+
/**
|
|
7661
|
+
* 节点上最大Pod数量
|
|
7662
|
+
*/
|
|
7663
|
+
MaxNodePodNum?: number
|
|
7664
|
+
|
|
7665
|
+
/**
|
|
7666
|
+
* 边缘计算集群公网访问LB信息
|
|
7667
|
+
*/
|
|
7668
|
+
PublicLB?: EdgeClusterPublicLB
|
|
7669
|
+
}
|
|
7670
|
+
|
|
6794
7671
|
/**
|
|
6795
7672
|
* CreateEKSCluster返回参数结构体
|
|
6796
7673
|
*/
|
|
@@ -6832,6 +7709,21 @@ export interface Exec {
|
|
|
6832
7709
|
Commands?: Array<string>
|
|
6833
7710
|
}
|
|
6834
7711
|
|
|
7712
|
+
/**
|
|
7713
|
+
* DescribeAvailableTKEEdgeVersion返回参数结构体
|
|
7714
|
+
*/
|
|
7715
|
+
export interface DescribeAvailableTKEEdgeVersionResponse {
|
|
7716
|
+
/**
|
|
7717
|
+
* 版本列表
|
|
7718
|
+
*/
|
|
7719
|
+
Versions?: Array<string>
|
|
7720
|
+
|
|
7721
|
+
/**
|
|
7722
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7723
|
+
*/
|
|
7724
|
+
RequestId?: string
|
|
7725
|
+
}
|
|
7726
|
+
|
|
6835
7727
|
/**
|
|
6836
7728
|
* DeletePrometheusAlertPolicy返回参数结构体
|
|
6837
7729
|
*/
|
|
@@ -6842,6 +7734,35 @@ export interface DeletePrometheusAlertPolicyResponse {
|
|
|
6842
7734
|
RequestId?: string
|
|
6843
7735
|
}
|
|
6844
7736
|
|
|
7737
|
+
/**
|
|
7738
|
+
* 边缘容器集群可用的自定义参数
|
|
7739
|
+
*/
|
|
7740
|
+
export interface EdgeAvailableExtraArgs {
|
|
7741
|
+
/**
|
|
7742
|
+
* kube-apiserver可用的自定义参数
|
|
7743
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7744
|
+
*/
|
|
7745
|
+
KubeAPIServer?: Array<EdgeArgsFlag>
|
|
7746
|
+
|
|
7747
|
+
/**
|
|
7748
|
+
* kube-controller-manager可用的自定义参数
|
|
7749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7750
|
+
*/
|
|
7751
|
+
KubeControllerManager?: Array<EdgeArgsFlag>
|
|
7752
|
+
|
|
7753
|
+
/**
|
|
7754
|
+
* kube-scheduler可用的自定义参数
|
|
7755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7756
|
+
*/
|
|
7757
|
+
KubeScheduler?: Array<EdgeArgsFlag>
|
|
7758
|
+
|
|
7759
|
+
/**
|
|
7760
|
+
* kubelet可用的自定义参数
|
|
7761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7762
|
+
*/
|
|
7763
|
+
Kubelet?: Array<EdgeArgsFlag>
|
|
7764
|
+
}
|
|
7765
|
+
|
|
6845
7766
|
/**
|
|
6846
7767
|
* IP 地址
|
|
6847
7768
|
*/
|
|
@@ -6862,6 +7783,16 @@ export interface IPAddress {
|
|
|
6862
7783
|
Port: number
|
|
6863
7784
|
}
|
|
6864
7785
|
|
|
7786
|
+
/**
|
|
7787
|
+
* DescribeTKEEdgeClusterCredential请求参数结构体
|
|
7788
|
+
*/
|
|
7789
|
+
export interface DescribeTKEEdgeClusterCredentialRequest {
|
|
7790
|
+
/**
|
|
7791
|
+
* 集群Id
|
|
7792
|
+
*/
|
|
7793
|
+
ClusterId: string
|
|
7794
|
+
}
|
|
7795
|
+
|
|
6865
7796
|
/**
|
|
6866
7797
|
* 自动变配集群等级
|
|
6867
7798
|
*/
|
|
@@ -6994,11 +7925,42 @@ export interface CreateClusterRouteResponse {
|
|
|
6994
7925
|
RequestId?: string
|
|
6995
7926
|
}
|
|
6996
7927
|
|
|
7928
|
+
/**
|
|
7929
|
+
* CreateClusterNodePoolFromExistingAsg返回参数结构体
|
|
7930
|
+
*/
|
|
7931
|
+
export interface CreateClusterNodePoolFromExistingAsgResponse {
|
|
7932
|
+
/**
|
|
7933
|
+
* 节点池ID
|
|
7934
|
+
*/
|
|
7935
|
+
NodePoolId?: string
|
|
7936
|
+
|
|
7937
|
+
/**
|
|
7938
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7939
|
+
*/
|
|
7940
|
+
RequestId?: string
|
|
7941
|
+
}
|
|
7942
|
+
|
|
6997
7943
|
/**
|
|
6998
7944
|
* DescribeEKSContainerInstanceRegions请求参数结构体
|
|
6999
7945
|
*/
|
|
7000
7946
|
export type DescribeEKSContainerInstanceRegionsRequest = null
|
|
7001
7947
|
|
|
7948
|
+
/**
|
|
7949
|
+
* DescribeECMInstances请求参数结构体
|
|
7950
|
+
*/
|
|
7951
|
+
export interface DescribeECMInstancesRequest {
|
|
7952
|
+
/**
|
|
7953
|
+
* 集群id
|
|
7954
|
+
*/
|
|
7955
|
+
ClusterID: string
|
|
7956
|
+
|
|
7957
|
+
/**
|
|
7958
|
+
* 过滤条件
|
|
7959
|
+
仅支持ecm-id过滤
|
|
7960
|
+
*/
|
|
7961
|
+
Filters?: Array<Filter>
|
|
7962
|
+
}
|
|
7963
|
+
|
|
7002
7964
|
/**
|
|
7003
7965
|
* DescribeVpcCniPodLimits返回参数结构体
|
|
7004
7966
|
*/
|
|
@@ -7074,13 +8036,51 @@ export interface CreateClusterNodePoolFromExistingAsgRequest {
|
|
|
7074
8036
|
}
|
|
7075
8037
|
|
|
7076
8038
|
/**
|
|
7077
|
-
*
|
|
8039
|
+
* Prometheus告警规则
|
|
7078
8040
|
*/
|
|
7079
|
-
export interface
|
|
8041
|
+
export interface PrometheusAlertRule {
|
|
7080
8042
|
/**
|
|
7081
|
-
*
|
|
8043
|
+
* 规则名称
|
|
7082
8044
|
*/
|
|
7083
|
-
|
|
8045
|
+
Name: string
|
|
8046
|
+
|
|
8047
|
+
/**
|
|
8048
|
+
* prometheus语句
|
|
8049
|
+
*/
|
|
8050
|
+
Rule: string
|
|
8051
|
+
|
|
8052
|
+
/**
|
|
8053
|
+
* 额外标签
|
|
8054
|
+
*/
|
|
8055
|
+
Labels: Array<Label>
|
|
8056
|
+
|
|
8057
|
+
/**
|
|
8058
|
+
* 告警发送模板
|
|
8059
|
+
*/
|
|
8060
|
+
Template: string
|
|
8061
|
+
|
|
8062
|
+
/**
|
|
8063
|
+
* 持续时间
|
|
8064
|
+
*/
|
|
8065
|
+
For: string
|
|
8066
|
+
|
|
8067
|
+
/**
|
|
8068
|
+
* 该条规则的描述信息
|
|
8069
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8070
|
+
*/
|
|
8071
|
+
Describe?: string
|
|
8072
|
+
|
|
8073
|
+
/**
|
|
8074
|
+
* 参考prometheus rule中的annotations
|
|
8075
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8076
|
+
*/
|
|
8077
|
+
Annotations?: Array<Label>
|
|
8078
|
+
|
|
8079
|
+
/**
|
|
8080
|
+
* 告警规则状态
|
|
8081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8082
|
+
*/
|
|
8083
|
+
RuleState?: number
|
|
7084
8084
|
}
|
|
7085
8085
|
|
|
7086
8086
|
/**
|
|
@@ -7139,6 +8139,12 @@ export interface ClusterNetworkSettings {
|
|
|
7139
8139
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7140
8140
|
*/
|
|
7141
8141
|
Subnets: Array<string>
|
|
8142
|
+
|
|
8143
|
+
/**
|
|
8144
|
+
* 是否忽略 ServiceCIDR 冲突错误, 仅在 VPC-CNI 模式生效,默认不忽略
|
|
8145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8146
|
+
*/
|
|
8147
|
+
IgnoreServiceCIDRConflict: boolean
|
|
7142
8148
|
}
|
|
7143
8149
|
|
|
7144
8150
|
/**
|
|
@@ -7193,13 +8199,14 @@ export interface ClusterExtraArgs {
|
|
|
7193
8199
|
}
|
|
7194
8200
|
|
|
7195
8201
|
/**
|
|
7196
|
-
*
|
|
8202
|
+
* 边缘容器集群高级配置
|
|
7197
8203
|
*/
|
|
7198
|
-
export interface
|
|
8204
|
+
export interface EdgeClusterAdvancedSettings {
|
|
7199
8205
|
/**
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
8206
|
+
* 集群自定义参数
|
|
8207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8208
|
+
*/
|
|
8209
|
+
ExtraArgs?: EdgeClusterExtraArgs
|
|
7203
8210
|
}
|
|
7204
8211
|
|
|
7205
8212
|
/**
|
|
@@ -7255,18 +8262,23 @@ failed: 步骤失败
|
|
|
7255
8262
|
}
|
|
7256
8263
|
|
|
7257
8264
|
/**
|
|
7258
|
-
*
|
|
8265
|
+
* ECM实例可用区及对应的实例创建数目及运营商的组合
|
|
7259
8266
|
*/
|
|
7260
|
-
export interface
|
|
8267
|
+
export interface ECMZoneInstanceCountISP {
|
|
7261
8268
|
/**
|
|
7262
|
-
*
|
|
8269
|
+
* 创建实例的可用区
|
|
7263
8270
|
*/
|
|
7264
|
-
|
|
8271
|
+
Zone: string
|
|
7265
8272
|
|
|
7266
8273
|
/**
|
|
7267
|
-
*
|
|
8274
|
+
* 在当前可用区欲创建的实例数目
|
|
7268
8275
|
*/
|
|
7269
|
-
|
|
8276
|
+
InstanceCount: number
|
|
8277
|
+
|
|
8278
|
+
/**
|
|
8279
|
+
* 运营商
|
|
8280
|
+
*/
|
|
8281
|
+
ISP: string
|
|
7270
8282
|
}
|
|
7271
8283
|
|
|
7272
8284
|
/**
|
|
@@ -7362,7 +8374,7 @@ export interface ClusterBasicSettings {
|
|
|
7362
8374
|
/**
|
|
7363
8375
|
* 模板实例
|
|
7364
8376
|
*/
|
|
7365
|
-
export interface
|
|
8377
|
+
export interface PrometheusTemp {
|
|
7366
8378
|
/**
|
|
7367
8379
|
* 模板名称
|
|
7368
8380
|
*/
|
|
@@ -7381,13 +8393,6 @@ cluster 集群级别
|
|
|
7381
8393
|
*/
|
|
7382
8394
|
Describe?: string
|
|
7383
8395
|
|
|
7384
|
-
/**
|
|
7385
|
-
* 当Level为instance时有效,
|
|
7386
|
-
模板中的告警配置列表
|
|
7387
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7388
|
-
*/
|
|
7389
|
-
AlertRules?: Array<PrometheusAlertRule>
|
|
7390
|
-
|
|
7391
8396
|
/**
|
|
7392
8397
|
* 当Level为instance时有效,
|
|
7393
8398
|
模板中的聚合规则列表
|
|
@@ -7445,7 +8450,13 @@ cluster 集群级别
|
|
|
7445
8450
|
模板中的告警配置列表
|
|
7446
8451
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7447
8452
|
*/
|
|
7448
|
-
AlertDetailRules?: Array<
|
|
8453
|
+
AlertDetailRules?: Array<PrometheusAlertPolicyItem>
|
|
8454
|
+
|
|
8455
|
+
/**
|
|
8456
|
+
* 关联实例数目
|
|
8457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8458
|
+
*/
|
|
8459
|
+
TargetsTotal?: number
|
|
7449
8460
|
}
|
|
7450
8461
|
|
|
7451
8462
|
/**
|
|
@@ -7543,143 +8554,69 @@ export interface DeletePrometheusTempSyncRequest {
|
|
|
7543
8554
|
TemplateId: string
|
|
7544
8555
|
|
|
7545
8556
|
/**
|
|
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>
|
|
8557
|
+
* 取消同步的对象列表
|
|
8558
|
+
*/
|
|
8559
|
+
Targets: Array<PrometheusTemplateSyncTarget>
|
|
8560
|
+
}
|
|
7641
8561
|
|
|
8562
|
+
/**
|
|
8563
|
+
* CreatePrometheusTemplate返回参数结构体
|
|
8564
|
+
*/
|
|
8565
|
+
export interface CreatePrometheusTemplateResponse {
|
|
7642
8566
|
/**
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
CreatedTime: string
|
|
8567
|
+
* 模板Id
|
|
8568
|
+
*/
|
|
8569
|
+
TemplateId?: string
|
|
7647
8570
|
|
|
7648
8571
|
/**
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
8572
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8573
|
+
*/
|
|
8574
|
+
RequestId?: string
|
|
8575
|
+
}
|
|
7653
8576
|
|
|
8577
|
+
/**
|
|
8578
|
+
* CreateClusterEndpointVip请求参数结构体
|
|
8579
|
+
*/
|
|
8580
|
+
export interface CreateClusterEndpointVipRequest {
|
|
7654
8581
|
/**
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
Memory: number
|
|
8582
|
+
* 集群ID
|
|
8583
|
+
*/
|
|
8584
|
+
ClusterId: string
|
|
7659
8585
|
|
|
7660
8586
|
/**
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
8587
|
+
* 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
|
|
8588
|
+
*/
|
|
8589
|
+
SecurityPolicies?: Array<string>
|
|
8590
|
+
}
|
|
7665
8591
|
|
|
8592
|
+
/**
|
|
8593
|
+
* 弹性容器集群内网访问LB信息
|
|
8594
|
+
*/
|
|
8595
|
+
export interface ClusterInternalLB {
|
|
7666
8596
|
/**
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
InstanceType: string
|
|
8597
|
+
* 是否开启内网访问LB
|
|
8598
|
+
*/
|
|
8599
|
+
Enabled: boolean
|
|
7671
8600
|
|
|
7672
8601
|
/**
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
8602
|
+
* 内网访问LB关联的子网Id
|
|
8603
|
+
*/
|
|
8604
|
+
SubnetId?: string
|
|
8605
|
+
}
|
|
7677
8606
|
|
|
8607
|
+
/**
|
|
8608
|
+
* CreateECMInstances返回参数结构体
|
|
8609
|
+
*/
|
|
8610
|
+
export interface CreateECMInstancesResponse {
|
|
7678
8611
|
/**
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7682
|
-
|
|
8612
|
+
* ecm id 列表
|
|
8613
|
+
*/
|
|
8614
|
+
EcmIdSet?: Array<string>
|
|
8615
|
+
|
|
8616
|
+
/**
|
|
8617
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8618
|
+
*/
|
|
8619
|
+
RequestId?: string
|
|
7683
8620
|
}
|
|
7684
8621
|
|
|
7685
8622
|
/**
|
|
@@ -7728,18 +8665,18 @@ export interface UpdateEKSClusterResponse {
|
|
|
7728
8665
|
}
|
|
7729
8666
|
|
|
7730
8667
|
/**
|
|
7731
|
-
*
|
|
8668
|
+
* DescribeEdgeCVMInstances返回参数结构体
|
|
7732
8669
|
*/
|
|
7733
|
-
export interface
|
|
8670
|
+
export interface DescribeEdgeCVMInstancesResponse {
|
|
7734
8671
|
/**
|
|
7735
|
-
*
|
|
8672
|
+
* 返回的实例相关信息列表的长度
|
|
7736
8673
|
*/
|
|
7737
|
-
|
|
8674
|
+
TotalCount?: number
|
|
7738
8675
|
|
|
7739
8676
|
/**
|
|
7740
|
-
*
|
|
8677
|
+
* 返回的实例相关信息列表
|
|
7741
8678
|
*/
|
|
7742
|
-
|
|
8679
|
+
InstanceInfoSet?: Array<string>
|
|
7743
8680
|
|
|
7744
8681
|
/**
|
|
7745
8682
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -7747,6 +8684,46 @@ export interface DescribePrometheusRecordRulesResponse {
|
|
|
7747
8684
|
RequestId?: string
|
|
7748
8685
|
}
|
|
7749
8686
|
|
|
8687
|
+
/**
|
|
8688
|
+
* 服务事件
|
|
8689
|
+
*/
|
|
8690
|
+
export interface Event {
|
|
8691
|
+
/**
|
|
8692
|
+
* pod名称
|
|
8693
|
+
*/
|
|
8694
|
+
PodName: string
|
|
8695
|
+
|
|
8696
|
+
/**
|
|
8697
|
+
* 事件原因内容
|
|
8698
|
+
*/
|
|
8699
|
+
Reason: string
|
|
8700
|
+
|
|
8701
|
+
/**
|
|
8702
|
+
* 事件类型
|
|
8703
|
+
*/
|
|
8704
|
+
Type: string
|
|
8705
|
+
|
|
8706
|
+
/**
|
|
8707
|
+
* 事件出现次数
|
|
8708
|
+
*/
|
|
8709
|
+
Count: number
|
|
8710
|
+
|
|
8711
|
+
/**
|
|
8712
|
+
* 事件第一次出现时间
|
|
8713
|
+
*/
|
|
8714
|
+
FirstTimestamp: string
|
|
8715
|
+
|
|
8716
|
+
/**
|
|
8717
|
+
* 事件最后一次出现时间
|
|
8718
|
+
*/
|
|
8719
|
+
LastTimestamp: string
|
|
8720
|
+
|
|
8721
|
+
/**
|
|
8722
|
+
* 事件内容
|
|
8723
|
+
*/
|
|
8724
|
+
Message: string
|
|
8725
|
+
}
|
|
8726
|
+
|
|
7750
8727
|
/**
|
|
7751
8728
|
* DeleteClusterNodePool返回参数结构体
|
|
7752
8729
|
*/
|
|
@@ -7767,6 +8744,16 @@ export interface DeleteClusterRouteResponse {
|
|
|
7767
8744
|
RequestId?: string
|
|
7768
8745
|
}
|
|
7769
8746
|
|
|
8747
|
+
/**
|
|
8748
|
+
* DeleteEdgeCVMInstances返回参数结构体
|
|
8749
|
+
*/
|
|
8750
|
+
export interface DeleteEdgeCVMInstancesResponse {
|
|
8751
|
+
/**
|
|
8752
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8753
|
+
*/
|
|
8754
|
+
RequestId?: string
|
|
8755
|
+
}
|
|
8756
|
+
|
|
7770
8757
|
/**
|
|
7771
8758
|
* ModifyClusterNodePool返回参数结构体
|
|
7772
8759
|
*/
|
|
@@ -7883,6 +8870,26 @@ export interface LoginSettings {
|
|
|
7883
8870
|
KeepImageLogin?: string
|
|
7884
8871
|
}
|
|
7885
8872
|
|
|
8873
|
+
/**
|
|
8874
|
+
* DescribePrometheusTemp返回参数结构体
|
|
8875
|
+
*/
|
|
8876
|
+
export interface DescribePrometheusTempResponse {
|
|
8877
|
+
/**
|
|
8878
|
+
* 模板列表
|
|
8879
|
+
*/
|
|
8880
|
+
Templates: Array<PrometheusTemp>
|
|
8881
|
+
|
|
8882
|
+
/**
|
|
8883
|
+
* 总数
|
|
8884
|
+
*/
|
|
8885
|
+
Total: number
|
|
8886
|
+
|
|
8887
|
+
/**
|
|
8888
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8889
|
+
*/
|
|
8890
|
+
RequestId?: string
|
|
8891
|
+
}
|
|
8892
|
+
|
|
7886
8893
|
/**
|
|
7887
8894
|
* SyncPrometheusTemplate请求参数结构体
|
|
7888
8895
|
*/
|
|
@@ -8008,26 +9015,6 @@ ID 按templateId过滤
|
|
|
8008
9015
|
Limit?: number
|
|
8009
9016
|
}
|
|
8010
9017
|
|
|
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
9018
|
/**
|
|
8032
9019
|
* DeleteClusterRouteTable请求参数结构体
|
|
8033
9020
|
*/
|
|
@@ -8119,6 +9106,26 @@ export interface DeletePrometheusTemplateResponse {
|
|
|
8119
9106
|
RequestId?: string
|
|
8120
9107
|
}
|
|
8121
9108
|
|
|
9109
|
+
/**
|
|
9110
|
+
* DescribeECMInstances返回参数结构体
|
|
9111
|
+
*/
|
|
9112
|
+
export interface DescribeECMInstancesResponse {
|
|
9113
|
+
/**
|
|
9114
|
+
* 返回的实例相关信息列表的长度
|
|
9115
|
+
*/
|
|
9116
|
+
TotalCount?: number
|
|
9117
|
+
|
|
9118
|
+
/**
|
|
9119
|
+
* 返回的实例相关信息列表
|
|
9120
|
+
*/
|
|
9121
|
+
InstanceInfoSet?: Array<string>
|
|
9122
|
+
|
|
9123
|
+
/**
|
|
9124
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9125
|
+
*/
|
|
9126
|
+
RequestId?: string
|
|
9127
|
+
}
|
|
9128
|
+
|
|
8122
9129
|
/**
|
|
8123
9130
|
* DescribePrometheusInstance请求参数结构体
|
|
8124
9131
|
*/
|
|
@@ -8130,23 +9137,41 @@ export interface DescribePrometheusInstanceRequest {
|
|
|
8130
9137
|
}
|
|
8131
9138
|
|
|
8132
9139
|
/**
|
|
8133
|
-
*
|
|
9140
|
+
* DeletePrometheusAlertRule请求参数结构体
|
|
8134
9141
|
*/
|
|
8135
|
-
export interface
|
|
9142
|
+
export interface DeletePrometheusAlertRuleRequest {
|
|
8136
9143
|
/**
|
|
8137
|
-
*
|
|
9144
|
+
* 实例id
|
|
8138
9145
|
*/
|
|
8139
|
-
|
|
9146
|
+
InstanceId: string
|
|
8140
9147
|
|
|
8141
9148
|
/**
|
|
8142
|
-
*
|
|
9149
|
+
* 告警规则id列表
|
|
8143
9150
|
*/
|
|
8144
|
-
|
|
9151
|
+
AlertIds: Array<string>
|
|
9152
|
+
}
|
|
8145
9153
|
|
|
9154
|
+
/**
|
|
9155
|
+
* 边缘容器集群master自定义参数
|
|
9156
|
+
*/
|
|
9157
|
+
export interface EdgeClusterExtraArgs {
|
|
8146
9158
|
/**
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
9159
|
+
* kube-apiserver自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
|
|
9160
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9161
|
+
*/
|
|
9162
|
+
KubeAPIServer?: Array<string>
|
|
9163
|
+
|
|
9164
|
+
/**
|
|
9165
|
+
* kube-controller-manager自定义参数
|
|
9166
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9167
|
+
*/
|
|
9168
|
+
KubeControllerManager?: Array<string>
|
|
9169
|
+
|
|
9170
|
+
/**
|
|
9171
|
+
* kube-scheduler自定义参数
|
|
9172
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9173
|
+
*/
|
|
9174
|
+
KubeScheduler?: Array<string>
|
|
8150
9175
|
}
|
|
8151
9176
|
|
|
8152
9177
|
/**
|
|
@@ -8241,29 +9266,18 @@ export interface AppChart {
|
|
|
8241
9266
|
}
|
|
8242
9267
|
|
|
8243
9268
|
/**
|
|
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
|
-
```
|
|
9269
|
+
* DeleteEdgeCVMInstances请求参数结构体
|
|
8256
9270
|
*/
|
|
8257
|
-
export interface
|
|
9271
|
+
export interface DeleteEdgeCVMInstancesRequest {
|
|
8258
9272
|
/**
|
|
8259
|
-
*
|
|
9273
|
+
* 集群ID
|
|
8260
9274
|
*/
|
|
8261
|
-
|
|
9275
|
+
ClusterID: string
|
|
8262
9276
|
|
|
8263
9277
|
/**
|
|
8264
|
-
*
|
|
9278
|
+
* cvm id集合
|
|
8265
9279
|
*/
|
|
8266
|
-
|
|
9280
|
+
CvmIdSet: Array<string>
|
|
8267
9281
|
}
|
|
8268
9282
|
|
|
8269
9283
|
/**
|
|
@@ -8656,9 +9670,9 @@ export interface DescribeVpcCniPodLimitsRequest {
|
|
|
8656
9670
|
}
|
|
8657
9671
|
|
|
8658
9672
|
/**
|
|
8659
|
-
*
|
|
9673
|
+
* DeleteImageCaches返回参数结构体
|
|
8660
9674
|
*/
|
|
8661
|
-
export interface
|
|
9675
|
+
export interface DeleteImageCachesResponse {
|
|
8662
9676
|
/**
|
|
8663
9677
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8664
9678
|
*/
|
|
@@ -8874,10 +9888,20 @@ export interface DescribeClusterCommonNamesResponse {
|
|
|
8874
9888
|
RequestId?: string
|
|
8875
9889
|
}
|
|
8876
9890
|
|
|
9891
|
+
/**
|
|
9892
|
+
* DeleteECMInstances返回参数结构体
|
|
9893
|
+
*/
|
|
9894
|
+
export interface DeleteECMInstancesResponse {
|
|
9895
|
+
/**
|
|
9896
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9897
|
+
*/
|
|
9898
|
+
RequestId?: string
|
|
9899
|
+
}
|
|
9900
|
+
|
|
8877
9901
|
/**
|
|
8878
9902
|
* 模板实例
|
|
8879
9903
|
*/
|
|
8880
|
-
export interface
|
|
9904
|
+
export interface PrometheusTemplate {
|
|
8881
9905
|
/**
|
|
8882
9906
|
* 模板名称
|
|
8883
9907
|
*/
|
|
@@ -8896,6 +9920,13 @@ cluster 集群级别
|
|
|
8896
9920
|
*/
|
|
8897
9921
|
Describe?: string
|
|
8898
9922
|
|
|
9923
|
+
/**
|
|
9924
|
+
* 当Level为instance时有效,
|
|
9925
|
+
模板中的告警配置列表
|
|
9926
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9927
|
+
*/
|
|
9928
|
+
AlertRules?: Array<PrometheusAlertRule>
|
|
9929
|
+
|
|
8899
9930
|
/**
|
|
8900
9931
|
* 当Level为instance时有效,
|
|
8901
9932
|
模板中的聚合规则列表
|
|
@@ -8953,13 +9984,7 @@ cluster 集群级别
|
|
|
8953
9984
|
模板中的告警配置列表
|
|
8954
9985
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8955
9986
|
*/
|
|
8956
|
-
AlertDetailRules?: Array<
|
|
8957
|
-
|
|
8958
|
-
/**
|
|
8959
|
-
* 关联实例数目
|
|
8960
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8961
|
-
*/
|
|
8962
|
-
TargetsTotal?: number
|
|
9987
|
+
AlertDetailRules?: Array<PrometheusAlertRuleDetail>
|
|
8963
9988
|
}
|
|
8964
9989
|
|
|
8965
9990
|
/**
|