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
|
@@ -31,6 +31,20 @@ export interface EksCiVolume {
|
|
|
31
31
|
*/
|
|
32
32
|
NfsVolumes?: Array<NfsVolume>;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* DescribeEdgeCVMInstances请求参数结构体
|
|
36
|
+
*/
|
|
37
|
+
export interface DescribeEdgeCVMInstancesRequest {
|
|
38
|
+
/**
|
|
39
|
+
* 集群id
|
|
40
|
+
*/
|
|
41
|
+
ClusterID: string;
|
|
42
|
+
/**
|
|
43
|
+
* 过滤条件
|
|
44
|
+
仅支持cvm-id过滤
|
|
45
|
+
*/
|
|
46
|
+
Filters?: Array<Filter>;
|
|
47
|
+
}
|
|
34
48
|
/**
|
|
35
49
|
* InstallLogAgent请求参数结构体
|
|
36
50
|
*/
|
|
@@ -193,6 +207,23 @@ export interface ServiceAccountAuthenticationOptions {
|
|
|
193
207
|
*/
|
|
194
208
|
AutoCreateDiscoveryAnonymousAuth?: boolean;
|
|
195
209
|
}
|
|
210
|
+
/**
|
|
211
|
+
* DescribeEdgeClusterInstances返回参数结构体
|
|
212
|
+
*/
|
|
213
|
+
export interface DescribeEdgeClusterInstancesResponse {
|
|
214
|
+
/**
|
|
215
|
+
* 该集群总数
|
|
216
|
+
*/
|
|
217
|
+
TotalCount?: number;
|
|
218
|
+
/**
|
|
219
|
+
* 节点信息集合
|
|
220
|
+
*/
|
|
221
|
+
InstanceInfoSet?: string;
|
|
222
|
+
/**
|
|
223
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
224
|
+
*/
|
|
225
|
+
RequestId?: string;
|
|
226
|
+
}
|
|
196
227
|
/**
|
|
197
228
|
* 不同角色的节点配置参数
|
|
198
229
|
*/
|
|
@@ -678,39 +709,13 @@ export interface ExtensionAddon {
|
|
|
678
709
|
AddonParam: string;
|
|
679
710
|
}
|
|
680
711
|
/**
|
|
681
|
-
*
|
|
712
|
+
* DescribeResourceUsage请求参数结构体
|
|
682
713
|
*/
|
|
683
|
-
export interface
|
|
684
|
-
/**
|
|
685
|
-
* 地域名称
|
|
686
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
687
|
-
*/
|
|
688
|
-
RegionName: string;
|
|
689
|
-
/**
|
|
690
|
-
* 地域ID
|
|
691
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
692
|
-
*/
|
|
693
|
-
RegionId: number;
|
|
694
|
-
/**
|
|
695
|
-
* 地域状态
|
|
696
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
697
|
-
*/
|
|
698
|
-
Status: string;
|
|
699
|
-
/**
|
|
700
|
-
* 地域特性开关(按照JSON的形式返回所有属性)
|
|
701
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
702
|
-
*/
|
|
703
|
-
FeatureGates: string;
|
|
704
|
-
/**
|
|
705
|
-
* 地域简称
|
|
706
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
707
|
-
*/
|
|
708
|
-
Alias: string;
|
|
714
|
+
export interface DescribeResourceUsageRequest {
|
|
709
715
|
/**
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
Remark: string;
|
|
716
|
+
* 集群ID
|
|
717
|
+
*/
|
|
718
|
+
ClusterId: string;
|
|
714
719
|
}
|
|
715
720
|
/**
|
|
716
721
|
* prometheus聚合规则实例详情,包含所属集群ID
|
|
@@ -812,6 +817,23 @@ export interface CreatePrometheusDashboardResponse {
|
|
|
812
817
|
*/
|
|
813
818
|
RequestId?: string;
|
|
814
819
|
}
|
|
820
|
+
/**
|
|
821
|
+
* DescribeTKEEdgeClusterStatus返回参数结构体
|
|
822
|
+
*/
|
|
823
|
+
export interface DescribeTKEEdgeClusterStatusResponse {
|
|
824
|
+
/**
|
|
825
|
+
* 集群当前状态
|
|
826
|
+
*/
|
|
827
|
+
Phase?: string;
|
|
828
|
+
/**
|
|
829
|
+
* 集群过程数组
|
|
830
|
+
*/
|
|
831
|
+
Conditions?: Array<ClusterCondition>;
|
|
832
|
+
/**
|
|
833
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
834
|
+
*/
|
|
835
|
+
RequestId?: string;
|
|
836
|
+
}
|
|
815
837
|
/**
|
|
816
838
|
* DescribeClusterStatus请求参数结构体
|
|
817
839
|
*/
|
|
@@ -931,6 +953,19 @@ export interface ModifyPrometheusTemplateRequest {
|
|
|
931
953
|
*/
|
|
932
954
|
Template: PrometheusTemplateModify;
|
|
933
955
|
}
|
|
956
|
+
/**
|
|
957
|
+
* DeleteEdgeClusterInstances请求参数结构体
|
|
958
|
+
*/
|
|
959
|
+
export interface DeleteEdgeClusterInstancesRequest {
|
|
960
|
+
/**
|
|
961
|
+
* 集群ID
|
|
962
|
+
*/
|
|
963
|
+
ClusterId: string;
|
|
964
|
+
/**
|
|
965
|
+
* 待删除实例ID数组
|
|
966
|
+
*/
|
|
967
|
+
InstanceIds: Array<string>;
|
|
968
|
+
}
|
|
934
969
|
/**
|
|
935
970
|
* DescribeImageCaches请求参数结构体
|
|
936
971
|
*/
|
|
@@ -981,6 +1016,90 @@ export interface DescribePrometheusAlertRuleRequest {
|
|
|
981
1016
|
*/
|
|
982
1017
|
Filters?: Array<Filter>;
|
|
983
1018
|
}
|
|
1019
|
+
/**
|
|
1020
|
+
* DescribeEdgeAvailableExtraArgs请求参数结构体
|
|
1021
|
+
*/
|
|
1022
|
+
export interface DescribeEdgeAvailableExtraArgsRequest {
|
|
1023
|
+
/**
|
|
1024
|
+
* 集群版本
|
|
1025
|
+
*/
|
|
1026
|
+
ClusterVersion?: string;
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* 已经存在的实例信息
|
|
1030
|
+
*/
|
|
1031
|
+
export interface ExistedInstance {
|
|
1032
|
+
/**
|
|
1033
|
+
* 实例是否支持加入集群(TRUE 可以加入 FALSE 不能加入)。
|
|
1034
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1035
|
+
*/
|
|
1036
|
+
Usable: boolean;
|
|
1037
|
+
/**
|
|
1038
|
+
* 实例不支持加入的原因。
|
|
1039
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1040
|
+
*/
|
|
1041
|
+
UnusableReason: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* 实例已经所在的集群ID。
|
|
1044
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1045
|
+
*/
|
|
1046
|
+
AlreadyInCluster: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* 实例ID形如:ins-xxxxxxxx。
|
|
1049
|
+
*/
|
|
1050
|
+
InstanceId: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* 实例名称。
|
|
1053
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1054
|
+
*/
|
|
1055
|
+
InstanceName: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* 实例主网卡的内网IP列表。
|
|
1058
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1059
|
+
*/
|
|
1060
|
+
PrivateIpAddresses: Array<string>;
|
|
1061
|
+
/**
|
|
1062
|
+
* 实例主网卡的公网IP列表。
|
|
1063
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1064
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1065
|
+
*/
|
|
1066
|
+
PublicIpAddresses: Array<string>;
|
|
1067
|
+
/**
|
|
1068
|
+
* 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。
|
|
1069
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1070
|
+
*/
|
|
1071
|
+
CreatedTime: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* 实例的CPU核数,单位:核。
|
|
1074
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1075
|
+
*/
|
|
1076
|
+
CPU: number;
|
|
1077
|
+
/**
|
|
1078
|
+
* 实例内存容量,单位:GB。
|
|
1079
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1080
|
+
*/
|
|
1081
|
+
Memory: number;
|
|
1082
|
+
/**
|
|
1083
|
+
* 操作系统名称。
|
|
1084
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1085
|
+
*/
|
|
1086
|
+
OsName: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* 实例机型。
|
|
1089
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1090
|
+
*/
|
|
1091
|
+
InstanceType: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* 伸缩组ID
|
|
1094
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1095
|
+
*/
|
|
1096
|
+
AutoscalingGroupId: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。
|
|
1099
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1100
|
+
*/
|
|
1101
|
+
InstanceChargeType: string;
|
|
1102
|
+
}
|
|
984
1103
|
/**
|
|
985
1104
|
* AddNodeToNodePool返回参数结构体
|
|
986
1105
|
*/
|
|
@@ -1121,6 +1240,25 @@ export interface GetMostSuitableImageCacheResponse {
|
|
|
1121
1240
|
*/
|
|
1122
1241
|
RequestId?: string;
|
|
1123
1242
|
}
|
|
1243
|
+
/**
|
|
1244
|
+
* DescribeEdgeAvailableExtraArgs返回参数结构体
|
|
1245
|
+
*/
|
|
1246
|
+
export interface DescribeEdgeAvailableExtraArgsResponse {
|
|
1247
|
+
/**
|
|
1248
|
+
* 集群版本
|
|
1249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1250
|
+
*/
|
|
1251
|
+
ClusterVersion?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* 可用的自定义参数
|
|
1254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1255
|
+
*/
|
|
1256
|
+
AvailableExtraArgs?: EdgeAvailableExtraArgs;
|
|
1257
|
+
/**
|
|
1258
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1259
|
+
*/
|
|
1260
|
+
RequestId?: string;
|
|
1261
|
+
}
|
|
1124
1262
|
/**
|
|
1125
1263
|
* DescribeEnableVpcCniProgress请求参数结构体
|
|
1126
1264
|
*/
|
|
@@ -1428,6 +1566,15 @@ export interface DescribePrometheusRecordRulesRequest {
|
|
|
1428
1566
|
*/
|
|
1429
1567
|
Filters?: Array<Filter>;
|
|
1430
1568
|
}
|
|
1569
|
+
/**
|
|
1570
|
+
* DescribeTKEEdgeClusterStatus请求参数结构体
|
|
1571
|
+
*/
|
|
1572
|
+
export interface DescribeTKEEdgeClusterStatusRequest {
|
|
1573
|
+
/**
|
|
1574
|
+
* 边缘计算容器集群Id
|
|
1575
|
+
*/
|
|
1576
|
+
ClusterId: string;
|
|
1577
|
+
}
|
|
1431
1578
|
/**
|
|
1432
1579
|
* AcquireClusterAdminRole返回参数结构体
|
|
1433
1580
|
*/
|
|
@@ -1460,6 +1607,15 @@ export interface DescribePrometheusTemplateSyncRequest {
|
|
|
1460
1607
|
*/
|
|
1461
1608
|
TemplateId: string;
|
|
1462
1609
|
}
|
|
1610
|
+
/**
|
|
1611
|
+
* DeleteTKEEdgeCluster返回参数结构体
|
|
1612
|
+
*/
|
|
1613
|
+
export interface DeleteTKEEdgeClusterResponse {
|
|
1614
|
+
/**
|
|
1615
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1616
|
+
*/
|
|
1617
|
+
RequestId?: string;
|
|
1618
|
+
}
|
|
1463
1619
|
/**
|
|
1464
1620
|
* 可升级节点信息
|
|
1465
1621
|
*/
|
|
@@ -1576,6 +1732,10 @@ export interface AddExistedInstancesRequest {
|
|
|
1576
1732
|
参数InstanceAdvancedSettingsOverride数组的长度应与InstanceIds数组一致;当长度大于InstanceIds数组长度时将报错;当长度小于InstanceIds数组时,没有对应配置的instace将使用默认配置。
|
|
1577
1733
|
*/
|
|
1578
1734
|
InstanceAdvancedSettingsOverrides?: Array<InstanceAdvancedSettings>;
|
|
1735
|
+
/**
|
|
1736
|
+
* 节点镜像(节点选项时,该参数是必传参数)
|
|
1737
|
+
*/
|
|
1738
|
+
ImageId?: string;
|
|
1579
1739
|
}
|
|
1580
1740
|
/**
|
|
1581
1741
|
* 集群弹性伸缩配置
|
|
@@ -1846,21 +2006,61 @@ export interface DescribeClusterAsGroupOptionResponse {
|
|
|
1846
2006
|
RequestId?: string;
|
|
1847
2007
|
}
|
|
1848
2008
|
/**
|
|
1849
|
-
*
|
|
2009
|
+
* CreateTKEEdgeCluster返回参数结构体
|
|
1850
2010
|
*/
|
|
1851
|
-
export interface
|
|
2011
|
+
export interface CreateTKEEdgeClusterResponse {
|
|
1852
2012
|
/**
|
|
1853
|
-
*
|
|
2013
|
+
* 边缘计算集群Id
|
|
1854
2014
|
*/
|
|
1855
|
-
|
|
2015
|
+
ClusterId: string;
|
|
1856
2016
|
/**
|
|
1857
|
-
*
|
|
2017
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1858
2018
|
*/
|
|
1859
|
-
|
|
2019
|
+
RequestId?: string;
|
|
2020
|
+
}
|
|
2021
|
+
/**
|
|
2022
|
+
* DescribeEdgeClusterExtraArgs返回参数结构体
|
|
2023
|
+
*/
|
|
2024
|
+
export interface DescribeEdgeClusterExtraArgsResponse {
|
|
1860
2025
|
/**
|
|
1861
|
-
|
|
2026
|
+
* 集群自定义参数
|
|
2027
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2028
|
+
*/
|
|
2029
|
+
ClusterExtraArgs: EdgeClusterExtraArgs;
|
|
2030
|
+
/**
|
|
2031
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1862
2032
|
*/
|
|
1863
|
-
|
|
2033
|
+
RequestId?: string;
|
|
2034
|
+
}
|
|
2035
|
+
/**
|
|
2036
|
+
* 资源删除选项
|
|
2037
|
+
*/
|
|
2038
|
+
export interface ResourceDeleteOption {
|
|
2039
|
+
/**
|
|
2040
|
+
* 资源类型,例如CBS
|
|
2041
|
+
*/
|
|
2042
|
+
ResourceType: string;
|
|
2043
|
+
/**
|
|
2044
|
+
* 集群删除时资源的删除模式:terminate(销毁),retain (保留)
|
|
2045
|
+
*/
|
|
2046
|
+
DeleteMode: string;
|
|
2047
|
+
}
|
|
2048
|
+
/**
|
|
2049
|
+
* CheckEdgeClusterCIDR请求参数结构体
|
|
2050
|
+
*/
|
|
2051
|
+
export interface CheckEdgeClusterCIDRRequest {
|
|
2052
|
+
/**
|
|
2053
|
+
* 集群的vpc-id
|
|
2054
|
+
*/
|
|
2055
|
+
VpcId: string;
|
|
2056
|
+
/**
|
|
2057
|
+
* 集群的pod CIDR
|
|
2058
|
+
*/
|
|
2059
|
+
PodCIDR: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* 集群的service CIDR
|
|
2062
|
+
*/
|
|
2063
|
+
ServiceCIDR: string;
|
|
1864
2064
|
}
|
|
1865
2065
|
/**
|
|
1866
2066
|
* CreateImageCache请求参数结构体
|
|
@@ -1984,36 +2184,69 @@ export interface NodeCountSummary {
|
|
|
1984
2184
|
AutoscalingAdded: AutoscalingAdded;
|
|
1985
2185
|
}
|
|
1986
2186
|
/**
|
|
1987
|
-
*
|
|
2187
|
+
* 边缘计算集群信息
|
|
1988
2188
|
*/
|
|
1989
|
-
export interface
|
|
2189
|
+
export interface EdgeCluster {
|
|
1990
2190
|
/**
|
|
1991
|
-
* 集群
|
|
2191
|
+
* 集群Id
|
|
1992
2192
|
*/
|
|
1993
2193
|
ClusterId: string;
|
|
1994
2194
|
/**
|
|
1995
|
-
*
|
|
2195
|
+
* 集群名称
|
|
1996
2196
|
*/
|
|
1997
|
-
|
|
2197
|
+
ClusterName: string;
|
|
1998
2198
|
/**
|
|
1999
|
-
*
|
|
2199
|
+
* Vpc Id
|
|
2000
2200
|
*/
|
|
2001
|
-
|
|
2002
|
-
}
|
|
2003
|
-
/**
|
|
2004
|
-
* DescribeClusterNodePoolDetail返回参数结构体
|
|
2005
|
-
*/
|
|
2006
|
-
export interface DescribeClusterNodePoolDetailResponse {
|
|
2201
|
+
VpcId: string;
|
|
2007
2202
|
/**
|
|
2008
|
-
*
|
|
2203
|
+
* 集群pod cidr
|
|
2009
2204
|
*/
|
|
2010
|
-
|
|
2205
|
+
PodCIDR: string;
|
|
2011
2206
|
/**
|
|
2012
|
-
*
|
|
2207
|
+
* 集群 service cidr
|
|
2013
2208
|
*/
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2209
|
+
ServiceCIDR: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* k8s 版本号
|
|
2212
|
+
*/
|
|
2213
|
+
K8SVersion: string;
|
|
2214
|
+
/**
|
|
2215
|
+
* 集群状态
|
|
2216
|
+
*/
|
|
2217
|
+
Status?: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* 集群描述信息
|
|
2220
|
+
*/
|
|
2221
|
+
ClusterDesc?: string;
|
|
2222
|
+
/**
|
|
2223
|
+
* 集群创建时间
|
|
2224
|
+
*/
|
|
2225
|
+
CreatedTime?: string;
|
|
2226
|
+
/**
|
|
2227
|
+
* 边缘集群版本
|
|
2228
|
+
*/
|
|
2229
|
+
EdgeClusterVersion?: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* 节点最大Pod数
|
|
2232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2233
|
+
*/
|
|
2234
|
+
MaxNodePodNum?: number;
|
|
2235
|
+
}
|
|
2236
|
+
/**
|
|
2237
|
+
* DescribeClusterNodePoolDetail返回参数结构体
|
|
2238
|
+
*/
|
|
2239
|
+
export interface DescribeClusterNodePoolDetailResponse {
|
|
2240
|
+
/**
|
|
2241
|
+
* 节点池详情
|
|
2242
|
+
*/
|
|
2243
|
+
NodePool?: NodePool;
|
|
2244
|
+
/**
|
|
2245
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2246
|
+
*/
|
|
2247
|
+
RequestId?: string;
|
|
2248
|
+
}
|
|
2249
|
+
/**
|
|
2017
2250
|
* DescribeEKSContainerInstanceEvent请求参数结构体
|
|
2018
2251
|
*/
|
|
2019
2252
|
export interface DescribeEKSContainerInstanceEventRequest {
|
|
@@ -2100,21 +2333,93 @@ export interface NfsVolume {
|
|
|
2100
2333
|
ReadOnly?: boolean;
|
|
2101
2334
|
}
|
|
2102
2335
|
/**
|
|
2103
|
-
*
|
|
2336
|
+
* amp告警渠道配置
|
|
2104
2337
|
*/
|
|
2105
|
-
export interface
|
|
2338
|
+
export interface PrometheusNotification {
|
|
2106
2339
|
/**
|
|
2107
|
-
*
|
|
2340
|
+
* 是否启用
|
|
2108
2341
|
*/
|
|
2109
|
-
|
|
2342
|
+
Enabled: boolean;
|
|
2110
2343
|
/**
|
|
2111
|
-
*
|
|
2344
|
+
* 收敛时间
|
|
2112
2345
|
*/
|
|
2113
|
-
|
|
2346
|
+
RepeatInterval: string;
|
|
2114
2347
|
/**
|
|
2115
|
-
*
|
|
2348
|
+
* 生效起始时间
|
|
2116
2349
|
*/
|
|
2117
|
-
|
|
2350
|
+
TimeRangeStart: string;
|
|
2351
|
+
/**
|
|
2352
|
+
* 生效结束时间
|
|
2353
|
+
*/
|
|
2354
|
+
TimeRangeEnd: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
|
|
2357
|
+
分别代表:短信、邮件、电话、微信
|
|
2358
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2359
|
+
*/
|
|
2360
|
+
NotifyWay?: Array<string>;
|
|
2361
|
+
/**
|
|
2362
|
+
* 告警接收组(用户组)
|
|
2363
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2364
|
+
*/
|
|
2365
|
+
ReceiverGroups?: Array<number>;
|
|
2366
|
+
/**
|
|
2367
|
+
* 电话告警顺序。
|
|
2368
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2370
|
+
*/
|
|
2371
|
+
PhoneNotifyOrder?: Array<number>;
|
|
2372
|
+
/**
|
|
2373
|
+
* 电话告警次数。
|
|
2374
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2375
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2376
|
+
*/
|
|
2377
|
+
PhoneCircleTimes?: number;
|
|
2378
|
+
/**
|
|
2379
|
+
* 电话告警轮内间隔。单位:秒
|
|
2380
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2381
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2382
|
+
*/
|
|
2383
|
+
PhoneInnerInterval?: number;
|
|
2384
|
+
/**
|
|
2385
|
+
* 电话告警轮外间隔。单位:秒
|
|
2386
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2387
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2388
|
+
*/
|
|
2389
|
+
PhoneCircleInterval?: number;
|
|
2390
|
+
/**
|
|
2391
|
+
* 电话告警触达通知
|
|
2392
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
2393
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2394
|
+
*/
|
|
2395
|
+
PhoneArriveNotice?: boolean;
|
|
2396
|
+
/**
|
|
2397
|
+
* 通道类型,默认为amp,支持以下
|
|
2398
|
+
amp
|
|
2399
|
+
webhook
|
|
2400
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2401
|
+
*/
|
|
2402
|
+
Type?: string;
|
|
2403
|
+
/**
|
|
2404
|
+
* 如果Type为webhook, 则该字段为必填项
|
|
2405
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2406
|
+
*/
|
|
2407
|
+
WebHook?: string;
|
|
2408
|
+
}
|
|
2409
|
+
/**
|
|
2410
|
+
* 边缘计算集群公网访问负载均衡信息
|
|
2411
|
+
*/
|
|
2412
|
+
export interface EdgeClusterPublicLB {
|
|
2413
|
+
/**
|
|
2414
|
+
* 是否开启公网访问LB
|
|
2415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2416
|
+
*/
|
|
2417
|
+
Enabled: boolean;
|
|
2418
|
+
/**
|
|
2419
|
+
* 允许访问的公网cidr
|
|
2420
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2421
|
+
*/
|
|
2422
|
+
AllowFromCidrs?: Array<string>;
|
|
2118
2423
|
}
|
|
2119
2424
|
/**
|
|
2120
2425
|
* 节点池描述
|
|
@@ -2276,6 +2581,27 @@ export interface DeleteClusterRequest {
|
|
|
2276
2581
|
*/
|
|
2277
2582
|
ResourceDeleteOptions?: Array<ResourceDeleteOption>;
|
|
2278
2583
|
}
|
|
2584
|
+
/**
|
|
2585
|
+
* DescribeTKEEdgeClusters返回参数结构体
|
|
2586
|
+
*/
|
|
2587
|
+
export interface DescribeTKEEdgeClustersResponse {
|
|
2588
|
+
/**
|
|
2589
|
+
* 集群总个数
|
|
2590
|
+
*/
|
|
2591
|
+
TotalCount?: number;
|
|
2592
|
+
/**
|
|
2593
|
+
* 集群信息列表
|
|
2594
|
+
*/
|
|
2595
|
+
Clusters?: Array<EdgeCluster>;
|
|
2596
|
+
/**
|
|
2597
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2598
|
+
*/
|
|
2599
|
+
RequestId?: string;
|
|
2600
|
+
}
|
|
2601
|
+
/**
|
|
2602
|
+
* DescribeAvailableTKEEdgeVersion请求参数结构体
|
|
2603
|
+
*/
|
|
2604
|
+
export declare type DescribeAvailableTKEEdgeVersionRequest = null;
|
|
2279
2605
|
/**
|
|
2280
2606
|
* DeleteClusterAsGroups请求参数结构体
|
|
2281
2607
|
*/
|
|
@@ -2502,46 +2828,51 @@ export interface EksCiRegionInfo {
|
|
|
2502
2828
|
RegionId: number;
|
|
2503
2829
|
}
|
|
2504
2830
|
/**
|
|
2505
|
-
*
|
|
2831
|
+
* DescribeEdgeClusterInstances请求参数结构体
|
|
2506
2832
|
*/
|
|
2507
|
-
export interface
|
|
2833
|
+
export interface DescribeEdgeClusterInstancesRequest {
|
|
2508
2834
|
/**
|
|
2509
|
-
* 集群
|
|
2835
|
+
* 集群id
|
|
2510
2836
|
*/
|
|
2511
|
-
|
|
2512
|
-
}
|
|
2513
|
-
/**
|
|
2514
|
-
* 服务事件
|
|
2515
|
-
*/
|
|
2516
|
-
export interface Event {
|
|
2837
|
+
ClusterID: string;
|
|
2517
2838
|
/**
|
|
2518
|
-
*
|
|
2839
|
+
* 查询总数
|
|
2519
2840
|
*/
|
|
2520
|
-
|
|
2841
|
+
Limit: number;
|
|
2521
2842
|
/**
|
|
2522
|
-
*
|
|
2843
|
+
* 偏移量
|
|
2523
2844
|
*/
|
|
2524
|
-
|
|
2845
|
+
Offset: number;
|
|
2525
2846
|
/**
|
|
2526
|
-
*
|
|
2847
|
+
* 过滤条件,仅支持NodeName过滤
|
|
2527
2848
|
*/
|
|
2528
|
-
|
|
2849
|
+
Filters?: Array<Filter>;
|
|
2850
|
+
}
|
|
2851
|
+
/**
|
|
2852
|
+
* DisableClusterAudit请求参数结构体
|
|
2853
|
+
*/
|
|
2854
|
+
export interface DisableClusterAuditRequest {
|
|
2529
2855
|
/**
|
|
2530
|
-
*
|
|
2856
|
+
* 集群ID
|
|
2531
2857
|
*/
|
|
2532
|
-
|
|
2858
|
+
ClusterId: string;
|
|
2859
|
+
}
|
|
2860
|
+
/**
|
|
2861
|
+
* DescribePrometheusRecordRules返回参数结构体
|
|
2862
|
+
*/
|
|
2863
|
+
export interface DescribePrometheusRecordRulesResponse {
|
|
2533
2864
|
/**
|
|
2534
|
-
*
|
|
2865
|
+
* 聚合规则
|
|
2535
2866
|
*/
|
|
2536
|
-
|
|
2867
|
+
Records: Array<PrometheusRecordRuleYamlItem>;
|
|
2537
2868
|
/**
|
|
2538
|
-
*
|
|
2869
|
+
* 总数
|
|
2539
2870
|
*/
|
|
2540
|
-
|
|
2871
|
+
Total: number;
|
|
2541
2872
|
/**
|
|
2542
|
-
*
|
|
2873
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2543
2874
|
*/
|
|
2544
|
-
|
|
2875
|
+
RequestId?: string;
|
|
2545
2876
|
}
|
|
2546
2877
|
/**
|
|
2547
2878
|
* DescribePrometheusGlobalNotification返回参数结构体
|
|
@@ -2594,6 +2925,28 @@ export interface ResourceUsage {
|
|
|
2594
2925
|
*/
|
|
2595
2926
|
Details: Array<ResourceUsageDetail>;
|
|
2596
2927
|
}
|
|
2928
|
+
/**
|
|
2929
|
+
* DescribeTKEEdgeClusters请求参数结构体
|
|
2930
|
+
*/
|
|
2931
|
+
export interface DescribeTKEEdgeClustersRequest {
|
|
2932
|
+
/**
|
|
2933
|
+
* 集群ID列表(为空时,
|
|
2934
|
+
表示获取账号下所有集群)
|
|
2935
|
+
*/
|
|
2936
|
+
ClusterIds?: Array<string>;
|
|
2937
|
+
/**
|
|
2938
|
+
* 偏移量,默认0
|
|
2939
|
+
*/
|
|
2940
|
+
Offset?: number;
|
|
2941
|
+
/**
|
|
2942
|
+
* 最大输出条数,默认20
|
|
2943
|
+
*/
|
|
2944
|
+
Limit?: number;
|
|
2945
|
+
/**
|
|
2946
|
+
* 过滤条件,当前只支持按照单个条件ClusterName进行过滤
|
|
2947
|
+
*/
|
|
2948
|
+
Filters?: Array<Filter>;
|
|
2949
|
+
}
|
|
2597
2950
|
/**
|
|
2598
2951
|
* DescribePrometheusAlertHistory请求参数结构体
|
|
2599
2952
|
*/
|
|
@@ -2834,6 +3187,15 @@ export interface AddClusterCIDRRequest {
|
|
|
2834
3187
|
*/
|
|
2835
3188
|
IgnoreClusterCIDRConflict?: boolean;
|
|
2836
3189
|
}
|
|
3190
|
+
/**
|
|
3191
|
+
* DescribeEdgeClusterExtraArgs请求参数结构体
|
|
3192
|
+
*/
|
|
3193
|
+
export interface DescribeEdgeClusterExtraArgsRequest {
|
|
3194
|
+
/**
|
|
3195
|
+
* 集群ID
|
|
3196
|
+
*/
|
|
3197
|
+
ClusterId: string;
|
|
3198
|
+
}
|
|
2837
3199
|
/**
|
|
2838
3200
|
* DescribeClusters返回参数结构体
|
|
2839
3201
|
*/
|
|
@@ -3023,6 +3385,21 @@ export interface DescribeResourceUsageResponse {
|
|
|
3023
3385
|
*/
|
|
3024
3386
|
RequestId?: string;
|
|
3025
3387
|
}
|
|
3388
|
+
/**
|
|
3389
|
+
* 边缘计算集群内网访问LB信息
|
|
3390
|
+
*/
|
|
3391
|
+
export interface EdgeClusterInternalLB {
|
|
3392
|
+
/**
|
|
3393
|
+
* 是否开启内网访问LB
|
|
3394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3395
|
+
*/
|
|
3396
|
+
Enabled: boolean;
|
|
3397
|
+
/**
|
|
3398
|
+
* 内网访问LB关联的子网Id
|
|
3399
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3400
|
+
*/
|
|
3401
|
+
SubnetId?: Array<string>;
|
|
3402
|
+
}
|
|
3026
3403
|
/**
|
|
3027
3404
|
* DescribeClusterRoutes返回参数结构体
|
|
3028
3405
|
*/
|
|
@@ -3085,38 +3462,81 @@ export interface DeleteClusterAsGroupsResponse {
|
|
|
3085
3462
|
RequestId?: string;
|
|
3086
3463
|
}
|
|
3087
3464
|
/**
|
|
3088
|
-
*
|
|
3465
|
+
* 地域属性信息
|
|
3089
3466
|
*/
|
|
3090
|
-
export interface
|
|
3467
|
+
export interface RegionInstance {
|
|
3091
3468
|
/**
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
/**
|
|
3097
|
-
* DeletePrometheusTemplate请求参数结构体
|
|
3098
|
-
*/
|
|
3099
|
-
export interface DeletePrometheusTemplateRequest {
|
|
3469
|
+
* 地域名称
|
|
3470
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3471
|
+
*/
|
|
3472
|
+
RegionName: string;
|
|
3100
3473
|
/**
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
/**
|
|
3106
|
-
* DescribePrometheusTempSync返回参数结构体
|
|
3107
|
-
*/
|
|
3108
|
-
export interface DescribePrometheusTempSyncResponse {
|
|
3474
|
+
* 地域ID
|
|
3475
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3476
|
+
*/
|
|
3477
|
+
RegionId: number;
|
|
3109
3478
|
/**
|
|
3110
|
-
*
|
|
3479
|
+
* 地域状态
|
|
3111
3480
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3112
3481
|
*/
|
|
3113
|
-
|
|
3482
|
+
Status: string;
|
|
3114
3483
|
/**
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
/**
|
|
3484
|
+
* 地域特性开关(按照JSON的形式返回所有属性)
|
|
3485
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3486
|
+
*/
|
|
3487
|
+
FeatureGates: string;
|
|
3488
|
+
/**
|
|
3489
|
+
* 地域简称
|
|
3490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3491
|
+
*/
|
|
3492
|
+
Alias: string;
|
|
3493
|
+
/**
|
|
3494
|
+
* 地域白名单
|
|
3495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3496
|
+
*/
|
|
3497
|
+
Remark: string;
|
|
3498
|
+
}
|
|
3499
|
+
/**
|
|
3500
|
+
* 加入存量节点时的节点池选项
|
|
3501
|
+
*/
|
|
3502
|
+
export interface NodePoolOption {
|
|
3503
|
+
/**
|
|
3504
|
+
* 是否加入节点池
|
|
3505
|
+
*/
|
|
3506
|
+
AddToNodePool?: boolean;
|
|
3507
|
+
/**
|
|
3508
|
+
* 节点池id
|
|
3509
|
+
*/
|
|
3510
|
+
NodePoolId?: string;
|
|
3511
|
+
/**
|
|
3512
|
+
* 是否继承节点池相关配置
|
|
3513
|
+
*/
|
|
3514
|
+
InheritConfigurationFromNodePool?: boolean;
|
|
3515
|
+
}
|
|
3516
|
+
/**
|
|
3517
|
+
* DeletePrometheusTemplate请求参数结构体
|
|
3518
|
+
*/
|
|
3519
|
+
export interface DeletePrometheusTemplateRequest {
|
|
3520
|
+
/**
|
|
3521
|
+
* 模板id
|
|
3522
|
+
*/
|
|
3523
|
+
TemplateId: string;
|
|
3524
|
+
}
|
|
3525
|
+
/**
|
|
3526
|
+
* DescribePrometheusTempSync返回参数结构体
|
|
3527
|
+
*/
|
|
3528
|
+
export interface DescribePrometheusTempSyncResponse {
|
|
3529
|
+
/**
|
|
3530
|
+
* 同步目标详情
|
|
3531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3532
|
+
*/
|
|
3533
|
+
Targets: Array<PrometheusTemplateSyncTarget>;
|
|
3534
|
+
/**
|
|
3535
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3536
|
+
*/
|
|
3537
|
+
RequestId?: string;
|
|
3538
|
+
}
|
|
3539
|
+
/**
|
|
3120
3540
|
* 集群信息结构体
|
|
3121
3541
|
*/
|
|
3122
3542
|
export interface Cluster {
|
|
@@ -3483,6 +3903,68 @@ export interface Capabilities {
|
|
|
3483
3903
|
*/
|
|
3484
3904
|
Drop?: Array<string>;
|
|
3485
3905
|
}
|
|
3906
|
+
/**
|
|
3907
|
+
* UpdateTKEEdgeCluster请求参数结构体
|
|
3908
|
+
*/
|
|
3909
|
+
export interface UpdateTKEEdgeClusterRequest {
|
|
3910
|
+
/**
|
|
3911
|
+
* 边缘计算集群ID
|
|
3912
|
+
*/
|
|
3913
|
+
ClusterId: string;
|
|
3914
|
+
/**
|
|
3915
|
+
* 边缘计算集群名称
|
|
3916
|
+
*/
|
|
3917
|
+
ClusterName?: string;
|
|
3918
|
+
/**
|
|
3919
|
+
* 边缘计算集群描述信息
|
|
3920
|
+
*/
|
|
3921
|
+
ClusterDesc?: string;
|
|
3922
|
+
/**
|
|
3923
|
+
* 边缘计算集群的pod cidr
|
|
3924
|
+
*/
|
|
3925
|
+
PodCIDR?: string;
|
|
3926
|
+
/**
|
|
3927
|
+
* 边缘计算集群的service cidr
|
|
3928
|
+
*/
|
|
3929
|
+
ServiceCIDR?: string;
|
|
3930
|
+
/**
|
|
3931
|
+
* 边缘计算集群公网访问LB信息
|
|
3932
|
+
*/
|
|
3933
|
+
PublicLB?: EdgeClusterPublicLB;
|
|
3934
|
+
/**
|
|
3935
|
+
* 边缘计算集群内网访问LB信息
|
|
3936
|
+
*/
|
|
3937
|
+
InternalLB?: EdgeClusterInternalLB;
|
|
3938
|
+
/**
|
|
3939
|
+
* 边缘计算集群的CoreDns部署信息
|
|
3940
|
+
*/
|
|
3941
|
+
CoreDns?: string;
|
|
3942
|
+
/**
|
|
3943
|
+
* 边缘计算集群的健康检查多地域部署信息
|
|
3944
|
+
*/
|
|
3945
|
+
HealthRegion?: string;
|
|
3946
|
+
/**
|
|
3947
|
+
* 边缘计算集群的健康检查部署信息
|
|
3948
|
+
*/
|
|
3949
|
+
Health?: string;
|
|
3950
|
+
/**
|
|
3951
|
+
* 边缘计算集群的GridDaemon部署信息
|
|
3952
|
+
*/
|
|
3953
|
+
GridDaemon?: string;
|
|
3954
|
+
}
|
|
3955
|
+
/**
|
|
3956
|
+
* DescribeTKEEdgeExternalKubeconfig返回参数结构体
|
|
3957
|
+
*/
|
|
3958
|
+
export interface DescribeTKEEdgeExternalKubeconfigResponse {
|
|
3959
|
+
/**
|
|
3960
|
+
* kubeconfig文件内容
|
|
3961
|
+
*/
|
|
3962
|
+
Kubeconfig?: string;
|
|
3963
|
+
/**
|
|
3964
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3965
|
+
*/
|
|
3966
|
+
RequestId?: string;
|
|
3967
|
+
}
|
|
3486
3968
|
/**
|
|
3487
3969
|
* CreateClusterInstances返回参数结构体
|
|
3488
3970
|
*/
|
|
@@ -3522,6 +4004,19 @@ export interface DescribeClusterRoutesRequest {
|
|
|
3522
4004
|
*/
|
|
3523
4005
|
Filters?: Array<Filter>;
|
|
3524
4006
|
}
|
|
4007
|
+
/**
|
|
4008
|
+
* DeleteECMInstances请求参数结构体
|
|
4009
|
+
*/
|
|
4010
|
+
export interface DeleteECMInstancesRequest {
|
|
4011
|
+
/**
|
|
4012
|
+
* 集群ID
|
|
4013
|
+
*/
|
|
4014
|
+
ClusterID: string;
|
|
4015
|
+
/**
|
|
4016
|
+
* ecm id集合
|
|
4017
|
+
*/
|
|
4018
|
+
EcmIdSet: Array<string>;
|
|
4019
|
+
}
|
|
3525
4020
|
/**
|
|
3526
4021
|
* 托管集群等级属性
|
|
3527
4022
|
*/
|
|
@@ -3637,6 +4132,23 @@ export interface DisableClusterAuditResponse {
|
|
|
3637
4132
|
*/
|
|
3638
4133
|
RequestId?: string;
|
|
3639
4134
|
}
|
|
4135
|
+
/**
|
|
4136
|
+
* RemoveNodeFromNodePool请求参数结构体
|
|
4137
|
+
*/
|
|
4138
|
+
export interface RemoveNodeFromNodePoolRequest {
|
|
4139
|
+
/**
|
|
4140
|
+
* 集群id
|
|
4141
|
+
*/
|
|
4142
|
+
ClusterId: string;
|
|
4143
|
+
/**
|
|
4144
|
+
* 节点池id
|
|
4145
|
+
*/
|
|
4146
|
+
NodePoolId: string;
|
|
4147
|
+
/**
|
|
4148
|
+
* 节点id列表,一次最多支持100台
|
|
4149
|
+
*/
|
|
4150
|
+
InstanceIds: Array<string>;
|
|
4151
|
+
}
|
|
3640
4152
|
/**
|
|
3641
4153
|
* DescribeClusterLevelChangeRecords请求参数结构体
|
|
3642
4154
|
*/
|
|
@@ -3739,6 +4251,28 @@ export interface CreateClusterNodePoolResponse {
|
|
|
3739
4251
|
*/
|
|
3740
4252
|
RequestId?: string;
|
|
3741
4253
|
}
|
|
4254
|
+
/**
|
|
4255
|
+
* 过滤器
|
|
4256
|
+
*/
|
|
4257
|
+
export interface Filter {
|
|
4258
|
+
/**
|
|
4259
|
+
* 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
4260
|
+
*/
|
|
4261
|
+
Name: string;
|
|
4262
|
+
/**
|
|
4263
|
+
* 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
|
4264
|
+
*/
|
|
4265
|
+
Values: Array<string>;
|
|
4266
|
+
}
|
|
4267
|
+
/**
|
|
4268
|
+
* UpdateTKEEdgeCluster返回参数结构体
|
|
4269
|
+
*/
|
|
4270
|
+
export interface UpdateTKEEdgeClusterResponse {
|
|
4271
|
+
/**
|
|
4272
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4273
|
+
*/
|
|
4274
|
+
RequestId?: string;
|
|
4275
|
+
}
|
|
3742
4276
|
/**
|
|
3743
4277
|
* 用以帮助用户自动创建EIP的配置
|
|
3744
4278
|
*/
|
|
@@ -4054,6 +4588,15 @@ export interface DNSConfig {
|
|
|
4054
4588
|
*/
|
|
4055
4589
|
Options?: Array<DNSConfigOption>;
|
|
4056
4590
|
}
|
|
4591
|
+
/**
|
|
4592
|
+
* DescribeTKEEdgeExternalKubeconfig请求参数结构体
|
|
4593
|
+
*/
|
|
4594
|
+
export interface DescribeTKEEdgeExternalKubeconfigRequest {
|
|
4595
|
+
/**
|
|
4596
|
+
* 集群id
|
|
4597
|
+
*/
|
|
4598
|
+
ClusterId: string;
|
|
4599
|
+
}
|
|
4057
4600
|
/**
|
|
4058
4601
|
* CreatePrometheusAlertPolicy返回参数结构体
|
|
4059
4602
|
*/
|
|
@@ -4083,78 +4626,21 @@ export interface DNSConfigOption {
|
|
|
4083
4626
|
Value: string;
|
|
4084
4627
|
}
|
|
4085
4628
|
/**
|
|
4086
|
-
*
|
|
4629
|
+
* AddNodeToNodePool请求参数结构体
|
|
4087
4630
|
*/
|
|
4088
|
-
export interface
|
|
4089
|
-
/**
|
|
4090
|
-
* 是否启用
|
|
4091
|
-
*/
|
|
4092
|
-
Enabled: boolean;
|
|
4631
|
+
export interface AddNodeToNodePoolRequest {
|
|
4093
4632
|
/**
|
|
4094
|
-
*
|
|
4633
|
+
* 集群id
|
|
4095
4634
|
*/
|
|
4096
|
-
|
|
4635
|
+
ClusterId: string;
|
|
4097
4636
|
/**
|
|
4098
|
-
*
|
|
4637
|
+
* 节点池id
|
|
4099
4638
|
*/
|
|
4100
|
-
|
|
4639
|
+
NodePoolId: string;
|
|
4101
4640
|
/**
|
|
4102
|
-
*
|
|
4641
|
+
* 节点id
|
|
4103
4642
|
*/
|
|
4104
|
-
|
|
4105
|
-
/**
|
|
4106
|
-
* 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
|
|
4107
|
-
分别代表:短信、邮件、电话、微信
|
|
4108
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4109
|
-
*/
|
|
4110
|
-
NotifyWay?: Array<string>;
|
|
4111
|
-
/**
|
|
4112
|
-
* 告警接收组(用户组)
|
|
4113
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4114
|
-
*/
|
|
4115
|
-
ReceiverGroups?: Array<number>;
|
|
4116
|
-
/**
|
|
4117
|
-
* 电话告警顺序。
|
|
4118
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4120
|
-
*/
|
|
4121
|
-
PhoneNotifyOrder?: Array<number>;
|
|
4122
|
-
/**
|
|
4123
|
-
* 电话告警次数。
|
|
4124
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4125
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4126
|
-
*/
|
|
4127
|
-
PhoneCircleTimes?: number;
|
|
4128
|
-
/**
|
|
4129
|
-
* 电话告警轮内间隔。单位:秒
|
|
4130
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4131
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4132
|
-
*/
|
|
4133
|
-
PhoneInnerInterval?: number;
|
|
4134
|
-
/**
|
|
4135
|
-
* 电话告警轮外间隔。单位:秒
|
|
4136
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4137
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4138
|
-
*/
|
|
4139
|
-
PhoneCircleInterval?: number;
|
|
4140
|
-
/**
|
|
4141
|
-
* 电话告警触达通知
|
|
4142
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
4143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4144
|
-
*/
|
|
4145
|
-
PhoneArriveNotice?: boolean;
|
|
4146
|
-
/**
|
|
4147
|
-
* 通道类型,默认为amp,支持以下
|
|
4148
|
-
amp
|
|
4149
|
-
webhook
|
|
4150
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4151
|
-
*/
|
|
4152
|
-
Type?: string;
|
|
4153
|
-
/**
|
|
4154
|
-
* 如果Type为webhook, 则该字段为必填项
|
|
4155
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4156
|
-
*/
|
|
4157
|
-
WebHook?: string;
|
|
4643
|
+
InstanceIds: Array<string>;
|
|
4158
4644
|
}
|
|
4159
4645
|
/**
|
|
4160
4646
|
* DescribeExternalClusterSpec请求参数结构体
|
|
@@ -4173,6 +4659,15 @@ export interface DescribeExternalClusterSpecRequest {
|
|
|
4173
4659
|
*/
|
|
4174
4660
|
IsRefreshExpirationTime?: boolean;
|
|
4175
4661
|
}
|
|
4662
|
+
/**
|
|
4663
|
+
* ModifyPrometheusGlobalNotification返回参数结构体
|
|
4664
|
+
*/
|
|
4665
|
+
export interface ModifyPrometheusGlobalNotificationResponse {
|
|
4666
|
+
/**
|
|
4667
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4668
|
+
*/
|
|
4669
|
+
RequestId?: string;
|
|
4670
|
+
}
|
|
4176
4671
|
/**
|
|
4177
4672
|
* 集群关联的伸缩组最大实例数最小值实例数
|
|
4178
4673
|
*/
|
|
@@ -4687,9 +5182,17 @@ export interface CreatePrometheusTemplateRequest {
|
|
|
4687
5182
|
Template: PrometheusTemplate;
|
|
4688
5183
|
}
|
|
4689
5184
|
/**
|
|
4690
|
-
*
|
|
5185
|
+
* DescribeEKSContainerInstances返回参数结构体
|
|
4691
5186
|
*/
|
|
4692
|
-
export interface
|
|
5187
|
+
export interface DescribeEKSContainerInstancesResponse {
|
|
5188
|
+
/**
|
|
5189
|
+
* 容器组总数
|
|
5190
|
+
*/
|
|
5191
|
+
TotalCount: number;
|
|
5192
|
+
/**
|
|
5193
|
+
* 容器组列表
|
|
5194
|
+
*/
|
|
5195
|
+
EksCis: Array<EksCi>;
|
|
4693
5196
|
/**
|
|
4694
5197
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4695
5198
|
*/
|
|
@@ -4709,17 +5212,17 @@ export interface CreatePrometheusAlertRuleResponse {
|
|
|
4709
5212
|
RequestId?: string;
|
|
4710
5213
|
}
|
|
4711
5214
|
/**
|
|
4712
|
-
*
|
|
5215
|
+
* ECM增强服务
|
|
4713
5216
|
*/
|
|
4714
|
-
export interface
|
|
5217
|
+
export interface ECMEnhancedService {
|
|
4715
5218
|
/**
|
|
4716
|
-
*
|
|
5219
|
+
* 是否开启云监控服务
|
|
4717
5220
|
*/
|
|
4718
|
-
|
|
5221
|
+
SecurityService?: ECMRunMonitorServiceEnabled;
|
|
4719
5222
|
/**
|
|
4720
|
-
*
|
|
5223
|
+
* 是否开启云镜服务
|
|
4721
5224
|
*/
|
|
4722
|
-
|
|
5225
|
+
MonitorService?: ECMRunSecurityServiceEnabled;
|
|
4723
5226
|
}
|
|
4724
5227
|
/**
|
|
4725
5228
|
* ModifyClusterAuthenticationOptions返回参数结构体
|
|
@@ -4731,57 +5234,46 @@ export interface ModifyClusterAuthenticationOptionsResponse {
|
|
|
4731
5234
|
RequestId?: string;
|
|
4732
5235
|
}
|
|
4733
5236
|
/**
|
|
4734
|
-
*
|
|
5237
|
+
* 集群创建过程
|
|
4735
5238
|
*/
|
|
4736
|
-
export interface
|
|
5239
|
+
export interface ClusterCondition {
|
|
4737
5240
|
/**
|
|
4738
|
-
*
|
|
5241
|
+
* 集群创建过程类型
|
|
4739
5242
|
*/
|
|
4740
|
-
|
|
5243
|
+
Type: string;
|
|
4741
5244
|
/**
|
|
4742
|
-
*
|
|
5245
|
+
* 集群创建过程状态
|
|
4743
5246
|
*/
|
|
4744
|
-
|
|
4745
|
-
}
|
|
4746
|
-
/**
|
|
4747
|
-
* Prometheus告警规则
|
|
4748
|
-
*/
|
|
4749
|
-
export interface PrometheusAlertRule {
|
|
4750
|
-
/**
|
|
4751
|
-
* 规则名称
|
|
4752
|
-
*/
|
|
4753
|
-
Name: string;
|
|
4754
|
-
/**
|
|
4755
|
-
* prometheus语句
|
|
4756
|
-
*/
|
|
4757
|
-
Rule: string;
|
|
4758
|
-
/**
|
|
4759
|
-
* 额外标签
|
|
4760
|
-
*/
|
|
4761
|
-
Labels: Array<Label>;
|
|
4762
|
-
/**
|
|
4763
|
-
* 告警发送模板
|
|
4764
|
-
*/
|
|
4765
|
-
Template: string;
|
|
5247
|
+
Status: string;
|
|
4766
5248
|
/**
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
5249
|
+
* 最后一次探测到该状态的时间
|
|
5250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5251
|
+
*/
|
|
5252
|
+
LastProbeTime: string;
|
|
4770
5253
|
/**
|
|
4771
|
-
*
|
|
5254
|
+
* 最后一次转换到该过程的时间
|
|
4772
5255
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4773
5256
|
*/
|
|
4774
|
-
|
|
5257
|
+
LastTransitionTime: string;
|
|
4775
5258
|
/**
|
|
4776
|
-
*
|
|
5259
|
+
* 转换到该过程的简明原因
|
|
4777
5260
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4778
5261
|
*/
|
|
4779
|
-
|
|
5262
|
+
Reason: string;
|
|
4780
5263
|
/**
|
|
4781
|
-
*
|
|
5264
|
+
* 转换到该过程的更多信息
|
|
4782
5265
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4783
5266
|
*/
|
|
4784
|
-
|
|
5267
|
+
Message: string;
|
|
5268
|
+
}
|
|
5269
|
+
/**
|
|
5270
|
+
* EnableEventPersistence返回参数结构体
|
|
5271
|
+
*/
|
|
5272
|
+
export interface EnableEventPersistenceResponse {
|
|
5273
|
+
/**
|
|
5274
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5275
|
+
*/
|
|
5276
|
+
RequestId?: string;
|
|
4785
5277
|
}
|
|
4786
5278
|
/**
|
|
4787
5279
|
* 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
|
|
@@ -4930,6 +5422,24 @@ export interface PrometheusNotificationItem {
|
|
|
4930
5422
|
*/
|
|
4931
5423
|
PhoneArriveNotice?: boolean;
|
|
4932
5424
|
}
|
|
5425
|
+
/**
|
|
5426
|
+
* DeleteEdgeClusterInstances返回参数结构体
|
|
5427
|
+
*/
|
|
5428
|
+
export interface DeleteEdgeClusterInstancesResponse {
|
|
5429
|
+
/**
|
|
5430
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5431
|
+
*/
|
|
5432
|
+
RequestId?: string;
|
|
5433
|
+
}
|
|
5434
|
+
/**
|
|
5435
|
+
* DeleteTKEEdgeCluster请求参数结构体
|
|
5436
|
+
*/
|
|
5437
|
+
export interface DeleteTKEEdgeClusterRequest {
|
|
5438
|
+
/**
|
|
5439
|
+
* 集群ID
|
|
5440
|
+
*/
|
|
5441
|
+
ClusterId: string;
|
|
5442
|
+
}
|
|
4933
5443
|
/**
|
|
4934
5444
|
* CreatePrometheusGlobalNotification返回参数结构体
|
|
4935
5445
|
*/
|
|
@@ -5138,6 +5648,14 @@ export interface CreateClusterNodePoolRequest {
|
|
|
5138
5648
|
* Taints互斥
|
|
5139
5649
|
*/
|
|
5140
5650
|
Taints?: Array<Taint>;
|
|
5651
|
+
/**
|
|
5652
|
+
* 节点池纬度运行时类型及版本
|
|
5653
|
+
*/
|
|
5654
|
+
ContainerRuntime?: string;
|
|
5655
|
+
/**
|
|
5656
|
+
* 运行时版本
|
|
5657
|
+
*/
|
|
5658
|
+
RuntimeVersion?: string;
|
|
5141
5659
|
/**
|
|
5142
5660
|
* 节点池os
|
|
5143
5661
|
*/
|
|
@@ -5151,6 +5669,28 @@ export interface CreateClusterNodePoolRequest {
|
|
|
5151
5669
|
*/
|
|
5152
5670
|
Tags?: Array<Tag>;
|
|
5153
5671
|
}
|
|
5672
|
+
/**
|
|
5673
|
+
* CheckEdgeClusterCIDR返回参数结构体
|
|
5674
|
+
*/
|
|
5675
|
+
export interface CheckEdgeClusterCIDRResponse {
|
|
5676
|
+
/**
|
|
5677
|
+
* 返回码,具体如下
|
|
5678
|
+
-1 内部错误
|
|
5679
|
+
0 没冲突
|
|
5680
|
+
1 vpc 和 serviceCIDR 冲突
|
|
5681
|
+
2 vpc 和 podCIDR 冲突
|
|
5682
|
+
3 serviceCIDR 和 podCIDR 冲突
|
|
5683
|
+
*/
|
|
5684
|
+
ConflictCode?: number;
|
|
5685
|
+
/**
|
|
5686
|
+
* CIDR冲突描述信息。
|
|
5687
|
+
*/
|
|
5688
|
+
ConflictMsg?: string;
|
|
5689
|
+
/**
|
|
5690
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5691
|
+
*/
|
|
5692
|
+
RequestId?: string;
|
|
5693
|
+
}
|
|
5154
5694
|
/**
|
|
5155
5695
|
* DescribePrometheusClusterAgents请求参数结构体
|
|
5156
5696
|
*/
|
|
@@ -5168,6 +5708,36 @@ export interface DescribePrometheusClusterAgentsRequest {
|
|
|
5168
5708
|
*/
|
|
5169
5709
|
Limit?: number;
|
|
5170
5710
|
}
|
|
5711
|
+
/**
|
|
5712
|
+
* 边缘容器参数描述
|
|
5713
|
+
*/
|
|
5714
|
+
export interface EdgeArgsFlag {
|
|
5715
|
+
/**
|
|
5716
|
+
* 参数名
|
|
5717
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5718
|
+
*/
|
|
5719
|
+
Name?: string;
|
|
5720
|
+
/**
|
|
5721
|
+
* 参数类型
|
|
5722
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5723
|
+
*/
|
|
5724
|
+
Type?: string;
|
|
5725
|
+
/**
|
|
5726
|
+
* 参数描述
|
|
5727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5728
|
+
*/
|
|
5729
|
+
Usage?: string;
|
|
5730
|
+
/**
|
|
5731
|
+
* 参数默认值
|
|
5732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5733
|
+
*/
|
|
5734
|
+
Default?: string;
|
|
5735
|
+
/**
|
|
5736
|
+
* 参数可选范围(目前包含range和in两种,"[]"代表range,如"[1, 5]"表示参数必须>=1且 <=5, "()"代表in, 如"('aa', 'bb')"表示参数只能为字符串'aa'或者'bb',该参数为空表示不校验)
|
|
5737
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5738
|
+
*/
|
|
5739
|
+
Constraint?: string;
|
|
5740
|
+
}
|
|
5171
5741
|
/**
|
|
5172
5742
|
* CheckInstancesUpgradeAble返回参数结构体
|
|
5173
5743
|
*/
|
|
@@ -5287,6 +5857,59 @@ export interface UninstallLogAgentResponse {
|
|
|
5287
5857
|
*/
|
|
5288
5858
|
RequestId?: string;
|
|
5289
5859
|
}
|
|
5860
|
+
/**
|
|
5861
|
+
* CreateECMInstances请求参数结构体
|
|
5862
|
+
*/
|
|
5863
|
+
export interface CreateECMInstancesRequest {
|
|
5864
|
+
/**
|
|
5865
|
+
* 集群id
|
|
5866
|
+
*/
|
|
5867
|
+
ClusterID: string;
|
|
5868
|
+
/**
|
|
5869
|
+
* 模块id
|
|
5870
|
+
*/
|
|
5871
|
+
ModuleId: string;
|
|
5872
|
+
/**
|
|
5873
|
+
* 需要创建实例的可用区及创建数目及运营商的列表
|
|
5874
|
+
*/
|
|
5875
|
+
ZoneInstanceCountISPSet: Array<ECMZoneInstanceCountISP>;
|
|
5876
|
+
/**
|
|
5877
|
+
* 密码
|
|
5878
|
+
*/
|
|
5879
|
+
Password?: string;
|
|
5880
|
+
/**
|
|
5881
|
+
* 公网带宽
|
|
5882
|
+
*/
|
|
5883
|
+
InternetMaxBandwidthOut?: number;
|
|
5884
|
+
/**
|
|
5885
|
+
* 镜像id
|
|
5886
|
+
*/
|
|
5887
|
+
ImageId?: string;
|
|
5888
|
+
/**
|
|
5889
|
+
* 实例名称
|
|
5890
|
+
*/
|
|
5891
|
+
InstanceName?: string;
|
|
5892
|
+
/**
|
|
5893
|
+
* 主机名称
|
|
5894
|
+
*/
|
|
5895
|
+
HostName?: string;
|
|
5896
|
+
/**
|
|
5897
|
+
* 增强服务,包括云镜和云监控
|
|
5898
|
+
*/
|
|
5899
|
+
EnhancedService?: ECMEnhancedService;
|
|
5900
|
+
/**
|
|
5901
|
+
* 用户自定义脚本
|
|
5902
|
+
*/
|
|
5903
|
+
UserData?: string;
|
|
5904
|
+
/**
|
|
5905
|
+
* 实例扩展信息
|
|
5906
|
+
*/
|
|
5907
|
+
External?: string;
|
|
5908
|
+
/**
|
|
5909
|
+
* 实例所属安全组
|
|
5910
|
+
*/
|
|
5911
|
+
SecurityGroupIds?: Array<string>;
|
|
5912
|
+
}
|
|
5290
5913
|
/**
|
|
5291
5914
|
* CreatePrometheusTemp返回参数结构体
|
|
5292
5915
|
*/
|
|
@@ -5353,6 +5976,15 @@ export interface DescribeClusterAsGroupsRequest {
|
|
|
5353
5976
|
*/
|
|
5354
5977
|
Limit?: number;
|
|
5355
5978
|
}
|
|
5979
|
+
/**
|
|
5980
|
+
* ECM云监控服务
|
|
5981
|
+
*/
|
|
5982
|
+
export interface ECMRunMonitorServiceEnabled {
|
|
5983
|
+
/**
|
|
5984
|
+
* 是否开启
|
|
5985
|
+
*/
|
|
5986
|
+
Enabled?: boolean;
|
|
5987
|
+
}
|
|
5356
5988
|
/**
|
|
5357
5989
|
* SyncPrometheusTemp请求参数结构体
|
|
5358
5990
|
*/
|
|
@@ -5375,6 +6007,28 @@ export interface ModifyClusterEndpointSPResponse {
|
|
|
5375
6007
|
*/
|
|
5376
6008
|
RequestId?: string;
|
|
5377
6009
|
}
|
|
6010
|
+
/**
|
|
6011
|
+
* ECM云镜服务
|
|
6012
|
+
*/
|
|
6013
|
+
export interface ECMRunSecurityServiceEnabled {
|
|
6014
|
+
/**
|
|
6015
|
+
* 是否开启
|
|
6016
|
+
*/
|
|
6017
|
+
Enabled?: boolean;
|
|
6018
|
+
/**
|
|
6019
|
+
* 云镜版本:0 基础版,1 专业版
|
|
6020
|
+
*/
|
|
6021
|
+
Version?: number;
|
|
6022
|
+
}
|
|
6023
|
+
/**
|
|
6024
|
+
* SyncPrometheusTemplate返回参数结构体
|
|
6025
|
+
*/
|
|
6026
|
+
export interface SyncPrometheusTemplateResponse {
|
|
6027
|
+
/**
|
|
6028
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6029
|
+
*/
|
|
6030
|
+
RequestId?: string;
|
|
6031
|
+
}
|
|
5378
6032
|
/**
|
|
5379
6033
|
* 集群伸缩组属性
|
|
5380
6034
|
*/
|
|
@@ -5506,6 +6160,48 @@ export interface CreateEKSContainerInstancesRequest {
|
|
|
5506
6160
|
*/
|
|
5507
6161
|
CamRoleName?: string;
|
|
5508
6162
|
}
|
|
6163
|
+
/**
|
|
6164
|
+
* DescribeTKEEdgeClusterCredential返回参数结构体
|
|
6165
|
+
*/
|
|
6166
|
+
export interface DescribeTKEEdgeClusterCredentialResponse {
|
|
6167
|
+
/**
|
|
6168
|
+
* 集群的接入地址信息
|
|
6169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6170
|
+
*/
|
|
6171
|
+
Addresses: Array<IPAddress>;
|
|
6172
|
+
/**
|
|
6173
|
+
* 集群的认证信息
|
|
6174
|
+
*/
|
|
6175
|
+
Credential: ClusterCredential;
|
|
6176
|
+
/**
|
|
6177
|
+
* 集群的公网访问信息
|
|
6178
|
+
*/
|
|
6179
|
+
PublicLB: EdgeClusterPublicLB;
|
|
6180
|
+
/**
|
|
6181
|
+
* 集群的内网访问信息
|
|
6182
|
+
*/
|
|
6183
|
+
InternalLB: EdgeClusterInternalLB;
|
|
6184
|
+
/**
|
|
6185
|
+
* 集群的CoreDns部署信息
|
|
6186
|
+
*/
|
|
6187
|
+
CoreDns: string;
|
|
6188
|
+
/**
|
|
6189
|
+
* 集群的健康检查多地域部署信息
|
|
6190
|
+
*/
|
|
6191
|
+
HealthRegion: string;
|
|
6192
|
+
/**
|
|
6193
|
+
* 集群的健康检查部署信息
|
|
6194
|
+
*/
|
|
6195
|
+
Health: string;
|
|
6196
|
+
/**
|
|
6197
|
+
* 是否部署GridDaemon以支持headless service
|
|
6198
|
+
*/
|
|
6199
|
+
GridDaemon: string;
|
|
6200
|
+
/**
|
|
6201
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6202
|
+
*/
|
|
6203
|
+
RequestId?: string;
|
|
6204
|
+
}
|
|
5509
6205
|
/**
|
|
5510
6206
|
* 描述了k8s集群相关配置与信息。
|
|
5511
6207
|
*/
|
|
@@ -5555,6 +6251,11 @@ export interface InstanceAdvancedSettings {
|
|
|
5555
6251
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5556
6252
|
*/
|
|
5557
6253
|
PreStartUserScript: string;
|
|
6254
|
+
/**
|
|
6255
|
+
* 节点污点
|
|
6256
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6257
|
+
*/
|
|
6258
|
+
Taints: Array<Taint>;
|
|
5558
6259
|
}
|
|
5559
6260
|
/**
|
|
5560
6261
|
* ModifyClusterAsGroupAttribute请求参数结构体
|
|
@@ -5775,6 +6476,47 @@ export interface UpdateEKSClusterRequest {
|
|
|
5775
6476
|
*/
|
|
5776
6477
|
ExtraParam?: string;
|
|
5777
6478
|
}
|
|
6479
|
+
/**
|
|
6480
|
+
* CreateTKEEdgeCluster请求参数结构体
|
|
6481
|
+
*/
|
|
6482
|
+
export interface CreateTKEEdgeClusterRequest {
|
|
6483
|
+
/**
|
|
6484
|
+
* k8s版本号
|
|
6485
|
+
*/
|
|
6486
|
+
K8SVersion: string;
|
|
6487
|
+
/**
|
|
6488
|
+
* vpc 的Id
|
|
6489
|
+
*/
|
|
6490
|
+
VpcId: string;
|
|
6491
|
+
/**
|
|
6492
|
+
* 集群名称
|
|
6493
|
+
*/
|
|
6494
|
+
ClusterName: string;
|
|
6495
|
+
/**
|
|
6496
|
+
* 集群pod cidr
|
|
6497
|
+
*/
|
|
6498
|
+
PodCIDR: string;
|
|
6499
|
+
/**
|
|
6500
|
+
* 集群service cidr
|
|
6501
|
+
*/
|
|
6502
|
+
ServiceCIDR: string;
|
|
6503
|
+
/**
|
|
6504
|
+
* 集群描述信息
|
|
6505
|
+
*/
|
|
6506
|
+
ClusterDesc?: string;
|
|
6507
|
+
/**
|
|
6508
|
+
* 集群高级设置
|
|
6509
|
+
*/
|
|
6510
|
+
ClusterAdvancedSettings?: EdgeClusterAdvancedSettings;
|
|
6511
|
+
/**
|
|
6512
|
+
* 节点上最大Pod数量
|
|
6513
|
+
*/
|
|
6514
|
+
MaxNodePodNum?: number;
|
|
6515
|
+
/**
|
|
6516
|
+
* 边缘计算集群公网访问LB信息
|
|
6517
|
+
*/
|
|
6518
|
+
PublicLB?: EdgeClusterPublicLB;
|
|
6519
|
+
}
|
|
5778
6520
|
/**
|
|
5779
6521
|
* CreateEKSCluster返回参数结构体
|
|
5780
6522
|
*/
|
|
@@ -5811,6 +6553,19 @@ export interface Exec {
|
|
|
5811
6553
|
*/
|
|
5812
6554
|
Commands?: Array<string>;
|
|
5813
6555
|
}
|
|
6556
|
+
/**
|
|
6557
|
+
* DescribeAvailableTKEEdgeVersion返回参数结构体
|
|
6558
|
+
*/
|
|
6559
|
+
export interface DescribeAvailableTKEEdgeVersionResponse {
|
|
6560
|
+
/**
|
|
6561
|
+
* 版本列表
|
|
6562
|
+
*/
|
|
6563
|
+
Versions?: Array<string>;
|
|
6564
|
+
/**
|
|
6565
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6566
|
+
*/
|
|
6567
|
+
RequestId?: string;
|
|
6568
|
+
}
|
|
5814
6569
|
/**
|
|
5815
6570
|
* DeletePrometheusAlertPolicy返回参数结构体
|
|
5816
6571
|
*/
|
|
@@ -5820,6 +6575,31 @@ export interface DeletePrometheusAlertPolicyResponse {
|
|
|
5820
6575
|
*/
|
|
5821
6576
|
RequestId?: string;
|
|
5822
6577
|
}
|
|
6578
|
+
/**
|
|
6579
|
+
* 边缘容器集群可用的自定义参数
|
|
6580
|
+
*/
|
|
6581
|
+
export interface EdgeAvailableExtraArgs {
|
|
6582
|
+
/**
|
|
6583
|
+
* kube-apiserver可用的自定义参数
|
|
6584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6585
|
+
*/
|
|
6586
|
+
KubeAPIServer?: Array<EdgeArgsFlag>;
|
|
6587
|
+
/**
|
|
6588
|
+
* kube-controller-manager可用的自定义参数
|
|
6589
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6590
|
+
*/
|
|
6591
|
+
KubeControllerManager?: Array<EdgeArgsFlag>;
|
|
6592
|
+
/**
|
|
6593
|
+
* kube-scheduler可用的自定义参数
|
|
6594
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6595
|
+
*/
|
|
6596
|
+
KubeScheduler?: Array<EdgeArgsFlag>;
|
|
6597
|
+
/**
|
|
6598
|
+
* kubelet可用的自定义参数
|
|
6599
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6600
|
+
*/
|
|
6601
|
+
Kubelet?: Array<EdgeArgsFlag>;
|
|
6602
|
+
}
|
|
5823
6603
|
/**
|
|
5824
6604
|
* IP 地址
|
|
5825
6605
|
*/
|
|
@@ -5837,6 +6617,15 @@ export interface IPAddress {
|
|
|
5837
6617
|
*/
|
|
5838
6618
|
Port: number;
|
|
5839
6619
|
}
|
|
6620
|
+
/**
|
|
6621
|
+
* DescribeTKEEdgeClusterCredential请求参数结构体
|
|
6622
|
+
*/
|
|
6623
|
+
export interface DescribeTKEEdgeClusterCredentialRequest {
|
|
6624
|
+
/**
|
|
6625
|
+
* 集群Id
|
|
6626
|
+
*/
|
|
6627
|
+
ClusterId: string;
|
|
6628
|
+
}
|
|
5840
6629
|
/**
|
|
5841
6630
|
* 自动变配集群等级
|
|
5842
6631
|
*/
|
|
@@ -5949,10 +6738,37 @@ export interface CreateClusterRouteResponse {
|
|
|
5949
6738
|
*/
|
|
5950
6739
|
RequestId?: string;
|
|
5951
6740
|
}
|
|
6741
|
+
/**
|
|
6742
|
+
* CreateClusterNodePoolFromExistingAsg返回参数结构体
|
|
6743
|
+
*/
|
|
6744
|
+
export interface CreateClusterNodePoolFromExistingAsgResponse {
|
|
6745
|
+
/**
|
|
6746
|
+
* 节点池ID
|
|
6747
|
+
*/
|
|
6748
|
+
NodePoolId?: string;
|
|
6749
|
+
/**
|
|
6750
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6751
|
+
*/
|
|
6752
|
+
RequestId?: string;
|
|
6753
|
+
}
|
|
5952
6754
|
/**
|
|
5953
6755
|
* DescribeEKSContainerInstanceRegions请求参数结构体
|
|
5954
6756
|
*/
|
|
5955
6757
|
export declare type DescribeEKSContainerInstanceRegionsRequest = null;
|
|
6758
|
+
/**
|
|
6759
|
+
* DescribeECMInstances请求参数结构体
|
|
6760
|
+
*/
|
|
6761
|
+
export interface DescribeECMInstancesRequest {
|
|
6762
|
+
/**
|
|
6763
|
+
* 集群id
|
|
6764
|
+
*/
|
|
6765
|
+
ClusterID: string;
|
|
6766
|
+
/**
|
|
6767
|
+
* 过滤条件
|
|
6768
|
+
仅支持ecm-id过滤
|
|
6769
|
+
*/
|
|
6770
|
+
Filters?: Array<Filter>;
|
|
6771
|
+
}
|
|
5956
6772
|
/**
|
|
5957
6773
|
* DescribeVpcCniPodLimits返回参数结构体
|
|
5958
6774
|
*/
|
|
@@ -6018,13 +6834,44 @@ export interface CreateClusterNodePoolFromExistingAsgRequest {
|
|
|
6018
6834
|
AutoscalingGroupId: string;
|
|
6019
6835
|
}
|
|
6020
6836
|
/**
|
|
6021
|
-
*
|
|
6837
|
+
* Prometheus告警规则
|
|
6022
6838
|
*/
|
|
6023
|
-
export interface
|
|
6839
|
+
export interface PrometheusAlertRule {
|
|
6024
6840
|
/**
|
|
6025
|
-
*
|
|
6841
|
+
* 规则名称
|
|
6026
6842
|
*/
|
|
6027
|
-
|
|
6843
|
+
Name: string;
|
|
6844
|
+
/**
|
|
6845
|
+
* prometheus语句
|
|
6846
|
+
*/
|
|
6847
|
+
Rule: string;
|
|
6848
|
+
/**
|
|
6849
|
+
* 额外标签
|
|
6850
|
+
*/
|
|
6851
|
+
Labels: Array<Label>;
|
|
6852
|
+
/**
|
|
6853
|
+
* 告警发送模板
|
|
6854
|
+
*/
|
|
6855
|
+
Template: string;
|
|
6856
|
+
/**
|
|
6857
|
+
* 持续时间
|
|
6858
|
+
*/
|
|
6859
|
+
For: string;
|
|
6860
|
+
/**
|
|
6861
|
+
* 该条规则的描述信息
|
|
6862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6863
|
+
*/
|
|
6864
|
+
Describe?: string;
|
|
6865
|
+
/**
|
|
6866
|
+
* 参考prometheus rule中的annotations
|
|
6867
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6868
|
+
*/
|
|
6869
|
+
Annotations?: Array<Label>;
|
|
6870
|
+
/**
|
|
6871
|
+
* 告警规则状态
|
|
6872
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6873
|
+
*/
|
|
6874
|
+
RuleState?: number;
|
|
6028
6875
|
}
|
|
6029
6876
|
/**
|
|
6030
6877
|
* 集群网络相关的参数
|
|
@@ -6119,13 +6966,14 @@ export interface ClusterExtraArgs {
|
|
|
6119
6966
|
Etcd?: Array<string>;
|
|
6120
6967
|
}
|
|
6121
6968
|
/**
|
|
6122
|
-
*
|
|
6123
|
-
*/
|
|
6124
|
-
export interface
|
|
6125
|
-
/**
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6969
|
+
* 边缘容器集群高级配置
|
|
6970
|
+
*/
|
|
6971
|
+
export interface EdgeClusterAdvancedSettings {
|
|
6972
|
+
/**
|
|
6973
|
+
* 集群自定义参数
|
|
6974
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6975
|
+
*/
|
|
6976
|
+
ExtraArgs?: EdgeClusterExtraArgs;
|
|
6129
6977
|
}
|
|
6130
6978
|
/**
|
|
6131
6979
|
* CreateClusterEndpointVip返回参数结构体
|
|
@@ -6173,17 +7021,21 @@ export interface TaskStepInfo {
|
|
|
6173
7021
|
FailedMsg: string;
|
|
6174
7022
|
}
|
|
6175
7023
|
/**
|
|
6176
|
-
*
|
|
7024
|
+
* ECM实例可用区及对应的实例创建数目及运营商的组合
|
|
6177
7025
|
*/
|
|
6178
|
-
export interface
|
|
7026
|
+
export interface ECMZoneInstanceCountISP {
|
|
6179
7027
|
/**
|
|
6180
|
-
*
|
|
7028
|
+
* 创建实例的可用区
|
|
6181
7029
|
*/
|
|
6182
|
-
|
|
7030
|
+
Zone: string;
|
|
6183
7031
|
/**
|
|
6184
|
-
*
|
|
7032
|
+
* 在当前可用区欲创建的实例数目
|
|
6185
7033
|
*/
|
|
6186
|
-
|
|
7034
|
+
InstanceCount: number;
|
|
7035
|
+
/**
|
|
7036
|
+
* 运营商
|
|
7037
|
+
*/
|
|
7038
|
+
ISP: string;
|
|
6187
7039
|
}
|
|
6188
7040
|
/**
|
|
6189
7041
|
* DescribeRouteTableConflicts请求参数结构体
|
|
@@ -6263,7 +7115,7 @@ export interface ClusterBasicSettings {
|
|
|
6263
7115
|
/**
|
|
6264
7116
|
* 模板实例
|
|
6265
7117
|
*/
|
|
6266
|
-
export interface
|
|
7118
|
+
export interface PrometheusTemp {
|
|
6267
7119
|
/**
|
|
6268
7120
|
* 模板名称
|
|
6269
7121
|
*/
|
|
@@ -6281,12 +7133,6 @@ export interface PrometheusTemplate {
|
|
|
6281
7133
|
Describe?: string;
|
|
6282
7134
|
/**
|
|
6283
7135
|
* 当Level为instance时有效,
|
|
6284
|
-
模板中的告警配置列表
|
|
6285
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6286
|
-
*/
|
|
6287
|
-
AlertRules?: Array<PrometheusAlertRule>;
|
|
6288
|
-
/**
|
|
6289
|
-
* 当Level为instance时有效,
|
|
6290
7136
|
模板中的聚合规则列表
|
|
6291
7137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6292
7138
|
*/
|
|
@@ -6334,7 +7180,12 @@ export interface PrometheusTemplate {
|
|
|
6334
7180
|
模板中的告警配置列表
|
|
6335
7181
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6336
7182
|
*/
|
|
6337
|
-
AlertDetailRules?: Array<
|
|
7183
|
+
AlertDetailRules?: Array<PrometheusAlertPolicyItem>;
|
|
7184
|
+
/**
|
|
7185
|
+
* 关联实例数目
|
|
7186
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7187
|
+
*/
|
|
7188
|
+
TargetsTotal?: number;
|
|
6338
7189
|
}
|
|
6339
7190
|
/**
|
|
6340
7191
|
* CVM实例数据盘挂载配置
|
|
@@ -6463,79 +7314,17 @@ export interface ClusterInternalLB {
|
|
|
6463
7314
|
SubnetId?: string;
|
|
6464
7315
|
}
|
|
6465
7316
|
/**
|
|
6466
|
-
*
|
|
7317
|
+
* CreateECMInstances返回参数结构体
|
|
6467
7318
|
*/
|
|
6468
|
-
export interface
|
|
6469
|
-
/**
|
|
6470
|
-
* 实例是否支持加入集群(TRUE 可以加入 FALSE 不能加入)。
|
|
6471
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6472
|
-
*/
|
|
6473
|
-
Usable: boolean;
|
|
6474
|
-
/**
|
|
6475
|
-
* 实例不支持加入的原因。
|
|
6476
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6477
|
-
*/
|
|
6478
|
-
UnusableReason: string;
|
|
7319
|
+
export interface CreateECMInstancesResponse {
|
|
6479
7320
|
/**
|
|
6480
|
-
|
|
6481
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6482
|
-
*/
|
|
6483
|
-
AlreadyInCluster: string;
|
|
6484
|
-
/**
|
|
6485
|
-
* 实例ID形如:ins-xxxxxxxx。
|
|
7321
|
+
* ecm id 列表
|
|
6486
7322
|
*/
|
|
6487
|
-
|
|
6488
|
-
/**
|
|
6489
|
-
* 实例名称。
|
|
6490
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6491
|
-
*/
|
|
6492
|
-
InstanceName: string;
|
|
6493
|
-
/**
|
|
6494
|
-
* 实例主网卡的内网IP列表。
|
|
6495
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6496
|
-
*/
|
|
6497
|
-
PrivateIpAddresses: Array<string>;
|
|
6498
|
-
/**
|
|
6499
|
-
* 实例主网卡的公网IP列表。
|
|
6500
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6501
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6502
|
-
*/
|
|
6503
|
-
PublicIpAddresses: Array<string>;
|
|
6504
|
-
/**
|
|
6505
|
-
* 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。
|
|
6506
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6507
|
-
*/
|
|
6508
|
-
CreatedTime: string;
|
|
6509
|
-
/**
|
|
6510
|
-
* 实例的CPU核数,单位:核。
|
|
6511
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6512
|
-
*/
|
|
6513
|
-
CPU: number;
|
|
6514
|
-
/**
|
|
6515
|
-
* 实例内存容量,单位:GB。
|
|
6516
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6517
|
-
*/
|
|
6518
|
-
Memory: number;
|
|
6519
|
-
/**
|
|
6520
|
-
* 操作系统名称。
|
|
6521
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6522
|
-
*/
|
|
6523
|
-
OsName: string;
|
|
6524
|
-
/**
|
|
6525
|
-
* 实例机型。
|
|
6526
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6527
|
-
*/
|
|
6528
|
-
InstanceType: string;
|
|
7323
|
+
EcmIdSet?: Array<string>;
|
|
6529
7324
|
/**
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
AutoscalingGroupId: string;
|
|
6534
|
-
/**
|
|
6535
|
-
* 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。
|
|
6536
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6537
|
-
*/
|
|
6538
|
-
InstanceChargeType: string;
|
|
7325
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7326
|
+
*/
|
|
7327
|
+
RequestId?: string;
|
|
6539
7328
|
}
|
|
6540
7329
|
/**
|
|
6541
7330
|
* ModifyPrometheusGlobalNotification请求参数结构体
|
|
@@ -6577,22 +7366,55 @@ export interface UpdateEKSClusterResponse {
|
|
|
6577
7366
|
RequestId?: string;
|
|
6578
7367
|
}
|
|
6579
7368
|
/**
|
|
6580
|
-
*
|
|
7369
|
+
* DescribeEdgeCVMInstances返回参数结构体
|
|
6581
7370
|
*/
|
|
6582
|
-
export interface
|
|
7371
|
+
export interface DescribeEdgeCVMInstancesResponse {
|
|
6583
7372
|
/**
|
|
6584
|
-
*
|
|
7373
|
+
* 返回的实例相关信息列表的长度
|
|
6585
7374
|
*/
|
|
6586
|
-
|
|
7375
|
+
TotalCount?: number;
|
|
6587
7376
|
/**
|
|
6588
|
-
*
|
|
7377
|
+
* 返回的实例相关信息列表
|
|
6589
7378
|
*/
|
|
6590
|
-
|
|
7379
|
+
InstanceInfoSet?: Array<string>;
|
|
6591
7380
|
/**
|
|
6592
7381
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6593
7382
|
*/
|
|
6594
7383
|
RequestId?: string;
|
|
6595
7384
|
}
|
|
7385
|
+
/**
|
|
7386
|
+
* 服务事件
|
|
7387
|
+
*/
|
|
7388
|
+
export interface Event {
|
|
7389
|
+
/**
|
|
7390
|
+
* pod名称
|
|
7391
|
+
*/
|
|
7392
|
+
PodName: string;
|
|
7393
|
+
/**
|
|
7394
|
+
* 事件原因内容
|
|
7395
|
+
*/
|
|
7396
|
+
Reason: string;
|
|
7397
|
+
/**
|
|
7398
|
+
* 事件类型
|
|
7399
|
+
*/
|
|
7400
|
+
Type: string;
|
|
7401
|
+
/**
|
|
7402
|
+
* 事件出现次数
|
|
7403
|
+
*/
|
|
7404
|
+
Count: number;
|
|
7405
|
+
/**
|
|
7406
|
+
* 事件第一次出现时间
|
|
7407
|
+
*/
|
|
7408
|
+
FirstTimestamp: string;
|
|
7409
|
+
/**
|
|
7410
|
+
* 事件最后一次出现时间
|
|
7411
|
+
*/
|
|
7412
|
+
LastTimestamp: string;
|
|
7413
|
+
/**
|
|
7414
|
+
* 事件内容
|
|
7415
|
+
*/
|
|
7416
|
+
Message: string;
|
|
7417
|
+
}
|
|
6596
7418
|
/**
|
|
6597
7419
|
* DeleteClusterNodePool返回参数结构体
|
|
6598
7420
|
*/
|
|
@@ -6611,6 +7433,15 @@ export interface DeleteClusterRouteResponse {
|
|
|
6611
7433
|
*/
|
|
6612
7434
|
RequestId?: string;
|
|
6613
7435
|
}
|
|
7436
|
+
/**
|
|
7437
|
+
* DeleteEdgeCVMInstances返回参数结构体
|
|
7438
|
+
*/
|
|
7439
|
+
export interface DeleteEdgeCVMInstancesResponse {
|
|
7440
|
+
/**
|
|
7441
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7442
|
+
*/
|
|
7443
|
+
RequestId?: string;
|
|
7444
|
+
}
|
|
6614
7445
|
/**
|
|
6615
7446
|
* ModifyClusterNodePool返回参数结构体
|
|
6616
7447
|
*/
|
|
@@ -6710,6 +7541,23 @@ export interface LoginSettings {
|
|
|
6710
7541
|
*/
|
|
6711
7542
|
KeepImageLogin?: string;
|
|
6712
7543
|
}
|
|
7544
|
+
/**
|
|
7545
|
+
* DescribePrometheusTemp返回参数结构体
|
|
7546
|
+
*/
|
|
7547
|
+
export interface DescribePrometheusTempResponse {
|
|
7548
|
+
/**
|
|
7549
|
+
* 模板列表
|
|
7550
|
+
*/
|
|
7551
|
+
Templates: Array<PrometheusTemp>;
|
|
7552
|
+
/**
|
|
7553
|
+
* 总数
|
|
7554
|
+
*/
|
|
7555
|
+
Total: number;
|
|
7556
|
+
/**
|
|
7557
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7558
|
+
*/
|
|
7559
|
+
RequestId?: string;
|
|
7560
|
+
}
|
|
6713
7561
|
/**
|
|
6714
7562
|
* SyncPrometheusTemplate请求参数结构体
|
|
6715
7563
|
*/
|
|
@@ -6817,23 +7665,6 @@ export interface DescribePrometheusTempRequest {
|
|
|
6817
7665
|
*/
|
|
6818
7666
|
Limit?: number;
|
|
6819
7667
|
}
|
|
6820
|
-
/**
|
|
6821
|
-
* DescribeEKSContainerInstances返回参数结构体
|
|
6822
|
-
*/
|
|
6823
|
-
export interface DescribeEKSContainerInstancesResponse {
|
|
6824
|
-
/**
|
|
6825
|
-
* 容器组总数
|
|
6826
|
-
*/
|
|
6827
|
-
TotalCount: number;
|
|
6828
|
-
/**
|
|
6829
|
-
* 容器组列表
|
|
6830
|
-
*/
|
|
6831
|
-
EksCis: Array<EksCi>;
|
|
6832
|
-
/**
|
|
6833
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6834
|
-
*/
|
|
6835
|
-
RequestId?: string;
|
|
6836
|
-
}
|
|
6837
7668
|
/**
|
|
6838
7669
|
* DeleteClusterRouteTable请求参数结构体
|
|
6839
7670
|
*/
|
|
@@ -6912,6 +7743,23 @@ export interface DeletePrometheusTemplateResponse {
|
|
|
6912
7743
|
*/
|
|
6913
7744
|
RequestId?: string;
|
|
6914
7745
|
}
|
|
7746
|
+
/**
|
|
7747
|
+
* DescribeECMInstances返回参数结构体
|
|
7748
|
+
*/
|
|
7749
|
+
export interface DescribeECMInstancesResponse {
|
|
7750
|
+
/**
|
|
7751
|
+
* 返回的实例相关信息列表的长度
|
|
7752
|
+
*/
|
|
7753
|
+
TotalCount?: number;
|
|
7754
|
+
/**
|
|
7755
|
+
* 返回的实例相关信息列表
|
|
7756
|
+
*/
|
|
7757
|
+
InstanceInfoSet?: Array<string>;
|
|
7758
|
+
/**
|
|
7759
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7760
|
+
*/
|
|
7761
|
+
RequestId?: string;
|
|
7762
|
+
}
|
|
6915
7763
|
/**
|
|
6916
7764
|
* DescribePrometheusInstance请求参数结构体
|
|
6917
7765
|
*/
|
|
@@ -6922,21 +7770,37 @@ export interface DescribePrometheusInstanceRequest {
|
|
|
6922
7770
|
InstanceId: string;
|
|
6923
7771
|
}
|
|
6924
7772
|
/**
|
|
6925
|
-
*
|
|
7773
|
+
* DeletePrometheusAlertRule请求参数结构体
|
|
6926
7774
|
*/
|
|
6927
|
-
export interface
|
|
7775
|
+
export interface DeletePrometheusAlertRuleRequest {
|
|
6928
7776
|
/**
|
|
6929
|
-
*
|
|
7777
|
+
* 实例id
|
|
6930
7778
|
*/
|
|
6931
|
-
|
|
7779
|
+
InstanceId: string;
|
|
6932
7780
|
/**
|
|
6933
|
-
*
|
|
7781
|
+
* 告警规则id列表
|
|
6934
7782
|
*/
|
|
6935
|
-
|
|
7783
|
+
AlertIds: Array<string>;
|
|
7784
|
+
}
|
|
7785
|
+
/**
|
|
7786
|
+
* 边缘容器集群master自定义参数
|
|
7787
|
+
*/
|
|
7788
|
+
export interface EdgeClusterExtraArgs {
|
|
6936
7789
|
/**
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
7790
|
+
* kube-apiserver自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
|
|
7791
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7792
|
+
*/
|
|
7793
|
+
KubeAPIServer?: Array<string>;
|
|
7794
|
+
/**
|
|
7795
|
+
* kube-controller-manager自定义参数
|
|
7796
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7797
|
+
*/
|
|
7798
|
+
KubeControllerManager?: Array<string>;
|
|
7799
|
+
/**
|
|
7800
|
+
* kube-scheduler自定义参数
|
|
7801
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7802
|
+
*/
|
|
7803
|
+
KubeScheduler?: Array<string>;
|
|
6940
7804
|
}
|
|
6941
7805
|
/**
|
|
6942
7806
|
* DescribePrometheusTargets返回参数结构体
|
|
@@ -7017,28 +7881,17 @@ export interface AppChart {
|
|
|
7017
7881
|
LatestVersion: string;
|
|
7018
7882
|
}
|
|
7019
7883
|
/**
|
|
7020
|
-
*
|
|
7021
|
-
> * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
|
|
7022
|
-
> * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
|
|
7023
|
-
>
|
|
7024
|
-
> 以[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口的`Filter`为例。若我们需要查询可用区(`zone`)为广州一区 ***并且*** 实例计费模式(`instance-charge-type`)为包年包月 ***或者*** 按量计费的实例时,可如下实现:
|
|
7025
|
-
```
|
|
7026
|
-
Filters.0.Name=zone
|
|
7027
|
-
&Filters.0.Values.0=ap-guangzhou-1
|
|
7028
|
-
&Filters.1.Name=instance-charge-type
|
|
7029
|
-
&Filters.1.Values.0=PREPAID
|
|
7030
|
-
&Filters.1.Values.1=POSTPAID_BY_HOUR
|
|
7031
|
-
```
|
|
7884
|
+
* DeleteEdgeCVMInstances请求参数结构体
|
|
7032
7885
|
*/
|
|
7033
|
-
export interface
|
|
7886
|
+
export interface DeleteEdgeCVMInstancesRequest {
|
|
7034
7887
|
/**
|
|
7035
|
-
*
|
|
7888
|
+
* 集群ID
|
|
7036
7889
|
*/
|
|
7037
|
-
|
|
7890
|
+
ClusterID: string;
|
|
7038
7891
|
/**
|
|
7039
|
-
*
|
|
7892
|
+
* cvm id集合
|
|
7040
7893
|
*/
|
|
7041
|
-
|
|
7894
|
+
CvmIdSet: Array<string>;
|
|
7042
7895
|
}
|
|
7043
7896
|
/**
|
|
7044
7897
|
* ModifyClusterNodePool请求参数结构体
|
|
@@ -7368,9 +8221,9 @@ export interface DescribeVpcCniPodLimitsRequest {
|
|
|
7368
8221
|
InstanceType?: string;
|
|
7369
8222
|
}
|
|
7370
8223
|
/**
|
|
7371
|
-
*
|
|
8224
|
+
* DeleteImageCaches返回参数结构体
|
|
7372
8225
|
*/
|
|
7373
|
-
export interface
|
|
8226
|
+
export interface DeleteImageCachesResponse {
|
|
7374
8227
|
/**
|
|
7375
8228
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7376
8229
|
*/
|
|
@@ -7558,10 +8411,19 @@ export interface DescribeClusterCommonNamesResponse {
|
|
|
7558
8411
|
*/
|
|
7559
8412
|
RequestId?: string;
|
|
7560
8413
|
}
|
|
8414
|
+
/**
|
|
8415
|
+
* DeleteECMInstances返回参数结构体
|
|
8416
|
+
*/
|
|
8417
|
+
export interface DeleteECMInstancesResponse {
|
|
8418
|
+
/**
|
|
8419
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8420
|
+
*/
|
|
8421
|
+
RequestId?: string;
|
|
8422
|
+
}
|
|
7561
8423
|
/**
|
|
7562
8424
|
* 模板实例
|
|
7563
8425
|
*/
|
|
7564
|
-
export interface
|
|
8426
|
+
export interface PrometheusTemplate {
|
|
7565
8427
|
/**
|
|
7566
8428
|
* 模板名称
|
|
7567
8429
|
*/
|
|
@@ -7579,6 +8441,12 @@ export interface PrometheusTemp {
|
|
|
7579
8441
|
Describe?: string;
|
|
7580
8442
|
/**
|
|
7581
8443
|
* 当Level为instance时有效,
|
|
8444
|
+
模板中的告警配置列表
|
|
8445
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8446
|
+
*/
|
|
8447
|
+
AlertRules?: Array<PrometheusAlertRule>;
|
|
8448
|
+
/**
|
|
8449
|
+
* 当Level为instance时有效,
|
|
7582
8450
|
模板中的聚合规则列表
|
|
7583
8451
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7584
8452
|
*/
|
|
@@ -7626,12 +8494,7 @@ export interface PrometheusTemp {
|
|
|
7626
8494
|
模板中的告警配置列表
|
|
7627
8495
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7628
8496
|
*/
|
|
7629
|
-
AlertDetailRules?: Array<
|
|
7630
|
-
/**
|
|
7631
|
-
* 关联实例数目
|
|
7632
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7633
|
-
*/
|
|
7634
|
-
TargetsTotal?: number;
|
|
8497
|
+
AlertDetailRules?: Array<PrometheusAlertRuleDetail>;
|
|
7635
8498
|
}
|
|
7636
8499
|
/**
|
|
7637
8500
|
* 托管prometheus实例概览
|