@alicloud/cloudfw20171207 8.4.3 → 8.4.4
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 +34 -30
- package/dist/client.js +40 -30
- package/dist/client.js.map +1 -1
- package/dist/models/AddInstanceMembersRequest.d.ts +1 -1
- package/dist/models/CreateSecurityProxyRequest.d.ts +22 -19
- package/dist/models/CreateSecurityProxyRequest.js.map +1 -1
- package/dist/models/CreateSecurityProxyResponseBody.d.ts +1 -1
- package/dist/models/CreateTrFirewallV2request.d.ts +14 -6
- package/dist/models/CreateTrFirewallV2request.js.map +1 -1
- package/dist/models/DeleteControlPolicyRequest.d.ts +19 -3
- package/dist/models/DeleteControlPolicyRequest.js +4 -0
- package/dist/models/DeleteControlPolicyRequest.js.map +1 -1
- package/dist/models/DeleteControlPolicyResponseBody.d.ts +5 -0
- package/dist/models/DeleteControlPolicyResponseBody.js +2 -0
- package/dist/models/DeleteControlPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeFirewallDropTrendRequest.d.ts +3 -3
- package/dist/models/DescribeFirewallDropTrendResponseBody.d.ts +1 -1
- package/dist/models/DescribeTrFirewallsV2detailRequest.d.ts +1 -1
- package/dist/models/DescribeTrFirewallsV2detailResponseBody.d.ts +21 -21
- package/dist/models/DescribeVpcFirewallCenDetailRequest.d.ts +2 -2
- package/dist/models/DescribeVpcFirewallCenDetailResponseBody.d.ts +19 -19
- package/dist/models/ModifyAddressBookRequest.d.ts +25 -11
- package/dist/models/ModifyAddressBookRequest.js.map +1 -1
- package/dist/models/ModifyAddressBookResponseBody.d.ts +1 -1
- package/dist/models/ModifyAddressBookShrinkRequest.d.ts +25 -11
- package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -1
- package/dist/models/ModifyControlPolicyRequest.d.ts +15 -15
- package/dist/models/ModifyControlPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyTrFirewallV2configurationRequest.d.ts +5 -4
- package/dist/models/ModifyTrFirewallV2configurationRequest.js.map +1 -1
- package/dist/models/ModifyVpcFirewallSwitchStatusRequest.d.ts +2 -2
- package/dist/models/PutEnableFwSwitchRequest.d.ts +5 -5
- package/dist/models/PutEnableFwSwitchResponseBody.d.ts +5 -5
- package/package.json +1 -1
- package/src/client.ts +42 -30
- package/src/models/AddInstanceMembersRequest.ts +1 -1
- package/src/models/CreateSecurityProxyRequest.ts +22 -19
- package/src/models/CreateSecurityProxyResponseBody.ts +1 -1
- package/src/models/CreateTrFirewallV2request.ts +14 -6
- package/src/models/DeleteControlPolicyRequest.ts +23 -3
- package/src/models/DeleteControlPolicyResponseBody.ts +7 -0
- package/src/models/DescribeFirewallDropTrendRequest.ts +3 -3
- package/src/models/DescribeFirewallDropTrendResponseBody.ts +1 -1
- package/src/models/DescribeTrFirewallsV2detailRequest.ts +1 -1
- package/src/models/DescribeTrFirewallsV2detailResponseBody.ts +21 -21
- package/src/models/DescribeVpcFirewallCenDetailRequest.ts +2 -2
- package/src/models/DescribeVpcFirewallCenDetailResponseBody.ts +19 -19
- package/src/models/ModifyAddressBookRequest.ts +25 -11
- package/src/models/ModifyAddressBookResponseBody.ts +1 -1
- package/src/models/ModifyAddressBookShrinkRequest.ts +25 -11
- package/src/models/ModifyControlPolicyRequest.ts +15 -15
- package/src/models/ModifyControlPolicyResponseBody.ts +1 -1
- package/src/models/ModifyTrFirewallV2configurationRequest.ts +5 -4
- package/src/models/ModifyVpcFirewallSwitchStatusRequest.ts +2 -2
- package/src/models/PutEnableFwSwitchRequest.ts +5 -5
- package/src/models/PutEnableFwSwitchResponseBody.ts +5 -5
|
@@ -69,7 +69,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
69
69
|
firewallDescription?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The
|
|
72
|
+
* The ID of the firewall ENI.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* eni-uf621u00nafypeex****
|
|
@@ -101,7 +101,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
101
101
|
firewallId?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The name of the virtual private cloud (VPC) firewalls
|
|
104
|
+
* The instance name of the virtual private cloud (VPC) firewalls.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* cloudfirewall-manual
|
|
@@ -109,7 +109,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
109
109
|
firewallName?: string;
|
|
110
110
|
/**
|
|
111
111
|
* @remarks
|
|
112
|
-
* The deployment mode of the
|
|
112
|
+
* The deployment mode of the VPC firewall for the transit router. Valid values: **PrimaryStandby** (active/standby mode) and **MultiPrimary** (active-active mode).
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
115
|
* PrimaryStandby
|
|
@@ -117,7 +117,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
117
117
|
firewallServiceMode?: string;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The list of zone IDs used by the
|
|
120
|
+
* The list of zone IDs used by the VPC firewall for the transit router.
|
|
121
121
|
*/
|
|
122
122
|
firewallServiceZones?: string[];
|
|
123
123
|
/**
|
|
@@ -136,7 +136,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
136
136
|
firewallStatus?: string;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
* The subnet CIDR block that
|
|
139
|
+
* The subnet CIDR block that stores the firewall ENI in the firewall VPC in automatic mode.
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
142
142
|
* 10.0.1.0/24
|
|
@@ -146,22 +146,22 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
146
146
|
* @remarks
|
|
147
147
|
* The status of the virtual private cloud (VPC) firewalls. Valid values:
|
|
148
148
|
*
|
|
149
|
-
* - **opened**: enabled
|
|
149
|
+
* - **opened**: enabled.
|
|
150
150
|
*
|
|
151
|
-
* - **closed**: disabled
|
|
151
|
+
* - **closed**: disabled.
|
|
152
152
|
*
|
|
153
|
-
* - **notconfigured**:
|
|
153
|
+
* - **notconfigured**: the virtual private cloud (VPC) firewalls are not configured.
|
|
154
154
|
*
|
|
155
|
-
* - **configured**:
|
|
155
|
+
* - **configured**: the virtual private cloud (VPC) firewalls are configured but not enabled.
|
|
156
156
|
*
|
|
157
|
-
* - **creating**:
|
|
157
|
+
* - **creating**: the virtual private cloud (VPC) firewalls are being created.
|
|
158
158
|
*
|
|
159
|
-
* - **opening**:
|
|
159
|
+
* - **opening**: the virtual private cloud (VPC) firewalls are being enabled.
|
|
160
160
|
*
|
|
161
|
-
* - **deleting**:
|
|
161
|
+
* - **deleting**: the virtual private cloud (VPC) firewalls are being deleted.
|
|
162
162
|
*
|
|
163
163
|
*
|
|
164
|
-
* > If this parameter is not
|
|
164
|
+
* > If this parameter is not set, virtual private cloud (VPC) firewalls in all states are queried.
|
|
165
165
|
*
|
|
166
166
|
* @example
|
|
167
167
|
* opened
|
|
@@ -195,9 +195,9 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
195
195
|
* @remarks
|
|
196
196
|
* The routing mode. Valid values:
|
|
197
197
|
*
|
|
198
|
-
* - **managed**: automatic mode
|
|
198
|
+
* - **managed**: automatic mode.
|
|
199
199
|
*
|
|
200
|
-
* - **manual**: manual mode
|
|
200
|
+
* - **manual**: manual mode.
|
|
201
201
|
*
|
|
202
202
|
* @example
|
|
203
203
|
* managed
|
|
@@ -205,7 +205,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
205
205
|
routeMode?: string;
|
|
206
206
|
/**
|
|
207
207
|
* @remarks
|
|
208
|
-
* The attachment ID used to connect
|
|
208
|
+
* The attachment ID used to connect the firewall VPC to the transit router in automatic mode.
|
|
209
209
|
*
|
|
210
210
|
* @example
|
|
211
211
|
* tr-attach-r1llaxxeha71jsm36v
|
|
@@ -213,7 +213,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
213
213
|
trAttachmentId?: string;
|
|
214
214
|
/**
|
|
215
215
|
* @remarks
|
|
216
|
-
* The primary subnet CIDR block used to connect
|
|
216
|
+
* The primary subnet CIDR block used to connect the firewall VPC to the transit router in automatic mode.
|
|
217
217
|
*
|
|
218
218
|
* @example
|
|
219
219
|
* 10.0.2.0/24
|
|
@@ -223,7 +223,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
223
223
|
trAttachmentMasterCidr?: string;
|
|
224
224
|
/**
|
|
225
225
|
* @remarks
|
|
226
|
-
* The primary zone used to connect
|
|
226
|
+
* The primary zone used to connect the firewall VPC to the transit router in automatic mode.
|
|
227
227
|
*
|
|
228
228
|
* @example
|
|
229
229
|
* cn-hangzhou-h
|
|
@@ -233,7 +233,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
233
233
|
trAttachmentMasterZone?: string;
|
|
234
234
|
/**
|
|
235
235
|
* @remarks
|
|
236
|
-
* The secondary subnet CIDR block used to connect
|
|
236
|
+
* The secondary subnet CIDR block used to connect the firewall VPC to the transit router in automatic mode.
|
|
237
237
|
*
|
|
238
238
|
* @example
|
|
239
239
|
* 10.0.3.0/24
|
|
@@ -243,7 +243,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
243
243
|
trAttachmentSlaveCidr?: string;
|
|
244
244
|
/**
|
|
245
245
|
* @remarks
|
|
246
|
-
* The secondary zone used to connect
|
|
246
|
+
* The secondary zone used to connect the firewall VPC to the transit router in automatic mode.
|
|
247
247
|
*
|
|
248
248
|
* @example
|
|
249
249
|
* cn-hangzhou-i
|
|
@@ -258,7 +258,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
258
258
|
trAttachmentZones?: DescribeTrFirewallsV2DetailResponseBodyTrAttachmentZones[];
|
|
259
259
|
/**
|
|
260
260
|
* @remarks
|
|
261
|
-
* The
|
|
261
|
+
* The ID of the transit routing instance.
|
|
262
262
|
*
|
|
263
263
|
* @example
|
|
264
264
|
* tr-wz9y8sgug8b1xb416****
|
|
@@ -17,7 +17,7 @@ export class DescribeVpcFirewallCenDetailRequest extends $dara.Model {
|
|
|
17
17
|
lang?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The VPC
|
|
20
|
+
* The ID of the VPC for which the virtual private cloud (VPC) firewall is created.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* vpc-2zefk9fbn8j7v585g****
|
|
@@ -27,7 +27,7 @@ export class DescribeVpcFirewallCenDetailRequest extends $dara.Model {
|
|
|
27
27
|
* @remarks
|
|
28
28
|
* The instance ID of the virtual private cloud (VPC) firewall.
|
|
29
29
|
*
|
|
30
|
-
* > You can invoke the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the instance ID of the VPC firewall.
|
|
30
|
+
* > You can invoke the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the instance ID of the virtual private cloud (VPC) firewall.
|
|
31
31
|
*
|
|
32
32
|
* This parameter is required.
|
|
33
33
|
*
|
|
@@ -15,7 +15,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $dara.M
|
|
|
15
15
|
allowConfiguration?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The deployment mode of the VPC firewall service. Valid values: **PrimaryStandby** (
|
|
18
|
+
* The deployment mode of the VPC firewall service. Valid values: **PrimaryStandby** (primary/standby mode) and **MultiPrimary** (active-active mode).
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* PrimaryStandby
|
|
@@ -23,7 +23,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $dara.M
|
|
|
23
23
|
firewallServiceMode?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The zone IDs used by the VPC firewall service.
|
|
26
|
+
* The list of zone IDs used by the VPC firewall service.
|
|
27
27
|
*/
|
|
28
28
|
firewallServiceZones?: string[];
|
|
29
29
|
/**
|
|
@@ -131,7 +131,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $dara.M
|
|
|
131
131
|
export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $dara.Model {
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The instance ID of the elastic network interface (ENI)
|
|
134
|
+
* The instance ID of the elastic network interface (ENI) in the VPC.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* eni-8vbhfosfqv2rff42****
|
|
@@ -139,7 +139,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $da
|
|
|
139
139
|
eniId?: string;
|
|
140
140
|
/**
|
|
141
141
|
* @remarks
|
|
142
|
-
* The private IP of the elastic network interface (ENI)
|
|
142
|
+
* The private IP address of the elastic network interface (ENI) in the VPC.
|
|
143
143
|
*
|
|
144
144
|
* @example
|
|
145
145
|
* 192.168.XX.XX
|
|
@@ -147,7 +147,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $da
|
|
|
147
147
|
eniPrivateIpAddress?: string;
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
|
-
* The vSwitch ID of the elastic network interface (ENI)
|
|
150
|
+
* The vSwitch ID of the elastic network interface (ENI) in the VPC.
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* vsw-wz9viido7j436b0n1****
|
|
@@ -155,7 +155,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $da
|
|
|
155
155
|
eniVSwitchId?: string;
|
|
156
156
|
/**
|
|
157
157
|
* @remarks
|
|
158
|
-
* The zone ID
|
|
158
|
+
* The zone ID of the elastic network interface (ENI).
|
|
159
159
|
*
|
|
160
160
|
* @example
|
|
161
161
|
* cn-hangzhou-i
|
|
@@ -287,17 +287,17 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpc extends $dara.Mode
|
|
|
287
287
|
attachmentName?: string;
|
|
288
288
|
/**
|
|
289
289
|
* @remarks
|
|
290
|
-
* The CIDR blocks protected by the virtual private cloud (VPC) firewall.
|
|
290
|
+
* The list of CIDR blocks protected by the virtual private cloud (VPC) firewall.
|
|
291
291
|
*/
|
|
292
292
|
defendCidrList?: string[];
|
|
293
293
|
/**
|
|
294
294
|
* @remarks
|
|
295
|
-
* The network
|
|
295
|
+
* The list of elastic network interfaces (ENIs).
|
|
296
296
|
*/
|
|
297
297
|
eniList?: DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList[];
|
|
298
298
|
/**
|
|
299
299
|
* @remarks
|
|
300
|
-
* The ID of the vSwitch specified when the routing mode is manual.
|
|
300
|
+
* The ID of the vSwitch specified when the routing mode is set to manual.
|
|
301
301
|
*
|
|
302
302
|
* @example
|
|
303
303
|
* vsw-zeq4o875u****
|
|
@@ -305,7 +305,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpc extends $dara.Mode
|
|
|
305
305
|
manualVSwitchId?: string;
|
|
306
306
|
/**
|
|
307
307
|
* @remarks
|
|
308
|
-
* The VPC
|
|
308
|
+
* The ID of the VPC for which the virtual private cloud (VPC) firewall is created.
|
|
309
309
|
*
|
|
310
310
|
* @example
|
|
311
311
|
* vpc-2zefk9fbn8j7v585g****
|
|
@@ -357,7 +357,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpc extends $dara.Mode
|
|
|
357
357
|
routeMode?: string;
|
|
358
358
|
/**
|
|
359
359
|
* @remarks
|
|
360
|
-
* Indicates whether
|
|
360
|
+
* Indicates whether manual routing mode is supported. Valid values:
|
|
361
361
|
*
|
|
362
362
|
* - **1**: Supported.
|
|
363
363
|
* - **0**: Not supported.
|
|
@@ -368,7 +368,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpc extends $dara.Mode
|
|
|
368
368
|
supportManualMode?: string;
|
|
369
369
|
/**
|
|
370
370
|
* @remarks
|
|
371
|
-
* The instance ID of the CEN-TR.
|
|
371
|
+
* The instance ID of the CEN transit router (CEN-TR).
|
|
372
372
|
*
|
|
373
373
|
* @example
|
|
374
374
|
* tr-2zetwxskej633l3u1****
|
|
@@ -376,7 +376,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpc extends $dara.Mode
|
|
|
376
376
|
transitRouterId?: string;
|
|
377
377
|
/**
|
|
378
378
|
* @remarks
|
|
379
|
-
* The
|
|
379
|
+
* The edition of the CEN transit router (CEN-TR). Valid values:
|
|
380
380
|
*
|
|
381
381
|
* - **Basic**: Basic Edition.
|
|
382
382
|
*
|
|
@@ -472,7 +472,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpc extends $dara.Mode
|
|
|
472
472
|
export class DescribeVpcFirewallCenDetailResponseBody extends $dara.Model {
|
|
473
473
|
/**
|
|
474
474
|
* @remarks
|
|
475
|
-
* The
|
|
475
|
+
* The connection type of the virtual private cloud (VPC) firewall. Valid values: **cen**, which indicates CEN.
|
|
476
476
|
*
|
|
477
477
|
* @example
|
|
478
478
|
* cen
|
|
@@ -480,13 +480,13 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $dara.Model {
|
|
|
480
480
|
connectType?: string;
|
|
481
481
|
/**
|
|
482
482
|
* @remarks
|
|
483
|
-
* The
|
|
483
|
+
* The status of the virtual private cloud (VPC) firewall. Valid values:
|
|
484
484
|
*
|
|
485
|
-
* - **opened**:
|
|
485
|
+
* - **opened**: enabled.
|
|
486
486
|
*
|
|
487
|
-
* - **closed**:
|
|
487
|
+
* - **closed**: shutdown.
|
|
488
488
|
*
|
|
489
|
-
* - **notconfigured**:
|
|
489
|
+
* - **notconfigured**: not configured.
|
|
490
490
|
*
|
|
491
491
|
* @example
|
|
492
492
|
* opened
|
|
@@ -499,7 +499,7 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $dara.Model {
|
|
|
499
499
|
firewallVpc?: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
|
|
500
500
|
/**
|
|
501
501
|
* @remarks
|
|
502
|
-
* The VPC
|
|
502
|
+
* The details of the VPC.
|
|
503
503
|
*/
|
|
504
504
|
localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
|
|
505
505
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyAddressBookRequestAckLabels extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key of the label
|
|
8
|
+
* The key of the pod label in the ACK cluster.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* app
|
|
@@ -13,7 +13,7 @@ export class ModifyAddressBookRequestAckLabels extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The value of the label
|
|
16
|
+
* The value of the pod label in the ACK cluster.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* storage-operator
|
|
@@ -455,17 +455,26 @@ export class ModifyAddressBookRequestTagList extends $dara.Model {
|
|
|
455
455
|
export class ModifyAddressBookRequest extends $dara.Model {
|
|
456
456
|
/**
|
|
457
457
|
* @remarks
|
|
458
|
-
* The list of labels
|
|
458
|
+
* The list of pod labels in the ACK cluster.
|
|
459
|
+
*
|
|
460
|
+
* > A maximum of 10 labels are supported.
|
|
459
461
|
*/
|
|
460
462
|
ackLabels?: ModifyAddressBookRequestAckLabels[];
|
|
461
463
|
/**
|
|
462
464
|
* @remarks
|
|
463
|
-
* The list of namespaces
|
|
465
|
+
* The list of pod namespaces in the ACK cluster.
|
|
466
|
+
* > A maximum of 10 namespaces are supported.
|
|
464
467
|
*/
|
|
465
468
|
ackNamespaces?: string[];
|
|
466
469
|
/**
|
|
467
470
|
* @remarks
|
|
468
|
-
* The addresses in the address book. Separate multiple addresses with commas (,).
|
|
471
|
+
* The list of addresses in the address book. Separate multiple addresses with commas (,). For each address element, separate the address and the description with a space. You must specify this parameter when GroupType is set to **ip**, **port**, or **domain**.
|
|
472
|
+
*
|
|
473
|
+
* - If GroupType is set to **ip**, enter IP addresses in the address list. Example: 1.2.XX.XX/32 Development CIDR block,10.0.0.X/24,1.2.XX.XX/24 Test CIDR block.
|
|
474
|
+
*
|
|
475
|
+
* - If GroupType is set to **port**, enter ports or port ranges in the address list. Example: 80/80 HTTP port,100/200,3306 Database port.
|
|
476
|
+
*
|
|
477
|
+
* - If GroupType is set to **domain**, enter domain names in the address list. Example: demo1.aliyun.com Test domain name,demo2.aliyun.com,www.aliyun.com Alibaba Cloud official website.
|
|
469
478
|
*
|
|
470
479
|
* @example
|
|
471
480
|
* 192.0.XX.XX/32 ,192.0.XX.XX/24
|
|
@@ -478,12 +487,12 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
478
487
|
assetMemberUids?: number[];
|
|
479
488
|
/**
|
|
480
489
|
* @remarks
|
|
481
|
-
* The
|
|
490
|
+
* The asset address book, region, and resource type list.
|
|
482
491
|
*/
|
|
483
492
|
assetRegionResourceTypes?: ModifyAddressBookRequestAssetRegionResourceTypes[];
|
|
484
493
|
/**
|
|
485
494
|
* @remarks
|
|
486
|
-
*
|
|
495
|
+
* Specifies if the automatic addition of the public IP addresses of Elastic Compute Service (ECS) instances that match the new labels to the address book is enabled.
|
|
487
496
|
*
|
|
488
497
|
* @example
|
|
489
498
|
* 1
|
|
@@ -509,7 +518,7 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
509
518
|
description?: string;
|
|
510
519
|
/**
|
|
511
520
|
* @remarks
|
|
512
|
-
*
|
|
521
|
+
* The dry run mode.
|
|
513
522
|
*/
|
|
514
523
|
dryRun?: boolean;
|
|
515
524
|
/**
|
|
@@ -524,7 +533,9 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
524
533
|
groupName?: string;
|
|
525
534
|
/**
|
|
526
535
|
* @remarks
|
|
527
|
-
* The
|
|
536
|
+
* The UUID of the address book.
|
|
537
|
+
*
|
|
538
|
+
* > To obtain the value, call the [DescribeAddressBook](~~DescribeAddressBook~~) operation.
|
|
528
539
|
*
|
|
529
540
|
* This parameter is required.
|
|
530
541
|
*
|
|
@@ -544,13 +555,16 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
544
555
|
* @remarks
|
|
545
556
|
* The modification mode.
|
|
546
557
|
*
|
|
558
|
+
* > If GroupType is set to **ip**, **ipv6**, **port**, or **domain** and this parameter is not specified, the **Cover** mode is used by default to modify the address book.
|
|
559
|
+
* >Notice: If GroupType is set to **tag**, this parameter must be left empty.</notice>
|
|
560
|
+
*
|
|
547
561
|
* @example
|
|
548
562
|
* Cover
|
|
549
563
|
*/
|
|
550
564
|
modifyMode?: string;
|
|
551
565
|
/**
|
|
552
566
|
* @remarks
|
|
553
|
-
* The source IP address of the
|
|
567
|
+
* The source IP address of the requester.
|
|
554
568
|
*
|
|
555
569
|
* @example
|
|
556
570
|
* 192.0.XX.XX
|
|
@@ -565,7 +579,7 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
565
579
|
tagList?: ModifyAddressBookRequestTagList[];
|
|
566
580
|
/**
|
|
567
581
|
* @remarks
|
|
568
|
-
* The
|
|
582
|
+
* The relationship between multiple ECS tags.
|
|
569
583
|
*
|
|
570
584
|
* @example
|
|
571
585
|
* and
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyAddressBookResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates
|
|
8
|
+
* Indicates whether the request is a successful dry run. A value of true indicates that only the dry run is performed and no actual modifications are made.
|
|
9
9
|
*/
|
|
10
10
|
dryRun?: boolean;
|
|
11
11
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyAddressBookShrinkRequestAckLabels extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key of the label
|
|
8
|
+
* The key of the pod label in the ACK cluster.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* app
|
|
@@ -13,7 +13,7 @@ export class ModifyAddressBookShrinkRequestAckLabels extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The value of the label
|
|
16
|
+
* The value of the pod label in the ACK cluster.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* storage-operator
|
|
@@ -85,17 +85,26 @@ export class ModifyAddressBookShrinkRequestTagList extends $dara.Model {
|
|
|
85
85
|
export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The list of labels
|
|
88
|
+
* The list of pod labels in the ACK cluster.
|
|
89
|
+
*
|
|
90
|
+
* > A maximum of 10 labels are supported.
|
|
89
91
|
*/
|
|
90
92
|
ackLabels?: ModifyAddressBookShrinkRequestAckLabels[];
|
|
91
93
|
/**
|
|
92
94
|
* @remarks
|
|
93
|
-
* The list of namespaces
|
|
95
|
+
* The list of pod namespaces in the ACK cluster.
|
|
96
|
+
* > A maximum of 10 namespaces are supported.
|
|
94
97
|
*/
|
|
95
98
|
ackNamespaces?: string[];
|
|
96
99
|
/**
|
|
97
100
|
* @remarks
|
|
98
|
-
* The addresses in the address book. Separate multiple addresses with commas (,).
|
|
101
|
+
* The list of addresses in the address book. Separate multiple addresses with commas (,). For each address element, separate the address and the description with a space. You must specify this parameter when GroupType is set to **ip**, **port**, or **domain**.
|
|
102
|
+
*
|
|
103
|
+
* - If GroupType is set to **ip**, enter IP addresses in the address list. Example: 1.2.XX.XX/32 Development CIDR block,10.0.0.X/24,1.2.XX.XX/24 Test CIDR block.
|
|
104
|
+
*
|
|
105
|
+
* - If GroupType is set to **port**, enter ports or port ranges in the address list. Example: 80/80 HTTP port,100/200,3306 Database port.
|
|
106
|
+
*
|
|
107
|
+
* - If GroupType is set to **domain**, enter domain names in the address list. Example: demo1.aliyun.com Test domain name,demo2.aliyun.com,www.aliyun.com Alibaba Cloud official website.
|
|
99
108
|
*
|
|
100
109
|
* @example
|
|
101
110
|
* 192.0.XX.XX/32 ,192.0.XX.XX/24
|
|
@@ -108,12 +117,12 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
108
117
|
assetMemberUidsShrink?: string;
|
|
109
118
|
/**
|
|
110
119
|
* @remarks
|
|
111
|
-
* The
|
|
120
|
+
* The asset address book, region, and resource type list.
|
|
112
121
|
*/
|
|
113
122
|
assetRegionResourceTypesShrink?: string;
|
|
114
123
|
/**
|
|
115
124
|
* @remarks
|
|
116
|
-
*
|
|
125
|
+
* Specifies if the automatic addition of the public IP addresses of Elastic Compute Service (ECS) instances that match the new labels to the address book is enabled.
|
|
117
126
|
*
|
|
118
127
|
* @example
|
|
119
128
|
* 1
|
|
@@ -139,7 +148,7 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
139
148
|
description?: string;
|
|
140
149
|
/**
|
|
141
150
|
* @remarks
|
|
142
|
-
*
|
|
151
|
+
* The dry run mode.
|
|
143
152
|
*/
|
|
144
153
|
dryRun?: boolean;
|
|
145
154
|
/**
|
|
@@ -154,7 +163,9 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
154
163
|
groupName?: string;
|
|
155
164
|
/**
|
|
156
165
|
* @remarks
|
|
157
|
-
* The
|
|
166
|
+
* The UUID of the address book.
|
|
167
|
+
*
|
|
168
|
+
* > To obtain the value, call the [DescribeAddressBook](~~DescribeAddressBook~~) operation.
|
|
158
169
|
*
|
|
159
170
|
* This parameter is required.
|
|
160
171
|
*
|
|
@@ -174,13 +185,16 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
174
185
|
* @remarks
|
|
175
186
|
* The modification mode.
|
|
176
187
|
*
|
|
188
|
+
* > If GroupType is set to **ip**, **ipv6**, **port**, or **domain** and this parameter is not specified, the **Cover** mode is used by default to modify the address book.
|
|
189
|
+
* >Notice: If GroupType is set to **tag**, this parameter must be left empty.</notice>
|
|
190
|
+
*
|
|
177
191
|
* @example
|
|
178
192
|
* Cover
|
|
179
193
|
*/
|
|
180
194
|
modifyMode?: string;
|
|
181
195
|
/**
|
|
182
196
|
* @remarks
|
|
183
|
-
* The source IP address of the
|
|
197
|
+
* The source IP address of the requester.
|
|
184
198
|
*
|
|
185
199
|
* @example
|
|
186
200
|
* 192.0.XX.XX
|
|
@@ -195,7 +209,7 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
195
209
|
tagList?: ModifyAddressBookShrinkRequestTagList[];
|
|
196
210
|
/**
|
|
197
211
|
* @remarks
|
|
198
|
-
* The
|
|
212
|
+
* The relationship between multiple ECS tags.
|
|
199
213
|
*
|
|
200
214
|
* @example
|
|
201
215
|
* and
|
|
@@ -7,7 +7,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The action that the access control policy performs on the traffic that passes through the firewall. Valid values:
|
|
9
9
|
* - **accept**: allows access.
|
|
10
|
-
* - **drop**: deny
|
|
10
|
+
* - **drop**: deny.
|
|
11
11
|
* - **log**: monitors the traffic.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
@@ -28,7 +28,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
28
28
|
aclUuid?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The application type supported by the access control policy.
|
|
31
|
+
* The application type supported by the access control policy. The following application types are supported:
|
|
32
32
|
*
|
|
33
33
|
* - **ANY**
|
|
34
34
|
* - **HTTP**
|
|
@@ -112,7 +112,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
112
112
|
* - If **DestinationType** is set to net, **Destination** is a destination CIDR block. Example: 1.2.XX.XX/24.
|
|
113
113
|
* - If **DestinationType** is set to group, **Destination** is a destination address book name. Example: db_group.
|
|
114
114
|
* - If **DestinationType** is set to domain, **Destination** is a destination domain name. Example: *.aliyuncs.com.
|
|
115
|
-
* - If **DestinationType** is set to location, **Destination** is a destination area. For
|
|
115
|
+
* - If **DestinationType** is set to location, **Destination** is a destination area. For more information about area positional encoding, see the following sections. Example: ["BJ11", "ZB"\\].
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* 192.0.XX.XX/24
|
|
@@ -135,8 +135,8 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
135
135
|
* @remarks
|
|
136
136
|
* The traffic direction of the access control policy. Valid values:
|
|
137
137
|
*
|
|
138
|
-
* - **in**: inbound traffic
|
|
139
|
-
* - **out**: outbound traffic
|
|
138
|
+
* - **in**: inbound traffic
|
|
139
|
+
* - **out**: outbound traffic
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
142
142
|
* in
|
|
@@ -161,7 +161,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
161
161
|
dryRun?: boolean;
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The end time of the Policy Validity Period
|
|
164
|
+
* The end time of the Policy Validity Period of the access control policy. The value is a UNIX timestamp in seconds format. The time must be on the hour or half hour and must be at least 30 minutes later than the start time. Settings for the end time.
|
|
165
165
|
* > If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter is required.
|
|
166
166
|
*
|
|
167
167
|
* @example
|
|
@@ -180,7 +180,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
180
180
|
lang?: string;
|
|
181
181
|
/**
|
|
182
182
|
* @remarks
|
|
183
|
-
* The security protocol type in the access control policy.
|
|
183
|
+
* The security protocol type in the access control policy. The following protocol types are supported:
|
|
184
184
|
*
|
|
185
185
|
* - **ANY**
|
|
186
186
|
* - **TCP**
|
|
@@ -189,7 +189,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
189
189
|
*
|
|
190
190
|
* > **ANY** indicates that the policy applies to all protocol types.
|
|
191
191
|
*
|
|
192
|
-
* > If the traffic direction is outbound and the destination address is a threat intelligence address book or cloud service address book of the domain type, you can
|
|
192
|
+
* > If the traffic direction is outbound and the destination address is a threat intelligence address book or cloud service address book of the domain type, you can set the protocol to TCP or ANY. If you select TCP, the application can be set to HTTP, HTTPS, SMTP, SMTPS, or SSL. If you select ANY, the application can only be set to ANY.
|
|
193
193
|
*
|
|
194
194
|
* @example
|
|
195
195
|
* TCP
|
|
@@ -200,7 +200,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
200
200
|
* The enabling status of the access control policy. Valid values:
|
|
201
201
|
*
|
|
202
202
|
* - true: The policy is enabled.
|
|
203
|
-
* - false: The policy is
|
|
203
|
+
* - false: The policy is disabled.
|
|
204
204
|
*
|
|
205
205
|
* @example
|
|
206
206
|
* true
|
|
@@ -208,13 +208,13 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
208
208
|
release?: string;
|
|
209
209
|
/**
|
|
210
210
|
* @remarks
|
|
211
|
-
* The days of a week or of a month on which the access control policy takes effect. Settings for the Policy Validity Period
|
|
212
|
-
* - If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty
|
|
211
|
+
* The days of a week or of a month on which the access control policy takes effect. Settings for the Policy Validity Period.
|
|
212
|
+
* - If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty array.
|
|
213
213
|
* Example: []
|
|
214
|
-
* - If RepeatType is set to Weekly, RepeatDays
|
|
214
|
+
* - If RepeatType is set to Weekly, RepeatDays must not be empty.
|
|
215
215
|
* Example: [0, 6]
|
|
216
216
|
* > If RepeatType is set to Weekly, the values in RepeatDays cannot be repeated.
|
|
217
|
-
* - If RepeatType is set to `Monthly`, RepeatDays
|
|
217
|
+
* - If RepeatType is set to `Monthly`, RepeatDays must not be empty.
|
|
218
218
|
* Example: [1, 31]
|
|
219
219
|
* > If RepeatType is set to Monthly, the values in RepeatDays cannot be repeated.
|
|
220
220
|
*/
|
|
@@ -256,7 +256,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
256
256
|
*
|
|
257
257
|
* - If **SourceType** is set to net, **Source** is a source CIDR block. Example: 1.2.XX.XX/24.
|
|
258
258
|
* - If **SourceType** is set to group, **Source** is a source address book name. Example: db_group.
|
|
259
|
-
* - If **SourceType** is set to location, **Source** is a source area. For
|
|
259
|
+
* - If **SourceType** is set to location, **Source** is a source area. For more information about area positional encoding, see the following sections. Example: ["BJ11", "ZB"\\].
|
|
260
260
|
*
|
|
261
261
|
* @example
|
|
262
262
|
* 192.0.XX.XX/24
|
|
@@ -276,7 +276,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
276
276
|
sourceType?: string;
|
|
277
277
|
/**
|
|
278
278
|
* @remarks
|
|
279
|
-
* The start time of the Policy Validity Period
|
|
279
|
+
* The start time of the Policy Validity Period of the access control policy. The value is a UNIX timestamp in seconds format. The time must be on the hour or half hour and must be at least 30 minutes earlier than the end time. Settings for the start time.
|
|
280
280
|
* > If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter is required.
|
|
281
281
|
*
|
|
282
282
|
* @example
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyControlPolicyResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates whether
|
|
8
|
+
* Indicates whether the request is a dry run. A value of true indicates that only a dry run was performed and no actual modification was made.
|
|
9
9
|
*/
|
|
10
10
|
dryRun?: boolean;
|
|
11
11
|
/**
|