tencentcloud-sdk-nodejs-tcb 4.1.185 → 4.1.187
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.
|
@@ -84,6 +84,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
84
84
|
async CreateMySQL(req, cb) {
|
|
85
85
|
return this.request("CreateMySQL", req, cb);
|
|
86
86
|
}
|
|
87
|
+
async CreateEnv(req, cb) {
|
|
88
|
+
return this.request("CreateEnv", req, cb);
|
|
89
|
+
}
|
|
87
90
|
async ModifyGatewayVersionTraffic(req, cb) {
|
|
88
91
|
return this.request("ModifyGatewayVersionTraffic", req, cb);
|
|
89
92
|
}
|
|
@@ -240,6 +243,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
240
243
|
async DescribeBillingInfo(req, cb) {
|
|
241
244
|
return this.request("DescribeBillingInfo", req, cb);
|
|
242
245
|
}
|
|
246
|
+
async RenewEnv(req, cb) {
|
|
247
|
+
return this.request("RenewEnv", req, cb);
|
|
248
|
+
}
|
|
243
249
|
async ReinstateEnv(req, cb) {
|
|
244
250
|
return this.request("ReinstateEnv", req, cb);
|
|
245
251
|
}
|
|
@@ -261,6 +267,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
261
267
|
async DescribeGraphData(req, cb) {
|
|
262
268
|
return this.request("DescribeGraphData", req, cb);
|
|
263
269
|
}
|
|
270
|
+
async ModifyEnvPlan(req, cb) {
|
|
271
|
+
return this.request("ModifyEnvPlan", req, cb);
|
|
272
|
+
}
|
|
264
273
|
async DescribeActivityRecord(req, cb) {
|
|
265
274
|
return this.request("DescribeActivityRecord", req, cb);
|
|
266
275
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeEnvLimitResponse, ListTablesResponse, CheckTcbServiceResponse, DescribeCloudBaseRunServerVersionRequest, DescribeEnvDealRegionResponse, DeleteCloudBaseRunServerVersionResponse, BindCloudBaseAccessDomainRequest, ModifyClsTopicResponse, DescribeMySQLClusterDetailResponse, CommonServiceAPIResponse, DescribeGraphDataResponse, DescribeEnvLimitRequest, DescribeCloudBaseBuildServiceResponse, DescribeMySQLTaskStatusRequest, UnfreezeCloudBaseRunServersRequest, DescribeCloudBaseRunVersionRequest, ModifyUserResponse, BindCloudBaseAccessDomainResponse, DestroyStaticStoreRequest, ReplaceActivityRecordResponse, DescribeSpecialCostItemsRequest, CreatePostpayPackageRequest, DescribeCurveDataResponse, DescribeBaasPackageListRequest, DescribeAuthDomainsResponse, ModifyCloudBaseGWAPIRequest, ModifyClsTopicRequest, CreateHostingDomainRequest, DescribeCloudBaseRunResourceRequest, DescribeCloudBaseRunServerRequest,
|
|
2
|
+
import { DescribeEnvLimitResponse, ListTablesResponse, CheckTcbServiceResponse, DescribeCloudBaseRunServerVersionRequest, DescribeEnvDealRegionResponse, DeleteCloudBaseRunServerVersionResponse, BindCloudBaseAccessDomainRequest, ModifyEnvPlanRequest, ModifyClsTopicResponse, DescribeMySQLClusterDetailResponse, CommonServiceAPIResponse, DescribeGraphDataResponse, DescribeEnvLimitRequest, DescribeCloudBaseBuildServiceResponse, DescribeMySQLTaskStatusRequest, UnfreezeCloudBaseRunServersRequest, DescribeCloudBaseRunVersionRequest, ModifyUserResponse, BindCloudBaseAccessDomainResponse, DestroyStaticStoreRequest, ReplaceActivityRecordResponse, DescribeSpecialCostItemsRequest, CreatePostpayPackageRequest, DescribeCurveDataResponse, DescribeBaasPackageListRequest, DescribeAuthDomainsResponse, ModifyCloudBaseGWAPIRequest, ModifyClsTopicRequest, CreateHostingDomainRequest, DescribeCloudBaseRunResourceRequest, DescribeCloudBaseRunServerRequest, DescribePostpayFreeQuotasRequest, DeleteGatewayVersionRequest, ModifyDatabaseACLRequest, DescribeCloudBaseRunServerVersionResponse, DescribeGatewayVersionsResponse, DescribeSmsQuotasRequest, DescribeHostingDomainTaskRequest, FreezeCloudBaseRunServersRequest, RenewEnvRequest, ModifyGatewayVersionTrafficRequest, DescribeQuotaDataResponse, CreateBillDealResponse, DescribeGatewayCurveDataResponse, CreateEnvResponse, CommonServiceAPIRequest, ModifyCloudBaseRunServerFlowConfRequest, DescribeActivityRecordResponse, CreateUserResponse, DescribeEnvAccountCircleRequest, RenewEnvResponse, DescribeMySQLClusterDetailRequest, CreateStaticStoreRequest, DeleteCloudBaseProjectLatestVersionResponse, DescribeGatewayCurveDataRequest, DescribeGraphDataRequest, DescribeBillingInfoResponse, CreateAuthDomainResponse, DescribeEnvsRequest, ModifyDatabaseACLResponse, DeleteWxGatewayRouteRequest, EditAuthConfigResponse, EstablishWxGatewayRouteRequest, DescribeEnvPostpaidDeductRequest, DestroyMySQLResponse, UpdateTableResponse, DescribeExtraPkgBillingInfoRequest, BindEnvGatewayResponse, DescribeWxGatewaysRequest, DescribeEnvFreeQuotaRequest, ModifyEnvPlanResponse, DescribeExtensionUploadInfoRequest, DescribeCreateMySQLResultRequest, DescribeBillingInfoRequest, CreateCloudBaseRunResourceResponse, DestroyStaticStoreResponse, DeleteUsersResponse, DescribeUserListResponse, CreateTableRequest, CreateMySQLResponse, ModifyCloudBaseRunServerFlowConfResponse, DescribeDownloadFileResponse, DeleteTableRequest, EstablishCloudBaseRunServerResponse, CreateCloudBaseGWAPIRequest, DestroyEnvRequest, DestroyEnvResponse, CreateBillDealRequest, RunSqlRequest, DestroyMySQLRequest, DescribeEnvsResponse, DescribePostpayPackageFreeQuotasRequest, CreateAuthDomainRequest, DescribeEnvPostpaidDeductResponse, CreateHostingDomainResponse, RunSqlResponse, DescribeActivityRecordRequest, DeleteCloudBaseRunServerVersionRequest, CreateCloudBaseRunServerVersionRequest, DeleteCloudBaseGWAPIRequest, CreateCloudBaseGWAPIResponse, DescribeCreateMySQLResultResponse, DescribeSafeRuleRequest, DeleteUsersRequest, CreatePostpayPackageResponse, DescribeBaasPackageListResponse, ReplaceActivityRecordRequest, DeleteWxGatewayRouteResponse, DescribeCloudBaseProjectVersionListResponse, DescribeSafeRuleResponse, EstablishCloudBaseRunServerRequest, DescribeCloudBaseProjectVersionListRequest, ReinstateEnvResponse, DescribeSpecialCostItemsResponse, DescribeStaticStoreRequest, DescribeWxGatewayRoutesRequest, ModifyCloudBaseGWAPIResponse, DescribeDownloadFileRequest, DescribeTablesResponse, DescribeEnvAccountCircleResponse, DescribeEnvFreeQuotaResponse, CreateAndDeployCloudBaseProjectResponse, DescribeCloudBaseRunResourceForExtendResponse, CreateAndDeployCloudBaseProjectRequest, ModifyCloudBaseRunServerVersionRequest, DescribeCloudBaseGWAPIResponse, UnfreezeCloudBaseRunServersResponse, DescribeCloudBaseGWAPIRequest, CreateMySQLRequest, DescribeWxGatewayRoutesResponse, DescribeCloudBaseGWServiceResponse, DeleteGatewayVersionResponse, EstablishWxGatewayRouteResponse, CreateUserRequest, CreateCloudBaseRunServerVersionResponse, DescribeMySQLTaskStatusResponse, DeleteCloudBaseProjectLatestVersionRequest, DescribeCloudBaseProjectLatestVersionListResponse, DescribeWxGatewaysResponse, DeleteCloudBaseGWDomainRequest, DescribeGatewayVersionsRequest, DescribeSmsQuotasResponse, DescribeTablesRequest, DescribeUserListRequest, DescribeCurveDataRequest, CreateTableResponse, DescribeStaticStoreResponse, BindEnvGatewayRequest, ModifyEnvResponse, DescribeCbrServerVersionResponse, ListTablesRequest, DescribeQuotaDataRequest, CreateStaticStoreResponse, EditAuthConfigRequest, DescribeCloudBaseRunResourceResponse, DescribeCloudBaseRunVersionSnapshotRequest, BindCloudBaseGWDomainResponse, DescribeTableRequest, DescribeUserActivityInfoResponse, DescribePostpayFreeQuotasResponse, ModifyGatewayVersionTrafficResponse, DescribeCloudBaseProjectLatestVersionListRequest, DescribeHostingDomainTaskResponse, DescribeTableResponse, DeleteTableResponse, DescribeCloudBaseRunVersionResponse, DescribeCbrServerVersionRequest, SearchClsLogResponse, DescribeCloudBaseGWServiceRequest, DescribeCloudBaseRunResourceForExtendRequest, DescribeCloudBaseBuildServiceRequest, SearchClsLogRequest, CheckTcbServiceRequest, DescribeCloudBaseRunServerResponse, DescribeDatabaseACLRequest, DescribeUserActivityInfoRequest, DeleteCloudBaseGWAPIResponse, CreateEnvRequest, DescribeCloudBaseRunVersionSnapshotResponse, ReinstateEnvRequest, CreateCloudBaseRunResourceRequest, DescribeAuthDomainsRequest, FreezeCloudBaseRunServersResponse, DescribeEnvDealRegionRequest, UpdateTableRequest, DeleteCloudBaseGWDomainResponse, DescribeDatabaseACLResponse, ModifyCloudBaseRunServerVersionResponse, DescribeExtensionUploadInfoResponse, ModifyEnvRequest, ModifyUserRequest, DescribePostpayPackageFreeQuotasResponse, BindCloudBaseGWDomainRequest, DescribeExtraPkgBillingInfoResponse } from "./tcb_models";
|
|
3
3
|
/**
|
|
4
4
|
* tcb client
|
|
5
5
|
* @class
|
|
@@ -117,13 +117,26 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
117
117
|
* 开通Mysql
|
|
118
118
|
*/
|
|
119
119
|
CreateMySQL(req: CreateMySQLRequest, cb?: (error: string, rep: CreateMySQLResponse) => void): Promise<CreateMySQLResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* 本接口用于购买云开发环境。
|
|
122
|
+
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
123
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
124
|
+
环境下单成功之后会返回EnvId。EnvId是全局唯一表示。
|
|
125
|
+
环境发货是异步行为,后续可以通过接口 [DescribeEnvs ](https://cloud.tencent.com/document/product/876/34820) 查询环境状态和各项资源信息;通过 [DescribeBillingInfo](https://cloud.tencent.com/document/product/876/94390) 查询环境套餐信息,包括 到期时间、当前套餐等。
|
|
126
|
+
*/
|
|
127
|
+
CreateEnv(req: CreateEnvRequest, cb?: (error: string, rep: CreateEnvResponse) => void): Promise<CreateEnvResponse>;
|
|
120
128
|
/**
|
|
121
129
|
* 设置网关版本的流量比例
|
|
122
130
|
*/
|
|
123
131
|
ModifyGatewayVersionTraffic(req: ModifyGatewayVersionTrafficRequest, cb?: (error: string, rep: ModifyGatewayVersionTrafficResponse) => void): Promise<ModifyGatewayVersionTrafficResponse>;
|
|
124
132
|
/**
|
|
125
|
-
|
|
126
|
-
|
|
133
|
+
* 增加安全域名。
|
|
134
|
+
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
135
|
+
可以通过接口 [DescribeAuthDomains](https://cloud.tencent.com/document/product/876/42151) 获取当前已绑定生效的安全域名。
|
|
136
|
+
|
|
137
|
+
注意⚠️
|
|
138
|
+
安全域名绑定成功之后,需要几分钟时间逐步生效。
|
|
139
|
+
*/
|
|
127
140
|
CreateAuthDomain(req: CreateAuthDomainRequest, cb?: (error: string, rep: CreateAuthDomainResponse) => void): Promise<CreateAuthDomainResponse>;
|
|
128
141
|
/**
|
|
129
142
|
* 获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数
|
|
@@ -158,8 +171,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
158
171
|
*/
|
|
159
172
|
ListTables(req: ListTablesRequest, cb?: (error: string, rep: ListTablesResponse) => void): Promise<ListTablesResponse>;
|
|
160
173
|
/**
|
|
161
|
-
|
|
162
|
-
|
|
174
|
+
* 查询数据库安全规则。
|
|
175
|
+
安全规则,用于控制C端用户的访问权限。详见 [安全规则介绍](https://cloud.tencent.com/document/product/876/123478) 。
|
|
176
|
+
*/
|
|
163
177
|
DescribeSafeRule(req: DescribeSafeRuleRequest, cb?: (error: string, rep: DescribeSafeRuleResponse) => void): Promise<DescribeSafeRuleResponse>;
|
|
164
178
|
/**
|
|
165
179
|
* 查询Mysql任务状态
|
|
@@ -186,8 +200,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
186
200
|
*/
|
|
187
201
|
DescribeCloudBaseRunVersionSnapshot(req: DescribeCloudBaseRunVersionSnapshotRequest, cb?: (error: string, rep: DescribeCloudBaseRunVersionSnapshotResponse) => void): Promise<DescribeCloudBaseRunVersionSnapshotResponse>;
|
|
188
202
|
/**
|
|
189
|
-
|
|
190
|
-
|
|
203
|
+
* 创建云开发产品计费订单,用于以下几种场景:
|
|
204
|
+
1. 购买云开发环境
|
|
205
|
+
2. 续费云开发环境
|
|
206
|
+
3. 变更云开发环境套餐
|
|
207
|
+
4. 购买云开发资源包
|
|
208
|
+
5. 购买云开发大促包
|
|
209
|
+
|
|
210
|
+
该接口支持下单并支付(CreateAndPay=true时),此时会自动在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
211
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
212
|
+
*/
|
|
191
213
|
CreateBillDeal(req: CreateBillDealRequest, cb?: (error: string, rep: CreateBillDealResponse) => void): Promise<CreateBillDealResponse>;
|
|
192
214
|
/**
|
|
193
215
|
* 根据用户传入的指标, 拉取一段时间内的监控数据。
|
|
@@ -266,23 +288,41 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
266
288
|
*/
|
|
267
289
|
DeleteTable(req: DeleteTableRequest, cb?: (error: string, rep: DeleteTableResponse) => void): Promise<DeleteTableResponse>;
|
|
268
290
|
/**
|
|
269
|
-
|
|
270
|
-
|
|
291
|
+
* 本接口用于销毁云开发环境。
|
|
292
|
+
云开发环境遵循腾讯云包年包月预付费产品生命周期,因此环境销毁需要分两步:
|
|
293
|
+
1. 资源退费。此时会根据当前环境剩余有效期,自动退还相关费用(代金券不退)。退款后,环境进入隔离期。
|
|
294
|
+
2. 环境删除。环境在进入隔离期后15天会自动删除。也可以通过本接口,指定 IsForce=true 来强制删除隔离期环境。
|
|
295
|
+
|
|
296
|
+
**注意**⚠️
|
|
297
|
+
1. 环境退费后进入隔离期,则所有资源均无法访问,控制台无法操作和管理。
|
|
298
|
+
2. 环境被彻底删除后,所有数据均无法找回。请谨慎操作。
|
|
299
|
+
|
|
300
|
+
可以通过接口 [tcb:DescribeBillingInfo](https://cloud.tencent.com/document/product/876/94390) 查询环境计费状态。
|
|
301
|
+
*/
|
|
271
302
|
DestroyEnv(req: DestroyEnvRequest, cb?: (error: string, rep: DestroyEnvResponse) => void): Promise<DestroyEnvResponse>;
|
|
272
303
|
/**
|
|
273
304
|
* 销毁Mysql
|
|
274
305
|
*/
|
|
275
306
|
DestroyMySQL(req: DestroyMySQLRequest, cb?: (error: string, rep: DestroyMySQLResponse) => void): Promise<DestroyMySQLResponse>;
|
|
276
307
|
/**
|
|
277
|
-
|
|
278
|
-
|
|
308
|
+
* 查询环境计费周期。
|
|
309
|
+
云开发环境的资源点都是按月结算的,每个月都有一定的抵扣额度。
|
|
310
|
+
|
|
311
|
+
例如:
|
|
312
|
+
某个环境在 2026-01-05 购买了3个月个人版(到期时间: 2026-04-05),则他可以在以下3个周期内,分别享有40000资源点的额度:
|
|
313
|
+
1. 2026-01-05 ~ 2026-02-05 23:59:59
|
|
314
|
+
2. 2026-02-06 ~ 2026-03-05 23:59:59
|
|
315
|
+
3. 2026-03-06 ~ 2026-04-05 23:59:59
|
|
316
|
+
|
|
317
|
+
本接口,用于获取环境当前属于哪个计费周期内。
|
|
318
|
+
*/
|
|
279
319
|
DescribeEnvAccountCircle(req: DescribeEnvAccountCircleRequest, cb?: (error: string, rep: DescribeEnvAccountCircleResponse) => void): Promise<DescribeEnvAccountCircleResponse>;
|
|
280
320
|
/**
|
|
281
321
|
* 查询后付费资源免费量
|
|
282
322
|
*/
|
|
283
323
|
DescribePostpayFreeQuotas(req: DescribePostpayFreeQuotasRequest, cb?: (error: string, rep: DescribePostpayFreeQuotasResponse) => void): Promise<DescribePostpayFreeQuotasResponse>;
|
|
284
324
|
/**
|
|
285
|
-
* 查询开通Mysql
|
|
325
|
+
* 查询开通Mysql结果,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106)
|
|
286
326
|
*/
|
|
287
327
|
DescribeCreateMySQLResult(req: DescribeCreateMySQLResultRequest, cb?: (error: string, rep: DescribeCreateMySQLResultResponse) => void): Promise<DescribeCreateMySQLResultResponse>;
|
|
288
328
|
/**
|
|
@@ -311,8 +351,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
311
351
|
*/
|
|
312
352
|
DescribeDownloadFile(req: DescribeDownloadFileRequest, cb?: (error: string, rep: DescribeDownloadFileResponse) => void): Promise<DescribeDownloadFileResponse>;
|
|
313
353
|
/**
|
|
314
|
-
|
|
315
|
-
|
|
354
|
+
* 本接口用于获取当前环境的安全域名列表。
|
|
355
|
+
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
356
|
+
可以通过接口 [CreateAuthDomain](https://cloud.tencent.com/document/product/876/42764) 增加安全域名。
|
|
357
|
+
*/
|
|
316
358
|
DescribeAuthDomains(req: DescribeAuthDomainsRequest, cb?: (error: string, rep: DescribeAuthDomainsResponse) => void): Promise<DescribeAuthDomainsResponse>;
|
|
317
359
|
/**
|
|
318
360
|
* 批量解冻服务
|
|
@@ -326,6 +368,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
326
368
|
* 获取计费相关信息
|
|
327
369
|
*/
|
|
328
370
|
DescribeBillingInfo(req: DescribeBillingInfoRequest, cb?: (error: string, rep: DescribeBillingInfoResponse) => void): Promise<DescribeBillingInfoResponse>;
|
|
371
|
+
/**
|
|
372
|
+
* 本接口用于云开发环境套餐续费。
|
|
373
|
+
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
374
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
375
|
+
*/
|
|
376
|
+
RenewEnv(req: RenewEnvRequest, cb?: (error: string, rep: RenewEnvResponse) => void): Promise<RenewEnvResponse>;
|
|
329
377
|
/**
|
|
330
378
|
* 针对已隔离的免费环境,可以通过本接口将其恢复访问。
|
|
331
379
|
*/
|
|
@@ -354,12 +402,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
354
402
|
* 根据用户传入的指标, 拉取一段时间内的监控数据。
|
|
355
403
|
*/
|
|
356
404
|
DescribeGraphData(req: DescribeGraphDataRequest, cb?: (error: string, rep: DescribeGraphDataResponse) => void): Promise<DescribeGraphDataResponse>;
|
|
405
|
+
/**
|
|
406
|
+
* 本接口用于变更云开发环境套餐。
|
|
407
|
+
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
408
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
409
|
+
*/
|
|
410
|
+
ModifyEnvPlan(req: ModifyEnvPlanRequest, cb?: (error: string, rep: ModifyEnvPlanResponse) => void): Promise<ModifyEnvPlanResponse>;
|
|
357
411
|
/**
|
|
358
412
|
* 查询活动记录信息
|
|
359
413
|
*/
|
|
360
414
|
DescribeActivityRecord(req: DescribeActivityRecordRequest, cb?: (error: string, rep: DescribeActivityRecordResponse) => void): Promise<DescribeActivityRecordResponse>;
|
|
361
415
|
/**
|
|
362
|
-
*
|
|
416
|
+
* 搜索用户调用日志
|
|
363
417
|
*/
|
|
364
418
|
SearchClsLog(req: SearchClsLogRequest, cb?: (error: string, rep: SearchClsLogResponse) => void): Promise<SearchClsLogResponse>;
|
|
365
419
|
/**
|
|
@@ -193,6 +193,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
193
193
|
async CreateMySQL(req, cb) {
|
|
194
194
|
return this.request("CreateMySQL", req, cb);
|
|
195
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* 本接口用于购买云开发环境。
|
|
198
|
+
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
199
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
200
|
+
环境下单成功之后会返回EnvId。EnvId是全局唯一表示。
|
|
201
|
+
环境发货是异步行为,后续可以通过接口 [DescribeEnvs ](https://cloud.tencent.com/document/product/876/34820) 查询环境状态和各项资源信息;通过 [DescribeBillingInfo](https://cloud.tencent.com/document/product/876/94390) 查询环境套餐信息,包括 到期时间、当前套餐等。
|
|
202
|
+
*/
|
|
203
|
+
async CreateEnv(req, cb) {
|
|
204
|
+
return this.request("CreateEnv", req, cb);
|
|
205
|
+
}
|
|
196
206
|
/**
|
|
197
207
|
* 设置网关版本的流量比例
|
|
198
208
|
*/
|
|
@@ -200,8 +210,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
200
210
|
return this.request("ModifyGatewayVersionTraffic", req, cb);
|
|
201
211
|
}
|
|
202
212
|
/**
|
|
203
|
-
|
|
204
|
-
|
|
213
|
+
* 增加安全域名。
|
|
214
|
+
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
215
|
+
可以通过接口 [DescribeAuthDomains](https://cloud.tencent.com/document/product/876/42151) 获取当前已绑定生效的安全域名。
|
|
216
|
+
|
|
217
|
+
注意⚠️
|
|
218
|
+
安全域名绑定成功之后,需要几分钟时间逐步生效。
|
|
219
|
+
*/
|
|
205
220
|
async CreateAuthDomain(req, cb) {
|
|
206
221
|
return this.request("CreateAuthDomain", req, cb);
|
|
207
222
|
}
|
|
@@ -254,8 +269,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
254
269
|
return this.request("ListTables", req, cb);
|
|
255
270
|
}
|
|
256
271
|
/**
|
|
257
|
-
|
|
258
|
-
|
|
272
|
+
* 查询数据库安全规则。
|
|
273
|
+
安全规则,用于控制C端用户的访问权限。详见 [安全规则介绍](https://cloud.tencent.com/document/product/876/123478) 。
|
|
274
|
+
*/
|
|
259
275
|
async DescribeSafeRule(req, cb) {
|
|
260
276
|
return this.request("DescribeSafeRule", req, cb);
|
|
261
277
|
}
|
|
@@ -296,8 +312,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
296
312
|
return this.request("DescribeCloudBaseRunVersionSnapshot", req, cb);
|
|
297
313
|
}
|
|
298
314
|
/**
|
|
299
|
-
|
|
300
|
-
|
|
315
|
+
* 创建云开发产品计费订单,用于以下几种场景:
|
|
316
|
+
1. 购买云开发环境
|
|
317
|
+
2. 续费云开发环境
|
|
318
|
+
3. 变更云开发环境套餐
|
|
319
|
+
4. 购买云开发资源包
|
|
320
|
+
5. 购买云开发大促包
|
|
321
|
+
|
|
322
|
+
该接口支持下单并支付(CreateAndPay=true时),此时会自动在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
323
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
324
|
+
*/
|
|
301
325
|
async CreateBillDeal(req, cb) {
|
|
302
326
|
return this.request("CreateBillDeal", req, cb);
|
|
303
327
|
}
|
|
@@ -416,8 +440,17 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
416
440
|
return this.request("DeleteTable", req, cb);
|
|
417
441
|
}
|
|
418
442
|
/**
|
|
419
|
-
|
|
420
|
-
|
|
443
|
+
* 本接口用于销毁云开发环境。
|
|
444
|
+
云开发环境遵循腾讯云包年包月预付费产品生命周期,因此环境销毁需要分两步:
|
|
445
|
+
1. 资源退费。此时会根据当前环境剩余有效期,自动退还相关费用(代金券不退)。退款后,环境进入隔离期。
|
|
446
|
+
2. 环境删除。环境在进入隔离期后15天会自动删除。也可以通过本接口,指定 IsForce=true 来强制删除隔离期环境。
|
|
447
|
+
|
|
448
|
+
**注意**⚠️
|
|
449
|
+
1. 环境退费后进入隔离期,则所有资源均无法访问,控制台无法操作和管理。
|
|
450
|
+
2. 环境被彻底删除后,所有数据均无法找回。请谨慎操作。
|
|
451
|
+
|
|
452
|
+
可以通过接口 [tcb:DescribeBillingInfo](https://cloud.tencent.com/document/product/876/94390) 查询环境计费状态。
|
|
453
|
+
*/
|
|
421
454
|
async DestroyEnv(req, cb) {
|
|
422
455
|
return this.request("DestroyEnv", req, cb);
|
|
423
456
|
}
|
|
@@ -428,8 +461,17 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
428
461
|
return this.request("DestroyMySQL", req, cb);
|
|
429
462
|
}
|
|
430
463
|
/**
|
|
431
|
-
|
|
432
|
-
|
|
464
|
+
* 查询环境计费周期。
|
|
465
|
+
云开发环境的资源点都是按月结算的,每个月都有一定的抵扣额度。
|
|
466
|
+
|
|
467
|
+
例如:
|
|
468
|
+
某个环境在 2026-01-05 购买了3个月个人版(到期时间: 2026-04-05),则他可以在以下3个周期内,分别享有40000资源点的额度:
|
|
469
|
+
1. 2026-01-05 ~ 2026-02-05 23:59:59
|
|
470
|
+
2. 2026-02-06 ~ 2026-03-05 23:59:59
|
|
471
|
+
3. 2026-03-06 ~ 2026-04-05 23:59:59
|
|
472
|
+
|
|
473
|
+
本接口,用于获取环境当前属于哪个计费周期内。
|
|
474
|
+
*/
|
|
433
475
|
async DescribeEnvAccountCircle(req, cb) {
|
|
434
476
|
return this.request("DescribeEnvAccountCircle", req, cb);
|
|
435
477
|
}
|
|
@@ -440,7 +482,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
440
482
|
return this.request("DescribePostpayFreeQuotas", req, cb);
|
|
441
483
|
}
|
|
442
484
|
/**
|
|
443
|
-
* 查询开通Mysql
|
|
485
|
+
* 查询开通Mysql结果,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106)
|
|
444
486
|
*/
|
|
445
487
|
async DescribeCreateMySQLResult(req, cb) {
|
|
446
488
|
return this.request("DescribeCreateMySQLResult", req, cb);
|
|
@@ -483,8 +525,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
483
525
|
return this.request("DescribeDownloadFile", req, cb);
|
|
484
526
|
}
|
|
485
527
|
/**
|
|
486
|
-
|
|
487
|
-
|
|
528
|
+
* 本接口用于获取当前环境的安全域名列表。
|
|
529
|
+
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
530
|
+
可以通过接口 [CreateAuthDomain](https://cloud.tencent.com/document/product/876/42764) 增加安全域名。
|
|
531
|
+
*/
|
|
488
532
|
async DescribeAuthDomains(req, cb) {
|
|
489
533
|
return this.request("DescribeAuthDomains", req, cb);
|
|
490
534
|
}
|
|
@@ -506,6 +550,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
506
550
|
async DescribeBillingInfo(req, cb) {
|
|
507
551
|
return this.request("DescribeBillingInfo", req, cb);
|
|
508
552
|
}
|
|
553
|
+
/**
|
|
554
|
+
* 本接口用于云开发环境套餐续费。
|
|
555
|
+
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
556
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
557
|
+
*/
|
|
558
|
+
async RenewEnv(req, cb) {
|
|
559
|
+
return this.request("RenewEnv", req, cb);
|
|
560
|
+
}
|
|
509
561
|
/**
|
|
510
562
|
* 针对已隔离的免费环境,可以通过本接口将其恢复访问。
|
|
511
563
|
*/
|
|
@@ -548,6 +600,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
548
600
|
async DescribeGraphData(req, cb) {
|
|
549
601
|
return this.request("DescribeGraphData", req, cb);
|
|
550
602
|
}
|
|
603
|
+
/**
|
|
604
|
+
* 本接口用于变更云开发环境套餐。
|
|
605
|
+
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
606
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
607
|
+
*/
|
|
608
|
+
async ModifyEnvPlan(req, cb) {
|
|
609
|
+
return this.request("ModifyEnvPlan", req, cb);
|
|
610
|
+
}
|
|
551
611
|
/**
|
|
552
612
|
* 查询活动记录信息
|
|
553
613
|
*/
|
|
@@ -555,7 +615,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
555
615
|
return this.request("DescribeActivityRecord", req, cb);
|
|
556
616
|
}
|
|
557
617
|
/**
|
|
558
|
-
*
|
|
618
|
+
* 搜索用户调用日志
|
|
559
619
|
*/
|
|
560
620
|
async SearchClsLog(req, cb) {
|
|
561
621
|
return this.request("SearchClsLog", req, cb);
|
|
@@ -281,6 +281,24 @@ export interface BindCloudBaseAccessDomainRequest {
|
|
|
281
281
|
*/
|
|
282
282
|
CustomCname?: string;
|
|
283
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* ModifyEnvPlan请求参数结构体
|
|
286
|
+
*/
|
|
287
|
+
export interface ModifyEnvPlanRequest {
|
|
288
|
+
/**
|
|
289
|
+
* 所需变更套餐的环境ID
|
|
290
|
+
*/
|
|
291
|
+
EnvId: string;
|
|
292
|
+
/**
|
|
293
|
+
* 目标套餐Id。
|
|
294
|
+
对于云开发环境套餐,可通过 [DescribeBaasPackageList](https://cloud.tencent.com/document/product/876/78167) 接口获取,对应其出参的PackageName
|
|
295
|
+
*/
|
|
296
|
+
PackageId: string;
|
|
297
|
+
/**
|
|
298
|
+
* 是否自动选择代金券支付。
|
|
299
|
+
*/
|
|
300
|
+
AutoVoucher?: boolean;
|
|
301
|
+
}
|
|
284
302
|
/**
|
|
285
303
|
* http访问服务客户端限频
|
|
286
304
|
*/
|
|
@@ -923,6 +941,10 @@ export interface DescribeCurveDataResponse {
|
|
|
923
941
|
* 有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到
|
|
924
942
|
*/
|
|
925
943
|
NewValues?: Array<number>;
|
|
944
|
+
/**
|
|
945
|
+
* 聚合方式
|
|
946
|
+
*/
|
|
947
|
+
Statistics?: string;
|
|
926
948
|
/**
|
|
927
949
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
928
950
|
*/
|
|
@@ -1174,23 +1196,6 @@ export interface CloudBaseRunVolumeMount {
|
|
|
1174
1196
|
*/
|
|
1175
1197
|
MountPropagation?: string;
|
|
1176
1198
|
}
|
|
1177
|
-
/**
|
|
1178
|
-
* CreatePostpayPackage返回参数结构体
|
|
1179
|
-
*/
|
|
1180
|
-
export interface CreatePostpayPackageResponse {
|
|
1181
|
-
/**
|
|
1182
|
-
* 后付费订单号
|
|
1183
|
-
*/
|
|
1184
|
-
TranId?: string;
|
|
1185
|
-
/**
|
|
1186
|
-
* 环境ID
|
|
1187
|
-
*/
|
|
1188
|
-
EnvId?: string;
|
|
1189
|
-
/**
|
|
1190
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1191
|
-
*/
|
|
1192
|
-
RequestId?: string;
|
|
1193
|
-
}
|
|
1194
1199
|
/**
|
|
1195
1200
|
* DescribePostpayFreeQuotas请求参数结构体
|
|
1196
1201
|
*/
|
|
@@ -1529,6 +1534,24 @@ export interface DescribeUserListResp {
|
|
|
1529
1534
|
*/
|
|
1530
1535
|
UserList?: Array<User>;
|
|
1531
1536
|
}
|
|
1537
|
+
/**
|
|
1538
|
+
* RenewEnv请求参数结构体
|
|
1539
|
+
*/
|
|
1540
|
+
export interface RenewEnvRequest {
|
|
1541
|
+
/**
|
|
1542
|
+
* 环境ID
|
|
1543
|
+
*/
|
|
1544
|
+
EnvId: string;
|
|
1545
|
+
/**
|
|
1546
|
+
* 续费周期,单位:月。
|
|
1547
|
+
默认值为 1,即续费1个月。
|
|
1548
|
+
*/
|
|
1549
|
+
Period?: number;
|
|
1550
|
+
/**
|
|
1551
|
+
* 是否自动选择代金券支付。
|
|
1552
|
+
*/
|
|
1553
|
+
AutoVoucher?: boolean;
|
|
1554
|
+
}
|
|
1532
1555
|
/**
|
|
1533
1556
|
* 云开发新套餐详情
|
|
1534
1557
|
*/
|
|
@@ -1714,6 +1737,19 @@ export interface FunctionInfo {
|
|
|
1714
1737
|
*/
|
|
1715
1738
|
Region?: string;
|
|
1716
1739
|
}
|
|
1740
|
+
/**
|
|
1741
|
+
* CreateEnv返回参数结构体
|
|
1742
|
+
*/
|
|
1743
|
+
export interface CreateEnvResponse {
|
|
1744
|
+
/**
|
|
1745
|
+
* 自动生成的环境ID
|
|
1746
|
+
*/
|
|
1747
|
+
EnvId?: string;
|
|
1748
|
+
/**
|
|
1749
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1750
|
+
*/
|
|
1751
|
+
RequestId?: string;
|
|
1752
|
+
}
|
|
1717
1753
|
/**
|
|
1718
1754
|
* 安全网关路由
|
|
1719
1755
|
*/
|
|
@@ -1900,6 +1936,15 @@ export interface DescribeEnvAccountCircleRequest {
|
|
|
1900
1936
|
*/
|
|
1901
1937
|
EnvId: string;
|
|
1902
1938
|
}
|
|
1939
|
+
/**
|
|
1940
|
+
* RenewEnv返回参数结构体
|
|
1941
|
+
*/
|
|
1942
|
+
export interface RenewEnvResponse {
|
|
1943
|
+
/**
|
|
1944
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1945
|
+
*/
|
|
1946
|
+
RequestId?: string;
|
|
1947
|
+
}
|
|
1903
1948
|
/**
|
|
1904
1949
|
* DescribeMySQLClusterDetail请求参数结构体
|
|
1905
1950
|
*/
|
|
@@ -2264,6 +2309,36 @@ export interface CloudBaseCapabilities {
|
|
|
2264
2309
|
*/
|
|
2265
2310
|
Drop?: Array<string>;
|
|
2266
2311
|
}
|
|
2312
|
+
/**
|
|
2313
|
+
* 仓库信息
|
|
2314
|
+
*/
|
|
2315
|
+
export interface CbrRepoInfo {
|
|
2316
|
+
/**
|
|
2317
|
+
* 仓库名称
|
|
2318
|
+
*/
|
|
2319
|
+
Repo?: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* 仓库平台
|
|
2322
|
+
*/
|
|
2323
|
+
RepoType?: string;
|
|
2324
|
+
/**
|
|
2325
|
+
* 仓库语言
|
|
2326
|
+
*/
|
|
2327
|
+
RepoLanguage?: string;
|
|
2328
|
+
/**
|
|
2329
|
+
* 分支名称
|
|
2330
|
+
*/
|
|
2331
|
+
Branch?: string;
|
|
2332
|
+
}
|
|
2333
|
+
/**
|
|
2334
|
+
* ModifyEnvPlan返回参数结构体
|
|
2335
|
+
*/
|
|
2336
|
+
export interface ModifyEnvPlanResponse {
|
|
2337
|
+
/**
|
|
2338
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2339
|
+
*/
|
|
2340
|
+
RequestId?: string;
|
|
2341
|
+
}
|
|
2267
2342
|
/**
|
|
2268
2343
|
* DescribeExtensionUploadInfo请求参数结构体
|
|
2269
2344
|
*/
|
|
@@ -2649,43 +2724,59 @@ export interface CreateBillDealRequest {
|
|
|
2649
2724
|
*/
|
|
2650
2725
|
ProductType: string;
|
|
2651
2726
|
/**
|
|
2652
|
-
* 目标下单产品/套餐Id
|
|
2727
|
+
* 目标下单产品/套餐Id。
|
|
2728
|
+
对于云开发环境套餐,可通过 DescribeBaasPackageList 接口获取,对应其出参的PackageName
|
|
2653
2729
|
*/
|
|
2654
2730
|
PackageId: string;
|
|
2655
2731
|
/**
|
|
2656
|
-
* 默认只下单不支付,为ture
|
|
2732
|
+
* 默认只下单不支付,为ture则下单并支付。
|
|
2733
|
+
如果需要下单并支付,请确保账户下有足够的余额,否则会导致下单失败。
|
|
2657
2734
|
*/
|
|
2658
2735
|
CreateAndPay?: boolean;
|
|
2659
2736
|
/**
|
|
2660
|
-
*
|
|
2737
|
+
* 购买时长,与TimeUnit字段搭配使用。
|
|
2661
2738
|
*/
|
|
2662
2739
|
TimeSpan?: number;
|
|
2663
2740
|
/**
|
|
2664
|
-
* 购买时长单位,按各产品规则可选d(天),m(月),y(年),p(一次性)
|
|
2741
|
+
* 购买时长单位,按各产品规则可选d(天),m(月),y(年),p(一次性)。
|
|
2742
|
+
对于 云开发环境的 新购和续费,目前仅支持 按月购买(即 TimeUnit=m)。
|
|
2665
2743
|
*/
|
|
2666
2744
|
TimeUnit?: string;
|
|
2667
2745
|
/**
|
|
2668
|
-
*
|
|
2746
|
+
* 资源唯一标识。
|
|
2747
|
+
在云开发环境 续费和变配 场景下必传,取值为环境ID。
|
|
2669
2748
|
*/
|
|
2670
2749
|
ResourceId?: string;
|
|
2671
2750
|
/**
|
|
2672
|
-
* 来源可选[qcloud,miniapp],默认qcloud
|
|
2751
|
+
* 来源可选[qcloud,miniapp],默认qcloud。
|
|
2752
|
+
miniapp表示微信云开发,主要适用于[小程序云开发](https://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/billing/price.html)。
|
|
2753
|
+
|
|
2673
2754
|
*/
|
|
2674
2755
|
Source?: string;
|
|
2675
2756
|
/**
|
|
2676
|
-
*
|
|
2757
|
+
* 环境别名,用于新购云开发环境时,给云开发环境起别名。
|
|
2758
|
+
仅当 新购云开发环境(DealType=purchase 并且 ProductType=tcb-baas )时有效。
|
|
2759
|
+
|
|
2760
|
+
### 格式要求
|
|
2761
|
+
- 可选字符: 小写字母(a~z)、数字、减号(-)
|
|
2762
|
+
- 不能以 减号(-) 开头或结尾
|
|
2763
|
+
- 不能有连个连续的 减号(-)
|
|
2764
|
+
- 长度不超过20位
|
|
2677
2765
|
*/
|
|
2678
2766
|
Alias?: string;
|
|
2679
2767
|
/**
|
|
2680
|
-
* 环境id
|
|
2768
|
+
* 环境id,当购买资源包和大促包时(ProductType取值为tcb-promotion 或 tcb-package)必传,表示资源包在哪个环境下生效。
|
|
2681
2769
|
*/
|
|
2682
2770
|
EnvId?: string;
|
|
2683
2771
|
/**
|
|
2684
|
-
*
|
|
2772
|
+
* 开启超限按量。
|
|
2773
|
+
开启后,当 套餐内的资源点 和 资源包 都用尽后,会自动按量计费。
|
|
2774
|
+
详见 [计费说明](https://cloud.tencent.com/document/product/876/127357)。
|
|
2685
2775
|
*/
|
|
2686
2776
|
EnableExcess?: boolean;
|
|
2687
2777
|
/**
|
|
2688
|
-
*
|
|
2778
|
+
* 变配目标套餐id,对于云开发环境变配场景下必传。
|
|
2779
|
+
对于云开发环境套餐,可通过 DescribeBaasPackageList 接口获取,对应其出参的PackageName
|
|
2689
2780
|
*/
|
|
2690
2781
|
ModifyPackageId?: string;
|
|
2691
2782
|
/**
|
|
@@ -2693,7 +2784,7 @@ export interface CreateBillDealRequest {
|
|
|
2693
2784
|
*/
|
|
2694
2785
|
Extension?: string;
|
|
2695
2786
|
/**
|
|
2696
|
-
*
|
|
2787
|
+
* 是否自动选择代金券支付。
|
|
2697
2788
|
*/
|
|
2698
2789
|
AutoVoucher?: boolean;
|
|
2699
2790
|
/**
|
|
@@ -3259,25 +3350,21 @@ export interface DeleteUsersRequest {
|
|
|
3259
3350
|
Uids: Array<string>;
|
|
3260
3351
|
}
|
|
3261
3352
|
/**
|
|
3262
|
-
*
|
|
3353
|
+
* CreatePostpayPackage返回参数结构体
|
|
3263
3354
|
*/
|
|
3264
|
-
export interface
|
|
3265
|
-
/**
|
|
3266
|
-
* 仓库名称
|
|
3267
|
-
*/
|
|
3268
|
-
Repo?: string;
|
|
3355
|
+
export interface CreatePostpayPackageResponse {
|
|
3269
3356
|
/**
|
|
3270
|
-
*
|
|
3357
|
+
* 后付费订单号
|
|
3271
3358
|
*/
|
|
3272
|
-
|
|
3359
|
+
TranId?: string;
|
|
3273
3360
|
/**
|
|
3274
|
-
*
|
|
3361
|
+
* 环境ID
|
|
3275
3362
|
*/
|
|
3276
|
-
|
|
3363
|
+
EnvId?: string;
|
|
3277
3364
|
/**
|
|
3278
|
-
*
|
|
3365
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3279
3366
|
*/
|
|
3280
|
-
|
|
3367
|
+
RequestId?: string;
|
|
3281
3368
|
}
|
|
3282
3369
|
/**
|
|
3283
3370
|
* DescribeBaasPackageList返回参数结构体
|
|
@@ -4047,7 +4134,7 @@ export interface CreateMySQLRequest {
|
|
|
4047
4134
|
*/
|
|
4048
4135
|
EnvId: string;
|
|
4049
4136
|
/**
|
|
4050
|
-
* Db
|
|
4137
|
+
* Db类型: MYSQL
|
|
4051
4138
|
*/
|
|
4052
4139
|
DbInstanceType: string;
|
|
4053
4140
|
/**
|
|
@@ -6022,7 +6109,7 @@ export interface DescribeCreateMySQLResult {
|
|
|
6022
6109
|
*/
|
|
6023
6110
|
FailReason?: string;
|
|
6024
6111
|
/**
|
|
6025
|
-
*
|
|
6112
|
+
* 是否已被冻结(只在 Status=success时有效)
|
|
6026
6113
|
*/
|
|
6027
6114
|
FreezeStatus?: boolean;
|
|
6028
6115
|
}
|
|
@@ -6052,6 +6139,52 @@ export interface Tag {
|
|
|
6052
6139
|
*/
|
|
6053
6140
|
Value: string;
|
|
6054
6141
|
}
|
|
6142
|
+
/**
|
|
6143
|
+
* CreateEnv请求参数结构体
|
|
6144
|
+
*/
|
|
6145
|
+
export interface CreateEnvRequest {
|
|
6146
|
+
/**
|
|
6147
|
+
* 环境别名。
|
|
6148
|
+
|
|
6149
|
+
### 格式要求
|
|
6150
|
+
- 可选字符: 小写字母(a~z)、数字、减号(-)
|
|
6151
|
+
- 不能以 减号(-) 开头或结尾
|
|
6152
|
+
- 不能有连个连续的 减号(-)
|
|
6153
|
+
- 长度不超过20位
|
|
6154
|
+
示例值:cloud
|
|
6155
|
+
*/
|
|
6156
|
+
Alias: string;
|
|
6157
|
+
/**
|
|
6158
|
+
* 云开发环境套餐Id。
|
|
6159
|
+
对于云开发环境套餐,可通过 [DescribeBaasPackageList](https://cloud.tencent.com/document/product/876/78167) 接口获取,对应其出参的PackageName。
|
|
6160
|
+
*/
|
|
6161
|
+
PackageId: string;
|
|
6162
|
+
/**
|
|
6163
|
+
* 资源类型。代表新购环境时需要发货哪些资源。
|
|
6164
|
+
可取值以及含义:
|
|
6165
|
+
- flexdb : 表示文档型数据库
|
|
6166
|
+
- storage : 表示云存储
|
|
6167
|
+
- function : 表示云函数
|
|
6168
|
+
|
|
6169
|
+
**该字段不可为空**
|
|
6170
|
+
*/
|
|
6171
|
+
Resources: Array<string>;
|
|
6172
|
+
/**
|
|
6173
|
+
* 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24。
|
|
6174
|
+
默认值为1,即1个月。
|
|
6175
|
+
*/
|
|
6176
|
+
Period?: number;
|
|
6177
|
+
/**
|
|
6178
|
+
* 是否自动选择代金券支付。
|
|
6179
|
+
*/
|
|
6180
|
+
AutoVoucher?: boolean;
|
|
6181
|
+
/**
|
|
6182
|
+
* 环境标签。
|
|
6183
|
+
可取值通过接口 [tag:DescribeTags](https://cloud.tencent.com/document/product/651/35316) 可获取到。
|
|
6184
|
+
不传或为空则默认不打任何标签。
|
|
6185
|
+
*/
|
|
6186
|
+
Tags?: Array<Tag>;
|
|
6187
|
+
}
|
|
6055
6188
|
/**
|
|
6056
6189
|
* DescribeCloudBaseRunVersionSnapshot返回参数结构体
|
|
6057
6190
|
*/
|