@alicloud/esa20240910 2.20.0 → 2.21.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
@@ -4200,7 +4200,7 @@ export class CreateSiteDeliveryTaskRequestS3Delivery extends $dara.Model {
4200
4200
  * The access key ID of your Amazon S3 account.
4201
4201
  *
4202
4202
  * @example
4203
- * LTAIKh***
4203
+ * yourAccessKeyID
4204
4204
  */
4205
4205
  accessKey?: string;
4206
4206
  /**
@@ -17316,7 +17316,7 @@ export class ListSiteDeliveryTasksResponseBodyTasks extends $dara.Model {
17316
17316
  export class ListSitesRequestTagFilter extends $dara.Model {
17317
17317
  /**
17318
17318
  * @remarks
17319
- * Tag key, used as a filter condition for the query.
17319
+ * The tag key. This parameter specifies a filter condition for the query.
17320
17320
  *
17321
17321
  * @example
17322
17322
  * tag1
@@ -17324,7 +17324,7 @@ export class ListSitesRequestTagFilter extends $dara.Model {
17324
17324
  key?: string;
17325
17325
  /**
17326
17326
  * @remarks
17327
- * Tag value, used as a filter condition for the query.
17327
+ * The tag value. This parameter specifies a filter condition for the query.
17328
17328
  *
17329
17329
  * @example
17330
17330
  * aaa
@@ -17356,10 +17356,10 @@ export class ListSitesRequestTagFilter extends $dara.Model {
17356
17356
  export class ListSitesResponseBodySites extends $dara.Model {
17357
17357
  /**
17358
17358
  * @remarks
17359
- * Site access type. Values:
17359
+ * The DNS setup for the website. Valid values:
17360
17360
  *
17361
- * - **NS**: Access through NS.
17362
- * - **CNAME**: Access through CNAME.
17361
+ * * **NS**
17362
+ * * **CNAME**
17363
17363
  *
17364
17364
  * @example
17365
17365
  * NS
@@ -17367,7 +17367,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17367
17367
  accessType?: string;
17368
17368
  /**
17369
17369
  * @remarks
17370
- * CNAME suffix of the site. For sites accessed via CNAME, this is the CNAME suffix that needs to be configured.
17370
+ * The CNAME of the website domain. If you use CNAME setup when you add your website to ESA, the value is the CNAME that you configured then.
17371
17371
  *
17372
17372
  * @example
17373
17373
  * example.cname.com
@@ -17375,11 +17375,11 @@ export class ListSitesResponseBodySites extends $dara.Model {
17375
17375
  cnameZone?: string;
17376
17376
  /**
17377
17377
  * @remarks
17378
- * Site acceleration region. Values:
17378
+ * The service location for the website. Valid values:
17379
17379
  *
17380
- * - **domestic**: China mainland only.
17381
- * - **global**: Global.
17382
- * - **overseas**: Global (excluding China mainland).
17380
+ * * **domestic**: the Chinese mainland
17381
+ * * **global**: global
17382
+ * * **overseas**: outside the Chinese mainland
17383
17383
  *
17384
17384
  * @example
17385
17385
  * domestic
@@ -17387,7 +17387,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17387
17387
  coverage?: string;
17388
17388
  /**
17389
17389
  * @remarks
17390
- * Site creation time, in ISO8601 format and using UTC time, formatted as yyyy-MM-ddTHH:mm:ssZ.
17390
+ * The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
17391
17391
  *
17392
17392
  * @example
17393
17393
  * 2023-12-24T02:01:11Z
@@ -17395,7 +17395,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17395
17395
  createTime?: string;
17396
17396
  /**
17397
17397
  * @remarks
17398
- * The ID of the plan instance bound to the site.
17398
+ * The ID of the plan associated with the website.
17399
17399
  *
17400
17400
  * @example
17401
17401
  * onBvtlmIyeXLbiDw81F9
@@ -17403,7 +17403,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17403
17403
  instanceId?: string;
17404
17404
  /**
17405
17405
  * @remarks
17406
- * The list of NS (Name Servers) assigned to the site. Separated by commas (,).
17406
+ * The nameservers assigned to the website domain, which are separated by commas (,).
17407
17407
  *
17408
17408
  * @example
17409
17409
  * male1-1.ialicdn.com,female1-1.ialicdn.com
@@ -17412,7 +17412,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17412
17412
  offlineReason?: string;
17413
17413
  /**
17414
17414
  * @remarks
17415
- * The name of the plan.
17415
+ * The plan name.
17416
17416
  *
17417
17417
  * @example
17418
17418
  * plan-168656498****
@@ -17420,7 +17420,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17420
17420
  planName?: string;
17421
17421
  /**
17422
17422
  * @remarks
17423
- * The specification name of the site\\"s plan.
17423
+ * The plan associated with the website.
17424
17424
  *
17425
17425
  * @example
17426
17426
  * normal
@@ -17428,7 +17428,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17428
17428
  planSpecName?: string;
17429
17429
  /**
17430
17430
  * @remarks
17431
- * The resource group ID.
17431
+ * The ID of the resource group.
17432
17432
  *
17433
17433
  * @example
17434
17434
  * rg-aek26g6i6se6pna
@@ -17436,7 +17436,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17436
17436
  resourceGroupId?: string;
17437
17437
  /**
17438
17438
  * @remarks
17439
- * The site ID.
17439
+ * The website ID.
17440
17440
  *
17441
17441
  * @example
17442
17442
  * 123456789****
@@ -17444,7 +17444,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17444
17444
  siteId?: number;
17445
17445
  /**
17446
17446
  * @remarks
17447
- * The name of the site.
17447
+ * The website name.
17448
17448
  *
17449
17449
  * @example
17450
17450
  * example.com
@@ -17452,11 +17452,12 @@ export class ListSitesResponseBodySites extends $dara.Model {
17452
17452
  siteName?: string;
17453
17453
  /**
17454
17454
  * @remarks
17455
- * The status of the site. Possible values:
17456
- * - **pending**: The site is pending configuration.
17457
- * - **active**: The site is active.
17458
- * - **offline**: The site is offline.
17459
- * - **moved**: The site has been replaced.
17455
+ * The website status. Valid values:
17456
+ *
17457
+ * * **pending**: The website is to be configured.
17458
+ * * **active**: The website is active.
17459
+ * * **offline**: The website is suspended.
17460
+ * * **moved**: The website has been added and verified by another Alibaba Cloud account.
17460
17461
  *
17461
17462
  * @example
17462
17463
  * pending
@@ -17464,7 +17465,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17464
17465
  status?: string;
17465
17466
  /**
17466
17467
  * @remarks
17467
- * The tags of the site.
17468
+ * The tags of the website.
17468
17469
  *
17469
17470
  * @example
17470
17471
  * {"tag1":"value1"}
@@ -17472,7 +17473,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17472
17473
  tags?: { [key: string]: any };
17473
17474
  /**
17474
17475
  * @remarks
17475
- * The update time of the site, represented in ISO8601 format and using UTC, formatted as yyyy-MM-ddTHH:mm:ssZ.
17476
+ * The time when the website was updated. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
17476
17477
  *
17477
17478
  * @example
17478
17479
  * 2023-12-24T02:01:11Z
@@ -17480,7 +17481,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17480
17481
  updateTime?: string;
17481
17482
  /**
17482
17483
  * @remarks
17483
- * The verification code for site ownership. When the site is accessed via CNAME, this TXT verification code needs to be configured.
17484
+ * The code that is used to verify the website domain ownership. As part of the verification TXT record, this parameter is returned for websites that use CNAME setup.
17484
17485
  *
17485
17486
  * @example
17486
17487
  * verify_d516cb3740f81f0cef77d162edd1****
@@ -17488,7 +17489,7 @@ export class ListSitesResponseBodySites extends $dara.Model {
17488
17489
  verifyCode?: string;
17489
17490
  /**
17490
17491
  * @remarks
17491
- * The visit time of the site, formatted according to ISO8601 and using UTC, in the format yyyy-MM-ddTHH:mm:ssZ.
17492
+ * The website visit time is represented in the ISO 8601 date format using UTC time, formatted as yyyy-MM-ddTHH:mm:ssZ.
17492
17493
  *
17493
17494
  * @example
17494
17495
  * 2023-12-24T02:01:11Z
@@ -37438,7 +37439,7 @@ export class DeleteWafRuleResponse extends $dara.Model {
37438
37439
  export class DeleteWafRulesetRequest extends $dara.Model {
37439
37440
  /**
37440
37441
  * @remarks
37441
- * ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2850233.html) interface.
37442
+ * ID of the WAF ruleset, which can be obtained by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) interface.
37442
37443
  *
37443
37444
  * This parameter is required.
37444
37445
  *
@@ -41934,6 +41935,105 @@ export class GetCompressionRuleResponse extends $dara.Model {
41934
41935
  }
41935
41936
  }
41936
41937
 
41938
+ export class GetCrossBorderOptimizationRequest extends $dara.Model {
41939
+ /**
41940
+ * @remarks
41941
+ * This parameter is required.
41942
+ *
41943
+ * @example
41944
+ * 340035003106221
41945
+ */
41946
+ siteId?: number;
41947
+ static names(): { [key: string]: string } {
41948
+ return {
41949
+ siteId: 'SiteId',
41950
+ };
41951
+ }
41952
+
41953
+ static types(): { [key: string]: any } {
41954
+ return {
41955
+ siteId: 'number',
41956
+ };
41957
+ }
41958
+
41959
+ validate() {
41960
+ super.validate();
41961
+ }
41962
+
41963
+ constructor(map?: { [key: string]: any }) {
41964
+ super(map);
41965
+ }
41966
+ }
41967
+
41968
+ export class GetCrossBorderOptimizationResponseBody extends $dara.Model {
41969
+ /**
41970
+ * @example
41971
+ * on
41972
+ */
41973
+ enable?: string;
41974
+ /**
41975
+ * @example
41976
+ * CF521A24-633F-5350-A6A5-42AD503D0D20
41977
+ */
41978
+ requestId?: string;
41979
+ static names(): { [key: string]: string } {
41980
+ return {
41981
+ enable: 'Enable',
41982
+ requestId: 'RequestId',
41983
+ };
41984
+ }
41985
+
41986
+ static types(): { [key: string]: any } {
41987
+ return {
41988
+ enable: 'string',
41989
+ requestId: 'string',
41990
+ };
41991
+ }
41992
+
41993
+ validate() {
41994
+ super.validate();
41995
+ }
41996
+
41997
+ constructor(map?: { [key: string]: any }) {
41998
+ super(map);
41999
+ }
42000
+ }
42001
+
42002
+ export class GetCrossBorderOptimizationResponse extends $dara.Model {
42003
+ headers?: { [key: string]: string };
42004
+ statusCode?: number;
42005
+ body?: GetCrossBorderOptimizationResponseBody;
42006
+ static names(): { [key: string]: string } {
42007
+ return {
42008
+ headers: 'headers',
42009
+ statusCode: 'statusCode',
42010
+ body: 'body',
42011
+ };
42012
+ }
42013
+
42014
+ static types(): { [key: string]: any } {
42015
+ return {
42016
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
42017
+ statusCode: 'number',
42018
+ body: GetCrossBorderOptimizationResponseBody,
42019
+ };
42020
+ }
42021
+
42022
+ validate() {
42023
+ if(this.headers) {
42024
+ $dara.Model.validateMap(this.headers);
42025
+ }
42026
+ if(this.body && typeof (this.body as any).validate === 'function') {
42027
+ (this.body as any).validate();
42028
+ }
42029
+ super.validate();
42030
+ }
42031
+
42032
+ constructor(map?: { [key: string]: any }) {
42033
+ super(map);
42034
+ }
42035
+ }
42036
+
41937
42037
  export class GetDevelopmentModeRequest extends $dara.Model {
41938
42038
  /**
41939
42039
  * @remarks
@@ -58468,10 +58568,10 @@ export class ListSiteDeliveryTasksResponse extends $dara.Model {
58468
58568
  export class ListSitesRequest extends $dara.Model {
58469
58569
  /**
58470
58570
  * @remarks
58471
- * Access type. Values:
58571
+ * The DNS setup. Valid values:
58472
58572
  *
58473
- * - **NS**: Access through NS hosting.
58474
- * - **CNAME**: Access through CNAME.
58573
+ * * **NS**
58574
+ * * **CNAME**
58475
58575
  *
58476
58576
  * @example
58477
58577
  * NS
@@ -58479,10 +58579,11 @@ export class ListSitesRequest extends $dara.Model {
58479
58579
  accessType?: string;
58480
58580
  /**
58481
58581
  * @remarks
58482
- * Acceleration region. Values:
58483
- * - **domestic**: China mainland only.
58484
- * - **global**: Global.
58485
- * - **overseas**: Global (excluding China mainland).
58582
+ * The service location. Valid values:
58583
+ *
58584
+ * * **domestic**: the Chinese mainland
58585
+ * * **global**: global
58586
+ * * **overseas**: outside the Chinese mainland
58486
58587
  *
58487
58588
  * @example
58488
58589
  * global
@@ -58490,7 +58591,7 @@ export class ListSitesRequest extends $dara.Model {
58490
58591
  coverage?: string;
58491
58592
  /**
58492
58593
  * @remarks
58493
- * Enterprise edition only. When set to **true**, it indicates that only enterprise edition sites are queried.
58594
+ * Specifies whether to query only websites on Enterprise plans. Valid values: **true and false**.
58494
58595
  *
58495
58596
  * @example
58496
58597
  * false
@@ -58498,9 +58599,9 @@ export class ListSitesRequest extends $dara.Model {
58498
58599
  onlyEnterprise?: boolean;
58499
58600
  /**
58500
58601
  * @remarks
58501
- * Sorting field, default sorted by creation time, supports:
58502
- * - gmtCreate: Site creation time
58503
- * - visitTime: Site access time
58602
+ * Sorting field. By default, it sorts by creation time, supporting the following options:
58603
+ * - gmtCreate: website creation time
58604
+ * - visitTime:website visit time
58504
58605
  *
58505
58606
  * @example
58506
58607
  * visitTime
@@ -58508,7 +58609,7 @@ export class ListSitesRequest extends $dara.Model {
58508
58609
  orderBy?: string;
58509
58610
  /**
58510
58611
  * @remarks
58511
- * Page number. Default value: **1**.
58612
+ * The page number. Default value: **1**.
58512
58613
  *
58513
58614
  * @example
58514
58615
  * 1
@@ -58516,7 +58617,7 @@ export class ListSitesRequest extends $dara.Model {
58516
58617
  pageNumber?: number;
58517
58618
  /**
58518
58619
  * @remarks
58519
- * Page size. Default value: **500**.
58620
+ * The number of entries per page. Default value: **500**.
58520
58621
  *
58521
58622
  * @example
58522
58623
  * 20
@@ -58524,11 +58625,12 @@ export class ListSitesRequest extends $dara.Model {
58524
58625
  pageSize?: number;
58525
58626
  /**
58526
58627
  * @remarks
58527
- * Plan subscription type. Values:
58528
- * - **basicplan**: Basic plan.
58529
- * - **standardplan**: Standard plan.
58530
- * - **advancedplan**: Advanced plan.
58531
- * - **enterpriseplan**: Enterprise plan.
58628
+ * The plan type. Valid values:
58629
+ *
58630
+ * * **basicplan**: Entrance
58631
+ * * **standardplan**: Pro
58632
+ * * **advancedplan**: Premium
58633
+ * * **enterpriseplan**: Enterprise
58532
58634
  *
58533
58635
  * @example
58534
58636
  * basicplan
@@ -58536,7 +58638,7 @@ export class ListSitesRequest extends $dara.Model {
58536
58638
  planSubscribeType?: string;
58537
58639
  /**
58538
58640
  * @remarks
58539
- * Resource group ID. Used as a filter condition for the query.
58641
+ * The ID of the resource group. This parameter specifies a filter condition for the query.
58540
58642
  *
58541
58643
  * @example
58542
58644
  * rg-aekzd3styujvyei
@@ -58544,7 +58646,7 @@ export class ListSitesRequest extends $dara.Model {
58544
58646
  resourceGroupId?: string;
58545
58647
  /**
58546
58648
  * @remarks
58547
- * Site name. Used as a filter condition for the query.
58649
+ * The website name. This parameter specifies a filter condition for the query.
58548
58650
  *
58549
58651
  * @example
58550
58652
  * example.com
@@ -58552,12 +58654,12 @@ export class ListSitesRequest extends $dara.Model {
58552
58654
  siteName?: string;
58553
58655
  /**
58554
58656
  * @remarks
58555
- * Search match pattern for the site name. The default is exact match, with values:
58657
+ * The match mode to search for the website name. Default value: exact. Valid values:
58556
58658
  *
58557
- * - **prefix**: Prefix match.
58558
- * - **suffix**: Suffix match.
58559
- * - **exact**: Exact match.
58560
- * - **fuzzy**: Fuzzy match.
58659
+ * * **prefix**: match by prefix.
58660
+ * * **suffix**: match by suffix.
58661
+ * * **exact**: exact match.
58662
+ * * **fuzzy**: fuzzy match.
58561
58663
  *
58562
58664
  * @example
58563
58665
  * fuzzy
@@ -58565,7 +58667,7 @@ export class ListSitesRequest extends $dara.Model {
58565
58667
  siteSearchType?: string;
58566
58668
  /**
58567
58669
  * @remarks
58568
- * Site status. Used as a filter condition for the query.
58670
+ * The website status. This parameter specifies a filter condition for the query.
58569
58671
  *
58570
58672
  * @example
58571
58673
  * pending
@@ -58573,7 +58675,7 @@ export class ListSitesRequest extends $dara.Model {
58573
58675
  status?: string;
58574
58676
  /**
58575
58677
  * @remarks
58576
- * Tag filtering rules.
58678
+ * The tag filtering rule.
58577
58679
  */
58578
58680
  tagFilter?: ListSitesRequestTagFilter[];
58579
58681
  static names(): { [key: string]: string } {
@@ -58625,10 +58727,10 @@ export class ListSitesRequest extends $dara.Model {
58625
58727
  export class ListSitesShrinkRequest extends $dara.Model {
58626
58728
  /**
58627
58729
  * @remarks
58628
- * Access type. Values:
58730
+ * The DNS setup. Valid values:
58629
58731
  *
58630
- * - **NS**: Access through NS hosting.
58631
- * - **CNAME**: Access through CNAME.
58732
+ * * **NS**
58733
+ * * **CNAME**
58632
58734
  *
58633
58735
  * @example
58634
58736
  * NS
@@ -58636,10 +58738,11 @@ export class ListSitesShrinkRequest extends $dara.Model {
58636
58738
  accessType?: string;
58637
58739
  /**
58638
58740
  * @remarks
58639
- * Acceleration region. Values:
58640
- * - **domestic**: China mainland only.
58641
- * - **global**: Global.
58642
- * - **overseas**: Global (excluding China mainland).
58741
+ * The service location. Valid values:
58742
+ *
58743
+ * * **domestic**: the Chinese mainland
58744
+ * * **global**: global
58745
+ * * **overseas**: outside the Chinese mainland
58643
58746
  *
58644
58747
  * @example
58645
58748
  * global
@@ -58647,7 +58750,7 @@ export class ListSitesShrinkRequest extends $dara.Model {
58647
58750
  coverage?: string;
58648
58751
  /**
58649
58752
  * @remarks
58650
- * Enterprise edition only. When set to **true**, it indicates that only enterprise edition sites are queried.
58753
+ * Specifies whether to query only websites on Enterprise plans. Valid values: **true and false**.
58651
58754
  *
58652
58755
  * @example
58653
58756
  * false
@@ -58655,9 +58758,9 @@ export class ListSitesShrinkRequest extends $dara.Model {
58655
58758
  onlyEnterprise?: boolean;
58656
58759
  /**
58657
58760
  * @remarks
58658
- * Sorting field, default sorted by creation time, supports:
58659
- * - gmtCreate: Site creation time
58660
- * - visitTime: Site access time
58761
+ * Sorting field. By default, it sorts by creation time, supporting the following options:
58762
+ * - gmtCreate: website creation time
58763
+ * - visitTime:website visit time
58661
58764
  *
58662
58765
  * @example
58663
58766
  * visitTime
@@ -58665,7 +58768,7 @@ export class ListSitesShrinkRequest extends $dara.Model {
58665
58768
  orderBy?: string;
58666
58769
  /**
58667
58770
  * @remarks
58668
- * Page number. Default value: **1**.
58771
+ * The page number. Default value: **1**.
58669
58772
  *
58670
58773
  * @example
58671
58774
  * 1
@@ -58673,7 +58776,7 @@ export class ListSitesShrinkRequest extends $dara.Model {
58673
58776
  pageNumber?: number;
58674
58777
  /**
58675
58778
  * @remarks
58676
- * Page size. Default value: **500**.
58779
+ * The number of entries per page. Default value: **500**.
58677
58780
  *
58678
58781
  * @example
58679
58782
  * 20
@@ -58681,11 +58784,12 @@ export class ListSitesShrinkRequest extends $dara.Model {
58681
58784
  pageSize?: number;
58682
58785
  /**
58683
58786
  * @remarks
58684
- * Plan subscription type. Values:
58685
- * - **basicplan**: Basic plan.
58686
- * - **standardplan**: Standard plan.
58687
- * - **advancedplan**: Advanced plan.
58688
- * - **enterpriseplan**: Enterprise plan.
58787
+ * The plan type. Valid values:
58788
+ *
58789
+ * * **basicplan**: Entrance
58790
+ * * **standardplan**: Pro
58791
+ * * **advancedplan**: Premium
58792
+ * * **enterpriseplan**: Enterprise
58689
58793
  *
58690
58794
  * @example
58691
58795
  * basicplan
@@ -58693,7 +58797,7 @@ export class ListSitesShrinkRequest extends $dara.Model {
58693
58797
  planSubscribeType?: string;
58694
58798
  /**
58695
58799
  * @remarks
58696
- * Resource group ID. Used as a filter condition for the query.
58800
+ * The ID of the resource group. This parameter specifies a filter condition for the query.
58697
58801
  *
58698
58802
  * @example
58699
58803
  * rg-aekzd3styujvyei
@@ -58701,7 +58805,7 @@ export class ListSitesShrinkRequest extends $dara.Model {
58701
58805
  resourceGroupId?: string;
58702
58806
  /**
58703
58807
  * @remarks
58704
- * Site name. Used as a filter condition for the query.
58808
+ * The website name. This parameter specifies a filter condition for the query.
58705
58809
  *
58706
58810
  * @example
58707
58811
  * example.com
@@ -58709,12 +58813,12 @@ export class ListSitesShrinkRequest extends $dara.Model {
58709
58813
  siteName?: string;
58710
58814
  /**
58711
58815
  * @remarks
58712
- * Search match pattern for the site name. The default is exact match, with values:
58816
+ * The match mode to search for the website name. Default value: exact. Valid values:
58713
58817
  *
58714
- * - **prefix**: Prefix match.
58715
- * - **suffix**: Suffix match.
58716
- * - **exact**: Exact match.
58717
- * - **fuzzy**: Fuzzy match.
58818
+ * * **prefix**: match by prefix.
58819
+ * * **suffix**: match by suffix.
58820
+ * * **exact**: exact match.
58821
+ * * **fuzzy**: fuzzy match.
58718
58822
  *
58719
58823
  * @example
58720
58824
  * fuzzy
@@ -58722,7 +58826,7 @@ export class ListSitesShrinkRequest extends $dara.Model {
58722
58826
  siteSearchType?: string;
58723
58827
  /**
58724
58828
  * @remarks
58725
- * Site status. Used as a filter condition for the query.
58829
+ * The website status. This parameter specifies a filter condition for the query.
58726
58830
  *
58727
58831
  * @example
58728
58832
  * pending
@@ -58730,7 +58834,7 @@ export class ListSitesShrinkRequest extends $dara.Model {
58730
58834
  status?: string;
58731
58835
  /**
58732
58836
  * @remarks
58733
- * Tag filtering rules.
58837
+ * The tag filtering rule.
58734
58838
  */
58735
58839
  tagFilterShrink?: string;
58736
58840
  static names(): { [key: string]: string } {
@@ -58779,7 +58883,7 @@ export class ListSitesShrinkRequest extends $dara.Model {
58779
58883
  export class ListSitesResponseBody extends $dara.Model {
58780
58884
  /**
58781
58885
  * @remarks
58782
- * Page number of the returned data.
58886
+ * The page number.
58783
58887
  *
58784
58888
  * @example
58785
58889
  * 1
@@ -58787,7 +58891,7 @@ export class ListSitesResponseBody extends $dara.Model {
58787
58891
  pageNumber?: number;
58788
58892
  /**
58789
58893
  * @remarks
58790
- * Number of sites per page.
58894
+ * The number of websites per page.
58791
58895
  *
58792
58896
  * @example
58793
58897
  * 20
@@ -58795,7 +58899,7 @@ export class ListSitesResponseBody extends $dara.Model {
58795
58899
  pageSize?: number;
58796
58900
  /**
58797
58901
  * @remarks
58798
- * Request ID.
58902
+ * The request ID.
58799
58903
  *
58800
58904
  * @example
58801
58905
  * 04F0F334-1335-436C-A1D7-6C044FE73368
@@ -58803,12 +58907,12 @@ export class ListSitesResponseBody extends $dara.Model {
58803
58907
  requestId?: string;
58804
58908
  /**
58805
58909
  * @remarks
58806
- * List of queried site information.
58910
+ * The queried websites.
58807
58911
  */
58808
58912
  sites?: ListSitesResponseBodySites[];
58809
58913
  /**
58810
58914
  * @remarks
58811
- * Total number of sites.
58915
+ * The total number of websites.
58812
58916
  *
58813
58917
  * @example
58814
58918
  * 40
@@ -64428,7 +64532,7 @@ export class SetOriginClientCertificateHostnamesResponseBody extends $dara.Model
64428
64532
  * @example
64429
64533
  * 123456789****
64430
64534
  */
64431
- siteId?: string;
64535
+ siteId?: number;
64432
64536
  /**
64433
64537
  * @remarks
64434
64538
  * The website name.
@@ -64452,7 +64556,7 @@ export class SetOriginClientCertificateHostnamesResponseBody extends $dara.Model
64452
64556
  hostnames: { 'type': 'array', 'itemType': 'string' },
64453
64557
  id: 'string',
64454
64558
  requestId: 'string',
64455
- siteId: 'string',
64559
+ siteId: 'number',
64456
64560
  siteName: 'string',
64457
64561
  };
64458
64562
  }
@@ -65945,6 +66049,108 @@ export class UpdateCompressionRuleResponse extends $dara.Model {
65945
66049
  }
65946
66050
  }
65947
66051
 
66052
+ export class UpdateCrossBorderOptimizationRequest extends $dara.Model {
66053
+ /**
66054
+ * @remarks
66055
+ * This parameter is required.
66056
+ *
66057
+ * @example
66058
+ * on
66059
+ */
66060
+ enable?: string;
66061
+ /**
66062
+ * @remarks
66063
+ * This parameter is required.
66064
+ *
66065
+ * @example
66066
+ * 1234567890123
66067
+ */
66068
+ siteId?: number;
66069
+ static names(): { [key: string]: string } {
66070
+ return {
66071
+ enable: 'Enable',
66072
+ siteId: 'SiteId',
66073
+ };
66074
+ }
66075
+
66076
+ static types(): { [key: string]: any } {
66077
+ return {
66078
+ enable: 'string',
66079
+ siteId: 'number',
66080
+ };
66081
+ }
66082
+
66083
+ validate() {
66084
+ super.validate();
66085
+ }
66086
+
66087
+ constructor(map?: { [key: string]: any }) {
66088
+ super(map);
66089
+ }
66090
+ }
66091
+
66092
+ export class UpdateCrossBorderOptimizationResponseBody extends $dara.Model {
66093
+ /**
66094
+ * @example
66095
+ * CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
66096
+ */
66097
+ requestId?: string;
66098
+ static names(): { [key: string]: string } {
66099
+ return {
66100
+ requestId: 'RequestId',
66101
+ };
66102
+ }
66103
+
66104
+ static types(): { [key: string]: any } {
66105
+ return {
66106
+ requestId: 'string',
66107
+ };
66108
+ }
66109
+
66110
+ validate() {
66111
+ super.validate();
66112
+ }
66113
+
66114
+ constructor(map?: { [key: string]: any }) {
66115
+ super(map);
66116
+ }
66117
+ }
66118
+
66119
+ export class UpdateCrossBorderOptimizationResponse extends $dara.Model {
66120
+ headers?: { [key: string]: string };
66121
+ statusCode?: number;
66122
+ body?: UpdateCrossBorderOptimizationResponseBody;
66123
+ static names(): { [key: string]: string } {
66124
+ return {
66125
+ headers: 'headers',
66126
+ statusCode: 'statusCode',
66127
+ body: 'body',
66128
+ };
66129
+ }
66130
+
66131
+ static types(): { [key: string]: any } {
66132
+ return {
66133
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
66134
+ statusCode: 'number',
66135
+ body: UpdateCrossBorderOptimizationResponseBody,
66136
+ };
66137
+ }
66138
+
66139
+ validate() {
66140
+ if(this.headers) {
66141
+ $dara.Model.validateMap(this.headers);
66142
+ }
66143
+ if(this.body && typeof (this.body as any).validate === 'function') {
66144
+ (this.body as any).validate();
66145
+ }
66146
+ super.validate();
66147
+ }
66148
+
66149
+ constructor(map?: { [key: string]: any }) {
66150
+ super(map);
66151
+ }
66152
+ }
66153
+
65948
66154
  export class UpdateCustomScenePolicyRequest extends $dara.Model {
65949
66155
  /**
65950
66156
  * @remarks
@@ -82551,6 +82757,49 @@ export default class Client extends OpenApi {
82551
82757
  return await this.getCompressionRuleWithOptions(request, runtime);
82552
82758
  }
82553
82759
 
82760
+ /**
82761
+ * 查询站点中国大陆网络接入优化配置
82762
+ *
82763
+ * @param request - GetCrossBorderOptimizationRequest
82764
+ * @param runtime - runtime options for this request RuntimeOptions
82765
+ * @returns GetCrossBorderOptimizationResponse
82766
+ */
82767
+ async getCrossBorderOptimizationWithOptions(request: GetCrossBorderOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<GetCrossBorderOptimizationResponse> {
82768
+ request.validate();
82769
+ let query = OpenApiUtil.query(request.toMap());
82770
+ let req = new $OpenApiUtil.OpenApiRequest({
82771
+ query: OpenApiUtil.query(query),
82772
+ });
82773
+ let params = new $OpenApiUtil.Params({
82774
+ action: "GetCrossBorderOptimization",
82775
+ version: "2024-09-10",
82776
+ protocol: "HTTPS",
82777
+ pathname: "/",
82778
+ method: "GET",
82779
+ authType: "AK",
82780
+ style: "RPC",
82781
+ reqBodyType: "formData",
82782
+ bodyType: "json",
82783
+ });
82784
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
82785
+ return $dara.cast<GetCrossBorderOptimizationResponse>(await this.callApi(params, req, runtime), new GetCrossBorderOptimizationResponse({}));
82786
+ } else {
82787
+ return $dara.cast<GetCrossBorderOptimizationResponse>(await this.execute(params, req, runtime), new GetCrossBorderOptimizationResponse({}));
82788
+ }
82789
+
82790
+ }
82791
+
82792
+ /**
82793
+ * 查询站点中国大陆网络接入优化配置
82794
+ *
82795
+ * @param request - GetCrossBorderOptimizationRequest
82796
+ * @returns GetCrossBorderOptimizationResponse
82797
+ */
82798
+ async getCrossBorderOptimization(request: GetCrossBorderOptimizationRequest): Promise<GetCrossBorderOptimizationResponse> {
82799
+ let runtime = new $dara.RuntimeOptions({ });
82800
+ return await this.getCrossBorderOptimizationWithOptions(request, runtime);
82801
+ }
82802
+
82554
82803
  /**
82555
82804
  * Query Site Developer Mode Configuration
82556
82805
  *
@@ -87023,7 +87272,7 @@ export default class Client extends OpenApi {
87023
87272
  }
87024
87273
 
87025
87274
  /**
87026
- * Query Site List
87275
+ * Queries the information about websites in your account, such as the name, status, and configuration of each website.
87027
87276
  *
87028
87277
  * @param tmpReq - ListSitesRequest
87029
87278
  * @param runtime - runtime options for this request RuntimeOptions
@@ -87061,7 +87310,7 @@ export default class Client extends OpenApi {
87061
87310
  }
87062
87311
 
87063
87312
  /**
87064
- * Query Site List
87313
+ * Queries the information about websites in your account, such as the name, status, and configuration of each website.
87065
87314
  *
87066
87315
  * @param request - ListSitesRequest
87067
87316
  * @returns ListSitesResponse
@@ -89608,6 +89857,57 @@ export default class Client extends OpenApi {
89608
89857
  return await this.updateCompressionRuleWithOptions(request, runtime);
89609
89858
  }
89610
89859
 
89860
+ /**
89861
+ * 修改站点中国大陆网络接入优化配置
89862
+ *
89863
+ * @param request - UpdateCrossBorderOptimizationRequest
89864
+ * @param runtime - runtime options for this request RuntimeOptions
89865
+ * @returns UpdateCrossBorderOptimizationResponse
89866
+ */
89867
+ async updateCrossBorderOptimizationWithOptions(request: UpdateCrossBorderOptimizationRequest, runtime: $dara.RuntimeOptions): Promise<UpdateCrossBorderOptimizationResponse> {
89868
+ request.validate();
89869
+ let query = { };
89870
+ if (!$dara.isNull(request.enable)) {
89871
+ query["Enable"] = request.enable;
89872
+ }
89873
+
89874
+ if (!$dara.isNull(request.siteId)) {
89875
+ query["SiteId"] = request.siteId;
89876
+ }
89877
+
89878
+ let req = new $OpenApiUtil.OpenApiRequest({
89879
+ query: OpenApiUtil.query(query),
89880
+ });
89881
+ let params = new $OpenApiUtil.Params({
89882
+ action: "UpdateCrossBorderOptimization",
89883
+ version: "2024-09-10",
89884
+ protocol: "HTTPS",
89885
+ pathname: "/",
89886
+ method: "POST",
89887
+ authType: "AK",
89888
+ style: "RPC",
89889
+ reqBodyType: "formData",
89890
+ bodyType: "json",
89891
+ });
89892
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
89893
+ return $dara.cast<UpdateCrossBorderOptimizationResponse>(await this.callApi(params, req, runtime), new UpdateCrossBorderOptimizationResponse({}));
89894
+ } else {
89895
+ return $dara.cast<UpdateCrossBorderOptimizationResponse>(await this.execute(params, req, runtime), new UpdateCrossBorderOptimizationResponse({}));
89896
+ }
89897
+
89898
+ }
89899
+
89900
+ /**
89901
+ * 修改站点中国大陆网络接入优化配置
89902
+ *
89903
+ * @param request - UpdateCrossBorderOptimizationRequest
89904
+ * @returns UpdateCrossBorderOptimizationResponse
89905
+ */
89906
+ async updateCrossBorderOptimization(request: UpdateCrossBorderOptimizationRequest): Promise<UpdateCrossBorderOptimizationResponse> {
89907
+ let runtime = new $dara.RuntimeOptions({ });
89908
+ return await this.updateCrossBorderOptimizationWithOptions(request, runtime);
89909
+ }
89910
+
89611
89911
  /**
89612
89912
  * Modifies the configurations of a custom scenario-specific policy.
89613
89913
  *