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
|
@@ -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
|
*/
|
|
@@ -2782,6 +3135,10 @@ export interface ClusterCIDRSettings {
|
|
|
2782
3135
|
* VPC-CNI网络模式下,弹性网卡IP的回收时间,取值范围[300,15768000)
|
|
2783
3136
|
*/
|
|
2784
3137
|
ClaimExpiredSeconds?: number;
|
|
3138
|
+
/**
|
|
3139
|
+
* 是否忽略 ServiceCIDR 冲突错误, 仅在 VPC-CNI 模式生效,默认不忽略
|
|
3140
|
+
*/
|
|
3141
|
+
IgnoreServiceCIDRConflict?: boolean;
|
|
2785
3142
|
}
|
|
2786
3143
|
/**
|
|
2787
3144
|
* kubernetes Taint
|
|
@@ -2834,6 +3191,15 @@ export interface AddClusterCIDRRequest {
|
|
|
2834
3191
|
*/
|
|
2835
3192
|
IgnoreClusterCIDRConflict?: boolean;
|
|
2836
3193
|
}
|
|
3194
|
+
/**
|
|
3195
|
+
* DescribeEdgeClusterExtraArgs请求参数结构体
|
|
3196
|
+
*/
|
|
3197
|
+
export interface DescribeEdgeClusterExtraArgsRequest {
|
|
3198
|
+
/**
|
|
3199
|
+
* 集群ID
|
|
3200
|
+
*/
|
|
3201
|
+
ClusterId: string;
|
|
3202
|
+
}
|
|
2837
3203
|
/**
|
|
2838
3204
|
* DescribeClusters返回参数结构体
|
|
2839
3205
|
*/
|
|
@@ -3023,6 +3389,21 @@ export interface DescribeResourceUsageResponse {
|
|
|
3023
3389
|
*/
|
|
3024
3390
|
RequestId?: string;
|
|
3025
3391
|
}
|
|
3392
|
+
/**
|
|
3393
|
+
* 边缘计算集群内网访问LB信息
|
|
3394
|
+
*/
|
|
3395
|
+
export interface EdgeClusterInternalLB {
|
|
3396
|
+
/**
|
|
3397
|
+
* 是否开启内网访问LB
|
|
3398
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3399
|
+
*/
|
|
3400
|
+
Enabled: boolean;
|
|
3401
|
+
/**
|
|
3402
|
+
* 内网访问LB关联的子网Id
|
|
3403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3404
|
+
*/
|
|
3405
|
+
SubnetId?: Array<string>;
|
|
3406
|
+
}
|
|
3026
3407
|
/**
|
|
3027
3408
|
* DescribeClusterRoutes返回参数结构体
|
|
3028
3409
|
*/
|
|
@@ -3085,36 +3466,79 @@ export interface DeleteClusterAsGroupsResponse {
|
|
|
3085
3466
|
RequestId?: string;
|
|
3086
3467
|
}
|
|
3087
3468
|
/**
|
|
3088
|
-
*
|
|
3469
|
+
* 地域属性信息
|
|
3089
3470
|
*/
|
|
3090
|
-
export interface
|
|
3471
|
+
export interface RegionInstance {
|
|
3091
3472
|
/**
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
/**
|
|
3097
|
-
* DeletePrometheusTemplate请求参数结构体
|
|
3098
|
-
*/
|
|
3099
|
-
export interface DeletePrometheusTemplateRequest {
|
|
3473
|
+
* 地域名称
|
|
3474
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3475
|
+
*/
|
|
3476
|
+
RegionName: string;
|
|
3100
3477
|
/**
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
/**
|
|
3106
|
-
* DescribePrometheusTempSync返回参数结构体
|
|
3107
|
-
*/
|
|
3108
|
-
export interface DescribePrometheusTempSyncResponse {
|
|
3478
|
+
* 地域ID
|
|
3479
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3480
|
+
*/
|
|
3481
|
+
RegionId: number;
|
|
3109
3482
|
/**
|
|
3110
|
-
*
|
|
3483
|
+
* 地域状态
|
|
3111
3484
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3112
3485
|
*/
|
|
3113
|
-
|
|
3486
|
+
Status: string;
|
|
3114
3487
|
/**
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3488
|
+
* 地域特性开关(按照JSON的形式返回所有属性)
|
|
3489
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3490
|
+
*/
|
|
3491
|
+
FeatureGates: string;
|
|
3492
|
+
/**
|
|
3493
|
+
* 地域简称
|
|
3494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3495
|
+
*/
|
|
3496
|
+
Alias: string;
|
|
3497
|
+
/**
|
|
3498
|
+
* 地域白名单
|
|
3499
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3500
|
+
*/
|
|
3501
|
+
Remark: string;
|
|
3502
|
+
}
|
|
3503
|
+
/**
|
|
3504
|
+
* 加入存量节点时的节点池选项
|
|
3505
|
+
*/
|
|
3506
|
+
export interface NodePoolOption {
|
|
3507
|
+
/**
|
|
3508
|
+
* 是否加入节点池
|
|
3509
|
+
*/
|
|
3510
|
+
AddToNodePool?: boolean;
|
|
3511
|
+
/**
|
|
3512
|
+
* 节点池id
|
|
3513
|
+
*/
|
|
3514
|
+
NodePoolId?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
* 是否继承节点池相关配置
|
|
3517
|
+
*/
|
|
3518
|
+
InheritConfigurationFromNodePool?: boolean;
|
|
3519
|
+
}
|
|
3520
|
+
/**
|
|
3521
|
+
* DeletePrometheusTemplate请求参数结构体
|
|
3522
|
+
*/
|
|
3523
|
+
export interface DeletePrometheusTemplateRequest {
|
|
3524
|
+
/**
|
|
3525
|
+
* 模板id
|
|
3526
|
+
*/
|
|
3527
|
+
TemplateId: string;
|
|
3528
|
+
}
|
|
3529
|
+
/**
|
|
3530
|
+
* DescribePrometheusTempSync返回参数结构体
|
|
3531
|
+
*/
|
|
3532
|
+
export interface DescribePrometheusTempSyncResponse {
|
|
3533
|
+
/**
|
|
3534
|
+
* 同步目标详情
|
|
3535
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3536
|
+
*/
|
|
3537
|
+
Targets: Array<PrometheusTemplateSyncTarget>;
|
|
3538
|
+
/**
|
|
3539
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3540
|
+
*/
|
|
3541
|
+
RequestId?: string;
|
|
3118
3542
|
}
|
|
3119
3543
|
/**
|
|
3120
3544
|
* 集群信息结构体
|
|
@@ -3483,6 +3907,68 @@ export interface Capabilities {
|
|
|
3483
3907
|
*/
|
|
3484
3908
|
Drop?: Array<string>;
|
|
3485
3909
|
}
|
|
3910
|
+
/**
|
|
3911
|
+
* UpdateTKEEdgeCluster请求参数结构体
|
|
3912
|
+
*/
|
|
3913
|
+
export interface UpdateTKEEdgeClusterRequest {
|
|
3914
|
+
/**
|
|
3915
|
+
* 边缘计算集群ID
|
|
3916
|
+
*/
|
|
3917
|
+
ClusterId: string;
|
|
3918
|
+
/**
|
|
3919
|
+
* 边缘计算集群名称
|
|
3920
|
+
*/
|
|
3921
|
+
ClusterName?: string;
|
|
3922
|
+
/**
|
|
3923
|
+
* 边缘计算集群描述信息
|
|
3924
|
+
*/
|
|
3925
|
+
ClusterDesc?: string;
|
|
3926
|
+
/**
|
|
3927
|
+
* 边缘计算集群的pod cidr
|
|
3928
|
+
*/
|
|
3929
|
+
PodCIDR?: string;
|
|
3930
|
+
/**
|
|
3931
|
+
* 边缘计算集群的service cidr
|
|
3932
|
+
*/
|
|
3933
|
+
ServiceCIDR?: string;
|
|
3934
|
+
/**
|
|
3935
|
+
* 边缘计算集群公网访问LB信息
|
|
3936
|
+
*/
|
|
3937
|
+
PublicLB?: EdgeClusterPublicLB;
|
|
3938
|
+
/**
|
|
3939
|
+
* 边缘计算集群内网访问LB信息
|
|
3940
|
+
*/
|
|
3941
|
+
InternalLB?: EdgeClusterInternalLB;
|
|
3942
|
+
/**
|
|
3943
|
+
* 边缘计算集群的CoreDns部署信息
|
|
3944
|
+
*/
|
|
3945
|
+
CoreDns?: string;
|
|
3946
|
+
/**
|
|
3947
|
+
* 边缘计算集群的健康检查多地域部署信息
|
|
3948
|
+
*/
|
|
3949
|
+
HealthRegion?: string;
|
|
3950
|
+
/**
|
|
3951
|
+
* 边缘计算集群的健康检查部署信息
|
|
3952
|
+
*/
|
|
3953
|
+
Health?: string;
|
|
3954
|
+
/**
|
|
3955
|
+
* 边缘计算集群的GridDaemon部署信息
|
|
3956
|
+
*/
|
|
3957
|
+
GridDaemon?: string;
|
|
3958
|
+
}
|
|
3959
|
+
/**
|
|
3960
|
+
* DescribeTKEEdgeExternalKubeconfig返回参数结构体
|
|
3961
|
+
*/
|
|
3962
|
+
export interface DescribeTKEEdgeExternalKubeconfigResponse {
|
|
3963
|
+
/**
|
|
3964
|
+
* kubeconfig文件内容
|
|
3965
|
+
*/
|
|
3966
|
+
Kubeconfig?: string;
|
|
3967
|
+
/**
|
|
3968
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3969
|
+
*/
|
|
3970
|
+
RequestId?: string;
|
|
3971
|
+
}
|
|
3486
3972
|
/**
|
|
3487
3973
|
* CreateClusterInstances返回参数结构体
|
|
3488
3974
|
*/
|
|
@@ -3522,6 +4008,19 @@ export interface DescribeClusterRoutesRequest {
|
|
|
3522
4008
|
*/
|
|
3523
4009
|
Filters?: Array<Filter>;
|
|
3524
4010
|
}
|
|
4011
|
+
/**
|
|
4012
|
+
* DeleteECMInstances请求参数结构体
|
|
4013
|
+
*/
|
|
4014
|
+
export interface DeleteECMInstancesRequest {
|
|
4015
|
+
/**
|
|
4016
|
+
* 集群ID
|
|
4017
|
+
*/
|
|
4018
|
+
ClusterID: string;
|
|
4019
|
+
/**
|
|
4020
|
+
* ecm id集合
|
|
4021
|
+
*/
|
|
4022
|
+
EcmIdSet: Array<string>;
|
|
4023
|
+
}
|
|
3525
4024
|
/**
|
|
3526
4025
|
* 托管集群等级属性
|
|
3527
4026
|
*/
|
|
@@ -3637,6 +4136,23 @@ export interface DisableClusterAuditResponse {
|
|
|
3637
4136
|
*/
|
|
3638
4137
|
RequestId?: string;
|
|
3639
4138
|
}
|
|
4139
|
+
/**
|
|
4140
|
+
* RemoveNodeFromNodePool请求参数结构体
|
|
4141
|
+
*/
|
|
4142
|
+
export interface RemoveNodeFromNodePoolRequest {
|
|
4143
|
+
/**
|
|
4144
|
+
* 集群id
|
|
4145
|
+
*/
|
|
4146
|
+
ClusterId: string;
|
|
4147
|
+
/**
|
|
4148
|
+
* 节点池id
|
|
4149
|
+
*/
|
|
4150
|
+
NodePoolId: string;
|
|
4151
|
+
/**
|
|
4152
|
+
* 节点id列表,一次最多支持100台
|
|
4153
|
+
*/
|
|
4154
|
+
InstanceIds: Array<string>;
|
|
4155
|
+
}
|
|
3640
4156
|
/**
|
|
3641
4157
|
* DescribeClusterLevelChangeRecords请求参数结构体
|
|
3642
4158
|
*/
|
|
@@ -3739,6 +4255,28 @@ export interface CreateClusterNodePoolResponse {
|
|
|
3739
4255
|
*/
|
|
3740
4256
|
RequestId?: string;
|
|
3741
4257
|
}
|
|
4258
|
+
/**
|
|
4259
|
+
* 过滤器
|
|
4260
|
+
*/
|
|
4261
|
+
export interface Filter {
|
|
4262
|
+
/**
|
|
4263
|
+
* 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
4264
|
+
*/
|
|
4265
|
+
Name: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
|
4268
|
+
*/
|
|
4269
|
+
Values: Array<string>;
|
|
4270
|
+
}
|
|
4271
|
+
/**
|
|
4272
|
+
* UpdateTKEEdgeCluster返回参数结构体
|
|
4273
|
+
*/
|
|
4274
|
+
export interface UpdateTKEEdgeClusterResponse {
|
|
4275
|
+
/**
|
|
4276
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4277
|
+
*/
|
|
4278
|
+
RequestId?: string;
|
|
4279
|
+
}
|
|
3742
4280
|
/**
|
|
3743
4281
|
* 用以帮助用户自动创建EIP的配置
|
|
3744
4282
|
*/
|
|
@@ -4054,6 +4592,15 @@ export interface DNSConfig {
|
|
|
4054
4592
|
*/
|
|
4055
4593
|
Options?: Array<DNSConfigOption>;
|
|
4056
4594
|
}
|
|
4595
|
+
/**
|
|
4596
|
+
* DescribeTKEEdgeExternalKubeconfig请求参数结构体
|
|
4597
|
+
*/
|
|
4598
|
+
export interface DescribeTKEEdgeExternalKubeconfigRequest {
|
|
4599
|
+
/**
|
|
4600
|
+
* 集群id
|
|
4601
|
+
*/
|
|
4602
|
+
ClusterId: string;
|
|
4603
|
+
}
|
|
4057
4604
|
/**
|
|
4058
4605
|
* CreatePrometheusAlertPolicy返回参数结构体
|
|
4059
4606
|
*/
|
|
@@ -4083,78 +4630,21 @@ export interface DNSConfigOption {
|
|
|
4083
4630
|
Value: string;
|
|
4084
4631
|
}
|
|
4085
4632
|
/**
|
|
4086
|
-
*
|
|
4633
|
+
* AddNodeToNodePool请求参数结构体
|
|
4087
4634
|
*/
|
|
4088
|
-
export interface
|
|
4089
|
-
/**
|
|
4090
|
-
* 是否启用
|
|
4091
|
-
*/
|
|
4092
|
-
Enabled: boolean;
|
|
4635
|
+
export interface AddNodeToNodePoolRequest {
|
|
4093
4636
|
/**
|
|
4094
|
-
*
|
|
4637
|
+
* 集群id
|
|
4095
4638
|
*/
|
|
4096
|
-
|
|
4639
|
+
ClusterId: string;
|
|
4097
4640
|
/**
|
|
4098
|
-
*
|
|
4641
|
+
* 节点池id
|
|
4099
4642
|
*/
|
|
4100
|
-
|
|
4643
|
+
NodePoolId: string;
|
|
4101
4644
|
/**
|
|
4102
|
-
*
|
|
4645
|
+
* 节点id
|
|
4103
4646
|
*/
|
|
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;
|
|
4647
|
+
InstanceIds: Array<string>;
|
|
4158
4648
|
}
|
|
4159
4649
|
/**
|
|
4160
4650
|
* DescribeExternalClusterSpec请求参数结构体
|
|
@@ -4173,6 +4663,15 @@ export interface DescribeExternalClusterSpecRequest {
|
|
|
4173
4663
|
*/
|
|
4174
4664
|
IsRefreshExpirationTime?: boolean;
|
|
4175
4665
|
}
|
|
4666
|
+
/**
|
|
4667
|
+
* ModifyPrometheusGlobalNotification返回参数结构体
|
|
4668
|
+
*/
|
|
4669
|
+
export interface ModifyPrometheusGlobalNotificationResponse {
|
|
4670
|
+
/**
|
|
4671
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4672
|
+
*/
|
|
4673
|
+
RequestId?: string;
|
|
4674
|
+
}
|
|
4176
4675
|
/**
|
|
4177
4676
|
* 集群关联的伸缩组最大实例数最小值实例数
|
|
4178
4677
|
*/
|
|
@@ -4687,9 +5186,17 @@ export interface CreatePrometheusTemplateRequest {
|
|
|
4687
5186
|
Template: PrometheusTemplate;
|
|
4688
5187
|
}
|
|
4689
5188
|
/**
|
|
4690
|
-
*
|
|
5189
|
+
* DescribeEKSContainerInstances返回参数结构体
|
|
4691
5190
|
*/
|
|
4692
|
-
export interface
|
|
5191
|
+
export interface DescribeEKSContainerInstancesResponse {
|
|
5192
|
+
/**
|
|
5193
|
+
* 容器组总数
|
|
5194
|
+
*/
|
|
5195
|
+
TotalCount: number;
|
|
5196
|
+
/**
|
|
5197
|
+
* 容器组列表
|
|
5198
|
+
*/
|
|
5199
|
+
EksCis: Array<EksCi>;
|
|
4693
5200
|
/**
|
|
4694
5201
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4695
5202
|
*/
|
|
@@ -4709,17 +5216,17 @@ export interface CreatePrometheusAlertRuleResponse {
|
|
|
4709
5216
|
RequestId?: string;
|
|
4710
5217
|
}
|
|
4711
5218
|
/**
|
|
4712
|
-
*
|
|
5219
|
+
* ECM增强服务
|
|
4713
5220
|
*/
|
|
4714
|
-
export interface
|
|
5221
|
+
export interface ECMEnhancedService {
|
|
4715
5222
|
/**
|
|
4716
|
-
*
|
|
5223
|
+
* 是否开启云监控服务
|
|
4717
5224
|
*/
|
|
4718
|
-
|
|
5225
|
+
SecurityService?: ECMRunMonitorServiceEnabled;
|
|
4719
5226
|
/**
|
|
4720
|
-
*
|
|
5227
|
+
* 是否开启云镜服务
|
|
4721
5228
|
*/
|
|
4722
|
-
|
|
5229
|
+
MonitorService?: ECMRunSecurityServiceEnabled;
|
|
4723
5230
|
}
|
|
4724
5231
|
/**
|
|
4725
5232
|
* ModifyClusterAuthenticationOptions返回参数结构体
|
|
@@ -4731,57 +5238,46 @@ export interface ModifyClusterAuthenticationOptionsResponse {
|
|
|
4731
5238
|
RequestId?: string;
|
|
4732
5239
|
}
|
|
4733
5240
|
/**
|
|
4734
|
-
*
|
|
5241
|
+
* 集群创建过程
|
|
4735
5242
|
*/
|
|
4736
|
-
export interface
|
|
5243
|
+
export interface ClusterCondition {
|
|
4737
5244
|
/**
|
|
4738
|
-
*
|
|
5245
|
+
* 集群创建过程类型
|
|
4739
5246
|
*/
|
|
4740
|
-
|
|
5247
|
+
Type: string;
|
|
4741
5248
|
/**
|
|
4742
|
-
*
|
|
5249
|
+
* 集群创建过程状态
|
|
4743
5250
|
*/
|
|
4744
|
-
|
|
4745
|
-
}
|
|
4746
|
-
/**
|
|
4747
|
-
* Prometheus告警规则
|
|
4748
|
-
*/
|
|
4749
|
-
export interface PrometheusAlertRule {
|
|
5251
|
+
Status: string;
|
|
4750
5252
|
/**
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
* prometheus语句
|
|
4756
|
-
*/
|
|
4757
|
-
Rule: string;
|
|
4758
|
-
/**
|
|
4759
|
-
* 额外标签
|
|
4760
|
-
*/
|
|
4761
|
-
Labels: Array<Label>;
|
|
4762
|
-
/**
|
|
4763
|
-
* 告警发送模板
|
|
4764
|
-
*/
|
|
4765
|
-
Template: string;
|
|
4766
|
-
/**
|
|
4767
|
-
* 持续时间
|
|
4768
|
-
*/
|
|
4769
|
-
For: string;
|
|
5253
|
+
* 最后一次探测到该状态的时间
|
|
5254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5255
|
+
*/
|
|
5256
|
+
LastProbeTime: string;
|
|
4770
5257
|
/**
|
|
4771
|
-
*
|
|
5258
|
+
* 最后一次转换到该过程的时间
|
|
4772
5259
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4773
5260
|
*/
|
|
4774
|
-
|
|
5261
|
+
LastTransitionTime: string;
|
|
4775
5262
|
/**
|
|
4776
|
-
*
|
|
5263
|
+
* 转换到该过程的简明原因
|
|
4777
5264
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4778
5265
|
*/
|
|
4779
|
-
|
|
5266
|
+
Reason: string;
|
|
4780
5267
|
/**
|
|
4781
|
-
*
|
|
5268
|
+
* 转换到该过程的更多信息
|
|
4782
5269
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4783
5270
|
*/
|
|
4784
|
-
|
|
5271
|
+
Message: string;
|
|
5272
|
+
}
|
|
5273
|
+
/**
|
|
5274
|
+
* EnableEventPersistence返回参数结构体
|
|
5275
|
+
*/
|
|
5276
|
+
export interface EnableEventPersistenceResponse {
|
|
5277
|
+
/**
|
|
5278
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5279
|
+
*/
|
|
5280
|
+
RequestId?: string;
|
|
4785
5281
|
}
|
|
4786
5282
|
/**
|
|
4787
5283
|
* 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
|
|
@@ -4930,6 +5426,24 @@ export interface PrometheusNotificationItem {
|
|
|
4930
5426
|
*/
|
|
4931
5427
|
PhoneArriveNotice?: boolean;
|
|
4932
5428
|
}
|
|
5429
|
+
/**
|
|
5430
|
+
* DeleteEdgeClusterInstances返回参数结构体
|
|
5431
|
+
*/
|
|
5432
|
+
export interface DeleteEdgeClusterInstancesResponse {
|
|
5433
|
+
/**
|
|
5434
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5435
|
+
*/
|
|
5436
|
+
RequestId?: string;
|
|
5437
|
+
}
|
|
5438
|
+
/**
|
|
5439
|
+
* DeleteTKEEdgeCluster请求参数结构体
|
|
5440
|
+
*/
|
|
5441
|
+
export interface DeleteTKEEdgeClusterRequest {
|
|
5442
|
+
/**
|
|
5443
|
+
* 集群ID
|
|
5444
|
+
*/
|
|
5445
|
+
ClusterId: string;
|
|
5446
|
+
}
|
|
4933
5447
|
/**
|
|
4934
5448
|
* CreatePrometheusGlobalNotification返回参数结构体
|
|
4935
5449
|
*/
|
|
@@ -5138,6 +5652,14 @@ export interface CreateClusterNodePoolRequest {
|
|
|
5138
5652
|
* Taints互斥
|
|
5139
5653
|
*/
|
|
5140
5654
|
Taints?: Array<Taint>;
|
|
5655
|
+
/**
|
|
5656
|
+
* 节点池纬度运行时类型及版本
|
|
5657
|
+
*/
|
|
5658
|
+
ContainerRuntime?: string;
|
|
5659
|
+
/**
|
|
5660
|
+
* 运行时版本
|
|
5661
|
+
*/
|
|
5662
|
+
RuntimeVersion?: string;
|
|
5141
5663
|
/**
|
|
5142
5664
|
* 节点池os
|
|
5143
5665
|
*/
|
|
@@ -5151,6 +5673,28 @@ export interface CreateClusterNodePoolRequest {
|
|
|
5151
5673
|
*/
|
|
5152
5674
|
Tags?: Array<Tag>;
|
|
5153
5675
|
}
|
|
5676
|
+
/**
|
|
5677
|
+
* CheckEdgeClusterCIDR返回参数结构体
|
|
5678
|
+
*/
|
|
5679
|
+
export interface CheckEdgeClusterCIDRResponse {
|
|
5680
|
+
/**
|
|
5681
|
+
* 返回码,具体如下
|
|
5682
|
+
-1 内部错误
|
|
5683
|
+
0 没冲突
|
|
5684
|
+
1 vpc 和 serviceCIDR 冲突
|
|
5685
|
+
2 vpc 和 podCIDR 冲突
|
|
5686
|
+
3 serviceCIDR 和 podCIDR 冲突
|
|
5687
|
+
*/
|
|
5688
|
+
ConflictCode?: number;
|
|
5689
|
+
/**
|
|
5690
|
+
* CIDR冲突描述信息。
|
|
5691
|
+
*/
|
|
5692
|
+
ConflictMsg?: string;
|
|
5693
|
+
/**
|
|
5694
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5695
|
+
*/
|
|
5696
|
+
RequestId?: string;
|
|
5697
|
+
}
|
|
5154
5698
|
/**
|
|
5155
5699
|
* DescribePrometheusClusterAgents请求参数结构体
|
|
5156
5700
|
*/
|
|
@@ -5168,6 +5712,36 @@ export interface DescribePrometheusClusterAgentsRequest {
|
|
|
5168
5712
|
*/
|
|
5169
5713
|
Limit?: number;
|
|
5170
5714
|
}
|
|
5715
|
+
/**
|
|
5716
|
+
* 边缘容器参数描述
|
|
5717
|
+
*/
|
|
5718
|
+
export interface EdgeArgsFlag {
|
|
5719
|
+
/**
|
|
5720
|
+
* 参数名
|
|
5721
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5722
|
+
*/
|
|
5723
|
+
Name?: string;
|
|
5724
|
+
/**
|
|
5725
|
+
* 参数类型
|
|
5726
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5727
|
+
*/
|
|
5728
|
+
Type?: string;
|
|
5729
|
+
/**
|
|
5730
|
+
* 参数描述
|
|
5731
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5732
|
+
*/
|
|
5733
|
+
Usage?: string;
|
|
5734
|
+
/**
|
|
5735
|
+
* 参数默认值
|
|
5736
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5737
|
+
*/
|
|
5738
|
+
Default?: string;
|
|
5739
|
+
/**
|
|
5740
|
+
* 参数可选范围(目前包含range和in两种,"[]"代表range,如"[1, 5]"表示参数必须>=1且 <=5, "()"代表in, 如"('aa', 'bb')"表示参数只能为字符串'aa'或者'bb',该参数为空表示不校验)
|
|
5741
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5742
|
+
*/
|
|
5743
|
+
Constraint?: string;
|
|
5744
|
+
}
|
|
5171
5745
|
/**
|
|
5172
5746
|
* CheckInstancesUpgradeAble返回参数结构体
|
|
5173
5747
|
*/
|
|
@@ -5287,6 +5861,59 @@ export interface UninstallLogAgentResponse {
|
|
|
5287
5861
|
*/
|
|
5288
5862
|
RequestId?: string;
|
|
5289
5863
|
}
|
|
5864
|
+
/**
|
|
5865
|
+
* CreateECMInstances请求参数结构体
|
|
5866
|
+
*/
|
|
5867
|
+
export interface CreateECMInstancesRequest {
|
|
5868
|
+
/**
|
|
5869
|
+
* 集群id
|
|
5870
|
+
*/
|
|
5871
|
+
ClusterID: string;
|
|
5872
|
+
/**
|
|
5873
|
+
* 模块id
|
|
5874
|
+
*/
|
|
5875
|
+
ModuleId: string;
|
|
5876
|
+
/**
|
|
5877
|
+
* 需要创建实例的可用区及创建数目及运营商的列表
|
|
5878
|
+
*/
|
|
5879
|
+
ZoneInstanceCountISPSet: Array<ECMZoneInstanceCountISP>;
|
|
5880
|
+
/**
|
|
5881
|
+
* 密码
|
|
5882
|
+
*/
|
|
5883
|
+
Password?: string;
|
|
5884
|
+
/**
|
|
5885
|
+
* 公网带宽
|
|
5886
|
+
*/
|
|
5887
|
+
InternetMaxBandwidthOut?: number;
|
|
5888
|
+
/**
|
|
5889
|
+
* 镜像id
|
|
5890
|
+
*/
|
|
5891
|
+
ImageId?: string;
|
|
5892
|
+
/**
|
|
5893
|
+
* 实例名称
|
|
5894
|
+
*/
|
|
5895
|
+
InstanceName?: string;
|
|
5896
|
+
/**
|
|
5897
|
+
* 主机名称
|
|
5898
|
+
*/
|
|
5899
|
+
HostName?: string;
|
|
5900
|
+
/**
|
|
5901
|
+
* 增强服务,包括云镜和云监控
|
|
5902
|
+
*/
|
|
5903
|
+
EnhancedService?: ECMEnhancedService;
|
|
5904
|
+
/**
|
|
5905
|
+
* 用户自定义脚本
|
|
5906
|
+
*/
|
|
5907
|
+
UserData?: string;
|
|
5908
|
+
/**
|
|
5909
|
+
* 实例扩展信息
|
|
5910
|
+
*/
|
|
5911
|
+
External?: string;
|
|
5912
|
+
/**
|
|
5913
|
+
* 实例所属安全组
|
|
5914
|
+
*/
|
|
5915
|
+
SecurityGroupIds?: Array<string>;
|
|
5916
|
+
}
|
|
5290
5917
|
/**
|
|
5291
5918
|
* CreatePrometheusTemp返回参数结构体
|
|
5292
5919
|
*/
|
|
@@ -5353,6 +5980,15 @@ export interface DescribeClusterAsGroupsRequest {
|
|
|
5353
5980
|
*/
|
|
5354
5981
|
Limit?: number;
|
|
5355
5982
|
}
|
|
5983
|
+
/**
|
|
5984
|
+
* ECM云监控服务
|
|
5985
|
+
*/
|
|
5986
|
+
export interface ECMRunMonitorServiceEnabled {
|
|
5987
|
+
/**
|
|
5988
|
+
* 是否开启
|
|
5989
|
+
*/
|
|
5990
|
+
Enabled?: boolean;
|
|
5991
|
+
}
|
|
5356
5992
|
/**
|
|
5357
5993
|
* SyncPrometheusTemp请求参数结构体
|
|
5358
5994
|
*/
|
|
@@ -5375,6 +6011,28 @@ export interface ModifyClusterEndpointSPResponse {
|
|
|
5375
6011
|
*/
|
|
5376
6012
|
RequestId?: string;
|
|
5377
6013
|
}
|
|
6014
|
+
/**
|
|
6015
|
+
* ECM云镜服务
|
|
6016
|
+
*/
|
|
6017
|
+
export interface ECMRunSecurityServiceEnabled {
|
|
6018
|
+
/**
|
|
6019
|
+
* 是否开启
|
|
6020
|
+
*/
|
|
6021
|
+
Enabled?: boolean;
|
|
6022
|
+
/**
|
|
6023
|
+
* 云镜版本:0 基础版,1 专业版
|
|
6024
|
+
*/
|
|
6025
|
+
Version?: number;
|
|
6026
|
+
}
|
|
6027
|
+
/**
|
|
6028
|
+
* SyncPrometheusTemplate返回参数结构体
|
|
6029
|
+
*/
|
|
6030
|
+
export interface SyncPrometheusTemplateResponse {
|
|
6031
|
+
/**
|
|
6032
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6033
|
+
*/
|
|
6034
|
+
RequestId?: string;
|
|
6035
|
+
}
|
|
5378
6036
|
/**
|
|
5379
6037
|
* 集群伸缩组属性
|
|
5380
6038
|
*/
|
|
@@ -5506,6 +6164,48 @@ export interface CreateEKSContainerInstancesRequest {
|
|
|
5506
6164
|
*/
|
|
5507
6165
|
CamRoleName?: string;
|
|
5508
6166
|
}
|
|
6167
|
+
/**
|
|
6168
|
+
* DescribeTKEEdgeClusterCredential返回参数结构体
|
|
6169
|
+
*/
|
|
6170
|
+
export interface DescribeTKEEdgeClusterCredentialResponse {
|
|
6171
|
+
/**
|
|
6172
|
+
* 集群的接入地址信息
|
|
6173
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6174
|
+
*/
|
|
6175
|
+
Addresses: Array<IPAddress>;
|
|
6176
|
+
/**
|
|
6177
|
+
* 集群的认证信息
|
|
6178
|
+
*/
|
|
6179
|
+
Credential: ClusterCredential;
|
|
6180
|
+
/**
|
|
6181
|
+
* 集群的公网访问信息
|
|
6182
|
+
*/
|
|
6183
|
+
PublicLB: EdgeClusterPublicLB;
|
|
6184
|
+
/**
|
|
6185
|
+
* 集群的内网访问信息
|
|
6186
|
+
*/
|
|
6187
|
+
InternalLB: EdgeClusterInternalLB;
|
|
6188
|
+
/**
|
|
6189
|
+
* 集群的CoreDns部署信息
|
|
6190
|
+
*/
|
|
6191
|
+
CoreDns: string;
|
|
6192
|
+
/**
|
|
6193
|
+
* 集群的健康检查多地域部署信息
|
|
6194
|
+
*/
|
|
6195
|
+
HealthRegion: string;
|
|
6196
|
+
/**
|
|
6197
|
+
* 集群的健康检查部署信息
|
|
6198
|
+
*/
|
|
6199
|
+
Health: string;
|
|
6200
|
+
/**
|
|
6201
|
+
* 是否部署GridDaemon以支持headless service
|
|
6202
|
+
*/
|
|
6203
|
+
GridDaemon: string;
|
|
6204
|
+
/**
|
|
6205
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6206
|
+
*/
|
|
6207
|
+
RequestId?: string;
|
|
6208
|
+
}
|
|
5509
6209
|
/**
|
|
5510
6210
|
* 描述了k8s集群相关配置与信息。
|
|
5511
6211
|
*/
|
|
@@ -5555,6 +6255,11 @@ export interface InstanceAdvancedSettings {
|
|
|
5555
6255
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5556
6256
|
*/
|
|
5557
6257
|
PreStartUserScript: string;
|
|
6258
|
+
/**
|
|
6259
|
+
* 节点污点
|
|
6260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6261
|
+
*/
|
|
6262
|
+
Taints: Array<Taint>;
|
|
5558
6263
|
}
|
|
5559
6264
|
/**
|
|
5560
6265
|
* ModifyClusterAsGroupAttribute请求参数结构体
|
|
@@ -5775,6 +6480,47 @@ export interface UpdateEKSClusterRequest {
|
|
|
5775
6480
|
*/
|
|
5776
6481
|
ExtraParam?: string;
|
|
5777
6482
|
}
|
|
6483
|
+
/**
|
|
6484
|
+
* CreateTKEEdgeCluster请求参数结构体
|
|
6485
|
+
*/
|
|
6486
|
+
export interface CreateTKEEdgeClusterRequest {
|
|
6487
|
+
/**
|
|
6488
|
+
* k8s版本号
|
|
6489
|
+
*/
|
|
6490
|
+
K8SVersion: string;
|
|
6491
|
+
/**
|
|
6492
|
+
* vpc 的Id
|
|
6493
|
+
*/
|
|
6494
|
+
VpcId: string;
|
|
6495
|
+
/**
|
|
6496
|
+
* 集群名称
|
|
6497
|
+
*/
|
|
6498
|
+
ClusterName: string;
|
|
6499
|
+
/**
|
|
6500
|
+
* 集群pod cidr
|
|
6501
|
+
*/
|
|
6502
|
+
PodCIDR: string;
|
|
6503
|
+
/**
|
|
6504
|
+
* 集群service cidr
|
|
6505
|
+
*/
|
|
6506
|
+
ServiceCIDR: string;
|
|
6507
|
+
/**
|
|
6508
|
+
* 集群描述信息
|
|
6509
|
+
*/
|
|
6510
|
+
ClusterDesc?: string;
|
|
6511
|
+
/**
|
|
6512
|
+
* 集群高级设置
|
|
6513
|
+
*/
|
|
6514
|
+
ClusterAdvancedSettings?: EdgeClusterAdvancedSettings;
|
|
6515
|
+
/**
|
|
6516
|
+
* 节点上最大Pod数量
|
|
6517
|
+
*/
|
|
6518
|
+
MaxNodePodNum?: number;
|
|
6519
|
+
/**
|
|
6520
|
+
* 边缘计算集群公网访问LB信息
|
|
6521
|
+
*/
|
|
6522
|
+
PublicLB?: EdgeClusterPublicLB;
|
|
6523
|
+
}
|
|
5778
6524
|
/**
|
|
5779
6525
|
* CreateEKSCluster返回参数结构体
|
|
5780
6526
|
*/
|
|
@@ -5811,6 +6557,19 @@ export interface Exec {
|
|
|
5811
6557
|
*/
|
|
5812
6558
|
Commands?: Array<string>;
|
|
5813
6559
|
}
|
|
6560
|
+
/**
|
|
6561
|
+
* DescribeAvailableTKEEdgeVersion返回参数结构体
|
|
6562
|
+
*/
|
|
6563
|
+
export interface DescribeAvailableTKEEdgeVersionResponse {
|
|
6564
|
+
/**
|
|
6565
|
+
* 版本列表
|
|
6566
|
+
*/
|
|
6567
|
+
Versions?: Array<string>;
|
|
6568
|
+
/**
|
|
6569
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6570
|
+
*/
|
|
6571
|
+
RequestId?: string;
|
|
6572
|
+
}
|
|
5814
6573
|
/**
|
|
5815
6574
|
* DeletePrometheusAlertPolicy返回参数结构体
|
|
5816
6575
|
*/
|
|
@@ -5820,6 +6579,31 @@ export interface DeletePrometheusAlertPolicyResponse {
|
|
|
5820
6579
|
*/
|
|
5821
6580
|
RequestId?: string;
|
|
5822
6581
|
}
|
|
6582
|
+
/**
|
|
6583
|
+
* 边缘容器集群可用的自定义参数
|
|
6584
|
+
*/
|
|
6585
|
+
export interface EdgeAvailableExtraArgs {
|
|
6586
|
+
/**
|
|
6587
|
+
* kube-apiserver可用的自定义参数
|
|
6588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6589
|
+
*/
|
|
6590
|
+
KubeAPIServer?: Array<EdgeArgsFlag>;
|
|
6591
|
+
/**
|
|
6592
|
+
* kube-controller-manager可用的自定义参数
|
|
6593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6594
|
+
*/
|
|
6595
|
+
KubeControllerManager?: Array<EdgeArgsFlag>;
|
|
6596
|
+
/**
|
|
6597
|
+
* kube-scheduler可用的自定义参数
|
|
6598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6599
|
+
*/
|
|
6600
|
+
KubeScheduler?: Array<EdgeArgsFlag>;
|
|
6601
|
+
/**
|
|
6602
|
+
* kubelet可用的自定义参数
|
|
6603
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6604
|
+
*/
|
|
6605
|
+
Kubelet?: Array<EdgeArgsFlag>;
|
|
6606
|
+
}
|
|
5823
6607
|
/**
|
|
5824
6608
|
* IP 地址
|
|
5825
6609
|
*/
|
|
@@ -5837,6 +6621,15 @@ export interface IPAddress {
|
|
|
5837
6621
|
*/
|
|
5838
6622
|
Port: number;
|
|
5839
6623
|
}
|
|
6624
|
+
/**
|
|
6625
|
+
* DescribeTKEEdgeClusterCredential请求参数结构体
|
|
6626
|
+
*/
|
|
6627
|
+
export interface DescribeTKEEdgeClusterCredentialRequest {
|
|
6628
|
+
/**
|
|
6629
|
+
* 集群Id
|
|
6630
|
+
*/
|
|
6631
|
+
ClusterId: string;
|
|
6632
|
+
}
|
|
5840
6633
|
/**
|
|
5841
6634
|
* 自动变配集群等级
|
|
5842
6635
|
*/
|
|
@@ -5949,10 +6742,37 @@ export interface CreateClusterRouteResponse {
|
|
|
5949
6742
|
*/
|
|
5950
6743
|
RequestId?: string;
|
|
5951
6744
|
}
|
|
6745
|
+
/**
|
|
6746
|
+
* CreateClusterNodePoolFromExistingAsg返回参数结构体
|
|
6747
|
+
*/
|
|
6748
|
+
export interface CreateClusterNodePoolFromExistingAsgResponse {
|
|
6749
|
+
/**
|
|
6750
|
+
* 节点池ID
|
|
6751
|
+
*/
|
|
6752
|
+
NodePoolId?: string;
|
|
6753
|
+
/**
|
|
6754
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6755
|
+
*/
|
|
6756
|
+
RequestId?: string;
|
|
6757
|
+
}
|
|
5952
6758
|
/**
|
|
5953
6759
|
* DescribeEKSContainerInstanceRegions请求参数结构体
|
|
5954
6760
|
*/
|
|
5955
6761
|
export declare type DescribeEKSContainerInstanceRegionsRequest = null;
|
|
6762
|
+
/**
|
|
6763
|
+
* DescribeECMInstances请求参数结构体
|
|
6764
|
+
*/
|
|
6765
|
+
export interface DescribeECMInstancesRequest {
|
|
6766
|
+
/**
|
|
6767
|
+
* 集群id
|
|
6768
|
+
*/
|
|
6769
|
+
ClusterID: string;
|
|
6770
|
+
/**
|
|
6771
|
+
* 过滤条件
|
|
6772
|
+
仅支持ecm-id过滤
|
|
6773
|
+
*/
|
|
6774
|
+
Filters?: Array<Filter>;
|
|
6775
|
+
}
|
|
5956
6776
|
/**
|
|
5957
6777
|
* DescribeVpcCniPodLimits返回参数结构体
|
|
5958
6778
|
*/
|
|
@@ -6018,13 +6838,44 @@ export interface CreateClusterNodePoolFromExistingAsgRequest {
|
|
|
6018
6838
|
AutoscalingGroupId: string;
|
|
6019
6839
|
}
|
|
6020
6840
|
/**
|
|
6021
|
-
*
|
|
6841
|
+
* Prometheus告警规则
|
|
6022
6842
|
*/
|
|
6023
|
-
export interface
|
|
6843
|
+
export interface PrometheusAlertRule {
|
|
6024
6844
|
/**
|
|
6025
|
-
*
|
|
6845
|
+
* 规则名称
|
|
6026
6846
|
*/
|
|
6027
|
-
|
|
6847
|
+
Name: string;
|
|
6848
|
+
/**
|
|
6849
|
+
* prometheus语句
|
|
6850
|
+
*/
|
|
6851
|
+
Rule: string;
|
|
6852
|
+
/**
|
|
6853
|
+
* 额外标签
|
|
6854
|
+
*/
|
|
6855
|
+
Labels: Array<Label>;
|
|
6856
|
+
/**
|
|
6857
|
+
* 告警发送模板
|
|
6858
|
+
*/
|
|
6859
|
+
Template: string;
|
|
6860
|
+
/**
|
|
6861
|
+
* 持续时间
|
|
6862
|
+
*/
|
|
6863
|
+
For: string;
|
|
6864
|
+
/**
|
|
6865
|
+
* 该条规则的描述信息
|
|
6866
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6867
|
+
*/
|
|
6868
|
+
Describe?: string;
|
|
6869
|
+
/**
|
|
6870
|
+
* 参考prometheus rule中的annotations
|
|
6871
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6872
|
+
*/
|
|
6873
|
+
Annotations?: Array<Label>;
|
|
6874
|
+
/**
|
|
6875
|
+
* 告警规则状态
|
|
6876
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6877
|
+
*/
|
|
6878
|
+
RuleState?: number;
|
|
6028
6879
|
}
|
|
6029
6880
|
/**
|
|
6030
6881
|
* 集群网络相关的参数
|
|
@@ -6073,6 +6924,11 @@ export interface ClusterNetworkSettings {
|
|
|
6073
6924
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6074
6925
|
*/
|
|
6075
6926
|
Subnets: Array<string>;
|
|
6927
|
+
/**
|
|
6928
|
+
* 是否忽略 ServiceCIDR 冲突错误, 仅在 VPC-CNI 模式生效,默认不忽略
|
|
6929
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6930
|
+
*/
|
|
6931
|
+
IgnoreServiceCIDRConflict: boolean;
|
|
6076
6932
|
}
|
|
6077
6933
|
/**
|
|
6078
6934
|
* DescribeImages返回参数结构体
|
|
@@ -6119,13 +6975,14 @@ export interface ClusterExtraArgs {
|
|
|
6119
6975
|
Etcd?: Array<string>;
|
|
6120
6976
|
}
|
|
6121
6977
|
/**
|
|
6122
|
-
*
|
|
6123
|
-
*/
|
|
6124
|
-
export interface
|
|
6125
|
-
/**
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6978
|
+
* 边缘容器集群高级配置
|
|
6979
|
+
*/
|
|
6980
|
+
export interface EdgeClusterAdvancedSettings {
|
|
6981
|
+
/**
|
|
6982
|
+
* 集群自定义参数
|
|
6983
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6984
|
+
*/
|
|
6985
|
+
ExtraArgs?: EdgeClusterExtraArgs;
|
|
6129
6986
|
}
|
|
6130
6987
|
/**
|
|
6131
6988
|
* CreateClusterEndpointVip返回参数结构体
|
|
@@ -6173,17 +7030,21 @@ export interface TaskStepInfo {
|
|
|
6173
7030
|
FailedMsg: string;
|
|
6174
7031
|
}
|
|
6175
7032
|
/**
|
|
6176
|
-
*
|
|
7033
|
+
* ECM实例可用区及对应的实例创建数目及运营商的组合
|
|
6177
7034
|
*/
|
|
6178
|
-
export interface
|
|
7035
|
+
export interface ECMZoneInstanceCountISP {
|
|
6179
7036
|
/**
|
|
6180
|
-
*
|
|
7037
|
+
* 创建实例的可用区
|
|
6181
7038
|
*/
|
|
6182
|
-
|
|
7039
|
+
Zone: string;
|
|
6183
7040
|
/**
|
|
6184
|
-
*
|
|
7041
|
+
* 在当前可用区欲创建的实例数目
|
|
6185
7042
|
*/
|
|
6186
|
-
|
|
7043
|
+
InstanceCount: number;
|
|
7044
|
+
/**
|
|
7045
|
+
* 运营商
|
|
7046
|
+
*/
|
|
7047
|
+
ISP: string;
|
|
6187
7048
|
}
|
|
6188
7049
|
/**
|
|
6189
7050
|
* DescribeRouteTableConflicts请求参数结构体
|
|
@@ -6263,7 +7124,7 @@ export interface ClusterBasicSettings {
|
|
|
6263
7124
|
/**
|
|
6264
7125
|
* 模板实例
|
|
6265
7126
|
*/
|
|
6266
|
-
export interface
|
|
7127
|
+
export interface PrometheusTemp {
|
|
6267
7128
|
/**
|
|
6268
7129
|
* 模板名称
|
|
6269
7130
|
*/
|
|
@@ -6281,12 +7142,6 @@ export interface PrometheusTemplate {
|
|
|
6281
7142
|
Describe?: string;
|
|
6282
7143
|
/**
|
|
6283
7144
|
* 当Level为instance时有效,
|
|
6284
|
-
模板中的告警配置列表
|
|
6285
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6286
|
-
*/
|
|
6287
|
-
AlertRules?: Array<PrometheusAlertRule>;
|
|
6288
|
-
/**
|
|
6289
|
-
* 当Level为instance时有效,
|
|
6290
7145
|
模板中的聚合规则列表
|
|
6291
7146
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6292
7147
|
*/
|
|
@@ -6334,7 +7189,12 @@ export interface PrometheusTemplate {
|
|
|
6334
7189
|
模板中的告警配置列表
|
|
6335
7190
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6336
7191
|
*/
|
|
6337
|
-
AlertDetailRules?: Array<
|
|
7192
|
+
AlertDetailRules?: Array<PrometheusAlertPolicyItem>;
|
|
7193
|
+
/**
|
|
7194
|
+
* 关联实例数目
|
|
7195
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7196
|
+
*/
|
|
7197
|
+
TargetsTotal?: number;
|
|
6338
7198
|
}
|
|
6339
7199
|
/**
|
|
6340
7200
|
* CVM实例数据盘挂载配置
|
|
@@ -6463,79 +7323,17 @@ export interface ClusterInternalLB {
|
|
|
6463
7323
|
SubnetId?: string;
|
|
6464
7324
|
}
|
|
6465
7325
|
/**
|
|
6466
|
-
*
|
|
7326
|
+
* CreateECMInstances返回参数结构体
|
|
6467
7327
|
*/
|
|
6468
|
-
export interface
|
|
6469
|
-
/**
|
|
6470
|
-
* 实例是否支持加入集群(TRUE 可以加入 FALSE 不能加入)。
|
|
6471
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6472
|
-
*/
|
|
6473
|
-
Usable: boolean;
|
|
6474
|
-
/**
|
|
6475
|
-
* 实例不支持加入的原因。
|
|
6476
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6477
|
-
*/
|
|
6478
|
-
UnusableReason: string;
|
|
7328
|
+
export interface CreateECMInstancesResponse {
|
|
6479
7329
|
/**
|
|
6480
|
-
|
|
6481
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6482
|
-
*/
|
|
6483
|
-
AlreadyInCluster: string;
|
|
6484
|
-
/**
|
|
6485
|
-
* 实例ID形如:ins-xxxxxxxx。
|
|
7330
|
+
* ecm id 列表
|
|
6486
7331
|
*/
|
|
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;
|
|
7332
|
+
EcmIdSet?: Array<string>;
|
|
6529
7333
|
/**
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
AutoscalingGroupId: string;
|
|
6534
|
-
/**
|
|
6535
|
-
* 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。
|
|
6536
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6537
|
-
*/
|
|
6538
|
-
InstanceChargeType: string;
|
|
7334
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7335
|
+
*/
|
|
7336
|
+
RequestId?: string;
|
|
6539
7337
|
}
|
|
6540
7338
|
/**
|
|
6541
7339
|
* ModifyPrometheusGlobalNotification请求参数结构体
|
|
@@ -6577,22 +7375,55 @@ export interface UpdateEKSClusterResponse {
|
|
|
6577
7375
|
RequestId?: string;
|
|
6578
7376
|
}
|
|
6579
7377
|
/**
|
|
6580
|
-
*
|
|
7378
|
+
* DescribeEdgeCVMInstances返回参数结构体
|
|
6581
7379
|
*/
|
|
6582
|
-
export interface
|
|
7380
|
+
export interface DescribeEdgeCVMInstancesResponse {
|
|
6583
7381
|
/**
|
|
6584
|
-
*
|
|
7382
|
+
* 返回的实例相关信息列表的长度
|
|
6585
7383
|
*/
|
|
6586
|
-
|
|
7384
|
+
TotalCount?: number;
|
|
6587
7385
|
/**
|
|
6588
|
-
*
|
|
7386
|
+
* 返回的实例相关信息列表
|
|
6589
7387
|
*/
|
|
6590
|
-
|
|
7388
|
+
InstanceInfoSet?: Array<string>;
|
|
6591
7389
|
/**
|
|
6592
7390
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6593
7391
|
*/
|
|
6594
7392
|
RequestId?: string;
|
|
6595
7393
|
}
|
|
7394
|
+
/**
|
|
7395
|
+
* 服务事件
|
|
7396
|
+
*/
|
|
7397
|
+
export interface Event {
|
|
7398
|
+
/**
|
|
7399
|
+
* pod名称
|
|
7400
|
+
*/
|
|
7401
|
+
PodName: string;
|
|
7402
|
+
/**
|
|
7403
|
+
* 事件原因内容
|
|
7404
|
+
*/
|
|
7405
|
+
Reason: string;
|
|
7406
|
+
/**
|
|
7407
|
+
* 事件类型
|
|
7408
|
+
*/
|
|
7409
|
+
Type: string;
|
|
7410
|
+
/**
|
|
7411
|
+
* 事件出现次数
|
|
7412
|
+
*/
|
|
7413
|
+
Count: number;
|
|
7414
|
+
/**
|
|
7415
|
+
* 事件第一次出现时间
|
|
7416
|
+
*/
|
|
7417
|
+
FirstTimestamp: string;
|
|
7418
|
+
/**
|
|
7419
|
+
* 事件最后一次出现时间
|
|
7420
|
+
*/
|
|
7421
|
+
LastTimestamp: string;
|
|
7422
|
+
/**
|
|
7423
|
+
* 事件内容
|
|
7424
|
+
*/
|
|
7425
|
+
Message: string;
|
|
7426
|
+
}
|
|
6596
7427
|
/**
|
|
6597
7428
|
* DeleteClusterNodePool返回参数结构体
|
|
6598
7429
|
*/
|
|
@@ -6611,6 +7442,15 @@ export interface DeleteClusterRouteResponse {
|
|
|
6611
7442
|
*/
|
|
6612
7443
|
RequestId?: string;
|
|
6613
7444
|
}
|
|
7445
|
+
/**
|
|
7446
|
+
* DeleteEdgeCVMInstances返回参数结构体
|
|
7447
|
+
*/
|
|
7448
|
+
export interface DeleteEdgeCVMInstancesResponse {
|
|
7449
|
+
/**
|
|
7450
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7451
|
+
*/
|
|
7452
|
+
RequestId?: string;
|
|
7453
|
+
}
|
|
6614
7454
|
/**
|
|
6615
7455
|
* ModifyClusterNodePool返回参数结构体
|
|
6616
7456
|
*/
|
|
@@ -6710,6 +7550,23 @@ export interface LoginSettings {
|
|
|
6710
7550
|
*/
|
|
6711
7551
|
KeepImageLogin?: string;
|
|
6712
7552
|
}
|
|
7553
|
+
/**
|
|
7554
|
+
* DescribePrometheusTemp返回参数结构体
|
|
7555
|
+
*/
|
|
7556
|
+
export interface DescribePrometheusTempResponse {
|
|
7557
|
+
/**
|
|
7558
|
+
* 模板列表
|
|
7559
|
+
*/
|
|
7560
|
+
Templates: Array<PrometheusTemp>;
|
|
7561
|
+
/**
|
|
7562
|
+
* 总数
|
|
7563
|
+
*/
|
|
7564
|
+
Total: number;
|
|
7565
|
+
/**
|
|
7566
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7567
|
+
*/
|
|
7568
|
+
RequestId?: string;
|
|
7569
|
+
}
|
|
6713
7570
|
/**
|
|
6714
7571
|
* SyncPrometheusTemplate请求参数结构体
|
|
6715
7572
|
*/
|
|
@@ -6817,23 +7674,6 @@ export interface DescribePrometheusTempRequest {
|
|
|
6817
7674
|
*/
|
|
6818
7675
|
Limit?: number;
|
|
6819
7676
|
}
|
|
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
7677
|
/**
|
|
6838
7678
|
* DeleteClusterRouteTable请求参数结构体
|
|
6839
7679
|
*/
|
|
@@ -6912,6 +7752,23 @@ export interface DeletePrometheusTemplateResponse {
|
|
|
6912
7752
|
*/
|
|
6913
7753
|
RequestId?: string;
|
|
6914
7754
|
}
|
|
7755
|
+
/**
|
|
7756
|
+
* DescribeECMInstances返回参数结构体
|
|
7757
|
+
*/
|
|
7758
|
+
export interface DescribeECMInstancesResponse {
|
|
7759
|
+
/**
|
|
7760
|
+
* 返回的实例相关信息列表的长度
|
|
7761
|
+
*/
|
|
7762
|
+
TotalCount?: number;
|
|
7763
|
+
/**
|
|
7764
|
+
* 返回的实例相关信息列表
|
|
7765
|
+
*/
|
|
7766
|
+
InstanceInfoSet?: Array<string>;
|
|
7767
|
+
/**
|
|
7768
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7769
|
+
*/
|
|
7770
|
+
RequestId?: string;
|
|
7771
|
+
}
|
|
6915
7772
|
/**
|
|
6916
7773
|
* DescribePrometheusInstance请求参数结构体
|
|
6917
7774
|
*/
|
|
@@ -6922,21 +7779,37 @@ export interface DescribePrometheusInstanceRequest {
|
|
|
6922
7779
|
InstanceId: string;
|
|
6923
7780
|
}
|
|
6924
7781
|
/**
|
|
6925
|
-
*
|
|
7782
|
+
* DeletePrometheusAlertRule请求参数结构体
|
|
6926
7783
|
*/
|
|
6927
|
-
export interface
|
|
7784
|
+
export interface DeletePrometheusAlertRuleRequest {
|
|
6928
7785
|
/**
|
|
6929
|
-
*
|
|
7786
|
+
* 实例id
|
|
6930
7787
|
*/
|
|
6931
|
-
|
|
7788
|
+
InstanceId: string;
|
|
6932
7789
|
/**
|
|
6933
|
-
*
|
|
7790
|
+
* 告警规则id列表
|
|
6934
7791
|
*/
|
|
6935
|
-
|
|
7792
|
+
AlertIds: Array<string>;
|
|
7793
|
+
}
|
|
7794
|
+
/**
|
|
7795
|
+
* 边缘容器集群master自定义参数
|
|
7796
|
+
*/
|
|
7797
|
+
export interface EdgeClusterExtraArgs {
|
|
6936
7798
|
/**
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
7799
|
+
* kube-apiserver自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
|
|
7800
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7801
|
+
*/
|
|
7802
|
+
KubeAPIServer?: Array<string>;
|
|
7803
|
+
/**
|
|
7804
|
+
* kube-controller-manager自定义参数
|
|
7805
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7806
|
+
*/
|
|
7807
|
+
KubeControllerManager?: Array<string>;
|
|
7808
|
+
/**
|
|
7809
|
+
* kube-scheduler自定义参数
|
|
7810
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7811
|
+
*/
|
|
7812
|
+
KubeScheduler?: Array<string>;
|
|
6940
7813
|
}
|
|
6941
7814
|
/**
|
|
6942
7815
|
* DescribePrometheusTargets返回参数结构体
|
|
@@ -7017,28 +7890,17 @@ export interface AppChart {
|
|
|
7017
7890
|
LatestVersion: string;
|
|
7018
7891
|
}
|
|
7019
7892
|
/**
|
|
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
|
-
```
|
|
7893
|
+
* DeleteEdgeCVMInstances请求参数结构体
|
|
7032
7894
|
*/
|
|
7033
|
-
export interface
|
|
7895
|
+
export interface DeleteEdgeCVMInstancesRequest {
|
|
7034
7896
|
/**
|
|
7035
|
-
*
|
|
7897
|
+
* 集群ID
|
|
7036
7898
|
*/
|
|
7037
|
-
|
|
7899
|
+
ClusterID: string;
|
|
7038
7900
|
/**
|
|
7039
|
-
*
|
|
7901
|
+
* cvm id集合
|
|
7040
7902
|
*/
|
|
7041
|
-
|
|
7903
|
+
CvmIdSet: Array<string>;
|
|
7042
7904
|
}
|
|
7043
7905
|
/**
|
|
7044
7906
|
* ModifyClusterNodePool请求参数结构体
|
|
@@ -7368,9 +8230,9 @@ export interface DescribeVpcCniPodLimitsRequest {
|
|
|
7368
8230
|
InstanceType?: string;
|
|
7369
8231
|
}
|
|
7370
8232
|
/**
|
|
7371
|
-
*
|
|
8233
|
+
* DeleteImageCaches返回参数结构体
|
|
7372
8234
|
*/
|
|
7373
|
-
export interface
|
|
8235
|
+
export interface DeleteImageCachesResponse {
|
|
7374
8236
|
/**
|
|
7375
8237
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7376
8238
|
*/
|
|
@@ -7558,10 +8420,19 @@ export interface DescribeClusterCommonNamesResponse {
|
|
|
7558
8420
|
*/
|
|
7559
8421
|
RequestId?: string;
|
|
7560
8422
|
}
|
|
8423
|
+
/**
|
|
8424
|
+
* DeleteECMInstances返回参数结构体
|
|
8425
|
+
*/
|
|
8426
|
+
export interface DeleteECMInstancesResponse {
|
|
8427
|
+
/**
|
|
8428
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8429
|
+
*/
|
|
8430
|
+
RequestId?: string;
|
|
8431
|
+
}
|
|
7561
8432
|
/**
|
|
7562
8433
|
* 模板实例
|
|
7563
8434
|
*/
|
|
7564
|
-
export interface
|
|
8435
|
+
export interface PrometheusTemplate {
|
|
7565
8436
|
/**
|
|
7566
8437
|
* 模板名称
|
|
7567
8438
|
*/
|
|
@@ -7579,6 +8450,12 @@ export interface PrometheusTemp {
|
|
|
7579
8450
|
Describe?: string;
|
|
7580
8451
|
/**
|
|
7581
8452
|
* 当Level为instance时有效,
|
|
8453
|
+
模板中的告警配置列表
|
|
8454
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8455
|
+
*/
|
|
8456
|
+
AlertRules?: Array<PrometheusAlertRule>;
|
|
8457
|
+
/**
|
|
8458
|
+
* 当Level为instance时有效,
|
|
7582
8459
|
模板中的聚合规则列表
|
|
7583
8460
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7584
8461
|
*/
|
|
@@ -7626,12 +8503,7 @@ export interface PrometheusTemp {
|
|
|
7626
8503
|
模板中的告警配置列表
|
|
7627
8504
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7628
8505
|
*/
|
|
7629
|
-
AlertDetailRules?: Array<
|
|
7630
|
-
/**
|
|
7631
|
-
* 关联实例数目
|
|
7632
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7633
|
-
*/
|
|
7634
|
-
TargetsTotal?: number;
|
|
8506
|
+
AlertDetailRules?: Array<PrometheusAlertRuleDetail>;
|
|
7635
8507
|
}
|
|
7636
8508
|
/**
|
|
7637
8509
|
* 托管prometheus实例概览
|