tencentcloud-sdk-nodejs-cdb 4.1.65 → 4.1.67
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/package.json
CHANGED
|
@@ -366,7 +366,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
366
366
|
*/
|
|
367
367
|
AnalyzeAuditLogs(req: AnalyzeAuditLogsRequest, cb?: (error: string, rep: AnalyzeAuditLogsResponse) => void): Promise<AnalyzeAuditLogsResponse>;
|
|
368
368
|
/**
|
|
369
|
-
*
|
|
369
|
+
* 本接口(CreateAccounts)用于创建云数据库的账户,需要指定新的账户名和域名,以及所对应的密码,同时可以设置账号的备注信息以及最大可用连接数。
|
|
370
370
|
*/
|
|
371
371
|
CreateAccounts(req: CreateAccountsRequest, cb?: (error: string, rep: CreateAccountsResponse) => void): Promise<CreateAccountsResponse>;
|
|
372
372
|
/**
|
|
@@ -479,7 +479,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
479
479
|
*/
|
|
480
480
|
ModifyNameOrDescByDpId(req: ModifyNameOrDescByDpIdRequest, cb?: (error: string, rep: ModifyNameOrDescByDpIdResponse) => void): Promise<ModifyNameOrDescByDpIdResponse>;
|
|
481
481
|
/**
|
|
482
|
-
*
|
|
482
|
+
* 本接口(ModifyAccountMaxUserConnections)用于修改云数据库账户最大可用连接数。
|
|
483
483
|
*/
|
|
484
484
|
ModifyAccountMaxUserConnections(req: ModifyAccountMaxUserConnectionsRequest, cb?: (error: string, rep: ModifyAccountMaxUserConnectionsResponse) => void): Promise<ModifyAccountMaxUserConnectionsResponse>;
|
|
485
485
|
/**
|
|
@@ -548,7 +548,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
548
548
|
return this.request("AnalyzeAuditLogs", req, cb);
|
|
549
549
|
}
|
|
550
550
|
/**
|
|
551
|
-
*
|
|
551
|
+
* 本接口(CreateAccounts)用于创建云数据库的账户,需要指定新的账户名和域名,以及所对应的密码,同时可以设置账号的备注信息以及最大可用连接数。
|
|
552
552
|
*/
|
|
553
553
|
async CreateAccounts(req, cb) {
|
|
554
554
|
return this.request("CreateAccounts", req, cb);
|
|
@@ -717,7 +717,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
717
717
|
return this.request("ModifyNameOrDescByDpId", req, cb);
|
|
718
718
|
}
|
|
719
719
|
/**
|
|
720
|
-
*
|
|
720
|
+
* 本接口(ModifyAccountMaxUserConnections)用于修改云数据库账户最大可用连接数。
|
|
721
721
|
*/
|
|
722
722
|
async ModifyAccountMaxUserConnections(req, cb) {
|
|
723
723
|
return this.request("ModifyAccountMaxUserConnections", req, cb);
|
|
@@ -2246,7 +2246,7 @@ export interface DescribeRollbackRangeTimeResponse {
|
|
|
2246
2246
|
*/
|
|
2247
2247
|
export interface ModifyRoGroupInfoRequest {
|
|
2248
2248
|
/**
|
|
2249
|
-
* RO 组的 ID
|
|
2249
|
+
* RO 组的 ID。可通过 [DescribeRoGroups](https://cloud.tencent.com/document/api/236/40939) 接口获取。
|
|
2250
2250
|
*/
|
|
2251
2251
|
RoGroupId: string;
|
|
2252
2252
|
/**
|
|
@@ -2254,7 +2254,7 @@ export interface ModifyRoGroupInfoRequest {
|
|
|
2254
2254
|
*/
|
|
2255
2255
|
RoGroupInfo?: RoGroupAttr;
|
|
2256
2256
|
/**
|
|
2257
|
-
* RO 组内实例的权重。若修改 RO 组的权重模式为用户自定义模式(custom),则必须设置该参数,且需要设置每个 RO 实例的权重值。
|
|
2257
|
+
* RO 组内实例的权重。若修改 RO 组的权重模式为用户自定义模式(custom),则必须设置该参数,且需要设置每个 RO 实例的权重值。RO 实例 ID 可通过 [DescribeRoGroups](https://cloud.tencent.com/document/api/236/40939) 接口获取。
|
|
2258
2258
|
*/
|
|
2259
2259
|
RoWeightValues?: Array<RoWeightValue>;
|
|
2260
2260
|
/**
|
|
@@ -4042,7 +4042,7 @@ export interface LogToCLSConfig {
|
|
|
4042
4042
|
*/
|
|
4043
4043
|
export interface ResetRootAccountRequest {
|
|
4044
4044
|
/**
|
|
4045
|
-
* 实例
|
|
4045
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
4046
4046
|
*/
|
|
4047
4047
|
InstanceId: string;
|
|
4048
4048
|
}
|
|
@@ -5846,10 +5846,14 @@ export interface CreateAccountsRequest {
|
|
|
5846
5846
|
Accounts: Array<Account>;
|
|
5847
5847
|
/**
|
|
5848
5848
|
* 新账户的密码。
|
|
5849
|
+
说明:
|
|
5850
|
+
1. 在8 ~ 64位字符数以内(推荐12位以上)。
|
|
5851
|
+
2. 至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。
|
|
5852
|
+
3. 不能包含非法字符。
|
|
5849
5853
|
*/
|
|
5850
5854
|
Password: string;
|
|
5851
5855
|
/**
|
|
5852
|
-
*
|
|
5856
|
+
* 备注信息。最多支持输入255个字符。
|
|
5853
5857
|
*/
|
|
5854
5858
|
Description?: string;
|
|
5855
5859
|
/**
|
|
@@ -7291,7 +7295,7 @@ export interface ModifyAccountPrivilegesRequest {
|
|
|
7291
7295
|
*/
|
|
7292
7296
|
InstanceId: string;
|
|
7293
7297
|
/**
|
|
7294
|
-
*
|
|
7298
|
+
* 数据库的账号,包括用户名和域名。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
|
7295
7299
|
*/
|
|
7296
7300
|
Accounts: Array<Account>;
|
|
7297
7301
|
/**
|
|
@@ -8574,7 +8578,7 @@ export interface CommonTimeWindow {
|
|
|
8574
8578
|
*/
|
|
8575
8579
|
export interface ModifyAccountMaxUserConnectionsRequest {
|
|
8576
8580
|
/**
|
|
8577
|
-
*
|
|
8581
|
+
* 云数据库账号。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
|
8578
8582
|
*/
|
|
8579
8583
|
Accounts: Array<Account>;
|
|
8580
8584
|
/**
|
|
@@ -9847,7 +9851,7 @@ export interface ModifyAccountPasswordRequest {
|
|
|
9847
9851
|
*/
|
|
9848
9852
|
NewPassword: string;
|
|
9849
9853
|
/**
|
|
9850
|
-
*
|
|
9854
|
+
* 云数据库账号。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
|
9851
9855
|
*/
|
|
9852
9856
|
Accounts: Array<Account>;
|
|
9853
9857
|
}
|