@alicloud/esa20240910 2.21.0 → 2.23.0

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/src/client.ts CHANGED
@@ -5612,6 +5612,282 @@ export class DescribePurgeTasksResponseBodyTasks extends $dara.Model {
5612
5612
  }
5613
5613
  }
5614
5614
 
5615
+ export class DescribeSiteTimeSeriesDataRequestFields extends $dara.Model {
5616
+ dimension?: string[];
5617
+ /**
5618
+ * @example
5619
+ * Traffic
5620
+ */
5621
+ fieldName?: string;
5622
+ static names(): { [key: string]: string } {
5623
+ return {
5624
+ dimension: 'Dimension',
5625
+ fieldName: 'FieldName',
5626
+ };
5627
+ }
5628
+
5629
+ static types(): { [key: string]: any } {
5630
+ return {
5631
+ dimension: { 'type': 'array', 'itemType': 'string' },
5632
+ fieldName: 'string',
5633
+ };
5634
+ }
5635
+
5636
+ validate() {
5637
+ if(Array.isArray(this.dimension)) {
5638
+ $dara.Model.validateArray(this.dimension);
5639
+ }
5640
+ super.validate();
5641
+ }
5642
+
5643
+ constructor(map?: { [key: string]: any }) {
5644
+ super(map);
5645
+ }
5646
+ }
5647
+
5648
+ export class DescribeSiteTimeSeriesDataResponseBodyDataDetailData extends $dara.Model {
5649
+ /**
5650
+ * @example
5651
+ * 2023-04-08T16:00:00Z
5652
+ */
5653
+ timeStamp?: string;
5654
+ /**
5655
+ * @example
5656
+ * 123
5657
+ */
5658
+ value?: any;
5659
+ static names(): { [key: string]: string } {
5660
+ return {
5661
+ timeStamp: 'TimeStamp',
5662
+ value: 'Value',
5663
+ };
5664
+ }
5665
+
5666
+ static types(): { [key: string]: any } {
5667
+ return {
5668
+ timeStamp: 'string',
5669
+ value: 'any',
5670
+ };
5671
+ }
5672
+
5673
+ validate() {
5674
+ super.validate();
5675
+ }
5676
+
5677
+ constructor(map?: { [key: string]: any }) {
5678
+ super(map);
5679
+ }
5680
+ }
5681
+
5682
+ export class DescribeSiteTimeSeriesDataResponseBodyData extends $dara.Model {
5683
+ detailData?: DescribeSiteTimeSeriesDataResponseBodyDataDetailData[];
5684
+ /**
5685
+ * @example
5686
+ * ALL
5687
+ */
5688
+ dimensionName?: string;
5689
+ /**
5690
+ * @example
5691
+ * ALL
5692
+ */
5693
+ dimensionValue?: string;
5694
+ /**
5695
+ * @example
5696
+ * Traffic
5697
+ */
5698
+ fieldName?: string;
5699
+ static names(): { [key: string]: string } {
5700
+ return {
5701
+ detailData: 'DetailData',
5702
+ dimensionName: 'DimensionName',
5703
+ dimensionValue: 'DimensionValue',
5704
+ fieldName: 'FieldName',
5705
+ };
5706
+ }
5707
+
5708
+ static types(): { [key: string]: any } {
5709
+ return {
5710
+ detailData: { 'type': 'array', 'itemType': DescribeSiteTimeSeriesDataResponseBodyDataDetailData },
5711
+ dimensionName: 'string',
5712
+ dimensionValue: 'string',
5713
+ fieldName: 'string',
5714
+ };
5715
+ }
5716
+
5717
+ validate() {
5718
+ if(Array.isArray(this.detailData)) {
5719
+ $dara.Model.validateArray(this.detailData);
5720
+ }
5721
+ super.validate();
5722
+ }
5723
+
5724
+ constructor(map?: { [key: string]: any }) {
5725
+ super(map);
5726
+ }
5727
+ }
5728
+
5729
+ export class DescribeSiteTimeSeriesDataResponseBodySummarizedData extends $dara.Model {
5730
+ /**
5731
+ * @example
5732
+ * sum
5733
+ */
5734
+ aggMethod?: string;
5735
+ /**
5736
+ * @example
5737
+ * ALL
5738
+ */
5739
+ dimensionName?: string;
5740
+ /**
5741
+ * @example
5742
+ * ALL
5743
+ */
5744
+ dimensionValue?: string;
5745
+ /**
5746
+ * @example
5747
+ * Traffic
5748
+ */
5749
+ fieldName?: string;
5750
+ /**
5751
+ * @example
5752
+ * 12345
5753
+ */
5754
+ value?: any;
5755
+ static names(): { [key: string]: string } {
5756
+ return {
5757
+ aggMethod: 'AggMethod',
5758
+ dimensionName: 'DimensionName',
5759
+ dimensionValue: 'DimensionValue',
5760
+ fieldName: 'FieldName',
5761
+ value: 'Value',
5762
+ };
5763
+ }
5764
+
5765
+ static types(): { [key: string]: any } {
5766
+ return {
5767
+ aggMethod: 'string',
5768
+ dimensionName: 'string',
5769
+ dimensionValue: 'string',
5770
+ fieldName: 'string',
5771
+ value: 'any',
5772
+ };
5773
+ }
5774
+
5775
+ validate() {
5776
+ super.validate();
5777
+ }
5778
+
5779
+ constructor(map?: { [key: string]: any }) {
5780
+ super(map);
5781
+ }
5782
+ }
5783
+
5784
+ export class DescribeSiteTopDataRequestFields extends $dara.Model {
5785
+ dimension?: string[];
5786
+ /**
5787
+ * @example
5788
+ * Traffic
5789
+ */
5790
+ fieldName?: string;
5791
+ static names(): { [key: string]: string } {
5792
+ return {
5793
+ dimension: 'Dimension',
5794
+ fieldName: 'FieldName',
5795
+ };
5796
+ }
5797
+
5798
+ static types(): { [key: string]: any } {
5799
+ return {
5800
+ dimension: { 'type': 'array', 'itemType': 'string' },
5801
+ fieldName: 'string',
5802
+ };
5803
+ }
5804
+
5805
+ validate() {
5806
+ if(Array.isArray(this.dimension)) {
5807
+ $dara.Model.validateArray(this.dimension);
5808
+ }
5809
+ super.validate();
5810
+ }
5811
+
5812
+ constructor(map?: { [key: string]: any }) {
5813
+ super(map);
5814
+ }
5815
+ }
5816
+
5817
+ export class DescribeSiteTopDataResponseBodyDataDetailData extends $dara.Model {
5818
+ /**
5819
+ * @example
5820
+ * ALL
5821
+ */
5822
+ dimensionValue?: string;
5823
+ /**
5824
+ * @example
5825
+ * 123
5826
+ */
5827
+ value?: any;
5828
+ static names(): { [key: string]: string } {
5829
+ return {
5830
+ dimensionValue: 'DimensionValue',
5831
+ value: 'Value',
5832
+ };
5833
+ }
5834
+
5835
+ static types(): { [key: string]: any } {
5836
+ return {
5837
+ dimensionValue: 'string',
5838
+ value: 'any',
5839
+ };
5840
+ }
5841
+
5842
+ validate() {
5843
+ super.validate();
5844
+ }
5845
+
5846
+ constructor(map?: { [key: string]: any }) {
5847
+ super(map);
5848
+ }
5849
+ }
5850
+
5851
+ export class DescribeSiteTopDataResponseBodyData extends $dara.Model {
5852
+ detailData?: DescribeSiteTopDataResponseBodyDataDetailData[];
5853
+ /**
5854
+ * @example
5855
+ * ALL
5856
+ */
5857
+ dimensionName?: string;
5858
+ /**
5859
+ * @example
5860
+ * Traffic
5861
+ */
5862
+ fieldName?: string;
5863
+ static names(): { [key: string]: string } {
5864
+ return {
5865
+ detailData: 'DetailData',
5866
+ dimensionName: 'DimensionName',
5867
+ fieldName: 'FieldName',
5868
+ };
5869
+ }
5870
+
5871
+ static types(): { [key: string]: any } {
5872
+ return {
5873
+ detailData: { 'type': 'array', 'itemType': DescribeSiteTopDataResponseBodyDataDetailData },
5874
+ dimensionName: 'string',
5875
+ fieldName: 'string',
5876
+ };
5877
+ }
5878
+
5879
+ validate() {
5880
+ if(Array.isArray(this.detailData)) {
5881
+ $dara.Model.validateArray(this.detailData);
5882
+ }
5883
+ super.validate();
5884
+ }
5885
+
5886
+ constructor(map?: { [key: string]: any }) {
5887
+ super(map);
5888
+ }
5889
+ }
5890
+
5615
5891
  export class GetCertificateResponseBodyResultDCV extends $dara.Model {
5616
5892
  /**
5617
5893
  * @remarks
@@ -6605,6 +6881,54 @@ export class GetEdgeContainerAppResourceReserveResponseBodyReserveSet extends $d
6605
6881
  }
6606
6882
  }
6607
6883
 
6884
+ export class GetEdgeContainerAppResourceStatusResponseBodyRegions extends $dara.Model {
6885
+ /**
6886
+ * @example
6887
+ * unicom
6888
+ */
6889
+ isp?: string;
6890
+ /**
6891
+ * @example
6892
+ * 1
6893
+ */
6894
+ ready?: number;
6895
+ /**
6896
+ * @example
6897
+ * huadong
6898
+ */
6899
+ region?: string;
6900
+ /**
6901
+ * @example
6902
+ * 1
6903
+ */
6904
+ total?: number;
6905
+ static names(): { [key: string]: string } {
6906
+ return {
6907
+ isp: 'Isp',
6908
+ ready: 'Ready',
6909
+ region: 'Region',
6910
+ total: 'Total',
6911
+ };
6912
+ }
6913
+
6914
+ static types(): { [key: string]: any } {
6915
+ return {
6916
+ isp: 'string',
6917
+ ready: 'number',
6918
+ region: 'string',
6919
+ total: 'number',
6920
+ };
6921
+ }
6922
+
6923
+ validate() {
6924
+ super.validate();
6925
+ }
6926
+
6927
+ constructor(map?: { [key: string]: any }) {
6928
+ super(map);
6929
+ }
6930
+ }
6931
+
6608
6932
  export class GetEdgeContainerAppStatusResponseBodyAppStatusRegions extends $dara.Model {
6609
6933
  region?: string[];
6610
6934
  static names(): { [key: string]: string } {
@@ -15923,6 +16247,7 @@ export class ListOriginRulesResponseBodyConfigs extends $dara.Model {
15923
16247
  * on
15924
16248
  */
15925
16249
  originMtls?: string;
16250
+ originReadTimeout?: string;
15926
16251
  /**
15927
16252
  * @remarks
15928
16253
  * Protocol used for the origin request. Value range:
@@ -16017,6 +16342,7 @@ export class ListOriginRulesResponseBodyConfigs extends $dara.Model {
16017
16342
  originHttpPort: 'OriginHttpPort',
16018
16343
  originHttpsPort: 'OriginHttpsPort',
16019
16344
  originMtls: 'OriginMtls',
16345
+ originReadTimeout: 'OriginReadTimeout',
16020
16346
  originScheme: 'OriginScheme',
16021
16347
  originSni: 'OriginSni',
16022
16348
  originVerify: 'OriginVerify',
@@ -16039,6 +16365,7 @@ export class ListOriginRulesResponseBodyConfigs extends $dara.Model {
16039
16365
  originHttpPort: 'string',
16040
16366
  originHttpsPort: 'string',
16041
16367
  originMtls: 'string',
16368
+ originReadTimeout: 'string',
16042
16369
  originScheme: 'string',
16043
16370
  originSni: 'string',
16044
16371
  originVerify: 'string',
@@ -16956,6 +17283,110 @@ export class ListRoutineOptionalSpecsResponseBodySpecs extends $dara.Model {
16956
17283
  }
16957
17284
  }
16958
17285
 
17286
+ export class ListRoutineRoutesResponseBodyConfigs extends $dara.Model {
17287
+ /**
17288
+ * @example
17289
+ * on
17290
+ */
17291
+ bypass?: string;
17292
+ /**
17293
+ * @example
17294
+ * 35281609698****
17295
+ */
17296
+ configId?: number;
17297
+ /**
17298
+ * @example
17299
+ * global
17300
+ */
17301
+ configType?: string;
17302
+ /**
17303
+ * @example
17304
+ * simple
17305
+ */
17306
+ mode?: string;
17307
+ /**
17308
+ * @example
17309
+ * on
17310
+ */
17311
+ routeEnable?: string;
17312
+ /**
17313
+ * @example
17314
+ * test_route
17315
+ */
17316
+ routeName?: string;
17317
+ /**
17318
+ * @example
17319
+ * test-routine1
17320
+ */
17321
+ routineName?: string;
17322
+ /**
17323
+ * @example
17324
+ * (http.host eq \\"video.example.com\\")
17325
+ */
17326
+ rule?: string;
17327
+ /**
17328
+ * @example
17329
+ * 1
17330
+ */
17331
+ sequence?: number;
17332
+ /**
17333
+ * @example
17334
+ * 554889455535696
17335
+ */
17336
+ siteId?: string;
17337
+ /**
17338
+ * @example
17339
+ * test.com
17340
+ */
17341
+ siteName?: string;
17342
+ /**
17343
+ * @example
17344
+ * 1
17345
+ */
17346
+ siteVersion?: number;
17347
+ static names(): { [key: string]: string } {
17348
+ return {
17349
+ bypass: 'Bypass',
17350
+ configId: 'ConfigId',
17351
+ configType: 'ConfigType',
17352
+ mode: 'Mode',
17353
+ routeEnable: 'RouteEnable',
17354
+ routeName: 'RouteName',
17355
+ routineName: 'RoutineName',
17356
+ rule: 'Rule',
17357
+ sequence: 'Sequence',
17358
+ siteId: 'SiteId',
17359
+ siteName: 'SiteName',
17360
+ siteVersion: 'SiteVersion',
17361
+ };
17362
+ }
17363
+
17364
+ static types(): { [key: string]: any } {
17365
+ return {
17366
+ bypass: 'string',
17367
+ configId: 'number',
17368
+ configType: 'string',
17369
+ mode: 'string',
17370
+ routeEnable: 'string',
17371
+ routeName: 'string',
17372
+ routineName: 'string',
17373
+ rule: 'string',
17374
+ sequence: 'number',
17375
+ siteId: 'string',
17376
+ siteName: 'string',
17377
+ siteVersion: 'number',
17378
+ };
17379
+ }
17380
+
17381
+ validate() {
17382
+ super.validate();
17383
+ }
17384
+
17385
+ constructor(map?: { [key: string]: any }) {
17386
+ super(map);
17387
+ }
17388
+ }
17389
+
16959
17390
  export class ListScheduledPreloadExecutionsResponseBodyExecutions extends $dara.Model {
16960
17391
  /**
16961
17392
  * @remarks
@@ -17313,6 +17744,96 @@ export class ListSiteDeliveryTasksResponseBodyTasks extends $dara.Model {
17313
17744
  }
17314
17745
  }
17315
17746
 
17747
+ export class ListSiteRoutesResponseBodyConfigs extends $dara.Model {
17748
+ /**
17749
+ * @example
17750
+ * on
17751
+ */
17752
+ bypass?: string;
17753
+ /**
17754
+ * @example
17755
+ * 35281609698****
17756
+ */
17757
+ configId?: number;
17758
+ /**
17759
+ * @example
17760
+ * global
17761
+ */
17762
+ configType?: string;
17763
+ /**
17764
+ * @example
17765
+ * simple
17766
+ */
17767
+ mode?: string;
17768
+ /**
17769
+ * @example
17770
+ * on
17771
+ */
17772
+ routeEnable?: string;
17773
+ /**
17774
+ * @example
17775
+ * test_route
17776
+ */
17777
+ routeName?: string;
17778
+ /**
17779
+ * @example
17780
+ * test-routine1
17781
+ */
17782
+ routineName?: string;
17783
+ /**
17784
+ * @example
17785
+ * (http.host eq \\"video.example.com\\")
17786
+ */
17787
+ rule?: string;
17788
+ /**
17789
+ * @example
17790
+ * 1
17791
+ */
17792
+ sequence?: number;
17793
+ /**
17794
+ * @example
17795
+ * 1
17796
+ */
17797
+ siteVersion?: number;
17798
+ static names(): { [key: string]: string } {
17799
+ return {
17800
+ bypass: 'Bypass',
17801
+ configId: 'ConfigId',
17802
+ configType: 'ConfigType',
17803
+ mode: 'Mode',
17804
+ routeEnable: 'RouteEnable',
17805
+ routeName: 'RouteName',
17806
+ routineName: 'RoutineName',
17807
+ rule: 'Rule',
17808
+ sequence: 'Sequence',
17809
+ siteVersion: 'SiteVersion',
17810
+ };
17811
+ }
17812
+
17813
+ static types(): { [key: string]: any } {
17814
+ return {
17815
+ bypass: 'string',
17816
+ configId: 'number',
17817
+ configType: 'string',
17818
+ mode: 'string',
17819
+ routeEnable: 'string',
17820
+ routeName: 'string',
17821
+ routineName: 'string',
17822
+ rule: 'string',
17823
+ sequence: 'number',
17824
+ siteVersion: 'number',
17825
+ };
17826
+ }
17827
+
17828
+ validate() {
17829
+ super.validate();
17830
+ }
17831
+
17832
+ constructor(map?: { [key: string]: any }) {
17833
+ super(map);
17834
+ }
17835
+ }
17836
+
17316
17837
  export class ListSitesRequestTagFilter extends $dara.Model {
17317
17838
  /**
17318
17839
  * @remarks
@@ -21921,7 +22442,7 @@ export class BatchCreateWafRulesShrinkRequest extends $dara.Model {
21921
22442
  export class BatchCreateWafRulesResponseBody extends $dara.Model {
21922
22443
  /**
21923
22444
  * @remarks
21924
- * ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2850237.html) interface.
22445
+ * ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2878257.html) interface.
21925
22446
  */
21926
22447
  ids?: number[];
21927
22448
  /**
@@ -21934,7 +22455,7 @@ export class BatchCreateWafRulesResponseBody extends $dara.Model {
21934
22455
  requestId?: string;
21935
22456
  /**
21936
22457
  * @remarks
21937
- * ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2850233.html) interface.
22458
+ * ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) interface.
21938
22459
  *
21939
22460
  * @example
21940
22461
  * 10000001
@@ -22883,7 +23404,7 @@ export class BatchUpdateWafRulesRequest extends $dara.Model {
22883
23404
  phase?: string;
22884
23405
  /**
22885
23406
  * @remarks
22886
- * The ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2850233.html) operation.
23407
+ * The ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) operation.
22887
23408
  *
22888
23409
  * @example
22889
23410
  * 10000001
@@ -22892,6 +23413,9 @@ export class BatchUpdateWafRulesRequest extends $dara.Model {
22892
23413
  /**
22893
23414
  * @remarks
22894
23415
  * The configurations shared by multiple rules.
23416
+ *
23417
+ * @example
23418
+ * 10000001
22895
23419
  */
22896
23420
  shared?: WafBatchRuleShared;
22897
23421
  /**
@@ -22963,7 +23487,7 @@ export class BatchUpdateWafRulesShrinkRequest extends $dara.Model {
22963
23487
  phase?: string;
22964
23488
  /**
22965
23489
  * @remarks
22966
- * The ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2850233.html) operation.
23490
+ * The ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) operation.
22967
23491
  *
22968
23492
  * @example
22969
23493
  * 10000001
@@ -22972,6 +23496,9 @@ export class BatchUpdateWafRulesShrinkRequest extends $dara.Model {
22972
23496
  /**
22973
23497
  * @remarks
22974
23498
  * The configurations shared by multiple rules.
23499
+ *
23500
+ * @example
23501
+ * 10000001
22975
23502
  */
22976
23503
  sharedShrink?: string;
22977
23504
  /**
@@ -28220,6 +28747,7 @@ export class CreateOriginRuleRequest extends $dara.Model {
28220
28747
  * on
28221
28748
  */
28222
28749
  originMtls?: string;
28750
+ originReadTimeout?: string;
28223
28751
  /**
28224
28752
  * @remarks
28225
28753
  * Protocol used for the origin request. Possible values:
@@ -28315,6 +28843,7 @@ export class CreateOriginRuleRequest extends $dara.Model {
28315
28843
  originHttpPort: 'OriginHttpPort',
28316
28844
  originHttpsPort: 'OriginHttpsPort',
28317
28845
  originMtls: 'OriginMtls',
28846
+ originReadTimeout: 'OriginReadTimeout',
28318
28847
  originScheme: 'OriginScheme',
28319
28848
  originSni: 'OriginSni',
28320
28849
  originVerify: 'OriginVerify',
@@ -28336,6 +28865,7 @@ export class CreateOriginRuleRequest extends $dara.Model {
28336
28865
  originHttpPort: 'string',
28337
28866
  originHttpsPort: 'string',
28338
28867
  originMtls: 'string',
28868
+ originReadTimeout: 'string',
28339
28869
  originScheme: 'string',
28340
28870
  originSni: 'string',
28341
28871
  originVerify: 'string',
@@ -29779,6 +30309,150 @@ export class CreateRoutineRelatedRouteResponse extends $dara.Model {
29779
30309
  }
29780
30310
  }
29781
30311
 
30312
+ export class CreateRoutineRouteRequest extends $dara.Model {
30313
+ /**
30314
+ * @example
30315
+ * on
30316
+ */
30317
+ bypass?: string;
30318
+ /**
30319
+ * @example
30320
+ * on
30321
+ */
30322
+ routeEnable?: string;
30323
+ /**
30324
+ * @example
30325
+ * test_route
30326
+ */
30327
+ routeName?: string;
30328
+ /**
30329
+ * @remarks
30330
+ * This parameter is required.
30331
+ *
30332
+ * @example
30333
+ * test-routine1
30334
+ */
30335
+ routineName?: string;
30336
+ /**
30337
+ * @example
30338
+ * (http.host eq \\"video.example.com\\")
30339
+ */
30340
+ rule?: string;
30341
+ /**
30342
+ * @example
30343
+ * 1
30344
+ */
30345
+ sequence?: number;
30346
+ /**
30347
+ * @remarks
30348
+ * This parameter is required.
30349
+ *
30350
+ * @example
30351
+ * 123456****
30352
+ */
30353
+ siteId?: number;
30354
+ static names(): { [key: string]: string } {
30355
+ return {
30356
+ bypass: 'Bypass',
30357
+ routeEnable: 'RouteEnable',
30358
+ routeName: 'RouteName',
30359
+ routineName: 'RoutineName',
30360
+ rule: 'Rule',
30361
+ sequence: 'Sequence',
30362
+ siteId: 'SiteId',
30363
+ };
30364
+ }
30365
+
30366
+ static types(): { [key: string]: any } {
30367
+ return {
30368
+ bypass: 'string',
30369
+ routeEnable: 'string',
30370
+ routeName: 'string',
30371
+ routineName: 'string',
30372
+ rule: 'string',
30373
+ sequence: 'number',
30374
+ siteId: 'number',
30375
+ };
30376
+ }
30377
+
30378
+ validate() {
30379
+ super.validate();
30380
+ }
30381
+
30382
+ constructor(map?: { [key: string]: any }) {
30383
+ super(map);
30384
+ }
30385
+ }
30386
+
30387
+ export class CreateRoutineRouteResponseBody extends $dara.Model {
30388
+ /**
30389
+ * @example
30390
+ * 35281609698****
30391
+ */
30392
+ configId?: number;
30393
+ /**
30394
+ * @example
30395
+ * 04F0F334-1335-436C-A1D7-6C044FE73368
30396
+ */
30397
+ requestId?: string;
30398
+ static names(): { [key: string]: string } {
30399
+ return {
30400
+ configId: 'ConfigId',
30401
+ requestId: 'RequestId',
30402
+ };
30403
+ }
30404
+
30405
+ static types(): { [key: string]: any } {
30406
+ return {
30407
+ configId: 'number',
30408
+ requestId: 'string',
30409
+ };
30410
+ }
30411
+
30412
+ validate() {
30413
+ super.validate();
30414
+ }
30415
+
30416
+ constructor(map?: { [key: string]: any }) {
30417
+ super(map);
30418
+ }
30419
+ }
30420
+
30421
+ export class CreateRoutineRouteResponse extends $dara.Model {
30422
+ headers?: { [key: string]: string };
30423
+ statusCode?: number;
30424
+ body?: CreateRoutineRouteResponseBody;
30425
+ static names(): { [key: string]: string } {
30426
+ return {
30427
+ headers: 'headers',
30428
+ statusCode: 'statusCode',
30429
+ body: 'body',
30430
+ };
30431
+ }
30432
+
30433
+ static types(): { [key: string]: any } {
30434
+ return {
30435
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
30436
+ statusCode: 'number',
30437
+ body: CreateRoutineRouteResponseBody,
30438
+ };
30439
+ }
30440
+
30441
+ validate() {
30442
+ if(this.headers) {
30443
+ $dara.Model.validateMap(this.headers);
30444
+ }
30445
+ if(this.body && typeof (this.body as any).validate === 'function') {
30446
+ (this.body as any).validate();
30447
+ }
30448
+ super.validate();
30449
+ }
30450
+
30451
+ constructor(map?: { [key: string]: any }) {
30452
+ super(map);
30453
+ }
30454
+ }
30455
+
29782
30456
  export class CreateScheduledPreloadExecutionsRequest extends $dara.Model {
29783
30457
  /**
29784
30458
  * @remarks
@@ -31652,7 +32326,7 @@ export class CreateWafRuleShrinkRequest extends $dara.Model {
31652
32326
  export class CreateWafRuleResponseBody extends $dara.Model {
31653
32327
  /**
31654
32328
  * @remarks
31655
- * The ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2850237.html) API.
32329
+ * The ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2878257.html) API.
31656
32330
  *
31657
32331
  * @example
31658
32332
  * 20000001
@@ -31668,7 +32342,7 @@ export class CreateWafRuleResponseBody extends $dara.Model {
31668
32342
  requestId?: string;
31669
32343
  /**
31670
32344
  * @remarks
31671
- * ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2850233.html) interface.
32345
+ * ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) interface.
31672
32346
  *
31673
32347
  * @example
31674
32348
  * 10000001
@@ -36677,26 +37351,34 @@ export class DeleteRoutineRelatedRouteResponse extends $dara.Model {
36677
37351
  }
36678
37352
  }
36679
37353
 
36680
- export class DeleteScheduledPreloadExecutionRequest extends $dara.Model {
37354
+ export class DeleteRoutineRouteRequest extends $dara.Model {
36681
37355
  /**
36682
37356
  * @remarks
36683
- * The ID of the prefetch plan.
37357
+ * This parameter is required.
36684
37358
  *
37359
+ * @example
37360
+ * 3528160969****
37361
+ */
37362
+ configId?: number;
37363
+ /**
37364
+ * @remarks
36685
37365
  * This parameter is required.
36686
37366
  *
36687
37367
  * @example
36688
- * DeleteScheduledPreloadExecution
37368
+ * 11223***
36689
37369
  */
36690
- id?: string;
37370
+ siteId?: number;
36691
37371
  static names(): { [key: string]: string } {
36692
37372
  return {
36693
- id: 'Id',
37373
+ configId: 'ConfigId',
37374
+ siteId: 'SiteId',
36694
37375
  };
36695
37376
  }
36696
37377
 
36697
37378
  static types(): { [key: string]: any } {
36698
37379
  return {
36699
- id: 'string',
37380
+ configId: 'number',
37381
+ siteId: 'number',
36700
37382
  };
36701
37383
  }
36702
37384
 
@@ -36709,13 +37391,10 @@ export class DeleteScheduledPreloadExecutionRequest extends $dara.Model {
36709
37391
  }
36710
37392
  }
36711
37393
 
36712
- export class DeleteScheduledPreloadExecutionResponseBody extends $dara.Model {
37394
+ export class DeleteRoutineRouteResponseBody extends $dara.Model {
36713
37395
  /**
36714
- * @remarks
36715
- * The request ID.
36716
- *
36717
37396
  * @example
36718
- * 04F0F334-1335-436C-A1D7-6C044FE73368
37397
+ * 0AEDAF20-4DDF-4165-8750-47FF9C1929C9
36719
37398
  */
36720
37399
  requestId?: string;
36721
37400
  static names(): { [key: string]: string } {
@@ -36739,10 +37418,10 @@ export class DeleteScheduledPreloadExecutionResponseBody extends $dara.Model {
36739
37418
  }
36740
37419
  }
36741
37420
 
36742
- export class DeleteScheduledPreloadExecutionResponse extends $dara.Model {
37421
+ export class DeleteRoutineRouteResponse extends $dara.Model {
36743
37422
  headers?: { [key: string]: string };
36744
37423
  statusCode?: number;
36745
- body?: DeleteScheduledPreloadExecutionResponseBody;
37424
+ body?: DeleteRoutineRouteResponseBody;
36746
37425
  static names(): { [key: string]: string } {
36747
37426
  return {
36748
37427
  headers: 'headers',
@@ -36755,7 +37434,7 @@ export class DeleteScheduledPreloadExecutionResponse extends $dara.Model {
36755
37434
  return {
36756
37435
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
36757
37436
  statusCode: 'number',
36758
- body: DeleteScheduledPreloadExecutionResponseBody,
37437
+ body: DeleteRoutineRouteResponseBody,
36759
37438
  };
36760
37439
  }
36761
37440
 
@@ -36774,15 +37453,15 @@ export class DeleteScheduledPreloadExecutionResponse extends $dara.Model {
36774
37453
  }
36775
37454
  }
36776
37455
 
36777
- export class DeleteScheduledPreloadJobRequest extends $dara.Model {
37456
+ export class DeleteScheduledPreloadExecutionRequest extends $dara.Model {
36778
37457
  /**
36779
37458
  * @remarks
36780
- * The ID of the scheduled prefetch task.
37459
+ * The ID of the prefetch plan.
36781
37460
  *
36782
37461
  * This parameter is required.
36783
37462
  *
36784
37463
  * @example
36785
- * DeleteScheduledPreloadJob
37464
+ * DeleteScheduledPreloadExecution
36786
37465
  */
36787
37466
  id?: string;
36788
37467
  static names(): { [key: string]: string } {
@@ -36806,13 +37485,13 @@ export class DeleteScheduledPreloadJobRequest extends $dara.Model {
36806
37485
  }
36807
37486
  }
36808
37487
 
36809
- export class DeleteScheduledPreloadJobResponseBody extends $dara.Model {
37488
+ export class DeleteScheduledPreloadExecutionResponseBody extends $dara.Model {
36810
37489
  /**
36811
37490
  * @remarks
36812
37491
  * The request ID.
36813
37492
  *
36814
37493
  * @example
36815
- * C370DAF1-C838-4288-A1A0-9A87633D248E
37494
+ * 04F0F334-1335-436C-A1D7-6C044FE73368
36816
37495
  */
36817
37496
  requestId?: string;
36818
37497
  static names(): { [key: string]: string } {
@@ -36836,10 +37515,10 @@ export class DeleteScheduledPreloadJobResponseBody extends $dara.Model {
36836
37515
  }
36837
37516
  }
36838
37517
 
36839
- export class DeleteScheduledPreloadJobResponse extends $dara.Model {
37518
+ export class DeleteScheduledPreloadExecutionResponse extends $dara.Model {
36840
37519
  headers?: { [key: string]: string };
36841
37520
  statusCode?: number;
36842
- body?: DeleteScheduledPreloadJobResponseBody;
37521
+ body?: DeleteScheduledPreloadExecutionResponseBody;
36843
37522
  static names(): { [key: string]: string } {
36844
37523
  return {
36845
37524
  headers: 'headers',
@@ -36852,7 +37531,7 @@ export class DeleteScheduledPreloadJobResponse extends $dara.Model {
36852
37531
  return {
36853
37532
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
36854
37533
  statusCode: 'number',
36855
- body: DeleteScheduledPreloadJobResponseBody,
37534
+ body: DeleteScheduledPreloadExecutionResponseBody,
36856
37535
  };
36857
37536
  }
36858
37537
 
@@ -36871,30 +37550,26 @@ export class DeleteScheduledPreloadJobResponse extends $dara.Model {
36871
37550
  }
36872
37551
  }
36873
37552
 
36874
- export class DeleteSiteRequest extends $dara.Model {
36875
- ownerId?: number;
36876
- securityToken?: string;
37553
+ export class DeleteScheduledPreloadJobRequest extends $dara.Model {
36877
37554
  /**
36878
37555
  * @remarks
36879
- * The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
37556
+ * The ID of the scheduled prefetch task.
37557
+ *
37558
+ * This parameter is required.
36880
37559
  *
36881
37560
  * @example
36882
- * 1234567890123
37561
+ * DeleteScheduledPreloadJob
36883
37562
  */
36884
- siteId?: number;
37563
+ id?: string;
36885
37564
  static names(): { [key: string]: string } {
36886
37565
  return {
36887
- ownerId: 'OwnerId',
36888
- securityToken: 'SecurityToken',
36889
- siteId: 'SiteId',
37566
+ id: 'Id',
36890
37567
  };
36891
37568
  }
36892
37569
 
36893
37570
  static types(): { [key: string]: any } {
36894
37571
  return {
36895
- ownerId: 'number',
36896
- securityToken: 'string',
36897
- siteId: 'number',
37572
+ id: 'string',
36898
37573
  };
36899
37574
  }
36900
37575
 
@@ -36907,13 +37582,114 @@ export class DeleteSiteRequest extends $dara.Model {
36907
37582
  }
36908
37583
  }
36909
37584
 
36910
- export class DeleteSiteResponseBody extends $dara.Model {
37585
+ export class DeleteScheduledPreloadJobResponseBody extends $dara.Model {
36911
37586
  /**
36912
37587
  * @remarks
36913
37588
  * The request ID.
36914
37589
  *
36915
37590
  * @example
36916
- * 15C66C7B-671A-4297-9187-2C4477247B78
37591
+ * C370DAF1-C838-4288-A1A0-9A87633D248E
37592
+ */
37593
+ requestId?: string;
37594
+ static names(): { [key: string]: string } {
37595
+ return {
37596
+ requestId: 'RequestId',
37597
+ };
37598
+ }
37599
+
37600
+ static types(): { [key: string]: any } {
37601
+ return {
37602
+ requestId: 'string',
37603
+ };
37604
+ }
37605
+
37606
+ validate() {
37607
+ super.validate();
37608
+ }
37609
+
37610
+ constructor(map?: { [key: string]: any }) {
37611
+ super(map);
37612
+ }
37613
+ }
37614
+
37615
+ export class DeleteScheduledPreloadJobResponse extends $dara.Model {
37616
+ headers?: { [key: string]: string };
37617
+ statusCode?: number;
37618
+ body?: DeleteScheduledPreloadJobResponseBody;
37619
+ static names(): { [key: string]: string } {
37620
+ return {
37621
+ headers: 'headers',
37622
+ statusCode: 'statusCode',
37623
+ body: 'body',
37624
+ };
37625
+ }
37626
+
37627
+ static types(): { [key: string]: any } {
37628
+ return {
37629
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
37630
+ statusCode: 'number',
37631
+ body: DeleteScheduledPreloadJobResponseBody,
37632
+ };
37633
+ }
37634
+
37635
+ validate() {
37636
+ if(this.headers) {
37637
+ $dara.Model.validateMap(this.headers);
37638
+ }
37639
+ if(this.body && typeof (this.body as any).validate === 'function') {
37640
+ (this.body as any).validate();
37641
+ }
37642
+ super.validate();
37643
+ }
37644
+
37645
+ constructor(map?: { [key: string]: any }) {
37646
+ super(map);
37647
+ }
37648
+ }
37649
+
37650
+ export class DeleteSiteRequest extends $dara.Model {
37651
+ ownerId?: number;
37652
+ securityToken?: string;
37653
+ /**
37654
+ * @remarks
37655
+ * The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
37656
+ *
37657
+ * @example
37658
+ * 1234567890123
37659
+ */
37660
+ siteId?: number;
37661
+ static names(): { [key: string]: string } {
37662
+ return {
37663
+ ownerId: 'OwnerId',
37664
+ securityToken: 'SecurityToken',
37665
+ siteId: 'SiteId',
37666
+ };
37667
+ }
37668
+
37669
+ static types(): { [key: string]: any } {
37670
+ return {
37671
+ ownerId: 'number',
37672
+ securityToken: 'string',
37673
+ siteId: 'number',
37674
+ };
37675
+ }
37676
+
37677
+ validate() {
37678
+ super.validate();
37679
+ }
37680
+
37681
+ constructor(map?: { [key: string]: any }) {
37682
+ super(map);
37683
+ }
37684
+ }
37685
+
37686
+ export class DeleteSiteResponseBody extends $dara.Model {
37687
+ /**
37688
+ * @remarks
37689
+ * The request ID.
37690
+ *
37691
+ * @example
37692
+ * 15C66C7B-671A-4297-9187-2C4477247B78
36917
37693
  */
36918
37694
  requestId?: string;
36919
37695
  static names(): { [key: string]: string } {
@@ -37320,7 +38096,7 @@ export class DeleteUserDeliveryTaskResponse extends $dara.Model {
37320
38096
  export class DeleteWafRuleRequest extends $dara.Model {
37321
38097
  /**
37322
38098
  * @remarks
37323
- * ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2850237.html) interface.
38099
+ * ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2878257.html) interface.
37324
38100
  *
37325
38101
  * This parameter is required.
37326
38102
  *
@@ -39696,30 +40472,56 @@ export class DescribeRatePlanInstanceStatusResponse extends $dara.Model {
39696
40472
  }
39697
40473
  }
39698
40474
 
39699
- export class DisableCustomScenePolicyRequest extends $dara.Model {
40475
+ export class DescribeSiteTimeSeriesDataRequest extends $dara.Model {
40476
+ /**
40477
+ * @example
40478
+ * 2023-04-09T16:00:00Z
40479
+ */
40480
+ endTime?: string;
39700
40481
  /**
39701
40482
  * @remarks
39702
- * The policy ID, which can be obtained by calling the [DescribeCustomScenePolicies](https://help.aliyun.com/document_detail/2850508.html) operation.
39703
- *
39704
40483
  * This parameter is required.
39705
- *
40484
+ */
40485
+ fields?: DescribeSiteTimeSeriesDataRequestFields[];
40486
+ /**
39706
40487
  * @example
39707
- * 100001
40488
+ * 300
39708
40489
  */
39709
- policyId?: number;
40490
+ interval?: string;
40491
+ /**
40492
+ * @example
40493
+ * 1150376036*****
40494
+ */
40495
+ siteId?: string;
40496
+ /**
40497
+ * @example
40498
+ * 2023-04-08T16:00:00Z
40499
+ */
40500
+ startTime?: string;
39710
40501
  static names(): { [key: string]: string } {
39711
40502
  return {
39712
- policyId: 'PolicyId',
40503
+ endTime: 'EndTime',
40504
+ fields: 'Fields',
40505
+ interval: 'Interval',
40506
+ siteId: 'SiteId',
40507
+ startTime: 'StartTime',
39713
40508
  };
39714
40509
  }
39715
40510
 
39716
40511
  static types(): { [key: string]: any } {
39717
40512
  return {
39718
- policyId: 'number',
40513
+ endTime: 'string',
40514
+ fields: { 'type': 'array', 'itemType': DescribeSiteTimeSeriesDataRequestFields },
40515
+ interval: 'string',
40516
+ siteId: 'string',
40517
+ startTime: 'string',
39719
40518
  };
39720
40519
  }
39721
40520
 
39722
40521
  validate() {
40522
+ if(Array.isArray(this.fields)) {
40523
+ $dara.Model.validateArray(this.fields);
40524
+ }
39723
40525
  super.validate();
39724
40526
  }
39725
40527
 
@@ -39728,38 +40530,120 @@ export class DisableCustomScenePolicyRequest extends $dara.Model {
39728
40530
  }
39729
40531
  }
39730
40532
 
39731
- export class DisableCustomScenePolicyResponseBody extends $dara.Model {
40533
+ export class DescribeSiteTimeSeriesDataShrinkRequest extends $dara.Model {
39732
40534
  /**
39733
- * @remarks
39734
- * The ID of the disabled policy.
39735
- *
39736
40535
  * @example
39737
- * 100001
40536
+ * 2023-04-09T16:00:00Z
39738
40537
  */
39739
- policyId?: number;
40538
+ endTime?: string;
39740
40539
  /**
39741
40540
  * @remarks
39742
- * The request ID.
39743
- *
40541
+ * This parameter is required.
40542
+ */
40543
+ fieldsShrink?: string;
40544
+ /**
39744
40545
  * @example
39745
- * 9732E117-8A37-49FD-A36F-ABBB87556CA7
40546
+ * 300
40547
+ */
40548
+ interval?: string;
40549
+ /**
40550
+ * @example
40551
+ * 1150376036*****
40552
+ */
40553
+ siteId?: string;
40554
+ /**
40555
+ * @example
40556
+ * 2023-04-08T16:00:00Z
40557
+ */
40558
+ startTime?: string;
40559
+ static names(): { [key: string]: string } {
40560
+ return {
40561
+ endTime: 'EndTime',
40562
+ fieldsShrink: 'Fields',
40563
+ interval: 'Interval',
40564
+ siteId: 'SiteId',
40565
+ startTime: 'StartTime',
40566
+ };
40567
+ }
40568
+
40569
+ static types(): { [key: string]: any } {
40570
+ return {
40571
+ endTime: 'string',
40572
+ fieldsShrink: 'string',
40573
+ interval: 'string',
40574
+ siteId: 'string',
40575
+ startTime: 'string',
40576
+ };
40577
+ }
40578
+
40579
+ validate() {
40580
+ super.validate();
40581
+ }
40582
+
40583
+ constructor(map?: { [key: string]: any }) {
40584
+ super(map);
40585
+ }
40586
+ }
40587
+
40588
+ export class DescribeSiteTimeSeriesDataResponseBody extends $dara.Model {
40589
+ data?: DescribeSiteTimeSeriesDataResponseBodyData[];
40590
+ /**
40591
+ * @example
40592
+ * 2023-04-09T16:00:00Z
40593
+ */
40594
+ endTime?: string;
40595
+ /**
40596
+ * @example
40597
+ * 300
40598
+ */
40599
+ interval?: number;
40600
+ /**
40601
+ * @example
40602
+ * 04F0F334-1335-436C-A1D7-6C044FE7****
39746
40603
  */
39747
40604
  requestId?: string;
40605
+ /**
40606
+ * @example
40607
+ * 100
40608
+ */
40609
+ samplingRate?: number;
40610
+ /**
40611
+ * @example
40612
+ * 2023-04-08T16:00:00Z
40613
+ */
40614
+ startTime?: string;
40615
+ summarizedData?: DescribeSiteTimeSeriesDataResponseBodySummarizedData[];
39748
40616
  static names(): { [key: string]: string } {
39749
40617
  return {
39750
- policyId: 'PolicyId',
40618
+ data: 'Data',
40619
+ endTime: 'EndTime',
40620
+ interval: 'Interval',
39751
40621
  requestId: 'RequestId',
40622
+ samplingRate: 'SamplingRate',
40623
+ startTime: 'StartTime',
40624
+ summarizedData: 'SummarizedData',
39752
40625
  };
39753
40626
  }
39754
40627
 
39755
40628
  static types(): { [key: string]: any } {
39756
40629
  return {
39757
- policyId: 'number',
40630
+ data: { 'type': 'array', 'itemType': DescribeSiteTimeSeriesDataResponseBodyData },
40631
+ endTime: 'string',
40632
+ interval: 'number',
39758
40633
  requestId: 'string',
40634
+ samplingRate: 'number',
40635
+ startTime: 'string',
40636
+ summarizedData: { 'type': 'array', 'itemType': DescribeSiteTimeSeriesDataResponseBodySummarizedData },
39759
40637
  };
39760
40638
  }
39761
40639
 
39762
40640
  validate() {
40641
+ if(Array.isArray(this.data)) {
40642
+ $dara.Model.validateArray(this.data);
40643
+ }
40644
+ if(Array.isArray(this.summarizedData)) {
40645
+ $dara.Model.validateArray(this.summarizedData);
40646
+ }
39763
40647
  super.validate();
39764
40648
  }
39765
40649
 
@@ -39768,10 +40652,10 @@ export class DisableCustomScenePolicyResponseBody extends $dara.Model {
39768
40652
  }
39769
40653
  }
39770
40654
 
39771
- export class DisableCustomScenePolicyResponse extends $dara.Model {
40655
+ export class DescribeSiteTimeSeriesDataResponse extends $dara.Model {
39772
40656
  headers?: { [key: string]: string };
39773
40657
  statusCode?: number;
39774
- body?: DisableCustomScenePolicyResponseBody;
40658
+ body?: DescribeSiteTimeSeriesDataResponseBody;
39775
40659
  static names(): { [key: string]: string } {
39776
40660
  return {
39777
40661
  headers: 'headers',
@@ -39784,7 +40668,7 @@ export class DisableCustomScenePolicyResponse extends $dara.Model {
39784
40668
  return {
39785
40669
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
39786
40670
  statusCode: 'number',
39787
- body: DisableCustomScenePolicyResponseBody,
40671
+ body: DescribeSiteTimeSeriesDataResponseBody,
39788
40672
  };
39789
40673
  }
39790
40674
 
@@ -39803,47 +40687,58 @@ export class DisableCustomScenePolicyResponse extends $dara.Model {
39803
40687
  }
39804
40688
  }
39805
40689
 
39806
- export class EditSiteWafSettingsRequest extends $dara.Model {
40690
+ export class DescribeSiteTopDataRequest extends $dara.Model {
39807
40691
  /**
39808
- * @remarks
39809
- * WAF configuration information for the site, passed in JSON format.
40692
+ * @example
40693
+ * 2023-04-09T16:00:00Z
39810
40694
  */
39811
- settings?: WafSiteSettings;
40695
+ endTime?: string;
39812
40696
  /**
39813
40697
  * @remarks
39814
- * Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) API.
39815
- *
40698
+ * This parameter is required.
40699
+ */
40700
+ fields?: DescribeSiteTopDataRequestFields[];
40701
+ /**
39816
40702
  * @example
39817
- * 1
40703
+ * 300
39818
40704
  */
39819
- siteId?: number;
40705
+ interval?: string;
40706
+ limit?: string;
39820
40707
  /**
39821
- * @remarks
39822
- * Site version.
39823
- *
39824
40708
  * @example
39825
- * 0
40709
+ * 1150376036*****
39826
40710
  */
39827
- siteVersion?: number;
40711
+ siteId?: string;
40712
+ /**
40713
+ * @example
40714
+ * 2023-04-08T16:00:00Z
40715
+ */
40716
+ startTime?: string;
39828
40717
  static names(): { [key: string]: string } {
39829
40718
  return {
39830
- settings: 'Settings',
40719
+ endTime: 'EndTime',
40720
+ fields: 'Fields',
40721
+ interval: 'Interval',
40722
+ limit: 'Limit',
39831
40723
  siteId: 'SiteId',
39832
- siteVersion: 'SiteVersion',
40724
+ startTime: 'StartTime',
39833
40725
  };
39834
40726
  }
39835
40727
 
39836
40728
  static types(): { [key: string]: any } {
39837
40729
  return {
39838
- settings: WafSiteSettings,
39839
- siteId: 'number',
39840
- siteVersion: 'number',
40730
+ endTime: 'string',
40731
+ fields: { 'type': 'array', 'itemType': DescribeSiteTopDataRequestFields },
40732
+ interval: 'string',
40733
+ limit: 'string',
40734
+ siteId: 'string',
40735
+ startTime: 'string',
39841
40736
  };
39842
40737
  }
39843
40738
 
39844
40739
  validate() {
39845
- if(this.settings && typeof (this.settings as any).validate === 'function') {
39846
- (this.settings as any).validate();
40740
+ if(Array.isArray(this.fields)) {
40741
+ $dara.Model.validateArray(this.fields);
39847
40742
  }
39848
40743
  super.validate();
39849
40744
  }
@@ -39853,41 +40748,52 @@ export class EditSiteWafSettingsRequest extends $dara.Model {
39853
40748
  }
39854
40749
  }
39855
40750
 
39856
- export class EditSiteWafSettingsShrinkRequest extends $dara.Model {
40751
+ export class DescribeSiteTopDataShrinkRequest extends $dara.Model {
39857
40752
  /**
39858
- * @remarks
39859
- * WAF configuration information for the site, passed in JSON format.
40753
+ * @example
40754
+ * 2023-04-09T16:00:00Z
39860
40755
  */
39861
- settingsShrink?: string;
40756
+ endTime?: string;
39862
40757
  /**
39863
40758
  * @remarks
39864
- * Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) API.
39865
- *
40759
+ * This parameter is required.
40760
+ */
40761
+ fieldsShrink?: string;
40762
+ /**
39866
40763
  * @example
39867
- * 1
40764
+ * 300
39868
40765
  */
39869
- siteId?: number;
40766
+ interval?: string;
40767
+ limit?: string;
39870
40768
  /**
39871
- * @remarks
39872
- * Site version.
39873
- *
39874
40769
  * @example
39875
- * 0
40770
+ * 1150376036*****
39876
40771
  */
39877
- siteVersion?: number;
40772
+ siteId?: string;
40773
+ /**
40774
+ * @example
40775
+ * 2023-04-08T16:00:00Z
40776
+ */
40777
+ startTime?: string;
39878
40778
  static names(): { [key: string]: string } {
39879
40779
  return {
39880
- settingsShrink: 'Settings',
40780
+ endTime: 'EndTime',
40781
+ fieldsShrink: 'Fields',
40782
+ interval: 'Interval',
40783
+ limit: 'Limit',
39881
40784
  siteId: 'SiteId',
39882
- siteVersion: 'SiteVersion',
40785
+ startTime: 'StartTime',
39883
40786
  };
39884
40787
  }
39885
40788
 
39886
40789
  static types(): { [key: string]: any } {
39887
40790
  return {
39888
- settingsShrink: 'string',
39889
- siteId: 'number',
39890
- siteVersion: 'number',
40791
+ endTime: 'string',
40792
+ fieldsShrink: 'string',
40793
+ interval: 'string',
40794
+ limit: 'string',
40795
+ siteId: 'string',
40796
+ startTime: 'string',
39891
40797
  };
39892
40798
  }
39893
40799
 
@@ -39900,28 +40806,52 @@ export class EditSiteWafSettingsShrinkRequest extends $dara.Model {
39900
40806
  }
39901
40807
  }
39902
40808
 
39903
- export class EditSiteWafSettingsResponseBody extends $dara.Model {
40809
+ export class DescribeSiteTopDataResponseBody extends $dara.Model {
40810
+ data?: DescribeSiteTopDataResponseBodyData[];
39904
40811
  /**
39905
- * @remarks
39906
- * Request ID.
39907
- *
39908
40812
  * @example
39909
- * 36af3fcc-43d0-441c-86b1-428951dc8225
40813
+ * 2023-04-09T16:00:00Z
40814
+ */
40815
+ endTime?: string;
40816
+ /**
40817
+ * @example
40818
+ * 35C66C7B-671H-4297-9187-2C447724****
39910
40819
  */
39911
40820
  requestId?: string;
40821
+ /**
40822
+ * @example
40823
+ * 100
40824
+ */
40825
+ samplingRate?: number;
40826
+ /**
40827
+ * @example
40828
+ * 2023-04-08T16:00:00Z
40829
+ */
40830
+ startTime?: string;
39912
40831
  static names(): { [key: string]: string } {
39913
40832
  return {
40833
+ data: 'Data',
40834
+ endTime: 'EndTime',
39914
40835
  requestId: 'RequestId',
40836
+ samplingRate: 'SamplingRate',
40837
+ startTime: 'StartTime',
39915
40838
  };
39916
40839
  }
39917
40840
 
39918
40841
  static types(): { [key: string]: any } {
39919
40842
  return {
40843
+ data: { 'type': 'array', 'itemType': DescribeSiteTopDataResponseBodyData },
40844
+ endTime: 'string',
39920
40845
  requestId: 'string',
40846
+ samplingRate: 'number',
40847
+ startTime: 'string',
39921
40848
  };
39922
40849
  }
39923
40850
 
39924
40851
  validate() {
40852
+ if(Array.isArray(this.data)) {
40853
+ $dara.Model.validateArray(this.data);
40854
+ }
39925
40855
  super.validate();
39926
40856
  }
39927
40857
 
@@ -39930,10 +40860,10 @@ export class EditSiteWafSettingsResponseBody extends $dara.Model {
39930
40860
  }
39931
40861
  }
39932
40862
 
39933
- export class EditSiteWafSettingsResponse extends $dara.Model {
40863
+ export class DescribeSiteTopDataResponse extends $dara.Model {
39934
40864
  headers?: { [key: string]: string };
39935
40865
  statusCode?: number;
39936
- body?: EditSiteWafSettingsResponseBody;
40866
+ body?: DescribeSiteTopDataResponseBody;
39937
40867
  static names(): { [key: string]: string } {
39938
40868
  return {
39939
40869
  headers: 'headers',
@@ -39946,7 +40876,7 @@ export class EditSiteWafSettingsResponse extends $dara.Model {
39946
40876
  return {
39947
40877
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
39948
40878
  statusCode: 'number',
39949
- body: EditSiteWafSettingsResponseBody,
40879
+ body: DescribeSiteTopDataResponseBody,
39950
40880
  };
39951
40881
  }
39952
40882
 
@@ -39965,7 +40895,7 @@ export class EditSiteWafSettingsResponse extends $dara.Model {
39965
40895
  }
39966
40896
  }
39967
40897
 
39968
- export class EnableCustomScenePolicyRequest extends $dara.Model {
40898
+ export class DisableCustomScenePolicyRequest extends $dara.Model {
39969
40899
  /**
39970
40900
  * @remarks
39971
40901
  * The policy ID, which can be obtained by calling the [DescribeCustomScenePolicies](https://help.aliyun.com/document_detail/2850508.html) operation.
@@ -39973,7 +40903,276 @@ export class EnableCustomScenePolicyRequest extends $dara.Model {
39973
40903
  * This parameter is required.
39974
40904
  *
39975
40905
  * @example
39976
- * 1
40906
+ * 100001
40907
+ */
40908
+ policyId?: number;
40909
+ static names(): { [key: string]: string } {
40910
+ return {
40911
+ policyId: 'PolicyId',
40912
+ };
40913
+ }
40914
+
40915
+ static types(): { [key: string]: any } {
40916
+ return {
40917
+ policyId: 'number',
40918
+ };
40919
+ }
40920
+
40921
+ validate() {
40922
+ super.validate();
40923
+ }
40924
+
40925
+ constructor(map?: { [key: string]: any }) {
40926
+ super(map);
40927
+ }
40928
+ }
40929
+
40930
+ export class DisableCustomScenePolicyResponseBody extends $dara.Model {
40931
+ /**
40932
+ * @remarks
40933
+ * The ID of the disabled policy.
40934
+ *
40935
+ * @example
40936
+ * 100001
40937
+ */
40938
+ policyId?: number;
40939
+ /**
40940
+ * @remarks
40941
+ * The request ID.
40942
+ *
40943
+ * @example
40944
+ * 9732E117-8A37-49FD-A36F-ABBB87556CA7
40945
+ */
40946
+ requestId?: string;
40947
+ static names(): { [key: string]: string } {
40948
+ return {
40949
+ policyId: 'PolicyId',
40950
+ requestId: 'RequestId',
40951
+ };
40952
+ }
40953
+
40954
+ static types(): { [key: string]: any } {
40955
+ return {
40956
+ policyId: 'number',
40957
+ requestId: 'string',
40958
+ };
40959
+ }
40960
+
40961
+ validate() {
40962
+ super.validate();
40963
+ }
40964
+
40965
+ constructor(map?: { [key: string]: any }) {
40966
+ super(map);
40967
+ }
40968
+ }
40969
+
40970
+ export class DisableCustomScenePolicyResponse extends $dara.Model {
40971
+ headers?: { [key: string]: string };
40972
+ statusCode?: number;
40973
+ body?: DisableCustomScenePolicyResponseBody;
40974
+ static names(): { [key: string]: string } {
40975
+ return {
40976
+ headers: 'headers',
40977
+ statusCode: 'statusCode',
40978
+ body: 'body',
40979
+ };
40980
+ }
40981
+
40982
+ static types(): { [key: string]: any } {
40983
+ return {
40984
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
40985
+ statusCode: 'number',
40986
+ body: DisableCustomScenePolicyResponseBody,
40987
+ };
40988
+ }
40989
+
40990
+ validate() {
40991
+ if(this.headers) {
40992
+ $dara.Model.validateMap(this.headers);
40993
+ }
40994
+ if(this.body && typeof (this.body as any).validate === 'function') {
40995
+ (this.body as any).validate();
40996
+ }
40997
+ super.validate();
40998
+ }
40999
+
41000
+ constructor(map?: { [key: string]: any }) {
41001
+ super(map);
41002
+ }
41003
+ }
41004
+
41005
+ export class EditSiteWafSettingsRequest extends $dara.Model {
41006
+ /**
41007
+ * @remarks
41008
+ * WAF configuration information for the site, passed in JSON format.
41009
+ */
41010
+ settings?: WafSiteSettings;
41011
+ /**
41012
+ * @remarks
41013
+ * Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) API.
41014
+ *
41015
+ * @example
41016
+ * 1
41017
+ */
41018
+ siteId?: number;
41019
+ /**
41020
+ * @remarks
41021
+ * Site version.
41022
+ *
41023
+ * @example
41024
+ * 0
41025
+ */
41026
+ siteVersion?: number;
41027
+ static names(): { [key: string]: string } {
41028
+ return {
41029
+ settings: 'Settings',
41030
+ siteId: 'SiteId',
41031
+ siteVersion: 'SiteVersion',
41032
+ };
41033
+ }
41034
+
41035
+ static types(): { [key: string]: any } {
41036
+ return {
41037
+ settings: WafSiteSettings,
41038
+ siteId: 'number',
41039
+ siteVersion: 'number',
41040
+ };
41041
+ }
41042
+
41043
+ validate() {
41044
+ if(this.settings && typeof (this.settings as any).validate === 'function') {
41045
+ (this.settings as any).validate();
41046
+ }
41047
+ super.validate();
41048
+ }
41049
+
41050
+ constructor(map?: { [key: string]: any }) {
41051
+ super(map);
41052
+ }
41053
+ }
41054
+
41055
+ export class EditSiteWafSettingsShrinkRequest extends $dara.Model {
41056
+ /**
41057
+ * @remarks
41058
+ * WAF configuration information for the site, passed in JSON format.
41059
+ */
41060
+ settingsShrink?: string;
41061
+ /**
41062
+ * @remarks
41063
+ * Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) API.
41064
+ *
41065
+ * @example
41066
+ * 1
41067
+ */
41068
+ siteId?: number;
41069
+ /**
41070
+ * @remarks
41071
+ * Site version.
41072
+ *
41073
+ * @example
41074
+ * 0
41075
+ */
41076
+ siteVersion?: number;
41077
+ static names(): { [key: string]: string } {
41078
+ return {
41079
+ settingsShrink: 'Settings',
41080
+ siteId: 'SiteId',
41081
+ siteVersion: 'SiteVersion',
41082
+ };
41083
+ }
41084
+
41085
+ static types(): { [key: string]: any } {
41086
+ return {
41087
+ settingsShrink: 'string',
41088
+ siteId: 'number',
41089
+ siteVersion: 'number',
41090
+ };
41091
+ }
41092
+
41093
+ validate() {
41094
+ super.validate();
41095
+ }
41096
+
41097
+ constructor(map?: { [key: string]: any }) {
41098
+ super(map);
41099
+ }
41100
+ }
41101
+
41102
+ export class EditSiteWafSettingsResponseBody extends $dara.Model {
41103
+ /**
41104
+ * @remarks
41105
+ * Request ID.
41106
+ *
41107
+ * @example
41108
+ * 36af3fcc-43d0-441c-86b1-428951dc8225
41109
+ */
41110
+ requestId?: string;
41111
+ static names(): { [key: string]: string } {
41112
+ return {
41113
+ requestId: 'RequestId',
41114
+ };
41115
+ }
41116
+
41117
+ static types(): { [key: string]: any } {
41118
+ return {
41119
+ requestId: 'string',
41120
+ };
41121
+ }
41122
+
41123
+ validate() {
41124
+ super.validate();
41125
+ }
41126
+
41127
+ constructor(map?: { [key: string]: any }) {
41128
+ super(map);
41129
+ }
41130
+ }
41131
+
41132
+ export class EditSiteWafSettingsResponse extends $dara.Model {
41133
+ headers?: { [key: string]: string };
41134
+ statusCode?: number;
41135
+ body?: EditSiteWafSettingsResponseBody;
41136
+ static names(): { [key: string]: string } {
41137
+ return {
41138
+ headers: 'headers',
41139
+ statusCode: 'statusCode',
41140
+ body: 'body',
41141
+ };
41142
+ }
41143
+
41144
+ static types(): { [key: string]: any } {
41145
+ return {
41146
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
41147
+ statusCode: 'number',
41148
+ body: EditSiteWafSettingsResponseBody,
41149
+ };
41150
+ }
41151
+
41152
+ validate() {
41153
+ if(this.headers) {
41154
+ $dara.Model.validateMap(this.headers);
41155
+ }
41156
+ if(this.body && typeof (this.body as any).validate === 'function') {
41157
+ (this.body as any).validate();
41158
+ }
41159
+ super.validate();
41160
+ }
41161
+
41162
+ constructor(map?: { [key: string]: any }) {
41163
+ super(map);
41164
+ }
41165
+ }
41166
+
41167
+ export class EnableCustomScenePolicyRequest extends $dara.Model {
41168
+ /**
41169
+ * @remarks
41170
+ * The policy ID, which can be obtained by calling the [DescribeCustomScenePolicies](https://help.aliyun.com/document_detail/2850508.html) operation.
41171
+ *
41172
+ * This parameter is required.
41173
+ *
41174
+ * @example
41175
+ * 1
39977
41176
  */
39978
41177
  policyId?: number;
39979
41178
  static names(): { [key: string]: string } {
@@ -42479,6 +43678,104 @@ export class GetEdgeContainerAppResourceReserveResponse extends $dara.Model {
42479
43678
  }
42480
43679
  }
42481
43680
 
43681
+ export class GetEdgeContainerAppResourceStatusRequest extends $dara.Model {
43682
+ /**
43683
+ * @remarks
43684
+ * This parameter is required.
43685
+ *
43686
+ * @example
43687
+ * app-96253477062511****
43688
+ */
43689
+ appId?: string;
43690
+ static names(): { [key: string]: string } {
43691
+ return {
43692
+ appId: 'AppId',
43693
+ };
43694
+ }
43695
+
43696
+ static types(): { [key: string]: any } {
43697
+ return {
43698
+ appId: 'string',
43699
+ };
43700
+ }
43701
+
43702
+ validate() {
43703
+ super.validate();
43704
+ }
43705
+
43706
+ constructor(map?: { [key: string]: any }) {
43707
+ super(map);
43708
+ }
43709
+ }
43710
+
43711
+ export class GetEdgeContainerAppResourceStatusResponseBody extends $dara.Model {
43712
+ regions?: GetEdgeContainerAppResourceStatusResponseBodyRegions[];
43713
+ /**
43714
+ * @example
43715
+ * 15C66C7B-671A-4297-9187-2C4477247A74
43716
+ */
43717
+ requestId?: string;
43718
+ static names(): { [key: string]: string } {
43719
+ return {
43720
+ regions: 'Regions',
43721
+ requestId: 'RequestId',
43722
+ };
43723
+ }
43724
+
43725
+ static types(): { [key: string]: any } {
43726
+ return {
43727
+ regions: { 'type': 'array', 'itemType': GetEdgeContainerAppResourceStatusResponseBodyRegions },
43728
+ requestId: 'string',
43729
+ };
43730
+ }
43731
+
43732
+ validate() {
43733
+ if(Array.isArray(this.regions)) {
43734
+ $dara.Model.validateArray(this.regions);
43735
+ }
43736
+ super.validate();
43737
+ }
43738
+
43739
+ constructor(map?: { [key: string]: any }) {
43740
+ super(map);
43741
+ }
43742
+ }
43743
+
43744
+ export class GetEdgeContainerAppResourceStatusResponse extends $dara.Model {
43745
+ headers?: { [key: string]: string };
43746
+ statusCode?: number;
43747
+ body?: GetEdgeContainerAppResourceStatusResponseBody;
43748
+ static names(): { [key: string]: string } {
43749
+ return {
43750
+ headers: 'headers',
43751
+ statusCode: 'statusCode',
43752
+ body: 'body',
43753
+ };
43754
+ }
43755
+
43756
+ static types(): { [key: string]: any } {
43757
+ return {
43758
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
43759
+ statusCode: 'number',
43760
+ body: GetEdgeContainerAppResourceStatusResponseBody,
43761
+ };
43762
+ }
43763
+
43764
+ validate() {
43765
+ if(this.headers) {
43766
+ $dara.Model.validateMap(this.headers);
43767
+ }
43768
+ if(this.body && typeof (this.body as any).validate === 'function') {
43769
+ (this.body as any).validate();
43770
+ }
43771
+ super.validate();
43772
+ }
43773
+
43774
+ constructor(map?: { [key: string]: any }) {
43775
+ super(map);
43776
+ }
43777
+ }
43778
+
42482
43779
  export class GetEdgeContainerAppStatusRequest extends $dara.Model {
42483
43780
  /**
42484
43781
  * @remarks
@@ -46829,6 +48126,7 @@ export class GetOriginRuleResponseBody extends $dara.Model {
46829
48126
  * on
46830
48127
  */
46831
48128
  originMtls?: string;
48129
+ originReadTimeout?: string;
46832
48130
  /**
46833
48131
  * @remarks
46834
48132
  * Protocol used for the origin request. Value range:
@@ -46933,6 +48231,7 @@ export class GetOriginRuleResponseBody extends $dara.Model {
46933
48231
  originHttpPort: 'OriginHttpPort',
46934
48232
  originHttpsPort: 'OriginHttpsPort',
46935
48233
  originMtls: 'OriginMtls',
48234
+ originReadTimeout: 'OriginReadTimeout',
46936
48235
  originScheme: 'OriginScheme',
46937
48236
  originSni: 'OriginSni',
46938
48237
  originVerify: 'OriginVerify',
@@ -46956,6 +48255,7 @@ export class GetOriginRuleResponseBody extends $dara.Model {
46956
48255
  originHttpPort: 'string',
46957
48256
  originHttpsPort: 'string',
46958
48257
  originMtls: 'string',
48258
+ originReadTimeout: 'string',
46959
48259
  originScheme: 'string',
46960
48260
  originSni: 'string',
46961
48261
  originVerify: 'string',
@@ -48138,6 +49438,178 @@ export class GetRoutineResponse extends $dara.Model {
48138
49438
  }
48139
49439
  }
48140
49440
 
49441
+ export class GetRoutineRouteRequest extends $dara.Model {
49442
+ /**
49443
+ * @remarks
49444
+ * This parameter is required.
49445
+ *
49446
+ * @example
49447
+ * 35281609698****
49448
+ */
49449
+ configId?: number;
49450
+ /**
49451
+ * @remarks
49452
+ * This parameter is required.
49453
+ *
49454
+ * @example
49455
+ * 123456****
49456
+ */
49457
+ siteId?: number;
49458
+ static names(): { [key: string]: string } {
49459
+ return {
49460
+ configId: 'ConfigId',
49461
+ siteId: 'SiteId',
49462
+ };
49463
+ }
49464
+
49465
+ static types(): { [key: string]: any } {
49466
+ return {
49467
+ configId: 'number',
49468
+ siteId: 'number',
49469
+ };
49470
+ }
49471
+
49472
+ validate() {
49473
+ super.validate();
49474
+ }
49475
+
49476
+ constructor(map?: { [key: string]: any }) {
49477
+ super(map);
49478
+ }
49479
+ }
49480
+
49481
+ export class GetRoutineRouteResponseBody extends $dara.Model {
49482
+ /**
49483
+ * @example
49484
+ * on
49485
+ */
49486
+ bypass?: string;
49487
+ /**
49488
+ * @example
49489
+ * 352816******
49490
+ */
49491
+ configId?: number;
49492
+ /**
49493
+ * @example
49494
+ * global
49495
+ */
49496
+ configType?: string;
49497
+ /**
49498
+ * @example
49499
+ * simple
49500
+ */
49501
+ mode?: string;
49502
+ /**
49503
+ * @example
49504
+ * 36af3fcc-43d0-441c-86b1-428951dc8225
49505
+ */
49506
+ requestId?: string;
49507
+ /**
49508
+ * @example
49509
+ * on
49510
+ */
49511
+ routeEnable?: string;
49512
+ /**
49513
+ * @example
49514
+ * test_route
49515
+ */
49516
+ routeName?: string;
49517
+ /**
49518
+ * @example
49519
+ * test-routine1
49520
+ */
49521
+ routineName?: string;
49522
+ /**
49523
+ * @example
49524
+ * (http.host eq \\"video.example.com\\")
49525
+ */
49526
+ rule?: string;
49527
+ /**
49528
+ * @example
49529
+ * 1
49530
+ */
49531
+ sequence?: number;
49532
+ /**
49533
+ * @example
49534
+ * 0
49535
+ */
49536
+ siteVersion?: number;
49537
+ static names(): { [key: string]: string } {
49538
+ return {
49539
+ bypass: 'Bypass',
49540
+ configId: 'ConfigId',
49541
+ configType: 'ConfigType',
49542
+ mode: 'Mode',
49543
+ requestId: 'RequestId',
49544
+ routeEnable: 'RouteEnable',
49545
+ routeName: 'RouteName',
49546
+ routineName: 'RoutineName',
49547
+ rule: 'Rule',
49548
+ sequence: 'Sequence',
49549
+ siteVersion: 'SiteVersion',
49550
+ };
49551
+ }
49552
+
49553
+ static types(): { [key: string]: any } {
49554
+ return {
49555
+ bypass: 'string',
49556
+ configId: 'number',
49557
+ configType: 'string',
49558
+ mode: 'string',
49559
+ requestId: 'string',
49560
+ routeEnable: 'string',
49561
+ routeName: 'string',
49562
+ routineName: 'string',
49563
+ rule: 'string',
49564
+ sequence: 'number',
49565
+ siteVersion: 'number',
49566
+ };
49567
+ }
49568
+
49569
+ validate() {
49570
+ super.validate();
49571
+ }
49572
+
49573
+ constructor(map?: { [key: string]: any }) {
49574
+ super(map);
49575
+ }
49576
+ }
49577
+
49578
+ export class GetRoutineRouteResponse extends $dara.Model {
49579
+ headers?: { [key: string]: string };
49580
+ statusCode?: number;
49581
+ body?: GetRoutineRouteResponseBody;
49582
+ static names(): { [key: string]: string } {
49583
+ return {
49584
+ headers: 'headers',
49585
+ statusCode: 'statusCode',
49586
+ body: 'body',
49587
+ };
49588
+ }
49589
+
49590
+ static types(): { [key: string]: any } {
49591
+ return {
49592
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
49593
+ statusCode: 'number',
49594
+ body: GetRoutineRouteResponseBody,
49595
+ };
49596
+ }
49597
+
49598
+ validate() {
49599
+ if(this.headers) {
49600
+ $dara.Model.validateMap(this.headers);
49601
+ }
49602
+ if(this.body && typeof (this.body as any).validate === 'function') {
49603
+ (this.body as any).validate();
49604
+ }
49605
+ super.validate();
49606
+ }
49607
+
49608
+ constructor(map?: { [key: string]: any }) {
49609
+ super(map);
49610
+ }
49611
+ }
49612
+
48141
49613
  export class GetRoutineStagingCodeUploadInfoRequest extends $dara.Model {
48142
49614
  /**
48143
49615
  * @remarks
@@ -50919,7 +52391,7 @@ export class GetWafQuotaResponse extends $dara.Model {
50919
52391
  export class GetWafRuleRequest extends $dara.Model {
50920
52392
  /**
50921
52393
  * @remarks
50922
- * The ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2850237.html) interface.
52394
+ * The ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2878257.html) interface.
50923
52395
  *
50924
52396
  * This parameter is required.
50925
52397
  *
@@ -50968,7 +52440,7 @@ export class GetWafRuleResponseBody extends $dara.Model {
50968
52440
  config?: WafRuleConfig;
50969
52441
  /**
50970
52442
  * @remarks
50971
- * The ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2850237.html) interface.
52443
+ * The ID of the WAF rule, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2878257.html) interface.
50972
52444
  *
50973
52445
  * @example
50974
52446
  * 2000001
@@ -51102,7 +52574,7 @@ export class GetWafRuleResponse extends $dara.Model {
51102
52574
  export class GetWafRulesetRequest extends $dara.Model {
51103
52575
  /**
51104
52576
  * @remarks
51105
- * The ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2850233.html) interface.
52577
+ * The ID of the WAF ruleset, which can be obtained by calling the ListWafRulesets interface.
51106
52578
  *
51107
52579
  * @example
51108
52580
  * 10000001
@@ -58119,6 +59591,146 @@ export class ListRoutineOptionalSpecsResponse extends $dara.Model {
58119
59591
  }
58120
59592
  }
58121
59593
 
59594
+ export class ListRoutineRoutesRequest extends $dara.Model {
59595
+ /**
59596
+ * @example
59597
+ * 1
59598
+ */
59599
+ pageNumber?: number;
59600
+ /**
59601
+ * @example
59602
+ * 10
59603
+ */
59604
+ pageSize?: number;
59605
+ /**
59606
+ * @remarks
59607
+ * This parameter is required.
59608
+ *
59609
+ * @example
59610
+ * test-routine1
59611
+ */
59612
+ routineName?: string;
59613
+ static names(): { [key: string]: string } {
59614
+ return {
59615
+ pageNumber: 'PageNumber',
59616
+ pageSize: 'PageSize',
59617
+ routineName: 'RoutineName',
59618
+ };
59619
+ }
59620
+
59621
+ static types(): { [key: string]: any } {
59622
+ return {
59623
+ pageNumber: 'number',
59624
+ pageSize: 'number',
59625
+ routineName: 'string',
59626
+ };
59627
+ }
59628
+
59629
+ validate() {
59630
+ super.validate();
59631
+ }
59632
+
59633
+ constructor(map?: { [key: string]: any }) {
59634
+ super(map);
59635
+ }
59636
+ }
59637
+
59638
+ export class ListRoutineRoutesResponseBody extends $dara.Model {
59639
+ configs?: ListRoutineRoutesResponseBodyConfigs[];
59640
+ /**
59641
+ * @example
59642
+ * 1
59643
+ */
59644
+ pageNumber?: number;
59645
+ /**
59646
+ * @example
59647
+ * 20
59648
+ */
59649
+ pageSize?: number;
59650
+ /**
59651
+ * @example
59652
+ * 04F0F334-1335-436C-A1D7-6C044FE73368
59653
+ */
59654
+ requestId?: string;
59655
+ /**
59656
+ * @example
59657
+ * 83
59658
+ */
59659
+ totalCount?: number;
59660
+ /**
59661
+ * @example
59662
+ * 2
59663
+ */
59664
+ totalPage?: number;
59665
+ static names(): { [key: string]: string } {
59666
+ return {
59667
+ configs: 'Configs',
59668
+ pageNumber: 'PageNumber',
59669
+ pageSize: 'PageSize',
59670
+ requestId: 'RequestId',
59671
+ totalCount: 'TotalCount',
59672
+ totalPage: 'TotalPage',
59673
+ };
59674
+ }
59675
+
59676
+ static types(): { [key: string]: any } {
59677
+ return {
59678
+ configs: { 'type': 'array', 'itemType': ListRoutineRoutesResponseBodyConfigs },
59679
+ pageNumber: 'number',
59680
+ pageSize: 'number',
59681
+ requestId: 'string',
59682
+ totalCount: 'number',
59683
+ totalPage: 'number',
59684
+ };
59685
+ }
59686
+
59687
+ validate() {
59688
+ if(Array.isArray(this.configs)) {
59689
+ $dara.Model.validateArray(this.configs);
59690
+ }
59691
+ super.validate();
59692
+ }
59693
+
59694
+ constructor(map?: { [key: string]: any }) {
59695
+ super(map);
59696
+ }
59697
+ }
59698
+
59699
+ export class ListRoutineRoutesResponse extends $dara.Model {
59700
+ headers?: { [key: string]: string };
59701
+ statusCode?: number;
59702
+ body?: ListRoutineRoutesResponseBody;
59703
+ static names(): { [key: string]: string } {
59704
+ return {
59705
+ headers: 'headers',
59706
+ statusCode: 'statusCode',
59707
+ body: 'body',
59708
+ };
59709
+ }
59710
+
59711
+ static types(): { [key: string]: any } {
59712
+ return {
59713
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
59714
+ statusCode: 'number',
59715
+ body: ListRoutineRoutesResponseBody,
59716
+ };
59717
+ }
59718
+
59719
+ validate() {
59720
+ if(this.headers) {
59721
+ $dara.Model.validateMap(this.headers);
59722
+ }
59723
+ if(this.body && typeof (this.body as any).validate === 'function') {
59724
+ (this.body as any).validate();
59725
+ }
59726
+ super.validate();
59727
+ }
59728
+
59729
+ constructor(map?: { [key: string]: any }) {
59730
+ super(map);
59731
+ }
59732
+ }
59733
+
58122
59734
  export class ListScheduledPreloadExecutionsRequest extends $dara.Model {
58123
59735
  /**
58124
59736
  * @remarks
@@ -58565,6 +60177,167 @@ export class ListSiteDeliveryTasksResponse extends $dara.Model {
58565
60177
  }
58566
60178
  }
58567
60179
 
60180
+ export class ListSiteRoutesRequest extends $dara.Model {
60181
+ /**
60182
+ * @example
60183
+ * 35281609698****
60184
+ */
60185
+ configId?: number;
60186
+ /**
60187
+ * @example
60188
+ * global
60189
+ */
60190
+ configType?: string;
60191
+ /**
60192
+ * @example
60193
+ * 1
60194
+ */
60195
+ pageNumber?: number;
60196
+ /**
60197
+ * @example
60198
+ * 20
60199
+ */
60200
+ pageSize?: number;
60201
+ /**
60202
+ * @example
60203
+ * test_route
60204
+ */
60205
+ routeName?: string;
60206
+ /**
60207
+ * @remarks
60208
+ * This parameter is required.
60209
+ *
60210
+ * @example
60211
+ * 123456****
60212
+ */
60213
+ siteId?: number;
60214
+ static names(): { [key: string]: string } {
60215
+ return {
60216
+ configId: 'ConfigId',
60217
+ configType: 'ConfigType',
60218
+ pageNumber: 'PageNumber',
60219
+ pageSize: 'PageSize',
60220
+ routeName: 'RouteName',
60221
+ siteId: 'SiteId',
60222
+ };
60223
+ }
60224
+
60225
+ static types(): { [key: string]: any } {
60226
+ return {
60227
+ configId: 'number',
60228
+ configType: 'string',
60229
+ pageNumber: 'number',
60230
+ pageSize: 'number',
60231
+ routeName: 'string',
60232
+ siteId: 'number',
60233
+ };
60234
+ }
60235
+
60236
+ validate() {
60237
+ super.validate();
60238
+ }
60239
+
60240
+ constructor(map?: { [key: string]: any }) {
60241
+ super(map);
60242
+ }
60243
+ }
60244
+
60245
+ export class ListSiteRoutesResponseBody extends $dara.Model {
60246
+ configs?: ListSiteRoutesResponseBodyConfigs[];
60247
+ /**
60248
+ * @example
60249
+ * 1
60250
+ */
60251
+ pageNumber?: number;
60252
+ /**
60253
+ * @example
60254
+ * 10
60255
+ */
60256
+ pageSize?: number;
60257
+ /**
60258
+ * @example
60259
+ * 04F0F334-1335-436C-A1D7-6C044FE73368
60260
+ */
60261
+ requestId?: string;
60262
+ /**
60263
+ * @example
60264
+ * 16
60265
+ */
60266
+ totalCount?: number;
60267
+ /**
60268
+ * @example
60269
+ * 10
60270
+ */
60271
+ totalPage?: number;
60272
+ static names(): { [key: string]: string } {
60273
+ return {
60274
+ configs: 'Configs',
60275
+ pageNumber: 'PageNumber',
60276
+ pageSize: 'PageSize',
60277
+ requestId: 'RequestId',
60278
+ totalCount: 'TotalCount',
60279
+ totalPage: 'TotalPage',
60280
+ };
60281
+ }
60282
+
60283
+ static types(): { [key: string]: any } {
60284
+ return {
60285
+ configs: { 'type': 'array', 'itemType': ListSiteRoutesResponseBodyConfigs },
60286
+ pageNumber: 'number',
60287
+ pageSize: 'number',
60288
+ requestId: 'string',
60289
+ totalCount: 'number',
60290
+ totalPage: 'number',
60291
+ };
60292
+ }
60293
+
60294
+ validate() {
60295
+ if(Array.isArray(this.configs)) {
60296
+ $dara.Model.validateArray(this.configs);
60297
+ }
60298
+ super.validate();
60299
+ }
60300
+
60301
+ constructor(map?: { [key: string]: any }) {
60302
+ super(map);
60303
+ }
60304
+ }
60305
+
60306
+ export class ListSiteRoutesResponse extends $dara.Model {
60307
+ headers?: { [key: string]: string };
60308
+ statusCode?: number;
60309
+ body?: ListSiteRoutesResponseBody;
60310
+ static names(): { [key: string]: string } {
60311
+ return {
60312
+ headers: 'headers',
60313
+ statusCode: 'statusCode',
60314
+ body: 'body',
60315
+ };
60316
+ }
60317
+
60318
+ static types(): { [key: string]: any } {
60319
+ return {
60320
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
60321
+ statusCode: 'number',
60322
+ body: ListSiteRoutesResponseBody,
60323
+ };
60324
+ }
60325
+
60326
+ validate() {
60327
+ if(this.headers) {
60328
+ $dara.Model.validateMap(this.headers);
60329
+ }
60330
+ if(this.body && typeof (this.body as any).validate === 'function') {
60331
+ (this.body as any).validate();
60332
+ }
60333
+ super.validate();
60334
+ }
60335
+
60336
+ constructor(map?: { [key: string]: any }) {
60337
+ super(map);
60338
+ }
60339
+ }
60340
+
58568
60341
  export class ListSitesRequest extends $dara.Model {
58569
60342
  /**
58570
60343
  * @remarks
@@ -58601,7 +60374,7 @@ export class ListSitesRequest extends $dara.Model {
58601
60374
  * @remarks
58602
60375
  * Sorting field. By default, it sorts by creation time, supporting the following options:
58603
60376
  * - gmtCreate: website creation time
58604
- * - visitTimewebsite visit time
60377
+ * - visitTime: website visit time
58605
60378
  *
58606
60379
  * @example
58607
60380
  * visitTime
@@ -58760,7 +60533,7 @@ export class ListSitesShrinkRequest extends $dara.Model {
58760
60533
  * @remarks
58761
60534
  * Sorting field. By default, it sorts by creation time, supporting the following options:
58762
60535
  * - gmtCreate: website creation time
58763
- * - visitTimewebsite visit time
60536
+ * - visitTime: website visit time
58764
60537
  *
58765
60538
  * @example
58766
60539
  * visitTime
@@ -69553,6 +71326,7 @@ export class UpdateOriginRuleRequest extends $dara.Model {
69553
71326
  * on
69554
71327
  */
69555
71328
  originMtls?: string;
71329
+ originReadTimeout?: string;
69556
71330
  /**
69557
71331
  * @remarks
69558
71332
  * Protocol used for the origin request. Valid values:
@@ -69641,6 +71415,7 @@ export class UpdateOriginRuleRequest extends $dara.Model {
69641
71415
  originHttpPort: 'OriginHttpPort',
69642
71416
  originHttpsPort: 'OriginHttpsPort',
69643
71417
  originMtls: 'OriginMtls',
71418
+ originReadTimeout: 'OriginReadTimeout',
69644
71419
  originScheme: 'OriginScheme',
69645
71420
  originSni: 'OriginSni',
69646
71421
  originVerify: 'OriginVerify',
@@ -69662,6 +71437,7 @@ export class UpdateOriginRuleRequest extends $dara.Model {
69662
71437
  originHttpPort: 'string',
69663
71438
  originHttpsPort: 'string',
69664
71439
  originMtls: 'string',
71440
+ originReadTimeout: 'string',
69665
71441
  originScheme: 'string',
69666
71442
  originSni: 'string',
69667
71443
  originVerify: 'string',
@@ -70345,10 +72121,207 @@ export class UpdateRecordResponseBody extends $dara.Model {
70345
72121
  }
70346
72122
  }
70347
72123
 
70348
- export class UpdateRecordResponse extends $dara.Model {
72124
+ export class UpdateRecordResponse extends $dara.Model {
72125
+ headers?: { [key: string]: string };
72126
+ statusCode?: number;
72127
+ body?: UpdateRecordResponseBody;
72128
+ static names(): { [key: string]: string } {
72129
+ return {
72130
+ headers: 'headers',
72131
+ statusCode: 'statusCode',
72132
+ body: 'body',
72133
+ };
72134
+ }
72135
+
72136
+ static types(): { [key: string]: any } {
72137
+ return {
72138
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
72139
+ statusCode: 'number',
72140
+ body: UpdateRecordResponseBody,
72141
+ };
72142
+ }
72143
+
72144
+ validate() {
72145
+ if(this.headers) {
72146
+ $dara.Model.validateMap(this.headers);
72147
+ }
72148
+ if(this.body && typeof (this.body as any).validate === 'function') {
72149
+ (this.body as any).validate();
72150
+ }
72151
+ super.validate();
72152
+ }
72153
+
72154
+ constructor(map?: { [key: string]: any }) {
72155
+ super(map);
72156
+ }
72157
+ }
72158
+
72159
+ export class UpdateRedirectRuleRequest extends $dara.Model {
72160
+ /**
72161
+ * @remarks
72162
+ * Configuration ID. It can be obtained by calling the [ListRedirectRules](https://help.aliyun.com/document_detail/2867474.html) interface.
72163
+ *
72164
+ * This parameter is required.
72165
+ *
72166
+ * @example
72167
+ * 3528160969****
72168
+ */
72169
+ configId?: number;
72170
+ /**
72171
+ * @remarks
72172
+ * Preserve query string. Value range:
72173
+ * - on: Enable.
72174
+ * - off: Disable.
72175
+ *
72176
+ * @example
72177
+ * on
72178
+ */
72179
+ reserveQueryString?: string;
72180
+ /**
72181
+ * @remarks
72182
+ * Rule content, using conditional expressions to match user requests. This parameter is not required when adding a global configuration. There are two usage scenarios:
72183
+ * - Match all incoming requests: Set the value to true
72184
+ * - Match specific requests: Set the value to a custom expression, for example: (http.host eq \\"video.example.com\\")
72185
+ *
72186
+ * @example
72187
+ * (http.host eq "video.example.com")
72188
+ */
72189
+ rule?: string;
72190
+ /**
72191
+ * @remarks
72192
+ * Rule switch. This parameter is not required when adding a global configuration. Value range:
72193
+ * - on: Enable.
72194
+ * - off: Disable.
72195
+ *
72196
+ * @example
72197
+ * on
72198
+ */
72199
+ ruleEnable?: string;
72200
+ /**
72201
+ * @remarks
72202
+ * Rule name. This parameter is not required when adding a global configuration.
72203
+ *
72204
+ * @example
72205
+ * rule_example
72206
+ */
72207
+ ruleName?: string;
72208
+ sequence?: number;
72209
+ /**
72210
+ * @remarks
72211
+ * Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) interface.
72212
+ *
72213
+ * This parameter is required.
72214
+ *
72215
+ * @example
72216
+ * 123456****
72217
+ */
72218
+ siteId?: number;
72219
+ /**
72220
+ * @remarks
72221
+ * The response status code used by the node to respond with the redirect address to the client. Value range:
72222
+ *
72223
+ * - 301
72224
+ * - 302
72225
+ * - 303
72226
+ * - 307
72227
+ * - 308
72228
+ *
72229
+ * @example
72230
+ * 301
72231
+ */
72232
+ statusCode?: string;
72233
+ /**
72234
+ * @remarks
72235
+ * The target URL after redirection.
72236
+ *
72237
+ * @example
72238
+ * http://www.exapmle.com/index.html
72239
+ */
72240
+ targetUrl?: string;
72241
+ /**
72242
+ * @remarks
72243
+ * Redirect type. Value range:
72244
+ *
72245
+ * - static: Static mode.
72246
+ * - dynamic: Dynamic mode.
72247
+ *
72248
+ * @example
72249
+ * static
72250
+ */
72251
+ type?: string;
72252
+ static names(): { [key: string]: string } {
72253
+ return {
72254
+ configId: 'ConfigId',
72255
+ reserveQueryString: 'ReserveQueryString',
72256
+ rule: 'Rule',
72257
+ ruleEnable: 'RuleEnable',
72258
+ ruleName: 'RuleName',
72259
+ sequence: 'Sequence',
72260
+ siteId: 'SiteId',
72261
+ statusCode: 'StatusCode',
72262
+ targetUrl: 'TargetUrl',
72263
+ type: 'Type',
72264
+ };
72265
+ }
72266
+
72267
+ static types(): { [key: string]: any } {
72268
+ return {
72269
+ configId: 'number',
72270
+ reserveQueryString: 'string',
72271
+ rule: 'string',
72272
+ ruleEnable: 'string',
72273
+ ruleName: 'string',
72274
+ sequence: 'number',
72275
+ siteId: 'number',
72276
+ statusCode: 'string',
72277
+ targetUrl: 'string',
72278
+ type: 'string',
72279
+ };
72280
+ }
72281
+
72282
+ validate() {
72283
+ super.validate();
72284
+ }
72285
+
72286
+ constructor(map?: { [key: string]: any }) {
72287
+ super(map);
72288
+ }
72289
+ }
72290
+
72291
+ export class UpdateRedirectRuleResponseBody extends $dara.Model {
72292
+ /**
72293
+ * @remarks
72294
+ * Request ID.
72295
+ *
72296
+ * @example
72297
+ * CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
72298
+ */
72299
+ requestId?: string;
72300
+ static names(): { [key: string]: string } {
72301
+ return {
72302
+ requestId: 'RequestId',
72303
+ };
72304
+ }
72305
+
72306
+ static types(): { [key: string]: any } {
72307
+ return {
72308
+ requestId: 'string',
72309
+ };
72310
+ }
72311
+
72312
+ validate() {
72313
+ super.validate();
72314
+ }
72315
+
72316
+ constructor(map?: { [key: string]: any }) {
72317
+ super(map);
72318
+ }
72319
+ }
72320
+
72321
+ export class UpdateRedirectRuleResponse extends $dara.Model {
70349
72322
  headers?: { [key: string]: string };
70350
72323
  statusCode?: number;
70351
- body?: UpdateRecordResponseBody;
72324
+ body?: UpdateRedirectRuleResponseBody;
70352
72325
  static names(): { [key: string]: string } {
70353
72326
  return {
70354
72327
  headers: 'headers',
@@ -70361,7 +72334,7 @@ export class UpdateRecordResponse extends $dara.Model {
70361
72334
  return {
70362
72335
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
70363
72336
  statusCode: 'number',
70364
- body: UpdateRecordResponseBody,
72337
+ body: UpdateRedirectRuleResponseBody,
70365
72338
  };
70366
72339
  }
70367
72340
 
@@ -70380,10 +72353,10 @@ export class UpdateRecordResponse extends $dara.Model {
70380
72353
  }
70381
72354
  }
70382
72355
 
70383
- export class UpdateRedirectRuleRequest extends $dara.Model {
72356
+ export class UpdateRewriteUrlRuleRequest extends $dara.Model {
70384
72357
  /**
70385
72358
  * @remarks
70386
- * Configuration ID. It can be obtained by calling the [ListRedirectRules](https://help.aliyun.com/document_detail/2867474.html) interface.
72359
+ * Configuration ID. It can be obtained by calling the [ListRewriteUrlRules](https://help.aliyun.com/document_detail/2867480.html) interface.
70387
72360
  *
70388
72361
  * This parameter is required.
70389
72362
  *
@@ -70393,14 +72366,35 @@ export class UpdateRedirectRuleRequest extends $dara.Model {
70393
72366
  configId?: number;
70394
72367
  /**
70395
72368
  * @remarks
70396
- * Preserve query string. Value range:
70397
- * - on: Enable.
70398
- * - off: Disable.
72369
+ * The query string after rewriting.
70399
72370
  *
70400
72371
  * @example
70401
- * on
72372
+ * example=123
70402
72373
  */
70403
- reserveQueryString?: string;
72374
+ queryString?: string;
72375
+ /**
72376
+ * @remarks
72377
+ * Query string rewrite type. Value range:
72378
+ * - static: Static mode.
72379
+ * - dynamic: Dynamic mode.
72380
+ *
72381
+ * @example
72382
+ * static
72383
+ */
72384
+ rewriteQueryStringType?: string;
72385
+ /**
72386
+ * @remarks
72387
+ * URI rewrite type. Value range:
72388
+ * - static: Static mode.
72389
+ * - dynamic: Dynamic mode.
72390
+ *
72391
+ * @example
72392
+ * static
72393
+ *
72394
+ * **if can be null:**
72395
+ * false
72396
+ */
72397
+ rewriteUriType?: string;
70404
72398
  /**
70405
72399
  * @remarks
70406
72400
  * Rule content, using conditional expressions to match user requests. This parameter is not required when adding a global configuration. There are two usage scenarios:
@@ -70426,7 +72420,7 @@ export class UpdateRedirectRuleRequest extends $dara.Model {
70426
72420
  * Rule name. This parameter is not required when adding a global configuration.
70427
72421
  *
70428
72422
  * @example
70429
- * rule_example
72423
+ * example=123
70430
72424
  */
70431
72425
  ruleName?: string;
70432
72426
  sequence?: number;
@@ -70437,69 +72431,44 @@ export class UpdateRedirectRuleRequest extends $dara.Model {
70437
72431
  * This parameter is required.
70438
72432
  *
70439
72433
  * @example
70440
- * 123456****
72434
+ * 123456789****
70441
72435
  */
70442
72436
  siteId?: number;
70443
72437
  /**
70444
72438
  * @remarks
70445
- * The response status code used by the node to respond with the redirect address to the client. Value range:
70446
- *
70447
- * - 301
70448
- * - 302
70449
- * - 303
70450
- * - 307
70451
- * - 308
70452
- *
70453
- * @example
70454
- * 301
70455
- */
70456
- statusCode?: string;
70457
- /**
70458
- * @remarks
70459
- * The target URL after redirection.
70460
- *
70461
- * @example
70462
- * http://www.exapmle.com/index.html
70463
- */
70464
- targetUrl?: string;
70465
- /**
70466
- * @remarks
70467
- * Redirect type. Value range:
70468
- *
70469
- * - static: Static mode.
70470
- * - dynamic: Dynamic mode.
72439
+ * The target URI after rewriting.
70471
72440
  *
70472
72441
  * @example
70473
- * static
72442
+ * /image/example.jpg
70474
72443
  */
70475
- type?: string;
72444
+ uri?: string;
70476
72445
  static names(): { [key: string]: string } {
70477
72446
  return {
70478
72447
  configId: 'ConfigId',
70479
- reserveQueryString: 'ReserveQueryString',
72448
+ queryString: 'QueryString',
72449
+ rewriteQueryStringType: 'RewriteQueryStringType',
72450
+ rewriteUriType: 'RewriteUriType',
70480
72451
  rule: 'Rule',
70481
72452
  ruleEnable: 'RuleEnable',
70482
72453
  ruleName: 'RuleName',
70483
72454
  sequence: 'Sequence',
70484
72455
  siteId: 'SiteId',
70485
- statusCode: 'StatusCode',
70486
- targetUrl: 'TargetUrl',
70487
- type: 'Type',
72456
+ uri: 'Uri',
70488
72457
  };
70489
72458
  }
70490
72459
 
70491
72460
  static types(): { [key: string]: any } {
70492
72461
  return {
70493
72462
  configId: 'number',
70494
- reserveQueryString: 'string',
72463
+ queryString: 'string',
72464
+ rewriteQueryStringType: 'string',
72465
+ rewriteUriType: 'string',
70495
72466
  rule: 'string',
70496
72467
  ruleEnable: 'string',
70497
72468
  ruleName: 'string',
70498
72469
  sequence: 'number',
70499
72470
  siteId: 'number',
70500
- statusCode: 'string',
70501
- targetUrl: 'string',
70502
- type: 'string',
72471
+ uri: 'string',
70503
72472
  };
70504
72473
  }
70505
72474
 
@@ -70512,13 +72481,13 @@ export class UpdateRedirectRuleRequest extends $dara.Model {
70512
72481
  }
70513
72482
  }
70514
72483
 
70515
- export class UpdateRedirectRuleResponseBody extends $dara.Model {
72484
+ export class UpdateRewriteUrlRuleResponseBody extends $dara.Model {
70516
72485
  /**
70517
72486
  * @remarks
70518
72487
  * Request ID.
70519
72488
  *
70520
72489
  * @example
70521
- * CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
72490
+ * 156A6B-677B1A-4297B7-9187B7-2B44792
70522
72491
  */
70523
72492
  requestId?: string;
70524
72493
  static names(): { [key: string]: string } {
@@ -70542,10 +72511,10 @@ export class UpdateRedirectRuleResponseBody extends $dara.Model {
70542
72511
  }
70543
72512
  }
70544
72513
 
70545
- export class UpdateRedirectRuleResponse extends $dara.Model {
72514
+ export class UpdateRewriteUrlRuleResponse extends $dara.Model {
70546
72515
  headers?: { [key: string]: string };
70547
72516
  statusCode?: number;
70548
- body?: UpdateRedirectRuleResponseBody;
72517
+ body?: UpdateRewriteUrlRuleResponseBody;
70549
72518
  static names(): { [key: string]: string } {
70550
72519
  return {
70551
72520
  headers: 'headers',
@@ -70558,7 +72527,7 @@ export class UpdateRedirectRuleResponse extends $dara.Model {
70558
72527
  return {
70559
72528
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
70560
72529
  statusCode: 'number',
70561
- body: UpdateRedirectRuleResponseBody,
72530
+ body: UpdateRewriteUrlRuleResponseBody,
70562
72531
  };
70563
72532
  }
70564
72533
 
@@ -70577,122 +72546,76 @@ export class UpdateRedirectRuleResponse extends $dara.Model {
70577
72546
  }
70578
72547
  }
70579
72548
 
70580
- export class UpdateRewriteUrlRuleRequest extends $dara.Model {
72549
+ export class UpdateRoutineRouteRequest extends $dara.Model {
70581
72550
  /**
70582
- * @remarks
70583
- * Configuration ID. It can be obtained by calling the [ListRewriteUrlRules](https://help.aliyun.com/document_detail/2867480.html) interface.
70584
- *
70585
- * This parameter is required.
70586
- *
70587
72551
  * @example
70588
- * 3528160969****
72552
+ * on
70589
72553
  */
70590
- configId?: number;
72554
+ bypass?: string;
70591
72555
  /**
70592
72556
  * @remarks
70593
- * The query string after rewriting.
72557
+ * This parameter is required.
70594
72558
  *
70595
72559
  * @example
70596
- * example=123
72560
+ * 35281609698****
70597
72561
  */
70598
- queryString?: string;
72562
+ configId?: number;
70599
72563
  /**
70600
- * @remarks
70601
- * Query string rewrite type. Value range:
70602
- * - static: Static mode.
70603
- * - dynamic: Dynamic mode.
70604
- *
70605
72564
  * @example
70606
- * static
72565
+ * on
70607
72566
  */
70608
- rewriteQueryStringType?: string;
72567
+ routeEnable?: string;
70609
72568
  /**
70610
- * @remarks
70611
- * URI rewrite type. Value range:
70612
- * - static: Static mode.
70613
- * - dynamic: Dynamic mode.
70614
- *
70615
72569
  * @example
70616
- * static
70617
- *
70618
- * **if can be null:**
70619
- * false
72570
+ * test_route
70620
72571
  */
70621
- rewriteUriType?: string;
72572
+ routeName?: string;
70622
72573
  /**
70623
- * @remarks
70624
- * Rule content, using conditional expressions to match user requests. This parameter is not required when adding a global configuration. There are two usage scenarios:
70625
- * - Match all incoming requests: Set the value to true
70626
- * - Match specific requests: Set the value to a custom expression, for example: (http.host eq \\"video.example.com\\")
70627
- *
70628
72574
  * @example
70629
- * (http.host eq "video.example.com")
72575
+ * test-routine1
70630
72576
  */
70631
- rule?: string;
72577
+ routineName?: string;
70632
72578
  /**
70633
- * @remarks
70634
- * Rule switch. This parameter is not required when adding a global configuration. Value range:
70635
- * - on: Enable.
70636
- * - off: Disable.
70637
- *
70638
72579
  * @example
70639
- * on
72580
+ * (http.host eq \\"video.example.com\\")
70640
72581
  */
70641
- ruleEnable?: string;
72582
+ rule?: string;
70642
72583
  /**
70643
- * @remarks
70644
- * Rule name. This parameter is not required when adding a global configuration.
70645
- *
70646
72584
  * @example
70647
- * example=123
72585
+ * 1
70648
72586
  */
70649
- ruleName?: string;
70650
72587
  sequence?: number;
70651
72588
  /**
70652
72589
  * @remarks
70653
- * Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) interface.
70654
- *
70655
72590
  * This parameter is required.
70656
72591
  *
70657
72592
  * @example
70658
- * 123456789****
72593
+ * 123456******
70659
72594
  */
70660
72595
  siteId?: number;
70661
- /**
70662
- * @remarks
70663
- * The target URI after rewriting.
70664
- *
70665
- * @example
70666
- * /image/example.jpg
70667
- */
70668
- uri?: string;
70669
72596
  static names(): { [key: string]: string } {
70670
72597
  return {
72598
+ bypass: 'Bypass',
70671
72599
  configId: 'ConfigId',
70672
- queryString: 'QueryString',
70673
- rewriteQueryStringType: 'RewriteQueryStringType',
70674
- rewriteUriType: 'RewriteUriType',
72600
+ routeEnable: 'RouteEnable',
72601
+ routeName: 'RouteName',
72602
+ routineName: 'RoutineName',
70675
72603
  rule: 'Rule',
70676
- ruleEnable: 'RuleEnable',
70677
- ruleName: 'RuleName',
70678
72604
  sequence: 'Sequence',
70679
72605
  siteId: 'SiteId',
70680
- uri: 'Uri',
70681
72606
  };
70682
72607
  }
70683
72608
 
70684
72609
  static types(): { [key: string]: any } {
70685
72610
  return {
72611
+ bypass: 'string',
70686
72612
  configId: 'number',
70687
- queryString: 'string',
70688
- rewriteQueryStringType: 'string',
70689
- rewriteUriType: 'string',
72613
+ routeEnable: 'string',
72614
+ routeName: 'string',
72615
+ routineName: 'string',
70690
72616
  rule: 'string',
70691
- ruleEnable: 'string',
70692
- ruleName: 'string',
70693
72617
  sequence: 'number',
70694
72618
  siteId: 'number',
70695
- uri: 'string',
70696
72619
  };
70697
72620
  }
70698
72621
 
@@ -70705,13 +72628,10 @@ export class UpdateRewriteUrlRuleRequest extends $dara.Model {
70705
72628
  }
70706
72629
  }
70707
72630
 
70708
- export class UpdateRewriteUrlRuleResponseBody extends $dara.Model {
72631
+ export class UpdateRoutineRouteResponseBody extends $dara.Model {
70709
72632
  /**
70710
- * @remarks
70711
- * Request ID.
70712
- *
70713
72633
  * @example
70714
- * 156A6B-677B1A-4297B7-9187B7-2B44792
72634
+ * 34DCBC8A-****-****-****-6DAA11D7DDBD
70715
72635
  */
70716
72636
  requestId?: string;
70717
72637
  static names(): { [key: string]: string } {
@@ -70735,10 +72655,10 @@ export class UpdateRewriteUrlRuleResponseBody extends $dara.Model {
70735
72655
  }
70736
72656
  }
70737
72657
 
70738
- export class UpdateRewriteUrlRuleResponse extends $dara.Model {
72658
+ export class UpdateRoutineRouteResponse extends $dara.Model {
70739
72659
  headers?: { [key: string]: string };
70740
72660
  statusCode?: number;
70741
- body?: UpdateRewriteUrlRuleResponseBody;
72661
+ body?: UpdateRoutineRouteResponseBody;
70742
72662
  static names(): { [key: string]: string } {
70743
72663
  return {
70744
72664
  headers: 'headers',
@@ -70751,7 +72671,7 @@ export class UpdateRewriteUrlRuleResponse extends $dara.Model {
70751
72671
  return {
70752
72672
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
70753
72673
  statusCode: 'number',
70754
- body: UpdateRewriteUrlRuleResponseBody,
72674
+ body: UpdateRoutineRouteResponseBody,
70755
72675
  };
70756
72676
  }
70757
72677
 
@@ -72501,7 +74421,7 @@ export class UpdateWafRuleRequest extends $dara.Model {
72501
74421
  config?: WafRuleConfig;
72502
74422
  /**
72503
74423
  * @remarks
72504
- * WAF rule ID, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2850237.html) interface.
74424
+ * WAF rule ID, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2878257.html) interface.
72505
74425
  *
72506
74426
  * This parameter is required.
72507
74427
  *
@@ -72585,7 +74505,7 @@ export class UpdateWafRuleShrinkRequest extends $dara.Model {
72585
74505
  configShrink?: string;
72586
74506
  /**
72587
74507
  * @remarks
72588
- * WAF rule ID, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2850237.html) interface.
74508
+ * WAF rule ID, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2878257.html) interface.
72589
74509
  *
72590
74510
  * This parameter is required.
72591
74511
  *
@@ -72661,7 +74581,7 @@ export class UpdateWafRuleShrinkRequest extends $dara.Model {
72661
74581
  export class UpdateWafRuleResponseBody extends $dara.Model {
72662
74582
  /**
72663
74583
  * @remarks
72664
- * WAF rule ID, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2850237.html) interface.
74584
+ * WAF rule ID, which can be obtained by calling the [ListWafRules](https://help.aliyun.com/document_detail/2878257.html) interface.
72665
74585
  *
72666
74586
  * @example
72667
74587
  * 20000001
@@ -72736,7 +74656,7 @@ export class UpdateWafRuleResponse extends $dara.Model {
72736
74656
  export class UpdateWafRulesetRequest extends $dara.Model {
72737
74657
  /**
72738
74658
  * @remarks
72739
- * ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2850233.html) interface.
74659
+ * ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) interface.
72740
74660
  *
72741
74661
  * This parameter is required.
72742
74662
  *
@@ -77826,6 +79746,10 @@ export default class Client extends OpenApi {
77826
79746
  query["OriginMtls"] = request.originMtls;
77827
79747
  }
77828
79748
 
79749
+ if (!$dara.isNull(request.originReadTimeout)) {
79750
+ query["OriginReadTimeout"] = request.originReadTimeout;
79751
+ }
79752
+
77829
79753
  if (!$dara.isNull(request.originScheme)) {
77830
79754
  query["OriginScheme"] = request.originScheme;
77831
79755
  }
@@ -78394,6 +80318,77 @@ export default class Client extends OpenApi {
78394
80318
  return await this.createRoutineRelatedRouteWithOptions(request, runtime);
78395
80319
  }
78396
80320
 
80321
+ /**
80322
+ * 新增边缘函数路由配置
80323
+ *
80324
+ * @param request - CreateRoutineRouteRequest
80325
+ * @param runtime - runtime options for this request RuntimeOptions
80326
+ * @returns CreateRoutineRouteResponse
80327
+ */
80328
+ async createRoutineRouteWithOptions(request: CreateRoutineRouteRequest, runtime: $dara.RuntimeOptions): Promise<CreateRoutineRouteResponse> {
80329
+ request.validate();
80330
+ let query = { };
80331
+ if (!$dara.isNull(request.bypass)) {
80332
+ query["Bypass"] = request.bypass;
80333
+ }
80334
+
80335
+ if (!$dara.isNull(request.routeEnable)) {
80336
+ query["RouteEnable"] = request.routeEnable;
80337
+ }
80338
+
80339
+ if (!$dara.isNull(request.routeName)) {
80340
+ query["RouteName"] = request.routeName;
80341
+ }
80342
+
80343
+ if (!$dara.isNull(request.routineName)) {
80344
+ query["RoutineName"] = request.routineName;
80345
+ }
80346
+
80347
+ if (!$dara.isNull(request.rule)) {
80348
+ query["Rule"] = request.rule;
80349
+ }
80350
+
80351
+ if (!$dara.isNull(request.sequence)) {
80352
+ query["Sequence"] = request.sequence;
80353
+ }
80354
+
80355
+ if (!$dara.isNull(request.siteId)) {
80356
+ query["SiteId"] = request.siteId;
80357
+ }
80358
+
80359
+ let req = new $OpenApiUtil.OpenApiRequest({
80360
+ query: OpenApiUtil.query(query),
80361
+ });
80362
+ let params = new $OpenApiUtil.Params({
80363
+ action: "CreateRoutineRoute",
80364
+ version: "2024-09-10",
80365
+ protocol: "HTTPS",
80366
+ pathname: "/",
80367
+ method: "POST",
80368
+ authType: "AK",
80369
+ style: "RPC",
80370
+ reqBodyType: "formData",
80371
+ bodyType: "json",
80372
+ });
80373
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
80374
+ return $dara.cast<CreateRoutineRouteResponse>(await this.callApi(params, req, runtime), new CreateRoutineRouteResponse({}));
80375
+ } else {
80376
+ return $dara.cast<CreateRoutineRouteResponse>(await this.execute(params, req, runtime), new CreateRoutineRouteResponse({}));
80377
+ }
80378
+
80379
+ }
80380
+
80381
+ /**
80382
+ * 新增边缘函数路由配置
80383
+ *
80384
+ * @param request - CreateRoutineRouteRequest
80385
+ * @returns CreateRoutineRouteResponse
80386
+ */
80387
+ async createRoutineRoute(request: CreateRoutineRouteRequest): Promise<CreateRoutineRouteResponse> {
80388
+ let runtime = new $dara.RuntimeOptions({ });
80389
+ return await this.createRoutineRouteWithOptions(request, runtime);
80390
+ }
80391
+
78397
80392
  /**
78398
80393
  * Creates scheduled prefetch plans.
78399
80394
  *
@@ -81023,6 +83018,57 @@ export default class Client extends OpenApi {
81023
83018
  return await this.deleteRoutineRelatedRouteWithOptions(request, runtime);
81024
83019
  }
81025
83020
 
83021
+ /**
83022
+ * 删除边缘函数路由配置
83023
+ *
83024
+ * @param request - DeleteRoutineRouteRequest
83025
+ * @param runtime - runtime options for this request RuntimeOptions
83026
+ * @returns DeleteRoutineRouteResponse
83027
+ */
83028
+ async deleteRoutineRouteWithOptions(request: DeleteRoutineRouteRequest, runtime: $dara.RuntimeOptions): Promise<DeleteRoutineRouteResponse> {
83029
+ request.validate();
83030
+ let query = { };
83031
+ if (!$dara.isNull(request.configId)) {
83032
+ query["ConfigId"] = request.configId;
83033
+ }
83034
+
83035
+ if (!$dara.isNull(request.siteId)) {
83036
+ query["SiteId"] = request.siteId;
83037
+ }
83038
+
83039
+ let req = new $OpenApiUtil.OpenApiRequest({
83040
+ query: OpenApiUtil.query(query),
83041
+ });
83042
+ let params = new $OpenApiUtil.Params({
83043
+ action: "DeleteRoutineRoute",
83044
+ version: "2024-09-10",
83045
+ protocol: "HTTPS",
83046
+ pathname: "/",
83047
+ method: "POST",
83048
+ authType: "AK",
83049
+ style: "RPC",
83050
+ reqBodyType: "formData",
83051
+ bodyType: "json",
83052
+ });
83053
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
83054
+ return $dara.cast<DeleteRoutineRouteResponse>(await this.callApi(params, req, runtime), new DeleteRoutineRouteResponse({}));
83055
+ } else {
83056
+ return $dara.cast<DeleteRoutineRouteResponse>(await this.execute(params, req, runtime), new DeleteRoutineRouteResponse({}));
83057
+ }
83058
+
83059
+ }
83060
+
83061
+ /**
83062
+ * 删除边缘函数路由配置
83063
+ *
83064
+ * @param request - DeleteRoutineRouteRequest
83065
+ * @returns DeleteRoutineRouteResponse
83066
+ */
83067
+ async deleteRoutineRoute(request: DeleteRoutineRouteRequest): Promise<DeleteRoutineRouteResponse> {
83068
+ let runtime = new $dara.RuntimeOptions({ });
83069
+ return await this.deleteRoutineRouteWithOptions(request, runtime);
83070
+ }
83071
+
81026
83072
  /**
81027
83073
  * Deletes a scheduled prefetch plan based on the plan ID.
81028
83074
  *
@@ -82133,6 +84179,148 @@ export default class Client extends OpenApi {
82133
84179
  return await this.describeRatePlanInstanceStatusWithOptions(request, runtime);
82134
84180
  }
82135
84181
 
84182
+ /**
84183
+ * 获取时序数据
84184
+ *
84185
+ * @param tmpReq - DescribeSiteTimeSeriesDataRequest
84186
+ * @param runtime - runtime options for this request RuntimeOptions
84187
+ * @returns DescribeSiteTimeSeriesDataResponse
84188
+ */
84189
+ async describeSiteTimeSeriesDataWithOptions(tmpReq: DescribeSiteTimeSeriesDataRequest, runtime: $dara.RuntimeOptions): Promise<DescribeSiteTimeSeriesDataResponse> {
84190
+ tmpReq.validate();
84191
+ let request = new DescribeSiteTimeSeriesDataShrinkRequest({ });
84192
+ OpenApiUtil.convert(tmpReq, request);
84193
+ if (!$dara.isNull(tmpReq.fields)) {
84194
+ request.fieldsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.fields, "Fields", "json");
84195
+ }
84196
+
84197
+ let query = { };
84198
+ if (!$dara.isNull(request.endTime)) {
84199
+ query["EndTime"] = request.endTime;
84200
+ }
84201
+
84202
+ if (!$dara.isNull(request.fieldsShrink)) {
84203
+ query["Fields"] = request.fieldsShrink;
84204
+ }
84205
+
84206
+ if (!$dara.isNull(request.interval)) {
84207
+ query["Interval"] = request.interval;
84208
+ }
84209
+
84210
+ if (!$dara.isNull(request.siteId)) {
84211
+ query["SiteId"] = request.siteId;
84212
+ }
84213
+
84214
+ if (!$dara.isNull(request.startTime)) {
84215
+ query["StartTime"] = request.startTime;
84216
+ }
84217
+
84218
+ let req = new $OpenApiUtil.OpenApiRequest({
84219
+ query: OpenApiUtil.query(query),
84220
+ });
84221
+ let params = new $OpenApiUtil.Params({
84222
+ action: "DescribeSiteTimeSeriesData",
84223
+ version: "2024-09-10",
84224
+ protocol: "HTTPS",
84225
+ pathname: "/",
84226
+ method: "POST",
84227
+ authType: "AK",
84228
+ style: "RPC",
84229
+ reqBodyType: "formData",
84230
+ bodyType: "json",
84231
+ });
84232
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
84233
+ return $dara.cast<DescribeSiteTimeSeriesDataResponse>(await this.callApi(params, req, runtime), new DescribeSiteTimeSeriesDataResponse({}));
84234
+ } else {
84235
+ return $dara.cast<DescribeSiteTimeSeriesDataResponse>(await this.execute(params, req, runtime), new DescribeSiteTimeSeriesDataResponse({}));
84236
+ }
84237
+
84238
+ }
84239
+
84240
+ /**
84241
+ * 获取时序数据
84242
+ *
84243
+ * @param request - DescribeSiteTimeSeriesDataRequest
84244
+ * @returns DescribeSiteTimeSeriesDataResponse
84245
+ */
84246
+ async describeSiteTimeSeriesData(request: DescribeSiteTimeSeriesDataRequest): Promise<DescribeSiteTimeSeriesDataResponse> {
84247
+ let runtime = new $dara.RuntimeOptions({ });
84248
+ return await this.describeSiteTimeSeriesDataWithOptions(request, runtime);
84249
+ }
84250
+
84251
+ /**
84252
+ * 获取Top数据
84253
+ *
84254
+ * @param tmpReq - DescribeSiteTopDataRequest
84255
+ * @param runtime - runtime options for this request RuntimeOptions
84256
+ * @returns DescribeSiteTopDataResponse
84257
+ */
84258
+ async describeSiteTopDataWithOptions(tmpReq: DescribeSiteTopDataRequest, runtime: $dara.RuntimeOptions): Promise<DescribeSiteTopDataResponse> {
84259
+ tmpReq.validate();
84260
+ let request = new DescribeSiteTopDataShrinkRequest({ });
84261
+ OpenApiUtil.convert(tmpReq, request);
84262
+ if (!$dara.isNull(tmpReq.fields)) {
84263
+ request.fieldsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.fields, "Fields", "json");
84264
+ }
84265
+
84266
+ let query = { };
84267
+ if (!$dara.isNull(request.endTime)) {
84268
+ query["EndTime"] = request.endTime;
84269
+ }
84270
+
84271
+ if (!$dara.isNull(request.fieldsShrink)) {
84272
+ query["Fields"] = request.fieldsShrink;
84273
+ }
84274
+
84275
+ if (!$dara.isNull(request.interval)) {
84276
+ query["Interval"] = request.interval;
84277
+ }
84278
+
84279
+ if (!$dara.isNull(request.limit)) {
84280
+ query["Limit"] = request.limit;
84281
+ }
84282
+
84283
+ if (!$dara.isNull(request.siteId)) {
84284
+ query["SiteId"] = request.siteId;
84285
+ }
84286
+
84287
+ if (!$dara.isNull(request.startTime)) {
84288
+ query["StartTime"] = request.startTime;
84289
+ }
84290
+
84291
+ let req = new $OpenApiUtil.OpenApiRequest({
84292
+ query: OpenApiUtil.query(query),
84293
+ });
84294
+ let params = new $OpenApiUtil.Params({
84295
+ action: "DescribeSiteTopData",
84296
+ version: "2024-09-10",
84297
+ protocol: "HTTPS",
84298
+ pathname: "/",
84299
+ method: "POST",
84300
+ authType: "AK",
84301
+ style: "RPC",
84302
+ reqBodyType: "formData",
84303
+ bodyType: "json",
84304
+ });
84305
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
84306
+ return $dara.cast<DescribeSiteTopDataResponse>(await this.callApi(params, req, runtime), new DescribeSiteTopDataResponse({}));
84307
+ } else {
84308
+ return $dara.cast<DescribeSiteTopDataResponse>(await this.execute(params, req, runtime), new DescribeSiteTopDataResponse({}));
84309
+ }
84310
+
84311
+ }
84312
+
84313
+ /**
84314
+ * 获取Top数据
84315
+ *
84316
+ * @param request - DescribeSiteTopDataRequest
84317
+ * @returns DescribeSiteTopDataResponse
84318
+ */
84319
+ async describeSiteTopData(request: DescribeSiteTopDataRequest): Promise<DescribeSiteTopDataResponse> {
84320
+ let runtime = new $dara.RuntimeOptions({ });
84321
+ return await this.describeSiteTopDataWithOptions(request, runtime);
84322
+ }
84323
+
82136
84324
  /**
82137
84325
  * Disables a scenario-specific policy.
82138
84326
  *
@@ -82980,6 +85168,53 @@ export default class Client extends OpenApi {
82980
85168
  return await this.getEdgeContainerAppResourceReserveWithOptions(request, runtime);
82981
85169
  }
82982
85170
 
85171
+ /**
85172
+ * 获取边缘容器应用资源分布
85173
+ *
85174
+ * @param request - GetEdgeContainerAppResourceStatusRequest
85175
+ * @param runtime - runtime options for this request RuntimeOptions
85176
+ * @returns GetEdgeContainerAppResourceStatusResponse
85177
+ */
85178
+ async getEdgeContainerAppResourceStatusWithOptions(request: GetEdgeContainerAppResourceStatusRequest, runtime: $dara.RuntimeOptions): Promise<GetEdgeContainerAppResourceStatusResponse> {
85179
+ request.validate();
85180
+ let query = { };
85181
+ if (!$dara.isNull(request.appId)) {
85182
+ query["AppId"] = request.appId;
85183
+ }
85184
+
85185
+ let req = new $OpenApiUtil.OpenApiRequest({
85186
+ query: OpenApiUtil.query(query),
85187
+ });
85188
+ let params = new $OpenApiUtil.Params({
85189
+ action: "GetEdgeContainerAppResourceStatus",
85190
+ version: "2024-09-10",
85191
+ protocol: "HTTPS",
85192
+ pathname: "/",
85193
+ method: "POST",
85194
+ authType: "AK",
85195
+ style: "RPC",
85196
+ reqBodyType: "formData",
85197
+ bodyType: "json",
85198
+ });
85199
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
85200
+ return $dara.cast<GetEdgeContainerAppResourceStatusResponse>(await this.callApi(params, req, runtime), new GetEdgeContainerAppResourceStatusResponse({}));
85201
+ } else {
85202
+ return $dara.cast<GetEdgeContainerAppResourceStatusResponse>(await this.execute(params, req, runtime), new GetEdgeContainerAppResourceStatusResponse({}));
85203
+ }
85204
+
85205
+ }
85206
+
85207
+ /**
85208
+ * 获取边缘容器应用资源分布
85209
+ *
85210
+ * @param request - GetEdgeContainerAppResourceStatusRequest
85211
+ * @returns GetEdgeContainerAppResourceStatusResponse
85212
+ */
85213
+ async getEdgeContainerAppResourceStatus(request: GetEdgeContainerAppResourceStatusRequest): Promise<GetEdgeContainerAppResourceStatusResponse> {
85214
+ let runtime = new $dara.RuntimeOptions({ });
85215
+ return await this.getEdgeContainerAppResourceStatusWithOptions(request, runtime);
85216
+ }
85217
+
82983
85218
  /**
82984
85219
  * Queries the status information about a containerized application, including the deployment, release, and rollback of the application.
82985
85220
  *
@@ -84380,6 +86615,57 @@ export default class Client extends OpenApi {
84380
86615
  return await this.getRoutineWithOptions(request, runtime);
84381
86616
  }
84382
86617
 
86618
+ /**
86619
+ * 查询单条边缘函数路由配置
86620
+ *
86621
+ * @param request - GetRoutineRouteRequest
86622
+ * @param runtime - runtime options for this request RuntimeOptions
86623
+ * @returns GetRoutineRouteResponse
86624
+ */
86625
+ async getRoutineRouteWithOptions(request: GetRoutineRouteRequest, runtime: $dara.RuntimeOptions): Promise<GetRoutineRouteResponse> {
86626
+ request.validate();
86627
+ let query = { };
86628
+ if (!$dara.isNull(request.configId)) {
86629
+ query["ConfigId"] = request.configId;
86630
+ }
86631
+
86632
+ if (!$dara.isNull(request.siteId)) {
86633
+ query["SiteId"] = request.siteId;
86634
+ }
86635
+
86636
+ let req = new $OpenApiUtil.OpenApiRequest({
86637
+ query: OpenApiUtil.query(query),
86638
+ });
86639
+ let params = new $OpenApiUtil.Params({
86640
+ action: "GetRoutineRoute",
86641
+ version: "2024-09-10",
86642
+ protocol: "HTTPS",
86643
+ pathname: "/",
86644
+ method: "POST",
86645
+ authType: "AK",
86646
+ style: "RPC",
86647
+ reqBodyType: "formData",
86648
+ bodyType: "json",
86649
+ });
86650
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
86651
+ return $dara.cast<GetRoutineRouteResponse>(await this.callApi(params, req, runtime), new GetRoutineRouteResponse({}));
86652
+ } else {
86653
+ return $dara.cast<GetRoutineRouteResponse>(await this.execute(params, req, runtime), new GetRoutineRouteResponse({}));
86654
+ }
86655
+
86656
+ }
86657
+
86658
+ /**
86659
+ * 查询单条边缘函数路由配置
86660
+ *
86661
+ * @param request - GetRoutineRouteRequest
86662
+ * @returns GetRoutineRouteResponse
86663
+ */
86664
+ async getRoutineRoute(request: GetRoutineRouteRequest): Promise<GetRoutineRouteResponse> {
86665
+ let runtime = new $dara.RuntimeOptions({ });
86666
+ return await this.getRoutineRouteWithOptions(request, runtime);
86667
+ }
86668
+
84383
86669
  /**
84384
86670
  * Obtains the release information about the routine code that is released to the staging environment. This information can be used to upload the test code to Object Storage Service (OSS).
84385
86671
  *
@@ -87142,6 +89428,61 @@ export default class Client extends OpenApi {
87142
89428
  return await this.listRoutineOptionalSpecsWithOptions(runtime);
87143
89429
  }
87144
89430
 
89431
+ /**
89432
+ * 查询边缘程序的函数路由列表
89433
+ *
89434
+ * @param request - ListRoutineRoutesRequest
89435
+ * @param runtime - runtime options for this request RuntimeOptions
89436
+ * @returns ListRoutineRoutesResponse
89437
+ */
89438
+ async listRoutineRoutesWithOptions(request: ListRoutineRoutesRequest, runtime: $dara.RuntimeOptions): Promise<ListRoutineRoutesResponse> {
89439
+ request.validate();
89440
+ let query = { };
89441
+ if (!$dara.isNull(request.pageNumber)) {
89442
+ query["PageNumber"] = request.pageNumber;
89443
+ }
89444
+
89445
+ if (!$dara.isNull(request.pageSize)) {
89446
+ query["PageSize"] = request.pageSize;
89447
+ }
89448
+
89449
+ if (!$dara.isNull(request.routineName)) {
89450
+ query["RoutineName"] = request.routineName;
89451
+ }
89452
+
89453
+ let req = new $OpenApiUtil.OpenApiRequest({
89454
+ query: OpenApiUtil.query(query),
89455
+ });
89456
+ let params = new $OpenApiUtil.Params({
89457
+ action: "ListRoutineRoutes",
89458
+ version: "2024-09-10",
89459
+ protocol: "HTTPS",
89460
+ pathname: "/",
89461
+ method: "POST",
89462
+ authType: "AK",
89463
+ style: "RPC",
89464
+ reqBodyType: "formData",
89465
+ bodyType: "json",
89466
+ });
89467
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
89468
+ return $dara.cast<ListRoutineRoutesResponse>(await this.callApi(params, req, runtime), new ListRoutineRoutesResponse({}));
89469
+ } else {
89470
+ return $dara.cast<ListRoutineRoutesResponse>(await this.execute(params, req, runtime), new ListRoutineRoutesResponse({}));
89471
+ }
89472
+
89473
+ }
89474
+
89475
+ /**
89476
+ * 查询边缘程序的函数路由列表
89477
+ *
89478
+ * @param request - ListRoutineRoutesRequest
89479
+ * @returns ListRoutineRoutesResponse
89480
+ */
89481
+ async listRoutineRoutes(request: ListRoutineRoutesRequest): Promise<ListRoutineRoutesResponse> {
89482
+ let runtime = new $dara.RuntimeOptions({ });
89483
+ return await this.listRoutineRoutesWithOptions(request, runtime);
89484
+ }
89485
+
87145
89486
  /**
87146
89487
  * Lists the plans in a scheduled prefetch task by task ID.
87147
89488
  *
@@ -87271,6 +89612,73 @@ export default class Client extends OpenApi {
87271
89612
  return await this.listSiteDeliveryTasksWithOptions(request, runtime);
87272
89613
  }
87273
89614
 
89615
+ /**
89616
+ * 查询站点的函数路由列表
89617
+ *
89618
+ * @param request - ListSiteRoutesRequest
89619
+ * @param runtime - runtime options for this request RuntimeOptions
89620
+ * @returns ListSiteRoutesResponse
89621
+ */
89622
+ async listSiteRoutesWithOptions(request: ListSiteRoutesRequest, runtime: $dara.RuntimeOptions): Promise<ListSiteRoutesResponse> {
89623
+ request.validate();
89624
+ let query = { };
89625
+ if (!$dara.isNull(request.configId)) {
89626
+ query["ConfigId"] = request.configId;
89627
+ }
89628
+
89629
+ if (!$dara.isNull(request.configType)) {
89630
+ query["ConfigType"] = request.configType;
89631
+ }
89632
+
89633
+ if (!$dara.isNull(request.pageNumber)) {
89634
+ query["PageNumber"] = request.pageNumber;
89635
+ }
89636
+
89637
+ if (!$dara.isNull(request.pageSize)) {
89638
+ query["PageSize"] = request.pageSize;
89639
+ }
89640
+
89641
+ if (!$dara.isNull(request.routeName)) {
89642
+ query["RouteName"] = request.routeName;
89643
+ }
89644
+
89645
+ if (!$dara.isNull(request.siteId)) {
89646
+ query["SiteId"] = request.siteId;
89647
+ }
89648
+
89649
+ let req = new $OpenApiUtil.OpenApiRequest({
89650
+ query: OpenApiUtil.query(query),
89651
+ });
89652
+ let params = new $OpenApiUtil.Params({
89653
+ action: "ListSiteRoutes",
89654
+ version: "2024-09-10",
89655
+ protocol: "HTTPS",
89656
+ pathname: "/",
89657
+ method: "POST",
89658
+ authType: "AK",
89659
+ style: "RPC",
89660
+ reqBodyType: "formData",
89661
+ bodyType: "json",
89662
+ });
89663
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
89664
+ return $dara.cast<ListSiteRoutesResponse>(await this.callApi(params, req, runtime), new ListSiteRoutesResponse({}));
89665
+ } else {
89666
+ return $dara.cast<ListSiteRoutesResponse>(await this.execute(params, req, runtime), new ListSiteRoutesResponse({}));
89667
+ }
89668
+
89669
+ }
89670
+
89671
+ /**
89672
+ * 查询站点的函数路由列表
89673
+ *
89674
+ * @param request - ListSiteRoutesRequest
89675
+ * @returns ListSiteRoutesResponse
89676
+ */
89677
+ async listSiteRoutes(request: ListSiteRoutesRequest): Promise<ListSiteRoutesResponse> {
89678
+ let runtime = new $dara.RuntimeOptions({ });
89679
+ return await this.listSiteRoutesWithOptions(request, runtime);
89680
+ }
89681
+
87274
89682
  /**
87275
89683
  * Queries the information about websites in your account, such as the name, status, and configuration of each website.
87276
89684
  *
@@ -91183,6 +93591,10 @@ export default class Client extends OpenApi {
91183
93591
  query["OriginMtls"] = request.originMtls;
91184
93592
  }
91185
93593
 
93594
+ if (!$dara.isNull(request.originReadTimeout)) {
93595
+ query["OriginReadTimeout"] = request.originReadTimeout;
93596
+ }
93597
+
91186
93598
  if (!$dara.isNull(request.originScheme)) {
91187
93599
  query["OriginScheme"] = request.originScheme;
91188
93600
  }
@@ -91659,6 +94071,81 @@ export default class Client extends OpenApi {
91659
94071
  return await this.updateRewriteUrlRuleWithOptions(request, runtime);
91660
94072
  }
91661
94073
 
94074
+ /**
94075
+ * 修改边缘函数路由配置
94076
+ *
94077
+ * @param request - UpdateRoutineRouteRequest
94078
+ * @param runtime - runtime options for this request RuntimeOptions
94079
+ * @returns UpdateRoutineRouteResponse
94080
+ */
94081
+ async updateRoutineRouteWithOptions(request: UpdateRoutineRouteRequest, runtime: $dara.RuntimeOptions): Promise<UpdateRoutineRouteResponse> {
94082
+ request.validate();
94083
+ let query = { };
94084
+ if (!$dara.isNull(request.bypass)) {
94085
+ query["Bypass"] = request.bypass;
94086
+ }
94087
+
94088
+ if (!$dara.isNull(request.configId)) {
94089
+ query["ConfigId"] = request.configId;
94090
+ }
94091
+
94092
+ if (!$dara.isNull(request.routeEnable)) {
94093
+ query["RouteEnable"] = request.routeEnable;
94094
+ }
94095
+
94096
+ if (!$dara.isNull(request.routeName)) {
94097
+ query["RouteName"] = request.routeName;
94098
+ }
94099
+
94100
+ if (!$dara.isNull(request.routineName)) {
94101
+ query["RoutineName"] = request.routineName;
94102
+ }
94103
+
94104
+ if (!$dara.isNull(request.rule)) {
94105
+ query["Rule"] = request.rule;
94106
+ }
94107
+
94108
+ if (!$dara.isNull(request.sequence)) {
94109
+ query["Sequence"] = request.sequence;
94110
+ }
94111
+
94112
+ if (!$dara.isNull(request.siteId)) {
94113
+ query["SiteId"] = request.siteId;
94114
+ }
94115
+
94116
+ let req = new $OpenApiUtil.OpenApiRequest({
94117
+ query: OpenApiUtil.query(query),
94118
+ });
94119
+ let params = new $OpenApiUtil.Params({
94120
+ action: "UpdateRoutineRoute",
94121
+ version: "2024-09-10",
94122
+ protocol: "HTTPS",
94123
+ pathname: "/",
94124
+ method: "POST",
94125
+ authType: "AK",
94126
+ style: "RPC",
94127
+ reqBodyType: "formData",
94128
+ bodyType: "json",
94129
+ });
94130
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
94131
+ return $dara.cast<UpdateRoutineRouteResponse>(await this.callApi(params, req, runtime), new UpdateRoutineRouteResponse({}));
94132
+ } else {
94133
+ return $dara.cast<UpdateRoutineRouteResponse>(await this.execute(params, req, runtime), new UpdateRoutineRouteResponse({}));
94134
+ }
94135
+
94136
+ }
94137
+
94138
+ /**
94139
+ * 修改边缘函数路由配置
94140
+ *
94141
+ * @param request - UpdateRoutineRouteRequest
94142
+ * @returns UpdateRoutineRouteResponse
94143
+ */
94144
+ async updateRoutineRoute(request: UpdateRoutineRouteRequest): Promise<UpdateRoutineRouteResponse> {
94145
+ let runtime = new $dara.RuntimeOptions({ });
94146
+ return await this.updateRoutineRouteWithOptions(request, runtime);
94147
+ }
94148
+
91662
94149
  /**
91663
94150
  * Updates a scheduled prefetch plan based on the plan ID.
91664
94151
  *