tencentcloud-sdk-nodejs 4.1.242 → 4.1.243
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/bi/v20220105/bi_client.js +6 -0
- package/es/services/ckafka/v20190819/ckafka_client.js +9 -0
- package/es/services/ess/v20201111/ess_client.js +6 -0
- 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/bi/v20220105/bi_client.d.ts +9 -1
- package/tencentcloud/services/bi/v20220105/bi_client.js +12 -0
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +824 -59
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +13 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +18 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +272 -118
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +31 -15
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +52 -80
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +10 -6
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +20 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +23 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +216 -49
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +10 -107
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +79 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +14 -14
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +79 -117
- package/tencentcloud/services/tag/v20180813/tag_client.d.ts +11 -6
- package/tencentcloud/services/tag/v20180813/tag_client.js +11 -6
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +65 -73
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +7 -6
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +1 -1
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +123 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +59 -5
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -22
|
@@ -34,7 +34,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
34
34
|
return this.request("DeleteTags", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 根据标签键获取指定资源上的标签值
|
|
38
38
|
*/
|
|
39
39
|
async DescribeResourceTagsByTagKeys(req, cb) {
|
|
40
40
|
return this.request("DescribeResourceTagsByTagKeys", req, cb);
|
|
@@ -65,6 +65,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* 用于获取已建立的标签列表。
|
|
68
|
+
举例:TagKeys 为["k1","k2"], TagValues为["v3","v4"], 查出标签,其标签键tagKey in (k1, k2),同时标签值tagValue in (v3, v4)
|
|
68
69
|
*/
|
|
69
70
|
async GetTags(req, cb) {
|
|
70
71
|
return this.request("GetTags", req, cb);
|
|
@@ -76,7 +77,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
76
77
|
return this.request("ModifyResourcesTagValue", req, cb);
|
|
77
78
|
}
|
|
78
79
|
/**
|
|
79
|
-
*
|
|
80
|
+
* 通过标签查询资源列表,按TagKey取交集。
|
|
81
|
+
举例:TagFilters 为 [ {"TagKey": "k1", "TagValue":["v1","v2"]}, {"TagKey": "k2", "TagValue":["v3","v4"]} ]。交集查询逻辑:找出资源,其包含标签TagKey=k1且TagValue in (v1, v2),同时包含标签TagKey=k2且TagValue in (v3, v4)
|
|
80
82
|
*/
|
|
81
83
|
async DescribeResourcesByTags(req, cb) {
|
|
82
84
|
return this.request("DescribeResourcesByTags", req, cb);
|
|
@@ -88,7 +90,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
88
90
|
return this.request("DeleteTag", req, cb);
|
|
89
91
|
}
|
|
90
92
|
/**
|
|
91
|
-
*
|
|
93
|
+
* 查询资源标签列表。
|
|
92
94
|
*/
|
|
93
95
|
async GetResources(req, cb) {
|
|
94
96
|
return this.request("GetResources", req, cb);
|
|
@@ -106,7 +108,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
106
108
|
return this.request("AddProject", req, cb);
|
|
107
109
|
}
|
|
108
110
|
/**
|
|
109
|
-
*
|
|
111
|
+
* 用于获取已建立的标签列表。
|
|
112
|
+
举例:TagKeys为["k1","k2"], TagValues为["v3","v4"], 查出标签,其标签键tagKey in (k1, k2),同时标签值tagValue in (v3, v4)
|
|
110
113
|
*/
|
|
111
114
|
async DescribeTagsSeq(req, cb) {
|
|
112
115
|
return this.request("DescribeTagsSeq", req, cb);
|
|
@@ -154,7 +157,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
154
157
|
return this.request("DeleteResourceTag", req, cb);
|
|
155
158
|
}
|
|
156
159
|
/**
|
|
157
|
-
*
|
|
160
|
+
* 用于获取已建立的标签列表。
|
|
161
|
+
举例:TagKeys为["k1","k2"], TagValues为["v3","v4"], 查出标签,其标签键tagKey in (k1, k2),同时标签值tagValue in (v3, v4)
|
|
158
162
|
*/
|
|
159
163
|
async DescribeTags(req, cb) {
|
|
160
164
|
return this.request("DescribeTags", req, cb);
|
|
@@ -190,7 +194,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
190
194
|
return this.request("CreateTags", req, cb);
|
|
191
195
|
}
|
|
192
196
|
/**
|
|
193
|
-
*
|
|
197
|
+
* 通过标签查询资源列表,按TagKey取并集。
|
|
198
|
+
举例:TagFilters 为 [ {"TagKey": "k1", "TagValue":["v1","v2"]}, {"TagKey": "k2", "TagValue":["v3","v4"]} ]。并集查询逻辑:找出资源,其包含标签TagKey=k1且TagValue in (v1, v2),或者包含标签TagKey=k2且TagValue in (v3, v4)
|
|
194
199
|
*/
|
|
195
200
|
async DescribeResourcesByTagsUnion(req, cb) {
|
|
196
201
|
return this.request("DescribeResourcesByTagsUnion", req, cb);
|
|
@@ -107,27 +107,19 @@ export interface AddProjectResponse {
|
|
|
107
107
|
*/
|
|
108
108
|
export interface GetResourcesRequest {
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
111
|
-
例如:ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}。
|
|
112
|
-
如果传入了此参数会返回所有匹配的资源列表,指定的MaxResults会失效。
|
|
113
|
-
N取值范围:0~9
|
|
110
|
+
* <p>资源六段式列表。腾讯云使用资源六段式描述一个资源。<br>例如:ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}。<br>如果传入了此参数会返回所有匹配的资源列表,指定的MaxResults会失效。<br>N取值范围:0~9</p>
|
|
114
111
|
*/
|
|
115
112
|
ResourceList?: Array<string>;
|
|
116
113
|
/**
|
|
117
|
-
*
|
|
118
|
-
指定多个标签,会查询同时绑定了该多个标签的资源。
|
|
119
|
-
N取值范围:0~5。
|
|
120
|
-
每个TagFilters中的TagValue最多支持10个
|
|
114
|
+
* <p>标签过滤数组,最多支持6组标签。会查询同时绑定了这多组标签的资源。<br>每组标签中的TagValue最多支持10个。</p>
|
|
121
115
|
*/
|
|
122
116
|
TagFilters?: Array<TagFilter>;
|
|
123
117
|
/**
|
|
124
|
-
*
|
|
125
|
-
如果是第一次请求,设置为空。
|
|
118
|
+
* <p>从上一页的响应中获取的下一页的Token值。<br>如果是第一次请求,设置为空。</p>
|
|
126
119
|
*/
|
|
127
120
|
PaginationToken?: string;
|
|
128
121
|
/**
|
|
129
|
-
*
|
|
130
|
-
缺省值:50。
|
|
122
|
+
* <p>每一页返回的数据最大条数,最大200。<br>缺省值:50。</p>
|
|
131
123
|
*/
|
|
132
124
|
MaxResults?: number;
|
|
133
125
|
}
|
|
@@ -158,31 +150,31 @@ export interface DeleteResourceTagResponse {
|
|
|
158
150
|
*/
|
|
159
151
|
export interface DescribeResourceTagsByTagKeysRequest {
|
|
160
152
|
/**
|
|
161
|
-
*
|
|
153
|
+
* <p>业务类型,示例 cvm 。指资源所属业务类型,也是资源六段式中的第三段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中业务类型为ckafka</p>
|
|
162
154
|
*/
|
|
163
155
|
ServiceType: string;
|
|
164
156
|
/**
|
|
165
|
-
*
|
|
157
|
+
* <p>该业务类型对应的资源前缀,示例 cvm对应instance、image、volume等。也是资源六段式中的第六段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中资源前缀为ckafkaId</p>
|
|
166
158
|
*/
|
|
167
159
|
ResourcePrefix: string;
|
|
168
160
|
/**
|
|
169
|
-
*
|
|
161
|
+
* <p>资源所在地域,示例:ap-guangzhou 不区分地域的资源不需要传入该字段,区分地域的资源必填</p>
|
|
170
162
|
*/
|
|
171
163
|
ResourceRegion: string;
|
|
172
164
|
/**
|
|
173
|
-
*
|
|
165
|
+
* <p>资源唯一标识ID的列表,列表容量不超过20</p>
|
|
174
166
|
*/
|
|
175
167
|
ResourceIds: Array<string>;
|
|
176
168
|
/**
|
|
177
|
-
*
|
|
169
|
+
* <p>资源标签键列表,列表容量不超过20</p>
|
|
178
170
|
*/
|
|
179
171
|
TagKeys: Array<string>;
|
|
180
172
|
/**
|
|
181
|
-
*
|
|
173
|
+
* <p>每页大小,默认为 400</p>
|
|
182
174
|
*/
|
|
183
175
|
Limit?: number;
|
|
184
176
|
/**
|
|
185
|
-
*
|
|
177
|
+
* <p>数据偏移量,默认为 0, 必须为Limit参数的整数倍</p>
|
|
186
178
|
*/
|
|
187
179
|
Offset?: number;
|
|
188
180
|
}
|
|
@@ -224,7 +216,7 @@ export interface DescribeTagsRequest {
|
|
|
224
216
|
*/
|
|
225
217
|
TagKeys?: Array<string>;
|
|
226
218
|
/**
|
|
227
|
-
* <p>是否展现项目标签。1:展示
|
|
219
|
+
* <p>是否展现项目标签。1:展示 0:不展示。本功能仅供历史客户使用,需提交工单加白主账号后,入参方可有效。</p>
|
|
228
220
|
*/
|
|
229
221
|
ShowProject?: number;
|
|
230
222
|
}
|
|
@@ -304,35 +296,35 @@ export interface UpdateProjectRequest {
|
|
|
304
296
|
*/
|
|
305
297
|
export interface DescribeResourcesByTagsUnionRequest {
|
|
306
298
|
/**
|
|
307
|
-
*
|
|
299
|
+
* <p>标签过滤数组,最多支持6组标签。</p>
|
|
308
300
|
*/
|
|
309
301
|
TagFilters: Array<TagFilter>;
|
|
310
302
|
/**
|
|
311
|
-
*
|
|
303
|
+
* <p>创建标签者uin</p>
|
|
312
304
|
*/
|
|
313
305
|
CreateUin?: number;
|
|
314
306
|
/**
|
|
315
|
-
*
|
|
307
|
+
* <p>数据偏移量,默认为 0, 必须为Limit参数的整数倍</p>
|
|
316
308
|
*/
|
|
317
309
|
Offset?: number;
|
|
318
310
|
/**
|
|
319
|
-
*
|
|
311
|
+
* <p>每页大小,默认为 15</p>
|
|
320
312
|
*/
|
|
321
313
|
Limit?: number;
|
|
322
314
|
/**
|
|
323
|
-
*
|
|
315
|
+
* <p>该业务类型对应的资源前缀,示例 cvm对应instance、image、volume等。也是资源六段式中的第六段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中资源前缀为ckafkaId。cos存储桶为非必填,其他云资源为必填</p>
|
|
324
316
|
*/
|
|
325
317
|
ResourcePrefix?: string;
|
|
326
318
|
/**
|
|
327
|
-
*
|
|
319
|
+
* <p>资源唯一标记</p>
|
|
328
320
|
*/
|
|
329
321
|
ResourceId?: string;
|
|
330
322
|
/**
|
|
331
|
-
*
|
|
323
|
+
* <p>资源所在地域,示例:ap-guangzhou 不区分地域的资源不需要传入该字段,区分地域的资源必填</p>
|
|
332
324
|
*/
|
|
333
325
|
ResourceRegion?: string;
|
|
334
326
|
/**
|
|
335
|
-
*
|
|
327
|
+
* <p>业务类型,示例 cvm 。指资源所属业务类型,也是资源六段式中的第三段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中业务类型为ckafka</p>
|
|
336
328
|
*/
|
|
337
329
|
ServiceType?: string;
|
|
338
330
|
}
|
|
@@ -394,23 +386,23 @@ export interface DeleteTagsRequest {
|
|
|
394
386
|
*/
|
|
395
387
|
export interface DescribeTagKeysRequest {
|
|
396
388
|
/**
|
|
397
|
-
*
|
|
389
|
+
* <p>创建者用户 Uin,不传或为空只将 Uin 作为条件查询</p>
|
|
398
390
|
*/
|
|
399
391
|
CreateUin?: number;
|
|
400
392
|
/**
|
|
401
|
-
*
|
|
393
|
+
* <p>数据偏移量,默认为 0, 必须为Limit参数的整数倍</p>
|
|
402
394
|
*/
|
|
403
395
|
Offset?: number;
|
|
404
396
|
/**
|
|
405
|
-
*
|
|
397
|
+
* <p>每页大小,默认为 15,最大1000</p>
|
|
406
398
|
*/
|
|
407
399
|
Limit?: number;
|
|
408
400
|
/**
|
|
409
|
-
*
|
|
401
|
+
* <p>是否展现项目标签。1:展示 0:不展示。本功能仅供历史客户使用,需提交工单加白主账号后,入参方可有效。</p>
|
|
410
402
|
*/
|
|
411
403
|
ShowProject?: number;
|
|
412
404
|
/**
|
|
413
|
-
*
|
|
405
|
+
* <p>标签类型。取值: Custom:自定义标签。 System:系统标签。 All:全部标签。 默认值:All。</p>
|
|
414
406
|
*/
|
|
415
407
|
Category?: string;
|
|
416
408
|
}
|
|
@@ -452,19 +444,19 @@ export interface UnTagResourcesRequest {
|
|
|
452
444
|
*/
|
|
453
445
|
export interface DescribeTagsSeqResponse {
|
|
454
446
|
/**
|
|
455
|
-
*
|
|
447
|
+
* <p>结果总数</p>
|
|
456
448
|
*/
|
|
457
449
|
TotalCount?: number;
|
|
458
450
|
/**
|
|
459
|
-
*
|
|
451
|
+
* <p>数据位移偏量</p>
|
|
460
452
|
*/
|
|
461
453
|
Offset?: number;
|
|
462
454
|
/**
|
|
463
|
-
*
|
|
455
|
+
* <p>每页大小</p>
|
|
464
456
|
*/
|
|
465
457
|
Limit?: number;
|
|
466
458
|
/**
|
|
467
|
-
*
|
|
459
|
+
* <p>标签列表</p>
|
|
468
460
|
*/
|
|
469
461
|
Tags?: Array<TagWithDelete>;
|
|
470
462
|
/**
|
|
@@ -552,19 +544,19 @@ export interface DescribeResourceTagsByResourceIdsRequest {
|
|
|
552
544
|
*/
|
|
553
545
|
export interface DescribeResourcesByTagsUnionResponse {
|
|
554
546
|
/**
|
|
555
|
-
*
|
|
547
|
+
* <p>结果总数</p>
|
|
556
548
|
*/
|
|
557
549
|
TotalCount?: number;
|
|
558
550
|
/**
|
|
559
|
-
*
|
|
551
|
+
* <p>数据位移偏量</p>
|
|
560
552
|
*/
|
|
561
553
|
Offset?: number;
|
|
562
554
|
/**
|
|
563
|
-
*
|
|
555
|
+
* <p>每页大小</p>
|
|
564
556
|
*/
|
|
565
557
|
Limit?: number;
|
|
566
558
|
/**
|
|
567
|
-
*
|
|
559
|
+
* <p>资源标签</p>
|
|
568
560
|
*/
|
|
569
561
|
Rows?: Array<ResourceTag>;
|
|
570
562
|
/**
|
|
@@ -703,19 +695,19 @@ export interface AddResourceTagResponse {
|
|
|
703
695
|
*/
|
|
704
696
|
export interface DescribeResourcesByTagsResponse {
|
|
705
697
|
/**
|
|
706
|
-
*
|
|
698
|
+
* <p>结果总数</p>
|
|
707
699
|
*/
|
|
708
700
|
TotalCount?: number;
|
|
709
701
|
/**
|
|
710
|
-
*
|
|
702
|
+
* <p>数据位移偏量</p>
|
|
711
703
|
*/
|
|
712
704
|
Offset?: number;
|
|
713
705
|
/**
|
|
714
|
-
*
|
|
706
|
+
* <p>每页大小</p>
|
|
715
707
|
*/
|
|
716
708
|
Limit?: number;
|
|
717
709
|
/**
|
|
718
|
-
*
|
|
710
|
+
* <p>资源标签</p>
|
|
719
711
|
*/
|
|
720
712
|
Rows?: Array<ResourceTag>;
|
|
721
713
|
/**
|
|
@@ -783,19 +775,19 @@ export interface CreateTagRequest {
|
|
|
783
775
|
*/
|
|
784
776
|
export interface DescribeResourceTagsByTagKeysResponse {
|
|
785
777
|
/**
|
|
786
|
-
*
|
|
778
|
+
* <p>结果总数</p>
|
|
787
779
|
*/
|
|
788
780
|
TotalCount?: number;
|
|
789
781
|
/**
|
|
790
|
-
*
|
|
782
|
+
* <p>数据位移偏量</p>
|
|
791
783
|
*/
|
|
792
784
|
Offset?: number;
|
|
793
785
|
/**
|
|
794
|
-
*
|
|
786
|
+
* <p>每页大小</p>
|
|
795
787
|
*/
|
|
796
788
|
Limit?: number;
|
|
797
789
|
/**
|
|
798
|
-
*
|
|
790
|
+
* <p>资源标签</p>
|
|
799
791
|
*/
|
|
800
792
|
Rows?: Array<ResourceIdTag>;
|
|
801
793
|
/**
|
|
@@ -808,31 +800,31 @@ export interface DescribeResourceTagsByTagKeysResponse {
|
|
|
808
800
|
*/
|
|
809
801
|
export interface DescribeTagsSeqRequest {
|
|
810
802
|
/**
|
|
811
|
-
*
|
|
803
|
+
* <p>标签键,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签</p>
|
|
812
804
|
*/
|
|
813
805
|
TagKey?: string;
|
|
814
806
|
/**
|
|
815
|
-
*
|
|
807
|
+
* <p>标签值,与标签键同时存在或同时不存在,不存在时表示查询该用户所有标签</p>
|
|
816
808
|
*/
|
|
817
809
|
TagValue?: string;
|
|
818
810
|
/**
|
|
819
|
-
*
|
|
811
|
+
* <p>数据偏移量,默认为 0, 必须为Limit参数的整数倍</p>
|
|
820
812
|
*/
|
|
821
813
|
Offset?: number;
|
|
822
814
|
/**
|
|
823
|
-
*
|
|
815
|
+
* <p>每页大小,默认为 15</p>
|
|
824
816
|
*/
|
|
825
817
|
Limit?: number;
|
|
826
818
|
/**
|
|
827
|
-
*
|
|
819
|
+
* <p>创建者用户 Uin,不传或为空只将 Uin 作为条件查询</p>
|
|
828
820
|
*/
|
|
829
821
|
CreateUin?: number;
|
|
830
822
|
/**
|
|
831
|
-
*
|
|
823
|
+
* <p>标签键数组,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签,当与TagKey同时传递时只取本值</p>
|
|
832
824
|
*/
|
|
833
825
|
TagKeys?: Array<string>;
|
|
834
826
|
/**
|
|
835
|
-
*
|
|
827
|
+
* <p>是否展现项目标签。1:展示 0:不展示。本功能仅供历史客户使用,需提交工单加白主账号后,入参方可有效。</p>
|
|
836
828
|
*/
|
|
837
829
|
ShowProject?: number;
|
|
838
830
|
}
|
|
@@ -1030,11 +1022,11 @@ export interface DetachResourcesTagResponse {
|
|
|
1030
1022
|
*/
|
|
1031
1023
|
export interface GetResourcesResponse {
|
|
1032
1024
|
/**
|
|
1033
|
-
*
|
|
1025
|
+
* <p>获取的下一页的Token值</p>
|
|
1034
1026
|
*/
|
|
1035
1027
|
PaginationToken?: string;
|
|
1036
1028
|
/**
|
|
1037
|
-
*
|
|
1029
|
+
* <p>资源及关联的标签(键和值)列表</p>
|
|
1038
1030
|
*/
|
|
1039
1031
|
ResourceTagMappingList?: Array<ResourceTagMapping>;
|
|
1040
1032
|
/**
|
|
@@ -1081,19 +1073,19 @@ export interface DeleteTagResponse {
|
|
|
1081
1073
|
*/
|
|
1082
1074
|
export interface DescribeTagKeysResponse {
|
|
1083
1075
|
/**
|
|
1084
|
-
*
|
|
1076
|
+
* <p>结果总数</p>
|
|
1085
1077
|
*/
|
|
1086
1078
|
TotalCount?: number;
|
|
1087
1079
|
/**
|
|
1088
|
-
*
|
|
1080
|
+
* <p>数据位移偏量</p>
|
|
1089
1081
|
*/
|
|
1090
1082
|
Offset?: number;
|
|
1091
1083
|
/**
|
|
1092
|
-
*
|
|
1084
|
+
* <p>每页大小</p>
|
|
1093
1085
|
*/
|
|
1094
1086
|
Limit?: number;
|
|
1095
1087
|
/**
|
|
1096
|
-
*
|
|
1088
|
+
* <p>标签列表</p>
|
|
1097
1089
|
*/
|
|
1098
1090
|
Tags?: Array<string>;
|
|
1099
1091
|
/**
|
|
@@ -1195,15 +1187,15 @@ export interface CreateTagsResponse {
|
|
|
1195
1187
|
*/
|
|
1196
1188
|
export interface GetTagsRequest {
|
|
1197
1189
|
/**
|
|
1198
|
-
* <p>从上一页的响应中获取的下一页的Token
|
|
1190
|
+
* <p>从上一页的响应中获取的下一页的Token值。<br>如果是第一次请求,设置为空。</p>
|
|
1199
1191
|
*/
|
|
1200
1192
|
PaginationToken?: string;
|
|
1201
1193
|
/**
|
|
1202
|
-
* <p>每一页返回的数据最大条数,最大1000
|
|
1194
|
+
* <p>每一页返回的数据最大条数,最大1000。<br>缺省值:50。</p>
|
|
1203
1195
|
*/
|
|
1204
1196
|
MaxResults?: number;
|
|
1205
1197
|
/**
|
|
1206
|
-
* <p
|
|
1198
|
+
* <p>标签键。<br>返回所有标签键列表对应的标签。<br>最大长度:20</p>
|
|
1207
1199
|
*/
|
|
1208
1200
|
TagKeys?: Array<string>;
|
|
1209
1201
|
/**
|
|
@@ -1216,35 +1208,35 @@ export interface GetTagsRequest {
|
|
|
1216
1208
|
*/
|
|
1217
1209
|
export interface DescribeResourcesByTagsRequest {
|
|
1218
1210
|
/**
|
|
1219
|
-
*
|
|
1211
|
+
* <p>标签过滤数组,最多支持6组标签。</p>
|
|
1220
1212
|
*/
|
|
1221
1213
|
TagFilters: Array<TagFilter>;
|
|
1222
1214
|
/**
|
|
1223
|
-
*
|
|
1215
|
+
* <p>创建标签者uin</p>
|
|
1224
1216
|
*/
|
|
1225
1217
|
CreateUin?: number;
|
|
1226
1218
|
/**
|
|
1227
|
-
*
|
|
1219
|
+
* <p>数据偏移量,默认为 0, 必须为Limit参数的整数倍</p>
|
|
1228
1220
|
*/
|
|
1229
1221
|
Offset?: number;
|
|
1230
1222
|
/**
|
|
1231
|
-
*
|
|
1223
|
+
* <p>每页大小,默认为 15</p>
|
|
1232
1224
|
*/
|
|
1233
1225
|
Limit?: number;
|
|
1234
1226
|
/**
|
|
1235
|
-
*
|
|
1227
|
+
* <p>该业务类型对应的资源前缀,示例 cvm对应instance、image、volume等。也是资源六段式中的第六段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中资源前缀为ckafkaId。cos存储桶为非必填,其他云资源为必填</p>
|
|
1236
1228
|
*/
|
|
1237
1229
|
ResourcePrefix?: string;
|
|
1238
1230
|
/**
|
|
1239
|
-
*
|
|
1231
|
+
* <p>资源唯一标记</p>
|
|
1240
1232
|
*/
|
|
1241
1233
|
ResourceId?: string;
|
|
1242
1234
|
/**
|
|
1243
|
-
*
|
|
1235
|
+
* <p>资源所在地域,示例:ap-guangzhou 不区分地域的资源不需要传入该字段,区分地域的资源必填</p>
|
|
1244
1236
|
*/
|
|
1245
1237
|
ResourceRegion?: string;
|
|
1246
1238
|
/**
|
|
1247
|
-
*
|
|
1239
|
+
* <p>业务类型,示例 cvm 。指资源所属业务类型,也是资源六段式中的第三段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中业务类型为ckafka</p>
|
|
1248
1240
|
*/
|
|
1249
1241
|
ServiceType?: string;
|
|
1250
1242
|
}
|
|
@@ -640,20 +640,21 @@ export interface ValidateNamespaceExistPersonalRequest {
|
|
|
640
640
|
*/
|
|
641
641
|
export interface ModifyInstanceRequest {
|
|
642
642
|
/**
|
|
643
|
-
*
|
|
643
|
+
* <p>实例ID</p>
|
|
644
644
|
*/
|
|
645
645
|
RegistryId: string;
|
|
646
646
|
/**
|
|
647
|
-
*
|
|
648
|
-
基础版:basic
|
|
649
|
-
标准版:standard
|
|
650
|
-
高级版:premium
|
|
647
|
+
* <p>实例的规格,<br>基础版:basic<br>标准版:standard<br>高级版:premium</p>
|
|
651
648
|
*/
|
|
652
649
|
RegistryType?: string;
|
|
653
650
|
/**
|
|
654
|
-
*
|
|
651
|
+
* <p>实例删除保护,false为关闭</p>
|
|
655
652
|
*/
|
|
656
653
|
DeletionProtection?: boolean;
|
|
654
|
+
/**
|
|
655
|
+
* <p>实例是否开启多版本控制,false为关闭</p>
|
|
656
|
+
*/
|
|
657
|
+
EnableCosVersioning?: boolean;
|
|
657
658
|
}
|
|
658
659
|
/**
|
|
659
660
|
* RenewInstance返回参数结构体
|
|
@@ -54,7 +54,7 @@ export declare class Client extends AbstractClient {
|
|
|
54
54
|
|
|
55
55
|
从 CLS 日志服务查询套餐下的调用明细,按 pkg_id 过滤,支持游标分页。
|
|
56
56
|
*/
|
|
57
|
-
DescribeTokenPlanApiKeyUsageDetail(req
|
|
57
|
+
DescribeTokenPlanApiKeyUsageDetail(req: DescribeTokenPlanApiKeyUsageDetailRequest, cb?: (error: string, rep: DescribeTokenPlanApiKeyUsageDetailResponse) => void): Promise<DescribeTokenPlanApiKeyUsageDetailResponse>;
|
|
58
58
|
/**
|
|
59
59
|
* 查询 TokenPlan 套餐列表。
|
|
60
60
|
|
|
@@ -554,6 +554,22 @@ export interface TokenSummaryBillingItem {
|
|
|
554
554
|
* DescribeTokenPlanApiKeyUsageDetail返回参数结构体
|
|
555
555
|
*/
|
|
556
556
|
export interface DescribeTokenPlanApiKeyUsageDetailResponse {
|
|
557
|
+
/**
|
|
558
|
+
* 翻页上下文,传入下一次请求的 Context 参数继续翻页。
|
|
559
|
+
*/
|
|
560
|
+
Context?: string;
|
|
561
|
+
/**
|
|
562
|
+
* 是否已到末尾,为 true 时无需继续翻页。
|
|
563
|
+
*/
|
|
564
|
+
ListOver?: boolean;
|
|
565
|
+
/**
|
|
566
|
+
* 调用明细列表。
|
|
567
|
+
*/
|
|
568
|
+
List?: Array<UsageDetailItem>;
|
|
569
|
+
/**
|
|
570
|
+
* 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)
|
|
571
|
+
*/
|
|
572
|
+
ProductType?: string;
|
|
557
573
|
/**
|
|
558
574
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
559
575
|
*/
|
|
@@ -748,7 +764,44 @@ export interface DeleteTokenPlanApiKeyResponse {
|
|
|
748
764
|
/**
|
|
749
765
|
* DescribeTokenPlanApiKeyUsageDetail请求参数结构体
|
|
750
766
|
*/
|
|
751
|
-
export
|
|
767
|
+
export interface DescribeTokenPlanApiKeyUsageDetailRequest {
|
|
768
|
+
/**
|
|
769
|
+
* 套餐 ID。可通过DescribeTokenPlanList接口获取。
|
|
770
|
+
*/
|
|
771
|
+
TeamId: string;
|
|
772
|
+
/**
|
|
773
|
+
* 起始时间,RFC3339 格式。不传默认为结束时间前 15 分钟。
|
|
774
|
+
*/
|
|
775
|
+
From?: string;
|
|
776
|
+
/**
|
|
777
|
+
* 结束时间,RFC3339 格式。不传默认为当前时间。
|
|
778
|
+
*/
|
|
779
|
+
To?: string;
|
|
780
|
+
/**
|
|
781
|
+
* 排序方式。取值:asc(升序)、desc(降序),默认为 desc。
|
|
782
|
+
*/
|
|
783
|
+
Sort?: string;
|
|
784
|
+
/**
|
|
785
|
+
* 返回条数,默认为 20,最大值为 100。
|
|
786
|
+
*/
|
|
787
|
+
Limit?: number;
|
|
788
|
+
/**
|
|
789
|
+
* 翻页上下文,首次查询不传,后续传入上次返回的 Context,直到 ListOver 为 true。
|
|
790
|
+
*/
|
|
791
|
+
Context?: string;
|
|
792
|
+
/**
|
|
793
|
+
* 按 API Key ID 精确过滤。最大 128 字符。与 ApiKeyName 至少需传入其一,都传时以 ApiKeyId 为准。可通过 DescribeTokenPlanApiKeyList 接口获取。
|
|
794
|
+
*/
|
|
795
|
+
ApiKeyId?: string;
|
|
796
|
+
/**
|
|
797
|
+
* 按 API Key 名称模糊过滤。最大 64 字符。与 ApiKeyId 至少需传入其一,都传时以 ApiKeyId 为准。
|
|
798
|
+
*/
|
|
799
|
+
ApiKeyName?: string;
|
|
800
|
+
/**
|
|
801
|
+
* 按模型 ID (Model ID) 精确过滤。需要按模型名称过滤时传入该字段。
|
|
802
|
+
*/
|
|
803
|
+
ModelName?: string;
|
|
804
|
+
}
|
|
752
805
|
/**
|
|
753
806
|
* API 密钥详情
|
|
754
807
|
*/
|
|
@@ -818,6 +871,75 @@ export interface ApiKeyDetail {
|
|
|
818
871
|
*/
|
|
819
872
|
Creator?: string;
|
|
820
873
|
}
|
|
874
|
+
/**
|
|
875
|
+
* Token Plan 企业版套餐调用明细项(字段与 CLS 日志对齐)
|
|
876
|
+
*/
|
|
877
|
+
export interface UsageDetailItem {
|
|
878
|
+
/**
|
|
879
|
+
* 主账号 UIN。
|
|
880
|
+
*/
|
|
881
|
+
Uin?: string;
|
|
882
|
+
/**
|
|
883
|
+
* 模型名称。
|
|
884
|
+
*/
|
|
885
|
+
ModelName?: string;
|
|
886
|
+
/**
|
|
887
|
+
* APIKey ID。
|
|
888
|
+
*/
|
|
889
|
+
ApiKeyId?: string;
|
|
890
|
+
/**
|
|
891
|
+
* APIKey 名称。
|
|
892
|
+
*/
|
|
893
|
+
ApiKeyName?: string;
|
|
894
|
+
/**
|
|
895
|
+
* 请求 ID。
|
|
896
|
+
*/
|
|
897
|
+
RequestId?: string;
|
|
898
|
+
/**
|
|
899
|
+
* 请求时间(RFC3339 格式)。
|
|
900
|
+
*/
|
|
901
|
+
RequestTime?: string;
|
|
902
|
+
/**
|
|
903
|
+
* 输入 token 数。
|
|
904
|
+
*/
|
|
905
|
+
InputToken?: number;
|
|
906
|
+
/**
|
|
907
|
+
* 缓存 token 数。
|
|
908
|
+
*/
|
|
909
|
+
CacheToken?: number;
|
|
910
|
+
/**
|
|
911
|
+
* 输出 token 数。
|
|
912
|
+
*/
|
|
913
|
+
OutputToken?: number;
|
|
914
|
+
/**
|
|
915
|
+
* 总 token 数。
|
|
916
|
+
*/
|
|
917
|
+
TotalToken?: number;
|
|
918
|
+
/**
|
|
919
|
+
* 未命中缓存输入消耗额度。单位说明如下:
|
|
920
|
+
- 套餐类型为专业套餐(enterprise),单位取值为积分;
|
|
921
|
+
- 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
|
|
922
|
+
*/
|
|
923
|
+
InputQuota?: string;
|
|
924
|
+
/**
|
|
925
|
+
* 缓存消耗额度。单位说明如下:
|
|
926
|
+
- 套餐类型为专业套餐(enterprise),单位取值为积分;
|
|
927
|
+
- 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
|
|
928
|
+
*/
|
|
929
|
+
CacheQuota?: string;
|
|
930
|
+
/**
|
|
931
|
+
* 输出消耗额度。单位说明如下:
|
|
932
|
+
- 套餐类型为专业套餐(enterprise),单位取值为积分;
|
|
933
|
+
- 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
|
|
934
|
+
*/
|
|
935
|
+
OutputQuota?: string;
|
|
936
|
+
/**
|
|
937
|
+
* 总消耗额度。单位说明如下:
|
|
938
|
+
- 套餐类型为专业套餐(enterprise),单位取值为积分;
|
|
939
|
+
- 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
|
|
940
|
+
*/
|
|
941
|
+
TotalQuota?: string;
|
|
942
|
+
}
|
|
821
943
|
/**
|
|
822
944
|
* 批量创建失败项
|
|
823
945
|
*/
|
|
@@ -825,7 +825,7 @@ export declare class Client extends AbstractClient {
|
|
|
825
825
|
*/
|
|
826
826
|
ModifyAIAnalysisTemplate(req: ModifyAIAnalysisTemplateRequest, cb?: (error: string, rep: ModifyAIAnalysisTemplateResponse) => void): Promise<ModifyAIAnalysisTemplateResponse>;
|
|
827
827
|
/**
|
|
828
|
-
* 该接口用于创建 AIGC
|
|
828
|
+
* 该接口用于创建 AIGC 自定义音色。注意,调用本接口会产生创建自定义音色费用,请参考[计费文档](https://cloud.tencent.com/document/product/266/95125#5e5217e8-29fc-467e-ac2d-853648f988b7)。
|
|
829
829
|
*/
|
|
830
830
|
CreateAigcCustomVoice(req: CreateAigcCustomVoiceRequest, cb?: (error: string, rep: CreateAigcCustomVoiceResponse) => void): Promise<CreateAigcCustomVoiceResponse>;
|
|
831
831
|
/**
|
|
@@ -1143,7 +1143,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1143
1143
|
return this.request("ModifyAIAnalysisTemplate", req, cb);
|
|
1144
1144
|
}
|
|
1145
1145
|
/**
|
|
1146
|
-
* 该接口用于创建 AIGC
|
|
1146
|
+
* 该接口用于创建 AIGC 自定义音色。注意,调用本接口会产生创建自定义音色费用,请参考[计费文档](https://cloud.tencent.com/document/product/266/95125#5e5217e8-29fc-467e-ac2d-853648f988b7)。
|
|
1147
1147
|
*/
|
|
1148
1148
|
async CreateAigcCustomVoice(req, cb) {
|
|
1149
1149
|
return this.request("CreateAigcCustomVoice", req, cb);
|