tencentcloud-sdk-nodejs 4.0.593 → 4.0.594
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 +203 -0
- package/SERVICE_CHANGELOG.md +282 -455
- package/package.json +1 -1
- package/products.md +36 -35
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdc/v20201214/cdc_models.ts +2 -2
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +12 -1
- package/src/services/csip/index.ts +5 -0
- package/src/services/csip/v20221121/csip_client.ts +138 -0
- package/src/services/csip/v20221121/csip_models.ts +1372 -0
- package/src/services/csip/v20221121/index.ts +6 -0
- package/src/services/cvm/v20170312/cvm_models.ts +5 -5
- package/src/services/cwp/v20180228/cwp_models.ts +5 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +6 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +1 -1
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +1 -1
- package/src/services/ims/v20200713/ims_client.ts +2 -0
- package/src/services/ims/v20200713/ims_models.ts +58 -0
- package/src/services/ims/v20201229/ims_models.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_client.ts +1 -1
- package/src/services/lcic/v20220817/lcic_models.ts +6 -4
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +20 -7
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +91 -4
- package/src/services/ocr/v20181119/ocr_client.ts +102 -1
- package/src/services/redis/v20180412/redis_client.ts +2 -2
- package/src/services/redis/v20180412/redis_models.ts +92 -34
- package/src/services/ses/v20201002/ses_models.ts +2 -2
- package/src/services/tdmq/v20200217/tdmq_client.ts +43 -19
- package/src/services/tdmq/v20200217/tdmq_models.ts +126 -30
- package/src/services/thpc/v20230321/thpc_client.ts +13 -1
- package/src/services/thpc/v20230321/thpc_models.ts +40 -14
- package/src/services/tione/v20211111/tione_models.ts +2 -2
- package/src/services/wav/v20210129/wav_models.ts +3 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +2 -2
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +10 -1
- package/tencentcloud/services/csip/index.d.ts +6 -0
- package/tencentcloud/services/csip/index.js +7 -0
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +42 -0
- package/tencentcloud/services/csip/v20221121/csip_client.js +79 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +1140 -0
- package/tencentcloud/services/csip/v20221121/csip_models.js +18 -0
- package/tencentcloud/services/csip/v20221121/index.d.ts +6 -0
- package/tencentcloud/services/csip/v20221121/index.js +9 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +5 -5
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +4 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +1 -1
- package/tencentcloud/services/ims/v20200713/ims_models.d.ts +50 -0
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +5 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +5 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +7 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +9 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +77 -4
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +102 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +102 -1
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +2 -2
- package/tencentcloud/services/redis/v20180412/redis_client.js +2 -2
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +88 -30
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +2 -2
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +15 -7
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +20 -8
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +109 -28
- package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +5 -1
- package/tencentcloud/services/thpc/v20230321/thpc_client.js +6 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +35 -12
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +2 -2
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +3 -3
- package/test/csip.v20221121.test.js +101 -0
- package/test/lighthouse.v20200324.test.js +12 -2
- package/test/tdmq.v20200217.test.js +24 -4
- package/test/thpc.v20230321.test.js +10 -0
|
@@ -495,6 +495,19 @@ export interface BindCluster {
|
|
|
495
495
|
*/
|
|
496
496
|
ClusterName: string;
|
|
497
497
|
}
|
|
498
|
+
/**
|
|
499
|
+
* 排序器
|
|
500
|
+
*/
|
|
501
|
+
export interface Sort {
|
|
502
|
+
/**
|
|
503
|
+
* 排序字段
|
|
504
|
+
*/
|
|
505
|
+
Name: string;
|
|
506
|
+
/**
|
|
507
|
+
* 升序ASC,降序DESC
|
|
508
|
+
*/
|
|
509
|
+
Order: string;
|
|
510
|
+
}
|
|
498
511
|
/**
|
|
499
512
|
* ModifyCluster返回参数结构体
|
|
500
513
|
*/
|
|
@@ -773,6 +786,19 @@ export interface DescribeAllTenantsResponse {
|
|
|
773
786
|
*/
|
|
774
787
|
RequestId?: string;
|
|
775
788
|
}
|
|
789
|
+
/**
|
|
790
|
+
* CreateRabbitMQVirtualHost返回参数结构体
|
|
791
|
+
*/
|
|
792
|
+
export interface CreateRabbitMQVirtualHostResponse {
|
|
793
|
+
/**
|
|
794
|
+
* vhost名
|
|
795
|
+
*/
|
|
796
|
+
VirtualHost: string;
|
|
797
|
+
/**
|
|
798
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
799
|
+
*/
|
|
800
|
+
RequestId?: string;
|
|
801
|
+
}
|
|
776
802
|
/**
|
|
777
803
|
* DescribeRabbitMQNodeList请求参数结构体
|
|
778
804
|
*/
|
|
@@ -2050,6 +2076,33 @@ export interface ClearCmqQueueRequest {
|
|
|
2050
2076
|
*/
|
|
2051
2077
|
QueueName: string;
|
|
2052
2078
|
}
|
|
2079
|
+
/**
|
|
2080
|
+
* ModifyEnvironmentAttributes返回参数结构体
|
|
2081
|
+
*/
|
|
2082
|
+
export interface ModifyEnvironmentAttributesResponse {
|
|
2083
|
+
/**
|
|
2084
|
+
* 命名空间名称。
|
|
2085
|
+
*/
|
|
2086
|
+
EnvironmentId: string;
|
|
2087
|
+
/**
|
|
2088
|
+
* 未消费消息过期时间,单位:秒。
|
|
2089
|
+
*/
|
|
2090
|
+
MsgTTL: number;
|
|
2091
|
+
/**
|
|
2092
|
+
* 备注,字符串最长不超过128。
|
|
2093
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2094
|
+
*/
|
|
2095
|
+
Remark: string;
|
|
2096
|
+
/**
|
|
2097
|
+
* 命名空间ID
|
|
2098
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2099
|
+
*/
|
|
2100
|
+
NamespaceId: string;
|
|
2101
|
+
/**
|
|
2102
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2103
|
+
*/
|
|
2104
|
+
RequestId?: string;
|
|
2105
|
+
}
|
|
2053
2106
|
/**
|
|
2054
2107
|
* DescribeClusters请求参数结构体
|
|
2055
2108
|
*/
|
|
@@ -2540,17 +2593,17 @@ export interface CreateRocketMQClusterRequest {
|
|
|
2540
2593
|
Remark?: string;
|
|
2541
2594
|
}
|
|
2542
2595
|
/**
|
|
2543
|
-
*
|
|
2596
|
+
* CreateRabbitMQUser返回参数结构体
|
|
2544
2597
|
*/
|
|
2545
|
-
export interface
|
|
2598
|
+
export interface CreateRabbitMQUserResponse {
|
|
2546
2599
|
/**
|
|
2547
|
-
*
|
|
2600
|
+
* 用户名,登录时使用
|
|
2548
2601
|
*/
|
|
2549
|
-
|
|
2602
|
+
User?: string;
|
|
2550
2603
|
/**
|
|
2551
|
-
*
|
|
2604
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2552
2605
|
*/
|
|
2553
|
-
|
|
2606
|
+
RequestId?: string;
|
|
2554
2607
|
}
|
|
2555
2608
|
/**
|
|
2556
2609
|
* AcknowledgeMessage返回参数结构体
|
|
@@ -5644,31 +5697,25 @@ export interface CreateRocketMQTopicResponse {
|
|
|
5644
5697
|
RequestId?: string;
|
|
5645
5698
|
}
|
|
5646
5699
|
/**
|
|
5647
|
-
*
|
|
5700
|
+
* CreateRabbitMQVirtualHost请求参数结构体
|
|
5648
5701
|
*/
|
|
5649
|
-
export interface
|
|
5702
|
+
export interface CreateRabbitMQVirtualHostRequest {
|
|
5650
5703
|
/**
|
|
5651
|
-
*
|
|
5704
|
+
* 集群实例Id
|
|
5652
5705
|
*/
|
|
5653
|
-
|
|
5654
|
-
/**
|
|
5655
|
-
* 未消费消息过期时间,单位:秒。
|
|
5656
|
-
*/
|
|
5657
|
-
MsgTTL: number;
|
|
5706
|
+
InstanceId: string;
|
|
5658
5707
|
/**
|
|
5659
|
-
*
|
|
5660
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5708
|
+
* vhost名
|
|
5661
5709
|
*/
|
|
5662
|
-
|
|
5710
|
+
VirtualHost: string;
|
|
5663
5711
|
/**
|
|
5664
|
-
*
|
|
5665
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5712
|
+
* 描述
|
|
5666
5713
|
*/
|
|
5667
|
-
|
|
5714
|
+
Description?: string;
|
|
5668
5715
|
/**
|
|
5669
|
-
*
|
|
5716
|
+
* 消息轨迹开关,true打开,false关闭,默认关闭
|
|
5670
5717
|
*/
|
|
5671
|
-
|
|
5718
|
+
TraceFlag?: boolean;
|
|
5672
5719
|
}
|
|
5673
5720
|
/**
|
|
5674
5721
|
* 环境角色集合
|
|
@@ -5872,17 +5919,38 @@ export interface DescribePulsarProInstanceDetailRequest {
|
|
|
5872
5919
|
ClusterId: string;
|
|
5873
5920
|
}
|
|
5874
5921
|
/**
|
|
5875
|
-
*
|
|
5922
|
+
* CreateRabbitMQUser请求参数结构体
|
|
5876
5923
|
*/
|
|
5877
|
-
export interface
|
|
5924
|
+
export interface CreateRabbitMQUserRequest {
|
|
5878
5925
|
/**
|
|
5879
|
-
*
|
|
5926
|
+
* 集群实例Id
|
|
5880
5927
|
*/
|
|
5881
|
-
|
|
5928
|
+
InstanceId: string;
|
|
5882
5929
|
/**
|
|
5883
|
-
*
|
|
5930
|
+
* 用户名,登录时使用
|
|
5884
5931
|
*/
|
|
5885
|
-
|
|
5932
|
+
User: string;
|
|
5933
|
+
/**
|
|
5934
|
+
* 密码,登录时使用
|
|
5935
|
+
*/
|
|
5936
|
+
Password: string;
|
|
5937
|
+
/**
|
|
5938
|
+
* 描述
|
|
5939
|
+
*/
|
|
5940
|
+
Description?: string;
|
|
5941
|
+
/**
|
|
5942
|
+
* 用户标签,用于决定改用户访问RabbitMQ Management的权限范围
|
|
5943
|
+
management:普通控制台用户,monitoring:管理型控制台用户,其他值:非控制台用户
|
|
5944
|
+
*/
|
|
5945
|
+
Tags?: Array<string>;
|
|
5946
|
+
/**
|
|
5947
|
+
* 该用户的最大连接数,不填写则不限制
|
|
5948
|
+
*/
|
|
5949
|
+
MaxConnections?: number;
|
|
5950
|
+
/**
|
|
5951
|
+
* 该用户的最大channel数,不填写则不限制
|
|
5952
|
+
*/
|
|
5953
|
+
MaxChannels?: number;
|
|
5886
5954
|
}
|
|
5887
5955
|
/**
|
|
5888
5956
|
* CreateRole请求参数结构体
|
|
@@ -6677,6 +6745,19 @@ export interface DeleteAMQPVHostResponse {
|
|
|
6677
6745
|
*/
|
|
6678
6746
|
RequestId?: string;
|
|
6679
6747
|
}
|
|
6748
|
+
/**
|
|
6749
|
+
* DeleteAMQPVHost请求参数结构体
|
|
6750
|
+
*/
|
|
6751
|
+
export interface DeleteAMQPVHostRequest {
|
|
6752
|
+
/**
|
|
6753
|
+
* 集群ID
|
|
6754
|
+
*/
|
|
6755
|
+
ClusterId: string;
|
|
6756
|
+
/**
|
|
6757
|
+
* vhost名称
|
|
6758
|
+
*/
|
|
6759
|
+
VHostId: string;
|
|
6760
|
+
}
|
|
6680
6761
|
/**
|
|
6681
6762
|
* DescribeAllTenants请求参数结构体
|
|
6682
6763
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeAutoScalingConfigurationResponse, DescribeClusterStorageOptionRequest, DescribeClustersRequest, SetAutoScalingConfigurationRequest, DescribeNodesRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DeleteClusterResponse, AddQueueRequest, CreateClusterResponse, DescribeQueuesRequest, SetAutoScalingConfigurationResponse, CreateClusterRequest, AddQueueResponse, DescribeClusterStorageOptionResponse, DescribeQueuesResponse, ModifyInitNodeScriptsResponse, DeleteClusterRequest, DescribeClusterActivitiesRequest, DeleteQueueRequest, AddNodesRequest, DeleteClusterStorageOptionRequest, AddClusterStorageOptionRequest, ModifyInitNodeScriptsRequest, DescribeAutoScalingConfigurationRequest, DeleteNodesRequest, DescribeClustersResponse, DeleteClusterStorageOptionResponse, DescribeNodesResponse, DescribeClusterActivitiesResponse, DeleteQueueResponse, AddNodesResponse } from "./thpc_models";
|
|
3
|
+
import { DescribeAutoScalingConfigurationResponse, DescribeClusterStorageOptionRequest, DescribeClustersRequest, SetAutoScalingConfigurationRequest, DescribeNodesRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DescribeInitNodeScriptsRequest, DeleteClusterResponse, AddQueueRequest, CreateClusterResponse, DescribeQueuesRequest, SetAutoScalingConfigurationResponse, CreateClusterRequest, AddQueueResponse, DescribeClusterStorageOptionResponse, DescribeQueuesResponse, ModifyInitNodeScriptsResponse, DeleteClusterRequest, DescribeClusterActivitiesRequest, DeleteQueueRequest, AddNodesRequest, DeleteClusterStorageOptionRequest, AddClusterStorageOptionRequest, ModifyInitNodeScriptsRequest, DescribeAutoScalingConfigurationRequest, DeleteNodesRequest, DescribeClustersResponse, DeleteClusterStorageOptionResponse, DescribeNodesResponse, DescribeClusterActivitiesResponse, DescribeInitNodeScriptsResponse, DeleteQueueResponse, AddNodesResponse } from "./thpc_models";
|
|
4
4
|
/**
|
|
5
5
|
* thpc client
|
|
6
6
|
* @class
|
|
@@ -43,6 +43,10 @@ export declare class Client extends AbstractClient {
|
|
|
43
43
|
* 本接口 (DescribeNodes) 用于查询指定集群节点概览信息列表。
|
|
44
44
|
*/
|
|
45
45
|
DescribeNodes(req: DescribeNodesRequest, cb?: (error: string, rep: DescribeNodesResponse) => void): Promise<DescribeNodesResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* 本接口 (DescribeInitNodeScripts) 用于查询节点初始化脚本列表。
|
|
48
|
+
*/
|
|
49
|
+
DescribeInitNodeScripts(req: DescribeInitNodeScriptsRequest, cb?: (error: string, rep: DescribeInitNodeScriptsResponse) => void): Promise<DescribeInitNodeScriptsResponse>;
|
|
46
50
|
/**
|
|
47
51
|
* 本接口(DeleteQueue)用于从指定集群删除队列。
|
|
48
52
|
* 本接口为目前只支持SchedulerType为SLURM的集群。
|
|
@@ -79,6 +79,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
79
79
|
async DescribeNodes(req, cb) {
|
|
80
80
|
return this.request("DescribeNodes", req, cb);
|
|
81
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* 本接口 (DescribeInitNodeScripts) 用于查询节点初始化脚本列表。
|
|
84
|
+
*/
|
|
85
|
+
async DescribeInitNodeScripts(req, cb) {
|
|
86
|
+
return this.request("DescribeInitNodeScripts", req, cb);
|
|
87
|
+
}
|
|
82
88
|
/**
|
|
83
89
|
* 本接口(DeleteQueue)用于从指定集群删除队列。
|
|
84
90
|
* 本接口为目前只支持SchedulerType为SLURM的集群。
|
|
@@ -225,21 +225,13 @@ export interface AddClusterStorageOptionResponse {
|
|
|
225
225
|
RequestId?: string;
|
|
226
226
|
}
|
|
227
227
|
/**
|
|
228
|
-
*
|
|
228
|
+
* DescribeInitNodeScripts请求参数结构体
|
|
229
229
|
*/
|
|
230
|
-
export interface
|
|
231
|
-
/**
|
|
232
|
-
* CFS存储选项概览信息列表。
|
|
233
|
-
*/
|
|
234
|
-
CFSOptions: Array<CFSOptionOverview>;
|
|
230
|
+
export interface DescribeInitNodeScriptsRequest {
|
|
235
231
|
/**
|
|
236
|
-
*
|
|
237
|
-
*/
|
|
238
|
-
GooseFSOptions: Array<GooseFSOptionOverview>;
|
|
239
|
-
/**
|
|
240
|
-
* GooseFSx存储选项概览信息列表。
|
|
232
|
+
* 集群ID。
|
|
241
233
|
*/
|
|
242
|
-
|
|
234
|
+
ClusterId: string;
|
|
243
235
|
}
|
|
244
236
|
/**
|
|
245
237
|
* DeleteCluster返回参数结构体
|
|
@@ -714,6 +706,23 @@ export interface LoginNode {
|
|
|
714
706
|
*/
|
|
715
707
|
InstanceName?: string;
|
|
716
708
|
}
|
|
709
|
+
/**
|
|
710
|
+
* 集群存储选项概览信息。
|
|
711
|
+
*/
|
|
712
|
+
export interface StorageOptionOverview {
|
|
713
|
+
/**
|
|
714
|
+
* CFS存储选项概览信息列表。
|
|
715
|
+
*/
|
|
716
|
+
CFSOptions: Array<CFSOptionOverview>;
|
|
717
|
+
/**
|
|
718
|
+
* GooseFS存储选项概览信息列表。
|
|
719
|
+
*/
|
|
720
|
+
GooseFSOptions: Array<GooseFSOptionOverview>;
|
|
721
|
+
/**
|
|
722
|
+
* GooseFSx存储选项概览信息列表。
|
|
723
|
+
*/
|
|
724
|
+
GooseFSxOptions?: Array<GooseFSxOptionOverview>;
|
|
725
|
+
}
|
|
717
726
|
/**
|
|
718
727
|
* 描述节点执行脚本信息。
|
|
719
728
|
*/
|
|
@@ -1330,6 +1339,20 @@ export interface DescribeClusterActivitiesResponse {
|
|
|
1330
1339
|
*/
|
|
1331
1340
|
RequestId?: string;
|
|
1332
1341
|
}
|
|
1342
|
+
/**
|
|
1343
|
+
* DescribeInitNodeScripts返回参数结构体
|
|
1344
|
+
*/
|
|
1345
|
+
export interface DescribeInitNodeScriptsResponse {
|
|
1346
|
+
/**
|
|
1347
|
+
* 节点初始化脚本列表。
|
|
1348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1349
|
+
*/
|
|
1350
|
+
InitNodeScriptSet?: Array<NodeScript>;
|
|
1351
|
+
/**
|
|
1352
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1353
|
+
*/
|
|
1354
|
+
RequestId?: string;
|
|
1355
|
+
}
|
|
1333
1356
|
/**
|
|
1334
1357
|
* 描述了数据盘的信息
|
|
1335
1358
|
*/
|
|
@@ -4577,7 +4577,7 @@ export interface TrainingTaskDetail {
|
|
|
4577
4577
|
*/
|
|
4578
4578
|
EndTime: string;
|
|
4579
4579
|
/**
|
|
4580
|
-
* 计费金额信息,eg:2.00元/小时 (
|
|
4580
|
+
* 计费金额信息,eg:2.00元/小时 (按量计费)
|
|
4581
4581
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4582
4582
|
*/
|
|
4583
4583
|
BillingInfo: string;
|
|
@@ -4954,7 +4954,7 @@ export interface TrainingTaskSetItem {
|
|
|
4954
4954
|
*/
|
|
4955
4955
|
UpdateTime: string;
|
|
4956
4956
|
/**
|
|
4957
|
-
* 计费金额信息,eg:2.00元/小时 (
|
|
4957
|
+
* 计费金额信息,eg:2.00元/小时 (按量计费)
|
|
4958
4958
|
*/
|
|
4959
4959
|
BillingInfo: string;
|
|
4960
4960
|
/**
|
|
@@ -1034,17 +1034,17 @@ export interface QueryExternalContactDetailResponse {
|
|
|
1034
1034
|
* 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
|
|
1035
1035
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1036
1036
|
*/
|
|
1037
|
-
NextCursor
|
|
1037
|
+
NextCursor?: string;
|
|
1038
1038
|
/**
|
|
1039
1039
|
* 客户信息
|
|
1040
1040
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1041
1041
|
*/
|
|
1042
|
-
Customer
|
|
1042
|
+
Customer?: ExternalContact;
|
|
1043
1043
|
/**
|
|
1044
1044
|
* 添加了此外部联系人的企业成员信息
|
|
1045
1045
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1046
1046
|
*/
|
|
1047
|
-
FollowUser
|
|
1047
|
+
FollowUser?: Array<FollowUser>;
|
|
1048
1048
|
/**
|
|
1049
1049
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1050
1050
|
*/
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.csip.v20221121.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("csip.v20221121.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("csip.v20221121.DescribeVpcAssets", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeVpcAssets({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("csip.v20221121.DescribeDbAssetInfo", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeDbAssetInfo({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("csip.v20221121.DescribeCVMAssets", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeCVMAssets({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("csip.v20221121.AddNewBindRoleUser", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.AddNewBindRoleUser({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("csip.v20221121.DescribeScanReportList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeScanReportList({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("csip.v20221121.DescribeSubnetAssets", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeSubnetAssets({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
it("csip.v20221121.DescribeDbAssets", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeDbAssets({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("csip.v20221121.DescribeCVMAssetInfo", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeCVMAssetInfo({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
})
|
|
@@ -68,6 +68,16 @@ it("lighthouse.v20200324.ApplyDiskBackup", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("lighthouse.v20200324.ModifyBlueprintAttribute", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyBlueprintAttribute({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
71
81
|
it("lighthouse.v20200324.DescribeAllScenes", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeAllScenes({})
|
|
@@ -398,9 +408,9 @@ it("lighthouse.v20200324.DescribeGeneralResourceQuotas", async function () {
|
|
|
398
408
|
}
|
|
399
409
|
})
|
|
400
410
|
|
|
401
|
-
it("lighthouse.v20200324.
|
|
411
|
+
it("lighthouse.v20200324.CreateDisks", async function () {
|
|
402
412
|
try {
|
|
403
|
-
const data = await client.
|
|
413
|
+
const data = await client.CreateDisks({})
|
|
404
414
|
expect(data).to.be.ok
|
|
405
415
|
} catch(error) {
|
|
406
416
|
expect(error.requestId).to.be.ok
|
|
@@ -128,6 +128,16 @@ it("tdmq.v20200217.DeleteRocketMQGroup", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("tdmq.v20200217.CreateRabbitMQUser", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.CreateRabbitMQUser({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
131
141
|
it("tdmq.v20200217.DescribeRabbitMQVipInstances", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.DescribeRabbitMQVipInstances({})
|
|
@@ -308,6 +318,16 @@ it("tdmq.v20200217.DeleteRocketMQNamespace", async function () {
|
|
|
308
318
|
}
|
|
309
319
|
})
|
|
310
320
|
|
|
321
|
+
it("tdmq.v20200217.CreateRabbitMQVirtualHost", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.CreateRabbitMQVirtualHost({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
311
331
|
it("tdmq.v20200217.DeleteCluster", async function () {
|
|
312
332
|
try {
|
|
313
333
|
const data = await client.DeleteCluster({})
|
|
@@ -718,9 +738,9 @@ it("tdmq.v20200217.DescribeRocketMQGroups", async function () {
|
|
|
718
738
|
}
|
|
719
739
|
})
|
|
720
740
|
|
|
721
|
-
it("tdmq.v20200217.
|
|
741
|
+
it("tdmq.v20200217.CreateRocketMQTopic", async function () {
|
|
722
742
|
try {
|
|
723
|
-
const data = await client.
|
|
743
|
+
const data = await client.CreateRocketMQTopic({})
|
|
724
744
|
expect(data).to.be.ok
|
|
725
745
|
} catch(error) {
|
|
726
746
|
expect(error.requestId).to.be.ok
|
|
@@ -998,9 +1018,9 @@ it("tdmq.v20200217.DescribePulsarProInstances", async function () {
|
|
|
998
1018
|
}
|
|
999
1019
|
})
|
|
1000
1020
|
|
|
1001
|
-
it("tdmq.v20200217.
|
|
1021
|
+
it("tdmq.v20200217.DescribeAMQPQueues", async function () {
|
|
1002
1022
|
try {
|
|
1003
|
-
const data = await client.
|
|
1023
|
+
const data = await client.DescribeAMQPQueues({})
|
|
1004
1024
|
expect(data).to.be.ok
|
|
1005
1025
|
} catch(error) {
|
|
1006
1026
|
expect(error.requestId).to.be.ok
|
|
@@ -98,6 +98,16 @@ it("thpc.v20230321.DescribeNodes", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("thpc.v20230321.DescribeInitNodeScripts", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeInitNodeScripts({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("thpc.v20230321.DeleteQueue", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.DeleteQueue({})
|