tencentcloud-sdk-nodejs 4.0.233 → 4.0.234
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 +171 -113
- package/package.json +1 -1
- package/products.md +11 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +37 -12
- package/src/services/cdb/v20170320/cdb_models.ts +163 -68
- package/src/services/clb/v20180317/clb_client.ts +14 -1
- package/src/services/clb/v20180317/clb_models.ts +54 -19
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/ecm/v20190719/ecm_models.ts +6 -1
- package/src/services/ie/v20200304/ie_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/ocr/v20181119/ocr_models.ts +1 -1
- package/src/services/postgres/v20170312/postgres_models.ts +12 -9
- package/src/services/sms/v20210111/sms_client.ts +1 -1
- package/src/services/tcm/index.ts +5 -0
- package/src/services/tcm/v20210413/index.ts +6 -0
- package/src/services/tcm/v20210413/tcm_client.ts +88 -0
- package/src/services/tcm/v20210413/tcm_models.ts +891 -0
- package/src/services/trtc/v20190722/trtc_client.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +6 -6
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +11 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +15 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +141 -61
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +5 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +6 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +47 -16
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -1
- package/tencentcloud/services/ie/v20200304/ie_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +12 -9
- package/tencentcloud/services/sms/v20210111/sms_client.d.ts +1 -1
- package/tencentcloud/services/sms/v20210111/sms_client.js +1 -1
- package/tencentcloud/services/tcm/index.d.ts +6 -0
- package/tencentcloud/services/tcm/index.js +7 -0
- package/tencentcloud/services/tcm/v20210413/index.d.ts +6 -0
- package/tencentcloud/services/tcm/v20210413/index.js +9 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +18 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.js +43 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +746 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.js +18 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
- package/test/cdb.v20170320.test.js +22 -2
- package/test/clb.v20180317.test.js +10 -0
- package/test/tcm.v20210413.test.js +41 -0
|
@@ -899,11 +899,11 @@ export interface ModifyDBInstanceSpecRequest {
|
|
|
899
899
|
*/
|
|
900
900
|
SwitchTag?: number;
|
|
901
901
|
/**
|
|
902
|
-
*
|
|
902
|
+
* 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。
|
|
903
903
|
*/
|
|
904
904
|
SwitchStartTime?: string;
|
|
905
905
|
/**
|
|
906
|
-
*
|
|
906
|
+
* 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。
|
|
907
907
|
*/
|
|
908
908
|
SwitchEndTime?: string;
|
|
909
909
|
}
|
|
@@ -1605,7 +1605,10 @@ export interface ParamInfo {
|
|
|
1605
1605
|
*/
|
|
1606
1606
|
Name: string;
|
|
1607
1607
|
/**
|
|
1608
|
-
* 参数值类型:integer(整型)、real(浮点型)、bool(布尔型)、enum(枚举类型)、mutil_enum
|
|
1608
|
+
* 参数值类型:integer(整型)、real(浮点型)、bool(布尔型)、enum(枚举类型)、mutil_enum(枚举类型、支持多选)。
|
|
1609
|
+
当参数类型为integer(整型)、real(浮点型)时,参数的取值范围根据返回值的Max、Min确定;
|
|
1610
|
+
当参数类型为bool(布尔型)时,参数设置值取值范围是true | false;
|
|
1611
|
+
当参数类型为enum(枚举类型)、mutil_enum(多枚举类型)时,参数的取值范围由返回值中的EnumValue确定。
|
|
1609
1612
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1610
1613
|
*/
|
|
1611
1614
|
ParamValueType: string;
|
|
@@ -1802,7 +1805,7 @@ export interface DescribeSlowQueryAnalysisRequest {
|
|
|
1802
1805
|
*/
|
|
1803
1806
|
StartTime: string;
|
|
1804
1807
|
/**
|
|
1805
|
-
*
|
|
1808
|
+
* 查询结束时间戳,格式 “YYYY-MM-DD HH:mm:ss”。
|
|
1806
1809
|
*/
|
|
1807
1810
|
EndTime: string;
|
|
1808
1811
|
/**
|
|
@@ -1810,19 +1813,19 @@ export interface DescribeSlowQueryAnalysisRequest {
|
|
|
1810
1813
|
*/
|
|
1811
1814
|
DatabaseName?: string;
|
|
1812
1815
|
/**
|
|
1813
|
-
* 排序维度。 可选参数,取值范围[CallNum,CostTime,AvgCostTime]。
|
|
1816
|
+
* 排序维度。 可选参数,取值范围[CallNum,CostTime,AvgCostTime]。默认CallNum。
|
|
1814
1817
|
*/
|
|
1815
1818
|
OrderBy?: string;
|
|
1816
1819
|
/**
|
|
1817
|
-
* 排序类型。升序asc、降序desc。
|
|
1820
|
+
* 排序类型。升序asc、降序desc。默认desc。
|
|
1818
1821
|
*/
|
|
1819
1822
|
OrderByType?: string;
|
|
1820
1823
|
/**
|
|
1821
|
-
* 分页大小。取值范围[1,100]。
|
|
1824
|
+
* 分页大小。取值范围[1,100]。默认50。
|
|
1822
1825
|
*/
|
|
1823
1826
|
Limit?: number;
|
|
1824
1827
|
/**
|
|
1825
|
-
* 分页偏移。取值范围[0,INF)。
|
|
1828
|
+
* 分页偏移。取值范围[0,INF)。默认0。
|
|
1826
1829
|
*/
|
|
1827
1830
|
Offset?: number;
|
|
1828
1831
|
}
|
|
@@ -2590,7 +2593,7 @@ export interface DescribeSlowQueryListRequest {
|
|
|
2590
2593
|
*/
|
|
2591
2594
|
StartTime: string;
|
|
2592
2595
|
/**
|
|
2593
|
-
*
|
|
2596
|
+
* 查询结束时间戳,格式 “YYYY-MM-DD HH:mm:ss”。
|
|
2594
2597
|
*/
|
|
2595
2598
|
EndTime: string;
|
|
2596
2599
|
/**
|
|
@@ -32,7 +32,7 @@ export declare class Client extends AbstractClient {
|
|
|
32
32
|
*/
|
|
33
33
|
PullSmsSendStatus(req: PullSmsSendStatusRequest, cb?: (error: string, rep: PullSmsSendStatusResponse) => void): Promise<PullSmsSendStatusResponse>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* 短信发送接口,用于给用户发短信验证码、通知类短信或营销短信。
|
|
36
36
|
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
|
37
37
|
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
|
38
38
|
|
|
@@ -58,7 +58,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
58
58
|
return this.request("PullSmsSendStatus", req, cb);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 短信发送接口,用于给用户发短信验证码、通知类短信或营销短信。
|
|
62
62
|
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
|
63
63
|
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
|
64
64
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20210413 = void 0;
|
|
4
|
+
const Models = require("./tcm_models");
|
|
5
|
+
const tcm_client_1 = require("./tcm_client");
|
|
6
|
+
exports.v20210413 = {
|
|
7
|
+
Client: tcm_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { DescribeMeshResponse, DescribeMeshListRequest, DescribeMeshRequest, DescribeMeshListResponse } from "./tcm_models";
|
|
4
|
+
/**
|
|
5
|
+
* tcm client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 查询网格列表
|
|
12
|
+
*/
|
|
13
|
+
DescribeMeshList(req: DescribeMeshListRequest, cb?: (error: string, rep: DescribeMeshListResponse) => void): Promise<DescribeMeshListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 查询网格详情
|
|
16
|
+
*/
|
|
17
|
+
DescribeMesh(req: DescribeMeshRequest, cb?: (error: string, rep: DescribeMeshResponse) => void): Promise<DescribeMeshResponse>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
|
15
|
+
* software distributed under the License is distributed on an
|
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
* KIND, either express or implied. See the License for the
|
|
18
|
+
* specific language governing permissions and limitations
|
|
19
|
+
* under the License.
|
|
20
|
+
*/
|
|
21
|
+
const abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
+
/**
|
|
23
|
+
* tcm client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("tcm.tencentcloudapi.com", "2021-04-13", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 查询网格列表
|
|
32
|
+
*/
|
|
33
|
+
async DescribeMeshList(req, cb) {
|
|
34
|
+
return this.request("DescribeMeshList", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 查询网格详情
|
|
38
|
+
*/
|
|
39
|
+
async DescribeMesh(req, cb) {
|
|
40
|
+
return this.request("DescribeMesh", req, cb);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.Client = Client;
|