@alicloud/cloudfw20171207 1.2.7 → 1.2.8

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 CHANGED
@@ -961,6 +961,55 @@ export declare class DescribeControlPolicyResponse extends $tea.Model {
961
961
  [key: string]: any;
962
962
  });
963
963
  }
964
+ export declare class DescribeDefaultIPSConfigRequest extends $tea.Model {
965
+ lang?: string;
966
+ sourceIp?: string;
967
+ static names(): {
968
+ [key: string]: string;
969
+ };
970
+ static types(): {
971
+ [key: string]: any;
972
+ };
973
+ constructor(map?: {
974
+ [key: string]: any;
975
+ });
976
+ }
977
+ export declare class DescribeDefaultIPSConfigResponseBody extends $tea.Model {
978
+ aiRules?: number;
979
+ basicRules?: number;
980
+ ctiRules?: number;
981
+ enableAllPatch?: number;
982
+ enableDefault?: number;
983
+ patchRules?: number;
984
+ requestId?: string;
985
+ ruleClass?: number;
986
+ runMode?: number;
987
+ static names(): {
988
+ [key: string]: string;
989
+ };
990
+ static types(): {
991
+ [key: string]: any;
992
+ };
993
+ constructor(map?: {
994
+ [key: string]: any;
995
+ });
996
+ }
997
+ export declare class DescribeDefaultIPSConfigResponse extends $tea.Model {
998
+ headers: {
999
+ [key: string]: string;
1000
+ };
1001
+ statusCode: number;
1002
+ body: DescribeDefaultIPSConfigResponseBody;
1003
+ static names(): {
1004
+ [key: string]: string;
1005
+ };
1006
+ static types(): {
1007
+ [key: string]: any;
1008
+ };
1009
+ constructor(map?: {
1010
+ [key: string]: any;
1011
+ });
1012
+ }
964
1013
  export declare class DescribeDomainResolveRequest extends $tea.Model {
965
1014
  domain?: string;
966
1015
  ipVersion?: string;
@@ -1719,6 +1768,49 @@ export declare class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
1719
1768
  [key: string]: any;
1720
1769
  });
1721
1770
  }
1771
+ export declare class DescribeUserIPSWhitelistRequest extends $tea.Model {
1772
+ lang?: string;
1773
+ sourceIp?: string;
1774
+ static names(): {
1775
+ [key: string]: string;
1776
+ };
1777
+ static types(): {
1778
+ [key: string]: any;
1779
+ };
1780
+ constructor(map?: {
1781
+ [key: string]: any;
1782
+ });
1783
+ }
1784
+ export declare class DescribeUserIPSWhitelistResponseBody extends $tea.Model {
1785
+ ipv6Whitelists?: DescribeUserIPSWhitelistResponseBodyIpv6Whitelists[];
1786
+ requestId?: string;
1787
+ whitelists?: DescribeUserIPSWhitelistResponseBodyWhitelists[];
1788
+ static names(): {
1789
+ [key: string]: string;
1790
+ };
1791
+ static types(): {
1792
+ [key: string]: any;
1793
+ };
1794
+ constructor(map?: {
1795
+ [key: string]: any;
1796
+ });
1797
+ }
1798
+ export declare class DescribeUserIPSWhitelistResponse extends $tea.Model {
1799
+ headers: {
1800
+ [key: string]: string;
1801
+ };
1802
+ statusCode: number;
1803
+ body: DescribeUserIPSWhitelistResponseBody;
1804
+ static names(): {
1805
+ [key: string]: string;
1806
+ };
1807
+ static types(): {
1808
+ [key: string]: any;
1809
+ };
1810
+ constructor(map?: {
1811
+ [key: string]: any;
1812
+ });
1813
+ }
1722
1814
  export declare class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
1723
1815
  currentPage?: string;
1724
1816
  firewallConfigureStatus?: string;
@@ -2315,6 +2407,55 @@ export declare class ModifyControlPolicyPositionResponse extends $tea.Model {
2315
2407
  [key: string]: any;
2316
2408
  });
2317
2409
  }
2410
+ export declare class ModifyDefaultIPSConfigRequest extends $tea.Model {
2411
+ aiRules?: string;
2412
+ basicRules?: string;
2413
+ ctiRules?: string;
2414
+ enableAllPatch?: string;
2415
+ enableDefault?: string;
2416
+ lang?: string;
2417
+ patchRules?: string;
2418
+ ruleClass?: string;
2419
+ runMode?: string;
2420
+ sourceIp?: string;
2421
+ static names(): {
2422
+ [key: string]: string;
2423
+ };
2424
+ static types(): {
2425
+ [key: string]: any;
2426
+ };
2427
+ constructor(map?: {
2428
+ [key: string]: any;
2429
+ });
2430
+ }
2431
+ export declare class ModifyDefaultIPSConfigResponseBody extends $tea.Model {
2432
+ requestId?: string;
2433
+ static names(): {
2434
+ [key: string]: string;
2435
+ };
2436
+ static types(): {
2437
+ [key: string]: any;
2438
+ };
2439
+ constructor(map?: {
2440
+ [key: string]: any;
2441
+ });
2442
+ }
2443
+ export declare class ModifyDefaultIPSConfigResponse extends $tea.Model {
2444
+ headers: {
2445
+ [key: string]: string;
2446
+ };
2447
+ statusCode: number;
2448
+ body: ModifyDefaultIPSConfigResponseBody;
2449
+ static names(): {
2450
+ [key: string]: string;
2451
+ };
2452
+ static types(): {
2453
+ [key: string]: any;
2454
+ };
2455
+ constructor(map?: {
2456
+ [key: string]: any;
2457
+ });
2458
+ }
2318
2459
  export declare class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
2319
2460
  firewallId?: string;
2320
2461
  lang?: string;
@@ -2544,6 +2685,52 @@ export declare class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Mod
2544
2685
  [key: string]: any;
2545
2686
  });
2546
2687
  }
2688
+ export declare class ModifyUserIPSWhitelistRequest extends $tea.Model {
2689
+ direction?: number;
2690
+ ipVersion?: string;
2691
+ lang?: string;
2692
+ listType?: number;
2693
+ listValue?: string;
2694
+ sourceIp?: string;
2695
+ whiteType?: number;
2696
+ static names(): {
2697
+ [key: string]: string;
2698
+ };
2699
+ static types(): {
2700
+ [key: string]: any;
2701
+ };
2702
+ constructor(map?: {
2703
+ [key: string]: any;
2704
+ });
2705
+ }
2706
+ export declare class ModifyUserIPSWhitelistResponseBody extends $tea.Model {
2707
+ requestId?: string;
2708
+ static names(): {
2709
+ [key: string]: string;
2710
+ };
2711
+ static types(): {
2712
+ [key: string]: any;
2713
+ };
2714
+ constructor(map?: {
2715
+ [key: string]: any;
2716
+ });
2717
+ }
2718
+ export declare class ModifyUserIPSWhitelistResponse extends $tea.Model {
2719
+ headers: {
2720
+ [key: string]: string;
2721
+ };
2722
+ statusCode: number;
2723
+ body: ModifyUserIPSWhitelistResponseBody;
2724
+ static names(): {
2725
+ [key: string]: string;
2726
+ };
2727
+ static types(): {
2728
+ [key: string]: any;
2729
+ };
2730
+ constructor(map?: {
2731
+ [key: string]: any;
2732
+ });
2733
+ }
2547
2734
  export declare class ModifyVpcFirewallCenConfigureRequest extends $tea.Model {
2548
2735
  lang?: string;
2549
2736
  memberUid?: string;
@@ -3707,6 +3894,38 @@ export declare class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDeta
3707
3894
  [key: string]: any;
3708
3895
  });
3709
3896
  }
3897
+ export declare class DescribeUserIPSWhitelistResponseBodyIpv6Whitelists extends $tea.Model {
3898
+ direction?: number;
3899
+ listType?: number;
3900
+ listValue?: string;
3901
+ whiteListValue?: string[];
3902
+ whiteType?: number;
3903
+ static names(): {
3904
+ [key: string]: string;
3905
+ };
3906
+ static types(): {
3907
+ [key: string]: any;
3908
+ };
3909
+ constructor(map?: {
3910
+ [key: string]: any;
3911
+ });
3912
+ }
3913
+ export declare class DescribeUserIPSWhitelistResponseBodyWhitelists extends $tea.Model {
3914
+ direction?: number;
3915
+ listType?: number;
3916
+ listValue?: string;
3917
+ whiteListValue?: string[];
3918
+ whiteType?: number;
3919
+ static names(): {
3920
+ [key: string]: string;
3921
+ };
3922
+ static types(): {
3923
+ [key: string]: any;
3924
+ };
3925
+ constructor(map?: {
3926
+ [key: string]: any;
3927
+ });
3928
+ }
3710
3929
  export declare class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model {
3711
3930
  aclGroupId?: string;
3712
3931
  aclGroupName?: string;
@@ -4565,6 +4784,8 @@ export default class Client extends OpenApi {
4565
4784
  * @return DescribeControlPolicyResponse
4566
4785
  */
4567
4786
  describeControlPolicy(request: DescribeControlPolicyRequest): Promise<DescribeControlPolicyResponse>;
4787
+ describeDefaultIPSConfigWithOptions(request: DescribeDefaultIPSConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefaultIPSConfigResponse>;
4788
+ describeDefaultIPSConfig(request: DescribeDefaultIPSConfigRequest): Promise<DescribeDefaultIPSConfigResponse>;
4568
4789
  /**
4569
4790
  * You can call the DescribeDomainResolve operation to query the DNS record of a domain name. This operation can retrieve DNS records only from Alibaba Cloud DNS. Before you can call this operation, make sure that your domain name is hosted on Alibaba Cloud DNS.
4570
4791
  * ## Limits
@@ -4680,6 +4901,8 @@ export default class Client extends OpenApi {
4680
4901
  describeTrFirewallsV2RouteList(request: DescribeTrFirewallsV2RouteListRequest): Promise<DescribeTrFirewallsV2RouteListResponse>;
4681
4902
  describeUserAssetIPTrafficInfoWithOptions(request: DescribeUserAssetIPTrafficInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserAssetIPTrafficInfoResponse>;
4682
4903
  describeUserAssetIPTrafficInfo(request: DescribeUserAssetIPTrafficInfoRequest): Promise<DescribeUserAssetIPTrafficInfoResponse>;
4904
+ describeUserIPSWhitelistWithOptions(request: DescribeUserIPSWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserIPSWhitelistResponse>;
4905
+ describeUserIPSWhitelist(request: DescribeUserIPSWhitelistRequest): Promise<DescribeUserIPSWhitelistResponse>;
4683
4906
  /**
4684
4907
  * You can call the DescribeVpcFirewallAclGroupList operation to query the information about all policy groups of access control policies that are created for VPC firewalls.
4685
4908
  * ## Limits
@@ -4893,6 +5116,8 @@ export default class Client extends OpenApi {
4893
5116
  * @return ModifyControlPolicyPositionResponse
4894
5117
  */
4895
5118
  modifyControlPolicyPosition(request: ModifyControlPolicyPositionRequest): Promise<ModifyControlPolicyPositionResponse>;
5119
+ modifyDefaultIPSConfigWithOptions(request: ModifyDefaultIPSConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefaultIPSConfigResponse>;
5120
+ modifyDefaultIPSConfig(request: ModifyDefaultIPSConfigRequest): Promise<ModifyDefaultIPSConfigResponse>;
4896
5121
  modifyFirewallV2RoutePolicySwitchWithOptions(request: ModifyFirewallV2RoutePolicySwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFirewallV2RoutePolicySwitchResponse>;
4897
5122
  modifyFirewallV2RoutePolicySwitch(request: ModifyFirewallV2RoutePolicySwitchRequest): Promise<ModifyFirewallV2RoutePolicySwitchResponse>;
4898
5123
  /**
@@ -4937,6 +5162,8 @@ export default class Client extends OpenApi {
4937
5162
  modifyTrFirewallV2Configuration(request: ModifyTrFirewallV2ConfigurationRequest): Promise<ModifyTrFirewallV2ConfigurationResponse>;
4938
5163
  modifyTrFirewallV2RoutePolicyScopeWithOptions(tmpReq: ModifyTrFirewallV2RoutePolicyScopeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse>;
4939
5164
  modifyTrFirewallV2RoutePolicyScope(request: ModifyTrFirewallV2RoutePolicyScopeRequest): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse>;
5165
+ modifyUserIPSWhitelistWithOptions(request: ModifyUserIPSWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<ModifyUserIPSWhitelistResponse>;
5166
+ modifyUserIPSWhitelist(request: ModifyUserIPSWhitelistRequest): Promise<ModifyUserIPSWhitelistResponse>;
4940
5167
  /**
4941
5168
  * You can call the ModifyVpcFirewallCenConfigure operation to modify the configurations of a VPC firewall. The VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. Before you call this operation, make sure that you have created a VPC firewall by calling the [CreateVpcFirewallCenConfigure](~~345772~~) operation.
4942
5169
  * ## Limits