@alicloud/cloudfw20171207 1.2.7 → 1.2.9
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 +232 -0
- package/dist/client.js +484 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +606 -0
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;
|
|
@@ -1541,10 +1590,14 @@ export declare class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model
|
|
|
1541
1590
|
firewallId?: string;
|
|
1542
1591
|
firewallName?: string;
|
|
1543
1592
|
firewallStatus?: string;
|
|
1593
|
+
firewallSubnetCidr?: string;
|
|
1544
1594
|
firewallSwitchStatus?: string;
|
|
1595
|
+
firewallVpcCidr?: string;
|
|
1545
1596
|
regionNo?: string;
|
|
1546
1597
|
requestId?: string;
|
|
1547
1598
|
routeMode?: string;
|
|
1599
|
+
trAttachmentMasterCidr?: string;
|
|
1600
|
+
trAttachmentSlaveCidr?: string;
|
|
1548
1601
|
transitRouterId?: string;
|
|
1549
1602
|
static names(): {
|
|
1550
1603
|
[key: string]: string;
|
|
@@ -1719,6 +1772,49 @@ export declare class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
|
|
|
1719
1772
|
[key: string]: any;
|
|
1720
1773
|
});
|
|
1721
1774
|
}
|
|
1775
|
+
export declare class DescribeUserIPSWhitelistRequest extends $tea.Model {
|
|
1776
|
+
lang?: string;
|
|
1777
|
+
sourceIp?: string;
|
|
1778
|
+
static names(): {
|
|
1779
|
+
[key: string]: string;
|
|
1780
|
+
};
|
|
1781
|
+
static types(): {
|
|
1782
|
+
[key: string]: any;
|
|
1783
|
+
};
|
|
1784
|
+
constructor(map?: {
|
|
1785
|
+
[key: string]: any;
|
|
1786
|
+
});
|
|
1787
|
+
}
|
|
1788
|
+
export declare class DescribeUserIPSWhitelistResponseBody extends $tea.Model {
|
|
1789
|
+
ipv6Whitelists?: DescribeUserIPSWhitelistResponseBodyIpv6Whitelists[];
|
|
1790
|
+
requestId?: string;
|
|
1791
|
+
whitelists?: DescribeUserIPSWhitelistResponseBodyWhitelists[];
|
|
1792
|
+
static names(): {
|
|
1793
|
+
[key: string]: string;
|
|
1794
|
+
};
|
|
1795
|
+
static types(): {
|
|
1796
|
+
[key: string]: any;
|
|
1797
|
+
};
|
|
1798
|
+
constructor(map?: {
|
|
1799
|
+
[key: string]: any;
|
|
1800
|
+
});
|
|
1801
|
+
}
|
|
1802
|
+
export declare class DescribeUserIPSWhitelistResponse extends $tea.Model {
|
|
1803
|
+
headers: {
|
|
1804
|
+
[key: string]: string;
|
|
1805
|
+
};
|
|
1806
|
+
statusCode: number;
|
|
1807
|
+
body: DescribeUserIPSWhitelistResponseBody;
|
|
1808
|
+
static names(): {
|
|
1809
|
+
[key: string]: string;
|
|
1810
|
+
};
|
|
1811
|
+
static types(): {
|
|
1812
|
+
[key: string]: any;
|
|
1813
|
+
};
|
|
1814
|
+
constructor(map?: {
|
|
1815
|
+
[key: string]: any;
|
|
1816
|
+
});
|
|
1817
|
+
}
|
|
1722
1818
|
export declare class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
|
|
1723
1819
|
currentPage?: string;
|
|
1724
1820
|
firewallConfigureStatus?: string;
|
|
@@ -2315,6 +2411,55 @@ export declare class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
|
2315
2411
|
[key: string]: any;
|
|
2316
2412
|
});
|
|
2317
2413
|
}
|
|
2414
|
+
export declare class ModifyDefaultIPSConfigRequest extends $tea.Model {
|
|
2415
|
+
aiRules?: string;
|
|
2416
|
+
basicRules?: string;
|
|
2417
|
+
ctiRules?: string;
|
|
2418
|
+
enableAllPatch?: string;
|
|
2419
|
+
enableDefault?: string;
|
|
2420
|
+
lang?: string;
|
|
2421
|
+
patchRules?: string;
|
|
2422
|
+
ruleClass?: string;
|
|
2423
|
+
runMode?: string;
|
|
2424
|
+
sourceIp?: string;
|
|
2425
|
+
static names(): {
|
|
2426
|
+
[key: string]: string;
|
|
2427
|
+
};
|
|
2428
|
+
static types(): {
|
|
2429
|
+
[key: string]: any;
|
|
2430
|
+
};
|
|
2431
|
+
constructor(map?: {
|
|
2432
|
+
[key: string]: any;
|
|
2433
|
+
});
|
|
2434
|
+
}
|
|
2435
|
+
export declare class ModifyDefaultIPSConfigResponseBody extends $tea.Model {
|
|
2436
|
+
requestId?: string;
|
|
2437
|
+
static names(): {
|
|
2438
|
+
[key: string]: string;
|
|
2439
|
+
};
|
|
2440
|
+
static types(): {
|
|
2441
|
+
[key: string]: any;
|
|
2442
|
+
};
|
|
2443
|
+
constructor(map?: {
|
|
2444
|
+
[key: string]: any;
|
|
2445
|
+
});
|
|
2446
|
+
}
|
|
2447
|
+
export declare class ModifyDefaultIPSConfigResponse extends $tea.Model {
|
|
2448
|
+
headers: {
|
|
2449
|
+
[key: string]: string;
|
|
2450
|
+
};
|
|
2451
|
+
statusCode: number;
|
|
2452
|
+
body: ModifyDefaultIPSConfigResponseBody;
|
|
2453
|
+
static names(): {
|
|
2454
|
+
[key: string]: string;
|
|
2455
|
+
};
|
|
2456
|
+
static types(): {
|
|
2457
|
+
[key: string]: any;
|
|
2458
|
+
};
|
|
2459
|
+
constructor(map?: {
|
|
2460
|
+
[key: string]: any;
|
|
2461
|
+
});
|
|
2462
|
+
}
|
|
2318
2463
|
export declare class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
|
|
2319
2464
|
firewallId?: string;
|
|
2320
2465
|
lang?: string;
|
|
@@ -2544,6 +2689,52 @@ export declare class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Mod
|
|
|
2544
2689
|
[key: string]: any;
|
|
2545
2690
|
});
|
|
2546
2691
|
}
|
|
2692
|
+
export declare class ModifyUserIPSWhitelistRequest extends $tea.Model {
|
|
2693
|
+
direction?: number;
|
|
2694
|
+
ipVersion?: string;
|
|
2695
|
+
lang?: string;
|
|
2696
|
+
listType?: number;
|
|
2697
|
+
listValue?: string;
|
|
2698
|
+
sourceIp?: string;
|
|
2699
|
+
whiteType?: number;
|
|
2700
|
+
static names(): {
|
|
2701
|
+
[key: string]: string;
|
|
2702
|
+
};
|
|
2703
|
+
static types(): {
|
|
2704
|
+
[key: string]: any;
|
|
2705
|
+
};
|
|
2706
|
+
constructor(map?: {
|
|
2707
|
+
[key: string]: any;
|
|
2708
|
+
});
|
|
2709
|
+
}
|
|
2710
|
+
export declare class ModifyUserIPSWhitelistResponseBody extends $tea.Model {
|
|
2711
|
+
requestId?: string;
|
|
2712
|
+
static names(): {
|
|
2713
|
+
[key: string]: string;
|
|
2714
|
+
};
|
|
2715
|
+
static types(): {
|
|
2716
|
+
[key: string]: any;
|
|
2717
|
+
};
|
|
2718
|
+
constructor(map?: {
|
|
2719
|
+
[key: string]: any;
|
|
2720
|
+
});
|
|
2721
|
+
}
|
|
2722
|
+
export declare class ModifyUserIPSWhitelistResponse extends $tea.Model {
|
|
2723
|
+
headers: {
|
|
2724
|
+
[key: string]: string;
|
|
2725
|
+
};
|
|
2726
|
+
statusCode: number;
|
|
2727
|
+
body: ModifyUserIPSWhitelistResponseBody;
|
|
2728
|
+
static names(): {
|
|
2729
|
+
[key: string]: string;
|
|
2730
|
+
};
|
|
2731
|
+
static types(): {
|
|
2732
|
+
[key: string]: any;
|
|
2733
|
+
};
|
|
2734
|
+
constructor(map?: {
|
|
2735
|
+
[key: string]: any;
|
|
2736
|
+
});
|
|
2737
|
+
}
|
|
2547
2738
|
export declare class ModifyVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
2548
2739
|
lang?: string;
|
|
2549
2740
|
memberUid?: string;
|
|
@@ -2730,6 +2921,7 @@ export declare class ModifyVpcFirewallControlPolicyResponse extends $tea.Model {
|
|
|
2730
2921
|
});
|
|
2731
2922
|
}
|
|
2732
2923
|
export declare class ModifyVpcFirewallControlPolicyPositionRequest extends $tea.Model {
|
|
2924
|
+
aclUuid?: string;
|
|
2733
2925
|
lang?: string;
|
|
2734
2926
|
newOrder?: string;
|
|
2735
2927
|
oldOrder?: string;
|
|
@@ -3707,6 +3899,38 @@ export declare class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDeta
|
|
|
3707
3899
|
[key: string]: any;
|
|
3708
3900
|
});
|
|
3709
3901
|
}
|
|
3902
|
+
export declare class DescribeUserIPSWhitelistResponseBodyIpv6Whitelists extends $tea.Model {
|
|
3903
|
+
direction?: number;
|
|
3904
|
+
listType?: number;
|
|
3905
|
+
listValue?: string;
|
|
3906
|
+
whiteListValue?: string[];
|
|
3907
|
+
whiteType?: number;
|
|
3908
|
+
static names(): {
|
|
3909
|
+
[key: string]: string;
|
|
3910
|
+
};
|
|
3911
|
+
static types(): {
|
|
3912
|
+
[key: string]: any;
|
|
3913
|
+
};
|
|
3914
|
+
constructor(map?: {
|
|
3915
|
+
[key: string]: any;
|
|
3916
|
+
});
|
|
3917
|
+
}
|
|
3918
|
+
export declare class DescribeUserIPSWhitelistResponseBodyWhitelists extends $tea.Model {
|
|
3919
|
+
direction?: number;
|
|
3920
|
+
listType?: number;
|
|
3921
|
+
listValue?: string;
|
|
3922
|
+
whiteListValue?: string[];
|
|
3923
|
+
whiteType?: number;
|
|
3924
|
+
static names(): {
|
|
3925
|
+
[key: string]: string;
|
|
3926
|
+
};
|
|
3927
|
+
static types(): {
|
|
3928
|
+
[key: string]: any;
|
|
3929
|
+
};
|
|
3930
|
+
constructor(map?: {
|
|
3931
|
+
[key: string]: any;
|
|
3932
|
+
});
|
|
3933
|
+
}
|
|
3710
3934
|
export declare class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model {
|
|
3711
3935
|
aclGroupId?: string;
|
|
3712
3936
|
aclGroupName?: string;
|
|
@@ -4565,6 +4789,8 @@ export default class Client extends OpenApi {
|
|
|
4565
4789
|
* @return DescribeControlPolicyResponse
|
|
4566
4790
|
*/
|
|
4567
4791
|
describeControlPolicy(request: DescribeControlPolicyRequest): Promise<DescribeControlPolicyResponse>;
|
|
4792
|
+
describeDefaultIPSConfigWithOptions(request: DescribeDefaultIPSConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefaultIPSConfigResponse>;
|
|
4793
|
+
describeDefaultIPSConfig(request: DescribeDefaultIPSConfigRequest): Promise<DescribeDefaultIPSConfigResponse>;
|
|
4568
4794
|
/**
|
|
4569
4795
|
* 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
4796
|
* ## Limits
|
|
@@ -4680,6 +4906,8 @@ export default class Client extends OpenApi {
|
|
|
4680
4906
|
describeTrFirewallsV2RouteList(request: DescribeTrFirewallsV2RouteListRequest): Promise<DescribeTrFirewallsV2RouteListResponse>;
|
|
4681
4907
|
describeUserAssetIPTrafficInfoWithOptions(request: DescribeUserAssetIPTrafficInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserAssetIPTrafficInfoResponse>;
|
|
4682
4908
|
describeUserAssetIPTrafficInfo(request: DescribeUserAssetIPTrafficInfoRequest): Promise<DescribeUserAssetIPTrafficInfoResponse>;
|
|
4909
|
+
describeUserIPSWhitelistWithOptions(request: DescribeUserIPSWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserIPSWhitelistResponse>;
|
|
4910
|
+
describeUserIPSWhitelist(request: DescribeUserIPSWhitelistRequest): Promise<DescribeUserIPSWhitelistResponse>;
|
|
4683
4911
|
/**
|
|
4684
4912
|
* 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
4913
|
* ## Limits
|
|
@@ -4893,6 +5121,8 @@ export default class Client extends OpenApi {
|
|
|
4893
5121
|
* @return ModifyControlPolicyPositionResponse
|
|
4894
5122
|
*/
|
|
4895
5123
|
modifyControlPolicyPosition(request: ModifyControlPolicyPositionRequest): Promise<ModifyControlPolicyPositionResponse>;
|
|
5124
|
+
modifyDefaultIPSConfigWithOptions(request: ModifyDefaultIPSConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefaultIPSConfigResponse>;
|
|
5125
|
+
modifyDefaultIPSConfig(request: ModifyDefaultIPSConfigRequest): Promise<ModifyDefaultIPSConfigResponse>;
|
|
4896
5126
|
modifyFirewallV2RoutePolicySwitchWithOptions(request: ModifyFirewallV2RoutePolicySwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFirewallV2RoutePolicySwitchResponse>;
|
|
4897
5127
|
modifyFirewallV2RoutePolicySwitch(request: ModifyFirewallV2RoutePolicySwitchRequest): Promise<ModifyFirewallV2RoutePolicySwitchResponse>;
|
|
4898
5128
|
/**
|
|
@@ -4937,6 +5167,8 @@ export default class Client extends OpenApi {
|
|
|
4937
5167
|
modifyTrFirewallV2Configuration(request: ModifyTrFirewallV2ConfigurationRequest): Promise<ModifyTrFirewallV2ConfigurationResponse>;
|
|
4938
5168
|
modifyTrFirewallV2RoutePolicyScopeWithOptions(tmpReq: ModifyTrFirewallV2RoutePolicyScopeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse>;
|
|
4939
5169
|
modifyTrFirewallV2RoutePolicyScope(request: ModifyTrFirewallV2RoutePolicyScopeRequest): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse>;
|
|
5170
|
+
modifyUserIPSWhitelistWithOptions(request: ModifyUserIPSWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<ModifyUserIPSWhitelistResponse>;
|
|
5171
|
+
modifyUserIPSWhitelist(request: ModifyUserIPSWhitelistRequest): Promise<ModifyUserIPSWhitelistResponse>;
|
|
4940
5172
|
/**
|
|
4941
5173
|
* 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
5174
|
* ## Limits
|