tencentcloud-sdk-nodejs-tcb 4.1.194 → 4.1.197
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.
|
@@ -33,12 +33,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
33
33
|
async RunCommands(req, cb) {
|
|
34
34
|
return this.request("RunCommands", req, cb);
|
|
35
35
|
}
|
|
36
|
-
async
|
|
37
|
-
return this.request("
|
|
36
|
+
async DescribeBaasPackageList(req, cb) {
|
|
37
|
+
return this.request("DescribeBaasPackageList", req, cb);
|
|
38
38
|
}
|
|
39
39
|
async CreateAuthDomain(req, cb) {
|
|
40
40
|
return this.request("CreateAuthDomain", req, cb);
|
|
41
41
|
}
|
|
42
|
+
async DescribeCloudBaseGWAPI(req, cb) {
|
|
43
|
+
return this.request("DescribeCloudBaseGWAPI", req, cb);
|
|
44
|
+
}
|
|
45
|
+
async DescribeCloudBaseRunServerVersion(req, cb) {
|
|
46
|
+
return this.request("DescribeCloudBaseRunServerVersion", req, cb);
|
|
47
|
+
}
|
|
42
48
|
async DescribeAuthDomains(req, cb) {
|
|
43
49
|
return this.request("DescribeAuthDomains", req, cb);
|
|
44
50
|
}
|
|
@@ -54,8 +60,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
54
60
|
async DescribeMySQLClusterDetail(req, cb) {
|
|
55
61
|
return this.request("DescribeMySQLClusterDetail", req, cb);
|
|
56
62
|
}
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
63
|
+
async DescribeBillingInfo(req, cb) {
|
|
64
|
+
return this.request("DescribeBillingInfo", req, cb);
|
|
59
65
|
}
|
|
60
66
|
async RenewEnv(req, cb) {
|
|
61
67
|
return this.request("RenewEnv", req, cb);
|
|
@@ -138,8 +144,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
138
144
|
async CreateBillDeal(req, cb) {
|
|
139
145
|
return this.request("CreateBillDeal", req, cb);
|
|
140
146
|
}
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
147
|
+
async DescribeCurveData(req, cb) {
|
|
148
|
+
return this.request("DescribeCurveData", req, cb);
|
|
143
149
|
}
|
|
144
150
|
async CreateCloudBaseGWAPI(req, cb) {
|
|
145
151
|
return this.request("CreateCloudBaseGWAPI", req, cb);
|
|
@@ -159,6 +165,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
159
165
|
async DeleteCloudBaseGWDomain(req, cb) {
|
|
160
166
|
return this.request("DeleteCloudBaseGWDomain", req, cb);
|
|
161
167
|
}
|
|
168
|
+
async DestroyStaticStore(req, cb) {
|
|
169
|
+
return this.request("DestroyStaticStore", req, cb);
|
|
170
|
+
}
|
|
162
171
|
async DescribeEnvAccountCircle(req, cb) {
|
|
163
172
|
return this.request("DescribeEnvAccountCircle", req, cb);
|
|
164
173
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeEnvLimitResponse, ListTablesResponse, CheckTcbServiceResponse,
|
|
2
|
+
import { DescribeEnvLimitResponse, ListTablesResponse, CheckTcbServiceResponse, DescribeCloudBaseRunServerVersionRequest, DescribeCloudBaseRunServerVersionResponse, BindCloudBaseAccessDomainRequest, ModifyEnvPlanRequest, ModifyClsTopicResponse, DescribeMySQLClusterDetailResponse, DescribeEnvLimitRequest, DescribeCloudBaseBuildServiceResponse, DescribeMySQLTaskStatusRequest, ModifyUserResponse, ModifyEnvResponse, BindCloudBaseAccessDomainResponse, DescribeCurveDataResponse, DescribeBaasPackageListRequest, DescribeAuthDomainsResponse, ModifyCloudBaseGWAPIRequest, ModifyClsTopicRequest, CreateHostingDomainRequest, ModifyDatabaseACLRequest, DestroyStaticStoreRequest, DescribeHostingDomainTaskRequest, DescribeQuotaDataResponse, CreateBillDealResponse, CreateEnvResponse, RunCommandsResponse, RunSqlResponse, CreateUserResponse, DescribeEnvAccountCircleRequest, RenewEnvResponse, DescribeMySQLClusterDetailRequest, CreateStaticStoreRequest, DescribeBillingInfoResponse, CreateAuthDomainResponse, DescribeEnvsRequest, EditAuthConfigResponse, RenewEnvRequest, DestroyMySQLResponse, UpdateTableResponse, ModifyEnvPlanResponse, DescribeCreateMySQLResultRequest, DescribeBillingInfoRequest, DestroyStaticStoreResponse, DeleteUsersResponse, DescribeUserListResponse, CreateTableRequest, CreateMySQLResponse, DeleteAuthDomainResponse, DeleteTableRequest, CreateCloudBaseGWAPIRequest, DestroyEnvRequest, DestroyEnvResponse, DeleteTableResponse, RunSqlRequest, DestroyMySQLRequest, DescribeEnvsResponse, CreateAuthDomainRequest, CreateHostingDomainResponse, DeleteCloudBaseGWAPIRequest, CreateCloudBaseGWAPIResponse, DescribeCreateMySQLResultResponse, DescribeSafeRuleRequest, DeleteUsersRequest, DescribeBaasPackageListResponse, SearchClsLogResponse, DescribeStaticStoreRequest, ModifyCloudBaseGWAPIResponse, DescribeSafeRuleResponse, DescribeTablesResponse, DescribeEnvAccountCircleResponse, ModifyDatabaseACLResponse, CreateTableResponse, DescribeCloudBaseGWAPIResponse, DescribeCloudBaseGWAPIRequest, CreateMySQLRequest, DescribeCloudBaseGWServiceResponse, ReinstateEnvRequest, DescribeDatabaseACLRequest, DescribeMySQLTaskStatusResponse, DeleteCloudBaseGWDomainRequest, DescribeTablesRequest, DescribeUserListRequest, DescribeCurveDataRequest, DescribeStaticStoreResponse, ListTablesRequest, DescribeQuotaDataRequest, CreateStaticStoreResponse, EditAuthConfigRequest, ModifySafeRuleResponse, BindCloudBaseGWDomainResponse, DescribeTableRequest, ModifySafeRuleRequest, DescribeHostingDomainTaskResponse, DeleteAuthDomainRequest, CreateBillDealRequest, DescribeCloudBaseGWServiceRequest, DescribeCloudBaseBuildServiceRequest, SearchClsLogRequest, CheckTcbServiceRequest, DeleteCloudBaseGWAPIResponse, CreateEnvRequest, RunCommandsRequest, DescribeAuthDomainsRequest, CreateUserRequest, DescribeTableResponse, UpdateTableRequest, DeleteCloudBaseGWDomainResponse, DescribeDatabaseACLResponse, ReinstateEnvResponse, ModifyEnvRequest, ModifyUserRequest, BindCloudBaseGWDomainRequest } from "./tcb_models";
|
|
3
3
|
/**
|
|
4
4
|
* tcb client
|
|
5
5
|
* @class
|
|
@@ -7,8 +7,10 @@ import { DescribeEnvLimitResponse, ListTablesResponse, CheckTcbServiceResponse,
|
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
|
|
10
|
+
* 本接口(DescribeCreateMySQLResult)用于查询开通Mysql结果。
|
|
11
|
+
|
|
12
|
+
`Response.Data.Status = "notexist"` 表示未开通,如果未开通,可以调用 [CreateMySQL](https://cloud.tencent.com/document/api/876/128186) 来开通
|
|
13
|
+
`Response.Data. Status = "success"` 表示开通成功,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行 sql 命令,比如创建表格、插入数据、删除表格等 MySql 命令。
|
|
12
14
|
*/
|
|
13
15
|
DescribeCreateMySQLResult(req: DescribeCreateMySQLResultRequest, cb?: (error: string, rep: DescribeCreateMySQLResultResponse) => void): Promise<DescribeCreateMySQLResultResponse>;
|
|
14
16
|
/**
|
|
@@ -24,13 +26,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
24
26
|
*/
|
|
25
27
|
CreateHostingDomain(req: CreateHostingDomainRequest, cb?: (error: string, rep: CreateHostingDomainResponse) => void): Promise<CreateHostingDomainResponse>;
|
|
26
28
|
/**
|
|
27
|
-
*
|
|
29
|
+
* 本接口(CreateMySQL)用于开通Mysql型数据库。
|
|
28
30
|
|
|
29
|
-
开通后,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询开通结果,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行 sql 命令,比如创建表格、插入数据、删除表格等 sql
|
|
31
|
+
开通后,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询开通结果,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行 sql 命令,比如创建表格、插入数据、删除表格等 sql 命令。
|
|
30
32
|
*/
|
|
31
33
|
CreateMySQL(req: CreateMySQLRequest, cb?: (error: string, rep: CreateMySQLResponse) => void): Promise<CreateMySQLResponse>;
|
|
32
34
|
/**
|
|
33
|
-
* 本接口(CreateTable)用于创建文档型数据库表,支持创建capped
|
|
35
|
+
* 本接口(CreateTable)用于创建文档型数据库表,支持创建capped类型集合,暂时不支持分片表。
|
|
34
36
|
*/
|
|
35
37
|
CreateTable(req: CreateTableRequest, cb?: (error: string, rep: CreateTableResponse) => void): Promise<CreateTableResponse>;
|
|
36
38
|
/**
|
|
@@ -46,17 +48,17 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
46
48
|
*/
|
|
47
49
|
CreateEnv(req: CreateEnvRequest, cb?: (error: string, rep: CreateEnvResponse) => void): Promise<CreateEnvResponse>;
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
51
|
+
* 本接口(ModifyDatabaseACL)用于修改文档型数据库权限。
|
|
50
52
|
*/
|
|
51
53
|
ModifyDatabaseACL(req: ModifyDatabaseACLRequest, cb?: (error: string, rep: ModifyDatabaseACLResponse) => void): Promise<ModifyDatabaseACLResponse>;
|
|
52
54
|
/**
|
|
53
|
-
*
|
|
55
|
+
* 本接口(RunCommands)用于执行文档型数据库命令。
|
|
54
56
|
*/
|
|
55
57
|
RunCommands(req: RunCommandsRequest, cb?: (error: string, rep: RunCommandsResponse) => void): Promise<RunCommandsResponse>;
|
|
56
58
|
/**
|
|
57
|
-
*
|
|
59
|
+
* 获取新套餐列表,含详情,如果传了PackageId,则只获取指定套餐详情
|
|
58
60
|
*/
|
|
59
|
-
|
|
61
|
+
DescribeBaasPackageList(req: DescribeBaasPackageListRequest, cb?: (error: string, rep: DescribeBaasPackageListResponse) => void): Promise<DescribeBaasPackageListResponse>;
|
|
60
62
|
/**
|
|
61
63
|
* 增加安全域名。
|
|
62
64
|
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
@@ -66,6 +68,14 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
66
68
|
安全域名绑定成功之后,需要几分钟时间逐步生效。
|
|
67
69
|
*/
|
|
68
70
|
CreateAuthDomain(req: CreateAuthDomainRequest, cb?: (error: string, rep: CreateAuthDomainResponse) => void): Promise<CreateAuthDomainResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* 获取网关API列表
|
|
73
|
+
*/
|
|
74
|
+
DescribeCloudBaseGWAPI(req: DescribeCloudBaseGWAPIRequest, cb?: (error: string, rep: DescribeCloudBaseGWAPIResponse) => void): Promise<DescribeCloudBaseGWAPIResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* 查询服务版本的详情,CPU和MEM 请使用CPUSize和MemSize
|
|
77
|
+
*/
|
|
78
|
+
DescribeCloudBaseRunServerVersion(req: DescribeCloudBaseRunServerVersionRequest, cb?: (error: string, rep: DescribeCloudBaseRunServerVersionResponse) => void): Promise<DescribeCloudBaseRunServerVersionResponse>;
|
|
69
79
|
/**
|
|
70
80
|
* 本接口用于获取当前环境的安全域名列表。
|
|
71
81
|
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
@@ -91,15 +101,15 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
91
101
|
*/
|
|
92
102
|
DeleteAuthDomain(req: DeleteAuthDomainRequest, cb?: (error: string, rep: DeleteAuthDomainResponse) => void): Promise<DeleteAuthDomainResponse>;
|
|
93
103
|
/**
|
|
94
|
-
*
|
|
104
|
+
* 本接口(DescribeMySQLClusterDetail)查询Mysql集群信息。
|
|
95
105
|
|
|
96
|
-
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询,只有已开通的才能查到集群信息,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行
|
|
106
|
+
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询,只有已开通的才能查到集群信息,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行 MySql 命令,比如创建表格、插入数据、删除表格等 MySql 命令。
|
|
97
107
|
*/
|
|
98
108
|
DescribeMySQLClusterDetail(req: DescribeMySQLClusterDetailRequest, cb?: (error: string, rep: DescribeMySQLClusterDetailResponse) => void): Promise<DescribeMySQLClusterDetailResponse>;
|
|
99
109
|
/**
|
|
100
|
-
*
|
|
110
|
+
* 获取计费相关信息
|
|
101
111
|
*/
|
|
102
|
-
|
|
112
|
+
DescribeBillingInfo(req: DescribeBillingInfoRequest, cb?: (error: string, rep: DescribeBillingInfoResponse) => void): Promise<DescribeBillingInfoResponse>;
|
|
103
113
|
/**
|
|
104
114
|
* 本接口用于云开发环境套餐续费。
|
|
105
115
|
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
@@ -115,7 +125,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
115
125
|
*/
|
|
116
126
|
ReinstateEnv(req: ReinstateEnvRequest, cb?: (error: string, rep: ReinstateEnvResponse) => void): Promise<ReinstateEnvResponse>;
|
|
117
127
|
/**
|
|
118
|
-
*
|
|
128
|
+
* 本接口(DescribeDatabaseACL)获取文档型数据库权限。
|
|
119
129
|
*/
|
|
120
130
|
DescribeDatabaseACL(req: DescribeDatabaseACLRequest, cb?: (error: string, rep: DescribeDatabaseACLResponse) => void): Promise<DescribeDatabaseACLResponse>;
|
|
121
131
|
/**
|
|
@@ -127,13 +137,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
127
137
|
*/
|
|
128
138
|
DescribeStaticStore(req: DescribeStaticStoreRequest, cb?: (error: string, rep: DescribeStaticStoreResponse) => void): Promise<DescribeStaticStoreResponse>;
|
|
129
139
|
/**
|
|
130
|
-
*
|
|
140
|
+
* 本接口(DescribeTable)用于查询文档型数据库表的相关信息,包括索引等信息。
|
|
131
141
|
|
|
132
|
-
接口入参中的 Tag 为文档型数据库的实例 Id,可以通过 [DescribeEnvs](https://cloud.tencent.com/document/api/876/34820) 接口返回的 EnvList[0].Databases[0].InstanceId
|
|
142
|
+
接口入参中的 Tag 为文档型数据库的实例 Id,可以通过 [DescribeEnvs](https://cloud.tencent.com/document/api/876/34820) 接口返回的 EnvList[0].Databases[0].InstanceId 获取。
|
|
133
143
|
*/
|
|
134
144
|
DescribeTable(req: DescribeTableRequest, cb?: (error: string, rep: DescribeTableResponse) => void): Promise<DescribeTableResponse>;
|
|
135
145
|
/**
|
|
136
|
-
* 本接口(UpdateTable)
|
|
146
|
+
* 本接口(UpdateTable)用于修改文档型数据库表信息,当前可以支持创建和删除索引。
|
|
137
147
|
*/
|
|
138
148
|
UpdateTable(req: UpdateTableRequest, cb?: (error: string, rep: UpdateTableResponse) => void): Promise<UpdateTableResponse>;
|
|
139
149
|
/**
|
|
@@ -145,9 +155,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
145
155
|
*/
|
|
146
156
|
CheckTcbService(req?: CheckTcbServiceRequest, cb?: (error: string, rep: CheckTcbServiceResponse) => void): Promise<CheckTcbServiceResponse>;
|
|
147
157
|
/**
|
|
148
|
-
* 本接口(ListTables)
|
|
158
|
+
* 本接口(ListTables)用于查询文档型数据库所有表信息,包括表名、表中数据条数、表中数据量、索引个数及索引的大小等。
|
|
149
159
|
|
|
150
|
-
该接口跟 [DescribeTables](https://cloud.tencent.com/document/api/876/127962) 接口功能一致,后续该接口可能会下线,请使用 [DescribeTable](https://cloud.tencent.com/document/api/876/127962)
|
|
160
|
+
该接口跟 [DescribeTables](https://cloud.tencent.com/document/api/876/127962) 接口功能一致,后续该接口可能会下线,请使用 [DescribeTable](https://cloud.tencent.com/document/api/876/127962)接口。
|
|
151
161
|
*/
|
|
152
162
|
ListTables(req: ListTablesRequest, cb?: (error: string, rep: ListTablesResponse) => void): Promise<ListTablesResponse>;
|
|
153
163
|
/**
|
|
@@ -162,7 +172,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
162
172
|
*/
|
|
163
173
|
ModifyEnvPlan(req: ModifyEnvPlanRequest, cb?: (error: string, rep: ModifyEnvPlanResponse) => void): Promise<ModifyEnvPlanResponse>;
|
|
164
174
|
/**
|
|
165
|
-
*
|
|
175
|
+
* 本接口(DescribeMySQLTaskStatus)用于查询Mysql任务状态。
|
|
166
176
|
*/
|
|
167
177
|
DescribeMySQLTaskStatus(req: DescribeMySQLTaskStatusRequest, cb?: (error: string, rep: DescribeMySQLTaskStatusResponse) => void): Promise<DescribeMySQLTaskStatusResponse>;
|
|
168
178
|
/**
|
|
@@ -186,17 +196,17 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
186
196
|
*/
|
|
187
197
|
ModifyEnv(req: ModifyEnvRequest, cb?: (error: string, rep: ModifyEnvResponse) => void): Promise<ModifyEnvResponse>;
|
|
188
198
|
/**
|
|
189
|
-
*
|
|
199
|
+
* 本接口(RunSql)用于执行MySQL语句。
|
|
190
200
|
|
|
191
|
-
该接口用来执行 MySql 语句,比如创建表格、插入数据、修改数据、删除字段、添加索引等可以通过sql
|
|
201
|
+
该接口用来执行 MySql 语句,比如创建表格、插入数据、修改数据、删除字段、添加索引等可以通过sql 语句实现的都可以使用该接口。
|
|
192
202
|
|
|
193
|
-
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185)
|
|
203
|
+
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询,只有开通成功才能操作。
|
|
194
204
|
*/
|
|
195
205
|
RunSql(req: RunSqlRequest, cb?: (error: string, rep: RunSqlResponse) => void): Promise<RunSqlResponse>;
|
|
196
206
|
/**
|
|
197
|
-
* 本接口(DeleteTable)
|
|
207
|
+
* 本接口(DeleteTable)用于删除文档型数据库表,删除表后表中数据将会被删除且无法恢复,请谨慎操作。
|
|
198
208
|
|
|
199
|
-
接口入参中的 Tag 为文档型数据库的实例 Id,可以通过 [DescribeEnvs](https://cloud.tencent.com/document/api/876/34820) 接口返回的 EnvList[0].Databases[0].InstanceId
|
|
209
|
+
接口入参中的 Tag 为文档型数据库的实例 Id,可以通过 [DescribeEnvs](https://cloud.tencent.com/document/api/876/34820) 接口返回的 EnvList[0].Databases[0].InstanceId 获取。
|
|
200
210
|
*/
|
|
201
211
|
DeleteTable(req: DeleteTableRequest, cb?: (error: string, rep: DeleteTableResponse) => void): Promise<DeleteTableResponse>;
|
|
202
212
|
/**
|
|
@@ -225,9 +235,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
225
235
|
*/
|
|
226
236
|
DescribeEnvs(req: DescribeEnvsRequest, cb?: (error: string, rep: DescribeEnvsResponse) => void): Promise<DescribeEnvsResponse>;
|
|
227
237
|
/**
|
|
228
|
-
*
|
|
238
|
+
* 本接口(DestroyMySQL)用于销毁Mysql。
|
|
229
239
|
|
|
230
|
-
销毁后可以通过 [DescribeMySQLTaskStatus](https://cloud.tencent.com/document/api/876/128183) 接口查询销毁结果,如果 `Response.Data. Status = FAILED `
|
|
240
|
+
销毁后可以通过 [DescribeMySQLTaskStatus](https://cloud.tencent.com/document/api/876/128183) 接口查询销毁结果,如果 `Response.Data. Status = FAILED ` 表示销毁失败,可以重新调用销毁接口重试。
|
|
231
241
|
*/
|
|
232
242
|
DestroyMySQL(req: DestroyMySQLRequest, cb?: (error: string, rep: DestroyMySQLResponse) => void): Promise<DestroyMySQLResponse>;
|
|
233
243
|
/**
|
|
@@ -243,9 +253,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
243
253
|
*/
|
|
244
254
|
CreateBillDeal(req: CreateBillDealRequest, cb?: (error: string, rep: CreateBillDealResponse) => void): Promise<CreateBillDealResponse>;
|
|
245
255
|
/**
|
|
246
|
-
*
|
|
256
|
+
* 根据指定指标名称,查询某环境在指定时间范围内的监控数据,返回按统计粒度聚合后的时序数据。
|
|
247
257
|
*/
|
|
248
|
-
|
|
258
|
+
DescribeCurveData(req: DescribeCurveDataRequest, cb?: (error: string, rep: DescribeCurveDataResponse) => void): Promise<DescribeCurveDataResponse>;
|
|
249
259
|
/**
|
|
250
260
|
* 创建云开发网关API
|
|
251
261
|
*/
|
|
@@ -270,6 +280,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
270
280
|
* 删除网关域名
|
|
271
281
|
*/
|
|
272
282
|
DeleteCloudBaseGWDomain(req: DeleteCloudBaseGWDomainRequest, cb?: (error: string, rep: DeleteCloudBaseGWDomainResponse) => void): Promise<DeleteCloudBaseGWDomainResponse>;
|
|
283
|
+
/**
|
|
284
|
+
* 销毁静态托管资源,该接口创建异步销毁任务,资源最终状态可从DestroyStaticStore接口查看
|
|
285
|
+
*/
|
|
286
|
+
DestroyStaticStore(req: DestroyStaticStoreRequest, cb?: (error: string, rep: DestroyStaticStoreResponse) => void): Promise<DestroyStaticStoreResponse>;
|
|
273
287
|
/**
|
|
274
288
|
* 查询环境计费周期。
|
|
275
289
|
云开发环境的资源点都是按月结算的,每个月都有一定的抵扣额度。
|
|
@@ -284,7 +298,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
284
298
|
*/
|
|
285
299
|
DescribeEnvAccountCircle(req: DescribeEnvAccountCircleRequest, cb?: (error: string, rep: DescribeEnvAccountCircleResponse) => void): Promise<DescribeEnvAccountCircleResponse>;
|
|
286
300
|
/**
|
|
287
|
-
* 本接口(DescribeTables)
|
|
301
|
+
* 本接口(DescribeTables)用于查询文档型数据库所有表信息,包括表名、表中数据条数、表中数据量、索引个数及索引的大小等。
|
|
288
302
|
*/
|
|
289
303
|
DescribeTables(req: DescribeTablesRequest, cb?: (error: string, rep: DescribeTablesResponse) => void): Promise<DescribeTablesResponse>;
|
|
290
304
|
}
|
|
@@ -29,8 +29,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
29
29
|
super("tcb.tencentcloudapi.com", "2018-06-08", clientConfig);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
|
|
32
|
+
* 本接口(DescribeCreateMySQLResult)用于查询开通Mysql结果。
|
|
33
|
+
|
|
34
|
+
`Response.Data.Status = "notexist"` 表示未开通,如果未开通,可以调用 [CreateMySQL](https://cloud.tencent.com/document/api/876/128186) 来开通
|
|
35
|
+
`Response.Data. Status = "success"` 表示开通成功,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行 sql 命令,比如创建表格、插入数据、删除表格等 MySql 命令。
|
|
34
36
|
*/
|
|
35
37
|
async DescribeCreateMySQLResult(req, cb) {
|
|
36
38
|
return this.request("DescribeCreateMySQLResult", req, cb);
|
|
@@ -54,15 +56,15 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
54
56
|
return this.request("CreateHostingDomain", req, cb);
|
|
55
57
|
}
|
|
56
58
|
/**
|
|
57
|
-
*
|
|
59
|
+
* 本接口(CreateMySQL)用于开通Mysql型数据库。
|
|
58
60
|
|
|
59
|
-
开通后,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询开通结果,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行 sql 命令,比如创建表格、插入数据、删除表格等 sql
|
|
61
|
+
开通后,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询开通结果,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行 sql 命令,比如创建表格、插入数据、删除表格等 sql 命令。
|
|
60
62
|
*/
|
|
61
63
|
async CreateMySQL(req, cb) {
|
|
62
64
|
return this.request("CreateMySQL", req, cb);
|
|
63
65
|
}
|
|
64
66
|
/**
|
|
65
|
-
* 本接口(CreateTable)用于创建文档型数据库表,支持创建capped
|
|
67
|
+
* 本接口(CreateTable)用于创建文档型数据库表,支持创建capped类型集合,暂时不支持分片表。
|
|
66
68
|
*/
|
|
67
69
|
async CreateTable(req, cb) {
|
|
68
70
|
return this.request("CreateTable", req, cb);
|
|
@@ -84,22 +86,22 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
84
86
|
return this.request("CreateEnv", req, cb);
|
|
85
87
|
}
|
|
86
88
|
/**
|
|
87
|
-
*
|
|
89
|
+
* 本接口(ModifyDatabaseACL)用于修改文档型数据库权限。
|
|
88
90
|
*/
|
|
89
91
|
async ModifyDatabaseACL(req, cb) {
|
|
90
92
|
return this.request("ModifyDatabaseACL", req, cb);
|
|
91
93
|
}
|
|
92
94
|
/**
|
|
93
|
-
*
|
|
95
|
+
* 本接口(RunCommands)用于执行文档型数据库命令。
|
|
94
96
|
*/
|
|
95
97
|
async RunCommands(req, cb) {
|
|
96
98
|
return this.request("RunCommands", req, cb);
|
|
97
99
|
}
|
|
98
100
|
/**
|
|
99
|
-
*
|
|
101
|
+
* 获取新套餐列表,含详情,如果传了PackageId,则只获取指定套餐详情
|
|
100
102
|
*/
|
|
101
|
-
async
|
|
102
|
-
return this.request("
|
|
103
|
+
async DescribeBaasPackageList(req, cb) {
|
|
104
|
+
return this.request("DescribeBaasPackageList", req, cb);
|
|
103
105
|
}
|
|
104
106
|
/**
|
|
105
107
|
* 增加安全域名。
|
|
@@ -112,6 +114,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
112
114
|
async CreateAuthDomain(req, cb) {
|
|
113
115
|
return this.request("CreateAuthDomain", req, cb);
|
|
114
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* 获取网关API列表
|
|
119
|
+
*/
|
|
120
|
+
async DescribeCloudBaseGWAPI(req, cb) {
|
|
121
|
+
return this.request("DescribeCloudBaseGWAPI", req, cb);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* 查询服务版本的详情,CPU和MEM 请使用CPUSize和MemSize
|
|
125
|
+
*/
|
|
126
|
+
async DescribeCloudBaseRunServerVersion(req, cb) {
|
|
127
|
+
return this.request("DescribeCloudBaseRunServerVersion", req, cb);
|
|
128
|
+
}
|
|
115
129
|
/**
|
|
116
130
|
* 本接口用于获取当前环境的安全域名列表。
|
|
117
131
|
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
@@ -145,18 +159,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
145
159
|
return this.request("DeleteAuthDomain", req, cb);
|
|
146
160
|
}
|
|
147
161
|
/**
|
|
148
|
-
*
|
|
162
|
+
* 本接口(DescribeMySQLClusterDetail)查询Mysql集群信息。
|
|
149
163
|
|
|
150
|
-
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询,只有已开通的才能查到集群信息,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行
|
|
164
|
+
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询,只有已开通的才能查到集群信息,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106),可以通过 [RunSql](https://cloud.tencent.com/document/api/876/127880) 接口来执行 MySql 命令,比如创建表格、插入数据、删除表格等 MySql 命令。
|
|
151
165
|
*/
|
|
152
166
|
async DescribeMySQLClusterDetail(req, cb) {
|
|
153
167
|
return this.request("DescribeMySQLClusterDetail", req, cb);
|
|
154
168
|
}
|
|
155
169
|
/**
|
|
156
|
-
*
|
|
170
|
+
* 获取计费相关信息
|
|
157
171
|
*/
|
|
158
|
-
async
|
|
159
|
-
return this.request("
|
|
172
|
+
async DescribeBillingInfo(req, cb) {
|
|
173
|
+
return this.request("DescribeBillingInfo", req, cb);
|
|
160
174
|
}
|
|
161
175
|
/**
|
|
162
176
|
* 本接口用于云开发环境套餐续费。
|
|
@@ -179,7 +193,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
179
193
|
return this.request("ReinstateEnv", req, cb);
|
|
180
194
|
}
|
|
181
195
|
/**
|
|
182
|
-
*
|
|
196
|
+
* 本接口(DescribeDatabaseACL)获取文档型数据库权限。
|
|
183
197
|
*/
|
|
184
198
|
async DescribeDatabaseACL(req, cb) {
|
|
185
199
|
return this.request("DescribeDatabaseACL", req, cb);
|
|
@@ -197,15 +211,15 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
197
211
|
return this.request("DescribeStaticStore", req, cb);
|
|
198
212
|
}
|
|
199
213
|
/**
|
|
200
|
-
*
|
|
214
|
+
* 本接口(DescribeTable)用于查询文档型数据库表的相关信息,包括索引等信息。
|
|
201
215
|
|
|
202
|
-
接口入参中的 Tag 为文档型数据库的实例 Id,可以通过 [DescribeEnvs](https://cloud.tencent.com/document/api/876/34820) 接口返回的 EnvList[0].Databases[0].InstanceId
|
|
216
|
+
接口入参中的 Tag 为文档型数据库的实例 Id,可以通过 [DescribeEnvs](https://cloud.tencent.com/document/api/876/34820) 接口返回的 EnvList[0].Databases[0].InstanceId 获取。
|
|
203
217
|
*/
|
|
204
218
|
async DescribeTable(req, cb) {
|
|
205
219
|
return this.request("DescribeTable", req, cb);
|
|
206
220
|
}
|
|
207
221
|
/**
|
|
208
|
-
* 本接口(UpdateTable)
|
|
222
|
+
* 本接口(UpdateTable)用于修改文档型数据库表信息,当前可以支持创建和删除索引。
|
|
209
223
|
*/
|
|
210
224
|
async UpdateTable(req, cb) {
|
|
211
225
|
return this.request("UpdateTable", req, cb);
|
|
@@ -223,9 +237,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
223
237
|
return this.request("CheckTcbService", req, cb);
|
|
224
238
|
}
|
|
225
239
|
/**
|
|
226
|
-
* 本接口(ListTables)
|
|
240
|
+
* 本接口(ListTables)用于查询文档型数据库所有表信息,包括表名、表中数据条数、表中数据量、索引个数及索引的大小等。
|
|
227
241
|
|
|
228
|
-
该接口跟 [DescribeTables](https://cloud.tencent.com/document/api/876/127962) 接口功能一致,后续该接口可能会下线,请使用 [DescribeTable](https://cloud.tencent.com/document/api/876/127962)
|
|
242
|
+
该接口跟 [DescribeTables](https://cloud.tencent.com/document/api/876/127962) 接口功能一致,后续该接口可能会下线,请使用 [DescribeTable](https://cloud.tencent.com/document/api/876/127962)接口。
|
|
229
243
|
*/
|
|
230
244
|
async ListTables(req, cb) {
|
|
231
245
|
return this.request("ListTables", req, cb);
|
|
@@ -246,7 +260,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
246
260
|
return this.request("ModifyEnvPlan", req, cb);
|
|
247
261
|
}
|
|
248
262
|
/**
|
|
249
|
-
*
|
|
263
|
+
* 本接口(DescribeMySQLTaskStatus)用于查询Mysql任务状态。
|
|
250
264
|
*/
|
|
251
265
|
async DescribeMySQLTaskStatus(req, cb) {
|
|
252
266
|
return this.request("DescribeMySQLTaskStatus", req, cb);
|
|
@@ -282,19 +296,19 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
282
296
|
return this.request("ModifyEnv", req, cb);
|
|
283
297
|
}
|
|
284
298
|
/**
|
|
285
|
-
*
|
|
299
|
+
* 本接口(RunSql)用于执行MySQL语句。
|
|
286
300
|
|
|
287
|
-
该接口用来执行 MySql 语句,比如创建表格、插入数据、修改数据、删除字段、添加索引等可以通过sql
|
|
301
|
+
该接口用来执行 MySql 语句,比如创建表格、插入数据、修改数据、删除字段、添加索引等可以通过sql 语句实现的都可以使用该接口。
|
|
288
302
|
|
|
289
|
-
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185)
|
|
303
|
+
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询,只有开通成功才能操作。
|
|
290
304
|
*/
|
|
291
305
|
async RunSql(req, cb) {
|
|
292
306
|
return this.request("RunSql", req, cb);
|
|
293
307
|
}
|
|
294
308
|
/**
|
|
295
|
-
* 本接口(DeleteTable)
|
|
309
|
+
* 本接口(DeleteTable)用于删除文档型数据库表,删除表后表中数据将会被删除且无法恢复,请谨慎操作。
|
|
296
310
|
|
|
297
|
-
接口入参中的 Tag 为文档型数据库的实例 Id,可以通过 [DescribeEnvs](https://cloud.tencent.com/document/api/876/34820) 接口返回的 EnvList[0].Databases[0].InstanceId
|
|
311
|
+
接口入参中的 Tag 为文档型数据库的实例 Id,可以通过 [DescribeEnvs](https://cloud.tencent.com/document/api/876/34820) 接口返回的 EnvList[0].Databases[0].InstanceId 获取。
|
|
298
312
|
*/
|
|
299
313
|
async DeleteTable(req, cb) {
|
|
300
314
|
return this.request("DeleteTable", req, cb);
|
|
@@ -333,9 +347,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
333
347
|
return this.request("DescribeEnvs", req, cb);
|
|
334
348
|
}
|
|
335
349
|
/**
|
|
336
|
-
*
|
|
350
|
+
* 本接口(DestroyMySQL)用于销毁Mysql。
|
|
337
351
|
|
|
338
|
-
销毁后可以通过 [DescribeMySQLTaskStatus](https://cloud.tencent.com/document/api/876/128183) 接口查询销毁结果,如果 `Response.Data. Status = FAILED `
|
|
352
|
+
销毁后可以通过 [DescribeMySQLTaskStatus](https://cloud.tencent.com/document/api/876/128183) 接口查询销毁结果,如果 `Response.Data. Status = FAILED ` 表示销毁失败,可以重新调用销毁接口重试。
|
|
339
353
|
*/
|
|
340
354
|
async DestroyMySQL(req, cb) {
|
|
341
355
|
return this.request("DestroyMySQL", req, cb);
|
|
@@ -355,10 +369,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
355
369
|
return this.request("CreateBillDeal", req, cb);
|
|
356
370
|
}
|
|
357
371
|
/**
|
|
358
|
-
*
|
|
372
|
+
* 根据指定指标名称,查询某环境在指定时间范围内的监控数据,返回按统计粒度聚合后的时序数据。
|
|
359
373
|
*/
|
|
360
|
-
async
|
|
361
|
-
return this.request("
|
|
374
|
+
async DescribeCurveData(req, cb) {
|
|
375
|
+
return this.request("DescribeCurveData", req, cb);
|
|
362
376
|
}
|
|
363
377
|
/**
|
|
364
378
|
* 创建云开发网关API
|
|
@@ -396,6 +410,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
396
410
|
async DeleteCloudBaseGWDomain(req, cb) {
|
|
397
411
|
return this.request("DeleteCloudBaseGWDomain", req, cb);
|
|
398
412
|
}
|
|
413
|
+
/**
|
|
414
|
+
* 销毁静态托管资源,该接口创建异步销毁任务,资源最终状态可从DestroyStaticStore接口查看
|
|
415
|
+
*/
|
|
416
|
+
async DestroyStaticStore(req, cb) {
|
|
417
|
+
return this.request("DestroyStaticStore", req, cb);
|
|
418
|
+
}
|
|
399
419
|
/**
|
|
400
420
|
* 查询环境计费周期。
|
|
401
421
|
云开发环境的资源点都是按月结算的,每个月都有一定的抵扣额度。
|
|
@@ -412,7 +432,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
412
432
|
return this.request("DescribeEnvAccountCircle", req, cb);
|
|
413
433
|
}
|
|
414
434
|
/**
|
|
415
|
-
* 本接口(DescribeTables)
|
|
435
|
+
* 本接口(DescribeTables)用于查询文档型数据库所有表信息,包括表名、表中数据条数、表中数据量、索引个数及索引的大小等。
|
|
416
436
|
*/
|
|
417
437
|
async DescribeTables(req, cb) {
|
|
418
438
|
return this.request("DescribeTables", req, cb);
|
|
@@ -82,6 +82,70 @@ export interface ListTablesResponse {
|
|
|
82
82
|
*/
|
|
83
83
|
RequestId?: string;
|
|
84
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* 订单信息
|
|
87
|
+
*/
|
|
88
|
+
export interface OrderInfo {
|
|
89
|
+
/**
|
|
90
|
+
* 订单号
|
|
91
|
+
*/
|
|
92
|
+
TranId?: string;
|
|
93
|
+
/**
|
|
94
|
+
* 订单要切换的套餐ID
|
|
95
|
+
*/
|
|
96
|
+
PackageId?: string;
|
|
97
|
+
/**
|
|
98
|
+
* 订单类型
|
|
99
|
+
<li>1 购买</li>
|
|
100
|
+
<li>2 续费</li>
|
|
101
|
+
<li>3 变配</li>
|
|
102
|
+
*/
|
|
103
|
+
TranType?: string;
|
|
104
|
+
/**
|
|
105
|
+
* 订单状态。
|
|
106
|
+
<li>1未支付</li>
|
|
107
|
+
<li>2 支付中</li>
|
|
108
|
+
<li>3 发货中</li>
|
|
109
|
+
<li>4 发货成功</li>
|
|
110
|
+
<li>5 发货失败</li>
|
|
111
|
+
<li>6 已退款</li>
|
|
112
|
+
<li>7 已取消</li>
|
|
113
|
+
<li>100 已删除</li>
|
|
114
|
+
*/
|
|
115
|
+
TranStatus?: string;
|
|
116
|
+
/**
|
|
117
|
+
* 订单更新时间
|
|
118
|
+
*/
|
|
119
|
+
UpdateTime?: string;
|
|
120
|
+
/**
|
|
121
|
+
* 订单创建时间
|
|
122
|
+
*/
|
|
123
|
+
CreateTime?: string;
|
|
124
|
+
/**
|
|
125
|
+
* 付费模式.
|
|
126
|
+
<li>prepayment 预付费</li>
|
|
127
|
+
<li>postpaid 后付费</li>
|
|
128
|
+
*/
|
|
129
|
+
PayMode?: string;
|
|
130
|
+
/**
|
|
131
|
+
* 订单绑定的扩展ID
|
|
132
|
+
*/
|
|
133
|
+
ExtensionId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* 资源初始化结果(仅当ExtensionId不为空时有效): successful(初始化成功), failed(初始化失败), doing(初始化进行中), init(准备初始化)
|
|
136
|
+
*/
|
|
137
|
+
ResourceReady?: string;
|
|
138
|
+
/**
|
|
139
|
+
* 安装标记。建议使用方统一转大小写之后再判断。
|
|
140
|
+
<li>QuickStart:快速启动来源</li>
|
|
141
|
+
<li>Activity:活动来源</li>
|
|
142
|
+
*/
|
|
143
|
+
Flag?: string;
|
|
144
|
+
/**
|
|
145
|
+
* 下单时的参数
|
|
146
|
+
*/
|
|
147
|
+
ReqBody?: string;
|
|
148
|
+
}
|
|
85
149
|
/**
|
|
86
150
|
* CheckTcbService返回参数结构体
|
|
87
151
|
*/
|
|
@@ -96,32 +160,189 @@ export interface CheckTcbServiceResponse {
|
|
|
96
160
|
RequestId?: string;
|
|
97
161
|
}
|
|
98
162
|
/**
|
|
99
|
-
*
|
|
163
|
+
* DescribeCloudBaseRunServerVersion请求参数结构体
|
|
100
164
|
*/
|
|
101
|
-
export interface
|
|
165
|
+
export interface DescribeCloudBaseRunServerVersionRequest {
|
|
102
166
|
/**
|
|
103
167
|
* 环境ID
|
|
104
168
|
*/
|
|
105
169
|
EnvId: string;
|
|
106
170
|
/**
|
|
107
|
-
*
|
|
171
|
+
* 服务名称
|
|
108
172
|
*/
|
|
109
|
-
|
|
173
|
+
ServerName: string;
|
|
110
174
|
/**
|
|
111
|
-
*
|
|
112
|
-
<li> READONLY:所有用户可读,仅创建者和管理员可写</li>
|
|
113
|
-
<li> PRIVATE:仅创建者及管理员可读写</li>
|
|
114
|
-
<li> ADMINWRITE:所有用户可读,仅管理员可写</li>
|
|
115
|
-
<li> ADMINONLY:仅管理员可读写</li>
|
|
116
|
-
<li> CUSTOM:自定义安全规则</li>
|
|
175
|
+
* 版本名称
|
|
117
176
|
*/
|
|
118
|
-
|
|
177
|
+
VersionName: string;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* DescribeCloudBaseRunServerVersion返回参数结构体
|
|
181
|
+
*/
|
|
182
|
+
export interface DescribeCloudBaseRunServerVersionResponse {
|
|
119
183
|
/**
|
|
120
|
-
*
|
|
121
|
-
当 AclTag=CUSTOM 时,此参数必填。
|
|
122
|
-
详情参考:[文档型数据库安全规则](https://docs.cloudbase.net/database/security-rules)
|
|
184
|
+
* 版本名称
|
|
123
185
|
*/
|
|
124
|
-
|
|
186
|
+
VersionName?: string;
|
|
187
|
+
/**
|
|
188
|
+
* 备注
|
|
189
|
+
*/
|
|
190
|
+
Remark?: string;
|
|
191
|
+
/**
|
|
192
|
+
* Dockerfile的路径
|
|
193
|
+
*/
|
|
194
|
+
DockerfilePath?: string;
|
|
195
|
+
/**
|
|
196
|
+
* DockerBuild的目录
|
|
197
|
+
*/
|
|
198
|
+
BuildDir?: string;
|
|
199
|
+
/**
|
|
200
|
+
* 请使用CPUSize
|
|
201
|
+
*/
|
|
202
|
+
Cpu?: number;
|
|
203
|
+
/**
|
|
204
|
+
* 请使用MemSize
|
|
205
|
+
*/
|
|
206
|
+
Mem?: number;
|
|
207
|
+
/**
|
|
208
|
+
* 副本最小值
|
|
209
|
+
*/
|
|
210
|
+
MinNum?: number;
|
|
211
|
+
/**
|
|
212
|
+
* 副本最大值
|
|
213
|
+
*/
|
|
214
|
+
MaxNum?: number;
|
|
215
|
+
/**
|
|
216
|
+
* 策略类型
|
|
217
|
+
*/
|
|
218
|
+
PolicyType?: string;
|
|
219
|
+
/**
|
|
220
|
+
* 策略阈值
|
|
221
|
+
*/
|
|
222
|
+
PolicyThreshold?: number;
|
|
223
|
+
/**
|
|
224
|
+
* 环境变量
|
|
225
|
+
*/
|
|
226
|
+
EnvParams?: string;
|
|
227
|
+
/**
|
|
228
|
+
* 创建时间
|
|
229
|
+
*/
|
|
230
|
+
CreatedTime?: string;
|
|
231
|
+
/**
|
|
232
|
+
* 更新时间
|
|
233
|
+
*/
|
|
234
|
+
UpdatedTime?: string;
|
|
235
|
+
/**
|
|
236
|
+
* 版本的IP
|
|
237
|
+
*/
|
|
238
|
+
VersionIP?: string;
|
|
239
|
+
/**
|
|
240
|
+
* 版本的端口号
|
|
241
|
+
*/
|
|
242
|
+
VersionPort?: number;
|
|
243
|
+
/**
|
|
244
|
+
* 版本状态
|
|
245
|
+
*/
|
|
246
|
+
Status?: string;
|
|
247
|
+
/**
|
|
248
|
+
* 代码包的名字
|
|
249
|
+
*/
|
|
250
|
+
PackageName?: string;
|
|
251
|
+
/**
|
|
252
|
+
* 代码版本的名字
|
|
253
|
+
*/
|
|
254
|
+
PackageVersion?: string;
|
|
255
|
+
/**
|
|
256
|
+
* 枚举(package/repository/image)
|
|
257
|
+
*/
|
|
258
|
+
UploadType?: string;
|
|
259
|
+
/**
|
|
260
|
+
* Repo的类型(gitlab/github/coding)
|
|
261
|
+
*/
|
|
262
|
+
RepoType?: string;
|
|
263
|
+
/**
|
|
264
|
+
* 地址
|
|
265
|
+
*/
|
|
266
|
+
Repo?: string;
|
|
267
|
+
/**
|
|
268
|
+
* 分支
|
|
269
|
+
*/
|
|
270
|
+
Branch?: string;
|
|
271
|
+
/**
|
|
272
|
+
* 服务名字
|
|
273
|
+
*/
|
|
274
|
+
ServerName?: string;
|
|
275
|
+
/**
|
|
276
|
+
* 是否对于外网开放
|
|
277
|
+
*/
|
|
278
|
+
IsPublic?: boolean;
|
|
279
|
+
/**
|
|
280
|
+
* vpc id
|
|
281
|
+
*/
|
|
282
|
+
VpcId?: string;
|
|
283
|
+
/**
|
|
284
|
+
* 子网实例id
|
|
285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
286
|
+
*/
|
|
287
|
+
SubnetIds?: Array<string>;
|
|
288
|
+
/**
|
|
289
|
+
* 日志采集路径
|
|
290
|
+
*/
|
|
291
|
+
CustomLogs?: string;
|
|
292
|
+
/**
|
|
293
|
+
* 监听端口
|
|
294
|
+
*/
|
|
295
|
+
ContainerPort?: number;
|
|
296
|
+
/**
|
|
297
|
+
* 延迟多长时间开始健康检查(单位s)
|
|
298
|
+
*/
|
|
299
|
+
InitialDelaySeconds?: number;
|
|
300
|
+
/**
|
|
301
|
+
* 镜像地址
|
|
302
|
+
*/
|
|
303
|
+
ImageUrl?: string;
|
|
304
|
+
/**
|
|
305
|
+
* CPU 大小
|
|
306
|
+
*/
|
|
307
|
+
CpuSize?: number;
|
|
308
|
+
/**
|
|
309
|
+
* MEM 大小
|
|
310
|
+
*/
|
|
311
|
+
MemSize?: number;
|
|
312
|
+
/**
|
|
313
|
+
* 是否有Dockerfile:0-default has, 1-has, 2-has not
|
|
314
|
+
*/
|
|
315
|
+
HasDockerfile?: number;
|
|
316
|
+
/**
|
|
317
|
+
* 基础镜像
|
|
318
|
+
*/
|
|
319
|
+
BaseImage?: string;
|
|
320
|
+
/**
|
|
321
|
+
* 容器启动入口命令
|
|
322
|
+
*/
|
|
323
|
+
EntryPoint?: string;
|
|
324
|
+
/**
|
|
325
|
+
* 仓库语言
|
|
326
|
+
*/
|
|
327
|
+
RepoLanguage?: string;
|
|
328
|
+
/**
|
|
329
|
+
* 自动扩缩容策略组
|
|
330
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
331
|
+
*/
|
|
332
|
+
PolicyDetail?: Array<HpaPolicy>;
|
|
333
|
+
/**
|
|
334
|
+
* Tke集群信息
|
|
335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
336
|
+
*/
|
|
337
|
+
TkeClusterInfo?: TkeClusterInfo;
|
|
338
|
+
/**
|
|
339
|
+
* 版本工作负载类型;deployment/deamonset
|
|
340
|
+
*/
|
|
341
|
+
TkeWorkloadType?: string;
|
|
342
|
+
/**
|
|
343
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
344
|
+
*/
|
|
345
|
+
RequestId?: string;
|
|
125
346
|
}
|
|
126
347
|
/**
|
|
127
348
|
* BindCloudBaseAccessDomain请求参数结构体
|
|
@@ -453,6 +674,47 @@ export interface LogServiceInfo {
|
|
|
453
674
|
*/
|
|
454
675
|
Period?: number;
|
|
455
676
|
}
|
|
677
|
+
/**
|
|
678
|
+
* DescribeCurveData返回参数结构体
|
|
679
|
+
*/
|
|
680
|
+
export interface DescribeCurveDataResponse {
|
|
681
|
+
/**
|
|
682
|
+
* 开始时间, 会根据数据的统计周期进行取整
|
|
683
|
+
*/
|
|
684
|
+
StartTime?: string;
|
|
685
|
+
/**
|
|
686
|
+
* 结束时间, 会根据数据的统计周期进行取整
|
|
687
|
+
*/
|
|
688
|
+
EndTime?: string;
|
|
689
|
+
/**
|
|
690
|
+
* 指标名
|
|
691
|
+
*/
|
|
692
|
+
MetricName?: string;
|
|
693
|
+
/**
|
|
694
|
+
* 统计周期(单位秒), 当时间区间为1天内, 统计周期为5分钟; 当时间区间选择为1天以上, 15天以下, 统计周期为1小时; 当时间区间选择为15天以上, 180天以下, 统计周期为1天
|
|
695
|
+
*/
|
|
696
|
+
Period?: number;
|
|
697
|
+
/**
|
|
698
|
+
* 有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到
|
|
699
|
+
*/
|
|
700
|
+
Values?: Array<number | bigint>;
|
|
701
|
+
/**
|
|
702
|
+
* 各数据点的时间戳数组(Unix 时间戳,秒级),与 Values 一一对应
|
|
703
|
+
*/
|
|
704
|
+
Time?: Array<number | bigint>;
|
|
705
|
+
/**
|
|
706
|
+
* 有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到
|
|
707
|
+
*/
|
|
708
|
+
NewValues?: Array<number>;
|
|
709
|
+
/**
|
|
710
|
+
* 聚合方式, "last" 表示取时间段内最后一个值,“max”表示取时间段内最大值,“avg”表示取时间段内的平均值
|
|
711
|
+
*/
|
|
712
|
+
Statistics?: string;
|
|
713
|
+
/**
|
|
714
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
715
|
+
*/
|
|
716
|
+
RequestId?: string;
|
|
717
|
+
}
|
|
456
718
|
/**
|
|
457
719
|
* DescribeBaasPackageList请求参数结构体
|
|
458
720
|
*/
|
|
@@ -577,6 +839,23 @@ export interface CreateHostingDomainRequest {
|
|
|
577
839
|
*/
|
|
578
840
|
CertId: string;
|
|
579
841
|
}
|
|
842
|
+
/**
|
|
843
|
+
* tke集群信息
|
|
844
|
+
*/
|
|
845
|
+
export interface TkeClusterInfo {
|
|
846
|
+
/**
|
|
847
|
+
* 集群ID
|
|
848
|
+
*/
|
|
849
|
+
ClusterId?: string;
|
|
850
|
+
/**
|
|
851
|
+
* 集群的vpcId
|
|
852
|
+
*/
|
|
853
|
+
VpcId?: string;
|
|
854
|
+
/**
|
|
855
|
+
* 版本内网CLB所在子网Id
|
|
856
|
+
*/
|
|
857
|
+
VersionClbSubnetId?: string;
|
|
858
|
+
}
|
|
580
859
|
/**
|
|
581
860
|
* ModifyDatabaseACL请求参数结构体
|
|
582
861
|
*/
|
|
@@ -901,6 +1180,19 @@ export interface CreateStaticStoreRequest {
|
|
|
901
1180
|
*/
|
|
902
1181
|
EnableUnion?: boolean;
|
|
903
1182
|
}
|
|
1183
|
+
/**
|
|
1184
|
+
* DescribeBillingInfo返回参数结构体
|
|
1185
|
+
*/
|
|
1186
|
+
export interface DescribeBillingInfoResponse {
|
|
1187
|
+
/**
|
|
1188
|
+
* 环境计费信息列表
|
|
1189
|
+
*/
|
|
1190
|
+
EnvBillingInfoList?: Array<EnvBillingInfoItem>;
|
|
1191
|
+
/**
|
|
1192
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1193
|
+
*/
|
|
1194
|
+
RequestId?: string;
|
|
1195
|
+
}
|
|
904
1196
|
/**
|
|
905
1197
|
* CreateAuthDomain返回参数结构体
|
|
906
1198
|
*/
|
|
@@ -1020,6 +1312,28 @@ export interface DescribeCreateMySQLResultRequest {
|
|
|
1020
1312
|
*/
|
|
1021
1313
|
TaskId?: string;
|
|
1022
1314
|
}
|
|
1315
|
+
/**
|
|
1316
|
+
* DescribeBillingInfo请求参数结构体
|
|
1317
|
+
*/
|
|
1318
|
+
export interface DescribeBillingInfoRequest {
|
|
1319
|
+
/**
|
|
1320
|
+
* 环境ID
|
|
1321
|
+
*/
|
|
1322
|
+
EnvId?: string;
|
|
1323
|
+
}
|
|
1324
|
+
/**
|
|
1325
|
+
* 扩缩容策略
|
|
1326
|
+
*/
|
|
1327
|
+
export interface HpaPolicy {
|
|
1328
|
+
/**
|
|
1329
|
+
* 策略类型
|
|
1330
|
+
*/
|
|
1331
|
+
PolicyType?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* 策略阈值
|
|
1334
|
+
*/
|
|
1335
|
+
PolicyThreshold?: number;
|
|
1336
|
+
}
|
|
1023
1337
|
/**
|
|
1024
1338
|
* CLS日志单条信息
|
|
1025
1339
|
*/
|
|
@@ -1290,6 +1604,86 @@ export interface DestroyMySQLRequest {
|
|
|
1290
1604
|
*/
|
|
1291
1605
|
EnvId: string;
|
|
1292
1606
|
}
|
|
1607
|
+
/**
|
|
1608
|
+
* 环境计费信息
|
|
1609
|
+
*/
|
|
1610
|
+
export interface EnvBillingInfoItem {
|
|
1611
|
+
/**
|
|
1612
|
+
* 环境ID
|
|
1613
|
+
*/
|
|
1614
|
+
EnvId?: string;
|
|
1615
|
+
/**
|
|
1616
|
+
* tcb产品套餐ID,参考DescribePackages接口的返回值。
|
|
1617
|
+
*/
|
|
1618
|
+
PackageId?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* 自动续费标记
|
|
1621
|
+
*/
|
|
1622
|
+
IsAutoRenew?: boolean;
|
|
1623
|
+
/**
|
|
1624
|
+
* 状态。包含以下取值:
|
|
1625
|
+
<li> 空字符串:初始化中</li>
|
|
1626
|
+
<li> NORMAL:正常</li>
|
|
1627
|
+
<li> ISOLATE:隔离</li>
|
|
1628
|
+
*/
|
|
1629
|
+
Status?: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* 支付方式。包含以下取值:
|
|
1632
|
+
<li> PREPAYMENT:预付费</li>
|
|
1633
|
+
<li> POSTPAID:后付费</li>
|
|
1634
|
+
*/
|
|
1635
|
+
PayMode?: string;
|
|
1636
|
+
/**
|
|
1637
|
+
* 隔离时间,最近一次隔离的时间
|
|
1638
|
+
*/
|
|
1639
|
+
IsolatedTime?: string;
|
|
1640
|
+
/**
|
|
1641
|
+
* 过期时间,套餐即将到期的时间
|
|
1642
|
+
*/
|
|
1643
|
+
ExpireTime?: string;
|
|
1644
|
+
/**
|
|
1645
|
+
* 创建时间,第一次接入计费方案的时间。
|
|
1646
|
+
*/
|
|
1647
|
+
CreateTime?: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* 更新时间,计费信息最近一次更新的时间。
|
|
1650
|
+
*/
|
|
1651
|
+
UpdateTime?: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* true表示从未升级过付费版。
|
|
1654
|
+
*/
|
|
1655
|
+
IsAlwaysFree?: boolean;
|
|
1656
|
+
/**
|
|
1657
|
+
* 付费渠道。
|
|
1658
|
+
<li> miniapp:小程序</li>
|
|
1659
|
+
<li> qcloud:腾讯云</li>
|
|
1660
|
+
*/
|
|
1661
|
+
PaymentChannel?: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* 最新的订单信息
|
|
1664
|
+
*/
|
|
1665
|
+
OrderInfo?: OrderInfo;
|
|
1666
|
+
/**
|
|
1667
|
+
* 免费配额信息。
|
|
1668
|
+
*/
|
|
1669
|
+
FreeQuota?: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* 是否开启 `超过套餐额度部分转按量付费`
|
|
1672
|
+
*/
|
|
1673
|
+
EnableOverrun?: boolean;
|
|
1674
|
+
/**
|
|
1675
|
+
* 环境套餐类型
|
|
1676
|
+
*/
|
|
1677
|
+
ExtPackageType?: string;
|
|
1678
|
+
/**
|
|
1679
|
+
* 是否付费期环境,可取值:yes/no。
|
|
1680
|
+
*/
|
|
1681
|
+
EnvCharged?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* 是否已激活,可取值:yes/no。
|
|
1684
|
+
*/
|
|
1685
|
+
EnvActivated?: string;
|
|
1686
|
+
}
|
|
1293
1687
|
/**
|
|
1294
1688
|
* DescribeEnvs返回参数结构体
|
|
1295
1689
|
*/
|
|
@@ -2003,6 +2397,122 @@ export interface DescribeUserListRequest {
|
|
|
2003
2397
|
*/
|
|
2004
2398
|
Email?: string;
|
|
2005
2399
|
}
|
|
2400
|
+
/**
|
|
2401
|
+
* DescribeCurveData请求参数结构体
|
|
2402
|
+
*/
|
|
2403
|
+
export interface DescribeCurveDataRequest {
|
|
2404
|
+
/**
|
|
2405
|
+
* 环境ID
|
|
2406
|
+
*/
|
|
2407
|
+
EnvId: string;
|
|
2408
|
+
/**
|
|
2409
|
+
* <h4>文档型数据库相关指标</h4>
|
|
2410
|
+
<li> DbRead: 数据库读请求数 </li>
|
|
2411
|
+
<li> DbWrite: 数据库写请求数 </li>
|
|
2412
|
+
<li> DbCostTime10ms: 数据库耗时在10ms-50ms请求数 </li>
|
|
2413
|
+
<li> DbCostTime50ms: 数据库耗时在50ms-100ms请求数 </li>
|
|
2414
|
+
<li> DbCostTime100ms: 数据库耗时在100ms以上请求数 </li>
|
|
2415
|
+
<li> DbSizepkg: 数据库容量,单位MB </li>
|
|
2416
|
+
|
|
2417
|
+
<h4>SQL型数据库相关指标</h4>
|
|
2418
|
+
<li> MysqlStorageUsage: 关系型数据库容量,单位MB </li>
|
|
2419
|
+
<li> MysqlCCU: CCU </li>
|
|
2420
|
+
<li> MysqlCpuUsageRate:CPU利用率 </li>
|
|
2421
|
+
<li> MysqlDbConnections:数据库连接数 </li>
|
|
2422
|
+
<li> MysqlMemoryUse: 内存使用量,单位MB </li>
|
|
2423
|
+
<li> MysqlSlowQueries:慢查询数 </li>
|
|
2424
|
+
<li> MysqlTps: 提交数 </li>
|
|
2425
|
+
<li> MysqlQps: QPS </li>
|
|
2426
|
+
|
|
2427
|
+
<h4>云函数相关指标</h4>
|
|
2428
|
+
<li> FunctionCU: 资源用量</li>
|
|
2429
|
+
<li> FunctionInvocation: 调用次数 </li>
|
|
2430
|
+
<li> FunctionFlux: 外网出流量, 单位千字节(KB) </li>
|
|
2431
|
+
<li> FunctionThrottle: 受限次数 </li>
|
|
2432
|
+
<li> FunctionConcurrentExecutions: 并发执行个数</li>
|
|
2433
|
+
<li> FunctionTimeout: 函数执行超时次数</li>
|
|
2434
|
+
<li> FunctionGBs: 资源用量, 单位Mb*Ms </li>
|
|
2435
|
+
<li> FunctionError: 云错误次数 </li>
|
|
2436
|
+
<li> FunctionDuration: 运行时间, 单位毫秒 </li>
|
|
2437
|
+
<li> FunctionConcurrencyMemoryMB: 并发执行内存量 </li>
|
|
2438
|
+
<li>FunctionMemOverFlow:内存超限次数</li>
|
|
2439
|
+
<li> FunctionIdleProvisioned: 预置并发闲置量 </li>
|
|
2440
|
+
<li> FunctionProvisionedConcurrency: 预置并发个数 </li>
|
|
2441
|
+
|
|
2442
|
+
<h4>云托管相关指标</h4>
|
|
2443
|
+
<li>TkeRspTimeService : 响应时间,单位毫秒</li>
|
|
2444
|
+
<li>TkeCpuUsedService : CPU使用量</li>
|
|
2445
|
+
<li>TkeMemUsedService : 内存使用量</li>
|
|
2446
|
+
<li>TkeQPSService : QPS</li>
|
|
2447
|
+
<li>TkePodNumService : 实例个数</li>
|
|
2448
|
+
<li>TkeHttpServiceNatPkg : 外网出流量,单位byte</li>
|
|
2449
|
+
<li>TkeCUUsedService : 内存使用量(CU单位)</li>
|
|
2450
|
+
<li>TkeInvokeNumService : 调用量</li>
|
|
2451
|
+
<li>TkeHttpErrorService : 错误响应(404、500等)</li>
|
|
2452
|
+
|
|
2453
|
+
<h4>静态网站托管相关指标</h4>
|
|
2454
|
+
<li>StaticFsFluxPkg:流量,单位byte</li>
|
|
2455
|
+
<li>StaticFsSizePkg:存储容量,单位MB</li>
|
|
2456
|
+
|
|
2457
|
+
<h4>身份认证相关指标</h4>
|
|
2458
|
+
<li>AuthInvocationNumPkg:调用次数</li>
|
|
2459
|
+
|
|
2460
|
+
<h4>API调用相关指标</h4>
|
|
2461
|
+
<li>GwCloudDevelopmentSecureCallsInvocation:云开发API调用次数</li>
|
|
2462
|
+
<li>GwWXInvocation:小程序API调用次数</li>
|
|
2463
|
+
|
|
2464
|
+
<h4>HTTP网关相关指标</h4>
|
|
2465
|
+
<li>GwCloudDevelopmentStandardCallsInvocation:HTTP调用次数</li>
|
|
2466
|
+
|
|
2467
|
+
<h4>大模型相关指标</h4>
|
|
2468
|
+
<li>AIPromptTokenNumPkg:输入Token</li>
|
|
2469
|
+
<li>AICompletionTokenNumPkg:输出Token</li>
|
|
2470
|
+
<li>AITotalTokenNumPkg:总Token</li>
|
|
2471
|
+
|
|
2472
|
+
<h4>知识库相关指标</h4>
|
|
2473
|
+
<li>KnowledgeBaseCapacity:容量,单位bytes</li>
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
<h4>用户登录相关指标</h4>
|
|
2477
|
+
<li>DayActiveLoginAnonymousUser:匿名用户登陆日活</li>
|
|
2478
|
+
<li>DayActiveLoginAllUser : 全部用户登陆日活</li>
|
|
2479
|
+
<li>DayActiveLoginExternalUser : 外部用户登陆日活</li>
|
|
2480
|
+
<li>DayActiveLoginInternalUser : 内部用户登陆日活</li>
|
|
2481
|
+
*/
|
|
2482
|
+
MetricName: string;
|
|
2483
|
+
/**
|
|
2484
|
+
* 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟)
|
|
2485
|
+
*/
|
|
2486
|
+
StartTime: string;
|
|
2487
|
+
/**
|
|
2488
|
+
* 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)
|
|
2489
|
+
*/
|
|
2490
|
+
EndTime: string;
|
|
2491
|
+
/**
|
|
2492
|
+
* 资源ID, 目前仅对文档型数据库、云函数、云托管相关的指标有意义。
|
|
2493
|
+
如果想查询某个具体云函数/具体数据库集合的指标,则需传入对应的云函数名称/集合名称;如果只想查询整个namespace的指标, 则留空或不传。
|
|
2494
|
+
云托管相关指标的查询,必须传入云托管服务名称。
|
|
2495
|
+
*/
|
|
2496
|
+
ResourceID?: string;
|
|
2497
|
+
/**
|
|
2498
|
+
* 微信AppId,微信必传
|
|
2499
|
+
*/
|
|
2500
|
+
WxAppId?: string;
|
|
2501
|
+
/**
|
|
2502
|
+
* 子资源信息。
|
|
2503
|
+
查询云托管相关指标的具体版本的监控数据,需传入。
|
|
2504
|
+
*/
|
|
2505
|
+
SubresourceID?: string;
|
|
2506
|
+
/**
|
|
2507
|
+
* 网关路由
|
|
2508
|
+
*/
|
|
2509
|
+
ThirdResource?: string;
|
|
2510
|
+
/**
|
|
2511
|
+
* 统计周期(单位秒),非必传,传入时仅支持传入300,3600,86400。不传采用默认以下默认规则:当时间区间为1天内, 统计周期为300;当时间区间选择为1天以上, 15天以下, 统计周期为3600; 当时间区间选择为15天以上, 180天以下, 统计周期为86400。
|
|
2512
|
+
如果传入period,需遵循以下规则。EndTime-StartTime的时间范围不超过1 天,Period可以取300或3600;EndTime-StartTime的时间范围满足超过1天且不超过3 天,Period可以取300或3600或86400;EndTime-StartTime的时间范围超过3天时,Period可以取3600或86400。
|
|
2513
|
+
*/
|
|
2514
|
+
Period?: number;
|
|
2515
|
+
}
|
|
2006
2516
|
/**
|
|
2007
2517
|
* DescribeStaticStore返回参数结构体
|
|
2008
2518
|
*/
|
|
@@ -2397,6 +2907,34 @@ export interface PermissionInfo {
|
|
|
2397
2907
|
*/
|
|
2398
2908
|
Rule?: string;
|
|
2399
2909
|
}
|
|
2910
|
+
/**
|
|
2911
|
+
* ModifySafeRule请求参数结构体
|
|
2912
|
+
*/
|
|
2913
|
+
export interface ModifySafeRuleRequest {
|
|
2914
|
+
/**
|
|
2915
|
+
* 环境ID
|
|
2916
|
+
*/
|
|
2917
|
+
EnvId: string;
|
|
2918
|
+
/**
|
|
2919
|
+
* 集合名称
|
|
2920
|
+
*/
|
|
2921
|
+
CollectionName: string;
|
|
2922
|
+
/**
|
|
2923
|
+
* 权限标签。包含以下取值:
|
|
2924
|
+
<li> READONLY:所有用户可读,仅创建者和管理员可写</li>
|
|
2925
|
+
<li> PRIVATE:仅创建者及管理员可读写</li>
|
|
2926
|
+
<li> ADMINWRITE:所有用户可读,仅管理员可写</li>
|
|
2927
|
+
<li> ADMINONLY:仅管理员可读写</li>
|
|
2928
|
+
<li> CUSTOM:自定义安全规则</li>
|
|
2929
|
+
*/
|
|
2930
|
+
AclTag: string;
|
|
2931
|
+
/**
|
|
2932
|
+
* 安全规则内容。
|
|
2933
|
+
当 AclTag=CUSTOM 时,此参数必填。
|
|
2934
|
+
详情参考:[文档型数据库安全规则](https://docs.cloudbase.net/database/security-rules)
|
|
2935
|
+
*/
|
|
2936
|
+
Rule?: string;
|
|
2937
|
+
}
|
|
2400
2938
|
/**
|
|
2401
2939
|
* DescribeHostingDomainTask返回参数结构体
|
|
2402
2940
|
*/
|
|
@@ -2411,21 +2949,17 @@ export interface DescribeHostingDomainTaskResponse {
|
|
|
2411
2949
|
RequestId?: string;
|
|
2412
2950
|
}
|
|
2413
2951
|
/**
|
|
2414
|
-
*
|
|
2952
|
+
* DeleteAuthDomain请求参数结构体
|
|
2415
2953
|
*/
|
|
2416
|
-
export interface
|
|
2417
|
-
/**
|
|
2418
|
-
* 索引相关信息
|
|
2419
|
-
*/
|
|
2420
|
-
Indexes?: Array<IndexInfo>;
|
|
2954
|
+
export interface DeleteAuthDomainRequest {
|
|
2421
2955
|
/**
|
|
2422
|
-
*
|
|
2956
|
+
* 开发者的环境ID
|
|
2423
2957
|
*/
|
|
2424
|
-
|
|
2958
|
+
EnvId: string;
|
|
2425
2959
|
/**
|
|
2426
|
-
*
|
|
2960
|
+
* 域名ID列表,支持批量
|
|
2427
2961
|
*/
|
|
2428
|
-
|
|
2962
|
+
DomainIds: Array<string>;
|
|
2429
2963
|
}
|
|
2430
2964
|
/**
|
|
2431
2965
|
* CreateBillDeal请求参数结构体
|
|
@@ -2623,7 +3157,7 @@ export interface SearchClsLogRequest {
|
|
|
2623
3157
|
*/
|
|
2624
3158
|
EndTime: string;
|
|
2625
3159
|
/**
|
|
2626
|
-
*
|
|
3160
|
+
* 查询语句, 例如查询云函数:(src:app OR src:system) AND log:\"START RequestId*\", 聚合云函数请求状态:* | select request_id, max(status_code) as status where ((request_id='44738f94-16dd-11f1-****' AND retry_num=0) AND retry_num=0)) AND status_code!=202 group by request_id, retry_num 查询云数据库[文档型]:module:database, 查询云数据库[文档型]事件:module:database AND eventType:(MongoSlowQuery),MongoSlowQuery为文档型数据库慢查询事件 查询云数据库[SQL型]:module:rdb, 查询云数据库[SQL型]事件:module:rdb AND eventType:(MysqlFreeze OR MysqlRecover OR MysqlSlowQuery),MysqlFreeze为mysql数据库冻结事件、MysqlRecover为mysql数据库恢复事件、MysqlSlowQuery为mysql数据库慢查询事件 查询审批流:module:workflow, 查询模型:module:model, 查询用户权限:module:auth, 查询大模型:module:llm AND logType:llm-tracelog 查询网关服务调用:logType:accesslog 查询应用发布/删除事件:module:app AND eventType:(AppProdPub OR AppProdDel),AppProdPub为应用发布事件,AppProdDel为应用删除事件 以上仅为示例语句,实际使用时请根据具体日志内容进行调整,查询语句需严格遵循CLS(Cloud Log Service)语法规范 详细的语法规则请参考官方档:https://cloud.tencent.com/document/product/614/47044
|
|
2627
3161
|
*/
|
|
2628
3162
|
QueryString: string;
|
|
2629
3163
|
/**
|
|
@@ -2896,17 +3430,21 @@ export interface CreateUserRequest {
|
|
|
2896
3430
|
Description?: string;
|
|
2897
3431
|
}
|
|
2898
3432
|
/**
|
|
2899
|
-
*
|
|
3433
|
+
* DescribeTable返回参数结构体
|
|
2900
3434
|
*/
|
|
2901
|
-
export interface
|
|
3435
|
+
export interface DescribeTableResponse {
|
|
2902
3436
|
/**
|
|
2903
|
-
*
|
|
3437
|
+
* 索引相关信息
|
|
2904
3438
|
*/
|
|
2905
|
-
|
|
3439
|
+
Indexes?: Array<IndexInfo>;
|
|
2906
3440
|
/**
|
|
2907
|
-
*
|
|
3441
|
+
* 索引个数
|
|
2908
3442
|
*/
|
|
2909
|
-
|
|
3443
|
+
IndexNum?: number;
|
|
3444
|
+
/**
|
|
3445
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3446
|
+
*/
|
|
3447
|
+
RequestId?: string;
|
|
2910
3448
|
}
|
|
2911
3449
|
/**
|
|
2912
3450
|
* UpdateTable请求参数结构体
|