tencentcloud-sdk-nodejs-tcb 4.1.317 → 4.1.320
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,8 +33,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
33
33
|
async DescribeClient(req, cb) {
|
|
34
34
|
return this.request("DescribeClient", req, cb);
|
|
35
35
|
}
|
|
36
|
-
async
|
|
37
|
-
return this.request("
|
|
36
|
+
async GetFunction(req, cb) {
|
|
37
|
+
return this.request("GetFunction", req, cb);
|
|
38
38
|
}
|
|
39
39
|
async DescribeBaasPackageList(req, cb) {
|
|
40
40
|
return this.request("DescribeBaasPackageList", req, cb);
|
|
@@ -135,15 +135,21 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
135
135
|
async ModifyHTTPServiceRoute(req, cb) {
|
|
136
136
|
return this.request("ModifyHTTPServiceRoute", req, cb);
|
|
137
137
|
}
|
|
138
|
+
async CreatePlatformHTTPServiceRoute(req, cb) {
|
|
139
|
+
return this.request("CreatePlatformHTTPServiceRoute", req, cb);
|
|
140
|
+
}
|
|
138
141
|
async DescribeLoginConfig(req, cb) {
|
|
139
142
|
return this.request("DescribeLoginConfig", req, cb);
|
|
140
143
|
}
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
144
|
+
async DescribePlatformHTTPServiceRoute(req, cb) {
|
|
145
|
+
return this.request("DescribePlatformHTTPServiceRoute", req, cb);
|
|
143
146
|
}
|
|
144
147
|
async DeleteProvider(req, cb) {
|
|
145
148
|
return this.request("DeleteProvider", req, cb);
|
|
146
149
|
}
|
|
150
|
+
async ModifyPlatformHTTPServiceRoute(req, cb) {
|
|
151
|
+
return this.request("ModifyPlatformHTTPServiceRoute", req, cb);
|
|
152
|
+
}
|
|
147
153
|
async CreateApiKey(req, cb) {
|
|
148
154
|
return this.request("CreateApiKey", req, cb);
|
|
149
155
|
}
|
|
@@ -195,11 +201,14 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
195
201
|
async CreateCloudApp(req, cb) {
|
|
196
202
|
return this.request("CreateCloudApp", req, cb);
|
|
197
203
|
}
|
|
204
|
+
async ModifyResourcePermission(req, cb) {
|
|
205
|
+
return this.request("ModifyResourcePermission", req, cb);
|
|
206
|
+
}
|
|
198
207
|
async DescribePGUserMigration(req, cb) {
|
|
199
208
|
return this.request("DescribePGUserMigration", req, cb);
|
|
200
209
|
}
|
|
201
|
-
async
|
|
202
|
-
return this.request("
|
|
210
|
+
async DescribeManagedAIModelList(req, cb) {
|
|
211
|
+
return this.request("DescribeManagedAIModelList", req, cb);
|
|
203
212
|
}
|
|
204
213
|
async CreateHostingDomain(req, cb) {
|
|
205
214
|
return this.request("CreateHostingDomain", req, cb);
|
|
@@ -222,6 +231,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
222
231
|
async DescribePlatformCreditsUsage(req, cb) {
|
|
223
232
|
return this.request("DescribePlatformCreditsUsage", req, cb);
|
|
224
233
|
}
|
|
234
|
+
async VerifyPlatformHTTPServiceRoute(req, cb) {
|
|
235
|
+
return this.request("VerifyPlatformHTTPServiceRoute", req, cb);
|
|
236
|
+
}
|
|
225
237
|
async DownloadFunction(req, cb) {
|
|
226
238
|
return this.request("DownloadFunction", req, cb);
|
|
227
239
|
}
|
|
@@ -354,6 +366,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
354
366
|
async DescribeEnvPlans(req, cb) {
|
|
355
367
|
return this.request("DescribeEnvPlans", req, cb);
|
|
356
368
|
}
|
|
369
|
+
async DeletePlatformHTTPServiceRoute(req, cb) {
|
|
370
|
+
return this.request("DeletePlatformHTTPServiceRoute", req, cb);
|
|
371
|
+
}
|
|
357
372
|
async ModifyProvider(req, cb) {
|
|
358
373
|
return this.request("ModifyProvider", req, cb);
|
|
359
374
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeCloudAppCosInfoRequest, DeleteProviderResponse, DescribeEnvLimitRequest, DescribeTablesResponse, DescribeHTTPServiceRouteRequest, ModifyClsTopicRequest, CreateHTTPServiceRouteRequest, CreatePlatformEnvRequest, UnbindStorageSourceResponse, ModifyDatabaseACLRequest, DestroyStaticStoreRequest, DescribePlatformEnvUsageResponse, DescribeHTTPServiceRouteResponse, GetFunctionRequest, ModifyPlatformEnvResponse, RunCommandsResponse, RunSqlResponse, RenewEnvResponse, UpdateFunctionCodeRequest, CreateAuthDomainResponse, DestroyMySQLResponse, ModifyProviderResponse, CreateAIModelResponse, DeleteUsersResponse, DescribeLoginConfigResponse, DeleteApiKeyRequest, ModifyProviderRequest, DescribeCloudAppVersionResponse, DeleteTableResponse, DestroyMySQLRequest, CreateAuthDomainRequest, CreateHostingDomainResponse, CreateFunctionRequest, CreateStaticStoreResponse, DeleteCloudAppRequest, ModifyLoginConfigRequest,
|
|
2
|
+
import { DescribeCloudAppCosInfoRequest, DeleteProviderResponse, DescribeEnvLimitRequest, DeletePlatformHTTPServiceRouteRequest, DescribeTablesResponse, DescribeHTTPServiceRouteRequest, ModifyClsTopicRequest, CreateHTTPServiceRouteRequest, CreatePlatformEnvRequest, UnbindStorageSourceResponse, ModifyDatabaseACLRequest, DestroyStaticStoreRequest, DescribePlatformEnvUsageResponse, DescribeHTTPServiceRouteResponse, GetFunctionRequest, ModifyPlatformEnvResponse, RunCommandsResponse, RunSqlResponse, RenewEnvResponse, UpdateFunctionCodeRequest, CreateAuthDomainResponse, DestroyMySQLResponse, ModifyProviderResponse, CreateAIModelResponse, DeleteUsersResponse, DescribeLoginConfigResponse, DeleteApiKeyRequest, ModifyProviderRequest, DescribeCloudAppVersionResponse, DeleteTableResponse, DestroyMySQLRequest, CreateAuthDomainRequest, CreateHostingDomainResponse, CreateFunctionRequest, CreateStaticStoreResponse, DeleteCloudAppRequest, ModifyLoginConfigRequest, PushPGUserMigrationsRequest, DescribeApiKeyListRequest, DescribeStaticStoreRequest, AssumeRoleForAllocatedEnvResponse, CreateTableResponse, PreviewPGUserMigrationsRequest, GetFunctionResponse, DescribeDatabaseACLRequest, VerifyHTTPServiceRouteResponse, AssumeRoleForAllocatedEnvRequest, DescribeTablesRequest, DescribeCurveDataRequest, ModifyResourcePermissionResponse, DescribeTableRequest, DescribeCloudAppCosInfoResponse, DescribePlatformCreditsUsageResponse, DescribeHTTPServiceCachePurgeTaskRequest, CreateCustomLoginKeyResponse, ModifyClientRequest, DeletePlatformHTTPServiceRouteResponse, CheckTcbServiceRequest, DescribeManagedAIModelListResponse, DownloadFunctionRequest, PushPGUserMigrationsResponse, BindStorageSourceResponse, ModifyEnvRequest, ModifyUserRequest, UpdateFunctionCodeResponse, DescribePlatformHTTPServiceRouteRequest, ModifyLoginConfigResponse, BindStorageSourceRequest, CheckTcbServiceResponse, DeleteCloudAppVersionResponse, DescribeCloudBaseRunServerVersionRequest, ModifyEnvPlanRequest, DescribeCloudAppVersionListResponse, DescribeCloudBaseBuildServiceResponse, ModifyUserResponse, DescribeCloudAppListRequest, ModifyEnvResponse, DescribeCloudBaseRunBuildLogRequest, DescribeCurveDataResponse, DescribePGUserMigrationResponse, ListPGUserMigrationsRequest, DescribeSafeRuleRequest, ModifyHTTPServiceRouteRequest, DescribeApiKeyListResponse, ExecutePGSqlResponse, DescribeCreditsUsageRequest, DescribeMySQLClusterDetailRequest, ModifyEnvExtraRequest, CreateStaticStoreRequest, DescribeBillingInfoResponse, DescribeEnvsRequest, ResetPGAccountPasswordResponse, CreateCustomLoginKeyRequest, DescribeCreateMySQLResultRequest, DescribeBillingInfoRequest, BindClsResponse, DescribeUserListResponse, ModifyResourcePermissionRequest, UpdateTableRequest, AddProviderResponse, ModifyPGInstanceSpecResponse, DescribeCreateMySQLResultResponse, DeleteUsersRequest, SearchClsLogResponse, PreviewPGUserMigrationsResponse, CreateMySQLRequest, CreateCloudAppResponse, DescribeMySQLTaskStatusResponse, ModifyPlatformHTTPServiceRouteResponse, DeleteAIModelRequest, CreateEnvResourceResponse, DescribeUserListRequest, BindClsRequest, DescribeResourcePermissionRequest, ModifySafeRuleResponse, DeleteCloudAppVersionRequest, DescribeCloudAppInfoResponse, CreateHTTPServiceRouteResponse, ListFunctionsResponse, CreateEnvRequest, DescribePlatformAccountCircleResponse, DescribeEnvPlansResponse, DescribePlatformCreditsUsageDetailRequest, DeleteProviderRequest, DescribeCreditsUsageDetailRequest, DescribeCloudAppVersionListRequest, DescribeResourcePermissionResponse, GetProvidersRequest, ModifySafeRuleRequest, AddProviderRequest, AllocateEnvResponse, UpdateFunctionConfigurationResponse, DescribeBaasPackageListRequest, DescribeLoginConfigRequest, DeleteCloudAppResponse, DescribeGatewayVersionsResponse, DescribeHostingDomainTaskRequest, DescribeQuotaDataResponse, CreateBillDealResponse, DeleteFunctionRequest, AllocateEnvRequest, CreateEnvResponse, CreateUserResponse, CreateFunctionResponse, UpdateFunctionConfigurationRequest, VerifyPlatformHTTPServiceRouteResponse, UpdateAIModelRequest, RenewEnvRequest, DescribeClientResponse, UpdateAIModelResponse, ModifyEnvPlanResponse, DescribeCreditsUsageDetailResponse, ListPGUserMigrationsResponse, CreatePlatformHTTPServiceRouteRequest, DestroyStaticStoreResponse, DescribeAIModelsRequest, ModifyDatabaseACLResponse, CreateMySQLResponse, DeleteAuthDomainResponse, DeleteTableRequest, DownloadFunctionResponse, DescribeEnvsResponse, GetProvidersResponse, CreatePlatformHTTPServiceRouteResponse, DescribePlatformsRequest, PurgeHTTPServiceCacheResponse, RunSqlRequest, ModifyPlatformEnvRequest, ModifyEnvExtraResponse, DescribeSafeRuleResponse, DescribeEnvAccountCircleResponse, PurgeHTTPServiceCacheRequest, CreateTableRequest, RepairPGUserMigrationHistoryResponse, VerifyPlatformHTTPServiceRouteRequest, CreateUserRequest, CreateApiKeyResponse, DescribePlatformEnvUsageRequest, CreateAIModelRequest, DescribeGatewayVersionsRequest, DescribeQuotaDataRequest, ModifyPGInstanceSpecRequest, CreatePlatformEnvResponse, DescribeHostingDomainTaskResponse, DeleteAuthDomainRequest, CreateBillDealRequest, DescribeCloudBaseBuildServiceRequest, SearchClsLogRequest, DescribeAIModelsResponse, DescribeCloudAppVersionRequest, DestroyPlatformEnvResponse, DescribeEnvLimitResponse, DescribeTaskResultResponse, ReleaseEnvResponse, DescribeCloudBaseRunServerVersionResponse, ModifyClsTopicResponse, DescribeMySQLClusterDetailResponse, ModifyStorageSourceResponse, DescribeCloudAppListResponse, DescribeMySQLTaskStatusRequest, DescribeTableResponse, RepairPGUserMigrationHistoryRequest, DescribeAuthDomainsResponse, UpgradePGInstanceToDedicatedRequest, CreateHostingDomainRequest, DescribeCloudAppInfoRequest, CreateEnvResourceRequest, DescribePlatformsResponse, CreateCloudAppRequest, DeleteAIModelResponse, DescribeEnvAccountCircleRequest, ModifyPlatformHTTPServiceRouteRequest, DeleteApiKeyResponse, ModifyClientResponse, DeleteHTTPServiceRouteResponse, UpdateTableResponse, UnbindStorageSourceRequest, ListFunctionsRequest, VerifyHTTPServiceRouteRequest, DeleteFunctionResponse, DestroyEnvRequest, DestroyEnvResponse, ListTablesResponse, UpgradePGInstanceToDedicatedResponse, DescribeEnvPlansRequest, DescribeBaasPackageListResponse, DescribePlatformCreditsUsageRequest, ReleaseEnvRequest, ExecutePGSqlRequest, DescribeStaticStoreResponse, ModifyHTTPServiceRouteResponse, ListTablesRequest, DescribeHTTPServiceCachePurgeTaskResponse, DestroyPlatformEnvRequest, DescribePGUserMigrationRequest, DescribePlatformHTTPServiceRouteResponse, DescribeClientRequest, DescribePlatformAccountCircleRequest, DescribeTaskResultRequest, DeleteHTTPServiceRouteRequest, RunCommandsRequest, DescribeAuthDomainsRequest, ResetPGAccountPasswordRequest, DescribeCloudBaseRunBuildLogResponse, DescribeCreditsUsageResponse, DescribeDatabaseACLResponse, DescribePlatformCreditsUsageDetailResponse, DescribeManagedAIModelListRequest, ModifyStorageSourceRequest, CreateApiKeyRequest } from "./tcb_models";
|
|
3
3
|
/**
|
|
4
4
|
* tcb client
|
|
5
5
|
* @class
|
|
@@ -90,11 +90,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
90
90
|
*/
|
|
91
91
|
DescribeClient(req: DescribeClientRequest, cb?: (error: string, rep: DescribeClientResponse) => void): Promise<DescribeClientResponse>;
|
|
92
92
|
/**
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
*/
|
|
97
|
-
ModifyResourcePermission(req: ModifyResourcePermissionRequest, cb?: (error: string, rep: ModifyResourcePermissionResponse) => void): Promise<ModifyResourcePermissionResponse>;
|
|
93
|
+
* 获取云函数详情
|
|
94
|
+
*/
|
|
95
|
+
GetFunction(req: GetFunctionRequest, cb?: (error: string, rep: GetFunctionResponse) => void): Promise<GetFunctionResponse>;
|
|
98
96
|
/**
|
|
99
97
|
* 获取新套餐列表,含详情,如果传了PackageId,则只获取指定套餐详情
|
|
100
98
|
*/
|
|
@@ -257,24 +255,26 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
257
255
|
* 本接口ModifyHTTPServiceRoute用于修改HTTP访问服务路由。支持增量修改,对应字段不传参数则不修改
|
|
258
256
|
*/
|
|
259
257
|
ModifyHTTPServiceRoute(req: ModifyHTTPServiceRouteRequest, cb?: (error: string, rep: ModifyHTTPServiceRouteResponse) => void): Promise<ModifyHTTPServiceRouteResponse>;
|
|
258
|
+
/**
|
|
259
|
+
* 本接口CreateHTTPServiceRoute用于创建平台版HTTP访问服务路由。如果不传Domain.Routes,仅创建域名信息。首次创建域名后需要调用DescribeHTTPServiceRoute查询域名状态,如果状态是PROCESSING,需要轮询查询域名状态直到SUCCESS或者FAIL。如果状态是FAIL,可以删除后重新创建。创建成功后域名可能无法访问,原因是异步下发的路由,可通过http或者https探测路由是否下发,如果http访问返回404或者https访问握手失败,可等待一会再试,直到访问正常。此外HTTP访问服务提供了默认域名,通过DescribeHTTPServiceRoute接口可直接获取默认域名。
|
|
260
|
+
*/
|
|
261
|
+
CreatePlatformHTTPServiceRoute(req: CreatePlatformHTTPServiceRouteRequest, cb?: (error: string, rep: CreatePlatformHTTPServiceRouteResponse) => void): Promise<CreatePlatformHTTPServiceRouteResponse>;
|
|
260
262
|
/**
|
|
261
263
|
* 查询指定云开发环境的登录策略配置。包括手机号短信登录、邮箱登录、用户名密码登录和匿名登录方式的开启状态,同时包含短信验证码发送通道、MFA 多因子认证和密码的更新策略。
|
|
262
264
|
*/
|
|
263
265
|
DescribeLoginConfig(req: DescribeLoginConfigRequest, cb?: (error: string, rep: DescribeLoginConfigResponse) => void): Promise<DescribeLoginConfigResponse>;
|
|
264
266
|
/**
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
通常在以下场景中使用:
|
|
270
|
-
|
|
271
|
-
开通托管模型前:通过本接口查询平台支持的托管模型及其规格,结合 [UpdateAIModel](https://cloud.tencent.com/document/product/876/131316) 接口完成模型配置。
|
|
272
|
-
*/
|
|
273
|
-
DescribeManagedAIModelList(req: DescribeManagedAIModelListRequest, cb?: (error: string, rep: DescribeManagedAIModelListResponse) => void): Promise<DescribeManagedAIModelListResponse>;
|
|
267
|
+
* 本接口DescribeHTTPServiceRoute用于查询平台版下HTTP访问服务路由信息。可通过Filters过滤。如果不存在不会返回错误。HTTP访问服务提供了默认域名,通过本接口可直接获取默认域名。前置需已开通 HTTP 访问服务;调用CreateHTTPServiceRoute或者ModifyHTTPServiceRoute后可使用本接口查询创建或者修改结果
|
|
268
|
+
*/
|
|
269
|
+
DescribePlatformHTTPServiceRoute(req: DescribePlatformHTTPServiceRouteRequest, cb?: (error: string, rep: DescribePlatformHTTPServiceRouteResponse) => void): Promise<DescribePlatformHTTPServiceRouteResponse>;
|
|
274
270
|
/**
|
|
275
271
|
* 删除认证源
|
|
276
272
|
*/
|
|
277
273
|
DeleteProvider(req: DeleteProviderRequest, cb?: (error: string, rep: DeleteProviderResponse) => void): Promise<DeleteProviderResponse>;
|
|
274
|
+
/**
|
|
275
|
+
* 本接口ModifyHTTPServiceRoute用于修改平台版HTTP访问服务路由。支持增量修改,对应字段不传参数则不修改
|
|
276
|
+
*/
|
|
277
|
+
ModifyPlatformHTTPServiceRoute(req: ModifyPlatformHTTPServiceRouteRequest, cb?: (error: string, rep: ModifyPlatformHTTPServiceRouteResponse) => void): Promise<ModifyPlatformHTTPServiceRouteResponse>;
|
|
278
278
|
/**
|
|
279
279
|
* 创建云开发平台的API Key。在指定云开发环境下创建一个 API Key 访问凭证。支持两种类型:api_key(服务端管理员访问凭证,以管理员身份签发,可设置有效期,不设置有效期则永不过期,单个环境最多创建 5 个)和 publish_key(前端匿名访问凭证,固定有效期,每个环境仅保留一个)。创建成功后将返回 API Key 明文 Token,该值仅在创建时返回一次,请妥善保存。需要管理员权限。
|
|
280
280
|
权限范围与注意事项:
|
|
@@ -380,14 +380,26 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
380
380
|
* 创建云应用
|
|
381
381
|
*/
|
|
382
382
|
CreateCloudApp(req: CreateCloudAppRequest, cb?: (error: string, rep: CreateCloudAppResponse) => void): Promise<CreateCloudAppResponse>;
|
|
383
|
+
/**
|
|
384
|
+
* 修改资源基础权限。
|
|
385
|
+
|
|
386
|
+
修改云函数、云存储和数据库表的基础权限配置。支持预定义权限级别和自定义安全规则两种方式配置资源访问权限。
|
|
387
|
+
*/
|
|
388
|
+
ModifyResourcePermission(req: ModifyResourcePermissionRequest, cb?: (error: string, rep: ModifyResourcePermissionResponse) => void): Promise<ModifyResourcePermissionResponse>;
|
|
383
389
|
/**
|
|
384
390
|
* 本接口(DescribePGUserMigration)用于查询目标环境指定 migration 详情。
|
|
385
391
|
*/
|
|
386
392
|
DescribePGUserMigration(req: DescribePGUserMigrationRequest, cb?: (error: string, rep: DescribePGUserMigrationResponse) => void): Promise<DescribePGUserMigrationResponse>;
|
|
387
393
|
/**
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
394
|
+
* 查询云开发平台支持的托管类型 AI 模型列表。
|
|
395
|
+
|
|
396
|
+
托管类型模型由云开发平台统一接入和管理,用户无需自行配置模型服务地址和访问密钥,开通后即可直接使用。返回结果按模型分组(Group)组织,包含各模型的规格参数(ModelSpec)和计费信息(ModelChargingInfo)。
|
|
397
|
+
|
|
398
|
+
通常在以下场景中使用:
|
|
399
|
+
|
|
400
|
+
开通托管模型前:通过本接口查询平台支持的托管模型及其规格,结合 [UpdateAIModel](https://cloud.tencent.com/document/product/876/131316) 接口完成模型配置。
|
|
401
|
+
*/
|
|
402
|
+
DescribeManagedAIModelList(req: DescribeManagedAIModelListRequest, cb?: (error: string, rep: DescribeManagedAIModelListResponse) => void): Promise<DescribeManagedAIModelListResponse>;
|
|
391
403
|
/**
|
|
392
404
|
* 创建托管域名
|
|
393
405
|
*/
|
|
@@ -425,6 +437,25 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
425
437
|
* 查询平台版本资源点模式下的资源点用量
|
|
426
438
|
*/
|
|
427
439
|
DescribePlatformCreditsUsage(req: DescribePlatformCreditsUsageRequest, cb?: (error: string, rep: DescribePlatformCreditsUsageResponse) => void): Promise<DescribePlatformCreditsUsageResponse>;
|
|
440
|
+
/**
|
|
441
|
+
* 本接口VerifyPlatformHTTPServiceRoute用于前置校验平台版HTTP访问服务域名或者路由。覆盖的校验项包括:
|
|
442
|
+
1. Ownership:域名所有权(TXT/CNAME 记录);
|
|
443
|
+
2. Cert:证书与域名匹配(CertId 为空时跳过);
|
|
444
|
+
3. Quota:环境下域名/路径数量配额;
|
|
445
|
+
4. RouteConflict:同域名下路由路径冲突;
|
|
446
|
+
5. DomainConflict:域名被其他环境占用;
|
|
447
|
+
6. InternalAccount:内部域名且非内部账号;
|
|
448
|
+
7. Blacklist:域名黑名单;
|
|
449
|
+
8. CDNResource:AccessType=CDN 时 CDN 资源存在性 / 状态(含 ICP 未备案提示);
|
|
450
|
+
9. EO:AccessType=EO 时 EdgeOne 侧域名冲突 / 备案 / 归属权预检。
|
|
451
|
+
|
|
452
|
+
使用方式:
|
|
453
|
+
- 调用本接口前置校验,若 Passed=true 表示所有启用检查项均通过,可继续调用 CreateHTTPServiceRoute 正式创建;
|
|
454
|
+
- 若 Passed=false,前端应根据各 CheckItem 的 Code 精确渲染对应的错误提示与用户操作指引(如 DNS 归属权配置、ICP 备案指引等),用户修正参数后可重复调用本接口,直到通过后再进行创建。
|
|
455
|
+
|
|
456
|
+
注意:本接口为只读 dry-run 操作,不落库、不创建任何资源,仅返回各项检查的详细结果。本接口通过不代表 CreateHTTPServiceRoute 必然成功(例如证书运行时状态、并发抢占等仍需创建时最终判定),但本接口不通过则 CreateHTTPServiceRoute 必然不通过。
|
|
457
|
+
*/
|
|
458
|
+
VerifyPlatformHTTPServiceRoute(req: VerifyPlatformHTTPServiceRouteRequest, cb?: (error: string, rep: VerifyPlatformHTTPServiceRouteResponse) => void): Promise<VerifyPlatformHTTPServiceRouteResponse>;
|
|
428
459
|
/**
|
|
429
460
|
* 获取云函数地址并下载zip包
|
|
430
461
|
*/
|
|
@@ -667,6 +698,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
667
698
|
* 获取可售卖的新套餐列表,含详情,如果传了PackageId,则只获取指定套餐详情
|
|
668
699
|
*/
|
|
669
700
|
DescribeEnvPlans(req: DescribeEnvPlansRequest, cb?: (error: string, rep: DescribeEnvPlansResponse) => void): Promise<DescribeEnvPlansResponse>;
|
|
701
|
+
/**
|
|
702
|
+
* 本接口DeleteHTTPServiceRoute用于删除平台版HTTP访问服务域名或者路由。可批量删除多条path路由、删除域名及所有path路由,如果Paths字段为空则删除域名及所有path路由,如果Paths不为空则仅删除path路由。
|
|
703
|
+
*/
|
|
704
|
+
DeletePlatformHTTPServiceRoute(req: DeletePlatformHTTPServiceRouteRequest, cb?: (error: string, rep: DeletePlatformHTTPServiceRouteResponse) => void): Promise<DeletePlatformHTTPServiceRouteResponse>;
|
|
670
705
|
/**
|
|
671
706
|
* 修改身份认证源。更新指定云开发环境下已有身份认证源的配置信息,支持修改基本信息(名称、图标、描述)、协议连接配置(ClientId、ClientSecret、端点地址等)、登录行为控制(透传模式、自动注册、邮箱/手机号自动关联)以及启用状态。
|
|
672
707
|
对于 OIDC 类型身份源,修改 Issuer 后将自动通过 OpenID Connect Discovery 重新获取端点配置。
|
|
@@ -132,12 +132,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
132
132
|
return this.request("DescribeClient", req, cb);
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
async ModifyResourcePermission(req, cb) {
|
|
140
|
-
return this.request("ModifyResourcePermission", req, cb);
|
|
135
|
+
* 获取云函数详情
|
|
136
|
+
*/
|
|
137
|
+
async GetFunction(req, cb) {
|
|
138
|
+
return this.request("GetFunction", req, cb);
|
|
141
139
|
}
|
|
142
140
|
/**
|
|
143
141
|
* 获取新套餐列表,含详情,如果传了PackageId,则只获取指定套餐详情
|
|
@@ -367,6 +365,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
367
365
|
async ModifyHTTPServiceRoute(req, cb) {
|
|
368
366
|
return this.request("ModifyHTTPServiceRoute", req, cb);
|
|
369
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* 本接口CreateHTTPServiceRoute用于创建平台版HTTP访问服务路由。如果不传Domain.Routes,仅创建域名信息。首次创建域名后需要调用DescribeHTTPServiceRoute查询域名状态,如果状态是PROCESSING,需要轮询查询域名状态直到SUCCESS或者FAIL。如果状态是FAIL,可以删除后重新创建。创建成功后域名可能无法访问,原因是异步下发的路由,可通过http或者https探测路由是否下发,如果http访问返回404或者https访问握手失败,可等待一会再试,直到访问正常。此外HTTP访问服务提供了默认域名,通过DescribeHTTPServiceRoute接口可直接获取默认域名。
|
|
370
|
+
*/
|
|
371
|
+
async CreatePlatformHTTPServiceRoute(req, cb) {
|
|
372
|
+
return this.request("CreatePlatformHTTPServiceRoute", req, cb);
|
|
373
|
+
}
|
|
370
374
|
/**
|
|
371
375
|
* 查询指定云开发环境的登录策略配置。包括手机号短信登录、邮箱登录、用户名密码登录和匿名登录方式的开启状态,同时包含短信验证码发送通道、MFA 多因子认证和密码的更新策略。
|
|
372
376
|
*/
|
|
@@ -374,16 +378,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
374
378
|
return this.request("DescribeLoginConfig", req, cb);
|
|
375
379
|
}
|
|
376
380
|
/**
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
通常在以下场景中使用:
|
|
382
|
-
|
|
383
|
-
开通托管模型前:通过本接口查询平台支持的托管模型及其规格,结合 [UpdateAIModel](https://cloud.tencent.com/document/product/876/131316) 接口完成模型配置。
|
|
384
|
-
*/
|
|
385
|
-
async DescribeManagedAIModelList(req, cb) {
|
|
386
|
-
return this.request("DescribeManagedAIModelList", req, cb);
|
|
381
|
+
* 本接口DescribeHTTPServiceRoute用于查询平台版下HTTP访问服务路由信息。可通过Filters过滤。如果不存在不会返回错误。HTTP访问服务提供了默认域名,通过本接口可直接获取默认域名。前置需已开通 HTTP 访问服务;调用CreateHTTPServiceRoute或者ModifyHTTPServiceRoute后可使用本接口查询创建或者修改结果
|
|
382
|
+
*/
|
|
383
|
+
async DescribePlatformHTTPServiceRoute(req, cb) {
|
|
384
|
+
return this.request("DescribePlatformHTTPServiceRoute", req, cb);
|
|
387
385
|
}
|
|
388
386
|
/**
|
|
389
387
|
* 删除认证源
|
|
@@ -391,6 +389,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
391
389
|
async DeleteProvider(req, cb) {
|
|
392
390
|
return this.request("DeleteProvider", req, cb);
|
|
393
391
|
}
|
|
392
|
+
/**
|
|
393
|
+
* 本接口ModifyHTTPServiceRoute用于修改平台版HTTP访问服务路由。支持增量修改,对应字段不传参数则不修改
|
|
394
|
+
*/
|
|
395
|
+
async ModifyPlatformHTTPServiceRoute(req, cb) {
|
|
396
|
+
return this.request("ModifyPlatformHTTPServiceRoute", req, cb);
|
|
397
|
+
}
|
|
394
398
|
/**
|
|
395
399
|
* 创建云开发平台的API Key。在指定云开发环境下创建一个 API Key 访问凭证。支持两种类型:api_key(服务端管理员访问凭证,以管理员身份签发,可设置有效期,不设置有效期则永不过期,单个环境最多创建 5 个)和 publish_key(前端匿名访问凭证,固定有效期,每个环境仅保留一个)。创建成功后将返回 API Key 明文 Token,该值仅在创建时返回一次,请妥善保存。需要管理员权限。
|
|
396
400
|
权限范围与注意事项:
|
|
@@ -530,6 +534,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
530
534
|
async CreateCloudApp(req, cb) {
|
|
531
535
|
return this.request("CreateCloudApp", req, cb);
|
|
532
536
|
}
|
|
537
|
+
/**
|
|
538
|
+
* 修改资源基础权限。
|
|
539
|
+
|
|
540
|
+
修改云函数、云存储和数据库表的基础权限配置。支持预定义权限级别和自定义安全规则两种方式配置资源访问权限。
|
|
541
|
+
*/
|
|
542
|
+
async ModifyResourcePermission(req, cb) {
|
|
543
|
+
return this.request("ModifyResourcePermission", req, cb);
|
|
544
|
+
}
|
|
533
545
|
/**
|
|
534
546
|
* 本接口(DescribePGUserMigration)用于查询目标环境指定 migration 详情。
|
|
535
547
|
*/
|
|
@@ -537,10 +549,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
537
549
|
return this.request("DescribePGUserMigration", req, cb);
|
|
538
550
|
}
|
|
539
551
|
/**
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
552
|
+
* 查询云开发平台支持的托管类型 AI 模型列表。
|
|
553
|
+
|
|
554
|
+
托管类型模型由云开发平台统一接入和管理,用户无需自行配置模型服务地址和访问密钥,开通后即可直接使用。返回结果按模型分组(Group)组织,包含各模型的规格参数(ModelSpec)和计费信息(ModelChargingInfo)。
|
|
555
|
+
|
|
556
|
+
通常在以下场景中使用:
|
|
557
|
+
|
|
558
|
+
开通托管模型前:通过本接口查询平台支持的托管模型及其规格,结合 [UpdateAIModel](https://cloud.tencent.com/document/product/876/131316) 接口完成模型配置。
|
|
559
|
+
*/
|
|
560
|
+
async DescribeManagedAIModelList(req, cb) {
|
|
561
|
+
return this.request("DescribeManagedAIModelList", req, cb);
|
|
544
562
|
}
|
|
545
563
|
/**
|
|
546
564
|
* 创建托管域名
|
|
@@ -593,6 +611,27 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
593
611
|
async DescribePlatformCreditsUsage(req, cb) {
|
|
594
612
|
return this.request("DescribePlatformCreditsUsage", req, cb);
|
|
595
613
|
}
|
|
614
|
+
/**
|
|
615
|
+
* 本接口VerifyPlatformHTTPServiceRoute用于前置校验平台版HTTP访问服务域名或者路由。覆盖的校验项包括:
|
|
616
|
+
1. Ownership:域名所有权(TXT/CNAME 记录);
|
|
617
|
+
2. Cert:证书与域名匹配(CertId 为空时跳过);
|
|
618
|
+
3. Quota:环境下域名/路径数量配额;
|
|
619
|
+
4. RouteConflict:同域名下路由路径冲突;
|
|
620
|
+
5. DomainConflict:域名被其他环境占用;
|
|
621
|
+
6. InternalAccount:内部域名且非内部账号;
|
|
622
|
+
7. Blacklist:域名黑名单;
|
|
623
|
+
8. CDNResource:AccessType=CDN 时 CDN 资源存在性 / 状态(含 ICP 未备案提示);
|
|
624
|
+
9. EO:AccessType=EO 时 EdgeOne 侧域名冲突 / 备案 / 归属权预检。
|
|
625
|
+
|
|
626
|
+
使用方式:
|
|
627
|
+
- 调用本接口前置校验,若 Passed=true 表示所有启用检查项均通过,可继续调用 CreateHTTPServiceRoute 正式创建;
|
|
628
|
+
- 若 Passed=false,前端应根据各 CheckItem 的 Code 精确渲染对应的错误提示与用户操作指引(如 DNS 归属权配置、ICP 备案指引等),用户修正参数后可重复调用本接口,直到通过后再进行创建。
|
|
629
|
+
|
|
630
|
+
注意:本接口为只读 dry-run 操作,不落库、不创建任何资源,仅返回各项检查的详细结果。本接口通过不代表 CreateHTTPServiceRoute 必然成功(例如证书运行时状态、并发抢占等仍需创建时最终判定),但本接口不通过则 CreateHTTPServiceRoute 必然不通过。
|
|
631
|
+
*/
|
|
632
|
+
async VerifyPlatformHTTPServiceRoute(req, cb) {
|
|
633
|
+
return this.request("VerifyPlatformHTTPServiceRoute", req, cb);
|
|
634
|
+
}
|
|
596
635
|
/**
|
|
597
636
|
* 获取云函数地址并下载zip包
|
|
598
637
|
*/
|
|
@@ -923,6 +962,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
923
962
|
async DescribeEnvPlans(req, cb) {
|
|
924
963
|
return this.request("DescribeEnvPlans", req, cb);
|
|
925
964
|
}
|
|
965
|
+
/**
|
|
966
|
+
* 本接口DeleteHTTPServiceRoute用于删除平台版HTTP访问服务域名或者路由。可批量删除多条path路由、删除域名及所有path路由,如果Paths字段为空则删除域名及所有path路由,如果Paths不为空则仅删除path路由。
|
|
967
|
+
*/
|
|
968
|
+
async DeletePlatformHTTPServiceRoute(req, cb) {
|
|
969
|
+
return this.request("DeletePlatformHTTPServiceRoute", req, cb);
|
|
970
|
+
}
|
|
926
971
|
/**
|
|
927
972
|
* 修改身份认证源。更新指定云开发环境下已有身份认证源的配置信息,支持修改基本信息(名称、图标、描述)、协议连接配置(ClientId、ClientSecret、端点地址等)、登录行为控制(透传模式、自动注册、邮箱/手机号自动关联)以及启用状态。
|
|
928
973
|
对于 OIDC 类型身份源,修改 Issuer 后将自动通过 OpenID Connect Discovery 重新获取端点配置。
|
|
@@ -123,6 +123,23 @@ export interface HTTPServiceRoute {
|
|
|
123
123
|
*/
|
|
124
124
|
UpdateTime?: string;
|
|
125
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* DeletePlatformHTTPServiceRoute请求参数结构体
|
|
128
|
+
*/
|
|
129
|
+
export interface DeletePlatformHTTPServiceRouteRequest {
|
|
130
|
+
/**
|
|
131
|
+
* <p>平台id</p>
|
|
132
|
+
*/
|
|
133
|
+
PlatformId: string;
|
|
134
|
+
/**
|
|
135
|
+
* <p>域名</p>
|
|
136
|
+
*/
|
|
137
|
+
Domain: string;
|
|
138
|
+
/**
|
|
139
|
+
* <p>路径列表。为空则表示删除此域名和所有路由</p>
|
|
140
|
+
*/
|
|
141
|
+
Paths?: Array<string>;
|
|
142
|
+
}
|
|
126
143
|
/**
|
|
127
144
|
* DescribeTables返回参数结构体
|
|
128
145
|
*/
|
|
@@ -574,41 +591,49 @@ export interface StatusReason {
|
|
|
574
591
|
*/
|
|
575
592
|
export interface CloudAppServiceItem {
|
|
576
593
|
/**
|
|
577
|
-
*
|
|
594
|
+
* <p>服务名</p>
|
|
578
595
|
*/
|
|
579
596
|
ServiceName?: string;
|
|
580
597
|
/**
|
|
581
|
-
*
|
|
598
|
+
* <p>框架名</p>
|
|
582
599
|
*/
|
|
583
600
|
Framework?: string;
|
|
584
601
|
/**
|
|
585
|
-
*
|
|
602
|
+
* <p>域名</p>
|
|
586
603
|
*/
|
|
587
604
|
Domain?: string;
|
|
588
605
|
/**
|
|
589
|
-
*
|
|
606
|
+
* <p>应用路径</p>
|
|
590
607
|
*/
|
|
591
608
|
AppPath?: string;
|
|
592
609
|
/**
|
|
593
|
-
*
|
|
610
|
+
* <p>服务创建时间</p>
|
|
594
611
|
*/
|
|
595
612
|
CreateTime?: string;
|
|
596
613
|
/**
|
|
597
|
-
*
|
|
614
|
+
* <p>最新版本名</p>
|
|
598
615
|
*/
|
|
599
616
|
LatestVersionName?: string;
|
|
600
617
|
/**
|
|
601
|
-
*
|
|
618
|
+
* <p>最新版本状态</p>
|
|
602
619
|
*/
|
|
603
620
|
LatestStatus?: string;
|
|
604
621
|
/**
|
|
605
|
-
*
|
|
622
|
+
* <p>最新版本构建时间</p>
|
|
606
623
|
*/
|
|
607
624
|
LatestBuildTime?: string;
|
|
608
625
|
/**
|
|
609
|
-
*
|
|
626
|
+
* <p>部署类型</p>
|
|
610
627
|
*/
|
|
611
628
|
DeployType?: string;
|
|
629
|
+
/**
|
|
630
|
+
* <p>构建配置</p>
|
|
631
|
+
*/
|
|
632
|
+
BuildConfig?: string;
|
|
633
|
+
/**
|
|
634
|
+
* <p>当前流量版本</p>
|
|
635
|
+
*/
|
|
636
|
+
CurrentVersion?: string;
|
|
612
637
|
}
|
|
613
638
|
/**
|
|
614
639
|
* DestroyMySQL返回参数结构体
|
|
@@ -945,6 +970,26 @@ export interface DescribeCloudAppVersionResponse {
|
|
|
945
970
|
* <p>[]BuildStepStatus 的 JSON 序列化</p>
|
|
946
971
|
*/
|
|
947
972
|
Steps?: Array<BuildStepStatus>;
|
|
973
|
+
/**
|
|
974
|
+
* <p>服务版本快照</p>
|
|
975
|
+
*/
|
|
976
|
+
Snapshot?: string;
|
|
977
|
+
/**
|
|
978
|
+
* <p>服务版本流量比例</p>
|
|
979
|
+
*/
|
|
980
|
+
TrafficPercent?: number;
|
|
981
|
+
/**
|
|
982
|
+
* <p>服务版本域名</p>
|
|
983
|
+
*/
|
|
984
|
+
VersionDomain?: string;
|
|
985
|
+
/**
|
|
986
|
+
* <p>服务管理资源列表</p>
|
|
987
|
+
*/
|
|
988
|
+
Resources?: Array<CloudAppResourceItem>;
|
|
989
|
+
/**
|
|
990
|
+
* <p>[]ArtifactInfo 的 JSON 序列化</p>
|
|
991
|
+
*/
|
|
992
|
+
Artifacts?: Array<BuildArtifactInfo>;
|
|
948
993
|
/**
|
|
949
994
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
950
995
|
*/
|
|
@@ -1264,41 +1309,33 @@ export interface ModifyLoginConfigRequest {
|
|
|
1264
1309
|
PwdUpdateStrategy?: PasswordUpdateLoginConfig;
|
|
1265
1310
|
}
|
|
1266
1311
|
/**
|
|
1267
|
-
*
|
|
1312
|
+
* PushPGUserMigrations请求参数结构体
|
|
1268
1313
|
*/
|
|
1269
|
-
export interface
|
|
1314
|
+
export interface PushPGUserMigrationsRequest {
|
|
1270
1315
|
/**
|
|
1271
|
-
* <p
|
|
1316
|
+
* <p>云开发环境ID</p>
|
|
1272
1317
|
*/
|
|
1273
1318
|
EnvId: string;
|
|
1274
1319
|
/**
|
|
1275
|
-
* <p
|
|
1276
|
-
*/
|
|
1277
|
-
Cpu?: number;
|
|
1278
|
-
/**
|
|
1279
|
-
* <p>内存容量</p><p>单位:GB</p>
|
|
1280
|
-
*/
|
|
1281
|
-
Memory?: number;
|
|
1282
|
-
/**
|
|
1283
|
-
* <p>磁盘容量</p><p>单位:GB</p>
|
|
1320
|
+
* <p>结构化 SQL migration 列表;每项包含 Query SQL 内容</p>
|
|
1284
1321
|
*/
|
|
1285
|
-
|
|
1322
|
+
Migrations: Array<MigrationInput>;
|
|
1286
1323
|
/**
|
|
1287
|
-
* <p
|
|
1324
|
+
* <p>等待获取数据库锁的最长时间</p><p>单位:毫秒</p><p>默认值:5000</p>
|
|
1288
1325
|
*/
|
|
1289
|
-
|
|
1326
|
+
LockTimeoutMs?: number;
|
|
1290
1327
|
/**
|
|
1291
|
-
* <p
|
|
1328
|
+
* <p>单条 SQL 执行最长时间,超过后由 PostgreSQL 取消该语句</p><p>单位:毫秒</p><p>默认值:300000</p>
|
|
1292
1329
|
*/
|
|
1293
|
-
|
|
1330
|
+
StatementTimeoutMs?: number;
|
|
1294
1331
|
/**
|
|
1295
|
-
* <p
|
|
1332
|
+
* <p>标记请求来源</p><p>deprecated</p>
|
|
1296
1333
|
*/
|
|
1297
|
-
|
|
1334
|
+
Source?: string;
|
|
1298
1335
|
/**
|
|
1299
|
-
* <p
|
|
1336
|
+
* <p>为true时允许 out-of-order local migrations</p><p>默认值:false</p>
|
|
1300
1337
|
*/
|
|
1301
|
-
|
|
1338
|
+
IncludeAll?: boolean;
|
|
1302
1339
|
}
|
|
1303
1340
|
/**
|
|
1304
1341
|
* 安全网关自定义日志配置
|
|
@@ -2139,6 +2176,15 @@ export interface ModifyClientRequest {
|
|
|
2139
2176
|
*/
|
|
2140
2177
|
AccessTokenExpiresIn?: number;
|
|
2141
2178
|
}
|
|
2179
|
+
/**
|
|
2180
|
+
* DeletePlatformHTTPServiceRoute返回参数结构体
|
|
2181
|
+
*/
|
|
2182
|
+
export interface DeletePlatformHTTPServiceRouteResponse {
|
|
2183
|
+
/**
|
|
2184
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2185
|
+
*/
|
|
2186
|
+
RequestId?: string;
|
|
2187
|
+
}
|
|
2142
2188
|
/**
|
|
2143
2189
|
* 云函数公网访问固定ip配置
|
|
2144
2190
|
*/
|
|
@@ -2184,6 +2230,19 @@ export interface DownloadFunctionRequest {
|
|
|
2184
2230
|
*/
|
|
2185
2231
|
Qualifier?: string;
|
|
2186
2232
|
}
|
|
2233
|
+
/**
|
|
2234
|
+
* PushPGUserMigrations返回参数结构体
|
|
2235
|
+
*/
|
|
2236
|
+
export interface PushPGUserMigrationsResponse {
|
|
2237
|
+
/**
|
|
2238
|
+
* <p>任务ID</p><p>可通过DescribeTaskResult 接口查询进度</p>
|
|
2239
|
+
*/
|
|
2240
|
+
TaskId?: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2243
|
+
*/
|
|
2244
|
+
RequestId?: string;
|
|
2245
|
+
}
|
|
2187
2246
|
/**
|
|
2188
2247
|
* BindStorageSource返回参数结构体
|
|
2189
2248
|
*/
|
|
@@ -2285,6 +2344,27 @@ export interface UpdateFunctionCodeResponse {
|
|
|
2285
2344
|
*/
|
|
2286
2345
|
RequestId?: string;
|
|
2287
2346
|
}
|
|
2347
|
+
/**
|
|
2348
|
+
* DescribePlatformHTTPServiceRoute请求参数结构体
|
|
2349
|
+
*/
|
|
2350
|
+
export interface DescribePlatformHTTPServiceRouteRequest {
|
|
2351
|
+
/**
|
|
2352
|
+
* <p>平台id</p>
|
|
2353
|
+
*/
|
|
2354
|
+
PlatformId: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* <p>过滤条件。Key的含义参考对应字段,Value精确匹配。可过滤: Domain、Path、DomainType、UpstreamResourceType。可过滤的Values单条不超过100</p>
|
|
2357
|
+
*/
|
|
2358
|
+
Filters?: Array<Filter>;
|
|
2359
|
+
/**
|
|
2360
|
+
* <p>分页偏移量。默认 0</p>
|
|
2361
|
+
*/
|
|
2362
|
+
Offset?: number;
|
|
2363
|
+
/**
|
|
2364
|
+
* <p>分页限制。默认20,最大值1000</p>
|
|
2365
|
+
*/
|
|
2366
|
+
Limit?: number;
|
|
2367
|
+
}
|
|
2288
2368
|
/**
|
|
2289
2369
|
* ModifyLoginConfig返回参数结构体
|
|
2290
2370
|
*/
|
|
@@ -2587,6 +2667,10 @@ export interface DescribeCloudAppListRequest {
|
|
|
2587
2667
|
* <p>页号</p>
|
|
2588
2668
|
*/
|
|
2589
2669
|
PageNo?: number;
|
|
2670
|
+
/**
|
|
2671
|
+
* <p>服务过滤</p>
|
|
2672
|
+
*/
|
|
2673
|
+
Filter?: CloudAppFilter;
|
|
2590
2674
|
}
|
|
2591
2675
|
/**
|
|
2592
2676
|
* ModifyEnv返回参数结构体
|
|
@@ -3468,13 +3552,17 @@ export interface HTTPServiceRouteParam {
|
|
|
3468
3552
|
Extension?: HTTPServiceExtension;
|
|
3469
3553
|
}
|
|
3470
3554
|
/**
|
|
3471
|
-
*
|
|
3555
|
+
* ModifyPGInstanceSpec返回参数结构体
|
|
3472
3556
|
*/
|
|
3473
|
-
export interface
|
|
3557
|
+
export interface ModifyPGInstanceSpecResponse {
|
|
3474
3558
|
/**
|
|
3475
|
-
* <p
|
|
3559
|
+
* <p>账单名</p>
|
|
3476
3560
|
*/
|
|
3477
|
-
|
|
3561
|
+
DealName?: string;
|
|
3562
|
+
/**
|
|
3563
|
+
* <p>账单标识</p>
|
|
3564
|
+
*/
|
|
3565
|
+
BillId?: string;
|
|
3478
3566
|
/**
|
|
3479
3567
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3480
3568
|
*/
|
|
@@ -3761,6 +3849,15 @@ export interface TableInfo {
|
|
|
3761
3849
|
*/
|
|
3762
3850
|
IndexSize?: number;
|
|
3763
3851
|
}
|
|
3852
|
+
/**
|
|
3853
|
+
* ModifyPlatformHTTPServiceRoute返回参数结构体
|
|
3854
|
+
*/
|
|
3855
|
+
export interface ModifyPlatformHTTPServiceRouteResponse {
|
|
3856
|
+
/**
|
|
3857
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3858
|
+
*/
|
|
3859
|
+
RequestId?: string;
|
|
3860
|
+
}
|
|
3764
3861
|
/**
|
|
3765
3862
|
* DeleteAIModel请求参数结构体
|
|
3766
3863
|
*/
|
|
@@ -3931,6 +4028,23 @@ export interface ModifySafeRuleResponse {
|
|
|
3931
4028
|
*/
|
|
3932
4029
|
RequestId?: string;
|
|
3933
4030
|
}
|
|
4031
|
+
/**
|
|
4032
|
+
* 云应用 WebHook 配置
|
|
4033
|
+
*/
|
|
4034
|
+
export interface CloudAppWebHook {
|
|
4035
|
+
/**
|
|
4036
|
+
* <p>开启 webhook 触发</p>
|
|
4037
|
+
*/
|
|
4038
|
+
Enabled?: boolean;
|
|
4039
|
+
/**
|
|
4040
|
+
* <p>触发分支</p>
|
|
4041
|
+
*/
|
|
4042
|
+
Branches?: Array<string>;
|
|
4043
|
+
/**
|
|
4044
|
+
* <p>触发事件</p>
|
|
4045
|
+
*/
|
|
4046
|
+
Events?: Array<string>;
|
|
4047
|
+
}
|
|
3934
4048
|
/**
|
|
3935
4049
|
* DeleteCloudAppVersion请求参数结构体
|
|
3936
4050
|
*/
|
|
@@ -3992,6 +4106,18 @@ export interface DescribeCloudAppInfoResponse {
|
|
|
3992
4106
|
* <p>部署类型</p>
|
|
3993
4107
|
*/
|
|
3994
4108
|
DeployType?: string;
|
|
4109
|
+
/**
|
|
4110
|
+
* <p>构建配置</p>
|
|
4111
|
+
*/
|
|
4112
|
+
BuildConfig?: string;
|
|
4113
|
+
/**
|
|
4114
|
+
* <p>当前服务流量版本</p>
|
|
4115
|
+
*/
|
|
4116
|
+
CurrentVersion?: string;
|
|
4117
|
+
/**
|
|
4118
|
+
* <p>版本关联默认域名</p>
|
|
4119
|
+
*/
|
|
4120
|
+
PreviewDomain?: string;
|
|
3995
4121
|
/**
|
|
3996
4122
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3997
4123
|
*/
|
|
@@ -4221,6 +4347,10 @@ export interface BuildSource {
|
|
|
4221
4347
|
* <p>仅 Type=zip/cos 时使用。zip 文件后缀,默认 .zip;与 CosTimestamp 配合定位 COS 对象</p>
|
|
4222
4348
|
*/
|
|
4223
4349
|
CosSuffix?: string;
|
|
4350
|
+
/**
|
|
4351
|
+
* <p>zip 包名称</p>
|
|
4352
|
+
*/
|
|
4353
|
+
PackageFileName?: string;
|
|
4224
4354
|
}
|
|
4225
4355
|
/**
|
|
4226
4356
|
* DescribePlatformAccountCircle返回参数结构体
|
|
@@ -4698,6 +4828,19 @@ export interface DeleteUsersResp {
|
|
|
4698
4828
|
*/
|
|
4699
4829
|
FailedCount?: number;
|
|
4700
4830
|
}
|
|
4831
|
+
/**
|
|
4832
|
+
* 构建上下文
|
|
4833
|
+
*/
|
|
4834
|
+
export interface BuildContext {
|
|
4835
|
+
/**
|
|
4836
|
+
* <p>构建路径</p>
|
|
4837
|
+
*/
|
|
4838
|
+
Path?: string;
|
|
4839
|
+
/**
|
|
4840
|
+
* <p>构建产物输出路径</p>
|
|
4841
|
+
*/
|
|
4842
|
+
OutPut?: string;
|
|
4843
|
+
}
|
|
4701
4844
|
/**
|
|
4702
4845
|
* 构建命令
|
|
4703
4846
|
*/
|
|
@@ -4824,6 +4967,35 @@ export interface DescribeBaasPackageListRequest {
|
|
|
4824
4967
|
*/
|
|
4825
4968
|
PaymentChannel?: string;
|
|
4826
4969
|
}
|
|
4970
|
+
/**
|
|
4971
|
+
* 云应用关联服务
|
|
4972
|
+
*/
|
|
4973
|
+
export interface CloudAppLinkService {
|
|
4974
|
+
/**
|
|
4975
|
+
* <p>服务类型</p><p>枚举值:</p><ul><li>http-function: HTTP 云函数</li><li>function: 普通云函数</li><li>static-hosting: 静态托管</li></ul>
|
|
4976
|
+
*/
|
|
4977
|
+
ServiceType?: string;
|
|
4978
|
+
/**
|
|
4979
|
+
* <p>服务名称</p>
|
|
4980
|
+
*/
|
|
4981
|
+
ServiceName?: string;
|
|
4982
|
+
/**
|
|
4983
|
+
* <p>服务身份</p>
|
|
4984
|
+
*/
|
|
4985
|
+
Identifier?: string;
|
|
4986
|
+
/**
|
|
4987
|
+
* <p>服务动作</p>
|
|
4988
|
+
*/
|
|
4989
|
+
Action?: string;
|
|
4990
|
+
/**
|
|
4991
|
+
* <p>服务构建命令</p>
|
|
4992
|
+
*/
|
|
4993
|
+
Command?: BuildCommands;
|
|
4994
|
+
/**
|
|
4995
|
+
* <p>服务构建部署上下文</p>
|
|
4996
|
+
*/
|
|
4997
|
+
BuildContext?: BuildContext;
|
|
4998
|
+
}
|
|
4827
4999
|
/**
|
|
4828
5000
|
* DescribeLoginConfig请求参数结构体
|
|
4829
5001
|
*/
|
|
@@ -5239,11 +5411,11 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
5239
5411
|
*/
|
|
5240
5412
|
InstallDependency?: string;
|
|
5241
5413
|
/**
|
|
5242
|
-
* <p>日志投递到的cls
|
|
5414
|
+
* <p>日志投递到的cls Topic ID</p>
|
|
5243
5415
|
*/
|
|
5244
5416
|
ClsTopicId?: string;
|
|
5245
5417
|
/**
|
|
5246
|
-
* <p>日志投递到的cls
|
|
5418
|
+
* <p>日志投递到的cls日志集ID</p>
|
|
5247
5419
|
*/
|
|
5248
5420
|
ClsLogsetId?: string;
|
|
5249
5421
|
/**
|
|
@@ -5275,6 +5447,55 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
5275
5447
|
*/
|
|
5276
5448
|
EipConfig?: Array<FunctionEipConfigFixed>;
|
|
5277
5449
|
}
|
|
5450
|
+
/**
|
|
5451
|
+
* VerifyPlatformHTTPServiceRoute返回参数结构体
|
|
5452
|
+
*/
|
|
5453
|
+
export interface VerifyPlatformHTTPServiceRouteResponse {
|
|
5454
|
+
/**
|
|
5455
|
+
* <p>前置校验总开关。所有启用的检查项均为 PASS 或 SKIPPED 时为 true,任一检查项为 FAIL 时为 false。当为 false 时,前端应根据各 CheckItem 的 Code 精确渲染错误提示和操作指引;当为 true 时可继续调用 CreateHTTPServiceRoute 完成创建。 示例值:false</p>
|
|
5456
|
+
*/
|
|
5457
|
+
Passed?: boolean;
|
|
5458
|
+
/**
|
|
5459
|
+
* <p>域名归属权校验结果</p>
|
|
5460
|
+
*/
|
|
5461
|
+
Ownership?: VerifyHTTPServiceRouteCheckItem;
|
|
5462
|
+
/**
|
|
5463
|
+
* <p>证书校验结果;CertId 为空时 Status=SKIPPED</p>
|
|
5464
|
+
*/
|
|
5465
|
+
Cert?: VerifyHTTPServiceRouteCheckItem;
|
|
5466
|
+
/**
|
|
5467
|
+
* <p>域名/路径数量配额校验结果</p>
|
|
5468
|
+
*/
|
|
5469
|
+
Quota?: VerifyHTTPServiceRouteCheckItem;
|
|
5470
|
+
/**
|
|
5471
|
+
* <p>同域名下路由路径冲突校验结果</p>
|
|
5472
|
+
*/
|
|
5473
|
+
RouteConflict?: VerifyHTTPServiceRouteCheckItem;
|
|
5474
|
+
/**
|
|
5475
|
+
* <p>域名被其他环境占用校验结果</p>
|
|
5476
|
+
*/
|
|
5477
|
+
DomainConflict?: VerifyHTTPServiceRouteCheckItem;
|
|
5478
|
+
/**
|
|
5479
|
+
* <p>内部域名且非内部账号校验结果</p>
|
|
5480
|
+
*/
|
|
5481
|
+
InternalAccount?: VerifyHTTPServiceRouteCheckItem;
|
|
5482
|
+
/**
|
|
5483
|
+
* <p>域名黑名单校验结果</p>
|
|
5484
|
+
*/
|
|
5485
|
+
Blacklist?: VerifyHTTPServiceRouteCheckItem;
|
|
5486
|
+
/**
|
|
5487
|
+
* <p>AccessType=CDN 时 CDN 资源存在性 / 状态校验结果(含 ICP 未备案的提示)</p>
|
|
5488
|
+
*/
|
|
5489
|
+
CDNResource?: VerifyHTTPServiceRouteCheckItem;
|
|
5490
|
+
/**
|
|
5491
|
+
* <p>AccessType=EO 时的 EdgeOne 预检结果(域名冲突/备案/归属权)</p>
|
|
5492
|
+
*/
|
|
5493
|
+
EO?: VerifyHTTPServiceRouteCheckItem;
|
|
5494
|
+
/**
|
|
5495
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5496
|
+
*/
|
|
5497
|
+
RequestId?: string;
|
|
5498
|
+
}
|
|
5278
5499
|
/**
|
|
5279
5500
|
* UpdateAIModel请求参数结构体
|
|
5280
5501
|
*/
|
|
@@ -5437,6 +5658,19 @@ export interface ListPGUserMigrationsResponse {
|
|
|
5437
5658
|
*/
|
|
5438
5659
|
RequestId?: string;
|
|
5439
5660
|
}
|
|
5661
|
+
/**
|
|
5662
|
+
* CreatePlatformHTTPServiceRoute请求参数结构体
|
|
5663
|
+
*/
|
|
5664
|
+
export interface CreatePlatformHTTPServiceRouteRequest {
|
|
5665
|
+
/**
|
|
5666
|
+
* <p>平台id</p>
|
|
5667
|
+
*/
|
|
5668
|
+
PlatformId: string;
|
|
5669
|
+
/**
|
|
5670
|
+
* <p>域名路由信息</p>
|
|
5671
|
+
*/
|
|
5672
|
+
Domain: HTTPServiceDomainParam;
|
|
5673
|
+
}
|
|
5440
5674
|
/**
|
|
5441
5675
|
* CLS日志单条信息
|
|
5442
5676
|
*/
|
|
@@ -5643,6 +5877,19 @@ export interface GetProvidersResponse {
|
|
|
5643
5877
|
*/
|
|
5644
5878
|
RequestId?: string;
|
|
5645
5879
|
}
|
|
5880
|
+
/**
|
|
5881
|
+
* CreatePlatformHTTPServiceRoute返回参数结构体
|
|
5882
|
+
*/
|
|
5883
|
+
export interface CreatePlatformHTTPServiceRouteResponse {
|
|
5884
|
+
/**
|
|
5885
|
+
* <p>归属权校验不通过返回信息,根据校验信息配置dns或者文件验证,可通过VerifyHTTPServiceRoute接口验证归属权是否通过</p>
|
|
5886
|
+
*/
|
|
5887
|
+
OwnershipVerification?: OwnershipVerificationInfo;
|
|
5888
|
+
/**
|
|
5889
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5890
|
+
*/
|
|
5891
|
+
RequestId?: string;
|
|
5892
|
+
}
|
|
5646
5893
|
/**
|
|
5647
5894
|
* DescribePlatforms请求参数结构体
|
|
5648
5895
|
*/
|
|
@@ -6003,6 +6250,19 @@ export interface RepairPGUserMigrationHistoryResponse {
|
|
|
6003
6250
|
*/
|
|
6004
6251
|
RequestId?: string;
|
|
6005
6252
|
}
|
|
6253
|
+
/**
|
|
6254
|
+
* VerifyPlatformHTTPServiceRoute请求参数结构体
|
|
6255
|
+
*/
|
|
6256
|
+
export interface VerifyPlatformHTTPServiceRouteRequest {
|
|
6257
|
+
/**
|
|
6258
|
+
* <p>平台id</p>
|
|
6259
|
+
*/
|
|
6260
|
+
PlatformId: string;
|
|
6261
|
+
/**
|
|
6262
|
+
* <p>域名路由信息</p>
|
|
6263
|
+
*/
|
|
6264
|
+
Domain: HTTPServiceDomainParam;
|
|
6265
|
+
}
|
|
6006
6266
|
/**
|
|
6007
6267
|
* CreateUser请求参数结构体
|
|
6008
6268
|
*/
|
|
@@ -6226,33 +6486,41 @@ export interface DescribeCreateMySQLResult {
|
|
|
6226
6486
|
FreezeStatus?: boolean;
|
|
6227
6487
|
}
|
|
6228
6488
|
/**
|
|
6229
|
-
*
|
|
6489
|
+
* ModifyPGInstanceSpec请求参数结构体
|
|
6230
6490
|
*/
|
|
6231
|
-
export interface
|
|
6491
|
+
export interface ModifyPGInstanceSpecRequest {
|
|
6232
6492
|
/**
|
|
6233
|
-
* <p
|
|
6493
|
+
* <p>环境 id</p>
|
|
6234
6494
|
*/
|
|
6235
6495
|
EnvId: string;
|
|
6236
6496
|
/**
|
|
6237
|
-
* <p
|
|
6497
|
+
* <p>cpu 核数</p><p>单位:核数</p>
|
|
6238
6498
|
*/
|
|
6239
|
-
|
|
6499
|
+
Cpu?: number;
|
|
6240
6500
|
/**
|
|
6241
|
-
* <p
|
|
6501
|
+
* <p>内存容量</p><p>单位:GB</p>
|
|
6242
6502
|
*/
|
|
6243
|
-
|
|
6503
|
+
Memory?: number;
|
|
6244
6504
|
/**
|
|
6245
|
-
* <p
|
|
6505
|
+
* <p>磁盘容量</p><p>单位:GB</p>
|
|
6246
6506
|
*/
|
|
6247
|
-
|
|
6507
|
+
Storage?: number;
|
|
6248
6508
|
/**
|
|
6249
|
-
* <p
|
|
6509
|
+
* <p>类型</p><p>枚举值:</p><ul><li>0: 立即执行</li><li>1: 指定时间执行</li><li>2: 维护时间执行</li></ul>
|
|
6250
6510
|
*/
|
|
6251
|
-
|
|
6511
|
+
SwitchTag?: number;
|
|
6252
6512
|
/**
|
|
6253
|
-
* <p
|
|
6513
|
+
* <p>SwitchTag=1 时,启动时间</p><p>参数格式:YYYY-MM-dd HH:mm:ss</p>
|
|
6254
6514
|
*/
|
|
6255
|
-
|
|
6515
|
+
SwitchStartTime?: string;
|
|
6516
|
+
/**
|
|
6517
|
+
* <p>SwitchTag=1 时结束时间</p><p>参数格式:YYYY-MM-dd HH:mm:ss</p>
|
|
6518
|
+
*/
|
|
6519
|
+
SwitchEndTime?: string;
|
|
6520
|
+
/**
|
|
6521
|
+
* <p>预检</p>
|
|
6522
|
+
*/
|
|
6523
|
+
DryRun?: boolean;
|
|
6256
6524
|
}
|
|
6257
6525
|
/**
|
|
6258
6526
|
* 触发器类型
|
|
@@ -6633,6 +6901,27 @@ export interface StaticStoreInfo {
|
|
|
6633
6901
|
*/
|
|
6634
6902
|
Region?: string;
|
|
6635
6903
|
}
|
|
6904
|
+
/**
|
|
6905
|
+
* 云应用路由
|
|
6906
|
+
*/
|
|
6907
|
+
export interface CloudAppRoute {
|
|
6908
|
+
/**
|
|
6909
|
+
* <p>服务跟路由</p>
|
|
6910
|
+
*/
|
|
6911
|
+
Source?: string;
|
|
6912
|
+
/**
|
|
6913
|
+
* <p>服务类型</p><p>枚举值:</p><ul><li>http-function: HTTP 云函数</li><li>function: 普通云函数</li><li>static-hosting: 静态托管</li></ul>
|
|
6914
|
+
*/
|
|
6915
|
+
ServiceType?: string;
|
|
6916
|
+
/**
|
|
6917
|
+
* <p>服务名称</p>
|
|
6918
|
+
*/
|
|
6919
|
+
ServiceName?: string;
|
|
6920
|
+
/**
|
|
6921
|
+
* <p>目标路径,暂不支持</p>
|
|
6922
|
+
*/
|
|
6923
|
+
TargetPath?: string;
|
|
6924
|
+
}
|
|
6636
6925
|
/**
|
|
6637
6926
|
* DescribeCloudAppVersion请求参数结构体
|
|
6638
6927
|
*/
|
|
@@ -7076,6 +7365,26 @@ export interface CloudAppVersionItem {
|
|
|
7076
7365
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7077
7366
|
*/
|
|
7078
7367
|
Steps?: Array<BuildStepStatus>;
|
|
7368
|
+
/**
|
|
7369
|
+
* <p>服务版本部署快照</p>
|
|
7370
|
+
*/
|
|
7371
|
+
Snapshot?: string;
|
|
7372
|
+
/**
|
|
7373
|
+
* <p>服务版本域名</p>
|
|
7374
|
+
*/
|
|
7375
|
+
VersionDomain?: string;
|
|
7376
|
+
/**
|
|
7377
|
+
* <p>服务版本流量</p>
|
|
7378
|
+
*/
|
|
7379
|
+
TrafficPercent?: number;
|
|
7380
|
+
/**
|
|
7381
|
+
* <p>服务资源</p>
|
|
7382
|
+
*/
|
|
7383
|
+
Resources?: Array<CloudAppResourceItem>;
|
|
7384
|
+
/**
|
|
7385
|
+
* <p>服务产物列表</p>
|
|
7386
|
+
*/
|
|
7387
|
+
Artifacts?: Array<BuildArtifactInfo>;
|
|
7079
7388
|
}
|
|
7080
7389
|
/**
|
|
7081
7390
|
* DescribeCloudAppList返回参数结构体
|
|
@@ -7304,6 +7613,27 @@ export interface CreateHostingDomainRequest {
|
|
|
7304
7613
|
*/
|
|
7305
7614
|
CertId: string;
|
|
7306
7615
|
}
|
|
7616
|
+
/**
|
|
7617
|
+
* 构建产物信息
|
|
7618
|
+
*/
|
|
7619
|
+
export interface BuildArtifactInfo {
|
|
7620
|
+
/**
|
|
7621
|
+
* <p>产物类型</p>
|
|
7622
|
+
*/
|
|
7623
|
+
Type?: string;
|
|
7624
|
+
/**
|
|
7625
|
+
* <p>产物名称</p>
|
|
7626
|
+
*/
|
|
7627
|
+
Name?: string;
|
|
7628
|
+
/**
|
|
7629
|
+
* <p>产物状态</p>
|
|
7630
|
+
*/
|
|
7631
|
+
Status?: string;
|
|
7632
|
+
/**
|
|
7633
|
+
* <p>扩展详情 Json</p>
|
|
7634
|
+
*/
|
|
7635
|
+
ContentJson?: string;
|
|
7636
|
+
}
|
|
7307
7637
|
/**
|
|
7308
7638
|
* HTTPService 缓存参数(节点缓存 + 浏览器缓存共用行为模式)。
|
|
7309
7639
|
FollowOrigin / NoCache / (CacheTime||MaxAgeTime) 三者互斥,必须开启其一:
|
|
@@ -7465,6 +7795,38 @@ export interface CreateCloudAppRequest {
|
|
|
7465
7795
|
* <p>选择 NodeRuntime 版本: 16,18,20,22,24 等</p>
|
|
7466
7796
|
*/
|
|
7467
7797
|
NodeJsVersion?: string;
|
|
7798
|
+
/**
|
|
7799
|
+
* <p>暂不支持:Webhook 触发器功能尚未对外开放,客户端传入的 Trigger 字段会被平台静默忽略(仅日志告警,不拒绝请求)</p>
|
|
7800
|
+
*/
|
|
7801
|
+
Trigger?: CloudAppTrigger;
|
|
7802
|
+
/**
|
|
7803
|
+
* <p>服务列表</p>
|
|
7804
|
+
*/
|
|
7805
|
+
ServiceList?: Array<CloudAppLinkService>;
|
|
7806
|
+
/**
|
|
7807
|
+
* <p>全局工作目录</p>
|
|
7808
|
+
*/
|
|
7809
|
+
WorkingDir?: string;
|
|
7810
|
+
/**
|
|
7811
|
+
* <p>路由列表</p>
|
|
7812
|
+
*/
|
|
7813
|
+
Routes?: Array<CloudAppRoute>;
|
|
7814
|
+
/**
|
|
7815
|
+
* <p>部署类型</p>
|
|
7816
|
+
*/
|
|
7817
|
+
PromoteType?: string;
|
|
7818
|
+
/**
|
|
7819
|
+
* <p>发布 Token 校验</p>
|
|
7820
|
+
*/
|
|
7821
|
+
ClientToken?: string;
|
|
7822
|
+
/**
|
|
7823
|
+
* <p>前置执行命令</p>
|
|
7824
|
+
*/
|
|
7825
|
+
PreDeployCommand?: string;
|
|
7826
|
+
/**
|
|
7827
|
+
* <p>后置执行命令</p>
|
|
7828
|
+
*/
|
|
7829
|
+
PostDeployCommand?: string;
|
|
7468
7830
|
}
|
|
7469
7831
|
/**
|
|
7470
7832
|
* 键值对
|
|
@@ -7501,6 +7863,19 @@ export interface DescribeEnvAccountCircleRequest {
|
|
|
7501
7863
|
*/
|
|
7502
7864
|
EnvId: string;
|
|
7503
7865
|
}
|
|
7866
|
+
/**
|
|
7867
|
+
* ModifyPlatformHTTPServiceRoute请求参数结构体
|
|
7868
|
+
*/
|
|
7869
|
+
export interface ModifyPlatformHTTPServiceRouteRequest {
|
|
7870
|
+
/**
|
|
7871
|
+
* <p>平台id</p>
|
|
7872
|
+
*/
|
|
7873
|
+
PlatformId: string;
|
|
7874
|
+
/**
|
|
7875
|
+
* <p>域名路由信息</p>
|
|
7876
|
+
*/
|
|
7877
|
+
Domain: HTTPServiceDomainParam;
|
|
7878
|
+
}
|
|
7504
7879
|
/**
|
|
7505
7880
|
* HTTPService 路由扩展字段
|
|
7506
7881
|
*/
|
|
@@ -7882,6 +8257,15 @@ export interface DescribePlatformCreditsUsageRequest {
|
|
|
7882
8257
|
*/
|
|
7883
8258
|
PlatformId: string;
|
|
7884
8259
|
}
|
|
8260
|
+
/**
|
|
8261
|
+
* 云应用过滤
|
|
8262
|
+
*/
|
|
8263
|
+
export interface CloudAppFilter {
|
|
8264
|
+
/**
|
|
8265
|
+
* <p>云应用过滤列表</p>
|
|
8266
|
+
*/
|
|
8267
|
+
ServiceNameList?: Array<string>;
|
|
8268
|
+
}
|
|
7885
8269
|
/**
|
|
7886
8270
|
* 用户信息
|
|
7887
8271
|
*/
|
|
@@ -7991,6 +8375,31 @@ export interface FunctionEipConfigFixed {
|
|
|
7991
8375
|
*/
|
|
7992
8376
|
EipFixed?: string;
|
|
7993
8377
|
}
|
|
8378
|
+
/**
|
|
8379
|
+
* 云应用资源信息
|
|
8380
|
+
*/
|
|
8381
|
+
export interface CloudAppResourceItem {
|
|
8382
|
+
/**
|
|
8383
|
+
* <p>服务名称</p>
|
|
8384
|
+
*/
|
|
8385
|
+
ServiceName?: string;
|
|
8386
|
+
/**
|
|
8387
|
+
* <p>服务类型</p><p>枚举值:</p><ul><li>http-function: HTTP 云函数</li><li>function: 普通云函数</li><li>static-hosting: 静态托管</li></ul>
|
|
8388
|
+
*/
|
|
8389
|
+
ServiceType?: string;
|
|
8390
|
+
/**
|
|
8391
|
+
* <p>服务部署版本</p>
|
|
8392
|
+
*/
|
|
8393
|
+
DeployedRef?: string;
|
|
8394
|
+
/**
|
|
8395
|
+
* <p>服务动作</p>
|
|
8396
|
+
*/
|
|
8397
|
+
DiffCategory?: string;
|
|
8398
|
+
/**
|
|
8399
|
+
* <p>服务状态</p>
|
|
8400
|
+
*/
|
|
8401
|
+
Status?: string;
|
|
8402
|
+
}
|
|
7994
8403
|
/**
|
|
7995
8404
|
* 平台版指标用量信息
|
|
7996
8405
|
*/
|
|
@@ -8168,6 +8577,27 @@ export interface ApiKeyToken {
|
|
|
8168
8577
|
*/
|
|
8169
8578
|
CreateAt?: string;
|
|
8170
8579
|
}
|
|
8580
|
+
/**
|
|
8581
|
+
* DescribePlatformHTTPServiceRoute返回参数结构体
|
|
8582
|
+
*/
|
|
8583
|
+
export interface DescribePlatformHTTPServiceRouteResponse {
|
|
8584
|
+
/**
|
|
8585
|
+
* <p>域名路由信息列表</p>
|
|
8586
|
+
*/
|
|
8587
|
+
Domains?: Array<HTTPServiceDomain>;
|
|
8588
|
+
/**
|
|
8589
|
+
* <p>自定义接入的源站域名(HTTPService接入层域名)</p>
|
|
8590
|
+
*/
|
|
8591
|
+
OriginDomain?: string;
|
|
8592
|
+
/**
|
|
8593
|
+
* <p>域名总数,分页查询使用总数判断是否已经拉取到所有数据</p>
|
|
8594
|
+
*/
|
|
8595
|
+
TotalCount?: number;
|
|
8596
|
+
/**
|
|
8597
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8598
|
+
*/
|
|
8599
|
+
RequestId?: string;
|
|
8600
|
+
}
|
|
8171
8601
|
/**
|
|
8172
8602
|
* 平台版资源用量信息
|
|
8173
8603
|
*/
|
|
@@ -8232,21 +8662,13 @@ export interface MigrationConflict {
|
|
|
8232
8662
|
Message?: string;
|
|
8233
8663
|
}
|
|
8234
8664
|
/**
|
|
8235
|
-
*
|
|
8665
|
+
* 云应用触发器
|
|
8236
8666
|
*/
|
|
8237
|
-
export interface
|
|
8238
|
-
/**
|
|
8239
|
-
* <p>账单名</p>
|
|
8240
|
-
*/
|
|
8241
|
-
DealName?: string;
|
|
8667
|
+
export interface CloudAppTrigger {
|
|
8242
8668
|
/**
|
|
8243
|
-
* <p
|
|
8244
|
-
*/
|
|
8245
|
-
BillId?: string;
|
|
8246
|
-
/**
|
|
8247
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8669
|
+
* <p>webhook 配置</p>
|
|
8248
8670
|
*/
|
|
8249
|
-
|
|
8671
|
+
Webhook?: CloudAppWebHook;
|
|
8250
8672
|
}
|
|
8251
8673
|
/**
|
|
8252
8674
|
* DescribePlatformAccountCircle请求参数结构体
|