tencentcloud-sdk-nodejs 4.0.967 → 4.0.968
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 +215 -0
- package/SERVICE_CHANGELOG.md +288 -139
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +7 -7
- package/src/services/apm/v20210622/apm_models.ts +8 -0
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +15 -0
- package/src/services/cfs/v20190719/cfs_client.ts +4 -3
- package/src/services/cfs/v20190719/cfs_models.ts +71 -35
- package/src/services/cfw/v20190904/cfw_client.ts +4 -2
- package/src/services/cls/v20201016/cls_models.ts +14 -14
- package/src/services/dlc/v20210125/dlc_models.ts +13 -8
- package/src/services/dnspod/v20210323/dnspod_client.ts +108 -45
- package/src/services/dnspod/v20210323/dnspod_models.ts +321 -83
- package/src/services/ess/v20201111/ess_models.ts +2 -6
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +12 -11
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +182 -50
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +672 -33
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +1 -1
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +1 -1
- package/src/services/kms/v20190118/kms_models.ts +8 -0
- package/src/services/ssm/v20190923/ssm_models.ts +48 -78
- package/src/services/tdmq/v20200217/tdmq_models.ts +3 -4
- package/src/services/teo/v20220901/teo_client.ts +1 -0
- package/src/services/teo/v20220901/teo_models.ts +17 -3
- package/src/services/thpc/v20230321/thpc_models.ts +3 -3
- package/src/services/tke/v20180525/tke_models.ts +2 -2
- package/src/services/vod/v20180717/vod_client.ts +6 -1
- package/src/services/vod/v20180717/vod_models.ts +123 -24
- package/src/services/waf/v20180125/waf_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +7 -7
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +8 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +15 -0
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +69 -34
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +3 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +3 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +14 -14
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +13 -8
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +34 -14
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +49 -19
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +308 -83
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -11
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +75 -17
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +98 -24
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +645 -32
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +1 -1
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +1 -1
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +8 -0
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +48 -78
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +3 -4
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +16 -3
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +3 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +118 -24
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
- package/test/dnspod.v20210323.test.js +62 -12
- package/test/hunyuan.v20230901.test.js +94 -14
|
@@ -8297,6 +8297,27 @@ export interface ProcessImageRequest {
|
|
|
8297
8297
|
SubAppId?: number
|
|
8298
8298
|
}
|
|
8299
8299
|
|
|
8300
|
+
/**
|
|
8301
|
+
* 自适应码流任务信息。
|
|
8302
|
+
*/
|
|
8303
|
+
export interface ComplexAdaptiveDynamicStreamingTask {
|
|
8304
|
+
/**
|
|
8305
|
+
* 任务 ID。
|
|
8306
|
+
*/
|
|
8307
|
+
TaskId?: string
|
|
8308
|
+
/**
|
|
8309
|
+
* 任务状态,取值:
|
|
8310
|
+
<li>PROCESSING:处理中;</li>
|
|
8311
|
+
<li>FINISH:已完成。</li>
|
|
8312
|
+
|
|
8313
|
+
*/
|
|
8314
|
+
Status?: string
|
|
8315
|
+
/**
|
|
8316
|
+
* 自适应码流任务的执行状态与结果,每个元素对应一个自适应码流模版。
|
|
8317
|
+
*/
|
|
8318
|
+
ComplexAdaptiveDynamicStreamingTaskResultSet?: Array<ComplexAdaptiveDynamicStreamingTaskResult>
|
|
8319
|
+
}
|
|
8320
|
+
|
|
8300
8321
|
/**
|
|
8301
8322
|
* ModifyMediaInfo返回参数结构体
|
|
8302
8323
|
*/
|
|
@@ -9788,15 +9809,14 @@ export interface CreateWatermarkTemplateRequest {
|
|
|
9788
9809
|
}
|
|
9789
9810
|
|
|
9790
9811
|
/**
|
|
9791
|
-
*
|
|
9812
|
+
* 自适应码流任务的输入参数。
|
|
9792
9813
|
*/
|
|
9793
|
-
export interface
|
|
9814
|
+
export interface ComplexAdaptiveDynamicStreamingTaskInput {
|
|
9794
9815
|
/**
|
|
9795
|
-
*
|
|
9796
|
-
|
|
9797
|
-
<li>OFF:关闭。</li>
|
|
9816
|
+
* 自适应码流参数。
|
|
9817
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9798
9818
|
*/
|
|
9799
|
-
|
|
9819
|
+
StreamPara: ComplexAdaptiveDynamicStreamingTaskStreamPara
|
|
9800
9820
|
}
|
|
9801
9821
|
|
|
9802
9822
|
/**
|
|
@@ -10720,6 +10740,34 @@ export interface AiSampleTagOperation {
|
|
|
10720
10740
|
Tags: Array<string>
|
|
10721
10741
|
}
|
|
10722
10742
|
|
|
10743
|
+
/**
|
|
10744
|
+
* 自适应码流任务的输出结果。
|
|
10745
|
+
*/
|
|
10746
|
+
export interface ComplexAdaptiveDynamicStreamingTaskOutput {
|
|
10747
|
+
/**
|
|
10748
|
+
* 自适应码流模版 ID。
|
|
10749
|
+
*/
|
|
10750
|
+
Definition?: number
|
|
10751
|
+
/**
|
|
10752
|
+
* 自适应码流打包格式。可选值:
|
|
10753
|
+
<li>HLS;</li>
|
|
10754
|
+
<li>MPEG-DASH。</li>
|
|
10755
|
+
*/
|
|
10756
|
+
Format?: string
|
|
10757
|
+
/**
|
|
10758
|
+
* DRM 方案类型。可选值:
|
|
10759
|
+
<li>空字符串:无加密;</li>
|
|
10760
|
+
<li>SimpleAES;</li>
|
|
10761
|
+
<li>Widevine;</li>
|
|
10762
|
+
<li>FairPlay。</li>
|
|
10763
|
+
*/
|
|
10764
|
+
DrmType?: string
|
|
10765
|
+
/**
|
|
10766
|
+
* 自适应码流的播放地址。
|
|
10767
|
+
*/
|
|
10768
|
+
Url?: string
|
|
10769
|
+
}
|
|
10770
|
+
|
|
10723
10771
|
/**
|
|
10724
10772
|
* 播放器配置详情
|
|
10725
10773
|
*/
|
|
@@ -10793,6 +10841,40 @@ export interface PlayerConfig {
|
|
|
10793
10841
|
Comment?: string
|
|
10794
10842
|
}
|
|
10795
10843
|
|
|
10844
|
+
/**
|
|
10845
|
+
* 自适应码流任务信息。
|
|
10846
|
+
*/
|
|
10847
|
+
export interface ComplexAdaptiveDynamicStreamingTaskResult {
|
|
10848
|
+
/**
|
|
10849
|
+
* 任务状态,取值:
|
|
10850
|
+
<li>PROCESSING:处理中;</li>
|
|
10851
|
+
<li>SUCCESS:已完成;</li>
|
|
10852
|
+
<li>FAIL:失败。</li>
|
|
10853
|
+
*/
|
|
10854
|
+
Status?: string
|
|
10855
|
+
/**
|
|
10856
|
+
* 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
|
10857
|
+
*/
|
|
10858
|
+
ErrCodeExt?: string
|
|
10859
|
+
/**
|
|
10860
|
+
* 错误信息。
|
|
10861
|
+
*/
|
|
10862
|
+
Message?: string
|
|
10863
|
+
/**
|
|
10864
|
+
* 转码进度,取值范围 [0-100] 。
|
|
10865
|
+
*/
|
|
10866
|
+
Progress?: number
|
|
10867
|
+
/**
|
|
10868
|
+
* 自适应码流任务的输入。
|
|
10869
|
+
*/
|
|
10870
|
+
Input?: ComplexAdaptiveDynamicStreamingTaskInput
|
|
10871
|
+
/**
|
|
10872
|
+
* 自适应码流任务的输出。
|
|
10873
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10874
|
+
*/
|
|
10875
|
+
Output?: ComplexAdaptiveDynamicStreamingTaskOutput
|
|
10876
|
+
}
|
|
10877
|
+
|
|
10796
10878
|
/**
|
|
10797
10879
|
* ConfirmEvents请求参数结构体
|
|
10798
10880
|
*/
|
|
@@ -14067,7 +14149,8 @@ export interface EventContent {
|
|
|
14067
14149
|
<li>DescribeFileAttributesComplete:获取文件属性完成;</li>
|
|
14068
14150
|
<li>QualityInspectComplete:音画质检测完成;</li>
|
|
14069
14151
|
<li>QualityEnhanceComplete:音画质重生任务完成;</li>
|
|
14070
|
-
<li>PersistenceComplete
|
|
14152
|
+
<li>PersistenceComplete:剪辑固化完成;</li>
|
|
14153
|
+
<li>ComplexAdaptiveDynamicStreamingComplete:复杂自适应码流任务完成。</li>
|
|
14071
14154
|
<b>兼容 2017 版的事件类型:</b>
|
|
14072
14155
|
<li>TranscodeComplete:视频转码完成;</li>
|
|
14073
14156
|
<li>ConcatComplete:视频拼接完成;</li>
|
|
@@ -14206,6 +14289,11 @@ export interface EventContent {
|
|
|
14206
14289
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14207
14290
|
*/
|
|
14208
14291
|
PersistenceCompleteEvent?: PersistenceCompleteTask
|
|
14292
|
+
/**
|
|
14293
|
+
* 自适应码流任务信息,仅当 EventType 为ComplexAdaptiveDynamicStreamingComplete 时有效。
|
|
14294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14295
|
+
*/
|
|
14296
|
+
ComplexAdaptiveDynamicStreamingCompleteEvent?: ComplexAdaptiveDynamicStreamingTask
|
|
14209
14297
|
}
|
|
14210
14298
|
|
|
14211
14299
|
/**
|
|
@@ -16001,23 +16089,7 @@ export interface RebuildMediaRequest {
|
|
|
16001
16089
|
*/
|
|
16002
16090
|
export interface DescribeTaskDetailResponse {
|
|
16003
16091
|
/**
|
|
16004
|
-
*
|
|
16005
|
-
<li>Procedure:视频处理任务;</li>
|
|
16006
|
-
<li>EditMedia:视频编辑任务;</li>
|
|
16007
|
-
<li>SplitMedia:视频拆条任务;</li>
|
|
16008
|
-
<li>ComposeMedia:制作媒体文件任务;</li>
|
|
16009
|
-
<li>WechatPublish:微信发布任务;</li>
|
|
16010
|
-
<li>WechatMiniProgramPublish:微信小程序视频发布任务;</li>
|
|
16011
|
-
<li>PullUpload:拉取上传媒体文件任务;</li>
|
|
16012
|
-
<li>FastClipMedia:快速剪辑任务;</li>
|
|
16013
|
-
<li>RemoveWatermarkTask:智能去除水印任务;</li>
|
|
16014
|
-
<li>DescribeFileAttributesTask:获取文件属性任务;</li>
|
|
16015
|
-
<li>RebuildMedia:音画质重生任务(不推荐使用);</li>
|
|
16016
|
-
<li>ReviewAudioVideo:音视频审核任务;</li>
|
|
16017
|
-
<li>ExtractTraceWatermark:提取溯源水印任务;</li>
|
|
16018
|
-
<li>ExtractCopyRightWatermark:提取版权水印任务;</li>
|
|
16019
|
-
<li>QualityInspect:音画质检测任务;</li>
|
|
16020
|
-
<li>QualityEnhance:音画质重生任务。</li>
|
|
16092
|
+
* 任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming:复杂自适应码流任务。</li>
|
|
16021
16093
|
*/
|
|
16022
16094
|
TaskType?: string
|
|
16023
16095
|
/**
|
|
@@ -16145,6 +16217,11 @@ export interface DescribeTaskDetailResponse {
|
|
|
16145
16217
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16146
16218
|
*/
|
|
16147
16219
|
QualityEnhanceTask?: QualityEnhanceTask
|
|
16220
|
+
/**
|
|
16221
|
+
* 复杂自适应码流任务信息,仅当 TaskType 为 ComplexAdaptiveDynamicStreaming,该字段有值。
|
|
16222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16223
|
+
*/
|
|
16224
|
+
ComplexAdaptiveDynamicStreamingTask?: ComplexAdaptiveDynamicStreamingTask
|
|
16148
16225
|
/**
|
|
16149
16226
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16150
16227
|
*/
|
|
@@ -17343,6 +17420,16 @@ export interface AiReviewTerrorismTaskInput {
|
|
|
17343
17420
|
Definition?: number
|
|
17344
17421
|
}
|
|
17345
17422
|
|
|
17423
|
+
/**
|
|
17424
|
+
* 自适应码流任务的流参数。
|
|
17425
|
+
*/
|
|
17426
|
+
export interface ComplexAdaptiveDynamicStreamingTaskStreamPara {
|
|
17427
|
+
/**
|
|
17428
|
+
* 自适应码流模版 ID。
|
|
17429
|
+
*/
|
|
17430
|
+
Definition: number
|
|
17431
|
+
}
|
|
17432
|
+
|
|
17346
17433
|
/**
|
|
17347
17434
|
* RebuildMediaByTemplate返回参数结构体
|
|
17348
17435
|
*/
|
|
@@ -19741,6 +19828,18 @@ export interface EditMediaFileInfo {
|
|
|
19741
19828
|
EndTimeOffset?: number
|
|
19742
19829
|
}
|
|
19743
19830
|
|
|
19831
|
+
/**
|
|
19832
|
+
* 视频画面黑边、白边、黑屏、白屏检测的控制参数。
|
|
19833
|
+
*/
|
|
19834
|
+
export interface BlackWhiteEdgeConfigureInfo {
|
|
19835
|
+
/**
|
|
19836
|
+
* 视频画面黑边、白边、黑屏、白屏检测开关,可选值:
|
|
19837
|
+
<li>ON:开启;</li>
|
|
19838
|
+
<li>OFF:关闭。</li>
|
|
19839
|
+
*/
|
|
19840
|
+
Switch: string
|
|
19841
|
+
}
|
|
19842
|
+
|
|
19744
19843
|
/**
|
|
19745
19844
|
* 图片水印模板输入参数
|
|
19746
19845
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.968";
|
|
@@ -300,7 +300,7 @@ export interface DisableApiKeyResponse {
|
|
|
300
300
|
* 禁用密钥操作是否成功。
|
|
301
301
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
302
302
|
*/
|
|
303
|
-
Result
|
|
303
|
+
Result?: boolean;
|
|
304
304
|
/**
|
|
305
305
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
306
306
|
*/
|
|
@@ -2313,7 +2313,7 @@ export interface DeleteApiKeyResponse {
|
|
|
2313
2313
|
* 删除操作是否成功。
|
|
2314
2314
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2315
2315
|
*/
|
|
2316
|
-
Result
|
|
2316
|
+
Result?: boolean;
|
|
2317
2317
|
/**
|
|
2318
2318
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2319
2319
|
*/
|
|
@@ -2730,7 +2730,7 @@ export interface EnableApiKeyResponse {
|
|
|
2730
2730
|
* 启动密钥操作是否成功。
|
|
2731
2731
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2732
2732
|
*/
|
|
2733
|
-
Result
|
|
2733
|
+
Result?: boolean;
|
|
2734
2734
|
/**
|
|
2735
2735
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2736
2736
|
*/
|
|
@@ -2829,7 +2829,7 @@ export interface DescribeUsagePlanSecretIdsResponse {
|
|
|
2829
2829
|
* 使用计划绑定的密钥列表。
|
|
2830
2830
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2831
2831
|
*/
|
|
2832
|
-
Result
|
|
2832
|
+
Result?: UsagePlanBindSecretStatus;
|
|
2833
2833
|
/**
|
|
2834
2834
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2835
2835
|
*/
|
|
@@ -3156,7 +3156,7 @@ export interface DescribeApiKeyResponse {
|
|
|
3156
3156
|
* 密钥详情。
|
|
3157
3157
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3158
3158
|
*/
|
|
3159
|
-
Result
|
|
3159
|
+
Result?: ApiKey;
|
|
3160
3160
|
/**
|
|
3161
3161
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3162
3162
|
*/
|
|
@@ -4280,7 +4280,7 @@ export interface UpdateApiKeyResponse {
|
|
|
4280
4280
|
* 更换后的密钥详情。
|
|
4281
4281
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4282
4282
|
*/
|
|
4283
|
-
Result
|
|
4283
|
+
Result?: ApiKey;
|
|
4284
4284
|
/**
|
|
4285
4285
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4286
4286
|
*/
|
|
@@ -6772,7 +6772,7 @@ export interface UnBindSecretIdsResponse {
|
|
|
6772
6772
|
* 解绑操作是否成功。
|
|
6773
6773
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6774
6774
|
*/
|
|
6775
|
-
Result
|
|
6775
|
+
Result?: boolean;
|
|
6776
6776
|
/**
|
|
6777
6777
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6778
6778
|
*/
|
|
@@ -95,6 +95,14 @@ export interface ModifyApmInstanceRequest {
|
|
|
95
95
|
* 响应时间满意阈值
|
|
96
96
|
*/
|
|
97
97
|
ResponseDurationWarningThreshold?: number;
|
|
98
|
+
/**
|
|
99
|
+
* 是否关联dashboard: 0 关 1 开
|
|
100
|
+
*/
|
|
101
|
+
IsRelatedDashboard?: number;
|
|
102
|
+
/**
|
|
103
|
+
* dashboard ID
|
|
104
|
+
*/
|
|
105
|
+
DashboardTopicID?: string;
|
|
98
106
|
}
|
|
99
107
|
/**
|
|
100
108
|
* apm实例信息
|
|
@@ -1526,6 +1526,11 @@ export interface DataBaseAuditRecord {
|
|
|
1526
1526
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1527
1527
|
*/
|
|
1528
1528
|
Catalog?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* 状态
|
|
1531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1532
|
+
*/
|
|
1533
|
+
State?: string;
|
|
1529
1534
|
}
|
|
1530
1535
|
/**
|
|
1531
1536
|
* DescribeSlowQueryRecords返回参数结构体
|
|
@@ -2649,6 +2654,16 @@ export interface DescribeBackUpJobResponse {
|
|
|
2649
2654
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2650
2655
|
*/
|
|
2651
2656
|
BackUpJobs?: Array<BackUpJobDisplay>;
|
|
2657
|
+
/**
|
|
2658
|
+
* 错误信息
|
|
2659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2660
|
+
*/
|
|
2661
|
+
ErrorMsg?: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* 总数
|
|
2664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2665
|
+
*/
|
|
2666
|
+
TotalCount?: number;
|
|
2652
2667
|
/**
|
|
2653
2668
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2654
2669
|
*/
|
|
@@ -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, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse,
|
|
3
|
+
import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse, SignUpCfsServiceRequest, SignUpCfsServiceResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, UpdateCfsPGroupResponse, DeleteAutoSnapshotPolicyRequest, DeleteCfsFileSystemResponse, UpdateCfsRuleRequest, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DeleteMountTargetResponse, CreateCfsSnapshotRequest, DescribeBucketListRequest, DeleteCfsRuleRequest, UpdateCfsRuleResponse, DeleteMigrationTaskResponse, UpdateFileSystemBandwidthLimitResponse, DescribeSnapshotOperationLogsResponse, DeleteCfsFileSystemRequest, UpdateFileSystemBandwidthLimitRequest, 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, UpdateCfsFileSystemPGroupResponse, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, CreateMigrationTaskResponse, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, UpdateCfsPGroupRequest, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, CreateCfsRuleResponse, StopMigrationTaskResponse, DescribeCfsSnapshotsResponse, StopMigrationTaskRequest, DescribeAutoSnapshotPoliciesResponse, DescribeCfsSnapshotOverviewRequest, CreateAutoSnapshotPolicyRequest } from "./cfs_models";
|
|
4
4
|
/**
|
|
5
5
|
* cfs client
|
|
6
6
|
* @class
|
|
@@ -434,6 +434,14 @@ export interface FileSystemInfo {
|
|
|
434
434
|
* 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
|
|
435
435
|
*/
|
|
436
436
|
BandwidthLimit?: number;
|
|
437
|
+
/**
|
|
438
|
+
* 文件系统关联的快照策略
|
|
439
|
+
*/
|
|
440
|
+
AutoSnapshotPolicyId?: string;
|
|
441
|
+
/**
|
|
442
|
+
* 文件系统处理快照状态
|
|
443
|
+
*/
|
|
444
|
+
SnapStatus?: string;
|
|
437
445
|
/**
|
|
438
446
|
* 文件系统容量规格上限
|
|
439
447
|
单位:GiB
|
|
@@ -454,6 +462,16 @@ export interface FileSystemInfo {
|
|
|
454
462
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
455
463
|
*/
|
|
456
464
|
TieringDetail?: TieringDetailInfo;
|
|
465
|
+
/**
|
|
466
|
+
* 文件系统自动扩容策略
|
|
467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
468
|
+
*/
|
|
469
|
+
AutoScaleUpRule?: AutoScaleUpRule;
|
|
470
|
+
/**
|
|
471
|
+
* 文件系统版本
|
|
472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
473
|
+
*/
|
|
474
|
+
Version?: string;
|
|
457
475
|
}
|
|
458
476
|
/**
|
|
459
477
|
* BindAutoSnapshotPolicy请求参数结构体
|
|
@@ -589,22 +607,9 @@ export interface BindAutoSnapshotPolicyResponse {
|
|
|
589
607
|
RequestId?: string;
|
|
590
608
|
}
|
|
591
609
|
/**
|
|
592
|
-
*
|
|
610
|
+
* SignUpCfsService请求参数结构体
|
|
593
611
|
*/
|
|
594
|
-
export
|
|
595
|
-
/**
|
|
596
|
-
* 迁移任务Id
|
|
597
|
-
*/
|
|
598
|
-
TaskId?: string;
|
|
599
|
-
/**
|
|
600
|
-
* 迁移状态。0: 已完成;1: 进行中;2: 已终止
|
|
601
|
-
*/
|
|
602
|
-
Status?: number;
|
|
603
|
-
/**
|
|
604
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
605
|
-
*/
|
|
606
|
-
RequestId?: string;
|
|
607
|
-
}
|
|
612
|
+
export declare type SignUpCfsServiceRequest = null;
|
|
608
613
|
/**
|
|
609
614
|
* SignUpCfsService返回参数结构体
|
|
610
615
|
*/
|
|
@@ -982,23 +987,6 @@ export interface DescribeSnapshotOperationLogsResponse {
|
|
|
982
987
|
*/
|
|
983
988
|
RequestId?: string;
|
|
984
989
|
}
|
|
985
|
-
/**
|
|
986
|
-
* UpdateCfsFileSystemPGroup返回参数结构体
|
|
987
|
-
*/
|
|
988
|
-
export interface UpdateCfsFileSystemPGroupResponse {
|
|
989
|
-
/**
|
|
990
|
-
* 权限组 ID
|
|
991
|
-
*/
|
|
992
|
-
PGroupId: string;
|
|
993
|
-
/**
|
|
994
|
-
* 文件系统 ID
|
|
995
|
-
*/
|
|
996
|
-
FileSystemId: string;
|
|
997
|
-
/**
|
|
998
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
999
|
-
*/
|
|
1000
|
-
RequestId?: string;
|
|
1001
|
-
}
|
|
1002
990
|
/**
|
|
1003
991
|
* DeleteCfsFileSystem请求参数结构体
|
|
1004
992
|
*/
|
|
@@ -1391,6 +1379,23 @@ export interface DescribeCfsSnapshotOverviewResponse {
|
|
|
1391
1379
|
*/
|
|
1392
1380
|
RequestId?: string;
|
|
1393
1381
|
}
|
|
1382
|
+
/**
|
|
1383
|
+
* 自动扩容规则
|
|
1384
|
+
*/
|
|
1385
|
+
export interface AutoScaleUpRule {
|
|
1386
|
+
/**
|
|
1387
|
+
* 自动扩容策略开启,关闭
|
|
1388
|
+
*/
|
|
1389
|
+
Status?: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* 集群用量占比,到达这个值后开始扩容,范围[10-90]
|
|
1392
|
+
*/
|
|
1393
|
+
ScaleThreshold?: number;
|
|
1394
|
+
/**
|
|
1395
|
+
* 扩容后使用量跟集群总量比例,范围[1-90]
|
|
1396
|
+
*/
|
|
1397
|
+
TargetThreshold?: number;
|
|
1398
|
+
}
|
|
1394
1399
|
/**
|
|
1395
1400
|
* DeleteCfsSnapshot请求参数结构体
|
|
1396
1401
|
*/
|
|
@@ -1812,9 +1817,22 @@ export interface DescribeCfsRulesResponse {
|
|
|
1812
1817
|
RequestId?: string;
|
|
1813
1818
|
}
|
|
1814
1819
|
/**
|
|
1815
|
-
*
|
|
1820
|
+
* UpdateCfsFileSystemPGroup返回参数结构体
|
|
1816
1821
|
*/
|
|
1817
|
-
export
|
|
1822
|
+
export interface UpdateCfsFileSystemPGroupResponse {
|
|
1823
|
+
/**
|
|
1824
|
+
* 权限组 ID
|
|
1825
|
+
*/
|
|
1826
|
+
PGroupId: string;
|
|
1827
|
+
/**
|
|
1828
|
+
* 文件系统 ID
|
|
1829
|
+
*/
|
|
1830
|
+
FileSystemId: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1833
|
+
*/
|
|
1834
|
+
RequestId?: string;
|
|
1835
|
+
}
|
|
1818
1836
|
/**
|
|
1819
1837
|
* UpdateAutoSnapshotPolicy返回参数结构体
|
|
1820
1838
|
*/
|
|
@@ -2212,6 +2230,23 @@ export interface CreateCfsRuleResponse {
|
|
|
2212
2230
|
*/
|
|
2213
2231
|
RequestId?: string;
|
|
2214
2232
|
}
|
|
2233
|
+
/**
|
|
2234
|
+
* StopMigrationTask返回参数结构体
|
|
2235
|
+
*/
|
|
2236
|
+
export interface StopMigrationTaskResponse {
|
|
2237
|
+
/**
|
|
2238
|
+
* 迁移任务Id
|
|
2239
|
+
*/
|
|
2240
|
+
TaskId?: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* 迁移状态。0: 已完成;1: 进行中;2: 已终止
|
|
2243
|
+
*/
|
|
2244
|
+
Status?: number;
|
|
2245
|
+
/**
|
|
2246
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2247
|
+
*/
|
|
2248
|
+
RequestId?: string;
|
|
2249
|
+
}
|
|
2215
2250
|
/**
|
|
2216
2251
|
* DescribeCfsSnapshots返回参数结构体
|
|
2217
2252
|
*/
|
|
@@ -272,7 +272,9 @@ VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction
|
|
|
272
272
|
*/
|
|
273
273
|
ModifySequenceRules(req: ModifySequenceRulesRequest, cb?: (error: string, rep: ModifySequenceRulesResponse) => void): Promise<ModifySequenceRulesResponse>;
|
|
274
274
|
/**
|
|
275
|
-
*
|
|
275
|
+
* 接口不再使用,已有新接口AddAclRule
|
|
276
|
+
|
|
277
|
+
添加互联网边界规则
|
|
276
278
|
*/
|
|
277
279
|
AddAcRule(req: AddAcRuleRequest, cb?: (error: string, rep: AddAcRuleResponse) => void): Promise<AddAcRuleResponse>;
|
|
278
280
|
/**
|
|
@@ -422,7 +422,9 @@ VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction
|
|
|
422
422
|
return this.request("ModifySequenceRules", req, cb);
|
|
423
423
|
}
|
|
424
424
|
/**
|
|
425
|
-
*
|
|
425
|
+
* 接口不再使用,已有新接口AddAclRule
|
|
426
|
+
|
|
427
|
+
添加互联网边界规则
|
|
426
428
|
*/
|
|
427
429
|
async AddAcRule(req, cb) {
|
|
428
430
|
return this.request("AddAcRule", req, cb);
|
|
@@ -497,12 +497,12 @@ export interface DeleteScheduledSqlResponse {
|
|
|
497
497
|
export interface DescribeNoticeContentsRequest {
|
|
498
498
|
/**
|
|
499
499
|
* <li> name
|
|
500
|
-
|
|
500
|
+
按照【通知内容模板名称】进行过滤。
|
|
501
501
|
类型:String
|
|
502
502
|
必选:否
|
|
503
503
|
</li>
|
|
504
504
|
<li> noticeContentId
|
|
505
|
-
|
|
505
|
+
按照【通知内容模板ID】进行过滤。
|
|
506
506
|
类型:String
|
|
507
507
|
必选:否
|
|
508
508
|
</li>
|
|
@@ -1924,12 +1924,12 @@ export interface DescribeConfigsResponse {
|
|
|
1924
1924
|
*/
|
|
1925
1925
|
export interface DescribeNoticeContentsResponse {
|
|
1926
1926
|
/**
|
|
1927
|
-
*
|
|
1927
|
+
* 通知内容模板列表。
|
|
1928
1928
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1929
1929
|
*/
|
|
1930
1930
|
NoticeContents?: Array<NoticeContentTemplate>;
|
|
1931
1931
|
/**
|
|
1932
|
-
*
|
|
1932
|
+
* 符合条件的通知内容模板总数。
|
|
1933
1933
|
*/
|
|
1934
1934
|
TotalCount?: number;
|
|
1935
1935
|
/**
|
|
@@ -5414,7 +5414,7 @@ export interface SearchLogResponse {
|
|
|
5414
5414
|
RequestId?: string;
|
|
5415
5415
|
}
|
|
5416
5416
|
/**
|
|
5417
|
-
*
|
|
5417
|
+
* 通知内容模板详细配置
|
|
5418
5418
|
*/
|
|
5419
5419
|
export interface NoticeContent {
|
|
5420
5420
|
/**
|
|
@@ -5424,12 +5424,12 @@ export interface NoticeContent {
|
|
|
5424
5424
|
*/
|
|
5425
5425
|
Type: string;
|
|
5426
5426
|
/**
|
|
5427
|
-
*
|
|
5427
|
+
* 告警触发通知内容模板。
|
|
5428
5428
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5429
5429
|
*/
|
|
5430
5430
|
TriggerContent?: NoticeContentInfo;
|
|
5431
5431
|
/**
|
|
5432
|
-
*
|
|
5432
|
+
* 告警恢复通知内容模板。
|
|
5433
5433
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5434
5434
|
*/
|
|
5435
5435
|
RecoveryContent?: NoticeContentInfo;
|
|
@@ -5920,11 +5920,11 @@ export interface ModifyConfigResponse {
|
|
|
5920
5920
|
*/
|
|
5921
5921
|
export interface ModifyNoticeContentRequest {
|
|
5922
5922
|
/**
|
|
5923
|
-
*
|
|
5923
|
+
* 通知内容模板ID。
|
|
5924
5924
|
*/
|
|
5925
5925
|
NoticeContentId: string;
|
|
5926
5926
|
/**
|
|
5927
|
-
*
|
|
5927
|
+
* 通知内容模板名称。
|
|
5928
5928
|
*/
|
|
5929
5929
|
Name?: string;
|
|
5930
5930
|
/**
|
|
@@ -5934,7 +5934,7 @@ export interface ModifyNoticeContentRequest {
|
|
|
5934
5934
|
*/
|
|
5935
5935
|
Type?: number;
|
|
5936
5936
|
/**
|
|
5937
|
-
*
|
|
5937
|
+
* 通知内容模板详细信息。
|
|
5938
5938
|
*/
|
|
5939
5939
|
NoticeContents?: Array<NoticeContent>;
|
|
5940
5940
|
}
|
|
@@ -6702,15 +6702,15 @@ export interface MetricLabel {
|
|
|
6702
6702
|
*/
|
|
6703
6703
|
export interface CreateNoticeContentRequest {
|
|
6704
6704
|
/**
|
|
6705
|
-
*
|
|
6705
|
+
* 模板名称。
|
|
6706
6706
|
*/
|
|
6707
6707
|
Name: string;
|
|
6708
6708
|
/**
|
|
6709
|
-
*
|
|
6709
|
+
* 模板内容语言。0:中文1:英文
|
|
6710
6710
|
*/
|
|
6711
6711
|
Type?: number;
|
|
6712
6712
|
/**
|
|
6713
|
-
*
|
|
6713
|
+
* 模板详细配置。
|
|
6714
6714
|
*/
|
|
6715
6715
|
NoticeContents?: Array<NoticeContent>;
|
|
6716
6716
|
}
|
|
@@ -7815,7 +7815,7 @@ export interface CosRechargeInfo {
|
|
|
7815
7815
|
*/
|
|
7816
7816
|
export interface DeleteNoticeContentRequest {
|
|
7817
7817
|
/**
|
|
7818
|
-
*
|
|
7818
|
+
* 通知内容模板ID
|
|
7819
7819
|
*/
|
|
7820
7820
|
NoticeContentId: string;
|
|
7821
7821
|
}
|