tencentcloud-sdk-nodejs 4.1.306 → 4.1.307
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/dbdc/v20201029/dbdc_client.js +28 -4
- package/es/services/tdmysql/v20211122/tdmysql_client.js +19 -4
- 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/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +85 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +21 -34
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +34 -9
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.d.ts +37 -5
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.js +54 -6
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +429 -96
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +8 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +26 -10
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +150 -38
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +395 -226
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.d.ts +25 -5
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.js +36 -6
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +127 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +45 -14
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +7 -6
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.307";
|
|
@@ -6,6 +6,9 @@ export class Client extends AbstractClient {
|
|
|
6
6
|
async DestroyDBCustomNode(req, cb) {
|
|
7
7
|
return this.request("DestroyDBCustomNode", req, cb);
|
|
8
8
|
}
|
|
9
|
+
async DescribeDBCustomDisasterRecoverGroups(req, cb) {
|
|
10
|
+
return this.request("DescribeDBCustomDisasterRecoverGroups", req, cb);
|
|
11
|
+
}
|
|
9
12
|
async ModifyDBCustomNodeAttributes(req, cb) {
|
|
10
13
|
return this.request("ModifyDBCustomNodeAttributes", req, cb);
|
|
11
14
|
}
|
|
@@ -60,29 +63,41 @@ export class Client extends AbstractClient {
|
|
|
60
63
|
async RenewDBCustomNode(req, cb) {
|
|
61
64
|
return this.request("RenewDBCustomNode", req, cb);
|
|
62
65
|
}
|
|
66
|
+
async ModifyDBCustomNodesDisasterRecoverGroup(req, cb) {
|
|
67
|
+
return this.request("ModifyDBCustomNodesDisasterRecoverGroup", req, cb);
|
|
68
|
+
}
|
|
63
69
|
async DescribeDBCustomClusterDetail(req, cb) {
|
|
64
70
|
return this.request("DescribeDBCustomClusterDetail", req, cb);
|
|
65
71
|
}
|
|
66
72
|
async IsolateDBCustomNode(req, cb) {
|
|
67
73
|
return this.request("IsolateDBCustomNode", req, cb);
|
|
68
74
|
}
|
|
75
|
+
async CreateDBCustomCluster(req, cb) {
|
|
76
|
+
return this.request("CreateDBCustomCluster", req, cb);
|
|
77
|
+
}
|
|
78
|
+
async DeleteDBCustomDisasterRecoverGroups(req, cb) {
|
|
79
|
+
return this.request("DeleteDBCustomDisasterRecoverGroups", req, cb);
|
|
80
|
+
}
|
|
69
81
|
async ModifyDBCustomClusterAttributes(req, cb) {
|
|
70
82
|
return this.request("ModifyDBCustomClusterAttributes", req, cb);
|
|
71
83
|
}
|
|
72
84
|
async DescribeInstanceList(req, cb) {
|
|
73
85
|
return this.request("DescribeInstanceList", req, cb);
|
|
74
86
|
}
|
|
75
|
-
async
|
|
76
|
-
return this.request("
|
|
87
|
+
async DeleteDBCustomNodesDisasterRecoverGroup(req, cb) {
|
|
88
|
+
return this.request("DeleteDBCustomNodesDisasterRecoverGroup", req, cb);
|
|
77
89
|
}
|
|
78
90
|
async RemoveNodesFromDBCustomCluster(req, cb) {
|
|
79
91
|
return this.request("RemoveNodesFromDBCustomCluster", req, cb);
|
|
80
92
|
}
|
|
93
|
+
async ModifyDBCustomDisasterRecoverGroupTags(req, cb) {
|
|
94
|
+
return this.request("ModifyDBCustomDisasterRecoverGroupTags", req, cb);
|
|
95
|
+
}
|
|
81
96
|
async DescribeDBCustomClusterNodeConfig(req, cb) {
|
|
82
97
|
return this.request("DescribeDBCustomClusterNodeConfig", req, cb);
|
|
83
98
|
}
|
|
84
|
-
async
|
|
85
|
-
return this.request("
|
|
99
|
+
async ModifyDBCustomDisasterRecoverGroupAttribute(req, cb) {
|
|
100
|
+
return this.request("ModifyDBCustomDisasterRecoverGroupAttribute", req, cb);
|
|
86
101
|
}
|
|
87
102
|
async DescribeDBCustomClusterKubeconfig(req, cb) {
|
|
88
103
|
return this.request("DescribeDBCustomClusterKubeconfig", req, cb);
|
|
@@ -96,15 +111,24 @@ export class Client extends AbstractClient {
|
|
|
96
111
|
async DescribeDBCustomClusterNodeResources(req, cb) {
|
|
97
112
|
return this.request("DescribeDBCustomClusterNodeResources", req, cb);
|
|
98
113
|
}
|
|
114
|
+
async CreateDBCustomDisasterRecoverGroup(req, cb) {
|
|
115
|
+
return this.request("CreateDBCustomDisasterRecoverGroup", req, cb);
|
|
116
|
+
}
|
|
99
117
|
async ModifyDBCustomClusterNodeConfig(req, cb) {
|
|
100
118
|
return this.request("ModifyDBCustomClusterNodeConfig", req, cb);
|
|
101
119
|
}
|
|
120
|
+
async DescribeDBCustomDisasterRecoverGroupQuota(req, cb) {
|
|
121
|
+
return this.request("DescribeDBCustomDisasterRecoverGroupQuota", req, cb);
|
|
122
|
+
}
|
|
102
123
|
async DescribeDBCustomTaskStatus(req, cb) {
|
|
103
124
|
return this.request("DescribeDBCustomTaskStatus", req, cb);
|
|
104
125
|
}
|
|
105
126
|
async CheckRoleAuthorized(req, cb) {
|
|
106
127
|
return this.request("CheckRoleAuthorized", req, cb);
|
|
107
128
|
}
|
|
129
|
+
async ModifyDBCustomNodeTags(req, cb) {
|
|
130
|
+
return this.request("ModifyDBCustomNodeTags", req, cb);
|
|
131
|
+
}
|
|
108
132
|
async DescribeDBCustomClusters(req, cb) {
|
|
109
133
|
return this.request("DescribeDBCustomClusters", req, cb);
|
|
110
134
|
}
|
|
@@ -18,8 +18,8 @@ export class Client extends AbstractClient {
|
|
|
18
18
|
async ModifyInstanceNetwork(req, cb) {
|
|
19
19
|
return this.request("ModifyInstanceNetwork", req, cb);
|
|
20
20
|
}
|
|
21
|
-
async
|
|
22
|
-
return this.request("
|
|
21
|
+
async DescribeDBCharsets(req, cb) {
|
|
22
|
+
return this.request("DescribeDBCharsets", req, cb);
|
|
23
23
|
}
|
|
24
24
|
async BreakStandbyDBInstanceRelation(req, cb) {
|
|
25
25
|
return this.request("BreakStandbyDBInstanceRelation", req, cb);
|
|
@@ -54,6 +54,18 @@ export class Client extends AbstractClient {
|
|
|
54
54
|
async DescribeDBParameters(req, cb) {
|
|
55
55
|
return this.request("DescribeDBParameters", req, cb);
|
|
56
56
|
}
|
|
57
|
+
async ModifyDBSBackupSetComment(req, cb) {
|
|
58
|
+
return this.request("ModifyDBSBackupSetComment", req, cb);
|
|
59
|
+
}
|
|
60
|
+
async DescribeInstanceDataReservedSpace(req, cb) {
|
|
61
|
+
return this.request("DescribeInstanceDataReservedSpace", req, cb);
|
|
62
|
+
}
|
|
63
|
+
async ModifyInstanceDataReservedSpace(req, cb) {
|
|
64
|
+
return this.request("ModifyInstanceDataReservedSpace", req, cb);
|
|
65
|
+
}
|
|
66
|
+
async ResetDbaAdminPrivileges(req, cb) {
|
|
67
|
+
return this.request("ResetDbaAdminPrivileges", req, cb);
|
|
68
|
+
}
|
|
57
69
|
async CreateDBInstances(req, cb) {
|
|
58
70
|
return this.request("CreateDBInstances", req, cb);
|
|
59
71
|
}
|
|
@@ -87,6 +99,9 @@ export class Client extends AbstractClient {
|
|
|
87
99
|
async DescribeSlowLogs(req, cb) {
|
|
88
100
|
return this.request("DescribeSlowLogs", req, cb);
|
|
89
101
|
}
|
|
102
|
+
async ModifyMaintenanceWindow(req, cb) {
|
|
103
|
+
return this.request("ModifyMaintenanceWindow", req, cb);
|
|
104
|
+
}
|
|
90
105
|
async CancelIsolateDBInstances(req, cb) {
|
|
91
106
|
return this.request("CancelIsolateDBInstances", req, cb);
|
|
92
107
|
}
|
|
@@ -141,8 +156,8 @@ export class Client extends AbstractClient {
|
|
|
141
156
|
async DescribeMaintenanceWindow(req, cb) {
|
|
142
157
|
return this.request("DescribeMaintenanceWindow", req, cb);
|
|
143
158
|
}
|
|
144
|
-
async
|
|
145
|
-
return this.request("
|
|
159
|
+
async DescribeFlowTypes(req, cb) {
|
|
160
|
+
return this.request("DescribeFlowTypes", req, cb);
|
|
146
161
|
}
|
|
147
162
|
async DescribeDBInstanceDetail(req, cb) {
|
|
148
163
|
return this.request("DescribeDBInstanceDetail", req, cb);
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.307";
|
|
@@ -117,7 +117,7 @@ export declare class Client extends AbstractClient {
|
|
|
117
117
|
DescribeTaskStatus(req: DescribeTaskStatusRequest, cb?: (error: string, rep: DescribeTaskStatusResponse) => void): Promise<DescribeTaskStatusResponse>;
|
|
118
118
|
/**
|
|
119
119
|
* 说话人注册接口用于注册一个指定音频,生成一个唯一的说话人id,后续可通过说话人验证接口验证其它音频和已有的说话人ID匹配度,注册时可指定说话人昵称,方便标识说话人ID, 说话人昵称可重复配置。
|
|
120
|
-
(注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳
|
|
120
|
+
(注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳20个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
|
|
121
121
|
|
|
122
122
|
使用须知
|
|
123
123
|
支持的输入格式:编码文件(PCM, WAV)、16 bit采样位数、单声道(mono)。
|
|
@@ -177,7 +177,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
177
177
|
}
|
|
178
178
|
/**
|
|
179
179
|
* 说话人注册接口用于注册一个指定音频,生成一个唯一的说话人id,后续可通过说话人验证接口验证其它音频和已有的说话人ID匹配度,注册时可指定说话人昵称,方便标识说话人ID, 说话人昵称可重复配置。
|
|
180
|
-
(注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳
|
|
180
|
+
(注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳20个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
|
|
181
181
|
|
|
182
182
|
使用须知
|
|
183
183
|
支持的输入格式:编码文件(PCM, WAV)、16 bit采样位数、单声道(mono)。
|
|
@@ -218,7 +218,7 @@ export interface RemoveModelRewriteRequest {
|
|
|
218
218
|
*/
|
|
219
219
|
export interface ModelAlias {
|
|
220
220
|
/**
|
|
221
|
-
* <p>模型积分系数配置,包含 <code>InputCoefficient</code
|
|
221
|
+
* <p>模型积分系数配置,包含 <code>InputCoefficient</code> 和 <code>OutputCoefficient</code>。</p><p>未配置时输入系数和输出系数均返回 1。</p>
|
|
222
222
|
*/
|
|
223
223
|
Coefficient?: Coefficient;
|
|
224
224
|
/**
|
|
@@ -237,6 +237,10 @@ export interface ModelAlias {
|
|
|
237
237
|
* <p>状态</p><p>枚举值:</p><ul><li>Active: 正常可用</li><li>Configuring: 变配中</li><li>ConfigureFailed: 变配失败</li></ul>
|
|
238
238
|
*/
|
|
239
239
|
Status?: string;
|
|
240
|
+
/**
|
|
241
|
+
* <p>模型能力</p>
|
|
242
|
+
*/
|
|
243
|
+
Capability?: string;
|
|
240
244
|
}
|
|
241
245
|
/**
|
|
242
246
|
* CreateBudget请求参数结构体
|
|
@@ -636,6 +640,10 @@ export interface DescribeModelAssociationsRequest {
|
|
|
636
640
|
* <p>翻页偏移量</p><p>默认值:0</p>
|
|
637
641
|
*/
|
|
638
642
|
Offset?: number;
|
|
643
|
+
/**
|
|
644
|
+
* <p>模型输出模态</p>
|
|
645
|
+
*/
|
|
646
|
+
Capability?: string;
|
|
639
647
|
}
|
|
640
648
|
/**
|
|
641
649
|
* 规格可用性
|
|
@@ -1382,6 +1390,14 @@ export interface ModifyModelRouterAttributesRequest {
|
|
|
1382
1390
|
* <p>带宽</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
1383
1391
|
*/
|
|
1384
1392
|
Bandwidth?: number;
|
|
1393
|
+
/**
|
|
1394
|
+
* <p>模型输出模态</p>
|
|
1395
|
+
*/
|
|
1396
|
+
Capability?: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* <p>embedding 模态配置</p>
|
|
1399
|
+
*/
|
|
1400
|
+
EmbeddingConfig?: EmbeddingConfig;
|
|
1385
1401
|
}
|
|
1386
1402
|
/**
|
|
1387
1403
|
* 模型路由日志
|
|
@@ -1796,6 +1812,10 @@ export interface ModelRouterDetail {
|
|
|
1796
1812
|
* <p>计费信息</p>
|
|
1797
1813
|
*/
|
|
1798
1814
|
BillingConfig?: ModelRouterBillingConfigOutput;
|
|
1815
|
+
/**
|
|
1816
|
+
* <p>Embedding配置</p>
|
|
1817
|
+
*/
|
|
1818
|
+
EmbeddingConfig?: EmbeddingConfig;
|
|
1799
1819
|
}
|
|
1800
1820
|
/**
|
|
1801
1821
|
* DescribeLoadBalancerListByCertId请求参数结构体
|
|
@@ -2615,6 +2635,14 @@ export interface ModifyModelAttributesRequest {
|
|
|
2615
2635
|
* <p>多协议 Api Base URL</p>
|
|
2616
2636
|
*/
|
|
2617
2637
|
ApiBases?: Array<ApiBaseItem>;
|
|
2638
|
+
/**
|
|
2639
|
+
* <p>非chat输出模态的Api Base URL</p>
|
|
2640
|
+
*/
|
|
2641
|
+
ApiBase?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* <p>非chat输出模态的请求后缀</p>
|
|
2644
|
+
*/
|
|
2645
|
+
EndpointPath?: string;
|
|
2618
2646
|
}
|
|
2619
2647
|
/**
|
|
2620
2648
|
* ModifyUserGroupAttributes请求参数结构体
|
|
@@ -3481,6 +3509,10 @@ export interface TestServiceProviderConnectionRequest {
|
|
|
3481
3509
|
* <p> CMR 私网管道ID </p>
|
|
3482
3510
|
*/
|
|
3483
3511
|
CMRPrivateNetworkTunnelId?: string;
|
|
3512
|
+
/**
|
|
3513
|
+
* <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
|
|
3514
|
+
*/
|
|
3515
|
+
Capability?: string;
|
|
3484
3516
|
}
|
|
3485
3517
|
/**
|
|
3486
3518
|
* DescribeModelAssociations返回参数结构体
|
|
@@ -4038,6 +4070,26 @@ export interface ModifyTargetGroupInstancesPortRequest {
|
|
|
4038
4070
|
*/
|
|
4039
4071
|
TargetGroupInstances: Array<TargetGroupInstance>;
|
|
4040
4072
|
}
|
|
4073
|
+
/**
|
|
4074
|
+
* embedding配置。
|
|
4075
|
+
*/
|
|
4076
|
+
export interface EmbeddingConfig {
|
|
4077
|
+
/**
|
|
4078
|
+
* <p>模型内路由策略</p>
|
|
4079
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4080
|
+
*/
|
|
4081
|
+
RoutingStrategy?: string;
|
|
4082
|
+
/**
|
|
4083
|
+
* <p>路由参数</p>
|
|
4084
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4085
|
+
*/
|
|
4086
|
+
RoutingStrategyArgs?: RoutingStrategyArgs;
|
|
4087
|
+
/**
|
|
4088
|
+
* <p>同一模型请求重试次数</p>
|
|
4089
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4090
|
+
*/
|
|
4091
|
+
NumRetries?: number;
|
|
4092
|
+
}
|
|
4041
4093
|
/**
|
|
4042
4094
|
* CreateClsLogSet请求参数结构体
|
|
4043
4095
|
*/
|
|
@@ -4240,6 +4292,14 @@ export interface CreateModelRequest {
|
|
|
4240
4292
|
* <p>健康检查配置</p>
|
|
4241
4293
|
*/
|
|
4242
4294
|
HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemInput>;
|
|
4295
|
+
/**
|
|
4296
|
+
* <p>模型输出模态</p>
|
|
4297
|
+
*/
|
|
4298
|
+
Capability?: string;
|
|
4299
|
+
/**
|
|
4300
|
+
* <p>请求后缀</p>
|
|
4301
|
+
*/
|
|
4302
|
+
EndpointPath?: string;
|
|
4243
4303
|
}
|
|
4244
4304
|
/**
|
|
4245
4305
|
* 集群的详细信息,如集群ID,名称,类型,可用区,标签等
|
|
@@ -6537,17 +6597,21 @@ export interface DescribeAsyncJobsRequest {
|
|
|
6537
6597
|
*/
|
|
6538
6598
|
export interface ModifyModelAliasAttributesRequest {
|
|
6539
6599
|
/**
|
|
6540
|
-
* <p>模型积分系数配置。</p><p
|
|
6600
|
+
* <p>模型积分系数配置。</p><p>必填,包含 <code>InputCoefficient</code> 和 <code>OutputCoefficient</code>。</p><p><code>InputCoefficient</code> 为输入积分系数。</p><p><code>OutputCoefficient</code> 为输出积分系数。</p><p>取值范围:[1, 200],最多支持 1 位小数。</p>
|
|
6541
6601
|
*/
|
|
6542
6602
|
Coefficient: Coefficient;
|
|
6543
6603
|
/**
|
|
6544
|
-
* <p
|
|
6604
|
+
* <p>模型别名</p>
|
|
6545
6605
|
*/
|
|
6546
6606
|
ModelAliasNames: Array<string>;
|
|
6547
6607
|
/**
|
|
6548
6608
|
* <p>BYOK 实例(ServiceProvider)ID 列表。</p><p>可选,数组。传入时按 ServiceProvider 维度修改:把同一份 Coefficient 批量应用到数组内每一个实例(覆盖配置,仅作用于这些实例),此时 <code>ModelAliasNames</code> 只能传 1 个别名(即 1 别名 × N ServiceProvider);数组需去重、非空、上限 100,任一实例不归属/不存在/该实例下无该别名将整批返回错误。不传时按 ModelAlias(账号)维度修改,作用于该别名下未单独配置覆盖的全部实例。</p>
|
|
6549
6609
|
*/
|
|
6550
6610
|
ServiceProviderIds?: Array<string>;
|
|
6611
|
+
/**
|
|
6612
|
+
* <p>模型能力</p>
|
|
6613
|
+
*/
|
|
6614
|
+
Capability?: string;
|
|
6551
6615
|
}
|
|
6552
6616
|
/**
|
|
6553
6617
|
* SCF云函数(Serverless Cloud Function)作为后端服务
|
|
@@ -9231,6 +9295,16 @@ export interface ModelKeyInfoItem {
|
|
|
9231
9295
|
* <p>健康检查配置</p>
|
|
9232
9296
|
*/
|
|
9233
9297
|
HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemOutput>;
|
|
9298
|
+
/**
|
|
9299
|
+
* <p>模型输出模态</p>
|
|
9300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9301
|
+
*/
|
|
9302
|
+
Capability?: string;
|
|
9303
|
+
/**
|
|
9304
|
+
* <p>请求后缀</p>
|
|
9305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9306
|
+
*/
|
|
9307
|
+
EndpointPath?: string;
|
|
9234
9308
|
}
|
|
9235
9309
|
/**
|
|
9236
9310
|
* ModifyModelRouterGuardrails返回参数结构体
|
|
@@ -10140,6 +10214,10 @@ export interface ModelAssociation {
|
|
|
10140
10214
|
* <p>模型类型</p>
|
|
10141
10215
|
*/
|
|
10142
10216
|
Type?: string;
|
|
10217
|
+
/**
|
|
10218
|
+
* <p>输出模态</p>
|
|
10219
|
+
*/
|
|
10220
|
+
Capability?: string;
|
|
10143
10221
|
}
|
|
10144
10222
|
/**
|
|
10145
10223
|
* 描述配额信息,所有配额均指当前地域下的配额。
|
|
@@ -10391,6 +10469,10 @@ export interface CreateModelRouterRequest {
|
|
|
10391
10469
|
* <p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
10392
10470
|
*/
|
|
10393
10471
|
Bandwidth?: number;
|
|
10472
|
+
/**
|
|
10473
|
+
* <p>Embedding 配置</p>
|
|
10474
|
+
*/
|
|
10475
|
+
EmbeddingConfig?: EmbeddingConfig;
|
|
10394
10476
|
}
|
|
10395
10477
|
/**
|
|
10396
10478
|
* DescribeClassicalLBListeners请求参数结构体
|
|
@@ -2508,45 +2508,36 @@ export interface ValueInfo {
|
|
|
2508
2508
|
*/
|
|
2509
2509
|
export interface GetAlarmLogRequest {
|
|
2510
2510
|
/**
|
|
2511
|
-
*
|
|
2511
|
+
* <p>要查询的执行详情的起始时间,Unix时间戳,单位ms。</p>
|
|
2512
2512
|
*/
|
|
2513
2513
|
From: number;
|
|
2514
2514
|
/**
|
|
2515
|
-
*
|
|
2515
|
+
* <p>要查询的执行详情的结束时间,Unix时间戳,单位ms。</p>
|
|
2516
2516
|
*/
|
|
2517
2517
|
To: number;
|
|
2518
2518
|
/**
|
|
2519
|
-
*
|
|
2520
|
-
|
|
2521
|
-
- 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取告警策略ID
|
|
2522
|
-
- 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" `
|
|
2523
|
-
- 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取监控对象ID
|
|
2524
|
-
- 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"`
|
|
2525
|
-
- 按告警策略ID及监控对象ID查询支持SQL语句:`(alert_id:"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1`
|
|
2519
|
+
* <p>查询过滤条件,例如:</p><ul><li>按告警策略ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID</li></ul></li><li>按监控对象ID查询:<code>monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID</li></ul></li><li>按告警策略ID及监控对象ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code></li><li>按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:"alarm-5ce45495-0918-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></li></ul><p>该查询语句走Lucene语法(已废弃)</p>
|
|
2520
|
+
* @deprecated
|
|
2526
2521
|
*/
|
|
2527
|
-
Query
|
|
2522
|
+
Query?: string;
|
|
2523
|
+
/**
|
|
2524
|
+
* <p>查询过滤条件,例如:- 按告警策略ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID- 按监控对象ID查询:<code>monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID- 按告警策略ID及监控对象ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code>- 按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:"alarm-5ce45495-0918-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></p><p>该查询语句走CQL语法</p>
|
|
2525
|
+
*/
|
|
2526
|
+
QueryString?: string;
|
|
2528
2527
|
/**
|
|
2529
|
-
*
|
|
2528
|
+
* <p>单次查询返回的执行详情条数,最大值为1000</p>
|
|
2530
2529
|
*/
|
|
2531
2530
|
Limit?: number;
|
|
2532
2531
|
/**
|
|
2533
|
-
*
|
|
2534
|
-
注意:
|
|
2535
|
-
* 透传该参数时,请勿修改除该参数外的其它参数
|
|
2536
|
-
* 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
2532
|
+
* <p>透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。<br>注意:</p><ul><li>透传该参数时,请勿修改除该参数外的其它参数</li><li>仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a></li></ul>
|
|
2537
2533
|
*/
|
|
2538
2534
|
Context?: string;
|
|
2539
2535
|
/**
|
|
2540
|
-
*
|
|
2541
|
-
注意:
|
|
2542
|
-
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
2543
|
-
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
2536
|
+
* <p>原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc<br>注意:</p><ul><li>仅当检索分析语句(Query)不包含SQL时有效</li><li>SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a></li></ul>
|
|
2544
2537
|
*/
|
|
2545
2538
|
Sort?: string;
|
|
2546
2539
|
/**
|
|
2547
|
-
* true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns
|
|
2548
|
-
false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;
|
|
2549
|
-
两种返回方式在编码格式上有少量区别,建议使用true。
|
|
2540
|
+
* <p>true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效;<br>false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;<br>两种返回方式在编码格式上有少量区别,建议使用true。</p>
|
|
2550
2541
|
*/
|
|
2551
2542
|
UseNewAnalysis?: boolean;
|
|
2552
2543
|
}
|
|
@@ -12802,43 +12793,39 @@ export interface Relabeling {
|
|
|
12802
12793
|
*/
|
|
12803
12794
|
export interface GetAlarmLogResponse {
|
|
12804
12795
|
/**
|
|
12805
|
-
*
|
|
12796
|
+
* <p>加载后续详情的Context</p>
|
|
12806
12797
|
*/
|
|
12807
12798
|
Context?: string;
|
|
12808
12799
|
/**
|
|
12809
|
-
*
|
|
12800
|
+
* <p>指定时间范围内的告警执行详情是否完整返回</p>
|
|
12810
12801
|
*/
|
|
12811
12802
|
ListOver?: boolean;
|
|
12812
12803
|
/**
|
|
12813
|
-
*
|
|
12804
|
+
* <p>返回的结果是否为SQL分析结果</p>
|
|
12814
12805
|
*/
|
|
12815
12806
|
Analysis?: boolean;
|
|
12816
12807
|
/**
|
|
12817
|
-
*
|
|
12818
|
-
否则为空。
|
|
12808
|
+
* <p>分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;<br>否则为空。</p>
|
|
12819
12809
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12820
12810
|
*/
|
|
12821
12811
|
ColNames?: Array<string>;
|
|
12822
12812
|
/**
|
|
12823
|
-
*
|
|
12824
|
-
当Query字段无SQL语句时,返回查询结果。
|
|
12825
|
-
当Query字段有SQL语句时,可能返回null。
|
|
12813
|
+
* <p>执行详情查询结果。<br>当Query字段无SQL语句时,返回查询结果。<br>当Query字段有SQL语句时,可能返回null。</p>
|
|
12826
12814
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12827
12815
|
*/
|
|
12828
12816
|
Results?: Array<LogInfo>;
|
|
12829
12817
|
/**
|
|
12830
|
-
*
|
|
12831
|
-
|
|
12818
|
+
* <p>执行详情统计分析结果。当Query字段有SQL语句时,返回SQL统计结果,否则可能返回null。</p>
|
|
12832
12819
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12833
12820
|
*/
|
|
12834
12821
|
AnalysisResults?: Array<LogItems>;
|
|
12835
12822
|
/**
|
|
12836
|
-
*
|
|
12823
|
+
* <p>执行详情统计分析结果;UseNewAnalysis为true有效。</p>
|
|
12837
12824
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12838
12825
|
*/
|
|
12839
12826
|
AnalysisRecords?: Array<string>;
|
|
12840
12827
|
/**
|
|
12841
|
-
*
|
|
12828
|
+
* <p>分析结果的列名, UseNewAnalysis为true有效</p>
|
|
12842
12829
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12843
12830
|
*/
|
|
12844
12831
|
Columns?: Array<Column>;
|
|
@@ -4266,7 +4266,7 @@ export interface CreateLaunchTemplateResponse {
|
|
|
4266
4266
|
RequestId?: string;
|
|
4267
4267
|
}
|
|
4268
4268
|
/**
|
|
4269
|
-
* 创建实例时的网卡配置信息,包含主网卡和辅助网卡的VPC、子网、IP
|
|
4269
|
+
* 创建实例时的网卡配置信息,包含主网卡和辅助网卡的VPC、子网、IP分配等网络参数。请注意此参数与VirtualPrivateCloud互斥,即使用NetworkInterfaces后请勿再填充VirtualPrivateCloud结构体。
|
|
4270
4270
|
|
|
4271
4271
|
此功能仅部分地区灰度开放,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)
|
|
4272
4272
|
*/
|
|
@@ -762,7 +762,7 @@ export declare class Client extends AbstractClient {
|
|
|
762
762
|
/**
|
|
763
763
|
* 本接口(TransferStoragePrepayToPostpay)用于将预付费存储转为后付费存储
|
|
764
764
|
*/
|
|
765
|
-
TransferStoragePrepayToPostpay(req
|
|
765
|
+
TransferStoragePrepayToPostpay(req: TransferStoragePrepayToPostpayRequest, cb?: (error: string, rep: TransferStoragePrepayToPostpayResponse) => void): Promise<TransferStoragePrepayToPostpayResponse>;
|
|
766
766
|
/**
|
|
767
767
|
* 本接口(ModifyAccountDescription)用于修改数据库账号描述信息。
|
|
768
768
|
*/
|
|
@@ -662,19 +662,19 @@ export interface DescribeProxiesResponse {
|
|
|
662
662
|
*/
|
|
663
663
|
export interface DescribeClusterDetailDatabasesRequest {
|
|
664
664
|
/**
|
|
665
|
-
*
|
|
665
|
+
* <p>集群ID</p>
|
|
666
666
|
*/
|
|
667
667
|
ClusterId: string;
|
|
668
668
|
/**
|
|
669
|
-
*
|
|
669
|
+
* <p>偏移量,默认0</p>
|
|
670
670
|
*/
|
|
671
671
|
Offset?: number;
|
|
672
672
|
/**
|
|
673
|
-
*
|
|
673
|
+
* <p>返回数量,默认20,最大100</p>
|
|
674
674
|
*/
|
|
675
675
|
Limit?: number;
|
|
676
676
|
/**
|
|
677
|
-
*
|
|
677
|
+
* <p>数据库名称,通过该字段进行子串匹配</p>
|
|
678
678
|
*/
|
|
679
679
|
DbName?: string;
|
|
680
680
|
}
|
|
@@ -2540,7 +2540,7 @@ export interface DescribeInstanceSpecsRequest {
|
|
|
2540
2540
|
*/
|
|
2541
2541
|
DeviceType?: string;
|
|
2542
2542
|
/**
|
|
2543
|
-
* <p
|
|
2543
|
+
* <p>集群级别。例如 P0, P1。若未指定可用区,针对于不支持亲和性的可用区将降级查询非亲和性资源。</p>
|
|
2544
2544
|
*/
|
|
2545
2545
|
ClusterLevel?: string;
|
|
2546
2546
|
}
|
|
@@ -5263,11 +5263,11 @@ export interface ModifyBackupDownloadRestrictionRequest {
|
|
|
5263
5263
|
*/
|
|
5264
5264
|
export interface DescribeClusterDetailDatabasesResponse {
|
|
5265
5265
|
/**
|
|
5266
|
-
*
|
|
5266
|
+
* <p>数据库信息</p>
|
|
5267
5267
|
*/
|
|
5268
5268
|
DbInfos?: Array<DbInfo>;
|
|
5269
5269
|
/**
|
|
5270
|
-
*
|
|
5270
|
+
* <p>总数</p>
|
|
5271
5271
|
*/
|
|
5272
5272
|
TotalCount?: number;
|
|
5273
5273
|
/**
|
|
@@ -7532,7 +7532,7 @@ export interface AddInstancesRequest {
|
|
|
7532
7532
|
*/
|
|
7533
7533
|
DeviceType?: string;
|
|
7534
7534
|
/**
|
|
7535
|
-
* <p
|
|
7535
|
+
* <p>当前字段已废弃。当前版本不再传输该值。</p>
|
|
7536
7536
|
* @deprecated
|
|
7537
7537
|
*/
|
|
7538
7538
|
InstanceGrpId?: string;
|
|
@@ -14221,7 +14221,12 @@ export interface SwitchClusterLogBin {
|
|
|
14221
14221
|
/**
|
|
14222
14222
|
* TransferStoragePrepayToPostpay请求参数结构体
|
|
14223
14223
|
*/
|
|
14224
|
-
export
|
|
14224
|
+
export interface TransferStoragePrepayToPostpayRequest {
|
|
14225
|
+
/**
|
|
14226
|
+
* <p>集群id</p>
|
|
14227
|
+
*/
|
|
14228
|
+
ClusterId: string;
|
|
14229
|
+
}
|
|
14225
14230
|
/**
|
|
14226
14231
|
* ModifyVault请求参数结构体
|
|
14227
14232
|
*/
|
|
@@ -14792,6 +14797,26 @@ export interface ParamInfo {
|
|
|
14792
14797
|
* TransferStoragePrepayToPostpay返回参数结构体
|
|
14793
14798
|
*/
|
|
14794
14799
|
export interface TransferStoragePrepayToPostpayResponse {
|
|
14800
|
+
/**
|
|
14801
|
+
* <p>预付费总订单号</p>
|
|
14802
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14803
|
+
*/
|
|
14804
|
+
BigDealIds?: Array<string>;
|
|
14805
|
+
/**
|
|
14806
|
+
* <p>订单号</p>
|
|
14807
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14808
|
+
*/
|
|
14809
|
+
DealNames?: Array<string>;
|
|
14810
|
+
/**
|
|
14811
|
+
* <p>资源id</p>
|
|
14812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14813
|
+
*/
|
|
14814
|
+
ResourceIds?: Array<string>;
|
|
14815
|
+
/**
|
|
14816
|
+
* <p>集群id</p>
|
|
14817
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14818
|
+
*/
|
|
14819
|
+
ClusterIds?: Array<string>;
|
|
14795
14820
|
/**
|
|
14796
14821
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14797
14822
|
*/
|