alibabacloud-cloudfw20171207 3.3.0__py3-none-any.whl → 3.5.0__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.
- alibabacloud_cloudfw20171207/__init__.py +1 -1
- alibabacloud_cloudfw20171207/client.py +218 -0
- alibabacloud_cloudfw20171207/models.py +622 -1
- {alibabacloud_cloudfw20171207-3.3.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/METADATA +1 -1
- alibabacloud_cloudfw20171207-3.5.0.dist-info/RECORD +8 -0
- {alibabacloud_cloudfw20171207-3.3.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/WHEEL +1 -1
- alibabacloud_cloudfw20171207-3.3.0.dist-info/RECORD +0 -8
- {alibabacloud_cloudfw20171207-3.3.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/LICENSE +0 -0
- {alibabacloud_cloudfw20171207-3.3.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/top_level.txt +0 -0
|
@@ -884,6 +884,110 @@ class BatchCopyVpcFirewallControlPolicyResponse(TeaModel):
|
|
|
884
884
|
return self
|
|
885
885
|
|
|
886
886
|
|
|
887
|
+
class BatchDeleteVpcFirewallControlPolicyRequest(TeaModel):
|
|
888
|
+
def __init__(
|
|
889
|
+
self,
|
|
890
|
+
acl_uuid_list: List[str] = None,
|
|
891
|
+
vpc_firewall_id: str = None,
|
|
892
|
+
):
|
|
893
|
+
# The UUIDs of access control policies.
|
|
894
|
+
self.acl_uuid_list = acl_uuid_list
|
|
895
|
+
# The instance ID of the VPC firewall.
|
|
896
|
+
self.vpc_firewall_id = vpc_firewall_id
|
|
897
|
+
|
|
898
|
+
def validate(self):
|
|
899
|
+
pass
|
|
900
|
+
|
|
901
|
+
def to_map(self):
|
|
902
|
+
_map = super().to_map()
|
|
903
|
+
if _map is not None:
|
|
904
|
+
return _map
|
|
905
|
+
|
|
906
|
+
result = dict()
|
|
907
|
+
if self.acl_uuid_list is not None:
|
|
908
|
+
result['AclUuidList'] = self.acl_uuid_list
|
|
909
|
+
if self.vpc_firewall_id is not None:
|
|
910
|
+
result['VpcFirewallId'] = self.vpc_firewall_id
|
|
911
|
+
return result
|
|
912
|
+
|
|
913
|
+
def from_map(self, m: dict = None):
|
|
914
|
+
m = m or dict()
|
|
915
|
+
if m.get('AclUuidList') is not None:
|
|
916
|
+
self.acl_uuid_list = m.get('AclUuidList')
|
|
917
|
+
if m.get('VpcFirewallId') is not None:
|
|
918
|
+
self.vpc_firewall_id = m.get('VpcFirewallId')
|
|
919
|
+
return self
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
class BatchDeleteVpcFirewallControlPolicyResponseBody(TeaModel):
|
|
923
|
+
def __init__(
|
|
924
|
+
self,
|
|
925
|
+
request_id: str = None,
|
|
926
|
+
):
|
|
927
|
+
# The ID of the request.
|
|
928
|
+
self.request_id = request_id
|
|
929
|
+
|
|
930
|
+
def validate(self):
|
|
931
|
+
pass
|
|
932
|
+
|
|
933
|
+
def to_map(self):
|
|
934
|
+
_map = super().to_map()
|
|
935
|
+
if _map is not None:
|
|
936
|
+
return _map
|
|
937
|
+
|
|
938
|
+
result = dict()
|
|
939
|
+
if self.request_id is not None:
|
|
940
|
+
result['RequestId'] = self.request_id
|
|
941
|
+
return result
|
|
942
|
+
|
|
943
|
+
def from_map(self, m: dict = None):
|
|
944
|
+
m = m or dict()
|
|
945
|
+
if m.get('RequestId') is not None:
|
|
946
|
+
self.request_id = m.get('RequestId')
|
|
947
|
+
return self
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
class BatchDeleteVpcFirewallControlPolicyResponse(TeaModel):
|
|
951
|
+
def __init__(
|
|
952
|
+
self,
|
|
953
|
+
headers: Dict[str, str] = None,
|
|
954
|
+
status_code: int = None,
|
|
955
|
+
body: BatchDeleteVpcFirewallControlPolicyResponseBody = None,
|
|
956
|
+
):
|
|
957
|
+
self.headers = headers
|
|
958
|
+
self.status_code = status_code
|
|
959
|
+
self.body = body
|
|
960
|
+
|
|
961
|
+
def validate(self):
|
|
962
|
+
if self.body:
|
|
963
|
+
self.body.validate()
|
|
964
|
+
|
|
965
|
+
def to_map(self):
|
|
966
|
+
_map = super().to_map()
|
|
967
|
+
if _map is not None:
|
|
968
|
+
return _map
|
|
969
|
+
|
|
970
|
+
result = dict()
|
|
971
|
+
if self.headers is not None:
|
|
972
|
+
result['headers'] = self.headers
|
|
973
|
+
if self.status_code is not None:
|
|
974
|
+
result['statusCode'] = self.status_code
|
|
975
|
+
if self.body is not None:
|
|
976
|
+
result['body'] = self.body.to_map()
|
|
977
|
+
return result
|
|
978
|
+
|
|
979
|
+
def from_map(self, m: dict = None):
|
|
980
|
+
m = m or dict()
|
|
981
|
+
if m.get('headers') is not None:
|
|
982
|
+
self.headers = m.get('headers')
|
|
983
|
+
if m.get('statusCode') is not None:
|
|
984
|
+
self.status_code = m.get('statusCode')
|
|
985
|
+
if m.get('body') is not None:
|
|
986
|
+
temp_model = BatchDeleteVpcFirewallControlPolicyResponseBody()
|
|
987
|
+
self.body = temp_model.from_map(m['body'])
|
|
988
|
+
return self
|
|
989
|
+
|
|
990
|
+
|
|
887
991
|
class CreateDownloadTaskRequest(TeaModel):
|
|
888
992
|
def __init__(
|
|
889
993
|
self,
|
|
@@ -1115,7 +1219,7 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
|
|
|
1115
1219
|
#
|
|
1116
1220
|
# * **out**: outbound traffic
|
|
1117
1221
|
self.direction = direction
|
|
1118
|
-
# The domain name resolution method of the access control policy.
|
|
1222
|
+
# The domain name resolution method of the access control policy. Valid values:
|
|
1119
1223
|
#
|
|
1120
1224
|
# * **0**: fully qualified domain name (FQDN)-based resolution
|
|
1121
1225
|
# * **1**: Domain Name System (DNS)-based dynamic resolution
|
|
@@ -1395,6 +1499,220 @@ class CreateNatFirewallControlPolicyResponse(TeaModel):
|
|
|
1395
1499
|
return self
|
|
1396
1500
|
|
|
1397
1501
|
|
|
1502
|
+
class CreateSecurityProxyRequestNatRouteEntryList(TeaModel):
|
|
1503
|
+
def __init__(
|
|
1504
|
+
self,
|
|
1505
|
+
destination_cidr: str = None,
|
|
1506
|
+
next_hop_id: str = None,
|
|
1507
|
+
next_hop_type: str = None,
|
|
1508
|
+
route_table_id: str = None,
|
|
1509
|
+
):
|
|
1510
|
+
self.destination_cidr = destination_cidr
|
|
1511
|
+
self.next_hop_id = next_hop_id
|
|
1512
|
+
self.next_hop_type = next_hop_type
|
|
1513
|
+
self.route_table_id = route_table_id
|
|
1514
|
+
|
|
1515
|
+
def validate(self):
|
|
1516
|
+
pass
|
|
1517
|
+
|
|
1518
|
+
def to_map(self):
|
|
1519
|
+
_map = super().to_map()
|
|
1520
|
+
if _map is not None:
|
|
1521
|
+
return _map
|
|
1522
|
+
|
|
1523
|
+
result = dict()
|
|
1524
|
+
if self.destination_cidr is not None:
|
|
1525
|
+
result['DestinationCidr'] = self.destination_cidr
|
|
1526
|
+
if self.next_hop_id is not None:
|
|
1527
|
+
result['NextHopId'] = self.next_hop_id
|
|
1528
|
+
if self.next_hop_type is not None:
|
|
1529
|
+
result['NextHopType'] = self.next_hop_type
|
|
1530
|
+
if self.route_table_id is not None:
|
|
1531
|
+
result['RouteTableId'] = self.route_table_id
|
|
1532
|
+
return result
|
|
1533
|
+
|
|
1534
|
+
def from_map(self, m: dict = None):
|
|
1535
|
+
m = m or dict()
|
|
1536
|
+
if m.get('DestinationCidr') is not None:
|
|
1537
|
+
self.destination_cidr = m.get('DestinationCidr')
|
|
1538
|
+
if m.get('NextHopId') is not None:
|
|
1539
|
+
self.next_hop_id = m.get('NextHopId')
|
|
1540
|
+
if m.get('NextHopType') is not None:
|
|
1541
|
+
self.next_hop_type = m.get('NextHopType')
|
|
1542
|
+
if m.get('RouteTableId') is not None:
|
|
1543
|
+
self.route_table_id = m.get('RouteTableId')
|
|
1544
|
+
return self
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
class CreateSecurityProxyRequest(TeaModel):
|
|
1548
|
+
def __init__(
|
|
1549
|
+
self,
|
|
1550
|
+
firewall_switch: str = None,
|
|
1551
|
+
lang: str = None,
|
|
1552
|
+
nat_gateway_id: str = None,
|
|
1553
|
+
nat_route_entry_list: List[CreateSecurityProxyRequestNatRouteEntryList] = None,
|
|
1554
|
+
proxy_name: str = None,
|
|
1555
|
+
region_no: str = None,
|
|
1556
|
+
strict_mode: int = None,
|
|
1557
|
+
vpc_id: str = None,
|
|
1558
|
+
vswitch_auto: str = None,
|
|
1559
|
+
vswitch_cidr: str = None,
|
|
1560
|
+
vswitch_id: str = None,
|
|
1561
|
+
):
|
|
1562
|
+
self.firewall_switch = firewall_switch
|
|
1563
|
+
self.lang = lang
|
|
1564
|
+
self.nat_gateway_id = nat_gateway_id
|
|
1565
|
+
self.nat_route_entry_list = nat_route_entry_list
|
|
1566
|
+
self.proxy_name = proxy_name
|
|
1567
|
+
self.region_no = region_no
|
|
1568
|
+
self.strict_mode = strict_mode
|
|
1569
|
+
self.vpc_id = vpc_id
|
|
1570
|
+
self.vswitch_auto = vswitch_auto
|
|
1571
|
+
self.vswitch_cidr = vswitch_cidr
|
|
1572
|
+
self.vswitch_id = vswitch_id
|
|
1573
|
+
|
|
1574
|
+
def validate(self):
|
|
1575
|
+
if self.nat_route_entry_list:
|
|
1576
|
+
for k in self.nat_route_entry_list:
|
|
1577
|
+
if k:
|
|
1578
|
+
k.validate()
|
|
1579
|
+
|
|
1580
|
+
def to_map(self):
|
|
1581
|
+
_map = super().to_map()
|
|
1582
|
+
if _map is not None:
|
|
1583
|
+
return _map
|
|
1584
|
+
|
|
1585
|
+
result = dict()
|
|
1586
|
+
if self.firewall_switch is not None:
|
|
1587
|
+
result['FirewallSwitch'] = self.firewall_switch
|
|
1588
|
+
if self.lang is not None:
|
|
1589
|
+
result['Lang'] = self.lang
|
|
1590
|
+
if self.nat_gateway_id is not None:
|
|
1591
|
+
result['NatGatewayId'] = self.nat_gateway_id
|
|
1592
|
+
result['NatRouteEntryList'] = []
|
|
1593
|
+
if self.nat_route_entry_list is not None:
|
|
1594
|
+
for k in self.nat_route_entry_list:
|
|
1595
|
+
result['NatRouteEntryList'].append(k.to_map() if k else None)
|
|
1596
|
+
if self.proxy_name is not None:
|
|
1597
|
+
result['ProxyName'] = self.proxy_name
|
|
1598
|
+
if self.region_no is not None:
|
|
1599
|
+
result['RegionNo'] = self.region_no
|
|
1600
|
+
if self.strict_mode is not None:
|
|
1601
|
+
result['StrictMode'] = self.strict_mode
|
|
1602
|
+
if self.vpc_id is not None:
|
|
1603
|
+
result['VpcId'] = self.vpc_id
|
|
1604
|
+
if self.vswitch_auto is not None:
|
|
1605
|
+
result['VswitchAuto'] = self.vswitch_auto
|
|
1606
|
+
if self.vswitch_cidr is not None:
|
|
1607
|
+
result['VswitchCidr'] = self.vswitch_cidr
|
|
1608
|
+
if self.vswitch_id is not None:
|
|
1609
|
+
result['VswitchId'] = self.vswitch_id
|
|
1610
|
+
return result
|
|
1611
|
+
|
|
1612
|
+
def from_map(self, m: dict = None):
|
|
1613
|
+
m = m or dict()
|
|
1614
|
+
if m.get('FirewallSwitch') is not None:
|
|
1615
|
+
self.firewall_switch = m.get('FirewallSwitch')
|
|
1616
|
+
if m.get('Lang') is not None:
|
|
1617
|
+
self.lang = m.get('Lang')
|
|
1618
|
+
if m.get('NatGatewayId') is not None:
|
|
1619
|
+
self.nat_gateway_id = m.get('NatGatewayId')
|
|
1620
|
+
self.nat_route_entry_list = []
|
|
1621
|
+
if m.get('NatRouteEntryList') is not None:
|
|
1622
|
+
for k in m.get('NatRouteEntryList'):
|
|
1623
|
+
temp_model = CreateSecurityProxyRequestNatRouteEntryList()
|
|
1624
|
+
self.nat_route_entry_list.append(temp_model.from_map(k))
|
|
1625
|
+
if m.get('ProxyName') is not None:
|
|
1626
|
+
self.proxy_name = m.get('ProxyName')
|
|
1627
|
+
if m.get('RegionNo') is not None:
|
|
1628
|
+
self.region_no = m.get('RegionNo')
|
|
1629
|
+
if m.get('StrictMode') is not None:
|
|
1630
|
+
self.strict_mode = m.get('StrictMode')
|
|
1631
|
+
if m.get('VpcId') is not None:
|
|
1632
|
+
self.vpc_id = m.get('VpcId')
|
|
1633
|
+
if m.get('VswitchAuto') is not None:
|
|
1634
|
+
self.vswitch_auto = m.get('VswitchAuto')
|
|
1635
|
+
if m.get('VswitchCidr') is not None:
|
|
1636
|
+
self.vswitch_cidr = m.get('VswitchCidr')
|
|
1637
|
+
if m.get('VswitchId') is not None:
|
|
1638
|
+
self.vswitch_id = m.get('VswitchId')
|
|
1639
|
+
return self
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
class CreateSecurityProxyResponseBody(TeaModel):
|
|
1643
|
+
def __init__(
|
|
1644
|
+
self,
|
|
1645
|
+
proxy_id: str = None,
|
|
1646
|
+
request_id: str = None,
|
|
1647
|
+
):
|
|
1648
|
+
self.proxy_id = proxy_id
|
|
1649
|
+
self.request_id = request_id
|
|
1650
|
+
|
|
1651
|
+
def validate(self):
|
|
1652
|
+
pass
|
|
1653
|
+
|
|
1654
|
+
def to_map(self):
|
|
1655
|
+
_map = super().to_map()
|
|
1656
|
+
if _map is not None:
|
|
1657
|
+
return _map
|
|
1658
|
+
|
|
1659
|
+
result = dict()
|
|
1660
|
+
if self.proxy_id is not None:
|
|
1661
|
+
result['ProxyId'] = self.proxy_id
|
|
1662
|
+
if self.request_id is not None:
|
|
1663
|
+
result['RequestId'] = self.request_id
|
|
1664
|
+
return result
|
|
1665
|
+
|
|
1666
|
+
def from_map(self, m: dict = None):
|
|
1667
|
+
m = m or dict()
|
|
1668
|
+
if m.get('ProxyId') is not None:
|
|
1669
|
+
self.proxy_id = m.get('ProxyId')
|
|
1670
|
+
if m.get('RequestId') is not None:
|
|
1671
|
+
self.request_id = m.get('RequestId')
|
|
1672
|
+
return self
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
class CreateSecurityProxyResponse(TeaModel):
|
|
1676
|
+
def __init__(
|
|
1677
|
+
self,
|
|
1678
|
+
headers: Dict[str, str] = None,
|
|
1679
|
+
status_code: int = None,
|
|
1680
|
+
body: CreateSecurityProxyResponseBody = None,
|
|
1681
|
+
):
|
|
1682
|
+
self.headers = headers
|
|
1683
|
+
self.status_code = status_code
|
|
1684
|
+
self.body = body
|
|
1685
|
+
|
|
1686
|
+
def validate(self):
|
|
1687
|
+
if self.body:
|
|
1688
|
+
self.body.validate()
|
|
1689
|
+
|
|
1690
|
+
def to_map(self):
|
|
1691
|
+
_map = super().to_map()
|
|
1692
|
+
if _map is not None:
|
|
1693
|
+
return _map
|
|
1694
|
+
|
|
1695
|
+
result = dict()
|
|
1696
|
+
if self.headers is not None:
|
|
1697
|
+
result['headers'] = self.headers
|
|
1698
|
+
if self.status_code is not None:
|
|
1699
|
+
result['statusCode'] = self.status_code
|
|
1700
|
+
if self.body is not None:
|
|
1701
|
+
result['body'] = self.body.to_map()
|
|
1702
|
+
return result
|
|
1703
|
+
|
|
1704
|
+
def from_map(self, m: dict = None):
|
|
1705
|
+
m = m or dict()
|
|
1706
|
+
if m.get('headers') is not None:
|
|
1707
|
+
self.headers = m.get('headers')
|
|
1708
|
+
if m.get('statusCode') is not None:
|
|
1709
|
+
self.status_code = m.get('statusCode')
|
|
1710
|
+
if m.get('body') is not None:
|
|
1711
|
+
temp_model = CreateSecurityProxyResponseBody()
|
|
1712
|
+
self.body = temp_model.from_map(m['body'])
|
|
1713
|
+
return self
|
|
1714
|
+
|
|
1715
|
+
|
|
1398
1716
|
class CreateTrFirewallV2Request(TeaModel):
|
|
1399
1717
|
def __init__(
|
|
1400
1718
|
self,
|
|
@@ -1442,9 +1760,11 @@ class CreateTrFirewallV2Request(TeaModel):
|
|
|
1442
1760
|
self.route_mode = route_mode
|
|
1443
1761
|
# The primary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
|
|
1444
1762
|
self.tr_attachment_master_cidr = tr_attachment_master_cidr
|
|
1763
|
+
# The primary zone for the vSwitch.
|
|
1445
1764
|
self.tr_attachment_master_zone = tr_attachment_master_zone
|
|
1446
1765
|
# The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
|
|
1447
1766
|
self.tr_attachment_slave_cidr = tr_attachment_slave_cidr
|
|
1767
|
+
# The secondary zone for the vSwitch.
|
|
1448
1768
|
self.tr_attachment_slave_zone = tr_attachment_slave_zone
|
|
1449
1769
|
# The ID of the transit router.
|
|
1450
1770
|
self.transit_router_id = transit_router_id
|
|
@@ -2854,8 +3174,14 @@ class DeleteControlPolicyTemplateRequest(TeaModel):
|
|
|
2854
3174
|
source_ip: str = None,
|
|
2855
3175
|
template_id: str = None,
|
|
2856
3176
|
):
|
|
3177
|
+
# The language of the content within the request and response. Valid values:
|
|
3178
|
+
#
|
|
3179
|
+
# * **zh** (default): Chinese
|
|
3180
|
+
# * **en**: English
|
|
2857
3181
|
self.lang = lang
|
|
3182
|
+
# The source IP address of the request.
|
|
2858
3183
|
self.source_ip = source_ip
|
|
3184
|
+
# The ID of the access control policy template.
|
|
2859
3185
|
self.template_id = template_id
|
|
2860
3186
|
|
|
2861
3187
|
def validate(self):
|
|
@@ -2891,6 +3217,7 @@ class DeleteControlPolicyTemplateResponseBody(TeaModel):
|
|
|
2891
3217
|
self,
|
|
2892
3218
|
request_id: str = None,
|
|
2893
3219
|
):
|
|
3220
|
+
# The ID of the request.
|
|
2894
3221
|
self.request_id = request_id
|
|
2895
3222
|
|
|
2896
3223
|
def validate(self):
|
|
@@ -2960,7 +3287,12 @@ class DeleteDownloadTaskRequest(TeaModel):
|
|
|
2960
3287
|
lang: str = None,
|
|
2961
3288
|
task_id: str = None,
|
|
2962
3289
|
):
|
|
3290
|
+
# The language of the content within the request and response. Valid values:
|
|
3291
|
+
#
|
|
3292
|
+
# * **zh** (default): Chinese
|
|
3293
|
+
# * **en**: English
|
|
2963
3294
|
self.lang = lang
|
|
3295
|
+
# The ID of the file download task.
|
|
2964
3296
|
self.task_id = task_id
|
|
2965
3297
|
|
|
2966
3298
|
def validate(self):
|
|
@@ -2992,6 +3324,7 @@ class DeleteDownloadTaskResponseBody(TeaModel):
|
|
|
2992
3324
|
self,
|
|
2993
3325
|
request_id: str = None,
|
|
2994
3326
|
):
|
|
3327
|
+
# The ID of the request.
|
|
2995
3328
|
self.request_id = request_id
|
|
2996
3329
|
|
|
2997
3330
|
def validate(self):
|
|
@@ -3394,9 +3727,18 @@ class DeleteNatFirewallControlPolicyBatchRequest(TeaModel):
|
|
|
3394
3727
|
lang: str = None,
|
|
3395
3728
|
nat_gateway_id: str = None,
|
|
3396
3729
|
):
|
|
3730
|
+
# The UUIDs of access control policies.
|
|
3397
3731
|
self.acl_uuid_list = acl_uuid_list
|
|
3732
|
+
# The direction of the traffic to which the access control policy applies. Valid values:
|
|
3733
|
+
#
|
|
3734
|
+
# * **out**: outbound traffic
|
|
3398
3735
|
self.direction = direction
|
|
3736
|
+
# The language of the content within the request and response. Valid values:
|
|
3737
|
+
#
|
|
3738
|
+
# * **zh** (default): Chinese
|
|
3739
|
+
# * **en**: English
|
|
3399
3740
|
self.lang = lang
|
|
3741
|
+
# The ID of the NAT gateway.
|
|
3400
3742
|
self.nat_gateway_id = nat_gateway_id
|
|
3401
3743
|
|
|
3402
3744
|
def validate(self):
|
|
@@ -3436,6 +3778,7 @@ class DeleteNatFirewallControlPolicyBatchResponseBody(TeaModel):
|
|
|
3436
3778
|
self,
|
|
3437
3779
|
request_id: str = None,
|
|
3438
3780
|
):
|
|
3781
|
+
# The ID of the request.
|
|
3439
3782
|
self.request_id = request_id
|
|
3440
3783
|
|
|
3441
3784
|
def validate(self):
|
|
@@ -4962,9 +5305,27 @@ class DescribeAssetRiskListRequest(TeaModel):
|
|
|
4962
5305
|
lang: str = None,
|
|
4963
5306
|
source_ip: str = None,
|
|
4964
5307
|
):
|
|
5308
|
+
# The IP addresses to query. Separate the IP addresses with commas (,). You can specify up to 20 IP addresses at a time.
|
|
5309
|
+
#
|
|
5310
|
+
# >
|
|
5311
|
+
#
|
|
5312
|
+
# * Example of an IPv4 address: 47.97.221.164
|
|
5313
|
+
#
|
|
5314
|
+
# * Example of an IPv6 address: 2001:db8:ffff:ffff:ffff:\*\*\*\*:ffff
|
|
4965
5315
|
self.ip_addr_list = ip_addr_list
|
|
5316
|
+
# The IP version of the asset that is protected by Cloud Firewall.
|
|
5317
|
+
#
|
|
5318
|
+
# Valid values:
|
|
5319
|
+
#
|
|
5320
|
+
# * **4** (default): IPv4
|
|
5321
|
+
# * **6**: IPv6
|
|
4966
5322
|
self.ip_version = ip_version
|
|
5323
|
+
# The language of the content within the response. Valid values:
|
|
5324
|
+
#
|
|
5325
|
+
# * **zh** (default): Chinese
|
|
5326
|
+
# * **en**: English
|
|
4967
5327
|
self.lang = lang
|
|
5328
|
+
# The source IP address of the request.
|
|
4968
5329
|
self.source_ip = source_ip
|
|
4969
5330
|
|
|
4970
5331
|
def validate(self):
|
|
@@ -5007,9 +5368,22 @@ class DescribeAssetRiskListResponseBodyAssetList(TeaModel):
|
|
|
5007
5368
|
reason: str = None,
|
|
5008
5369
|
risk_level: str = None,
|
|
5009
5370
|
):
|
|
5371
|
+
# The IP address of the server.
|
|
5010
5372
|
self.ip = ip
|
|
5373
|
+
# The IP version of the asset that is protected by Cloud Firewall.
|
|
5374
|
+
#
|
|
5375
|
+
# Valid values:
|
|
5376
|
+
#
|
|
5377
|
+
# * **4**: IPv4
|
|
5378
|
+
# * **6**: IPv6
|
|
5011
5379
|
self.ip_version = ip_version
|
|
5380
|
+
# The reason for the risk.
|
|
5012
5381
|
self.reason = reason
|
|
5382
|
+
# The risk level. Valid values:
|
|
5383
|
+
#
|
|
5384
|
+
# * **low**\
|
|
5385
|
+
# * **middle**\
|
|
5386
|
+
# * **high**\
|
|
5013
5387
|
self.risk_level = risk_level
|
|
5014
5388
|
|
|
5015
5389
|
def validate(self):
|
|
@@ -5051,8 +5425,11 @@ class DescribeAssetRiskListResponseBody(TeaModel):
|
|
|
5051
5425
|
request_id: str = None,
|
|
5052
5426
|
total_count: int = None,
|
|
5053
5427
|
):
|
|
5428
|
+
# The details of the asset.
|
|
5054
5429
|
self.asset_list = asset_list
|
|
5430
|
+
# The ID of the request.
|
|
5055
5431
|
self.request_id = request_id
|
|
5432
|
+
# The total number of entries returned.
|
|
5056
5433
|
self.total_count = total_count
|
|
5057
5434
|
|
|
5058
5435
|
def validate(self):
|
|
@@ -5139,8 +5516,18 @@ class DescribeCfwRiskLevelSummaryRequest(TeaModel):
|
|
|
5139
5516
|
lang: str = None,
|
|
5140
5517
|
region_id: str = None,
|
|
5141
5518
|
):
|
|
5519
|
+
# The instance type.
|
|
5142
5520
|
self.instance_type = instance_type
|
|
5521
|
+
# The language of the content within the response.
|
|
5522
|
+
#
|
|
5523
|
+
# Valid values:
|
|
5524
|
+
#
|
|
5525
|
+
# * **zh** (default): Chinese
|
|
5526
|
+
# * **en**: English
|
|
5143
5527
|
self.lang = lang
|
|
5528
|
+
# The region ID of your Cloud Firewall.
|
|
5529
|
+
#
|
|
5530
|
+
# > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
|
|
5144
5531
|
self.region_id = region_id
|
|
5145
5532
|
|
|
5146
5533
|
def validate(self):
|
|
@@ -5178,8 +5565,13 @@ class DescribeCfwRiskLevelSummaryResponseBodyRiskList(TeaModel):
|
|
|
5178
5565
|
num: str = None,
|
|
5179
5566
|
type: str = None,
|
|
5180
5567
|
):
|
|
5568
|
+
# The risk levels. Valid values:
|
|
5569
|
+
#
|
|
5570
|
+
# * **medium**\
|
|
5181
5571
|
self.level = level
|
|
5572
|
+
# The number of at-risk Elastic Compute Service (ECS) instances.
|
|
5182
5573
|
self.num = num
|
|
5574
|
+
# The type.
|
|
5183
5575
|
self.type = type
|
|
5184
5576
|
|
|
5185
5577
|
def validate(self):
|
|
@@ -5216,7 +5608,9 @@ class DescribeCfwRiskLevelSummaryResponseBody(TeaModel):
|
|
|
5216
5608
|
request_id: str = None,
|
|
5217
5609
|
risk_list: List[DescribeCfwRiskLevelSummaryResponseBodyRiskList] = None,
|
|
5218
5610
|
):
|
|
5611
|
+
# The ID of the request.
|
|
5219
5612
|
self.request_id = request_id
|
|
5613
|
+
# The list of risks.
|
|
5220
5614
|
self.risk_list = risk_list
|
|
5221
5615
|
|
|
5222
5616
|
def validate(self):
|
|
@@ -6249,9 +6643,16 @@ class DescribeDownloadTaskRequest(TeaModel):
|
|
|
6249
6643
|
page_size: str = None,
|
|
6250
6644
|
task_type: str = None,
|
|
6251
6645
|
):
|
|
6646
|
+
# The page number.
|
|
6252
6647
|
self.current_page = current_page
|
|
6648
|
+
# The language of the content within the response. Valid values:
|
|
6649
|
+
#
|
|
6650
|
+
# * **zh** (default): Chinese
|
|
6651
|
+
# * **en**: English
|
|
6253
6652
|
self.lang = lang
|
|
6653
|
+
# The number of entries per page. Default value: 10. Maximum value: 50.
|
|
6254
6654
|
self.page_size = page_size
|
|
6655
|
+
# The type of the task. For more information about task types, see the descriptions in the "DescribeDownloadTaskType" topic. If you do not specify this parameter, all files are queried by default.
|
|
6255
6656
|
self.task_type = task_type
|
|
6256
6657
|
|
|
6257
6658
|
def validate(self):
|
|
@@ -6298,13 +6699,26 @@ class DescribeDownloadTaskResponseBodyTasks(TeaModel):
|
|
|
6298
6699
|
task_name: str = None,
|
|
6299
6700
|
task_type: str = None,
|
|
6300
6701
|
):
|
|
6702
|
+
# The time when the task was created. The value is a UNIX timestamp. Unit: seconds.
|
|
6301
6703
|
self.create_time = create_time
|
|
6704
|
+
# The time when the task expires. The value is a UNIX timestamp. Unit: seconds.
|
|
6302
6705
|
self.expire_time = expire_time
|
|
6706
|
+
# The size of the file.
|
|
6303
6707
|
self.file_size = file_size
|
|
6708
|
+
# The URL of the OSS file.
|
|
6304
6709
|
self.file_url = file_url
|
|
6710
|
+
# The status of the task. Valid values:
|
|
6711
|
+
#
|
|
6712
|
+
# * **finish**\
|
|
6713
|
+
# * **start**\
|
|
6714
|
+
# * **error**\
|
|
6715
|
+
# * **expire**: The task file is invalid and cannot be downloaded.
|
|
6305
6716
|
self.status = status
|
|
6717
|
+
# The task ID.
|
|
6306
6718
|
self.task_id = task_id
|
|
6719
|
+
# The name of the task.
|
|
6307
6720
|
self.task_name = task_name
|
|
6721
|
+
# The type of the task.
|
|
6308
6722
|
self.task_type = task_type
|
|
6309
6723
|
|
|
6310
6724
|
def validate(self):
|
|
@@ -6362,8 +6776,11 @@ class DescribeDownloadTaskResponseBody(TeaModel):
|
|
|
6362
6776
|
tasks: List[DescribeDownloadTaskResponseBodyTasks] = None,
|
|
6363
6777
|
total_count: int = None,
|
|
6364
6778
|
):
|
|
6779
|
+
# The ID of the request.
|
|
6365
6780
|
self.request_id = request_id
|
|
6781
|
+
# The tasks.
|
|
6366
6782
|
self.tasks = tasks
|
|
6783
|
+
# The total number of tasks.
|
|
6367
6784
|
self.total_count = total_count
|
|
6368
6785
|
|
|
6369
6786
|
def validate(self):
|
|
@@ -6451,9 +6868,16 @@ class DescribeDownloadTaskTypeRequest(TeaModel):
|
|
|
6451
6868
|
page_size: str = None,
|
|
6452
6869
|
task_type: str = None,
|
|
6453
6870
|
):
|
|
6871
|
+
# The page number. Pages start from page 1. Default value: **1**.
|
|
6454
6872
|
self.current_page = current_page
|
|
6873
|
+
# The language of the content within the response. Valid values:
|
|
6874
|
+
#
|
|
6875
|
+
# * **zh** (default): Chinese
|
|
6876
|
+
# * **en**: English
|
|
6455
6877
|
self.lang = lang
|
|
6878
|
+
# The number of entries per page. Default value: 10. Maximum value: 50.
|
|
6456
6879
|
self.page_size = page_size
|
|
6880
|
+
# The type of the task.
|
|
6457
6881
|
self.task_type = task_type
|
|
6458
6882
|
|
|
6459
6883
|
def validate(self):
|
|
@@ -6494,7 +6918,9 @@ class DescribeDownloadTaskTypeResponseBodyTaskTypeArray(TeaModel):
|
|
|
6494
6918
|
task_name: str = None,
|
|
6495
6919
|
task_type: str = None,
|
|
6496
6920
|
):
|
|
6921
|
+
# The name of the task type.
|
|
6497
6922
|
self.task_name = task_name
|
|
6923
|
+
# The type of the task.
|
|
6498
6924
|
self.task_type = task_type
|
|
6499
6925
|
|
|
6500
6926
|
def validate(self):
|
|
@@ -6528,8 +6954,11 @@ class DescribeDownloadTaskTypeResponseBody(TeaModel):
|
|
|
6528
6954
|
task_type_array: List[DescribeDownloadTaskTypeResponseBodyTaskTypeArray] = None,
|
|
6529
6955
|
total_count: int = None,
|
|
6530
6956
|
):
|
|
6957
|
+
# The ID of the request.
|
|
6531
6958
|
self.request_id = request_id
|
|
6959
|
+
# The task types.
|
|
6532
6960
|
self.task_type_array = task_type_array
|
|
6961
|
+
# The total number of entries returned.
|
|
6533
6962
|
self.total_count = total_count
|
|
6534
6963
|
|
|
6535
6964
|
def validate(self):
|
|
@@ -6877,9 +7306,13 @@ class DescribeInstanceRiskLevelsRequestInstances(TeaModel):
|
|
|
6877
7306
|
intranet_ip: str = None,
|
|
6878
7307
|
uuid: str = None,
|
|
6879
7308
|
):
|
|
7309
|
+
# The instance ID of your Cloud Firewall.
|
|
6880
7310
|
self.instance_id = instance_id
|
|
7311
|
+
# The public IP addresses of instances.
|
|
6881
7312
|
self.internet_ip = internet_ip
|
|
7313
|
+
# The private IP address of the instance.
|
|
6882
7314
|
self.intranet_ip = intranet_ip
|
|
7315
|
+
# The UUID of the instance.
|
|
6883
7316
|
self.uuid = uuid
|
|
6884
7317
|
|
|
6885
7318
|
def validate(self):
|
|
@@ -6920,7 +7353,12 @@ class DescribeInstanceRiskLevelsRequest(TeaModel):
|
|
|
6920
7353
|
instances: List[DescribeInstanceRiskLevelsRequestInstances] = None,
|
|
6921
7354
|
lang: str = None,
|
|
6922
7355
|
):
|
|
7356
|
+
# The information about the instances.
|
|
6923
7357
|
self.instances = instances
|
|
7358
|
+
# The language of the content within the response. Valid values:
|
|
7359
|
+
#
|
|
7360
|
+
# * **zh** (default): Chinese
|
|
7361
|
+
# * **en**: English
|
|
6924
7362
|
self.lang = lang
|
|
6925
7363
|
|
|
6926
7364
|
def validate(self):
|
|
@@ -6962,8 +7400,13 @@ class DescribeInstanceRiskLevelsResponseBodyInstanceRisksDetails(TeaModel):
|
|
|
6962
7400
|
level: str = None,
|
|
6963
7401
|
type: str = None,
|
|
6964
7402
|
):
|
|
7403
|
+
# The IP addresses of servers.
|
|
6965
7404
|
self.ip = ip
|
|
7405
|
+
# The risk levels. Valid values:
|
|
7406
|
+
#
|
|
7407
|
+
# * **medium**\
|
|
6966
7408
|
self.level = level
|
|
7409
|
+
# The type.
|
|
6967
7410
|
self.type = type
|
|
6968
7411
|
|
|
6969
7412
|
def validate(self):
|
|
@@ -7001,8 +7444,13 @@ class DescribeInstanceRiskLevelsResponseBodyInstanceRisks(TeaModel):
|
|
|
7001
7444
|
instance_id: str = None,
|
|
7002
7445
|
level: str = None,
|
|
7003
7446
|
):
|
|
7447
|
+
# The risk levels of the Elastic Compute Service (ECS) instance.
|
|
7004
7448
|
self.details = details
|
|
7449
|
+
# The instance ID of your Cloud Firewall.
|
|
7005
7450
|
self.instance_id = instance_id
|
|
7451
|
+
# The risk levels. Valid values:
|
|
7452
|
+
#
|
|
7453
|
+
# * **medium**\
|
|
7006
7454
|
self.level = level
|
|
7007
7455
|
|
|
7008
7456
|
def validate(self):
|
|
@@ -7047,7 +7495,9 @@ class DescribeInstanceRiskLevelsResponseBody(TeaModel):
|
|
|
7047
7495
|
instance_risks: List[DescribeInstanceRiskLevelsResponseBodyInstanceRisks] = None,
|
|
7048
7496
|
request_id: str = None,
|
|
7049
7497
|
):
|
|
7498
|
+
# The information about the instances.
|
|
7050
7499
|
self.instance_risks = instance_risks
|
|
7500
|
+
# The ID of the request.
|
|
7051
7501
|
self.request_id = request_id
|
|
7052
7502
|
|
|
7053
7503
|
def validate(self):
|
|
@@ -8354,6 +8804,10 @@ class DescribeNatAclPageStatusRequest(TeaModel):
|
|
|
8354
8804
|
self,
|
|
8355
8805
|
lang: str = None,
|
|
8356
8806
|
):
|
|
8807
|
+
# The language of the content within the request and response. Valid values:
|
|
8808
|
+
#
|
|
8809
|
+
# * **zh** (default): Chinese
|
|
8810
|
+
# * **en**: English
|
|
8357
8811
|
self.lang = lang
|
|
8358
8812
|
|
|
8359
8813
|
def validate(self):
|
|
@@ -8382,7 +8836,9 @@ class DescribeNatAclPageStatusResponseBody(TeaModel):
|
|
|
8382
8836
|
nat_acl_page_enable: bool = None,
|
|
8383
8837
|
request_id: str = None,
|
|
8384
8838
|
):
|
|
8839
|
+
# Indicates whether pagination for access control policies for NAT firewalls is supported.
|
|
8385
8840
|
self.nat_acl_page_enable = nat_acl_page_enable
|
|
8841
|
+
# The ID of the request.
|
|
8386
8842
|
self.request_id = request_id
|
|
8387
8843
|
|
|
8388
8844
|
def validate(self):
|
|
@@ -10643,13 +11099,30 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
|
|
|
10643
11099
|
start_time: str = None,
|
|
10644
11100
|
traffic_type: str = None,
|
|
10645
11101
|
):
|
|
11102
|
+
# The page number. Default value: 1.
|
|
10646
11103
|
self.current_page = current_page
|
|
11104
|
+
# The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
|
|
10647
11105
|
self.end_time = end_time
|
|
11106
|
+
# The language of the content within the request and response. Valid values:
|
|
11107
|
+
#
|
|
11108
|
+
# * **zh** (default): Chinese
|
|
11109
|
+
# * **en**: English
|
|
10648
11110
|
self.lang = lang
|
|
11111
|
+
# The field based on which you want to sort the query results. Valid values:
|
|
11112
|
+
#
|
|
11113
|
+
# * **resourceId**\
|
|
11114
|
+
# * **trafficDay**\
|
|
10649
11115
|
self.order = order
|
|
11116
|
+
# The number of entries per page. Default value: 10. Maximum value: 50.
|
|
10650
11117
|
self.page_size = page_size
|
|
11118
|
+
# The instance ID or the IP address of the asset.
|
|
10651
11119
|
self.search_item = search_item
|
|
11120
|
+
# The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
|
|
10652
11121
|
self.start_time = start_time
|
|
11122
|
+
# The traffic type. This parameter is required. Valid values:
|
|
11123
|
+
#
|
|
11124
|
+
# * **EIP_TRAFFIC**: traffic for the Internet firewall
|
|
11125
|
+
# * **NatGateway_TRAFFIC**: traffic for the NAT firewall
|
|
10653
11126
|
self.traffic_type = traffic_type
|
|
10654
11127
|
|
|
10655
11128
|
def validate(self):
|
|
@@ -10712,13 +11185,24 @@ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
|
|
|
10712
11185
|
traffic_day: str = None,
|
|
10713
11186
|
traffic_type: str = None,
|
|
10714
11187
|
):
|
|
11188
|
+
# The inbound network throughput, which indicates the total number of bytes that are received. Unit: bytes.
|
|
10715
11189
|
self.in_bytes = in_bytes
|
|
11190
|
+
# The instance ID of the asset.
|
|
10716
11191
|
self.instance_id = instance_id
|
|
11192
|
+
# The type of the asset. This value takes effect only for the Internet firewall.
|
|
10717
11193
|
self.instance_type = instance_type
|
|
11194
|
+
# The outbound network throughput, which indicates the total number of bytes that are sent. Unit: bytes.
|
|
10718
11195
|
self.out_bytes = out_bytes
|
|
11196
|
+
# The resource ID. The resource ID for the Internet firewall is the public IP address that is protected the Internet firewall, and the resource ID for a NAT firewall is the instance ID of the NAT firewall.
|
|
10719
11197
|
self.resource_id = resource_id
|
|
11198
|
+
# The total inbound and outbound network throughput, which indicates the total number of bytes that are sent and received. Unit: bytes.
|
|
10720
11199
|
self.total_bytes = total_bytes
|
|
11200
|
+
# The date on which the statistics are collected.
|
|
10721
11201
|
self.traffic_day = traffic_day
|
|
11202
|
+
# The traffic type. Valid values:
|
|
11203
|
+
#
|
|
11204
|
+
# * **EIP_TRAFFIC**: traffic for the Internet firewall
|
|
11205
|
+
# * **NatGateway_TRAFFIC**: traffic for the NAT firewall
|
|
10722
11206
|
self.traffic_type = traffic_type
|
|
10723
11207
|
|
|
10724
11208
|
def validate(self):
|
|
@@ -10776,8 +11260,11 @@ class DescribePostpayTrafficDetailResponseBody(TeaModel):
|
|
|
10776
11260
|
total_count: int = None,
|
|
10777
11261
|
traffic_list: List[DescribePostpayTrafficDetailResponseBodyTrafficList] = None,
|
|
10778
11262
|
):
|
|
11263
|
+
# The ID of the request.
|
|
10779
11264
|
self.request_id = request_id
|
|
11265
|
+
# The total number of entries returned.
|
|
10780
11266
|
self.total_count = total_count
|
|
11267
|
+
# The traffic statistics.
|
|
10781
11268
|
self.traffic_list = traffic_list
|
|
10782
11269
|
|
|
10783
11270
|
def validate(self):
|
|
@@ -10862,6 +11349,10 @@ class DescribePostpayTrafficTotalRequest(TeaModel):
|
|
|
10862
11349
|
self,
|
|
10863
11350
|
lang: str = None,
|
|
10864
11351
|
):
|
|
11352
|
+
# The language of the content within the response. Valid values:
|
|
11353
|
+
#
|
|
11354
|
+
# * **zh** (default): Chinese
|
|
11355
|
+
# * **en**: English
|
|
10865
11356
|
self.lang = lang
|
|
10866
11357
|
|
|
10867
11358
|
def validate(self):
|
|
@@ -10893,10 +11384,15 @@ class DescribePostpayTrafficTotalResponseBody(TeaModel):
|
|
|
10893
11384
|
total_nat_traffic: int = None,
|
|
10894
11385
|
total_traffic: int = None,
|
|
10895
11386
|
):
|
|
11387
|
+
# The ID of the request.
|
|
10896
11388
|
self.request_id = request_id
|
|
11389
|
+
# The total number of the assets that are protected by the Internet firewall.
|
|
10897
11390
|
self.total_assets = total_assets
|
|
11391
|
+
# The total number of the assets that are protected by the NAT firewall.
|
|
10898
11392
|
self.total_nat_assets = total_nat_assets
|
|
11393
|
+
# The total traffic for the NAT firewall. Unit: bytes.
|
|
10899
11394
|
self.total_nat_traffic = total_nat_traffic
|
|
11395
|
+
# The total traffic for the Internet firewall. Unit: bytes.
|
|
10900
11396
|
self.total_traffic = total_traffic
|
|
10901
11397
|
|
|
10902
11398
|
def validate(self):
|
|
@@ -10982,7 +11478,9 @@ class DescribePrefixListsRequest(TeaModel):
|
|
|
10982
11478
|
region_no: str = None,
|
|
10983
11479
|
source_ip: str = None,
|
|
10984
11480
|
):
|
|
11481
|
+
# The region ID of the instance.
|
|
10985
11482
|
self.region_no = region_no
|
|
11483
|
+
# The source IP address of the request.
|
|
10986
11484
|
self.source_ip = source_ip
|
|
10987
11485
|
|
|
10988
11486
|
def validate(self):
|
|
@@ -11020,12 +11518,22 @@ class DescribePrefixListsResponseBodyPrefixList(TeaModel):
|
|
|
11020
11518
|
prefix_list_id: str = None,
|
|
11021
11519
|
prefix_list_name: str = None,
|
|
11022
11520
|
):
|
|
11521
|
+
# The IP address family of the prefix list. Valid values:
|
|
11522
|
+
#
|
|
11523
|
+
# * IPv4
|
|
11524
|
+
# * IPv6
|
|
11023
11525
|
self.address_family = address_family
|
|
11526
|
+
# The number of associated resources.
|
|
11024
11527
|
self.association_count = association_count
|
|
11528
|
+
# The creation time.
|
|
11025
11529
|
self.creation_time = creation_time
|
|
11530
|
+
# The description.
|
|
11026
11531
|
self.description = description
|
|
11532
|
+
# The maximum number of entries in the prefix list.
|
|
11027
11533
|
self.max_entries = max_entries
|
|
11534
|
+
# The ID of the prefix list.
|
|
11028
11535
|
self.prefix_list_id = prefix_list_id
|
|
11536
|
+
# The name of the prefix list.
|
|
11029
11537
|
self.prefix_list_name = prefix_list_name
|
|
11030
11538
|
|
|
11031
11539
|
def validate(self):
|
|
@@ -11078,7 +11586,9 @@ class DescribePrefixListsResponseBody(TeaModel):
|
|
|
11078
11586
|
prefix_list: List[DescribePrefixListsResponseBodyPrefixList] = None,
|
|
11079
11587
|
request_id: str = None,
|
|
11080
11588
|
):
|
|
11589
|
+
# Details about the prefix lists.
|
|
11081
11590
|
self.prefix_list = prefix_list
|
|
11591
|
+
# The ID of the request.
|
|
11082
11592
|
self.request_id = request_id
|
|
11083
11593
|
|
|
11084
11594
|
def validate(self):
|
|
@@ -12174,7 +12684,37 @@ class DescribeSignatureLibVersionResponseBodyVersion(TeaModel):
|
|
|
12174
12684
|
type: str = None,
|
|
12175
12685
|
version: str = None,
|
|
12176
12686
|
):
|
|
12687
|
+
# The type.
|
|
12688
|
+
#
|
|
12689
|
+
# Valid values:
|
|
12690
|
+
#
|
|
12691
|
+
# * ips
|
|
12692
|
+
#
|
|
12693
|
+
# <!-- -->
|
|
12694
|
+
#
|
|
12695
|
+
# :
|
|
12696
|
+
#
|
|
12697
|
+
# <!-- -->
|
|
12698
|
+
#
|
|
12699
|
+
# Basic Rules and Virtual Patching
|
|
12700
|
+
#
|
|
12701
|
+
# <!-- -->
|
|
12702
|
+
#
|
|
12703
|
+
# .
|
|
12704
|
+
#
|
|
12705
|
+
# * intelligence
|
|
12706
|
+
#
|
|
12707
|
+
# <!-- -->
|
|
12708
|
+
#
|
|
12709
|
+
# :
|
|
12710
|
+
#
|
|
12711
|
+
# <!-- -->
|
|
12712
|
+
#
|
|
12713
|
+
# Threat Intelligence
|
|
12714
|
+
#
|
|
12715
|
+
# <!-- -->
|
|
12177
12716
|
self.type = type
|
|
12717
|
+
# The version number.
|
|
12178
12718
|
self.version = version
|
|
12179
12719
|
|
|
12180
12720
|
def validate(self):
|
|
@@ -12208,8 +12748,11 @@ class DescribeSignatureLibVersionResponseBody(TeaModel):
|
|
|
12208
12748
|
total_count: int = None,
|
|
12209
12749
|
version: List[DescribeSignatureLibVersionResponseBodyVersion] = None,
|
|
12210
12750
|
):
|
|
12751
|
+
# The ID of the request.
|
|
12211
12752
|
self.request_id = request_id
|
|
12753
|
+
# The total number of entries returned.
|
|
12212
12754
|
self.total_count = total_count
|
|
12755
|
+
# The information about the versions.
|
|
12213
12756
|
self.version = version
|
|
12214
12757
|
|
|
12215
12758
|
def validate(self):
|
|
@@ -12295,7 +12838,9 @@ class DescribeTrFirewallPolicyBackUpAssociationListRequestCandidateList(TeaModel
|
|
|
12295
12838
|
candidate_id: str = None,
|
|
12296
12839
|
candidate_type: str = None,
|
|
12297
12840
|
):
|
|
12841
|
+
# The ID of the traffic redirection instance.
|
|
12298
12842
|
self.candidate_id = candidate_id
|
|
12843
|
+
# The type of the traffic redirection instance.
|
|
12299
12844
|
self.candidate_type = candidate_type
|
|
12300
12845
|
|
|
12301
12846
|
def validate(self):
|
|
@@ -12330,6 +12875,7 @@ class DescribeTrFirewallPolicyBackUpAssociationListRequest(TeaModel):
|
|
|
12330
12875
|
lang: str = None,
|
|
12331
12876
|
tr_firewall_route_policy_id: str = None,
|
|
12332
12877
|
):
|
|
12878
|
+
# An array that consists of the details about the traffic redirection instance.
|
|
12333
12879
|
self.candidate_list = candidate_list
|
|
12334
12880
|
# The instance ID of the VPC firewall.
|
|
12335
12881
|
self.firewall_id = firewall_id
|
|
@@ -12389,6 +12935,7 @@ class DescribeTrFirewallPolicyBackUpAssociationListShrinkRequest(TeaModel):
|
|
|
12389
12935
|
lang: str = None,
|
|
12390
12936
|
tr_firewall_route_policy_id: str = None,
|
|
12391
12937
|
):
|
|
12938
|
+
# An array that consists of the details about the traffic redirection instance.
|
|
12392
12939
|
self.candidate_list_shrink = candidate_list_shrink
|
|
12393
12940
|
# The instance ID of the VPC firewall.
|
|
12394
12941
|
self.firewall_id = firewall_id
|
|
@@ -16801,8 +17348,16 @@ class DescribeVpcFirewallIPSWhitelistRequest(TeaModel):
|
|
|
16801
17348
|
member_uid: int = None,
|
|
16802
17349
|
vpc_firewall_id: str = None,
|
|
16803
17350
|
):
|
|
17351
|
+
# The language of the content within the request and response.
|
|
17352
|
+
#
|
|
17353
|
+
# Valid values:
|
|
17354
|
+
#
|
|
17355
|
+
# * **zh** (default): Chinese
|
|
17356
|
+
# * **en**: English
|
|
16804
17357
|
self.lang = lang
|
|
17358
|
+
# The UID of the member in Cloud Firewall.
|
|
16805
17359
|
self.member_uid = member_uid
|
|
17360
|
+
# The instance ID of the VPC firewall.
|
|
16806
17361
|
self.vpc_firewall_id = vpc_firewall_id
|
|
16807
17362
|
|
|
16808
17363
|
def validate(self):
|
|
@@ -16842,10 +17397,21 @@ class DescribeVpcFirewallIPSWhitelistResponseBodyWhitelists(TeaModel):
|
|
|
16842
17397
|
white_list_value: List[str] = None,
|
|
16843
17398
|
white_type: int = None,
|
|
16844
17399
|
):
|
|
17400
|
+
# The type of the list. Valid values:
|
|
17401
|
+
#
|
|
17402
|
+
# * **1**: user-defined
|
|
17403
|
+
# * **2**: address book
|
|
16845
17404
|
self.list_type = list_type
|
|
17405
|
+
# The entries in the list.
|
|
16846
17406
|
self.list_value = list_value
|
|
17407
|
+
# The instance ID of the VPC firewall.
|
|
16847
17408
|
self.vpc_firewall_id = vpc_firewall_id
|
|
17409
|
+
# An array of entries in the list.
|
|
16848
17410
|
self.white_list_value = white_list_value
|
|
17411
|
+
# The type of the whitelist. Valid values:
|
|
17412
|
+
#
|
|
17413
|
+
# * **1**: destination
|
|
17414
|
+
# * **2**: source
|
|
16849
17415
|
self.white_type = white_type
|
|
16850
17416
|
|
|
16851
17417
|
def validate(self):
|
|
@@ -16890,7 +17456,9 @@ class DescribeVpcFirewallIPSWhitelistResponseBody(TeaModel):
|
|
|
16890
17456
|
request_id: str = None,
|
|
16891
17457
|
whitelists: List[DescribeVpcFirewallIPSWhitelistResponseBodyWhitelists] = None,
|
|
16892
17458
|
):
|
|
17459
|
+
# The ID of the request.
|
|
16893
17460
|
self.request_id = request_id
|
|
17461
|
+
# The details of the IPS whitelist of the VPC firewall.
|
|
16894
17462
|
self.whitelists = whitelists
|
|
16895
17463
|
|
|
16896
17464
|
def validate(self):
|
|
@@ -17791,10 +18359,20 @@ class DescribeVpcListLiteRequest(TeaModel):
|
|
|
17791
18359
|
vpc_id: str = None,
|
|
17792
18360
|
vpc_name: str = None,
|
|
17793
18361
|
):
|
|
18362
|
+
# The language of the content within the request and response. Valid values:
|
|
18363
|
+
#
|
|
18364
|
+
# * **zh** (default): Chinese
|
|
18365
|
+
# * **en**: English
|
|
17794
18366
|
self.lang = lang
|
|
18367
|
+
# The region ID of the VPC.
|
|
18368
|
+
#
|
|
18369
|
+
# > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
|
|
17795
18370
|
self.region_no = region_no
|
|
18371
|
+
# The source IP address of the request.
|
|
17796
18372
|
self.source_ip = source_ip
|
|
18373
|
+
# The ID of the VPC.
|
|
17797
18374
|
self.vpc_id = vpc_id
|
|
18375
|
+
# The name of the VPC.
|
|
17798
18376
|
self.vpc_name = vpc_name
|
|
17799
18377
|
|
|
17800
18378
|
def validate(self):
|
|
@@ -17840,8 +18418,11 @@ class DescribeVpcListLiteResponseBodyVpcList(TeaModel):
|
|
|
17840
18418
|
vpc_id: str = None,
|
|
17841
18419
|
vpc_name: str = None,
|
|
17842
18420
|
):
|
|
18421
|
+
# The region ID of the VPC.
|
|
17843
18422
|
self.region_no = region_no
|
|
18423
|
+
# The ID of the VPC.
|
|
17844
18424
|
self.vpc_id = vpc_id
|
|
18425
|
+
# The name of the VPC.
|
|
17845
18426
|
self.vpc_name = vpc_name
|
|
17846
18427
|
|
|
17847
18428
|
def validate(self):
|
|
@@ -17878,7 +18459,9 @@ class DescribeVpcListLiteResponseBody(TeaModel):
|
|
|
17878
18459
|
request_id: str = None,
|
|
17879
18460
|
vpc_list: List[DescribeVpcListLiteResponseBodyVpcList] = None,
|
|
17880
18461
|
):
|
|
18462
|
+
# The ID of the request.
|
|
17881
18463
|
self.request_id = request_id
|
|
18464
|
+
# The information about the VPCs.
|
|
17882
18465
|
self.vpc_list = vpc_list
|
|
17883
18466
|
|
|
17884
18467
|
def validate(self):
|
|
@@ -17962,9 +18545,19 @@ class DescribeVpcZoneRequest(TeaModel):
|
|
|
17962
18545
|
member_uid: str = None,
|
|
17963
18546
|
region_no: str = None,
|
|
17964
18547
|
):
|
|
18548
|
+
# The environment. Valid values:
|
|
18549
|
+
#
|
|
18550
|
+
# * **VPC**\
|
|
18551
|
+
# * **TransitRouter**\
|
|
17965
18552
|
self.environment = environment
|
|
18553
|
+
# The language of the content within the request and response. Valid values:
|
|
18554
|
+
#
|
|
18555
|
+
# * **zh** (default): Chinese
|
|
18556
|
+
# * **en**: English
|
|
17966
18557
|
self.lang = lang
|
|
18558
|
+
# The UID of the member in Cloud Firewall.
|
|
17967
18559
|
self.member_uid = member_uid
|
|
18560
|
+
# The region ID.
|
|
17968
18561
|
self.region_no = region_no
|
|
17969
18562
|
|
|
17970
18563
|
def validate(self):
|
|
@@ -18006,8 +18599,11 @@ class DescribeVpcZoneResponseBodyZoneList(TeaModel):
|
|
|
18006
18599
|
zone_id: str = None,
|
|
18007
18600
|
zone_type: str = None,
|
|
18008
18601
|
):
|
|
18602
|
+
# The name of the zone.
|
|
18009
18603
|
self.local_name = local_name
|
|
18604
|
+
# The zone ID.
|
|
18010
18605
|
self.zone_id = zone_id
|
|
18606
|
+
# The zone type. Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.
|
|
18011
18607
|
self.zone_type = zone_type
|
|
18012
18608
|
|
|
18013
18609
|
def validate(self):
|
|
@@ -18044,7 +18640,9 @@ class DescribeVpcZoneResponseBody(TeaModel):
|
|
|
18044
18640
|
request_id: str = None,
|
|
18045
18641
|
zone_list: List[DescribeVpcZoneResponseBodyZoneList] = None,
|
|
18046
18642
|
):
|
|
18643
|
+
# The ID of the request.
|
|
18047
18644
|
self.request_id = request_id
|
|
18645
|
+
# The zones.
|
|
18048
18646
|
self.zone_list = zone_list
|
|
18049
18647
|
|
|
18050
18648
|
def validate(self):
|
|
@@ -21940,11 +22538,26 @@ class ModifyVpcFirewallIPSWhitelistRequest(TeaModel):
|
|
|
21940
22538
|
vpc_firewall_id: str = None,
|
|
21941
22539
|
white_type: int = None,
|
|
21942
22540
|
):
|
|
22541
|
+
# The language of the content within the request and response. Valid values:
|
|
22542
|
+
#
|
|
22543
|
+
# * **zh** (default): Chinese
|
|
22544
|
+
# * **en**: English
|
|
21943
22545
|
self.lang = lang
|
|
22546
|
+
# The type of the list. Valid values:
|
|
22547
|
+
#
|
|
22548
|
+
# * **1**: user-defined
|
|
22549
|
+
# * **2**: address book
|
|
21944
22550
|
self.list_type = list_type
|
|
22551
|
+
# The entry in the list.
|
|
21945
22552
|
self.list_value = list_value
|
|
22553
|
+
# The UID of the member that is managed by your Alibaba Cloud account.
|
|
21946
22554
|
self.member_uid = member_uid
|
|
22555
|
+
# The instance ID of the VPC firewall.
|
|
21947
22556
|
self.vpc_firewall_id = vpc_firewall_id
|
|
22557
|
+
# The type of the whitelist. Valid values:
|
|
22558
|
+
#
|
|
22559
|
+
# * **1**: destination
|
|
22560
|
+
# * **2**: source
|
|
21948
22561
|
self.white_type = white_type
|
|
21949
22562
|
|
|
21950
22563
|
def validate(self):
|
|
@@ -21992,6 +22605,7 @@ class ModifyVpcFirewallIPSWhitelistResponseBody(TeaModel):
|
|
|
21992
22605
|
self,
|
|
21993
22606
|
request_id: str = None,
|
|
21994
22607
|
):
|
|
22608
|
+
# The ID of the request.
|
|
21995
22609
|
self.request_id = request_id
|
|
21996
22610
|
|
|
21997
22611
|
def validate(self):
|
|
@@ -22872,8 +23486,14 @@ class ResetNatFirewallRuleHitCountRequest(TeaModel):
|
|
|
22872
23486
|
lang: str = None,
|
|
22873
23487
|
nat_gateway_id: str = None,
|
|
22874
23488
|
):
|
|
23489
|
+
# The UUID of the access control policy.
|
|
22875
23490
|
self.acl_uuid = acl_uuid
|
|
23491
|
+
# The language of the content within the request and response. Valid values:
|
|
23492
|
+
#
|
|
23493
|
+
# * **zh** (default): Chinese
|
|
23494
|
+
# * **en**: English
|
|
22876
23495
|
self.lang = lang
|
|
23496
|
+
# The ID of the NAT gateway.
|
|
22877
23497
|
self.nat_gateway_id = nat_gateway_id
|
|
22878
23498
|
|
|
22879
23499
|
def validate(self):
|
|
@@ -22909,6 +23529,7 @@ class ResetNatFirewallRuleHitCountResponseBody(TeaModel):
|
|
|
22909
23529
|
self,
|
|
22910
23530
|
request_id: str = None,
|
|
22911
23531
|
):
|
|
23532
|
+
# The ID of the request.
|
|
22912
23533
|
self.request_id = request_id
|
|
22913
23534
|
|
|
22914
23535
|
def validate(self):
|