tencentcloud-sdk-nodejs 4.0.587 → 4.0.588
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/CHANGELOG.md +216 -0
- package/SERVICE_CHANGELOG.md +250 -211
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +6 -0
- package/src/services/cbs/v20170312/cbs_models.ts +8 -8
- package/src/services/cdb/v20170320/cdb_client.ts +173 -47
- package/src/services/cdb/v20170320/cdb_models.ts +1198 -362
- package/src/services/cfs/v20190719/cfs_client.ts +12 -0
- package/src/services/cfs/v20190719/cfs_models.ts +56 -0
- package/src/services/clb/v20180317/clb_models.ts +6 -6
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +6 -0
- package/src/services/gaap/v20180529/gaap_client.ts +1 -0
- package/src/services/gaap/v20180529/gaap_models.ts +16 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +6 -0
- package/src/services/mps/v20190612/mps_models.ts +28 -19
- package/src/services/tdmq/v20200217/tdmq_models.ts +43 -1
- package/src/services/teo/v20220901/teo_models.ts +3 -3
- package/src/services/tione/v20211111/tione_models.ts +41 -10
- package/src/services/tmt/v20180321/tmt_client.ts +1 -2
- package/src/services/tmt/v20180321/tmt_models.ts +13 -13
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +5 -0
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +8 -8
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +53 -13
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +77 -17
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +991 -286
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +5 -1
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +6 -0
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +47 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +6 -6
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -0
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +14 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +5 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +10 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +36 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +3 -3
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +35 -9
- package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +1 -2
- package/tencentcloud/services/tmt/v20180321/tmt_client.js +1 -2
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +13 -13
- package/test/cdb.v20170320.test.js +110 -10
- package/test/cfs.v20190719.test.js +10 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse, StopMigrationTaskResponse, SignUpCfsServiceResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, UpdateCfsPGroupResponse, DeleteAutoSnapshotPolicyRequest, DeleteCfsFileSystemResponse, UpdateCfsRuleRequest, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DeleteMountTargetResponse, CreateCfsSnapshotRequest, DescribeBucketListRequest, DeleteCfsRuleRequest, UpdateCfsRuleResponse, DeleteMigrationTaskResponse, DescribeSnapshotOperationLogsResponse, UpdateCfsFileSystemPGroupResponse, DeleteCfsFileSystemRequest, CreateCfsPGroupResponse, DescribeCfsServiceStatusRequest, DeleteUserQuotaResponse, DeleteMigrationTaskRequest, SetUserQuotaRequest, CreateAutoSnapshotPolicyResponse, CreateCfsSnapshotResponse, DeleteMountTargetRequest, CreateCfsRuleRequest, DescribeUserQuotaRequest, DescribeBucketListResponse, UpdateCfsFileSystemNameResponse, DescribeCfsSnapshotOverviewResponse, DeleteCfsSnapshotRequest, DescribeCfsFileSystemClientsRequest, DescribeCfsFileSystemsRequest, CreateCfsFileSystemRequest, DescribeMigrationTasksRequest, UnbindAutoSnapshotPolicyRequest, UnbindAutoSnapshotPolicyResponse, DescribeCfsServiceStatusResponse, DescribeCfsSnapshotsRequest, UpdateCfsFileSystemSizeLimitResponse, UpdateAutoSnapshotPolicyRequest, UpdateCfsFileSystemSizeLimitRequest, DescribeCfsRulesResponse, SignUpCfsServiceRequest, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, CreateMigrationTaskResponse, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, UpdateCfsPGroupRequest, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, CreateCfsRuleResponse, DescribeCfsSnapshotsResponse, StopMigrationTaskRequest, DescribeAutoSnapshotPoliciesResponse, DescribeCfsSnapshotOverviewRequest, CreateAutoSnapshotPolicyRequest } from "./cfs_models";
|
|
3
|
+
import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse, StopMigrationTaskResponse, SignUpCfsServiceResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, UpdateCfsPGroupResponse, DeleteAutoSnapshotPolicyRequest, DeleteCfsFileSystemResponse, UpdateCfsRuleRequest, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DeleteMountTargetResponse, CreateCfsSnapshotRequest, DescribeBucketListRequest, DeleteCfsRuleRequest, UpdateCfsRuleResponse, DeleteMigrationTaskResponse, DescribeSnapshotOperationLogsResponse, UpdateCfsFileSystemPGroupResponse, DeleteCfsFileSystemRequest, CreateCfsPGroupResponse, DescribeCfsServiceStatusRequest, DeleteUserQuotaResponse, DeleteMigrationTaskRequest, SetUserQuotaRequest, CreateAutoSnapshotPolicyResponse, ModifyFileSystemAutoScaleUpRuleResponse, CreateCfsSnapshotResponse, DeleteMountTargetRequest, CreateCfsRuleRequest, DescribeUserQuotaRequest, DescribeBucketListResponse, UpdateCfsFileSystemNameResponse, DescribeCfsSnapshotOverviewResponse, DeleteCfsSnapshotRequest, DescribeCfsFileSystemClientsRequest, DescribeCfsFileSystemsRequest, CreateCfsFileSystemRequest, DescribeMigrationTasksRequest, UnbindAutoSnapshotPolicyRequest, UnbindAutoSnapshotPolicyResponse, DescribeCfsServiceStatusResponse, DescribeCfsSnapshotsRequest, UpdateCfsFileSystemSizeLimitResponse, UpdateAutoSnapshotPolicyRequest, UpdateCfsFileSystemSizeLimitRequest, DescribeCfsRulesResponse, SignUpCfsServiceRequest, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, CreateMigrationTaskResponse, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, UpdateCfsPGroupRequest, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, CreateCfsRuleResponse, DescribeCfsSnapshotsResponse, StopMigrationTaskRequest, DescribeAutoSnapshotPoliciesResponse, DescribeCfsSnapshotOverviewRequest, CreateAutoSnapshotPolicyRequest } from "./cfs_models";
|
|
4
4
|
/**
|
|
5
5
|
* cfs client
|
|
6
6
|
* @class
|
|
@@ -106,6 +106,10 @@ export declare class Client extends AbstractClient {
|
|
|
106
106
|
* 查询文件系统配额
|
|
107
107
|
*/
|
|
108
108
|
DescribeUserQuota(req: DescribeUserQuotaRequest, cb?: (error: string, rep: DescribeUserQuotaResponse) => void): Promise<DescribeUserQuotaResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* 用来设置文件系统扩容策略
|
|
111
|
+
*/
|
|
112
|
+
ModifyFileSystemAutoScaleUpRule(req: ModifyFileSystemAutoScaleUpRuleRequest, cb?: (error: string, rep: ModifyFileSystemAutoScaleUpRuleResponse) => void): Promise<ModifyFileSystemAutoScaleUpRuleResponse>;
|
|
109
113
|
/**
|
|
110
114
|
* 更新定期自动快照策略
|
|
111
115
|
*/
|
|
@@ -174,6 +174,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
174
174
|
async DescribeUserQuota(req, cb) {
|
|
175
175
|
return this.request("DescribeUserQuota", req, cb);
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* 用来设置文件系统扩容策略
|
|
179
|
+
*/
|
|
180
|
+
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
181
|
+
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|
|
182
|
+
}
|
|
177
183
|
/**
|
|
178
184
|
* 更新定期自动快照策略
|
|
179
185
|
*/
|
|
@@ -465,6 +465,28 @@ export interface BindAutoSnapshotPolicyRequest {
|
|
|
465
465
|
*/
|
|
466
466
|
FileSystemIds: string;
|
|
467
467
|
}
|
|
468
|
+
/**
|
|
469
|
+
* ModifyFileSystemAutoScaleUpRule请求参数结构体
|
|
470
|
+
*/
|
|
471
|
+
export interface ModifyFileSystemAutoScaleUpRuleRequest {
|
|
472
|
+
/**
|
|
473
|
+
* 文件系统id
|
|
474
|
+
*/
|
|
475
|
+
FileSystemId: string;
|
|
476
|
+
/**
|
|
477
|
+
* 扩容阈值,范围[10-90]
|
|
478
|
+
*/
|
|
479
|
+
ScaleUpThreshold: number;
|
|
480
|
+
/**
|
|
481
|
+
* 扩容后目标阈值,范围[10-90],该值要小于ScaleUpThreshold
|
|
482
|
+
*/
|
|
483
|
+
TargetThreshold: number;
|
|
484
|
+
/**
|
|
485
|
+
* 规则状态0:关闭,1 开启
|
|
486
|
+
|
|
487
|
+
*/
|
|
488
|
+
Status?: number;
|
|
489
|
+
}
|
|
468
490
|
/**
|
|
469
491
|
* ScaleUpFileSystem请求参数结构体
|
|
470
492
|
*/
|
|
@@ -1059,6 +1081,31 @@ export interface CreateAutoSnapshotPolicyResponse {
|
|
|
1059
1081
|
*/
|
|
1060
1082
|
RequestId?: string;
|
|
1061
1083
|
}
|
|
1084
|
+
/**
|
|
1085
|
+
* ModifyFileSystemAutoScaleUpRule返回参数结构体
|
|
1086
|
+
*/
|
|
1087
|
+
export interface ModifyFileSystemAutoScaleUpRuleResponse {
|
|
1088
|
+
/**
|
|
1089
|
+
* 文件系统id
|
|
1090
|
+
*/
|
|
1091
|
+
FileSystemId?: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* 规则状态0:关闭,1 开启
|
|
1094
|
+
*/
|
|
1095
|
+
Status?: number;
|
|
1096
|
+
/**
|
|
1097
|
+
* 扩容阈值,范围[10-90]
|
|
1098
|
+
*/
|
|
1099
|
+
ScaleUpThreshold?: number;
|
|
1100
|
+
/**
|
|
1101
|
+
* 扩容后达到阈值,范围[10-90]
|
|
1102
|
+
*/
|
|
1103
|
+
TargetThreshold?: number;
|
|
1104
|
+
/**
|
|
1105
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1106
|
+
*/
|
|
1107
|
+
RequestId?: string;
|
|
1108
|
+
}
|
|
1062
1109
|
/**
|
|
1063
1110
|
* 版本控制-类型数组
|
|
1064
1111
|
*/
|
|
@@ -476,11 +476,11 @@ export interface ModifyRuleRequest {
|
|
|
476
476
|
*/
|
|
477
477
|
ForwardType?: string;
|
|
478
478
|
/**
|
|
479
|
-
* TRPC被调服务器路由,ForwardType为TRPC
|
|
479
|
+
* TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。
|
|
480
480
|
*/
|
|
481
481
|
TrpcCallee?: string;
|
|
482
482
|
/**
|
|
483
|
-
* TRPC调用服务接口,ForwardType为TRPC
|
|
483
|
+
* TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放。
|
|
484
484
|
*/
|
|
485
485
|
TrpcFunc?: string;
|
|
486
486
|
}
|
|
@@ -2899,12 +2899,12 @@ export interface RuleOutput {
|
|
|
2899
2899
|
*/
|
|
2900
2900
|
WafDomainId: string;
|
|
2901
2901
|
/**
|
|
2902
|
-
* TRPC被调服务器路由,ForwardType为TRPC
|
|
2902
|
+
* TRPC被调服务器路由,ForwardType为TRPC时有效。目前暂未对外开放。
|
|
2903
2903
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2904
2904
|
*/
|
|
2905
2905
|
TrpcCallee: string;
|
|
2906
2906
|
/**
|
|
2907
|
-
* TRPC调用服务接口,ForwardType为TRPC
|
|
2907
|
+
* TRPC调用服务接口,ForwardType为TRPC时有效。目前暂未对外开放。
|
|
2908
2908
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2909
2909
|
*/
|
|
2910
2910
|
TrpcFunc: string;
|
|
@@ -4242,11 +4242,11 @@ export interface RuleInput {
|
|
|
4242
4242
|
*/
|
|
4243
4243
|
TargetType?: string;
|
|
4244
4244
|
/**
|
|
4245
|
-
* TRPC被调服务器路由,ForwardType为TRPC
|
|
4245
|
+
* TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。
|
|
4246
4246
|
*/
|
|
4247
4247
|
TrpcCallee?: string;
|
|
4248
4248
|
/**
|
|
4249
|
-
* TRPC调用服务接口,ForwardType为TRPC
|
|
4249
|
+
* TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放
|
|
4250
4250
|
*/
|
|
4251
4251
|
TrpcFunc?: string;
|
|
4252
4252
|
/**
|
|
@@ -3139,6 +3139,11 @@ SIGN_PAGING_SEAL - 可以指定印章ID
|
|
|
3139
3139
|
* 关键字索引,可选参数,如果一个关键字在PDF文件中存在多个,可以通过关键字索引指定使用第几个关键字作为最后的结果,可指定多个索引。示例[0,2],说明使用PDF文件内第1个和第3个关键字位置。
|
|
3140
3140
|
*/
|
|
3141
3141
|
KeywordIndexes?: Array<number>;
|
|
3142
|
+
/**
|
|
3143
|
+
* 填写提示的内容
|
|
3144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3145
|
+
*/
|
|
3146
|
+
Placeholder?: string;
|
|
3142
3147
|
}
|
|
3143
3148
|
/**
|
|
3144
3149
|
* GetDownloadFlowUrl请求参数结构体
|
|
@@ -46,6 +46,11 @@ export interface RegionDetail {
|
|
|
46
46
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
47
47
|
*/
|
|
48
48
|
FeatureBitmap: number;
|
|
49
|
+
/**
|
|
50
|
+
* 接入区域支持的能力
|
|
51
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
52
|
+
*/
|
|
53
|
+
SupportFeature: SupportFeature;
|
|
49
54
|
}
|
|
50
55
|
/**
|
|
51
56
|
* 网络加速的目标地址信息
|
|
@@ -95,6 +100,15 @@ export interface DescribeUDPListenersRequest {
|
|
|
95
100
|
*/
|
|
96
101
|
SearchValue?: string;
|
|
97
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* 加速区域支持的能力,包括支持的网络类型等等。
|
|
105
|
+
*/
|
|
106
|
+
export interface SupportFeature {
|
|
107
|
+
/**
|
|
108
|
+
* 接入区域支持的网络类型列表,normal表示支持常规BGP,cn2表示精品BGP,triple表示三网,secure_eip表示定制安全eip。
|
|
109
|
+
*/
|
|
110
|
+
NetworkType: Array<string>;
|
|
111
|
+
}
|
|
98
112
|
/**
|
|
99
113
|
* DescribeGlobalDomains请求参数结构体
|
|
100
114
|
*/
|
|
@@ -1192,6 +1192,11 @@ export interface ProjectEntryEx {
|
|
|
1192
1192
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1193
1193
|
*/
|
|
1194
1194
|
DeviceCount: number;
|
|
1195
|
+
/**
|
|
1196
|
+
* 是否开通物联使能
|
|
1197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1198
|
+
*/
|
|
1199
|
+
EnableOpenState: number;
|
|
1195
1200
|
}
|
|
1196
1201
|
/**
|
|
1197
1202
|
* DescribeBatchProduction返回参数结构体
|
|
@@ -5446,38 +5446,47 @@ export interface LiveStreamAiRecognitionResultInfo {
|
|
|
5446
5446
|
export interface ActivityPara {
|
|
5447
5447
|
/**
|
|
5448
5448
|
* 视频转码任务
|
|
5449
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5449
5450
|
*/
|
|
5450
5451
|
TranscodeTask?: TranscodeTaskInput;
|
|
5451
5452
|
/**
|
|
5452
5453
|
* 视频转动图任务
|
|
5454
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5453
5455
|
*/
|
|
5454
5456
|
AnimatedGraphicTask?: AnimatedGraphicTaskInput;
|
|
5455
5457
|
/**
|
|
5456
5458
|
* 视频按时间点截图任务
|
|
5459
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5457
5460
|
*/
|
|
5458
5461
|
SnapshotByTimeOffsetTask?: SnapshotByTimeOffsetTaskInput;
|
|
5459
5462
|
/**
|
|
5460
5463
|
* 视频采样截图任务
|
|
5464
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5461
5465
|
*/
|
|
5462
5466
|
SampleSnapshotTask?: SampleSnapshotTaskInput;
|
|
5463
5467
|
/**
|
|
5464
5468
|
* 视频截雪碧图任务
|
|
5469
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5465
5470
|
*/
|
|
5466
5471
|
ImageSpriteTask?: ImageSpriteTaskInput;
|
|
5467
5472
|
/**
|
|
5468
5473
|
* 转自适应码流任务
|
|
5474
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5469
5475
|
*/
|
|
5470
5476
|
AdaptiveDynamicStreamingTask?: AdaptiveDynamicStreamingTaskInput;
|
|
5471
5477
|
/**
|
|
5472
5478
|
* 视频内容审核类型任务
|
|
5479
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5473
5480
|
*/
|
|
5474
5481
|
AiContentReviewTask?: AiContentReviewTaskInput;
|
|
5475
5482
|
/**
|
|
5476
5483
|
* 视频内容分析类型任务
|
|
5484
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5477
5485
|
*/
|
|
5478
5486
|
AiAnalysisTask?: AiAnalysisTaskInput;
|
|
5479
5487
|
/**
|
|
5480
5488
|
* 视频内容识别类型任务
|
|
5489
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5481
5490
|
*/
|
|
5482
5491
|
AiRecognitionTask?: AiRecognitionTaskInput;
|
|
5483
5492
|
}
|
|
@@ -10447,7 +10456,7 @@ Enabled:已启用,
|
|
|
10447
10456
|
Disabled:已禁用。
|
|
10448
10457
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10449
10458
|
*/
|
|
10450
|
-
Status:
|
|
10459
|
+
Status: string;
|
|
10451
10460
|
/**
|
|
10452
10461
|
* 编排绑定的触发规则。
|
|
10453
10462
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -170,7 +170,7 @@ export interface RocketMQNamespace {
|
|
|
170
170
|
*/
|
|
171
171
|
NamespaceId: string;
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
173
|
+
* 已废弃,未消费消息的保留时间,以毫秒单位,范围60秒到15天
|
|
174
174
|
*/
|
|
175
175
|
Ttl: number;
|
|
176
176
|
/**
|
|
@@ -192,6 +192,11 @@ export interface RocketMQNamespace {
|
|
|
192
192
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
193
193
|
*/
|
|
194
194
|
VpcEndpoint: string;
|
|
195
|
+
/**
|
|
196
|
+
* 内部接入点地址
|
|
197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
198
|
+
*/
|
|
199
|
+
InternalEndpoint?: string;
|
|
195
200
|
}
|
|
196
201
|
/**
|
|
197
202
|
* DescribeSubscriptions请求参数结构体
|
|
@@ -599,6 +604,21 @@ export interface RocketMQVipInstance {
|
|
|
599
604
|
* 实例配置ID
|
|
600
605
|
*/
|
|
601
606
|
SpecName: string;
|
|
607
|
+
/**
|
|
608
|
+
* 最大可设置消息保留时间,小时为单位
|
|
609
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
610
|
+
*/
|
|
611
|
+
MaxRetention?: number;
|
|
612
|
+
/**
|
|
613
|
+
* 最小可设置消息保留时间,小时为单位
|
|
614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
615
|
+
*/
|
|
616
|
+
MinRetention?: number;
|
|
617
|
+
/**
|
|
618
|
+
* 实例消息保留时间,小时为单位
|
|
619
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
620
|
+
*/
|
|
621
|
+
Retention?: number;
|
|
602
622
|
}
|
|
603
623
|
/**
|
|
604
624
|
* RabbitMQ专享实例信息
|
|
@@ -667,6 +687,11 @@ export interface RabbitMQVipInstance {
|
|
|
667
687
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
668
688
|
*/
|
|
669
689
|
ExceptionInformation?: string;
|
|
690
|
+
/**
|
|
691
|
+
* 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
|
692
|
+
为了和计费区分开,额外开启一个状态位,用于显示。
|
|
693
|
+
*/
|
|
694
|
+
ClusterStatus?: number;
|
|
670
695
|
}
|
|
671
696
|
/**
|
|
672
697
|
* DescribeCmqQueues返回参数结构体
|
|
@@ -3620,6 +3645,16 @@ export interface RocketMQClusterInfo {
|
|
|
3620
3645
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3621
3646
|
*/
|
|
3622
3647
|
HttpVpcEndpoint?: string;
|
|
3648
|
+
/**
|
|
3649
|
+
* TCP内部接入地址
|
|
3650
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3651
|
+
*/
|
|
3652
|
+
InternalEndpoint?: string;
|
|
3653
|
+
/**
|
|
3654
|
+
* HTTP协议内部接入地址
|
|
3655
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3656
|
+
*/
|
|
3657
|
+
HttpInternalEndpoint?: string;
|
|
3623
3658
|
}
|
|
3624
3659
|
/**
|
|
3625
3660
|
* DescribeRocketMQTopics返回参数结构体
|
|
@@ -3458,12 +3458,12 @@ export interface DescribeTimingL7SourceDataResponse {
|
|
|
3458
3458
|
/**
|
|
3459
3459
|
* 查询结果的总条数。
|
|
3460
3460
|
*/
|
|
3461
|
-
TotalCount
|
|
3461
|
+
TotalCount?: number;
|
|
3462
3462
|
/**
|
|
3463
3463
|
* 时序流量数据列表。
|
|
3464
3464
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3465
3465
|
*/
|
|
3466
|
-
TimingDataRecords
|
|
3466
|
+
TimingDataRecords?: Array<TimingDataRecord>;
|
|
3467
3467
|
/**
|
|
3468
3468
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3469
3469
|
*/
|
|
@@ -6077,7 +6077,7 @@ export interface DescribeTimingL7SourceDataRequest {
|
|
|
6077
6077
|
*/
|
|
6078
6078
|
MetricNames: Array<string>;
|
|
6079
6079
|
/**
|
|
6080
|
-
*
|
|
6080
|
+
* 待查询的站点列表,此参数必填。
|
|
6081
6081
|
*/
|
|
6082
6082
|
ZoneIds?: Array<string>;
|
|
6083
6083
|
/**
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
* CreateModelService请求参数结构体
|
|
3
3
|
*/
|
|
4
4
|
export interface CreateModelServiceRequest {
|
|
5
|
-
/**
|
|
6
|
-
* 镜像信息,配置服务运行所需的镜像地址等信息
|
|
7
|
-
*/
|
|
8
|
-
ImageInfo: ImageInfo;
|
|
9
5
|
/**
|
|
10
6
|
* 新增版本时需要填写
|
|
11
7
|
*/
|
|
@@ -19,7 +15,7 @@ export interface CreateModelServiceRequest {
|
|
|
19
15
|
*/
|
|
20
16
|
ServiceDescription?: string;
|
|
21
17
|
/**
|
|
22
|
-
* 付费模式,有 PREPAID
|
|
18
|
+
* 付费模式,有 PREPAID (包年包月)和 POSTPAID_BY_HOUR(按量付费)
|
|
23
19
|
*/
|
|
24
20
|
ChargeType?: string;
|
|
25
21
|
/**
|
|
@@ -30,12 +26,16 @@ export interface CreateModelServiceRequest {
|
|
|
30
26
|
* 模型信息,需要挂载模型时填写
|
|
31
27
|
*/
|
|
32
28
|
ModelInfo?: ModelInfo;
|
|
29
|
+
/**
|
|
30
|
+
* 镜像信息,配置服务运行所需的镜像地址等信息
|
|
31
|
+
*/
|
|
32
|
+
ImageInfo?: ImageInfo;
|
|
33
33
|
/**
|
|
34
34
|
* 环境变量,可选参数,用于配置容器中的环境变量
|
|
35
35
|
*/
|
|
36
36
|
Env?: Array<EnvVar>;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* 资源描述,指定包年包月模式下的cpu,mem,gpu等信息,后付费无需填写
|
|
39
39
|
*/
|
|
40
40
|
Resources?: ResourceInfo;
|
|
41
41
|
/**
|
|
@@ -706,7 +706,7 @@ export interface Service {
|
|
|
706
706
|
*/
|
|
707
707
|
ChargeType: string;
|
|
708
708
|
/**
|
|
709
|
-
*
|
|
709
|
+
* 包年包月服务的资源组id,按量计费的服务为空
|
|
710
710
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
711
711
|
*/
|
|
712
712
|
ResourceGroupId: string;
|
|
@@ -811,7 +811,7 @@ Waiting 就绪中
|
|
|
811
811
|
*/
|
|
812
812
|
CreateFailedReason: string;
|
|
813
813
|
/**
|
|
814
|
-
*
|
|
814
|
+
* 包年包月服务对应的资源组名字
|
|
815
815
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
816
816
|
*/
|
|
817
817
|
ResourceGroupName: string;
|
|
@@ -2216,7 +2216,7 @@ export interface DescribeBillingSpecsRequest {
|
|
|
2216
2216
|
*/
|
|
2217
2217
|
TaskType: string;
|
|
2218
2218
|
/**
|
|
2219
|
-
* 付费模式:POSTPAID_BY_HOUR
|
|
2219
|
+
* 付费模式:POSTPAID_BY_HOUR按量付费、PREPAID包年包月
|
|
2220
2220
|
*/
|
|
2221
2221
|
ChargeType: string;
|
|
2222
2222
|
/**
|
|
@@ -2824,6 +2824,32 @@ HYBRID_PAID:
|
|
|
2824
2824
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2825
2825
|
*/
|
|
2826
2826
|
PodInfos?: Array<Pod>;
|
|
2827
|
+
/**
|
|
2828
|
+
* 定时伸缩策略
|
|
2829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2830
|
+
*/
|
|
2831
|
+
ScaleStrategy?: string;
|
|
2832
|
+
/**
|
|
2833
|
+
* 定时伸缩任务
|
|
2834
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2835
|
+
*/
|
|
2836
|
+
CronScaleJobs?: Array<CronScaleJob>;
|
|
2837
|
+
/**
|
|
2838
|
+
* 实例数量调节方式,默认为手动
|
|
2839
|
+
支持:自动 - "AUTO", 手动 - "MANUAL"
|
|
2840
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2841
|
+
*/
|
|
2842
|
+
ScaleMode?: string;
|
|
2843
|
+
/**
|
|
2844
|
+
* 服务限速限流相关配置
|
|
2845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2846
|
+
*/
|
|
2847
|
+
ServiceLimit?: ServiceLimit;
|
|
2848
|
+
/**
|
|
2849
|
+
* 定时停止的配置
|
|
2850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2851
|
+
*/
|
|
2852
|
+
ScheduledAction?: string;
|
|
2827
2853
|
}
|
|
2828
2854
|
/**
|
|
2829
2855
|
* DescribeModelService请求参数结构体
|
|
@@ -23,14 +23,13 @@ export declare class Client extends AbstractClient {
|
|
|
23
23
|
ImageTranslate(req: ImageTranslateRequest, cb?: (error: string, rep: ImageTranslateResponse) => void): Promise<ImageTranslateResponse>;
|
|
24
24
|
/**
|
|
25
25
|
* 在调用文档翻译请求接口后,有回调和轮询两种方式获取识别结果。
|
|
26
|
-
•当采用回调方式时,翻译完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL
|
|
26
|
+
•当采用回调方式时,翻译完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见文档翻译结果回调。
|
|
27
27
|
• 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见参数说明。
|
|
28
28
|
*/
|
|
29
29
|
GetFileTranslate(req: GetFileTranslateRequest, cb?: (error: string, rep: GetFileTranslateResponse) => void): Promise<GetFileTranslateResponse>;
|
|
30
30
|
/**
|
|
31
31
|
* 提供中文到英文、英文到中文的等多种语言的文本内容翻译服务, 经过大数据语料库、多种解码算法、翻译引擎深度优化,在新闻文章、生活口语等不同语言场景中都有深厚积累,翻译结果专业评价处于行业领先水平。<br />
|
|
32
32
|
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|
|
33
|
-
|
|
34
33
|
*/
|
|
35
34
|
TextTranslate(req: TextTranslateRequest, cb?: (error: string, rep: TextTranslateResponse) => void): Promise<TextTranslateResponse>;
|
|
36
35
|
/**
|
|
@@ -49,7 +49,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* 在调用文档翻译请求接口后,有回调和轮询两种方式获取识别结果。
|
|
52
|
-
•当采用回调方式时,翻译完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL
|
|
52
|
+
•当采用回调方式时,翻译完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见文档翻译结果回调。
|
|
53
53
|
• 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见参数说明。
|
|
54
54
|
*/
|
|
55
55
|
async GetFileTranslate(req, cb) {
|
|
@@ -58,7 +58,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
58
58
|
/**
|
|
59
59
|
* 提供中文到英文、英文到中文的等多种语言的文本内容翻译服务, 经过大数据语料库、多种解码算法、翻译引擎深度优化,在新闻文章、生活口语等不同语言场景中都有深厚积累,翻译结果专业评价处于行业领先水平。<br />
|
|
60
60
|
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|
|
61
|
-
|
|
62
61
|
*/
|
|
63
62
|
async TextTranslate(req, cb) {
|
|
64
63
|
return this.request("TextTranslate", req, cb);
|
|
@@ -5,15 +5,15 @@ export interface TextTranslateResponse {
|
|
|
5
5
|
/**
|
|
6
6
|
* 翻译后的文本
|
|
7
7
|
*/
|
|
8
|
-
TargetText
|
|
8
|
+
TargetText?: string;
|
|
9
9
|
/**
|
|
10
10
|
* 源语言,详见入参Target
|
|
11
11
|
*/
|
|
12
|
-
Source
|
|
12
|
+
Source?: string;
|
|
13
13
|
/**
|
|
14
14
|
* 目标语言,详见入参Target
|
|
15
15
|
*/
|
|
16
|
-
Target
|
|
16
|
+
Target?: string;
|
|
17
17
|
/**
|
|
18
18
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
19
19
|
*/
|
|
@@ -183,17 +183,17 @@ export interface LanguageDetectRequest {
|
|
|
183
183
|
*/
|
|
184
184
|
export interface TextTranslateBatchResponse {
|
|
185
185
|
/**
|
|
186
|
-
* 源语言,详见入参
|
|
186
|
+
* 源语言,详见入参Source
|
|
187
187
|
*/
|
|
188
|
-
Source
|
|
188
|
+
Source?: string;
|
|
189
189
|
/**
|
|
190
190
|
* 目标语言,详见入参Target
|
|
191
191
|
*/
|
|
192
|
-
Target
|
|
192
|
+
Target?: string;
|
|
193
193
|
/**
|
|
194
194
|
* 翻译后的文本列表
|
|
195
195
|
*/
|
|
196
|
-
TargetTextList
|
|
196
|
+
TargetTextList?: Array<string>;
|
|
197
197
|
/**
|
|
198
198
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
199
199
|
*/
|
|
@@ -254,7 +254,7 @@ hi:印地语
|
|
|
254
254
|
*/
|
|
255
255
|
ProjectId: number;
|
|
256
256
|
/**
|
|
257
|
-
* 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于
|
|
257
|
+
* 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于6000字符。
|
|
258
258
|
*/
|
|
259
259
|
SourceTextList: Array<string>;
|
|
260
260
|
}
|
|
@@ -288,7 +288,7 @@ export interface GetFileTranslateResponse {
|
|
|
288
288
|
/**
|
|
289
289
|
* 任务id
|
|
290
290
|
*/
|
|
291
|
-
Data
|
|
291
|
+
Data?: GetFileTranslateData;
|
|
292
292
|
/**
|
|
293
293
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
294
294
|
*/
|
|
@@ -346,7 +346,7 @@ export interface FileTranslateResponse {
|
|
|
346
346
|
/**
|
|
347
347
|
* 文件翻译的请求返回结果,包含结果查询需要的TaskId
|
|
348
348
|
*/
|
|
349
|
-
Data
|
|
349
|
+
Data?: Task;
|
|
350
350
|
/**
|
|
351
351
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
352
352
|
*/
|
|
@@ -405,7 +405,7 @@ lo(老挝语):zh(简体中文)、zh-HK(繁体中文)、 zh-TW(
|
|
|
405
405
|
*/
|
|
406
406
|
SourceType?: number;
|
|
407
407
|
/**
|
|
408
|
-
* 需要翻译文件url
|
|
408
|
+
* 需要翻译文件url,文件需小于100MB。
|
|
409
409
|
*/
|
|
410
410
|
Url?: string;
|
|
411
411
|
/**
|
|
@@ -413,7 +413,7 @@ lo(老挝语):zh(简体中文)、zh-HK(繁体中文)、 zh-TW(
|
|
|
413
413
|
*/
|
|
414
414
|
BasicDocumentType?: string;
|
|
415
415
|
/**
|
|
416
|
-
* 回调url
|
|
416
|
+
* 回调url,文件大于10MB,建议采用回调方式;回调时,所有内容会放入 Body 中。
|
|
417
417
|
*/
|
|
418
418
|
CallbackUrl?: string;
|
|
419
419
|
/**
|
|
@@ -426,7 +426,7 @@ lo(老挝语):zh(简体中文)、zh-HK(繁体中文)、 zh-TW(
|
|
|
426
426
|
*/
|
|
427
427
|
export interface TextTranslateRequest {
|
|
428
428
|
/**
|
|
429
|
-
* 待翻译的文本,文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度需要低于
|
|
429
|
+
* 待翻译的文本,文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度需要低于6000字符。
|
|
430
430
|
*/
|
|
431
431
|
SourceText: string;
|
|
432
432
|
/**
|