tencentcloud-sdk-nodejs-tcb 4.1.228 → 4.1.232
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.
|
@@ -9,6 +9,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
9
9
|
async DescribeGatewayVersions(req, cb) {
|
|
10
10
|
return this.request("DescribeGatewayVersions", req, cb);
|
|
11
11
|
}
|
|
12
|
+
async UpdateTable(req, cb) {
|
|
13
|
+
return this.request("UpdateTable", req, cb);
|
|
14
|
+
}
|
|
12
15
|
async CreateCustomLoginKey(req, cb) {
|
|
13
16
|
return this.request("CreateCustomLoginKey", req, cb);
|
|
14
17
|
}
|
|
@@ -27,8 +30,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
27
30
|
async CreateMySQL(req, cb) {
|
|
28
31
|
return this.request("CreateMySQL", req, cb);
|
|
29
32
|
}
|
|
30
|
-
async
|
|
31
|
-
return this.request("
|
|
33
|
+
async ReleaseEnv(req, cb) {
|
|
34
|
+
return this.request("ReleaseEnv", req, cb);
|
|
32
35
|
}
|
|
33
36
|
async DescribeApiKeyList(req, cb) {
|
|
34
37
|
return this.request("DescribeApiKeyList", req, cb);
|
|
@@ -36,6 +39,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
36
39
|
async CreateAIModel(req, cb) {
|
|
37
40
|
return this.request("CreateAIModel", req, cb);
|
|
38
41
|
}
|
|
42
|
+
async AssumeRoleForAllocatedEnv(req, cb) {
|
|
43
|
+
return this.request("AssumeRoleForAllocatedEnv", req, cb);
|
|
44
|
+
}
|
|
39
45
|
async CreateTable(req, cb) {
|
|
40
46
|
return this.request("CreateTable", req, cb);
|
|
41
47
|
}
|
|
@@ -102,6 +108,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
102
108
|
async ModifyHTTPServiceRoute(req, cb) {
|
|
103
109
|
return this.request("ModifyHTTPServiceRoute", req, cb);
|
|
104
110
|
}
|
|
111
|
+
async AllocateEnv(req, cb) {
|
|
112
|
+
return this.request("AllocateEnv", req, cb);
|
|
113
|
+
}
|
|
105
114
|
async DescribeHostingDomainTask(req, cb) {
|
|
106
115
|
return this.request("DescribeHostingDomainTask", req, cb);
|
|
107
116
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeEnvLimitResponse, ListTablesResponse, GetProvidersRequest, CheckTcbServiceResponse, DescribeCloudBaseRunServerVersionRequest, CreateVmInstanceResponse, ModifyEnvPlanRequest, AddProviderRequest, ModifyClsTopicResponse, DeleteProviderResponse, DescribeMySQLClusterDetailResponse, CreateVmInstanceRequest, DescribeEnvsRequest, DescribeEnvLimitRequest, DescribeCloudBaseBuildServiceResponse, DescribeMySQLTaskStatusRequest,
|
|
2
|
+
import { DescribeEnvLimitResponse, ListTablesResponse, GetProvidersRequest, CheckTcbServiceResponse, ReleaseEnvResponse, DescribeCloudBaseRunServerVersionRequest, CreateVmInstanceResponse, ModifyEnvPlanRequest, AddProviderRequest, ModifyClsTopicResponse, DeleteProviderResponse, DescribeMySQLClusterDetailResponse, CreateVmInstanceRequest, DescribeEnvsRequest, ModifyUserResponse, DescribeEnvLimitRequest, DescribeCloudBaseBuildServiceResponse, DescribeMySQLTaskStatusRequest, AllocateEnvResponse, ModifyEnvResponse, DescribeHTTPServiceRouteRequest, DescribeCurveDataResponse, DescribeBaasPackageListRequest, DescribeAuthDomainsResponse, ModifyClsTopicRequest, DescribeLoginConfigRequest, CreateHTTPServiceRouteRequest, CreateHostingDomainRequest, ModifyLoginConfigRequest, ModifyDatabaseACLRequest, DescribeCloudBaseRunServerVersionResponse, DeleteVmInstanceResponse, DescribeGatewayVersionsResponse, DescribeGatewayVersionsRequest, CreateEnvResourceRequest, DescribeVmInstancesRequest, DescribeHostingDomainTaskRequest, ModifyHTTPServiceRouteRequest, DescribeQuotaDataResponse, CreateBillDealResponse, DestroyMySQLResponse, DescribeHTTPServiceRouteResponse, ModifySafeRuleRequest, AllocateEnvRequest, CreateEnvResponse, RunCommandsResponse, DescribeTablesRequest, DescribeApiKeyListResponse, DeleteAIModelResponse, ExecutePGSqlResponse, CreateUserResponse, DescribeEnvAccountCircleRequest, CreateBillDealRequest, RenewEnvResponse, DescribeMySQLClusterDetailRequest, CreateStaticStoreRequest, DescribeBillingInfoResponse, CreateAuthDomainResponse, DeleteApiKeyResponse, DestroyStaticStoreRequest, ModifyClientResponse, UpdateAIModelRequest, RenewEnvRequest, DescribeClientResponse, DeleteHTTPServiceRouteResponse, UpdateAIModelResponse, UpdateTableResponse, ModifyEnvPlanResponse, CreateCustomLoginKeyRequest, RunSqlRequest, CreateAIModelResponse, DescribeCreateMySQLResultRequest, DescribeBillingInfoRequest, DestroyStaticStoreResponse, DeleteVmInstanceRequest, DescribeUserListResponse, CreateTableRequest, CreateMySQLResponse, DeleteAuthDomainResponse, DeleteApiKeyRequest, ModifyProviderRequest, DeleteTableRequest, DestroyEnvRequest, DestroyEnvResponse, DeleteTableResponse, AddProviderResponse, DestroyMySQLRequest, DescribeEnvsResponse, ListTablesRequest, CreateAuthDomainRequest, CreateHostingDomainResponse, DescribeCreateMySQLResultResponse, DescribeSafeRuleRequest, ModifyUserRequest, DeleteUsersRequest, DescribeBaasPackageListResponse, SearchClsLogResponse, DescribeSafeRuleResponse, DescribeApiKeyListRequest, DescribeStaticStoreRequest, AssumeRoleForAllocatedEnvResponse, DescribeTablesResponse, DescribeEnvAccountCircleResponse, ModifyDatabaseACLResponse, CreateTableResponse, ReleaseEnvRequest, CreateMySQLRequest, CreateUserRequest, CreateApiKeyResponse, DescribeMySQLTaskStatusResponse, AssumeRoleForAllocatedEnvRequest, CreateAIModelRequest, DescribeLoginConfigResponse, DeleteAIModelRequest, CreateEnvResourceResponse, DescribeUserListRequest, DescribeCurveDataRequest, DescribeStaticStoreResponse, ModifyHTTPServiceRouteResponse, GetProvidersResponse, DescribeQuotaDataRequest, CreateStaticStoreResponse, DescribeVmInstancesResponse, ModifySafeRuleResponse, DescribeTableRequest, UpdateTableRequest, RunSqlResponse, DescribeClientRequest, DescribeHostingDomainTaskResponse, DeleteAuthDomainRequest, CreateHTTPServiceRouteResponse, CreateCustomLoginKeyResponse, ModifyClientRequest, DeleteUsersResponse, DescribeCloudBaseBuildServiceRequest, SearchClsLogRequest, InquireVmPriceRequest, CheckTcbServiceRequest, DescribeManagedAIModelListResponse, DescribeAIModelsResponse, CreateEnvRequest, DeleteHTTPServiceRouteRequest, RunCommandsRequest, DescribeAuthDomainsRequest, DescribeVmSpecResponse, DescribeAIModelsRequest, DescribeTableResponse, DescribeDatabaseACLRequest, ExecutePGSqlRequest, DescribeDatabaseACLResponse, DeleteProviderRequest, DescribeVmSpecRequest, ModifyProviderResponse, ModifyEnvRequest, DescribeManagedAIModelListRequest, InquireVmPriceResponse, ModifyLoginConfigResponse, CreateApiKeyRequest } from "./tcb_models";
|
|
3
3
|
/**
|
|
4
4
|
* tcb client
|
|
5
5
|
* @class
|
|
@@ -18,6 +18,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
18
18
|
暂不鉴权
|
|
19
19
|
*/
|
|
20
20
|
DescribeGatewayVersions(req: DescribeGatewayVersionsRequest, cb?: (error: string, rep: DescribeGatewayVersionsResponse) => void): Promise<DescribeGatewayVersionsResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* 本接口(UpdateTable)用于修改文档型数据库表信息,当前可以支持创建和删除索引。
|
|
23
|
+
*/
|
|
24
|
+
UpdateTable(req: UpdateTableRequest, cb?: (error: string, rep: UpdateTableResponse) => void): Promise<UpdateTableResponse>;
|
|
21
25
|
/**
|
|
22
26
|
* 创建自定义登录密钥。在指定云开发环境下生成一对 RSA 1024 位非对称密钥对,系统仅存储公钥,私钥仅在创建时返回一次且不可恢复,请妥善保存。创建新密钥后,该环境下原有未设置过期时间的旧密钥将被自动标记为 2 小时后过期,请确保客户端及时更新密钥配置。
|
|
23
27
|
返回的 KeyID 和 PrivateKey 需与环境 ID 一起组装为 JSON 配置文件,供客户端 Admin SDK 初始化时使用,文件格式如下:
|
|
@@ -66,9 +70,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
66
70
|
*/
|
|
67
71
|
CreateMySQL(req: CreateMySQLRequest, cb?: (error: string, rep: CreateMySQLResponse) => void): Promise<CreateMySQLResponse>;
|
|
68
72
|
/**
|
|
69
|
-
*
|
|
73
|
+
* 从环境池里立即取出1个环境
|
|
70
74
|
*/
|
|
71
|
-
|
|
75
|
+
ReleaseEnv(req: ReleaseEnvRequest, cb?: (error: string, rep: ReleaseEnvResponse) => void): Promise<ReleaseEnvResponse>;
|
|
72
76
|
/**
|
|
73
77
|
* 查询 API Key 列表。分页查询指定云开发环境下的 API Key 访问凭证列表。支持按类型过滤(api_key 或 publish_key)。未指定类型时,默认仅返回 api_key 类型的记录。列表查询中 api_key 类型的令牌值将进行脱敏处理(仅保留前后各 6 位字符);publish_key 类型始终返回完整明文。接口需要管理员权限。
|
|
74
78
|
*/
|
|
@@ -83,6 +87,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
83
87
|
创建成功后,可通过 [DescribeAIModelList]() 接口查询分组信息,并在云开发 AI+ 功能中使用所配置的模型。
|
|
84
88
|
*/
|
|
85
89
|
CreateAIModel(req: CreateAIModelRequest, cb?: (error: string, rep: CreateAIModelResponse) => void): Promise<CreateAIModelResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 白名单接口,申请Tcb角色临时凭证
|
|
92
|
+
*/
|
|
93
|
+
AssumeRoleForAllocatedEnv(req: AssumeRoleForAllocatedEnvRequest, cb?: (error: string, rep: AssumeRoleForAllocatedEnvResponse) => void): Promise<AssumeRoleForAllocatedEnvResponse>;
|
|
86
94
|
/**
|
|
87
95
|
* 本接口(CreateTable)用于创建文档型数据库表,支持创建capped类型集合,暂时不支持分片表。
|
|
88
96
|
*/
|
|
@@ -211,6 +219,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
211
219
|
* 本接口ModifyHTTPServiceRoute用于修改HTTP访问服务路由。支持增量修改,对应字段不传参数则不修改
|
|
212
220
|
*/
|
|
213
221
|
ModifyHTTPServiceRoute(req: ModifyHTTPServiceRouteRequest, cb?: (error: string, rep: ModifyHTTPServiceRouteResponse) => void): Promise<ModifyHTTPServiceRouteResponse>;
|
|
222
|
+
/**
|
|
223
|
+
* 从环境池里立即取出1个环境
|
|
224
|
+
*/
|
|
225
|
+
AllocateEnv(req: AllocateEnvRequest, cb?: (error: string, rep: AllocateEnvResponse) => void): Promise<AllocateEnvResponse>;
|
|
214
226
|
/**
|
|
215
227
|
* 查询静态托管域名任务状态
|
|
216
228
|
*/
|
|
@@ -44,6 +44,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
44
44
|
async DescribeGatewayVersions(req, cb) {
|
|
45
45
|
return this.request("DescribeGatewayVersions", req, cb);
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* 本接口(UpdateTable)用于修改文档型数据库表信息,当前可以支持创建和删除索引。
|
|
49
|
+
*/
|
|
50
|
+
async UpdateTable(req, cb) {
|
|
51
|
+
return this.request("UpdateTable", req, cb);
|
|
52
|
+
}
|
|
47
53
|
/**
|
|
48
54
|
* 创建自定义登录密钥。在指定云开发环境下生成一对 RSA 1024 位非对称密钥对,系统仅存储公钥,私钥仅在创建时返回一次且不可恢复,请妥善保存。创建新密钥后,该环境下原有未设置过期时间的旧密钥将被自动标记为 2 小时后过期,请确保客户端及时更新密钥配置。
|
|
49
55
|
返回的 KeyID 和 PrivateKey 需与环境 ID 一起组装为 JSON 配置文件,供客户端 Admin SDK 初始化时使用,文件格式如下:
|
|
@@ -104,10 +110,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
104
110
|
return this.request("CreateMySQL", req, cb);
|
|
105
111
|
}
|
|
106
112
|
/**
|
|
107
|
-
*
|
|
113
|
+
* 从环境池里立即取出1个环境
|
|
108
114
|
*/
|
|
109
|
-
async
|
|
110
|
-
return this.request("
|
|
115
|
+
async ReleaseEnv(req, cb) {
|
|
116
|
+
return this.request("ReleaseEnv", req, cb);
|
|
111
117
|
}
|
|
112
118
|
/**
|
|
113
119
|
* 查询 API Key 列表。分页查询指定云开发环境下的 API Key 访问凭证列表。支持按类型过滤(api_key 或 publish_key)。未指定类型时,默认仅返回 api_key 类型的记录。列表查询中 api_key 类型的令牌值将进行脱敏处理(仅保留前后各 6 位字符);publish_key 类型始终返回完整明文。接口需要管理员权限。
|
|
@@ -127,6 +133,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
127
133
|
async CreateAIModel(req, cb) {
|
|
128
134
|
return this.request("CreateAIModel", req, cb);
|
|
129
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* 白名单接口,申请Tcb角色临时凭证
|
|
138
|
+
*/
|
|
139
|
+
async AssumeRoleForAllocatedEnv(req, cb) {
|
|
140
|
+
return this.request("AssumeRoleForAllocatedEnv", req, cb);
|
|
141
|
+
}
|
|
130
142
|
/**
|
|
131
143
|
* 本接口(CreateTable)用于创建文档型数据库表,支持创建capped类型集合,暂时不支持分片表。
|
|
132
144
|
*/
|
|
@@ -299,6 +311,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
299
311
|
async ModifyHTTPServiceRoute(req, cb) {
|
|
300
312
|
return this.request("ModifyHTTPServiceRoute", req, cb);
|
|
301
313
|
}
|
|
314
|
+
/**
|
|
315
|
+
* 从环境池里立即取出1个环境
|
|
316
|
+
*/
|
|
317
|
+
async AllocateEnv(req, cb) {
|
|
318
|
+
return this.request("AllocateEnv", req, cb);
|
|
319
|
+
}
|
|
302
320
|
/**
|
|
303
321
|
* 查询静态托管域名任务状态
|
|
304
322
|
*/
|
|
@@ -197,6 +197,15 @@ export interface CheckTcbServiceResponse {
|
|
|
197
197
|
*/
|
|
198
198
|
RequestId?: string;
|
|
199
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* ReleaseEnv返回参数结构体
|
|
202
|
+
*/
|
|
203
|
+
export interface ReleaseEnvResponse {
|
|
204
|
+
/**
|
|
205
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
206
|
+
*/
|
|
207
|
+
RequestId?: string;
|
|
208
|
+
}
|
|
200
209
|
/**
|
|
201
210
|
* 可以为每种语言配置一个字符串。比如:name,中文展示为:名字,英文展示为 name,韩文展示为:이름
|
|
202
211
|
*/
|
|
@@ -507,6 +516,20 @@ export interface DescribeEnvsRequest {
|
|
|
507
516
|
*/
|
|
508
517
|
Offset?: number;
|
|
509
518
|
}
|
|
519
|
+
/**
|
|
520
|
+
* ModifyUser返回参数结构体
|
|
521
|
+
*/
|
|
522
|
+
export interface ModifyUserResponse {
|
|
523
|
+
/**
|
|
524
|
+
* 修改用户返回值
|
|
525
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
526
|
+
*/
|
|
527
|
+
Data?: ModifyUserResp;
|
|
528
|
+
/**
|
|
529
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
530
|
+
*/
|
|
531
|
+
RequestId?: string;
|
|
532
|
+
}
|
|
510
533
|
/**
|
|
511
534
|
* 删除tcb用户返回值
|
|
512
535
|
*/
|
|
@@ -653,14 +676,17 @@ export interface BanConfig {
|
|
|
653
676
|
CountryBlackList?: Array<string>;
|
|
654
677
|
}
|
|
655
678
|
/**
|
|
656
|
-
*
|
|
679
|
+
* AllocateEnv返回参数结构体
|
|
657
680
|
*/
|
|
658
|
-
export interface
|
|
681
|
+
export interface AllocateEnvResponse {
|
|
659
682
|
/**
|
|
660
|
-
*
|
|
661
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
683
|
+
* <p>环境ID</p>
|
|
662
684
|
*/
|
|
663
|
-
|
|
685
|
+
EnvId?: string;
|
|
686
|
+
/**
|
|
687
|
+
* <p>回显 客户平台的应用标识,如果没有则不传</p>
|
|
688
|
+
*/
|
|
689
|
+
ExternalAppId?: string;
|
|
664
690
|
/**
|
|
665
691
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
666
692
|
*/
|
|
@@ -1665,6 +1691,19 @@ export interface KVPair {
|
|
|
1665
1691
|
*/
|
|
1666
1692
|
Value: string;
|
|
1667
1693
|
}
|
|
1694
|
+
/**
|
|
1695
|
+
* AllocateEnv请求参数结构体
|
|
1696
|
+
*/
|
|
1697
|
+
export interface AllocateEnvRequest {
|
|
1698
|
+
/**
|
|
1699
|
+
* <p>分配请求ID,会按这个值做幂等</p><p>入参限制:长度不超过64</p>
|
|
1700
|
+
*/
|
|
1701
|
+
AllocateId: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* <p>客户平台的应用标识,如果没有则不传</p>
|
|
1704
|
+
*/
|
|
1705
|
+
ExternalAppId?: string;
|
|
1706
|
+
}
|
|
1668
1707
|
/**
|
|
1669
1708
|
* 函数的信息
|
|
1670
1709
|
*/
|
|
@@ -1684,7 +1723,7 @@ export interface FunctionInfo {
|
|
|
1684
1723
|
*/
|
|
1685
1724
|
export interface CreateEnvResponse {
|
|
1686
1725
|
/**
|
|
1687
|
-
*
|
|
1726
|
+
* <p>自动生成的环境ID</p>
|
|
1688
1727
|
*/
|
|
1689
1728
|
EnvId?: string;
|
|
1690
1729
|
/**
|
|
@@ -3340,13 +3379,35 @@ export interface HTTPServiceQPSPerClient {
|
|
|
3340
3379
|
LimitValue?: number;
|
|
3341
3380
|
}
|
|
3342
3381
|
/**
|
|
3343
|
-
*
|
|
3382
|
+
* AssumeRoleForAllocatedEnv返回参数结构体
|
|
3344
3383
|
*/
|
|
3345
|
-
export interface
|
|
3384
|
+
export interface AssumeRoleForAllocatedEnvResponse {
|
|
3346
3385
|
/**
|
|
3347
|
-
*
|
|
3386
|
+
* <p>SecretId</p>
|
|
3348
3387
|
*/
|
|
3349
|
-
|
|
3388
|
+
SecretId?: string;
|
|
3389
|
+
/**
|
|
3390
|
+
* <p>SecretKey</p>
|
|
3391
|
+
*/
|
|
3392
|
+
SecretKey?: string;
|
|
3393
|
+
/**
|
|
3394
|
+
* <p>Token值</p>
|
|
3395
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3396
|
+
*/
|
|
3397
|
+
Token?: string;
|
|
3398
|
+
/**
|
|
3399
|
+
* <p>过期时间戳</p>
|
|
3400
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3401
|
+
*/
|
|
3402
|
+
ExpiredTime?: number;
|
|
3403
|
+
/**
|
|
3404
|
+
* <p>是否从缓存中加载。标明该值是否实时从sts服务获取,还是从缓存中获取。调用方可不关心</p>
|
|
3405
|
+
*/
|
|
3406
|
+
IsCache?: boolean;
|
|
3407
|
+
/**
|
|
3408
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3409
|
+
*/
|
|
3410
|
+
RequestId?: string;
|
|
3350
3411
|
}
|
|
3351
3412
|
/**
|
|
3352
3413
|
* 登录短信验证码发送配置。用于管理登录时使用的短信验证码发送的通道相关设置,目前提供云开发默认短信包和客户自定义短信包,推荐使用云开发默认短信包。
|
|
@@ -3603,6 +3664,19 @@ export interface DestroyMySQLResult {
|
|
|
3603
3664
|
*/
|
|
3604
3665
|
TaskName?: string;
|
|
3605
3666
|
}
|
|
3667
|
+
/**
|
|
3668
|
+
* ReleaseEnv请求参数结构体
|
|
3669
|
+
*/
|
|
3670
|
+
export interface ReleaseEnvRequest {
|
|
3671
|
+
/**
|
|
3672
|
+
* <p>环境ID</p>
|
|
3673
|
+
*/
|
|
3674
|
+
EnvId?: string;
|
|
3675
|
+
/**
|
|
3676
|
+
* <p>分配请求ID</p>
|
|
3677
|
+
*/
|
|
3678
|
+
AllocateId?: string;
|
|
3679
|
+
}
|
|
3606
3680
|
/**
|
|
3607
3681
|
* CreateMySQL请求参数结构体
|
|
3608
3682
|
*/
|
|
@@ -3784,17 +3858,53 @@ export interface HTTPServiceRouteQPSPolicy {
|
|
|
3784
3858
|
QPSPerClient?: HTTPServiceQPSPerClient;
|
|
3785
3859
|
}
|
|
3786
3860
|
/**
|
|
3787
|
-
*
|
|
3861
|
+
* CreateUser请求参数结构体
|
|
3788
3862
|
*/
|
|
3789
|
-
export interface
|
|
3863
|
+
export interface CreateUserRequest {
|
|
3790
3864
|
/**
|
|
3791
|
-
* 环境
|
|
3865
|
+
* 环境id
|
|
3792
3866
|
*/
|
|
3793
3867
|
EnvId: string;
|
|
3794
3868
|
/**
|
|
3795
|
-
*
|
|
3869
|
+
* 用户名,用户名规则:1. 长度1-64字符 2. 只能包含大小写英文字母、数字和符号 . _ - 3. 只能以字母或数字开头 4. 不能重复
|
|
3796
3870
|
*/
|
|
3797
|
-
|
|
3871
|
+
Name: string;
|
|
3872
|
+
/**
|
|
3873
|
+
* 用户ID,最多64字符,如不传则系统自动生成
|
|
3874
|
+
*/
|
|
3875
|
+
Uid?: string;
|
|
3876
|
+
/**
|
|
3877
|
+
* 用户类型:internalUser-内部用户、externalUser-外部用户,默认internalUser(内部用户)
|
|
3878
|
+
*/
|
|
3879
|
+
Type?: string;
|
|
3880
|
+
/**
|
|
3881
|
+
* 密码,传入Uid时密码可不传。密码规则:1. 长度8-32字符(推荐12位以上) 2. 不能以特殊字符开头 3. 至少包含以下四项中的三项:小写字母a-z、大写字母A-Z、数字0-9、特殊字符()!@#$%^&*\|?><_-
|
|
3882
|
+
*/
|
|
3883
|
+
Password?: string;
|
|
3884
|
+
/**
|
|
3885
|
+
* 用户状态:ACTIVE(激活)、BLOCKED(冻结),默认激活
|
|
3886
|
+
*/
|
|
3887
|
+
UserStatus?: string;
|
|
3888
|
+
/**
|
|
3889
|
+
* 用户昵称,长度2-64字符
|
|
3890
|
+
*/
|
|
3891
|
+
NickName?: string;
|
|
3892
|
+
/**
|
|
3893
|
+
* 手机号,不能重复
|
|
3894
|
+
*/
|
|
3895
|
+
Phone?: string;
|
|
3896
|
+
/**
|
|
3897
|
+
* 邮箱地址,不能重复
|
|
3898
|
+
*/
|
|
3899
|
+
Email?: string;
|
|
3900
|
+
/**
|
|
3901
|
+
* 头像链接,可访问的公网URL
|
|
3902
|
+
*/
|
|
3903
|
+
AvatarUrl?: string;
|
|
3904
|
+
/**
|
|
3905
|
+
* 用户描述,最多200字符
|
|
3906
|
+
*/
|
|
3907
|
+
Description?: string;
|
|
3798
3908
|
}
|
|
3799
3909
|
/**
|
|
3800
3910
|
* CreateApiKey返回参数结构体
|
|
@@ -3884,6 +3994,15 @@ export interface TableInfo {
|
|
|
3884
3994
|
*/
|
|
3885
3995
|
IndexSize?: number;
|
|
3886
3996
|
}
|
|
3997
|
+
/**
|
|
3998
|
+
* AssumeRoleForAllocatedEnv请求参数结构体
|
|
3999
|
+
*/
|
|
4000
|
+
export interface AssumeRoleForAllocatedEnvRequest {
|
|
4001
|
+
/**
|
|
4002
|
+
* <p>环境ID</p>
|
|
4003
|
+
*/
|
|
4004
|
+
EnvId: string;
|
|
4005
|
+
}
|
|
3887
4006
|
/**
|
|
3888
4007
|
* CreateAIModel请求参数结构体
|
|
3889
4008
|
*/
|
|
@@ -4750,55 +4869,41 @@ export interface Tag {
|
|
|
4750
4869
|
*/
|
|
4751
4870
|
export interface CreateEnvRequest {
|
|
4752
4871
|
/**
|
|
4753
|
-
*
|
|
4754
|
-
|
|
4755
|
-
### 格式要求
|
|
4756
|
-
- 可选字符: 小写字母(a~z)、数字、减号(-)
|
|
4757
|
-
- 不能以 减号(-) 开头或结尾
|
|
4758
|
-
- 不能有连个连续的 减号(-)
|
|
4759
|
-
- 长度不超过20位
|
|
4760
|
-
示例值:cloud
|
|
4872
|
+
* <p>环境别名。</p><h3 id=".E6.A0.BC.E5.BC.8F.E8.A6.81.E6.B1.82">格式要求</h3><ul><li>可选字符: 小写字母(a~z)、数字、减号(-)</li><li>不能以 减号(-) 开头或结尾</li><li>不能有连个连续的 减号(-)</li><li>长度不超过20位<br>示例值:cloud</li></ul>
|
|
4761
4873
|
*/
|
|
4762
4874
|
Alias: string;
|
|
4763
4875
|
/**
|
|
4764
|
-
*
|
|
4765
|
-
对于云开发环境套餐,可通过 [DescribeBaasPackageList](https://cloud.tencent.com/document/product/876/78167) 接口获取,对应其出参的PackageName。
|
|
4876
|
+
* <p>云开发环境套餐Id。<br>对于云开发环境套餐,可通过 <a href="https://cloud.tencent.com/document/product/876/78167">DescribeBaasPackageList</a> 接口获取,对应其出参的PackageName。</p>
|
|
4766
4877
|
*/
|
|
4767
4878
|
PackageId: string;
|
|
4768
4879
|
/**
|
|
4769
|
-
*
|
|
4770
|
-
可取值以及含义:
|
|
4771
|
-
- flexdb : 表示文档型数据库
|
|
4772
|
-
- storage : 表示云存储
|
|
4773
|
-
- function : 表示云函数
|
|
4774
|
-
|
|
4775
|
-
**该字段不可为空**
|
|
4880
|
+
* <p>资源类型。代表新购环境时需要发货哪些资源。<br>可取值以及含义:</p><ul><li>flexdb : 表示文档型数据库</li><li>storage : 表示云存储</li><li>function : 表示云函数</li><li>postgresql:表示postgresql数据库</li></ul><p><strong>该字段不可为空</strong></p>
|
|
4776
4881
|
*/
|
|
4777
4882
|
Resources: Array<string>;
|
|
4778
4883
|
/**
|
|
4779
|
-
*
|
|
4780
|
-
默认值为1,即1个月。
|
|
4884
|
+
* <p>购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24。<br>默认值为1,即1个月。</p>
|
|
4781
4885
|
*/
|
|
4782
4886
|
Period?: number;
|
|
4783
4887
|
/**
|
|
4784
|
-
*
|
|
4888
|
+
* <p>是否自动选择代金券支付。</p>
|
|
4785
4889
|
*/
|
|
4786
4890
|
AutoVoucher?: boolean;
|
|
4787
4891
|
/**
|
|
4788
|
-
*
|
|
4789
|
-
可取值通过接口 [tag:DescribeTags](https://cloud.tencent.com/document/product/651/35316) 可获取到。
|
|
4790
|
-
不传或为空则默认不打任何标签。
|
|
4892
|
+
* <p>环境标签。<br>可取值通过接口 <a href="https://cloud.tencent.com/document/product/651/35316">tag:DescribeTags</a> 可获取到。<br>不传或为空则默认不打任何标签。</p>
|
|
4791
4893
|
*/
|
|
4792
4894
|
Tags?: Array<Tag>;
|
|
4793
4895
|
/**
|
|
4794
|
-
*
|
|
4795
|
-
- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
|
4796
|
-
- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费(需要手动续费,可通过接口 [RenewEnv](https://cloud.tencent.com/document/product/876/128590) 来续费)
|
|
4797
|
-
|
|
4798
|
-
默认取值:NOTIFY_AND_MANUAL_RENEW。
|
|
4799
|
-
若该参数指定为NOTIFY_AND_AUTO_RENEW(即:自动续费),在账户余额充足的情况下,实例到期后将按月自动续费;但如果账户余额不足,将无法自动续费。请留意腾讯云短信和邮件通知。
|
|
4896
|
+
* <p>自动续费标识。取值范围:</p><ul><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费(需要手动续费,可通过接口 <a href="https://cloud.tencent.com/document/product/876/128590">RenewEnv</a> 来续费)</li></ul><p>默认取值:NOTIFY_AND_MANUAL_RENEW。<br>若该参数指定为NOTIFY_AND_AUTO_RENEW(即:自动续费),在账户余额充足的情况下,实例到期后将按月自动续费;但如果账户余额不足,将无法自动续费。请留意腾讯云短信和邮件通知。</p>
|
|
4800
4897
|
*/
|
|
4801
4898
|
RenewFlag?: string;
|
|
4899
|
+
/**
|
|
4900
|
+
* <p>云存储外部存储源。<br>表示该环境下不再自动分配云存储cos桶,而是由指定的bucket作为该环境的云存储介质。</p><p>仅当 Resources 中包含storage时有效。</p>
|
|
4901
|
+
*/
|
|
4902
|
+
ExternalStorage?: ExternalStorage;
|
|
4903
|
+
/**
|
|
4904
|
+
* <p>开启或关闭 超限转按量。 可取值: TRUE/FALSE (字符串类型) 非法制、不传、为空 则不变更该字段。</p>
|
|
4905
|
+
*/
|
|
4906
|
+
EnableOverrun?: string;
|
|
4802
4907
|
}
|
|
4803
4908
|
/**
|
|
4804
4909
|
* DeleteHTTPServiceRoute请求参数结构体
|
|
@@ -4892,6 +4997,15 @@ export interface DescribeVmSpecResponse {
|
|
|
4892
4997
|
*/
|
|
4893
4998
|
RequestId?: string;
|
|
4894
4999
|
}
|
|
5000
|
+
/**
|
|
5001
|
+
* DescribeAIModels请求参数结构体
|
|
5002
|
+
*/
|
|
5003
|
+
export interface DescribeAIModelsRequest {
|
|
5004
|
+
/**
|
|
5005
|
+
* 环境id
|
|
5006
|
+
*/
|
|
5007
|
+
EnvId: string;
|
|
5008
|
+
}
|
|
4895
5009
|
/**
|
|
4896
5010
|
* 多语言文字,在 Locale 中 展示的 Message
|
|
4897
5011
|
*/
|
|
@@ -4930,55 +5044,6 @@ export interface WxGatewayCustomConfig {
|
|
|
4930
5044
|
*/
|
|
4931
5045
|
IsAcceptHttpOne?: boolean;
|
|
4932
5046
|
}
|
|
4933
|
-
/**
|
|
4934
|
-
* CreateUser请求参数结构体
|
|
4935
|
-
*/
|
|
4936
|
-
export interface CreateUserRequest {
|
|
4937
|
-
/**
|
|
4938
|
-
* 环境id
|
|
4939
|
-
*/
|
|
4940
|
-
EnvId: string;
|
|
4941
|
-
/**
|
|
4942
|
-
* 用户名,用户名规则:1. 长度1-64字符 2. 只能包含大小写英文字母、数字和符号 . _ - 3. 只能以字母或数字开头 4. 不能重复
|
|
4943
|
-
*/
|
|
4944
|
-
Name: string;
|
|
4945
|
-
/**
|
|
4946
|
-
* 用户ID,最多64字符,如不传则系统自动生成
|
|
4947
|
-
*/
|
|
4948
|
-
Uid?: string;
|
|
4949
|
-
/**
|
|
4950
|
-
* 用户类型:internalUser-内部用户、externalUser-外部用户,默认internalUser(内部用户)
|
|
4951
|
-
*/
|
|
4952
|
-
Type?: string;
|
|
4953
|
-
/**
|
|
4954
|
-
* 密码,传入Uid时密码可不传。密码规则:1. 长度8-32字符(推荐12位以上) 2. 不能以特殊字符开头 3. 至少包含以下四项中的三项:小写字母a-z、大写字母A-Z、数字0-9、特殊字符()!@#$%^&*\|?><_-
|
|
4955
|
-
*/
|
|
4956
|
-
Password?: string;
|
|
4957
|
-
/**
|
|
4958
|
-
* 用户状态:ACTIVE(激活)、BLOCKED(冻结),默认激活
|
|
4959
|
-
*/
|
|
4960
|
-
UserStatus?: string;
|
|
4961
|
-
/**
|
|
4962
|
-
* 用户昵称,长度2-64字符
|
|
4963
|
-
*/
|
|
4964
|
-
NickName?: string;
|
|
4965
|
-
/**
|
|
4966
|
-
* 手机号,不能重复
|
|
4967
|
-
*/
|
|
4968
|
-
Phone?: string;
|
|
4969
|
-
/**
|
|
4970
|
-
* 邮箱地址,不能重复
|
|
4971
|
-
*/
|
|
4972
|
-
Email?: string;
|
|
4973
|
-
/**
|
|
4974
|
-
* 头像链接,可访问的公网URL
|
|
4975
|
-
*/
|
|
4976
|
-
AvatarUrl?: string;
|
|
4977
|
-
/**
|
|
4978
|
-
* 用户描述,最多200字符
|
|
4979
|
-
*/
|
|
4980
|
-
Description?: string;
|
|
4981
|
-
}
|
|
4982
5047
|
/**
|
|
4983
5048
|
* DescribeTable返回参数结构体
|
|
4984
5049
|
*/
|
|
@@ -4996,6 +5061,19 @@ export interface DescribeTableResponse {
|
|
|
4996
5061
|
*/
|
|
4997
5062
|
RequestId?: string;
|
|
4998
5063
|
}
|
|
5064
|
+
/**
|
|
5065
|
+
* DescribeDatabaseACL请求参数结构体
|
|
5066
|
+
*/
|
|
5067
|
+
export interface DescribeDatabaseACLRequest {
|
|
5068
|
+
/**
|
|
5069
|
+
* 环境ID
|
|
5070
|
+
*/
|
|
5071
|
+
EnvId: string;
|
|
5072
|
+
/**
|
|
5073
|
+
* 集合名称
|
|
5074
|
+
*/
|
|
5075
|
+
CollectionName: string;
|
|
5076
|
+
}
|
|
4999
5077
|
/**
|
|
5000
5078
|
* ExecutePGSql请求参数结构体
|
|
5001
5079
|
*/
|