tencentcloud-sdk-nodejs 4.1.295 → 4.1.297
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 +17 -2
- package/es/services/dataagent/v20250513/dataagent_client.js +0 -12
- package/es/services/monitor/v20180724/monitor_client.js +3 -0
- package/es/services/tokenhub/v20260322/tokenhub_client.js +10 -7
- 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 +23 -3
- package/tencentcloud/services/adp/v20260520/adp_client.js +33 -3
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +754 -201
- package/tencentcloud/services/apis/v20240801/apis_models.d.ts +4 -4
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +7 -16
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +9 -20
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +2 -2
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +48 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +62 -71
- package/tencentcloud/services/chc/v20230418/chc_models.d.ts +7 -7
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +24 -12
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +7 -8
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +50 -74
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1 -1
- package/tencentcloud/services/dataagent/v20250513/dataagent_client.d.ts +1 -17
- package/tencentcloud/services/dataagent/v20250513/dataagent_client.js +0 -24
- package/tencentcloud/services/dataagent/v20250513/dataagent_models.d.ts +48 -287
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +29 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +26 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +13 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +8 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +18 -18
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +16 -4
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +16 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +6 -6
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +17 -13
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.js +22 -16
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +87 -74
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +59 -22
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +67 -57
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +7 -15
|
@@ -4148,6 +4148,10 @@ export interface CreateImageConfig {
|
|
|
4148
4148
|
* <p>输出图片的宽高比</p><p>枚举值:</p><ul><li>1:1: 宽高比 1:1</li><li>2:3: 宽高比 2:3</li><li>3:2: 宽高比 3:2</li><li>3:4: 宽高比 3:4</li><li>4:3: 宽高比 4:3</li><li>9:16: 宽高比 9:16</li><li>16:9: 宽高比 16:9</li></ul><p>默认值:1:1</p>
|
|
4149
4149
|
*/
|
|
4150
4150
|
AspectRatio?: string;
|
|
4151
|
+
/**
|
|
4152
|
+
* <p>附加参数。</p>
|
|
4153
|
+
*/
|
|
4154
|
+
AdditionalParameters?: string;
|
|
4151
4155
|
}
|
|
4152
4156
|
/**
|
|
4153
4157
|
* DeleteStreamPackageLinearAssemblyProgram请求参数结构体
|
|
@@ -18955,6 +18959,10 @@ export interface Activity {
|
|
|
18955
18959
|
* <p>原子任务类型:</p><li>input: 起始节点</li><li>output:终止节点</li><li>action-trans:转码</li><li>action-samplesnapshot:采样截图</li><li>action-AIAnalysis: 分析</li><li>action-AIRecognition:识别</li><li>action-aiReview:审核</li><li>action-animated-graphics:转动图</li><li>action-image-sprite:雪碧图</li><li>action-snapshotByTimeOffset: 时间点截图</li><li>action-adaptive-substream:自适应码流</li><li>action-AIQualityControl:媒体质检</li><li>action-SmartSubtitles:智能字幕</li><li>action-exec-rules:判断规则</li><li>action-SmartErase:智能擦除</li>
|
|
18956
18960
|
*/
|
|
18957
18961
|
ActivityType: string;
|
|
18962
|
+
/**
|
|
18963
|
+
* <p>前驱节点索引数组。<br>注意:创建和修改编排时,该参数无效,由服务端自动生成。</p>
|
|
18964
|
+
*/
|
|
18965
|
+
PredriveIndex?: Array<number | bigint>;
|
|
18958
18966
|
/**
|
|
18959
18967
|
* <p>后驱节点索引数组</p>
|
|
18960
18968
|
*/
|
|
@@ -48,27 +48,27 @@ export interface ListTasksRequest {
|
|
|
48
48
|
*/
|
|
49
49
|
export interface ListRoleConfigurationsRequest {
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* <p>空间 ID。</p>
|
|
52
52
|
*/
|
|
53
53
|
ZoneId: string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* <p>查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到IsTruncated为false,表示全部数据查询完毕。</p>
|
|
56
56
|
*/
|
|
57
57
|
NextToken?: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* <p>每页的最大数据条数。 取值范围:1~100。 默认值:10。</p>
|
|
60
60
|
*/
|
|
61
61
|
MaxResults?: number;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* <p>过滤文本。不区分大小写。目前,支持 RoleConfigurationName和Description. 示例:Filter = "test",表示查询名称或描述里包含 test 的权限配置。</p>
|
|
64
64
|
*/
|
|
65
65
|
Filter?: string;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* <p>检索成员账号是否配置过权限,如果配置过返回IsSelected: true, 否则返回false。</p>
|
|
68
68
|
*/
|
|
69
69
|
FilterTargets?: Array<number | bigint>;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* <p>授权的用户UserId或者用户组的GroupId,必须和入参数FilterTargets一起设置</p>
|
|
72
72
|
*/
|
|
73
73
|
PrincipalId?: string;
|
|
74
74
|
}
|
|
@@ -2406,23 +2406,23 @@ export interface CancelOrganizationPolicySubAccountResponse {
|
|
|
2406
2406
|
*/
|
|
2407
2407
|
export interface DescribeOrganizationMembersAuthPolicyRequest {
|
|
2408
2408
|
/**
|
|
2409
|
-
*
|
|
2409
|
+
* <p>偏移量。取值是limit的整数倍。默认值 : 0。</p>
|
|
2410
2410
|
*/
|
|
2411
2411
|
Offset: number;
|
|
2412
2412
|
/**
|
|
2413
|
-
*
|
|
2413
|
+
* <p>限制数目。取值范围:1~50。默认值:10。</p>
|
|
2414
2414
|
*/
|
|
2415
2415
|
Limit: number;
|
|
2416
2416
|
/**
|
|
2417
|
-
*
|
|
2417
|
+
* <p>成员uin。</p>
|
|
2418
2418
|
*/
|
|
2419
2419
|
MemberUin?: number;
|
|
2420
2420
|
/**
|
|
2421
|
-
*
|
|
2421
|
+
* <p>集团管理员子账号uin。</p>
|
|
2422
2422
|
*/
|
|
2423
2423
|
OrgSubAccountUin?: number;
|
|
2424
2424
|
/**
|
|
2425
|
-
*
|
|
2425
|
+
* <p>成员访问策略Id。</p>
|
|
2426
2426
|
*/
|
|
2427
2427
|
PolicyId?: number;
|
|
2428
2428
|
}
|
|
@@ -5333,23 +5333,23 @@ export interface GetZoneSAMLServiceProviderInfoRequest {
|
|
|
5333
5333
|
*/
|
|
5334
5334
|
export interface ListRoleConfigurationsResponse {
|
|
5335
5335
|
/**
|
|
5336
|
-
*
|
|
5336
|
+
* <p>符合请求参数条件的数据总条数。</p>
|
|
5337
5337
|
*/
|
|
5338
5338
|
TotalCounts?: number;
|
|
5339
5339
|
/**
|
|
5340
|
-
*
|
|
5340
|
+
* <p>每页的最大数据条数。</p>
|
|
5341
5341
|
*/
|
|
5342
5342
|
MaxResults?: number;
|
|
5343
5343
|
/**
|
|
5344
|
-
*
|
|
5344
|
+
* <p>返回结果是否被截断。取值: true:已截断。 false:未截断。</p>
|
|
5345
5345
|
*/
|
|
5346
5346
|
IsTruncated?: boolean;
|
|
5347
5347
|
/**
|
|
5348
|
-
*
|
|
5348
|
+
* <p>查询返回结果下一页的令牌。 说明 只有IsTruncated为true时,才显示该参数。</p>
|
|
5349
5349
|
*/
|
|
5350
5350
|
NextToken?: string;
|
|
5351
5351
|
/**
|
|
5352
|
-
*
|
|
5352
|
+
* <p>权限配置列表。</p>
|
|
5353
5353
|
*/
|
|
5354
5354
|
RoleConfigurations?: Array<RoleConfiguration>;
|
|
5355
5355
|
/**
|
|
@@ -5611,12 +5611,12 @@ export interface CreateSCIMCredentialRequest {
|
|
|
5611
5611
|
*/
|
|
5612
5612
|
export interface DescribeOrganizationMembersAuthPolicyResponse {
|
|
5613
5613
|
/**
|
|
5614
|
-
*
|
|
5614
|
+
* <p>访问授权策略列表。</p>
|
|
5615
5615
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5616
5616
|
*/
|
|
5617
5617
|
Items?: Array<OrgMembersAuthPolicy>;
|
|
5618
5618
|
/**
|
|
5619
|
-
*
|
|
5619
|
+
* <p>总数目。</p>
|
|
5620
5620
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5621
5621
|
*/
|
|
5622
5622
|
Total?: number;
|
|
@@ -3964,17 +3964,29 @@ export interface ModifyDBInstanceNameRequest {
|
|
|
3964
3964
|
*/
|
|
3965
3965
|
export interface DescribeDBInstanceSSLConfigResponse {
|
|
3966
3966
|
/**
|
|
3967
|
-
* true 代表开通 ,false
|
|
3967
|
+
* <p>true 代表开通 ,false 代表未开通</p>
|
|
3968
3968
|
*/
|
|
3969
3969
|
SSLEnabled?: boolean;
|
|
3970
3970
|
/**
|
|
3971
|
-
*
|
|
3971
|
+
* <p>云端根证书下载链接</p>
|
|
3972
3972
|
*/
|
|
3973
3973
|
CAUrl?: string;
|
|
3974
3974
|
/**
|
|
3975
|
-
*
|
|
3975
|
+
* <p>服务器证书中配置的内网或外网连接地址</p>
|
|
3976
3976
|
*/
|
|
3977
3977
|
ConnectAddress?: string;
|
|
3978
|
+
/**
|
|
3979
|
+
* <p>CA证书公钥,仅云盘版</p>
|
|
3980
|
+
*/
|
|
3981
|
+
CACert?: string;
|
|
3982
|
+
/**
|
|
3983
|
+
* <p>JKS公钥,仅云盘版</p>
|
|
3984
|
+
*/
|
|
3985
|
+
CAJKS?: string;
|
|
3986
|
+
/**
|
|
3987
|
+
* <p>CAP7B公钥,仅云盘版</p>
|
|
3988
|
+
*/
|
|
3989
|
+
CAP7B?: string;
|
|
3978
3990
|
/**
|
|
3979
3991
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3980
3992
|
*/
|
|
@@ -5680,7 +5692,7 @@ export interface CreateParameterTemplateRequest {
|
|
|
5680
5692
|
*/
|
|
5681
5693
|
export interface DescribeDBInstanceSSLConfigRequest {
|
|
5682
5694
|
/**
|
|
5683
|
-
*
|
|
5695
|
+
* <p>实例ID,形如postgres-6bwgamo3。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
5684
5696
|
*/
|
|
5685
5697
|
DBInstanceId: string;
|
|
5686
5698
|
}
|
|
@@ -133,6 +133,10 @@ export interface DescribeSecretResponse {
|
|
|
133
133
|
* <p>对应云产品的账号信息</p>
|
|
134
134
|
*/
|
|
135
135
|
AccountInfoList?: Array<SecretAccountInfo>;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
NextRotationTime?: string;
|
|
136
140
|
/**
|
|
137
141
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
138
142
|
*/
|
|
@@ -155,6 +159,14 @@ export interface GetSecretValueRequest {
|
|
|
155
159
|
对于云产品凭据如Mysql凭据,通过指定凭据名称和历史版本号来获取历史轮转凭据的明文信息,如果要获取当前正在使用的凭据版本的明文,需要将版本号指定为:SSM_Current。
|
|
156
160
|
*/
|
|
157
161
|
VersionId: string;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
*/
|
|
165
|
+
EncryptionPublicKey?: string;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
*/
|
|
169
|
+
EncryptionAlgorithm?: string;
|
|
158
170
|
}
|
|
159
171
|
/**
|
|
160
172
|
* DeleteSecret请求参数结构体
|
|
@@ -644,6 +656,10 @@ export interface ListSecretsRequest {
|
|
|
644
656
|
* <p>凭据加密类型</p><p>枚举值:</p><ul><li>0: KMS 密钥加密</li><li>1: 软密钥加密</li></ul><p>默认值:0</p>
|
|
645
657
|
*/
|
|
646
658
|
EncryptType?: number;
|
|
659
|
+
/**
|
|
660
|
+
* <p>云产品实例 ID</p>
|
|
661
|
+
*/
|
|
662
|
+
InstanceID?: string;
|
|
647
663
|
}
|
|
648
664
|
/**
|
|
649
665
|
* UpdateDescription请求参数结构体
|
|
@@ -525,7 +525,7 @@ export interface StorageOptionOverview {
|
|
|
525
525
|
*/
|
|
526
526
|
export interface DescribeJobsOverviewRequest {
|
|
527
527
|
/**
|
|
528
|
-
*
|
|
528
|
+
* <p>集群ID</p>
|
|
529
529
|
*/
|
|
530
530
|
ClusterId: string;
|
|
531
531
|
}
|
|
@@ -2107,11 +2107,11 @@ export interface DescribeNodesRequest {
|
|
|
2107
2107
|
*/
|
|
2108
2108
|
export interface DetachNodesRequest {
|
|
2109
2109
|
/**
|
|
2110
|
-
*
|
|
2110
|
+
* <p>集群id</p>
|
|
2111
2111
|
*/
|
|
2112
2112
|
ClusterId: string;
|
|
2113
2113
|
/**
|
|
2114
|
-
*
|
|
2114
|
+
* <p>集群中的节点id</p>
|
|
2115
2115
|
*/
|
|
2116
2116
|
NodeIds: Array<string>;
|
|
2117
2117
|
}
|
|
@@ -2169,15 +2169,15 @@ export interface LoginNode {
|
|
|
2169
2169
|
*/
|
|
2170
2170
|
export interface DescribeJobsOverviewResponse {
|
|
2171
2171
|
/**
|
|
2172
|
-
*
|
|
2172
|
+
* <p>作业任务数量</p>
|
|
2173
2173
|
*/
|
|
2174
2174
|
JobTotal?: number;
|
|
2175
2175
|
/**
|
|
2176
|
-
*
|
|
2176
|
+
* <p>排队中的作业任务数量</p>
|
|
2177
2177
|
*/
|
|
2178
2178
|
QueuingJobTotal?: number;
|
|
2179
2179
|
/**
|
|
2180
|
-
*
|
|
2180
|
+
* <p>运行中的作业数量</p>
|
|
2181
2181
|
*/
|
|
2182
2182
|
RunningJobTotal?: number;
|
|
2183
2183
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeTokenPlanApiKeyListResponse, DeleteGlossaryResponse, DeleteGlossaryEntriesResponse, RenewTokenPlanTeamOrderResponse, DescribeTokenPlanListResponse, DescribeModelEndpointListResponse, DeleteGlossaryEntriesRequest, CreateGlossaryEntriesResponse, CreateTokenPlanApiKeysResponse, DescribeModelListResponse, DeleteEndpointResponse, CreateTokenPlanTeamOrderAndBuyRequest, CreateEndpointRequest, DeleteTokenPlanApiKeyResponse, ModifyGlossaryEntriesResponse, DescribeTokenPlanResponse, DescribeModelListRequest, DescribeTokenPlanApiKeySecretResponse, ModifyTokenPlanApiKeySecretResponse, DescribeApiKeyListResponse, ModifyApiKeyInfoResponse, DeleteGlossaryRequest, DescribeGlossaryEntriesRequest, DescribeTokenPlanApiKeyRequest, DeleteApiKeyResponse, CreateEndpointResponse, DescribeTokenPlanApiKeyListRequest, DescribeGlossariesRequest, DescribeTokenPlanApiKeyUsageDetailRequest, DescribeGlossaryEntriesResponse, DeleteApiKeyRequest, UpgradeTokenPlanTeamOrderResponse, DescribeUsageRankListResponse,
|
|
3
|
+
import { DescribeTokenPlanApiKeyListResponse, DeleteGlossaryResponse, DeleteGlossaryEntriesResponse, RenewTokenPlanTeamOrderResponse, DescribeTokenPlanListResponse, DescribeModelEndpointListResponse, DeleteGlossaryEntriesRequest, CreateGlossaryEntriesResponse, CreateTokenPlanApiKeysResponse, DescribeModelListResponse, DeleteEndpointResponse, CreateTokenPlanTeamOrderAndBuyRequest, CreateEndpointRequest, DeleteTokenPlanApiKeyResponse, ModifyGlossaryEntriesResponse, DescribeTokenPlanResponse, DescribeModelListRequest, DescribeTokenPlanApiKeySecretResponse, ModifyTokenPlanApiKeySecretResponse, DescribeApiKeyListResponse, ModifyApiKeyInfoResponse, DeleteGlossaryRequest, DescribeGlossaryEntriesRequest, DescribeTokenPlanApiKeyRequest, DeleteApiKeyResponse, CreateEndpointResponse, DescribeTokenPlanApiKeyListRequest, DescribeGlossariesRequest, DescribeTokenPlanApiKeyUsageDetailRequest, DescribeGlossaryEntriesResponse, DeleteApiKeyRequest, UpgradeTokenPlanTeamOrderResponse, DescribeUsageRankListResponse, DescribeModelQuotaResponse, DescribeTokenPlanApiKeySecretRequest, DescribeModelQuotaRequest, ModifyApiKeyStatusRequest, DescribeTokenPlanRequest, ModifyTokenPlanApiKeyResponse, DescribeApiKeyListRequest, ModifyEndpointRequest, UpgradeTokenPlanTeamOrderRequest, DescribeTokenPlanApiKeyUsageDetailResponse, ModifyApiKeyInfoRequest, DescribeApiKeyRequest, DescribeUsageRankListRequest, CreateGlossaryEntriesRequest, DescribeGlossariesResponse, CreateApiKeyResponse, DescribeEndpointRequest, DescribeEndpointResponse, CreateTokenPlanApiKeysRequest, ModifyEndpointResponse, DeleteTokenPlanApiKeyRequest, DescribeModelEndpointListRequest, DescribeTokenPlanApiKeyResponse, DescribeTokenPlanListRequest, ModifyTokenPlanApiKeyRequest, CreateGlossaryRequest, CreateGlossaryResponse, ModifyGlossaryEntriesRequest, DeleteEndpointRequest, RenewTokenPlanTeamOrderRequest, DescribeApiKeyResponse, ModifyApiKeyStatusResponse, CreateTokenPlanTeamOrderAndBuyResponse, ModifyTokenPlanApiKeySecretRequest, CreateApiKeyRequest } from "./tokenhub_models";
|
|
4
4
|
/**
|
|
5
5
|
* tokenhub client
|
|
6
6
|
* @class
|
|
@@ -32,17 +32,11 @@ export declare class Client extends AbstractClient {
|
|
|
32
32
|
*/
|
|
33
33
|
DescribeApiKeyList(req: DescribeApiKeyListRequest, cb?: (error: string, rep: DescribeApiKeyListResponse) => void): Promise<DescribeApiKeyListResponse>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
|
-
|
|
37
|
-
支持按模型 ID、模型名称、模型能力等条件筛选,支持分页和排序。
|
|
38
|
-
*/
|
|
39
|
-
DescribeModelList(req: DescribeModelListRequest, cb?: (error: string, rep: DescribeModelListResponse) => void): Promise<DescribeModelListResponse>;
|
|
40
|
-
/**
|
|
41
|
-
* 查询 TokenPlan APIKey 详情。
|
|
35
|
+
* 查询术语库列表。
|
|
42
36
|
|
|
43
|
-
|
|
37
|
+
查询当前应用下的术语库列表。支持分页、过滤和排序。
|
|
44
38
|
*/
|
|
45
|
-
|
|
39
|
+
DescribeGlossaries(req: DescribeGlossariesRequest, cb?: (error: string, rep: DescribeGlossariesResponse) => void): Promise<DescribeGlossariesResponse>;
|
|
46
40
|
/**
|
|
47
41
|
* 批量创建 TokenPlan APIKey。
|
|
48
42
|
|
|
@@ -69,11 +63,15 @@ export declare class Client extends AbstractClient {
|
|
|
69
63
|
*/
|
|
70
64
|
DescribeTokenPlanApiKeyUsageDetail(req: DescribeTokenPlanApiKeyUsageDetailRequest, cb?: (error: string, rep: DescribeTokenPlanApiKeyUsageDetailResponse) => void): Promise<DescribeTokenPlanApiKeyUsageDetailResponse>;
|
|
71
65
|
/**
|
|
72
|
-
*
|
|
66
|
+
* 查询模型列表。
|
|
73
67
|
|
|
74
|
-
|
|
68
|
+
支持按模型 ID、模型名称、模型能力等条件筛选,支持分页和排序。
|
|
75
69
|
*/
|
|
76
|
-
|
|
70
|
+
DescribeModelList(req: DescribeModelListRequest, cb?: (error: string, rep: DescribeModelListResponse) => void): Promise<DescribeModelListResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* 查询指定模型的 TPM 和 QPM 配额上限。
|
|
73
|
+
*/
|
|
74
|
+
DescribeModelQuota(req?: DescribeModelQuotaRequest, cb?: (error: string, rep: DescribeModelQuotaResponse) => void): Promise<DescribeModelQuotaResponse>;
|
|
77
75
|
/**
|
|
78
76
|
* 更新 API 密钥信息。
|
|
79
77
|
|
|
@@ -166,6 +164,12 @@ export declare class Client extends AbstractClient {
|
|
|
166
164
|
返回套餐基本信息及额度中心主额度包余量。
|
|
167
165
|
*/
|
|
168
166
|
DescribeTokenPlan(req: DescribeTokenPlanRequest, cb?: (error: string, rep: DescribeTokenPlanResponse) => void): Promise<DescribeTokenPlanResponse>;
|
|
167
|
+
/**
|
|
168
|
+
* 查询 TokenPlan APIKey 详情。
|
|
169
|
+
|
|
170
|
+
返回 APIKey 完整信息(含明文密钥)及子额度包余量。
|
|
171
|
+
*/
|
|
172
|
+
DescribeTokenPlanApiKey(req: DescribeTokenPlanApiKeyRequest, cb?: (error: string, rep: DescribeTokenPlanApiKeyResponse) => void): Promise<DescribeTokenPlanApiKeyResponse>;
|
|
169
173
|
/**
|
|
170
174
|
* 修改 TokenPlan APIKey 配置(网关关注字段)。
|
|
171
175
|
|
|
@@ -60,20 +60,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
60
60
|
return this.request("DescribeApiKeyList", req, cb);
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
64
|
-
|
|
65
|
-
支持按模型 ID、模型名称、模型能力等条件筛选,支持分页和排序。
|
|
66
|
-
*/
|
|
67
|
-
async DescribeModelList(req, cb) {
|
|
68
|
-
return this.request("DescribeModelList", req, cb);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* 查询 TokenPlan APIKey 详情。
|
|
63
|
+
* 查询术语库列表。
|
|
72
64
|
|
|
73
|
-
|
|
65
|
+
查询当前应用下的术语库列表。支持分页、过滤和排序。
|
|
74
66
|
*/
|
|
75
|
-
async
|
|
76
|
-
return this.request("
|
|
67
|
+
async DescribeGlossaries(req, cb) {
|
|
68
|
+
return this.request("DescribeGlossaries", req, cb);
|
|
77
69
|
}
|
|
78
70
|
/**
|
|
79
71
|
* 批量创建 TokenPlan APIKey。
|
|
@@ -109,12 +101,18 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
109
101
|
return this.request("DescribeTokenPlanApiKeyUsageDetail", req, cb);
|
|
110
102
|
}
|
|
111
103
|
/**
|
|
112
|
-
*
|
|
104
|
+
* 查询模型列表。
|
|
113
105
|
|
|
114
|
-
|
|
106
|
+
支持按模型 ID、模型名称、模型能力等条件筛选,支持分页和排序。
|
|
115
107
|
*/
|
|
116
|
-
async
|
|
117
|
-
return this.request("
|
|
108
|
+
async DescribeModelList(req, cb) {
|
|
109
|
+
return this.request("DescribeModelList", req, cb);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* 查询指定模型的 TPM 和 QPM 配额上限。
|
|
113
|
+
*/
|
|
114
|
+
async DescribeModelQuota(req, cb) {
|
|
115
|
+
return this.request("DescribeModelQuota", req, cb);
|
|
118
116
|
}
|
|
119
117
|
/**
|
|
120
118
|
* 更新 API 密钥信息。
|
|
@@ -236,6 +234,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
236
234
|
async DescribeTokenPlan(req, cb) {
|
|
237
235
|
return this.request("DescribeTokenPlan", req, cb);
|
|
238
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* 查询 TokenPlan APIKey 详情。
|
|
239
|
+
|
|
240
|
+
返回 APIKey 完整信息(含明文密钥)及子额度包余量。
|
|
241
|
+
*/
|
|
242
|
+
async DescribeTokenPlanApiKey(req, cb) {
|
|
243
|
+
return this.request("DescribeTokenPlanApiKey", req, cb);
|
|
244
|
+
}
|
|
239
245
|
/**
|
|
240
246
|
* 修改 TokenPlan APIKey 配置(网关关注字段)。
|
|
241
247
|
|
|
@@ -1280,81 +1280,9 @@ export interface DescribeUsageRankListResponse {
|
|
|
1280
1280
|
RequestId?: string;
|
|
1281
1281
|
}
|
|
1282
1282
|
/**
|
|
1283
|
-
*
|
|
1283
|
+
* DescribeModelQuota返回参数结构体
|
|
1284
1284
|
*/
|
|
1285
|
-
export interface
|
|
1286
|
-
/**
|
|
1287
|
-
* API 密钥 ID。
|
|
1288
|
-
*/
|
|
1289
|
-
ApiKeyId?: string;
|
|
1290
|
-
/**
|
|
1291
|
-
* 名称。
|
|
1292
|
-
*/
|
|
1293
|
-
Name?: string;
|
|
1294
|
-
/**
|
|
1295
|
-
* API 密钥值(明文)。
|
|
1296
|
-
*/
|
|
1297
|
-
ApiKey?: string;
|
|
1298
|
-
/**
|
|
1299
|
-
* 备注。
|
|
1300
|
-
*/
|
|
1301
|
-
Remark?: string;
|
|
1302
|
-
/**
|
|
1303
|
-
* 平台类型。枚举:maas
|
|
1304
|
-
*/
|
|
1305
|
-
Platform?: string;
|
|
1306
|
-
/**
|
|
1307
|
-
* 主账号。
|
|
1308
|
-
*/
|
|
1309
|
-
Uin?: string;
|
|
1310
|
-
/**
|
|
1311
|
-
* 子账号。
|
|
1312
|
-
*/
|
|
1313
|
-
SubUin?: string;
|
|
1314
|
-
/**
|
|
1315
|
-
* 状态。取值:enable(启用)、disable(禁用)。
|
|
1316
|
-
*/
|
|
1317
|
-
Status?: string;
|
|
1318
|
-
/**
|
|
1319
|
-
* 绑定类型。取值:all(全部模型和接入点)、model_all_endpoint_custom(全部模型+自定义接入点)、model_custom_endpoint_all(自定义模型+全部接入点)、model_custom_endpoint_custom(自定义模型+自定义接入点)。
|
|
1320
|
-
*/
|
|
1321
|
-
BindType?: string;
|
|
1322
|
-
/**
|
|
1323
|
-
* 创建时间。格式:YYYY-MM-DD HH:mm:ss。
|
|
1324
|
-
*/
|
|
1325
|
-
CreateTime?: string;
|
|
1326
|
-
/**
|
|
1327
|
-
* 更新时间。格式:YYYY-MM-DD HH:mm:ss。
|
|
1328
|
-
*/
|
|
1329
|
-
UpdateTime?: string;
|
|
1330
|
-
/**
|
|
1331
|
-
* 应用 ID。
|
|
1332
|
-
*/
|
|
1333
|
-
AppId?: string;
|
|
1334
|
-
/**
|
|
1335
|
-
* 是否可编辑。true 表示可编辑,false 表示不可编辑。
|
|
1336
|
-
*/
|
|
1337
|
-
Editable?: boolean;
|
|
1338
|
-
/**
|
|
1339
|
-
* 绑定资源列表,区分 endpoint 和 model 类型。
|
|
1340
|
-
*/
|
|
1341
|
-
BindingItems?: Array<BindingItem>;
|
|
1342
|
-
/**
|
|
1343
|
-
* IP 白名单列表。支持 IPv4和 CIDR 格式。空数组表示不限制 IP。
|
|
1344
|
-
*/
|
|
1345
|
-
IpWhitelist?: Array<string>;
|
|
1346
|
-
/**
|
|
1347
|
-
* 当Platform为maas时该字段为空
|
|
1348
|
-
*/
|
|
1349
|
-
Creator?: string;
|
|
1350
|
-
/**
|
|
1351
|
-
* Token 限额多维度信息。未配置限额时不返回该字段。
|
|
1352
|
-
*/
|
|
1353
|
-
QuotaSet?: Array<QuotaInfo>;
|
|
1354
|
-
/**
|
|
1355
|
-
* Token 限额状态。空字符串表示未配置任何限额包;active 表示已配置且当前可用;inactive 表示已配置但额度耗尽
|
|
1356
|
-
*/
|
|
1357
|
-
QuotaStatus?: string;
|
|
1285
|
+
export interface DescribeModelQuotaResponse {
|
|
1358
1286
|
/**
|
|
1359
1287
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1360
1288
|
*/
|
|
@@ -1369,6 +1297,10 @@ export interface DescribeTokenPlanApiKeySecretRequest {
|
|
|
1369
1297
|
*/
|
|
1370
1298
|
ApiKeyId: string;
|
|
1371
1299
|
}
|
|
1300
|
+
/**
|
|
1301
|
+
* DescribeModelQuota请求参数结构体
|
|
1302
|
+
*/
|
|
1303
|
+
export type DescribeModelQuotaRequest = null;
|
|
1372
1304
|
/**
|
|
1373
1305
|
* 模型计费信息
|
|
1374
1306
|
*/
|
|
@@ -2387,6 +2319,87 @@ export interface ModelSiteRegion {
|
|
|
2387
2319
|
*/
|
|
2388
2320
|
Regions?: Array<string>;
|
|
2389
2321
|
}
|
|
2322
|
+
/**
|
|
2323
|
+
* DescribeApiKey返回参数结构体
|
|
2324
|
+
*/
|
|
2325
|
+
export interface DescribeApiKeyResponse {
|
|
2326
|
+
/**
|
|
2327
|
+
* API 密钥 ID。
|
|
2328
|
+
*/
|
|
2329
|
+
ApiKeyId?: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* 名称。
|
|
2332
|
+
*/
|
|
2333
|
+
Name?: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* API 密钥值(明文)。
|
|
2336
|
+
*/
|
|
2337
|
+
ApiKey?: string;
|
|
2338
|
+
/**
|
|
2339
|
+
* 备注。
|
|
2340
|
+
*/
|
|
2341
|
+
Remark?: string;
|
|
2342
|
+
/**
|
|
2343
|
+
* 平台类型。枚举:maas
|
|
2344
|
+
*/
|
|
2345
|
+
Platform?: string;
|
|
2346
|
+
/**
|
|
2347
|
+
* 主账号。
|
|
2348
|
+
*/
|
|
2349
|
+
Uin?: string;
|
|
2350
|
+
/**
|
|
2351
|
+
* 子账号。
|
|
2352
|
+
*/
|
|
2353
|
+
SubUin?: string;
|
|
2354
|
+
/**
|
|
2355
|
+
* 状态。取值:enable(启用)、disable(禁用)。
|
|
2356
|
+
*/
|
|
2357
|
+
Status?: string;
|
|
2358
|
+
/**
|
|
2359
|
+
* 绑定类型。取值:all(全部模型和接入点)、model_all_endpoint_custom(全部模型+自定义接入点)、model_custom_endpoint_all(自定义模型+全部接入点)、model_custom_endpoint_custom(自定义模型+自定义接入点)。
|
|
2360
|
+
*/
|
|
2361
|
+
BindType?: string;
|
|
2362
|
+
/**
|
|
2363
|
+
* 创建时间。格式:YYYY-MM-DD HH:mm:ss。
|
|
2364
|
+
*/
|
|
2365
|
+
CreateTime?: string;
|
|
2366
|
+
/**
|
|
2367
|
+
* 更新时间。格式:YYYY-MM-DD HH:mm:ss。
|
|
2368
|
+
*/
|
|
2369
|
+
UpdateTime?: string;
|
|
2370
|
+
/**
|
|
2371
|
+
* 应用 ID。
|
|
2372
|
+
*/
|
|
2373
|
+
AppId?: string;
|
|
2374
|
+
/**
|
|
2375
|
+
* 是否可编辑。true 表示可编辑,false 表示不可编辑。
|
|
2376
|
+
*/
|
|
2377
|
+
Editable?: boolean;
|
|
2378
|
+
/**
|
|
2379
|
+
* 绑定资源列表,区分 endpoint 和 model 类型。
|
|
2380
|
+
*/
|
|
2381
|
+
BindingItems?: Array<BindingItem>;
|
|
2382
|
+
/**
|
|
2383
|
+
* IP 白名单列表。支持 IPv4和 CIDR 格式。空数组表示不限制 IP。
|
|
2384
|
+
*/
|
|
2385
|
+
IpWhitelist?: Array<string>;
|
|
2386
|
+
/**
|
|
2387
|
+
* 当Platform为maas时该字段为空
|
|
2388
|
+
*/
|
|
2389
|
+
Creator?: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* Token 限额多维度信息。未配置限额时不返回该字段。
|
|
2392
|
+
*/
|
|
2393
|
+
QuotaSet?: Array<QuotaInfo>;
|
|
2394
|
+
/**
|
|
2395
|
+
* Token 限额状态。空字符串表示未配置任何限额包;active 表示已配置且当前可用;inactive 表示已配置但额度耗尽
|
|
2396
|
+
*/
|
|
2397
|
+
QuotaStatus?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2400
|
+
*/
|
|
2401
|
+
RequestId?: string;
|
|
2402
|
+
}
|
|
2390
2403
|
/**
|
|
2391
2404
|
* ModifyApiKeyStatus返回参数结构体
|
|
2392
2405
|
*/
|