@alicloud/waf-openapi20211001 4.0.4 → 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 +249 -119
- package/dist/client.js +1068 -173
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1278 -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,11 @@ export declare class DescribeApisecAbnormalsResponseBodyData extends $dara.Model
|
|
|
1040
1079
|
* 1684252800
|
|
1041
1080
|
*/
|
|
1042
1081
|
lastestTime?: number;
|
|
1082
|
+
/**
|
|
1083
|
+
* @example
|
|
1084
|
+
* 1684252800
|
|
1085
|
+
*/
|
|
1086
|
+
latestDiscoverTime?: number;
|
|
1043
1087
|
/**
|
|
1044
1088
|
* @remarks
|
|
1045
1089
|
* The domain name or IP address of the API.
|
|
@@ -1307,6 +1351,11 @@ export declare class DescribeApisecApiResourcesResponseBodyData extends $dara.Mo
|
|
|
1307
1351
|
* Password changed
|
|
1308
1352
|
*/
|
|
1309
1353
|
note?: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* @remarks
|
|
1356
|
+
* The list of protection objects corresponding to this asset.
|
|
1357
|
+
*/
|
|
1358
|
+
resources?: string[];
|
|
1310
1359
|
static names(): {
|
|
1311
1360
|
[key: string]: string;
|
|
1312
1361
|
};
|
|
@@ -1418,6 +1467,7 @@ export declare class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
1418
1467
|
/**
|
|
1419
1468
|
* @remarks
|
|
1420
1469
|
* The number of attacks.
|
|
1470
|
+
* >Notice: The parameter has been deprecated, please use the Attackips parameter.
|
|
1421
1471
|
*
|
|
1422
1472
|
* @example
|
|
1423
1473
|
* 10
|
|
@@ -1486,6 +1536,11 @@ export declare class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
1486
1536
|
* [{\\"ip\\":\\"72.*.*.119\\",\\"country_id\\":\\"US\\",\\"region_id\\":\\"\\",\\"cnt\\":\\"2100\\"}]
|
|
1487
1537
|
*/
|
|
1488
1538
|
attackIpInfo?: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* @remarks
|
|
1541
|
+
* The source IP addresses of the attacks.
|
|
1542
|
+
*/
|
|
1543
|
+
attackIps?: string[];
|
|
1489
1544
|
/**
|
|
1490
1545
|
* @remarks
|
|
1491
1546
|
* The end of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
|
|
@@ -1942,6 +1997,14 @@ export declare class DescribeApisecSensitiveDomainStatisticResponseBodyData exte
|
|
|
1942
1997
|
});
|
|
1943
1998
|
}
|
|
1944
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;
|
|
1945
2008
|
/**
|
|
1946
2009
|
* @remarks
|
|
1947
2010
|
* The number of APIs.
|
|
@@ -2912,6 +2975,20 @@ export declare class DescribeDefaultHttpsResponseBodyDefaultHttps extends $dara.
|
|
|
2912
2975
|
[key: string]: any;
|
|
2913
2976
|
});
|
|
2914
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
|
+
}
|
|
2915
2992
|
export declare class DescribeDefenseResourceResponseBodyResource extends $dara.Model {
|
|
2916
2993
|
/**
|
|
2917
2994
|
* @remarks
|
|
@@ -3049,6 +3126,7 @@ export declare class DescribeDefenseResourceResponseBodyResource extends $dara.M
|
|
|
3049
3126
|
* custom
|
|
3050
3127
|
*/
|
|
3051
3128
|
resourceOrigin?: string;
|
|
3129
|
+
responseHeaders?: DescribeDefenseResourceResponseBodyResourceResponseHeaders[];
|
|
3052
3130
|
/**
|
|
3053
3131
|
* @remarks
|
|
3054
3132
|
* Indicates whether a Layer 7 proxy is deployed in front of WAF, such as Anti-DDoS Proxy and Alibaba Cloud CDN. Valid values:
|
|
@@ -3308,6 +3386,20 @@ export declare class DescribeDefenseResourcesRequestTag extends $dara.Model {
|
|
|
3308
3386
|
[key: string]: any;
|
|
3309
3387
|
});
|
|
3310
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
|
+
}
|
|
3311
3403
|
export declare class DescribeDefenseResourcesResponseBodyResources extends $dara.Model {
|
|
3312
3404
|
/**
|
|
3313
3405
|
* @remarks
|
|
@@ -3434,6 +3526,7 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $dara
|
|
|
3434
3526
|
* custom
|
|
3435
3527
|
*/
|
|
3436
3528
|
resourceOrigin?: string;
|
|
3529
|
+
responseHeaders?: DescribeDefenseResourcesResponseBodyResourcesResponseHeaders[];
|
|
3437
3530
|
/**
|
|
3438
3531
|
* @remarks
|
|
3439
3532
|
* Indicates whether the X-Forwarded-For (XFF) header is used.
|
|
@@ -7407,10 +7500,19 @@ export declare class DescribeSensitiveRequestLogResponseBodyData extends $dara.M
|
|
|
7407
7500
|
requestTime?: number;
|
|
7408
7501
|
/**
|
|
7409
7502
|
* @remarks
|
|
7410
|
-
* 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.
|
|
7411
7505
|
*
|
|
7412
7506
|
* @example
|
|
7413
|
-
*
|
|
7507
|
+
* {
|
|
7508
|
+
* "1000":[
|
|
7509
|
+
* "90.88.49.19",
|
|
7510
|
+
* "90.88.49.19"
|
|
7511
|
+
* ],
|
|
7512
|
+
* "835436":[
|
|
7513
|
+
* "www.abc.com"
|
|
7514
|
+
* ]
|
|
7515
|
+
* }
|
|
7414
7516
|
*/
|
|
7415
7517
|
sensitiveList?: string;
|
|
7416
7518
|
/**
|
|
@@ -8366,6 +8468,20 @@ export declare class ModifyCloudResourceRequestRedirect extends $dara.Model {
|
|
|
8366
8468
|
[key: string]: any;
|
|
8367
8469
|
});
|
|
8368
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
|
+
}
|
|
8369
8485
|
export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
8370
8486
|
/**
|
|
8371
8487
|
* @remarks
|
|
@@ -8377,11 +8493,11 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8377
8493
|
certId?: string;
|
|
8378
8494
|
/**
|
|
8379
8495
|
* @remarks
|
|
8380
|
-
* 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:
|
|
8381
8497
|
*
|
|
8382
|
-
* * **1
|
|
8383
|
-
* * **2
|
|
8384
|
-
* * **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.
|
|
8385
8501
|
*
|
|
8386
8502
|
* @example
|
|
8387
8503
|
* 2
|
|
@@ -8389,15 +8505,15 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8389
8505
|
cipherSuite?: number;
|
|
8390
8506
|
/**
|
|
8391
8507
|
* @remarks
|
|
8392
|
-
* 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**.
|
|
8393
8509
|
*/
|
|
8394
8510
|
customCiphers?: string[];
|
|
8395
8511
|
/**
|
|
8396
8512
|
* @remarks
|
|
8397
|
-
* 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:
|
|
8398
8514
|
*
|
|
8399
|
-
* * **true
|
|
8400
|
-
* * **false
|
|
8515
|
+
* * **true**
|
|
8516
|
+
* * **false**
|
|
8401
8517
|
*
|
|
8402
8518
|
* @example
|
|
8403
8519
|
* true
|
|
@@ -8405,10 +8521,10 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8405
8521
|
enableTLSv3?: boolean;
|
|
8406
8522
|
/**
|
|
8407
8523
|
* @remarks
|
|
8408
|
-
* 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:
|
|
8409
8525
|
*
|
|
8410
|
-
* * **true
|
|
8411
|
-
* * **false
|
|
8526
|
+
* * **true**
|
|
8527
|
+
* * **false** (default)
|
|
8412
8528
|
*
|
|
8413
8529
|
* @example
|
|
8414
8530
|
* true
|
|
@@ -8416,10 +8532,10 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8416
8532
|
exclusiveIp?: boolean;
|
|
8417
8533
|
/**
|
|
8418
8534
|
* @remarks
|
|
8419
|
-
* 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:
|
|
8420
8536
|
*
|
|
8421
|
-
* * **true
|
|
8422
|
-
* * **false
|
|
8537
|
+
* * **true**
|
|
8538
|
+
* * **false**
|
|
8423
8539
|
*
|
|
8424
8540
|
* @example
|
|
8425
8541
|
* true
|
|
@@ -8427,10 +8543,10 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8427
8543
|
focusHttps?: boolean;
|
|
8428
8544
|
/**
|
|
8429
8545
|
* @remarks
|
|
8430
|
-
* 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:
|
|
8431
8547
|
*
|
|
8432
|
-
* * **true
|
|
8433
|
-
* * **false
|
|
8548
|
+
* * **true**
|
|
8549
|
+
* * **false** (default)
|
|
8434
8550
|
*
|
|
8435
8551
|
* @example
|
|
8436
8552
|
* true
|
|
@@ -8438,20 +8554,20 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8438
8554
|
http2Enabled?: boolean;
|
|
8439
8555
|
/**
|
|
8440
8556
|
* @remarks
|
|
8441
|
-
*
|
|
8557
|
+
* The HTTP listener ports. Specify the value in the [**port1,port2,...**] format.
|
|
8442
8558
|
*/
|
|
8443
8559
|
httpPorts?: number[];
|
|
8444
8560
|
/**
|
|
8445
8561
|
* @remarks
|
|
8446
|
-
*
|
|
8562
|
+
* The HTTPS listener ports. Specify the value in the [**port1,port2,...**] format.
|
|
8447
8563
|
*/
|
|
8448
8564
|
httpsPorts?: number[];
|
|
8449
8565
|
/**
|
|
8450
8566
|
* @remarks
|
|
8451
|
-
* Specifies whether to enable IPv6. Valid values:
|
|
8567
|
+
* Specifies whether to enable IPv6 protection. Valid values:
|
|
8452
8568
|
*
|
|
8453
|
-
* * **true
|
|
8454
|
-
* * **false
|
|
8569
|
+
* * **true**
|
|
8570
|
+
* * **false** (default)
|
|
8455
8571
|
*
|
|
8456
8572
|
* @example
|
|
8457
8573
|
* true
|
|
@@ -8459,10 +8575,10 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8459
8575
|
IPv6Enabled?: boolean;
|
|
8460
8576
|
/**
|
|
8461
8577
|
* @remarks
|
|
8462
|
-
* The type of the protection resource
|
|
8578
|
+
* The type of the protection resource. Valid values:
|
|
8463
8579
|
*
|
|
8464
|
-
* * **share
|
|
8465
|
-
* * **gslb
|
|
8580
|
+
* * **share** (default): a shared cluster.
|
|
8581
|
+
* * **gslb**: shared cluster-based intelligent load balancing.
|
|
8466
8582
|
*
|
|
8467
8583
|
* @example
|
|
8468
8584
|
* share
|
|
@@ -8489,10 +8605,7 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8489
8605
|
SM2CertId?: string;
|
|
8490
8606
|
/**
|
|
8491
8607
|
* @remarks
|
|
8492
|
-
*
|
|
8493
|
-
*
|
|
8494
|
-
* * **true**
|
|
8495
|
-
* * **false**
|
|
8608
|
+
* Specifies whether to add an SM certificate.
|
|
8496
8609
|
*
|
|
8497
8610
|
* @example
|
|
8498
8611
|
* true
|
|
@@ -8500,7 +8613,7 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8500
8613
|
SM2Enabled?: boolean;
|
|
8501
8614
|
/**
|
|
8502
8615
|
* @remarks
|
|
8503
|
-
* The
|
|
8616
|
+
* The Transport Layer Security (TLS) version that you want to add. This parameter is available only if you specify **HttpsPorts**. Valid values:
|
|
8504
8617
|
*
|
|
8505
8618
|
* * **tlsv1**
|
|
8506
8619
|
* * **tlsv1.1**
|
|
@@ -8512,11 +8625,11 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8512
8625
|
TLSVersion?: string;
|
|
8513
8626
|
/**
|
|
8514
8627
|
* @remarks
|
|
8515
|
-
* The method that
|
|
8628
|
+
* The method that is used to obtain the originating IP address of a client. Valid values:
|
|
8516
8629
|
*
|
|
8517
|
-
* * **0
|
|
8518
|
-
* * **1
|
|
8519
|
-
* * **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.
|
|
8520
8633
|
*
|
|
8521
8634
|
* @example
|
|
8522
8635
|
* 2
|
|
@@ -8524,9 +8637,9 @@ export declare class ModifyDomainRequestListen extends $dara.Model {
|
|
|
8524
8637
|
xffHeaderMode?: number;
|
|
8525
8638
|
/**
|
|
8526
8639
|
* @remarks
|
|
8527
|
-
* 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.
|
|
8528
8641
|
*
|
|
8529
|
-
* >
|
|
8642
|
+
* > This parameter is required only if you set **XffHeaderMode** to 2.
|
|
8530
8643
|
*/
|
|
8531
8644
|
xffHeaders?: string[];
|
|
8532
8645
|
static names(): {
|
|
@@ -8571,12 +8684,16 @@ export declare class ModifyDomainRequestRedirectRequestHeaders extends $dara.Mod
|
|
|
8571
8684
|
export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
8572
8685
|
/**
|
|
8573
8686
|
* @remarks
|
|
8574
|
-
* 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.
|
|
8575
8688
|
*
|
|
8576
|
-
* * If you
|
|
8577
|
-
* * 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.
|
|
8578
8691
|
*/
|
|
8579
8692
|
backends?: string[];
|
|
8693
|
+
/**
|
|
8694
|
+
* @remarks
|
|
8695
|
+
* The secondary IP addresses or domain names of the origin server.
|
|
8696
|
+
*/
|
|
8580
8697
|
backupBackends?: string[];
|
|
8581
8698
|
/**
|
|
8582
8699
|
* @remarks
|
|
@@ -8591,7 +8708,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8591
8708
|
cnameEnabled?: boolean;
|
|
8592
8709
|
/**
|
|
8593
8710
|
* @remarks
|
|
8594
|
-
* The timeout period
|
|
8711
|
+
* The timeout period of connections. Unit: seconds. Valid values: 1 to 3600.
|
|
8595
8712
|
*
|
|
8596
8713
|
* @example
|
|
8597
8714
|
* 120
|
|
@@ -8599,7 +8716,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8599
8716
|
connectTimeout?: number;
|
|
8600
8717
|
/**
|
|
8601
8718
|
* @remarks
|
|
8602
|
-
* 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:
|
|
8603
8720
|
*
|
|
8604
8721
|
* * **true**
|
|
8605
8722
|
* * **false**
|
|
@@ -8623,7 +8740,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8623
8740
|
* @remarks
|
|
8624
8741
|
* The number of reused persistent connections. Valid values: 60 to 1000.
|
|
8625
8742
|
*
|
|
8626
|
-
* > 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.
|
|
8627
8744
|
*
|
|
8628
8745
|
* @example
|
|
8629
8746
|
* 1000
|
|
@@ -8631,9 +8748,9 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8631
8748
|
keepaliveRequests?: number;
|
|
8632
8749
|
/**
|
|
8633
8750
|
* @remarks
|
|
8634
|
-
* The timeout period
|
|
8751
|
+
* The timeout period of idle persistent connections. Valid values: 1 to 60. Default value: 15. Unit: seconds.
|
|
8635
8752
|
*
|
|
8636
|
-
* > This parameter specifies the time
|
|
8753
|
+
* > This parameter specifies the period of time after which an idle persistent connection is closed.
|
|
8637
8754
|
*
|
|
8638
8755
|
* @example
|
|
8639
8756
|
* 15
|
|
@@ -8643,9 +8760,9 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8643
8760
|
* @remarks
|
|
8644
8761
|
* The load balancing algorithm that you want to use to forward requests to the origin server. Valid values:
|
|
8645
8762
|
*
|
|
8646
|
-
* * **
|
|
8763
|
+
* * **iphash**
|
|
8647
8764
|
* * **roundRobin**
|
|
8648
|
-
* * **leastTime
|
|
8765
|
+
* * **leastTime**: This value is available only if you set **ProtectionResource** to **gslb**.
|
|
8649
8766
|
*
|
|
8650
8767
|
* This parameter is required.
|
|
8651
8768
|
*
|
|
@@ -8655,7 +8772,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8655
8772
|
loadbalance?: string;
|
|
8656
8773
|
/**
|
|
8657
8774
|
* @remarks
|
|
8658
|
-
* The timeout period
|
|
8775
|
+
* The timeout period of read connections. Unit: seconds. Valid values: 1 to 3600.
|
|
8659
8776
|
*
|
|
8660
8777
|
* @example
|
|
8661
8778
|
* 200
|
|
@@ -8663,14 +8780,14 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8663
8780
|
readTimeout?: number;
|
|
8664
8781
|
/**
|
|
8665
8782
|
* @remarks
|
|
8666
|
-
* The custom header
|
|
8783
|
+
* The custom header fields, which are key-value pairs. The fields are used to mark requests that pass through WAF.
|
|
8667
8784
|
*
|
|
8668
|
-
* 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.
|
|
8669
8786
|
*/
|
|
8670
8787
|
requestHeaders?: ModifyDomainRequestRedirectRequestHeaders[];
|
|
8671
8788
|
/**
|
|
8672
8789
|
* @remarks
|
|
8673
|
-
* Specifies whether WAF retries
|
|
8790
|
+
* Specifies whether WAF retries if WAF fails to forward requests to the origin server. Valid values:
|
|
8674
8791
|
*
|
|
8675
8792
|
* * **true** (default)
|
|
8676
8793
|
* * **false**
|
|
@@ -8681,11 +8798,11 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8681
8798
|
retry?: boolean;
|
|
8682
8799
|
/**
|
|
8683
8800
|
* @remarks
|
|
8684
|
-
* 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:
|
|
8685
8802
|
*
|
|
8686
|
-
* * **rs**: the back-to-origin IP addresses or CNAMEs.
|
|
8687
|
-
* * **location**: the name of the protection node.
|
|
8688
|
-
* * **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.
|
|
8689
8806
|
*
|
|
8690
8807
|
* @example
|
|
8691
8808
|
* [
|
|
@@ -8701,7 +8818,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8701
8818
|
routingRules?: string;
|
|
8702
8819
|
/**
|
|
8703
8820
|
* @remarks
|
|
8704
|
-
* 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:
|
|
8705
8822
|
*
|
|
8706
8823
|
* * **true**
|
|
8707
8824
|
* * **false** (default)
|
|
@@ -8712,9 +8829,9 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8712
8829
|
sniEnabled?: boolean;
|
|
8713
8830
|
/**
|
|
8714
8831
|
* @remarks
|
|
8715
|
-
* 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.
|
|
8716
8833
|
*
|
|
8717
|
-
* > This parameter is required only if you set **
|
|
8834
|
+
* > This parameter is required only if you set **SniEnabled** to true.
|
|
8718
8835
|
*
|
|
8719
8836
|
* @example
|
|
8720
8837
|
* www.aliyundoc.com
|
|
@@ -8722,7 +8839,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8722
8839
|
sniHost?: string;
|
|
8723
8840
|
/**
|
|
8724
8841
|
* @remarks
|
|
8725
|
-
* The timeout period
|
|
8842
|
+
* The timeout period of write connections. Unit: seconds. Valid values: 1 to 3600.
|
|
8726
8843
|
*
|
|
8727
8844
|
* @example
|
|
8728
8845
|
* 200
|
|
@@ -8730,7 +8847,7 @@ export declare class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
8730
8847
|
writeTimeout?: number;
|
|
8731
8848
|
/**
|
|
8732
8849
|
* @remarks
|
|
8733
|
-
* 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:
|
|
8734
8851
|
*
|
|
8735
8852
|
* * **true** (default)
|
|
8736
8853
|
* * **false**
|
|
@@ -9849,14 +9966,14 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
9849
9966
|
instanceId?: string;
|
|
9850
9967
|
/**
|
|
9851
9968
|
* @remarks
|
|
9852
|
-
* The configurations
|
|
9969
|
+
* The listener configurations.
|
|
9853
9970
|
*
|
|
9854
9971
|
* This parameter is required.
|
|
9855
9972
|
*/
|
|
9856
9973
|
listen?: CreateDomainRequestListen;
|
|
9857
9974
|
/**
|
|
9858
9975
|
* @remarks
|
|
9859
|
-
* The
|
|
9976
|
+
* The forwarding configurations.
|
|
9860
9977
|
*
|
|
9861
9978
|
* This parameter is required.
|
|
9862
9979
|
*/
|
|
@@ -9882,6 +9999,10 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
9882
9999
|
* rg-acfm***q
|
|
9883
10000
|
*/
|
|
9884
10001
|
resourceManagerResourceGroupId?: string;
|
|
10002
|
+
/**
|
|
10003
|
+
* @remarks
|
|
10004
|
+
* The tags. You can specify up to 20 tags.
|
|
10005
|
+
*/
|
|
9885
10006
|
tag?: CreateDomainRequestTag[];
|
|
9886
10007
|
static names(): {
|
|
9887
10008
|
[key: string]: string;
|
|
@@ -9930,14 +10051,14 @@ export declare class CreateDomainShrinkRequest extends $dara.Model {
|
|
|
9930
10051
|
instanceId?: string;
|
|
9931
10052
|
/**
|
|
9932
10053
|
* @remarks
|
|
9933
|
-
* The configurations
|
|
10054
|
+
* The listener configurations.
|
|
9934
10055
|
*
|
|
9935
10056
|
* This parameter is required.
|
|
9936
10057
|
*/
|
|
9937
10058
|
listenShrink?: string;
|
|
9938
10059
|
/**
|
|
9939
10060
|
* @remarks
|
|
9940
|
-
* The
|
|
10061
|
+
* The forwarding configurations.
|
|
9941
10062
|
*
|
|
9942
10063
|
* This parameter is required.
|
|
9943
10064
|
*/
|
|
@@ -9963,6 +10084,10 @@ export declare class CreateDomainShrinkRequest extends $dara.Model {
|
|
|
9963
10084
|
* rg-acfm***q
|
|
9964
10085
|
*/
|
|
9965
10086
|
resourceManagerResourceGroupId?: string;
|
|
10087
|
+
/**
|
|
10088
|
+
* @remarks
|
|
10089
|
+
* The tags. You can specify up to 20 tags.
|
|
10090
|
+
*/
|
|
9966
10091
|
tag?: CreateDomainShrinkRequestTag[];
|
|
9967
10092
|
static names(): {
|
|
9968
10093
|
[key: string]: string;
|
|
@@ -9978,7 +10103,7 @@ export declare class CreateDomainShrinkRequest extends $dara.Model {
|
|
|
9978
10103
|
export declare class CreateDomainResponseBody extends $dara.Model {
|
|
9979
10104
|
/**
|
|
9980
10105
|
* @remarks
|
|
9981
|
-
* The information about the domain name.
|
|
10106
|
+
* The information about the domain name that is added.
|
|
9982
10107
|
*/
|
|
9983
10108
|
domainInfo?: CreateDomainResponseBodyDomainInfo;
|
|
9984
10109
|
/**
|
|
@@ -11944,7 +12069,8 @@ export declare class DescribeApisecAbnormalsRequest extends $dara.Model {
|
|
|
11944
12069
|
/**
|
|
11945
12070
|
* @remarks
|
|
11946
12071
|
* The ID of the hybrid cloud cluster.
|
|
11947
|
-
*
|
|
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.
|
|
11948
12074
|
*
|
|
11949
12075
|
* @example
|
|
11950
12076
|
* 546
|
|
@@ -11960,7 +12086,7 @@ export declare class DescribeApisecAbnormalsRequest extends $dara.Model {
|
|
|
11960
12086
|
endTime?: string;
|
|
11961
12087
|
/**
|
|
11962
12088
|
* @remarks
|
|
11963
|
-
* The ID of the
|
|
12089
|
+
* The ID of the WAF instance.
|
|
11964
12090
|
*
|
|
11965
12091
|
* > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
|
|
11966
12092
|
*
|
|
@@ -12029,11 +12155,10 @@ export declare class DescribeApisecAbnormalsRequest extends $dara.Model {
|
|
|
12029
12155
|
pageSize?: number;
|
|
12030
12156
|
/**
|
|
12031
12157
|
* @remarks
|
|
12032
|
-
* The region
|
|
12158
|
+
* The region ID of the WAF instance. Valid value:
|
|
12033
12159
|
*
|
|
12034
|
-
* *
|
|
12035
|
-
*
|
|
12036
|
-
* * **ap-southeast-1**: outside the Chinese mainland
|
|
12160
|
+
* * **cn-hangzhou**: Chinese mainland.
|
|
12161
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
12037
12162
|
*
|
|
12038
12163
|
* @example
|
|
12039
12164
|
* cn-qingdao
|
|
@@ -19346,7 +19471,7 @@ export declare class DescribeProductInstancesResponse extends $dara.Model {
|
|
|
19346
19471
|
export declare class DescribePunishedDomainsRequest extends $dara.Model {
|
|
19347
19472
|
/**
|
|
19348
19473
|
* @remarks
|
|
19349
|
-
* The domain names.
|
|
19474
|
+
* The domain names that are added to WAF.
|
|
19350
19475
|
*/
|
|
19351
19476
|
domains?: string[];
|
|
19352
19477
|
/**
|
|
@@ -19361,6 +19486,10 @@ export declare class DescribePunishedDomainsRequest extends $dara.Model {
|
|
|
19361
19486
|
* waf_v3prepaid_public_cn-uqm****qa07
|
|
19362
19487
|
*/
|
|
19363
19488
|
instanceId?: string;
|
|
19489
|
+
/**
|
|
19490
|
+
* @example
|
|
19491
|
+
* beian
|
|
19492
|
+
*/
|
|
19364
19493
|
punishType?: string;
|
|
19365
19494
|
/**
|
|
19366
19495
|
* @remarks
|
|
@@ -21680,10 +21809,10 @@ export declare class DescribeSensitiveRequestLogRequest extends $dara.Model {
|
|
|
21680
21809
|
pageSize?: number;
|
|
21681
21810
|
/**
|
|
21682
21811
|
* @remarks
|
|
21683
|
-
* The region
|
|
21812
|
+
* The region ID of the WAF instance. Valid value:
|
|
21684
21813
|
*
|
|
21685
|
-
* * **cn-hangzhou**: Chinese mainland
|
|
21686
|
-
* * **ap-southeast-1**: outside the Chinese mainland
|
|
21814
|
+
* * **cn-hangzhou**: Chinese mainland.
|
|
21815
|
+
* * **ap-southeast-1**: outside the Chinese mainland.
|
|
21687
21816
|
*
|
|
21688
21817
|
* @example
|
|
21689
21818
|
* cn-hangzhou
|
|
@@ -25420,6 +25549,7 @@ export declare class ModifyDefenseResourceXffRequest extends $dara.Model {
|
|
|
25420
25549
|
* rg-acfm2kie2****wq
|
|
25421
25550
|
*/
|
|
25422
25551
|
resourceManagerResourceGroupId?: string;
|
|
25552
|
+
responseHeaders?: ModifyDefenseResourceXffRequestResponseHeaders[];
|
|
25423
25553
|
/**
|
|
25424
25554
|
* @remarks
|
|
25425
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:
|
|
@@ -26045,14 +26175,14 @@ export declare class ModifyDomainRequest extends $dara.Model {
|
|
|
26045
26175
|
instanceId?: string;
|
|
26046
26176
|
/**
|
|
26047
26177
|
* @remarks
|
|
26048
|
-
* The configurations
|
|
26178
|
+
* The listener configurations.
|
|
26049
26179
|
*
|
|
26050
26180
|
* This parameter is required.
|
|
26051
26181
|
*/
|
|
26052
26182
|
listen?: ModifyDomainRequestListen;
|
|
26053
26183
|
/**
|
|
26054
26184
|
* @remarks
|
|
26055
|
-
* The
|
|
26185
|
+
* The forwarding configurations.
|
|
26056
26186
|
*
|
|
26057
26187
|
* This parameter is required.
|
|
26058
26188
|
*/
|
|
@@ -26116,14 +26246,14 @@ export declare class ModifyDomainShrinkRequest extends $dara.Model {
|
|
|
26116
26246
|
instanceId?: string;
|
|
26117
26247
|
/**
|
|
26118
26248
|
* @remarks
|
|
26119
|
-
* The configurations
|
|
26249
|
+
* The listener configurations.
|
|
26120
26250
|
*
|
|
26121
26251
|
* This parameter is required.
|
|
26122
26252
|
*/
|
|
26123
26253
|
listenShrink?: string;
|
|
26124
26254
|
/**
|
|
26125
26255
|
* @remarks
|
|
26126
|
-
* The
|
|
26256
|
+
* The forwarding configurations.
|
|
26127
26257
|
*
|
|
26128
26258
|
* This parameter is required.
|
|
26129
26259
|
*/
|
|
@@ -26160,7 +26290,7 @@ export declare class ModifyDomainResponseBody extends $dara.Model {
|
|
|
26160
26290
|
domainInfo?: ModifyDomainResponseBodyDomainInfo;
|
|
26161
26291
|
/**
|
|
26162
26292
|
* @remarks
|
|
26163
|
-
* The ID
|
|
26293
|
+
* The request ID.
|
|
26164
26294
|
*
|
|
26165
26295
|
* @example
|
|
26166
26296
|
* D7861F61-5B61-46CE-A47C-6B19160D5EB0
|