tencentcloud-sdk-nodejs 4.1.308 → 4.1.310
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/es/common/sdk_version.js +1 -1
- package/es/services/adp/v20260520/adp_client.js +147 -132
- package/es/services/ams/index.js +2 -2
- package/es/services/antiddos/index.js +2 -2
- package/es/services/btoe/index.js +2 -2
- package/es/services/chdfs/index.js +2 -2
- package/es/services/cii/index.js +2 -2
- package/es/services/cls/v20201016/cls_client.js +75 -18
- package/es/services/dataagent/v20250513/dataagent_client.js +3 -3
- package/es/services/dbbrain/index.js +2 -2
- package/es/services/dts/index.js +2 -2
- package/es/services/emr/v20190103/emr_client.js +11 -5
- package/es/services/es/index.js +2 -2
- package/es/services/facefusion/index.js +2 -2
- package/es/services/faceid/v20180301/faceid_client.js +2 -5
- package/es/services/ims/index.js +2 -2
- package/es/services/iotcloud/index.js +2 -2
- package/es/services/iotvideo/index.js +2 -2
- package/es/services/irp/index.js +2 -2
- package/es/services/monitor/index.js +2 -2
- package/es/services/oceanus/v20190422/oceanus_client.js +3 -0
- package/es/services/organization/index.js +2 -2
- package/es/services/postgres/v20170312/postgres_client.js +22 -4
- package/es/services/rce/index.js +4 -4
- package/es/services/tcb/v20180608/tcb_client.js +15 -24
- package/es/services/teo/index.js +2 -2
- package/es/services/thpc/index.js +2 -2
- package/es/services/thpc/v20230321/thpc_client.js +17 -8
- package/es/services/tione/index.js +2 -2
- package/es/services/tke/index.js +2 -2
- package/es/services/tms/index.js +2 -2
- package/es/services/tsw/index.js +2 -2
- package/es/services/vm/index.js +2 -2
- package/es/services/yunsou/index.js +2 -2
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_client.d.ts +169 -149
- package/tencentcloud/services/adp/v20260520/adp_client.js +251 -221
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +607 -43
- package/tencentcloud/services/ags/v20250920/ags_client.d.ts +1 -1
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +17 -4
- package/tencentcloud/services/ai3d/v20250513/ai3d_models.d.ts +4 -8
- package/tencentcloud/services/ams/index.d.ts +4 -4
- package/tencentcloud/services/ams/index.js +2 -2
- package/tencentcloud/services/ams/v20201229/ams_client.d.ts +1 -1
- package/tencentcloud/services/ams/v20201229/ams_client.js +1 -1
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +102 -26
- package/tencentcloud/services/antiddos/index.d.ts +4 -4
- package/tencentcloud/services/antiddos/index.js +2 -2
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +12 -14
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -5
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/cii/index.d.ts +4 -4
- package/tencentcloud/services/cii/index.js +2 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +10 -10
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +14 -18
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +95 -19
- package/tencentcloud/services/cls/v20201016/cls_client.js +141 -27
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1188 -336
- package/tencentcloud/services/config/v20220802/config_client.d.ts +1 -1
- package/tencentcloud/services/config/v20220802/config_models.d.ts +6 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +17 -14
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +27 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +4 -0
- package/tencentcloud/services/dataagent/v20250513/dataagent_client.d.ts +5 -5
- package/tencentcloud/services/dataagent/v20250513/dataagent_client.js +6 -6
- package/tencentcloud/services/dataagent/v20250513/dataagent_models.d.ts +93 -164
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +9 -9
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +27 -3
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +15 -7
- package/tencentcloud/services/emr/v20190103/emr_client.js +21 -9
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +260 -128
- package/tencentcloud/services/es/index.d.ts +4 -4
- package/tencentcloud/services/es/index.js +2 -2
- package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +17 -7
- package/tencentcloud/services/ess/v20201111/ess_client.js +17 -7
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +70 -118
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +53 -15
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +53 -15
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +34 -50
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +3 -7
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +3 -9
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +0 -46
- package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +6 -6
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +1 -1
- package/tencentcloud/services/ims/index.d.ts +4 -4
- package/tencentcloud/services/ims/index.js +2 -2
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +72 -0
- package/tencentcloud/services/iotcloud/index.d.ts +4 -4
- package/tencentcloud/services/iotcloud/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/irp/index.d.ts +4 -4
- package/tencentcloud/services/irp/index.js +2 -2
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +1 -1
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +1 -1
- package/tencentcloud/services/monitor/index.d.ts +4 -4
- package/tencentcloud/services/monitor/index.js +2 -2
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +102 -132
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +5 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +6 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +87 -57
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +296 -234
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -5
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -6
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +283 -64
- package/tencentcloud/services/rce/index.d.ts +6 -6
- package/tencentcloud/services/rce/index.js +4 -4
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +22 -35
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +30 -49
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +515 -638
- package/tencentcloud/services/teo/index.d.ts +4 -4
- package/tencentcloud/services/teo/index.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +12 -12
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +21 -9
- package/tencentcloud/services/thpc/v20230321/thpc_client.js +30 -12
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +101 -35
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/tke/index.d.ts +4 -4
- package/tencentcloud/services/tke/index.js +2 -2
- package/tencentcloud/services/tms/index.d.ts +4 -4
- package/tencentcloud/services/tms/index.js +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +17 -4
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vm/v20210922/vm_client.d.ts +1 -1
- package/tencentcloud/services/vm/v20210922/vm_client.js +1 -1
- package/tencentcloud/services/vm/v20210922/vm_models.d.ts +164 -45
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
|
@@ -58,11 +58,11 @@ export interface ModifyDeviceIdentityResponse {
|
|
|
58
58
|
*/
|
|
59
59
|
export interface DeleteUserRequest {
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* <p>实例ID</p>
|
|
62
62
|
*/
|
|
63
63
|
InstanceId: string;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* <p>用户名</p>
|
|
66
66
|
*/
|
|
67
67
|
Username: string;
|
|
68
68
|
}
|
|
@@ -210,7 +210,7 @@ export interface ActivateDeviceCertificateRequest {
|
|
|
210
210
|
*/
|
|
211
211
|
export interface CreateInstanceResponse {
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* <p>实例ID</p>
|
|
214
214
|
*/
|
|
215
215
|
InstanceId?: string;
|
|
216
216
|
/**
|
|
@@ -394,28 +394,23 @@ export interface AuthorizationPolicyPriority {
|
|
|
394
394
|
*/
|
|
395
395
|
export interface DescribeInsPublicEndpointsResponse {
|
|
396
396
|
/**
|
|
397
|
-
*
|
|
397
|
+
* <p>接入点</p>
|
|
398
398
|
*/
|
|
399
399
|
Endpoints?: Array<MQTTEndpointItem>;
|
|
400
400
|
/**
|
|
401
|
-
*
|
|
401
|
+
* <p>实例id</p>
|
|
402
402
|
*/
|
|
403
403
|
InstanceId?: string;
|
|
404
404
|
/**
|
|
405
|
-
*
|
|
405
|
+
* <p>带宽,单位Mbps</p>
|
|
406
406
|
*/
|
|
407
407
|
Bandwidth?: number;
|
|
408
408
|
/**
|
|
409
|
-
*
|
|
409
|
+
* <p>公网访问规则</p>
|
|
410
410
|
*/
|
|
411
411
|
Rules?: Array<PublicAccessRule>;
|
|
412
412
|
/**
|
|
413
|
-
*
|
|
414
|
-
NORMAL-正常
|
|
415
|
-
CLOSING-关闭中
|
|
416
|
-
MODIFYING-修改中
|
|
417
|
-
CREATING-开启中
|
|
418
|
-
CLOSE-关闭
|
|
413
|
+
* <p>公网状态:<br> NORMAL-正常<br> CLOSING-关闭中<br> MODIFYING-修改中<br> CREATING-开启中<br> CLOSE-关闭</p>
|
|
419
414
|
*/
|
|
420
415
|
Status?: string;
|
|
421
416
|
/**
|
|
@@ -441,11 +436,11 @@ export interface DescribeSharedSubscriptionLagResponse {
|
|
|
441
436
|
*/
|
|
442
437
|
export interface DeleteTopicRequest {
|
|
443
438
|
/**
|
|
444
|
-
*
|
|
439
|
+
* <p>实例ID</p>
|
|
445
440
|
*/
|
|
446
441
|
InstanceId: string;
|
|
447
442
|
/**
|
|
448
|
-
*
|
|
443
|
+
* <p>主题</p>
|
|
449
444
|
*/
|
|
450
445
|
Topic: string;
|
|
451
446
|
}
|
|
@@ -579,14 +574,11 @@ export interface DescribeSharedSubscriptionGroupsRequest {
|
|
|
579
574
|
*/
|
|
580
575
|
export interface DeleteAuthenticatorRequest {
|
|
581
576
|
/**
|
|
582
|
-
*
|
|
577
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
583
578
|
*/
|
|
584
579
|
InstanceId: string;
|
|
585
580
|
/**
|
|
586
|
-
*
|
|
587
|
-
JWT:JWT认证器
|
|
588
|
-
JWKS:JWKS认证器
|
|
589
|
-
HTTP:HTTP认证器
|
|
581
|
+
* <p>认证器类型:<br>JWT:JWT认证器<br>JWKS:JWKS认证器<br>HTTP:HTTP认证器</p>
|
|
590
582
|
*/
|
|
591
583
|
Type: string;
|
|
592
584
|
}
|
|
@@ -693,33 +685,31 @@ export interface ProductSkuItem {
|
|
|
693
685
|
*/
|
|
694
686
|
export interface ModifyJWKSAuthenticatorRequest {
|
|
695
687
|
/**
|
|
696
|
-
*
|
|
688
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
697
689
|
*/
|
|
698
690
|
InstanceId: string;
|
|
699
691
|
/**
|
|
700
|
-
* JWKS服务器地址,(Text字段和Endpoint
|
|
692
|
+
* <p>JWKS服务器地址,(Text字段和Endpoint字段必须选择一个填写)</p>
|
|
701
693
|
*/
|
|
702
694
|
Endpoint?: string;
|
|
703
695
|
/**
|
|
704
|
-
*
|
|
696
|
+
* <p>认证器状态:open-启用(默认);close-关闭</p>
|
|
705
697
|
*/
|
|
706
698
|
Status?: string;
|
|
707
699
|
/**
|
|
708
|
-
*
|
|
700
|
+
* <p>认证文本刷新间隔时间,单位:秒,最小值60,默认值60,最大值1000。填写认证服务器地址时生效。</p>
|
|
709
701
|
*/
|
|
710
702
|
RefreshInterval?: number;
|
|
711
703
|
/**
|
|
712
|
-
* JWKS文本,认证服务器地址为空时生效。(Text字段和Endpoint
|
|
704
|
+
* <p>JWKS文本,认证服务器地址为空时生效。(Text字段和Endpoint字段必须选择一个填写)</p>
|
|
713
705
|
*/
|
|
714
706
|
Text?: string;
|
|
715
707
|
/**
|
|
716
|
-
*
|
|
717
|
-
username-对应 MQTT CONNECT Packet 中 username 字段,
|
|
718
|
-
password-对应 MQTT CONNECT Packet 中 password 字段。默认username
|
|
708
|
+
* <p>认证字段;<br>username-对应 MQTT CONNECT Packet 中 username 字段,<br>password-对应 MQTT CONNECT Packet 中 password 字段。默认username</p>
|
|
719
709
|
*/
|
|
720
710
|
From?: string;
|
|
721
711
|
/**
|
|
722
|
-
*
|
|
712
|
+
* <p>说明,不能超过 128 个字符</p>
|
|
723
713
|
*/
|
|
724
714
|
Remark?: string;
|
|
725
715
|
}
|
|
@@ -831,7 +821,7 @@ export interface DescribeMessageDetailsRequest {
|
|
|
831
821
|
*/
|
|
832
822
|
export interface DescribeInsVPCEndpointsResponse {
|
|
833
823
|
/**
|
|
834
|
-
*
|
|
824
|
+
* <p>接入点</p>
|
|
835
825
|
*/
|
|
836
826
|
Endpoints?: Array<MQTTEndpointItem>;
|
|
837
827
|
/**
|
|
@@ -844,48 +834,43 @@ export interface DescribeInsVPCEndpointsResponse {
|
|
|
844
834
|
*/
|
|
845
835
|
export interface ModifyInstanceRequest {
|
|
846
836
|
/**
|
|
847
|
-
*
|
|
837
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
848
838
|
*/
|
|
849
839
|
InstanceId: string;
|
|
850
840
|
/**
|
|
851
|
-
*
|
|
841
|
+
* <p>要修改实例名称,不能为空, 3-64个字符,只能包含数字、字母、“-”和“_”。</p>
|
|
852
842
|
*/
|
|
853
843
|
Name?: string;
|
|
854
844
|
/**
|
|
855
|
-
*
|
|
845
|
+
* <p>要修改的备注信息,最多128个字符。</p>
|
|
856
846
|
*/
|
|
857
847
|
Remark?: string;
|
|
858
848
|
/**
|
|
859
|
-
*
|
|
860
|
-
基础版和专业版集群不能升配到铂金版规格,铂金版集群不能降配至基础版和增强版规格。
|
|
849
|
+
* <p>需要变更的配置规格<br>基础版和专业版集群不能升配到铂金版规格,铂金版集群不能降配至基础版和增强版规格。</p>
|
|
861
850
|
*/
|
|
862
851
|
SkuCode?: string;
|
|
863
852
|
/**
|
|
864
|
-
*
|
|
865
|
-
JITP:自动注册
|
|
866
|
-
API:手动通过API注册
|
|
853
|
+
* <p>客户端证书注册方式:<br>JITP:自动注册<br>API:手动通过API注册</p>
|
|
867
854
|
*/
|
|
868
855
|
DeviceCertificateProvisionType?: string;
|
|
869
856
|
/**
|
|
870
|
-
*
|
|
857
|
+
* <p>自动注册证书是否自动激活</p>
|
|
871
858
|
*/
|
|
872
859
|
AutomaticActivation?: boolean;
|
|
873
860
|
/**
|
|
874
|
-
*
|
|
861
|
+
* <p>授权策略开关</p>
|
|
875
862
|
*/
|
|
876
863
|
AuthorizationPolicy?: boolean;
|
|
877
864
|
/**
|
|
878
|
-
*
|
|
865
|
+
* <p>是否使用默认的服务端证书</p>
|
|
879
866
|
*/
|
|
880
867
|
UseDefaultServerCert?: boolean;
|
|
881
868
|
/**
|
|
882
|
-
* TLS
|
|
883
|
-
mTLS;双向认证
|
|
884
|
-
BYOC:一机一证
|
|
869
|
+
* <p>TLS:单向认证<br>mTLS;双向认证<br>BYOC:一机一证</p>
|
|
885
870
|
*/
|
|
886
871
|
X509Mode?: string;
|
|
887
872
|
/**
|
|
888
|
-
*
|
|
873
|
+
* <p>单客户端消息收发限速单位 条/秒</p>
|
|
889
874
|
*/
|
|
890
875
|
MessageRate?: number;
|
|
891
876
|
}
|
|
@@ -1004,7 +989,7 @@ export interface MQTTAuthenticatorItem {
|
|
|
1004
989
|
*/
|
|
1005
990
|
export interface DescribeClientListResponse {
|
|
1006
991
|
/**
|
|
1007
|
-
*
|
|
992
|
+
* <p>客户端列表</p>
|
|
1008
993
|
*/
|
|
1009
994
|
Clients?: Array<MQTTClientInfo>;
|
|
1010
995
|
/**
|
|
@@ -1301,19 +1286,19 @@ export interface ModifyBlockRuleRequest {
|
|
|
1301
1286
|
*/
|
|
1302
1287
|
export interface AddClientSubscriptionRequest {
|
|
1303
1288
|
/**
|
|
1304
|
-
*
|
|
1289
|
+
* <p>实例ID</p>
|
|
1305
1290
|
*/
|
|
1306
1291
|
InstanceId: string;
|
|
1307
1292
|
/**
|
|
1308
|
-
*
|
|
1293
|
+
* <p>客户端id</p>
|
|
1309
1294
|
*/
|
|
1310
1295
|
ClientId: string;
|
|
1311
1296
|
/**
|
|
1312
|
-
*
|
|
1297
|
+
* <p>订阅</p>
|
|
1313
1298
|
*/
|
|
1314
1299
|
TopicFilter: string;
|
|
1315
1300
|
/**
|
|
1316
|
-
*
|
|
1301
|
+
* <p>服务质量:0,1,2</p>
|
|
1317
1302
|
*/
|
|
1318
1303
|
Qos?: string;
|
|
1319
1304
|
}
|
|
@@ -1322,15 +1307,15 @@ export interface AddClientSubscriptionRequest {
|
|
|
1322
1307
|
*/
|
|
1323
1308
|
export interface ModifyInsPublicEndpointRequest {
|
|
1324
1309
|
/**
|
|
1325
|
-
*
|
|
1310
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
1326
1311
|
*/
|
|
1327
1312
|
InstanceId: string;
|
|
1328
1313
|
/**
|
|
1329
|
-
*
|
|
1314
|
+
* <p>带宽,单位:Mbps</p>
|
|
1330
1315
|
*/
|
|
1331
1316
|
Bandwidth: number;
|
|
1332
1317
|
/**
|
|
1333
|
-
*
|
|
1318
|
+
* <p>公网访问规则</p>
|
|
1334
1319
|
*/
|
|
1335
1320
|
Rules: Array<PublicAccessRule>;
|
|
1336
1321
|
}
|
|
@@ -1984,35 +1969,31 @@ export interface DescribeProductSKUListResponse {
|
|
|
1984
1969
|
*/
|
|
1985
1970
|
export interface CreateJWKSAuthenticatorRequest {
|
|
1986
1971
|
/**
|
|
1987
|
-
*
|
|
1972
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
1988
1973
|
*/
|
|
1989
1974
|
InstanceId: string;
|
|
1990
1975
|
/**
|
|
1991
|
-
* JWKS服务地址,(Text字段和Endpoint
|
|
1976
|
+
* <p>JWKS服务地址,(Text字段和Endpoint字段必须选择一个填写)</p>
|
|
1992
1977
|
*/
|
|
1993
1978
|
Endpoint?: string;
|
|
1994
1979
|
/**
|
|
1995
|
-
*
|
|
1980
|
+
* <p>认证文本刷新间隔时间,单位:秒,最小值60,默认值60,最大值1000。填写认证服务器地址(Endpoint)时生效。</p>
|
|
1996
1981
|
*/
|
|
1997
1982
|
RefreshInterval?: number;
|
|
1998
1983
|
/**
|
|
1999
|
-
* jwks文本,(Text字段和Endpoint
|
|
1984
|
+
* <p>jwks文本,(Text字段和Endpoint字段必须选择一个填写)</p>
|
|
2000
1985
|
*/
|
|
2001
1986
|
Text?: string;
|
|
2002
1987
|
/**
|
|
2003
|
-
*
|
|
1988
|
+
* <p>认证器是否开启:open-启用;close-关闭,默认open-启用</p>
|
|
2004
1989
|
*/
|
|
2005
1990
|
Status?: string;
|
|
2006
1991
|
/**
|
|
2007
|
-
*
|
|
1992
|
+
* <p>说明,不能超过 128 个字符</p>
|
|
2008
1993
|
*/
|
|
2009
1994
|
Remark?: string;
|
|
2010
1995
|
/**
|
|
2011
|
-
*
|
|
2012
|
-
username-对应 MQTT CONNECT Packet 中 username 字段,
|
|
2013
|
-
password-对应 MQTT CONNECT Packet 中 password 字段。
|
|
2014
|
-
|
|
2015
|
-
默认username
|
|
1996
|
+
* <p>认证字段;<br>username-对应 MQTT CONNECT Packet 中 username 字段,<br>password-对应 MQTT CONNECT Packet 中 password 字段。</p><p>默认username</p>
|
|
2016
1997
|
*/
|
|
2017
1998
|
From?: string;
|
|
2018
1999
|
}
|
|
@@ -2021,19 +2002,19 @@ export interface CreateJWKSAuthenticatorRequest {
|
|
|
2021
2002
|
*/
|
|
2022
2003
|
export interface DescribeTopicResponse {
|
|
2023
2004
|
/**
|
|
2024
|
-
*
|
|
2005
|
+
* <p>实例ID</p>
|
|
2025
2006
|
*/
|
|
2026
2007
|
InstanceId?: string;
|
|
2027
2008
|
/**
|
|
2028
|
-
*
|
|
2009
|
+
* <p>主题名称</p>
|
|
2029
2010
|
*/
|
|
2030
2011
|
Topic?: string;
|
|
2031
2012
|
/**
|
|
2032
|
-
*
|
|
2013
|
+
* <p>备注</p>
|
|
2033
2014
|
*/
|
|
2034
2015
|
Remark?: string;
|
|
2035
2016
|
/**
|
|
2036
|
-
*
|
|
2017
|
+
* <p>创建时间,秒为单位</p>
|
|
2037
2018
|
*/
|
|
2038
2019
|
CreatedTime?: number;
|
|
2039
2020
|
/**
|
|
@@ -2077,15 +2058,15 @@ export interface DescribeAuthorizationPoliciesResponse {
|
|
|
2077
2058
|
*/
|
|
2078
2059
|
export interface CreateTopicRequest {
|
|
2079
2060
|
/**
|
|
2080
|
-
*
|
|
2061
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
2081
2062
|
*/
|
|
2082
2063
|
InstanceId: string;
|
|
2083
2064
|
/**
|
|
2084
|
-
*
|
|
2065
|
+
* <p>主题,不能为空,只能包含字母、数字、“-”及“_”,3-100 字符。</p>
|
|
2085
2066
|
*/
|
|
2086
2067
|
Topic: string;
|
|
2087
2068
|
/**
|
|
2088
|
-
*
|
|
2069
|
+
* <p>备注,最长 128 字符</p>
|
|
2089
2070
|
*/
|
|
2090
2071
|
Remark?: string;
|
|
2091
2072
|
}
|
|
@@ -2153,15 +2134,15 @@ export interface DeviceIdentityBackupHistoryItem {
|
|
|
2153
2134
|
*/
|
|
2154
2135
|
export interface DeleteClientSubscriptionRequest {
|
|
2155
2136
|
/**
|
|
2156
|
-
*
|
|
2137
|
+
* <p>实例ID</p>
|
|
2157
2138
|
*/
|
|
2158
2139
|
InstanceId: string;
|
|
2159
2140
|
/**
|
|
2160
|
-
*
|
|
2141
|
+
* <p>客户端id</p>
|
|
2161
2142
|
*/
|
|
2162
2143
|
ClientId?: string;
|
|
2163
2144
|
/**
|
|
2164
|
-
*
|
|
2145
|
+
* <p>订阅</p>
|
|
2165
2146
|
*/
|
|
2166
2147
|
TopicFilter?: string;
|
|
2167
2148
|
}
|
|
@@ -2348,11 +2329,11 @@ export interface ActivateDeviceCertificateResponse {
|
|
|
2348
2329
|
*/
|
|
2349
2330
|
export interface DescribeTopicRequest {
|
|
2350
2331
|
/**
|
|
2351
|
-
*
|
|
2332
|
+
* <p>实例ID</p>
|
|
2352
2333
|
*/
|
|
2353
2334
|
InstanceId: string;
|
|
2354
2335
|
/**
|
|
2355
|
-
*
|
|
2336
|
+
* <p>主题</p>
|
|
2356
2337
|
*/
|
|
2357
2338
|
Topic: string;
|
|
2358
2339
|
}
|
|
@@ -2361,34 +2342,31 @@ export interface DescribeTopicRequest {
|
|
|
2361
2342
|
*/
|
|
2362
2343
|
export interface PublishMessageRequest {
|
|
2363
2344
|
/**
|
|
2364
|
-
*
|
|
2345
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
2365
2346
|
*/
|
|
2366
2347
|
InstanceId: string;
|
|
2367
2348
|
/**
|
|
2368
|
-
*
|
|
2349
|
+
* <p>消息负载 Payload,是消息的实际内容,需要按 encoding 指定的编码方式进行编码</p>
|
|
2369
2350
|
*/
|
|
2370
2351
|
Payload: string;
|
|
2371
2352
|
/**
|
|
2372
|
-
*
|
|
2353
|
+
* <p>消息目的主题,该参数与 TargetClientId 二选一</p>
|
|
2373
2354
|
*/
|
|
2374
2355
|
TargetTopic?: string;
|
|
2375
2356
|
/**
|
|
2376
|
-
*
|
|
2357
|
+
* <p>消息目的客户端 ID,该参数与 TargetTopic 二选一</p>
|
|
2377
2358
|
*/
|
|
2378
2359
|
TargetClientId?: string;
|
|
2379
2360
|
/**
|
|
2380
|
-
*
|
|
2361
|
+
* <p>消息 payload 编码,可选 plain 或 base64,默认为 plain(即不编码)</p>
|
|
2381
2362
|
*/
|
|
2382
2363
|
Encoding?: string;
|
|
2383
2364
|
/**
|
|
2384
|
-
*
|
|
2385
|
-
QoS 0(至多一次)消息发送后,不保证接收方一定收到,也不要求接收方确认。
|
|
2386
|
-
QoS 1(至少一次)消息至少被接收方成功接收一次,但可能重复。
|
|
2387
|
-
QoS 2(恰好一次)消息确保被接收方接收且仅接收一次,无重复。
|
|
2365
|
+
* <p>消息的服务质量等级,默认为 1<br>QoS 0(至多一次)消息发送后,不保证接收方一定收到,也不要求接收方确认。<br>QoS 1(至少一次)消息至少被接收方成功接收一次,但可能重复。<br>QoS 2(恰好一次)消息确保被接收方接收且仅接收一次,无重复。</p>
|
|
2388
2366
|
*/
|
|
2389
2367
|
Qos?: number;
|
|
2390
2368
|
/**
|
|
2391
|
-
*
|
|
2369
|
+
* <p>是否为保留消息,默认为 false,且仅支持发布到主题的消息设置为 true</p>
|
|
2392
2370
|
*/
|
|
2393
2371
|
Retain?: boolean;
|
|
2394
2372
|
}
|
|
@@ -2485,26 +2463,23 @@ export interface ModifyX509ConfigResponse {
|
|
|
2485
2463
|
*/
|
|
2486
2464
|
export interface DescribeClientListRequest {
|
|
2487
2465
|
/**
|
|
2488
|
-
*
|
|
2466
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
2489
2467
|
*/
|
|
2490
2468
|
InstanceId: string;
|
|
2491
2469
|
/**
|
|
2492
|
-
*
|
|
2470
|
+
* <p>客户端ID</p>
|
|
2493
2471
|
*/
|
|
2494
2472
|
ClientId?: string;
|
|
2495
2473
|
/**
|
|
2496
|
-
*
|
|
2474
|
+
* <p>客户端数量限制,最大1024,默认1024</p>
|
|
2497
2475
|
*/
|
|
2498
2476
|
Number?: string;
|
|
2499
2477
|
/**
|
|
2500
|
-
* 0
|
|
2501
|
-
1:查询在线客户端
|
|
2502
|
-
2:查询离线客户端
|
|
2478
|
+
* <p>0:查询在线和离线客户端(默认值)<br>1:查询在线客户端<br>2:查询离线客户端</p>
|
|
2503
2479
|
*/
|
|
2504
2480
|
OnlineStatus?: number;
|
|
2505
2481
|
/**
|
|
2506
|
-
*
|
|
2507
|
-
离线连接:表示最后的断开连接时间
|
|
2482
|
+
* <p>在线连接:表示最后的连接时间<br>离线连接:表示最后的断开连接时间</p>
|
|
2508
2483
|
*/
|
|
2509
2484
|
MaxTimestamp?: number;
|
|
2510
2485
|
}
|
|
@@ -2631,7 +2606,7 @@ export interface DeviceIdentityItem {
|
|
|
2631
2606
|
*/
|
|
2632
2607
|
export interface DescribeInsVPCEndpointsRequest {
|
|
2633
2608
|
/**
|
|
2634
|
-
*
|
|
2609
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
2635
2610
|
*/
|
|
2636
2611
|
InstanceId: string;
|
|
2637
2612
|
}
|
|
@@ -2640,20 +2615,19 @@ export interface DescribeInsVPCEndpointsRequest {
|
|
|
2640
2615
|
*/
|
|
2641
2616
|
export interface DescribeTopicListRequest {
|
|
2642
2617
|
/**
|
|
2643
|
-
*
|
|
2618
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
2644
2619
|
*/
|
|
2645
2620
|
InstanceId: string;
|
|
2646
2621
|
/**
|
|
2647
|
-
*
|
|
2648
|
-
支持TopicName模糊查询
|
|
2622
|
+
* <p>查询条件列表:<br>支持TopicName模糊查询</p>
|
|
2649
2623
|
*/
|
|
2650
2624
|
Filters?: Array<Filter>;
|
|
2651
2625
|
/**
|
|
2652
|
-
*
|
|
2626
|
+
* <p>查询起始位置,默认0。</p>
|
|
2653
2627
|
*/
|
|
2654
2628
|
Offset?: number;
|
|
2655
2629
|
/**
|
|
2656
|
-
*
|
|
2630
|
+
* <p>查询结果限制数量,默认20,最大20</p>
|
|
2657
2631
|
*/
|
|
2658
2632
|
Limit?: number;
|
|
2659
2633
|
}
|
|
@@ -2708,11 +2682,11 @@ export interface AddClientSubscriptionResponse {
|
|
|
2708
2682
|
*/
|
|
2709
2683
|
export interface CreateTopicResponse {
|
|
2710
2684
|
/**
|
|
2711
|
-
*
|
|
2685
|
+
* <p>实例ID</p>
|
|
2712
2686
|
*/
|
|
2713
2687
|
InstanceId?: string;
|
|
2714
2688
|
/**
|
|
2715
|
-
*
|
|
2689
|
+
* <p>主题</p>
|
|
2716
2690
|
*/
|
|
2717
2691
|
Topic?: string;
|
|
2718
2692
|
/**
|
|
@@ -2842,15 +2816,15 @@ export interface DescribeSharedSubscriptionsResponse {
|
|
|
2842
2816
|
*/
|
|
2843
2817
|
export interface CreateInsPublicEndpointRequest {
|
|
2844
2818
|
/**
|
|
2845
|
-
*
|
|
2819
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
2846
2820
|
*/
|
|
2847
2821
|
InstanceId: string;
|
|
2848
2822
|
/**
|
|
2849
|
-
*
|
|
2823
|
+
* <p>带宽,单位Mbps</p>
|
|
2850
2824
|
*/
|
|
2851
2825
|
Bandwidth: number;
|
|
2852
2826
|
/**
|
|
2853
|
-
*
|
|
2827
|
+
* <p>公网访问规则</p>
|
|
2854
2828
|
*/
|
|
2855
2829
|
Rules?: Array<PublicAccessRule>;
|
|
2856
2830
|
}
|
|
@@ -2969,15 +2943,15 @@ export interface DescribeDeviceCertificatesResponse {
|
|
|
2969
2943
|
*/
|
|
2970
2944
|
export interface ModifyTopicRequest {
|
|
2971
2945
|
/**
|
|
2972
|
-
*
|
|
2946
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
2973
2947
|
*/
|
|
2974
2948
|
InstanceId: string;
|
|
2975
2949
|
/**
|
|
2976
|
-
*
|
|
2950
|
+
* <p>主题,不能为空,只能包含字母、数字、“-”及“_”,3-100 字符。</p>
|
|
2977
2951
|
*/
|
|
2978
2952
|
Topic: string;
|
|
2979
2953
|
/**
|
|
2980
|
-
*
|
|
2954
|
+
* <p>备注信息,最长 128 字符</p>
|
|
2981
2955
|
*/
|
|
2982
2956
|
Remark?: string;
|
|
2983
2957
|
}
|
|
@@ -3091,7 +3065,7 @@ export interface MQTTUserItem {
|
|
|
3091
3065
|
*/
|
|
3092
3066
|
export interface DeleteInstanceRequest {
|
|
3093
3067
|
/**
|
|
3094
|
-
*
|
|
3068
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
3095
3069
|
*/
|
|
3096
3070
|
InstanceId: string;
|
|
3097
3071
|
}
|
|
@@ -3208,7 +3182,7 @@ export interface SharedSubscriptionClient {
|
|
|
3208
3182
|
*/
|
|
3209
3183
|
export interface DeleteInsPublicEndpointRequest {
|
|
3210
3184
|
/**
|
|
3211
|
-
*
|
|
3185
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
3212
3186
|
*/
|
|
3213
3187
|
InstanceId: string;
|
|
3214
3188
|
}
|
|
@@ -3217,7 +3191,7 @@ export interface DeleteInsPublicEndpointRequest {
|
|
|
3217
3191
|
*/
|
|
3218
3192
|
export interface DescribeInsPublicEndpointsRequest {
|
|
3219
3193
|
/**
|
|
3220
|
-
*
|
|
3194
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
3221
3195
|
*/
|
|
3222
3196
|
InstanceId: string;
|
|
3223
3197
|
}
|
|
@@ -3423,55 +3397,51 @@ export interface DescribeDeviceIdentityRequest {
|
|
|
3423
3397
|
*/
|
|
3424
3398
|
export interface CreateInstanceRequest {
|
|
3425
3399
|
/**
|
|
3426
|
-
*
|
|
3427
|
-
BASIC 基础版
|
|
3428
|
-
PRO 专业版
|
|
3429
|
-
PLATINUM 铂金版
|
|
3430
|
-
|
|
3400
|
+
* <p>实例类型,需要和SkuCode保持对应关系,可参考 <a href="https://cloud.tencent.com/document/api/1778/116232">获取MQTT产品售卖规格</a> 接口获取。<br>BASIC 基础版<br>PRO 专业版<br>PLATINUM 铂金版</p>
|
|
3431
3401
|
*/
|
|
3432
3402
|
InstanceType: string;
|
|
3433
3403
|
/**
|
|
3434
|
-
*
|
|
3404
|
+
* <p>集群名称不能为空, 3-64个字符,只能包含数字、字母、“-”和“_”。</p>
|
|
3435
3405
|
*/
|
|
3436
3406
|
Name: string;
|
|
3437
3407
|
/**
|
|
3438
|
-
*
|
|
3408
|
+
* <p>商品规格,需要和InstanceType保持对应关系,可参考 <a href="https://cloud.tencent.com/document/api/1778/116232">获取MQTT产品售卖规格</a> 接口获取。</p>
|
|
3439
3409
|
*/
|
|
3440
3410
|
SkuCode: string;
|
|
3441
3411
|
/**
|
|
3442
|
-
*
|
|
3412
|
+
* <p>备注信息,最长 128 字符</p>
|
|
3443
3413
|
*/
|
|
3444
3414
|
Remark?: string;
|
|
3445
3415
|
/**
|
|
3446
|
-
*
|
|
3416
|
+
* <p>标签列表</p>
|
|
3447
3417
|
*/
|
|
3448
3418
|
TagList?: Array<Tag>;
|
|
3449
3419
|
/**
|
|
3450
|
-
*
|
|
3420
|
+
* <p>实例绑定的VPC信息,需要传当前用户下可用的VPC和SUBNET</p>
|
|
3451
3421
|
*/
|
|
3452
3422
|
VpcList?: Array<VpcInfo>;
|
|
3453
3423
|
/**
|
|
3454
|
-
*
|
|
3424
|
+
* <p>是否开启公网,默认false(关闭)</p>
|
|
3455
3425
|
*/
|
|
3456
3426
|
EnablePublic?: boolean;
|
|
3457
3427
|
/**
|
|
3458
|
-
*
|
|
3428
|
+
* <p>公网带宽(单位:Mbps),EnablePublic 为True时,该字段必须填写且大于0.</p>
|
|
3459
3429
|
*/
|
|
3460
3430
|
Bandwidth?: number;
|
|
3461
3431
|
/**
|
|
3462
|
-
*
|
|
3432
|
+
* <p>公网访问白名单,不传表示拒绝所有IP网络访问。</p>
|
|
3463
3433
|
*/
|
|
3464
3434
|
IpRules?: Array<IpRule>;
|
|
3465
3435
|
/**
|
|
3466
|
-
*
|
|
3436
|
+
* <p>是否自动续费(0: 不自动续费;1: 自动续费),仅购买预付费集群时生效。默认1:自动续费</p>
|
|
3467
3437
|
*/
|
|
3468
3438
|
RenewFlag?: number;
|
|
3469
3439
|
/**
|
|
3470
|
-
*
|
|
3440
|
+
* <p>购买时长(单位:月),购买预付费集群时生效,默认1m(月)。可选范围:1~12、24、36、48、60;</p>
|
|
3471
3441
|
*/
|
|
3472
3442
|
TimeSpan?: number;
|
|
3473
3443
|
/**
|
|
3474
|
-
*
|
|
3444
|
+
* <p>付费模式(0: 后付费;1: 预付费),默认0(后付费)。</p>
|
|
3475
3445
|
*/
|
|
3476
3446
|
PayMode?: number;
|
|
3477
3447
|
}
|
|
@@ -4100,11 +4070,11 @@ export type DescribeProductSKUListRequest = null;
|
|
|
4100
4070
|
*/
|
|
4101
4071
|
export interface DescribeTopicListResponse {
|
|
4102
4072
|
/**
|
|
4103
|
-
*
|
|
4073
|
+
* <p>查询总数</p>
|
|
4104
4074
|
*/
|
|
4105
4075
|
TotalCount?: number;
|
|
4106
4076
|
/**
|
|
4107
|
-
*
|
|
4077
|
+
* <p>主题列表</p>
|
|
4108
4078
|
*/
|
|
4109
4079
|
Data?: Array<MQTTTopicItem>;
|
|
4110
4080
|
/**
|
|
@@ -4232,15 +4202,15 @@ export interface DescribeCaCertificatesResponse {
|
|
|
4232
4202
|
*/
|
|
4233
4203
|
export interface ModifyUserRequest {
|
|
4234
4204
|
/**
|
|
4235
|
-
*
|
|
4205
|
+
* <p>实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
4236
4206
|
*/
|
|
4237
4207
|
InstanceId: string;
|
|
4238
4208
|
/**
|
|
4239
|
-
*
|
|
4209
|
+
* <p>用户名</p>
|
|
4240
4210
|
*/
|
|
4241
4211
|
Username: string;
|
|
4242
4212
|
/**
|
|
4243
|
-
*
|
|
4213
|
+
* <p>备注,长度不超过128个字符。</p>
|
|
4244
4214
|
*/
|
|
4245
4215
|
Remark?: string;
|
|
4246
4216
|
}
|