alibabacloud-cloudfw20171207 3.4.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 +110 -0
- alibabacloud_cloudfw20171207/models.py +284 -2
- {alibabacloud_cloudfw20171207-3.4.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.4.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/WHEEL +1 -1
- alibabacloud_cloudfw20171207-3.4.0.dist-info/RECORD +0 -8
- {alibabacloud_cloudfw20171207-3.4.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/LICENSE +0 -0
- {alibabacloud_cloudfw20171207-3.4.0.dist-info → alibabacloud_cloudfw20171207-3.5.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '3.
|
|
1
|
+
__version__ = '3.5.0'
|
|
@@ -945,6 +945,116 @@ class Client(OpenApiClient):
|
|
|
945
945
|
runtime = util_models.RuntimeOptions()
|
|
946
946
|
return await self.create_nat_firewall_control_policy_with_options_async(request, runtime)
|
|
947
947
|
|
|
948
|
+
def create_security_proxy_with_options(
|
|
949
|
+
self,
|
|
950
|
+
request: cloudfw_20171207_models.CreateSecurityProxyRequest,
|
|
951
|
+
runtime: util_models.RuntimeOptions,
|
|
952
|
+
) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
|
|
953
|
+
UtilClient.validate_model(request)
|
|
954
|
+
query = {}
|
|
955
|
+
if not UtilClient.is_unset(request.firewall_switch):
|
|
956
|
+
query['FirewallSwitch'] = request.firewall_switch
|
|
957
|
+
if not UtilClient.is_unset(request.lang):
|
|
958
|
+
query['Lang'] = request.lang
|
|
959
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
960
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
961
|
+
if not UtilClient.is_unset(request.nat_route_entry_list):
|
|
962
|
+
query['NatRouteEntryList'] = request.nat_route_entry_list
|
|
963
|
+
if not UtilClient.is_unset(request.proxy_name):
|
|
964
|
+
query['ProxyName'] = request.proxy_name
|
|
965
|
+
if not UtilClient.is_unset(request.region_no):
|
|
966
|
+
query['RegionNo'] = request.region_no
|
|
967
|
+
if not UtilClient.is_unset(request.strict_mode):
|
|
968
|
+
query['StrictMode'] = request.strict_mode
|
|
969
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
970
|
+
query['VpcId'] = request.vpc_id
|
|
971
|
+
if not UtilClient.is_unset(request.vswitch_auto):
|
|
972
|
+
query['VswitchAuto'] = request.vswitch_auto
|
|
973
|
+
if not UtilClient.is_unset(request.vswitch_cidr):
|
|
974
|
+
query['VswitchCidr'] = request.vswitch_cidr
|
|
975
|
+
if not UtilClient.is_unset(request.vswitch_id):
|
|
976
|
+
query['VswitchId'] = request.vswitch_id
|
|
977
|
+
req = open_api_models.OpenApiRequest(
|
|
978
|
+
query=OpenApiUtilClient.query(query)
|
|
979
|
+
)
|
|
980
|
+
params = open_api_models.Params(
|
|
981
|
+
action='CreateSecurityProxy',
|
|
982
|
+
version='2017-12-07',
|
|
983
|
+
protocol='HTTPS',
|
|
984
|
+
pathname='/',
|
|
985
|
+
method='POST',
|
|
986
|
+
auth_type='AK',
|
|
987
|
+
style='RPC',
|
|
988
|
+
req_body_type='formData',
|
|
989
|
+
body_type='json'
|
|
990
|
+
)
|
|
991
|
+
return TeaCore.from_map(
|
|
992
|
+
cloudfw_20171207_models.CreateSecurityProxyResponse(),
|
|
993
|
+
self.call_api(params, req, runtime)
|
|
994
|
+
)
|
|
995
|
+
|
|
996
|
+
async def create_security_proxy_with_options_async(
|
|
997
|
+
self,
|
|
998
|
+
request: cloudfw_20171207_models.CreateSecurityProxyRequest,
|
|
999
|
+
runtime: util_models.RuntimeOptions,
|
|
1000
|
+
) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
|
|
1001
|
+
UtilClient.validate_model(request)
|
|
1002
|
+
query = {}
|
|
1003
|
+
if not UtilClient.is_unset(request.firewall_switch):
|
|
1004
|
+
query['FirewallSwitch'] = request.firewall_switch
|
|
1005
|
+
if not UtilClient.is_unset(request.lang):
|
|
1006
|
+
query['Lang'] = request.lang
|
|
1007
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
1008
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
1009
|
+
if not UtilClient.is_unset(request.nat_route_entry_list):
|
|
1010
|
+
query['NatRouteEntryList'] = request.nat_route_entry_list
|
|
1011
|
+
if not UtilClient.is_unset(request.proxy_name):
|
|
1012
|
+
query['ProxyName'] = request.proxy_name
|
|
1013
|
+
if not UtilClient.is_unset(request.region_no):
|
|
1014
|
+
query['RegionNo'] = request.region_no
|
|
1015
|
+
if not UtilClient.is_unset(request.strict_mode):
|
|
1016
|
+
query['StrictMode'] = request.strict_mode
|
|
1017
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
1018
|
+
query['VpcId'] = request.vpc_id
|
|
1019
|
+
if not UtilClient.is_unset(request.vswitch_auto):
|
|
1020
|
+
query['VswitchAuto'] = request.vswitch_auto
|
|
1021
|
+
if not UtilClient.is_unset(request.vswitch_cidr):
|
|
1022
|
+
query['VswitchCidr'] = request.vswitch_cidr
|
|
1023
|
+
if not UtilClient.is_unset(request.vswitch_id):
|
|
1024
|
+
query['VswitchId'] = request.vswitch_id
|
|
1025
|
+
req = open_api_models.OpenApiRequest(
|
|
1026
|
+
query=OpenApiUtilClient.query(query)
|
|
1027
|
+
)
|
|
1028
|
+
params = open_api_models.Params(
|
|
1029
|
+
action='CreateSecurityProxy',
|
|
1030
|
+
version='2017-12-07',
|
|
1031
|
+
protocol='HTTPS',
|
|
1032
|
+
pathname='/',
|
|
1033
|
+
method='POST',
|
|
1034
|
+
auth_type='AK',
|
|
1035
|
+
style='RPC',
|
|
1036
|
+
req_body_type='formData',
|
|
1037
|
+
body_type='json'
|
|
1038
|
+
)
|
|
1039
|
+
return TeaCore.from_map(
|
|
1040
|
+
cloudfw_20171207_models.CreateSecurityProxyResponse(),
|
|
1041
|
+
await self.call_api_async(params, req, runtime)
|
|
1042
|
+
)
|
|
1043
|
+
|
|
1044
|
+
def create_security_proxy(
|
|
1045
|
+
self,
|
|
1046
|
+
request: cloudfw_20171207_models.CreateSecurityProxyRequest,
|
|
1047
|
+
) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
|
|
1048
|
+
runtime = util_models.RuntimeOptions()
|
|
1049
|
+
return self.create_security_proxy_with_options(request, runtime)
|
|
1050
|
+
|
|
1051
|
+
async def create_security_proxy_async(
|
|
1052
|
+
self,
|
|
1053
|
+
request: cloudfw_20171207_models.CreateSecurityProxyRequest,
|
|
1054
|
+
) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
|
|
1055
|
+
runtime = util_models.RuntimeOptions()
|
|
1056
|
+
return await self.create_security_proxy_with_options_async(request, runtime)
|
|
1057
|
+
|
|
948
1058
|
def create_tr_firewall_v2with_options(
|
|
949
1059
|
self,
|
|
950
1060
|
request: cloudfw_20171207_models.CreateTrFirewallV2Request,
|
|
@@ -890,7 +890,9 @@ class BatchDeleteVpcFirewallControlPolicyRequest(TeaModel):
|
|
|
890
890
|
acl_uuid_list: List[str] = None,
|
|
891
891
|
vpc_firewall_id: str = None,
|
|
892
892
|
):
|
|
893
|
+
# The UUIDs of access control policies.
|
|
893
894
|
self.acl_uuid_list = acl_uuid_list
|
|
895
|
+
# The instance ID of the VPC firewall.
|
|
894
896
|
self.vpc_firewall_id = vpc_firewall_id
|
|
895
897
|
|
|
896
898
|
def validate(self):
|
|
@@ -922,6 +924,7 @@ class BatchDeleteVpcFirewallControlPolicyResponseBody(TeaModel):
|
|
|
922
924
|
self,
|
|
923
925
|
request_id: str = None,
|
|
924
926
|
):
|
|
927
|
+
# The ID of the request.
|
|
925
928
|
self.request_id = request_id
|
|
926
929
|
|
|
927
930
|
def validate(self):
|
|
@@ -1496,6 +1499,220 @@ class CreateNatFirewallControlPolicyResponse(TeaModel):
|
|
|
1496
1499
|
return self
|
|
1497
1500
|
|
|
1498
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
|
+
|
|
1499
1716
|
class CreateTrFirewallV2Request(TeaModel):
|
|
1500
1717
|
def __init__(
|
|
1501
1718
|
self,
|
|
@@ -6484,11 +6701,11 @@ class DescribeDownloadTaskResponseBodyTasks(TeaModel):
|
|
|
6484
6701
|
):
|
|
6485
6702
|
# The time when the task was created. The value is a UNIX timestamp. Unit: seconds.
|
|
6486
6703
|
self.create_time = create_time
|
|
6487
|
-
# The
|
|
6704
|
+
# The time when the task expires. The value is a UNIX timestamp. Unit: seconds.
|
|
6488
6705
|
self.expire_time = expire_time
|
|
6489
6706
|
# The size of the file.
|
|
6490
6707
|
self.file_size = file_size
|
|
6491
|
-
# The URL of the OSS
|
|
6708
|
+
# The URL of the OSS file.
|
|
6492
6709
|
self.file_url = file_url
|
|
6493
6710
|
# The status of the task. Valid values:
|
|
6494
6711
|
#
|
|
@@ -7089,9 +7306,13 @@ class DescribeInstanceRiskLevelsRequestInstances(TeaModel):
|
|
|
7089
7306
|
intranet_ip: str = None,
|
|
7090
7307
|
uuid: str = None,
|
|
7091
7308
|
):
|
|
7309
|
+
# The instance ID of your Cloud Firewall.
|
|
7092
7310
|
self.instance_id = instance_id
|
|
7311
|
+
# The public IP addresses of instances.
|
|
7093
7312
|
self.internet_ip = internet_ip
|
|
7313
|
+
# The private IP address of the instance.
|
|
7094
7314
|
self.intranet_ip = intranet_ip
|
|
7315
|
+
# The UUID of the instance.
|
|
7095
7316
|
self.uuid = uuid
|
|
7096
7317
|
|
|
7097
7318
|
def validate(self):
|
|
@@ -7132,7 +7353,12 @@ class DescribeInstanceRiskLevelsRequest(TeaModel):
|
|
|
7132
7353
|
instances: List[DescribeInstanceRiskLevelsRequestInstances] = None,
|
|
7133
7354
|
lang: str = None,
|
|
7134
7355
|
):
|
|
7356
|
+
# The information about the instances.
|
|
7135
7357
|
self.instances = instances
|
|
7358
|
+
# The language of the content within the response. Valid values:
|
|
7359
|
+
#
|
|
7360
|
+
# * **zh** (default): Chinese
|
|
7361
|
+
# * **en**: English
|
|
7136
7362
|
self.lang = lang
|
|
7137
7363
|
|
|
7138
7364
|
def validate(self):
|
|
@@ -7174,8 +7400,13 @@ class DescribeInstanceRiskLevelsResponseBodyInstanceRisksDetails(TeaModel):
|
|
|
7174
7400
|
level: str = None,
|
|
7175
7401
|
type: str = None,
|
|
7176
7402
|
):
|
|
7403
|
+
# The IP addresses of servers.
|
|
7177
7404
|
self.ip = ip
|
|
7405
|
+
# The risk levels. Valid values:
|
|
7406
|
+
#
|
|
7407
|
+
# * **medium**\
|
|
7178
7408
|
self.level = level
|
|
7409
|
+
# The type.
|
|
7179
7410
|
self.type = type
|
|
7180
7411
|
|
|
7181
7412
|
def validate(self):
|
|
@@ -7213,8 +7444,13 @@ class DescribeInstanceRiskLevelsResponseBodyInstanceRisks(TeaModel):
|
|
|
7213
7444
|
instance_id: str = None,
|
|
7214
7445
|
level: str = None,
|
|
7215
7446
|
):
|
|
7447
|
+
# The risk levels of the Elastic Compute Service (ECS) instance.
|
|
7216
7448
|
self.details = details
|
|
7449
|
+
# The instance ID of your Cloud Firewall.
|
|
7217
7450
|
self.instance_id = instance_id
|
|
7451
|
+
# The risk levels. Valid values:
|
|
7452
|
+
#
|
|
7453
|
+
# * **medium**\
|
|
7218
7454
|
self.level = level
|
|
7219
7455
|
|
|
7220
7456
|
def validate(self):
|
|
@@ -7259,7 +7495,9 @@ class DescribeInstanceRiskLevelsResponseBody(TeaModel):
|
|
|
7259
7495
|
instance_risks: List[DescribeInstanceRiskLevelsResponseBodyInstanceRisks] = None,
|
|
7260
7496
|
request_id: str = None,
|
|
7261
7497
|
):
|
|
7498
|
+
# The information about the instances.
|
|
7262
7499
|
self.instance_risks = instance_risks
|
|
7500
|
+
# The ID of the request.
|
|
7263
7501
|
self.request_id = request_id
|
|
7264
7502
|
|
|
7265
7503
|
def validate(self):
|
|
@@ -10861,13 +11099,30 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
|
|
|
10861
11099
|
start_time: str = None,
|
|
10862
11100
|
traffic_type: str = None,
|
|
10863
11101
|
):
|
|
11102
|
+
# The page number. Default value: 1.
|
|
10864
11103
|
self.current_page = current_page
|
|
11104
|
+
# The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
|
|
10865
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
|
|
10866
11110
|
self.lang = lang
|
|
11111
|
+
# The field based on which you want to sort the query results. Valid values:
|
|
11112
|
+
#
|
|
11113
|
+
# * **resourceId**\
|
|
11114
|
+
# * **trafficDay**\
|
|
10867
11115
|
self.order = order
|
|
11116
|
+
# The number of entries per page. Default value: 10. Maximum value: 50.
|
|
10868
11117
|
self.page_size = page_size
|
|
11118
|
+
# The instance ID or the IP address of the asset.
|
|
10869
11119
|
self.search_item = search_item
|
|
11120
|
+
# The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
|
|
10870
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
|
|
10871
11126
|
self.traffic_type = traffic_type
|
|
10872
11127
|
|
|
10873
11128
|
def validate(self):
|
|
@@ -10930,13 +11185,24 @@ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
|
|
|
10930
11185
|
traffic_day: str = None,
|
|
10931
11186
|
traffic_type: str = None,
|
|
10932
11187
|
):
|
|
11188
|
+
# The inbound network throughput, which indicates the total number of bytes that are received. Unit: bytes.
|
|
10933
11189
|
self.in_bytes = in_bytes
|
|
11190
|
+
# The instance ID of the asset.
|
|
10934
11191
|
self.instance_id = instance_id
|
|
11192
|
+
# The type of the asset. This value takes effect only for the Internet firewall.
|
|
10935
11193
|
self.instance_type = instance_type
|
|
11194
|
+
# The outbound network throughput, which indicates the total number of bytes that are sent. Unit: bytes.
|
|
10936
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.
|
|
10937
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.
|
|
10938
11199
|
self.total_bytes = total_bytes
|
|
11200
|
+
# The date on which the statistics are collected.
|
|
10939
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
|
|
10940
11206
|
self.traffic_type = traffic_type
|
|
10941
11207
|
|
|
10942
11208
|
def validate(self):
|
|
@@ -10994,8 +11260,11 @@ class DescribePostpayTrafficDetailResponseBody(TeaModel):
|
|
|
10994
11260
|
total_count: int = None,
|
|
10995
11261
|
traffic_list: List[DescribePostpayTrafficDetailResponseBodyTrafficList] = None,
|
|
10996
11262
|
):
|
|
11263
|
+
# The ID of the request.
|
|
10997
11264
|
self.request_id = request_id
|
|
11265
|
+
# The total number of entries returned.
|
|
10998
11266
|
self.total_count = total_count
|
|
11267
|
+
# The traffic statistics.
|
|
10999
11268
|
self.traffic_list = traffic_list
|
|
11000
11269
|
|
|
11001
11270
|
def validate(self):
|
|
@@ -11080,6 +11349,10 @@ class DescribePostpayTrafficTotalRequest(TeaModel):
|
|
|
11080
11349
|
self,
|
|
11081
11350
|
lang: str = None,
|
|
11082
11351
|
):
|
|
11352
|
+
# The language of the content within the response. Valid values:
|
|
11353
|
+
#
|
|
11354
|
+
# * **zh** (default): Chinese
|
|
11355
|
+
# * **en**: English
|
|
11083
11356
|
self.lang = lang
|
|
11084
11357
|
|
|
11085
11358
|
def validate(self):
|
|
@@ -11111,10 +11384,15 @@ class DescribePostpayTrafficTotalResponseBody(TeaModel):
|
|
|
11111
11384
|
total_nat_traffic: int = None,
|
|
11112
11385
|
total_traffic: int = None,
|
|
11113
11386
|
):
|
|
11387
|
+
# The ID of the request.
|
|
11114
11388
|
self.request_id = request_id
|
|
11389
|
+
# The total number of the assets that are protected by the Internet firewall.
|
|
11115
11390
|
self.total_assets = total_assets
|
|
11391
|
+
# The total number of the assets that are protected by the NAT firewall.
|
|
11116
11392
|
self.total_nat_assets = total_nat_assets
|
|
11393
|
+
# The total traffic for the NAT firewall. Unit: bytes.
|
|
11117
11394
|
self.total_nat_traffic = total_nat_traffic
|
|
11395
|
+
# The total traffic for the Internet firewall. Unit: bytes.
|
|
11118
11396
|
self.total_traffic = total_traffic
|
|
11119
11397
|
|
|
11120
11398
|
def validate(self):
|
|
@@ -12560,7 +12838,9 @@ class DescribeTrFirewallPolicyBackUpAssociationListRequestCandidateList(TeaModel
|
|
|
12560
12838
|
candidate_id: str = None,
|
|
12561
12839
|
candidate_type: str = None,
|
|
12562
12840
|
):
|
|
12841
|
+
# The ID of the traffic redirection instance.
|
|
12563
12842
|
self.candidate_id = candidate_id
|
|
12843
|
+
# The type of the traffic redirection instance.
|
|
12564
12844
|
self.candidate_type = candidate_type
|
|
12565
12845
|
|
|
12566
12846
|
def validate(self):
|
|
@@ -12595,6 +12875,7 @@ class DescribeTrFirewallPolicyBackUpAssociationListRequest(TeaModel):
|
|
|
12595
12875
|
lang: str = None,
|
|
12596
12876
|
tr_firewall_route_policy_id: str = None,
|
|
12597
12877
|
):
|
|
12878
|
+
# An array that consists of the details about the traffic redirection instance.
|
|
12598
12879
|
self.candidate_list = candidate_list
|
|
12599
12880
|
# The instance ID of the VPC firewall.
|
|
12600
12881
|
self.firewall_id = firewall_id
|
|
@@ -12654,6 +12935,7 @@ class DescribeTrFirewallPolicyBackUpAssociationListShrinkRequest(TeaModel):
|
|
|
12654
12935
|
lang: str = None,
|
|
12655
12936
|
tr_firewall_route_policy_id: str = None,
|
|
12656
12937
|
):
|
|
12938
|
+
# An array that consists of the details about the traffic redirection instance.
|
|
12657
12939
|
self.candidate_list_shrink = candidate_list_shrink
|
|
12658
12940
|
# The instance ID of the VPC firewall.
|
|
12659
12941
|
self.firewall_id = firewall_id
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_cloudfw20171207/__init__.py,sha256=KzvGgf2CoAa1R098SKTcQ8aRCJa-5F7TdnSKFhjeUlE,21
|
|
2
|
+
alibabacloud_cloudfw20171207/client.py,sha256=v-y7P5RAqY9DBMpFU2BrNRNwDBrsLJBexWVM7WaZACU,548722
|
|
3
|
+
alibabacloud_cloudfw20171207/models.py,sha256=kRwPJpzrz9dOKG5hR4r_CsgtnopHjcel-F38DxMYTdw,875495
|
|
4
|
+
alibabacloud_cloudfw20171207-3.5.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_cloudfw20171207-3.5.0.dist-info/METADATA,sha256=vP0pocg9Pv_ySyvjeX8Z5Nd_qA07dd_DKpMjWuh6TOk,2311
|
|
6
|
+
alibabacloud_cloudfw20171207-3.5.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
+
alibabacloud_cloudfw20171207-3.5.0.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
|
|
8
|
+
alibabacloud_cloudfw20171207-3.5.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_cloudfw20171207/__init__.py,sha256=9Jbm9JhU1Bzv5zg2q7bKPZF7n_ixYWFafe1k0lbD4qE,21
|
|
2
|
-
alibabacloud_cloudfw20171207/client.py,sha256=PWqHgrPURpbXcJUyigdU_mZ-WS6Bk8C7Y2LLx6lctS8,543850
|
|
3
|
-
alibabacloud_cloudfw20171207/models.py,sha256=TUXwpZZMonncmC5Kx1GCX0uBV9CkT93Z2lAbofTe-Zw,864567
|
|
4
|
-
alibabacloud_cloudfw20171207-3.4.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_cloudfw20171207-3.4.0.dist-info/METADATA,sha256=Z0Ut7MlqpCbG6gwdFTANG6InF8S86NByIIP0WK3Ui_w,2311
|
|
6
|
-
alibabacloud_cloudfw20171207-3.4.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
-
alibabacloud_cloudfw20171207-3.4.0.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
|
|
8
|
-
alibabacloud_cloudfw20171207-3.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|