@alicloud/esa20240910 2.13.0 → 2.15.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
@@ -2844,35 +2844,6 @@ export class CreateLoadBalancerRequestRules extends $dara.Model {
2844
2844
  }
2845
2845
  }
2846
2846
 
2847
- export class CreateLoadBalancerRequestSessionAffinityAttributes extends $dara.Model {
2848
- sameSite?: string;
2849
- secure?: string;
2850
- zeroDowntimeFailover?: string;
2851
- static names(): { [key: string]: string } {
2852
- return {
2853
- sameSite: 'SameSite',
2854
- secure: 'Secure',
2855
- zeroDowntimeFailover: 'ZeroDowntimeFailover',
2856
- };
2857
- }
2858
-
2859
- static types(): { [key: string]: any } {
2860
- return {
2861
- sameSite: 'string',
2862
- secure: 'string',
2863
- zeroDowntimeFailover: 'string',
2864
- };
2865
- }
2866
-
2867
- validate() {
2868
- super.validate();
2869
- }
2870
-
2871
- constructor(map?: { [key: string]: any }) {
2872
- super(map);
2873
- }
2874
- }
2875
-
2876
2847
  export class CreateOriginPoolRequestOriginsAuthConf extends $dara.Model {
2877
2848
  accessKey?: string;
2878
2849
  authType?: string;
@@ -10290,6 +10261,7 @@ export class ListCompressionRulesResponseBodyConfigs extends $dara.Model {
10290
10261
  * 1
10291
10262
  */
10292
10263
  siteVersion?: number;
10264
+ zstd?: string;
10293
10265
  static names(): { [key: string]: string } {
10294
10266
  return {
10295
10267
  brotli: 'Brotli',
@@ -10301,6 +10273,7 @@ export class ListCompressionRulesResponseBodyConfigs extends $dara.Model {
10301
10273
  ruleName: 'RuleName',
10302
10274
  sequence: 'Sequence',
10303
10275
  siteVersion: 'SiteVersion',
10276
+ zstd: 'Zstd',
10304
10277
  };
10305
10278
  }
10306
10279
 
@@ -10315,6 +10288,7 @@ export class ListCompressionRulesResponseBodyConfigs extends $dara.Model {
10315
10288
  ruleName: 'string',
10316
10289
  sequence: 'number',
10317
10290
  siteVersion: 'number',
10291
+ zstd: 'string',
10318
10292
  };
10319
10293
  }
10320
10294
 
@@ -12780,47 +12754,6 @@ export class ListLoadBalancersResponseBodyLoadBalancersRules extends $dara.Model
12780
12754
  }
12781
12755
  }
12782
12756
 
12783
- export class ListLoadBalancersResponseBodyLoadBalancersSessionAffinityAttributes extends $dara.Model {
12784
- /**
12785
- * @example
12786
- * Lax
12787
- */
12788
- sameSite?: string;
12789
- /**
12790
- * @example
12791
- * Always
12792
- */
12793
- secure?: string;
12794
- /**
12795
- * @example
12796
- * sticky
12797
- */
12798
- zeroDowntimeFailover?: string;
12799
- static names(): { [key: string]: string } {
12800
- return {
12801
- sameSite: 'SameSite',
12802
- secure: 'Secure',
12803
- zeroDowntimeFailover: 'ZeroDowntimeFailover',
12804
- };
12805
- }
12806
-
12807
- static types(): { [key: string]: any } {
12808
- return {
12809
- sameSite: 'string',
12810
- secure: 'string',
12811
- zeroDowntimeFailover: 'string',
12812
- };
12813
- }
12814
-
12815
- validate() {
12816
- super.validate();
12817
- }
12818
-
12819
- constructor(map?: { [key: string]: any }) {
12820
- super(map);
12821
- }
12822
- }
12823
-
12824
12757
  export class ListLoadBalancersResponseBodyLoadBalancers extends $dara.Model {
12825
12758
  adaptiveRouting?: ListLoadBalancersResponseBodyLoadBalancersAdaptiveRouting;
12826
12759
  defaultPools?: number[];
@@ -12877,7 +12810,6 @@ export class ListLoadBalancersResponseBodyLoadBalancers extends $dara.Model {
12877
12810
  * ip
12878
12811
  */
12879
12812
  sessionAffinity?: string;
12880
- sessionAffinityAttributes?: ListLoadBalancersResponseBodyLoadBalancersSessionAffinityAttributes;
12881
12813
  /**
12882
12814
  * @example
12883
12815
  * 1159101787****
@@ -12917,7 +12849,6 @@ export class ListLoadBalancersResponseBodyLoadBalancers extends $dara.Model {
12917
12849
  regionPools: 'RegionPools',
12918
12850
  rules: 'Rules',
12919
12851
  sessionAffinity: 'SessionAffinity',
12920
- sessionAffinityAttributes: 'SessionAffinityAttributes',
12921
12852
  siteId: 'SiteId',
12922
12853
  status: 'Status',
12923
12854
  steeringPolicy: 'SteeringPolicy',
@@ -12940,7 +12871,6 @@ export class ListLoadBalancersResponseBodyLoadBalancers extends $dara.Model {
12940
12871
  regionPools: 'any',
12941
12872
  rules: { 'type': 'array', 'itemType': ListLoadBalancersResponseBodyLoadBalancersRules },
12942
12873
  sessionAffinity: 'string',
12943
- sessionAffinityAttributes: ListLoadBalancersResponseBodyLoadBalancersSessionAffinityAttributes,
12944
12874
  siteId: 'number',
12945
12875
  status: 'string',
12946
12876
  steeringPolicy: 'string',
@@ -12965,9 +12895,6 @@ export class ListLoadBalancersResponseBodyLoadBalancers extends $dara.Model {
12965
12895
  if(Array.isArray(this.rules)) {
12966
12896
  $dara.Model.validateArray(this.rules);
12967
12897
  }
12968
- if(this.sessionAffinityAttributes && typeof (this.sessionAffinityAttributes as any).validate === 'function') {
12969
- (this.sessionAffinityAttributes as any).validate();
12970
- }
12971
12898
  super.validate();
12972
12899
  }
12973
12900
 
@@ -15324,6 +15251,7 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $dara.Mod
15324
15251
  * online
15325
15252
  */
15326
15253
  status?: string;
15254
+ subscribeType?: string;
15327
15255
  static names(): { [key: string]: string } {
15328
15256
  return {
15329
15257
  billingMode: 'BillingMode',
@@ -15350,6 +15278,7 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $dara.Mod
15350
15278
  smartRoutingRequest: 'SmartRoutingRequest',
15351
15279
  staticRequest: 'StaticRequest',
15352
15280
  status: 'Status',
15281
+ subscribeType: 'SubscribeType',
15353
15282
  };
15354
15283
  }
15355
15284
 
@@ -15379,6 +15308,7 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $dara.Mod
15379
15308
  smartRoutingRequest: 'string',
15380
15309
  staticRequest: 'string',
15381
15310
  status: 'string',
15311
+ subscribeType: 'string',
15382
15312
  };
15383
15313
  }
15384
15314
 
@@ -16869,47 +16799,6 @@ export class UpdateLoadBalancerRequestRules extends $dara.Model {
16869
16799
  }
16870
16800
  }
16871
16801
 
16872
- export class UpdateLoadBalancerRequestSessionAffinityAttributes extends $dara.Model {
16873
- /**
16874
- * @example
16875
- * Lax
16876
- */
16877
- sameSite?: string;
16878
- /**
16879
- * @example
16880
- * Always
16881
- */
16882
- secure?: string;
16883
- /**
16884
- * @example
16885
- * sticky
16886
- */
16887
- zeroDowntimeFailover?: string;
16888
- static names(): { [key: string]: string } {
16889
- return {
16890
- sameSite: 'SameSite',
16891
- secure: 'Secure',
16892
- zeroDowntimeFailover: 'ZeroDowntimeFailover',
16893
- };
16894
- }
16895
-
16896
- static types(): { [key: string]: any } {
16897
- return {
16898
- sameSite: 'string',
16899
- secure: 'string',
16900
- zeroDowntimeFailover: 'string',
16901
- };
16902
- }
16903
-
16904
- validate() {
16905
- super.validate();
16906
- }
16907
-
16908
- constructor(map?: { [key: string]: any }) {
16909
- super(map);
16910
- }
16911
- }
16912
-
16913
16802
  export class UpdateOriginPoolRequestOriginsAuthConf extends $dara.Model {
16914
16803
  accessKey?: string;
16915
16804
  authType?: string;
@@ -19440,104 +19329,37 @@ export class BlockObjectResponse extends $dara.Model {
19440
19329
  }
19441
19330
  }
19442
19331
 
19443
- export class CheckSiteNameRequest extends $dara.Model {
19332
+ export class CheckAssumeSlrRoleResponseBody extends $dara.Model {
19444
19333
  /**
19445
- * @remarks
19446
- * The website name.
19447
- *
19448
- * This parameter is required.
19449
- *
19450
19334
  * @example
19451
- * example.com
19335
+ * aliuid:xxx assumeOssRole not exist,serviceName:realtimelogpush.dcdnservices.aliyuncs.com
19452
19336
  */
19453
- siteName?: string;
19454
- static names(): { [key: string]: string } {
19455
- return {
19456
- siteName: 'SiteName',
19457
- };
19458
- }
19459
-
19460
- static types(): { [key: string]: any } {
19461
- return {
19462
- siteName: 'string',
19463
- };
19464
- }
19465
-
19466
- validate() {
19467
- super.validate();
19468
- }
19469
-
19470
- constructor(map?: { [key: string]: any }) {
19471
- super(map);
19472
- }
19473
- }
19474
-
19475
- export class CheckSiteNameResponseBody extends $dara.Model {
19476
- /**
19477
- * @remarks
19478
- * The description of the verification result. Valid values:
19479
- *
19480
- * * **success**: The verification is successful.
19481
- * * **Site.AlreadyExist**: The website domain name has already been added.
19482
- * * **Site.InvalidName**: Invalid website domain name.
19483
- * * **Site.SubSiteUnavailable**: Subdomains are not allowed.
19484
- * * **Site.InternalError**: An internal error occurs.
19485
- *
19486
- * @example
19487
- * success
19488
- */
19489
- description?: string;
19337
+ errorMsg?: string;
19490
19338
  /**
19491
- * @remarks
19492
- * Indicates whether a subdomain is specified. Valid values:
19493
- *
19494
- * * **true**
19495
- * * **false**
19496
- *
19497
- * @example
19498
- * false
19499
- */
19500
- isSubSite?: boolean;
19501
- /**
19502
- * @remarks
19503
- * The verification message.
19504
- */
19505
- messeage?: string;
19506
- /**
19507
- * @remarks
19508
- * Indicates whether the verification passed.
19509
- *
19510
- * * **true**
19511
- * * **false**
19512
- *
19513
19339
  * @example
19514
19340
  * true
19515
19341
  */
19516
- passed?: boolean;
19342
+ isExist?: string;
19517
19343
  /**
19518
19344
  * @remarks
19519
- * The request ID.
19345
+ * Id of the request
19520
19346
  *
19521
19347
  * @example
19522
- * CB1A380B-09F0-41BB-280B-72F8FD6DA2FE
19348
+ * 34DCBC8A-****-****-****-6DAA11D7DDBD
19523
19349
  */
19524
19350
  requestId?: string;
19525
19351
  static names(): { [key: string]: string } {
19526
19352
  return {
19527
- description: 'Description',
19528
- isSubSite: 'IsSubSite',
19529
- messeage: 'Messeage',
19530
- passed: 'Passed',
19353
+ errorMsg: 'ErrorMsg',
19354
+ isExist: 'IsExist',
19531
19355
  requestId: 'RequestId',
19532
19356
  };
19533
19357
  }
19534
19358
 
19535
19359
  static types(): { [key: string]: any } {
19536
19360
  return {
19537
- description: 'string',
19538
- isSubSite: 'boolean',
19539
- messeage: 'string',
19540
- passed: 'boolean',
19361
+ errorMsg: 'string',
19362
+ isExist: 'string',
19541
19363
  requestId: 'string',
19542
19364
  };
19543
19365
  }
@@ -19551,10 +19373,10 @@ export class CheckSiteNameResponseBody extends $dara.Model {
19551
19373
  }
19552
19374
  }
19553
19375
 
19554
- export class CheckSiteNameResponse extends $dara.Model {
19376
+ export class CheckAssumeSlrRoleResponse extends $dara.Model {
19555
19377
  headers?: { [key: string]: string };
19556
19378
  statusCode?: number;
19557
- body?: CheckSiteNameResponseBody;
19379
+ body?: CheckAssumeSlrRoleResponseBody;
19558
19380
  static names(): { [key: string]: string } {
19559
19381
  return {
19560
19382
  headers: 'headers',
@@ -19567,7 +19389,7 @@ export class CheckSiteNameResponse extends $dara.Model {
19567
19389
  return {
19568
19390
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19569
19391
  statusCode: 'number',
19570
- body: CheckSiteNameResponseBody,
19392
+ body: CheckAssumeSlrRoleResponseBody,
19571
19393
  };
19572
19394
  }
19573
19395
 
@@ -19586,36 +19408,26 @@ export class CheckSiteNameResponse extends $dara.Model {
19586
19408
  }
19587
19409
  }
19588
19410
 
19589
- export class CheckSiteProjectNameRequest extends $dara.Model {
19411
+ export class CheckSiteNameRequest extends $dara.Model {
19590
19412
  /**
19591
19413
  * @remarks
19592
- * The name of the real-time log delivery task.
19414
+ * The website name.
19593
19415
  *
19594
19416
  * This parameter is required.
19595
19417
  *
19596
19418
  * @example
19597
- * user_log
19598
- */
19599
- projectName?: string;
19600
- /**
19601
- * @remarks
19602
- * The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
19603
- *
19604
- * @example
19605
- * 12312312213212
19419
+ * example.com
19606
19420
  */
19607
- siteId?: number;
19421
+ siteName?: string;
19608
19422
  static names(): { [key: string]: string } {
19609
19423
  return {
19610
- projectName: 'ProjectName',
19611
- siteId: 'SiteId',
19424
+ siteName: 'SiteName',
19612
19425
  };
19613
19426
  }
19614
19427
 
19615
19428
  static types(): { [key: string]: any } {
19616
19429
  return {
19617
- projectName: 'string',
19618
- siteId: 'number',
19430
+ siteName: 'string',
19619
19431
  };
19620
19432
  }
19621
19433
 
@@ -19628,56 +19440,72 @@ export class CheckSiteProjectNameRequest extends $dara.Model {
19628
19440
  }
19629
19441
  }
19630
19442
 
19631
- export class CheckSiteProjectNameResponseBody extends $dara.Model {
19443
+ export class CheckSiteNameResponseBody extends $dara.Model {
19632
19444
  /**
19633
19445
  * @remarks
19634
- * Indicates whether the task name is valid. Valid values:
19446
+ * The description of the verification result. Valid values:
19635
19447
  *
19636
- * * **true**
19637
- * * **false**
19448
+ * * **success**: The verification is successful.
19449
+ * * **Site.AlreadyExist**: The website domain name has already been added.
19450
+ * * **Site.InvalidName**: Invalid website domain name.
19451
+ * * **Site.SubSiteUnavailable**: Subdomains are not allowed.
19452
+ * * **Site.InternalError**: An internal error occurs.
19638
19453
  *
19639
19454
  * @example
19640
- * true
19455
+ * success
19641
19456
  */
19642
- check?: boolean;
19457
+ description?: string;
19643
19458
  /**
19644
19459
  * @remarks
19645
- * The result description.
19460
+ * Indicates whether a subdomain is specified. Valid values:
19461
+ *
19462
+ * * **true**
19463
+ * * **false**
19646
19464
  *
19647
19465
  * @example
19648
- * project name pass the check
19466
+ * false
19649
19467
  */
19650
- description?: string;
19468
+ isSubSite?: boolean;
19651
19469
  /**
19652
19470
  * @remarks
19653
- * The name of the real-time log delivery task.
19471
+ * The verification message.
19472
+ */
19473
+ messeage?: string;
19474
+ /**
19475
+ * @remarks
19476
+ * Indicates whether the verification passed.
19477
+ *
19478
+ * * **true**
19479
+ * * **false**
19654
19480
  *
19655
19481
  * @example
19656
- * dcdn_waf_userAccount_log
19482
+ * true
19657
19483
  */
19658
- projectName?: string;
19484
+ passed?: boolean;
19659
19485
  /**
19660
19486
  * @remarks
19661
19487
  * The request ID.
19662
19488
  *
19663
19489
  * @example
19664
- * 34DCBC8A-****-****-****-6DAA11D7DDBD
19490
+ * CB1A380B-09F0-41BB-280B-72F8FD6DA2FE
19665
19491
  */
19666
19492
  requestId?: string;
19667
19493
  static names(): { [key: string]: string } {
19668
19494
  return {
19669
- check: 'Check',
19670
19495
  description: 'Description',
19671
- projectName: 'ProjectName',
19496
+ isSubSite: 'IsSubSite',
19497
+ messeage: 'Messeage',
19498
+ passed: 'Passed',
19672
19499
  requestId: 'RequestId',
19673
19500
  };
19674
19501
  }
19675
19502
 
19676
19503
  static types(): { [key: string]: any } {
19677
19504
  return {
19678
- check: 'boolean',
19679
19505
  description: 'string',
19680
- projectName: 'string',
19506
+ isSubSite: 'boolean',
19507
+ messeage: 'string',
19508
+ passed: 'boolean',
19681
19509
  requestId: 'string',
19682
19510
  };
19683
19511
  }
@@ -19691,10 +19519,10 @@ export class CheckSiteProjectNameResponseBody extends $dara.Model {
19691
19519
  }
19692
19520
  }
19693
19521
 
19694
- export class CheckSiteProjectNameResponse extends $dara.Model {
19522
+ export class CheckSiteNameResponse extends $dara.Model {
19695
19523
  headers?: { [key: string]: string };
19696
19524
  statusCode?: number;
19697
- body?: CheckSiteProjectNameResponseBody;
19525
+ body?: CheckSiteNameResponseBody;
19698
19526
  static names(): { [key: string]: string } {
19699
19527
  return {
19700
19528
  headers: 'headers',
@@ -19707,7 +19535,7 @@ export class CheckSiteProjectNameResponse extends $dara.Model {
19707
19535
  return {
19708
19536
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19709
19537
  statusCode: 'number',
19710
- body: CheckSiteProjectNameResponseBody,
19538
+ body: CheckSiteNameResponseBody,
19711
19539
  };
19712
19540
  }
19713
19541
 
@@ -19726,7 +19554,7 @@ export class CheckSiteProjectNameResponse extends $dara.Model {
19726
19554
  }
19727
19555
  }
19728
19556
 
19729
- export class CheckUserProjectNameRequest extends $dara.Model {
19557
+ export class CheckSiteProjectNameRequest extends $dara.Model {
19730
19558
  /**
19731
19559
  * @remarks
19732
19560
  * The name of the real-time log delivery task.
@@ -19734,18 +19562,28 @@ export class CheckUserProjectNameRequest extends $dara.Model {
19734
19562
  * This parameter is required.
19735
19563
  *
19736
19564
  * @example
19737
- * ali-dcdn-log-56
19565
+ * user_log
19738
19566
  */
19739
19567
  projectName?: string;
19568
+ /**
19569
+ * @remarks
19570
+ * The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
19571
+ *
19572
+ * @example
19573
+ * 12312312213212
19574
+ */
19575
+ siteId?: number;
19740
19576
  static names(): { [key: string]: string } {
19741
19577
  return {
19742
19578
  projectName: 'ProjectName',
19579
+ siteId: 'SiteId',
19743
19580
  };
19744
19581
  }
19745
19582
 
19746
19583
  static types(): { [key: string]: any } {
19747
19584
  return {
19748
19585
  projectName: 'string',
19586
+ siteId: 'number',
19749
19587
  };
19750
19588
  }
19751
19589
 
@@ -19758,10 +19596,10 @@ export class CheckUserProjectNameRequest extends $dara.Model {
19758
19596
  }
19759
19597
  }
19760
19598
 
19761
- export class CheckUserProjectNameResponseBody extends $dara.Model {
19599
+ export class CheckSiteProjectNameResponseBody extends $dara.Model {
19762
19600
  /**
19763
19601
  * @remarks
19764
- * Indicates whether the name is valid. Valid values:
19602
+ * Indicates whether the task name is valid. Valid values:
19765
19603
  *
19766
19604
  * * **true**
19767
19605
  * * **false**
@@ -19772,7 +19610,7 @@ export class CheckUserProjectNameResponseBody extends $dara.Model {
19772
19610
  check?: boolean;
19773
19611
  /**
19774
19612
  * @remarks
19775
- * The reason why the name passed or failed the check.
19613
+ * The result description.
19776
19614
  *
19777
19615
  * @example
19778
19616
  * project name pass the check
@@ -19783,7 +19621,137 @@ export class CheckUserProjectNameResponseBody extends $dara.Model {
19783
19621
  * The name of the real-time log delivery task.
19784
19622
  *
19785
19623
  * @example
19786
- * ali-dcdn-log-56
19624
+ * dcdn_waf_userAccount_log
19625
+ */
19626
+ projectName?: string;
19627
+ /**
19628
+ * @remarks
19629
+ * The request ID.
19630
+ *
19631
+ * @example
19632
+ * 34DCBC8A-****-****-****-6DAA11D7DDBD
19633
+ */
19634
+ requestId?: string;
19635
+ static names(): { [key: string]: string } {
19636
+ return {
19637
+ check: 'Check',
19638
+ description: 'Description',
19639
+ projectName: 'ProjectName',
19640
+ requestId: 'RequestId',
19641
+ };
19642
+ }
19643
+
19644
+ static types(): { [key: string]: any } {
19645
+ return {
19646
+ check: 'boolean',
19647
+ description: 'string',
19648
+ projectName: 'string',
19649
+ requestId: 'string',
19650
+ };
19651
+ }
19652
+
19653
+ validate() {
19654
+ super.validate();
19655
+ }
19656
+
19657
+ constructor(map?: { [key: string]: any }) {
19658
+ super(map);
19659
+ }
19660
+ }
19661
+
19662
+ export class CheckSiteProjectNameResponse extends $dara.Model {
19663
+ headers?: { [key: string]: string };
19664
+ statusCode?: number;
19665
+ body?: CheckSiteProjectNameResponseBody;
19666
+ static names(): { [key: string]: string } {
19667
+ return {
19668
+ headers: 'headers',
19669
+ statusCode: 'statusCode',
19670
+ body: 'body',
19671
+ };
19672
+ }
19673
+
19674
+ static types(): { [key: string]: any } {
19675
+ return {
19676
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19677
+ statusCode: 'number',
19678
+ body: CheckSiteProjectNameResponseBody,
19679
+ };
19680
+ }
19681
+
19682
+ validate() {
19683
+ if(this.headers) {
19684
+ $dara.Model.validateMap(this.headers);
19685
+ }
19686
+ if(this.body && typeof (this.body as any).validate === 'function') {
19687
+ (this.body as any).validate();
19688
+ }
19689
+ super.validate();
19690
+ }
19691
+
19692
+ constructor(map?: { [key: string]: any }) {
19693
+ super(map);
19694
+ }
19695
+ }
19696
+
19697
+ export class CheckUserProjectNameRequest extends $dara.Model {
19698
+ /**
19699
+ * @remarks
19700
+ * The name of the real-time log delivery task.
19701
+ *
19702
+ * This parameter is required.
19703
+ *
19704
+ * @example
19705
+ * ali-dcdn-log-56
19706
+ */
19707
+ projectName?: string;
19708
+ static names(): { [key: string]: string } {
19709
+ return {
19710
+ projectName: 'ProjectName',
19711
+ };
19712
+ }
19713
+
19714
+ static types(): { [key: string]: any } {
19715
+ return {
19716
+ projectName: 'string',
19717
+ };
19718
+ }
19719
+
19720
+ validate() {
19721
+ super.validate();
19722
+ }
19723
+
19724
+ constructor(map?: { [key: string]: any }) {
19725
+ super(map);
19726
+ }
19727
+ }
19728
+
19729
+ export class CheckUserProjectNameResponseBody extends $dara.Model {
19730
+ /**
19731
+ * @remarks
19732
+ * Indicates whether the name is valid. Valid values:
19733
+ *
19734
+ * * **true**
19735
+ * * **false**
19736
+ *
19737
+ * @example
19738
+ * true
19739
+ */
19740
+ check?: boolean;
19741
+ /**
19742
+ * @remarks
19743
+ * The reason why the name passed or failed the check.
19744
+ *
19745
+ * @example
19746
+ * project name pass the check
19747
+ */
19748
+ description?: string;
19749
+ /**
19750
+ * @remarks
19751
+ * The name of the real-time log delivery task.
19752
+ *
19753
+ * @example
19754
+ * ali-dcdn-log-56
19787
19755
  */
19788
19756
  projectName?: string;
19789
19757
  /**
@@ -20486,6 +20454,7 @@ export class CreateCompressionRuleRequest extends $dara.Model {
20486
20454
  * 0
20487
20455
  */
20488
20456
  siteVersion?: number;
20457
+ zstd?: string;
20489
20458
  static names(): { [key: string]: string } {
20490
20459
  return {
20491
20460
  brotli: 'Brotli',
@@ -20495,6 +20464,7 @@ export class CreateCompressionRuleRequest extends $dara.Model {
20495
20464
  ruleName: 'RuleName',
20496
20465
  siteId: 'SiteId',
20497
20466
  siteVersion: 'SiteVersion',
20467
+ zstd: 'Zstd',
20498
20468
  };
20499
20469
  }
20500
20470
 
@@ -20507,6 +20477,7 @@ export class CreateCompressionRuleRequest extends $dara.Model {
20507
20477
  ruleName: 'string',
20508
20478
  siteId: 'number',
20509
20479
  siteVersion: 'number',
20480
+ zstd: 'string',
20510
20481
  };
20511
20482
  }
20512
20483
 
@@ -22714,6 +22685,7 @@ export class CreateLoadBalancerRequest extends $dara.Model {
22714
22685
  */
22715
22686
  defaultPools?: number[];
22716
22687
  description?: string;
22688
+ enabled?: boolean;
22717
22689
  /**
22718
22690
  * @remarks
22719
22691
  * This parameter is required.
@@ -22758,7 +22730,6 @@ export class CreateLoadBalancerRequest extends $dara.Model {
22758
22730
  */
22759
22731
  rules?: CreateLoadBalancerRequestRules[];
22760
22732
  sessionAffinity?: string;
22761
- sessionAffinityAttributes?: CreateLoadBalancerRequestSessionAffinityAttributes;
22762
22733
  /**
22763
22734
  * @remarks
22764
22735
  * This parameter is required.
@@ -22779,6 +22750,7 @@ export class CreateLoadBalancerRequest extends $dara.Model {
22779
22750
  adaptiveRouting: 'AdaptiveRouting',
22780
22751
  defaultPools: 'DefaultPools',
22781
22752
  description: 'Description',
22753
+ enabled: 'Enabled',
22782
22754
  fallbackPool: 'FallbackPool',
22783
22755
  monitor: 'Monitor',
22784
22756
  name: 'Name',
@@ -22786,7 +22758,6 @@ export class CreateLoadBalancerRequest extends $dara.Model {
22786
22758
  regionPools: 'RegionPools',
22787
22759
  rules: 'Rules',
22788
22760
  sessionAffinity: 'SessionAffinity',
22789
- sessionAffinityAttributes: 'SessionAffinityAttributes',
22790
22761
  siteId: 'SiteId',
22791
22762
  steeringPolicy: 'SteeringPolicy',
22792
22763
  subRegionPools: 'SubRegionPools',
@@ -22799,6 +22770,7 @@ export class CreateLoadBalancerRequest extends $dara.Model {
22799
22770
  adaptiveRouting: CreateLoadBalancerRequestAdaptiveRouting,
22800
22771
  defaultPools: { 'type': 'array', 'itemType': 'number' },
22801
22772
  description: 'string',
22773
+ enabled: 'boolean',
22802
22774
  fallbackPool: 'number',
22803
22775
  monitor: CreateLoadBalancerRequestMonitor,
22804
22776
  name: 'string',
@@ -22806,7 +22778,6 @@ export class CreateLoadBalancerRequest extends $dara.Model {
22806
22778
  regionPools: 'any',
22807
22779
  rules: { 'type': 'array', 'itemType': CreateLoadBalancerRequestRules },
22808
22780
  sessionAffinity: 'string',
22809
- sessionAffinityAttributes: CreateLoadBalancerRequestSessionAffinityAttributes,
22810
22781
  siteId: 'number',
22811
22782
  steeringPolicy: 'string',
22812
22783
  subRegionPools: 'any',
@@ -22830,9 +22801,6 @@ export class CreateLoadBalancerRequest extends $dara.Model {
22830
22801
  if(Array.isArray(this.rules)) {
22831
22802
  $dara.Model.validateArray(this.rules);
22832
22803
  }
22833
- if(this.sessionAffinityAttributes && typeof (this.sessionAffinityAttributes as any).validate === 'function') {
22834
- (this.sessionAffinityAttributes as any).validate();
22835
- }
22836
22804
  super.validate();
22837
22805
  }
22838
22806
 
@@ -22856,6 +22824,7 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
22856
22824
  */
22857
22825
  defaultPoolsShrink?: string;
22858
22826
  description?: string;
22827
+ enabled?: boolean;
22859
22828
  /**
22860
22829
  * @remarks
22861
22830
  * This parameter is required.
@@ -22900,7 +22869,6 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
22900
22869
  */
22901
22870
  rulesShrink?: string;
22902
22871
  sessionAffinity?: string;
22903
- sessionAffinityAttributesShrink?: string;
22904
22872
  /**
22905
22873
  * @remarks
22906
22874
  * This parameter is required.
@@ -22921,6 +22889,7 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
22921
22889
  adaptiveRoutingShrink: 'AdaptiveRouting',
22922
22890
  defaultPoolsShrink: 'DefaultPools',
22923
22891
  description: 'Description',
22892
+ enabled: 'Enabled',
22924
22893
  fallbackPool: 'FallbackPool',
22925
22894
  monitorShrink: 'Monitor',
22926
22895
  name: 'Name',
@@ -22928,7 +22897,6 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
22928
22897
  regionPools: 'RegionPools',
22929
22898
  rulesShrink: 'Rules',
22930
22899
  sessionAffinity: 'SessionAffinity',
22931
- sessionAffinityAttributesShrink: 'SessionAffinityAttributes',
22932
22900
  siteId: 'SiteId',
22933
22901
  steeringPolicy: 'SteeringPolicy',
22934
22902
  subRegionPools: 'SubRegionPools',
@@ -22941,6 +22909,7 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
22941
22909
  adaptiveRoutingShrink: 'string',
22942
22910
  defaultPoolsShrink: 'string',
22943
22911
  description: 'string',
22912
+ enabled: 'boolean',
22944
22913
  fallbackPool: 'number',
22945
22914
  monitorShrink: 'string',
22946
22915
  name: 'string',
@@ -22948,7 +22917,6 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
22948
22917
  regionPools: 'any',
22949
22918
  rulesShrink: 'string',
22950
22919
  sessionAffinity: 'string',
22951
- sessionAffinityAttributesShrink: 'string',
22952
22920
  siteId: 'number',
22953
22921
  steeringPolicy: 'string',
22954
22922
  subRegionPools: 'any',
@@ -26142,6 +26110,71 @@ export class CreateSiteDeliveryTaskResponse extends $dara.Model {
26142
26110
  }
26143
26111
  }
26144
26112
 
26113
+ export class CreateSlrRoleForRealtimeLogResponseBody extends $dara.Model {
26114
+ /**
26115
+ * @remarks
26116
+ * Id of the request
26117
+ *
26118
+ * @example
26119
+ * 156A6B-677B1A-4297B7-9187B7-2B44792
26120
+ */
26121
+ requestId?: string;
26122
+ static names(): { [key: string]: string } {
26123
+ return {
26124
+ requestId: 'RequestId',
26125
+ };
26126
+ }
26127
+
26128
+ static types(): { [key: string]: any } {
26129
+ return {
26130
+ requestId: 'string',
26131
+ };
26132
+ }
26133
+
26134
+ validate() {
26135
+ super.validate();
26136
+ }
26137
+
26138
+ constructor(map?: { [key: string]: any }) {
26139
+ super(map);
26140
+ }
26141
+ }
26142
+
26143
+ export class CreateSlrRoleForRealtimeLogResponse extends $dara.Model {
26144
+ headers?: { [key: string]: string };
26145
+ statusCode?: number;
26146
+ body?: CreateSlrRoleForRealtimeLogResponseBody;
26147
+ static names(): { [key: string]: string } {
26148
+ return {
26149
+ headers: 'headers',
26150
+ statusCode: 'statusCode',
26151
+ body: 'body',
26152
+ };
26153
+ }
26154
+
26155
+ static types(): { [key: string]: any } {
26156
+ return {
26157
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
26158
+ statusCode: 'number',
26159
+ body: CreateSlrRoleForRealtimeLogResponseBody,
26160
+ };
26161
+ }
26162
+
26163
+ validate() {
26164
+ if(this.headers) {
26165
+ $dara.Model.validateMap(this.headers);
26166
+ }
26167
+ if(this.body && typeof (this.body as any).validate === 'function') {
26168
+ (this.body as any).validate();
26169
+ }
26170
+ super.validate();
26171
+ }
26172
+
26173
+ constructor(map?: { [key: string]: any }) {
26174
+ super(map);
26175
+ }
26176
+ }
26177
+
26145
26178
  export class CreateUserDeliveryTaskRequest extends $dara.Model {
26146
26179
  /**
26147
26180
  * @remarks
@@ -27021,15 +27054,18 @@ export class CreateWaitingRoomResponseBody extends $dara.Model {
27021
27054
  * 85H66C7B-671A-4297-9187-2C4477247A74
27022
27055
  */
27023
27056
  requestId?: string;
27057
+ waitingRoomId?: string;
27024
27058
  static names(): { [key: string]: string } {
27025
27059
  return {
27026
27060
  requestId: 'RequestId',
27061
+ waitingRoomId: 'WaitingRoomId',
27027
27062
  };
27028
27063
  }
27029
27064
 
27030
27065
  static types(): { [key: string]: any } {
27031
27066
  return {
27032
27067
  requestId: 'string',
27068
+ waitingRoomId: 'string',
27033
27069
  };
27034
27070
  }
27035
27071
 
@@ -27356,15 +27392,18 @@ export class CreateWaitingRoomEventResponseBody extends $dara.Model {
27356
27392
  * 15C66C7B-671A-4297-9187-2C4477247A123425345
27357
27393
  */
27358
27394
  requestId?: string;
27395
+ waitingRoomEventId?: number;
27359
27396
  static names(): { [key: string]: string } {
27360
27397
  return {
27361
27398
  requestId: 'RequestId',
27399
+ waitingRoomEventId: 'WaitingRoomEventId',
27362
27400
  };
27363
27401
  }
27364
27402
 
27365
27403
  static types(): { [key: string]: any } {
27366
27404
  return {
27367
27405
  requestId: 'string',
27406
+ waitingRoomEventId: 'number',
27368
27407
  };
27369
27408
  }
27370
27409
 
@@ -27504,15 +27543,18 @@ export class CreateWaitingRoomRuleResponseBody extends $dara.Model {
27504
27543
  * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
27505
27544
  */
27506
27545
  requestId?: string;
27546
+ waitingRoomRuleId?: number;
27507
27547
  static names(): { [key: string]: string } {
27508
27548
  return {
27509
27549
  requestId: 'RequestId',
27550
+ waitingRoomRuleId: 'WaitingRoomRuleId',
27510
27551
  };
27511
27552
  }
27512
27553
 
27513
27554
  static types(): { [key: string]: any } {
27514
27555
  return {
27515
27556
  requestId: 'string',
27557
+ waitingRoomRuleId: 'number',
27516
27558
  };
27517
27559
  }
27518
27560
 
@@ -33239,6 +33281,112 @@ export class DescribePurgeTasksResponse extends $dara.Model {
33239
33281
  }
33240
33282
  }
33241
33283
 
33284
+ export class DescribeRatePlanInstanceStatusRequest extends $dara.Model {
33285
+ /**
33286
+ * @example
33287
+ * xcdn-91fknmb80f0g***
33288
+ */
33289
+ instanceId?: string;
33290
+ static names(): { [key: string]: string } {
33291
+ return {
33292
+ instanceId: 'InstanceId',
33293
+ };
33294
+ }
33295
+
33296
+ static types(): { [key: string]: any } {
33297
+ return {
33298
+ instanceId: 'string',
33299
+ };
33300
+ }
33301
+
33302
+ validate() {
33303
+ super.validate();
33304
+ }
33305
+
33306
+ constructor(map?: { [key: string]: any }) {
33307
+ super(map);
33308
+ }
33309
+ }
33310
+
33311
+ export class DescribeRatePlanInstanceStatusResponseBody extends $dara.Model {
33312
+ /**
33313
+ * @example
33314
+ * xcdn-91fknmb80f0g***
33315
+ */
33316
+ instanceId?: string;
33317
+ /**
33318
+ * @example
33319
+ * running
33320
+ */
33321
+ instanceStatus?: string;
33322
+ /**
33323
+ * @remarks
33324
+ * Id of the request
33325
+ *
33326
+ * @example
33327
+ * 60423A7F-A83D-1E24-B80E-86DD25790759
33328
+ */
33329
+ requestId?: string;
33330
+ static names(): { [key: string]: string } {
33331
+ return {
33332
+ instanceId: 'InstanceId',
33333
+ instanceStatus: 'InstanceStatus',
33334
+ requestId: 'RequestId',
33335
+ };
33336
+ }
33337
+
33338
+ static types(): { [key: string]: any } {
33339
+ return {
33340
+ instanceId: 'string',
33341
+ instanceStatus: 'string',
33342
+ requestId: 'string',
33343
+ };
33344
+ }
33345
+
33346
+ validate() {
33347
+ super.validate();
33348
+ }
33349
+
33350
+ constructor(map?: { [key: string]: any }) {
33351
+ super(map);
33352
+ }
33353
+ }
33354
+
33355
+ export class DescribeRatePlanInstanceStatusResponse extends $dara.Model {
33356
+ headers?: { [key: string]: string };
33357
+ statusCode?: number;
33358
+ body?: DescribeRatePlanInstanceStatusResponseBody;
33359
+ static names(): { [key: string]: string } {
33360
+ return {
33361
+ headers: 'headers',
33362
+ statusCode: 'statusCode',
33363
+ body: 'body',
33364
+ };
33365
+ }
33366
+
33367
+ static types(): { [key: string]: any } {
33368
+ return {
33369
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
33370
+ statusCode: 'number',
33371
+ body: DescribeRatePlanInstanceStatusResponseBody,
33372
+ };
33373
+ }
33374
+
33375
+ validate() {
33376
+ if(this.headers) {
33377
+ $dara.Model.validateMap(this.headers);
33378
+ }
33379
+ if(this.body && typeof (this.body as any).validate === 'function') {
33380
+ (this.body as any).validate();
33381
+ }
33382
+ super.validate();
33383
+ }
33384
+
33385
+ constructor(map?: { [key: string]: any }) {
33386
+ super(map);
33387
+ }
33388
+ }
33389
+
33242
33390
  export class DisableCustomScenePolicyRequest extends $dara.Model {
33243
33391
  /**
33244
33392
  * @remarks
@@ -35174,6 +35322,7 @@ export class GetCompressionRuleResponseBody extends $dara.Model {
35174
35322
  * 0
35175
35323
  */
35176
35324
  siteVersion?: number;
35325
+ zstd?: string;
35177
35326
  static names(): { [key: string]: string } {
35178
35327
  return {
35179
35328
  brotli: 'Brotli',
@@ -35186,6 +35335,7 @@ export class GetCompressionRuleResponseBody extends $dara.Model {
35186
35335
  ruleName: 'RuleName',
35187
35336
  sequence: 'Sequence',
35188
35337
  siteVersion: 'SiteVersion',
35338
+ zstd: 'Zstd',
35189
35339
  };
35190
35340
  }
35191
35341
 
@@ -35201,6 +35351,7 @@ export class GetCompressionRuleResponseBody extends $dara.Model {
35201
35351
  ruleName: 'string',
35202
35352
  sequence: 'number',
35203
35353
  siteVersion: 'number',
35354
+ zstd: 'string',
35204
35355
  };
35205
35356
  }
35206
35357
 
@@ -50119,6 +50270,7 @@ export class ListUserRatePlanInstancesRequest extends $dara.Model {
50119
50270
  * false
50120
50271
  */
50121
50272
  status?: string;
50273
+ subscribeType?: string;
50122
50274
  static names(): { [key: string]: string } {
50123
50275
  return {
50124
50276
  checkRemainingSiteQuota: 'CheckRemainingSiteQuota',
@@ -50129,6 +50281,7 @@ export class ListUserRatePlanInstancesRequest extends $dara.Model {
50129
50281
  sortBy: 'SortBy',
50130
50282
  sortOrder: 'SortOrder',
50131
50283
  status: 'Status',
50284
+ subscribeType: 'SubscribeType',
50132
50285
  };
50133
50286
  }
50134
50287
 
@@ -50142,6 +50295,7 @@ export class ListUserRatePlanInstancesRequest extends $dara.Model {
50142
50295
  sortBy: 'string',
50143
50296
  sortOrder: 'string',
50144
50297
  status: 'string',
50298
+ subscribeType: 'string',
50145
50299
  };
50146
50300
  }
50147
50301
 
@@ -52095,6 +52249,164 @@ export class PublishRoutineCodeVersionResponse extends $dara.Model {
52095
52249
  }
52096
52250
  }
52097
52251
 
52252
+ export class PurchaseRatePlanRequest extends $dara.Model {
52253
+ autoPay?: boolean;
52254
+ /**
52255
+ * @example
52256
+ * true
52257
+ */
52258
+ autoRenew?: boolean;
52259
+ /**
52260
+ * @example
52261
+ * PREPAY
52262
+ */
52263
+ chargeType?: string;
52264
+ /**
52265
+ * @example
52266
+ * domestic
52267
+ */
52268
+ coverage?: string;
52269
+ /**
52270
+ * @example
52271
+ * 1
52272
+ */
52273
+ period?: number;
52274
+ /**
52275
+ * @example
52276
+ * entranceplan
52277
+ */
52278
+ planCode?: string;
52279
+ /**
52280
+ * @example
52281
+ * basic
52282
+ */
52283
+ planName?: string;
52284
+ /**
52285
+ * @example
52286
+ * test.com
52287
+ */
52288
+ siteName?: string;
52289
+ /**
52290
+ * @example
52291
+ * CNAME
52292
+ */
52293
+ type?: string;
52294
+ static names(): { [key: string]: string } {
52295
+ return {
52296
+ autoPay: 'AutoPay',
52297
+ autoRenew: 'AutoRenew',
52298
+ chargeType: 'ChargeType',
52299
+ coverage: 'Coverage',
52300
+ period: 'Period',
52301
+ planCode: 'PlanCode',
52302
+ planName: 'PlanName',
52303
+ siteName: 'SiteName',
52304
+ type: 'Type',
52305
+ };
52306
+ }
52307
+
52308
+ static types(): { [key: string]: any } {
52309
+ return {
52310
+ autoPay: 'boolean',
52311
+ autoRenew: 'boolean',
52312
+ chargeType: 'string',
52313
+ coverage: 'string',
52314
+ period: 'number',
52315
+ planCode: 'string',
52316
+ planName: 'string',
52317
+ siteName: 'string',
52318
+ type: 'string',
52319
+ };
52320
+ }
52321
+
52322
+ validate() {
52323
+ super.validate();
52324
+ }
52325
+
52326
+ constructor(map?: { [key: string]: any }) {
52327
+ super(map);
52328
+ }
52329
+ }
52330
+
52331
+ export class PurchaseRatePlanResponseBody extends $dara.Model {
52332
+ /**
52333
+ * @example
52334
+ * xcdn-ads11w
52335
+ */
52336
+ instanceId?: string;
52337
+ /**
52338
+ * @example
52339
+ * 123123
52340
+ */
52341
+ orderId?: string;
52342
+ /**
52343
+ * @remarks
52344
+ * Id of the request
52345
+ *
52346
+ * @example
52347
+ * 30423A7F-A83D-1E24-B80E-86DD25790758
52348
+ */
52349
+ requestId?: string;
52350
+ static names(): { [key: string]: string } {
52351
+ return {
52352
+ instanceId: 'InstanceId',
52353
+ orderId: 'OrderId',
52354
+ requestId: 'RequestId',
52355
+ };
52356
+ }
52357
+
52358
+ static types(): { [key: string]: any } {
52359
+ return {
52360
+ instanceId: 'string',
52361
+ orderId: 'string',
52362
+ requestId: 'string',
52363
+ };
52364
+ }
52365
+
52366
+ validate() {
52367
+ super.validate();
52368
+ }
52369
+
52370
+ constructor(map?: { [key: string]: any }) {
52371
+ super(map);
52372
+ }
52373
+ }
52374
+
52375
+ export class PurchaseRatePlanResponse extends $dara.Model {
52376
+ headers?: { [key: string]: string };
52377
+ statusCode?: number;
52378
+ body?: PurchaseRatePlanResponseBody;
52379
+ static names(): { [key: string]: string } {
52380
+ return {
52381
+ headers: 'headers',
52382
+ statusCode: 'statusCode',
52383
+ body: 'body',
52384
+ };
52385
+ }
52386
+
52387
+ static types(): { [key: string]: any } {
52388
+ return {
52389
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
52390
+ statusCode: 'number',
52391
+ body: PurchaseRatePlanResponseBody,
52392
+ };
52393
+ }
52394
+
52395
+ validate() {
52396
+ if(this.headers) {
52397
+ $dara.Model.validateMap(this.headers);
52398
+ }
52399
+ if(this.body && typeof (this.body as any).validate === 'function') {
52400
+ (this.body as any).validate();
52401
+ }
52402
+ super.validate();
52403
+ }
52404
+
52405
+ constructor(map?: { [key: string]: any }) {
52406
+ super(map);
52407
+ }
52408
+ }
52409
+
52098
52410
  export class PurgeCachesRequest extends $dara.Model {
52099
52411
  /**
52100
52412
  * @remarks
@@ -53369,14 +53681,6 @@ export class SetCertificateRequest extends $dara.Model {
53369
53681
  * cas
53370
53682
  */
53371
53683
  type?: string;
53372
- /**
53373
- * @remarks
53374
- * Specifies whether to update the certificate.
53375
- *
53376
- * @example
53377
- * true
53378
- */
53379
- update?: boolean;
53380
53684
  static names(): { [key: string]: string } {
53381
53685
  return {
53382
53686
  casId: 'CasId',
@@ -53389,7 +53693,6 @@ export class SetCertificateRequest extends $dara.Model {
53389
53693
  securityToken: 'SecurityToken',
53390
53694
  siteId: 'SiteId',
53391
53695
  type: 'Type',
53392
- update: 'Update',
53393
53696
  };
53394
53697
  }
53395
53698
 
@@ -53405,7 +53708,6 @@ export class SetCertificateRequest extends $dara.Model {
53405
53708
  securityToken: 'string',
53406
53709
  siteId: 'number',
53407
53710
  type: 'string',
53408
- update: 'boolean',
53409
53711
  };
53410
53712
  }
53411
53713
 
@@ -55025,6 +55327,7 @@ export class UpdateCompressionRuleRequest extends $dara.Model {
55025
55327
  * 5407498413****
55026
55328
  */
55027
55329
  siteId?: number;
55330
+ zstd?: string;
55028
55331
  static names(): { [key: string]: string } {
55029
55332
  return {
55030
55333
  brotli: 'Brotli',
@@ -55034,6 +55337,7 @@ export class UpdateCompressionRuleRequest extends $dara.Model {
55034
55337
  ruleEnable: 'RuleEnable',
55035
55338
  ruleName: 'RuleName',
55036
55339
  siteId: 'SiteId',
55340
+ zstd: 'Zstd',
55037
55341
  };
55038
55342
  }
55039
55343
 
@@ -55046,6 +55350,7 @@ export class UpdateCompressionRuleRequest extends $dara.Model {
55046
55350
  ruleEnable: 'string',
55047
55351
  ruleName: 'string',
55048
55352
  siteId: 'number',
55353
+ zstd: 'string',
55049
55354
  };
55050
55355
  }
55051
55356
 
@@ -56453,160 +56758,6 @@ export class UpdateImageTransformResponse extends $dara.Model {
56453
56758
  }
56454
56759
  }
56455
56760
 
56456
- export class UpdateKvNamespaceRequest extends $dara.Model {
56457
- /**
56458
- * @remarks
56459
- * The name of the namespace that you specify when you call the [CreateKvNamespace](https://help.aliyun.com/document_detail/2850317.html) operation.
56460
- *
56461
- * This parameter is required.
56462
- *
56463
- * @example
56464
- * ns1
56465
- */
56466
- namespace?: string;
56467
- /**
56468
- * @remarks
56469
- * The new name of the namespace.
56470
- *
56471
- * This parameter is required.
56472
- *
56473
- * @example
56474
- * new_ns
56475
- */
56476
- title?: string;
56477
- static names(): { [key: string]: string } {
56478
- return {
56479
- namespace: 'Namespace',
56480
- title: 'Title',
56481
- };
56482
- }
56483
-
56484
- static types(): { [key: string]: any } {
56485
- return {
56486
- namespace: 'string',
56487
- title: 'string',
56488
- };
56489
- }
56490
-
56491
- validate() {
56492
- super.validate();
56493
- }
56494
-
56495
- constructor(map?: { [key: string]: any }) {
56496
- super(map);
56497
- }
56498
- }
56499
-
56500
- export class UpdateKvNamespaceResponseBody extends $dara.Model {
56501
- /**
56502
- * @remarks
56503
- * The description of the namespace.
56504
- *
56505
- * @example
56506
- * this is a test ns.
56507
- */
56508
- description?: string;
56509
- /**
56510
- * @remarks
56511
- * The updated name of the namespace.
56512
- *
56513
- * @example
56514
- * new_ns1
56515
- */
56516
- namespace?: string;
56517
- /**
56518
- * @remarks
56519
- * The ID of the namespace.
56520
- *
56521
- * @example
56522
- * 643355322374688768
56523
- */
56524
- namespaceId?: string;
56525
- /**
56526
- * @remarks
56527
- * The request ID.
56528
- *
56529
- * @example
56530
- * 0AEDAF20-4DDF-4165-8750-47FF9C1929C9
56531
- */
56532
- requestId?: string;
56533
- /**
56534
- * @remarks
56535
- * The status of the namespace. Valid values:
56536
- *
56537
- * * **online**: normal.
56538
- * * **delete**: pending deletion.
56539
- * * **deleting**: being deleted.
56540
- * * **deleted**: deleted.
56541
- *
56542
- * @example
56543
- * online
56544
- */
56545
- status?: string;
56546
- static names(): { [key: string]: string } {
56547
- return {
56548
- description: 'Description',
56549
- namespace: 'Namespace',
56550
- namespaceId: 'NamespaceId',
56551
- requestId: 'RequestId',
56552
- status: 'Status',
56553
- };
56554
- }
56555
-
56556
- static types(): { [key: string]: any } {
56557
- return {
56558
- description: 'string',
56559
- namespace: 'string',
56560
- namespaceId: 'string',
56561
- requestId: 'string',
56562
- status: 'string',
56563
- };
56564
- }
56565
-
56566
- validate() {
56567
- super.validate();
56568
- }
56569
-
56570
- constructor(map?: { [key: string]: any }) {
56571
- super(map);
56572
- }
56573
- }
56574
-
56575
- export class UpdateKvNamespaceResponse extends $dara.Model {
56576
- headers?: { [key: string]: string };
56577
- statusCode?: number;
56578
- body?: UpdateKvNamespaceResponseBody;
56579
- static names(): { [key: string]: string } {
56580
- return {
56581
- headers: 'headers',
56582
- statusCode: 'statusCode',
56583
- body: 'body',
56584
- };
56585
- }
56586
-
56587
- static types(): { [key: string]: any } {
56588
- return {
56589
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
56590
- statusCode: 'number',
56591
- body: UpdateKvNamespaceResponseBody,
56592
- };
56593
- }
56594
-
56595
- validate() {
56596
- if(this.headers) {
56597
- $dara.Model.validateMap(this.headers);
56598
- }
56599
- if(this.body && typeof (this.body as any).validate === 'function') {
56600
- (this.body as any).validate();
56601
- }
56602
- super.validate();
56603
- }
56604
-
56605
- constructor(map?: { [key: string]: any }) {
56606
- super(map);
56607
- }
56608
- }
56609
-
56610
56761
  export class UpdateListRequest extends $dara.Model {
56611
56762
  /**
56612
56763
  * @remarks
@@ -56815,6 +56966,7 @@ export class UpdateLoadBalancerRequest extends $dara.Model {
56815
56966
  adaptiveRouting?: UpdateLoadBalancerRequestAdaptiveRouting;
56816
56967
  defaultPools?: number[];
56817
56968
  description?: string;
56969
+ enabled?: boolean;
56818
56970
  /**
56819
56971
  * @example
56820
56972
  * 96228666776****
@@ -56860,7 +57012,6 @@ export class UpdateLoadBalancerRequest extends $dara.Model {
56860
57012
  * ip
56861
57013
  */
56862
57014
  sessionAffinity?: string;
56863
- sessionAffinityAttributes?: UpdateLoadBalancerRequestSessionAffinityAttributes;
56864
57015
  /**
56865
57016
  * @remarks
56866
57017
  * This parameter is required.
@@ -56889,6 +57040,7 @@ export class UpdateLoadBalancerRequest extends $dara.Model {
56889
57040
  adaptiveRouting: 'AdaptiveRouting',
56890
57041
  defaultPools: 'DefaultPools',
56891
57042
  description: 'Description',
57043
+ enabled: 'Enabled',
56892
57044
  fallbackPool: 'FallbackPool',
56893
57045
  id: 'Id',
56894
57046
  monitor: 'Monitor',
@@ -56896,7 +57048,6 @@ export class UpdateLoadBalancerRequest extends $dara.Model {
56896
57048
  regionPools: 'RegionPools',
56897
57049
  rules: 'Rules',
56898
57050
  sessionAffinity: 'SessionAffinity',
56899
- sessionAffinityAttributes: 'SessionAffinityAttributes',
56900
57051
  siteId: 'SiteId',
56901
57052
  steeringPolicy: 'SteeringPolicy',
56902
57053
  subRegionPools: 'SubRegionPools',
@@ -56909,6 +57060,7 @@ export class UpdateLoadBalancerRequest extends $dara.Model {
56909
57060
  adaptiveRouting: UpdateLoadBalancerRequestAdaptiveRouting,
56910
57061
  defaultPools: { 'type': 'array', 'itemType': 'number' },
56911
57062
  description: 'string',
57063
+ enabled: 'boolean',
56912
57064
  fallbackPool: 'number',
56913
57065
  id: 'number',
56914
57066
  monitor: UpdateLoadBalancerRequestMonitor,
@@ -56916,7 +57068,6 @@ export class UpdateLoadBalancerRequest extends $dara.Model {
56916
57068
  regionPools: 'any',
56917
57069
  rules: { 'type': 'array', 'itemType': UpdateLoadBalancerRequestRules },
56918
57070
  sessionAffinity: 'string',
56919
- sessionAffinityAttributes: UpdateLoadBalancerRequestSessionAffinityAttributes,
56920
57071
  siteId: 'number',
56921
57072
  steeringPolicy: 'string',
56922
57073
  subRegionPools: 'any',
@@ -56940,9 +57091,6 @@ export class UpdateLoadBalancerRequest extends $dara.Model {
56940
57091
  if(Array.isArray(this.rules)) {
56941
57092
  $dara.Model.validateArray(this.rules);
56942
57093
  }
56943
- if(this.sessionAffinityAttributes && typeof (this.sessionAffinityAttributes as any).validate === 'function') {
56944
- (this.sessionAffinityAttributes as any).validate();
56945
- }
56946
57094
  super.validate();
56947
57095
  }
56948
57096
 
@@ -56955,6 +57103,7 @@ export class UpdateLoadBalancerShrinkRequest extends $dara.Model {
56955
57103
  adaptiveRoutingShrink?: string;
56956
57104
  defaultPoolsShrink?: string;
56957
57105
  description?: string;
57106
+ enabled?: boolean;
56958
57107
  /**
56959
57108
  * @example
56960
57109
  * 96228666776****
@@ -57000,7 +57149,6 @@ export class UpdateLoadBalancerShrinkRequest extends $dara.Model {
57000
57149
  * ip
57001
57150
  */
57002
57151
  sessionAffinity?: string;
57003
- sessionAffinityAttributesShrink?: string;
57004
57152
  /**
57005
57153
  * @remarks
57006
57154
  * This parameter is required.
@@ -57029,6 +57177,7 @@ export class UpdateLoadBalancerShrinkRequest extends $dara.Model {
57029
57177
  adaptiveRoutingShrink: 'AdaptiveRouting',
57030
57178
  defaultPoolsShrink: 'DefaultPools',
57031
57179
  description: 'Description',
57180
+ enabled: 'Enabled',
57032
57181
  fallbackPool: 'FallbackPool',
57033
57182
  id: 'Id',
57034
57183
  monitorShrink: 'Monitor',
@@ -57036,7 +57185,6 @@ export class UpdateLoadBalancerShrinkRequest extends $dara.Model {
57036
57185
  regionPools: 'RegionPools',
57037
57186
  rulesShrink: 'Rules',
57038
57187
  sessionAffinity: 'SessionAffinity',
57039
- sessionAffinityAttributesShrink: 'SessionAffinityAttributes',
57040
57188
  siteId: 'SiteId',
57041
57189
  steeringPolicy: 'SteeringPolicy',
57042
57190
  subRegionPools: 'SubRegionPools',
@@ -57049,6 +57197,7 @@ export class UpdateLoadBalancerShrinkRequest extends $dara.Model {
57049
57197
  adaptiveRoutingShrink: 'string',
57050
57198
  defaultPoolsShrink: 'string',
57051
57199
  description: 'string',
57200
+ enabled: 'boolean',
57052
57201
  fallbackPool: 'number',
57053
57202
  id: 'number',
57054
57203
  monitorShrink: 'string',
@@ -57056,7 +57205,6 @@ export class UpdateLoadBalancerShrinkRequest extends $dara.Model {
57056
57205
  regionPools: 'any',
57057
57206
  rulesShrink: 'string',
57058
57207
  sessionAffinity: 'string',
57059
- sessionAffinityAttributesShrink: 'string',
57060
57208
  siteId: 'number',
57061
57209
  steeringPolicy: 'string',
57062
57210
  subRegionPools: 'any',
@@ -58092,6 +58240,143 @@ export class UpdatePageResponse extends $dara.Model {
58092
58240
  }
58093
58241
  }
58094
58242
 
58243
+ export class UpdateRatePlanSpecRequest extends $dara.Model {
58244
+ autoPay?: boolean;
58245
+ /**
58246
+ * @example
58247
+ * PREPAY
58248
+ */
58249
+ chargeType?: string;
58250
+ /**
58251
+ * @example
58252
+ * xcdn-91fknmb80f0g
58253
+ */
58254
+ instanceId?: string;
58255
+ /**
58256
+ * @example
58257
+ * UPGRADE
58258
+ */
58259
+ orderType?: string;
58260
+ /**
58261
+ * @example
58262
+ * entranceplan
58263
+ */
58264
+ targetPlanCode?: string;
58265
+ /**
58266
+ * @example
58267
+ * basic
58268
+ */
58269
+ targetPlanName?: string;
58270
+ static names(): { [key: string]: string } {
58271
+ return {
58272
+ autoPay: 'AutoPay',
58273
+ chargeType: 'ChargeType',
58274
+ instanceId: 'InstanceId',
58275
+ orderType: 'OrderType',
58276
+ targetPlanCode: 'TargetPlanCode',
58277
+ targetPlanName: 'TargetPlanName',
58278
+ };
58279
+ }
58280
+
58281
+ static types(): { [key: string]: any } {
58282
+ return {
58283
+ autoPay: 'boolean',
58284
+ chargeType: 'string',
58285
+ instanceId: 'string',
58286
+ orderType: 'string',
58287
+ targetPlanCode: 'string',
58288
+ targetPlanName: 'string',
58289
+ };
58290
+ }
58291
+
58292
+ validate() {
58293
+ super.validate();
58294
+ }
58295
+
58296
+ constructor(map?: { [key: string]: any }) {
58297
+ super(map);
58298
+ }
58299
+ }
58300
+
58301
+ export class UpdateRatePlanSpecResponseBody extends $dara.Model {
58302
+ /**
58303
+ * @example
58304
+ * xcdn-as23ds***
58305
+ */
58306
+ instanceId?: string;
58307
+ /**
58308
+ * @example
58309
+ * 2223332122***
58310
+ */
58311
+ orderId?: string;
58312
+ /**
58313
+ * @remarks
58314
+ * Id of the request
58315
+ *
58316
+ * @example
58317
+ * 30423A7F-A83D-1E24-B80E-86DD25790758
58318
+ */
58319
+ requestId?: string;
58320
+ static names(): { [key: string]: string } {
58321
+ return {
58322
+ instanceId: 'InstanceId',
58323
+ orderId: 'OrderId',
58324
+ requestId: 'RequestId',
58325
+ };
58326
+ }
58327
+
58328
+ static types(): { [key: string]: any } {
58329
+ return {
58330
+ instanceId: 'string',
58331
+ orderId: 'string',
58332
+ requestId: 'string',
58333
+ };
58334
+ }
58335
+
58336
+ validate() {
58337
+ super.validate();
58338
+ }
58339
+
58340
+ constructor(map?: { [key: string]: any }) {
58341
+ super(map);
58342
+ }
58343
+ }
58344
+
58345
+ export class UpdateRatePlanSpecResponse extends $dara.Model {
58346
+ headers?: { [key: string]: string };
58347
+ statusCode?: number;
58348
+ body?: UpdateRatePlanSpecResponseBody;
58349
+ static names(): { [key: string]: string } {
58350
+ return {
58351
+ headers: 'headers',
58352
+ statusCode: 'statusCode',
58353
+ body: 'body',
58354
+ };
58355
+ }
58356
+
58357
+ static types(): { [key: string]: any } {
58358
+ return {
58359
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
58360
+ statusCode: 'number',
58361
+ body: UpdateRatePlanSpecResponseBody,
58362
+ };
58363
+ }
58364
+
58365
+ validate() {
58366
+ if(this.headers) {
58367
+ $dara.Model.validateMap(this.headers);
58368
+ }
58369
+ if(this.body && typeof (this.body as any).validate === 'function') {
58370
+ (this.body as any).validate();
58371
+ }
58372
+ super.validate();
58373
+ }
58374
+
58375
+ constructor(map?: { [key: string]: any }) {
58376
+ super(map);
58377
+ }
58378
+ }
58379
+
58095
58380
  export class UpdateRecordRequest extends $dara.Model {
58096
58381
  /**
58097
58382
  * @remarks
@@ -62793,6 +63078,43 @@ export default class Client extends OpenApi {
62793
63078
  return await this.blockObjectWithOptions(request, runtime);
62794
63079
  }
62795
63080
 
63081
+ /**
63082
+ * 检查实时日志slr角色是否已创建
63083
+ *
63084
+ * @param request - CheckAssumeSlrRoleRequest
63085
+ * @param runtime - runtime options for this request RuntimeOptions
63086
+ * @returns CheckAssumeSlrRoleResponse
63087
+ */
63088
+ async checkAssumeSlrRoleWithOptions(runtime: $dara.RuntimeOptions): Promise<CheckAssumeSlrRoleResponse> {
63089
+ let req = new $OpenApiUtil.OpenApiRequest({ });
63090
+ let params = new $OpenApiUtil.Params({
63091
+ action: "CheckAssumeSlrRole",
63092
+ version: "2024-09-10",
63093
+ protocol: "HTTPS",
63094
+ pathname: "/",
63095
+ method: "GET",
63096
+ authType: "AK",
63097
+ style: "RPC",
63098
+ reqBodyType: "formData",
63099
+ bodyType: "json",
63100
+ });
63101
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
63102
+ return $dara.cast<CheckAssumeSlrRoleResponse>(await this.callApi(params, req, runtime), new CheckAssumeSlrRoleResponse({}));
63103
+ } else {
63104
+ return $dara.cast<CheckAssumeSlrRoleResponse>(await this.execute(params, req, runtime), new CheckAssumeSlrRoleResponse({}));
63105
+ }
63106
+
63107
+ }
63108
+
63109
+ /**
63110
+ * 检查实时日志slr角色是否已创建
63111
+ * @returns CheckAssumeSlrRoleResponse
63112
+ */
63113
+ async checkAssumeSlrRole(): Promise<CheckAssumeSlrRoleResponse> {
63114
+ let runtime = new $dara.RuntimeOptions({ });
63115
+ return await this.checkAssumeSlrRoleWithOptions(runtime);
63116
+ }
63117
+
62796
63118
  /**
62797
63119
  * Checks whether a specified website name is available.
62798
63120
  *
@@ -63219,6 +63541,10 @@ export default class Client extends OpenApi {
63219
63541
  query["SiteVersion"] = request.siteVersion;
63220
63542
  }
63221
63543
 
63544
+ if (!$dara.isNull(request.zstd)) {
63545
+ query["Zstd"] = request.zstd;
63546
+ }
63547
+
63222
63548
  let req = new $OpenApiUtil.OpenApiRequest({
63223
63549
  query: OpenApiUtil.query(query),
63224
63550
  });
@@ -64096,10 +64422,6 @@ export default class Client extends OpenApi {
64096
64422
  request.rulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
64097
64423
  }
64098
64424
 
64099
- if (!$dara.isNull(tmpReq.sessionAffinityAttributes)) {
64100
- request.sessionAffinityAttributesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sessionAffinityAttributes, "SessionAffinityAttributes", "json");
64101
- }
64102
-
64103
64425
  let query = { };
64104
64426
  if (!$dara.isNull(request.adaptiveRoutingShrink)) {
64105
64427
  query["AdaptiveRouting"] = request.adaptiveRoutingShrink;
@@ -64113,6 +64435,10 @@ export default class Client extends OpenApi {
64113
64435
  query["Description"] = request.description;
64114
64436
  }
64115
64437
 
64438
+ if (!$dara.isNull(request.enabled)) {
64439
+ query["Enabled"] = request.enabled;
64440
+ }
64441
+
64116
64442
  if (!$dara.isNull(request.fallbackPool)) {
64117
64443
  query["FallbackPool"] = request.fallbackPool;
64118
64444
  }
@@ -64141,10 +64467,6 @@ export default class Client extends OpenApi {
64141
64467
  query["SessionAffinity"] = request.sessionAffinity;
64142
64468
  }
64143
64469
 
64144
- if (!$dara.isNull(request.sessionAffinityAttributesShrink)) {
64145
- query["SessionAffinityAttributes"] = request.sessionAffinityAttributesShrink;
64146
- }
64147
-
64148
64470
  if (!$dara.isNull(request.siteId)) {
64149
64471
  query["SiteId"] = request.siteId;
64150
64472
  }
@@ -65352,6 +65674,43 @@ export default class Client extends OpenApi {
65352
65674
  return await this.createSiteDeliveryTaskWithOptions(request, runtime);
65353
65675
  }
65354
65676
 
65677
+ /**
65678
+ * 创建一个实时日志slr角色
65679
+ *
65680
+ * @param request - CreateSlrRoleForRealtimeLogRequest
65681
+ * @param runtime - runtime options for this request RuntimeOptions
65682
+ * @returns CreateSlrRoleForRealtimeLogResponse
65683
+ */
65684
+ async createSlrRoleForRealtimeLogWithOptions(runtime: $dara.RuntimeOptions): Promise<CreateSlrRoleForRealtimeLogResponse> {
65685
+ let req = new $OpenApiUtil.OpenApiRequest({ });
65686
+ let params = new $OpenApiUtil.Params({
65687
+ action: "CreateSlrRoleForRealtimeLog",
65688
+ version: "2024-09-10",
65689
+ protocol: "HTTPS",
65690
+ pathname: "/",
65691
+ method: "POST",
65692
+ authType: "AK",
65693
+ style: "RPC",
65694
+ reqBodyType: "formData",
65695
+ bodyType: "json",
65696
+ });
65697
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
65698
+ return $dara.cast<CreateSlrRoleForRealtimeLogResponse>(await this.callApi(params, req, runtime), new CreateSlrRoleForRealtimeLogResponse({}));
65699
+ } else {
65700
+ return $dara.cast<CreateSlrRoleForRealtimeLogResponse>(await this.execute(params, req, runtime), new CreateSlrRoleForRealtimeLogResponse({}));
65701
+ }
65702
+
65703
+ }
65704
+
65705
+ /**
65706
+ * 创建一个实时日志slr角色
65707
+ * @returns CreateSlrRoleForRealtimeLogResponse
65708
+ */
65709
+ async createSlrRoleForRealtimeLog(): Promise<CreateSlrRoleForRealtimeLogResponse> {
65710
+ let runtime = new $dara.RuntimeOptions({ });
65711
+ return await this.createSlrRoleForRealtimeLogWithOptions(runtime);
65712
+ }
65713
+
65355
65714
  /**
65356
65715
  * Creates a log delivery task to ship logs to the specified destination.
65357
65716
  *
@@ -68182,6 +68541,53 @@ export default class Client extends OpenApi {
68182
68541
  return await this.describePurgeTasksWithOptions(request, runtime);
68183
68542
  }
68184
68543
 
68544
+ /**
68545
+ * 查询套餐实例状态
68546
+ *
68547
+ * @param request - DescribeRatePlanInstanceStatusRequest
68548
+ * @param runtime - runtime options for this request RuntimeOptions
68549
+ * @returns DescribeRatePlanInstanceStatusResponse
68550
+ */
68551
+ async describeRatePlanInstanceStatusWithOptions(request: DescribeRatePlanInstanceStatusRequest, runtime: $dara.RuntimeOptions): Promise<DescribeRatePlanInstanceStatusResponse> {
68552
+ request.validate();
68553
+ let query = { };
68554
+ if (!$dara.isNull(request.instanceId)) {
68555
+ query["InstanceId"] = request.instanceId;
68556
+ }
68557
+
68558
+ let req = new $OpenApiUtil.OpenApiRequest({
68559
+ query: OpenApiUtil.query(query),
68560
+ });
68561
+ let params = new $OpenApiUtil.Params({
68562
+ action: "DescribeRatePlanInstanceStatus",
68563
+ version: "2024-09-10",
68564
+ protocol: "HTTPS",
68565
+ pathname: "/",
68566
+ method: "POST",
68567
+ authType: "AK",
68568
+ style: "RPC",
68569
+ reqBodyType: "formData",
68570
+ bodyType: "json",
68571
+ });
68572
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
68573
+ return $dara.cast<DescribeRatePlanInstanceStatusResponse>(await this.callApi(params, req, runtime), new DescribeRatePlanInstanceStatusResponse({}));
68574
+ } else {
68575
+ return $dara.cast<DescribeRatePlanInstanceStatusResponse>(await this.execute(params, req, runtime), new DescribeRatePlanInstanceStatusResponse({}));
68576
+ }
68577
+
68578
+ }
68579
+
68580
+ /**
68581
+ * 查询套餐实例状态
68582
+ *
68583
+ * @param request - DescribeRatePlanInstanceStatusRequest
68584
+ * @returns DescribeRatePlanInstanceStatusResponse
68585
+ */
68586
+ async describeRatePlanInstanceStatus(request: DescribeRatePlanInstanceStatusRequest): Promise<DescribeRatePlanInstanceStatusResponse> {
68587
+ let runtime = new $dara.RuntimeOptions({ });
68588
+ return await this.describeRatePlanInstanceStatusWithOptions(request, runtime);
68589
+ }
68590
+
68185
68591
  /**
68186
68592
  * Disables a scenario-specific policy.
68187
68593
  *
@@ -73668,6 +74074,85 @@ export default class Client extends OpenApi {
73668
74074
  return await this.publishRoutineCodeVersionWithOptions(request, runtime);
73669
74075
  }
73670
74076
 
74077
+ /**
74078
+ * 新购套餐
74079
+ *
74080
+ * @param request - PurchaseRatePlanRequest
74081
+ * @param runtime - runtime options for this request RuntimeOptions
74082
+ * @returns PurchaseRatePlanResponse
74083
+ */
74084
+ async purchaseRatePlanWithOptions(request: PurchaseRatePlanRequest, runtime: $dara.RuntimeOptions): Promise<PurchaseRatePlanResponse> {
74085
+ request.validate();
74086
+ let query = { };
74087
+ if (!$dara.isNull(request.autoPay)) {
74088
+ query["AutoPay"] = request.autoPay;
74089
+ }
74090
+
74091
+ if (!$dara.isNull(request.autoRenew)) {
74092
+ query["AutoRenew"] = request.autoRenew;
74093
+ }
74094
+
74095
+ if (!$dara.isNull(request.chargeType)) {
74096
+ query["ChargeType"] = request.chargeType;
74097
+ }
74098
+
74099
+ if (!$dara.isNull(request.coverage)) {
74100
+ query["Coverage"] = request.coverage;
74101
+ }
74102
+
74103
+ if (!$dara.isNull(request.period)) {
74104
+ query["Period"] = request.period;
74105
+ }
74106
+
74107
+ if (!$dara.isNull(request.planCode)) {
74108
+ query["PlanCode"] = request.planCode;
74109
+ }
74110
+
74111
+ if (!$dara.isNull(request.planName)) {
74112
+ query["PlanName"] = request.planName;
74113
+ }
74114
+
74115
+ if (!$dara.isNull(request.siteName)) {
74116
+ query["SiteName"] = request.siteName;
74117
+ }
74118
+
74119
+ if (!$dara.isNull(request.type)) {
74120
+ query["Type"] = request.type;
74121
+ }
74122
+
74123
+ let req = new $OpenApiUtil.OpenApiRequest({
74124
+ query: OpenApiUtil.query(query),
74125
+ });
74126
+ let params = new $OpenApiUtil.Params({
74127
+ action: "PurchaseRatePlan",
74128
+ version: "2024-09-10",
74129
+ protocol: "HTTPS",
74130
+ pathname: "/",
74131
+ method: "POST",
74132
+ authType: "AK",
74133
+ style: "RPC",
74134
+ reqBodyType: "formData",
74135
+ bodyType: "json",
74136
+ });
74137
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
74138
+ return $dara.cast<PurchaseRatePlanResponse>(await this.callApi(params, req, runtime), new PurchaseRatePlanResponse({}));
74139
+ } else {
74140
+ return $dara.cast<PurchaseRatePlanResponse>(await this.execute(params, req, runtime), new PurchaseRatePlanResponse({}));
74141
+ }
74142
+
74143
+ }
74144
+
74145
+ /**
74146
+ * 新购套餐
74147
+ *
74148
+ * @param request - PurchaseRatePlanRequest
74149
+ * @returns PurchaseRatePlanResponse
74150
+ */
74151
+ async purchaseRatePlan(request: PurchaseRatePlanRequest): Promise<PurchaseRatePlanResponse> {
74152
+ let runtime = new $dara.RuntimeOptions({ });
74153
+ return await this.purchaseRatePlanWithOptions(request, runtime);
74154
+ }
74155
+
73671
74156
  /**
73672
74157
  * Purges resources cached on points of presence (POPs). You can purge the cache by file URL, directory, cache tag, hostname, or URL with specified parameters ignored, or purge all the cache.
73673
74158
  *
@@ -74257,10 +74742,6 @@ export default class Client extends OpenApi {
74257
74742
  body["Type"] = request.type;
74258
74743
  }
74259
74744
 
74260
- if (!$dara.isNull(request.update)) {
74261
- body["Update"] = request.update;
74262
- }
74263
-
74264
74745
  let req = new $OpenApiUtil.OpenApiRequest({
74265
74746
  query: OpenApiUtil.query(query),
74266
74747
  body: OpenApiUtil.parseToMap(body),
@@ -74920,6 +75401,10 @@ export default class Client extends OpenApi {
74920
75401
  query["SiteId"] = request.siteId;
74921
75402
  }
74922
75403
 
75404
+ if (!$dara.isNull(request.zstd)) {
75405
+ query["Zstd"] = request.zstd;
75406
+ }
75407
+
74923
75408
  let req = new $OpenApiUtil.OpenApiRequest({
74924
75409
  query: OpenApiUtil.query(query),
74925
75410
  });
@@ -75541,57 +76026,6 @@ export default class Client extends OpenApi {
75541
76026
  return await this.updateImageTransformWithOptions(request, runtime);
75542
76027
  }
75543
76028
 
75544
- /**
75545
- * Updates the name of a namespace in Edge KV.
75546
- *
75547
- * @param request - UpdateKvNamespaceRequest
75548
- * @param runtime - runtime options for this request RuntimeOptions
75549
- * @returns UpdateKvNamespaceResponse
75550
- */
75551
- async updateKvNamespaceWithOptions(request: UpdateKvNamespaceRequest, runtime: $dara.RuntimeOptions): Promise<UpdateKvNamespaceResponse> {
75552
- request.validate();
75553
- let query = { };
75554
- if (!$dara.isNull(request.namespace)) {
75555
- query["Namespace"] = request.namespace;
75556
- }
75557
-
75558
- if (!$dara.isNull(request.title)) {
75559
- query["Title"] = request.title;
75560
- }
75561
-
75562
- let req = new $OpenApiUtil.OpenApiRequest({
75563
- query: OpenApiUtil.query(query),
75564
- });
75565
- let params = new $OpenApiUtil.Params({
75566
- action: "UpdateKvNamespace",
75567
- version: "2024-09-10",
75568
- protocol: "HTTPS",
75569
- pathname: "/",
75570
- method: "POST",
75571
- authType: "AK",
75572
- style: "RPC",
75573
- reqBodyType: "formData",
75574
- bodyType: "json",
75575
- });
75576
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
75577
- return $dara.cast<UpdateKvNamespaceResponse>(await this.callApi(params, req, runtime), new UpdateKvNamespaceResponse({}));
75578
- } else {
75579
- return $dara.cast<UpdateKvNamespaceResponse>(await this.execute(params, req, runtime), new UpdateKvNamespaceResponse({}));
75580
- }
75581
-
75582
- }
75583
-
75584
- /**
75585
- * Updates the name of a namespace in Edge KV.
75586
- *
75587
- * @param request - UpdateKvNamespaceRequest
75588
- * @returns UpdateKvNamespaceResponse
75589
- */
75590
- async updateKvNamespace(request: UpdateKvNamespaceRequest): Promise<UpdateKvNamespaceResponse> {
75591
- let runtime = new $dara.RuntimeOptions({ });
75592
- return await this.updateKvNamespaceWithOptions(request, runtime);
75593
- }
75594
-
75595
76029
  /**
75596
76030
  * Updates a custom list.
75597
76031
  *
@@ -75688,10 +76122,6 @@ export default class Client extends OpenApi {
75688
76122
  request.rulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
75689
76123
  }
75690
76124
 
75691
- if (!$dara.isNull(tmpReq.sessionAffinityAttributes)) {
75692
- request.sessionAffinityAttributesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sessionAffinityAttributes, "SessionAffinityAttributes", "json");
75693
- }
75694
-
75695
76125
  let query = { };
75696
76126
  if (!$dara.isNull(request.adaptiveRoutingShrink)) {
75697
76127
  query["AdaptiveRouting"] = request.adaptiveRoutingShrink;
@@ -75705,6 +76135,10 @@ export default class Client extends OpenApi {
75705
76135
  query["Description"] = request.description;
75706
76136
  }
75707
76137
 
76138
+ if (!$dara.isNull(request.enabled)) {
76139
+ query["Enabled"] = request.enabled;
76140
+ }
76141
+
75708
76142
  if (!$dara.isNull(request.fallbackPool)) {
75709
76143
  query["FallbackPool"] = request.fallbackPool;
75710
76144
  }
@@ -75733,10 +76167,6 @@ export default class Client extends OpenApi {
75733
76167
  query["SessionAffinity"] = request.sessionAffinity;
75734
76168
  }
75735
76169
 
75736
- if (!$dara.isNull(request.sessionAffinityAttributesShrink)) {
75737
- query["SessionAffinityAttributes"] = request.sessionAffinityAttributesShrink;
75738
- }
75739
-
75740
76170
  if (!$dara.isNull(request.siteId)) {
75741
76171
  query["SiteId"] = request.siteId;
75742
76172
  }
@@ -76245,6 +76675,73 @@ export default class Client extends OpenApi {
76245
76675
  return await this.updatePageWithOptions(request, runtime);
76246
76676
  }
76247
76677
 
76678
+ /**
76679
+ * 套餐变配
76680
+ *
76681
+ * @param request - UpdateRatePlanSpecRequest
76682
+ * @param runtime - runtime options for this request RuntimeOptions
76683
+ * @returns UpdateRatePlanSpecResponse
76684
+ */
76685
+ async updateRatePlanSpecWithOptions(request: UpdateRatePlanSpecRequest, runtime: $dara.RuntimeOptions): Promise<UpdateRatePlanSpecResponse> {
76686
+ request.validate();
76687
+ let query = { };
76688
+ if (!$dara.isNull(request.autoPay)) {
76689
+ query["AutoPay"] = request.autoPay;
76690
+ }
76691
+
76692
+ if (!$dara.isNull(request.chargeType)) {
76693
+ query["ChargeType"] = request.chargeType;
76694
+ }
76695
+
76696
+ if (!$dara.isNull(request.instanceId)) {
76697
+ query["InstanceId"] = request.instanceId;
76698
+ }
76699
+
76700
+ if (!$dara.isNull(request.orderType)) {
76701
+ query["OrderType"] = request.orderType;
76702
+ }
76703
+
76704
+ if (!$dara.isNull(request.targetPlanCode)) {
76705
+ query["TargetPlanCode"] = request.targetPlanCode;
76706
+ }
76707
+
76708
+ if (!$dara.isNull(request.targetPlanName)) {
76709
+ query["TargetPlanName"] = request.targetPlanName;
76710
+ }
76711
+
76712
+ let req = new $OpenApiUtil.OpenApiRequest({
76713
+ query: OpenApiUtil.query(query),
76714
+ });
76715
+ let params = new $OpenApiUtil.Params({
76716
+ action: "UpdateRatePlanSpec",
76717
+ version: "2024-09-10",
76718
+ protocol: "HTTPS",
76719
+ pathname: "/",
76720
+ method: "POST",
76721
+ authType: "AK",
76722
+ style: "RPC",
76723
+ reqBodyType: "formData",
76724
+ bodyType: "json",
76725
+ });
76726
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
76727
+ return $dara.cast<UpdateRatePlanSpecResponse>(await this.callApi(params, req, runtime), new UpdateRatePlanSpecResponse({}));
76728
+ } else {
76729
+ return $dara.cast<UpdateRatePlanSpecResponse>(await this.execute(params, req, runtime), new UpdateRatePlanSpecResponse({}));
76730
+ }
76731
+
76732
+ }
76733
+
76734
+ /**
76735
+ * 套餐变配
76736
+ *
76737
+ * @param request - UpdateRatePlanSpecRequest
76738
+ * @returns UpdateRatePlanSpecResponse
76739
+ */
76740
+ async updateRatePlanSpec(request: UpdateRatePlanSpecRequest): Promise<UpdateRatePlanSpecResponse> {
76741
+ let runtime = new $dara.RuntimeOptions({ });
76742
+ return await this.updateRatePlanSpecWithOptions(request, runtime);
76743
+ }
76744
+
76248
76745
  /**
76249
76746
  * Updates multiple types of DNS records and origin authentication configurations.
76250
76747
  *