@alicloud/cloudfw20171207 1.2.6 → 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
@@ -315,6 +315,9 @@ export declare class CreateTrFirewallV2RoutePolicyResponse extends $tea.Model {
315
315
  export declare class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
316
316
  cenId?: string;
317
317
  firewallSwitch?: string;
318
+ firewallVSwitchCidrBlock?: string;
319
+ firewallVpcCidrBlock?: string;
320
+ firewallVpcZoneId?: string;
318
321
  lang?: string;
319
322
  memberUid?: string;
320
323
  networkInstanceId?: string;
@@ -958,6 +961,55 @@ export declare class DescribeControlPolicyResponse extends $tea.Model {
958
961
  [key: string]: any;
959
962
  });
960
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
+ }
961
1013
  export declare class DescribeDomainResolveRequest extends $tea.Model {
962
1014
  domain?: string;
963
1015
  ipVersion?: string;
@@ -1716,6 +1768,49 @@ export declare class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
1716
1768
  [key: string]: any;
1717
1769
  });
1718
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
+ }
1719
1814
  export declare class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
1720
1815
  currentPage?: string;
1721
1816
  firewallConfigureStatus?: string;
@@ -1778,6 +1873,7 @@ export declare class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
1778
1873
  export declare class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
1779
1874
  connectType?: string;
1780
1875
  firewallSwitchStatus?: string;
1876
+ firewallVpc?: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
1781
1877
  localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
1782
1878
  requestId?: string;
1783
1879
  vpcFirewallId?: string;
@@ -2311,6 +2407,55 @@ export declare class ModifyControlPolicyPositionResponse extends $tea.Model {
2311
2407
  [key: string]: any;
2312
2408
  });
2313
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
+ }
2314
2459
  export declare class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
2315
2460
  firewallId?: string;
2316
2461
  lang?: string;
@@ -2540,6 +2685,52 @@ export declare class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Mod
2540
2685
  [key: string]: any;
2541
2686
  });
2542
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
+ }
2543
2734
  export declare class ModifyVpcFirewallCenConfigureRequest extends $tea.Model {
2544
2735
  lang?: string;
2545
2736
  memberUid?: string;
@@ -3630,6 +3821,38 @@ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfi
3630
3821
  [key: string]: any;
3631
3822
  });
3632
3823
  }
3824
+ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource extends $tea.Model {
3825
+ count?: number;
3826
+ peerTrList?: string[];
3827
+ vbrList?: string[];
3828
+ vpcList?: string[];
3829
+ vpnList?: string[];
3830
+ static names(): {
3831
+ [key: string]: string;
3832
+ };
3833
+ static types(): {
3834
+ [key: string]: any;
3835
+ };
3836
+ constructor(map?: {
3837
+ [key: string]: any;
3838
+ });
3839
+ }
3840
+ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource extends $tea.Model {
3841
+ count?: number;
3842
+ peerTrList?: string[];
3843
+ vbrList?: string[];
3844
+ vpcList?: string[];
3845
+ vpnList?: string[];
3846
+ static names(): {
3847
+ [key: string]: string;
3848
+ };
3849
+ static types(): {
3850
+ [key: string]: any;
3851
+ };
3852
+ constructor(map?: {
3853
+ [key: string]: any;
3854
+ });
3855
+ }
3633
3856
  export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
3634
3857
  cenId?: string;
3635
3858
  cenName?: string;
@@ -3638,11 +3861,13 @@ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends
3638
3861
  ipsConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
3639
3862
  ownerId?: number;
3640
3863
  precheckStatus?: string;
3864
+ protectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource;
3641
3865
  regionNo?: string;
3642
3866
  regionStatus?: string;
3643
3867
  resultCode?: string;
3644
3868
  routeMode?: string;
3645
3869
  transitRouterId?: string;
3870
+ unprotectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource;
3646
3871
  vpcFirewallName?: string;
3647
3872
  static names(): {
3648
3873
  [key: string]: string;
@@ -3669,6 +3894,38 @@ export declare class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDeta
3669
3894
  [key: string]: any;
3670
3895
  });
3671
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
+ }
3672
3929
  export declare class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model {
3673
3930
  aclGroupId?: string;
3674
3931
  aclGroupName?: string;
@@ -3683,9 +3940,27 @@ export declare class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList ext
3683
3940
  [key: string]: any;
3684
3941
  });
3685
3942
  }
3943
+ export declare class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $tea.Model {
3944
+ allowConfiguration?: number;
3945
+ vpcCidr?: string;
3946
+ vpcId?: string;
3947
+ vswitchCidr?: string;
3948
+ vswitchId?: string;
3949
+ zoneId?: string;
3950
+ static names(): {
3951
+ [key: string]: string;
3952
+ };
3953
+ static types(): {
3954
+ [key: string]: any;
3955
+ };
3956
+ constructor(map?: {
3957
+ [key: string]: any;
3958
+ });
3959
+ }
3686
3960
  export declare class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model {
3687
3961
  eniId?: string;
3688
3962
  eniPrivateIpAddress?: string;
3963
+ eniVSwitchId?: string;
3689
3964
  static names(): {
3690
3965
  [key: string]: string;
3691
3966
  };
@@ -4509,6 +4784,8 @@ export default class Client extends OpenApi {
4509
4784
  * @return DescribeControlPolicyResponse
4510
4785
  */
4511
4786
  describeControlPolicy(request: DescribeControlPolicyRequest): Promise<DescribeControlPolicyResponse>;
4787
+ describeDefaultIPSConfigWithOptions(request: DescribeDefaultIPSConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefaultIPSConfigResponse>;
4788
+ describeDefaultIPSConfig(request: DescribeDefaultIPSConfigRequest): Promise<DescribeDefaultIPSConfigResponse>;
4512
4789
  /**
4513
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.
4514
4791
  * ## Limits
@@ -4624,6 +4901,8 @@ export default class Client extends OpenApi {
4624
4901
  describeTrFirewallsV2RouteList(request: DescribeTrFirewallsV2RouteListRequest): Promise<DescribeTrFirewallsV2RouteListResponse>;
4625
4902
  describeUserAssetIPTrafficInfoWithOptions(request: DescribeUserAssetIPTrafficInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserAssetIPTrafficInfoResponse>;
4626
4903
  describeUserAssetIPTrafficInfo(request: DescribeUserAssetIPTrafficInfoRequest): Promise<DescribeUserAssetIPTrafficInfoResponse>;
4904
+ describeUserIPSWhitelistWithOptions(request: DescribeUserIPSWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserIPSWhitelistResponse>;
4905
+ describeUserIPSWhitelist(request: DescribeUserIPSWhitelistRequest): Promise<DescribeUserIPSWhitelistResponse>;
4627
4906
  /**
4628
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.
4629
4908
  * ## Limits
@@ -4837,6 +5116,8 @@ export default class Client extends OpenApi {
4837
5116
  * @return ModifyControlPolicyPositionResponse
4838
5117
  */
4839
5118
  modifyControlPolicyPosition(request: ModifyControlPolicyPositionRequest): Promise<ModifyControlPolicyPositionResponse>;
5119
+ modifyDefaultIPSConfigWithOptions(request: ModifyDefaultIPSConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefaultIPSConfigResponse>;
5120
+ modifyDefaultIPSConfig(request: ModifyDefaultIPSConfigRequest): Promise<ModifyDefaultIPSConfigResponse>;
4840
5121
  modifyFirewallV2RoutePolicySwitchWithOptions(request: ModifyFirewallV2RoutePolicySwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFirewallV2RoutePolicySwitchResponse>;
4841
5122
  modifyFirewallV2RoutePolicySwitch(request: ModifyFirewallV2RoutePolicySwitchRequest): Promise<ModifyFirewallV2RoutePolicySwitchResponse>;
4842
5123
  /**
@@ -4881,6 +5162,8 @@ export default class Client extends OpenApi {
4881
5162
  modifyTrFirewallV2Configuration(request: ModifyTrFirewallV2ConfigurationRequest): Promise<ModifyTrFirewallV2ConfigurationResponse>;
4882
5163
  modifyTrFirewallV2RoutePolicyScopeWithOptions(tmpReq: ModifyTrFirewallV2RoutePolicyScopeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse>;
4883
5164
  modifyTrFirewallV2RoutePolicyScope(request: ModifyTrFirewallV2RoutePolicyScopeRequest): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse>;
5165
+ modifyUserIPSWhitelistWithOptions(request: ModifyUserIPSWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<ModifyUserIPSWhitelistResponse>;
5166
+ modifyUserIPSWhitelist(request: ModifyUserIPSWhitelistRequest): Promise<ModifyUserIPSWhitelistResponse>;
4884
5167
  /**
4885
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.
4886
5169
  * ## Limits