tencentcloud-sdk-nodejs-cdn 4.0.319 → 4.0.322

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.
@@ -328,7 +328,7 @@ export interface DescribePushQuotaResponse {
328
328
  /**
329
329
  * Url预热用量及配额。
330
330
  */
331
- UrlPush?: Array<Quota>;
331
+ UrlPush: Array<Quota>;
332
332
  /**
333
333
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
334
334
  */
@@ -341,11 +341,11 @@ export interface DescribePurgeQuotaResponse {
341
341
  /**
342
342
  * URL刷新用量及配额。
343
343
  */
344
- UrlPurge?: Array<Quota>;
344
+ UrlPurge: Array<Quota>;
345
345
  /**
346
346
  * 目录刷新用量及配额。
347
347
  */
348
- PathPurge?: Array<Quota>;
348
+ PathPurge: Array<Quota>;
349
349
  /**
350
350
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
351
351
  */
@@ -862,12 +862,16 @@ export interface SpecificConfig {
862
862
  export interface DescribeTopDataRequest {
863
863
  /**
864
864
  * 查询起始日期:yyyy-MM-dd HH:mm:ss
865
- 当前仅支持按天粒度的数据查询,参数需为某天的起点时刻
865
+ 仅支持按天粒度的数据查询,取入参中的天信息作为起始日期
866
+ 返回大于等于起始日期当天 00:00:00 点产生的数据,如 StartTime为2018-09-04 10:40:00,返回数据的起始时间为2018-09-04 00:00:00
867
+ 仅支持 90 天内数据查询
866
868
  */
867
869
  StartTime: string;
868
870
  /**
869
- * 查询起始日期:yyyy-MM-dd HH:mm:ss
870
- 当前仅支持按天粒度的数据查询,参数需为某天的结束时刻
871
+ * 查询结束日期:yyyy-MM-dd HH:mm:ss
872
+ 仅支持按天粒度的数据查询,取入参中的天信息作为结束日期
873
+ 返回小于等于结束日期当天 23:59:59 产生的数据,如EndTime为2018-09-05 22:40:00,返回数据的结束时间为2018-09-05 23:59:59
874
+ EndTime 需要大于等于 StartTime
871
875
  */
872
876
  EndTime: string;
873
877
  /**
@@ -894,11 +898,13 @@ export interface DescribeTopDataRequest {
894
898
  */
895
899
  Detail?: boolean;
896
900
  /**
897
- * 地域,目前可不填,默认是大陆
898
- */
901
+ * 指定服务地域查询,不填充表示查询中国境内 CDN 数据
902
+ mainland:指定查询中国境内 CDN 数据
903
+ overseas:指定查询中国境外 CDN 数据
904
+ */
899
905
  Area?: string;
900
906
  /**
901
- * 产品名,目前仅可使用cdn
907
+ * 指定查询的产品数据,目前仅可使用cdn
902
908
  */
903
909
  Product?: string;
904
910
  }
@@ -1819,7 +1825,7 @@ export interface UpdateScdnDomainResponse {
1819
1825
  /**
1820
1826
  * 提交结果,Success表示成功
1821
1827
  */
1822
- Result?: string;
1828
+ Result: string;
1823
1829
  /**
1824
1830
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1825
1831
  */
@@ -2429,6 +2435,12 @@ export interface PushUrlsCacheRequest {
2429
2435
  3. 解析获取的ts分片会正常累加每日预热用量,当用量超出配额时,会静默处理,不再执行预热
2430
2436
  */
2431
2437
  ParseM3U8?: boolean;
2438
+ /**
2439
+ * 是否关闭Range回源
2440
+ 注意事项:
2441
+ 此功能灰度发布中,敬请期待
2442
+ */
2443
+ DisableRange?: boolean;
2432
2444
  }
2433
2445
  /**
2434
2446
  * scdn 的自定义 cc 规则
@@ -2948,6 +2960,16 @@ export interface DescribeTrafficPackagesRequest {
2948
2960
  * 分页查询记录个数,默认100,最大1000
2949
2961
  */
2950
2962
  Limit?: number;
2963
+ /**
2964
+ * 流量包排序方式,支持以下值:
2965
+ expireTimeDesc:默认值,按过期时间倒序
2966
+ expireTimeAsc:按过期时间正序
2967
+ createTimeDesc:按创建时间倒序
2968
+ createTimeAsc:按创建时间正序
2969
+ status:按状态排序,正常抵扣>未生效>已用尽>已过期
2970
+ channel:按来源排序,主动购买>自动续订>CDN赠送
2971
+ */
2972
+ SortBy?: string;
2951
2973
  }
2952
2974
  /**
2953
2975
  * 状态码缓存过期配置,默认情况下会对 404 状态码缓存 10 秒
@@ -3484,6 +3506,11 @@ export interface UpdateDomainConfigRequest {
3484
3506
  * 浏览器缓存配置(功能灰度中,尚未全量)
3485
3507
  */
3486
3508
  MaxAge?: MaxAge;
3509
+ /**
3510
+ * 地域属性特殊配置
3511
+ 适用于域名境内加速、境外加速配置不一致场景
3512
+ */
3513
+ SpecificConfig?: SpecificConfig;
3487
3514
  /**
3488
3515
  * 域名业务类型
3489
3516
  web:静态加速
@@ -3491,11 +3518,6 @@ export interface UpdateDomainConfigRequest {
3491
3518
  media:流媒体点播加速
3492
3519
  */
3493
3520
  ServiceType?: string;
3494
- /**
3495
- * 地域属性特殊配置
3496
- 适用于域名境内加速、境外加速配置不一致场景
3497
- */
3498
- SpecificConfig?: SpecificConfig;
3499
3521
  /**
3500
3522
  * 域名加速区域
3501
3523
  mainland:中国境内加速
@@ -4307,7 +4329,7 @@ export interface VerifyDomainRecordResponse {
4307
4329
  /**
4308
4330
  * 是否验证成功
4309
4331
  */
4310
- Result?: boolean;
4332
+ Result: boolean;
4311
4333
  /**
4312
4334
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4313
4335
  */
@@ -6204,15 +6226,15 @@ export interface CreateVerifyRecordResponse {
6204
6226
  /**
6205
6227
  * 子解析
6206
6228
  */
6207
- SubDomain?: string;
6229
+ SubDomain: string;
6208
6230
  /**
6209
6231
  * 解析值
6210
6232
  */
6211
- Record?: string;
6233
+ Record: string;
6212
6234
  /**
6213
6235
  * 解析类型
6214
6236
  */
6215
- RecordType?: string;
6237
+ RecordType: string;
6216
6238
  /**
6217
6239
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6218
6240
  */
@@ -6235,17 +6257,17 @@ export interface DescribeMapInfoResponse {
6235
6257
  /**
6236
6258
  * 映射关系数组。
6237
6259
  */
6238
- MapInfoList?: Array<MapInfo>;
6260
+ MapInfoList: Array<MapInfo>;
6239
6261
  /**
6240
6262
  * 服务端区域id和子区域id的映射关系。
6241
6263
  注意:此字段可能返回 null,表示取不到有效值。
6242
6264
  */
6243
- ServerRegionRelation?: Array<RegionMapRelation>;
6265
+ ServerRegionRelation: Array<RegionMapRelation>;
6244
6266
  /**
6245
6267
  * 客户端区域id和子区域id的映射关系。
6246
6268
  注意:此字段可能返回 null,表示取不到有效值。
6247
6269
  */
6248
- ClientRegionRelation?: Array<RegionMapRelation>;
6270
+ ClientRegionRelation: Array<RegionMapRelation>;
6249
6271
  /**
6250
6272
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6251
6273
  */
@@ -6258,19 +6280,23 @@ export interface DescribeTrafficPackagesResponse {
6258
6280
  /**
6259
6281
  * 流量包总个数
6260
6282
  */
6261
- TotalCount?: number;
6283
+ TotalCount: number;
6262
6284
  /**
6263
6285
  * 流量包详情
6264
6286
  */
6265
- TrafficPackages?: Array<TrafficPackage>;
6287
+ TrafficPackages: Array<TrafficPackage>;
6266
6288
  /**
6267
6289
  * 即将过期的流量包个数(7天内)
6268
6290
  */
6269
- ExpiringCount?: number;
6291
+ ExpiringCount: number;
6270
6292
  /**
6271
6293
  * 有效流量包个数
6272
6294
  */
6273
- EnabledCount?: number;
6295
+ EnabledCount: number;
6296
+ /**
6297
+ * 付费流量包个数
6298
+ */
6299
+ PaidCount: number;
6274
6300
  /**
6275
6301
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6276
6302
  */
@@ -6778,7 +6804,7 @@ export interface StopScdnDomainResponse {
6778
6804
  /**
6779
6805
  * 关闭结果,Success表示成功
6780
6806
  */
6781
- Result?: string;
6807
+ Result: string;
6782
6808
  /**
6783
6809
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6784
6810
  */
@@ -6852,7 +6878,7 @@ export interface StartScdnDomainResponse {
6852
6878
  /**
6853
6879
  * 开启结果,Success表示成功
6854
6880
  */
6855
- Result?: string;
6881
+ Result: string;
6856
6882
  /**
6857
6883
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6858
6884
  */
@@ -6983,7 +7009,7 @@ export interface DescribeCdnIpResponse {
6983
7009
  /**
6984
7010
  * 查询的节点归属详情。
6985
7011
  */
6986
- Ips?: Array<CdnIp>;
7012
+ Ips: Array<CdnIp>;
6987
7013
  /**
6988
7014
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6989
7015
  */
@@ -7579,35 +7605,40 @@ export interface DescribeDiagnoseReportResponse {
7579
7605
  /**
7580
7606
  * 诊断报告基础信息
7581
7607
  */
7582
- BaskInfo?: DiagnoseData;
7608
+ BaskInfo: DiagnoseData;
7583
7609
  /**
7584
7610
  * CNAME检测信息
7585
7611
  */
7586
- CnameInfo?: DiagnoseData;
7612
+ CnameInfo: DiagnoseData;
7587
7613
  /**
7588
7614
  * 客户端检测信息
7589
7615
  */
7590
- ClientInfo?: DiagnoseData;
7616
+ ClientInfo: DiagnoseData;
7591
7617
  /**
7592
7618
  * DNS检测信息
7593
7619
  */
7594
- DnsInfo?: DiagnoseData;
7620
+ DnsInfo: DiagnoseData;
7595
7621
  /**
7596
7622
  * 网络检测信息
7597
7623
  */
7598
- NetworkInfo?: DiagnoseData;
7624
+ NetworkInfo: DiagnoseData;
7599
7625
  /**
7600
7626
  * 边缘节点检测信息
7601
7627
  */
7602
- OcNodeInfo?: DiagnoseData;
7628
+ OcNodeInfo: DiagnoseData;
7603
7629
  /**
7604
7630
  * 中间源节点检测信息
7605
7631
  */
7606
- MidNodeInfo?: DiagnoseData;
7632
+ MidNodeInfo: DiagnoseData;
7607
7633
  /**
7608
7634
  * 源站检测信息
7609
7635
  */
7610
- OriginInfo?: DiagnoseData;
7636
+ OriginInfo: DiagnoseData;
7637
+ /**
7638
+ * 刷新检测信息
7639
+ 注意:此字段可能返回 null,表示取不到有效值。
7640
+ */
7641
+ PurgeInfo: DiagnoseData;
7611
7642
  /**
7612
7643
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7613
7644
  */
@@ -7802,28 +7833,28 @@ export interface DescribeScdnConfigResponse {
7802
7833
  /**
7803
7834
  * 自定义防护策略配置
7804
7835
  */
7805
- Acl?: ScdnAclConfig;
7836
+ Acl: ScdnAclConfig;
7806
7837
  /**
7807
7838
  * Web 攻击防护(WAF)配置
7808
7839
  */
7809
- Waf?: ScdnWafConfig;
7840
+ Waf: ScdnWafConfig;
7810
7841
  /**
7811
7842
  * CC 防护配置
7812
7843
  */
7813
- CC?: ScdnConfig;
7844
+ CC: ScdnConfig;
7814
7845
  /**
7815
7846
  * DDOS 防护配置
7816
7847
  */
7817
- Ddos?: ScdnDdosConfig;
7848
+ Ddos: ScdnDdosConfig;
7818
7849
  /**
7819
7850
  * BOT 防护配置
7820
7851
  */
7821
- Bot?: ScdnBotConfig;
7852
+ Bot: ScdnBotConfig;
7822
7853
  /**
7823
7854
  * 当前状态,取值online | offline
7824
7855
  注意:此字段可能返回 null,表示取不到有效值。
7825
7856
  */
7826
- Status?: string;
7857
+ Status: string;
7827
7858
  /**
7828
7859
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7829
7860
  */
@@ -8392,11 +8423,11 @@ export interface DescribeUrlViolationsResponse {
8392
8423
  * 违规 URL 详情
8393
8424
  注意:此字段可能返回 null,表示取不到有效值。
8394
8425
  */
8395
- UrlRecordList?: Array<ViolationUrl>;
8426
+ UrlRecordList: Array<ViolationUrl>;
8396
8427
  /**
8397
8428
  * 记录总数,用于分页
8398
8429
  */
8399
- TotalCount?: number;
8430
+ TotalCount: number;
8400
8431
  /**
8401
8432
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8402
8433
  */
@@ -8954,17 +8985,17 @@ export interface DescribeImageConfigResponse {
8954
8985
  * WebpAdapter配置
8955
8986
  注意:此字段可能返回 null,表示取不到有效值。
8956
8987
  */
8957
- WebpAdapter?: WebpAdapter;
8988
+ WebpAdapter: WebpAdapter;
8958
8989
  /**
8959
8990
  * TpgAdapter配置
8960
8991
  注意:此字段可能返回 null,表示取不到有效值。
8961
8992
  */
8962
- TpgAdapter?: TpgAdapter;
8993
+ TpgAdapter: TpgAdapter;
8963
8994
  /**
8964
8995
  * GuetzliAdapter配置
8965
8996
  注意:此字段可能返回 null,表示取不到有效值。
8966
8997
  */
8967
- GuetzliAdapter?: GuetzliAdapter;
8998
+ GuetzliAdapter: GuetzliAdapter;
8968
8999
  /**
8969
9000
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8970
9001
  */