tencentcloud-sdk-nodejs 4.0.473 → 4.0.474
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 +181 -0
- package/SERVICE_CHANGELOG.md +238 -224
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/as/v20180419/as_client.ts +1 -0
- package/src/services/as/v20180419/as_models.ts +17 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
- package/src/services/dasb/v20191018/dasb_client.ts +1 -0
- package/src/services/dasb/v20191018/dasb_models.ts +25 -0
- package/src/services/dts/index.ts +2 -2
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +4 -2
- package/src/services/gme/v20180711/gme_client.ts +0 -12
- package/src/services/gme/v20180711/gme_models.ts +0 -44
- package/src/services/iai/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +5 -0
- package/src/services/irp/index.ts +2 -2
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/mps/v20190612/mps_client.ts +8 -2
- package/src/services/mps/v20190612/mps_models.ts +194 -26
- package/src/services/rum/v20210622/rum_models.ts +1 -1
- package/src/services/ses/v20201002/ses_models.ts +5 -0
- package/src/services/tbp/index.ts +2 -2
- package/src/services/tem/index.ts +2 -2
- package/src/services/tem/v20210701/tem_models.ts +1 -1
- package/src/services/thpc/v20220401/thpc_models.ts +2 -2
- package/src/services/tione/index.ts +2 -2
- package/src/services/tione/v20211111/tione_models.ts +1 -1
- package/src/services/trp/v20210515/trp_client.ts +12 -0
- package/src/services/trp/v20210515/trp_models.ts +66 -0
- package/src/services/vm/index.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ams/index.d.ts +4 -4
- package/tencentcloud/services/ams/index.js +2 -2
- package/tencentcloud/services/as/v20180419/as_models.d.ts +15 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +21 -0
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +3 -1
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +1 -5
- package/tencentcloud/services/gme/v20180711/gme_client.js +0 -6
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +0 -38
- package/tencentcloud/services/iai/index.d.ts +4 -4
- package/tencentcloud/services/iai/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +4 -0
- package/tencentcloud/services/irp/index.d.ts +4 -4
- package/tencentcloud/services/irp/index.js +2 -2
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +165 -24
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +4 -0
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +1 -1
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +2 -2
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +5 -1
- package/tencentcloud/services/trp/v20210515/trp_client.js +6 -0
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +55 -0
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/test/gme.v20180711.test.js +0 -10
- package/test/trp.v20210515.test.js +10 -0
|
@@ -204,6 +204,11 @@ export interface OverrideTranscodeParameter {
|
|
|
204
204
|
* 极速高清转码参数。
|
|
205
205
|
*/
|
|
206
206
|
TEHDConfig?: TEHDConfigForUpdate
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* 字幕流配置参数。
|
|
210
|
+
*/
|
|
211
|
+
SubtitleTemplate?: SubtitleTemplate
|
|
207
212
|
}
|
|
208
213
|
|
|
209
214
|
/**
|
|
@@ -744,7 +749,7 @@ export interface ModifySampleSnapshotTemplateRequest {
|
|
|
744
749
|
SampleInterval?: number
|
|
745
750
|
|
|
746
751
|
/**
|
|
747
|
-
* 图片格式,取值为 jpg
|
|
752
|
+
* 图片格式,取值为 jpg、png、webp。
|
|
748
753
|
*/
|
|
749
754
|
Format?: string
|
|
750
755
|
|
|
@@ -1047,6 +1052,11 @@ export interface CreateImageSpriteTemplateRequest {
|
|
|
1047
1052
|
* 模板描述信息,长度限制:256 个字符。
|
|
1048
1053
|
*/
|
|
1049
1054
|
Comment?: string
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* 图片格式,取值为 jpg、png、webp。默认为 jpg。
|
|
1058
|
+
*/
|
|
1059
|
+
Format?: string
|
|
1050
1060
|
}
|
|
1051
1061
|
|
|
1052
1062
|
/**
|
|
@@ -2030,13 +2040,25 @@ export interface TagConfigureInfo {
|
|
|
2030
2040
|
}
|
|
2031
2041
|
|
|
2032
2042
|
/**
|
|
2033
|
-
*
|
|
2043
|
+
* DescribeWordSamples返回参数结构体
|
|
2034
2044
|
*/
|
|
2035
|
-
export interface
|
|
2045
|
+
export interface DescribeWordSamplesResponse {
|
|
2036
2046
|
/**
|
|
2037
|
-
|
|
2047
|
+
* 符合条件的记录总数。
|
|
2048
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2049
|
+
*/
|
|
2050
|
+
TotalCount?: number
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* 关键词信息。
|
|
2054
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2055
|
+
*/
|
|
2056
|
+
WordSet?: Array<AiSampleWord>
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2038
2060
|
*/
|
|
2039
|
-
|
|
2061
|
+
RequestId?: string
|
|
2040
2062
|
}
|
|
2041
2063
|
|
|
2042
2064
|
/**
|
|
@@ -2207,25 +2229,13 @@ export interface UserDefineAsrTextReviewTemplateInfo {
|
|
|
2207
2229
|
}
|
|
2208
2230
|
|
|
2209
2231
|
/**
|
|
2210
|
-
*
|
|
2232
|
+
* 文本关键词识别输出。
|
|
2211
2233
|
*/
|
|
2212
|
-
export interface
|
|
2213
|
-
/**
|
|
2214
|
-
* 符合条件的记录总数。
|
|
2215
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2216
|
-
*/
|
|
2217
|
-
TotalCount?: number
|
|
2218
|
-
|
|
2219
|
-
/**
|
|
2220
|
-
* 关键词信息。
|
|
2221
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2222
|
-
*/
|
|
2223
|
-
WordSet?: Array<AiSampleWord>
|
|
2224
|
-
|
|
2234
|
+
export interface AiRecognitionTaskOcrWordsResultOutput {
|
|
2225
2235
|
/**
|
|
2226
|
-
*
|
|
2236
|
+
* 文本关键词识别结果集。
|
|
2227
2237
|
*/
|
|
2228
|
-
|
|
2238
|
+
ResultSet: Array<AiRecognitionTaskOcrWordsResultItem>
|
|
2229
2239
|
}
|
|
2230
2240
|
|
|
2231
2241
|
/**
|
|
@@ -4013,8 +4023,11 @@ export interface ProcessMediaRequest {
|
|
|
4013
4023
|
|
|
4014
4024
|
/**
|
|
4015
4025
|
* 编排ID。
|
|
4016
|
-
注意1:对于OutputStorage、OutputDir
|
|
4017
|
-
|
|
4026
|
+
注意1:对于OutputStorage、OutputDir参数:
|
|
4027
|
+
<li>当服务编排中子任务节点配置了OutputStorage、OutputDir时,该子任务节点中配置的输出作为子任务的输出。</li>
|
|
4028
|
+
<li>当服务编排中子任务节点没有配置OutputStorage、OutputDir时,若创建任务接口(ProcessMedia)有输出,将覆盖原有编排的默认输出。</li>
|
|
4029
|
+
注意2:对于TaskNotifyConfig参数,若创建任务接口(ProcessMedia)有设置,将覆盖原有编排的默认回调。
|
|
4030
|
+
|
|
4018
4031
|
注意3:编排的 Trigger 只是用来自动化触发场景,在手动发起的请求中已经配置的 Trigger 无意义。
|
|
4019
4032
|
*/
|
|
4020
4033
|
ScheduleId?: number
|
|
@@ -4092,6 +4105,16 @@ export interface MediaProcessTaskSnapshotByTimeOffsetResult {
|
|
|
4092
4105
|
Output: MediaSnapshotByTimeOffsetItem
|
|
4093
4106
|
}
|
|
4094
4107
|
|
|
4108
|
+
/**
|
|
4109
|
+
* 翻译的输入。
|
|
4110
|
+
*/
|
|
4111
|
+
export interface AiRecognitionTaskTransTextResultInput {
|
|
4112
|
+
/**
|
|
4113
|
+
* 翻译模板 ID。
|
|
4114
|
+
*/
|
|
4115
|
+
Definition: number
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4095
4118
|
/**
|
|
4096
4119
|
* 综合增强配置
|
|
4097
4120
|
*/
|
|
@@ -5788,6 +5811,11 @@ export interface ImageSpriteTemplate {
|
|
|
5788
5811
|
* 模板描述信息。
|
|
5789
5812
|
*/
|
|
5790
5813
|
Comment: string
|
|
5814
|
+
|
|
5815
|
+
/**
|
|
5816
|
+
* 图片格式。
|
|
5817
|
+
*/
|
|
5818
|
+
Format: string
|
|
5791
5819
|
}
|
|
5792
5820
|
|
|
5793
5821
|
/**
|
|
@@ -6095,6 +6123,11 @@ export interface AiRecognitionTaskAsrWordsSegmentItem {
|
|
|
6095
6123
|
Confidence: number
|
|
6096
6124
|
}
|
|
6097
6125
|
|
|
6126
|
+
/**
|
|
6127
|
+
* 字幕流配置参数。
|
|
6128
|
+
*/
|
|
6129
|
+
export type SubtitleTemplate = null
|
|
6130
|
+
|
|
6098
6131
|
/**
|
|
6099
6132
|
* 鉴黄任务控制参数。
|
|
6100
6133
|
*/
|
|
@@ -7319,6 +7352,36 @@ export interface DeleteWordSamplesResponse {
|
|
|
7319
7352
|
RequestId?: string
|
|
7320
7353
|
}
|
|
7321
7354
|
|
|
7355
|
+
/**
|
|
7356
|
+
* 直播实时翻译结果
|
|
7357
|
+
*/
|
|
7358
|
+
export interface LiveStreamTransTextRecognitionResult {
|
|
7359
|
+
/**
|
|
7360
|
+
* 识别文本。
|
|
7361
|
+
*/
|
|
7362
|
+
Text: string
|
|
7363
|
+
|
|
7364
|
+
/**
|
|
7365
|
+
* 翻译片段起始的 PTS 时间,单位:秒。
|
|
7366
|
+
*/
|
|
7367
|
+
StartPtsTime: number
|
|
7368
|
+
|
|
7369
|
+
/**
|
|
7370
|
+
* 翻译片段终止的 PTS 时间,单位:秒。
|
|
7371
|
+
*/
|
|
7372
|
+
EndPtsTime: number
|
|
7373
|
+
|
|
7374
|
+
/**
|
|
7375
|
+
* 翻译片段置信度。取值:0~100。
|
|
7376
|
+
*/
|
|
7377
|
+
Confidence: number
|
|
7378
|
+
|
|
7379
|
+
/**
|
|
7380
|
+
* 翻译文本。
|
|
7381
|
+
*/
|
|
7382
|
+
Trans: string
|
|
7383
|
+
}
|
|
7384
|
+
|
|
7322
7385
|
/**
|
|
7323
7386
|
* 媒体处理任务中的水印参数类型
|
|
7324
7387
|
*/
|
|
@@ -8038,6 +8101,7 @@ export interface LiveStreamAiRecognitionResultItem {
|
|
|
8038
8101
|
<li>OcrWordsRecognition:文本关键词识别,</li>
|
|
8039
8102
|
<li>AsrFullTextRecognition:语音全文识别,</li>
|
|
8040
8103
|
<li>OcrFullTextRecognition:文本全文识别。</li>
|
|
8104
|
+
<li>TransTextRecognition:语音翻译。</li>
|
|
8041
8105
|
*/
|
|
8042
8106
|
Type: string
|
|
8043
8107
|
|
|
@@ -8070,6 +8134,11 @@ AsrFullTextRecognition 时有效。
|
|
|
8070
8134
|
OcrFullTextRecognition 时有效。
|
|
8071
8135
|
*/
|
|
8072
8136
|
OcrFullTextRecognitionResultSet: Array<LiveStreamOcrFullTextRecognitionResult>
|
|
8137
|
+
|
|
8138
|
+
/**
|
|
8139
|
+
* 翻译结果,当Type 为 TransTextRecognition 时有效。
|
|
8140
|
+
*/
|
|
8141
|
+
TransTextRecognitionResultSet: Array<LiveStreamTransTextRecognitionResult>
|
|
8073
8142
|
}
|
|
8074
8143
|
|
|
8075
8144
|
/**
|
|
@@ -8289,6 +8358,26 @@ PicUrlExpireTime 时间点后图片将被删除)。
|
|
|
8289
8358
|
PicUrlExpireTime: string
|
|
8290
8359
|
}
|
|
8291
8360
|
|
|
8361
|
+
/**
|
|
8362
|
+
* 翻译结果。
|
|
8363
|
+
*/
|
|
8364
|
+
export interface AiRecognitionTaskTransTextResultOutput {
|
|
8365
|
+
/**
|
|
8366
|
+
* 翻译片段列表。
|
|
8367
|
+
*/
|
|
8368
|
+
SegmentSet: Array<AiRecognitionTaskTransTextSegmentItem>
|
|
8369
|
+
|
|
8370
|
+
/**
|
|
8371
|
+
* 字幕文件地址。
|
|
8372
|
+
*/
|
|
8373
|
+
SubtitlePath: string
|
|
8374
|
+
|
|
8375
|
+
/**
|
|
8376
|
+
* 字幕文件存储位置。
|
|
8377
|
+
*/
|
|
8378
|
+
OutputStorage: TaskOutputStorage
|
|
8379
|
+
}
|
|
8380
|
+
|
|
8292
8381
|
/**
|
|
8293
8382
|
* ModifySnapshotByTimeOffsetTemplate请求参数结构体
|
|
8294
8383
|
*/
|
|
@@ -8332,7 +8421,7 @@ export interface ModifySnapshotByTimeOffsetTemplateRequest {
|
|
|
8332
8421
|
ResolutionAdaptive?: string
|
|
8333
8422
|
|
|
8334
8423
|
/**
|
|
8335
|
-
* 图片格式,取值可以为 jpg
|
|
8424
|
+
* 图片格式,取值可以为 jpg、png、webp。
|
|
8336
8425
|
*/
|
|
8337
8426
|
Format?: string
|
|
8338
8427
|
|
|
@@ -8968,6 +9057,11 @@ export interface ModifyImageSpriteTemplateRequest {
|
|
|
8968
9057
|
* 模板描述信息,长度限制:256 个字符。
|
|
8969
9058
|
*/
|
|
8970
9059
|
Comment?: string
|
|
9060
|
+
|
|
9061
|
+
/**
|
|
9062
|
+
* 图片格式,取值可以为 jpg、png、webp。
|
|
9063
|
+
*/
|
|
9064
|
+
Format?: string
|
|
8971
9065
|
}
|
|
8972
9066
|
|
|
8973
9067
|
/**
|
|
@@ -9677,7 +9771,7 @@ export interface CreateSnapshotByTimeOffsetTemplateRequest {
|
|
|
9677
9771
|
ResolutionAdaptive?: string
|
|
9678
9772
|
|
|
9679
9773
|
/**
|
|
9680
|
-
* 图片格式,取值可以为 jpg
|
|
9774
|
+
* 图片格式,取值可以为 jpg、png、webp。默认为 jpg。
|
|
9681
9775
|
*/
|
|
9682
9776
|
Format?: string
|
|
9683
9777
|
|
|
@@ -9795,7 +9889,7 @@ export interface CreateSampleSnapshotTemplateRequest {
|
|
|
9795
9889
|
ResolutionAdaptive?: string
|
|
9796
9890
|
|
|
9797
9891
|
/**
|
|
9798
|
-
* 图片格式,取值为 jpg
|
|
9892
|
+
* 图片格式,取值为 jpg、png、webp。默认为 jpg。
|
|
9799
9893
|
*/
|
|
9800
9894
|
Format?: string
|
|
9801
9895
|
|
|
@@ -10554,6 +10648,42 @@ export interface AiAnalysisTaskCoverInput {
|
|
|
10554
10648
|
Definition: number
|
|
10555
10649
|
}
|
|
10556
10650
|
|
|
10651
|
+
/**
|
|
10652
|
+
* 翻译结果。
|
|
10653
|
+
*/
|
|
10654
|
+
export interface AiRecognitionTaskTransTextResult {
|
|
10655
|
+
/**
|
|
10656
|
+
* 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
10657
|
+
*/
|
|
10658
|
+
Status: string
|
|
10659
|
+
|
|
10660
|
+
/**
|
|
10661
|
+
* 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
|
10662
|
+
*/
|
|
10663
|
+
ErrCodeExt: string
|
|
10664
|
+
|
|
10665
|
+
/**
|
|
10666
|
+
* 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
|
|
10667
|
+
*/
|
|
10668
|
+
ErrCode: number
|
|
10669
|
+
|
|
10670
|
+
/**
|
|
10671
|
+
* 错误信息。
|
|
10672
|
+
*/
|
|
10673
|
+
Message: string
|
|
10674
|
+
|
|
10675
|
+
/**
|
|
10676
|
+
* 翻译任务输入信息。
|
|
10677
|
+
*/
|
|
10678
|
+
Input: AiRecognitionTaskTransTextResultInput
|
|
10679
|
+
|
|
10680
|
+
/**
|
|
10681
|
+
* 翻译任务输出信息。
|
|
10682
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10683
|
+
*/
|
|
10684
|
+
Output: AiRecognitionTaskTransTextResultOutput
|
|
10685
|
+
}
|
|
10686
|
+
|
|
10557
10687
|
/**
|
|
10558
10688
|
* 编辑视频任务的输出
|
|
10559
10689
|
*/
|
|
@@ -10664,6 +10794,36 @@ export interface DescribeAIRecognitionTemplatesRequest {
|
|
|
10664
10794
|
Type?: string
|
|
10665
10795
|
}
|
|
10666
10796
|
|
|
10797
|
+
/**
|
|
10798
|
+
* 翻译片段。
|
|
10799
|
+
*/
|
|
10800
|
+
export interface AiRecognitionTaskTransTextSegmentItem {
|
|
10801
|
+
/**
|
|
10802
|
+
* 识别片段置信度。取值:0~100。
|
|
10803
|
+
*/
|
|
10804
|
+
Confidence: number
|
|
10805
|
+
|
|
10806
|
+
/**
|
|
10807
|
+
* 识别片段起始的偏移时间,单位:秒。
|
|
10808
|
+
*/
|
|
10809
|
+
StartTimeOffset: number
|
|
10810
|
+
|
|
10811
|
+
/**
|
|
10812
|
+
* 识别片段终止的偏移时间,单位:秒。
|
|
10813
|
+
*/
|
|
10814
|
+
EndTimeOffset: number
|
|
10815
|
+
|
|
10816
|
+
/**
|
|
10817
|
+
* 识别文本。
|
|
10818
|
+
*/
|
|
10819
|
+
Text: string
|
|
10820
|
+
|
|
10821
|
+
/**
|
|
10822
|
+
* 翻译文本。
|
|
10823
|
+
*/
|
|
10824
|
+
Trans: string
|
|
10825
|
+
}
|
|
10826
|
+
|
|
10667
10827
|
/**
|
|
10668
10828
|
* ModifyWatermarkTemplate返回参数结构体
|
|
10669
10829
|
*/
|
|
@@ -10690,6 +10850,7 @@ export interface AiRecognitionResult {
|
|
|
10690
10850
|
<li>OcrWordsRecognition:文本关键词识别,</li>
|
|
10691
10851
|
<li>AsrFullTextRecognition:语音全文识别,</li>
|
|
10692
10852
|
<li>OcrFullTextRecognition:文本全文识别。</li>
|
|
10853
|
+
<li>TransTextRecognition:语音翻译。</li>
|
|
10693
10854
|
*/
|
|
10694
10855
|
Type: string
|
|
10695
10856
|
|
|
@@ -10727,4 +10888,11 @@ export interface AiRecognitionResult {
|
|
|
10727
10888
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10728
10889
|
*/
|
|
10729
10890
|
OcrFullTextTask: AiRecognitionTaskOcrFullTextResult
|
|
10891
|
+
|
|
10892
|
+
/**
|
|
10893
|
+
* 翻译结果,当 Type 为
|
|
10894
|
+
TransTextRecognition 时有效。
|
|
10895
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10896
|
+
*/
|
|
10897
|
+
TransTextTask: AiRecognitionTaskTransTextResult
|
|
10730
10898
|
}
|
|
@@ -2096,7 +2096,7 @@ export interface CreateLogConfigRequest {
|
|
|
2096
2096
|
TopicId?: string
|
|
2097
2097
|
|
|
2098
2098
|
/**
|
|
2099
|
-
* 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
|
|
2099
|
+
* 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;json_log 为 json格式;fullregex_log 为单行正则;multiline_fullregex_log 为多行正则
|
|
2100
2100
|
*/
|
|
2101
2101
|
LogType?: string
|
|
2102
2102
|
|
|
@@ -376,7 +376,7 @@ export interface CreateClusterRequest {
|
|
|
376
376
|
ComputeNodeCount?: number
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
|
-
*
|
|
379
|
+
* 调度器类型。默认取值:SLURM。<br><li>SGE:SGE调度器。<br><li>SLURM:SLURM调度器。
|
|
380
380
|
*/
|
|
381
381
|
SchedulerType?: string
|
|
382
382
|
|
|
@@ -415,7 +415,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
415
415
|
DryRun?: boolean
|
|
416
416
|
|
|
417
417
|
/**
|
|
418
|
-
*
|
|
418
|
+
* 域名字服务类型。默认取值:NIS。
|
|
419
419
|
<li>NIS:NIS域名字服务。
|
|
420
420
|
*/
|
|
421
421
|
AccountType?: string
|
|
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
CodeBatch,
|
|
22
22
|
DescribeProductsRequest,
|
|
23
|
+
CreateCorporationOrderResponse,
|
|
23
24
|
ModifyProductResponse,
|
|
24
25
|
ModifyProductRequest,
|
|
25
26
|
ModifyCustomRuleRequest,
|
|
@@ -90,6 +91,7 @@ import {
|
|
|
90
91
|
ModifyCodeBatchRequest,
|
|
91
92
|
DescribeProductByIdRequest,
|
|
92
93
|
DescribeTraceCodesResponse,
|
|
94
|
+
CreateCorporationOrderRequest,
|
|
93
95
|
CreateTraceCodesResponse,
|
|
94
96
|
DeleteTraceDataRequest,
|
|
95
97
|
Merchant,
|
|
@@ -332,6 +334,16 @@ export class Client extends AbstractClient {
|
|
|
332
334
|
return this.request("CreateCustomPack", req, cb)
|
|
333
335
|
}
|
|
334
336
|
|
|
337
|
+
/**
|
|
338
|
+
* 以订单方式新建企业信息/配额信息
|
|
339
|
+
*/
|
|
340
|
+
async CreateCorporationOrder(
|
|
341
|
+
req: CreateCorporationOrderRequest,
|
|
342
|
+
cb?: (error: string, rep: CreateCorporationOrderResponse) => void
|
|
343
|
+
): Promise<CreateCorporationOrderResponse> {
|
|
344
|
+
return this.request("CreateCorporationOrder", req, cb)
|
|
345
|
+
}
|
|
346
|
+
|
|
335
347
|
/**
|
|
336
348
|
* 删除商户
|
|
337
349
|
*/
|
|
@@ -152,6 +152,22 @@ export interface DescribeProductsRequest {
|
|
|
152
152
|
CorpId?: number
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
/**
|
|
156
|
+
* CreateCorporationOrder返回参数结构体
|
|
157
|
+
*/
|
|
158
|
+
export interface CreateCorporationOrderResponse {
|
|
159
|
+
/**
|
|
160
|
+
* 企业ID
|
|
161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
162
|
+
*/
|
|
163
|
+
CorpId: number
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
167
|
+
*/
|
|
168
|
+
RequestId?: string
|
|
169
|
+
}
|
|
170
|
+
|
|
155
171
|
/**
|
|
156
172
|
* ModifyProduct返回参数结构体
|
|
157
173
|
*/
|
|
@@ -2027,6 +2043,56 @@ export interface DescribeTraceCodesResponse {
|
|
|
2027
2043
|
RequestId?: string
|
|
2028
2044
|
}
|
|
2029
2045
|
|
|
2046
|
+
/**
|
|
2047
|
+
* CreateCorporationOrder请求参数结构体
|
|
2048
|
+
*/
|
|
2049
|
+
export interface CreateCorporationOrderRequest {
|
|
2050
|
+
/**
|
|
2051
|
+
* 企业名称
|
|
2052
|
+
*/
|
|
2053
|
+
CorpName: string
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* 所有者ID
|
|
2057
|
+
*/
|
|
2058
|
+
Owner: string
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* 溯源码额度
|
|
2062
|
+
*/
|
|
2063
|
+
CodeQuota: number
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* 额度过期时间
|
|
2067
|
+
*/
|
|
2068
|
+
ExpireTime: string
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* 金额
|
|
2072
|
+
*/
|
|
2073
|
+
Amount: number
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* 企业ID
|
|
2077
|
+
*/
|
|
2078
|
+
CorpId?: number
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* 联系人
|
|
2082
|
+
*/
|
|
2083
|
+
ContactPerson?: string
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* 联系电话
|
|
2087
|
+
*/
|
|
2088
|
+
ContactNumber?: string
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* 备注
|
|
2092
|
+
*/
|
|
2093
|
+
Remark?: string
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2030
2096
|
/**
|
|
2031
2097
|
* CreateTraceCodes返回参数结构体
|
|
2032
2098
|
*/
|
package/src/services/vm/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { v20200709 } from "./v20200709"
|
|
1
2
|
import { v20201229 } from "./v20201229"
|
|
2
3
|
import { v20210922 } from "./v20210922"
|
|
3
|
-
import { v20200709 } from "./v20200709"
|
|
4
4
|
|
|
5
5
|
export const vm = {
|
|
6
|
+
v20200709: v20200709,
|
|
6
7
|
v20201229: v20201229,
|
|
7
8
|
v20210922: v20210922,
|
|
8
|
-
v20200709: v20200709,
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.474";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const ams: {
|
|
2
|
-
v20201229: {
|
|
3
|
-
Client: typeof import("./v20201229/ams_client").Client;
|
|
4
|
-
Models: typeof import("./v20201229/ams_models");
|
|
5
|
-
};
|
|
6
2
|
v20200608: {
|
|
7
3
|
Client: typeof import("./v20200608/ams_client").Client;
|
|
8
4
|
Models: typeof import("./v20200608/ams_models");
|
|
9
5
|
};
|
|
6
|
+
v20201229: {
|
|
7
|
+
Client: typeof import("./v20201229/ams_client").Client;
|
|
8
|
+
Models: typeof import("./v20201229/ams_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ams = void 0;
|
|
4
|
-
const v20201229_1 = require("./v20201229");
|
|
5
4
|
const v20200608_1 = require("./v20200608");
|
|
5
|
+
const v20201229_1 = require("./v20201229");
|
|
6
6
|
exports.ams = {
|
|
7
|
-
v20201229: v20201229_1.v20201229,
|
|
8
7
|
v20200608: v20200608_1.v20200608,
|
|
8
|
+
v20201229: v20201229_1.v20201229,
|
|
9
9
|
};
|
|
@@ -2144,7 +2144,7 @@ export interface DescribeAutoScalingInstancesResponse {
|
|
|
2144
2144
|
RequestId?: string;
|
|
2145
2145
|
}
|
|
2146
2146
|
/**
|
|
2147
|
-
*
|
|
2147
|
+
* 描述了实例的增强服务启用情况与其设置,如云安全,云监控,自动化助手等实例 Agent。
|
|
2148
2148
|
*/
|
|
2149
2149
|
export interface EnhancedService {
|
|
2150
2150
|
/**
|
|
@@ -2155,6 +2155,20 @@ export interface EnhancedService {
|
|
|
2155
2155
|
* 开启云监控服务。若不指定该参数,则默认开启云监控服务。
|
|
2156
2156
|
*/
|
|
2157
2157
|
MonitorService?: RunMonitorServiceEnabled;
|
|
2158
|
+
/**
|
|
2159
|
+
* 开启自动化助手服务。若不指定该参数,则默认逻辑与CVM保持一致。注意:此字段可能返回 null,表示取不到有效值。
|
|
2160
|
+
*/
|
|
2161
|
+
AutomationService?: Array<RunAutomationServiceEnabled>;
|
|
2162
|
+
}
|
|
2163
|
+
/**
|
|
2164
|
+
* 描述了 “自动化助手” 服务相关的信息
|
|
2165
|
+
*/
|
|
2166
|
+
export interface RunAutomationServiceEnabled {
|
|
2167
|
+
/**
|
|
2168
|
+
* 是否开启[自动化助手](https://cloud.tencent.com/document/product/1340)服务。取值范围:<br><li>TRUE:表示开启自动化助手服务<br><li>FALSE:表示不开启自动化助手服务
|
|
2169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2170
|
+
*/
|
|
2171
|
+
Enabled?: boolean;
|
|
2158
2172
|
}
|
|
2159
2173
|
/**
|
|
2160
2174
|
* DeleteLaunchConfiguration返回参数结构体
|
|
@@ -5356,7 +5356,7 @@ export interface KafkaParam {
|
|
|
5356
5356
|
*/
|
|
5357
5357
|
UseAutoCreateTopic?: boolean;
|
|
5358
5358
|
/**
|
|
5359
|
-
* 写入Topic时是否进行压缩,不开启填"none"
|
|
5359
|
+
* 写入Topic时是否进行压缩,不开启填"none",开启的话,填写"open"。
|
|
5360
5360
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5361
5361
|
*/
|
|
5362
5362
|
CompressionType?: string;
|