tencentcloud-sdk-nodejs 4.0.1032 → 4.0.1033

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.
Files changed (68) hide show
  1. package/package.json +1 -1
  2. package/src/common/sdk_version.ts +1 -1
  3. package/src/services/billing/v20180709/billing_client.ts +7 -51
  4. package/src/services/billing/v20180709/billing_models.ts +0 -229
  5. package/src/services/domain/v20180808/domain_models.ts +4 -4
  6. package/src/services/facefusion/v20220927/facefusion_client.ts +0 -1
  7. package/src/services/gme/v20180711/gme_models.ts +5 -11
  8. package/src/services/keewidb/v20220308/keewidb_client.ts +3 -2
  9. package/src/services/keewidb/v20220308/keewidb_models.ts +1 -1
  10. package/src/services/lcic/v20220817/lcic_models.ts +0 -2
  11. package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -8
  12. package/src/services/lkeap/v20240522/lkeap_client.ts +4 -4
  13. package/src/services/lkeap/v20240522/lkeap_models.ts +2 -3
  14. package/src/services/mna/v20210119/mna_client.ts +28 -3
  15. package/src/services/mna/v20210119/mna_models.ts +158 -40
  16. package/src/services/monitor/index.ts +2 -0
  17. package/src/services/monitor/v20230616/index.ts +6 -0
  18. package/src/services/monitor/v20230616/monitor_client.ts +53 -0
  19. package/src/services/monitor/v20230616/monitor_models.ts +143 -0
  20. package/src/services/mqtt/v20240516/mqtt_client.ts +150 -52
  21. package/src/services/mqtt/v20240516/mqtt_models.ts +378 -30
  22. package/src/services/ocr/v20181119/ocr_models.ts +4 -0
  23. package/src/services/ssl/v20191205/ssl_models.ts +1 -1
  24. package/src/services/trtc/v20190722/trtc_models.ts +0 -3
  25. package/src/services/vclm/v20240523/vclm_client.ts +7 -80
  26. package/src/services/vclm/v20240523/vclm_models.ts +103 -347
  27. package/src/services/wedata/v20210820/wedata_client.ts +22 -10
  28. package/src/services/wedata/v20210820/wedata_models.ts +125 -110
  29. package/tencentcloud/common/sdk_version.d.ts +1 -1
  30. package/tencentcloud/common/sdk_version.js +1 -1
  31. package/tencentcloud/services/billing/v20180709/billing_client.d.ts +3 -21
  32. package/tencentcloud/services/billing/v20180709/billing_client.js +3 -27
  33. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +0 -221
  34. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +4 -4
  35. package/tencentcloud/services/facefusion/v20220927/facefusion_client.d.ts +0 -1
  36. package/tencentcloud/services/facefusion/v20220927/facefusion_client.js +0 -1
  37. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +5 -11
  38. package/tencentcloud/services/keewidb/v20220308/keewidb_client.d.ts +1 -0
  39. package/tencentcloud/services/keewidb/v20220308/keewidb_client.js +1 -0
  40. package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +1 -1
  41. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +0 -2
  42. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -8
  43. package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +4 -4
  44. package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +4 -4
  45. package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +2 -3
  46. package/tencentcloud/services/mna/v20210119/mna_client.d.ts +9 -1
  47. package/tencentcloud/services/mna/v20210119/mna_client.js +12 -0
  48. package/tencentcloud/services/mna/v20210119/mna_models.d.ts +153 -40
  49. package/tencentcloud/services/monitor/index.d.ts +4 -0
  50. package/tencentcloud/services/monitor/index.js +2 -0
  51. package/tencentcloud/services/monitor/v20230616/index.d.ts +6 -0
  52. package/tencentcloud/services/monitor/v20230616/index.js +9 -0
  53. package/tencentcloud/services/monitor/v20230616/monitor_client.d.ts +20 -0
  54. package/tencentcloud/services/monitor/v20230616/monitor_client.js +43 -0
  55. package/tencentcloud/services/monitor/v20230616/monitor_models.d.ts +121 -0
  56. package/tencentcloud/services/monitor/v20230616/monitor_models.js +18 -0
  57. package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +53 -20
  58. package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +75 -26
  59. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +361 -30
  60. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -0
  61. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
  62. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -3
  63. package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +1 -48
  64. package/tencentcloud/services/vclm/v20240523/vclm_client.js +0 -53
  65. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +101 -337
  66. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +7 -3
  67. package/tencentcloud/services/wedata/v20210820/wedata_client.js +9 -3
  68. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +123 -110
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const abstract_client_1 = require("../../../common/abstract_client");
22
+ /**
23
+ * monitor client
24
+ * @class
25
+ */
26
+ class Client extends abstract_client_1.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("monitor.tencentcloudapi.com", "2023-06-16", clientConfig);
29
+ }
30
+ /**
31
+ * 获取云产品的监控数据。此接口不适用于拉取容器服务监控数据,如需拉取容器服务监控数据,请使用[根据维度条件查询监控数据](https://cloud.tencent.com/document/product/248/51845)接口。
32
+ 传入产品的命名空间、对象维度描述和监控指标即可获得相应的监控数据。
33
+ 接口调用限制:单请求最多可支持批量拉取10个实例的监控数据,单请求的数据点数限制为1440个。
34
+ 若您需要调用的指标、对象较多,可能存在因限频出现拉取失败的情况,建议尽量将请求按时间维度均摊。
35
+
36
+ >?
37
+ >- 2022年9月1日起,云监控开始对GetMonitorData接口计费。每个主账号每月可获得100万次免费请求额度,超过免费额度后如需继续调用接口需要开通 [API请求按量付费](https://buy.cloud.tencent.com/APIRequestBuy)。计费规则可查看[API计费文档](https://cloud.tencent.com/document/product/248/77914)。
38
+ */
39
+ async GetMonitorData(req, cb) {
40
+ return this.request("GetMonitorData", req, cb);
41
+ }
42
+ }
43
+ exports.Client = Client;
@@ -0,0 +1,121 @@
1
+ /**
2
+ * GetMonitorData返回参数结构体
3
+ */
4
+ export interface GetMonitorDataResponse {
5
+ /**
6
+ * 统计周期
7
+ */
8
+ Period?: number;
9
+ /**
10
+ * 指标名
11
+ */
12
+ MetricName?: string;
13
+ /**
14
+ * 数据点数组
15
+ */
16
+ DataPoints?: Array<DataPoint>;
17
+ /**
18
+ * 开始时间
19
+ */
20
+ StartTime?: string;
21
+ /**
22
+ * 结束时间
23
+ */
24
+ EndTime?: string;
25
+ /**
26
+ * 返回信息
27
+ */
28
+ Msg?: string;
29
+ /**
30
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31
+ */
32
+ RequestId?: string;
33
+ }
34
+ /**
35
+ * 计算算子
36
+ */
37
+ export interface Expr {
38
+ /**
39
+ * 算子名称
40
+ */
41
+ Function?: string;
42
+ /**
43
+ * 算子入参值
44
+ */
45
+ N?: number;
46
+ }
47
+ /**
48
+ * GetMonitorData请求参数结构体
49
+ */
50
+ export interface GetMonitorDataRequest {
51
+ /**
52
+ * 命名空间,如QCE/CVM。各个云产品的详细命名空间说明请参阅各个产品[监控指标](https://cloud.tencent.com/document/product/248/6140)文档
53
+ */
54
+ Namespace: string;
55
+ /**
56
+ * 指标名称,如CPUUsage,仅支持单指标拉取。各个云产品的详细指标说明请参阅各个产品[监控指标](https://cloud.tencent.com/document/product/248/6140)文档,对应的指标英文名即为MetricName
57
+ */
58
+ MetricName: string;
59
+ /**
60
+ * 实例对象的维度组合,格式为key-value键值对形式的集合。不同类型的实例字段完全不同,如CVM为[{"Name":"InstanceId","Value":"ins-j0hk02zo"}],Ckafka为[{"Name":"instanceId","Value":"ckafka-l49k54dd"}],COS为[{"Name":"appid","Value":"1258344699"},{"Name":"bucket","Value":"rig-1258344699"}]。各个云产品的维度请参阅各个产品[监控指标](https://cloud.tencent.com/document/product/248/6140)文档,对应的维度列即为维度组合的key,value为key对应的值。单请求最多支持批量拉取10个实例的监控数据。
61
+ */
62
+ Instances: Array<Instance>;
63
+ /**
64
+ * 监控统计周期,如60。默认为取值为300,单位为s。每个指标支持的统计周期不一定相同,各个云产品支持的统计周期请参阅各个产品[监控指标](https://cloud.tencent.com/document/product/248/6140)文档,对应的统计周期列即为支持的统计周期。单请求的数据点数限制为1440个。
65
+ */
66
+ Period?: number;
67
+ /**
68
+ * 起始时间,如2018-09-22T19:51:23+08:00
69
+ */
70
+ StartTime?: string;
71
+ /**
72
+ * 结束时间,如2018-09-22T20:51:23+08:00,默认为当前时间。 EndTime不能小于StartTime
73
+ */
74
+ EndTime?: string;
75
+ /**
76
+ * 计算算子
77
+ */
78
+ Expr?: Expr;
79
+ }
80
+ /**
81
+ * 实例维度组合数组
82
+ */
83
+ export interface Instance {
84
+ /**
85
+ * 实例的维度组合
86
+ 注意:此字段可能返回 null,表示取不到有效值。
87
+ */
88
+ Dimensions: Array<Dimension>;
89
+ }
90
+ /**
91
+ * 监控数据点
92
+ */
93
+ export interface DataPoint {
94
+ /**
95
+ * 实例对象维度组合
96
+ */
97
+ Dimensions?: Array<Dimension>;
98
+ /**
99
+ * 时间戳数组,表示那些时间点有数据,缺失的时间戳,没有数据点,可以理解为掉点了
100
+ */
101
+ Timestamps?: Array<number>;
102
+ /**
103
+ * 监控值数组,该数组和Timestamps一一对应
104
+ */
105
+ Values?: Array<number>;
106
+ }
107
+ /**
108
+ * 实例对象的维度组合
109
+ */
110
+ export interface Dimension {
111
+ /**
112
+ * 实例维度名称
113
+ 注意:此字段可能返回 null,表示取不到有效值。
114
+ */
115
+ Name: string;
116
+ /**
117
+ * 实例维度值
118
+ 注意:此字段可能返回 null,表示取不到有效值。
119
+ */
120
+ Value: string;
121
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DeleteUserRequest, ModifyJWTAuthenticatorResponse, UpdateAuthorizationPolicyPriorityRequest, ActivateDeviceCertificateRequest, CreateInstanceResponse, DescribeAuthenticatorRequest, ModifyJWTAuthenticatorRequest, ModifyInstanceRequest, DeleteTopicRequest, ModifyUserResponse, DescribeDeviceCertificatesRequest, DeleteAuthenticatorRequest, DeleteAuthorizationPolicyResponse, ModifyJWKSAuthenticatorRequest, DeleteInstanceResponse, RegisterDeviceCertificateResponse, DescribeDeviceCertificateRequest, DescribeInstanceListResponse, ModifyInstanceResponse, ModifyInsPublicEndpointResponse, ModifyJWKSAuthenticatorResponse, CreateInsPublicEndpointResponse, CreateUserResponse, CreateAuthorizationPolicyRequest, DescribeAuthenticatorResponse, DeleteDeviceCertificateRequest, DescribeInsPublicEndpointsRequest, DeleteUserResponse, DeleteDeviceCertificateResponse, ModifyAuthorizationPolicyResponse, CreateJWKSAuthenticatorRequest, DescribeTopicResponse, CreateJWKSAuthenticatorResponse, DescribeAuthorizationPoliciesResponse, CreateTopicRequest, DescribeUserListResponse, ModifyTopicResponse, DeactivateDeviceCertificateResponse, ActivateDeviceCertificateResponse, DescribeTopicRequest, UpdateAuthorizationPolicyPriorityResponse, CreateTopicResponse, DeleteInsPublicEndpointResponse, DescribeTopicListRequest, RevokedDeviceCertificateRequest, CreateAuthorizationPolicyResponse, CreateInstanceRequest, CreateInsPublicEndpointRequest, RegisterDeviceCertificateRequest, DeactivateDeviceCertificateRequest, DescribeDeviceCertificatesResponse, ModifyTopicRequest, CreateUserRequest, DescribeInstanceResponse, DeleteInstanceRequest, DescribeInsPublicEndpointsResponse, ModifyInsPublicEndpointRequest, DeleteInsPublicEndpointRequest, DescribeUserListRequest, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, DescribeAuthorizationPoliciesRequest, RevokedDeviceCertificateResponse, DescribeDeviceCertificateResponse, DescribeInstanceListRequest, CreateJWTAuthenticatorRequest, ModifyAuthorizationPolicyRequest, DescribeTopicListResponse, DeleteTopicResponse, DescribeInstanceRequest, ModifyUserRequest, DeleteAuthenticatorResponse } from "./mqtt_models";
3
+ import { DeleteUserRequest, ModifyJWTAuthenticatorResponse, ModifyAuthorizationPolicyResponse, ActivateDeviceCertificateRequest, CreateInstanceResponse, ApplyRegistrationCodeRequest, ModifyJWTAuthenticatorRequest, ModifyInstanceRequest, DeleteTopicRequest, ModifyUserResponse, DescribeCaCertificateResponse, DescribeDeviceCertificatesRequest, DeleteAuthenticatorRequest, DeleteAuthorizationPolicyResponse, ModifyJWKSAuthenticatorRequest, RegisterCaCertificateResponse, RegisterDeviceCertificateResponse, DescribeDeviceCertificateRequest, DescribeInstanceListResponse, ApplyRegistrationCodeResponse, ModifyInstanceResponse, ModifyInsPublicEndpointResponse, ModifyJWKSAuthenticatorResponse, CreateInsPublicEndpointResponse, CreateUserResponse, CreateAuthorizationPolicyRequest, DescribeAuthenticatorResponse, DeactivateCaCertificateResponse, DeleteCaCertificateRequest, DeleteDeviceCertificateRequest, DescribeInsPublicEndpointsRequest, DeleteUserResponse, ActivateCaCertificateResponse, DeleteDeviceCertificateResponse, DeleteInstanceResponse, CreateJWKSAuthenticatorRequest, DescribeTopicResponse, CreateJWKSAuthenticatorResponse, DescribeAuthorizationPoliciesResponse, CreateTopicRequest, DeleteCaCertificateResponse, DescribeUserListResponse, ModifyTopicResponse, DeactivateDeviceCertificateResponse, ActivateCaCertificateRequest, ActivateDeviceCertificateResponse, DescribeTopicRequest, UpdateAuthorizationPolicyPriorityResponse, CreateTopicResponse, DeleteInsPublicEndpointResponse, DescribeTopicListRequest, RevokedDeviceCertificateRequest, CreateAuthorizationPolicyResponse, DescribeAuthenticatorRequest, RegisterCaCertificateRequest, CreateInstanceRequest, CreateInsPublicEndpointRequest, RegisterDeviceCertificateRequest, DeactivateDeviceCertificateRequest, DescribeDeviceCertificatesResponse, ModifyTopicRequest, CreateUserRequest, DescribeInstanceResponse, ModifyInstanceCertBindingResponse, DeleteInstanceRequest, DescribeInsPublicEndpointsResponse, ModifyInsPublicEndpointRequest, DeleteInsPublicEndpointRequest, DescribeUserListRequest, DescribeCaCertificateRequest, UpdateAuthorizationPolicyPriorityRequest, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, DescribeAuthorizationPoliciesRequest, DescribeTopicListResponse, DescribeDeviceCertificateResponse, DescribeInstanceListRequest, DeactivateCaCertificateRequest, CreateJWTAuthenticatorRequest, DescribeCaCertificatesRequest, ModifyAuthorizationPolicyRequest, RevokedDeviceCertificateResponse, DeleteTopicResponse, ModifyInstanceCertBindingRequest, DescribeInstanceRequest, DescribeCaCertificatesResponse, ModifyUserRequest, DeleteAuthenticatorResponse } from "./mqtt_models";
4
4
  /**
5
5
  * mqtt client
6
6
  * @class
@@ -8,9 +8,11 @@ import { DeleteUserRequest, ModifyJWTAuthenticatorResponse, UpdateAuthorizationP
8
8
  export declare class Client extends AbstractClient {
9
9
  constructor(clientConfig: ClientConfig);
10
10
  /**
11
- * 购买新的MQTT实例
11
+ * 查询用户列表,Filter参数使用说明如下:
12
+
13
+ 1. Username,用户名称模糊搜索
12
14
  */
13
- CreateInstance(req: CreateInstanceRequest, cb?: (error: string, rep: CreateInstanceResponse) => void): Promise<CreateInstanceResponse>;
15
+ DescribeUserList(req: DescribeUserListRequest, cb?: (error: string, rep: DescribeUserListResponse) => void): Promise<DescribeUserListResponse>;
14
16
  /**
15
17
  * 为MQTT实例创建公网接入点
16
18
  */
@@ -19,6 +21,10 @@ export declare class Client extends AbstractClient {
19
21
  * 修改主题属性
20
22
  */
21
23
  ModifyTopic(req: ModifyTopicRequest, cb?: (error: string, rep: ModifyTopicResponse) => void): Promise<ModifyTopicResponse>;
24
+ /**
25
+ * 删除Ca证书
26
+ */
27
+ DeleteCaCertificate(req: DeleteCaCertificateRequest, cb?: (error: string, rep: DeleteCaCertificateResponse) => void): Promise<DeleteCaCertificateResponse>;
22
28
  /**
23
29
  * 失效Ca证书
24
30
  */
@@ -27,6 +33,10 @@ export declare class Client extends AbstractClient {
27
33
  * 查询mqtt主题详情
28
34
  */
29
35
  DescribeTopic(req: DescribeTopicRequest, cb?: (error: string, rep: DescribeTopicResponse) => void): Promise<DescribeTopicResponse>;
36
+ /**
37
+ * 失效Ca证书
38
+ */
39
+ DeactivateCaCertificate(req: DeactivateCaCertificateRequest, cb?: (error: string, rep: DeactivateCaCertificateResponse) => void): Promise<DeactivateCaCertificateResponse>;
30
40
  /**
31
41
  * 创建一个jwks的认证
32
42
  */
@@ -55,20 +65,31 @@ export declare class Client extends AbstractClient {
55
65
  * 查询MQTT实例公网接入点
56
66
  */
57
67
  DescribeInsPublicEndpoints(req: DescribeInsPublicEndpointsRequest, cb?: (error: string, rep: DescribeInsPublicEndpointsResponse) => void): Promise<DescribeInsPublicEndpointsResponse>;
58
- /**
59
- * 查询用户列表,Filter参数使用说明如下:
60
-
61
- 1. Username,用户名称模糊搜索
62
- */
63
- DescribeUserList(req: DescribeUserListRequest, cb?: (error: string, rep: DescribeUserListResponse) => void): Promise<DescribeUserListResponse>;
64
68
  /**
65
69
  * 更新MQTT实例公网接入点
66
70
  */
67
71
  ModifyInsPublicEndpoint(req: ModifyInsPublicEndpointRequest, cb?: (error: string, rep: ModifyInsPublicEndpointResponse) => void): Promise<ModifyInsPublicEndpointResponse>;
72
+ /**
73
+ * 查询设备证书详情接口
74
+ */
75
+ DescribeDeviceCertificate(req: DescribeDeviceCertificateRequest, cb?: (error: string, rep: DescribeDeviceCertificateResponse) => void): Promise<DescribeDeviceCertificateResponse>;
68
76
  /**
69
77
  * 注册设备证书
70
78
  */
71
79
  RegisterDeviceCertificate(req: RegisterDeviceCertificateRequest, cb?: (error: string, rep: RegisterDeviceCertificateResponse) => void): Promise<RegisterDeviceCertificateResponse>;
80
+ /**
81
+ * 更新MQTT集群绑定证书
82
+ 参数传空,则为删除证书
83
+ */
84
+ ModifyInstanceCertBinding(req: ModifyInstanceCertBindingRequest, cb?: (error: string, rep: ModifyInstanceCertBindingResponse) => void): Promise<ModifyInstanceCertBindingResponse>;
85
+ /**
86
+ * 查询集群下的ca证书信息
87
+ */
88
+ DescribeCaCertificates(req: DescribeCaCertificatesRequest, cb?: (error: string, rep: DescribeCaCertificatesResponse) => void): Promise<DescribeCaCertificatesResponse>;
89
+ /**
90
+ * 修改策略规则优先级
91
+ */
92
+ UpdateAuthorizationPolicyPriority(req: UpdateAuthorizationPolicyPriorityRequest, cb?: (error: string, rep: UpdateAuthorizationPolicyPriorityResponse) => void): Promise<UpdateAuthorizationPolicyPriorityResponse>;
72
93
  /**
73
94
  * 创建主题
74
95
  */
@@ -81,14 +102,21 @@ export declare class Client extends AbstractClient {
81
102
  * 查询授权规则
82
103
  */
83
104
  DescribeAuthorizationPolicies(req: DescribeAuthorizationPoliciesRequest, cb?: (error: string, rep: DescribeAuthorizationPoliciesResponse) => void): Promise<DescribeAuthorizationPoliciesResponse>;
105
+ /**
106
+ * 获取主题列表,Filter参数使用说明如下:
107
+
108
+ 1. TopicName,主题名称模糊搜索
109
+ 2. TopicType,主题类型查询,支持多选,可选值:Normal,Order,Transaction,DelayScheduled
110
+ */
111
+ DescribeTopicList(req: DescribeTopicListRequest, cb?: (error: string, rep: DescribeTopicListResponse) => void): Promise<DescribeTopicListResponse>;
84
112
  /**
85
113
  * 删除MQTT实例的公网接入点
86
114
  */
87
115
  DeleteInsPublicEndpoint(req: DeleteInsPublicEndpointRequest, cb?: (error: string, rep: DeleteInsPublicEndpointResponse) => void): Promise<DeleteInsPublicEndpointResponse>;
88
116
  /**
89
- * 查询设备证书详情接口
117
+ * 购买新的MQTT实例
90
118
  */
91
- DescribeDeviceCertificate(req: DescribeDeviceCertificateRequest, cb?: (error: string, rep: DescribeDeviceCertificateResponse) => void): Promise<DescribeDeviceCertificateResponse>;
119
+ CreateInstance(req: CreateInstanceRequest, cb?: (error: string, rep: CreateInstanceResponse) => void): Promise<CreateInstanceResponse>;
92
120
  /**
93
121
  * 获取实例列表,Filters参数使用说明如下:
94
122
  1. InstanceName, 名称模糊查询
@@ -107,12 +135,13 @@ export declare class Client extends AbstractClient {
107
135
  */
108
136
  DescribeInstance(req: DescribeInstanceRequest, cb?: (error: string, rep: DescribeInstanceResponse) => void): Promise<DescribeInstanceResponse>;
109
137
  /**
110
- * 获取主题列表,Filter参数使用说明如下:
111
-
112
- 1. TopicName,主题名称模糊搜索
113
- 2. TopicType,主题类型查询,支持多选,可选值:Normal,Order,Transaction,DelayScheduled
138
+ * 删除MQTT主题
114
139
  */
115
- DescribeTopicList(req: DescribeTopicListRequest, cb?: (error: string, rep: DescribeTopicListResponse) => void): Promise<DescribeTopicListResponse>;
140
+ DeleteTopic(req: DeleteTopicRequest, cb?: (error: string, rep: DeleteTopicResponse) => void): Promise<DeleteTopicResponse>;
141
+ /**
142
+ * 查询Ca证书详情接口
143
+ */
144
+ DescribeCaCertificate(req: DescribeCaCertificateRequest, cb?: (error: string, rep: DescribeCaCertificateResponse) => void): Promise<DescribeCaCertificateResponse>;
116
145
  /**
117
146
  * 创建一个jwks的认证
118
147
  */
@@ -137,22 +166,26 @@ export declare class Client extends AbstractClient {
137
166
  * 根据认证器类型删除一个MQTT认证器
138
167
  */
139
168
  DeleteAuthenticator(req: DeleteAuthenticatorRequest, cb?: (error: string, rep: DeleteAuthenticatorResponse) => void): Promise<DeleteAuthenticatorResponse>;
169
+ /**
170
+ * 注册ca证书
171
+ */
172
+ RegisterCaCertificate(req: RegisterCaCertificateRequest, cb?: (error: string, rep: RegisterCaCertificateResponse) => void): Promise<RegisterCaCertificateResponse>;
140
173
  /**
141
174
  * 查询MQTT认证器
142
175
  */
143
176
  DescribeAuthenticator(req: DescribeAuthenticatorRequest, cb?: (error: string, rep: DescribeAuthenticatorResponse) => void): Promise<DescribeAuthenticatorResponse>;
144
177
  /**
145
- * 修改策略规则优先级
178
+ * 激活Ca证书
146
179
  */
147
- UpdateAuthorizationPolicyPriority(req: UpdateAuthorizationPolicyPriorityRequest, cb?: (error: string, rep: UpdateAuthorizationPolicyPriorityResponse) => void): Promise<UpdateAuthorizationPolicyPriorityResponse>;
180
+ ActivateCaCertificate(req: ActivateCaCertificateRequest, cb?: (error: string, rep: ActivateCaCertificateResponse) => void): Promise<ActivateCaCertificateResponse>;
148
181
  /**
149
182
  * 添加mqtt角色
150
183
  */
151
184
  CreateUser(req: CreateUserRequest, cb?: (error: string, rep: CreateUserResponse) => void): Promise<CreateUserResponse>;
152
185
  /**
153
- * 删除MQTT主题
186
+ * 申请ca注册码
154
187
  */
155
- DeleteTopic(req: DeleteTopicRequest, cb?: (error: string, rep: DeleteTopicResponse) => void): Promise<DeleteTopicResponse>;
188
+ ApplyRegistrationCode(req: ApplyRegistrationCodeRequest, cb?: (error: string, rep: ApplyRegistrationCodeResponse) => void): Promise<ApplyRegistrationCodeResponse>;
156
189
  /**
157
190
  * 创建MQTT实例的性能测试任务
158
191
  */
@@ -28,10 +28,12 @@ class Client extends abstract_client_1.AbstractClient {
28
28
  super("mqtt.tencentcloudapi.com", "2024-05-16", clientConfig);
29
29
  }
30
30
  /**
31
- * 购买新的MQTT实例
31
+ * 查询用户列表,Filter参数使用说明如下:
32
+
33
+ 1. Username,用户名称模糊搜索
32
34
  */
33
- async CreateInstance(req, cb) {
34
- return this.request("CreateInstance", req, cb);
35
+ async DescribeUserList(req, cb) {
36
+ return this.request("DescribeUserList", req, cb);
35
37
  }
36
38
  /**
37
39
  * 为MQTT实例创建公网接入点
@@ -45,6 +47,12 @@ class Client extends abstract_client_1.AbstractClient {
45
47
  async ModifyTopic(req, cb) {
46
48
  return this.request("ModifyTopic", req, cb);
47
49
  }
50
+ /**
51
+ * 删除Ca证书
52
+ */
53
+ async DeleteCaCertificate(req, cb) {
54
+ return this.request("DeleteCaCertificate", req, cb);
55
+ }
48
56
  /**
49
57
  * 失效Ca证书
50
58
  */
@@ -57,6 +65,12 @@ class Client extends abstract_client_1.AbstractClient {
57
65
  async DescribeTopic(req, cb) {
58
66
  return this.request("DescribeTopic", req, cb);
59
67
  }
68
+ /**
69
+ * 失效Ca证书
70
+ */
71
+ async DeactivateCaCertificate(req, cb) {
72
+ return this.request("DeactivateCaCertificate", req, cb);
73
+ }
60
74
  /**
61
75
  * 创建一个jwks的认证
62
76
  */
@@ -99,26 +113,43 @@ class Client extends abstract_client_1.AbstractClient {
99
113
  async DescribeInsPublicEndpoints(req, cb) {
100
114
  return this.request("DescribeInsPublicEndpoints", req, cb);
101
115
  }
102
- /**
103
- * 查询用户列表,Filter参数使用说明如下:
104
-
105
- 1. Username,用户名称模糊搜索
106
- */
107
- async DescribeUserList(req, cb) {
108
- return this.request("DescribeUserList", req, cb);
109
- }
110
116
  /**
111
117
  * 更新MQTT实例公网接入点
112
118
  */
113
119
  async ModifyInsPublicEndpoint(req, cb) {
114
120
  return this.request("ModifyInsPublicEndpoint", req, cb);
115
121
  }
122
+ /**
123
+ * 查询设备证书详情接口
124
+ */
125
+ async DescribeDeviceCertificate(req, cb) {
126
+ return this.request("DescribeDeviceCertificate", req, cb);
127
+ }
116
128
  /**
117
129
  * 注册设备证书
118
130
  */
119
131
  async RegisterDeviceCertificate(req, cb) {
120
132
  return this.request("RegisterDeviceCertificate", req, cb);
121
133
  }
134
+ /**
135
+ * 更新MQTT集群绑定证书
136
+ 参数传空,则为删除证书
137
+ */
138
+ async ModifyInstanceCertBinding(req, cb) {
139
+ return this.request("ModifyInstanceCertBinding", req, cb);
140
+ }
141
+ /**
142
+ * 查询集群下的ca证书信息
143
+ */
144
+ async DescribeCaCertificates(req, cb) {
145
+ return this.request("DescribeCaCertificates", req, cb);
146
+ }
147
+ /**
148
+ * 修改策略规则优先级
149
+ */
150
+ async UpdateAuthorizationPolicyPriority(req, cb) {
151
+ return this.request("UpdateAuthorizationPolicyPriority", req, cb);
152
+ }
122
153
  /**
123
154
  * 创建主题
124
155
  */
@@ -137,6 +168,15 @@ class Client extends abstract_client_1.AbstractClient {
137
168
  async DescribeAuthorizationPolicies(req, cb) {
138
169
  return this.request("DescribeAuthorizationPolicies", req, cb);
139
170
  }
171
+ /**
172
+ * 获取主题列表,Filter参数使用说明如下:
173
+
174
+ 1. TopicName,主题名称模糊搜索
175
+ 2. TopicType,主题类型查询,支持多选,可选值:Normal,Order,Transaction,DelayScheduled
176
+ */
177
+ async DescribeTopicList(req, cb) {
178
+ return this.request("DescribeTopicList", req, cb);
179
+ }
140
180
  /**
141
181
  * 删除MQTT实例的公网接入点
142
182
  */
@@ -144,10 +184,10 @@ class Client extends abstract_client_1.AbstractClient {
144
184
  return this.request("DeleteInsPublicEndpoint", req, cb);
145
185
  }
146
186
  /**
147
- * 查询设备证书详情接口
187
+ * 购买新的MQTT实例
148
188
  */
149
- async DescribeDeviceCertificate(req, cb) {
150
- return this.request("DescribeDeviceCertificate", req, cb);
189
+ async CreateInstance(req, cb) {
190
+ return this.request("CreateInstance", req, cb);
151
191
  }
152
192
  /**
153
193
  * 获取实例列表,Filters参数使用说明如下:
@@ -173,13 +213,16 @@ class Client extends abstract_client_1.AbstractClient {
173
213
  return this.request("DescribeInstance", req, cb);
174
214
  }
175
215
  /**
176
- * 获取主题列表,Filter参数使用说明如下:
177
-
178
- 1. TopicName,主题名称模糊搜索
179
- 2. TopicType,主题类型查询,支持多选,可选值:Normal,Order,Transaction,DelayScheduled
216
+ * 删除MQTT主题
180
217
  */
181
- async DescribeTopicList(req, cb) {
182
- return this.request("DescribeTopicList", req, cb);
218
+ async DeleteTopic(req, cb) {
219
+ return this.request("DeleteTopic", req, cb);
220
+ }
221
+ /**
222
+ * 查询Ca证书详情接口
223
+ */
224
+ async DescribeCaCertificate(req, cb) {
225
+ return this.request("DescribeCaCertificate", req, cb);
183
226
  }
184
227
  /**
185
228
  * 创建一个jwks的认证
@@ -217,6 +260,12 @@ class Client extends abstract_client_1.AbstractClient {
217
260
  async DeleteAuthenticator(req, cb) {
218
261
  return this.request("DeleteAuthenticator", req, cb);
219
262
  }
263
+ /**
264
+ * 注册ca证书
265
+ */
266
+ async RegisterCaCertificate(req, cb) {
267
+ return this.request("RegisterCaCertificate", req, cb);
268
+ }
220
269
  /**
221
270
  * 查询MQTT认证器
222
271
  */
@@ -224,10 +273,10 @@ class Client extends abstract_client_1.AbstractClient {
224
273
  return this.request("DescribeAuthenticator", req, cb);
225
274
  }
226
275
  /**
227
- * 修改策略规则优先级
276
+ * 激活Ca证书
228
277
  */
229
- async UpdateAuthorizationPolicyPriority(req, cb) {
230
- return this.request("UpdateAuthorizationPolicyPriority", req, cb);
278
+ async ActivateCaCertificate(req, cb) {
279
+ return this.request("ActivateCaCertificate", req, cb);
231
280
  }
232
281
  /**
233
282
  * 添加mqtt角色
@@ -236,10 +285,10 @@ class Client extends abstract_client_1.AbstractClient {
236
285
  return this.request("CreateUser", req, cb);
237
286
  }
238
287
  /**
239
- * 删除MQTT主题
288
+ * 申请ca注册码
240
289
  */
241
- async DeleteTopic(req, cb) {
242
- return this.request("DeleteTopic", req, cb);
290
+ async ApplyRegistrationCode(req, cb) {
291
+ return this.request("ApplyRegistrationCode", req, cb);
243
292
  }
244
293
  /**
245
294
  * 创建MQTT实例的性能测试任务