alibabacloud-cloudfw20171207 3.5.0__py3-none-any.whl → 3.6.1__py3-none-any.whl

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.

Potentially problematic release.


This version of alibabacloud-cloudfw20171207 might be problematic. Click here for more details.

@@ -66,8 +66,12 @@ class AddAddressBookRequest(TeaModel):
66
66
  # * **0** (default): no
67
67
  self.auto_add_tag_ecs = auto_add_tag_ecs
68
68
  # The description of the address book.
69
+ #
70
+ # This parameter is required.
69
71
  self.description = description
70
72
  # The name of the address book.
73
+ #
74
+ # This parameter is required.
71
75
  self.group_name = group_name
72
76
  # The type of the address book. Valid values:
73
77
  #
@@ -75,6 +79,8 @@ class AddAddressBookRequest(TeaModel):
75
79
  # * **domain**: domain address book
76
80
  # * **port**: port address book
77
81
  # * **tag**: ECS tag-based address book
82
+ #
83
+ # This parameter is required.
78
84
  self.group_type = group_type
79
85
  # The language of the content within the response. Valid values:
80
86
  #
@@ -260,6 +266,8 @@ class AddControlPolicyRequest(TeaModel):
260
266
  # * **accept**: allows the traffic.
261
267
  # * **drop**: denies the traffic.
262
268
  # * **log**: monitors the traffic.
269
+ #
270
+ # This parameter is required.
263
271
  self.acl_action = acl_action
264
272
  # The application type supported by the access control policy. Valid values:
265
273
  #
@@ -285,6 +293,8 @@ class AddControlPolicyRequest(TeaModel):
285
293
  # The application types supported by the access control policy.
286
294
  self.application_name_list = application_name_list
287
295
  # The description of the access control policy.
296
+ #
297
+ # This parameter is required.
288
298
  self.description = description
289
299
  # The destination port in the access control policy. Valid values:
290
300
  #
@@ -323,11 +333,13 @@ class AddControlPolicyRequest(TeaModel):
323
333
  #
324
334
  # * If DestinationType is set to domain, the value of this parameter is a domain name.
325
335
  #
326
- # Example: \*.aliyuncs.com
336
+ # Example: \\*.aliyuncs.com
327
337
  #
328
338
  # * If DestinationType is set to location, the value of this parameter is a location.
329
339
  #
330
- # Example: \["BJ11", "ZB"]
340
+ # Example: ["BJ11", "ZB"]
341
+ #
342
+ # This parameter is required.
331
343
  self.destination = destination
332
344
  # The type of the destination address in the access control policy. Valid values:
333
345
  #
@@ -335,11 +347,15 @@ class AddControlPolicyRequest(TeaModel):
335
347
  # * **group**: address book
336
348
  # * **domain**: domain name
337
349
  # * **location**: location
350
+ #
351
+ # This parameter is required.
338
352
  self.destination_type = destination_type
339
353
  # The direction of the traffic to which the access control policy applies. Valid values:
340
354
  #
341
355
  # * **in**: inbound traffic
342
356
  # * **out**: outbound traffic
357
+ #
358
+ # This parameter is required.
343
359
  self.direction = direction
344
360
  # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.
345
361
  #
@@ -358,6 +374,8 @@ class AddControlPolicyRequest(TeaModel):
358
374
  # * **en**: English
359
375
  self.lang = lang
360
376
  # The priority of the access control policy. The priority value starts from 1. A smaller priority value indicates a higher priority.
377
+ #
378
+ # This parameter is required.
361
379
  self.new_order = new_order
362
380
  # The protocol type supported by the access control policy. Valid values:
363
381
  #
@@ -365,6 +383,8 @@ class AddControlPolicyRequest(TeaModel):
365
383
  # * **TCP**\
366
384
  # * **UDP**\
367
385
  # * **ICMP**\
386
+ #
387
+ # This parameter is required.
368
388
  self.proto = proto
369
389
  # Specifies whether to enable the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:
370
390
  #
@@ -373,12 +393,12 @@ class AddControlPolicyRequest(TeaModel):
373
393
  self.release = release
374
394
  # The days of a week or of a month on which the access control policy takes effect.
375
395
  #
376
- # * If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: \[].
377
- # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6].
396
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: [].
397
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: [0, 6].
378
398
  #
379
399
  # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
380
400
  #
381
- # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31].
401
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: [1, 31].
382
402
  #
383
403
  # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
384
404
  self.repeat_days = repeat_days
@@ -410,7 +430,9 @@ class AddControlPolicyRequest(TeaModel):
410
430
  #
411
431
  # * If SourceType is set to location, the value of this parameter is a location.
412
432
  #
413
- # Example: \["BJ11", "ZB"]
433
+ # Example: ["BJ11", "ZB"]
434
+ #
435
+ # This parameter is required.
414
436
  self.source = source
415
437
  # The source IP address of the request.
416
438
  self.source_ip = source_ip
@@ -419,6 +441,8 @@ class AddControlPolicyRequest(TeaModel):
419
441
  # * **net**: CIDR block
420
442
  # * **group**: address book
421
443
  # * **location**: location
444
+ #
445
+ # This parameter is required.
422
446
  self.source_type = source_type
423
447
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.
424
448
  #
@@ -622,6 +646,8 @@ class AddInstanceMembersRequestMembers(TeaModel):
622
646
  # The remarks of member that you want to add to Cloud Firewall. The remarks must be 1 to 256 characters in length.
623
647
  self.member_desc = member_desc
624
648
  # The UID of member that you want to add to Cloud Firewall.
649
+ #
650
+ # This parameter is required.
625
651
  self.member_uid = member_uid
626
652
 
627
653
  def validate(self):
@@ -654,6 +680,8 @@ class AddInstanceMembersRequest(TeaModel):
654
680
  members: List[AddInstanceMembersRequestMembers] = None,
655
681
  ):
656
682
  # The members that you want to add to Cloud Firewall.
683
+ #
684
+ # This parameter is required.
657
685
  self.members = members
658
686
 
659
687
  def validate(self):
@@ -773,14 +801,18 @@ class BatchCopyVpcFirewallControlPolicyRequest(TeaModel):
773
801
  # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
774
802
  # * If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.
775
803
  #
776
- # > You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the IDs of policy groups.
804
+ # > You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the IDs of policy groups.
805
+ #
806
+ # This parameter is required.
777
807
  self.source_vpc_firewall_id = source_vpc_firewall_id
778
808
  # The ID of the policy group of the destination VPC firewall. Valid values:
779
809
  #
780
810
  # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a VBR, or a CCN instance.
781
811
  # * If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.
782
812
  #
783
- # > You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the IDs of policy groups.
813
+ # > You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the IDs of policy groups.
814
+ #
815
+ # This parameter is required.
784
816
  self.target_vpc_firewall_id = target_vpc_firewall_id
785
817
 
786
818
  def validate(self):
@@ -891,8 +923,12 @@ class BatchDeleteVpcFirewallControlPolicyRequest(TeaModel):
891
923
  vpc_firewall_id: str = None,
892
924
  ):
893
925
  # The UUIDs of access control policies.
926
+ #
927
+ # This parameter is required.
894
928
  self.acl_uuid_list = acl_uuid_list
895
929
  # The instance ID of the VPC firewall.
930
+ #
931
+ # This parameter is required.
896
932
  self.vpc_firewall_id = vpc_firewall_id
897
933
 
898
934
  def validate(self):
@@ -1040,11 +1076,11 @@ class CreateDownloadTaskResponseBody(TeaModel):
1040
1076
  self.request_id = request_id
1041
1077
  # The status of the task. Valid values:
1042
1078
  #
1043
- # finish: You can query the task to obtain the download link of the file.
1079
+ # finish: The task finished. You can query the task to obtain the download link of the file.
1044
1080
  #
1045
- # start
1081
+ # start: The task start.
1046
1082
  #
1047
- # error
1083
+ # error: An error occurred.
1048
1084
  #
1049
1085
  # expire: The task file is invalid and cannot be downloaded.
1050
1086
  self.status = status
@@ -1161,10 +1197,16 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1161
1197
  # * **accept**: allows the traffic.
1162
1198
  # * **drop**: denies the traffic.
1163
1199
  # * **log**: monitors the traffic.
1200
+ #
1201
+ # This parameter is required.
1164
1202
  self.acl_action = acl_action
1165
1203
  # The application types supported by the access control policy.
1204
+ #
1205
+ # This parameter is required.
1166
1206
  self.application_name_list = application_name_list
1167
1207
  # The description of the access control policy.
1208
+ #
1209
+ # This parameter is required.
1168
1210
  self.description = description
1169
1211
  # The destination port in the access control policy. Valid values:
1170
1212
  #
@@ -1201,11 +1243,13 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1201
1243
  #
1202
1244
  # * If DestinationType is set to domain, the value of this parameter is a domain name.
1203
1245
  #
1204
- # Example: \*.aliyuncs.com
1246
+ # Example: \\*.aliyuncs.com
1205
1247
  #
1206
1248
  # * If DestinationType is set to location, the value of this parameter is a location.
1207
1249
  #
1208
- # Example: \["BJ11", "ZB"]
1250
+ # Example: ["BJ11", "ZB"]
1251
+ #
1252
+ # This parameter is required.
1209
1253
  self.destination = destination
1210
1254
  # The type of the destination address in the access control policy.
1211
1255
  #
@@ -1214,10 +1258,14 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1214
1258
  # * **net**: CIDR block
1215
1259
  # * **group**: address book
1216
1260
  # * **domain**: domain name
1261
+ #
1262
+ # This parameter is required.
1217
1263
  self.destination_type = destination_type
1218
1264
  # The direction of the traffic to which the access control policy applies. Valid values:
1219
1265
  #
1220
1266
  # * **out**: outbound traffic
1267
+ #
1268
+ # This parameter is required.
1221
1269
  self.direction = direction
1222
1270
  # The domain name resolution method of the access control policy. Valid values:
1223
1271
  #
@@ -1241,8 +1289,12 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1241
1289
  # * **en**: English
1242
1290
  self.lang = lang
1243
1291
  # The ID of the NAT gateway.
1292
+ #
1293
+ # This parameter is required.
1244
1294
  self.nat_gateway_id = nat_gateway_id
1245
1295
  # The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority.
1296
+ #
1297
+ # This parameter is required.
1246
1298
  self.new_order = new_order
1247
1299
  # The protocol type in the access control policy.
1248
1300
  #
@@ -1252,6 +1304,8 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1252
1304
  # * TCP
1253
1305
  # * UDP
1254
1306
  # * ICMP
1307
+ #
1308
+ # This parameter is required.
1255
1309
  self.proto = proto
1256
1310
  # Specifies whether to enable the access control policy. By default, an access control policy is enabled after it is created. Valid values:
1257
1311
  #
@@ -1260,12 +1314,12 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1260
1314
  self.release = release
1261
1315
  # The days of a week or of a month on which the access control policy takes effect.
1262
1316
  #
1263
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \[].
1264
- # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: \[0, 6].
1317
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: [].
1318
+ # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: [0, 6].
1265
1319
  #
1266
1320
  # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
1267
1321
  #
1268
- # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \[1, 31].
1322
+ # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: [1, 31].
1269
1323
  #
1270
1324
  # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
1271
1325
  self.repeat_days = repeat_days
@@ -1296,6 +1350,8 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1296
1350
  # * If **SourceType** is set to `group`, the value of this parameter must be an address book name.
1297
1351
  #
1298
1352
  # Example: db_group
1353
+ #
1354
+ # This parameter is required.
1299
1355
  self.source = source
1300
1356
  # The type of the source address in the access control policy.
1301
1357
  #
@@ -1303,6 +1359,8 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1303
1359
  #
1304
1360
  # * **net**: source CIDR block
1305
1361
  # * **group**: source address book
1362
+ #
1363
+ # This parameter is required.
1306
1364
  self.source_type = source_type
1307
1365
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
1308
1366
  #
@@ -1507,9 +1565,13 @@ class CreateSecurityProxyRequestNatRouteEntryList(TeaModel):
1507
1565
  next_hop_type: str = None,
1508
1566
  route_table_id: str = None,
1509
1567
  ):
1568
+ # This parameter is required.
1510
1569
  self.destination_cidr = destination_cidr
1570
+ # This parameter is required.
1511
1571
  self.next_hop_id = next_hop_id
1572
+ # This parameter is required.
1512
1573
  self.next_hop_type = next_hop_type
1574
+ # This parameter is required.
1513
1575
  self.route_table_id = route_table_id
1514
1576
 
1515
1577
  def validate(self):
@@ -1561,11 +1623,16 @@ class CreateSecurityProxyRequest(TeaModel):
1561
1623
  ):
1562
1624
  self.firewall_switch = firewall_switch
1563
1625
  self.lang = lang
1626
+ # This parameter is required.
1564
1627
  self.nat_gateway_id = nat_gateway_id
1628
+ # This parameter is required.
1565
1629
  self.nat_route_entry_list = nat_route_entry_list
1630
+ # This parameter is required.
1566
1631
  self.proxy_name = proxy_name
1632
+ # This parameter is required.
1567
1633
  self.region_no = region_no
1568
1634
  self.strict_mode = strict_mode
1635
+ # This parameter is required.
1569
1636
  self.vpc_id = vpc_id
1570
1637
  self.vswitch_auto = vswitch_auto
1571
1638
  self.vswitch_cidr = vswitch_cidr
@@ -2220,11 +2287,15 @@ class CreateVpcFirewallCenConfigureRequest(TeaModel):
2220
2287
  vpc_region: str = None,
2221
2288
  ):
2222
2289
  # The ID of the CEN instance.
2290
+ #
2291
+ # This parameter is required.
2223
2292
  self.cen_id = cen_id
2224
2293
  # Specifies whether to enable the VPC firewall. Valid values:
2225
2294
  #
2226
2295
  # * **open**: After you create the VPC firewall, the VPC firewall is automatically enabled. This is the default value.
2227
- # * **close**: After you create the VPC firewall, the VPC firewall is disabled. You can call the [ModifyVpcFirewallCenSwitchStatus](~~345780~~) operation to manually enable the VPC firewall.
2296
+ # * **close**: After you create the VPC firewall, the VPC firewall is disabled. You can call the [ModifyVpcFirewallCenSwitchStatus](https://help.aliyun.com/document_detail/345780.html) operation to manually enable the VPC firewall.
2297
+ #
2298
+ # This parameter is required.
2228
2299
  self.firewall_switch = firewall_switch
2229
2300
  # The CIDR block of the vSwitch that is automatically created for the VPC firewall. You must specify a CIDR block for the Cloud_Firewall_VSWITCH VPC that is automatically created for the VPC firewall for traffic redirection. The CIDR block does not conflict with your network plan. The subnet mask of the CIDR block must be less than or equal to 29 bits in length. The CIDR block of the vSwitch must be within the network segment of the VPC.
2230
2301
  #
@@ -2242,7 +2313,7 @@ class CreateVpcFirewallCenConfigureRequest(TeaModel):
2242
2313
  #
2243
2314
  # If you do not specify a value, a zone is automatically assigned for the vSwitch.
2244
2315
  #
2245
- # > This parameter takes effect only when you create a VPC firewall for the first time in the current CEN instance and region. For more information about zones that are supported by each region, see [Query zones](~~36064~~).
2316
+ # > This parameter takes effect only when you create a VPC firewall for the first time in the current CEN instance and region. For more information about zones that are supported by each region, see [Query zones](https://help.aliyun.com/document_detail/36064.html).
2246
2317
  self.firewall_vpc_zone_id = firewall_vpc_zone_id
2247
2318
  # The language of the content within the request and response. Valid values:
2248
2319
  #
@@ -2252,14 +2323,20 @@ class CreateVpcFirewallCenConfigureRequest(TeaModel):
2252
2323
  # The UID of the member that is managed by your Alibaba Cloud account.
2253
2324
  self.member_uid = member_uid
2254
2325
  # The ID of the VPC for which you want to create the VPC firewall.
2326
+ #
2327
+ # This parameter is required.
2255
2328
  self.network_instance_id = network_instance_id
2256
2329
  # The ID of the vSwitch that is used to associate with the elastic network interface (ENI) required by the VPC firewall.
2257
2330
  self.v_switch_id = v_switch_id
2258
2331
  # The instance name of the VPC firewall.
2332
+ #
2333
+ # This parameter is required.
2259
2334
  self.vpc_firewall_name = vpc_firewall_name
2260
2335
  # The ID of the region to which the VPC belongs.
2261
2336
  #
2262
- # > For more information about the regions, see [Supported regions](~~195657~~).
2337
+ # > For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
2338
+ #
2339
+ # This parameter is required.
2263
2340
  self.vpc_region = vpc_region
2264
2341
 
2265
2342
  def validate(self):
@@ -2415,7 +2492,9 @@ class CreateVpcFirewallConfigureRequest(TeaModel):
2415
2492
  # The status of the VPC firewall after you create the firewall. Valid values:
2416
2493
  #
2417
2494
  # * **open**: After you create the VPC firewall, the VPC firewall is automatically enabled. This is the default value.
2418
- # * **close**: After you create the VPC firewall, the VPC firewall is disabled. To enable the firewall, you can call the [ModifyVpcFirewallSwitchStatus](~~342935~~) operation.
2495
+ # * **close**: After you create the VPC firewall, the VPC firewall is disabled. To enable the firewall, you can call the [ModifyVpcFirewallSwitchStatus](https://help.aliyun.com/document_detail/342935.html) operation.
2496
+ #
2497
+ # This parameter is required.
2419
2498
  self.firewall_switch = firewall_switch
2420
2499
  # The language of the content within the request and the response. Valid values:
2421
2500
  #
@@ -2426,12 +2505,18 @@ class CreateVpcFirewallConfigureRequest(TeaModel):
2426
2505
  #
2427
2506
  # * **RouteTableId**: the ID of the route table for the local VPC.
2428
2507
  # * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the local VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the local VPC.
2508
+ #
2509
+ # This parameter is required.
2429
2510
  self.local_vpc_cidr_table_list = local_vpc_cidr_table_list
2430
2511
  # The ID of the local VPC.
2512
+ #
2513
+ # This parameter is required.
2431
2514
  self.local_vpc_id = local_vpc_id
2432
2515
  # The region ID of the local VPC.
2433
2516
  #
2434
- # > For more information about the regions in which Cloud Firewall is available, see [Supported regions](~~195657~~).
2517
+ # > For more information about the regions in which Cloud Firewall is available, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
2518
+ #
2519
+ # This parameter is required.
2435
2520
  self.local_vpc_region = local_vpc_region
2436
2521
  # The UID of the member that is managed by your Alibaba Cloud account.
2437
2522
  self.member_uid = member_uid
@@ -2439,14 +2524,22 @@ class CreateVpcFirewallConfigureRequest(TeaModel):
2439
2524
  #
2440
2525
  # * **RouteTableId**: the ID of the route table for the peer VPC.
2441
2526
  # * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the peer VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the peer VPC.
2527
+ #
2528
+ # This parameter is required.
2442
2529
  self.peer_vpc_cidr_table_list = peer_vpc_cidr_table_list
2443
2530
  # The ID of the peer VPC.
2531
+ #
2532
+ # This parameter is required.
2444
2533
  self.peer_vpc_id = peer_vpc_id
2445
2534
  # The region ID of the peer VPC.
2446
2535
  #
2447
- # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
2536
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
2537
+ #
2538
+ # This parameter is required.
2448
2539
  self.peer_vpc_region = peer_vpc_region
2449
2540
  # The instance name of the VPC firewall.
2541
+ #
2542
+ # This parameter is required.
2450
2543
  self.vpc_firewall_name = vpc_firewall_name
2451
2544
 
2452
2545
  def validate(self):
@@ -2613,6 +2706,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2613
2706
  # - **accept**: allows the traffic.
2614
2707
  # - **drop**: blocks the traffic.
2615
2708
  # - **log**: monitors the traffic.
2709
+ #
2710
+ # This parameter is required.
2616
2711
  self.acl_action = acl_action
2617
2712
  # The type of the applications that the access control policy supports. Valid values:
2618
2713
  #
@@ -2635,6 +2730,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2635
2730
  # The application types supported by the access control policy.
2636
2731
  self.application_name_list = application_name_list
2637
2732
  # The description of the access control policy.
2733
+ #
2734
+ # This parameter is required.
2638
2735
  self.description = description
2639
2736
  # The destination port in the access control policy.
2640
2737
  #
@@ -2654,12 +2751,16 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2654
2751
  # - If **DestinationType** is set to `net`, the value of **Destination** must be a CIDR block.
2655
2752
  # - If **DestinationType** is set to `group`, the value of **Destination** must be an address book.
2656
2753
  # - If **DestinationType** is set to `domain`, the value of **Destination** must be a domain name.
2754
+ #
2755
+ # This parameter is required.
2657
2756
  self.destination = destination
2658
2757
  # The type of the destination address in the access control policy. Valid values:
2659
2758
  #
2660
2759
  # - **net**: CIDR block
2661
2760
  # - **group**: address book
2662
2761
  # - **domain**: domain name
2762
+ #
2763
+ # This parameter is required.
2663
2764
  self.destination_type = destination_type
2664
2765
  # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.
2665
2766
  #
@@ -2675,6 +2776,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2675
2776
  # The priority of the access control policy.
2676
2777
  #
2677
2778
  # The priority value starts from 1. A smaller priority value indicates a higher priority.
2779
+ #
2780
+ # This parameter is required.
2678
2781
  self.new_order = new_order
2679
2782
  # The type of the protocol in the access control policy. Valid values:
2680
2783
  #
@@ -2682,6 +2785,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2682
2785
  # - **TCP**\
2683
2786
  # - **UDP**\
2684
2787
  # - **ICMP**\
2788
+ #
2789
+ # This parameter is required.
2685
2790
  self.proto = proto
2686
2791
  # Specifies whether to enable the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:
2687
2792
  #
@@ -2690,12 +2795,12 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2690
2795
  self.release = release
2691
2796
  # The days of a week or of a month on which the access control policy takes effect.
2692
2797
  #
2693
- # * If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: \[].
2694
- # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6].
2798
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: [].
2799
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: [0, 6].
2695
2800
  #
2696
2801
  # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
2697
2802
  #
2698
- # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31].
2803
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: [1, 31].
2699
2804
  #
2700
2805
  # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
2701
2806
  self.repeat_days = repeat_days
@@ -2719,11 +2824,15 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2719
2824
  #
2720
2825
  # - If SourceType is set to `net`, the value of Source must be a CIDR block.
2721
2826
  # - If SourceType is set to `group`, the value of Source must be an address book.
2827
+ #
2828
+ # This parameter is required.
2722
2829
  self.source = source
2723
2830
  # The type of the source address in the access control policy. Valid values:
2724
2831
  #
2725
2832
  # - **net**: CIDR block
2726
2833
  # - **group**: address book
2834
+ #
2835
+ # This parameter is required.
2727
2836
  self.source_type = source_type
2728
2837
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.
2729
2838
  #
@@ -2735,6 +2844,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2735
2844
  # - If a VPC firewall protects the traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.
2736
2845
  #
2737
2846
  # > You can call the [DescribeVpcFirewallAclGroupList](https://www.alibabacloud.com/help/en/cloud-firewall/latest/describevpcfirewallaclgrouplist) operation to query the IDs.
2847
+ #
2848
+ # This parameter is required.
2738
2849
  self.vpc_firewall_id = vpc_firewall_id
2739
2850
 
2740
2851
  def validate(self):
@@ -2931,6 +3042,8 @@ class DeleteAddressBookRequest(TeaModel):
2931
3042
  # The ID of the address book.
2932
3043
  #
2933
3044
  # To delete the address book, you must provide the ID of the address book. You can call the DescribeAddressBook operation to query the ID.
3045
+ #
3046
+ # This parameter is required.
2934
3047
  self.group_uuid = group_uuid
2935
3048
  # The natural language of the request and response. Valid values:
2936
3049
  #
@@ -3047,7 +3160,9 @@ class DeleteControlPolicyRequest(TeaModel):
3047
3160
  ):
3048
3161
  # The ID of the access control policy.
3049
3162
  #
3050
- # To delete an access control policy, you must provide the ID of the policy. You can call the [DescribeControlPolicy](~~138866~~) operation to query the ID.
3163
+ # To delete an access control policy, you must provide the ID of the policy. You can call the [DescribeControlPolicy](https://help.aliyun.com/document_detail/138866.html) operation to query the ID.
3164
+ #
3165
+ # This parameter is required.
3051
3166
  self.acl_uuid = acl_uuid
3052
3167
  # The direction of the traffic to which the access control policy applies.
3053
3168
  #
@@ -3055,6 +3170,8 @@ class DeleteControlPolicyRequest(TeaModel):
3055
3170
  #
3056
3171
  # * **in**: inbound traffic
3057
3172
  # * **out**: outbound traffic
3173
+ #
3174
+ # This parameter is required.
3058
3175
  self.direction = direction
3059
3176
  # The natural language of the request and response.
3060
3177
  #
@@ -3182,6 +3299,8 @@ class DeleteControlPolicyTemplateRequest(TeaModel):
3182
3299
  # The source IP address of the request.
3183
3300
  self.source_ip = source_ip
3184
3301
  # The ID of the access control policy template.
3302
+ #
3303
+ # This parameter is required.
3185
3304
  self.template_id = template_id
3186
3305
 
3187
3306
  def validate(self):
@@ -3501,6 +3620,8 @@ class DeleteInstanceMembersRequest(TeaModel):
3501
3620
  member_uids: List[int] = None,
3502
3621
  ):
3503
3622
  # The unique identifiers (UID) of members that you want to remove from Cloud Firewall.
3623
+ #
3624
+ # This parameter is required.
3504
3625
  self.member_uids = member_uids
3505
3626
 
3506
3627
  def validate(self):
@@ -3603,12 +3724,16 @@ class DeleteNatFirewallControlPolicyRequest(TeaModel):
3603
3724
  # The UUID of the access control policy.
3604
3725
  #
3605
3726
  # To delete an access control policy, you must provide the ID of the policy. You can call the DescribeNatFirewallControlPolicy operation to query the UUIDs of access control policies.
3727
+ #
3728
+ # This parameter is required.
3606
3729
  self.acl_uuid = acl_uuid
3607
3730
  # The direction of the traffic to which the access control policy applies.
3608
3731
  #
3609
3732
  # Valid values:
3610
3733
  #
3611
3734
  # * **out**: outbound traffic
3735
+ #
3736
+ # This parameter is required.
3612
3737
  self.direction = direction
3613
3738
  # The language of the content within the response. Valid values:
3614
3739
  #
@@ -3616,6 +3741,8 @@ class DeleteNatFirewallControlPolicyRequest(TeaModel):
3616
3741
  # * **en**: English
3617
3742
  self.lang = lang
3618
3743
  # The ID of the NAT gateway.
3744
+ #
3745
+ # This parameter is required.
3619
3746
  self.nat_gateway_id = nat_gateway_id
3620
3747
 
3621
3748
  def validate(self):
@@ -3739,6 +3866,8 @@ class DeleteNatFirewallControlPolicyBatchRequest(TeaModel):
3739
3866
  # * **en**: English
3740
3867
  self.lang = lang
3741
3868
  # The ID of the NAT gateway.
3869
+ #
3870
+ # This parameter is required.
3742
3871
  self.nat_gateway_id = nat_gateway_id
3743
3872
 
3744
3873
  def validate(self):
@@ -3842,6 +3971,108 @@ class DeleteNatFirewallControlPolicyBatchResponse(TeaModel):
3842
3971
  return self
3843
3972
 
3844
3973
 
3974
+ class DeleteSecurityProxyRequest(TeaModel):
3975
+ def __init__(
3976
+ self,
3977
+ lang: str = None,
3978
+ proxy_id: str = None,
3979
+ ):
3980
+ self.lang = lang
3981
+ # This parameter is required.
3982
+ self.proxy_id = proxy_id
3983
+
3984
+ def validate(self):
3985
+ pass
3986
+
3987
+ def to_map(self):
3988
+ _map = super().to_map()
3989
+ if _map is not None:
3990
+ return _map
3991
+
3992
+ result = dict()
3993
+ if self.lang is not None:
3994
+ result['Lang'] = self.lang
3995
+ if self.proxy_id is not None:
3996
+ result['ProxyId'] = self.proxy_id
3997
+ return result
3998
+
3999
+ def from_map(self, m: dict = None):
4000
+ m = m or dict()
4001
+ if m.get('Lang') is not None:
4002
+ self.lang = m.get('Lang')
4003
+ if m.get('ProxyId') is not None:
4004
+ self.proxy_id = m.get('ProxyId')
4005
+ return self
4006
+
4007
+
4008
+ class DeleteSecurityProxyResponseBody(TeaModel):
4009
+ def __init__(
4010
+ self,
4011
+ request_id: str = None,
4012
+ ):
4013
+ self.request_id = request_id
4014
+
4015
+ def validate(self):
4016
+ pass
4017
+
4018
+ def to_map(self):
4019
+ _map = super().to_map()
4020
+ if _map is not None:
4021
+ return _map
4022
+
4023
+ result = dict()
4024
+ if self.request_id is not None:
4025
+ result['RequestId'] = self.request_id
4026
+ return result
4027
+
4028
+ def from_map(self, m: dict = None):
4029
+ m = m or dict()
4030
+ if m.get('RequestId') is not None:
4031
+ self.request_id = m.get('RequestId')
4032
+ return self
4033
+
4034
+
4035
+ class DeleteSecurityProxyResponse(TeaModel):
4036
+ def __init__(
4037
+ self,
4038
+ headers: Dict[str, str] = None,
4039
+ status_code: int = None,
4040
+ body: DeleteSecurityProxyResponseBody = None,
4041
+ ):
4042
+ self.headers = headers
4043
+ self.status_code = status_code
4044
+ self.body = body
4045
+
4046
+ def validate(self):
4047
+ if self.body:
4048
+ self.body.validate()
4049
+
4050
+ def to_map(self):
4051
+ _map = super().to_map()
4052
+ if _map is not None:
4053
+ return _map
4054
+
4055
+ result = dict()
4056
+ if self.headers is not None:
4057
+ result['headers'] = self.headers
4058
+ if self.status_code is not None:
4059
+ result['statusCode'] = self.status_code
4060
+ if self.body is not None:
4061
+ result['body'] = self.body.to_map()
4062
+ return result
4063
+
4064
+ def from_map(self, m: dict = None):
4065
+ m = m or dict()
4066
+ if m.get('headers') is not None:
4067
+ self.headers = m.get('headers')
4068
+ if m.get('statusCode') is not None:
4069
+ self.status_code = m.get('statusCode')
4070
+ if m.get('body') is not None:
4071
+ temp_model = DeleteSecurityProxyResponseBody()
4072
+ self.body = temp_model.from_map(m['body'])
4073
+ return self
4074
+
4075
+
3845
4076
  class DeleteTrFirewallV2Request(TeaModel):
3846
4077
  def __init__(
3847
4078
  self,
@@ -3964,6 +4195,8 @@ class DeleteVpcFirewallCenConfigureRequest(TeaModel):
3964
4195
  # The UID of the member that is managed by your Alibaba Cloud account.
3965
4196
  self.member_uid = member_uid
3966
4197
  # The instance IDs of VPC firewalls.
4198
+ #
4199
+ # This parameter is required.
3967
4200
  self.vpc_firewall_id_list = vpc_firewall_id_list
3968
4201
 
3969
4202
  def validate(self):
@@ -4078,6 +4311,8 @@ class DeleteVpcFirewallConfigureRequest(TeaModel):
4078
4311
  # The UID of the member that is managed by your Alibaba Cloud account.
4079
4312
  self.member_uid = member_uid
4080
4313
  # The instance IDs of VPC firewalls.
4314
+ #
4315
+ # This parameter is required.
4081
4316
  self.vpc_firewall_id_list = vpc_firewall_id_list
4082
4317
 
4083
4318
  def validate(self):
@@ -4187,6 +4422,8 @@ class DeleteVpcFirewallControlPolicyRequest(TeaModel):
4187
4422
  # The ID of the access control policy.
4188
4423
  #
4189
4424
  # To delete an access control policy, you must provide the ID of the policy. You can call the **DescribeVpcFirewallControlPolicy** operation to query the ID.
4425
+ #
4426
+ # This parameter is required.
4190
4427
  self.acl_uuid = acl_uuid
4191
4428
  # The natural language of the request and response. Valid values:
4192
4429
  #
@@ -4203,6 +4440,8 @@ class DeleteVpcFirewallControlPolicyRequest(TeaModel):
4203
4440
  # - If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the ID of the VPC firewall.
4204
4441
  #
4205
4442
  # Example: vfw-a42bbb7b887148c9****\
4443
+ #
4444
+ # This parameter is required.
4206
4445
  self.vpc_firewall_id = vpc_firewall_id
4207
4446
 
4208
4447
  def validate(self):
@@ -4857,6 +5096,8 @@ class DescribeAssetListRequest(TeaModel):
4857
5096
  user_type: str = None,
4858
5097
  ):
4859
5098
  # The page number. Valid values: 1 to 50.
5099
+ #
5100
+ # This parameter is required.
4860
5101
  self.current_page = current_page
4861
5102
  # The IP version of the asset that is protected by Cloud Firewall. Valid values:
4862
5103
  #
@@ -4877,10 +5118,12 @@ class DescribeAssetListRequest(TeaModel):
4877
5118
  # * **discovered in 7 days**: within seven days.
4878
5119
  self.new_resource_tag = new_resource_tag
4879
5120
  # The number of entries per page. Valid values: 1 to 50.
5121
+ #
5122
+ # This parameter is required.
4880
5123
  self.page_size = page_size
4881
5124
  # The region ID of your Cloud Firewall.
4882
5125
  #
4883
- # > For more information about the regions, see [Supported regions](~~195657~~).
5126
+ # > For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
4884
5127
  self.region_no = region_no
4885
5128
  # The type of the asset. Valid values:
4886
5129
  #
@@ -5311,7 +5554,7 @@ class DescribeAssetRiskListRequest(TeaModel):
5311
5554
  #
5312
5555
  # * Example of an IPv4 address: 47.97.221.164
5313
5556
  #
5314
- # * Example of an IPv6 address: 2001:db8:ffff:ffff:ffff:\*\*\*\*:ffff
5557
+ # * Example of an IPv6 address: 2001:db8:ffff:ffff:ffff:\\*\\*\\*\\*:ffff
5315
5558
  self.ip_addr_list = ip_addr_list
5316
5559
  # The IP version of the asset that is protected by Cloud Firewall.
5317
5560
  #
@@ -5319,6 +5562,8 @@ class DescribeAssetRiskListRequest(TeaModel):
5319
5562
  #
5320
5563
  # * **4** (default): IPv4
5321
5564
  # * **6**: IPv6
5565
+ #
5566
+ # This parameter is required.
5322
5567
  self.ip_version = ip_version
5323
5568
  # The language of the content within the response. Valid values:
5324
5569
  #
@@ -5527,7 +5772,7 @@ class DescribeCfwRiskLevelSummaryRequest(TeaModel):
5527
5772
  self.lang = lang
5528
5773
  # The region ID of your Cloud Firewall.
5529
5774
  #
5530
- # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
5775
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
5531
5776
  self.region_id = region_id
5532
5777
 
5533
5778
  def validate(self):
@@ -5716,6 +5961,8 @@ class DescribeControlPolicyRequest(TeaModel):
5716
5961
  # The number of the page to return.
5717
5962
  #
5718
5963
  # Default value: 1.
5964
+ #
5965
+ # This parameter is required.
5719
5966
  self.current_page = current_page
5720
5967
  # The description of the access control policy. Fuzzy match is supported.
5721
5968
  #
@@ -5734,6 +5981,8 @@ class DescribeControlPolicyRequest(TeaModel):
5734
5981
  #
5735
5982
  # * **in**: inbound traffic
5736
5983
  # * **out**: outbound traffic
5984
+ #
5985
+ # This parameter is required.
5737
5986
  self.direction = direction
5738
5987
  # The IP version of the address in the access control policy. Valid values:
5739
5988
  #
@@ -5746,6 +5995,8 @@ class DescribeControlPolicyRequest(TeaModel):
5746
5995
  # * **en**: English
5747
5996
  self.lang = lang
5748
5997
  # The number of entries to return on each page.
5998
+ #
5999
+ # This parameter is required.
5749
6000
  self.page_size = page_size
5750
6001
  # The type of the protocol in the access control policy. Valid values:
5751
6002
  #
@@ -5936,7 +6187,7 @@ class DescribeControlPolicyResponseBodyPolicys(TeaModel):
5936
6187
  # * If **DestinationType** is set to **net**, the value of Destination is a CIDR block. Example: 192.0.XX.XX/24.
5937
6188
  # * If **DestinationType** is set to **domain**, the value of Destination is a domain name. Example: aliyuncs.com.
5938
6189
  # * If **DestinationType** is set to **group**, the value of Destination is the name of an address book. Example: db_group.
5939
- # * If **DestinationType** is set to **location**, the value of Destination is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \["BJ11", "ZB"].
6190
+ # * If **DestinationType** is set to **location**, the value of Destination is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/138867.html). Example: ["BJ11", "ZB"].
5940
6191
  self.destination = destination
5941
6192
  # The CIDR blocks in the destination address book.
5942
6193
  self.destination_group_cidrs = destination_group_cidrs
@@ -5997,12 +6248,12 @@ class DescribeControlPolicyResponseBodyPolicys(TeaModel):
5997
6248
  self.release = release
5998
6249
  # The days of a week or of a month on which the access control policy takes effect.
5999
6250
  #
6000
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, this parameter is left empty. Example: \[].
6001
- # * If RepeatType is set to Weekly, this parameter must be specified. Example: \[0, 6].
6251
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, this parameter is left empty. Example: [].
6252
+ # * If RepeatType is set to Weekly, this parameter must be specified. Example: [0, 6].
6002
6253
  #
6003
6254
  # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
6004
6255
  #
6005
- # * If RepeatType is set to `Monthly`, this parameter must be specified. Example: \[1, 31].
6256
+ # * If RepeatType is set to `Monthly`, this parameter must be specified. Example: [1, 31].
6006
6257
  #
6007
6258
  # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
6008
6259
  self.repeat_days = repeat_days
@@ -6026,7 +6277,7 @@ class DescribeControlPolicyResponseBodyPolicys(TeaModel):
6026
6277
  #
6027
6278
  # * If **SourceType** is set to `net`, the value of Source is a CIDR block. Example: 192.0.XX.XX/24.
6028
6279
  # * If **SourceType** is set to `group`, the value of Source is the name of an address book. Example: db_group.
6029
- # * If **SourceType** is set to `location`, the value of Source is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \["BJ11", "ZB"].
6280
+ # * If **SourceType** is set to `location`, the value of Source is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/138867.html). Example: ["BJ11", "ZB"].
6030
6281
  self.source = source
6031
6282
  # The CIDR blocks in the source address book.
6032
6283
  self.source_group_cidrs = source_group_cidrs
@@ -6474,6 +6725,8 @@ class DescribeDomainResolveRequest(TeaModel):
6474
6725
  source_ip: str = None,
6475
6726
  ):
6476
6727
  # The domain name whose DNS record you want to query.
6728
+ #
6729
+ # This parameter is required.
6477
6730
  self.domain = domain
6478
6731
  # The IP version of the asset that is protected by Cloud Firewall. Valid values:
6479
6732
  #
@@ -7597,6 +7850,8 @@ class DescribeInternetOpenIpRequest(TeaModel):
7597
7850
  # The asset type of the instance.
7598
7851
  self.assets_type = assets_type
7599
7852
  # The page number.
7853
+ #
7854
+ # This parameter is required.
7600
7855
  self.current_page = current_page
7601
7856
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7602
7857
  self.end_time = end_time
@@ -7606,6 +7861,8 @@ class DescribeInternetOpenIpRequest(TeaModel):
7606
7861
  # * **en**: English
7607
7862
  self.lang = lang
7608
7863
  # The number of entries per page.
7864
+ #
7865
+ # This parameter is required.
7609
7866
  self.page_size = page_size
7610
7867
  # The port number.
7611
7868
  self.port = port
@@ -7989,6 +8246,8 @@ class DescribeInternetTrafficTrendRequest(TeaModel):
7989
8246
  # * **out**: outbound traffic
7990
8247
  self.direction = direction
7991
8248
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
8249
+ #
8250
+ # This parameter is required.
7992
8251
  self.end_time = end_time
7993
8252
  # The language of the content in the request and response. Valid values:
7994
8253
  #
@@ -7996,6 +8255,8 @@ class DescribeInternetTrafficTrendRequest(TeaModel):
7996
8255
  # * **en**: English
7997
8256
  self.lang = lang
7998
8257
  # The source code.
8258
+ #
8259
+ # This parameter is required.
7999
8260
  self.source_code = source_code
8000
8261
  # The IP address of the access source.
8001
8262
  self.source_ip = source_ip
@@ -8004,6 +8265,8 @@ class DescribeInternetTrafficTrendRequest(TeaModel):
8004
8265
  # The public IP address of the source.
8005
8266
  self.src_public_ip = src_public_ip
8006
8267
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
8268
+ #
8269
+ # This parameter is required.
8007
8270
  self.start_time = start_time
8008
8271
  # The type of the traffic that is captured. Valid values:
8009
8272
  #
@@ -8163,12 +8426,14 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8163
8426
  avg_total_bps: int = None,
8164
8427
  data_list: List[DescribeInternetTrafficTrendResponseBodyDataList] = None,
8165
8428
  max_bandwidth_time: int = None,
8429
+ max_day_exceed_bytes: int = None,
8166
8430
  max_in_bps: int = None,
8167
8431
  max_out_bps: int = None,
8168
8432
  max_session: int = None,
8169
8433
  max_total_bps: int = None,
8170
8434
  request_id: str = None,
8171
8435
  total_bytes: int = None,
8436
+ total_exceed_bytes: int = None,
8172
8437
  total_in_bytes: int = None,
8173
8438
  total_out_bytes: int = None,
8174
8439
  total_session: int = None,
@@ -8185,6 +8450,7 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8185
8450
  self.data_list = data_list
8186
8451
  # The timestamp generated when the bandwidth reaches the peak value. The value is a UNIX timestamp. Unit: seconds.
8187
8452
  self.max_bandwidth_time = max_bandwidth_time
8453
+ self.max_day_exceed_bytes = max_day_exceed_bytes
8188
8454
  # The maximum inbound network throughput, which indicates the maximum number of bits that are sent inbound per second. Unit: bit/s.
8189
8455
  self.max_in_bps = max_in_bps
8190
8456
  # The maximum outbound network throughput, which indicates the maximum number of bits that are sent outbound per second. Unit: bit/s.
@@ -8197,6 +8463,7 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8197
8463
  self.request_id = request_id
8198
8464
  # The total inbound and outbound network throughput, which indicates the total number of bytes that are sent inbound and outbound. Unit: bytes.
8199
8465
  self.total_bytes = total_bytes
8466
+ self.total_exceed_bytes = total_exceed_bytes
8200
8467
  # The inbound network throughput, which indicates the total number of bytes that are sent inbound. Unit: bytes.
8201
8468
  self.total_in_bytes = total_in_bytes
8202
8469
  # The outbound network throughput, which indicates the total number of bytes that are sent outbound. Unit: bytes.
@@ -8230,6 +8497,8 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8230
8497
  result['DataList'].append(k.to_map() if k else None)
8231
8498
  if self.max_bandwidth_time is not None:
8232
8499
  result['MaxBandwidthTime'] = self.max_bandwidth_time
8500
+ if self.max_day_exceed_bytes is not None:
8501
+ result['MaxDayExceedBytes'] = self.max_day_exceed_bytes
8233
8502
  if self.max_in_bps is not None:
8234
8503
  result['MaxInBps'] = self.max_in_bps
8235
8504
  if self.max_out_bps is not None:
@@ -8242,6 +8511,8 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8242
8511
  result['RequestId'] = self.request_id
8243
8512
  if self.total_bytes is not None:
8244
8513
  result['TotalBytes'] = self.total_bytes
8514
+ if self.total_exceed_bytes is not None:
8515
+ result['TotalExceedBytes'] = self.total_exceed_bytes
8245
8516
  if self.total_in_bytes is not None:
8246
8517
  result['TotalInBytes'] = self.total_in_bytes
8247
8518
  if self.total_out_bytes is not None:
@@ -8267,6 +8538,8 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8267
8538
  self.data_list.append(temp_model.from_map(k))
8268
8539
  if m.get('MaxBandwidthTime') is not None:
8269
8540
  self.max_bandwidth_time = m.get('MaxBandwidthTime')
8541
+ if m.get('MaxDayExceedBytes') is not None:
8542
+ self.max_day_exceed_bytes = m.get('MaxDayExceedBytes')
8270
8543
  if m.get('MaxInBps') is not None:
8271
8544
  self.max_in_bps = m.get('MaxInBps')
8272
8545
  if m.get('MaxOutBps') is not None:
@@ -8279,6 +8552,8 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8279
8552
  self.request_id = m.get('RequestId')
8280
8553
  if m.get('TotalBytes') is not None:
8281
8554
  self.total_bytes = m.get('TotalBytes')
8555
+ if m.get('TotalExceedBytes') is not None:
8556
+ self.total_exceed_bytes = m.get('TotalExceedBytes')
8282
8557
  if m.get('TotalInBytes') is not None:
8283
8558
  self.total_in_bytes = m.get('TotalInBytes')
8284
8559
  if m.get('TotalOutBytes') is not None:
@@ -8944,13 +9219,15 @@ class DescribeNatFirewallControlPolicyRequest(TeaModel):
8944
9219
  # * If DestinationType is set to `net`, the value of Destination must be a CIDR block. Example: 10.0.3.0/24.
8945
9220
  # * If DestinationType is set to `domain`, the value of Destination must be a domain name. Example: aliyun.
8946
9221
  # * If DestinationType is set to `group`, the value of Destination must be the name of an address book. Example: db_group.
8947
- # * If DestinationType is set to `location`, the value of Destination is a location. For more information about location codes, see [AddControlPolicy](~~474128~~). Example: \["BJ11", "ZB"].
9222
+ # * If DestinationType is set to `location`, the value of Destination is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/474128.html). Example: ["BJ11", "ZB"].
8948
9223
  #
8949
9224
  # > If you do not specify this parameter, all types of destination addresses are queried.
8950
9225
  self.destination = destination
8951
9226
  # The direction of the traffic to which the access control policy applies. Valid values:
8952
9227
  #
8953
9228
  # * **out**: outbound traffic
9229
+ #
9230
+ # This parameter is required.
8954
9231
  self.direction = direction
8955
9232
  # The language of the content within the response. Valid values:
8956
9233
  #
@@ -8958,6 +9235,8 @@ class DescribeNatFirewallControlPolicyRequest(TeaModel):
8958
9235
  # * **en**: English
8959
9236
  self.lang = lang
8960
9237
  # The ID of the NAT gateway.
9238
+ #
9239
+ # This parameter is required.
8961
9240
  self.nat_gateway_id = nat_gateway_id
8962
9241
  # The number of entries per page. Default value: 10.
8963
9242
  self.page_size = page_size
@@ -9128,7 +9407,7 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys(TeaModel):
9128
9407
  # * If the value of **DestinationType** is **net**, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.
9129
9408
  # * If the value of **DestinationType** is **domain**, the value of this parameter is a domain name. Example: aliyuncs.com.
9130
9409
  # * If the value of **DestinationType** is **group**, the value of this parameter is the name of an address book. Example: db_group.
9131
- # * If the value of **DestinationType** is **location**, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \["BJ11", "ZB"].
9410
+ # * If the value of **DestinationType** is **location**, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/138867.html). Example: ["BJ11", "ZB"].
9132
9411
  self.destination = destination
9133
9412
  # The CIDR blocks in the destination address book.
9134
9413
  self.destination_group_cidrs = destination_group_cidrs
@@ -9184,12 +9463,12 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys(TeaModel):
9184
9463
  self.release = release
9185
9464
  # The days of a week or of a month on which the access control policy takes effect.
9186
9465
  #
9187
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \[].
9188
- # * If RepeatType is set to Weekly, this parameter must be specified. Example: \[0, 6].
9466
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: [].
9467
+ # * If RepeatType is set to Weekly, this parameter must be specified. Example: [0, 6].
9189
9468
  #
9190
9469
  # > If RepeatType is set to Weekly, the fields in the value of this parameter cannot be repeated.
9191
9470
  #
9192
- # * If RepeatType is set to `Monthly`, this parameter must be specified. Example: \[1, 31].
9471
+ # * If RepeatType is set to `Monthly`, this parameter must be specified. Example: [1, 31].
9193
9472
  #
9194
9473
  # > If RepeatType is set to Monthly, the fields in the value of this parameter cannot be repeated.
9195
9474
  self.repeat_days = repeat_days
@@ -9213,7 +9492,7 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys(TeaModel):
9213
9492
  #
9214
9493
  # * If the value of **SourceType** is `net`, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.
9215
9494
  # * If the value of **SourceType** is `group`, the value of this parameter is the name of an address book. Example: db_group.
9216
- # * If the value of **SourceType** is `location`, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \["BJ11", "ZB"].
9495
+ # * If the value of **SourceType** is `location`, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/138867.html). Example: ["BJ11", "ZB"].
9217
9496
  self.source = source
9218
9497
  # The CIDR blocks in the source address book.
9219
9498
  self.source_group_cidrs = source_group_cidrs
@@ -9355,52 +9634,314 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys(TeaModel):
9355
9634
  self.modify_time = m.get('ModifyTime')
9356
9635
  if m.get('NatGatewayId') is not None:
9357
9636
  self.nat_gateway_id = m.get('NatGatewayId')
9358
- if m.get('Order') is not None:
9359
- self.order = m.get('Order')
9360
- if m.get('Proto') is not None:
9361
- self.proto = m.get('Proto')
9362
- if m.get('Release') is not None:
9363
- self.release = m.get('Release')
9364
- if m.get('RepeatDays') is not None:
9365
- self.repeat_days = m.get('RepeatDays')
9366
- if m.get('RepeatEndTime') is not None:
9367
- self.repeat_end_time = m.get('RepeatEndTime')
9368
- if m.get('RepeatStartTime') is not None:
9369
- self.repeat_start_time = m.get('RepeatStartTime')
9370
- if m.get('RepeatType') is not None:
9371
- self.repeat_type = m.get('RepeatType')
9372
- if m.get('Source') is not None:
9373
- self.source = m.get('Source')
9374
- if m.get('SourceGroupCidrs') is not None:
9375
- self.source_group_cidrs = m.get('SourceGroupCidrs')
9376
- if m.get('SourceGroupType') is not None:
9377
- self.source_group_type = m.get('SourceGroupType')
9378
- if m.get('SourceType') is not None:
9379
- self.source_type = m.get('SourceType')
9380
- if m.get('SpreadCnt') is not None:
9381
- self.spread_cnt = m.get('SpreadCnt')
9382
- if m.get('StartTime') is not None:
9383
- self.start_time = m.get('StartTime')
9637
+ if m.get('Order') is not None:
9638
+ self.order = m.get('Order')
9639
+ if m.get('Proto') is not None:
9640
+ self.proto = m.get('Proto')
9641
+ if m.get('Release') is not None:
9642
+ self.release = m.get('Release')
9643
+ if m.get('RepeatDays') is not None:
9644
+ self.repeat_days = m.get('RepeatDays')
9645
+ if m.get('RepeatEndTime') is not None:
9646
+ self.repeat_end_time = m.get('RepeatEndTime')
9647
+ if m.get('RepeatStartTime') is not None:
9648
+ self.repeat_start_time = m.get('RepeatStartTime')
9649
+ if m.get('RepeatType') is not None:
9650
+ self.repeat_type = m.get('RepeatType')
9651
+ if m.get('Source') is not None:
9652
+ self.source = m.get('Source')
9653
+ if m.get('SourceGroupCidrs') is not None:
9654
+ self.source_group_cidrs = m.get('SourceGroupCidrs')
9655
+ if m.get('SourceGroupType') is not None:
9656
+ self.source_group_type = m.get('SourceGroupType')
9657
+ if m.get('SourceType') is not None:
9658
+ self.source_type = m.get('SourceType')
9659
+ if m.get('SpreadCnt') is not None:
9660
+ self.spread_cnt = m.get('SpreadCnt')
9661
+ if m.get('StartTime') is not None:
9662
+ self.start_time = m.get('StartTime')
9663
+ return self
9664
+
9665
+
9666
+ class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9667
+ def __init__(
9668
+ self,
9669
+ policys: List[DescribeNatFirewallControlPolicyResponseBodyPolicys] = None,
9670
+ request_id: str = None,
9671
+ total_count: str = None,
9672
+ ):
9673
+ # The information about the access control policies.
9674
+ self.policys = policys
9675
+ # The request ID.
9676
+ self.request_id = request_id
9677
+ # The total number of entries returned.
9678
+ self.total_count = total_count
9679
+
9680
+ def validate(self):
9681
+ if self.policys:
9682
+ for k in self.policys:
9683
+ if k:
9684
+ k.validate()
9685
+
9686
+ def to_map(self):
9687
+ _map = super().to_map()
9688
+ if _map is not None:
9689
+ return _map
9690
+
9691
+ result = dict()
9692
+ result['Policys'] = []
9693
+ if self.policys is not None:
9694
+ for k in self.policys:
9695
+ result['Policys'].append(k.to_map() if k else None)
9696
+ if self.request_id is not None:
9697
+ result['RequestId'] = self.request_id
9698
+ if self.total_count is not None:
9699
+ result['TotalCount'] = self.total_count
9700
+ return result
9701
+
9702
+ def from_map(self, m: dict = None):
9703
+ m = m or dict()
9704
+ self.policys = []
9705
+ if m.get('Policys') is not None:
9706
+ for k in m.get('Policys'):
9707
+ temp_model = DescribeNatFirewallControlPolicyResponseBodyPolicys()
9708
+ self.policys.append(temp_model.from_map(k))
9709
+ if m.get('RequestId') is not None:
9710
+ self.request_id = m.get('RequestId')
9711
+ if m.get('TotalCount') is not None:
9712
+ self.total_count = m.get('TotalCount')
9713
+ return self
9714
+
9715
+
9716
+ class DescribeNatFirewallControlPolicyResponse(TeaModel):
9717
+ def __init__(
9718
+ self,
9719
+ headers: Dict[str, str] = None,
9720
+ status_code: int = None,
9721
+ body: DescribeNatFirewallControlPolicyResponseBody = None,
9722
+ ):
9723
+ self.headers = headers
9724
+ self.status_code = status_code
9725
+ self.body = body
9726
+
9727
+ def validate(self):
9728
+ if self.body:
9729
+ self.body.validate()
9730
+
9731
+ def to_map(self):
9732
+ _map = super().to_map()
9733
+ if _map is not None:
9734
+ return _map
9735
+
9736
+ result = dict()
9737
+ if self.headers is not None:
9738
+ result['headers'] = self.headers
9739
+ if self.status_code is not None:
9740
+ result['statusCode'] = self.status_code
9741
+ if self.body is not None:
9742
+ result['body'] = self.body.to_map()
9743
+ return result
9744
+
9745
+ def from_map(self, m: dict = None):
9746
+ m = m or dict()
9747
+ if m.get('headers') is not None:
9748
+ self.headers = m.get('headers')
9749
+ if m.get('statusCode') is not None:
9750
+ self.status_code = m.get('statusCode')
9751
+ if m.get('body') is not None:
9752
+ temp_model = DescribeNatFirewallControlPolicyResponseBody()
9753
+ self.body = temp_model.from_map(m['body'])
9754
+ return self
9755
+
9756
+
9757
+ class DescribeNatFirewallListRequest(TeaModel):
9758
+ def __init__(
9759
+ self,
9760
+ lang: str = None,
9761
+ member_uid: int = None,
9762
+ nat_gateway_id: str = None,
9763
+ page_no: int = None,
9764
+ page_size: int = None,
9765
+ proxy_id: str = None,
9766
+ proxy_name: str = None,
9767
+ region_no: str = None,
9768
+ status: str = None,
9769
+ vpc_id: str = None,
9770
+ ):
9771
+ self.lang = lang
9772
+ self.member_uid = member_uid
9773
+ self.nat_gateway_id = nat_gateway_id
9774
+ self.page_no = page_no
9775
+ self.page_size = page_size
9776
+ self.proxy_id = proxy_id
9777
+ self.proxy_name = proxy_name
9778
+ self.region_no = region_no
9779
+ self.status = status
9780
+ self.vpc_id = vpc_id
9781
+
9782
+ def validate(self):
9783
+ pass
9784
+
9785
+ def to_map(self):
9786
+ _map = super().to_map()
9787
+ if _map is not None:
9788
+ return _map
9789
+
9790
+ result = dict()
9791
+ if self.lang is not None:
9792
+ result['Lang'] = self.lang
9793
+ if self.member_uid is not None:
9794
+ result['MemberUid'] = self.member_uid
9795
+ if self.nat_gateway_id is not None:
9796
+ result['NatGatewayId'] = self.nat_gateway_id
9797
+ if self.page_no is not None:
9798
+ result['PageNo'] = self.page_no
9799
+ if self.page_size is not None:
9800
+ result['PageSize'] = self.page_size
9801
+ if self.proxy_id is not None:
9802
+ result['ProxyId'] = self.proxy_id
9803
+ if self.proxy_name is not None:
9804
+ result['ProxyName'] = self.proxy_name
9805
+ if self.region_no is not None:
9806
+ result['RegionNo'] = self.region_no
9807
+ if self.status is not None:
9808
+ result['Status'] = self.status
9809
+ if self.vpc_id is not None:
9810
+ result['VpcId'] = self.vpc_id
9811
+ return result
9812
+
9813
+ def from_map(self, m: dict = None):
9814
+ m = m or dict()
9815
+ if m.get('Lang') is not None:
9816
+ self.lang = m.get('Lang')
9817
+ if m.get('MemberUid') is not None:
9818
+ self.member_uid = m.get('MemberUid')
9819
+ if m.get('NatGatewayId') is not None:
9820
+ self.nat_gateway_id = m.get('NatGatewayId')
9821
+ if m.get('PageNo') is not None:
9822
+ self.page_no = m.get('PageNo')
9823
+ if m.get('PageSize') is not None:
9824
+ self.page_size = m.get('PageSize')
9825
+ if m.get('ProxyId') is not None:
9826
+ self.proxy_id = m.get('ProxyId')
9827
+ if m.get('ProxyName') is not None:
9828
+ self.proxy_name = m.get('ProxyName')
9829
+ if m.get('RegionNo') is not None:
9830
+ self.region_no = m.get('RegionNo')
9831
+ if m.get('Status') is not None:
9832
+ self.status = m.get('Status')
9833
+ if m.get('VpcId') is not None:
9834
+ self.vpc_id = m.get('VpcId')
9835
+ return self
9836
+
9837
+
9838
+ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9839
+ def __init__(
9840
+ self,
9841
+ ali_uid: int = None,
9842
+ error_detail: str = None,
9843
+ member_uid: int = None,
9844
+ nat_gateway_id: str = None,
9845
+ nat_gateway_name: str = None,
9846
+ proxy_id: str = None,
9847
+ proxy_name: str = None,
9848
+ proxy_status: str = None,
9849
+ region_id: str = None,
9850
+ strict_mode: int = None,
9851
+ vpc_id: str = None,
9852
+ vpc_name: str = None,
9853
+ ):
9854
+ self.ali_uid = ali_uid
9855
+ self.error_detail = error_detail
9856
+ self.member_uid = member_uid
9857
+ self.nat_gateway_id = nat_gateway_id
9858
+ self.nat_gateway_name = nat_gateway_name
9859
+ self.proxy_id = proxy_id
9860
+ self.proxy_name = proxy_name
9861
+ self.proxy_status = proxy_status
9862
+ self.region_id = region_id
9863
+ self.strict_mode = strict_mode
9864
+ self.vpc_id = vpc_id
9865
+ self.vpc_name = vpc_name
9866
+
9867
+ def validate(self):
9868
+ pass
9869
+
9870
+ def to_map(self):
9871
+ _map = super().to_map()
9872
+ if _map is not None:
9873
+ return _map
9874
+
9875
+ result = dict()
9876
+ if self.ali_uid is not None:
9877
+ result['AliUid'] = self.ali_uid
9878
+ if self.error_detail is not None:
9879
+ result['ErrorDetail'] = self.error_detail
9880
+ if self.member_uid is not None:
9881
+ result['MemberUid'] = self.member_uid
9882
+ if self.nat_gateway_id is not None:
9883
+ result['NatGatewayId'] = self.nat_gateway_id
9884
+ if self.nat_gateway_name is not None:
9885
+ result['NatGatewayName'] = self.nat_gateway_name
9886
+ if self.proxy_id is not None:
9887
+ result['ProxyId'] = self.proxy_id
9888
+ if self.proxy_name is not None:
9889
+ result['ProxyName'] = self.proxy_name
9890
+ if self.proxy_status is not None:
9891
+ result['ProxyStatus'] = self.proxy_status
9892
+ if self.region_id is not None:
9893
+ result['RegionId'] = self.region_id
9894
+ if self.strict_mode is not None:
9895
+ result['StrictMode'] = self.strict_mode
9896
+ if self.vpc_id is not None:
9897
+ result['VpcId'] = self.vpc_id
9898
+ if self.vpc_name is not None:
9899
+ result['VpcName'] = self.vpc_name
9900
+ return result
9901
+
9902
+ def from_map(self, m: dict = None):
9903
+ m = m or dict()
9904
+ if m.get('AliUid') is not None:
9905
+ self.ali_uid = m.get('AliUid')
9906
+ if m.get('ErrorDetail') is not None:
9907
+ self.error_detail = m.get('ErrorDetail')
9908
+ if m.get('MemberUid') is not None:
9909
+ self.member_uid = m.get('MemberUid')
9910
+ if m.get('NatGatewayId') is not None:
9911
+ self.nat_gateway_id = m.get('NatGatewayId')
9912
+ if m.get('NatGatewayName') is not None:
9913
+ self.nat_gateway_name = m.get('NatGatewayName')
9914
+ if m.get('ProxyId') is not None:
9915
+ self.proxy_id = m.get('ProxyId')
9916
+ if m.get('ProxyName') is not None:
9917
+ self.proxy_name = m.get('ProxyName')
9918
+ if m.get('ProxyStatus') is not None:
9919
+ self.proxy_status = m.get('ProxyStatus')
9920
+ if m.get('RegionId') is not None:
9921
+ self.region_id = m.get('RegionId')
9922
+ if m.get('StrictMode') is not None:
9923
+ self.strict_mode = m.get('StrictMode')
9924
+ if m.get('VpcId') is not None:
9925
+ self.vpc_id = m.get('VpcId')
9926
+ if m.get('VpcName') is not None:
9927
+ self.vpc_name = m.get('VpcName')
9384
9928
  return self
9385
9929
 
9386
9930
 
9387
- class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9931
+ class DescribeNatFirewallListResponseBody(TeaModel):
9388
9932
  def __init__(
9389
9933
  self,
9390
- policys: List[DescribeNatFirewallControlPolicyResponseBodyPolicys] = None,
9934
+ nat_firewall_list: List[DescribeNatFirewallListResponseBodyNatFirewallList] = None,
9391
9935
  request_id: str = None,
9392
- total_count: str = None,
9936
+ total_count: int = None,
9393
9937
  ):
9394
- # The information about the access control policies.
9395
- self.policys = policys
9396
- # The request ID.
9938
+ self.nat_firewall_list = nat_firewall_list
9397
9939
  self.request_id = request_id
9398
- # The total number of entries returned.
9399
9940
  self.total_count = total_count
9400
9941
 
9401
9942
  def validate(self):
9402
- if self.policys:
9403
- for k in self.policys:
9943
+ if self.nat_firewall_list:
9944
+ for k in self.nat_firewall_list:
9404
9945
  if k:
9405
9946
  k.validate()
9406
9947
 
@@ -9410,10 +9951,10 @@ class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9410
9951
  return _map
9411
9952
 
9412
9953
  result = dict()
9413
- result['Policys'] = []
9414
- if self.policys is not None:
9415
- for k in self.policys:
9416
- result['Policys'].append(k.to_map() if k else None)
9954
+ result['NatFirewallList'] = []
9955
+ if self.nat_firewall_list is not None:
9956
+ for k in self.nat_firewall_list:
9957
+ result['NatFirewallList'].append(k.to_map() if k else None)
9417
9958
  if self.request_id is not None:
9418
9959
  result['RequestId'] = self.request_id
9419
9960
  if self.total_count is not None:
@@ -9422,11 +9963,11 @@ class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9422
9963
 
9423
9964
  def from_map(self, m: dict = None):
9424
9965
  m = m or dict()
9425
- self.policys = []
9426
- if m.get('Policys') is not None:
9427
- for k in m.get('Policys'):
9428
- temp_model = DescribeNatFirewallControlPolicyResponseBodyPolicys()
9429
- self.policys.append(temp_model.from_map(k))
9966
+ self.nat_firewall_list = []
9967
+ if m.get('NatFirewallList') is not None:
9968
+ for k in m.get('NatFirewallList'):
9969
+ temp_model = DescribeNatFirewallListResponseBodyNatFirewallList()
9970
+ self.nat_firewall_list.append(temp_model.from_map(k))
9430
9971
  if m.get('RequestId') is not None:
9431
9972
  self.request_id = m.get('RequestId')
9432
9973
  if m.get('TotalCount') is not None:
@@ -9434,12 +9975,12 @@ class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9434
9975
  return self
9435
9976
 
9436
9977
 
9437
- class DescribeNatFirewallControlPolicyResponse(TeaModel):
9978
+ class DescribeNatFirewallListResponse(TeaModel):
9438
9979
  def __init__(
9439
9980
  self,
9440
9981
  headers: Dict[str, str] = None,
9441
9982
  status_code: int = None,
9442
- body: DescribeNatFirewallControlPolicyResponseBody = None,
9983
+ body: DescribeNatFirewallListResponseBody = None,
9443
9984
  ):
9444
9985
  self.headers = headers
9445
9986
  self.status_code = status_code
@@ -9470,7 +10011,7 @@ class DescribeNatFirewallControlPolicyResponse(TeaModel):
9470
10011
  if m.get('statusCode') is not None:
9471
10012
  self.status_code = m.get('statusCode')
9472
10013
  if m.get('body') is not None:
9473
- temp_model = DescribeNatFirewallControlPolicyResponseBody()
10014
+ temp_model = DescribeNatFirewallListResponseBody()
9474
10015
  self.body = temp_model.from_map(m['body'])
9475
10016
  return self
9476
10017
 
@@ -9488,6 +10029,8 @@ class DescribeNatFirewallPolicyPriorUsedRequest(TeaModel):
9488
10029
  # Valid values:
9489
10030
  #
9490
10031
  # * **out**: outbound traffic
10032
+ #
10033
+ # This parameter is required.
9491
10034
  self.direction = direction
9492
10035
  # The IP version supported by the access control policy. Valid values:
9493
10036
  #
@@ -9499,6 +10042,8 @@ class DescribeNatFirewallPolicyPriorUsedRequest(TeaModel):
9499
10042
  # * **en**: English
9500
10043
  self.lang = lang
9501
10044
  # The ID of the NAT gateway.
10045
+ #
10046
+ # This parameter is required.
9502
10047
  self.nat_gateway_id = nat_gateway_id
9503
10048
 
9504
10049
  def validate(self):
@@ -9669,6 +10214,8 @@ class DescribeOutgoingDestinationIPRequest(TeaModel):
9669
10214
  # The destination IP address in the outbound connection that is initiated to access a domain name.
9670
10215
  self.dst_ip = dst_ip
9671
10216
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
10217
+ #
10218
+ # This parameter is required.
9672
10219
  self.end_time = end_time
9673
10220
  # The language of the content within the response. Valid values:
9674
10221
  #
@@ -9696,6 +10243,8 @@ class DescribeOutgoingDestinationIPRequest(TeaModel):
9696
10243
  # * **TotalBytes**: the total volume of traffic.
9697
10244
  self.sort = sort
9698
10245
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
10246
+ #
10247
+ # This parameter is required.
9699
10248
  self.start_time = start_time
9700
10249
  # The ID of the tag. Valid values:
9701
10250
  #
@@ -9728,7 +10277,7 @@ class DescribeOutgoingDestinationIPRequest(TeaModel):
9728
10277
  # * **Rogue**: rogue software
9729
10278
  # * **Botnet**: botnet
9730
10279
  # * **Suspicious**: suspicious website
9731
- # * **C\&C**: command and control (C\&C)
10280
+ # * **C\\&C**: command and control (C\\&C)
9732
10281
  # * **Gang**: gang
9733
10282
  # * **CVE**: Common Vulnerabilities and Exposures (CVE)
9734
10283
  # * **Backdoor**: webshell
@@ -10313,6 +10862,8 @@ class DescribeOutgoingDomainRequest(TeaModel):
10313
10862
  # The domain name in outbound connections.
10314
10863
  self.domain = domain
10315
10864
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
10865
+ #
10866
+ # This parameter is required.
10316
10867
  self.end_time = end_time
10317
10868
  # The language of the content within the request. Valid values:
10318
10869
  #
@@ -10336,6 +10887,8 @@ class DescribeOutgoingDomainRequest(TeaModel):
10336
10887
  # * **TotalBytes**: the total volume of traffic.
10337
10888
  self.sort = sort
10338
10889
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
10890
+ #
10891
+ # This parameter is required.
10339
10892
  self.start_time = start_time
10340
10893
  # The ID of the tag. Valid values:
10341
10894
  #
@@ -10368,7 +10921,7 @@ class DescribeOutgoingDomainRequest(TeaModel):
10368
10921
  # * **Rogue**: rogue software
10369
10922
  # * **Botnet**: botnet
10370
10923
  # * **Suspicious**: suspicious website
10371
- # * **C\&C**: command and control (C\&C)
10924
+ # * **C\\&C**: command and control (C\\&C)
10372
10925
  # * **Gang**: gang
10373
10926
  # * **CVE**: Common Vulnerabilities and Exposures (CVE)
10374
10927
  # * **Backdoor**: webshell
@@ -10950,6 +11503,8 @@ class DescribePolicyPriorUsedRequest(TeaModel):
10950
11503
  #
10951
11504
  # * **in**: inbound traffic
10952
11505
  # * **out**: outbound traffic
11506
+ #
11507
+ # This parameter is required.
10953
11508
  self.direction = direction
10954
11509
  # The IP version of the asset that is protected by Cloud Firewall.
10955
11510
  #
@@ -11102,6 +11657,8 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
11102
11657
  # The page number. Default value: 1.
11103
11658
  self.current_page = current_page
11104
11659
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
11660
+ #
11661
+ # This parameter is required.
11105
11662
  self.end_time = end_time
11106
11663
  # The language of the content within the request and response. Valid values:
11107
11664
  #
@@ -11118,11 +11675,15 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
11118
11675
  # The instance ID or the IP address of the asset.
11119
11676
  self.search_item = search_item
11120
11677
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
11678
+ #
11679
+ # This parameter is required.
11121
11680
  self.start_time = start_time
11122
11681
  # The traffic type. This parameter is required. Valid values:
11123
11682
  #
11124
11683
  # * **EIP_TRAFFIC**: traffic for the Internet firewall
11125
11684
  # * **NatGateway_TRAFFIC**: traffic for the NAT firewall
11685
+ #
11686
+ # This parameter is required.
11126
11687
  self.traffic_type = traffic_type
11127
11688
 
11128
11689
  def validate(self):
@@ -11719,8 +12280,10 @@ class DescribeRiskEventGroupRequest(TeaModel):
11719
12280
  self.buy_version = buy_version
11720
12281
  # The number of the page to return. Default value: **1**.
11721
12282
  self.current_page = current_page
11722
- # The type of the risk events.\
12283
+ # The type of the risk events.\\
11723
12284
  # Set the value to **session**, which indicates intrusion events.
12285
+ #
12286
+ # This parameter is required.
11724
12287
  self.data_type = data_type
11725
12288
  # The direction of the traffic for the intrusion events. Valid values:
11726
12289
  #
@@ -11736,6 +12299,8 @@ class DescribeRiskEventGroupRequest(TeaModel):
11736
12299
  # > If the FirewallType parameter is set to VpcFirewall, you must specify this parameter.
11737
12300
  self.dst_network_instance_id = dst_network_instance_id
11738
12301
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
12302
+ #
12303
+ # This parameter is required.
11739
12304
  self.end_time = end_time
11740
12305
  # The name of the intrusion event.
11741
12306
  self.event_name = event_name
@@ -11790,6 +12355,8 @@ class DescribeRiskEventGroupRequest(TeaModel):
11790
12355
  # > If the FirewallType parameter is set to VpcFirewall, you must specify this parameter.
11791
12356
  self.src_network_instance_id = src_network_instance_id
11792
12357
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
12358
+ #
12359
+ # This parameter is required.
11793
12360
  self.start_time = start_time
11794
12361
  # The risk level of the intrusion events. Valid values:
11795
12362
  #
@@ -12176,12 +12743,12 @@ class DescribeRiskEventGroupResponseBodyDataList(TeaModel):
12176
12743
  self.event_name = event_name
12177
12744
  # The time when the intrusion event was first detected. The value is a UNIX timestamp. Unit: seconds.
12178
12745
  self.first_event_time = first_event_time
12179
- # The geographical information about the IP address. The value is a struct that contains the following parameters: **CityId**, **CityName**, **CountryId**, and **CountryName**.\
12746
+ # The geographical information about the IP address. The value is a struct that contains the following parameters: **CityId**, **CityName**, **CountryId**, and **CountryName**.\\
12180
12747
  # ****************\
12181
12748
  self.iplocation_info = iplocation_info
12182
12749
  # The time when the intrusion event was last detected. The value is a UNIX timestamp. Unit: seconds.
12183
12750
  self.last_event_time = last_event_time
12184
- # The information about the private IP address in the intrusion event. The value is an array that contains the following parameters: **RegionNo**, **ResourceInstanceId**, **ResourceInstanceName**, and **ResourcePrivateIP**.\
12751
+ # The information about the private IP address in the intrusion event. The value is an array that contains the following parameters: **RegionNo**, **ResourceInstanceId**, **ResourceInstanceName**, and **ResourcePrivateIP**.\\
12185
12752
  # ****************\
12186
12753
  self.resource_private_iplist = resource_private_iplist
12187
12754
  # The type of the public IP address in the intrusion event. Valid values:
@@ -12213,10 +12780,10 @@ class DescribeRiskEventGroupResponseBodyDataList(TeaModel):
12213
12780
  self.src_private_iplist = src_private_iplist
12214
12781
  # The tag added to the threat intelligence that is provided for major events.
12215
12782
  self.tag = tag
12216
- # The information about the destination VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\
12783
+ # The information about the destination VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\\
12217
12784
  # ********************\
12218
12785
  self.vpc_dst_info = vpc_dst_info
12219
- # The information about the source VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\
12786
+ # The information about the source VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\\
12220
12787
  # ********************\
12221
12788
  self.vpc_src_info = vpc_src_info
12222
12789
  # The risk level of the intrusion event. Valid values:
@@ -12460,6 +13027,8 @@ class DescribeRiskEventPayloadRequest(TeaModel):
12460
13027
  # The ID of the destination VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the destination VPC are queried.
12461
13028
  self.dst_vpc_id = dst_vpc_id
12462
13029
  # The end of the time range to query. The value is a timestamp. Unit: seconds.
13030
+ #
13031
+ # This parameter is required.
12463
13032
  self.end_time = end_time
12464
13033
  # The type of the firewall. Valid values:
12465
13034
  #
@@ -12473,8 +13042,12 @@ class DescribeRiskEventPayloadRequest(TeaModel):
12473
13042
  # The ID of the source VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the source VPC are queried.
12474
13043
  self.src_vpc_id = src_vpc_id
12475
13044
  # The beginning of the time range to query. The value is a timestamp. Unit: seconds.
13045
+ #
13046
+ # This parameter is required.
12476
13047
  self.start_time = start_time
12477
13048
  # The UUID of the intrusion event.
13049
+ #
13050
+ # This parameter is required.
12478
13051
  self.uuid = uuid
12479
13052
 
12480
13053
  def validate(self):
@@ -14385,6 +14958,8 @@ class DescribeUserAssetIPTrafficInfoRequest(TeaModel):
14385
14958
  traffic_time: str = None,
14386
14959
  ):
14387
14960
  # The IP address of the asset.
14961
+ #
14962
+ # This parameter is required.
14388
14963
  self.asset_ip = asset_ip
14389
14964
  # The language of the content within the response. Valid values:
14390
14965
  #
@@ -14392,6 +14967,8 @@ class DescribeUserAssetIPTrafficInfoRequest(TeaModel):
14392
14967
  # * **en**: English
14393
14968
  self.lang = lang
14394
14969
  # The time range to query. The value is a UNIX timestamp. Unit: seconds.
14970
+ #
14971
+ # This parameter is required.
14395
14972
  self.traffic_time = traffic_time
14396
14973
 
14397
14974
  def validate(self):
@@ -14850,11 +15427,11 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList(TeaModel):
14850
15427
  #
14851
15428
  # * If the VPC firewall is used to protect a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance.
14852
15429
  #
14853
- # Example: cen-ervw0g12b5jbw\*\*\*\*\
15430
+ # Example: cen-ervw0g12b5jbw\\*\\*\\*\\*\
14854
15431
  #
14855
15432
  # * If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.
14856
15433
  #
14857
- # Example: vfw-a42bbb7b887148c9\*\*\*\*\
15434
+ # Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*\
14858
15435
  self.acl_group_id = acl_group_id
14859
15436
  # The name of the policy group. Valid values:
14860
15437
  #
@@ -15013,7 +15590,9 @@ class DescribeVpcFirewallCenDetailRequest(TeaModel):
15013
15590
  self.network_instance_id = network_instance_id
15014
15591
  # The instance ID of the VPC firewall.
15015
15592
  #
15016
- # > You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.
15593
+ # > You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the instance IDs of VPC firewalls.
15594
+ #
15595
+ # This parameter is required.
15017
15596
  self.vpc_firewall_id = vpc_firewall_id
15018
15597
 
15019
15598
  def validate(self):
@@ -15564,7 +16143,7 @@ class DescribeVpcFirewallCenListRequest(TeaModel):
15564
16143
  self.page_size = page_size
15565
16144
  # The region ID of the VPC.
15566
16145
  #
15567
- # > For more information about the regions, see [Supported regions](~~195657~~).
16146
+ # > For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
15568
16147
  self.region_no = region_no
15569
16148
  # The routing mode of the VPC firewall. Valid values:
15570
16149
  #
@@ -16166,6 +16745,8 @@ class DescribeVpcFirewallControlPolicyRequest(TeaModel):
16166
16745
  # The unique ID of the access control policy.
16167
16746
  self.acl_uuid = acl_uuid
16168
16747
  # The number of the page to return.
16748
+ #
16749
+ # This parameter is required.
16169
16750
  self.current_page = current_page
16170
16751
  # The description of the access control policy. Fuzzy match is supported.
16171
16752
  self.description = description
@@ -16185,6 +16766,8 @@ class DescribeVpcFirewallControlPolicyRequest(TeaModel):
16185
16766
  # The number of entries to return on each page.
16186
16767
  #
16187
16768
  # Maximum value: 50.
16769
+ #
16770
+ # This parameter is required.
16188
16771
  self.page_size = page_size
16189
16772
  # The protocol type in the access control policy. Valid values:
16190
16773
  #
@@ -16217,7 +16800,9 @@ class DescribeVpcFirewallControlPolicyRequest(TeaModel):
16217
16800
  # * If the VPC firewall protects the traffic between two VPCs that are connected by using a CEN instance, the value of this parameter must be the ID of the CEN instance.
16218
16801
  # * If the VPC firewall protects the traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.
16219
16802
  #
16220
- # > You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.
16803
+ # > You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the ID.
16804
+ #
16805
+ # This parameter is required.
16221
16806
  self.vpc_firewall_id = vpc_firewall_id
16222
16807
 
16223
16808
  def validate(self):
@@ -16418,12 +17003,12 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys(TeaModel):
16418
17003
  self.release = release
16419
17004
  # The days of a week or of a month on which the access control policy takes effect.
16420
17005
  #
16421
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \[].
16422
- # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: \[0, 6].
17006
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: [].
17007
+ # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: [0, 6].
16423
17008
  #
16424
17009
  # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
16425
17010
  #
16426
- # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \[1, 31].
17011
+ # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: [1, 31].
16427
17012
  #
16428
17013
  # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
16429
17014
  self.repeat_days = repeat_days
@@ -16713,8 +17298,10 @@ class DescribeVpcFirewallDefaultIPSConfigRequest(TeaModel):
16713
17298
  self.member_uid = member_uid
16714
17299
  # The instance ID of the VPC firewall. Valid values:
16715
17300
  #
16716
- # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the IDs of CEN instances.
16717
- # * If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall. You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
17301
+ # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the IDs of CEN instances.
17302
+ # * If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall. You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
17303
+ #
17304
+ # This parameter is required.
16718
17305
  self.vpc_firewall_id = vpc_firewall_id
16719
17306
 
16720
17307
  def validate(self):
@@ -16859,7 +17446,9 @@ class DescribeVpcFirewallDetailRequest(TeaModel):
16859
17446
  self.peer_vpc_id = peer_vpc_id
16860
17447
  # The instance ID of the VPC firewall.
16861
17448
  #
16862
- # > You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
17449
+ # > You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
17450
+ #
17451
+ # This parameter is required.
16863
17452
  self.vpc_firewall_id = vpc_firewall_id
16864
17453
 
16865
17454
  def validate(self):
@@ -17358,6 +17947,8 @@ class DescribeVpcFirewallIPSWhitelistRequest(TeaModel):
17358
17947
  # The UID of the member in Cloud Firewall.
17359
17948
  self.member_uid = member_uid
17360
17949
  # The instance ID of the VPC firewall.
17950
+ #
17951
+ # This parameter is required.
17361
17952
  self.vpc_firewall_id = vpc_firewall_id
17362
17953
 
17363
17954
  def validate(self):
@@ -17582,7 +18173,7 @@ class DescribeVpcFirewallListRequest(TeaModel):
17582
18173
  self.peer_uid = peer_uid
17583
18174
  # The region ID of the VPC.
17584
18175
  #
17585
- # > For more information about the regions, see [Supported regions](~~195657~~).
18176
+ # > For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
17586
18177
  self.region_no = region_no
17587
18178
  # The instance ID of the VPC firewall.
17588
18179
  self.vpc_firewall_id = vpc_firewall_id
@@ -18241,6 +18832,8 @@ class DescribeVpcFirewallPolicyPriorUsedRequest(TeaModel):
18241
18832
  # - If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the ID of the VPC firewall instance.
18242
18833
  #
18243
18834
  # Example: vfw-a42bbb7b887148c9****\
18835
+ #
18836
+ # This parameter is required.
18244
18837
  self.vpc_firewall_id = vpc_firewall_id
18245
18838
 
18246
18839
  def validate(self):
@@ -18366,7 +18959,7 @@ class DescribeVpcListLiteRequest(TeaModel):
18366
18959
  self.lang = lang
18367
18960
  # The region ID of the VPC.
18368
18961
  #
18369
- # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
18962
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
18370
18963
  self.region_no = region_no
18371
18964
  # The source IP address of the request.
18372
18965
  self.source_ip = source_ip
@@ -18762,6 +19355,8 @@ class DescribeVulnerabilityProtectedListRequest(TeaModel):
18762
19355
  # The number of the page to return. Default value: 1.
18763
19356
  self.current_page = current_page
18764
19357
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
19358
+ #
19359
+ # This parameter is required.
18765
19360
  self.end_time = end_time
18766
19361
  # The language of the content within the response. Valid values:
18767
19362
  #
@@ -18782,6 +19377,8 @@ class DescribeVulnerabilityProtectedListRequest(TeaModel):
18782
19377
  # The IP address of the access source.
18783
19378
  self.source_ip = source_ip
18784
19379
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
19380
+ #
19381
+ # This parameter is required.
18785
19382
  self.start_time = start_time
18786
19383
  # The type of the user. Set the value to **buy**, which indicates user of a paid edition of Cloud Firewall.
18787
19384
  self.user_type = user_type
@@ -18912,7 +19509,7 @@ class DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList(TeaMode
18912
19509
  self.intranet_ip = intranet_ip
18913
19510
  # The region ID of your Cloud Firewall.
18914
19511
  #
18915
- # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
19512
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
18916
19513
  self.region_id = region_id
18917
19514
  # The ID of the instance.
18918
19515
  self.resource_id = resource_id
@@ -19366,12 +19963,18 @@ class ModifyAddressBookRequest(TeaModel):
19366
19963
  # * **0**: no
19367
19964
  self.auto_add_tag_ecs = auto_add_tag_ecs
19368
19965
  # The description of the address book.
19966
+ #
19967
+ # This parameter is required.
19369
19968
  self.description = description
19370
19969
  # The name of the address book.
19970
+ #
19971
+ # This parameter is required.
19371
19972
  self.group_name = group_name
19372
19973
  # The ID of the address book.
19373
19974
  #
19374
- # > To modify the address book, you must provide the ID of the address book. You can call the [DescribeAddressBook](~~138869~~) operation to query the ID.
19975
+ # > To modify the address book, you must provide the ID of the address book. You can call the [DescribeAddressBook](https://help.aliyun.com/document_detail/138869.html) operation to query the ID.
19976
+ #
19977
+ # This parameter is required.
19375
19978
  self.group_uuid = group_uuid
19376
19979
  # The language of the content within the request and response. Valid values:
19377
19980
  #
@@ -19548,10 +20151,14 @@ class ModifyControlPolicyRequest(TeaModel):
19548
20151
  # * **accept**: allows the traffic.
19549
20152
  # * **drop**: denies the traffic.
19550
20153
  # * **log**: monitors the traffic.
20154
+ #
20155
+ # This parameter is required.
19551
20156
  self.acl_action = acl_action
19552
20157
  # The UUID of the access control policy.
19553
20158
  #
19554
- # > To modify an access control policy, you must specify the UUID of the policy. You can call the [DescribeControlPolicy](~~138866~~) interface to query the UUID.
20159
+ # > To modify an access control policy, you must specify the UUID of the policy. You can call the [DescribeControlPolicy](https://help.aliyun.com/document_detail/138866.html) interface to query the UUID.
20160
+ #
20161
+ # This parameter is required.
19555
20162
  self.acl_uuid = acl_uuid
19556
20163
  # The type of the application that the access control policy supports. Valid values:
19557
20164
  #
@@ -19575,6 +20182,8 @@ class ModifyControlPolicyRequest(TeaModel):
19575
20182
  # The application names.
19576
20183
  self.application_name_list = application_name_list
19577
20184
  # The description of the access control policy.
20185
+ #
20186
+ # This parameter is required.
19578
20187
  self.description = description
19579
20188
  # The destination port in the access control policy.
19580
20189
  self.dest_port = dest_port
@@ -19589,8 +20198,10 @@ class ModifyControlPolicyRequest(TeaModel):
19589
20198
  #
19590
20199
  # * If **DestinationType** is set to net, the value of **Destination** is a CIDR block. Example: 1.2.XX.XX/24.
19591
20200
  # * If **DestinationType** is set to group, the value of **Destination** is an address book. Example: db_group.
19592
- # * If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \*.aliyuncs.com.
19593
- # * If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: \["BJ11", "ZB"].
20201
+ # * If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \\*.aliyuncs.com.
20202
+ # * If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: ["BJ11", "ZB"].
20203
+ #
20204
+ # This parameter is required.
19594
20205
  self.destination = destination
19595
20206
  # The type of the destination address in the access control policy. Valid values:
19596
20207
  #
@@ -19598,11 +20209,15 @@ class ModifyControlPolicyRequest(TeaModel):
19598
20209
  # * **group**: address book
19599
20210
  # * **domain**: domain name
19600
20211
  # * **location**: location
20212
+ #
20213
+ # This parameter is required.
19601
20214
  self.destination_type = destination_type
19602
20215
  # The direction of the traffic to which the access control policy applies. Valid values:
19603
20216
  #
19604
20217
  # * **in**: inbound traffic
19605
20218
  # * **out**: outbound traffic
20219
+ #
20220
+ # This parameter is required.
19606
20221
  self.direction = direction
19607
20222
  # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.
19608
20223
  #
@@ -19621,6 +20236,8 @@ class ModifyControlPolicyRequest(TeaModel):
19621
20236
  # * **ICMP**\
19622
20237
  #
19623
20238
  # > The value *ANY* indicates all types of applications.
20239
+ #
20240
+ # This parameter is required.
19624
20241
  self.proto = proto
19625
20242
  # The status of the access control policy. Valid values:
19626
20243
  #
@@ -19629,12 +20246,12 @@ class ModifyControlPolicyRequest(TeaModel):
19629
20246
  self.release = release
19630
20247
  # The days of a week or of a month on which the access control policy takes effect.
19631
20248
  #
19632
- # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \[]
19633
- # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6]
20249
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: []
20250
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: [0, 6]
19634
20251
  #
19635
20252
  # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
19636
20253
  #
19637
- # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31]
20254
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: [1, 31]
19638
20255
  #
19639
20256
  # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
19640
20257
  self.repeat_days = repeat_days
@@ -19658,13 +20275,17 @@ class ModifyControlPolicyRequest(TeaModel):
19658
20275
  #
19659
20276
  # * If **SourceType** is set to net, the value of **Source** is a CIDR block. Example: 1.2.XX.XX/24.
19660
20277
  # * If **SourceType** is set to group, the value of **Source** is an address book. Example: db_group.
19661
- # * If **SourceType** is set to location, the value of **Source** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: \["BJ11", "ZB"]
20278
+ # * If **SourceType** is set to location, the value of **Source** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: ["BJ11", "ZB"]
20279
+ #
20280
+ # This parameter is required.
19662
20281
  self.source = source
19663
20282
  # The type of the source address in the access control policy. Valid values:
19664
20283
  #
19665
20284
  # * **net**: CIDR block
19666
20285
  # * **group**: address book
19667
20286
  # * **location**: location
20287
+ #
20288
+ # This parameter is required.
19668
20289
  self.source_type = source_type
19669
20290
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
19670
20291
  #
@@ -19857,6 +20478,8 @@ class ModifyControlPolicyPositionRequest(TeaModel):
19857
20478
  #
19858
20479
  # * in: inbound traffic
19859
20480
  # * out: outbound traffic
20481
+ #
20482
+ # This parameter is required.
19860
20483
  self.direction = direction
19861
20484
  # The language of the content within the response. Valid values:
19862
20485
  #
@@ -19865,9 +20488,13 @@ class ModifyControlPolicyPositionRequest(TeaModel):
19865
20488
  self.lang = lang
19866
20489
  # The new priority of the IPv4 access control policy. You must specify a numeric value for this parameter. The value 1 indicates the highest priority. A larger value indicates a lower priority.
19867
20490
  #
19868
- # > The new priority cannot exceed the priority range of the IPv4 access control policy. Otherwise, an error occurs when you call this operation. Before you call this operation, we recommend that you use the [DescribePolicyPriorUsed](~~138862~~) operation to query the priority range of the IPv4 access control policy in the specified direction.
20491
+ # > The new priority cannot exceed the priority range of the IPv4 access control policy. Otherwise, an error occurs when you call this operation. Before you call this operation, we recommend that you use the [DescribePolicyPriorUsed](https://help.aliyun.com/document_detail/138862.html) operation to query the priority range of the IPv4 access control policy in the specified direction.
20492
+ #
20493
+ # This parameter is required.
19869
20494
  self.new_order = new_order
19870
20495
  # The original priority of the IPv4 access control policy.
20496
+ #
20497
+ # This parameter is required.
19871
20498
  self.old_order = old_order
19872
20499
  # The source IP address of the request.
19873
20500
  self.source_ip = source_ip
@@ -19992,13 +20619,16 @@ class ModifyDefaultIPSConfigRequest(TeaModel):
19992
20619
  source_ip: str = None,
19993
20620
  ):
19994
20621
  self.ai_rules = ai_rules
20622
+ # This parameter is required.
19995
20623
  self.basic_rules = basic_rules
20624
+ # This parameter is required.
19996
20625
  self.cti_rules = cti_rules
19997
20626
  self.enable_all_patch = enable_all_patch
19998
20627
  self.enable_default = enable_default
19999
20628
  self.lang = lang
20000
20629
  self.patch_rules = patch_rules
20001
20630
  self.rule_class = rule_class
20631
+ # This parameter is required.
20002
20632
  self.run_mode = run_mode
20003
20633
  self.source_ip = source_ip
20004
20634
 
@@ -20267,8 +20897,12 @@ class ModifyInstanceMemberAttributesRequestMembers(TeaModel):
20267
20897
  member_uid: int = None,
20268
20898
  ):
20269
20899
  # The remarks of the member in Cloud Firewall.
20900
+ #
20901
+ # This parameter is required.
20270
20902
  self.member_desc = member_desc
20271
20903
  # The UID of the member in Cloud Firewall.
20904
+ #
20905
+ # This parameter is required.
20272
20906
  self.member_uid = member_uid
20273
20907
 
20274
20908
  def validate(self):
@@ -20301,6 +20935,8 @@ class ModifyInstanceMemberAttributesRequest(TeaModel):
20301
20935
  members: List[ModifyInstanceMemberAttributesRequestMembers] = None,
20302
20936
  ):
20303
20937
  # The members that to be modified.
20938
+ #
20939
+ # This parameter is required.
20304
20940
  self.members = members
20305
20941
 
20306
20942
  def validate(self):
@@ -20432,16 +21068,22 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20432
21068
  # * **accept**: allows the traffic.
20433
21069
  # * **drop**: denies the traffic.
20434
21070
  # * **log**: monitors the traffic.
21071
+ #
21072
+ # This parameter is required.
20435
21073
  self.acl_action = acl_action
20436
21074
  # The UUID of the access control policy.
20437
21075
  #
20438
21076
  # To modify the configurations of an access control policy, you must provide the UUID of the policy. You can call the DescribeNatFirewallControlPolicy operation to query the UUIDs of access control policies.
21077
+ #
21078
+ # This parameter is required.
20439
21079
  self.acl_uuid = acl_uuid
20440
21080
  # The name of the application.
20441
21081
  self.application_name_list = application_name_list
20442
21082
  # The description of the access control policy. Fuzzy match is supported.
20443
21083
  #
20444
21084
  # > If you do not specify this parameter, the descriptions of all policies are queried.
21085
+ #
21086
+ # This parameter is required.
20445
21087
  self.description = description
20446
21088
  # The destination port in the access control policy.
20447
21089
  #
@@ -20458,21 +21100,25 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20458
21100
  #
20459
21101
  # * If **DestinationType** is set to net, the value of **Destination** is a CIDR block. Example: 1.2.3.4/24
20460
21102
  # * If **DestinationType** is set to group, the value of **Destination** is an address book. Example: db_group
20461
- # * If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \*.aliyuncs.com
20462
- # * If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: \["BJ11", "ZB"]
21103
+ # * If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \\*.aliyuncs.com
21104
+ # * If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: ["BJ11", "ZB"]
21105
+ #
21106
+ # This parameter is required.
20463
21107
  self.destination = destination
20464
21108
  # The type of the destination address in the access control policy. Valid values:
20465
21109
  #
20466
21110
  # * **net**: CIDR block
20467
21111
  # * **group**: address book
20468
21112
  # * **domain**: domain name
20469
- # * **location**\
21113
+ # * **location**: destination location
21114
+ #
21115
+ # This parameter is required.
20470
21116
  self.destination_type = destination_type
20471
21117
  # The direction of the traffic to which the access control policy applies.
20472
21118
  #
20473
21119
  # * Set the value to **out**.
20474
21120
  self.direction = direction
20475
- # The domain name resolution method of the access control policy. By default, an access control policy is enabled after it is created. Valid values:
21121
+ # The domain name resolution method of the access control policy. Valid values:
20476
21122
  #
20477
21123
  # * **0**: Fully qualified domain name (FQDN)-based resolution
20478
21124
  # * **1**: Domain Name System (DNS)-based dynamic resolution
@@ -20488,6 +21134,8 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20488
21134
  # * **en**: English
20489
21135
  self.lang = lang
20490
21136
  # The ID of the NAT gateway.
21137
+ #
21138
+ # This parameter is required.
20491
21139
  self.nat_gateway_id = nat_gateway_id
20492
21140
  # The protocol type supported by the access control policy. Valid values:
20493
21141
  #
@@ -20497,6 +21145,8 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20497
21145
  # * **ICMP**\
20498
21146
  #
20499
21147
  # > The value **ANY** indicates all types of protocols.
21148
+ #
21149
+ # This parameter is required.
20500
21150
  self.proto = proto
20501
21151
  # The status of the access control policy. Valid values:
20502
21152
  #
@@ -20505,12 +21155,12 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20505
21155
  self.release = release
20506
21156
  # The days of a week or of a month on which the access control policy takes effect.
20507
21157
  #
20508
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \[].
20509
- # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: \[0, 6].
21158
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: [].
21159
+ # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: [0, 6].
20510
21160
  #
20511
21161
  # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
20512
21162
  #
20513
- # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \[1, 31].
21163
+ # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: [1, 31].
20514
21164
  #
20515
21165
  # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
20516
21166
  self.repeat_days = repeat_days
@@ -20534,11 +21184,15 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20534
21184
  #
20535
21185
  # * If **SourceType** is set to `net`, the value of this parameter is a CIDR block. Example: 10.2.XX.XX/24.
20536
21186
  # * If **SourceType** is set to `group`, the value of this parameter is an address book name. Example: db_group.
21187
+ #
21188
+ # This parameter is required.
20537
21189
  self.source = source
20538
21190
  # The type of the source address in the access control policy. Valid values:
20539
21191
  #
20540
21192
  # * **net**: CIDR block
20541
21193
  # * **group**: address book
21194
+ #
21195
+ # This parameter is required.
20542
21196
  self.source_type = source_type
20543
21197
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
20544
21198
  #
@@ -20732,6 +21386,8 @@ class ModifyNatFirewallControlPolicyPositionRequest(TeaModel):
20732
21386
  new_order: int = None,
20733
21387
  ):
20734
21388
  # The UUID of the access control policy.
21389
+ #
21390
+ # This parameter is required.
20735
21391
  self.acl_uuid = acl_uuid
20736
21392
  # The direction of the traffic to which the access control policy applies.
20737
21393
  #
@@ -20743,12 +21399,16 @@ class ModifyNatFirewallControlPolicyPositionRequest(TeaModel):
20743
21399
  # * **en**: English
20744
21400
  self.lang = lang
20745
21401
  # The ID of the NAT gateway.
21402
+ #
21403
+ # This parameter is required.
20746
21404
  self.nat_gateway_id = nat_gateway_id
20747
21405
  # The new priority of the IPv4 access control policy. You must specify a numeric value for this parameter. The value 1 indicates the highest priority. A larger value indicates a lower priority.
20748
21406
  #
20749
21407
  # > Make sure that the value of this parameter is within the priority range of existing IPv4 access control policies. Otherwise, an error occurs when you call this operation.
20750
21408
  #
20751
21409
  # Before you call this operation, we recommend that you call the DescribeNatFirewallPolicyPriorUsed operation to query the priority range of the IPv4 access control policies in the specified traffic direction.
21410
+ #
21411
+ # This parameter is required.
20752
21412
  self.new_order = new_order
20753
21413
 
20754
21414
  def validate(self):
@@ -20867,6 +21527,8 @@ class ModifyPolicyAdvancedConfigRequest(TeaModel):
20867
21527
  #
20868
21528
  # * **on**: enables the strict mode.
20869
21529
  # * **off**: disables the strict mode.
21530
+ #
21531
+ # This parameter is required.
20870
21532
  self.internet_switch = internet_switch
20871
21533
  # The natural language of the request and response. Valid values:
20872
21534
  #
@@ -21157,10 +21819,12 @@ class ModifyTrFirewallV2RoutePolicyScopeRequest(TeaModel):
21157
21819
  tr_firewall_route_policy_id: str = None,
21158
21820
  ):
21159
21821
  self.dest_candidate_list = dest_candidate_list
21822
+ # This parameter is required.
21160
21823
  self.firewall_id = firewall_id
21161
21824
  self.lang = lang
21162
21825
  self.should_recover = should_recover
21163
21826
  self.src_candidate_list = src_candidate_list
21827
+ # This parameter is required.
21164
21828
  self.tr_firewall_route_policy_id = tr_firewall_route_policy_id
21165
21829
 
21166
21830
  def validate(self):
@@ -21231,10 +21895,12 @@ class ModifyTrFirewallV2RoutePolicyScopeShrinkRequest(TeaModel):
21231
21895
  tr_firewall_route_policy_id: str = None,
21232
21896
  ):
21233
21897
  self.dest_candidate_list_shrink = dest_candidate_list_shrink
21898
+ # This parameter is required.
21234
21899
  self.firewall_id = firewall_id
21235
21900
  self.lang = lang
21236
21901
  self.should_recover = should_recover
21237
21902
  self.src_candidate_list_shrink = src_candidate_list_shrink
21903
+ # This parameter is required.
21238
21904
  self.tr_firewall_route_policy_id = tr_firewall_route_policy_id
21239
21905
 
21240
21906
  def validate(self):
@@ -21499,9 +22165,13 @@ class ModifyVpcFirewallCenConfigureRequest(TeaModel):
21499
22165
  self.member_uid = member_uid
21500
22166
  # The instance ID of the VPC firewall.
21501
22167
  #
21502
- # > You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.
22168
+ # > You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the instance IDs of VPC firewalls.
22169
+ #
22170
+ # This parameter is required.
21503
22171
  self.vpc_firewall_id = vpc_firewall_id
21504
22172
  # The instance name of the VPC firewall.
22173
+ #
22174
+ # This parameter is required.
21505
22175
  self.vpc_firewall_name = vpc_firewall_name
21506
22176
 
21507
22177
  def validate(self):
@@ -21617,6 +22287,8 @@ class ModifyVpcFirewallCenSwitchStatusRequest(TeaModel):
21617
22287
  #
21618
22288
  # * **open**: yes
21619
22289
  # * **close**: no
22290
+ #
22291
+ # This parameter is required.
21620
22292
  self.firewall_switch = firewall_switch
21621
22293
  # The language of the content within the request and response. Valid values:
21622
22294
  #
@@ -21627,7 +22299,9 @@ class ModifyVpcFirewallCenSwitchStatusRequest(TeaModel):
21627
22299
  self.member_uid = member_uid
21628
22300
  # The instance ID of the VPC firewall.
21629
22301
  #
21630
- # > You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.
22302
+ # > You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the instance IDs of VPC firewalls.
22303
+ #
22304
+ # This parameter is required.
21631
22305
  self.vpc_firewall_id = vpc_firewall_id
21632
22306
 
21633
22307
  def validate(self):
@@ -21751,7 +22425,9 @@ class ModifyVpcFirewallConfigureRequest(TeaModel):
21751
22425
  # * **RouteTableId**: the ID of the route table for the local VPC.
21752
22426
  # * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the local VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the local VPC.
21753
22427
  #
21754
- # > You can call the [DescribeVpcFirewallDetail](~~342892~~) operation to query the CIDR blocks of local VPCs for VPC firewalls.
22428
+ # > You can call the [DescribeVpcFirewallDetail](https://help.aliyun.com/document_detail/342892.html) operation to query the CIDR blocks of local VPCs for VPC firewalls.
22429
+ #
22430
+ # This parameter is required.
21755
22431
  self.local_vpc_cidr_table_list = local_vpc_cidr_table_list
21756
22432
  # The UID of the member that is managed by your Alibaba Cloud account.
21757
22433
  self.member_uid = member_uid
@@ -21760,13 +22436,19 @@ class ModifyVpcFirewallConfigureRequest(TeaModel):
21760
22436
  # * **RouteTableId**: the ID of the route table for the peer VPC.
21761
22437
  # * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the peer VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the peer VPC.
21762
22438
  #
21763
- # > You can call the [DescribeVpcFirewallDetail](~~342892~~) operation to query the CIDR blocks of peer VPCs for VPC firewalls.
22439
+ # > You can call the [DescribeVpcFirewallDetail](https://help.aliyun.com/document_detail/342892.html) operation to query the CIDR blocks of peer VPCs for VPC firewalls.
22440
+ #
22441
+ # This parameter is required.
21764
22442
  self.peer_vpc_cidr_table_list = peer_vpc_cidr_table_list
21765
22443
  # The instance ID of the VPC firewall.
21766
22444
  #
21767
- # > You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
22445
+ # > You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
22446
+ #
22447
+ # This parameter is required.
21768
22448
  self.vpc_firewall_id = vpc_firewall_id
21769
22449
  # The instance name of the VPC firewall.
22450
+ #
22451
+ # This parameter is required.
21770
22452
  self.vpc_firewall_name = vpc_firewall_name
21771
22453
 
21772
22454
  def validate(self):
@@ -21911,10 +22593,14 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21911
22593
  # * **accept**: allows the traffic.
21912
22594
  # * **drop**: blocks the traffic.
21913
22595
  # * **log**: monitors the traffic.
22596
+ #
22597
+ # This parameter is required.
21914
22598
  self.acl_action = acl_action
21915
22599
  # The unique ID of the access control policy.
21916
22600
  #
21917
- # If you want to modify the configurations of an access control policy, you must provide the unique ID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to query the ID.
22601
+ # If you want to modify the configurations of an access control policy, you must provide the unique ID of the policy. You can call the [DescribeVpcFirewallControlPolicy](https://help.aliyun.com/document_detail/159758.html) operation to query the ID.
22602
+ #
22603
+ # This parameter is required.
21918
22604
  self.acl_uuid = acl_uuid
21919
22605
  # The application type used in the access control policy.
21920
22606
  #
@@ -21939,6 +22625,8 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21939
22625
  # The application names.
21940
22626
  self.application_name_list = application_name_list
21941
22627
  # The description of the access control policy.
22628
+ #
22629
+ # This parameter is required.
21942
22630
  self.description = description
21943
22631
  # The destination port in the access control policy.
21944
22632
  self.dest_port = dest_port
@@ -21961,7 +22649,9 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21961
22649
  #
21962
22650
  # * If **DestinationType** is set to `domain`, the value of this parameter must be a domain name.
21963
22651
  #
21964
- # Example: \*.aliyuncs.com
22652
+ # Example: \\*.aliyuncs.com
22653
+ #
22654
+ # This parameter is required.
21965
22655
  self.destination = destination
21966
22656
  # The type of the destination address in the access control policy.
21967
22657
  #
@@ -21970,6 +22660,8 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21970
22660
  # * **net**: CIDR block
21971
22661
  # * **group**: address book
21972
22662
  # * **domain**: domain name
22663
+ #
22664
+ # This parameter is required.
21973
22665
  self.destination_type = destination_type
21974
22666
  # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.
21975
22667
  #
@@ -21990,6 +22682,8 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21990
22682
  # * TCP
21991
22683
  # * UDP
21992
22684
  # * ICMP
22685
+ #
22686
+ # This parameter is required.
21993
22687
  self.proto = proto
21994
22688
  # Specifies whether to enable the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:
21995
22689
  #
@@ -21998,12 +22692,12 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21998
22692
  self.release = release
21999
22693
  # The days of a week or of a month on which the access control policy takes effect.
22000
22694
  #
22001
- # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \[].
22002
- # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6].
22695
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: [].
22696
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: [0, 6].
22003
22697
  #
22004
22698
  # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
22005
22699
  #
22006
- # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31].
22700
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: [1, 31].
22007
22701
  #
22008
22702
  # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
22009
22703
  self.repeat_days = repeat_days
@@ -22034,6 +22728,8 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
22034
22728
  # * If **SourceType** is set to `group`, the value of this parameter must be an address book name.
22035
22729
  #
22036
22730
  # Example: db_group
22731
+ #
22732
+ # This parameter is required.
22037
22733
  self.source = source
22038
22734
  # The type of the source address in the access control policy.
22039
22735
  #
@@ -22041,20 +22737,24 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
22041
22737
  #
22042
22738
  # * **net**: CIDR block
22043
22739
  # * **group**: address book
22740
+ #
22741
+ # This parameter is required.
22044
22742
  self.source_type = source_type
22045
22743
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
22046
22744
  #
22047
22745
  # > If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.
22048
22746
  self.start_time = start_time
22049
- # The instance ID of the VPC firewall. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.
22747
+ # The instance ID of the VPC firewall. You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the ID.
22050
22748
  #
22051
22749
  # * If the VPC firewall is used to protect a CEN instance, the value of this parameter must be the ID of the CEN instance.
22052
22750
  #
22053
- # Example: cen-ervw0g12b5jbw\*\*\*\*\
22751
+ # Example: cen-ervw0g12b5jbw\\*\\*\\*\\*\
22054
22752
  #
22055
22753
  # * If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.
22056
22754
  #
22057
- # Example: vfw-a42bbb7b887148c9\*\*\*\*\
22755
+ # Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*\
22756
+ #
22757
+ # This parameter is required.
22058
22758
  self.vpc_firewall_id = vpc_firewall_id
22059
22759
 
22060
22760
  def validate(self):
@@ -22241,7 +22941,7 @@ class ModifyVpcFirewallControlPolicyPositionRequest(TeaModel):
22241
22941
  ):
22242
22942
  # The UUID of the access control policy.
22243
22943
  #
22244
- # If you want to modify the configurations of an access control policy, you must provide the UUID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to query the UUID.
22944
+ # If you want to modify the configurations of an access control policy, you must provide the UUID of the policy. You can call the [DescribeVpcFirewallControlPolicy](https://help.aliyun.com/document_detail/159758.html) operation to query the UUID.
22245
22945
  self.acl_uuid = acl_uuid
22246
22946
  # The language of the content within the request and the response.
22247
22947
  #
@@ -22251,22 +22951,26 @@ class ModifyVpcFirewallControlPolicyPositionRequest(TeaModel):
22251
22951
  # * **en**: English
22252
22952
  self.lang = lang
22253
22953
  # The new priority of the access control policy.
22954
+ #
22955
+ # This parameter is required.
22254
22956
  self.new_order = new_order
22255
22957
  # The original priority of the access control policy.
22256
22958
  #
22257
22959
  # > This parameter is not recommended. We recommend that you use the AclUuid parameter to specify the policy that you want to modify.
22258
22960
  self.old_order = old_order
22259
- # The ID of the group to which the access control policy belongs. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.
22961
+ # The ID of the group to which the access control policy belongs. You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the ID.
22260
22962
  #
22261
22963
  # Valid values:
22262
22964
  #
22263
22965
  # * If the VPC firewall is used to protect a CEN instance, the value of this parameter must be the ID of the CEN instance.
22264
22966
  #
22265
- # Example: cen-ervw0g12b5jbw\*\*\*\*\
22967
+ # Example: cen-ervw0g12b5jbw\\*\\*\\*\\*\
22266
22968
  #
22267
22969
  # * If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.
22268
22970
  #
22269
- # Example: vfw-a42bbb7b887148c9\*\*\*\*\
22971
+ # Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*\
22972
+ #
22973
+ # This parameter is required.
22270
22974
  self.vpc_firewall_id = vpc_firewall_id
22271
22975
 
22272
22976
  def validate(self):
@@ -22389,11 +23093,15 @@ class ModifyVpcFirewallDefaultIPSConfigRequest(TeaModel):
22389
23093
  #
22390
23094
  # * **1**: yes
22391
23095
  # * **0**: no
23096
+ #
23097
+ # This parameter is required.
22392
23098
  self.basic_rules = basic_rules
22393
23099
  # Specifies whether to enable virtual patching. Valid values:
22394
23100
  #
22395
23101
  # * **1**: yes
22396
23102
  # * **0**: no
23103
+ #
23104
+ # This parameter is required.
22397
23105
  self.enable_all_patch = enable_all_patch
22398
23106
  # The language of the content within the request and response. Valid values:
22399
23107
  #
@@ -22406,13 +23114,17 @@ class ModifyVpcFirewallDefaultIPSConfigRequest(TeaModel):
22406
23114
  #
22407
23115
  # * **1**: block mode
22408
23116
  # * **0**: monitor mode
23117
+ #
23118
+ # This parameter is required.
22409
23119
  self.run_mode = run_mode
22410
23120
  # The source IP address of the request.
22411
23121
  self.source_ip = source_ip
22412
23122
  # The instance ID of the VPC firewall. Valid values:
22413
23123
  #
22414
- # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the IDs of CEN instances.
22415
- # * If the VPC firewall protects mutual access traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the ID of the VPC firewall. You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
23124
+ # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the IDs of CEN instances.
23125
+ # * If the VPC firewall protects mutual access traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the ID of the VPC firewall. You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
23126
+ #
23127
+ # This parameter is required.
22416
23128
  self.vpc_firewall_id = vpc_firewall_id
22417
23129
 
22418
23130
  def validate(self):
@@ -22547,17 +23259,23 @@ class ModifyVpcFirewallIPSWhitelistRequest(TeaModel):
22547
23259
  #
22548
23260
  # * **1**: user-defined
22549
23261
  # * **2**: address book
23262
+ #
23263
+ # This parameter is required.
22550
23264
  self.list_type = list_type
22551
23265
  # The entry in the list.
22552
23266
  self.list_value = list_value
22553
23267
  # The UID of the member that is managed by your Alibaba Cloud account.
22554
23268
  self.member_uid = member_uid
22555
23269
  # The instance ID of the VPC firewall.
23270
+ #
23271
+ # This parameter is required.
22556
23272
  self.vpc_firewall_id = vpc_firewall_id
22557
23273
  # The type of the whitelist. Valid values:
22558
23274
  #
22559
23275
  # * **1**: destination
22560
23276
  # * **2**: source
23277
+ #
23278
+ # This parameter is required.
22561
23279
  self.white_type = white_type
22562
23280
 
22563
23281
  def validate(self):
@@ -22681,6 +23399,8 @@ class ModifyVpcFirewallSwitchStatusRequest(TeaModel):
22681
23399
  #
22682
23400
  # * **open**: yes
22683
23401
  # * **close**: no
23402
+ #
23403
+ # This parameter is required.
22684
23404
  self.firewall_switch = firewall_switch
22685
23405
  # The language of the content within the request and response. Valid values:
22686
23406
  #
@@ -22691,7 +23411,9 @@ class ModifyVpcFirewallSwitchStatusRequest(TeaModel):
22691
23411
  self.member_uid = member_uid
22692
23412
  # The instance ID of the VPC firewall.
22693
23413
  #
22694
- # > You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
23414
+ # > You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
23415
+ #
23416
+ # This parameter is required.
22695
23417
  self.vpc_firewall_id = vpc_firewall_id
22696
23418
 
22697
23419
  def validate(self):
@@ -23487,6 +24209,8 @@ class ResetNatFirewallRuleHitCountRequest(TeaModel):
23487
24209
  nat_gateway_id: str = None,
23488
24210
  ):
23489
24211
  # The UUID of the access control policy.
24212
+ #
24213
+ # This parameter is required.
23490
24214
  self.acl_uuid = acl_uuid
23491
24215
  # The language of the content within the request and response. Valid values:
23492
24216
  #
@@ -23600,6 +24324,8 @@ class ResetVpcFirewallRuleHitCountRequest(TeaModel):
23600
24324
  lang: str = None,
23601
24325
  ):
23602
24326
  # The ID of the access control policy.
24327
+ #
24328
+ # This parameter is required.
23603
24329
  self.acl_uuid = acl_uuid
23604
24330
  # The natural language of the request and response.
23605
24331
  #
@@ -23702,3 +24428,112 @@ class ResetVpcFirewallRuleHitCountResponse(TeaModel):
23702
24428
  return self
23703
24429
 
23704
24430
 
24431
+ class SwitchSecurityProxyRequest(TeaModel):
24432
+ def __init__(
24433
+ self,
24434
+ lang: str = None,
24435
+ proxy_id: str = None,
24436
+ switch: str = None,
24437
+ ):
24438
+ self.lang = lang
24439
+ # This parameter is required.
24440
+ self.proxy_id = proxy_id
24441
+ # This parameter is required.
24442
+ self.switch = switch
24443
+
24444
+ def validate(self):
24445
+ pass
24446
+
24447
+ def to_map(self):
24448
+ _map = super().to_map()
24449
+ if _map is not None:
24450
+ return _map
24451
+
24452
+ result = dict()
24453
+ if self.lang is not None:
24454
+ result['Lang'] = self.lang
24455
+ if self.proxy_id is not None:
24456
+ result['ProxyId'] = self.proxy_id
24457
+ if self.switch is not None:
24458
+ result['Switch'] = self.switch
24459
+ return result
24460
+
24461
+ def from_map(self, m: dict = None):
24462
+ m = m or dict()
24463
+ if m.get('Lang') is not None:
24464
+ self.lang = m.get('Lang')
24465
+ if m.get('ProxyId') is not None:
24466
+ self.proxy_id = m.get('ProxyId')
24467
+ if m.get('Switch') is not None:
24468
+ self.switch = m.get('Switch')
24469
+ return self
24470
+
24471
+
24472
+ class SwitchSecurityProxyResponseBody(TeaModel):
24473
+ def __init__(
24474
+ self,
24475
+ request_id: str = None,
24476
+ ):
24477
+ self.request_id = request_id
24478
+
24479
+ def validate(self):
24480
+ pass
24481
+
24482
+ def to_map(self):
24483
+ _map = super().to_map()
24484
+ if _map is not None:
24485
+ return _map
24486
+
24487
+ result = dict()
24488
+ if self.request_id is not None:
24489
+ result['RequestId'] = self.request_id
24490
+ return result
24491
+
24492
+ def from_map(self, m: dict = None):
24493
+ m = m or dict()
24494
+ if m.get('RequestId') is not None:
24495
+ self.request_id = m.get('RequestId')
24496
+ return self
24497
+
24498
+
24499
+ class SwitchSecurityProxyResponse(TeaModel):
24500
+ def __init__(
24501
+ self,
24502
+ headers: Dict[str, str] = None,
24503
+ status_code: int = None,
24504
+ body: SwitchSecurityProxyResponseBody = None,
24505
+ ):
24506
+ self.headers = headers
24507
+ self.status_code = status_code
24508
+ self.body = body
24509
+
24510
+ def validate(self):
24511
+ if self.body:
24512
+ self.body.validate()
24513
+
24514
+ def to_map(self):
24515
+ _map = super().to_map()
24516
+ if _map is not None:
24517
+ return _map
24518
+
24519
+ result = dict()
24520
+ if self.headers is not None:
24521
+ result['headers'] = self.headers
24522
+ if self.status_code is not None:
24523
+ result['statusCode'] = self.status_code
24524
+ if self.body is not None:
24525
+ result['body'] = self.body.to_map()
24526
+ return result
24527
+
24528
+ def from_map(self, m: dict = None):
24529
+ m = m or dict()
24530
+ if m.get('headers') is not None:
24531
+ self.headers = m.get('headers')
24532
+ if m.get('statusCode') is not None:
24533
+ self.status_code = m.get('statusCode')
24534
+ if m.get('body') is not None:
24535
+ temp_model = SwitchSecurityProxyResponseBody()
24536
+ self.body = temp_model.from_map(m['body'])
24537
+ return self
24538
+
24539
+