tencentcloud-sdk-nodejs 4.0.368 → 4.0.371
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 +476 -0
- package/SERVICE_CHANGELOG.md +503 -79
- package/package.json +1 -1
- package/products.md +20 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cii/v20210408/cii_models.ts +5 -0
- package/src/services/cme/v20191029/cme_client.ts +3 -1
- package/src/services/cme/v20191029/cme_models.ts +21 -0
- package/src/services/cpdp/v20190820/cpdp_client.ts +163 -38
- package/src/services/cpdp/v20190820/cpdp_models.ts +2091 -464
- package/src/services/eb/v20210416/eb_models.ts +5 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +13 -14
- package/src/services/gaap/v20180529/gaap_models.ts +6 -0
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -4
- package/src/services/mmps/v20200710/mmps_client.ts +20 -6
- package/src/services/mmps/v20200710/mmps_models.ts +163 -0
- package/src/services/monitor/v20180724/monitor_client.ts +353 -60
- package/src/services/monitor/v20180724/monitor_models.ts +1577 -481
- package/src/services/mrs/v20200910/mrs_client.ts +2 -0
- package/src/services/mrs/v20200910/mrs_models.ts +106 -0
- package/src/services/ocr/v20181119/ocr_models.ts +11 -10
- package/src/services/postgres/v20170312/postgres_models.ts +2 -2
- package/src/services/tcbr/v20220217/tcbr_client.ts +22 -7
- package/src/services/tcbr/v20220217/tcbr_models.ts +212 -15
- package/src/services/tdmq/v20200217/tdmq_models.ts +27 -0
- package/src/services/teo/v20220106/teo_client.ts +4 -3
- package/src/services/teo/v20220106/teo_models.ts +132 -105
- package/src/services/tke/v20180525/tke_client.ts +13 -1
- package/src/services/tke/v20180525/tke_models.ts +62 -7
- package/src/services/tse/v20201207/tse_client.ts +75 -23
- package/src/services/tse/v20201207/tse_models.ts +417 -157
- package/src/services/vpc/v20170312/vpc_models.ts +5 -5
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +4 -0
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +2 -1
- package/tencentcloud/services/cme/v20191029/cme_client.js +2 -1
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +18 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +45 -9
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +66 -12
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1730 -352
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -11
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +5 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -4
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -4
- package/tencentcloud/services/mmps/v20200710/mmps_client.d.ts +7 -3
- package/tencentcloud/services/mmps/v20200710/mmps_client.js +9 -3
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +135 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +112 -16
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +164 -20
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1389 -444
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +90 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +11 -10
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +2 -2
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +7 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +9 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +177 -13
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +22 -0
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +111 -88
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +53 -7
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +21 -5
- package/tencentcloud/services/tse/v20201207/tse_client.js +30 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +366 -144
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +5 -5
- package/test/cpdp.v20190820.test.js +98 -8
- package/test/mmps.v20200710.test.js +12 -2
- package/test/monitor.v20180724.test.js +250 -10
- package/test/tcbr.v20220217.test.js +12 -2
- package/test/tke.v20180525.test.js +10 -0
- package/test/tse.v20201207.test.js +44 -4
|
@@ -964,6 +964,11 @@ export interface ModifyZoneSettingRequest {
|
|
|
964
964
|
* 客户端IP回源请求头配置
|
|
965
965
|
*/
|
|
966
966
|
ClientIpHeader?: ClientIp
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* 缓存预刷新配置
|
|
970
|
+
*/
|
|
971
|
+
CachePrefresh?: CachePrefresh
|
|
967
972
|
}
|
|
968
973
|
|
|
969
974
|
/**
|
|
@@ -2234,21 +2239,6 @@ export interface DescribeCnameStatusResponse {
|
|
|
2234
2239
|
RequestId?: string
|
|
2235
2240
|
}
|
|
2236
2241
|
|
|
2237
|
-
/**
|
|
2238
|
-
* DeleteDnsRecords返回参数结构体
|
|
2239
|
-
*/
|
|
2240
|
-
export interface DeleteDnsRecordsResponse {
|
|
2241
|
-
/**
|
|
2242
|
-
* 记录 ID
|
|
2243
|
-
*/
|
|
2244
|
-
Ids: Array<string>
|
|
2245
|
-
|
|
2246
|
-
/**
|
|
2247
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2248
|
-
*/
|
|
2249
|
-
RequestId?: string
|
|
2250
|
-
}
|
|
2251
|
-
|
|
2252
2242
|
/**
|
|
2253
2243
|
* DescribeLoadBalancing请求参数结构体
|
|
2254
2244
|
*/
|
|
@@ -4431,6 +4421,22 @@ export interface DescribeDefaultCertificatesResponse {
|
|
|
4431
4421
|
RequestId?: string
|
|
4432
4422
|
}
|
|
4433
4423
|
|
|
4424
|
+
/**
|
|
4425
|
+
* 缓存预刷新
|
|
4426
|
+
*/
|
|
4427
|
+
export interface CachePrefresh {
|
|
4428
|
+
/**
|
|
4429
|
+
* 缓存预刷新配置开关
|
|
4430
|
+
*/
|
|
4431
|
+
Switch: string
|
|
4432
|
+
|
|
4433
|
+
/**
|
|
4434
|
+
* 缓存预刷新百分比:1-99
|
|
4435
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4436
|
+
*/
|
|
4437
|
+
Percent?: number
|
|
4438
|
+
}
|
|
4439
|
+
|
|
4434
4440
|
/**
|
|
4435
4441
|
* DescribeTimingL7AnalysisData返回参数结构体
|
|
4436
4442
|
*/
|
|
@@ -4748,6 +4754,21 @@ online: 启用
|
|
|
4748
4754
|
Status: string
|
|
4749
4755
|
}
|
|
4750
4756
|
|
|
4757
|
+
/**
|
|
4758
|
+
* ModifyLoadBalancing返回参数结构体
|
|
4759
|
+
*/
|
|
4760
|
+
export interface ModifyLoadBalancingResponse {
|
|
4761
|
+
/**
|
|
4762
|
+
* 负载均衡ID
|
|
4763
|
+
*/
|
|
4764
|
+
LoadBalancingId: string
|
|
4765
|
+
|
|
4766
|
+
/**
|
|
4767
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4768
|
+
*/
|
|
4769
|
+
RequestId?: string
|
|
4770
|
+
}
|
|
4771
|
+
|
|
4751
4772
|
/**
|
|
4752
4773
|
* Web拦截事件
|
|
4753
4774
|
*/
|
|
@@ -6555,6 +6576,12 @@ export interface DescribeZoneSettingResponse {
|
|
|
6555
6576
|
*/
|
|
6556
6577
|
ClientIpHeader: ClientIp
|
|
6557
6578
|
|
|
6579
|
+
/**
|
|
6580
|
+
* 缓存预刷新配置
|
|
6581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6582
|
+
*/
|
|
6583
|
+
CachePrefresh: CachePrefresh
|
|
6584
|
+
|
|
6558
6585
|
/**
|
|
6559
6586
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6560
6587
|
*/
|
|
@@ -7321,95 +7348,13 @@ Targets可为空,不需要填写
|
|
|
7321
7348
|
}
|
|
7322
7349
|
|
|
7323
7350
|
/**
|
|
7324
|
-
*
|
|
7351
|
+
* DeleteDnsRecords返回参数结构体
|
|
7325
7352
|
*/
|
|
7326
|
-
export interface
|
|
7327
|
-
/**
|
|
7328
|
-
* 实例ID
|
|
7329
|
-
*/
|
|
7330
|
-
ProxyId: string
|
|
7331
|
-
|
|
7332
|
-
/**
|
|
7333
|
-
* 实例名称
|
|
7334
|
-
*/
|
|
7335
|
-
ProxyName: string
|
|
7336
|
-
|
|
7337
|
-
/**
|
|
7338
|
-
* 调度模式:
|
|
7339
|
-
ip表示Anycast IP
|
|
7340
|
-
domain表示CNAME
|
|
7341
|
-
*/
|
|
7342
|
-
PlatType: string
|
|
7343
|
-
|
|
7344
|
-
/**
|
|
7345
|
-
* 0关闭安全,1开启安全
|
|
7346
|
-
*/
|
|
7347
|
-
SecurityType: number
|
|
7348
|
-
|
|
7349
|
-
/**
|
|
7350
|
-
* 0关闭加速,1开启加速
|
|
7351
|
-
*/
|
|
7352
|
-
AccelerateType: number
|
|
7353
|
-
|
|
7354
|
-
/**
|
|
7355
|
-
* 字段已经移至Rule.ForwardClientIp
|
|
7356
|
-
*/
|
|
7357
|
-
ForwardClientIp: string
|
|
7358
|
-
|
|
7359
|
-
/**
|
|
7360
|
-
* 字段已经移至Rule.SessionPersist
|
|
7361
|
-
*/
|
|
7362
|
-
SessionPersist: boolean
|
|
7363
|
-
|
|
7364
|
-
/**
|
|
7365
|
-
* 规则列表
|
|
7366
|
-
*/
|
|
7367
|
-
Rule: Array<ApplicationProxyRule>
|
|
7368
|
-
|
|
7369
|
-
/**
|
|
7370
|
-
* 状态:
|
|
7371
|
-
online:启用
|
|
7372
|
-
offline:停用
|
|
7373
|
-
progress:部署中
|
|
7374
|
-
*/
|
|
7375
|
-
Status: string
|
|
7376
|
-
|
|
7377
|
-
/**
|
|
7378
|
-
* 调度信息
|
|
7379
|
-
*/
|
|
7380
|
-
ScheduleValue: Array<string>
|
|
7381
|
-
|
|
7382
|
-
/**
|
|
7383
|
-
* 更新时间
|
|
7384
|
-
*/
|
|
7385
|
-
UpdateTime: string
|
|
7386
|
-
|
|
7387
|
-
/**
|
|
7388
|
-
* 站点ID
|
|
7389
|
-
*/
|
|
7390
|
-
ZoneId: string
|
|
7391
|
-
|
|
7392
|
-
/**
|
|
7393
|
-
* 站点名称
|
|
7394
|
-
*/
|
|
7395
|
-
ZoneName: string
|
|
7396
|
-
|
|
7397
|
-
/**
|
|
7398
|
-
* 会话保持时间
|
|
7399
|
-
*/
|
|
7400
|
-
SessionPersistTime: number
|
|
7401
|
-
|
|
7402
|
-
/**
|
|
7403
|
-
* 服务类型
|
|
7404
|
-
hostname:子域名
|
|
7405
|
-
instance:实例
|
|
7406
|
-
*/
|
|
7407
|
-
ProxyType: string
|
|
7408
|
-
|
|
7353
|
+
export interface DeleteDnsRecordsResponse {
|
|
7409
7354
|
/**
|
|
7410
|
-
*
|
|
7355
|
+
* 记录 ID
|
|
7411
7356
|
*/
|
|
7412
|
-
|
|
7357
|
+
Ids: Array<string>
|
|
7413
7358
|
|
|
7414
7359
|
/**
|
|
7415
7360
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -7879,13 +7824,95 @@ export interface ModifyZoneCnameSpeedUpRequest {
|
|
|
7879
7824
|
}
|
|
7880
7825
|
|
|
7881
7826
|
/**
|
|
7882
|
-
*
|
|
7827
|
+
* DescribeApplicationProxyDetail返回参数结构体
|
|
7883
7828
|
*/
|
|
7884
|
-
export interface
|
|
7829
|
+
export interface DescribeApplicationProxyDetailResponse {
|
|
7885
7830
|
/**
|
|
7886
|
-
*
|
|
7831
|
+
* 实例ID
|
|
7887
7832
|
*/
|
|
7888
|
-
|
|
7833
|
+
ProxyId: string
|
|
7834
|
+
|
|
7835
|
+
/**
|
|
7836
|
+
* 实例名称
|
|
7837
|
+
*/
|
|
7838
|
+
ProxyName: string
|
|
7839
|
+
|
|
7840
|
+
/**
|
|
7841
|
+
* 调度模式:
|
|
7842
|
+
ip表示Anycast IP
|
|
7843
|
+
domain表示CNAME
|
|
7844
|
+
*/
|
|
7845
|
+
PlatType: string
|
|
7846
|
+
|
|
7847
|
+
/**
|
|
7848
|
+
* 0关闭安全,1开启安全
|
|
7849
|
+
*/
|
|
7850
|
+
SecurityType: number
|
|
7851
|
+
|
|
7852
|
+
/**
|
|
7853
|
+
* 0关闭加速,1开启加速
|
|
7854
|
+
*/
|
|
7855
|
+
AccelerateType: number
|
|
7856
|
+
|
|
7857
|
+
/**
|
|
7858
|
+
* 字段已经移至Rule.ForwardClientIp
|
|
7859
|
+
*/
|
|
7860
|
+
ForwardClientIp: string
|
|
7861
|
+
|
|
7862
|
+
/**
|
|
7863
|
+
* 字段已经移至Rule.SessionPersist
|
|
7864
|
+
*/
|
|
7865
|
+
SessionPersist: boolean
|
|
7866
|
+
|
|
7867
|
+
/**
|
|
7868
|
+
* 规则列表
|
|
7869
|
+
*/
|
|
7870
|
+
Rule: Array<ApplicationProxyRule>
|
|
7871
|
+
|
|
7872
|
+
/**
|
|
7873
|
+
* 状态:
|
|
7874
|
+
online:启用
|
|
7875
|
+
offline:停用
|
|
7876
|
+
progress:部署中
|
|
7877
|
+
*/
|
|
7878
|
+
Status: string
|
|
7879
|
+
|
|
7880
|
+
/**
|
|
7881
|
+
* 调度信息
|
|
7882
|
+
*/
|
|
7883
|
+
ScheduleValue: Array<string>
|
|
7884
|
+
|
|
7885
|
+
/**
|
|
7886
|
+
* 更新时间
|
|
7887
|
+
*/
|
|
7888
|
+
UpdateTime: string
|
|
7889
|
+
|
|
7890
|
+
/**
|
|
7891
|
+
* 站点ID
|
|
7892
|
+
*/
|
|
7893
|
+
ZoneId: string
|
|
7894
|
+
|
|
7895
|
+
/**
|
|
7896
|
+
* 站点名称
|
|
7897
|
+
*/
|
|
7898
|
+
ZoneName: string
|
|
7899
|
+
|
|
7900
|
+
/**
|
|
7901
|
+
* 会话保持时间
|
|
7902
|
+
*/
|
|
7903
|
+
SessionPersistTime: number
|
|
7904
|
+
|
|
7905
|
+
/**
|
|
7906
|
+
* 服务类型
|
|
7907
|
+
hostname:子域名
|
|
7908
|
+
instance:实例
|
|
7909
|
+
*/
|
|
7910
|
+
ProxyType: string
|
|
7911
|
+
|
|
7912
|
+
/**
|
|
7913
|
+
* 七层实例ID
|
|
7914
|
+
*/
|
|
7915
|
+
HostId: string
|
|
7889
7916
|
|
|
7890
7917
|
/**
|
|
7891
7918
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
CreateClusterInstancesResponse,
|
|
209
209
|
InstanceUpgradeClusterStatus,
|
|
210
210
|
DescribeClusterRoutesRequest,
|
|
211
|
-
|
|
211
|
+
ForwardTKEEdgeApplicationRequestV3Request,
|
|
212
212
|
ClusterLevelAttribute,
|
|
213
213
|
RemoveNodeFromNodePoolResponse,
|
|
214
214
|
SetNodePoolNodeProtectionRequest,
|
|
@@ -246,6 +246,7 @@ import {
|
|
|
246
246
|
AddNodeToNodePoolRequest,
|
|
247
247
|
DescribeExternalClusterSpecRequest,
|
|
248
248
|
ModifyPrometheusGlobalNotificationResponse,
|
|
249
|
+
ForwardTKEEdgeApplicationRequestV3Response,
|
|
249
250
|
AutoScalingGroupRange,
|
|
250
251
|
DescribePrometheusGlobalNotificationRequest,
|
|
251
252
|
ClusterPublicLB,
|
|
@@ -321,6 +322,7 @@ import {
|
|
|
321
322
|
ECMRunSecurityServiceEnabled,
|
|
322
323
|
SyncPrometheusTemplateResponse,
|
|
323
324
|
ClusterAsGroupAttribute,
|
|
325
|
+
DeleteECMInstancesRequest,
|
|
324
326
|
DisableEventPersistenceRequest,
|
|
325
327
|
RunMonitorServiceEnabled,
|
|
326
328
|
CreateEKSContainerInstancesRequest,
|
|
@@ -1824,6 +1826,16 @@ export class Client extends AbstractClient {
|
|
|
1824
1826
|
return this.request("EnableClusterDeletionProtection", req, cb)
|
|
1825
1827
|
}
|
|
1826
1828
|
|
|
1829
|
+
/**
|
|
1830
|
+
* 操作TKEEdge集群的addon
|
|
1831
|
+
*/
|
|
1832
|
+
async ForwardTKEEdgeApplicationRequestV3(
|
|
1833
|
+
req: ForwardTKEEdgeApplicationRequestV3Request,
|
|
1834
|
+
cb?: (error: string, rep: ForwardTKEEdgeApplicationRequestV3Response) => void
|
|
1835
|
+
): Promise<ForwardTKEEdgeApplicationRequestV3Response> {
|
|
1836
|
+
return this.request("ForwardTKEEdgeApplicationRequestV3", req, cb)
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1827
1839
|
/**
|
|
1828
1840
|
* 同步模板到实例或者集群
|
|
1829
1841
|
*/
|
|
@@ -1060,7 +1060,7 @@ export interface DescribeEKSClusterCredentialResponse {
|
|
|
1060
1060
|
Addresses: Array<IPAddress>
|
|
1061
1061
|
|
|
1062
1062
|
/**
|
|
1063
|
-
*
|
|
1063
|
+
* 集群的认证信息(token只有请求是主账号才返回,子账户请使用返回的kubeconfig)
|
|
1064
1064
|
*/
|
|
1065
1065
|
Credential: ClusterCredential
|
|
1066
1066
|
|
|
@@ -4743,18 +4743,43 @@ export interface DescribeClusterRoutesRequest {
|
|
|
4743
4743
|
}
|
|
4744
4744
|
|
|
4745
4745
|
/**
|
|
4746
|
-
*
|
|
4746
|
+
* ForwardTKEEdgeApplicationRequestV3请求参数结构体
|
|
4747
4747
|
*/
|
|
4748
|
-
export interface
|
|
4748
|
+
export interface ForwardTKEEdgeApplicationRequestV3Request {
|
|
4749
4749
|
/**
|
|
4750
|
-
*
|
|
4750
|
+
* 请求集群addon的访问
|
|
4751
4751
|
*/
|
|
4752
|
-
|
|
4752
|
+
Method: string
|
|
4753
4753
|
|
|
4754
4754
|
/**
|
|
4755
|
-
*
|
|
4755
|
+
* 请求集群addon的路径
|
|
4756
4756
|
*/
|
|
4757
|
-
|
|
4757
|
+
Path: string
|
|
4758
|
+
|
|
4759
|
+
/**
|
|
4760
|
+
* 请求集群addon后允许接收的数据格式
|
|
4761
|
+
*/
|
|
4762
|
+
Accept?: string
|
|
4763
|
+
|
|
4764
|
+
/**
|
|
4765
|
+
* 请求集群addon的数据格式
|
|
4766
|
+
*/
|
|
4767
|
+
ContentType?: string
|
|
4768
|
+
|
|
4769
|
+
/**
|
|
4770
|
+
* 请求集群addon的数据
|
|
4771
|
+
*/
|
|
4772
|
+
RequestBody?: string
|
|
4773
|
+
|
|
4774
|
+
/**
|
|
4775
|
+
* 集群名称,例如cls-1234abcd
|
|
4776
|
+
*/
|
|
4777
|
+
ClusterName?: string
|
|
4778
|
+
|
|
4779
|
+
/**
|
|
4780
|
+
* 是否编码请求内容
|
|
4781
|
+
*/
|
|
4782
|
+
EncodedBody?: string
|
|
4758
4783
|
}
|
|
4759
4784
|
|
|
4760
4785
|
/**
|
|
@@ -5515,6 +5540,21 @@ export interface ModifyPrometheusGlobalNotificationResponse {
|
|
|
5515
5540
|
RequestId?: string
|
|
5516
5541
|
}
|
|
5517
5542
|
|
|
5543
|
+
/**
|
|
5544
|
+
* ForwardTKEEdgeApplicationRequestV3返回参数结构体
|
|
5545
|
+
*/
|
|
5546
|
+
export interface ForwardTKEEdgeApplicationRequestV3Response {
|
|
5547
|
+
/**
|
|
5548
|
+
* 请求集群addon后返回的数据
|
|
5549
|
+
*/
|
|
5550
|
+
ResponseBody: string
|
|
5551
|
+
|
|
5552
|
+
/**
|
|
5553
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5554
|
+
*/
|
|
5555
|
+
RequestId?: string
|
|
5556
|
+
}
|
|
5557
|
+
|
|
5518
5558
|
/**
|
|
5519
5559
|
* 集群关联的伸缩组最大实例数最小值实例数
|
|
5520
5560
|
*/
|
|
@@ -7121,6 +7161,21 @@ export interface ClusterAsGroupAttribute {
|
|
|
7121
7161
|
AutoScalingGroupRange?: AutoScalingGroupRange
|
|
7122
7162
|
}
|
|
7123
7163
|
|
|
7164
|
+
/**
|
|
7165
|
+
* DeleteECMInstances请求参数结构体
|
|
7166
|
+
*/
|
|
7167
|
+
export interface DeleteECMInstancesRequest {
|
|
7168
|
+
/**
|
|
7169
|
+
* 集群ID
|
|
7170
|
+
*/
|
|
7171
|
+
ClusterID: string
|
|
7172
|
+
|
|
7173
|
+
/**
|
|
7174
|
+
* ecm id集合
|
|
7175
|
+
*/
|
|
7176
|
+
EcmIdSet: Array<string>
|
|
7177
|
+
}
|
|
7178
|
+
|
|
7124
7179
|
/**
|
|
7125
7180
|
* DisableEventPersistence请求参数结构体
|
|
7126
7181
|
*/
|
|
@@ -18,25 +18,37 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
SREInstance,
|
|
21
|
+
NacosReplica,
|
|
22
|
+
DescribeNacosReplicasRequest,
|
|
24
23
|
ApolloEnvParam,
|
|
25
|
-
DescribeSREInstancesResponse,
|
|
26
|
-
DescribeSREInstanceAccessAddressResponse,
|
|
27
24
|
KVPair,
|
|
28
25
|
DeleteEngineResponse,
|
|
29
26
|
CreateEngineResponse,
|
|
30
|
-
|
|
31
|
-
EnvAddressInfo,
|
|
32
|
-
CreateEngineRequest,
|
|
33
|
-
InstanceTagInfo,
|
|
27
|
+
DescribeZookeeperReplicasRequest,
|
|
34
28
|
DeleteEngineRequest,
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
ZookeeperReplica,
|
|
30
|
+
DescribeNacosServerInterfacesRequest,
|
|
31
|
+
SREInstance,
|
|
32
|
+
DescribeSREInstanceAccessAddressResponse,
|
|
33
|
+
DescribeSREInstancesResponse,
|
|
34
|
+
ZookeeperServerInterface,
|
|
37
35
|
ServiceGovernanceInfo,
|
|
36
|
+
DescribeNacosReplicasResponse,
|
|
37
|
+
DescribeZookeeperServerInterfacesResponse,
|
|
38
|
+
BoundK8SInfo,
|
|
39
|
+
DescribeSREInstancesRequest,
|
|
40
|
+
DescribeZookeeperReplicasResponse,
|
|
38
41
|
VpcInfo,
|
|
42
|
+
Filter,
|
|
43
|
+
CreateEngineRequest,
|
|
44
|
+
DescribeSREInstanceAccessAddressRequest,
|
|
45
|
+
DescribeNacosServerInterfacesResponse,
|
|
46
|
+
EngineAdmin,
|
|
47
|
+
NacosServerInterface,
|
|
48
|
+
DescribeZookeeperServerInterfacesRequest,
|
|
39
49
|
EnvInfo,
|
|
50
|
+
EnvAddressInfo,
|
|
51
|
+
InstanceTagInfo,
|
|
40
52
|
} from "./tse_models"
|
|
41
53
|
|
|
42
54
|
/**
|
|
@@ -48,6 +60,16 @@ export class Client extends AbstractClient {
|
|
|
48
60
|
super("tse.tencentcloudapi.com", "2020-12-07", clientConfig)
|
|
49
61
|
}
|
|
50
62
|
|
|
63
|
+
/**
|
|
64
|
+
* 查询Zookeeper类型注册引擎实例副本信息
|
|
65
|
+
*/
|
|
66
|
+
async DescribeZookeeperReplicas(
|
|
67
|
+
req: DescribeZookeeperReplicasRequest,
|
|
68
|
+
cb?: (error: string, rep: DescribeZookeeperReplicasResponse) => void
|
|
69
|
+
): Promise<DescribeZookeeperReplicasResponse> {
|
|
70
|
+
return this.request("DescribeZookeeperReplicas", req, cb)
|
|
71
|
+
}
|
|
72
|
+
|
|
51
73
|
/**
|
|
52
74
|
* 删除引擎实例
|
|
53
75
|
*/
|
|
@@ -59,13 +81,33 @@ export class Client extends AbstractClient {
|
|
|
59
81
|
}
|
|
60
82
|
|
|
61
83
|
/**
|
|
62
|
-
*
|
|
84
|
+
* 用于查询引擎实例列表
|
|
63
85
|
*/
|
|
64
|
-
async
|
|
65
|
-
req:
|
|
66
|
-
cb?: (error: string, rep:
|
|
67
|
-
): Promise<
|
|
68
|
-
return this.request("
|
|
86
|
+
async DescribeSREInstances(
|
|
87
|
+
req: DescribeSREInstancesRequest,
|
|
88
|
+
cb?: (error: string, rep: DescribeSREInstancesResponse) => void
|
|
89
|
+
): Promise<DescribeSREInstancesResponse> {
|
|
90
|
+
return this.request("DescribeSREInstances", req, cb)
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* 查询Nacos类型引擎实例副本信息
|
|
95
|
+
*/
|
|
96
|
+
async DescribeNacosReplicas(
|
|
97
|
+
req: DescribeNacosReplicasRequest,
|
|
98
|
+
cb?: (error: string, rep: DescribeNacosReplicasResponse) => void
|
|
99
|
+
): Promise<DescribeNacosReplicasResponse> {
|
|
100
|
+
return this.request("DescribeNacosReplicas", req, cb)
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* 查询zookeeper服务接口列表
|
|
105
|
+
*/
|
|
106
|
+
async DescribeZookeeperServerInterfaces(
|
|
107
|
+
req: DescribeZookeeperServerInterfacesRequest,
|
|
108
|
+
cb?: (error: string, rep: DescribeZookeeperServerInterfacesResponse) => void
|
|
109
|
+
): Promise<DescribeZookeeperServerInterfacesResponse> {
|
|
110
|
+
return this.request("DescribeZookeeperServerInterfaces", req, cb)
|
|
69
111
|
}
|
|
70
112
|
|
|
71
113
|
/**
|
|
@@ -79,12 +121,22 @@ export class Client extends AbstractClient {
|
|
|
79
121
|
}
|
|
80
122
|
|
|
81
123
|
/**
|
|
82
|
-
*
|
|
124
|
+
* 查询nacos服务接口列表
|
|
83
125
|
*/
|
|
84
|
-
async
|
|
85
|
-
req:
|
|
86
|
-
cb?: (error: string, rep:
|
|
87
|
-
): Promise<
|
|
88
|
-
return this.request("
|
|
126
|
+
async DescribeNacosServerInterfaces(
|
|
127
|
+
req: DescribeNacosServerInterfacesRequest,
|
|
128
|
+
cb?: (error: string, rep: DescribeNacosServerInterfacesResponse) => void
|
|
129
|
+
): Promise<DescribeNacosServerInterfacesResponse> {
|
|
130
|
+
return this.request("DescribeNacosServerInterfaces", req, cb)
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* 查询引擎实例访问地址
|
|
135
|
+
*/
|
|
136
|
+
async DescribeSREInstanceAccessAddress(
|
|
137
|
+
req: DescribeSREInstanceAccessAddressRequest,
|
|
138
|
+
cb?: (error: string, rep: DescribeSREInstanceAccessAddressResponse) => void
|
|
139
|
+
): Promise<DescribeSREInstanceAccessAddressResponse> {
|
|
140
|
+
return this.request("DescribeSREInstanceAccessAddress", req, cb)
|
|
89
141
|
}
|
|
90
142
|
}
|