tencentcloud-sdk-nodejs 4.1.328 → 4.1.330
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/common/sdk_version.js +1 -1
- package/es/services/cynosdb/v20190107/cynosdb_client.js +13 -7
- package/es/services/fwm/v20250611/fwm_client.js +28 -4
- package/es/services/ioa/v20220601/ioa_client.js +25 -4
- package/es/services/iotexplorer/v20190423/iotexplorer_client.js +14 -2
- package/es/services/organization/v20210331/organization_client.js +14 -2
- package/es/services/tcb/v20180608/tcb_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ai3d/v20250513/ai3d_client.d.ts +6 -2
- package/tencentcloud/services/ai3d/v20250513/ai3d_client.js +6 -2
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +78 -140
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +14 -6
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +8 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +107 -38
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +17 -9
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +24 -12
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +88 -23
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +16 -8
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +53 -34
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +12 -53
- package/tencentcloud/services/fwm/v20250611/fwm_client.d.ts +37 -5
- package/tencentcloud/services/fwm/v20250611/fwm_client.js +54 -6
- package/tencentcloud/services/fwm/v20250611/fwm_models.d.ts +406 -91
- package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +1 -1
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +6 -2
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +5 -20
- package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +33 -5
- package/tencentcloud/services/ioa/v20220601/ioa_client.js +48 -6
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +456 -114
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +19 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +27 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +254 -21
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +36 -24
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +8 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +7 -7
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +19 -3
- package/tencentcloud/services/organization/v20210331/organization_client.js +27 -3
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +434 -196
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -1
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +6 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +65 -22
- package/tencentcloud/services/tds/v20220801/tds_models.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +15 -7
- package/tencentcloud/services/teo/v20220901/teo_client.js +15 -7
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +53 -18
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +11 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +11 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +591 -58
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.d.ts +5 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
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,
|
|
3
|
+
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, ModifyAIModelStatusRequest, CheckTcbServiceRequest, DescribeManagedAIModelListResponse, DownloadFunctionRequest, PushPGUserMigrationsResponse, BindStorageSourceResponse, ModifyEnvRequest, ModifyUserRequest, UpdateFunctionCodeResponse, DescribePlatformHTTPServiceRouteRequest, ModifyLoginConfigResponse, BindStorageSourceRequest, CheckTcbServiceResponse, DeleteCloudAppVersionResponse, DescribeCloudBaseRunServerVersionRequest, ModifyAIModelStatusResponse, ModifyEnvPlanRequest, DescribeCloudAppVersionListResponse, DescribeCloudBaseBuildServiceResponse, ModifyUserResponse, DescribeCloudAppListRequest, ModifyEnvResponse, DescribeCloudBaseRunBuildLogRequest, DescribeCurveDataResponse, DescribePGUserMigrationResponse, ListPGUserMigrationsRequest, DescribeSafeRuleRequest, ModifyHTTPServiceRouteRequest, DescribeApiKeyListResponse, ExecutePGSqlResponse, DescribeCreditsUsageRequest, DescribeMySQLClusterDetailRequest, DescribePlatformCreditsUsageRequest, 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, ModifyEnvExtraRequest, 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";
|
|
4
4
|
/**
|
|
5
5
|
* tcb client
|
|
6
6
|
* @class
|
|
@@ -438,6 +438,10 @@ Id、Secret、CreatedAt、Meta 等字段在该接口中不可修改,当客户
|
|
|
438
438
|
* 查询平台版本资源点模式下的资源点用量
|
|
439
439
|
*/
|
|
440
440
|
DescribePlatformCreditsUsage(req: DescribePlatformCreditsUsageRequest, cb?: (error: string, rep: DescribePlatformCreditsUsageResponse) => void): Promise<DescribePlatformCreditsUsageResponse>;
|
|
441
|
+
/**
|
|
442
|
+
* 启停AI模型,只支持内置分组 cloudbase 和 hunyuan-image
|
|
443
|
+
*/
|
|
444
|
+
ModifyAIModelStatus(req: ModifyAIModelStatusRequest, cb?: (error: string, rep: ModifyAIModelStatusResponse) => void): Promise<ModifyAIModelStatusResponse>;
|
|
441
445
|
/**
|
|
442
446
|
* 本接口VerifyPlatformHTTPServiceRoute用于前置校验平台版HTTP访问服务域名或者路由。覆盖的校验项包括:
|
|
443
447
|
1. Ownership:域名所有权(TXT/CNAME 记录);
|
|
@@ -610,6 +610,12 @@ Id、Secret、CreatedAt、Meta 等字段在该接口中不可修改,当客户
|
|
|
610
610
|
async DescribePlatformCreditsUsage(req, cb) {
|
|
611
611
|
return this.request("DescribePlatformCreditsUsage", req, cb);
|
|
612
612
|
}
|
|
613
|
+
/**
|
|
614
|
+
* 启停AI模型,只支持内置分组 cloudbase 和 hunyuan-image
|
|
615
|
+
*/
|
|
616
|
+
async ModifyAIModelStatus(req, cb) {
|
|
617
|
+
return this.request("ModifyAIModelStatus", req, cb);
|
|
618
|
+
}
|
|
613
619
|
/**
|
|
614
620
|
* 本接口VerifyPlatformHTTPServiceRoute用于前置校验平台版HTTP访问服务域名或者路由。覆盖的校验项包括:
|
|
615
621
|
1. Ownership:域名所有权(TXT/CNAME 记录);
|
|
@@ -2185,6 +2185,23 @@ export interface DeletePlatformHTTPServiceRouteResponse {
|
|
|
2185
2185
|
*/
|
|
2186
2186
|
RequestId?: string;
|
|
2187
2187
|
}
|
|
2188
|
+
/**
|
|
2189
|
+
* ModifyAIModelStatus请求参数结构体
|
|
2190
|
+
*/
|
|
2191
|
+
export interface ModifyAIModelStatusRequest {
|
|
2192
|
+
/**
|
|
2193
|
+
* <p>环境ID</p>
|
|
2194
|
+
*/
|
|
2195
|
+
EnvId: string;
|
|
2196
|
+
/**
|
|
2197
|
+
* <p>分组名</p><p>枚举值:</p><ul><li>cloudbase: 生文系列内置模型</li><li>hunyuan-image: 生图系列内置模型</li></ul><p>系统内置分组固定标识</p>
|
|
2198
|
+
*/
|
|
2199
|
+
GroupName: string;
|
|
2200
|
+
/**
|
|
2201
|
+
* <p>模型设置</p><p>空数组表示无操作</p>
|
|
2202
|
+
*/
|
|
2203
|
+
Models?: Array<AIModelStatus>;
|
|
2204
|
+
}
|
|
2188
2205
|
/**
|
|
2189
2206
|
* 云函数公网访问固定ip配置
|
|
2190
2207
|
*/
|
|
@@ -2459,6 +2476,19 @@ export interface DescribeCloudBaseRunServerVersionRequest {
|
|
|
2459
2476
|
*/
|
|
2460
2477
|
VersionName: string;
|
|
2461
2478
|
}
|
|
2479
|
+
/**
|
|
2480
|
+
* ModifyAIModelStatus返回参数结构体
|
|
2481
|
+
*/
|
|
2482
|
+
export interface ModifyAIModelStatusResponse {
|
|
2483
|
+
/**
|
|
2484
|
+
* <p>影响的分组数</p>
|
|
2485
|
+
*/
|
|
2486
|
+
Count?: number;
|
|
2487
|
+
/**
|
|
2488
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2489
|
+
*/
|
|
2490
|
+
RequestId?: string;
|
|
2491
|
+
}
|
|
2462
2492
|
/**
|
|
2463
2493
|
* ModifyEnvPlan请求参数结构体
|
|
2464
2494
|
*/
|
|
@@ -3199,17 +3229,21 @@ export interface DescribeMySQLClusterDetailRequest {
|
|
|
3199
3229
|
EnvId: string;
|
|
3200
3230
|
}
|
|
3201
3231
|
/**
|
|
3202
|
-
*
|
|
3232
|
+
* DescribePlatformCreditsUsage请求参数结构体
|
|
3203
3233
|
*/
|
|
3204
|
-
export interface
|
|
3234
|
+
export interface DescribePlatformCreditsUsageRequest {
|
|
3205
3235
|
/**
|
|
3206
|
-
* <p
|
|
3236
|
+
* <p>开始日期</p><p>参数格式:2025-09-22</p>
|
|
3207
3237
|
*/
|
|
3208
|
-
|
|
3238
|
+
StartDate: string;
|
|
3209
3239
|
/**
|
|
3210
|
-
* <p
|
|
3240
|
+
* <p>结束日期</p><p>参数格式:2025-09-22</p>
|
|
3211
3241
|
*/
|
|
3212
|
-
|
|
3242
|
+
EndDate: string;
|
|
3243
|
+
/**
|
|
3244
|
+
* <p>平台版套餐id</p>
|
|
3245
|
+
*/
|
|
3246
|
+
PlatformId: string;
|
|
3213
3247
|
}
|
|
3214
3248
|
/**
|
|
3215
3249
|
* CreateStaticStore请求参数结构体
|
|
@@ -5516,6 +5550,19 @@ export interface VerifyPlatformHTTPServiceRouteResponse {
|
|
|
5516
5550
|
*/
|
|
5517
5551
|
RequestId?: string;
|
|
5518
5552
|
}
|
|
5553
|
+
/**
|
|
5554
|
+
* 控制模型启用和停止
|
|
5555
|
+
*/
|
|
5556
|
+
export interface AIModelStatus {
|
|
5557
|
+
/**
|
|
5558
|
+
* <p>模型名称</p>
|
|
5559
|
+
*/
|
|
5560
|
+
Model?: string;
|
|
5561
|
+
/**
|
|
5562
|
+
* <p>开关状态</p><p>枚举值:</p><ul><li>ENABLE: 打开模型</li><li>DISABLE: 关闭模型</li></ul>
|
|
5563
|
+
*/
|
|
5564
|
+
Status?: string;
|
|
5565
|
+
}
|
|
5519
5566
|
/**
|
|
5520
5567
|
* UpdateAIModel请求参数结构体
|
|
5521
5568
|
*/
|
|
@@ -7095,19 +7142,19 @@ export interface DescribeTaskResultResponse {
|
|
|
7095
7142
|
*/
|
|
7096
7143
|
TaskId?: string;
|
|
7097
7144
|
/**
|
|
7098
|
-
* <p>任务类型</p><p>枚举值:</p><ul><li>PGUserMigration: PG Migrate 任务</li></ul>
|
|
7145
|
+
* <p>任务类型</p><p>枚举值:</p><ul><li>PGUserMigration: PG Migrate 任务</li><li>PGDump: PG 数据库整库导出任务</li></ul>
|
|
7099
7146
|
*/
|
|
7100
7147
|
TaskType?: string;
|
|
7101
7148
|
/**
|
|
7102
|
-
* <p>任务状态</p><p>枚举值:</p><ul><li>Failed: 失败</li><li>Succeed: 成功</li><li>Accepted: 已接收</li><li>Running: 运行中</li></ul>
|
|
7149
|
+
* <p>任务状态</p><p>枚举值:</p><ul><li>Failed: 失败</li><li>Succeed: 成功</li><li>Accepted: 已接收</li><li>Running: 运行中</li><li>Pending: 已受理,等待工作流启动</li></ul>
|
|
7103
7150
|
*/
|
|
7104
7151
|
Status?: string;
|
|
7105
7152
|
/**
|
|
7106
|
-
* <p
|
|
7153
|
+
* <p>任务当前执行步骤。PGDump 任务可能为 Queued(排队)、Preparing(准备)、Dumping(导出)、Validating(校验)、Uploading(上传)、Finalizing(收尾)、Completed(完成);其他任务的步骤由任务类型决定。</p>
|
|
7107
7154
|
*/
|
|
7108
7155
|
Phase?: string;
|
|
7109
7156
|
/**
|
|
7110
|
-
* <p
|
|
7157
|
+
* <p>失败原因。PGDump 任务返回稳定业务码:PGDumpPermissionDenied、PGDumpToolVersionMismatch、PGDumpSizeExceeded、PGDumpTimeout、PGDumpProcessFailed、PGDumpUploadFailed、PGDumpSourceChanged;成功时为空。其他任务按原有失败原因返回。</p>
|
|
7111
7158
|
*/
|
|
7112
7159
|
Reason?: string;
|
|
7113
7160
|
/**
|
|
@@ -7119,7 +7166,7 @@ export interface DescribeTaskResultResponse {
|
|
|
7119
7166
|
*/
|
|
7120
7167
|
UpdatedAt?: string;
|
|
7121
7168
|
/**
|
|
7122
|
-
* <p
|
|
7169
|
+
* <p>任务参数键值对列表,Value 均为字符串。PGDump 成功任务包含 file_name(文件名)、file_size_bytes(字节数)、checksum_sha256(SHA256)、source_db_version(源库版本)、dump_tool_version(工具版本)、file_expires_at(RFC3339 过期时间)。文件未过期且对象存在时返回 download_url;URL 过期后可重新查询,勿记录或持久化签名 URL。仅对象确认缺失时返回 file_missing=true;文件过期不返回下载 URL。归档查询或签名临时故障返回系统错误,任务终态不变。</p>
|
|
7123
7170
|
*/
|
|
7124
7171
|
Params?: Array<ObjectKV>;
|
|
7125
7172
|
/**
|
|
@@ -8261,21 +8308,17 @@ export interface Provider {
|
|
|
8261
8308
|
AutoSignInWhenPhoneNumberMatch?: string;
|
|
8262
8309
|
}
|
|
8263
8310
|
/**
|
|
8264
|
-
*
|
|
8311
|
+
* ModifyEnvExtra请求参数结构体
|
|
8265
8312
|
*/
|
|
8266
|
-
export interface
|
|
8267
|
-
/**
|
|
8268
|
-
* <p>开始日期</p><p>参数格式:2025-09-22</p>
|
|
8269
|
-
*/
|
|
8270
|
-
StartDate: string;
|
|
8313
|
+
export interface ModifyEnvExtraRequest {
|
|
8271
8314
|
/**
|
|
8272
|
-
* <p
|
|
8315
|
+
* <p>环境ID</p>
|
|
8273
8316
|
*/
|
|
8274
|
-
|
|
8317
|
+
EnvId: string;
|
|
8275
8318
|
/**
|
|
8276
|
-
* <p
|
|
8319
|
+
* <p>开启或关闭 <code>超限转按量</code>。<br>可取值: TRUE/FALSE (字符串类型)<br>非法制、不传、为空 则不变更该字段。</p>
|
|
8277
8320
|
*/
|
|
8278
|
-
|
|
8321
|
+
EnableOverrun?: string;
|
|
8279
8322
|
}
|
|
8280
8323
|
/**
|
|
8281
8324
|
* 云应用过滤
|
|
@@ -8779,7 +8822,7 @@ export interface StaticEnvironment {
|
|
|
8779
8822
|
*/
|
|
8780
8823
|
export interface DescribeTaskResultRequest {
|
|
8781
8824
|
/**
|
|
8782
|
-
* <p>云开发环境ID
|
|
8825
|
+
* <p>云开发环境 ID。查询 PGDump 任务时,所有状态均须提供且与任务环境一致,用于验证调用方环境归属。环境隔离或销毁后,仍可在归档保留期内查询历史任务及下载文件。</p>
|
|
8783
8826
|
*/
|
|
8784
8827
|
EnvId: string;
|
|
8785
8828
|
/**
|
|
@@ -76,7 +76,7 @@ export interface DescribeFraudUltimateRequest {
|
|
|
76
76
|
*/
|
|
77
77
|
WeChatOpenId?: string;
|
|
78
78
|
/**
|
|
79
|
-
* <p>手机号码(注:不需要带国家代码 例如:
|
|
79
|
+
* <p>手机号码(注:不需要带国家代码 例如:15xxxxxxxxx)。可以传入原文、MD5或SHA256</p>
|
|
80
80
|
*/
|
|
81
81
|
PhoneNumber?: string;
|
|
82
82
|
/**
|
|
@@ -186,7 +186,7 @@ export interface DescribeFinanceFraudUltimateRequest {
|
|
|
186
186
|
*/
|
|
187
187
|
WeChatOpenId?: string;
|
|
188
188
|
/**
|
|
189
|
-
* <p>手机号码(注:不需要带国家代码 例如:
|
|
189
|
+
* <p>手机号码(注:不需要带国家代码 例如:15xxxxxxxxx)。可以传入原文、MD5或SHA256</p>
|
|
190
190
|
*/
|
|
191
191
|
PhoneNumber?: string;
|
|
192
192
|
/**
|
|
@@ -306,14 +306,22 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
306
306
|
*/
|
|
307
307
|
DescribeInferenceDomains(req: DescribeInferenceDomainsRequest, cb?: (error: string, rep: DescribeInferenceDomainsResponse) => void): Promise<DescribeInferenceDomainsResponse>;
|
|
308
308
|
/**
|
|
309
|
-
*
|
|
310
|
-
- 当数据投递类型(LogType)为七层访问日志、四层代理日志、边缘函数运行日志时,同一个实体(七层域名、四层代理实例、边缘函数实例)在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到如下实时日志投递任务类型(TaskType)组合中:
|
|
311
|
-
- 一个推送至腾讯云 CLS 的任务,加上另一个推送至自定义 HTTP(S) 地址的任务;
|
|
312
|
-
- 一个推送至腾讯云 CLS 的任务,加上另一个推送至 AWS S3 兼容对象存储的任务;
|
|
313
|
-
- 当数据投递类型(LogType)为速率限制和 CC 攻击防护日志、托管规则日志、自定义规则日志、Bot 管理日志时,同一个实体在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。
|
|
314
|
-
- 当实时日志投递任务类型(TaskType)为 EdgeOne 日志分析(log_analysis)时,只支持数据投递类型(LogType)为七层访问日志(l7-access-logs)或托管规则日志(web-attack);在同一站点(ZoneId)、同一数据投递区域(Area)和数据的组合下,每种数据投递类型(LogType)只能添加一个推送至 EdgeOne 日志分析的实时日志投递任务。
|
|
309
|
+
* 本接口用于创建实时日志投递任务。
|
|
315
310
|
|
|
316
|
-
|
|
311
|
+
**限制规则**
|
|
312
|
+
|
|
313
|
+
同一实体(七层域名、四层代理实例、边缘函数实例)在同一 `LogType` + `Area` 组合下,每种 `TaskType` 仅允许创建一个任务。不同 `LogType` 的互斥规则如下:
|
|
314
|
+
|
|
315
|
+
| LogType | 互斥的 TaskType |
|
|
316
|
+
| --- | --- |
|
|
317
|
+
| 四层代理日志、边缘函数运行日志 | `custom_endpoint`、`s3`、`aws_s3` 三选一 |
|
|
318
|
+
|
|
319
|
+
当 `TaskType` 为 `log_analysis` 时:
|
|
320
|
+
|
|
321
|
+
- 仅支持 `LogType` 为 `l7-access-logs` 或 `web-attack`。
|
|
322
|
+
- 同一 `ZoneId` + `Area` 下,每种 `LogType` 仅允许创建一个任务。
|
|
323
|
+
|
|
324
|
+
**建议**:创建前先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口查询已有任务,避免重复添加。
|
|
317
325
|
*/
|
|
318
326
|
CreateRealtimeLogDeliveryTask(req: CreateRealtimeLogDeliveryTaskRequest, cb?: (error: string, rep: CreateRealtimeLogDeliveryTaskResponse) => void): Promise<CreateRealtimeLogDeliveryTaskResponse>;
|
|
319
327
|
/**
|
|
@@ -464,14 +464,22 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
464
464
|
return this.request("DescribeInferenceDomains", req, cb);
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
|
-
*
|
|
468
|
-
- 当数据投递类型(LogType)为七层访问日志、四层代理日志、边缘函数运行日志时,同一个实体(七层域名、四层代理实例、边缘函数实例)在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到如下实时日志投递任务类型(TaskType)组合中:
|
|
469
|
-
- 一个推送至腾讯云 CLS 的任务,加上另一个推送至自定义 HTTP(S) 地址的任务;
|
|
470
|
-
- 一个推送至腾讯云 CLS 的任务,加上另一个推送至 AWS S3 兼容对象存储的任务;
|
|
471
|
-
- 当数据投递类型(LogType)为速率限制和 CC 攻击防护日志、托管规则日志、自定义规则日志、Bot 管理日志时,同一个实体在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。
|
|
472
|
-
- 当实时日志投递任务类型(TaskType)为 EdgeOne 日志分析(log_analysis)时,只支持数据投递类型(LogType)为七层访问日志(l7-access-logs)或托管规则日志(web-attack);在同一站点(ZoneId)、同一数据投递区域(Area)和数据的组合下,每种数据投递类型(LogType)只能添加一个推送至 EdgeOne 日志分析的实时日志投递任务。
|
|
467
|
+
* 本接口用于创建实时日志投递任务。
|
|
473
468
|
|
|
474
|
-
|
|
469
|
+
**限制规则**
|
|
470
|
+
|
|
471
|
+
同一实体(七层域名、四层代理实例、边缘函数实例)在同一 `LogType` + `Area` 组合下,每种 `TaskType` 仅允许创建一个任务。不同 `LogType` 的互斥规则如下:
|
|
472
|
+
|
|
473
|
+
| LogType | 互斥的 TaskType |
|
|
474
|
+
| --- | --- |
|
|
475
|
+
| 四层代理日志、边缘函数运行日志 | `custom_endpoint`、`s3`、`aws_s3` 三选一 |
|
|
476
|
+
|
|
477
|
+
当 `TaskType` 为 `log_analysis` 时:
|
|
478
|
+
|
|
479
|
+
- 仅支持 `LogType` 为 `l7-access-logs` 或 `web-attack`。
|
|
480
|
+
- 同一 `ZoneId` + `Area` 下,每种 `LogType` 仅允许创建一个任务。
|
|
481
|
+
|
|
482
|
+
**建议**:创建前先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口查询已有任务,避免重复添加。
|
|
475
483
|
*/
|
|
476
484
|
async CreateRealtimeLogDeliveryTask(req, cb) {
|
|
477
485
|
return this.request("CreateRealtimeLogDeliveryTask", req, cb);
|
|
@@ -1252,7 +1252,7 @@ export interface CreateRealtimeLogDeliveryTaskRequest {
|
|
|
1252
1252
|
*/
|
|
1253
1253
|
TaskName: string;
|
|
1254
1254
|
/**
|
|
1255
|
-
* <p>实时日志投递任务类型,取值有:<ul><li>cls: 推送到腾讯云 CLS;</li><li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li><li>s3:推送到 AWS S3
|
|
1255
|
+
* <p>实时日志投递任务类型,取值有:<ul><li>cls: 推送到腾讯云 CLS;</li><li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li><li>s3:推送到 S3 兼容(兼容 SigV4 鉴权算法)的对象存储的地址,当 <code>LogType = web-attack</code> 时不支持该任务类型;</li><li>aws_s3:推送到 AWS S3 存储桶地址,使用 IAM 角色授权,免长期密钥,仅适用于 AWS 原生 S3;</li><li>log_analysis:推送到 EdgeOne 日志分析,仅当 <code>LogType = l7-access-logs</code> 或 <code>web-attack</code> 时支持。</li></ul></p>
|
|
1256
1256
|
*/
|
|
1257
1257
|
TaskType: string;
|
|
1258
1258
|
/**
|
|
@@ -1268,7 +1268,7 @@ export interface CreateRealtimeLogDeliveryTaskRequest {
|
|
|
1268
1268
|
*/
|
|
1269
1269
|
CustomFields?: Array<CustomField>;
|
|
1270
1270
|
/**
|
|
1271
|
-
* <p>投递的自定义表达式字段列表,可以通过自定义日志推送字段名称和取值表达式,实现个性化的实时日志内容推送,使用详情见 [自定义日志字段表达式]()。<br>仅七层访问日志(LogType= l7-access-logs 或 domain)支持添加自定义字段。<br>允许配置的自定义字段个数有配额限制,如遇配额不足请 [联系我们](https://cloud.tencent.com/online-service?from=sales&source=PRESALE) 。<br>**注意**:若 CustomExpressionFields 中存在命名 与 Fields 和 CustomFields 中同名的字段,以 CustomExpressionFields 中的取值为准。</p>
|
|
1271
|
+
* <p>投递的自定义表达式字段列表,可以通过自定义日志推送字段名称和取值表达式,实现个性化的实时日志内容推送,使用详情见 [自定义日志字段表达式](https://cloud.tencent.com/document/product/1552/105794)。<br>仅七层访问日志(LogType= l7-access-logs 或 domain)支持添加自定义字段。<br>允许配置的自定义字段个数有配额限制,如遇配额不足请 [联系我们](https://cloud.tencent.com/online-service?from=sales&source=PRESALE) 。<br>**注意**:若 CustomExpressionFields 中存在命名 与 Fields 和 CustomFields 中同名的字段,以 CustomExpressionFields 中的取值为准。</p>
|
|
1272
1272
|
*/
|
|
1273
1273
|
CustomExpressionFields?: Array<CustomExpressionField>;
|
|
1274
1274
|
/**
|
|
@@ -1280,7 +1280,7 @@ export interface CreateRealtimeLogDeliveryTaskRequest {
|
|
|
1280
1280
|
*/
|
|
1281
1281
|
Sample?: number;
|
|
1282
1282
|
/**
|
|
1283
|
-
* <p>日志投递的输出格式,使用详情见 <a href="https://cloud.tencent.com/document/product/1552/110448">自定义日志输出格式</a>。不填表示为默认格式,默认格式逻辑如下:<ul><li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li><li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li></ul>特别地,当 TaskType 取值为 cls 或 log_analysis 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。</p>
|
|
1283
|
+
* <p>日志投递的输出格式,使用详情见 <a href="https://cloud.tencent.com/document/product/1552/110448">自定义日志输出格式</a>。不填表示为默认格式,默认格式逻辑如下:<ul><li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li><li>当 TaskType 取值为 s3 或 aws_s3 时,默认格式为 JSON Lines;</li></ul>特别地,当 TaskType 取值为 cls 或 log_analysis 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。</p>
|
|
1284
1284
|
*/
|
|
1285
1285
|
LogFormat?: LogFormat;
|
|
1286
1286
|
/**
|
|
@@ -1292,9 +1292,13 @@ export interface CreateRealtimeLogDeliveryTaskRequest {
|
|
|
1292
1292
|
*/
|
|
1293
1293
|
CustomEndpoint?: CustomEndpoint;
|
|
1294
1294
|
/**
|
|
1295
|
-
* <p>
|
|
1295
|
+
* <p>S3 兼容(兼容 SigV4 鉴权算法)的对象存储的配置信息。当 TaskType 取值为 s3 时,该参数必填。</p>
|
|
1296
1296
|
*/
|
|
1297
1297
|
S3?: S3;
|
|
1298
|
+
/**
|
|
1299
|
+
* <p>AWS S3 的对象存储的配置信息,使用 IAM 角色授权,免长期密钥,仅适用于 AWS 原生 S3 。当 TaskType 为 aws_s3 时,该参数必填。</p>
|
|
1300
|
+
*/
|
|
1301
|
+
AWSS3?: AWSS3;
|
|
1298
1302
|
}
|
|
1299
1303
|
/**
|
|
1300
1304
|
* ModifyAccelerationDomainStatuses返回参数结构体
|
|
@@ -2700,7 +2704,7 @@ export interface RealtimeLogDeliveryTask {
|
|
|
2700
2704
|
*/
|
|
2701
2705
|
DeliveryStatus?: string;
|
|
2702
2706
|
/**
|
|
2703
|
-
* <p>实时日志投递任务类型,取值有: <ul><li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 S3 兼容(兼容 SigV4 鉴权算法)的对象存储的地址;</li><li>log_analysis:推送到 EdgeOne 日志分析。</li></ul></p>
|
|
2707
|
+
* <p>实时日志投递任务类型,取值有: <ul><li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 S3 兼容(兼容 SigV4 鉴权算法)的对象存储的地址;</li><li>aws_s3:推送到 AWS S3 存储桶地址;</li><li>log_analysis:推送到 EdgeOne 日志分析。</li></ul></p>
|
|
2704
2708
|
*/
|
|
2705
2709
|
TaskType?: string;
|
|
2706
2710
|
/**
|
|
@@ -2755,6 +2759,11 @@ export interface RealtimeLogDeliveryTask {
|
|
|
2755
2759
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2756
2760
|
*/
|
|
2757
2761
|
S3?: S3;
|
|
2762
|
+
/**
|
|
2763
|
+
* <p>AWS S3 的对象存储的配置信息,使用 IAM 角色授权,免长期密钥,仅适用于 AWS 原生 S3 。</p>
|
|
2764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2765
|
+
*/
|
|
2766
|
+
AWSS3?: AWSS3;
|
|
2758
2767
|
/**
|
|
2759
2768
|
* <p>创建时间。</p>
|
|
2760
2769
|
*/
|
|
@@ -6952,11 +6961,11 @@ export interface ModifyRealtimeLogDeliveryTaskRequest {
|
|
|
6952
6961
|
*/
|
|
6953
6962
|
Fields?: Array<string>;
|
|
6954
6963
|
/**
|
|
6955
|
-
* <p
|
|
6964
|
+
* <p>投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。<br>自定义字段名称不能重复,仅七层访问日志(LogType= l7-access-logs 或 domain)支持添加自定义字段。<br>允许配置的自定义字段个数有配额限制,如遇配额不足请 [联系我们](https://cloud.tencent.com/online-service?from=sales&source=PRESALE)。</p>
|
|
6956
6965
|
*/
|
|
6957
6966
|
CustomFields?: Array<CustomField>;
|
|
6958
6967
|
/**
|
|
6959
|
-
* <p>投递的自定义表达式字段列表,可以通过自定义日志推送字段名称和取值表达式,实现个性化的实时日志内容推送,使用详情见 [自定义日志字段表达式]()。<br>仅七层访问日志(LogType= l7-access-logs 或 domain
|
|
6968
|
+
* <p>投递的自定义表达式字段列表,可以通过自定义日志推送字段名称和取值表达式,实现个性化的实时日志内容推送,使用详情见 [自定义日志字段表达式](https://cloud.tencent.com/document/product/1552/105794)。<br>仅七层访问日志(LogType= l7-access-logs 或 domain)支持添加自定义字段。<br>允许配置的自定义字段个数有配额限制,如遇配额不足请 [联系我们](https://cloud.tencent.com/online-service?from=sales&source=PRESALE) 。<br>**注意**:若 CustomExpressionFields 中存在命名 与 Fields 和 CustomFields 中同名的字段,以 CustomExpressionFields 中的取值为准。</p>
|
|
6960
6969
|
*/
|
|
6961
6970
|
CustomExpressionFields?: Array<CustomExpressionField>;
|
|
6962
6971
|
/**
|
|
@@ -6976,9 +6985,13 @@ export interface ModifyRealtimeLogDeliveryTaskRequest {
|
|
|
6976
6985
|
*/
|
|
6977
6986
|
CustomEndpoint?: CustomEndpoint;
|
|
6978
6987
|
/**
|
|
6979
|
-
* <p>
|
|
6988
|
+
* <p>S3 兼容(兼容 SigV4 鉴权算法)的对象存储的配置信息,不填保持原有配置。</p>
|
|
6980
6989
|
*/
|
|
6981
6990
|
S3?: S3;
|
|
6991
|
+
/**
|
|
6992
|
+
* <p>AWS S3 对象存储的配置信息,不填保持原有配置。</p>
|
|
6993
|
+
*/
|
|
6994
|
+
AWSS3?: AWSS3;
|
|
6982
6995
|
}
|
|
6983
6996
|
/**
|
|
6984
6997
|
* 视频流配置参数。
|
|
@@ -9360,28 +9373,25 @@ export interface DescribeFunctionComponentBindingsRequest {
|
|
|
9360
9373
|
*/
|
|
9361
9374
|
export interface AccessURLRedirectParameters {
|
|
9362
9375
|
/**
|
|
9363
|
-
*
|
|
9376
|
+
* <p>状态码,取值为 301、302、303、307、308 之一。</p>
|
|
9364
9377
|
*/
|
|
9365
9378
|
StatusCode?: number;
|
|
9366
9379
|
/**
|
|
9367
|
-
*
|
|
9368
|
-
<li>http:目标请求协议 HTTP;</li>
|
|
9369
|
-
<li>https:目标请求协议 HTTPS;</li>
|
|
9370
|
-
<li>follow:跟随请求。</li>
|
|
9380
|
+
* <p>目标请求协议。</p><p>枚举值:</p><ul><li>http: 目标请求协议为 HTTP。</li><li>https: 目标请求协议为 HTTPS。</li><li>follow: 跟随请求。</li></ul>
|
|
9371
9381
|
*/
|
|
9372
9382
|
Protocol?: string;
|
|
9373
9383
|
/**
|
|
9374
|
-
*
|
|
9384
|
+
* <p>目标 HostName。</p>
|
|
9375
9385
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9376
9386
|
*/
|
|
9377
9387
|
HostName?: HostName;
|
|
9378
9388
|
/**
|
|
9379
|
-
*
|
|
9389
|
+
* <p>目标路径。</p>
|
|
9380
9390
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9381
9391
|
*/
|
|
9382
9392
|
URLPath?: URLPath;
|
|
9383
9393
|
/**
|
|
9384
|
-
*
|
|
9394
|
+
* <p>携带查询参数。</p>
|
|
9385
9395
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9386
9396
|
*/
|
|
9387
9397
|
QueryString?: AccessURLRedirectQueryString;
|
|
@@ -14323,6 +14333,31 @@ export interface L4Proxy {
|
|
|
14323
14333
|
*/
|
|
14324
14334
|
UpdateTime?: string;
|
|
14325
14335
|
}
|
|
14336
|
+
/**
|
|
14337
|
+
* AWS S3 目的地信息。通过 IAM 角色 + External ID 授权 EdgeOne 将实时日志投递至客户的 AWS S3 桶,无需提供长期访问密钥,详情见 [推送至 AWS S3](https://cloud.tencent.com/document/product/1552/96007)。
|
|
14338
|
+
*/
|
|
14339
|
+
export interface AWSS3 {
|
|
14340
|
+
/**
|
|
14341
|
+
* <p>AWS S3 存储桶对应的服务端点域名,取值可参考 <a href="https://docs.aws.amazon.com/zh_cn/general/latest/gr/rande.html#regional-endpoints">AWS 服务端点</a>。例如:s3.us-west-2.amazonaws.com 。</p>
|
|
14342
|
+
*/
|
|
14343
|
+
Endpoint: string;
|
|
14344
|
+
/**
|
|
14345
|
+
* <p>AWS S3 存储桶名称。可在 AWS S3 控制台 Buckets(存储桶)列表中查看对应桶名。<br>长度须为 3–63 个字符,只能包含小写字母、数字、句点(.)和连字符(-),且必须以字母或数字开头和结尾。</p>
|
|
14346
|
+
*/
|
|
14347
|
+
BucketName: string;
|
|
14348
|
+
/**
|
|
14349
|
+
* <p>日志文件在 AWS S3 桶中的存储目录路径,以 <code>/</code> 分隔可创建多级目录,且不能包含 <code>./..</code> 等相对路径段,路径总长度不超过 1024 个字节。<br>当目录路径存在时直接使用该路径,当目录路径不存在时会自动创建。<br>目录名仅允许由字母、数字、 及 <code>!-_.*'()</code> 构成。<br>示例:<code>eo-logs/l7-access-logs</code> 。</p>
|
|
14350
|
+
*/
|
|
14351
|
+
Path: string;
|
|
14352
|
+
/**
|
|
14353
|
+
* <p>授权 EdgeOne 访问 AWS S3 桶的 IAM 角色的 ARN。<br>需先在 AWS 账号中创建一个授予 EdgeOne 写入权限的 IAM 角色(创建方式详情见 <a href="https://cloud.tencent.com/document/product/1552/96007">推送至 AWS S3</a>),创建后可在 AWS IAM 控制台的角色详情页顶部查看并复制该角色的 ARN。<br>例如:<code>arn:aws:iam::123456789012:role/eo-logs</code> 。</p>
|
|
14354
|
+
*/
|
|
14355
|
+
RoleARN: string;
|
|
14356
|
+
/**
|
|
14357
|
+
* <p>数据压缩类型,取值有: <ul><li> gzip:gzip压缩。</li></ul>不填表示不启用压缩。</p>
|
|
14358
|
+
*/
|
|
14359
|
+
CompressType?: string;
|
|
14360
|
+
}
|
|
14326
14361
|
/**
|
|
14327
14362
|
* 例外规则的跳过匹配条件,即在例外时根据本匹配条件,略过指定字段及内容。
|
|
14328
14363
|
*/
|
|
@@ -14943,8 +14978,8 @@ export interface L4ProxyRule {
|
|
|
14943
14978
|
/**
|
|
14944
14979
|
* 源站地址:
|
|
14945
14980
|
<li>当 OriginType 为 IP_DOMAIN 时,填写 IP 或域名,如 8.8.8.8 或 test.com ;</li>
|
|
14946
|
-
<li>当 OriginType 为 ORIGIN_GROUP 时,填写源站组 ID,如 og-537y24vf5b41;</li>
|
|
14947
|
-
<li>当 OriginType 为 LB 时,填写负载均衡实例 ID,如 lb-2qwk30xf7s9g。</li>
|
|
14981
|
+
<li>当 OriginType 为 ORIGIN_GROUP 时,填写源站组 ID,如 og-537y24vf5b41;如果引用了其它站点的源站组,格式为{源站组 ID}@{ZoneID}。例如:og-testorigin@zone-38moq1z10wwwy;</li>
|
|
14982
|
+
<li>当 OriginType 为 LB 时,填写负载均衡实例 ID,如 lb-2qwk30xf7s9g;如果引用了其它站点的负载均衡,格式为{负载均衡 ID}@{ZoneID}。例如:lb-2rxpamcyqfzg@zone-38moq1z10wwwy。</li>
|
|
14948
14983
|
注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。
|
|
14949
14984
|
|
|
14950
14985
|
*/
|
|
@@ -2861,6 +2861,10 @@ export interface CreateNotebookRequest {
|
|
|
2861
2861
|
* <p>是否访问公网</p>
|
|
2862
2862
|
*/
|
|
2863
2863
|
DirectInternetAccess: boolean;
|
|
2864
|
+
/**
|
|
2865
|
+
* <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
2866
|
+
*/
|
|
2867
|
+
TiProjectId?: string;
|
|
2864
2868
|
/**
|
|
2865
2869
|
* <p>资源组ID(for预付费)</p>
|
|
2866
2870
|
*/
|
|
@@ -567,7 +567,17 @@ export declare class Client extends AbstractClient {
|
|
|
567
567
|
*/
|
|
568
568
|
DescribeAccessHistogram(req: DescribeAccessHistogramRequest, cb?: (error: string, rep: DescribeAccessHistogramResponse) => void): Promise<DescribeAccessHistogramResponse>;
|
|
569
569
|
/**
|
|
570
|
-
*
|
|
570
|
+
* 查询后付费实例列表。响应结构与 DescribeInstances 保持一致,全量返回实例字段(含各类套餐包信息),并额外填充 LLMTokenUsage(当天 token 消耗量与近 7 天趋势)。
|
|
571
|
+
|
|
572
|
+
针对按量后付费基础安全实例(Edition 为 sparta-waf / clb-waf),额外返回实例维度的实时统计,用于控制台「实例管理」页展示:
|
|
573
|
+
1. DomainCount:实时去重后的接入域名数(含云原生防护对象默认虚拟域名);
|
|
574
|
+
2. ExpertRuleCount:实时开启的专家规则数,口径为接入域名数 × 1;
|
|
575
|
+
3. CustomRuleCount:该实例下所有接入域名的实时自定义规则条数之和。
|
|
576
|
+
|
|
577
|
+
注意事项:
|
|
578
|
+
- 上述 3 个字段均为调用时刻的实时快照,非按小时的计费计量值;
|
|
579
|
+
- 与账单接口 DescribeWafPostpaidBillDetail 返回的小时计量值(DomainUsage / ExpertUsage / CustomUsage)可能存在差异:账单侧按自然小时计量、包含小时内已删除的规则,且自定义规则在多实例共用同一域名时会平分并向上取整,而本接口不做平分、不含已删除规则;
|
|
580
|
+
- Edition 为 llm-sdk-waf 等非基础安全实例无域名接入与规则概念,上述 3 个字段固定为 0。
|
|
571
581
|
*/
|
|
572
582
|
DescribeAfterPayInstances(req: DescribeAfterPayInstancesRequest, cb?: (error: string, rep: DescribeAfterPayInstancesResponse) => void): Promise<DescribeAfterPayInstancesResponse>;
|
|
573
583
|
/**
|
|
@@ -865,7 +865,17 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
865
865
|
return this.request("DescribeAccessHistogram", req, cb);
|
|
866
866
|
}
|
|
867
867
|
/**
|
|
868
|
-
*
|
|
868
|
+
* 查询后付费实例列表。响应结构与 DescribeInstances 保持一致,全量返回实例字段(含各类套餐包信息),并额外填充 LLMTokenUsage(当天 token 消耗量与近 7 天趋势)。
|
|
869
|
+
|
|
870
|
+
针对按量后付费基础安全实例(Edition 为 sparta-waf / clb-waf),额外返回实例维度的实时统计,用于控制台「实例管理」页展示:
|
|
871
|
+
1. DomainCount:实时去重后的接入域名数(含云原生防护对象默认虚拟域名);
|
|
872
|
+
2. ExpertRuleCount:实时开启的专家规则数,口径为接入域名数 × 1;
|
|
873
|
+
3. CustomRuleCount:该实例下所有接入域名的实时自定义规则条数之和。
|
|
874
|
+
|
|
875
|
+
注意事项:
|
|
876
|
+
- 上述 3 个字段均为调用时刻的实时快照,非按小时的计费计量值;
|
|
877
|
+
- 与账单接口 DescribeWafPostpaidBillDetail 返回的小时计量值(DomainUsage / ExpertUsage / CustomUsage)可能存在差异:账单侧按自然小时计量、包含小时内已删除的规则,且自定义规则在多实例共用同一域名时会平分并向上取整,而本接口不做平分、不含已删除规则;
|
|
878
|
+
- Edition 为 llm-sdk-waf 等非基础安全实例无域名接入与规则概念,上述 3 个字段固定为 0。
|
|
869
879
|
*/
|
|
870
880
|
async DescribeAfterPayInstances(req, cb) {
|
|
871
881
|
return this.request("DescribeAfterPayInstances", req, cb);
|