@alicloud/esa20240910 2.8.4 → 2.9.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
@@ -568,6 +568,110 @@ export class ActivateClientCertificateResponse extends $tea.Model {
568
568
  }
569
569
  }
570
570
 
571
+ export class ApplyCertificateRequest extends $tea.Model {
572
+ /**
573
+ * @remarks
574
+ * This parameter is required.
575
+ *
576
+ * @example
577
+ * www.example.com,blog.example.com
578
+ */
579
+ domains?: string;
580
+ /**
581
+ * @remarks
582
+ * This parameter is required.
583
+ *
584
+ * @example
585
+ * 1234567890123
586
+ */
587
+ siteId?: number;
588
+ type?: string;
589
+ static names(): { [key: string]: string } {
590
+ return {
591
+ domains: 'Domains',
592
+ siteId: 'SiteId',
593
+ type: 'Type',
594
+ };
595
+ }
596
+
597
+ static types(): { [key: string]: any } {
598
+ return {
599
+ domains: 'string',
600
+ siteId: 'number',
601
+ type: 'string',
602
+ };
603
+ }
604
+
605
+ constructor(map?: { [key: string]: any }) {
606
+ super(map);
607
+ }
608
+ }
609
+
610
+ export class ApplyCertificateResponseBody extends $tea.Model {
611
+ /**
612
+ * @example
613
+ * 156A6B-677B1A-4297B7-9187B7-2B44792
614
+ */
615
+ requestId?: string;
616
+ result?: ApplyCertificateResponseBodyResult[];
617
+ /**
618
+ * @example
619
+ * example.com
620
+ */
621
+ siteName?: string;
622
+ /**
623
+ * @example
624
+ * 2
625
+ */
626
+ totalCount?: number;
627
+ static names(): { [key: string]: string } {
628
+ return {
629
+ requestId: 'RequestId',
630
+ result: 'Result',
631
+ siteName: 'SiteName',
632
+ totalCount: 'TotalCount',
633
+ };
634
+ }
635
+
636
+ static types(): { [key: string]: any } {
637
+ return {
638
+ requestId: 'string',
639
+ result: { 'type': 'array', 'itemType': ApplyCertificateResponseBodyResult },
640
+ siteName: 'string',
641
+ totalCount: 'number',
642
+ };
643
+ }
644
+
645
+ constructor(map?: { [key: string]: any }) {
646
+ super(map);
647
+ }
648
+ }
649
+
650
+ export class ApplyCertificateResponse extends $tea.Model {
651
+ headers?: { [key: string]: string };
652
+ statusCode?: number;
653
+ body?: ApplyCertificateResponseBody;
654
+ static names(): { [key: string]: string } {
655
+ return {
656
+ headers: 'headers',
657
+ statusCode: 'statusCode',
658
+ body: 'body',
659
+ };
660
+ }
661
+
662
+ static types(): { [key: string]: any } {
663
+ return {
664
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
665
+ statusCode: 'number',
666
+ body: ApplyCertificateResponseBody,
667
+ };
668
+ }
669
+
670
+ constructor(map?: { [key: string]: any }) {
671
+ super(map);
672
+ }
673
+ }
674
+
571
675
  export class BatchCreateRecordsRequest extends $tea.Model {
572
676
  /**
573
677
  * @remarks
@@ -3429,6 +3533,135 @@ export class CreateListResponse extends $tea.Model {
3429
3533
  }
3430
3534
  }
3431
3535
 
3536
+ export class CreateOriginPoolRequest extends $tea.Model {
3537
+ enabled?: boolean;
3538
+ /**
3539
+ * @remarks
3540
+ * This parameter is required.
3541
+ *
3542
+ * @example
3543
+ * CreateOriginPool
3544
+ */
3545
+ name?: string;
3546
+ origins?: CreateOriginPoolRequestOrigins[];
3547
+ /**
3548
+ * @remarks
3549
+ * This parameter is required.
3550
+ */
3551
+ siteId?: number;
3552
+ static names(): { [key: string]: string } {
3553
+ return {
3554
+ enabled: 'Enabled',
3555
+ name: 'Name',
3556
+ origins: 'Origins',
3557
+ siteId: 'SiteId',
3558
+ };
3559
+ }
3560
+
3561
+ static types(): { [key: string]: any } {
3562
+ return {
3563
+ enabled: 'boolean',
3564
+ name: 'string',
3565
+ origins: { 'type': 'array', 'itemType': CreateOriginPoolRequestOrigins },
3566
+ siteId: 'number',
3567
+ };
3568
+ }
3569
+
3570
+ constructor(map?: { [key: string]: any }) {
3571
+ super(map);
3572
+ }
3573
+ }
3574
+
3575
+ export class CreateOriginPoolShrinkRequest extends $tea.Model {
3576
+ enabled?: boolean;
3577
+ /**
3578
+ * @remarks
3579
+ * This parameter is required.
3580
+ *
3581
+ * @example
3582
+ * CreateOriginPool
3583
+ */
3584
+ name?: string;
3585
+ originsShrink?: string;
3586
+ /**
3587
+ * @remarks
3588
+ * This parameter is required.
3589
+ */
3590
+ siteId?: number;
3591
+ static names(): { [key: string]: string } {
3592
+ return {
3593
+ enabled: 'Enabled',
3594
+ name: 'Name',
3595
+ originsShrink: 'Origins',
3596
+ siteId: 'SiteId',
3597
+ };
3598
+ }
3599
+
3600
+ static types(): { [key: string]: any } {
3601
+ return {
3602
+ enabled: 'boolean',
3603
+ name: 'string',
3604
+ originsShrink: 'string',
3605
+ siteId: 'number',
3606
+ };
3607
+ }
3608
+
3609
+ constructor(map?: { [key: string]: any }) {
3610
+ super(map);
3611
+ }
3612
+ }
3613
+
3614
+ export class CreateOriginPoolResponseBody extends $tea.Model {
3615
+ id?: number;
3616
+ /**
3617
+ * @remarks
3618
+ * Id of the request
3619
+ */
3620
+ requestId?: string;
3621
+ static names(): { [key: string]: string } {
3622
+ return {
3623
+ id: 'Id',
3624
+ requestId: 'RequestId',
3625
+ };
3626
+ }
3627
+
3628
+ static types(): { [key: string]: any } {
3629
+ return {
3630
+ id: 'number',
3631
+ requestId: 'string',
3632
+ };
3633
+ }
3634
+
3635
+ constructor(map?: { [key: string]: any }) {
3636
+ super(map);
3637
+ }
3638
+ }
3639
+
3640
+ export class CreateOriginPoolResponse extends $tea.Model {
3641
+ headers?: { [key: string]: string };
3642
+ statusCode?: number;
3643
+ body?: CreateOriginPoolResponseBody;
3644
+ static names(): { [key: string]: string } {
3645
+ return {
3646
+ headers: 'headers',
3647
+ statusCode: 'statusCode',
3648
+ body: 'body',
3649
+ };
3650
+ }
3651
+
3652
+ static types(): { [key: string]: any } {
3653
+ return {
3654
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3655
+ statusCode: 'number',
3656
+ body: CreateOriginPoolResponseBody,
3657
+ };
3658
+ }
3659
+
3660
+ constructor(map?: { [key: string]: any }) {
3661
+ super(map);
3662
+ }
3663
+ }
3664
+
3432
3665
  export class CreateOriginProtectionRequest extends $tea.Model {
3433
3666
  /**
3434
3667
  * @remarks
@@ -5504,6 +5737,7 @@ export class CreateUserDeliveryTaskRequest extends $tea.Model {
5504
5737
  * sls
5505
5738
  */
5506
5739
  deliveryType?: string;
5740
+ details?: string;
5507
5741
  /**
5508
5742
  * @remarks
5509
5743
  * The discard rate. Default value: 0.
@@ -5562,6 +5796,7 @@ export class CreateUserDeliveryTaskRequest extends $tea.Model {
5562
5796
  businessType: 'BusinessType',
5563
5797
  dataCenter: 'DataCenter',
5564
5798
  deliveryType: 'DeliveryType',
5799
+ details: 'Details',
5565
5800
  discardRate: 'DiscardRate',
5566
5801
  fieldName: 'FieldName',
5567
5802
  httpDelivery: 'HttpDelivery',
@@ -5578,6 +5813,7 @@ export class CreateUserDeliveryTaskRequest extends $tea.Model {
5578
5813
  businessType: 'string',
5579
5814
  dataCenter: 'string',
5580
5815
  deliveryType: 'string',
5816
+ details: 'string',
5581
5817
  discardRate: 'number',
5582
5818
  fieldName: 'string',
5583
5819
  httpDelivery: CreateUserDeliveryTaskRequestHttpDelivery,
@@ -5640,6 +5876,7 @@ export class CreateUserDeliveryTaskShrinkRequest extends $tea.Model {
5640
5876
  * sls
5641
5877
  */
5642
5878
  deliveryType?: string;
5879
+ details?: string;
5643
5880
  /**
5644
5881
  * @remarks
5645
5882
  * The discard rate. Default value: 0.
@@ -5698,6 +5935,7 @@ export class CreateUserDeliveryTaskShrinkRequest extends $tea.Model {
5698
5935
  businessType: 'BusinessType',
5699
5936
  dataCenter: 'DataCenter',
5700
5937
  deliveryType: 'DeliveryType',
5938
+ details: 'Details',
5701
5939
  discardRate: 'DiscardRate',
5702
5940
  fieldName: 'FieldName',
5703
5941
  httpDeliveryShrink: 'HttpDelivery',
@@ -5714,6 +5952,7 @@ export class CreateUserDeliveryTaskShrinkRequest extends $tea.Model {
5714
5952
  businessType: 'string',
5715
5953
  dataCenter: 'string',
5716
5954
  deliveryType: 'string',
5955
+ details: 'string',
5717
5956
  discardRate: 'number',
5718
5957
  fieldName: 'string',
5719
5958
  httpDeliveryShrink: 'string',
@@ -7736,6 +7975,87 @@ export class DeleteListResponse extends $tea.Model {
7736
7975
  }
7737
7976
  }
7738
7977
 
7978
+ export class DeleteOriginPoolRequest extends $tea.Model {
7979
+ /**
7980
+ * @remarks
7981
+ * This parameter is required.
7982
+ *
7983
+ * @example
7984
+ * DeleteOriginPool
7985
+ */
7986
+ id?: number;
7987
+ /**
7988
+ * @remarks
7989
+ * This parameter is required.
7990
+ */
7991
+ siteId?: number;
7992
+ static names(): { [key: string]: string } {
7993
+ return {
7994
+ id: 'Id',
7995
+ siteId: 'SiteId',
7996
+ };
7997
+ }
7998
+
7999
+ static types(): { [key: string]: any } {
8000
+ return {
8001
+ id: 'number',
8002
+ siteId: 'number',
8003
+ };
8004
+ }
8005
+
8006
+ constructor(map?: { [key: string]: any }) {
8007
+ super(map);
8008
+ }
8009
+ }
8010
+
8011
+ export class DeleteOriginPoolResponseBody extends $tea.Model {
8012
+ /**
8013
+ * @remarks
8014
+ * Id of the request
8015
+ */
8016
+ requestId?: string;
8017
+ static names(): { [key: string]: string } {
8018
+ return {
8019
+ requestId: 'RequestId',
8020
+ };
8021
+ }
8022
+
8023
+ static types(): { [key: string]: any } {
8024
+ return {
8025
+ requestId: 'string',
8026
+ };
8027
+ }
8028
+
8029
+ constructor(map?: { [key: string]: any }) {
8030
+ super(map);
8031
+ }
8032
+ }
8033
+
8034
+ export class DeleteOriginPoolResponse extends $tea.Model {
8035
+ headers?: { [key: string]: string };
8036
+ statusCode?: number;
8037
+ body?: DeleteOriginPoolResponseBody;
8038
+ static names(): { [key: string]: string } {
8039
+ return {
8040
+ headers: 'headers',
8041
+ statusCode: 'statusCode',
8042
+ body: 'body',
8043
+ };
8044
+ }
8045
+
8046
+ static types(): { [key: string]: any } {
8047
+ return {
8048
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8049
+ statusCode: 'number',
8050
+ body: DeleteOriginPoolResponseBody,
8051
+ };
8052
+ }
8053
+
8054
+ constructor(map?: { [key: string]: any }) {
8055
+ super(map);
8056
+ }
8057
+ }
8058
+
7739
8059
  export class DeleteOriginProtectionRequest extends $tea.Model {
7740
8060
  /**
7741
8061
  * @remarks
@@ -9444,6 +9764,278 @@ export class DescribeDDoSAllEventListResponse extends $tea.Model {
9444
9764
  }
9445
9765
  }
9446
9766
 
9767
+ export class DescribeDDoSBpsListRequest extends $tea.Model {
9768
+ coverage?: string;
9769
+ /**
9770
+ * @example
9771
+ * 2023-05-18T06:19:42Z
9772
+ */
9773
+ endTime?: string;
9774
+ /**
9775
+ * @remarks
9776
+ * This parameter is required.
9777
+ *
9778
+ * @example
9779
+ * 70966210986912
9780
+ */
9781
+ siteId?: number;
9782
+ /**
9783
+ * @remarks
9784
+ * This parameter is required.
9785
+ *
9786
+ * @example
9787
+ * 2023-05-14T17:00:00Z
9788
+ */
9789
+ startTime?: string;
9790
+ static names(): { [key: string]: string } {
9791
+ return {
9792
+ coverage: 'Coverage',
9793
+ endTime: 'EndTime',
9794
+ siteId: 'SiteId',
9795
+ startTime: 'StartTime',
9796
+ };
9797
+ }
9798
+
9799
+ static types(): { [key: string]: any } {
9800
+ return {
9801
+ coverage: 'string',
9802
+ endTime: 'string',
9803
+ siteId: 'number',
9804
+ startTime: 'string',
9805
+ };
9806
+ }
9807
+
9808
+ constructor(map?: { [key: string]: any }) {
9809
+ super(map);
9810
+ }
9811
+ }
9812
+
9813
+ export class DescribeDDoSBpsListResponseBody extends $tea.Model {
9814
+ /**
9815
+ * @example
9816
+ * 300
9817
+ */
9818
+ dataInterval?: number;
9819
+ dataModule?: DescribeDDoSBpsListResponseBodyDataModule[];
9820
+ /**
9821
+ * @example
9822
+ * 2023-05-18T06:19:42Z
9823
+ */
9824
+ endTime?: string;
9825
+ /**
9826
+ * @remarks
9827
+ * Id of the request
9828
+ *
9829
+ * @example
9830
+ * 156A6B-677B1A-4297B7-9187B7-2B44792
9831
+ */
9832
+ requestId?: string;
9833
+ /**
9834
+ * @example
9835
+ * 2023-05-14T17:00:00Z
9836
+ */
9837
+ startTime?: string;
9838
+ static names(): { [key: string]: string } {
9839
+ return {
9840
+ dataInterval: 'DataInterval',
9841
+ dataModule: 'DataModule',
9842
+ endTime: 'EndTime',
9843
+ requestId: 'RequestId',
9844
+ startTime: 'StartTime',
9845
+ };
9846
+ }
9847
+
9848
+ static types(): { [key: string]: any } {
9849
+ return {
9850
+ dataInterval: 'number',
9851
+ dataModule: { 'type': 'array', 'itemType': DescribeDDoSBpsListResponseBodyDataModule },
9852
+ endTime: 'string',
9853
+ requestId: 'string',
9854
+ startTime: 'string',
9855
+ };
9856
+ }
9857
+
9858
+ constructor(map?: { [key: string]: any }) {
9859
+ super(map);
9860
+ }
9861
+ }
9862
+
9863
+ export class DescribeDDoSBpsListResponse extends $tea.Model {
9864
+ headers?: { [key: string]: string };
9865
+ statusCode?: number;
9866
+ body?: DescribeDDoSBpsListResponseBody;
9867
+ static names(): { [key: string]: string } {
9868
+ return {
9869
+ headers: 'headers',
9870
+ statusCode: 'statusCode',
9871
+ body: 'body',
9872
+ };
9873
+ }
9874
+
9875
+ static types(): { [key: string]: any } {
9876
+ return {
9877
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9878
+ statusCode: 'number',
9879
+ body: DescribeDDoSBpsListResponseBody,
9880
+ };
9881
+ }
9882
+
9883
+ constructor(map?: { [key: string]: any }) {
9884
+ super(map);
9885
+ }
9886
+ }
9887
+
9888
+ export class DescribeDDoSL7QpsListRequest extends $tea.Model {
9889
+ /**
9890
+ * @example
9891
+ * 2023-04-19T19:00:00Z
9892
+ */
9893
+ endTime?: string;
9894
+ /**
9895
+ * @remarks
9896
+ * This parameter is required.
9897
+ *
9898
+ * @example
9899
+ * 300
9900
+ */
9901
+ interval?: number;
9902
+ /**
9903
+ * @example
9904
+ * 86510927836942****
9905
+ */
9906
+ recordId?: number;
9907
+ /**
9908
+ * @remarks
9909
+ * This parameter is required.
9910
+ *
9911
+ * @example
9912
+ * 123456****
9913
+ */
9914
+ siteId?: number;
9915
+ /**
9916
+ * @remarks
9917
+ * A short description of struct
9918
+ *
9919
+ * This parameter is required.
9920
+ *
9921
+ * @example
9922
+ * 2023-04-19T16:00:00Z
9923
+ */
9924
+ startTime?: string;
9925
+ static names(): { [key: string]: string } {
9926
+ return {
9927
+ endTime: 'EndTime',
9928
+ interval: 'Interval',
9929
+ recordId: 'RecordId',
9930
+ siteId: 'SiteId',
9931
+ startTime: 'StartTime',
9932
+ };
9933
+ }
9934
+
9935
+ static types(): { [key: string]: any } {
9936
+ return {
9937
+ endTime: 'string',
9938
+ interval: 'number',
9939
+ recordId: 'number',
9940
+ siteId: 'number',
9941
+ startTime: 'string',
9942
+ };
9943
+ }
9944
+
9945
+ constructor(map?: { [key: string]: any }) {
9946
+ super(map);
9947
+ }
9948
+ }
9949
+
9950
+ export class DescribeDDoSL7QpsListResponseBody extends $tea.Model {
9951
+ /**
9952
+ * @example
9953
+ * 300
9954
+ */
9955
+ dataInterval?: number;
9956
+ dataModule?: DescribeDDoSL7QpsListResponseBodyDataModule[];
9957
+ /**
9958
+ * @example
9959
+ * 2023-04-19T19:00:00Z
9960
+ */
9961
+ endTime?: string;
9962
+ /**
9963
+ * @example
9964
+ * 86510927836942****
9965
+ */
9966
+ recordId?: number;
9967
+ /**
9968
+ * @remarks
9969
+ * Id of the request
9970
+ *
9971
+ * @example
9972
+ * 156A6B-677B1A-4297B7-9187B7-2B44792
9973
+ */
9974
+ requestId?: string;
9975
+ /**
9976
+ * @example
9977
+ * 123456****
9978
+ */
9979
+ siteId?: number;
9980
+ /**
9981
+ * @example
9982
+ * 2023-04-19T16:00:00Z
9983
+ */
9984
+ startTime?: string;
9985
+ static names(): { [key: string]: string } {
9986
+ return {
9987
+ dataInterval: 'DataInterval',
9988
+ dataModule: 'DataModule',
9989
+ endTime: 'EndTime',
9990
+ recordId: 'RecordId',
9991
+ requestId: 'RequestId',
9992
+ siteId: 'SiteId',
9993
+ startTime: 'StartTime',
9994
+ };
9995
+ }
9996
+
9997
+ static types(): { [key: string]: any } {
9998
+ return {
9999
+ dataInterval: 'number',
10000
+ dataModule: { 'type': 'array', 'itemType': DescribeDDoSL7QpsListResponseBodyDataModule },
10001
+ endTime: 'string',
10002
+ recordId: 'number',
10003
+ requestId: 'string',
10004
+ siteId: 'number',
10005
+ startTime: 'string',
10006
+ };
10007
+ }
10008
+
10009
+ constructor(map?: { [key: string]: any }) {
10010
+ super(map);
10011
+ }
10012
+ }
10013
+
10014
+ export class DescribeDDoSL7QpsListResponse extends $tea.Model {
10015
+ headers?: { [key: string]: string };
10016
+ statusCode?: number;
10017
+ body?: DescribeDDoSL7QpsListResponseBody;
10018
+ static names(): { [key: string]: string } {
10019
+ return {
10020
+ headers: 'headers',
10021
+ statusCode: 'statusCode',
10022
+ body: 'body',
10023
+ };
10024
+ }
10025
+
10026
+ static types(): { [key: string]: any } {
10027
+ return {
10028
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10029
+ statusCode: 'number',
10030
+ body: DescribeDDoSL7QpsListResponseBody,
10031
+ };
10032
+ }
10033
+
10034
+ constructor(map?: { [key: string]: any }) {
10035
+ super(map);
10036
+ }
10037
+ }
10038
+
9447
10039
  export class DescribeHttpDDoSAttackIntelligentProtectionRequest extends $tea.Model {
9448
10040
  /**
9449
10041
  * @remarks
@@ -10573,6 +11165,144 @@ export class GetCacheReserveSpecificationResponse extends $tea.Model {
10573
11165
  }
10574
11166
  }
10575
11167
 
11168
+ export class GetCertificateRequest extends $tea.Model {
11169
+ /**
11170
+ * @remarks
11171
+ * The certificate ID.
11172
+ *
11173
+ * This parameter is required.
11174
+ *
11175
+ * @example
11176
+ * babaded901474b9693acf530e0fb1d95
11177
+ */
11178
+ id?: string;
11179
+ /**
11180
+ * @remarks
11181
+ * The website ID, which can be obtained by calling the [ListSites](~~ListSites~~) operation.
11182
+ *
11183
+ * This parameter is required.
11184
+ *
11185
+ * @example
11186
+ * 1234567890123
11187
+ */
11188
+ siteId?: number;
11189
+ static names(): { [key: string]: string } {
11190
+ return {
11191
+ id: 'Id',
11192
+ siteId: 'SiteId',
11193
+ };
11194
+ }
11195
+
11196
+ static types(): { [key: string]: any } {
11197
+ return {
11198
+ id: 'string',
11199
+ siteId: 'number',
11200
+ };
11201
+ }
11202
+
11203
+ constructor(map?: { [key: string]: any }) {
11204
+ super(map);
11205
+ }
11206
+ }
11207
+
11208
+ export class GetCertificateResponseBody extends $tea.Model {
11209
+ /**
11210
+ * @remarks
11211
+ * The certificate content.
11212
+ *
11213
+ * @example
11214
+ * -----BEGIN CERTIFICATE-----
11215
+ */
11216
+ certificate?: string;
11217
+ /**
11218
+ * @remarks
11219
+ * The request ID.
11220
+ *
11221
+ * @example
11222
+ * 04F0F334-1335-436C-A1D7-6C044FE73368
11223
+ */
11224
+ requestId?: string;
11225
+ /**
11226
+ * @remarks
11227
+ * The certificate information.
11228
+ */
11229
+ result?: GetCertificateResponseBodyResult;
11230
+ /**
11231
+ * @remarks
11232
+ * The website ID.
11233
+ *
11234
+ * @example
11235
+ * 1234567890123
11236
+ */
11237
+ siteId?: number;
11238
+ /**
11239
+ * @remarks
11240
+ * The website name.
11241
+ *
11242
+ * @example
11243
+ * example.com
11244
+ */
11245
+ siteName?: string;
11246
+ /**
11247
+ * @remarks
11248
+ * The certificate status.
11249
+ *
11250
+ * @example
11251
+ * OK
11252
+ */
11253
+ status?: string;
11254
+ static names(): { [key: string]: string } {
11255
+ return {
11256
+ certificate: 'Certificate',
11257
+ requestId: 'RequestId',
11258
+ result: 'Result',
11259
+ siteId: 'SiteId',
11260
+ siteName: 'SiteName',
11261
+ status: 'Status',
11262
+ };
11263
+ }
11264
+
11265
+ static types(): { [key: string]: any } {
11266
+ return {
11267
+ certificate: 'string',
11268
+ requestId: 'string',
11269
+ result: GetCertificateResponseBodyResult,
11270
+ siteId: 'number',
11271
+ siteName: 'string',
11272
+ status: 'string',
11273
+ };
11274
+ }
11275
+
11276
+ constructor(map?: { [key: string]: any }) {
11277
+ super(map);
11278
+ }
11279
+ }
11280
+
11281
+ export class GetCertificateResponse extends $tea.Model {
11282
+ headers?: { [key: string]: string };
11283
+ statusCode?: number;
11284
+ body?: GetCertificateResponseBody;
11285
+ static names(): { [key: string]: string } {
11286
+ return {
11287
+ headers: 'headers',
11288
+ statusCode: 'statusCode',
11289
+ body: 'body',
11290
+ };
11291
+ }
11292
+
11293
+ static types(): { [key: string]: any } {
11294
+ return {
11295
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11296
+ statusCode: 'number',
11297
+ body: GetCertificateResponseBody,
11298
+ };
11299
+ }
11300
+
11301
+ constructor(map?: { [key: string]: any }) {
11302
+ super(map);
11303
+ }
11304
+ }
11305
+
10576
11306
  export class GetCertificateQuotaRequest extends $tea.Model {
10577
11307
  /**
10578
11308
  * @remarks
@@ -11833,108 +12563,6 @@ export class GetEdgeContainerTerminalResponse extends $tea.Model {
11833
12563
  }
11834
12564
  }
11835
12565
 
11836
- export class GetErServiceRequest extends $tea.Model {
11837
- ownerId?: number;
11838
- securityToken?: string;
11839
- static names(): { [key: string]: string } {
11840
- return {
11841
- ownerId: 'OwnerId',
11842
- securityToken: 'SecurityToken',
11843
- };
11844
- }
11845
-
11846
- static types(): { [key: string]: any } {
11847
- return {
11848
- ownerId: 'number',
11849
- securityToken: 'string',
11850
- };
11851
- }
11852
-
11853
- constructor(map?: { [key: string]: any }) {
11854
- super(map);
11855
- }
11856
- }
11857
-
11858
- export class GetErServiceResponseBody extends $tea.Model {
11859
- /**
11860
- * @remarks
11861
- * The billing mode. Valid values:
11862
- *
11863
- * * er_paymode: billed for customers on the China site.
11864
- * * er_freemode: free for customers on the China site.
11865
- * * er_paymodeintl: billed for customers on the International site.
11866
- * * err_freemodeintl: free for customers on the International site
11867
- *
11868
- * @example
11869
- * er_paymode
11870
- */
11871
- planName?: string;
11872
- /**
11873
- * @remarks
11874
- * The request ID.
11875
- *
11876
- * @example
11877
- * CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
11878
- */
11879
- requestId?: string;
11880
- /**
11881
- * @remarks
11882
- * The service status. Valid values:
11883
- *
11884
- * * Creating
11885
- * * Running
11886
- * * NotOpened
11887
- *
11888
- * @example
11889
- * Running
11890
- */
11891
- status?: string;
11892
- static names(): { [key: string]: string } {
11893
- return {
11894
- planName: 'PlanName',
11895
- requestId: 'RequestId',
11896
- status: 'Status',
11897
- };
11898
- }
11899
-
11900
- static types(): { [key: string]: any } {
11901
- return {
11902
- planName: 'string',
11903
- requestId: 'string',
11904
- status: 'string',
11905
- };
11906
- }
11907
-
11908
- constructor(map?: { [key: string]: any }) {
11909
- super(map);
11910
- }
11911
- }
11912
-
11913
- export class GetErServiceResponse extends $tea.Model {
11914
- headers?: { [key: string]: string };
11915
- statusCode?: number;
11916
- body?: GetErServiceResponseBody;
11917
- static names(): { [key: string]: string } {
11918
- return {
11919
- headers: 'headers',
11920
- statusCode: 'statusCode',
11921
- body: 'body',
11922
- };
11923
- }
11924
-
11925
- static types(): { [key: string]: any } {
11926
- return {
11927
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11928
- statusCode: 'number',
11929
- body: GetErServiceResponseBody,
11930
- };
11931
- }
11932
-
11933
- constructor(map?: { [key: string]: any }) {
11934
- super(map);
11935
- }
11936
- }
11937
-
11938
12566
  export class GetKvRequest extends $tea.Model {
11939
12567
  /**
11940
12568
  * @remarks
@@ -12477,11 +13105,118 @@ export class GetListResponse extends $tea.Model {
12477
13105
  }
12478
13106
  }
12479
13107
 
13108
+ export class GetOriginPoolRequest extends $tea.Model {
13109
+ /**
13110
+ * @remarks
13111
+ * This parameter is required.
13112
+ *
13113
+ * @example
13114
+ * GetOriginPool
13115
+ */
13116
+ id?: number;
13117
+ /**
13118
+ * @remarks
13119
+ * This parameter is required.
13120
+ */
13121
+ siteId?: number;
13122
+ static names(): { [key: string]: string } {
13123
+ return {
13124
+ id: 'Id',
13125
+ siteId: 'SiteId',
13126
+ };
13127
+ }
13128
+
13129
+ static types(): { [key: string]: any } {
13130
+ return {
13131
+ id: 'number',
13132
+ siteId: 'number',
13133
+ };
13134
+ }
13135
+
13136
+ constructor(map?: { [key: string]: any }) {
13137
+ super(map);
13138
+ }
13139
+ }
13140
+
13141
+ export class GetOriginPoolResponseBody extends $tea.Model {
13142
+ enabled?: boolean;
13143
+ id?: number;
13144
+ name?: string;
13145
+ origins?: GetOriginPoolResponseBodyOrigins[];
13146
+ recordName?: string;
13147
+ referenceLBCount?: number;
13148
+ references?: GetOriginPoolResponseBodyReferences;
13149
+ /**
13150
+ * @remarks
13151
+ * Id of the request
13152
+ */
13153
+ requestId?: string;
13154
+ siteId?: number;
13155
+ static names(): { [key: string]: string } {
13156
+ return {
13157
+ enabled: 'Enabled',
13158
+ id: 'Id',
13159
+ name: 'Name',
13160
+ origins: 'Origins',
13161
+ recordName: 'RecordName',
13162
+ referenceLBCount: 'ReferenceLBCount',
13163
+ references: 'References',
13164
+ requestId: 'RequestId',
13165
+ siteId: 'SiteId',
13166
+ };
13167
+ }
13168
+
13169
+ static types(): { [key: string]: any } {
13170
+ return {
13171
+ enabled: 'boolean',
13172
+ id: 'number',
13173
+ name: 'string',
13174
+ origins: { 'type': 'array', 'itemType': GetOriginPoolResponseBodyOrigins },
13175
+ recordName: 'string',
13176
+ referenceLBCount: 'number',
13177
+ references: GetOriginPoolResponseBodyReferences,
13178
+ requestId: 'string',
13179
+ siteId: 'number',
13180
+ };
13181
+ }
13182
+
13183
+ constructor(map?: { [key: string]: any }) {
13184
+ super(map);
13185
+ }
13186
+ }
13187
+
13188
+ export class GetOriginPoolResponse extends $tea.Model {
13189
+ headers?: { [key: string]: string };
13190
+ statusCode?: number;
13191
+ body?: GetOriginPoolResponseBody;
13192
+ static names(): { [key: string]: string } {
13193
+ return {
13194
+ headers: 'headers',
13195
+ statusCode: 'statusCode',
13196
+ body: 'body',
13197
+ };
13198
+ }
13199
+
13200
+ static types(): { [key: string]: any } {
13201
+ return {
13202
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13203
+ statusCode: 'number',
13204
+ body: GetOriginPoolResponseBody,
13205
+ };
13206
+ }
13207
+
13208
+ constructor(map?: { [key: string]: any }) {
13209
+ super(map);
13210
+ }
13211
+ }
13212
+
12480
13213
  export class GetOriginProtectionRequest extends $tea.Model {
12481
13214
  /**
12482
13215
  * @remarks
12483
13216
  * The website ID. You can call the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation to obtain the ID.
12484
13217
  *
13218
+ * This parameter is required.
13219
+ *
12485
13220
  * @example
12486
13221
  * 123456789****
12487
13222
  */
@@ -14579,6 +15314,7 @@ export class GetUserDeliveryTaskResponseBody extends $tea.Model {
14579
15314
  * oss
14580
15315
  */
14581
15316
  deliveryType?: string;
15317
+ details?: string;
14582
15318
  /**
14583
15319
  * @remarks
14584
15320
  * The discard rate.
@@ -14640,6 +15376,7 @@ export class GetUserDeliveryTaskResponseBody extends $tea.Model {
14640
15376
  businessType: 'BusinessType',
14641
15377
  dataCenter: 'DataCenter',
14642
15378
  deliveryType: 'DeliveryType',
15379
+ details: 'Details',
14643
15380
  discardRate: 'DiscardRate',
14644
15381
  fieldList: 'FieldList',
14645
15382
  filterRules: 'FilterRules',
@@ -14655,6 +15392,7 @@ export class GetUserDeliveryTaskResponseBody extends $tea.Model {
14655
15392
  businessType: 'string',
14656
15393
  dataCenter: 'string',
14657
15394
  deliveryType: 'string',
15395
+ details: 'string',
14658
15396
  discardRate: 'number',
14659
15397
  fieldList: 'string',
14660
15398
  filterRules: 'string',
@@ -15256,6 +15994,146 @@ export class ListCacheReserveInstancesResponse extends $tea.Model {
15256
15994
  }
15257
15995
  }
15258
15996
 
15997
+ export class ListCertificatesRequest extends $tea.Model {
15998
+ /**
15999
+ * @example
16000
+ * example
16001
+ */
16002
+ keyword?: string;
16003
+ /**
16004
+ * @example
16005
+ * 3
16006
+ */
16007
+ pageNumber?: number;
16008
+ /**
16009
+ * @example
16010
+ * 10
16011
+ */
16012
+ pageSize?: number;
16013
+ /**
16014
+ * @remarks
16015
+ * This parameter is required.
16016
+ *
16017
+ * @example
16018
+ * 1234567890123
16019
+ */
16020
+ siteId?: number;
16021
+ /**
16022
+ * @example
16023
+ * 1
16024
+ */
16025
+ validOnly?: boolean;
16026
+ static names(): { [key: string]: string } {
16027
+ return {
16028
+ keyword: 'Keyword',
16029
+ pageNumber: 'PageNumber',
16030
+ pageSize: 'PageSize',
16031
+ siteId: 'SiteId',
16032
+ validOnly: 'ValidOnly',
16033
+ };
16034
+ }
16035
+
16036
+ static types(): { [key: string]: any } {
16037
+ return {
16038
+ keyword: 'string',
16039
+ pageNumber: 'number',
16040
+ pageSize: 'number',
16041
+ siteId: 'number',
16042
+ validOnly: 'boolean',
16043
+ };
16044
+ }
16045
+
16046
+ constructor(map?: { [key: string]: any }) {
16047
+ super(map);
16048
+ }
16049
+ }
16050
+
16051
+ export class ListCertificatesResponseBody extends $tea.Model {
16052
+ /**
16053
+ * @example
16054
+ * 1
16055
+ */
16056
+ pageNumber?: number;
16057
+ /**
16058
+ * @example
16059
+ * 20
16060
+ */
16061
+ pageSize?: number;
16062
+ /**
16063
+ * @example
16064
+ * 15C66C7B-671A-4297-9187-2C4477247A74
16065
+ */
16066
+ requestId?: string;
16067
+ result?: ListCertificatesResponseBodyResult[];
16068
+ /**
16069
+ * @example
16070
+ * 1234567890123
16071
+ */
16072
+ siteId?: number;
16073
+ /**
16074
+ * @example
16075
+ * example.com
16076
+ */
16077
+ siteName?: string;
16078
+ /**
16079
+ * @example
16080
+ * 10
16081
+ */
16082
+ totalCount?: number;
16083
+ static names(): { [key: string]: string } {
16084
+ return {
16085
+ pageNumber: 'PageNumber',
16086
+ pageSize: 'PageSize',
16087
+ requestId: 'RequestId',
16088
+ result: 'Result',
16089
+ siteId: 'SiteId',
16090
+ siteName: 'SiteName',
16091
+ totalCount: 'TotalCount',
16092
+ };
16093
+ }
16094
+
16095
+ static types(): { [key: string]: any } {
16096
+ return {
16097
+ pageNumber: 'number',
16098
+ pageSize: 'number',
16099
+ requestId: 'string',
16100
+ result: { 'type': 'array', 'itemType': ListCertificatesResponseBodyResult },
16101
+ siteId: 'number',
16102
+ siteName: 'string',
16103
+ totalCount: 'number',
16104
+ };
16105
+ }
16106
+
16107
+ constructor(map?: { [key: string]: any }) {
16108
+ super(map);
16109
+ }
16110
+ }
16111
+
16112
+ export class ListCertificatesResponse extends $tea.Model {
16113
+ headers?: { [key: string]: string };
16114
+ statusCode?: number;
16115
+ body?: ListCertificatesResponseBody;
16116
+ static names(): { [key: string]: string } {
16117
+ return {
16118
+ headers: 'headers',
16119
+ statusCode: 'statusCode',
16120
+ body: 'body',
16121
+ };
16122
+ }
16123
+
16124
+ static types(): { [key: string]: any } {
16125
+ return {
16126
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16127
+ statusCode: 'number',
16128
+ body: ListCertificatesResponseBody,
16129
+ };
16130
+ }
16131
+
16132
+ constructor(map?: { [key: string]: any }) {
16133
+ super(map);
16134
+ }
16135
+ }
16136
+
15259
16137
  export class ListCiphersRequest extends $tea.Model {
15260
16138
  /**
15261
16139
  * @remarks
@@ -17567,6 +18445,107 @@ export class ListManagedRulesGroupsResponse extends $tea.Model {
17567
18445
  }
17568
18446
  }
17569
18447
 
18448
+ export class ListOriginPoolsRequest extends $tea.Model {
18449
+ matchType?: string;
18450
+ name?: string;
18451
+ orderBy?: string;
18452
+ /**
18453
+ * @example
18454
+ * ListOriginPools
18455
+ */
18456
+ pageNumber?: number;
18457
+ pageSize?: number;
18458
+ /**
18459
+ * @remarks
18460
+ * This parameter is required.
18461
+ */
18462
+ siteId?: number;
18463
+ static names(): { [key: string]: string } {
18464
+ return {
18465
+ matchType: 'MatchType',
18466
+ name: 'Name',
18467
+ orderBy: 'OrderBy',
18468
+ pageNumber: 'PageNumber',
18469
+ pageSize: 'PageSize',
18470
+ siteId: 'SiteId',
18471
+ };
18472
+ }
18473
+
18474
+ static types(): { [key: string]: any } {
18475
+ return {
18476
+ matchType: 'string',
18477
+ name: 'string',
18478
+ orderBy: 'string',
18479
+ pageNumber: 'number',
18480
+ pageSize: 'number',
18481
+ siteId: 'number',
18482
+ };
18483
+ }
18484
+
18485
+ constructor(map?: { [key: string]: any }) {
18486
+ super(map);
18487
+ }
18488
+ }
18489
+
18490
+ export class ListOriginPoolsResponseBody extends $tea.Model {
18491
+ originPools?: ListOriginPoolsResponseBodyOriginPools[];
18492
+ pageNumber?: number;
18493
+ pageSize?: number;
18494
+ requestId?: string;
18495
+ totalCount?: number;
18496
+ totalPage?: number;
18497
+ static names(): { [key: string]: string } {
18498
+ return {
18499
+ originPools: 'OriginPools',
18500
+ pageNumber: 'PageNumber',
18501
+ pageSize: 'PageSize',
18502
+ requestId: 'RequestId',
18503
+ totalCount: 'TotalCount',
18504
+ totalPage: 'TotalPage',
18505
+ };
18506
+ }
18507
+
18508
+ static types(): { [key: string]: any } {
18509
+ return {
18510
+ originPools: { 'type': 'array', 'itemType': ListOriginPoolsResponseBodyOriginPools },
18511
+ pageNumber: 'number',
18512
+ pageSize: 'number',
18513
+ requestId: 'string',
18514
+ totalCount: 'number',
18515
+ totalPage: 'number',
18516
+ };
18517
+ }
18518
+
18519
+ constructor(map?: { [key: string]: any }) {
18520
+ super(map);
18521
+ }
18522
+ }
18523
+
18524
+ export class ListOriginPoolsResponse extends $tea.Model {
18525
+ headers?: { [key: string]: string };
18526
+ statusCode?: number;
18527
+ body?: ListOriginPoolsResponseBody;
18528
+ static names(): { [key: string]: string } {
18529
+ return {
18530
+ headers: 'headers',
18531
+ statusCode: 'statusCode',
18532
+ body: 'body',
18533
+ };
18534
+ }
18535
+
18536
+ static types(): { [key: string]: any } {
18537
+ return {
18538
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18539
+ statusCode: 'number',
18540
+ body: ListOriginPoolsResponseBody,
18541
+ };
18542
+ }
18543
+
18544
+ constructor(map?: { [key: string]: any }) {
18545
+ super(map);
18546
+ }
18547
+ }
18548
+
17570
18549
  export class ListPagesRequest extends $tea.Model {
17571
18550
  /**
17572
18551
  * @remarks
@@ -23478,6 +24457,135 @@ export class UpdateKvNamespaceResponse extends $tea.Model {
23478
24457
  }
23479
24458
  }
23480
24459
 
24460
+ export class UpdateOriginPoolRequest extends $tea.Model {
24461
+ enabled?: boolean;
24462
+ /**
24463
+ * @remarks
24464
+ * This parameter is required.
24465
+ *
24466
+ * @example
24467
+ * UpdateOriginPool
24468
+ */
24469
+ id?: number;
24470
+ origins?: UpdateOriginPoolRequestOrigins[];
24471
+ /**
24472
+ * @remarks
24473
+ * This parameter is required.
24474
+ */
24475
+ siteId?: number;
24476
+ static names(): { [key: string]: string } {
24477
+ return {
24478
+ enabled: 'Enabled',
24479
+ id: 'Id',
24480
+ origins: 'Origins',
24481
+ siteId: 'SiteId',
24482
+ };
24483
+ }
24484
+
24485
+ static types(): { [key: string]: any } {
24486
+ return {
24487
+ enabled: 'boolean',
24488
+ id: 'number',
24489
+ origins: { 'type': 'array', 'itemType': UpdateOriginPoolRequestOrigins },
24490
+ siteId: 'number',
24491
+ };
24492
+ }
24493
+
24494
+ constructor(map?: { [key: string]: any }) {
24495
+ super(map);
24496
+ }
24497
+ }
24498
+
24499
+ export class UpdateOriginPoolShrinkRequest extends $tea.Model {
24500
+ enabled?: boolean;
24501
+ /**
24502
+ * @remarks
24503
+ * This parameter is required.
24504
+ *
24505
+ * @example
24506
+ * UpdateOriginPool
24507
+ */
24508
+ id?: number;
24509
+ originsShrink?: string;
24510
+ /**
24511
+ * @remarks
24512
+ * This parameter is required.
24513
+ */
24514
+ siteId?: number;
24515
+ static names(): { [key: string]: string } {
24516
+ return {
24517
+ enabled: 'Enabled',
24518
+ id: 'Id',
24519
+ originsShrink: 'Origins',
24520
+ siteId: 'SiteId',
24521
+ };
24522
+ }
24523
+
24524
+ static types(): { [key: string]: any } {
24525
+ return {
24526
+ enabled: 'boolean',
24527
+ id: 'number',
24528
+ originsShrink: 'string',
24529
+ siteId: 'number',
24530
+ };
24531
+ }
24532
+
24533
+ constructor(map?: { [key: string]: any }) {
24534
+ super(map);
24535
+ }
24536
+ }
24537
+
24538
+ export class UpdateOriginPoolResponseBody extends $tea.Model {
24539
+ id?: number;
24540
+ /**
24541
+ * @remarks
24542
+ * Id of the request
24543
+ */
24544
+ requestId?: string;
24545
+ static names(): { [key: string]: string } {
24546
+ return {
24547
+ id: 'Id',
24548
+ requestId: 'RequestId',
24549
+ };
24550
+ }
24551
+
24552
+ static types(): { [key: string]: any } {
24553
+ return {
24554
+ id: 'number',
24555
+ requestId: 'string',
24556
+ };
24557
+ }
24558
+
24559
+ constructor(map?: { [key: string]: any }) {
24560
+ super(map);
24561
+ }
24562
+ }
24563
+
24564
+ export class UpdateOriginPoolResponse extends $tea.Model {
24565
+ headers?: { [key: string]: string };
24566
+ statusCode?: number;
24567
+ body?: UpdateOriginPoolResponseBody;
24568
+ static names(): { [key: string]: string } {
24569
+ return {
24570
+ headers: 'headers',
24571
+ statusCode: 'statusCode',
24572
+ body: 'body',
24573
+ };
24574
+ }
24575
+
24576
+ static types(): { [key: string]: any } {
24577
+ return {
24578
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
24579
+ statusCode: 'number',
24580
+ body: UpdateOriginPoolResponseBody,
24581
+ };
24582
+ }
24583
+
24584
+ constructor(map?: { [key: string]: any }) {
24585
+ super(map);
24586
+ }
24587
+ }
24588
+
23481
24589
  export class UpdateOriginProtectionRequest extends $tea.Model {
23482
24590
  /**
23483
24591
  * @remarks
@@ -23679,6 +24787,8 @@ export class UpdatePageRequest extends $tea.Model {
23679
24787
  * @remarks
23680
24788
  * The description of the custom error page.
23681
24789
  *
24790
+ * This parameter is required.
24791
+ *
23682
24792
  * @example
23683
24793
  * a custom deny page
23684
24794
  */
@@ -24976,6 +26086,7 @@ export class UpdateUserDeliveryTaskRequest extends $tea.Model {
24976
26086
  * dcdn_log_er
24977
26087
  */
24978
26088
  businessType?: string;
26089
+ details?: string;
24979
26090
  /**
24980
26091
  * @remarks
24981
26092
  * The discard rate. Default value: 0.
@@ -25007,6 +26118,7 @@ export class UpdateUserDeliveryTaskRequest extends $tea.Model {
25007
26118
  static names(): { [key: string]: string } {
25008
26119
  return {
25009
26120
  businessType: 'BusinessType',
26121
+ details: 'Details',
25010
26122
  discardRate: 'DiscardRate',
25011
26123
  fieldName: 'FieldName',
25012
26124
  taskName: 'TaskName',
@@ -25016,6 +26128,7 @@ export class UpdateUserDeliveryTaskRequest extends $tea.Model {
25016
26128
  static types(): { [key: string]: any } {
25017
26129
  return {
25018
26130
  businessType: 'string',
26131
+ details: 'string',
25019
26132
  discardRate: 'number',
25020
26133
  fieldName: 'string',
25021
26134
  taskName: 'string',
@@ -27373,6 +28486,43 @@ export class FieldContentValueFieldList extends $tea.Model {
27373
28486
  }
27374
28487
  }
27375
28488
 
28489
+ export class ApplyCertificateResponseBodyResult extends $tea.Model {
28490
+ /**
28491
+ * @example
28492
+ * *.example.com
28493
+ */
28494
+ domain?: string;
28495
+ /**
28496
+ * @example
28497
+ * 30000478
28498
+ */
28499
+ id?: string;
28500
+ /**
28501
+ * @example
28502
+ * Applying
28503
+ */
28504
+ status?: string;
28505
+ static names(): { [key: string]: string } {
28506
+ return {
28507
+ domain: 'Domain',
28508
+ id: 'Id',
28509
+ status: 'Status',
28510
+ };
28511
+ }
28512
+
28513
+ static types(): { [key: string]: any } {
28514
+ return {
28515
+ domain: 'string',
28516
+ id: 'string',
28517
+ status: 'string',
28518
+ };
28519
+ }
28520
+
28521
+ constructor(map?: { [key: string]: any }) {
28522
+ super(map);
28523
+ }
28524
+ }
28525
+
27376
28526
  export class BatchCreateRecordsRequestRecordListAuthConf extends $tea.Model {
27377
28527
  accessKey?: string;
27378
28528
  authType?: string;
@@ -28797,6 +29947,74 @@ export class CreateEdgeContainerAppVersionRequestContainers extends $tea.Model {
28797
29947
  }
28798
29948
  }
28799
29949
 
29950
+ export class CreateOriginPoolRequestOriginsAuthConf extends $tea.Model {
29951
+ accessKey?: string;
29952
+ authType?: string;
29953
+ region?: string;
29954
+ secretKey?: string;
29955
+ version?: string;
29956
+ static names(): { [key: string]: string } {
29957
+ return {
29958
+ accessKey: 'AccessKey',
29959
+ authType: 'AuthType',
29960
+ region: 'Region',
29961
+ secretKey: 'SecretKey',
29962
+ version: 'Version',
29963
+ };
29964
+ }
29965
+
29966
+ static types(): { [key: string]: any } {
29967
+ return {
29968
+ accessKey: 'string',
29969
+ authType: 'string',
29970
+ region: 'string',
29971
+ secretKey: 'string',
29972
+ version: 'string',
29973
+ };
29974
+ }
29975
+
29976
+ constructor(map?: { [key: string]: any }) {
29977
+ super(map);
29978
+ }
29979
+ }
29980
+
29981
+ export class CreateOriginPoolRequestOrigins extends $tea.Model {
29982
+ address?: string;
29983
+ authConf?: CreateOriginPoolRequestOriginsAuthConf;
29984
+ enabled?: boolean;
29985
+ header?: any;
29986
+ name?: string;
29987
+ type?: string;
29988
+ weight?: number;
29989
+ static names(): { [key: string]: string } {
29990
+ return {
29991
+ address: 'Address',
29992
+ authConf: 'AuthConf',
29993
+ enabled: 'Enabled',
29994
+ header: 'Header',
29995
+ name: 'Name',
29996
+ type: 'Type',
29997
+ weight: 'Weight',
29998
+ };
29999
+ }
30000
+
30001
+ static types(): { [key: string]: any } {
30002
+ return {
30003
+ address: 'string',
30004
+ authConf: CreateOriginPoolRequestOriginsAuthConf,
30005
+ enabled: 'boolean',
30006
+ header: 'any',
30007
+ name: 'string',
30008
+ type: 'string',
30009
+ weight: 'number',
30010
+ };
30011
+ }
30012
+
30013
+ constructor(map?: { [key: string]: any }) {
30014
+ super(map);
30015
+ }
30016
+ }
30017
+
28800
30018
  export class CreateRecordRequestAuthConf extends $tea.Model {
28801
30019
  /**
28802
30020
  * @remarks
@@ -30574,6 +31792,115 @@ export class DescribeDDoSAllEventListResponseBodyDataList extends $tea.Model {
30574
31792
  }
30575
31793
  }
30576
31794
 
31795
+ export class DescribeDDoSBpsListResponseBodyDataModule extends $tea.Model {
31796
+ /**
31797
+ * @example
31798
+ * 9000000000
31799
+ */
31800
+ attackBps?: number;
31801
+ /**
31802
+ * @example
31803
+ * 9000000
31804
+ */
31805
+ attackPps?: number;
31806
+ /**
31807
+ * @example
31808
+ * 1000000000
31809
+ */
31810
+ normalBps?: number;
31811
+ /**
31812
+ * @example
31813
+ * 1000000
31814
+ */
31815
+ normalPps?: number;
31816
+ /**
31817
+ * @example
31818
+ * 2023-05-14T17:00:00Z
31819
+ */
31820
+ timeStamp?: string;
31821
+ /**
31822
+ * @example
31823
+ * 10000000000
31824
+ */
31825
+ totalBps?: number;
31826
+ /**
31827
+ * @example
31828
+ * 100000000
31829
+ */
31830
+ totalPps?: number;
31831
+ static names(): { [key: string]: string } {
31832
+ return {
31833
+ attackBps: 'AttackBps',
31834
+ attackPps: 'AttackPps',
31835
+ normalBps: 'NormalBps',
31836
+ normalPps: 'NormalPps',
31837
+ timeStamp: 'TimeStamp',
31838
+ totalBps: 'TotalBps',
31839
+ totalPps: 'TotalPps',
31840
+ };
31841
+ }
31842
+
31843
+ static types(): { [key: string]: any } {
31844
+ return {
31845
+ attackBps: 'number',
31846
+ attackPps: 'number',
31847
+ normalBps: 'number',
31848
+ normalPps: 'number',
31849
+ timeStamp: 'string',
31850
+ totalBps: 'number',
31851
+ totalPps: 'number',
31852
+ };
31853
+ }
31854
+
31855
+ constructor(map?: { [key: string]: any }) {
31856
+ super(map);
31857
+ }
31858
+ }
31859
+
31860
+ export class DescribeDDoSL7QpsListResponseBodyDataModule extends $tea.Model {
31861
+ /**
31862
+ * @example
31863
+ * 5
31864
+ */
31865
+ attack?: number;
31866
+ /**
31867
+ * @example
31868
+ * 4
31869
+ */
31870
+ normal?: number;
31871
+ /**
31872
+ * @example
31873
+ * 2023-04-19T16:00:00Z
31874
+ */
31875
+ timeStamp?: string;
31876
+ /**
31877
+ * @example
31878
+ * 9
31879
+ */
31880
+ total?: number;
31881
+ static names(): { [key: string]: string } {
31882
+ return {
31883
+ attack: 'Attack',
31884
+ normal: 'Normal',
31885
+ timeStamp: 'TimeStamp',
31886
+ total: 'Total',
31887
+ };
31888
+ }
31889
+
31890
+ static types(): { [key: string]: any } {
31891
+ return {
31892
+ attack: 'number',
31893
+ normal: 'number',
31894
+ timeStamp: 'string',
31895
+ total: 'number',
31896
+ };
31897
+ }
31898
+
31899
+ constructor(map?: { [key: string]: any }) {
31900
+ super(map);
31901
+ }
31902
+ }
31903
+
30577
31904
  export class DescribePreloadTasksResponseBodyTasks extends $tea.Model {
30578
31905
  /**
30579
31906
  * @remarks
@@ -30755,6 +32082,273 @@ export class DescribePurgeTasksResponseBodyTasks extends $tea.Model {
30755
32082
  }
30756
32083
  }
30757
32084
 
32085
+ export class GetCertificateResponseBodyResultDCV extends $tea.Model {
32086
+ /**
32087
+ * @remarks
32088
+ * DCV ID.
32089
+ *
32090
+ * @example
32091
+ * bababf7cdd1546a2ad04c0def1f4c980
32092
+ */
32093
+ id?: string;
32094
+ /**
32095
+ * @example
32096
+ * http://www.example.com/.well-known/acme-challenge/pH20CqwS5L3ZnvkhI436DCzadKFuG7QcUcvB_4KsAow
32097
+ */
32098
+ key?: string;
32099
+ /**
32100
+ * @example
32101
+ * pending
32102
+ */
32103
+ status?: string;
32104
+ /**
32105
+ * @example
32106
+ * HTTP
32107
+ */
32108
+ type?: string;
32109
+ /**
32110
+ * @example
32111
+ * pH20CqwS5L3ZnvkhI436DCzadKFuG7QcUcvB_4KsAow.KfzYo4LH3EgOt7a73G-RqZkbR0eYtLfEUmtmqGmr4FQ
32112
+ */
32113
+ value?: string;
32114
+ static names(): { [key: string]: string } {
32115
+ return {
32116
+ id: 'Id',
32117
+ key: 'Key',
32118
+ status: 'Status',
32119
+ type: 'Type',
32120
+ value: 'Value',
32121
+ };
32122
+ }
32123
+
32124
+ static types(): { [key: string]: any } {
32125
+ return {
32126
+ id: 'string',
32127
+ key: 'string',
32128
+ status: 'string',
32129
+ type: 'string',
32130
+ value: 'string',
32131
+ };
32132
+ }
32133
+
32134
+ constructor(map?: { [key: string]: any }) {
32135
+ super(map);
32136
+ }
32137
+ }
32138
+
32139
+ export class GetCertificateResponseBodyResult extends $tea.Model {
32140
+ /**
32141
+ * @example
32142
+ * 2
32143
+ */
32144
+ applyCode?: number;
32145
+ /**
32146
+ * @example
32147
+ * canceled
32148
+ */
32149
+ applyMessage?: string;
32150
+ /**
32151
+ * @remarks
32152
+ * The certificate ID on Certificate Management Service.
32153
+ *
32154
+ * @example
32155
+ * 30000478
32156
+ */
32157
+ casId?: string;
32158
+ /**
32159
+ * @remarks
32160
+ * The Common Name of the certificate.
32161
+ *
32162
+ * @example
32163
+ * www.example.com
32164
+ */
32165
+ commonName?: string;
32166
+ /**
32167
+ * @remarks
32168
+ * The time when the certificate was created.
32169
+ *
32170
+ * @example
32171
+ * 2020-05-12 02:00:53
32172
+ */
32173
+ createTime?: string;
32174
+ DCV?: GetCertificateResponseBodyResultDCV[];
32175
+ /**
32176
+ * @remarks
32177
+ * The SHA-256 fingerprint of the certificate.
32178
+ *
32179
+ * @example
32180
+ * 1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456aca66
32181
+ */
32182
+ fingerprintSha256?: string;
32183
+ /**
32184
+ * @remarks
32185
+ * The certificate ID on ESA.
32186
+ *
32187
+ * @example
32188
+ * babaded901474b9693acf530e0fb1d95
32189
+ */
32190
+ id?: string;
32191
+ /**
32192
+ * @remarks
32193
+ * The certificate authority (CA) that issued the certificate.
32194
+ *
32195
+ * @example
32196
+ * DigiCert
32197
+ */
32198
+ issuer?: string;
32199
+ /**
32200
+ * @remarks
32201
+ * The Common Name of the CA that issued the certificate.
32202
+ *
32203
+ * @example
32204
+ * DigiCert Global Root CA
32205
+ */
32206
+ issuerCN?: string;
32207
+ /**
32208
+ * @remarks
32209
+ * The certificate name.
32210
+ *
32211
+ * @example
32212
+ * yourCertName
32213
+ */
32214
+ name?: string;
32215
+ /**
32216
+ * @remarks
32217
+ * The time when the certificate expires.
32218
+ *
32219
+ * @example
32220
+ * 2023-11-26T16:00:00Z
32221
+ */
32222
+ notAfter?: string;
32223
+ /**
32224
+ * @remarks
32225
+ * The time when the certificate takes effect.
32226
+ *
32227
+ * @example
32228
+ * 2023-11-26T16:00:00Z
32229
+ */
32230
+ notBefore?: string;
32231
+ /**
32232
+ * @remarks
32233
+ * The public-key algorithm of the certificate.
32234
+ *
32235
+ * @example
32236
+ * ECDSA
32237
+ */
32238
+ pubAlg?: string;
32239
+ /**
32240
+ * @remarks
32241
+ * The region.
32242
+ *
32243
+ * @example
32244
+ * cn-hangzhou
32245
+ */
32246
+ region?: string;
32247
+ /**
32248
+ * @remarks
32249
+ * The Subject Alternative Name (SAN) of the certificate.
32250
+ *
32251
+ * @example
32252
+ * www.example.com,*.example.com
32253
+ */
32254
+ SAN?: string;
32255
+ /**
32256
+ * @remarks
32257
+ * The serial number of the certificate.
32258
+ *
32259
+ * @example
32260
+ * babaded901474b9693acf530e0fb1daa
32261
+ */
32262
+ serialNumber?: string;
32263
+ /**
32264
+ * @remarks
32265
+ * The signature algorithm of the certificate.
32266
+ *
32267
+ * @example
32268
+ * ECDSA-SHA1
32269
+ */
32270
+ sigAlg?: string;
32271
+ /**
32272
+ * @remarks
32273
+ * The certificate status.
32274
+ *
32275
+ * @example
32276
+ * OK
32277
+ */
32278
+ status?: string;
32279
+ /**
32280
+ * @remarks
32281
+ * The certificate type.
32282
+ *
32283
+ * @example
32284
+ * free
32285
+ */
32286
+ type?: string;
32287
+ /**
32288
+ * @remarks
32289
+ * The time when the certificate was updated.
32290
+ *
32291
+ * @example
32292
+ * 2022-09-22 05:33:13
32293
+ */
32294
+ updateTime?: string;
32295
+ static names(): { [key: string]: string } {
32296
+ return {
32297
+ applyCode: 'ApplyCode',
32298
+ applyMessage: 'ApplyMessage',
32299
+ casId: 'CasId',
32300
+ commonName: 'CommonName',
32301
+ createTime: 'CreateTime',
32302
+ DCV: 'DCV',
32303
+ fingerprintSha256: 'FingerprintSha256',
32304
+ id: 'Id',
32305
+ issuer: 'Issuer',
32306
+ issuerCN: 'IssuerCN',
32307
+ name: 'Name',
32308
+ notAfter: 'NotAfter',
32309
+ notBefore: 'NotBefore',
32310
+ pubAlg: 'PubAlg',
32311
+ region: 'Region',
32312
+ SAN: 'SAN',
32313
+ serialNumber: 'SerialNumber',
32314
+ sigAlg: 'SigAlg',
32315
+ status: 'Status',
32316
+ type: 'Type',
32317
+ updateTime: 'UpdateTime',
32318
+ };
32319
+ }
32320
+
32321
+ static types(): { [key: string]: any } {
32322
+ return {
32323
+ applyCode: 'number',
32324
+ applyMessage: 'string',
32325
+ casId: 'string',
32326
+ commonName: 'string',
32327
+ createTime: 'string',
32328
+ DCV: { 'type': 'array', 'itemType': GetCertificateResponseBodyResultDCV },
32329
+ fingerprintSha256: 'string',
32330
+ id: 'string',
32331
+ issuer: 'string',
32332
+ issuerCN: 'string',
32333
+ name: 'string',
32334
+ notAfter: 'string',
32335
+ notBefore: 'string',
32336
+ pubAlg: 'string',
32337
+ region: 'string',
32338
+ SAN: 'string',
32339
+ serialNumber: 'string',
32340
+ sigAlg: 'string',
32341
+ status: 'string',
32342
+ type: 'string',
32343
+ updateTime: 'string',
32344
+ };
32345
+ }
32346
+
32347
+ constructor(map?: { [key: string]: any }) {
32348
+ super(map);
32349
+ }
32350
+ }
32351
+
30758
32352
  export class GetCertificateQuotaResponseBodySiteUsage extends $tea.Model {
30759
32353
  /**
30760
32354
  * @example
@@ -32147,6 +33741,168 @@ export class GetKvAccountResponseBodyNamespaceList extends $tea.Model {
32147
33741
  }
32148
33742
  }
32149
33743
 
33744
+ export class GetOriginPoolResponseBodyOriginsAuthConf extends $tea.Model {
33745
+ accessKey?: string;
33746
+ authType?: string;
33747
+ region?: string;
33748
+ secretKey?: string;
33749
+ version?: string;
33750
+ static names(): { [key: string]: string } {
33751
+ return {
33752
+ accessKey: 'AccessKey',
33753
+ authType: 'AuthType',
33754
+ region: 'Region',
33755
+ secretKey: 'SecretKey',
33756
+ version: 'Version',
33757
+ };
33758
+ }
33759
+
33760
+ static types(): { [key: string]: any } {
33761
+ return {
33762
+ accessKey: 'string',
33763
+ authType: 'string',
33764
+ region: 'string',
33765
+ secretKey: 'string',
33766
+ version: 'string',
33767
+ };
33768
+ }
33769
+
33770
+ constructor(map?: { [key: string]: any }) {
33771
+ super(map);
33772
+ }
33773
+ }
33774
+
33775
+ export class GetOriginPoolResponseBodyOrigins extends $tea.Model {
33776
+ address?: string;
33777
+ authConf?: GetOriginPoolResponseBodyOriginsAuthConf;
33778
+ enabled?: boolean;
33779
+ header?: any;
33780
+ id?: number;
33781
+ name?: string;
33782
+ type?: string;
33783
+ weight?: number;
33784
+ static names(): { [key: string]: string } {
33785
+ return {
33786
+ address: 'Address',
33787
+ authConf: 'AuthConf',
33788
+ enabled: 'Enabled',
33789
+ header: 'Header',
33790
+ id: 'Id',
33791
+ name: 'Name',
33792
+ type: 'Type',
33793
+ weight: 'Weight',
33794
+ };
33795
+ }
33796
+
33797
+ static types(): { [key: string]: any } {
33798
+ return {
33799
+ address: 'string',
33800
+ authConf: GetOriginPoolResponseBodyOriginsAuthConf,
33801
+ enabled: 'boolean',
33802
+ header: 'any',
33803
+ id: 'number',
33804
+ name: 'string',
33805
+ type: 'string',
33806
+ weight: 'number',
33807
+ };
33808
+ }
33809
+
33810
+ constructor(map?: { [key: string]: any }) {
33811
+ super(map);
33812
+ }
33813
+ }
33814
+
33815
+ export class GetOriginPoolResponseBodyReferencesDnsRecords extends $tea.Model {
33816
+ id?: number;
33817
+ name?: string;
33818
+ static names(): { [key: string]: string } {
33819
+ return {
33820
+ id: 'Id',
33821
+ name: 'Name',
33822
+ };
33823
+ }
33824
+
33825
+ static types(): { [key: string]: any } {
33826
+ return {
33827
+ id: 'number',
33828
+ name: 'string',
33829
+ };
33830
+ }
33831
+
33832
+ constructor(map?: { [key: string]: any }) {
33833
+ super(map);
33834
+ }
33835
+ }
33836
+
33837
+ export class GetOriginPoolResponseBodyReferencesIPARecords extends $tea.Model {
33838
+ id?: number;
33839
+ name?: string;
33840
+ static names(): { [key: string]: string } {
33841
+ return {
33842
+ id: 'Id',
33843
+ name: 'Name',
33844
+ };
33845
+ }
33846
+
33847
+ static types(): { [key: string]: any } {
33848
+ return {
33849
+ id: 'number',
33850
+ name: 'string',
33851
+ };
33852
+ }
33853
+
33854
+ constructor(map?: { [key: string]: any }) {
33855
+ super(map);
33856
+ }
33857
+ }
33858
+
33859
+ export class GetOriginPoolResponseBodyReferencesLoadBalancers extends $tea.Model {
33860
+ id?: number;
33861
+ name?: string;
33862
+ static names(): { [key: string]: string } {
33863
+ return {
33864
+ id: 'Id',
33865
+ name: 'Name',
33866
+ };
33867
+ }
33868
+
33869
+ static types(): { [key: string]: any } {
33870
+ return {
33871
+ id: 'number',
33872
+ name: 'string',
33873
+ };
33874
+ }
33875
+
33876
+ constructor(map?: { [key: string]: any }) {
33877
+ super(map);
33878
+ }
33879
+ }
33880
+
33881
+ export class GetOriginPoolResponseBodyReferences extends $tea.Model {
33882
+ dnsRecords?: GetOriginPoolResponseBodyReferencesDnsRecords[];
33883
+ IPARecords?: GetOriginPoolResponseBodyReferencesIPARecords[];
33884
+ loadBalancers?: GetOriginPoolResponseBodyReferencesLoadBalancers[];
33885
+ static names(): { [key: string]: string } {
33886
+ return {
33887
+ dnsRecords: 'DnsRecords',
33888
+ IPARecords: 'IPARecords',
33889
+ loadBalancers: 'LoadBalancers',
33890
+ };
33891
+ }
33892
+
33893
+ static types(): { [key: string]: any } {
33894
+ return {
33895
+ dnsRecords: { 'type': 'array', 'itemType': GetOriginPoolResponseBodyReferencesDnsRecords },
33896
+ IPARecords: { 'type': 'array', 'itemType': GetOriginPoolResponseBodyReferencesIPARecords },
33897
+ loadBalancers: { 'type': 'array', 'itemType': GetOriginPoolResponseBodyReferencesLoadBalancers },
33898
+ };
33899
+ }
33900
+
33901
+ constructor(map?: { [key: string]: any }) {
33902
+ super(map);
33903
+ }
33904
+ }
33905
+
32150
33906
  export class GetOriginProtectionResponseBodyCurrentIPWhitelist extends $tea.Model {
32151
33907
  /**
32152
33908
  * @remarks
@@ -33893,6 +35649,188 @@ export class ListCacheReserveInstancesResponseBodyInstanceInfo extends $tea.Mode
33893
35649
  }
33894
35650
  }
33895
35651
 
35652
+ export class ListCertificatesResponseBodyResultDCV extends $tea.Model {
35653
+ id?: string;
35654
+ key?: string;
35655
+ status?: string;
35656
+ type?: string;
35657
+ value?: string;
35658
+ static names(): { [key: string]: string } {
35659
+ return {
35660
+ id: 'Id',
35661
+ key: 'Key',
35662
+ status: 'Status',
35663
+ type: 'Type',
35664
+ value: 'Value',
35665
+ };
35666
+ }
35667
+
35668
+ static types(): { [key: string]: any } {
35669
+ return {
35670
+ id: 'string',
35671
+ key: 'string',
35672
+ status: 'string',
35673
+ type: 'string',
35674
+ value: 'string',
35675
+ };
35676
+ }
35677
+
35678
+ constructor(map?: { [key: string]: any }) {
35679
+ super(map);
35680
+ }
35681
+ }
35682
+
35683
+ export class ListCertificatesResponseBodyResult extends $tea.Model {
35684
+ applyCode?: number;
35685
+ applyMessage?: string;
35686
+ /**
35687
+ * @example
35688
+ * 30000569
35689
+ */
35690
+ casId?: string;
35691
+ /**
35692
+ * @example
35693
+ * www.example.com
35694
+ */
35695
+ commonName?: string;
35696
+ /**
35697
+ * @example
35698
+ * 2022-06-24 07:48:51
35699
+ */
35700
+ createTime?: string;
35701
+ DCV?: ListCertificatesResponseBodyResultDCV[];
35702
+ /**
35703
+ * @example
35704
+ * 1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a****
35705
+ */
35706
+ fingerprintSha256?: string;
35707
+ /**
35708
+ * @example
35709
+ * baba39055622c008b90285a8838e****
35710
+ */
35711
+ id?: string;
35712
+ /**
35713
+ * @example
35714
+ * GlobalSign nv-sa
35715
+ */
35716
+ issuer?: string;
35717
+ /**
35718
+ * @example
35719
+ * GlobalSign Organization Validation CA - SHA256 - G3
35720
+ */
35721
+ issuerCN?: string;
35722
+ /**
35723
+ * @example
35724
+ * yourCertName
35725
+ */
35726
+ name?: string;
35727
+ /**
35728
+ * @example
35729
+ * 2024-03-31 02:08:00
35730
+ */
35731
+ notAfter?: string;
35732
+ /**
35733
+ * @example
35734
+ * 2023-03-31 02:08:00
35735
+ */
35736
+ notBefore?: string;
35737
+ /**
35738
+ * @example
35739
+ * RSA
35740
+ */
35741
+ pubAlg?: string;
35742
+ /**
35743
+ * @example
35744
+ * cn-hangzhou
35745
+ */
35746
+ region?: string;
35747
+ /**
35748
+ * @example
35749
+ * www.example.com,*.example.com
35750
+ */
35751
+ SAN?: string;
35752
+ /**
35753
+ * @example
35754
+ * babab022c5e9b27bf9c64d7f4b16****
35755
+ */
35756
+ serialNumber?: string;
35757
+ /**
35758
+ * @example
35759
+ * SHA256-RSA
35760
+ */
35761
+ sigAlg?: string;
35762
+ /**
35763
+ * @example
35764
+ * OK
35765
+ */
35766
+ status?: string;
35767
+ /**
35768
+ * @example
35769
+ * free
35770
+ */
35771
+ type?: string;
35772
+ /**
35773
+ * @example
35774
+ * 2023-04-20 06:18:42
35775
+ */
35776
+ updateTime?: string;
35777
+ static names(): { [key: string]: string } {
35778
+ return {
35779
+ applyCode: 'ApplyCode',
35780
+ applyMessage: 'ApplyMessage',
35781
+ casId: 'CasId',
35782
+ commonName: 'CommonName',
35783
+ createTime: 'CreateTime',
35784
+ DCV: 'DCV',
35785
+ fingerprintSha256: 'FingerprintSha256',
35786
+ id: 'Id',
35787
+ issuer: 'Issuer',
35788
+ issuerCN: 'IssuerCN',
35789
+ name: 'Name',
35790
+ notAfter: 'NotAfter',
35791
+ notBefore: 'NotBefore',
35792
+ pubAlg: 'PubAlg',
35793
+ region: 'Region',
35794
+ SAN: 'SAN',
35795
+ serialNumber: 'SerialNumber',
35796
+ sigAlg: 'SigAlg',
35797
+ status: 'Status',
35798
+ type: 'Type',
35799
+ updateTime: 'UpdateTime',
35800
+ };
35801
+ }
35802
+
35803
+ static types(): { [key: string]: any } {
35804
+ return {
35805
+ applyCode: 'number',
35806
+ applyMessage: 'string',
35807
+ casId: 'string',
35808
+ commonName: 'string',
35809
+ createTime: 'string',
35810
+ DCV: { 'type': 'array', 'itemType': ListCertificatesResponseBodyResultDCV },
35811
+ fingerprintSha256: 'string',
35812
+ id: 'string',
35813
+ issuer: 'string',
35814
+ issuerCN: 'string',
35815
+ name: 'string',
35816
+ notAfter: 'string',
35817
+ notBefore: 'string',
35818
+ pubAlg: 'string',
35819
+ region: 'string',
35820
+ SAN: 'string',
35821
+ serialNumber: 'string',
35822
+ sigAlg: 'string',
35823
+ status: 'string',
35824
+ type: 'string',
35825
+ updateTime: 'string',
35826
+ };
35827
+ }
35828
+
35829
+ constructor(map?: { [key: string]: any }) {
35830
+ super(map);
35831
+ }
35832
+ }
35833
+
33896
35834
  export class ListClientCaCertificatesResponseBodyResult extends $tea.Model {
33897
35835
  /**
33898
35836
  * @remarks
@@ -35657,6 +37595,208 @@ export class ListManagedRulesGroupsResponseBodyManagedRulesGroups extends $tea.M
35657
37595
  }
35658
37596
  }
35659
37597
 
37598
+ export class ListOriginPoolsResponseBodyOriginPoolsOriginsAuthConf extends $tea.Model {
37599
+ accessKey?: string;
37600
+ authType?: string;
37601
+ region?: string;
37602
+ secretKey?: string;
37603
+ version?: string;
37604
+ static names(): { [key: string]: string } {
37605
+ return {
37606
+ accessKey: 'AccessKey',
37607
+ authType: 'AuthType',
37608
+ region: 'Region',
37609
+ secretKey: 'SecretKey',
37610
+ version: 'Version',
37611
+ };
37612
+ }
37613
+
37614
+ static types(): { [key: string]: any } {
37615
+ return {
37616
+ accessKey: 'string',
37617
+ authType: 'string',
37618
+ region: 'string',
37619
+ secretKey: 'string',
37620
+ version: 'string',
37621
+ };
37622
+ }
37623
+
37624
+ constructor(map?: { [key: string]: any }) {
37625
+ super(map);
37626
+ }
37627
+ }
37628
+
37629
+ export class ListOriginPoolsResponseBodyOriginPoolsOrigins extends $tea.Model {
37630
+ address?: string;
37631
+ authConf?: ListOriginPoolsResponseBodyOriginPoolsOriginsAuthConf;
37632
+ enabled?: boolean;
37633
+ header?: any;
37634
+ id?: number;
37635
+ name?: string;
37636
+ type?: string;
37637
+ weight?: number;
37638
+ static names(): { [key: string]: string } {
37639
+ return {
37640
+ address: 'Address',
37641
+ authConf: 'AuthConf',
37642
+ enabled: 'Enabled',
37643
+ header: 'Header',
37644
+ id: 'Id',
37645
+ name: 'Name',
37646
+ type: 'Type',
37647
+ weight: 'Weight',
37648
+ };
37649
+ }
37650
+
37651
+ static types(): { [key: string]: any } {
37652
+ return {
37653
+ address: 'string',
37654
+ authConf: ListOriginPoolsResponseBodyOriginPoolsOriginsAuthConf,
37655
+ enabled: 'boolean',
37656
+ header: 'any',
37657
+ id: 'number',
37658
+ name: 'string',
37659
+ type: 'string',
37660
+ weight: 'number',
37661
+ };
37662
+ }
37663
+
37664
+ constructor(map?: { [key: string]: any }) {
37665
+ super(map);
37666
+ }
37667
+ }
37668
+
37669
+ export class ListOriginPoolsResponseBodyOriginPoolsReferencesDnsRecords extends $tea.Model {
37670
+ id?: number;
37671
+ name?: string;
37672
+ static names(): { [key: string]: string } {
37673
+ return {
37674
+ id: 'Id',
37675
+ name: 'Name',
37676
+ };
37677
+ }
37678
+
37679
+ static types(): { [key: string]: any } {
37680
+ return {
37681
+ id: 'number',
37682
+ name: 'string',
37683
+ };
37684
+ }
37685
+
37686
+ constructor(map?: { [key: string]: any }) {
37687
+ super(map);
37688
+ }
37689
+ }
37690
+
37691
+ export class ListOriginPoolsResponseBodyOriginPoolsReferencesIPARecords extends $tea.Model {
37692
+ id?: number;
37693
+ name?: string;
37694
+ static names(): { [key: string]: string } {
37695
+ return {
37696
+ id: 'Id',
37697
+ name: 'Name',
37698
+ };
37699
+ }
37700
+
37701
+ static types(): { [key: string]: any } {
37702
+ return {
37703
+ id: 'number',
37704
+ name: 'string',
37705
+ };
37706
+ }
37707
+
37708
+ constructor(map?: { [key: string]: any }) {
37709
+ super(map);
37710
+ }
37711
+ }
37712
+
37713
+ export class ListOriginPoolsResponseBodyOriginPoolsReferencesLoadBalancers extends $tea.Model {
37714
+ id?: number;
37715
+ name?: string;
37716
+ static names(): { [key: string]: string } {
37717
+ return {
37718
+ id: 'Id',
37719
+ name: 'Name',
37720
+ };
37721
+ }
37722
+
37723
+ static types(): { [key: string]: any } {
37724
+ return {
37725
+ id: 'number',
37726
+ name: 'string',
37727
+ };
37728
+ }
37729
+
37730
+ constructor(map?: { [key: string]: any }) {
37731
+ super(map);
37732
+ }
37733
+ }
37734
+
37735
+ export class ListOriginPoolsResponseBodyOriginPoolsReferences extends $tea.Model {
37736
+ dnsRecords?: ListOriginPoolsResponseBodyOriginPoolsReferencesDnsRecords[];
37737
+ IPARecords?: ListOriginPoolsResponseBodyOriginPoolsReferencesIPARecords[];
37738
+ loadBalancers?: ListOriginPoolsResponseBodyOriginPoolsReferencesLoadBalancers[];
37739
+ static names(): { [key: string]: string } {
37740
+ return {
37741
+ dnsRecords: 'DnsRecords',
37742
+ IPARecords: 'IPARecords',
37743
+ loadBalancers: 'LoadBalancers',
37744
+ };
37745
+ }
37746
+
37747
+ static types(): { [key: string]: any } {
37748
+ return {
37749
+ dnsRecords: { 'type': 'array', 'itemType': ListOriginPoolsResponseBodyOriginPoolsReferencesDnsRecords },
37750
+ IPARecords: { 'type': 'array', 'itemType': ListOriginPoolsResponseBodyOriginPoolsReferencesIPARecords },
37751
+ loadBalancers: { 'type': 'array', 'itemType': ListOriginPoolsResponseBodyOriginPoolsReferencesLoadBalancers },
37752
+ };
37753
+ }
37754
+
37755
+ constructor(map?: { [key: string]: any }) {
37756
+ super(map);
37757
+ }
37758
+ }
37759
+
37760
+ export class ListOriginPoolsResponseBodyOriginPools extends $tea.Model {
37761
+ enabled?: boolean;
37762
+ id?: number;
37763
+ name?: string;
37764
+ origins?: ListOriginPoolsResponseBodyOriginPoolsOrigins[];
37765
+ recordName?: string;
37766
+ referenceLBCount?: number;
37767
+ references?: ListOriginPoolsResponseBodyOriginPoolsReferences;
37768
+ siteId?: number;
37769
+ static names(): { [key: string]: string } {
37770
+ return {
37771
+ enabled: 'Enabled',
37772
+ id: 'Id',
37773
+ name: 'Name',
37774
+ origins: 'Origins',
37775
+ recordName: 'RecordName',
37776
+ referenceLBCount: 'ReferenceLBCount',
37777
+ references: 'References',
37778
+ siteId: 'SiteId',
37779
+ };
37780
+ }
37781
+
37782
+ static types(): { [key: string]: any } {
37783
+ return {
37784
+ enabled: 'boolean',
37785
+ id: 'number',
37786
+ name: 'string',
37787
+ origins: { 'type': 'array', 'itemType': ListOriginPoolsResponseBodyOriginPoolsOrigins },
37788
+ recordName: 'string',
37789
+ referenceLBCount: 'number',
37790
+ references: ListOriginPoolsResponseBodyOriginPoolsReferences,
37791
+ siteId: 'number',
37792
+ };
37793
+ }
37794
+
37795
+ constructor(map?: { [key: string]: any }) {
37796
+ super(map);
37797
+ }
37798
+ }
37799
+
35660
37800
  export class ListPagesResponseBodyPages extends $tea.Model {
35661
37801
  /**
35662
37802
  * @remarks
@@ -38212,6 +40352,74 @@ export class PurgeCachesRequestContent extends $tea.Model {
38212
40352
  }
38213
40353
  }
38214
40354
 
40355
+ export class UpdateOriginPoolRequestOriginsAuthConf extends $tea.Model {
40356
+ accessKey?: string;
40357
+ authType?: string;
40358
+ region?: string;
40359
+ secretKey?: string;
40360
+ version?: string;
40361
+ static names(): { [key: string]: string } {
40362
+ return {
40363
+ accessKey: 'AccessKey',
40364
+ authType: 'AuthType',
40365
+ region: 'Region',
40366
+ secretKey: 'SecretKey',
40367
+ version: 'Version',
40368
+ };
40369
+ }
40370
+
40371
+ static types(): { [key: string]: any } {
40372
+ return {
40373
+ accessKey: 'string',
40374
+ authType: 'string',
40375
+ region: 'string',
40376
+ secretKey: 'string',
40377
+ version: 'string',
40378
+ };
40379
+ }
40380
+
40381
+ constructor(map?: { [key: string]: any }) {
40382
+ super(map);
40383
+ }
40384
+ }
40385
+
40386
+ export class UpdateOriginPoolRequestOrigins extends $tea.Model {
40387
+ address?: string;
40388
+ authConf?: UpdateOriginPoolRequestOriginsAuthConf;
40389
+ enabled?: boolean;
40390
+ header?: any;
40391
+ name?: string;
40392
+ type?: string;
40393
+ weight?: number;
40394
+ static names(): { [key: string]: string } {
40395
+ return {
40396
+ address: 'Address',
40397
+ authConf: 'AuthConf',
40398
+ enabled: 'Enabled',
40399
+ header: 'Header',
40400
+ name: 'Name',
40401
+ type: 'Type',
40402
+ weight: 'Weight',
40403
+ };
40404
+ }
40405
+
40406
+ static types(): { [key: string]: any } {
40407
+ return {
40408
+ address: 'string',
40409
+ authConf: UpdateOriginPoolRequestOriginsAuthConf,
40410
+ enabled: 'boolean',
40411
+ header: 'any',
40412
+ name: 'string',
40413
+ type: 'string',
40414
+ weight: 'number',
40415
+ };
40416
+ }
40417
+
40418
+ constructor(map?: { [key: string]: any }) {
40419
+ super(map);
40420
+ }
40421
+ }
40422
+
38215
40423
  export class UpdateRecordRequestAuthConf extends $tea.Model {
38216
40424
  /**
38217
40425
  * @remarks
@@ -38559,6 +40767,44 @@ export default class Client extends OpenApi {
38559
40767
  return await this.activateClientCertificateWithOptions(request, runtime);
38560
40768
  }
38561
40769
 
40770
+ /**
40771
+ * 申请免费证书
40772
+ *
40773
+ * @param request - ApplyCertificateRequest
40774
+ * @param runtime - runtime options for this request RuntimeOptions
40775
+ * @returns ApplyCertificateResponse
40776
+ */
40777
+ async applyCertificateWithOptions(request: ApplyCertificateRequest, runtime: $Util.RuntimeOptions): Promise<ApplyCertificateResponse> {
40778
+ Util.validateModel(request);
40779
+ let query = OpenApiUtil.query(Util.toMap(request));
40780
+ let req = new $OpenApi.OpenApiRequest({
40781
+ query: OpenApiUtil.query(query),
40782
+ });
40783
+ let params = new $OpenApi.Params({
40784
+ action: "ApplyCertificate",
40785
+ version: "2024-09-10",
40786
+ protocol: "HTTPS",
40787
+ pathname: "/",
40788
+ method: "GET",
40789
+ authType: "AK",
40790
+ style: "RPC",
40791
+ reqBodyType: "formData",
40792
+ bodyType: "json",
40793
+ });
40794
+ return $tea.cast<ApplyCertificateResponse>(await this.callApi(params, req, runtime), new ApplyCertificateResponse({}));
40795
+ }
40796
+
40797
+ /**
40798
+ * 申请免费证书
40799
+ *
40800
+ * @param request - ApplyCertificateRequest
40801
+ * @returns ApplyCertificateResponse
40802
+ */
40803
+ async applyCertificate(request: ApplyCertificateRequest): Promise<ApplyCertificateResponse> {
40804
+ let runtime = new $Util.RuntimeOptions({ });
40805
+ return await this.applyCertificateWithOptions(request, runtime);
40806
+ }
40807
+
38562
40808
  /**
38563
40809
  * Adds DNS records of different record types at a time..
38564
40810
  *
@@ -39897,6 +42143,66 @@ export default class Client extends OpenApi {
39897
42143
  return await this.createListWithOptions(request, runtime);
39898
42144
  }
39899
42145
 
42146
+ /**
42147
+ * 新增源地址池
42148
+ *
42149
+ * @param tmpReq - CreateOriginPoolRequest
42150
+ * @param runtime - runtime options for this request RuntimeOptions
42151
+ * @returns CreateOriginPoolResponse
42152
+ */
42153
+ async createOriginPoolWithOptions(tmpReq: CreateOriginPoolRequest, runtime: $Util.RuntimeOptions): Promise<CreateOriginPoolResponse> {
42154
+ Util.validateModel(tmpReq);
42155
+ let request = new CreateOriginPoolShrinkRequest({ });
42156
+ OpenApiUtil.convert(tmpReq, request);
42157
+ if (!Util.isUnset(tmpReq.origins)) {
42158
+ request.originsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.origins, "Origins", "json");
42159
+ }
42160
+
42161
+ let query = { };
42162
+ if (!Util.isUnset(request.enabled)) {
42163
+ query["Enabled"] = request.enabled;
42164
+ }
42165
+
42166
+ if (!Util.isUnset(request.name)) {
42167
+ query["Name"] = request.name;
42168
+ }
42169
+
42170
+ if (!Util.isUnset(request.originsShrink)) {
42171
+ query["Origins"] = request.originsShrink;
42172
+ }
42173
+
42174
+ if (!Util.isUnset(request.siteId)) {
42175
+ query["SiteId"] = request.siteId;
42176
+ }
42177
+
42178
+ let req = new $OpenApi.OpenApiRequest({
42179
+ query: OpenApiUtil.query(query),
42180
+ });
42181
+ let params = new $OpenApi.Params({
42182
+ action: "CreateOriginPool",
42183
+ version: "2024-09-10",
42184
+ protocol: "HTTPS",
42185
+ pathname: "/",
42186
+ method: "POST",
42187
+ authType: "AK",
42188
+ style: "RPC",
42189
+ reqBodyType: "formData",
42190
+ bodyType: "json",
42191
+ });
42192
+ return $tea.cast<CreateOriginPoolResponse>(await this.callApi(params, req, runtime), new CreateOriginPoolResponse({}));
42193
+ }
42194
+
42195
+ /**
42196
+ * 新增源地址池
42197
+ *
42198
+ * @param request - CreateOriginPoolRequest
42199
+ * @returns CreateOriginPoolResponse
42200
+ */
42201
+ async createOriginPool(request: CreateOriginPoolRequest): Promise<CreateOriginPoolResponse> {
42202
+ let runtime = new $Util.RuntimeOptions({ });
42203
+ return await this.createOriginPoolWithOptions(request, runtime);
42204
+ }
42205
+
39900
42206
  /**
39901
42207
  * Enables origin protection.
39902
42208
  *
@@ -40658,6 +42964,10 @@ export default class Client extends OpenApi {
40658
42964
  body["DeliveryType"] = request.deliveryType;
40659
42965
  }
40660
42966
 
42967
+ if (!Util.isUnset(request.details)) {
42968
+ body["Details"] = request.details;
42969
+ }
42970
+
40661
42971
  if (!Util.isUnset(request.discardRate)) {
40662
42972
  body["DiscardRate"] = request.discardRate;
40663
42973
  }
@@ -41433,6 +43743,52 @@ export default class Client extends OpenApi {
41433
43743
  return await this.deleteListWithOptions(request, runtime);
41434
43744
  }
41435
43745
 
43746
+ /**
43747
+ * 删除源地址池
43748
+ *
43749
+ * @param request - DeleteOriginPoolRequest
43750
+ * @param runtime - runtime options for this request RuntimeOptions
43751
+ * @returns DeleteOriginPoolResponse
43752
+ */
43753
+ async deleteOriginPoolWithOptions(request: DeleteOriginPoolRequest, runtime: $Util.RuntimeOptions): Promise<DeleteOriginPoolResponse> {
43754
+ Util.validateModel(request);
43755
+ let query = { };
43756
+ if (!Util.isUnset(request.id)) {
43757
+ query["Id"] = request.id;
43758
+ }
43759
+
43760
+ if (!Util.isUnset(request.siteId)) {
43761
+ query["SiteId"] = request.siteId;
43762
+ }
43763
+
43764
+ let req = new $OpenApi.OpenApiRequest({
43765
+ query: OpenApiUtil.query(query),
43766
+ });
43767
+ let params = new $OpenApi.Params({
43768
+ action: "DeleteOriginPool",
43769
+ version: "2024-09-10",
43770
+ protocol: "HTTPS",
43771
+ pathname: "/",
43772
+ method: "POST",
43773
+ authType: "AK",
43774
+ style: "RPC",
43775
+ reqBodyType: "formData",
43776
+ bodyType: "json",
43777
+ });
43778
+ return $tea.cast<DeleteOriginPoolResponse>(await this.callApi(params, req, runtime), new DeleteOriginPoolResponse({}));
43779
+ }
43780
+
43781
+ /**
43782
+ * 删除源地址池
43783
+ *
43784
+ * @param request - DeleteOriginPoolRequest
43785
+ * @returns DeleteOriginPoolResponse
43786
+ */
43787
+ async deleteOriginPool(request: DeleteOriginPoolRequest): Promise<DeleteOriginPoolResponse> {
43788
+ let runtime = new $Util.RuntimeOptions({ });
43789
+ return await this.deleteOriginPoolWithOptions(request, runtime);
43790
+ }
43791
+
41436
43792
  /**
41437
43793
  * Disables origin protection.
41438
43794
  *
@@ -42241,6 +44597,102 @@ export default class Client extends OpenApi {
42241
44597
  return await this.describeDDoSAllEventListWithOptions(request, runtime);
42242
44598
  }
42243
44599
 
44600
+ /**
44601
+ * 查询DCDN DDoS用户bps、pps数据
44602
+ *
44603
+ * @param request - DescribeDDoSBpsListRequest
44604
+ * @param runtime - runtime options for this request RuntimeOptions
44605
+ * @returns DescribeDDoSBpsListResponse
44606
+ */
44607
+ async describeDDoSBpsListWithOptions(request: DescribeDDoSBpsListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDoSBpsListResponse> {
44608
+ Util.validateModel(request);
44609
+ let query = OpenApiUtil.query(Util.toMap(request));
44610
+ let req = new $OpenApi.OpenApiRequest({
44611
+ query: OpenApiUtil.query(query),
44612
+ });
44613
+ let params = new $OpenApi.Params({
44614
+ action: "DescribeDDoSBpsList",
44615
+ version: "2024-09-10",
44616
+ protocol: "HTTPS",
44617
+ pathname: "/",
44618
+ method: "GET",
44619
+ authType: "AK",
44620
+ style: "RPC",
44621
+ reqBodyType: "formData",
44622
+ bodyType: "json",
44623
+ });
44624
+ return $tea.cast<DescribeDDoSBpsListResponse>(await this.callApi(params, req, runtime), new DescribeDDoSBpsListResponse({}));
44625
+ }
44626
+
44627
+ /**
44628
+ * 查询DCDN DDoS用户bps、pps数据
44629
+ *
44630
+ * @param request - DescribeDDoSBpsListRequest
44631
+ * @returns DescribeDDoSBpsListResponse
44632
+ */
44633
+ async describeDDoSBpsList(request: DescribeDDoSBpsListRequest): Promise<DescribeDDoSBpsListResponse> {
44634
+ let runtime = new $Util.RuntimeOptions({ });
44635
+ return await this.describeDDoSBpsListWithOptions(request, runtime);
44636
+ }
44637
+
44638
+ /**
44639
+ * ddos分析七层qps走势图接口
44640
+ *
44641
+ * @param request - DescribeDDoSL7QpsListRequest
44642
+ * @param runtime - runtime options for this request RuntimeOptions
44643
+ * @returns DescribeDDoSL7QpsListResponse
44644
+ */
44645
+ async describeDDoSL7QpsListWithOptions(request: DescribeDDoSL7QpsListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDoSL7QpsListResponse> {
44646
+ Util.validateModel(request);
44647
+ let query = { };
44648
+ if (!Util.isUnset(request.endTime)) {
44649
+ query["EndTime"] = request.endTime;
44650
+ }
44651
+
44652
+ if (!Util.isUnset(request.interval)) {
44653
+ query["Interval"] = request.interval;
44654
+ }
44655
+
44656
+ if (!Util.isUnset(request.recordId)) {
44657
+ query["RecordId"] = request.recordId;
44658
+ }
44659
+
44660
+ if (!Util.isUnset(request.siteId)) {
44661
+ query["SiteId"] = request.siteId;
44662
+ }
44663
+
44664
+ if (!Util.isUnset(request.startTime)) {
44665
+ query["StartTime"] = request.startTime;
44666
+ }
44667
+
44668
+ let req = new $OpenApi.OpenApiRequest({
44669
+ query: OpenApiUtil.query(query),
44670
+ });
44671
+ let params = new $OpenApi.Params({
44672
+ action: "DescribeDDoSL7QpsList",
44673
+ version: "2024-09-10",
44674
+ protocol: "HTTPS",
44675
+ pathname: "/",
44676
+ method: "POST",
44677
+ authType: "AK",
44678
+ style: "RPC",
44679
+ reqBodyType: "formData",
44680
+ bodyType: "json",
44681
+ });
44682
+ return $tea.cast<DescribeDDoSL7QpsListResponse>(await this.callApi(params, req, runtime), new DescribeDDoSL7QpsListResponse({}));
44683
+ }
44684
+
44685
+ /**
44686
+ * ddos分析七层qps走势图接口
44687
+ *
44688
+ * @param request - DescribeDDoSL7QpsListRequest
44689
+ * @returns DescribeDDoSL7QpsListResponse
44690
+ */
44691
+ async describeDDoSL7QpsList(request: DescribeDDoSL7QpsListRequest): Promise<DescribeDDoSL7QpsListResponse> {
44692
+ let runtime = new $Util.RuntimeOptions({ });
44693
+ return await this.describeDDoSL7QpsListWithOptions(request, runtime);
44694
+ }
44695
+
42244
44696
  /**
42245
44697
  * Queries the configuration of smart HTTP DDoS protection for a website.
42246
44698
  *
@@ -42645,6 +45097,44 @@ export default class Client extends OpenApi {
42645
45097
  return await this.getCacheReserveSpecificationWithOptions(runtime);
42646
45098
  }
42647
45099
 
45100
+ /**
45101
+ * Queries certificate information about a website.
45102
+ *
45103
+ * @param request - GetCertificateRequest
45104
+ * @param runtime - runtime options for this request RuntimeOptions
45105
+ * @returns GetCertificateResponse
45106
+ */
45107
+ async getCertificateWithOptions(request: GetCertificateRequest, runtime: $Util.RuntimeOptions): Promise<GetCertificateResponse> {
45108
+ Util.validateModel(request);
45109
+ let query = OpenApiUtil.query(Util.toMap(request));
45110
+ let req = new $OpenApi.OpenApiRequest({
45111
+ query: OpenApiUtil.query(query),
45112
+ });
45113
+ let params = new $OpenApi.Params({
45114
+ action: "GetCertificate",
45115
+ version: "2024-09-10",
45116
+ protocol: "HTTPS",
45117
+ pathname: "/",
45118
+ method: "GET",
45119
+ authType: "AK",
45120
+ style: "RPC",
45121
+ reqBodyType: "formData",
45122
+ bodyType: "json",
45123
+ });
45124
+ return $tea.cast<GetCertificateResponse>(await this.callApi(params, req, runtime), new GetCertificateResponse({}));
45125
+ }
45126
+
45127
+ /**
45128
+ * Queries certificate information about a website.
45129
+ *
45130
+ * @param request - GetCertificateRequest
45131
+ * @returns GetCertificateResponse
45132
+ */
45133
+ async getCertificate(request: GetCertificateRequest): Promise<GetCertificateResponse> {
45134
+ let runtime = new $Util.RuntimeOptions({ });
45135
+ return await this.getCertificateWithOptions(request, runtime);
45136
+ }
45137
+
42648
45138
  /**
42649
45139
  * 查询证书quota及用量
42650
45140
  *
@@ -43079,44 +45569,6 @@ export default class Client extends OpenApi {
43079
45569
  return await this.getEdgeContainerTerminalWithOptions(request, runtime);
43080
45570
  }
43081
45571
 
43082
- /**
43083
- * Checks the status of Edge Routine.
43084
- *
43085
- * @param request - GetErServiceRequest
43086
- * @param runtime - runtime options for this request RuntimeOptions
43087
- * @returns GetErServiceResponse
43088
- */
43089
- async getErServiceWithOptions(request: GetErServiceRequest, runtime: $Util.RuntimeOptions): Promise<GetErServiceResponse> {
43090
- Util.validateModel(request);
43091
- let query = OpenApiUtil.query(Util.toMap(request));
43092
- let req = new $OpenApi.OpenApiRequest({
43093
- query: OpenApiUtil.query(query),
43094
- });
43095
- let params = new $OpenApi.Params({
43096
- action: "GetErService",
43097
- version: "2024-09-10",
43098
- protocol: "HTTPS",
43099
- pathname: "/",
43100
- method: "GET",
43101
- authType: "AK",
43102
- style: "RPC",
43103
- reqBodyType: "formData",
43104
- bodyType: "json",
43105
- });
43106
- return $tea.cast<GetErServiceResponse>(await this.callApi(params, req, runtime), new GetErServiceResponse({}));
43107
- }
43108
-
43109
- /**
43110
- * Checks the status of Edge Routine.
43111
- *
43112
- * @param request - GetErServiceRequest
43113
- * @returns GetErServiceResponse
43114
- */
43115
- async getErService(request: GetErServiceRequest): Promise<GetErServiceResponse> {
43116
- let runtime = new $Util.RuntimeOptions({ });
43117
- return await this.getErServiceWithOptions(request, runtime);
43118
- }
43119
-
43120
45572
  /**
43121
45573
  * Queries the value of a key in a key-value pair.
43122
45574
  *
@@ -43267,6 +45719,44 @@ export default class Client extends OpenApi {
43267
45719
  return await this.getListWithOptions(request, runtime);
43268
45720
  }
43269
45721
 
45722
+ /**
45723
+ * 查询特定源地址池
45724
+ *
45725
+ * @param request - GetOriginPoolRequest
45726
+ * @param runtime - runtime options for this request RuntimeOptions
45727
+ * @returns GetOriginPoolResponse
45728
+ */
45729
+ async getOriginPoolWithOptions(request: GetOriginPoolRequest, runtime: $Util.RuntimeOptions): Promise<GetOriginPoolResponse> {
45730
+ Util.validateModel(request);
45731
+ let query = OpenApiUtil.query(Util.toMap(request));
45732
+ let req = new $OpenApi.OpenApiRequest({
45733
+ query: OpenApiUtil.query(query),
45734
+ });
45735
+ let params = new $OpenApi.Params({
45736
+ action: "GetOriginPool",
45737
+ version: "2024-09-10",
45738
+ protocol: "HTTPS",
45739
+ pathname: "/",
45740
+ method: "GET",
45741
+ authType: "AK",
45742
+ style: "RPC",
45743
+ reqBodyType: "formData",
45744
+ bodyType: "json",
45745
+ });
45746
+ return $tea.cast<GetOriginPoolResponse>(await this.callApi(params, req, runtime), new GetOriginPoolResponse({}));
45747
+ }
45748
+
45749
+ /**
45750
+ * 查询特定源地址池
45751
+ *
45752
+ * @param request - GetOriginPoolRequest
45753
+ * @returns GetOriginPoolResponse
45754
+ */
45755
+ async getOriginPool(request: GetOriginPoolRequest): Promise<GetOriginPoolResponse> {
45756
+ let runtime = new $Util.RuntimeOptions({ });
45757
+ return await this.getOriginPoolWithOptions(request, runtime);
45758
+ }
45759
+
43270
45760
  /**
43271
45761
  * Queries the origin protection configurations of a website, including the origin protection, IP convergence, and the status and details of the IP whitelist for origin protection. The details includes the IP whitelist used by the website, the latest IP whitelist, and the differences between them.
43272
45762
  *
@@ -44223,6 +46713,44 @@ export default class Client extends OpenApi {
44223
46713
  return await this.listCacheReserveInstancesWithOptions(request, runtime);
44224
46714
  }
44225
46715
 
46716
+ /**
46717
+ * 查询站点下证书列表
46718
+ *
46719
+ * @param request - ListCertificatesRequest
46720
+ * @param runtime - runtime options for this request RuntimeOptions
46721
+ * @returns ListCertificatesResponse
46722
+ */
46723
+ async listCertificatesWithOptions(request: ListCertificatesRequest, runtime: $Util.RuntimeOptions): Promise<ListCertificatesResponse> {
46724
+ Util.validateModel(request);
46725
+ let query = OpenApiUtil.query(Util.toMap(request));
46726
+ let req = new $OpenApi.OpenApiRequest({
46727
+ query: OpenApiUtil.query(query),
46728
+ });
46729
+ let params = new $OpenApi.Params({
46730
+ action: "ListCertificates",
46731
+ version: "2024-09-10",
46732
+ protocol: "HTTPS",
46733
+ pathname: "/",
46734
+ method: "GET",
46735
+ authType: "AK",
46736
+ style: "RPC",
46737
+ reqBodyType: "formData",
46738
+ bodyType: "json",
46739
+ });
46740
+ return $tea.cast<ListCertificatesResponse>(await this.callApi(params, req, runtime), new ListCertificatesResponse({}));
46741
+ }
46742
+
46743
+ /**
46744
+ * 查询站点下证书列表
46745
+ *
46746
+ * @param request - ListCertificatesRequest
46747
+ * @returns ListCertificatesResponse
46748
+ */
46749
+ async listCertificates(request: ListCertificatesRequest): Promise<ListCertificatesResponse> {
46750
+ let runtime = new $Util.RuntimeOptions({ });
46751
+ return await this.listCertificatesWithOptions(request, runtime);
46752
+ }
46753
+
44226
46754
  /**
44227
46755
  * 查询TLS密码套件列表
44228
46756
  *
@@ -44849,6 +47377,44 @@ export default class Client extends OpenApi {
44849
47377
  return await this.listManagedRulesGroupsWithOptions(request, runtime);
44850
47378
  }
44851
47379
 
47380
+ /**
47381
+ * 查询源地址池列表
47382
+ *
47383
+ * @param request - ListOriginPoolsRequest
47384
+ * @param runtime - runtime options for this request RuntimeOptions
47385
+ * @returns ListOriginPoolsResponse
47386
+ */
47387
+ async listOriginPoolsWithOptions(request: ListOriginPoolsRequest, runtime: $Util.RuntimeOptions): Promise<ListOriginPoolsResponse> {
47388
+ Util.validateModel(request);
47389
+ let query = OpenApiUtil.query(Util.toMap(request));
47390
+ let req = new $OpenApi.OpenApiRequest({
47391
+ query: OpenApiUtil.query(query),
47392
+ });
47393
+ let params = new $OpenApi.Params({
47394
+ action: "ListOriginPools",
47395
+ version: "2024-09-10",
47396
+ protocol: "HTTPS",
47397
+ pathname: "/",
47398
+ method: "GET",
47399
+ authType: "AK",
47400
+ style: "RPC",
47401
+ reqBodyType: "formData",
47402
+ bodyType: "json",
47403
+ });
47404
+ return $tea.cast<ListOriginPoolsResponse>(await this.callApi(params, req, runtime), new ListOriginPoolsResponse({}));
47405
+ }
47406
+
47407
+ /**
47408
+ * 查询源地址池列表
47409
+ *
47410
+ * @param request - ListOriginPoolsRequest
47411
+ * @returns ListOriginPoolsResponse
47412
+ */
47413
+ async listOriginPools(request: ListOriginPoolsRequest): Promise<ListOriginPoolsResponse> {
47414
+ let runtime = new $Util.RuntimeOptions({ });
47415
+ return await this.listOriginPoolsWithOptions(request, runtime);
47416
+ }
47417
+
44852
47418
  /**
44853
47419
  * Lists all custom error pages that you created. You can define the page number and the number of entries per page to display the response.
44854
47420
  *
@@ -46912,6 +49478,66 @@ export default class Client extends OpenApi {
46912
49478
  return await this.updateKvNamespaceWithOptions(request, runtime);
46913
49479
  }
46914
49480
 
49481
+ /**
49482
+ * 修改监视器
49483
+ *
49484
+ * @param tmpReq - UpdateOriginPoolRequest
49485
+ * @param runtime - runtime options for this request RuntimeOptions
49486
+ * @returns UpdateOriginPoolResponse
49487
+ */
49488
+ async updateOriginPoolWithOptions(tmpReq: UpdateOriginPoolRequest, runtime: $Util.RuntimeOptions): Promise<UpdateOriginPoolResponse> {
49489
+ Util.validateModel(tmpReq);
49490
+ let request = new UpdateOriginPoolShrinkRequest({ });
49491
+ OpenApiUtil.convert(tmpReq, request);
49492
+ if (!Util.isUnset(tmpReq.origins)) {
49493
+ request.originsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.origins, "Origins", "json");
49494
+ }
49495
+
49496
+ let query = { };
49497
+ if (!Util.isUnset(request.enabled)) {
49498
+ query["Enabled"] = request.enabled;
49499
+ }
49500
+
49501
+ if (!Util.isUnset(request.id)) {
49502
+ query["Id"] = request.id;
49503
+ }
49504
+
49505
+ if (!Util.isUnset(request.originsShrink)) {
49506
+ query["Origins"] = request.originsShrink;
49507
+ }
49508
+
49509
+ if (!Util.isUnset(request.siteId)) {
49510
+ query["SiteId"] = request.siteId;
49511
+ }
49512
+
49513
+ let req = new $OpenApi.OpenApiRequest({
49514
+ query: OpenApiUtil.query(query),
49515
+ });
49516
+ let params = new $OpenApi.Params({
49517
+ action: "UpdateOriginPool",
49518
+ version: "2024-09-10",
49519
+ protocol: "HTTPS",
49520
+ pathname: "/",
49521
+ method: "POST",
49522
+ authType: "AK",
49523
+ style: "RPC",
49524
+ reqBodyType: "formData",
49525
+ bodyType: "json",
49526
+ });
49527
+ return $tea.cast<UpdateOriginPoolResponse>(await this.callApi(params, req, runtime), new UpdateOriginPoolResponse({}));
49528
+ }
49529
+
49530
+ /**
49531
+ * 修改监视器
49532
+ *
49533
+ * @param request - UpdateOriginPoolRequest
49534
+ * @returns UpdateOriginPoolResponse
49535
+ */
49536
+ async updateOriginPool(request: UpdateOriginPoolRequest): Promise<UpdateOriginPoolResponse> {
49537
+ let runtime = new $Util.RuntimeOptions({ });
49538
+ return await this.updateOriginPoolWithOptions(request, runtime);
49539
+ }
49540
+
46915
49541
  /**
46916
49542
  * Enables or disables IP convergence.
46917
49543
  *
@@ -47546,6 +50172,10 @@ export default class Client extends OpenApi {
47546
50172
  body["BusinessType"] = request.businessType;
47547
50173
  }
47548
50174
 
50175
+ if (!Util.isUnset(request.details)) {
50176
+ body["Details"] = request.details;
50177
+ }
50178
+
47549
50179
  if (!Util.isUnset(request.discardRate)) {
47550
50180
  body["DiscardRate"] = request.discardRate;
47551
50181
  }