tencentcloud-sdk-nodejs 4.0.343 → 4.0.344
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 +304 -0
- package/SERVICE_CHANGELOG.md +493 -25
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +94 -21
- package/src/services/cpdp/v20190820/cpdp_models.ts +895 -387
- package/src/services/cvm/v20170312/cvm_models.ts +5 -0
- package/src/services/dlc/v20210125/dlc_models.ts +24 -0
- package/src/services/ecm/v20190719/ecm_models.ts +6 -0
- package/src/services/emr/v20190103/emr_client.ts +135 -108
- package/src/services/emr/v20190103/emr_models.ts +329 -57
- package/src/services/iotcloud/v20210408/iotcloud_client.ts +27 -2
- package/src/services/iotcloud/v20210408/iotcloud_models.ts +144 -30
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +17 -1
- package/src/services/live/v20180801/live_models.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +101 -80
- package/src/services/ssl/v20191205/ssl_client.ts +15 -2
- package/src/services/ssl/v20191205/ssl_models.ts +89 -31
- package/src/services/tke/v20180525/tke_client.ts +61 -18
- package/src/services/tke/v20180525/tke_models.ts +783 -46
- package/src/services/tsf/v20180326/tsf_models.ts +4 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +29 -5
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +42 -6
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +785 -360
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -0
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -0
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +47 -39
- package/tencentcloud/services/emr/v20190103/emr_client.js +69 -57
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +278 -50
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +9 -1
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +12 -0
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +124 -27
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +16 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +95 -78
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +77 -27
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +27 -15
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +671 -40
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +2 -1
- package/test/cpdp.v20190820.test.js +64 -4
- package/test/emr.v20190103.test.js +60 -40
- package/test/iotcloud.v20210408.test.js +20 -0
- package/test/ssl.v20191205.test.js +10 -0
- package/test/tke.v20180525.test.js +30 -0
|
@@ -125,6 +125,41 @@ export interface CompleteCertificateRequest {
|
|
|
125
125
|
CertificateId: string
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
/**
|
|
129
|
+
* UploadCertificate请求参数结构体
|
|
130
|
+
*/
|
|
131
|
+
export interface UploadCertificateRequest {
|
|
132
|
+
/**
|
|
133
|
+
* 证书内容。
|
|
134
|
+
*/
|
|
135
|
+
CertificatePublicKey: string
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* 私钥内容,证书类型为 SVR 时必填,为 CA 时可不填。
|
|
139
|
+
*/
|
|
140
|
+
CertificatePrivateKey?: string
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* 证书类型,默认 SVR。CA = 客户端证书,SVR = 服务器证书。
|
|
144
|
+
*/
|
|
145
|
+
CertificateType?: string
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* 备注名称。
|
|
149
|
+
*/
|
|
150
|
+
Alias?: string
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* 项目 ID。
|
|
154
|
+
*/
|
|
155
|
+
ProjectId?: number
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* 证书用途/证书来源。“CLB,CDN,WAF,LIVE,DDOS”
|
|
159
|
+
*/
|
|
160
|
+
CertificateUse?: string
|
|
161
|
+
}
|
|
162
|
+
|
|
128
163
|
/**
|
|
129
164
|
* DeleteCertificate请求参数结构体
|
|
130
165
|
*/
|
|
@@ -161,6 +196,21 @@ export interface DescribeCertificateOperateLogsResponse {
|
|
|
161
196
|
RequestId?: string
|
|
162
197
|
}
|
|
163
198
|
|
|
199
|
+
/**
|
|
200
|
+
* ModifyCertificateAlias请求参数结构体
|
|
201
|
+
*/
|
|
202
|
+
export interface ModifyCertificateAliasRequest {
|
|
203
|
+
/**
|
|
204
|
+
* 证书 ID。
|
|
205
|
+
*/
|
|
206
|
+
CertificateId: string
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* 备注名称。
|
|
210
|
+
*/
|
|
211
|
+
Alias?: string
|
|
212
|
+
}
|
|
213
|
+
|
|
164
214
|
/**
|
|
165
215
|
* CommitCertificateInformation请求参数结构体
|
|
166
216
|
*/
|
|
@@ -748,38 +798,18 @@ export interface DescribeCertificateResponse {
|
|
|
748
798
|
}
|
|
749
799
|
|
|
750
800
|
/**
|
|
751
|
-
*
|
|
801
|
+
* HostCertificate返回参数结构体
|
|
752
802
|
*/
|
|
753
|
-
export interface
|
|
754
|
-
/**
|
|
755
|
-
* 证书内容。
|
|
756
|
-
*/
|
|
757
|
-
CertificatePublicKey: string
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* 私钥内容,证书类型为 SVR 时必填,为 CA 时可不填。
|
|
761
|
-
*/
|
|
762
|
-
CertificatePrivateKey?: string
|
|
763
|
-
|
|
803
|
+
export interface HostCertificateResponse {
|
|
764
804
|
/**
|
|
765
|
-
*
|
|
805
|
+
* 云资源配置详情
|
|
766
806
|
*/
|
|
767
|
-
|
|
807
|
+
CertHostingInfo: CertHostingInfo
|
|
768
808
|
|
|
769
809
|
/**
|
|
770
|
-
*
|
|
771
|
-
*/
|
|
772
|
-
Alias?: string
|
|
773
|
-
|
|
774
|
-
/**
|
|
775
|
-
* 项目 ID。
|
|
776
|
-
*/
|
|
777
|
-
ProjectId?: number
|
|
778
|
-
|
|
779
|
-
/**
|
|
780
|
-
* 证书用途/证书来源。“CLB,CDN,WAF,LIVE,DDOS”
|
|
810
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
781
811
|
*/
|
|
782
|
-
|
|
812
|
+
RequestId?: string
|
|
783
813
|
}
|
|
784
814
|
|
|
785
815
|
/**
|
|
@@ -1353,6 +1383,34 @@ export interface ModifyCertificateProjectRequest {
|
|
|
1353
1383
|
ProjectId: number
|
|
1354
1384
|
}
|
|
1355
1385
|
|
|
1386
|
+
/**
|
|
1387
|
+
* 云资源配置详情
|
|
1388
|
+
*/
|
|
1389
|
+
export interface CertHostingInfo {
|
|
1390
|
+
/**
|
|
1391
|
+
* 证书ID
|
|
1392
|
+
*/
|
|
1393
|
+
CertId: string
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* 已替换的新证书ID
|
|
1397
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1398
|
+
*/
|
|
1399
|
+
RenewCertId: string
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* 云资源托管 ,CDN或CLB:部分开启,CDN,CLB:已开启,null:未开启托管
|
|
1403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1404
|
+
*/
|
|
1405
|
+
ResourceType: string
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* 创建时间
|
|
1409
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1410
|
+
*/
|
|
1411
|
+
CreateTime: string
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1356
1414
|
/**
|
|
1357
1415
|
* 返回参数键为 DvAuths 的内容。
|
|
1358
1416
|
*/
|
|
@@ -1395,18 +1453,18 @@ export interface DvAuths {
|
|
|
1395
1453
|
}
|
|
1396
1454
|
|
|
1397
1455
|
/**
|
|
1398
|
-
*
|
|
1456
|
+
* HostCertificate请求参数结构体
|
|
1399
1457
|
*/
|
|
1400
|
-
export interface
|
|
1458
|
+
export interface HostCertificateRequest {
|
|
1401
1459
|
/**
|
|
1402
|
-
* 证书
|
|
1460
|
+
* 证书ID
|
|
1403
1461
|
*/
|
|
1404
1462
|
CertificateId: string
|
|
1405
1463
|
|
|
1406
1464
|
/**
|
|
1407
|
-
*
|
|
1465
|
+
* 资源类型:目前仅限于CLB,CDN
|
|
1408
1466
|
*/
|
|
1409
|
-
|
|
1467
|
+
ResourceType?: Array<string>
|
|
1410
1468
|
}
|
|
1411
1469
|
|
|
1412
1470
|
/**
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
RouteTableInfo,
|
|
41
41
|
EnableClusterDeletionProtectionResponse,
|
|
42
42
|
ClusterAsGroup,
|
|
43
|
+
PrometheusTempModify,
|
|
43
44
|
EnableClusterAuditResponse,
|
|
44
45
|
EnvironmentVariable,
|
|
45
46
|
UpdateImageCacheRequest,
|
|
@@ -52,6 +53,7 @@ import {
|
|
|
52
53
|
UpgradeClusterInstancesRequest,
|
|
53
54
|
ExtensionAddon,
|
|
54
55
|
RegionInstance,
|
|
56
|
+
PrometheusRecordRuleYamlItem,
|
|
55
57
|
Label,
|
|
56
58
|
PodLimitsByType,
|
|
57
59
|
DeletePrometheusTemplateSyncRequest,
|
|
@@ -67,6 +69,7 @@ import {
|
|
|
67
69
|
DescribeImageCachesRequest,
|
|
68
70
|
DescribePrometheusAlertRuleRequest,
|
|
69
71
|
AddNodeToNodePoolResponse,
|
|
72
|
+
PrometheusInstancesOverview,
|
|
70
73
|
DisableEventPersistenceResponse,
|
|
71
74
|
UpdateEKSContainerInstanceRequest,
|
|
72
75
|
GetMostSuitableImageCacheResponse,
|
|
@@ -138,6 +141,7 @@ import {
|
|
|
138
141
|
EksCiRegionInfo,
|
|
139
142
|
DisableClusterAuditRequest,
|
|
140
143
|
Event,
|
|
144
|
+
DescribePrometheusGlobalNotificationResponse,
|
|
141
145
|
HttpGet,
|
|
142
146
|
ResourceUsage,
|
|
143
147
|
DescribePrometheusAlertHistoryRequest,
|
|
@@ -157,6 +161,7 @@ import {
|
|
|
157
161
|
DnsServerConf,
|
|
158
162
|
EksCluster,
|
|
159
163
|
ModifyNodePoolInstanceTypesResponse,
|
|
164
|
+
PrometheusAlertManagerConfig,
|
|
160
165
|
GetClusterLevelPriceResponse,
|
|
161
166
|
DescribeResourceUsageResponse,
|
|
162
167
|
DescribeClusterRoutesResponse,
|
|
@@ -213,6 +218,7 @@ import {
|
|
|
213
218
|
PrometheusNotification,
|
|
214
219
|
DescribeExternalClusterSpecRequest,
|
|
215
220
|
AutoScalingGroupRange,
|
|
221
|
+
DescribePrometheusGlobalNotificationRequest,
|
|
216
222
|
ClusterPublicLB,
|
|
217
223
|
DescribePrometheusTemplateSyncResponse,
|
|
218
224
|
ModifyPrometheusTemplateResponse,
|
|
@@ -239,7 +245,7 @@ import {
|
|
|
239
245
|
GetUpgradeInstanceProgressResponse,
|
|
240
246
|
DescribeExistedInstancesResponse,
|
|
241
247
|
CreatePrometheusTemplateRequest,
|
|
242
|
-
|
|
248
|
+
DeleteImageCachesResponse,
|
|
243
249
|
CreatePrometheusAlertRuleResponse,
|
|
244
250
|
ResourceDeleteOption,
|
|
245
251
|
ModifyClusterAuthenticationOptionsResponse,
|
|
@@ -250,6 +256,8 @@ import {
|
|
|
250
256
|
UninstallLogAgentRequest,
|
|
251
257
|
TcpSocket,
|
|
252
258
|
TagSpecification,
|
|
259
|
+
PrometheusNotificationItem,
|
|
260
|
+
CreatePrometheusGlobalNotificationResponse,
|
|
253
261
|
DescribeClusterAuthenticationOptionsResponse,
|
|
254
262
|
DescribePrometheusAgentsRequest,
|
|
255
263
|
AddClusterCIDRResponse,
|
|
@@ -284,6 +292,7 @@ import {
|
|
|
284
292
|
DescribeClusterAsGroupsResponse,
|
|
285
293
|
ScaleOutClusterMasterRequest,
|
|
286
294
|
DeleteClusterInstancesResponse,
|
|
295
|
+
CreatePrometheusGlobalNotificationRequest,
|
|
287
296
|
ModifyPrometheusTempResponse,
|
|
288
297
|
PrometheusAlertRuleDetail,
|
|
289
298
|
DescribeClusterInstancesResponse,
|
|
@@ -309,7 +318,7 @@ import {
|
|
|
309
318
|
ClusterNetworkSettings,
|
|
310
319
|
DescribeImagesResponse,
|
|
311
320
|
ClusterExtraArgs,
|
|
312
|
-
|
|
321
|
+
SyncPrometheusTemplateResponse,
|
|
313
322
|
CreateClusterEndpointVipResponse,
|
|
314
323
|
TaskStepInfo,
|
|
315
324
|
DeletePrometheusAlertRuleRequest,
|
|
@@ -328,12 +337,14 @@ import {
|
|
|
328
337
|
CreateClusterEndpointVipRequest,
|
|
329
338
|
ClusterInternalLB,
|
|
330
339
|
ExistedInstance,
|
|
340
|
+
ModifyPrometheusGlobalNotificationRequest,
|
|
331
341
|
GetUpgradeInstanceProgressRequest,
|
|
332
342
|
UpdateEKSClusterResponse,
|
|
333
343
|
DescribePrometheusRecordRulesResponse,
|
|
334
344
|
DeleteClusterNodePoolResponse,
|
|
335
345
|
DeleteClusterRouteResponse,
|
|
336
346
|
ModifyClusterNodePoolResponse,
|
|
347
|
+
PrometheusAlertPolicyItem,
|
|
337
348
|
PrometheusTarget,
|
|
338
349
|
LoginSettings,
|
|
339
350
|
SyncPrometheusTemplateRequest,
|
|
@@ -343,6 +354,7 @@ import {
|
|
|
343
354
|
DescribeRouteTableConflictsResponse,
|
|
344
355
|
DescribeVersionsRequest,
|
|
345
356
|
DescribePrometheusTempRequest,
|
|
357
|
+
DescribeEKSContainerInstancesResponse,
|
|
346
358
|
DeleteClusterRouteTableRequest,
|
|
347
359
|
CreateClusterRequest,
|
|
348
360
|
InstanceExtraArgs,
|
|
@@ -368,7 +380,7 @@ import {
|
|
|
368
380
|
ClusterStatus,
|
|
369
381
|
DescribePrometheusAgentsResponse,
|
|
370
382
|
DescribeVpcCniPodLimitsRequest,
|
|
371
|
-
|
|
383
|
+
ModifyPrometheusGlobalNotificationResponse,
|
|
372
384
|
DescribeEKSContainerInstanceRegionsResponse,
|
|
373
385
|
DescribeTKEEdgeScriptRequest,
|
|
374
386
|
AddVpcCniSubnetsResponse,
|
|
@@ -376,9 +388,10 @@ import {
|
|
|
376
388
|
DescribePrometheusOverviewsResponse,
|
|
377
389
|
DescribeEKSContainerInstancesRequest,
|
|
378
390
|
ScaleInClusterMasterResponse,
|
|
379
|
-
|
|
391
|
+
DescribeAvailableClusterVersionResponse,
|
|
380
392
|
DeleteEKSContainerInstancesRequest,
|
|
381
393
|
DescribeClusterCommonNamesResponse,
|
|
394
|
+
PrometheusTemp,
|
|
382
395
|
PrometheusInstanceOverview,
|
|
383
396
|
ScaleInMaster,
|
|
384
397
|
} from "./tke_models"
|
|
@@ -656,7 +669,7 @@ export class Client extends AbstractClient {
|
|
|
656
669
|
* 修改2.0实例告警策略
|
|
657
670
|
*/
|
|
658
671
|
async ModifyPrometheusAlertPolicy(
|
|
659
|
-
req
|
|
672
|
+
req: ModifyPrometheusAlertPolicyRequest,
|
|
660
673
|
cb?: (error: string, rep: ModifyPrometheusAlertPolicyResponse) => void
|
|
661
674
|
): Promise<ModifyPrometheusAlertPolicyResponse> {
|
|
662
675
|
return this.request("ModifyPrometheusAlertPolicy", req, cb)
|
|
@@ -946,7 +959,7 @@ export class Client extends AbstractClient {
|
|
|
946
959
|
* 拉取模板列表,默认模板将总是在最前面
|
|
947
960
|
*/
|
|
948
961
|
async DescribePrometheusTemp(
|
|
949
|
-
req
|
|
962
|
+
req: DescribePrometheusTempRequest,
|
|
950
963
|
cb?: (error: string, rep: DescribePrometheusTempResponse) => void
|
|
951
964
|
): Promise<DescribePrometheusTempResponse> {
|
|
952
965
|
return this.request("DescribePrometheusTemp", req, cb)
|
|
@@ -1036,7 +1049,7 @@ export class Client extends AbstractClient {
|
|
|
1036
1049
|
* 创建一个云原生Prometheus模板
|
|
1037
1050
|
*/
|
|
1038
1051
|
async CreatePrometheusTemp(
|
|
1039
|
-
req
|
|
1052
|
+
req: CreatePrometheusTempRequest,
|
|
1040
1053
|
cb?: (error: string, rep: CreatePrometheusTempResponse) => void
|
|
1041
1054
|
): Promise<CreatePrometheusTempResponse> {
|
|
1042
1055
|
return this.request("CreatePrometheusTemp", req, cb)
|
|
@@ -1072,6 +1085,16 @@ export class Client extends AbstractClient {
|
|
|
1072
1085
|
return this.request("DescribePrometheusInstance", req, cb)
|
|
1073
1086
|
}
|
|
1074
1087
|
|
|
1088
|
+
/**
|
|
1089
|
+
* 创建全局告警通知渠道
|
|
1090
|
+
*/
|
|
1091
|
+
async CreatePrometheusGlobalNotification(
|
|
1092
|
+
req: CreatePrometheusGlobalNotificationRequest,
|
|
1093
|
+
cb?: (error: string, rep: CreatePrometheusGlobalNotificationResponse) => void
|
|
1094
|
+
): Promise<CreatePrometheusGlobalNotificationResponse> {
|
|
1095
|
+
return this.request("CreatePrometheusGlobalNotification", req, cb)
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1075
1098
|
/**
|
|
1076
1099
|
* 查询集群开启端口流程状态(仅支持托管集群外网端口)
|
|
1077
1100
|
*/
|
|
@@ -1146,7 +1169,7 @@ export class Client extends AbstractClient {
|
|
|
1146
1169
|
* 获取聚合规则列表,包含关联集群内crd资源创建的record rule
|
|
1147
1170
|
*/
|
|
1148
1171
|
async DescribePrometheusRecordRules(
|
|
1149
|
-
req
|
|
1172
|
+
req: DescribePrometheusRecordRulesRequest,
|
|
1150
1173
|
cb?: (error: string, rep: DescribePrometheusRecordRulesResponse) => void
|
|
1151
1174
|
): Promise<DescribePrometheusRecordRulesResponse> {
|
|
1152
1175
|
return this.request("DescribePrometheusRecordRules", req, cb)
|
|
@@ -1162,6 +1185,16 @@ export class Client extends AbstractClient {
|
|
|
1162
1185
|
return this.request("DeletePrometheusAlertRule", req, cb)
|
|
1163
1186
|
}
|
|
1164
1187
|
|
|
1188
|
+
/**
|
|
1189
|
+
* 查询全局告警通知渠道
|
|
1190
|
+
*/
|
|
1191
|
+
async DescribePrometheusGlobalNotification(
|
|
1192
|
+
req: DescribePrometheusGlobalNotificationRequest,
|
|
1193
|
+
cb?: (error: string, rep: DescribePrometheusGlobalNotificationResponse) => void
|
|
1194
|
+
): Promise<DescribePrometheusGlobalNotificationResponse> {
|
|
1195
|
+
return this.request("DescribePrometheusGlobalNotification", req, cb)
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1165
1198
|
/**
|
|
1166
1199
|
* 查询集群变配记录
|
|
1167
1200
|
*/
|
|
@@ -1182,6 +1215,16 @@ export class Client extends AbstractClient {
|
|
|
1182
1215
|
return this.request("CreateClusterEndpoint", req, cb)
|
|
1183
1216
|
}
|
|
1184
1217
|
|
|
1218
|
+
/**
|
|
1219
|
+
* 修改全局告警通知渠道
|
|
1220
|
+
*/
|
|
1221
|
+
async ModifyPrometheusGlobalNotification(
|
|
1222
|
+
req: ModifyPrometheusGlobalNotificationRequest,
|
|
1223
|
+
cb?: (error: string, rep: ModifyPrometheusGlobalNotificationResponse) => void
|
|
1224
|
+
): Promise<ModifyPrometheusGlobalNotificationResponse> {
|
|
1225
|
+
return this.request("ModifyPrometheusGlobalNotification", req, cb)
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1185
1228
|
/**
|
|
1186
1229
|
* 操作TKE集群的addon
|
|
1187
1230
|
*/
|
|
@@ -1226,7 +1269,7 @@ export class Client extends AbstractClient {
|
|
|
1226
1269
|
* 修改模板内容
|
|
1227
1270
|
*/
|
|
1228
1271
|
async ModifyPrometheusTemp(
|
|
1229
|
-
req
|
|
1272
|
+
req: ModifyPrometheusTempRequest,
|
|
1230
1273
|
cb?: (error: string, rep: ModifyPrometheusTempResponse) => void
|
|
1231
1274
|
): Promise<ModifyPrometheusTempResponse> {
|
|
1232
1275
|
return this.request("ModifyPrometheusTemp", req, cb)
|
|
@@ -1256,7 +1299,7 @@ export class Client extends AbstractClient {
|
|
|
1256
1299
|
* 获取2.0实例关联集群列表
|
|
1257
1300
|
*/
|
|
1258
1301
|
async DescribePrometheusClusterAgents(
|
|
1259
|
-
req
|
|
1302
|
+
req: DescribePrometheusClusterAgentsRequest,
|
|
1260
1303
|
cb?: (error: string, rep: DescribePrometheusClusterAgentsResponse) => void
|
|
1261
1304
|
): Promise<DescribePrometheusClusterAgentsResponse> {
|
|
1262
1305
|
return this.request("DescribePrometheusClusterAgents", req, cb)
|
|
@@ -1296,7 +1339,7 @@ export class Client extends AbstractClient {
|
|
|
1296
1339
|
* 获取模板关联实例信息,针对V2版本实例
|
|
1297
1340
|
*/
|
|
1298
1341
|
async DescribePrometheusTempSync(
|
|
1299
|
-
req
|
|
1342
|
+
req: DescribePrometheusTempSyncRequest,
|
|
1300
1343
|
cb?: (error: string, rep: DescribePrometheusTempSyncResponse) => void
|
|
1301
1344
|
): Promise<DescribePrometheusTempSyncResponse> {
|
|
1302
1345
|
return this.request("DescribePrometheusTempSync", req, cb)
|
|
@@ -1366,7 +1409,7 @@ export class Client extends AbstractClient {
|
|
|
1366
1409
|
* 同步模板到实例或者集群,针对V2版本实例
|
|
1367
1410
|
*/
|
|
1368
1411
|
async SyncPrometheusTemp(
|
|
1369
|
-
req
|
|
1412
|
+
req: SyncPrometheusTempRequest,
|
|
1370
1413
|
cb?: (error: string, rep: SyncPrometheusTempResponse) => void
|
|
1371
1414
|
): Promise<SyncPrometheusTempResponse> {
|
|
1372
1415
|
return this.request("SyncPrometheusTemp", req, cb)
|
|
@@ -1416,7 +1459,7 @@ export class Client extends AbstractClient {
|
|
|
1416
1459
|
* 创建告警策略
|
|
1417
1460
|
*/
|
|
1418
1461
|
async CreatePrometheusAlertPolicy(
|
|
1419
|
-
req
|
|
1462
|
+
req: CreatePrometheusAlertPolicyRequest,
|
|
1420
1463
|
cb?: (error: string, rep: CreatePrometheusAlertPolicyResponse) => void
|
|
1421
1464
|
): Promise<CreatePrometheusAlertPolicyResponse> {
|
|
1422
1465
|
return this.request("CreatePrometheusAlertPolicy", req, cb)
|
|
@@ -1436,7 +1479,7 @@ export class Client extends AbstractClient {
|
|
|
1436
1479
|
* 获取2.0实例告警策略列表
|
|
1437
1480
|
*/
|
|
1438
1481
|
async DescribePrometheusAlertPolicy(
|
|
1439
|
-
req
|
|
1482
|
+
req: DescribePrometheusAlertPolicyRequest,
|
|
1440
1483
|
cb?: (error: string, rep: DescribePrometheusAlertPolicyResponse) => void
|
|
1441
1484
|
): Promise<DescribePrometheusAlertPolicyResponse> {
|
|
1442
1485
|
return this.request("DescribePrometheusAlertPolicy", req, cb)
|
|
@@ -1546,7 +1589,7 @@ export class Client extends AbstractClient {
|
|
|
1546
1589
|
* 删除一个云原生Prometheus配置模板
|
|
1547
1590
|
*/
|
|
1548
1591
|
async DeletePrometheusTemp(
|
|
1549
|
-
req
|
|
1592
|
+
req: DeletePrometheusTempRequest,
|
|
1550
1593
|
cb?: (error: string, rep: DeletePrometheusTempResponse) => void
|
|
1551
1594
|
): Promise<DeletePrometheusTempResponse> {
|
|
1552
1595
|
return this.request("DeletePrometheusTemp", req, cb)
|
|
@@ -1616,7 +1659,7 @@ export class Client extends AbstractClient {
|
|
|
1616
1659
|
* 获取与云监控融合实例列表
|
|
1617
1660
|
*/
|
|
1618
1661
|
async DescribePrometheusInstancesOverview(
|
|
1619
|
-
req
|
|
1662
|
+
req: DescribePrometheusInstancesOverviewRequest,
|
|
1620
1663
|
cb?: (error: string, rep: DescribePrometheusInstancesOverviewResponse) => void
|
|
1621
1664
|
): Promise<DescribePrometheusInstancesOverviewResponse> {
|
|
1622
1665
|
return this.request("DescribePrometheusInstancesOverview", req, cb)
|
|
@@ -1636,7 +1679,7 @@ export class Client extends AbstractClient {
|
|
|
1636
1679
|
* 解除模板同步,这将会删除目标中该模板所生产的配置,针对V2版本实例
|
|
1637
1680
|
*/
|
|
1638
1681
|
async DeletePrometheusTempSync(
|
|
1639
|
-
req
|
|
1682
|
+
req: DeletePrometheusTempSyncRequest,
|
|
1640
1683
|
cb?: (error: string, rep: DeletePrometheusTempSyncResponse) => void
|
|
1641
1684
|
): Promise<DeletePrometheusTempSyncResponse> {
|
|
1642
1685
|
return this.request("DeletePrometheusTempSync", req, cb)
|
|
@@ -1646,7 +1689,7 @@ export class Client extends AbstractClient {
|
|
|
1646
1689
|
* 删除2.0实例告警策略
|
|
1647
1690
|
*/
|
|
1648
1691
|
async DeletePrometheusAlertPolicy(
|
|
1649
|
-
req
|
|
1692
|
+
req: DeletePrometheusAlertPolicyRequest,
|
|
1650
1693
|
cb?: (error: string, rep: DeletePrometheusAlertPolicyResponse) => void
|
|
1651
1694
|
): Promise<DeletePrometheusAlertPolicyResponse> {
|
|
1652
1695
|
return this.request("DeletePrometheusAlertPolicy", req, cb)
|