@alicloud/cloudfw20171207 8.1.0 → 8.2.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 +113 -60
- package/dist/client.js +252 -64
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressBookRequest.d.ts +291 -10
- package/dist/models/AddAddressBookRequest.js +146 -1
- package/dist/models/AddAddressBookRequest.js.map +1 -1
- package/dist/models/AddAddressBookResponseBody.d.ts +1 -1
- package/dist/models/AddAddressBookShrinkRequest.d.ts +186 -0
- package/dist/models/AddAddressBookShrinkRequest.js +135 -0
- package/dist/models/AddAddressBookShrinkRequest.js.map +1 -0
- package/dist/models/CreateSecurityProxyRequest.d.ts +1 -1
- package/dist/models/CreateVpcFirewallCenConfigureRequest.d.ts +22 -23
- package/dist/models/CreateVpcFirewallCenConfigureRequest.js.map +1 -1
- package/dist/models/CreateVpcFirewallCenConfigureResponseBody.d.ts +1 -1
- package/dist/models/DescribeAclRuleCountRequest.d.ts +1 -1
- package/dist/models/DescribeAclRuleCountResponseBody.d.ts +2 -2
- package/dist/models/DescribeAclWhitelistRequest.d.ts +1 -2
- package/dist/models/DescribeAclWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeAclWhitelistResponseBody.d.ts +11 -19
- package/dist/models/DescribeAclWhitelistResponseBody.js.map +1 -1
- package/dist/models/DescribeAclprotectTrendRequest.d.ts +4 -4
- package/dist/models/DescribeAclprotectTrendResponseBody.d.ts +7 -7
- package/dist/models/DescribeAddressBookRequest.d.ts +16 -9
- package/dist/models/DescribeAddressBookRequest.js +5 -0
- package/dist/models/DescribeAddressBookRequest.js.map +1 -1
- package/dist/models/DescribeAddressBookResponseBody.d.ts +304 -19
- package/dist/models/DescribeAddressBookResponseBody.js +146 -1
- package/dist/models/DescribeAddressBookResponseBody.js.map +1 -1
- package/dist/models/DescribeAddressBookShrinkRequest.d.ts +82 -0
- package/dist/models/DescribeAddressBookShrinkRequest.js +72 -0
- package/dist/models/DescribeAddressBookShrinkRequest.js.map +1 -0
- package/dist/models/DescribeAssetStatisticResponseBody.d.ts +7 -7
- package/dist/models/DescribeFirewallDropTrendRequest.d.ts +40 -0
- package/dist/models/DescribeFirewallDropTrendRequest.js +62 -0
- package/dist/models/DescribeFirewallDropTrendRequest.js.map +1 -0
- package/dist/models/DescribeFirewallDropTrendResponse.d.ts +19 -0
- package/dist/models/DescribeFirewallDropTrendResponse.js +69 -0
- package/dist/models/DescribeFirewallDropTrendResponse.js.map +1 -0
- package/dist/models/DescribeFirewallDropTrendResponseBody.d.ts +96 -0
- package/dist/models/DescribeFirewallDropTrendResponseBody.js +94 -0
- package/dist/models/DescribeFirewallDropTrendResponseBody.js.map +1 -0
- package/dist/models/DescribeFirewallTrafficTrendRequest.d.ts +40 -0
- package/dist/models/DescribeFirewallTrafficTrendRequest.js +62 -0
- package/dist/models/DescribeFirewallTrafficTrendRequest.js.map +1 -0
- package/dist/models/DescribeFirewallTrafficTrendResponse.d.ts +19 -0
- package/dist/models/DescribeFirewallTrafficTrendResponse.js +69 -0
- package/dist/models/DescribeFirewallTrafficTrendResponse.js.map +1 -0
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.d.ts +137 -0
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.js +122 -0
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.js.map +1 -0
- package/dist/models/DescribeInternetOpenIpRequest.d.ts +11 -16
- package/dist/models/DescribeInternetOpenIpRequest.js.map +1 -1
- package/dist/models/DescribeInternetOpenIpResponseBody.d.ts +28 -37
- package/dist/models/DescribeInternetOpenIpResponseBody.js.map +1 -1
- package/dist/models/DescribeOutgoingDomainDetailRequest.d.ts +14 -14
- package/dist/models/DescribeOutgoingDomainDetailResponseBody.d.ts +21 -17
- package/dist/models/DescribeOutgoingDomainDetailResponseBody.js.map +1 -1
- package/dist/models/DescribePageDocumentsResponseBody.d.ts +1 -1
- package/dist/models/DescribePostpayBillRequest.d.ts +4 -4
- package/dist/models/DescribePostpayBillResponseBody.d.ts +4 -4
- package/dist/models/DescribePrepayBillTotalRequest.d.ts +22 -0
- package/dist/models/DescribePrepayBillTotalRequest.js.map +1 -1
- package/dist/models/DescribePrepayBillTotalResponseBody.d.ts +52 -0
- package/dist/models/DescribePrepayBillTotalResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionResourceTypeAutoEnableResponseBody.d.ts +1 -1
- package/dist/models/DescribeResourceTypeAutoEnableResponseBody.d.ts +1 -1
- package/dist/models/DescribeSdlLastPayloadRequest.d.ts +64 -0
- package/dist/models/DescribeSdlLastPayloadRequest.js +68 -0
- package/dist/models/DescribeSdlLastPayloadRequest.js.map +1 -0
- package/dist/models/DescribeSdlLastPayloadResponse.d.ts +19 -0
- package/dist/models/DescribeSdlLastPayloadResponse.js +69 -0
- package/dist/models/DescribeSdlLastPayloadResponse.js.map +1 -0
- package/dist/models/DescribeSdlLastPayloadResponseBody.d.ts +53 -0
- package/dist/models/DescribeSdlLastPayloadResponseBody.js +66 -0
- package/dist/models/DescribeSdlLastPayloadResponseBody.js.map +1 -0
- package/dist/models/DescribeTrafficLogRequest.d.ts +2 -2
- package/dist/models/DescribeTrafficLogResponseBody.d.ts +8 -8
- package/dist/models/DescribeUnprotectedPortTrendRequest.d.ts +2 -4
- package/dist/models/DescribeUnprotectedPortTrendRequest.js.map +1 -1
- package/dist/models/DescribeUnprotectedPortTrendResponseBody.d.ts +1 -1
- package/dist/models/DescribeVpcFirewallAssetListRequest.d.ts +4 -4
- package/dist/models/DescribeVpcFirewallAssetListResponseBody.d.ts +3 -3
- package/dist/models/ModifyAddressBookRequest.d.ts +302 -17
- package/dist/models/ModifyAddressBookRequest.js +146 -1
- package/dist/models/ModifyAddressBookRequest.js.map +1 -1
- package/dist/models/ModifyAddressBookShrinkRequest.d.ts +192 -0
- package/dist/models/ModifyAddressBookShrinkRequest.js +135 -0
- package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -0
- package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.d.ts +6 -9
- package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.js.map +1 -1
- package/dist/models/ModifyNatFirewallControlPolicyPositionResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +95 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +280 -64
- package/src/models/AddAddressBookRequest.ts +400 -10
- package/src/models/AddAddressBookResponseBody.ts +1 -1
- package/src/models/AddAddressBookShrinkRequest.ts +258 -0
- package/src/models/CreateSecurityProxyRequest.ts +1 -1
- package/src/models/CreateVpcFirewallCenConfigureRequest.ts +22 -23
- package/src/models/CreateVpcFirewallCenConfigureResponseBody.ts +1 -1
- package/src/models/DescribeAclRuleCountRequest.ts +1 -1
- package/src/models/DescribeAclRuleCountResponseBody.ts +2 -2
- package/src/models/DescribeAclWhitelistRequest.ts +1 -2
- package/src/models/DescribeAclWhitelistResponseBody.ts +11 -19
- package/src/models/DescribeAclprotectTrendRequest.ts +4 -4
- package/src/models/DescribeAclprotectTrendResponseBody.ts +7 -7
- package/src/models/DescribeAddressBookRequest.ts +21 -9
- package/src/models/DescribeAddressBookResponseBody.ts +413 -19
- package/src/models/DescribeAddressBookShrinkRequest.ts +109 -0
- package/src/models/DescribeAssetStatisticResponseBody.ts +7 -7
- package/src/models/DescribeFirewallDropTrendRequest.ts +57 -0
- package/src/models/DescribeFirewallDropTrendResponse.ts +40 -0
- package/src/models/DescribeFirewallDropTrendResponseBody.ts +136 -0
- package/src/models/DescribeFirewallTrafficTrendRequest.ts +57 -0
- package/src/models/DescribeFirewallTrafficTrendResponse.ts +40 -0
- package/src/models/DescribeFirewallTrafficTrendResponseBody.ts +196 -0
- package/src/models/DescribeInternetOpenIpRequest.ts +11 -16
- package/src/models/DescribeInternetOpenIpResponseBody.ts +28 -37
- package/src/models/DescribeOutgoingDomainDetailRequest.ts +14 -14
- package/src/models/DescribeOutgoingDomainDetailResponseBody.ts +21 -17
- package/src/models/DescribePageDocumentsResponseBody.ts +1 -1
- package/src/models/DescribePostpayBillRequest.ts +4 -4
- package/src/models/DescribePostpayBillResponseBody.ts +4 -4
- package/src/models/DescribePrepayBillTotalRequest.ts +22 -0
- package/src/models/DescribePrepayBillTotalResponseBody.ts +52 -0
- package/src/models/DescribeRegionResourceTypeAutoEnableResponseBody.ts +1 -1
- package/src/models/DescribeResourceTypeAutoEnableResponseBody.ts +1 -1
- package/src/models/DescribeSdlLastPayloadRequest.ts +87 -0
- package/src/models/DescribeSdlLastPayloadResponse.ts +40 -0
- package/src/models/DescribeSdlLastPayloadResponseBody.ts +74 -0
- package/src/models/DescribeTrafficLogRequest.ts +2 -2
- package/src/models/DescribeTrafficLogResponseBody.ts +8 -8
- package/src/models/DescribeUnprotectedPortTrendRequest.ts +2 -4
- package/src/models/DescribeUnprotectedPortTrendResponseBody.ts +1 -1
- package/src/models/DescribeVpcFirewallAssetListRequest.ts +4 -4
- package/src/models/DescribeVpcFirewallAssetListResponseBody.ts +3 -3
- package/src/models/ModifyAddressBookRequest.ts +411 -17
- package/src/models/ModifyAddressBookShrinkRequest.ts +264 -0
- package/src/models/ModifyNatFirewallControlPolicyPositionRequest.ts +6 -9
- package/src/models/ModifyNatFirewallControlPolicyPositionResponseBody.ts +1 -1
- package/src/models/model.ts +31 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AddAddressBookShrinkRequestAckLabels extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The key of the ACK cluster pod label.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* app
|
|
12
|
+
*/
|
|
13
|
+
key?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The value of the ACK cluster pod label.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* storage-operator
|
|
20
|
+
*/
|
|
21
|
+
value?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
key: 'Key',
|
|
25
|
+
value: 'Value',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
key: 'string',
|
|
32
|
+
value: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class AddAddressBookShrinkRequestTagList extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The key of the ECS tag.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* TXY
|
|
52
|
+
*/
|
|
53
|
+
tagKey?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The value of the ECS tag.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 1
|
|
60
|
+
*/
|
|
61
|
+
tagValue?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
tagKey: 'TagKey',
|
|
65
|
+
tagValue: 'TagValue',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
static types(): { [key: string]: any } {
|
|
70
|
+
return {
|
|
71
|
+
tagKey: 'string',
|
|
72
|
+
tagValue: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
validate() {
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class AddAddressBookShrinkRequest extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The ACK cluster connector ID. You can obtain the value from the following operation:
|
|
89
|
+
* - [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~): Lists ACK cluster connectors.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ac-7c1bad6c3cc84c33baab1
|
|
93
|
+
*/
|
|
94
|
+
ackClusterConnectorId?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The list of ACK cluster pod labels.
|
|
98
|
+
*
|
|
99
|
+
* > A maximum of 10 labels are supported.
|
|
100
|
+
*/
|
|
101
|
+
ackLabels?: AddAddressBookShrinkRequestAckLabels[];
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The list of ACK cluster pod namespaces.
|
|
105
|
+
* > A maximum of 10 namespaces are supported.
|
|
106
|
+
*/
|
|
107
|
+
ackNamespaces?: string[];
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* The addresses in the address book. Separate multiple addresses with commas (,). Use a space to separate an address from its description within a single address element.
|
|
111
|
+
*
|
|
112
|
+
* > This parameter is required when GroupType is set to `ip`, `port`, or `domain`.
|
|
113
|
+
*
|
|
114
|
+
* - When GroupType is set to `ip`, enter IP addresses in the address list. Example: 192.0.XX.XX/32 Development CIDR block,10.0.0.X/24,192.0.XX.XX/24 Test CIDR block.
|
|
115
|
+
*
|
|
116
|
+
* - When GroupType is set to `port`, enter ports or port ranges in the address list. Example: 80 HTTP port,100/200,3306 Database port.
|
|
117
|
+
*
|
|
118
|
+
* - When GroupType is set to `domain`, enter domain names in the address list. Example: example.com Test domain name,aliyundoc.com,www.aliyun.com Alibaba Cloud official website.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* 192.0.XX.XX/32 ,192.0.XX.XX/24
|
|
122
|
+
*/
|
|
123
|
+
addressList?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The list of member accounts for the asset address book.
|
|
127
|
+
*/
|
|
128
|
+
assetMemberUidsShrink?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* The list of regions and resource types for the asset address book.
|
|
132
|
+
*/
|
|
133
|
+
assetRegionResourceTypesShrink?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* Indicates whether to automatically add the public IP addresses of Elastic Compute Service (ECS) instances that match the specified tags to the address book.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* 1
|
|
140
|
+
*/
|
|
141
|
+
autoAddTagEcs?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* The description of the address book.
|
|
145
|
+
*
|
|
146
|
+
* This parameter is required.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* sz-001
|
|
150
|
+
*/
|
|
151
|
+
description?: string;
|
|
152
|
+
/**
|
|
153
|
+
* @remarks
|
|
154
|
+
* The name of the address book.
|
|
155
|
+
*
|
|
156
|
+
* This parameter is required.
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* sz-001
|
|
160
|
+
*/
|
|
161
|
+
groupName?: string;
|
|
162
|
+
/**
|
|
163
|
+
* @remarks
|
|
164
|
+
* The type of the address book.
|
|
165
|
+
*
|
|
166
|
+
* This parameter is required.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* ip
|
|
170
|
+
*/
|
|
171
|
+
groupType?: string;
|
|
172
|
+
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The language type of the address book description.
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* zh
|
|
178
|
+
*/
|
|
179
|
+
lang?: string;
|
|
180
|
+
/**
|
|
181
|
+
* @remarks
|
|
182
|
+
* The source IP address of the request.
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* 192.0.XX.XX
|
|
186
|
+
*
|
|
187
|
+
* @deprecated
|
|
188
|
+
*/
|
|
189
|
+
sourceIp?: string;
|
|
190
|
+
/**
|
|
191
|
+
* @remarks
|
|
192
|
+
* The ECS tag list.
|
|
193
|
+
*/
|
|
194
|
+
tagList?: AddAddressBookShrinkRequestTagList[];
|
|
195
|
+
/**
|
|
196
|
+
* @remarks
|
|
197
|
+
* The logical relationship among multiple ECS tags to match.
|
|
198
|
+
*
|
|
199
|
+
* @example
|
|
200
|
+
* and
|
|
201
|
+
*/
|
|
202
|
+
tagRelation?: string;
|
|
203
|
+
static names(): { [key: string]: string } {
|
|
204
|
+
return {
|
|
205
|
+
ackClusterConnectorId: 'AckClusterConnectorId',
|
|
206
|
+
ackLabels: 'AckLabels',
|
|
207
|
+
ackNamespaces: 'AckNamespaces',
|
|
208
|
+
addressList: 'AddressList',
|
|
209
|
+
assetMemberUidsShrink: 'AssetMemberUids',
|
|
210
|
+
assetRegionResourceTypesShrink: 'AssetRegionResourceTypes',
|
|
211
|
+
autoAddTagEcs: 'AutoAddTagEcs',
|
|
212
|
+
description: 'Description',
|
|
213
|
+
groupName: 'GroupName',
|
|
214
|
+
groupType: 'GroupType',
|
|
215
|
+
lang: 'Lang',
|
|
216
|
+
sourceIp: 'SourceIp',
|
|
217
|
+
tagList: 'TagList',
|
|
218
|
+
tagRelation: 'TagRelation',
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
static types(): { [key: string]: any } {
|
|
223
|
+
return {
|
|
224
|
+
ackClusterConnectorId: 'string',
|
|
225
|
+
ackLabels: { 'type': 'array', 'itemType': AddAddressBookShrinkRequestAckLabels },
|
|
226
|
+
ackNamespaces: { 'type': 'array', 'itemType': 'string' },
|
|
227
|
+
addressList: 'string',
|
|
228
|
+
assetMemberUidsShrink: 'string',
|
|
229
|
+
assetRegionResourceTypesShrink: 'string',
|
|
230
|
+
autoAddTagEcs: 'string',
|
|
231
|
+
description: 'string',
|
|
232
|
+
groupName: 'string',
|
|
233
|
+
groupType: 'string',
|
|
234
|
+
lang: 'string',
|
|
235
|
+
sourceIp: 'string',
|
|
236
|
+
tagList: { 'type': 'array', 'itemType': AddAddressBookShrinkRequestTagList },
|
|
237
|
+
tagRelation: 'string',
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
validate() {
|
|
242
|
+
if(Array.isArray(this.ackLabels)) {
|
|
243
|
+
$dara.Model.validateArray(this.ackLabels);
|
|
244
|
+
}
|
|
245
|
+
if(Array.isArray(this.ackNamespaces)) {
|
|
246
|
+
$dara.Model.validateArray(this.ackNamespaces);
|
|
247
|
+
}
|
|
248
|
+
if(Array.isArray(this.tagList)) {
|
|
249
|
+
$dara.Model.validateArray(this.tagList);
|
|
250
|
+
}
|
|
251
|
+
super.validate();
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
constructor(map?: { [key: string]: any }) {
|
|
255
|
+
super(map);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The instance ID of the CEN instance.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,10 +15,10 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
15
15
|
cenId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* Settings for the virtual private cloud (VPC) firewall switch status. Valid values:
|
|
19
19
|
*
|
|
20
|
-
* - **open** (default):
|
|
21
|
-
* - **close**:
|
|
20
|
+
* - **open** (default): The VPC firewall is automatically enabled after you create a VPC firewall.
|
|
21
|
+
* - **close**: The VPC firewall is not automatically enabled after you create a VPC firewall. You can invoke the [ModifyVpcFirewallCenSwitchStatus](https://help.aliyun.com/document_detail/345780.html) operation to enable the VPC firewall.
|
|
22
22
|
*
|
|
23
23
|
* This parameter is required.
|
|
24
24
|
*
|
|
@@ -28,20 +28,20 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
28
28
|
firewallSwitch?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The
|
|
31
|
+
* The CIDR block of the vSwitch used by the firewall. Specify a CIDR block with a subnet mask of no more than 29 bits that does not conflict with your network planning. This CIDR block is allocated to the vSwitch during the procedure for automatic creation of the firewall security VPC (Cloud_Firewall_VSWITCH) for traffic redirection. The vSwitch CIDR block must be a subnet of the firewall VPC CIDR block.
|
|
32
32
|
*
|
|
33
|
-
* If this parameter
|
|
33
|
+
* If you leave this parameter empty, the default CIDR block 10.219.219.216/29 is automatically assigned.
|
|
34
34
|
*
|
|
35
|
-
* > This parameter
|
|
35
|
+
* > This parameter takes effect only when you create a VPC firewall for the first time in the local region of the CEN instance.
|
|
36
36
|
*/
|
|
37
37
|
firewallVSwitchCidrBlock?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The CIDR block of the VPC used by the firewall. Specify a CIDR block with a subnet mask of no more than 28 bits. This CIDR block is allocated to the VPC that is created during the procedure to create a VPC firewall (Cloud_Firewall_VPC) for automatic creation of the firewall security VPC for traffic redirection.
|
|
41
41
|
*
|
|
42
|
-
* If this parameter
|
|
42
|
+
* If you leave this parameter empty, the default CIDR block 10.0.0.0/8 is automatically assigned.
|
|
43
43
|
*
|
|
44
|
-
* > This parameter
|
|
44
|
+
* > This parameter takes effect only when a VPC firewall is created for the first time in the local region of the CEN instance.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* 10.0.0.0/8
|
|
@@ -49,13 +49,13 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
49
49
|
firewallVpcCidrBlock?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The
|
|
52
|
+
* The ID of the secondary zone of the firewall. The firewall performs an automatic switchover to the secondary zone to continue running only when the primary zone becomes unavailable.
|
|
53
53
|
*
|
|
54
|
-
* If this parameter
|
|
54
|
+
* If you leave this parameter empty, a default active secondary zone is automatically allocated.
|
|
55
55
|
*
|
|
56
56
|
*
|
|
57
57
|
*
|
|
58
|
-
* > This parameter
|
|
58
|
+
* > This parameter takes effect only when you create a VPC firewall for the first time in the local region of the CEN instance.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* cn-hangzhou-b
|
|
@@ -63,14 +63,13 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
63
63
|
firewallVpcStandbyZoneId?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The primary
|
|
67
|
-
* If your business is latency-sensitive, you can customize the firewall availability zone to be the same as your business VPC vSwitch availability zone to reduce latency.
|
|
66
|
+
* The ID of the primary zone of the firewall. If your business is latency-sensitive, set this parameter to the same zone as the vSwitch of the business VPC to reduce latency.
|
|
68
67
|
*
|
|
69
|
-
* If this parameter
|
|
68
|
+
* If you leave this parameter empty, a default active zone is automatically allocated.
|
|
70
69
|
*
|
|
71
70
|
*
|
|
72
71
|
*
|
|
73
|
-
* > This parameter
|
|
72
|
+
* > This parameter takes effect only when you create a VPC firewall for the first time in the local region of the CEN instance.
|
|
74
73
|
*
|
|
75
74
|
* @example
|
|
76
75
|
* cn-hangzhou-a
|
|
@@ -78,7 +77,7 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
78
77
|
firewallVpcZoneId?: string;
|
|
79
78
|
/**
|
|
80
79
|
* @remarks
|
|
81
|
-
* The language
|
|
80
|
+
* The language of the request and response. Valid values:
|
|
82
81
|
*
|
|
83
82
|
* - **zh** (default): Chinese.
|
|
84
83
|
*
|
|
@@ -90,7 +89,7 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
90
89
|
lang?: string;
|
|
91
90
|
/**
|
|
92
91
|
* @remarks
|
|
93
|
-
* The member account
|
|
92
|
+
* The UID of the member account of the current Alibaba Cloud account.
|
|
94
93
|
*
|
|
95
94
|
* @example
|
|
96
95
|
* 258039427902****
|
|
@@ -98,7 +97,7 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
98
97
|
memberUid?: string;
|
|
99
98
|
/**
|
|
100
99
|
* @remarks
|
|
101
|
-
* The VPC instance
|
|
100
|
+
* The instance ID of the VPC-connected instance for which you want to create a virtual private cloud (VPC) firewall.
|
|
102
101
|
*
|
|
103
102
|
* This parameter is required.
|
|
104
103
|
*
|
|
@@ -108,7 +107,7 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
108
107
|
networkInstanceId?: string;
|
|
109
108
|
/**
|
|
110
109
|
* @remarks
|
|
111
|
-
* The vSwitch
|
|
110
|
+
* The ID of the vSwitch to which the Cloud Firewall interface belongs.
|
|
112
111
|
*
|
|
113
112
|
* @example
|
|
114
113
|
* vsw-qzeaol304m***
|
|
@@ -116,7 +115,7 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
116
115
|
vSwitchId?: string;
|
|
117
116
|
/**
|
|
118
117
|
* @remarks
|
|
119
|
-
* The instance name of the VPC
|
|
118
|
+
* The instance name of the virtual private cloud (VPC) firewall.
|
|
120
119
|
*
|
|
121
120
|
* This parameter is required.
|
|
122
121
|
*
|
|
@@ -126,7 +125,7 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
126
125
|
vpcFirewallName?: string;
|
|
127
126
|
/**
|
|
128
127
|
* @remarks
|
|
129
|
-
* The region ID of the VPC for which
|
|
128
|
+
* The region ID of the VPC for which you want to create a virtual private cloud (VPC) firewall.
|
|
130
129
|
*
|
|
131
130
|
* > For more information about the regions supported by Cloud Firewall, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
|
|
132
131
|
*
|
|
@@ -13,7 +13,7 @@ export class CreateVpcFirewallCenConfigureResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The instance ID of the VPC
|
|
16
|
+
* The instance ID of the virtual private cloud (VPC) firewall.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* vfw-m5e7dbc4y****
|
|
@@ -21,7 +21,7 @@ export class DescribeAclRuleCountResponseBody extends $dara.Model {
|
|
|
21
21
|
internetOutAclCount?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The number of inbound access control policies for the NAT firewall.>Notice: This field is deprecated
|
|
24
|
+
* The number of inbound access control policies for the NAT firewall.>Notice: This field is deprecated.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 0
|
|
@@ -55,7 +55,7 @@ export class DescribeAclRuleCountResponseBody extends $dara.Model {
|
|
|
55
55
|
totalAclCount?: number;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The number of access control policies for
|
|
58
|
+
* The number of access control policies for VPC firewalls.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 3
|
|
@@ -5,10 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeAclWhitelistRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The language of the
|
|
8
|
+
* The language of the messages to receive. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - **zh** (default): Chinese
|
|
11
|
-
*
|
|
12
11
|
* - **en**: English
|
|
13
12
|
*
|
|
14
13
|
* @example
|
|
@@ -6,10 +6,8 @@ export class DescribeAclWhitelistResponseBody extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* Indicates whether the whitelist is enabled. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* - **
|
|
11
|
-
*
|
|
12
|
-
* - **false**: disabled
|
|
9
|
+
* - **true**: Enabled.
|
|
10
|
+
* - **false**: Not enabled.
|
|
13
11
|
*
|
|
14
12
|
* @example
|
|
15
13
|
* true
|
|
@@ -17,11 +15,9 @@ export class DescribeAclWhitelistResponseBody extends $dara.Model {
|
|
|
17
15
|
domainGroupUseDns?: boolean;
|
|
18
16
|
/**
|
|
19
17
|
* @remarks
|
|
20
|
-
* Indicates whether DNS is supported
|
|
21
|
-
*
|
|
22
|
-
* - **
|
|
23
|
-
*
|
|
24
|
-
* - **false**: not supported
|
|
18
|
+
* Indicates whether domain name DNS is supported in NAT scenarios. Valid values:
|
|
19
|
+
* - **true**: Supported.
|
|
20
|
+
* - **false**: Not supported.
|
|
25
21
|
*
|
|
26
22
|
* @example
|
|
27
23
|
* false
|
|
@@ -29,7 +25,7 @@ export class DescribeAclWhitelistResponseBody extends $dara.Model {
|
|
|
29
25
|
natDomainGroupUseDns?: boolean;
|
|
30
26
|
/**
|
|
31
27
|
* @remarks
|
|
32
|
-
* The ID
|
|
28
|
+
* The request ID.
|
|
33
29
|
*
|
|
34
30
|
* @example
|
|
35
31
|
* 7D45133B-DBC0-506B-9DF9-AB0735D3****
|
|
@@ -38,10 +34,8 @@ export class DescribeAclWhitelistResponseBody extends $dara.Model {
|
|
|
38
34
|
/**
|
|
39
35
|
* @remarks
|
|
40
36
|
* Indicates whether the message type is supported. Valid values:
|
|
41
|
-
*
|
|
42
|
-
* - **
|
|
43
|
-
*
|
|
44
|
-
* - **false**: not supported
|
|
37
|
+
* - **true**: Supported.
|
|
38
|
+
* - **false**: Not supported.
|
|
45
39
|
*
|
|
46
40
|
* @example
|
|
47
41
|
* true
|
|
@@ -49,11 +43,9 @@ export class DescribeAclWhitelistResponseBody extends $dara.Model {
|
|
|
49
43
|
supportMessageType?: boolean;
|
|
50
44
|
/**
|
|
51
45
|
* @remarks
|
|
52
|
-
* Indicates whether DNS is supported
|
|
53
|
-
*
|
|
54
|
-
* - **
|
|
55
|
-
*
|
|
56
|
-
* - **false**: not supported
|
|
46
|
+
* Indicates whether domain name DNS is supported in VPC scenarios. Valid values:
|
|
47
|
+
* - **true**: Supported.
|
|
48
|
+
* - **false**: Not supported.
|
|
57
49
|
*
|
|
58
50
|
* @example
|
|
59
51
|
* false
|
|
@@ -14,9 +14,9 @@ export class DescribeACLProtectTrendRequest extends $dara.Model {
|
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
16
|
* The type of the firewall border. Valid values:
|
|
17
|
-
* - **internet** (default): Internet Border firewall, which
|
|
18
|
-
* - **vpc**: virtual private cloud (VPC) firewalls, which
|
|
19
|
-
* - **nat**: NAT firewalls, which
|
|
17
|
+
* - **internet** (default): Internet Border firewall, which monitors traffic between the Internet and your assets.
|
|
18
|
+
* - **vpc**: virtual private cloud (VPC) firewalls, which monitor traffic between VPCs.
|
|
19
|
+
* - **nat**: NAT firewalls, which monitor traffic from internal-facing assets to the Internet.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* vpc
|
|
@@ -24,7 +24,7 @@ export class DescribeACLProtectTrendRequest extends $dara.Model {
|
|
|
24
24
|
firewallType?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The time aggregation granularity for trend data
|
|
27
|
+
* The time aggregation granularity for trend data, in seconds. Valid values:
|
|
28
28
|
* - **60**: 1-minute granularity (uses the minute-level detail table).
|
|
29
29
|
* - **1800**: 30-minute granularity.
|
|
30
30
|
* - **3600**: 1-hour granularity.
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeACLProtectTrendResponseBodyTrendList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The total number of sessions that matched an ACL policy and triggered the monitor (alert) action
|
|
8
|
+
* The total number of sessions that matched an ACL policy and triggered the monitor (alert) action during the time interval.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 20
|
|
@@ -13,7 +13,7 @@ export class DescribeACLProtectTrendResponseBodyTrendList extends $dara.Model {
|
|
|
13
13
|
alertCnt?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The total number of sessions that matched an ACL policy and were allowed
|
|
16
|
+
* The total number of sessions that matched an ACL policy and were allowed during the time interval.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 10
|
|
@@ -29,7 +29,7 @@ export class DescribeACLProtectTrendResponseBodyTrendList extends $dara.Model {
|
|
|
29
29
|
protectCnt?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The timestamp of 00:00
|
|
32
|
+
* The timestamp of 00:00 of each day, in seconds. This indicates the date.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 1697299200
|
|
@@ -83,7 +83,7 @@ export class DescribeACLProtectTrendResponseBody extends $dara.Model {
|
|
|
83
83
|
interVPCProtectCnt?: number;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* The
|
|
86
|
+
* The step size of the returned data, in seconds. This indicates the interval between consecutive data points.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* 86400
|
|
@@ -107,7 +107,7 @@ export class DescribeACLProtectTrendResponseBody extends $dara.Model {
|
|
|
107
107
|
requestId?: string;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* The cumulative
|
|
110
|
+
* The cumulative sum of AlertCnt across all time points within the query time range. This represents the total number of sessions that matched an ACL policy and triggered the monitor (alert) action during the entire time period.
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* 100
|
|
@@ -115,7 +115,7 @@ export class DescribeACLProtectTrendResponseBody extends $dara.Model {
|
|
|
115
115
|
totalAlertCnt?: number;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The cumulative
|
|
118
|
+
* The cumulative sum of PassCnt across all time points within the query time range. This represents the total number of sessions that matched an ACL policy and were allowed during the entire time period.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* 100
|
|
@@ -131,7 +131,7 @@ export class DescribeACLProtectTrendResponseBody extends $dara.Model {
|
|
|
131
131
|
totalProtectCnt?: number;
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The list of Internet access control
|
|
134
|
+
* The list of Internet access control interception trend data.
|
|
135
135
|
*/
|
|
136
136
|
trendList?: DescribeACLProtectTrendResponseBodyTrendList[];
|
|
137
137
|
static names(): { [key: string]: string } {
|