@alicloud/waf-openapi20211001 4.0.5 → 4.0.6
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/dist/client.d.ts +248 -119
- package/dist/client.js +1066 -173
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1275 -279
package/dist/client.d.ts
CHANGED
|
@@ -348,11 +348,11 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
348
348
|
certId?: string;
|
|
349
349
|
/**
|
|
350
350
|
* @remarks
|
|
351
|
-
* The type of cipher
|
|
351
|
+
* The type of the cipher suites that you want to add. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
352
352
|
*
|
|
353
|
-
* * **1
|
|
354
|
-
* * **2
|
|
355
|
-
* * **99
|
|
353
|
+
* * **1**: all cipher suites.
|
|
354
|
+
* * **2**: strong cipher suites. This value is available only if you set **TLSVersion** to **tlsv1.2**.
|
|
355
|
+
* * **99**: custom cipher suites.
|
|
356
356
|
*
|
|
357
357
|
* @example
|
|
358
358
|
* 2
|
|
@@ -360,7 +360,7 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
360
360
|
cipherSuite?: number;
|
|
361
361
|
/**
|
|
362
362
|
* @remarks
|
|
363
|
-
* The custom cipher
|
|
363
|
+
* The custom cipher suites that you want to add.
|
|
364
364
|
*/
|
|
365
365
|
customCiphers?: string[];
|
|
366
366
|
/**
|
|
@@ -379,7 +379,7 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
379
379
|
enableTLSv3?: boolean;
|
|
380
380
|
/**
|
|
381
381
|
* @remarks
|
|
382
|
-
* Specifies whether to enable
|
|
382
|
+
* Specifies whether to enable the exclusive IP address feature. This parameter is available only if you set **IPv6Enabled** to **false** and **ProtectionResource** to **share**. Valid values:
|
|
383
383
|
*
|
|
384
384
|
* * **true**
|
|
385
385
|
* * **false** (default)
|
|
@@ -390,7 +390,7 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
390
390
|
exclusiveIp?: boolean;
|
|
391
391
|
/**
|
|
392
392
|
* @remarks
|
|
393
|
-
* Specifies whether to enable HTTP to HTTPS
|
|
393
|
+
* Specifies whether to enable force redirect from HTTP to HTTPS for received requests. This parameter is available only if you specify HttpsPorts and leave HttpPorts empty. Valid values:
|
|
394
394
|
*
|
|
395
395
|
* * **true**
|
|
396
396
|
* * **false**
|
|
@@ -412,17 +412,17 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
412
412
|
http2Enabled?: boolean;
|
|
413
413
|
/**
|
|
414
414
|
* @remarks
|
|
415
|
-
* The HTTP listener
|
|
415
|
+
* The HTTP listener ports.
|
|
416
416
|
*/
|
|
417
417
|
httpPorts?: number[];
|
|
418
418
|
/**
|
|
419
419
|
* @remarks
|
|
420
|
-
* The HTTPS listener
|
|
420
|
+
* The HTTPS listener ports.
|
|
421
421
|
*/
|
|
422
422
|
httpsPorts?: number[];
|
|
423
423
|
/**
|
|
424
424
|
* @remarks
|
|
425
|
-
* Specifies whether to enable IPv6. Valid values:
|
|
425
|
+
* Specifies whether to enable IPv6 protection. Valid values:
|
|
426
426
|
*
|
|
427
427
|
* * **true**
|
|
428
428
|
* * **false** (default)
|
|
@@ -435,8 +435,8 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
435
435
|
* @remarks
|
|
436
436
|
* The type of the protection resource. Valid values:
|
|
437
437
|
*
|
|
438
|
-
* * **share
|
|
439
|
-
* * **gslb
|
|
438
|
+
* * **share** (default): a shared cluster.
|
|
439
|
+
* * **gslb**: shared cluster-based intelligent load balancing.
|
|
440
440
|
*
|
|
441
441
|
* @example
|
|
442
442
|
* share
|
|
@@ -469,7 +469,7 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
469
469
|
SM2CertId?: string;
|
|
470
470
|
/**
|
|
471
471
|
* @remarks
|
|
472
|
-
* Specifies whether to
|
|
472
|
+
* Specifies whether to add an SM certificate.
|
|
473
473
|
*
|
|
474
474
|
* @example
|
|
475
475
|
* true
|
|
@@ -480,7 +480,7 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
480
480
|
SM2Enabled?: boolean;
|
|
481
481
|
/**
|
|
482
482
|
* @remarks
|
|
483
|
-
* The
|
|
483
|
+
* The Transport Layer Security (TLS) version that you want to add. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
484
484
|
*
|
|
485
485
|
* * **tlsv1**
|
|
486
486
|
* * **tlsv1.1**
|
|
@@ -492,11 +492,11 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
492
492
|
TLSVersion?: string;
|
|
493
493
|
/**
|
|
494
494
|
* @remarks
|
|
495
|
-
* The method that
|
|
495
|
+
* The method that is used to obtain the originating IP address of a client. Valid values:
|
|
496
496
|
*
|
|
497
|
-
* * **0
|
|
498
|
-
* * **1
|
|
499
|
-
* * **2
|
|
497
|
+
* * **0** (default): Client traffic is not filtered by a Layer 7 proxy before the traffic reaches WAF.
|
|
498
|
+
* * **1**: WAF reads the first value of the X-Forwarded-For (XFF) header field as the originating IP address of the client.
|
|
499
|
+
* * **2**: WAF reads the value of a custom header field as the originating IP address of the client.
|
|
500
500
|
*
|
|
501
501
|
* @example
|
|
502
502
|
* 1
|
|
@@ -504,7 +504,7 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
504
504
|
xffHeaderMode?: number;
|
|
505
505
|
/**
|
|
506
506
|
* @remarks
|
|
507
|
-
* The custom header
|
|
507
|
+
* The custom header fields that are used to obtain the originating IP address of a client.
|
|
508
508
|
*/
|
|
509
509
|
xffHeaders?: string[];
|
|
510
510
|
static names(): {
|
|
@@ -521,7 +521,7 @@ export declare class CreateDomainRequestListen extends $dara.Model {
|
|
|
521
521
|
export declare class CreateDomainRequestRedirectRequestHeaders extends $dara.Model {
|
|
522
522
|
/**
|
|
523
523
|
* @remarks
|
|
524
|
-
* The custom header field.
|
|
524
|
+
* The key of the custom header field.
|
|
525
525
|
*
|
|
526
526
|
* @example
|
|
527
527
|
* aaa
|
|
@@ -552,6 +552,10 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
552
552
|
* The IP addresses or domain names of the origin server.
|
|
553
553
|
*/
|
|
554
554
|
backends?: string[];
|
|
555
|
+
/**
|
|
556
|
+
* @remarks
|
|
557
|
+
* The secondary IP addresses or domain names of the origin server.
|
|
558
|
+
*/
|
|
555
559
|
backupBackends?: string[];
|
|
556
560
|
/**
|
|
557
561
|
* @remarks
|
|
@@ -566,7 +570,7 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
566
570
|
cnameEnabled?: boolean;
|
|
567
571
|
/**
|
|
568
572
|
* @remarks
|
|
569
|
-
* The timeout period
|
|
573
|
+
* The timeout period of connections. Unit: seconds. Valid values: 1 to 3600.
|
|
570
574
|
*
|
|
571
575
|
* @example
|
|
572
576
|
* 120
|
|
@@ -574,7 +578,7 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
574
578
|
connectTimeout?: number;
|
|
575
579
|
/**
|
|
576
580
|
* @remarks
|
|
577
|
-
* Specifies whether to enable HTTPS to HTTP
|
|
581
|
+
* Specifies whether to enable force redirect from HTTPS to HTTP for back-to-origin requests. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
578
582
|
*
|
|
579
583
|
* * **true**
|
|
580
584
|
* * **false**
|
|
@@ -598,7 +602,7 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
598
602
|
* @remarks
|
|
599
603
|
* The number of reused persistent connections. Valid values: 60 to 1000.
|
|
600
604
|
*
|
|
601
|
-
* > This parameter specifies the number of
|
|
605
|
+
* > This parameter specifies the number of persistent connections that can be reused after you enable the persistent connection feature.
|
|
602
606
|
*
|
|
603
607
|
* @example
|
|
604
608
|
* 1000
|
|
@@ -606,9 +610,9 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
606
610
|
keepaliveRequests?: number;
|
|
607
611
|
/**
|
|
608
612
|
* @remarks
|
|
609
|
-
* The timeout period
|
|
613
|
+
* The timeout period of idle persistent connections. Valid values: 1 to 60. Default value: 15. Unit: seconds.
|
|
610
614
|
*
|
|
611
|
-
* > This parameter specifies the time
|
|
615
|
+
* > This parameter specifies the period of time after which an idle persistent connection is closed.
|
|
612
616
|
*
|
|
613
617
|
* @example
|
|
614
618
|
* 15
|
|
@@ -620,7 +624,7 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
620
624
|
*
|
|
621
625
|
* * **iphash**
|
|
622
626
|
* * **roundRobin**
|
|
623
|
-
* * **leastTime
|
|
627
|
+
* * **leastTime**: This value is available only if you set **ProtectionResource** to **gslb**.
|
|
624
628
|
*
|
|
625
629
|
* This parameter is required.
|
|
626
630
|
*
|
|
@@ -630,7 +634,7 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
630
634
|
loadbalance?: string;
|
|
631
635
|
/**
|
|
632
636
|
* @remarks
|
|
633
|
-
* The timeout period
|
|
637
|
+
* The timeout period of read connections. Unit: seconds. Valid values: 1 to 3600.
|
|
634
638
|
*
|
|
635
639
|
* @example
|
|
636
640
|
* 200
|
|
@@ -638,14 +642,14 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
638
642
|
readTimeout?: number;
|
|
639
643
|
/**
|
|
640
644
|
* @remarks
|
|
641
|
-
* The custom header
|
|
645
|
+
* The custom header fields, which are key-value pairs. The fields are used to mark requests that pass through WAF.
|
|
642
646
|
*
|
|
643
|
-
* When a request passes through WAF, the custom header
|
|
647
|
+
* When a request passes through WAF, WAF automatically adds the custom header fields to the request to mark the request. This way, the backend service can identify requests that are processed by WAF.
|
|
644
648
|
*/
|
|
645
649
|
requestHeaders?: CreateDomainRequestRedirectRequestHeaders[];
|
|
646
650
|
/**
|
|
647
651
|
* @remarks
|
|
648
|
-
* Specifies whether WAF retries
|
|
652
|
+
* Specifies whether WAF retries if WAF fails to forward requests to the origin server. Valid values:
|
|
649
653
|
*
|
|
650
654
|
* * **true** (default)
|
|
651
655
|
* * **false**
|
|
@@ -656,11 +660,11 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
656
660
|
retry?: boolean;
|
|
657
661
|
/**
|
|
658
662
|
* @remarks
|
|
659
|
-
* The forwarding rules
|
|
663
|
+
* The forwarding rules for the hybrid cloud mode. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:
|
|
660
664
|
*
|
|
661
|
-
* * **rs**: the back-to-origin IP addresses or CNAMEs.
|
|
662
|
-
* * **location**: the name of the protection node.
|
|
663
|
-
* * **locationId**: the ID of the protection node.
|
|
665
|
+
* * **rs**: the back-to-origin IP addresses or CNAMEs. Data type: array.
|
|
666
|
+
* * **location**: the name of the protection node. Data type: string.
|
|
667
|
+
* * **locationId**: the ID of the protection node. Data type: long.
|
|
664
668
|
*
|
|
665
669
|
* @example
|
|
666
670
|
* [
|
|
@@ -676,7 +680,7 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
676
680
|
routingRules?: string;
|
|
677
681
|
/**
|
|
678
682
|
* @remarks
|
|
679
|
-
* Specifies whether to enable
|
|
683
|
+
* Specifies whether to enable the Server Name Indication (SNI) feature for back-to-origin requests. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
680
684
|
*
|
|
681
685
|
* * **true**
|
|
682
686
|
* * **false** (default)
|
|
@@ -687,7 +691,7 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
687
691
|
sniEnabled?: boolean;
|
|
688
692
|
/**
|
|
689
693
|
* @remarks
|
|
690
|
-
* The value of the SNI field. If you do not specify this parameter, the value of the **Host** field is automatically used.
|
|
694
|
+
* The custom value of the SNI field. If you do not specify this parameter, the value of the **Host** header field is automatically used. In most cases, you do not need to specify a custom value for the SNI field. However, if you want WAF to use an SNI field whose value is different from the value of the Host header field in back-to-origin requests, you can specify a custom value for the SNI field.
|
|
691
695
|
*
|
|
692
696
|
* > This parameter is required only if you set **SniEnabled** to **true**.
|
|
693
697
|
*
|
|
@@ -697,7 +701,7 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
697
701
|
sniHost?: string;
|
|
698
702
|
/**
|
|
699
703
|
* @remarks
|
|
700
|
-
* The timeout period
|
|
704
|
+
* The timeout period of write connections. Unit: seconds. Valid values: 1 to 3600.
|
|
701
705
|
*
|
|
702
706
|
* @example
|
|
703
707
|
* 200
|
|
@@ -705,7 +709,7 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
705
709
|
writeTimeout?: number;
|
|
706
710
|
/**
|
|
707
711
|
* @remarks
|
|
708
|
-
* Specifies whether to use X-Forward-For-Proto to pass the protocol used by WAF to forward requests to the origin server. Valid values:
|
|
712
|
+
* Specifies whether to use the X-Forward-For-Proto header field to pass the protocol used by WAF to forward requests to the origin server. Valid values:
|
|
709
713
|
*
|
|
710
714
|
* * **true** (default)
|
|
711
715
|
* * **false**
|
|
@@ -726,7 +730,21 @@ export declare class CreateDomainRequestRedirect extends $dara.Model {
|
|
|
726
730
|
});
|
|
727
731
|
}
|
|
728
732
|
export declare class CreateDomainRequestTag extends $dara.Model {
|
|
733
|
+
/**
|
|
734
|
+
* @remarks
|
|
735
|
+
* The key of the tag.
|
|
736
|
+
*
|
|
737
|
+
* @example
|
|
738
|
+
* Tagkey1
|
|
739
|
+
*/
|
|
729
740
|
key?: string;
|
|
741
|
+
/**
|
|
742
|
+
* @remarks
|
|
743
|
+
* The value of the tag.
|
|
744
|
+
*
|
|
745
|
+
* @example
|
|
746
|
+
* TagValue1
|
|
747
|
+
*/
|
|
730
748
|
value?: string;
|
|
731
749
|
static names(): {
|
|
732
750
|
[key: string]: string;
|
|
@@ -740,7 +758,21 @@ export declare class CreateDomainRequestTag extends $dara.Model {
|
|
|
740
758
|
});
|
|
741
759
|
}
|
|
742
760
|
export declare class CreateDomainShrinkRequestTag extends $dara.Model {
|
|
761
|
+
/**
|
|
762
|
+
* @remarks
|
|
763
|
+
* The key of the tag.
|
|
764
|
+
*
|
|
765
|
+
* @example
|
|
766
|
+
* Tagkey1
|
|
767
|
+
*/
|
|
743
768
|
key?: string;
|
|
769
|
+
/**
|
|
770
|
+
* @remarks
|
|
771
|
+
* The value of the tag.
|
|
772
|
+
*
|
|
773
|
+
* @example
|
|
774
|
+
* TagValue1
|
|
775
|
+
*/
|
|
744
776
|
value?: string;
|
|
745
777
|
static names(): {
|
|
746
778
|
[key: string]: string;
|
|
@@ -770,6 +802,13 @@ export declare class CreateDomainResponseBodyDomainInfo extends $dara.Model {
|
|
|
770
802
|
* www.aliyundoc.com
|
|
771
803
|
*/
|
|
772
804
|
domain?: string;
|
|
805
|
+
/**
|
|
806
|
+
* @remarks
|
|
807
|
+
* The name of the protected object that is generated.
|
|
808
|
+
*
|
|
809
|
+
* @example
|
|
810
|
+
* www.aliyundoc.com-waf
|
|
811
|
+
*/
|
|
773
812
|
domainId?: string;
|
|
774
813
|
static names(): {
|
|
775
814
|
[key: string]: string;
|
|
@@ -1040,6 +1079,10 @@ export declare class DescribeApisecAbnormalsResponseBodyData extends $dara.Model
|
|
|
1040
1079
|
* 1684252800
|
|
1041
1080
|
*/
|
|
1042
1081
|
lastestTime?: number;
|
|
1082
|
+
/**
|
|
1083
|
+
* @example
|
|
1084
|
+
* 1684252800
|
|
1085
|
+
*/
|
|
1043
1086
|
latestDiscoverTime?: number;
|
|
1044
1087
|
/**
|
|
1045
1088
|
* @remarks
|
|
@@ -1308,6 +1351,11 @@ export declare class DescribeApisecApiResourcesResponseBodyData extends $dara.Mo
|
|
|
1308
1351
|
* Password changed
|
|
1309
1352
|
*/
|
|
1310
1353
|
note?: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* @remarks
|
|
1356
|
+
* The list of protection objects corresponding to this asset.
|
|
1357
|
+
*/
|
|
1358
|
+
resources?: string[];
|
|
1311
1359
|
static names(): {
|
|
1312
1360
|
[key: string]: string;
|
|
1313
1361
|
};
|
|
@@ -1419,6 +1467,7 @@ export declare class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
1419
1467
|
/**
|
|
1420
1468
|
* @remarks
|
|
1421
1469
|
* The number of attacks.
|
|
1470
|
+
* >Notice: The parameter has been deprecated, please use the Attackips parameter.
|
|
1422
1471
|
*
|
|
1423
1472
|
* @example
|
|
1424
1473
|
* 10
|
|
@@ -1487,6 +1536,11 @@ export declare class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
1487
1536
|
* [{\\"ip\\":\\"72.*.*.119\\",\\"country_id\\":\\"US\\",\\"region_id\\":\\"\\",\\"cnt\\":\\"2100\\"}]
|
|
1488
1537
|
*/
|
|
1489
1538
|
attackIpInfo?: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* @remarks
|
|
1541
|
+
* The source IP addresses of the attacks.
|
|
1542
|
+
*/
|
|
1543
|
+
attackIps?: string[];
|
|
1490
1544
|
/**
|
|
1491
1545
|
* @remarks
|
|
1492
1546
|
* The end of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
|
|
@@ -1943,6 +1997,14 @@ export declare class DescribeApisecSensitiveDomainStatisticResponseBodyData exte
|
|
|
1943
1997
|
});
|
|
1944
1998
|
}
|
|
1945
1999
|
export declare class DescribeApisecStatisticsResponseBodyData extends $dara.Model {
|
|
2000
|
+
/**
|
|
2001
|
+
* @remarks
|
|
2002
|
+
* The number of handled events.
|
|
2003
|
+
*
|
|
2004
|
+
* @example
|
|
2005
|
+
* 1
|
|
2006
|
+
*/
|
|
2007
|
+
actioned?: number;
|
|
1946
2008
|
/**
|
|
1947
2009
|
* @remarks
|
|
1948
2010
|
* The number of APIs.
|
|
@@ -2913,6 +2975,20 @@ export declare class DescribeDefaultHttpsResponseBodyDefaultHttps extends $dara.
|
|
|
2913
2975
|
[key: string]: any;
|
|
2914
2976
|
});
|
|
2915
2977
|
}
|
|
2978
|
+
export declare class DescribeDefenseResourceResponseBodyResourceResponseHeaders extends $dara.Model {
|
|
2979
|
+
key?: string;
|
|
2980
|
+
value?: string;
|
|
2981
|
+
static names(): {
|
|
2982
|
+
[key: string]: string;
|
|
2983
|
+
};
|
|
2984
|
+
static types(): {
|
|
2985
|
+
[key: string]: any;
|
|
2986
|
+
};
|
|
2987
|
+
validate(): void;
|
|
2988
|
+
constructor(map?: {
|
|
2989
|
+
[key: string]: any;
|
|
2990
|
+
});
|
|
2991
|
+
}
|
|
2916
2992
|
export declare class DescribeDefenseResourceResponseBodyResource extends $dara.Model {
|
|
2917
2993
|
/**
|
|
2918
2994
|
* @remarks
|
|
@@ -3050,6 +3126,7 @@ export declare class DescribeDefenseResourceResponseBodyResource extends $dara.M
|
|
|
3050
3126
|
* custom
|
|
3051
3127
|
*/
|
|
3052
3128
|
resourceOrigin?: string;
|
|
3129
|
+
responseHeaders?: DescribeDefenseResourceResponseBodyResourceResponseHeaders[];
|
|
3053
3130
|
/**
|
|
3054
3131
|
* @remarks
|
|
3055
3132
|
* Indicates whether a Layer 7 proxy is deployed in front of WAF, such as Anti-DDoS Proxy and Alibaba Cloud CDN. Valid values:
|
|
@@ -3309,6 +3386,20 @@ export declare class DescribeDefenseResourcesRequestTag extends $dara.Model {
|
|
|
3309
3386
|
[key: string]: any;
|
|
3310
3387
|
});
|
|
3311
3388
|
}
|
|
3389
|
+
export declare class DescribeDefenseResourcesResponseBodyResourcesResponseHeaders extends $dara.Model {
|
|
3390
|
+
key?: string;
|
|
3391
|
+
value?: string;
|
|
3392
|
+
static names(): {
|
|
3393
|
+
[key: string]: string;
|
|
3394
|
+
};
|
|
3395
|
+
static types(): {
|
|
3396
|
+
[key: string]: any;
|
|
3397
|
+
};
|
|
3398
|
+
validate(): void;
|
|
3399
|
+
constructor(map?: {
|
|
3400
|
+
[key: string]: any;
|
|
3401
|
+
});
|
|
3402
|
+
}
|
|
3312
3403
|
export declare class DescribeDefenseResourcesResponseBodyResources extends $dara.Model {
|
|
3313
3404
|
/**
|
|
3314
3405
|
* @remarks
|
|
@@ -3435,6 +3526,7 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $dara
|
|
|
3435
3526
|
* custom
|
|
3436
3527
|
*/
|
|
3437
3528
|
resourceOrigin?: string;
|
|
3529
|
+
responseHeaders?: DescribeDefenseResourcesResponseBodyResourcesResponseHeaders[];
|
|
3438
3530
|
/**
|
|
3439
3531
|
* @remarks
|
|
3440
3532
|
* Indicates whether the X-Forwarded-For (XFF) header is used.
|
|
@@ -7408,10 +7500,19 @@ export declare class DescribeSensitiveRequestLogResponseBodyData extends $dara.M
|
|
|
7408
7500
|
requestTime?: number;
|
|
7409
7501
|
/**
|
|
7410
7502
|
* @remarks
|
|
7411
|
-
* The sensitive data.
|
|
7503
|
+
* The sensitive data. The value of this parameter is a JSON string that contains multiple parameters. The Key of JSON is the sensitive information type identifier (including default and custom types), and the Value is the sensitive information data list.
|
|
7504
|
+
* > You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of sensitive data.
|
|
7412
7505
|
*
|
|
7413
7506
|
* @example
|
|
7414
|
-
*
|
|
7507
|
+
* {
|
|
7508
|
+
* "1000":[
|
|
7509
|
+
* "90.88.49.19",
|
|
7510
|
+
* "90.88.49.19"
|
|
7511
|
+
* ],
|
|
7512
|
+
* "835436":[
|
|
7513
|
+
* "www.abc.com"
|
|
7514
|
+
* ]
|
|
7515
|
+
* }
|
|
7415
7516
|
*/
|
|
7416
7517
|
sensitiveList?: string;
|
|
7417
7518
|
/**
|
|
@@ -8367,6 +8468,20 @@ export declare class ModifyCloudResourceRequestRedirect extends $dara.Model {
|
|
|
8367
8468
|
[key: string]: any;
|
|
8368
8469
|
});
|
|
8369
8470
|
}
|
|
8471
|
+
export declare class ModifyDefenseResourceXffRequestResponseHeaders extends $dara.Model {
|
|
8472
|
+
key?: string;
|
|
8473
|
+
value?: string;
|
|
8474
|
+
static names(): {
|
|
8475
|
+
[key: string]: string;
|
|
8476
|
+
};
|
|
8477
|
+
static types(): {
|
|
8478
|
+
[key: string]: any;
|
|
8479
|
+
};
|
|
8480
|
+
validate(): void;
|
|
8481
|
+
constructor(map?: {
|
|
8482
|
+
[key: string]: any;
|
|
8483
|
+
});
|
|
8484
|
+
}
|
|
8370
8485
|
export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
8371
8486
|
/**
|
|
8372
8487
|
* @remarks
|
|
@@ -8378,11 +8493,11 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8378
8493
|
certId?: string;
|
|
8379
8494
|
/**
|
|
8380
8495
|
* @remarks
|
|
8381
|
-
* The type of cipher
|
|
8496
|
+
* The type of the cipher suites that you want to add. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
8382
8497
|
*
|
|
8383
|
-
* * **1
|
|
8384
|
-
* * **2
|
|
8385
|
-
* * **99
|
|
8498
|
+
* * **1**: all cipher suites.
|
|
8499
|
+
* * **2**: strong cipher suites. This value is available only if you set **TLSVersion** to **tlsv1.2**.
|
|
8500
|
+
* * **99**: custom cipher suites.
|
|
8386
8501
|
*
|
|
8387
8502
|
* @example
|
|
8388
8503
|
* 2
|
|
@@ -8390,15 +8505,15 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8390
8505
|
cipherSuite?: number;
|
|
8391
8506
|
/**
|
|
8392
8507
|
* @remarks
|
|
8393
|
-
* The custom cipher suites that you want to add. This parameter is available only
|
|
8508
|
+
* The custom cipher suites that you want to add. This parameter is available only if you set **CipherSuite** to **99**.
|
|
8394
8509
|
*/
|
|
8395
8510
|
customCiphers?: string[];
|
|
8396
8511
|
/**
|
|
8397
8512
|
* @remarks
|
|
8398
|
-
* Specifies whether to support TLS 1.3. This parameter is available only
|
|
8513
|
+
* Specifies whether to support TLS 1.3. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
8399
8514
|
*
|
|
8400
|
-
* * **true
|
|
8401
|
-
* * **false
|
|
8515
|
+
* * **true**
|
|
8516
|
+
* * **false**
|
|
8402
8517
|
*
|
|
8403
8518
|
* @example
|
|
8404
8519
|
* true
|
|
@@ -8406,10 +8521,10 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8406
8521
|
enableTLSv3?: boolean;
|
|
8407
8522
|
/**
|
|
8408
8523
|
* @remarks
|
|
8409
|
-
* Specifies whether to enable
|
|
8524
|
+
* Specifies whether to enable the exclusive IP address feature. This parameter is available only if you set **IPv6Enabled** to false and **ProtectionResource** to **share**. Valid values:
|
|
8410
8525
|
*
|
|
8411
|
-
* * **true
|
|
8412
|
-
* * **false
|
|
8526
|
+
* * **true**
|
|
8527
|
+
* * **false** (default)
|
|
8413
8528
|
*
|
|
8414
8529
|
* @example
|
|
8415
8530
|
* true
|
|
@@ -8417,10 +8532,10 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8417
8532
|
exclusiveIp?: boolean;
|
|
8418
8533
|
/**
|
|
8419
8534
|
* @remarks
|
|
8420
|
-
* Specifies whether to enable HTTP to HTTPS
|
|
8535
|
+
* Specifies whether to enable force redirect from HTTP to HTTPS for received requests. This parameter is available only if you specify **HttpsPorts** and leave **HttpPorts** empty. Valid values:
|
|
8421
8536
|
*
|
|
8422
|
-
* * **true
|
|
8423
|
-
* * **false
|
|
8537
|
+
* * **true**
|
|
8538
|
+
* * **false**
|
|
8424
8539
|
*
|
|
8425
8540
|
* @example
|
|
8426
8541
|
* true
|
|
@@ -8428,10 +8543,10 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8428
8543
|
focusHttps?: boolean;
|
|
8429
8544
|
/**
|
|
8430
8545
|
* @remarks
|
|
8431
|
-
* Specifies whether to enable HTTP/2. This parameter is available only
|
|
8546
|
+
* Specifies whether to enable HTTP/2. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
8432
8547
|
*
|
|
8433
|
-
* * **true
|
|
8434
|
-
* * **false
|
|
8548
|
+
* * **true**
|
|
8549
|
+
* * **false** (default)
|
|
8435
8550
|
*
|
|
8436
8551
|
* @example
|
|
8437
8552
|
* true
|
|
@@ -8439,20 +8554,20 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8439
8554
|
http2Enabled?: boolean;
|
|
8440
8555
|
/**
|
|
8441
8556
|
* @remarks
|
|
8442
|
-
*
|
|
8557
|
+
* The HTTP listener ports. Specify the value in the [**port1,port2,...**] format.
|
|
8443
8558
|
*/
|
|
8444
8559
|
httpPorts?: number[];
|
|
8445
8560
|
/**
|
|
8446
8561
|
* @remarks
|
|
8447
|
-
*
|
|
8562
|
+
* The HTTPS listener ports. Specify the value in the [**port1,port2,...**] format.
|
|
8448
8563
|
*/
|
|
8449
8564
|
httpsPorts?: number[];
|
|
8450
8565
|
/**
|
|
8451
8566
|
* @remarks
|
|
8452
|
-
* Specifies whether to enable IPv6. Valid values:
|
|
8567
|
+
* Specifies whether to enable IPv6 protection. Valid values:
|
|
8453
8568
|
*
|
|
8454
|
-
* * **true
|
|
8455
|
-
* * **false
|
|
8569
|
+
* * **true**
|
|
8570
|
+
* * **false** (default)
|
|
8456
8571
|
*
|
|
8457
8572
|
* @example
|
|
8458
8573
|
* true
|
|
@@ -8460,10 +8575,10 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8460
8575
|
IPv6Enabled?: boolean;
|
|
8461
8576
|
/**
|
|
8462
8577
|
* @remarks
|
|
8463
|
-
* The type of the protection resource
|
|
8578
|
+
* The type of the protection resource. Valid values:
|
|
8464
8579
|
*
|
|
8465
|
-
* * **share
|
|
8466
|
-
* * **gslb
|
|
8580
|
+
* * **share** (default): a shared cluster.
|
|
8581
|
+
* * **gslb**: shared cluster-based intelligent load balancing.
|
|
8467
8582
|
*
|
|
8468
8583
|
* @example
|
|
8469
8584
|
* share
|
|
@@ -8490,10 +8605,7 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8490
8605
|
SM2CertId?: string;
|
|
8491
8606
|
/**
|
|
8492
8607
|
* @remarks
|
|
8493
|
-
*
|
|
8494
|
-
*
|
|
8495
|
-
* * **true**
|
|
8496
|
-
* * **false**
|
|
8608
|
+
* Specifies whether to add an SM certificate.
|
|
8497
8609
|
*
|
|
8498
8610
|
* @example
|
|
8499
8611
|
* true
|
|
@@ -8501,7 +8613,7 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8501
8613
|
SM2Enabled?: boolean;
|
|
8502
8614
|
/**
|
|
8503
8615
|
* @remarks
|
|
8504
|
-
* The
|
|
8616
|
+
* The Transport Layer Security (TLS) version that you want to add. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
8505
8617
|
*
|
|
8506
8618
|
* * **tlsv1**
|
|
8507
8619
|
* * **tlsv1.1**
|
|
@@ -8513,11 +8625,11 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8513
8625
|
TLSVersion?: string;
|
|
8514
8626
|
/**
|
|
8515
8627
|
* @remarks
|
|
8516
|
-
* The method that
|
|
8628
|
+
* The method that is used to obtain the originating IP address of a client. Valid values:
|
|
8517
8629
|
*
|
|
8518
|
-
* * **0
|
|
8519
|
-
* * **1
|
|
8520
|
-
* * **2
|
|
8630
|
+
* * **0** (default): Client traffic is not filtered by a Layer 7 proxy before the traffic reaches WAF.
|
|
8631
|
+
* * **1**: WAF reads the first value of the X-Forwarded-For (XFF) header field as the originating IP address of the client.
|
|
8632
|
+
* * **2**: WAF reads the value of a custom header field as the originating IP address of the client.
|
|
8521
8633
|
*
|
|
8522
8634
|
* @example
|
|
8523
8635
|
* 2
|
|
@@ -8525,9 +8637,9 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8525
8637
|
xffHeaderMode?: number;
|
|
8526
8638
|
/**
|
|
8527
8639
|
* @remarks
|
|
8528
|
-
* The custom header fields that
|
|
8640
|
+
* The custom header fields that are used to obtain the originating IP address of a client. Specify the value in the **["header1","header2",...]** format.
|
|
8529
8641
|
*
|
|
8530
|
-
* >
|
|
8642
|
+
* > This parameter is required only if you set **XffHeaderMode** to 2.
|
|
8531
8643
|
*/
|
|
8532
8644
|
xffHeaders?: string[];
|
|
8533
8645
|
static names(): {
|
|
@@ -8572,12 +8684,16 @@ export declare class ModifyDomainRequestRedirectRequestHeaders extends $dara.Mod
|
|
|
8572
8684
|
export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
8573
8685
|
/**
|
|
8574
8686
|
* @remarks
|
|
8575
|
-
* The IP addresses or domain names of the origin server. You
|
|
8687
|
+
* The IP addresses or domain names of the origin server. You cannot specify both IP addresses and domain names. If you specify domain names, the domain names can be resolved only to IPv4 addresses.
|
|
8576
8688
|
*
|
|
8577
|
-
* * If you
|
|
8578
|
-
* * If you
|
|
8689
|
+
* * If you specify IP addresses, specify the value in the **["ip1","ip2",...]** format. You can enter up to 20 IP addresses.
|
|
8690
|
+
* * If you specify domain names, specify the value in the **["domain"]** format. You can enter up to 20 domain names.
|
|
8579
8691
|
*/
|
|
8580
8692
|
backends?: string[];
|
|
8693
|
+
/**
|
|
8694
|
+
* @remarks
|
|
8695
|
+
* The secondary IP addresses or domain names of the origin server.
|
|
8696
|
+
*/
|
|
8581
8697
|
backupBackends?: string[];
|
|
8582
8698
|
/**
|
|
8583
8699
|
* @remarks
|
|
@@ -8592,7 +8708,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8592
8708
|
cnameEnabled?: boolean;
|
|
8593
8709
|
/**
|
|
8594
8710
|
* @remarks
|
|
8595
|
-
* The timeout period
|
|
8711
|
+
* The timeout period of connections. Unit: seconds. Valid values: 1 to 3600.
|
|
8596
8712
|
*
|
|
8597
8713
|
* @example
|
|
8598
8714
|
* 120
|
|
@@ -8600,7 +8716,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8600
8716
|
connectTimeout?: number;
|
|
8601
8717
|
/**
|
|
8602
8718
|
* @remarks
|
|
8603
|
-
* Specifies whether to enable HTTPS to HTTP
|
|
8719
|
+
* Specifies whether to enable force redirect from HTTPS to HTTP for back-to-origin requests. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
8604
8720
|
*
|
|
8605
8721
|
* * **true**
|
|
8606
8722
|
* * **false**
|
|
@@ -8624,7 +8740,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8624
8740
|
* @remarks
|
|
8625
8741
|
* The number of reused persistent connections. Valid values: 60 to 1000.
|
|
8626
8742
|
*
|
|
8627
|
-
* > This parameter specifies the number of
|
|
8743
|
+
* > This parameter specifies the number of persistent connections that can be reused after you enable the persistent connection feature.
|
|
8628
8744
|
*
|
|
8629
8745
|
* @example
|
|
8630
8746
|
* 1000
|
|
@@ -8632,9 +8748,9 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8632
8748
|
keepaliveRequests?: number;
|
|
8633
8749
|
/**
|
|
8634
8750
|
* @remarks
|
|
8635
|
-
* The timeout period
|
|
8751
|
+
* The timeout period of idle persistent connections. Valid values: 1 to 60. Default value: 15. Unit: seconds.
|
|
8636
8752
|
*
|
|
8637
|
-
* > This parameter specifies the time
|
|
8753
|
+
* > This parameter specifies the period of time after which an idle persistent connection is closed.
|
|
8638
8754
|
*
|
|
8639
8755
|
* @example
|
|
8640
8756
|
* 15
|
|
@@ -8644,9 +8760,9 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8644
8760
|
* @remarks
|
|
8645
8761
|
* The load balancing algorithm that you want to use to forward requests to the origin server. Valid values:
|
|
8646
8762
|
*
|
|
8647
|
-
* * **
|
|
8763
|
+
* * **iphash**
|
|
8648
8764
|
* * **roundRobin**
|
|
8649
|
-
* * **leastTime
|
|
8765
|
+
* * **leastTime**: This value is available only if you set **ProtectionResource** to **gslb**.
|
|
8650
8766
|
*
|
|
8651
8767
|
* This parameter is required.
|
|
8652
8768
|
*
|
|
@@ -8656,7 +8772,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8656
8772
|
loadbalance?: string;
|
|
8657
8773
|
/**
|
|
8658
8774
|
* @remarks
|
|
8659
|
-
* The timeout period
|
|
8775
|
+
* The timeout period of read connections. Unit: seconds. Valid values: 1 to 3600.
|
|
8660
8776
|
*
|
|
8661
8777
|
* @example
|
|
8662
8778
|
* 200
|
|
@@ -8664,14 +8780,14 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8664
8780
|
readTimeout?: number;
|
|
8665
8781
|
/**
|
|
8666
8782
|
* @remarks
|
|
8667
|
-
* The custom header
|
|
8783
|
+
* The custom header fields, which are key-value pairs. The fields are used to mark requests that pass through WAF.
|
|
8668
8784
|
*
|
|
8669
|
-
* When a request passes through WAF, the custom header
|
|
8785
|
+
* When a request passes through WAF, WAF automatically adds the custom header fields to the request to mark the request. This way, the backend service can identify requests that are processed by WAF.
|
|
8670
8786
|
*/
|
|
8671
8787
|
requestHeaders?: ModifyDomainRequestRedirectRequestHeaders[];
|
|
8672
8788
|
/**
|
|
8673
8789
|
* @remarks
|
|
8674
|
-
* Specifies whether WAF retries
|
|
8790
|
+
* Specifies whether WAF retries if WAF fails to forward requests to the origin server. Valid values:
|
|
8675
8791
|
*
|
|
8676
8792
|
* * **true** (default)
|
|
8677
8793
|
* * **false**
|
|
@@ -8682,11 +8798,11 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8682
8798
|
retry?: boolean;
|
|
8683
8799
|
/**
|
|
8684
8800
|
* @remarks
|
|
8685
|
-
* The forwarding rules
|
|
8801
|
+
* The forwarding rules for the hybrid cloud mode. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:
|
|
8686
8802
|
*
|
|
8687
|
-
* * **rs**: the back-to-origin IP addresses or CNAMEs.
|
|
8688
|
-
* * **location**: the name of the protection node.
|
|
8689
|
-
* * **locationId**: the ID of the protection node.
|
|
8803
|
+
* * **rs**: the back-to-origin IP addresses or CNAMEs. Data type: array.
|
|
8804
|
+
* * **location**: the name of the protection node. Data type: string.
|
|
8805
|
+
* * **locationId**: the ID of the protection node. Data type: long.
|
|
8690
8806
|
*
|
|
8691
8807
|
* @example
|
|
8692
8808
|
* [
|
|
@@ -8702,7 +8818,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8702
8818
|
routingRules?: string;
|
|
8703
8819
|
/**
|
|
8704
8820
|
* @remarks
|
|
8705
|
-
* Specifies whether to enable
|
|
8821
|
+
* Specifies whether to enable the Server Name Indication (SNI) feature for back-to-origin requests. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
8706
8822
|
*
|
|
8707
8823
|
* * **true**
|
|
8708
8824
|
* * **false** (default)
|
|
@@ -8713,9 +8829,9 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8713
8829
|
sniEnabled?: boolean;
|
|
8714
8830
|
/**
|
|
8715
8831
|
* @remarks
|
|
8716
|
-
* The value of the SNI field. If you do not specify this parameter, the value of the **Host** field is automatically used.
|
|
8832
|
+
* The custom value of the SNI field. If you do not specify this parameter, the value of the **Host** header field is automatically used. In most cases, you do not need to specify a custom value for the SNI field. However, if you want WAF to use an SNI field whose value is different from the value of the Host header field in back-to-origin requests, you can specify a custom value for the SNI field.
|
|
8717
8833
|
*
|
|
8718
|
-
* > This parameter is required only if you set **
|
|
8834
|
+
* > This parameter is required only if you set **SniEnabled** to true.
|
|
8719
8835
|
*
|
|
8720
8836
|
* @example
|
|
8721
8837
|
* www.aliyundoc.com
|
|
@@ -8723,7 +8839,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8723
8839
|
sniHost?: string;
|
|
8724
8840
|
/**
|
|
8725
8841
|
* @remarks
|
|
8726
|
-
* The timeout period
|
|
8842
|
+
* The timeout period of write connections. Unit: seconds. Valid values: 1 to 3600.
|
|
8727
8843
|
*
|
|
8728
8844
|
* @example
|
|
8729
8845
|
* 200
|
|
@@ -8731,7 +8847,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8731
8847
|
writeTimeout?: number;
|
|
8732
8848
|
/**
|
|
8733
8849
|
* @remarks
|
|
8734
|
-
* Specifies whether to use the X-Forward-For-Proto header to
|
|
8850
|
+
* Specifies whether to use the X-Forward-For-Proto header field to pass the protocol used by WAF to forward requests to the origin server. Valid values:
|
|
8735
8851
|
*
|
|
8736
8852
|
* * **true** (default)
|
|
8737
8853
|
* * **false**
|
|
@@ -9850,14 +9966,14 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
9850
9966
|
instanceId?: string;
|
|
9851
9967
|
/**
|
|
9852
9968
|
* @remarks
|
|
9853
|
-
* The configurations
|
|
9969
|
+
* The listener configurations.
|
|
9854
9970
|
*
|
|
9855
9971
|
* This parameter is required.
|
|
9856
9972
|
*/
|
|
9857
9973
|
listen?: CreateDomainRequestListen;
|
|
9858
9974
|
/**
|
|
9859
9975
|
* @remarks
|
|
9860
|
-
* The
|
|
9976
|
+
* The forwarding configurations.
|
|
9861
9977
|
*
|
|
9862
9978
|
* This parameter is required.
|
|
9863
9979
|
*/
|
|
@@ -9883,6 +9999,10 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
9883
9999
|
* rg-acfm***q
|
|
9884
10000
|
*/
|
|
9885
10001
|
resourceManagerResourceGroupId?: string;
|
|
10002
|
+
/**
|
|
10003
|
+
* @remarks
|
|
10004
|
+
* The tags. You can specify up to 20 tags.
|
|
10005
|
+
*/
|
|
9886
10006
|
tag?: CreateDomainRequestTag[];
|
|
9887
10007
|
static names(): {
|
|
9888
10008
|
[key: string]: string;
|
|
@@ -9931,14 +10051,14 @@ export declare class CreateDomainShrinkRequest extends $dara.Model {
|
|
|
9931
10051
|
instanceId?: string;
|
|
9932
10052
|
/**
|
|
9933
10053
|
* @remarks
|
|
9934
|
-
* The configurations
|
|
10054
|
+
* The listener configurations.
|
|
9935
10055
|
*
|
|
9936
10056
|
* This parameter is required.
|
|
9937
10057
|
*/
|
|
9938
10058
|
listenShrink?: string;
|
|
9939
10059
|
/**
|
|
9940
10060
|
* @remarks
|
|
9941
|
-
* The
|
|
10061
|
+
* The forwarding configurations.
|
|
9942
10062
|
*
|
|
9943
10063
|
* This parameter is required.
|
|
9944
10064
|
*/
|
|
@@ -9964,6 +10084,10 @@ export declare class CreateDomainShrinkRequest extends $dara.Model {
|
|
|
9964
10084
|
* rg-acfm***q
|
|
9965
10085
|
*/
|
|
9966
10086
|
resourceManagerResourceGroupId?: string;
|
|
10087
|
+
/**
|
|
10088
|
+
* @remarks
|
|
10089
|
+
* The tags. You can specify up to 20 tags.
|
|
10090
|
+
*/
|
|
9967
10091
|
tag?: CreateDomainShrinkRequestTag[];
|
|
9968
10092
|
static names(): {
|
|
9969
10093
|
[key: string]: string;
|
|
@@ -9979,7 +10103,7 @@ export declare class CreateDomainShrinkRequest extends $dara.Model {
|
|
|
9979
10103
|
export declare class CreateDomainResponseBody extends $dara.Model {
|
|
9980
10104
|
/**
|
|
9981
10105
|
* @remarks
|
|
9982
|
-
* The information about the domain name.
|
|
10106
|
+
* The information about the domain name that is added.
|
|
9983
10107
|
*/
|
|
9984
10108
|
domainInfo?: CreateDomainResponseBodyDomainInfo;
|
|
9985
10109
|
/**
|
|
@@ -11945,7 +12069,8 @@ export declare class DescribeApisecAbnormalsRequest extends $dara.Model {
|
|
|
11945
12069
|
/**
|
|
11946
12070
|
* @remarks
|
|
11947
12071
|
* The ID of the hybrid cloud cluster.
|
|
11948
|
-
*
|
|
12072
|
+
*
|
|
12073
|
+
* > This parameter is available only in hybrid cloud scenarios. You can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query hybrid cloud clusters.
|
|
11949
12074
|
*
|
|
11950
12075
|
* @example
|
|
11951
12076
|
* 546
|
|
@@ -11961,7 +12086,7 @@ export declare class DescribeApisecAbnormalsRequest extends $dara.Model {
|
|
|
11961
12086
|
endTime?: string;
|
|
11962
12087
|
/**
|
|
11963
12088
|
* @remarks
|
|
11964
|
-
* The ID of the
|
|
12089
|
+
* The ID of the WAF instance.
|
|
11965
12090
|
*
|
|
11966
12091
|
* > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
|
|
11967
12092
|
*
|
|
@@ -12030,11 +12155,10 @@ export declare class DescribeApisecAbnormalsRequest extends $dara.Model {
|
|
|
12030
12155
|
pageSize?: number;
|
|
12031
12156
|
/**
|
|
12032
12157
|
* @remarks
|
|
12033
|
-
* The region
|
|
12158
|
+
* The region ID of the WAF instance. Valid value:
|
|
12034
12159
|
*
|
|
12035
|
-
* *
|
|
12036
|
-
*
|
|
12037
|
-
* * **ap-southeast-1**: outside the Chinese mainland
|
|
12160
|
+
* * **cn-hangzhou**: Chinese mainland.
|
|
12161
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
12038
12162
|
*
|
|
12039
12163
|
* @example
|
|
12040
12164
|
* cn-qingdao
|
|
@@ -19347,7 +19471,7 @@ export declare class DescribeProductInstancesResponse extends $dara.Model {
|
|
|
19347
19471
|
export declare class DescribePunishedDomainsRequest extends $dara.Model {
|
|
19348
19472
|
/**
|
|
19349
19473
|
* @remarks
|
|
19350
|
-
* The domain names.
|
|
19474
|
+
* The domain names that are added to WAF.
|
|
19351
19475
|
*/
|
|
19352
19476
|
domains?: string[];
|
|
19353
19477
|
/**
|
|
@@ -19362,6 +19486,10 @@ export declare class DescribePunishedDomainsRequest extends $dara.Model {
|
|
|
19362
19486
|
* waf_v3prepaid_public_cn-uqm****qa07
|
|
19363
19487
|
*/
|
|
19364
19488
|
instanceId?: string;
|
|
19489
|
+
/**
|
|
19490
|
+
* @example
|
|
19491
|
+
* beian
|
|
19492
|
+
*/
|
|
19365
19493
|
punishType?: string;
|
|
19366
19494
|
/**
|
|
19367
19495
|
* @remarks
|
|
@@ -21681,10 +21809,10 @@ export declare class DescribeSensitiveRequestLogRequest extends $dara.Model {
|
|
|
21681
21809
|
pageSize?: number;
|
|
21682
21810
|
/**
|
|
21683
21811
|
* @remarks
|
|
21684
|
-
* The region
|
|
21812
|
+
* The region ID of the WAF instance. Valid value:
|
|
21685
21813
|
*
|
|
21686
|
-
* * **cn-hangzhou**: Chinese mainland
|
|
21687
|
-
* * **ap-southeast-1**: outside the Chinese mainland
|
|
21814
|
+
* * **cn-hangzhou**: Chinese mainland.
|
|
21815
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
21688
21816
|
*
|
|
21689
21817
|
* @example
|
|
21690
21818
|
* cn-hangzhou
|
|
@@ -25421,6 +25549,7 @@ export declare class ModifyDefenseResourceXffRequest extends $dara.Model {
|
|
|
25421
25549
|
* rg-acfm2kie2****wq
|
|
25422
25550
|
*/
|
|
25423
25551
|
resourceManagerResourceGroupId?: string;
|
|
25552
|
+
responseHeaders?: ModifyDefenseResourceXffRequestResponseHeaders[];
|
|
25424
25553
|
/**
|
|
25425
25554
|
* @remarks
|
|
25426
25555
|
* Specifies whether a Layer 7 proxy is deployed in front of WAF. Layer 7 proxies include Anti-DDoS Proxy and Alibaba Cloud CDN. Valid values:
|
|
@@ -26046,14 +26175,14 @@ export declare class ModifyDomainRequest extends $dara.Model {
|
|
|
26046
26175
|
instanceId?: string;
|
|
26047
26176
|
/**
|
|
26048
26177
|
* @remarks
|
|
26049
|
-
* The configurations
|
|
26178
|
+
* The listener configurations.
|
|
26050
26179
|
*
|
|
26051
26180
|
* This parameter is required.
|
|
26052
26181
|
*/
|
|
26053
26182
|
listen?: ModifyDomainRequestListen;
|
|
26054
26183
|
/**
|
|
26055
26184
|
* @remarks
|
|
26056
|
-
* The
|
|
26185
|
+
* The forwarding configurations.
|
|
26057
26186
|
*
|
|
26058
26187
|
* This parameter is required.
|
|
26059
26188
|
*/
|
|
@@ -26117,14 +26246,14 @@ export declare class ModifyDomainShrinkRequest extends $dara.Model {
|
|
|
26117
26246
|
instanceId?: string;
|
|
26118
26247
|
/**
|
|
26119
26248
|
* @remarks
|
|
26120
|
-
* The configurations
|
|
26249
|
+
* The listener configurations.
|
|
26121
26250
|
*
|
|
26122
26251
|
* This parameter is required.
|
|
26123
26252
|
*/
|
|
26124
26253
|
listenShrink?: string;
|
|
26125
26254
|
/**
|
|
26126
26255
|
* @remarks
|
|
26127
|
-
* The
|
|
26256
|
+
* The forwarding configurations.
|
|
26128
26257
|
*
|
|
26129
26258
|
* This parameter is required.
|
|
26130
26259
|
*/
|
|
@@ -26161,7 +26290,7 @@ export declare class ModifyDomainResponseBody extends $dara.Model {
|
|
|
26161
26290
|
domainInfo?: ModifyDomainResponseBodyDomainInfo;
|
|
26162
26291
|
/**
|
|
26163
26292
|
* @remarks
|
|
26164
|
-
* The ID
|
|
26293
|
+
* The request ID.
|
|
26165
26294
|
*
|
|
26166
26295
|
* @example
|
|
26167
26296
|
* D7861F61-5B61-46CE-A47C-6B19160D5EB0
|