@alicloud/cloudfw20171207 8.6.0 → 8.6.1
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 +126 -120
- package/dist/client.js +185 -122
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationCustomRulesRequest.d.ts +3 -3
- package/dist/models/CreateApplicationCustomRulesResponseBody.d.ts +1 -1
- package/dist/models/CreateApplicationCustomRulesShrinkRequest.d.ts +1 -1
- package/dist/models/CreateApplicationTemplateRequest.d.ts +14 -14
- package/dist/models/CreateApplicationTemplateShrinkRequest.d.ts +10 -10
- package/dist/models/CreateSecurityProxyRequest.d.ts +110 -12
- package/dist/models/CreateSecurityProxyRequest.js +20 -0
- package/dist/models/CreateSecurityProxyRequest.js.map +1 -1
- package/dist/models/CreateTrFirewallV2request.d.ts +5 -5
- package/dist/models/CreateTrFirewallV2responseBody.d.ts +1 -1
- package/dist/models/CreateWebFilterRulesRequest.d.ts +2 -2
- package/dist/models/CreateWebFilterRulesResponseBody.d.ts +1 -1
- package/dist/models/CreateWebFilterRulesShrinkRequest.d.ts +2 -2
- package/dist/models/CreateWebFilterTemplateRequest.d.ts +4 -4
- package/dist/models/DeleteApplicationCustomRulesRequest.d.ts +2 -0
- package/dist/models/DeleteApplicationCustomRulesRequest.js.map +1 -1
- package/dist/models/DeleteApplicationCustomRulesResponseBody.d.ts +3 -0
- package/dist/models/DeleteApplicationCustomRulesResponseBody.js.map +1 -1
- package/dist/models/DeleteApplicationCustomRulesShrinkRequest.d.ts +2 -0
- package/dist/models/DeleteApplicationCustomRulesShrinkRequest.js.map +1 -1
- package/dist/models/DeleteApplicationTemplateRequest.d.ts +3 -0
- package/dist/models/DeleteApplicationTemplateRequest.js.map +1 -1
- package/dist/models/DeleteApplicationTemplateResponseBody.d.ts +3 -0
- package/dist/models/DeleteApplicationTemplateResponseBody.js.map +1 -1
- package/dist/models/DeleteWebFilterRulesRequest.d.ts +1 -1
- package/dist/models/DeleteWebFilterRulesShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteWebFilterTemplateRequest.d.ts +1 -1
- package/dist/models/DescribeAckClustersRequest.d.ts +2 -2
- package/dist/models/DescribeAckClustersResponseBody.d.ts +11 -11
- package/dist/models/DescribeAclRuleCountResponseBody.d.ts +4 -4
- package/dist/models/DescribeAclWhitelistRequest.d.ts +1 -1
- package/dist/models/DescribeApplicationStatisticsRequest.d.ts +6 -0
- package/dist/models/DescribeApplicationStatisticsRequest.js.map +1 -1
- package/dist/models/DescribeApplicationStatisticsResponseBody.d.ts +40 -2
- package/dist/models/DescribeApplicationStatisticsResponseBody.js.map +1 -1
- package/dist/models/DescribeAttackAppCategoryResponseBody.d.ts +2 -2
- package/dist/models/DescribeClearAuthInfoResponseBody.d.ts +1 -1
- package/dist/models/DescribeConfiguredDestinationIprequest.d.ts +4 -4
- package/dist/models/DescribeConfiguredDestinationIpresponseBody.d.ts +2 -2
- package/dist/models/DescribeConfiguredDomainNamesRequest.d.ts +4 -4
- package/dist/models/DescribeConfiguredDomainNamesResponseBody.d.ts +2 -2
- package/dist/models/DescribeCreatedNatFirewallRequest.d.ts +1 -1
- package/dist/models/DescribeCtrlInstanceMemberAccountsResponseBody.d.ts +1 -1
- package/dist/models/DescribeDnsFirewallPolicyRequest.d.ts +20 -21
- package/dist/models/DescribeDnsFirewallPolicyRequest.js.map +1 -1
- package/dist/models/DescribeDnsFirewallPolicyResponseBody.d.ts +35 -46
- package/dist/models/DescribeDnsFirewallPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeEventLogRequest.d.ts +26 -10
- package/dist/models/DescribeEventLogRequest.js +4 -0
- package/dist/models/DescribeEventLogRequest.js.map +1 -1
- package/dist/models/DescribeEventLogResponseBody.d.ts +14 -14
- package/dist/models/DescribeFirewallDropStatisticsResponseBody.d.ts +3 -3
- package/dist/models/DescribeFirewallTaskRequest.d.ts +8 -0
- package/dist/models/DescribeFirewallTaskRequest.js +2 -0
- package/dist/models/DescribeFirewallTaskRequest.js.map +1 -1
- package/dist/models/DescribeFirewallTaskResponseBody.d.ts +1 -1
- package/dist/models/DescribeFirewallVswitchRequest.d.ts +2 -2
- package/dist/models/DescribeFirewallVswitchResponseBody.d.ts +4 -4
- package/dist/models/DescribeInternetSlbRequest.d.ts +7 -7
- package/dist/models/DescribeInternetTimeTopRequest.d.ts +2 -2
- package/dist/models/DescribeInternetTimeTopResponseBody.d.ts +1 -1
- package/dist/models/DescribeInvadeEventPayloadRequest.d.ts +2 -4
- package/dist/models/DescribeInvadeEventPayloadRequest.js.map +1 -1
- package/dist/models/DescribeInvadeEventPayloadResponseBody.d.ts +2 -2
- package/dist/models/DescribeIpsrulesRequest.d.ts +13 -5
- package/dist/models/DescribeIpsrulesRequest.js +2 -0
- package/dist/models/DescribeIpsrulesRequest.js.map +1 -1
- package/dist/models/DescribeIpsrulesResponseBody.d.ts +7 -7
- package/dist/models/DescribeLocationInfoRequest.d.ts +1 -1
- package/dist/models/DescribeLocationInfoResponseBody.d.ts +2 -2
- package/dist/models/DescribeNatFirewallListRequest.d.ts +16 -16
- package/dist/models/DescribeNatFirewallListResponseBody.d.ts +26 -26
- package/dist/models/DescribeNatFirewallQuotaResponseBody.d.ts +1 -1
- package/dist/models/DescribeRiskEventGroupRequest.d.ts +31 -29
- package/dist/models/DescribeRiskEventGroupRequest.js.map +1 -1
- package/dist/models/DescribeRiskEventGroupResponseBody.d.ts +43 -43
- package/dist/models/DescribeSecurityProxyResourcesRequest.d.ts +1 -1
- package/dist/models/DescribeSecurityProxyResourcesResponseBody.d.ts +17 -4
- package/dist/models/DescribeSecurityProxyResourcesResponseBody.js +2 -0
- package/dist/models/DescribeSecurityProxyResourcesResponseBody.js.map +1 -1
- package/dist/models/DescribeThreatIntelligenceSwitchResponseBody.d.ts +8 -8
- package/dist/models/DescribeTrafficLogRequest.d.ts +13 -14
- package/dist/models/DescribeTrafficLogRequest.js.map +1 -1
- package/dist/models/DescribeTrafficLogResponseBody.d.ts +45 -34
- package/dist/models/DescribeTrafficLogResponseBody.js.map +1 -1
- package/dist/models/GetApplicationTemplateRequest.d.ts +3 -3
- package/dist/models/GetApplicationTemplateResponseBody.d.ts +4 -4
- package/dist/models/ListApplicationCustomRulesRequest.d.ts +33 -1
- package/dist/models/ListApplicationCustomRulesRequest.js.map +1 -1
- package/dist/models/ListApplicationCustomRulesResponseBody.d.ts +46 -2
- package/dist/models/ListApplicationCustomRulesResponseBody.js.map +1 -1
- package/dist/models/ListApplicationTemplateRequest.d.ts +13 -13
- package/dist/models/ListApplicationTemplateResponseBody.d.ts +13 -13
- package/dist/models/ListApplicationUpdateDynamicsRequest.d.ts +12 -0
- package/dist/models/ListApplicationUpdateDynamicsRequest.js.map +1 -1
- package/dist/models/ListApplicationUpdateDynamicsResponseBody.d.ts +34 -2
- package/dist/models/ListApplicationUpdateDynamicsResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsRequest.d.ts +2 -2
- package/dist/models/ListApplicationsResponseBody.d.ts +3 -3
- package/dist/models/ListWebFilterRulesRequest.d.ts +4 -4
- package/dist/models/ListWebFilterRulesResponseBody.d.ts +7 -7
- package/dist/models/ListWebFilterTemplatesRequest.d.ts +23 -2
- package/dist/models/ListWebFilterTemplatesRequest.js.map +1 -1
- package/dist/models/ListWebFilterTemplatesResponseBody.d.ts +48 -2
- package/dist/models/ListWebFilterTemplatesResponseBody.js.map +1 -1
- package/dist/models/ModifyIpsRulesToDefaultRequest.d.ts +14 -8
- package/dist/models/ModifyIpsRulesToDefaultRequest.js +2 -0
- package/dist/models/ModifyIpsRulesToDefaultRequest.js.map +1 -1
- package/dist/models/ModifyIpsRulesToDefaultResponseBody.d.ts +1 -1
- package/dist/models/SwitchSecurityProxyRequest.d.ts +69 -8
- package/dist/models/SwitchSecurityProxyRequest.js +33 -1
- package/dist/models/SwitchSecurityProxyRequest.js.map +1 -1
- package/dist/models/SwitchSecurityProxyResponseBody.d.ts +1 -1
- package/dist/models/UpdateApplicationCustomRulesRequest.d.ts +9 -9
- package/dist/models/UpdateApplicationTemplateRequest.d.ts +5 -5
- package/dist/models/UpdateApplicationTemplateShrinkRequest.d.ts +3 -3
- package/dist/models/UpdateFirewallFeatureRequest.d.ts +3 -3
- package/dist/models/UpdateWebFilterRulesRequest.d.ts +4 -4
- package/dist/models/UpdateWebFilterRulesShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateWebFilterTemplateRequest.d.ts +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +24 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +204 -122
- package/src/models/CreateApplicationCustomRulesRequest.ts +3 -3
- package/src/models/CreateApplicationCustomRulesResponseBody.ts +1 -1
- package/src/models/CreateApplicationCustomRulesShrinkRequest.ts +1 -1
- package/src/models/CreateApplicationTemplateRequest.ts +14 -14
- package/src/models/CreateApplicationTemplateShrinkRequest.ts +10 -10
- package/src/models/CreateSecurityProxyRequest.ts +130 -12
- package/src/models/CreateTrFirewallV2request.ts +5 -5
- package/src/models/CreateTrFirewallV2responseBody.ts +1 -1
- package/src/models/CreateWebFilterRulesRequest.ts +2 -2
- package/src/models/CreateWebFilterRulesResponseBody.ts +1 -1
- package/src/models/CreateWebFilterRulesShrinkRequest.ts +2 -2
- package/src/models/CreateWebFilterTemplateRequest.ts +4 -4
- package/src/models/DeleteApplicationCustomRulesRequest.ts +2 -0
- package/src/models/DeleteApplicationCustomRulesResponseBody.ts +3 -0
- package/src/models/DeleteApplicationCustomRulesShrinkRequest.ts +2 -0
- package/src/models/DeleteApplicationTemplateRequest.ts +3 -0
- package/src/models/DeleteApplicationTemplateResponseBody.ts +3 -0
- package/src/models/DeleteWebFilterRulesRequest.ts +1 -1
- package/src/models/DeleteWebFilterRulesShrinkRequest.ts +1 -1
- package/src/models/DeleteWebFilterTemplateRequest.ts +1 -1
- package/src/models/DescribeAckClustersRequest.ts +2 -2
- package/src/models/DescribeAckClustersResponseBody.ts +11 -11
- package/src/models/DescribeAclRuleCountResponseBody.ts +4 -4
- package/src/models/DescribeAclWhitelistRequest.ts +1 -1
- package/src/models/DescribeApplicationStatisticsRequest.ts +6 -0
- package/src/models/DescribeApplicationStatisticsResponseBody.ts +40 -2
- package/src/models/DescribeAttackAppCategoryResponseBody.ts +2 -2
- package/src/models/DescribeClearAuthInfoResponseBody.ts +1 -1
- package/src/models/DescribeConfiguredDestinationIprequest.ts +4 -4
- package/src/models/DescribeConfiguredDestinationIpresponseBody.ts +2 -2
- package/src/models/DescribeConfiguredDomainNamesRequest.ts +4 -4
- package/src/models/DescribeConfiguredDomainNamesResponseBody.ts +2 -2
- package/src/models/DescribeCreatedNatFirewallRequest.ts +1 -1
- package/src/models/DescribeCtrlInstanceMemberAccountsResponseBody.ts +1 -1
- package/src/models/DescribeDnsFirewallPolicyRequest.ts +20 -21
- package/src/models/DescribeDnsFirewallPolicyResponseBody.ts +35 -46
- package/src/models/DescribeEventLogRequest.ts +30 -10
- package/src/models/DescribeEventLogResponseBody.ts +14 -14
- package/src/models/DescribeFirewallDropStatisticsResponseBody.ts +3 -3
- package/src/models/DescribeFirewallTaskRequest.ts +10 -0
- package/src/models/DescribeFirewallTaskResponseBody.ts +1 -1
- package/src/models/DescribeFirewallVswitchRequest.ts +2 -2
- package/src/models/DescribeFirewallVswitchResponseBody.ts +4 -4
- package/src/models/DescribeInternetSlbRequest.ts +7 -7
- package/src/models/DescribeInternetTimeTopRequest.ts +2 -2
- package/src/models/DescribeInternetTimeTopResponseBody.ts +1 -1
- package/src/models/DescribeInvadeEventPayloadRequest.ts +2 -4
- package/src/models/DescribeInvadeEventPayloadResponseBody.ts +2 -2
- package/src/models/DescribeIpsrulesRequest.ts +15 -5
- package/src/models/DescribeIpsrulesResponseBody.ts +7 -7
- package/src/models/DescribeLocationInfoRequest.ts +1 -1
- package/src/models/DescribeLocationInfoResponseBody.ts +2 -2
- package/src/models/DescribeNatFirewallListRequest.ts +16 -16
- package/src/models/DescribeNatFirewallListResponseBody.ts +26 -26
- package/src/models/DescribeNatFirewallQuotaResponseBody.ts +1 -1
- package/src/models/DescribeRiskEventGroupRequest.ts +31 -29
- package/src/models/DescribeRiskEventGroupResponseBody.ts +43 -43
- package/src/models/DescribeSecurityProxyResourcesRequest.ts +1 -1
- package/src/models/DescribeSecurityProxyResourcesResponseBody.ts +19 -4
- package/src/models/DescribeThreatIntelligenceSwitchResponseBody.ts +8 -8
- package/src/models/DescribeTrafficLogRequest.ts +13 -14
- package/src/models/DescribeTrafficLogResponseBody.ts +45 -34
- package/src/models/GetApplicationTemplateRequest.ts +3 -3
- package/src/models/GetApplicationTemplateResponseBody.ts +4 -4
- package/src/models/ListApplicationCustomRulesRequest.ts +33 -1
- package/src/models/ListApplicationCustomRulesResponseBody.ts +46 -2
- package/src/models/ListApplicationTemplateRequest.ts +13 -13
- package/src/models/ListApplicationTemplateResponseBody.ts +13 -13
- package/src/models/ListApplicationUpdateDynamicsRequest.ts +12 -0
- package/src/models/ListApplicationUpdateDynamicsResponseBody.ts +34 -2
- package/src/models/ListApplicationsRequest.ts +2 -2
- package/src/models/ListApplicationsResponseBody.ts +3 -3
- package/src/models/ListWebFilterRulesRequest.ts +4 -4
- package/src/models/ListWebFilterRulesResponseBody.ts +7 -7
- package/src/models/ListWebFilterTemplatesRequest.ts +23 -2
- package/src/models/ListWebFilterTemplatesResponseBody.ts +48 -2
- package/src/models/ModifyIpsRulesToDefaultRequest.ts +16 -8
- package/src/models/ModifyIpsRulesToDefaultResponseBody.ts +1 -1
- package/src/models/SwitchSecurityProxyRequest.ts +92 -8
- package/src/models/SwitchSecurityProxyResponseBody.ts +1 -1
- package/src/models/UpdateApplicationCustomRulesRequest.ts +9 -9
- package/src/models/UpdateApplicationTemplateRequest.ts +5 -5
- package/src/models/UpdateApplicationTemplateShrinkRequest.ts +3 -3
- package/src/models/UpdateFirewallFeatureRequest.ts +3 -3
- package/src/models/UpdateWebFilterRulesRequest.ts +4 -4
- package/src/models/UpdateWebFilterRulesShrinkRequest.ts +1 -1
- package/src/models/UpdateWebFilterTemplateRequest.ts +1 -1
- package/src/models/model.ts +1 -0
|
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListWebFilterTemplatesResponseBodyWebFilterTemplatesRuleActionStatistics extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of web filtering rules whose action is Alert in the template.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 2
|
|
9
12
|
*/
|
|
10
13
|
alert?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The number of web filtering rules whose action is Allow in the template.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 3
|
|
14
20
|
*/
|
|
15
21
|
allow?: number;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of web filtering rules whose action is Deny in the template.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 1
|
|
19
28
|
*/
|
|
@@ -45,27 +54,48 @@ export class ListWebFilterTemplatesResponseBodyWebFilterTemplatesRuleActionStati
|
|
|
45
54
|
|
|
46
55
|
export class ListWebFilterTemplatesResponseBodyWebFilterTemplates extends $dara.Model {
|
|
47
56
|
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The creation time of the web filtering template. The value is a UNIX timestamp in seconds.
|
|
59
|
+
*
|
|
48
60
|
* @example
|
|
49
61
|
* 1731465600
|
|
50
62
|
*/
|
|
51
63
|
createTime?: number;
|
|
52
64
|
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The description of the web filtering template.
|
|
67
|
+
*
|
|
53
68
|
* @example
|
|
54
|
-
*
|
|
69
|
+
* Web filtering template for URL access control
|
|
55
70
|
*/
|
|
56
71
|
description?: string;
|
|
57
72
|
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The name of the web filtering template.
|
|
75
|
+
*
|
|
58
76
|
* @example
|
|
59
|
-
* Web
|
|
77
|
+
* Web filtering template 01
|
|
60
78
|
*/
|
|
61
79
|
name?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The statistics on the number of web filtering rules in the template categorized by action.
|
|
83
|
+
*/
|
|
62
84
|
ruleActionStatistics?: ListWebFilterTemplatesResponseBodyWebFilterTemplatesRuleActionStatistics;
|
|
63
85
|
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The status of the web filtering template. Valid values:
|
|
88
|
+
* - **Enable**: Enabled.
|
|
89
|
+
* - **Disable**: Disabled.
|
|
90
|
+
*
|
|
64
91
|
* @example
|
|
65
92
|
* Enable
|
|
66
93
|
*/
|
|
67
94
|
status?: string;
|
|
68
95
|
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The ID of the web filtering template.
|
|
98
|
+
*
|
|
69
99
|
* @example
|
|
70
100
|
* wft-3f2a9c1d4b5e6f70
|
|
71
101
|
*/
|
|
@@ -106,25 +136,41 @@ export class ListWebFilterTemplatesResponseBodyWebFilterTemplates extends $dara.
|
|
|
106
136
|
|
|
107
137
|
export class ListWebFilterTemplatesResponseBody extends $dara.Model {
|
|
108
138
|
/**
|
|
139
|
+
* @remarks
|
|
140
|
+
* The current page number.
|
|
141
|
+
*
|
|
109
142
|
* @example
|
|
110
143
|
* 1
|
|
111
144
|
*/
|
|
112
145
|
pageNo?: number;
|
|
113
146
|
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* The number of entries per page.
|
|
149
|
+
*
|
|
114
150
|
* @example
|
|
115
151
|
* 10
|
|
116
152
|
*/
|
|
117
153
|
pageSize?: number;
|
|
118
154
|
/**
|
|
155
|
+
* @remarks
|
|
156
|
+
* The request ID.
|
|
157
|
+
*
|
|
119
158
|
* @example
|
|
120
159
|
* CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D
|
|
121
160
|
*/
|
|
122
161
|
requestId?: string;
|
|
123
162
|
/**
|
|
163
|
+
* @remarks
|
|
164
|
+
* The total number of web filtering templates that meet the filter conditions.
|
|
165
|
+
*
|
|
124
166
|
* @example
|
|
125
167
|
* 2
|
|
126
168
|
*/
|
|
127
169
|
totalCount?: number;
|
|
170
|
+
/**
|
|
171
|
+
* @remarks
|
|
172
|
+
* The list of web filtering templates.
|
|
173
|
+
*/
|
|
128
174
|
webFilterTemplates?: ListWebFilterTemplatesResponseBodyWebFilterTemplates[];
|
|
129
175
|
static names(): { [key: string]: string } {
|
|
130
176
|
return {
|
|
@@ -13,9 +13,9 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
|
|
|
13
13
|
attackApp?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
17
|
-
* - **VpcFirewall**: virtual private cloud (VPC)
|
|
18
|
-
* - **InternetFirewall** (default): the Internet
|
|
16
|
+
* The Cloud Firewall type. Valid values:
|
|
17
|
+
* - **VpcFirewall**: virtual private cloud (VPC) firewall
|
|
18
|
+
* - **InternetFirewall** (default): the Internet firewall
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* InternetFirewall
|
|
@@ -23,7 +23,7 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
|
|
|
23
23
|
firewallType?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The language
|
|
26
|
+
* The language type. Valid values:
|
|
27
27
|
*
|
|
28
28
|
* - **zh** (default): Chinese.
|
|
29
29
|
*
|
|
@@ -33,21 +33,27 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
|
|
|
33
33
|
* zh
|
|
34
34
|
*/
|
|
35
35
|
lang?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* Instance ID of the NAT firewall instance. This parameter is required only when FirewallType is set to **NatFirewall**. In this case, the scope is the rules under this instance. This parameter is ignored for Internet and VPC firewalls. You can call the [ListNatFirewallIpsConfigs](https://help.aliyun.com/document_detail/2879296.html) operation to query instance ID.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* proxy-nat53f4bbc233234271a1d7
|
|
42
|
+
*/
|
|
43
|
+
proxyId?: string;
|
|
36
44
|
/**
|
|
37
45
|
* @remarks
|
|
38
46
|
* The rule type. Valid values:
|
|
39
47
|
* - **basicRule**
|
|
40
48
|
* - **customize**
|
|
41
49
|
*
|
|
42
|
-
* This parameter is required.
|
|
43
|
-
*
|
|
44
50
|
* @example
|
|
45
51
|
* customize
|
|
46
52
|
*/
|
|
47
53
|
ruleType?: string;
|
|
48
54
|
/**
|
|
49
55
|
* @remarks
|
|
50
|
-
* The
|
|
56
|
+
* The list of rules. This parameter is conditionally required: when RuleType is set to customize, you must specify at least one of this parameter or AttackApp. If you specify only RuleType without Rules or AttackApp, the API returns an ErrorParameters error.
|
|
51
57
|
*
|
|
52
58
|
* @example
|
|
53
59
|
* [
|
|
@@ -58,7 +64,7 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
|
|
|
58
64
|
rules?: string;
|
|
59
65
|
/**
|
|
60
66
|
* @remarks
|
|
61
|
-
* The source IP address of the
|
|
67
|
+
* The source IP address of the requester.
|
|
62
68
|
*
|
|
63
69
|
* @example
|
|
64
70
|
* 140.205.118.XXX
|
|
@@ -69,6 +75,7 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
|
|
|
69
75
|
attackApp: 'AttackApp',
|
|
70
76
|
firewallType: 'FirewallType',
|
|
71
77
|
lang: 'Lang',
|
|
78
|
+
proxyId: 'ProxyId',
|
|
72
79
|
ruleType: 'RuleType',
|
|
73
80
|
rules: 'Rules',
|
|
74
81
|
sourceIp: 'SourceIp',
|
|
@@ -80,6 +87,7 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
|
|
|
80
87
|
attackApp: 'string',
|
|
81
88
|
firewallType: 'string',
|
|
82
89
|
lang: 'string',
|
|
90
|
+
proxyId: 'string',
|
|
83
91
|
ruleType: 'string',
|
|
84
92
|
rules: 'string',
|
|
85
93
|
sourceIp: 'string',
|
|
@@ -2,19 +2,90 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
export class
|
|
5
|
+
export class SwitchSecurityProxyRequestNatRouteEntryList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The destination CIDR block of the route entry. When RouteAction is specified, only the default route 0.0.0.0/0 is supported. If other CIDR blocks are passed, a parameter error is returned.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 0.0.0.0/0
|
|
14
|
+
*/
|
|
15
|
+
destinationCidr?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The ID of the NAT gateway to which the route entry pointed before traffic redirection. You can obtain the ID by calling the DescribeSecurityProxyResources operation. When RouteAction is specified, this value must be consistent with the NAT gateway involved in the current operation. When traffic redirection is disabled, you must still pass this NAT gateway ID instead of the current next hop ID of the firewall.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ngw-bp1a2b3c4d5e6f7g8h9i0
|
|
24
|
+
*/
|
|
25
|
+
nextHopId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The next hop type of the route entry before traffic redirection. When RouteAction is specified, this value is fixed to NatGateway and must be passed in pairs with NextHopId. If other values are passed, a parameter error is returned.
|
|
29
|
+
*
|
|
30
|
+
* This parameter is required.
|
|
9
31
|
*
|
|
10
|
-
*
|
|
32
|
+
* @example
|
|
33
|
+
* NatGateway
|
|
34
|
+
*/
|
|
35
|
+
nextHopType?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The ID of the route table to which the route entry belongs. The route table must exist in the user\\"s VPC. This parameter and DestinationCidr are used together to locate a route. If the route does not exist, the task fails and a message indicating that the route entry does not exist is returned.
|
|
11
39
|
*
|
|
12
|
-
*
|
|
40
|
+
* This parameter is required.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* vtb-bp1a2b3c4d5e6f7g8h9i0
|
|
44
|
+
*/
|
|
45
|
+
routeTableId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
destinationCidr: 'DestinationCidr',
|
|
49
|
+
nextHopId: 'NextHopId',
|
|
50
|
+
nextHopType: 'NextHopType',
|
|
51
|
+
routeTableId: 'RouteTableId',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
static types(): { [key: string]: any } {
|
|
56
|
+
return {
|
|
57
|
+
destinationCidr: 'string',
|
|
58
|
+
nextHopId: 'string',
|
|
59
|
+
nextHopType: 'string',
|
|
60
|
+
routeTableId: 'string',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
constructor(map?: { [key: string]: any }) {
|
|
69
|
+
super(map);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export class SwitchSecurityProxyRequest extends $dara.Model {
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The language of the request and response. Valid values:
|
|
77
|
+
* - **zh** (default): Chinese.
|
|
78
|
+
* - **en**: English.
|
|
13
79
|
*
|
|
14
80
|
* @example
|
|
15
81
|
* zh
|
|
16
82
|
*/
|
|
17
83
|
lang?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The route entry list for routing to be redirected or un-redirected. Maximum number of entries: 10,000. When RouteAction (divert or undivert) is specified, a non-empty list must be provided and used according to the incremental semantics. Each entry must include the RouteTableId, DestinationCidr, NextHopId, and NextHopType fields, and the combination of RouteTableId and DestinationCidr must be unique. In the Gateway Load Balancer (GWLB) architecture, when committed together with Switch=open, this parameter is used to specify the route entry for which traffic redirection is enabled in the current request. If no list is provided, the saved list is used. If no active list exists, a parameter error is returned.
|
|
87
|
+
*/
|
|
88
|
+
natRouteEntryList?: SwitchSecurityProxyRequestNatRouteEntryList[];
|
|
18
89
|
/**
|
|
19
90
|
* @remarks
|
|
20
91
|
* The ID of the NAT firewall.
|
|
@@ -27,11 +98,17 @@ export class SwitchSecurityProxyRequest extends $dara.Model {
|
|
|
27
98
|
proxyId?: string;
|
|
28
99
|
/**
|
|
29
100
|
* @remarks
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* - open: Enables security protection.
|
|
101
|
+
* Makes incremental traffic redirection changes to the route entry passed in this request. Other redirected route tables in the list are not affected. Valid values: divert (enables traffic redirection for the passed route entry) and undivert (shutdown of traffic redirection for the passed route entry). This parameter is active only when the firewall is in the traffic redirection state (normal). This parameter and Switch are mutually exclusive and cannot be both set to non-empty values at the same time. If this parameter is not specified or is set to an empty string, the incremental semantics are not used.
|
|
33
102
|
*
|
|
34
|
-
*
|
|
103
|
+
* @example
|
|
104
|
+
* divert
|
|
105
|
+
*/
|
|
106
|
+
routeAction?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The security protection switch. Valid values:
|
|
110
|
+
* - open: Enabled.
|
|
111
|
+
* - close: Disabled.
|
|
35
112
|
*
|
|
36
113
|
* This parameter is required.
|
|
37
114
|
*
|
|
@@ -42,7 +119,9 @@ export class SwitchSecurityProxyRequest extends $dara.Model {
|
|
|
42
119
|
static names(): { [key: string]: string } {
|
|
43
120
|
return {
|
|
44
121
|
lang: 'Lang',
|
|
122
|
+
natRouteEntryList: 'NatRouteEntryList',
|
|
45
123
|
proxyId: 'ProxyId',
|
|
124
|
+
routeAction: 'RouteAction',
|
|
46
125
|
switch: 'Switch',
|
|
47
126
|
};
|
|
48
127
|
}
|
|
@@ -50,12 +129,17 @@ export class SwitchSecurityProxyRequest extends $dara.Model {
|
|
|
50
129
|
static types(): { [key: string]: any } {
|
|
51
130
|
return {
|
|
52
131
|
lang: 'string',
|
|
132
|
+
natRouteEntryList: { 'type': 'array', 'itemType': SwitchSecurityProxyRequestNatRouteEntryList },
|
|
53
133
|
proxyId: 'string',
|
|
134
|
+
routeAction: 'string',
|
|
54
135
|
switch: 'string',
|
|
55
136
|
};
|
|
56
137
|
}
|
|
57
138
|
|
|
58
139
|
validate() {
|
|
140
|
+
if(Array.isArray(this.natRouteEntryList)) {
|
|
141
|
+
$dara.Model.validateArray(this.natRouteEntryList);
|
|
142
|
+
}
|
|
59
143
|
super.validate();
|
|
60
144
|
}
|
|
61
145
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateApplicationCustomRulesRequestRules extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The list of application IDs to be associated. You can specify up to 200 IDs. The IDs cannot be 0 and must exist in the built-in application signature library. The IDs must not overlap with those in RemoveApplicationIds. The combined list
|
|
8
|
+
* The list of application IDs to be associated. You can specify up to 200 IDs. The IDs cannot be 0 and must exist in the built-in application signature library. The IDs must not overlap with those in RemoveApplicationIds. The combined list cannot be empty and can contain up to 200 IDs.
|
|
9
9
|
*/
|
|
10
10
|
addApplicationIds?: number[];
|
|
11
11
|
/**
|
|
@@ -18,15 +18,15 @@ export class UpdateApplicationCustomRulesRequestRules extends $dara.Model {
|
|
|
18
18
|
applicationCustomRuleId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The name of the custom rule. The name can be up to 64 characters in length and can contain Chinese characters,
|
|
21
|
+
* The name of the custom rule. The name can be up to 64 characters in length and can contain Chinese characters, letters, digits, hyphens (-), underscores (_), and periods (.). If this parameter is not specified or is left empty, the original value is retained.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
|
-
*
|
|
24
|
+
* CustomRule02
|
|
25
25
|
*/
|
|
26
26
|
applicationCustomRuleName?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The priority of the rule. This parameter is required
|
|
29
|
+
* The priority of the rule. This parameter is required. Valid values: integers from 1 to 200. A smaller value indicates a higher priority. Priorities must be unique within the same template. You can swap priorities by deleting and then re-inserting rules.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 2
|
|
@@ -34,15 +34,15 @@ export class UpdateApplicationCustomRulesRequestRules extends $dara.Model {
|
|
|
34
34
|
priority?: number;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The list of application IDs to be disassociated. You can specify up to 200 IDs. The IDs must not overlap with those in AddApplicationIds. The combined list
|
|
37
|
+
* The list of application IDs to be disassociated. You can specify up to 200 IDs. The IDs must not overlap with those in AddApplicationIds. The combined list cannot be empty and can contain up to 200 IDs.
|
|
38
38
|
*/
|
|
39
39
|
removeApplicationIds?: number[];
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The action to perform
|
|
43
|
-
* - **Allow**:
|
|
44
|
-
* - **Alert**:
|
|
45
|
-
* - **Deny**:
|
|
42
|
+
* The action to perform when the rule is matched. This parameter is required. Valid values:
|
|
43
|
+
* - **Allow**: allows the traffic.
|
|
44
|
+
* - **Alert**: monitors the traffic.
|
|
45
|
+
* - **Deny**: blocks the traffic.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* Alert
|
|
@@ -16,7 +16,7 @@ export class UpdateApplicationTemplateRequestAddBuiltInApplicationCustomActions
|
|
|
16
16
|
action?: string;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The ID of the application for which
|
|
19
|
+
* The ID of the application for which to set custom actions. The application must exist in the built-in application signature library and the ID cannot be 0. You can call the ListApplications operation to query the ID.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* 10012150000
|
|
@@ -48,7 +48,7 @@ export class UpdateApplicationTemplateRequestAddBuiltInApplicationCustomActions
|
|
|
48
48
|
export class UpdateApplicationTemplateRequestRemoveBuiltInApplicationCustomActions extends $dara.Model {
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The ID of the application
|
|
51
|
+
* The ID of the application from which to remove custom actions. The application must exist in the built-in application signature library.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* 10012150000
|
|
@@ -101,7 +101,7 @@ export class UpdateApplicationTemplateRequest extends $dara.Model {
|
|
|
101
101
|
applicationTemplateName?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The switch status of built-in application control.
|
|
104
|
+
* The switch status of built-in application control. Valid values: only **Enable** is supported. If you specify Disable, an error is returned. If this parameter is not specified or is left empty, the original value is retained.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* Enable
|
|
@@ -128,12 +128,12 @@ export class UpdateApplicationTemplateRequest extends $dara.Model {
|
|
|
128
128
|
description?: string;
|
|
129
129
|
/**
|
|
130
130
|
* @remarks
|
|
131
|
-
* The list of built-in applications
|
|
131
|
+
* The list of built-in applications from which to remove custom actions. After removal, these applications revert to the default actions of the template. The same application ID cannot appear in AddBuiltInApplicationCustomActions at the same time.
|
|
132
132
|
*/
|
|
133
133
|
removeBuiltInApplicationCustomActions?: UpdateApplicationTemplateRequestRemoveBuiltInApplicationCustomActions[];
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The
|
|
136
|
+
* The master switch status of the application template. Valid values:
|
|
137
137
|
* - **Enable**: Enabled.
|
|
138
138
|
* - **Disable**: Disabled.
|
|
139
139
|
* If this parameter is not specified or is left empty, the original value is retained.
|
|
@@ -28,7 +28,7 @@ export class UpdateApplicationTemplateShrinkRequest extends $dara.Model {
|
|
|
28
28
|
applicationTemplateName?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The switch status of built-in application control.
|
|
31
|
+
* The switch status of built-in application control. Valid values: only **Enable** is supported. If you specify Disable, an error is returned. If this parameter is not specified or is left empty, the original value is retained.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* Enable
|
|
@@ -55,12 +55,12 @@ export class UpdateApplicationTemplateShrinkRequest extends $dara.Model {
|
|
|
55
55
|
description?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The list of built-in applications
|
|
58
|
+
* The list of built-in applications from which to remove custom actions. After removal, these applications revert to the default actions of the template. The same application ID cannot appear in AddBuiltInApplicationCustomActions at the same time.
|
|
59
59
|
*/
|
|
60
60
|
removeBuiltInApplicationCustomActionsShrink?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The
|
|
63
|
+
* The master switch status of the application template. Valid values:
|
|
64
64
|
* - **Enable**: Enabled.
|
|
65
65
|
* - **Disable**: Disabled.
|
|
66
66
|
* If this parameter is not specified or is left empty, the original value is retained.
|
|
@@ -6,8 +6,8 @@ export class UpdateFirewallFeatureRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The name of the feature to enable. Valid values:
|
|
9
|
-
* - **ApplicationControl**: application control
|
|
10
|
-
* - **WebFilter**: web filtering
|
|
9
|
+
* - **ApplicationControl**: application control
|
|
10
|
+
* - **WebFilter**: web filtering
|
|
11
11
|
*
|
|
12
12
|
* This parameter is required.
|
|
13
13
|
*
|
|
@@ -17,7 +17,7 @@ export class UpdateFirewallFeatureRequest extends $dara.Model {
|
|
|
17
17
|
featureName?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The
|
|
20
|
+
* The status of the feature. Only **Enable** is supported, which enables the feature. Specifying Disable or other values returns an error. This operation is idempotent if the feature is already enabled.
|
|
21
21
|
*
|
|
22
22
|
* This parameter is required.
|
|
23
23
|
*
|
|
@@ -13,7 +13,7 @@ export class UpdateWebFilterRulesRequestRulesConditions extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The URL to match.
|
|
16
|
+
* The URL to match. The value cannot be empty and must not exceed 240 bytes in length. Each Chinese character is counted as 3 bytes. The URL must contain at least one forward slash (/), and the first segment must contain letters, digits, or Chinese characters. The URL cannot contain a protocol header, query parameters, or fragment identifiers. A single asterisk (*) matches all URLs. If a wildcard is used, only one wildcard is allowed and it must end with /*. URLs within the same template must be unique.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* www.example.com/login
|
|
@@ -45,7 +45,7 @@ export class UpdateWebFilterRulesRequestRulesConditions extends $dara.Model {
|
|
|
45
45
|
export class UpdateWebFilterRulesRequestRules extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The list of match conditions for the rule. The list must contain exactly one condition. After the
|
|
48
|
+
* The list of match conditions for the rule. The list must contain exactly one condition. After the update, URLs within the same template must be unique.
|
|
49
49
|
*/
|
|
50
50
|
conditions?: UpdateWebFilterRulesRequestRulesConditions[];
|
|
51
51
|
/**
|
|
@@ -61,7 +61,7 @@ export class UpdateWebFilterRulesRequestRules extends $dara.Model {
|
|
|
61
61
|
ruleAction?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The ID of the web filtering rule to be
|
|
64
|
+
* The ID of the web filtering rule to be updated. The rule must exist within the current Alibaba Cloud account.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* wfr-8c1d2e3f4a5b6c7d
|
|
@@ -98,7 +98,7 @@ export class UpdateWebFilterRulesRequestRules extends $dara.Model {
|
|
|
98
98
|
export class UpdateWebFilterRulesRequest extends $dara.Model {
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The list of web filtering rules to be
|
|
101
|
+
* The list of web filtering rules to be updated. You can specify up to 20 rules at a time. The rule IDs in the list must be unique.
|
|
102
102
|
*
|
|
103
103
|
* This parameter is required.
|
|
104
104
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateWebFilterRulesShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The list of web filtering rules to be
|
|
8
|
+
* The list of web filtering rules to be updated. You can specify up to 20 rules at a time. The rule IDs in the list must be unique.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ export class UpdateWebFilterTemplateRequest extends $dara.Model {
|
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name of the web filtering template. The name must be 1 to 64 characters in length
|
|
16
|
+
* The name of the web filtering template. The name must be 1 to 64 characters in length and can contain Chinese characters, English letters, digits, hyphens (-), underscores (_), and periods (.). It cannot contain spaces. If this parameter is not specified or is left empty, the original value is retained.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* Web filtering template 02
|
package/src/models/model.ts
CHANGED
|
@@ -286,6 +286,7 @@ export { ModifyUserAlarmConfigRequestAlarmConfig } from './ModifyUserAlarmConfig
|
|
|
286
286
|
export { ModifyUserAlarmConfigRequestContactConfig } from './ModifyUserAlarmConfigRequest';
|
|
287
287
|
export { ModifyUserAlarmConfigShrinkRequestAlarmConfig } from './ModifyUserAlarmConfigShrinkRequest';
|
|
288
288
|
export { PutEnableFwSwitchResponseBodyAbnormalResourceStatusList } from './PutEnableFwSwitchResponseBody';
|
|
289
|
+
export { SwitchSecurityProxyRequestNatRouteEntryList } from './SwitchSecurityProxyRequest';
|
|
289
290
|
export { UpdateAckClusterConnectorResponseBodyAckClusterConnector } from './UpdateAckClusterConnectorResponseBody';
|
|
290
291
|
export { UpdateAclCheckDetailStatusResponseBodyCheckRecordAclsAclTagList } from './UpdateAclCheckDetailStatusResponseBody';
|
|
291
292
|
export { UpdateAclCheckDetailStatusResponseBodyCheckRecordAclsAcl } from './UpdateAclCheckDetailStatusResponseBody';
|