tencentcloud-sdk-nodejs-teo 4.0.742 → 4.0.744

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.
@@ -34,33 +34,35 @@ export interface CreatePlanForZoneResponse {
34
34
  }
35
35
 
36
36
  /**
37
- * DownloadL7Logs请求参数结构体
37
+ * DeployConfigGroupVersion请求参数结构体
38
38
  */
39
- export interface DownloadL7LogsRequest {
39
+ export interface DeployConfigGroupVersionRequest {
40
40
  /**
41
- * 开始时间。
41
+ * 站点 ID。
42
42
  */
43
- StartTime: string
43
+ ZoneId: string
44
44
  /**
45
- * 结束时间。
45
+ * 环境 ID。请填写版本需要发布到的环境 ID。
46
46
  */
47
- EndTime: string
47
+ EnvId: string
48
48
  /**
49
- * 站点ID集合,此参数必填。
49
+ * 需要发布的版本信息。可以同时变更多个不同配置组的版本,每个配置组一次仅支持变更一个版本。
50
50
  */
51
- ZoneIds?: Array<string>
51
+ ConfigGroupVersionInfos: Array<ConfigGroupVersionInfo>
52
52
  /**
53
- * 子域名集合,不填默认选择全部子域名。
53
+ * 变更说明。用于描述此次变更的内容、原因,最大支持 100 个字符。
54
54
  */
55
- Domains?: Array<string>
56
- /**
57
- * 分页查询的限制数目,默认值为 20,最大查询条目为 300。
58
- */
59
- Limit?: number
55
+ Description: string
56
+ }
57
+
58
+ /**
59
+ * DescribeEnvironments请求参数结构体
60
+ */
61
+ export interface DescribeEnvironmentsRequest {
60
62
  /**
61
- * 分页的偏移量,默认值为 0
63
+ * 站点 ID
62
64
  */
63
- Offset?: number
65
+ ZoneId: string
64
66
  }
65
67
 
66
68
  /**
@@ -606,6 +608,24 @@ export interface DeleteApplicationProxyRequest {
606
608
  ProxyId: string
607
609
  }
608
610
 
611
+ /**
612
+ * DescribeConfigGroupVersionDetail返回参数结构体
613
+ */
614
+ export interface DescribeConfigGroupVersionDetailResponse {
615
+ /**
616
+ * 版本信息。
617
+ */
618
+ ConfigGroupVersionInfo?: ConfigGroupVersionInfo
619
+ /**
620
+ * 版本文件的内容。以 JSON 格式返回。
621
+ */
622
+ Content?: string
623
+ /**
624
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
625
+ */
626
+ RequestId?: string
627
+ }
628
+
609
629
  /**
610
630
  * 加速域名源站信息。
611
631
  */
@@ -1078,32 +1098,22 @@ export interface ExceptUserRuleScope {
1078
1098
  }
1079
1099
 
1080
1100
  /**
1081
- * ModifyAliasDomain请求参数结构体
1101
+ * DescribeDeployHistory请求参数结构体
1082
1102
  */
1083
- export interface ModifyAliasDomainRequest {
1103
+ export interface DescribeDeployHistoryRequest {
1084
1104
  /**
1085
1105
  * 站点 ID。
1086
1106
  */
1087
1107
  ZoneId: string
1088
1108
  /**
1089
- * 别称域名名称。
1109
+ * 环境 ID。
1090
1110
  */
1091
- AliasName: string
1111
+ EnvId: string
1092
1112
  /**
1093
- * 目标域名名称。
1113
+ * 过滤条件,Filters.Values 的上限为 20,详细的过滤条件如下:
1114
+ <li>record-id:按照发布记录 ID 进行过滤进行过滤。</li>
1094
1115
  */
1095
- TargetName: string
1096
- /**
1097
- * 证书配置,取值有:
1098
- <li> none:不配置;</li>
1099
- <li> hosting:SSL托管证书;</li>
1100
- <li> apply:申请免费证书。</li>不填写保持原有配置。
1101
- */
1102
- CertType?: string
1103
- /**
1104
- * 当 CertType 取值为 hosting 时填入相应证书 ID。
1105
- */
1106
- CertId?: Array<string>
1116
+ Filters?: Array<AdvancedFilter>
1107
1117
  }
1108
1118
 
1109
1119
  /**
@@ -1510,6 +1520,18 @@ export interface DeleteOriginGroupRequest {
1510
1520
  GroupId?: string
1511
1521
  }
1512
1522
 
1523
+ /**
1524
+ * 图片优化配置。
1525
+ */
1526
+ export interface ImageOptimize {
1527
+ /**
1528
+ * 开关,取值有:
1529
+ <li>on:开启;</li>
1530
+ <li>off:关闭。</li>
1531
+ */
1532
+ Switch: string
1533
+ }
1534
+
1513
1535
  /**
1514
1536
  * 别称域名信息。
1515
1537
  */
@@ -1551,6 +1573,22 @@ export interface AliasDomain {
1551
1573
  ModifiedOn: string
1552
1574
  }
1553
1575
 
1576
+ /**
1577
+ * WebSocket配置
1578
+ */
1579
+ export interface WebSocket {
1580
+ /**
1581
+ * WebSocket 超时时间配置开关,取值有:
1582
+ <li>on:使用Timeout作为WebSocket超时时间;</li>
1583
+ <li>off:平台仍支持WebSocket连接,此时使用系统默认的15秒为超时时间。</li>
1584
+ */
1585
+ Switch: string
1586
+ /**
1587
+ * 超时时间,单位为秒,最大超时时间120秒。
1588
+ */
1589
+ Timeout?: number
1590
+ }
1591
+
1554
1592
  /**
1555
1593
  * 精准防护条件
1556
1594
  */
@@ -2304,31 +2342,35 @@ export interface Quic {
2304
2342
  }
2305
2343
 
2306
2344
  /**
2307
- * Ipv6访问配置
2345
+ * DescribeConfigGroupVersionDetail请求参数结构体
2308
2346
  */
2309
- export interface Ipv6 {
2347
+ export interface DescribeConfigGroupVersionDetailRequest {
2310
2348
  /**
2311
- * Ipv6 访问功能配置,取值有:
2312
- <li>on:开启Ipv6访问功能;</li>
2313
- <li>off:关闭Ipv6访问功能。</li>
2349
+ * 站点 ID。
2314
2350
  */
2315
- Switch: string
2351
+ ZoneId: string
2352
+ /**
2353
+ * 版本 ID。
2354
+ */
2355
+ VersionId: string
2316
2356
  }
2317
2357
 
2318
2358
  /**
2319
- * WebSocket配置
2359
+ * DownloadL7Logs返回参数结构体
2320
2360
  */
2321
- export interface WebSocket {
2361
+ export interface DownloadL7LogsResponse {
2322
2362
  /**
2323
- * WebSocket 超时时间配置开关,取值有:
2324
- <li>on:使用Timeout作为WebSocket超时时间;</li>
2325
- <li>off:平台仍支持WebSocket连接,此时使用系统默认的15秒为超时时间。</li>
2363
+ * 查询结果的总条数。
2326
2364
  */
2327
- Switch: string
2365
+ TotalCount?: number
2328
2366
  /**
2329
- * 超时时间,单位为秒,最大超时时间120秒。
2367
+ * 七层离线日志数据列表。
2330
2368
  */
2331
- Timeout?: number
2369
+ Data?: Array<L7OfflineLog>
2370
+ /**
2371
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2372
+ */
2373
+ RequestId?: string
2332
2374
  }
2333
2375
 
2334
2376
  /**
@@ -2409,17 +2451,33 @@ export interface DescribeContentQuotaResponse {
2409
2451
  }
2410
2452
 
2411
2453
  /**
2412
- * Top类数据记录
2454
+ * DownloadL7Logs请求参数结构体
2413
2455
  */
2414
- export interface TopDataRecord {
2456
+ export interface DownloadL7LogsRequest {
2415
2457
  /**
2416
- * 查询维度值。
2458
+ * 开始时间。
2417
2459
  */
2418
- TypeKey: string
2460
+ StartTime: string
2419
2461
  /**
2420
- * top数据排行。
2462
+ * 结束时间。
2421
2463
  */
2422
- DetailData: Array<TopDetailData>
2464
+ EndTime: string
2465
+ /**
2466
+ * 站点ID集合,此参数必填。
2467
+ */
2468
+ ZoneIds?: Array<string>
2469
+ /**
2470
+ * 子域名集合,不填默认选择全部子域名。
2471
+ */
2472
+ Domains?: Array<string>
2473
+ /**
2474
+ * 分页查询的限制数目,默认值为 20,最大查询条目为 300。
2475
+ */
2476
+ Limit?: number
2477
+ /**
2478
+ * 分页的偏移量,默认值为 0。
2479
+ */
2480
+ Offset?: number
2423
2481
  }
2424
2482
 
2425
2483
  /**
@@ -3687,15 +3745,45 @@ export interface BindZoneToPlanRequest {
3687
3745
  }
3688
3746
 
3689
3747
  /**
3690
- * 安全类型配置项。
3748
+ * 环境信息。
3691
3749
  */
3692
- export interface SecurityType {
3750
+ export interface EnvInfo {
3693
3751
  /**
3694
- * 安全类型开关,取值为:
3695
- <li> on:开启;</li>
3696
- <li> off:关闭。</li>
3752
+ * 环境 ID。
3697
3753
  */
3698
- Switch: string
3754
+ EnvId?: string
3755
+ /**
3756
+ * 环境类型,取值有:
3757
+ <li>production: 生产环境;</li><li>staging: 测试环境。</li>
3758
+ */
3759
+ EnvType?: string
3760
+ /**
3761
+ * 环境状态,取值有:
3762
+ <li>creating:创建中;</li>
3763
+ <li>running:稳定运行中,可进行版本变更;</li>
3764
+ <li>version_deploying:版本部署中,不能进行新的变更。</li>
3765
+ */
3766
+ Status?: string
3767
+ /**
3768
+ * 当前环境的配置生效范围:
3769
+ <li>当 EnvType 取值为 production 时,该参数值为 ["ALL"],代表全网生效;</li>
3770
+ <li>当 EnvType 取值为 staging 时,会返回测试节点 IP,可用于绑定 host 测试。</li>
3771
+ */
3772
+ Scope?: Array<string>
3773
+ /**
3774
+ * 当前环境中各配置组实际生效的版本,根据 Status 的取值有以下两种情况:
3775
+ <li>当 Status 取值为 version_deploying 时,本字段返回的值为执行变更动作之前生效的版本,即新版本部署期间,实际生效的版本为执行变更动作之前的版本;</li>
3776
+ <li>当 Status 取值为 running 时,本字段返回的值即为当前实际生效的版本。</li>
3777
+ */
3778
+ CurrentConfigGroupVersionInfos?: Array<ConfigGroupVersionInfo>
3779
+ /**
3780
+ * 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
3781
+ */
3782
+ CreateTime?: string
3783
+ /**
3784
+ * 更新时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
3785
+ */
3786
+ UpdateTime?: string
3699
3787
  }
3700
3788
 
3701
3789
  /**
@@ -3927,6 +4015,20 @@ export interface ModifyRuleResponse {
3927
4015
  RequestId?: string
3928
4016
  }
3929
4017
 
4018
+ /**
4019
+ * CreateConfigGroupVersion返回参数结构体
4020
+ */
4021
+ export interface CreateConfigGroupVersionResponse {
4022
+ /**
4023
+ * 版本 ID。
4024
+ */
4025
+ VersionId?: string
4026
+ /**
4027
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4028
+ */
4029
+ RequestId?: string
4030
+ }
4031
+
3930
4032
  /**
3931
4033
  * 站点归属信息
3932
4034
  */
@@ -4484,15 +4586,21 @@ export interface DescribeTimingL7AnalysisDataResponse {
4484
4586
  }
4485
4587
 
4486
4588
  /**
4487
- * 图片优化配置。
4589
+ * DescribeConfigGroupVersions返回参数结构体
4488
4590
  */
4489
- export interface ImageOptimize {
4591
+ export interface DescribeConfigGroupVersionsResponse {
4490
4592
  /**
4491
- * 开关,取值有:
4492
- <li>on:开启;</li>
4493
- <li>off:关闭。</li>
4593
+ * 版本总数。
4494
4594
  */
4495
- Switch: string
4595
+ TotalCount?: number
4596
+ /**
4597
+ * 版本信息列表。
4598
+ */
4599
+ ConfigGroupVersionInfos?: Array<ConfigGroupVersionInfo>
4600
+ /**
4601
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4602
+ */
4603
+ RequestId?: string
4496
4604
  }
4497
4605
 
4498
4606
  /**
@@ -4820,6 +4928,24 @@ export interface TopEntry {
4820
4928
  Value: Array<TopEntryValue>
4821
4929
  }
4822
4930
 
4931
+ /**
4932
+ * DescribeEnvironments返回参数结构体
4933
+ */
4934
+ export interface DescribeEnvironmentsResponse {
4935
+ /**
4936
+ * 环境总数。
4937
+ */
4938
+ TotalCount?: number
4939
+ /**
4940
+ * 环境列表。
4941
+ */
4942
+ EnvInfos?: Array<EnvInfo>
4943
+ /**
4944
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4945
+ */
4946
+ RequestId?: string
4947
+ }
4948
+
4823
4949
  /**
4824
4950
  * 自定义名字服务器 IP 信息
4825
4951
  */
@@ -5046,6 +5172,40 @@ export interface SubRule {
5046
5172
  Actions: Array<Action>
5047
5173
  }
5048
5174
 
5175
+ /**
5176
+ * 配置组版本发布记录详情。
5177
+ */
5178
+ export interface DeployRecord {
5179
+ /**
5180
+ * 发布版本的详细信息。
5181
+ */
5182
+ ConfigGroupVersionInfos?: Array<ConfigGroupVersionInfo>
5183
+ /**
5184
+ * 发布时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
5185
+ */
5186
+ DeployTime?: string
5187
+ /**
5188
+ * 发布状态,取值有:
5189
+ <li> deploying :发布中;</li>
5190
+ <li>failure :发布失败;</li>
5191
+ <li>success: 发布成功。</li>
5192
+ */
5193
+ Status?: string
5194
+ /**
5195
+ * 发布结果信息。
5196
+ */
5197
+ Message?: string
5198
+ /**
5199
+ * 发布记录 ID。
5200
+ 注意:此字段可能返回 null,表示取不到有效值。
5201
+ */
5202
+ RecordId?: string
5203
+ /**
5204
+ * 变更说明。
5205
+ */
5206
+ Description?: string
5207
+ }
5208
+
5049
5209
  /**
5050
5210
  * https 服务端证书配置
5051
5211
  */
@@ -5179,6 +5339,45 @@ export interface TimingDataItem {
5179
5339
  Value: number
5180
5340
  }
5181
5341
 
5342
+ /**
5343
+ * 配置组版本信息。
5344
+ */
5345
+ export interface ConfigGroupVersionInfo {
5346
+ /**
5347
+ * 版本 ID。
5348
+ */
5349
+ VersionId: string
5350
+ /**
5351
+ * 版本号。
5352
+ */
5353
+ VersionNumber?: string
5354
+ /**
5355
+ * 配置组 ID。
5356
+ */
5357
+ GroupId?: string
5358
+ /**
5359
+ * 配置组类型。取值有:
5360
+ <li>l7_acceleration :七层加速配置组。</li>
5361
+ <li>edge_functions :边缘函数配置组。</li>
5362
+ */
5363
+ GroupType?: string
5364
+ /**
5365
+ * 版本描述。
5366
+ */
5367
+ Description?: string
5368
+ /**
5369
+ * 版本状态,取值有:
5370
+ <li>creating:创建中;</li>
5371
+ <li>inactive:未生效;</li>
5372
+ <li>active:已生效。</li>
5373
+ */
5374
+ Status?: string
5375
+ /**
5376
+ * 版本创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
5377
+ */
5378
+ CreateTime?: string
5379
+ }
5380
+
5182
5381
  /**
5183
5382
  * CreateApplicationProxy请求参数结构体
5184
5383
  */
@@ -5970,6 +6169,18 @@ export interface AccelerateType {
5970
6169
  Switch: string
5971
6170
  }
5972
6171
 
6172
+ /**
6173
+ * Ipv6访问配置
6174
+ */
6175
+ export interface Ipv6 {
6176
+ /**
6177
+ * Ipv6 访问功能配置,取值有:
6178
+ <li>on:开启Ipv6访问功能;</li>
6179
+ <li>off:关闭Ipv6访问功能。</li>
6180
+ */
6181
+ Switch: string
6182
+ }
6183
+
5973
6184
  /**
5974
6185
  * DescribeAliasDomains返回参数结构体
5975
6186
  */
@@ -6067,6 +6278,18 @@ export interface DeleteZoneRequest {
6067
6278
  ZoneId: string
6068
6279
  }
6069
6280
 
6281
+ /**
6282
+ * 安全类型配置项。
6283
+ */
6284
+ export interface SecurityType {
6285
+ /**
6286
+ * 安全类型开关,取值为:
6287
+ <li> on:开启;</li>
6288
+ <li> off:关闭。</li>
6289
+ */
6290
+ Switch: string
6291
+ }
6292
+
6070
6293
  /**
6071
6294
  * Bot 规则,下列规则ID可参考接口 DescribeBotManagedRules返回的ID信息
6072
6295
  */
@@ -6138,6 +6361,33 @@ export interface TopDetailData {
6138
6361
  Value: number
6139
6362
  }
6140
6363
 
6364
+ /**
6365
+ * DescribeConfigGroupVersions请求参数结构体
6366
+ */
6367
+ export interface DescribeConfigGroupVersionsRequest {
6368
+ /**
6369
+ * 站点 ID。
6370
+ */
6371
+ ZoneId: string
6372
+ /**
6373
+ * 配置组 ID。
6374
+ */
6375
+ GroupId: string
6376
+ /**
6377
+ * 过滤条件,Filters.Values 的上限为 20,该参数不填写时,返回所选配置组下的所有版本信息。详细的过滤条件如下:
6378
+ <li>version-id:按照版本 ID 进行过滤;</li>
6379
+ */
6380
+ Filters?: Array<AdvancedFilter>
6381
+ /**
6382
+ * 分页查询偏移量。默认值为 0。
6383
+ */
6384
+ Offset?: number
6385
+ /**
6386
+ * 分页查询限制数目。默认值为 20,最大值为 100。
6387
+ */
6388
+ Limit?: number
6389
+ }
6390
+
6141
6391
  /**
6142
6392
  * DescribeOriginGroup请求参数结构体
6143
6393
  */
@@ -6476,6 +6726,35 @@ export interface RewriteAction {
6476
6726
  Parameters: Array<RuleRewriteActionParams>
6477
6727
  }
6478
6728
 
6729
+ /**
6730
+ * ModifyAliasDomain请求参数结构体
6731
+ */
6732
+ export interface ModifyAliasDomainRequest {
6733
+ /**
6734
+ * 站点 ID。
6735
+ */
6736
+ ZoneId: string
6737
+ /**
6738
+ * 别称域名名称。
6739
+ */
6740
+ AliasName: string
6741
+ /**
6742
+ * 目标域名名称。
6743
+ */
6744
+ TargetName: string
6745
+ /**
6746
+ * 证书配置,取值有:
6747
+ <li> none:不配置;</li>
6748
+ <li> hosting:SSL托管证书;</li>
6749
+ <li> apply:申请免费证书。</li>不填写保持原有配置。
6750
+ */
6751
+ CertType?: string
6752
+ /**
6753
+ * 当 CertType 取值为 hosting 时填入相应证书 ID。
6754
+ */
6755
+ CertId?: Array<string>
6756
+ }
6757
+
6479
6758
  /**
6480
6759
  * CheckCnameStatus请求参数结构体
6481
6760
  */
@@ -6490,6 +6769,20 @@ export interface CheckCnameStatusRequest {
6490
6769
  RecordNames: Array<string>
6491
6770
  }
6492
6771
 
6772
+ /**
6773
+ * Top类数据记录
6774
+ */
6775
+ export interface TopDataRecord {
6776
+ /**
6777
+ * 查询维度值。
6778
+ */
6779
+ TypeKey: string
6780
+ /**
6781
+ * top数据排行。
6782
+ */
6783
+ DetailData: Array<TopDetailData>
6784
+ }
6785
+
6493
6786
  /**
6494
6787
  * DeleteAliasDomain请求参数结构体
6495
6788
  */
@@ -6710,21 +7003,25 @@ export interface PrivateParameter {
6710
7003
  }
6711
7004
 
6712
7005
  /**
6713
- * DownloadL7Logs返回参数结构体
7006
+ * CreateConfigGroupVersion请求参数结构体
6714
7007
  */
6715
- export interface DownloadL7LogsResponse {
7008
+ export interface CreateConfigGroupVersionRequest {
6716
7009
  /**
6717
- * 查询结果的总条数。
7010
+ * 站点 ID。
6718
7011
  */
6719
- TotalCount?: number
7012
+ ZoneId: string
6720
7013
  /**
6721
- * 七层离线日志数据列表。
7014
+ * 待新建版本的配置组 ID。
6722
7015
  */
6723
- Data?: Array<L7OfflineLog>
7016
+ GroupId: string
6724
7017
  /**
6725
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7018
+ * 待导入的配置内容。要求采用 JSON 格式,按照 UTF-8 方式进行编码。配置文件内容可参考下方示例。
6726
7019
  */
6727
- RequestId?: string
7020
+ Content: string
7021
+ /**
7022
+ * 版本描述,可输入最大长度为 50 个字符,可以通过本字段填写该版本的使用场景等。
7023
+ */
7024
+ Description?: string
6728
7025
  }
6729
7026
 
6730
7027
  /**
@@ -7158,6 +7455,20 @@ export interface AccelerationDomainCertificate {
7158
7455
  List?: Array<CertificateInfo>
7159
7456
  }
7160
7457
 
7458
+ /**
7459
+ * DeployConfigGroupVersion返回参数结构体
7460
+ */
7461
+ export interface DeployConfigGroupVersionResponse {
7462
+ /**
7463
+ * 发布记录 ID。
7464
+ */
7465
+ RecordId?: string
7466
+ /**
7467
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7468
+ */
7469
+ RequestId?: string
7470
+ }
7471
+
7161
7472
  /**
7162
7473
  * DescribeSecurityTemplateBindings请求参数结构体
7163
7474
  */
@@ -7200,6 +7511,24 @@ export interface AlgDetectResult {
7200
7511
  Action?: string
7201
7512
  }
7202
7513
 
7514
+ /**
7515
+ * DescribeDeployHistory返回参数结构体
7516
+ */
7517
+ export interface DescribeDeployHistoryResponse {
7518
+ /**
7519
+ * 发布记录总数。
7520
+ */
7521
+ TotalCount?: number
7522
+ /**
7523
+ * 发布记录详情。
7524
+ */
7525
+ Records?: Array<DeployRecord>
7526
+ /**
7527
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7528
+ */
7529
+ RequestId?: string
7530
+ }
7531
+
7203
7532
  /**
7204
7533
  * CacheKey中包含请求参数
7205
7534
  */