alibabacloud-cloudfw20171207 6.0.0__py3-none-any.whl → 6.1.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 +166 -0
- alibabacloud_cloudfw20171207/models.py +362 -3
- {alibabacloud_cloudfw20171207-6.0.0.dist-info → alibabacloud_cloudfw20171207-6.1.0.dist-info}/METADATA +2 -2
- alibabacloud_cloudfw20171207-6.1.0.dist-info/RECORD +8 -0
- alibabacloud_cloudfw20171207-6.0.0.dist-info/RECORD +0 -8
- {alibabacloud_cloudfw20171207-6.0.0.dist-info → alibabacloud_cloudfw20171207-6.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_cloudfw20171207-6.0.0.dist-info → alibabacloud_cloudfw20171207-6.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_cloudfw20171207-6.0.0.dist-info → alibabacloud_cloudfw20171207-6.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '6.
|
|
1
|
+
__version__ = '6.1.0'
|
|
@@ -5549,6 +5549,80 @@ class Client(OpenApiClient):
|
|
|
5549
5549
|
runtime = util_models.RuntimeOptions()
|
|
5550
5550
|
return await self.describe_invade_event_list_with_options_async(request, runtime)
|
|
5551
5551
|
|
|
5552
|
+
def describe_log_store_info_with_options(
|
|
5553
|
+
self,
|
|
5554
|
+
runtime: util_models.RuntimeOptions,
|
|
5555
|
+
) -> cloudfw_20171207_models.DescribeLogStoreInfoResponse:
|
|
5556
|
+
"""
|
|
5557
|
+
@summary 获取日志服务信息
|
|
5558
|
+
|
|
5559
|
+
@param request: DescribeLogStoreInfoRequest
|
|
5560
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
5561
|
+
@return: DescribeLogStoreInfoResponse
|
|
5562
|
+
"""
|
|
5563
|
+
req = open_api_models.OpenApiRequest()
|
|
5564
|
+
params = open_api_models.Params(
|
|
5565
|
+
action='DescribeLogStoreInfo',
|
|
5566
|
+
version='2017-12-07',
|
|
5567
|
+
protocol='HTTPS',
|
|
5568
|
+
pathname='/',
|
|
5569
|
+
method='POST',
|
|
5570
|
+
auth_type='AK',
|
|
5571
|
+
style='RPC',
|
|
5572
|
+
req_body_type='formData',
|
|
5573
|
+
body_type='json'
|
|
5574
|
+
)
|
|
5575
|
+
return TeaCore.from_map(
|
|
5576
|
+
cloudfw_20171207_models.DescribeLogStoreInfoResponse(),
|
|
5577
|
+
self.call_api(params, req, runtime)
|
|
5578
|
+
)
|
|
5579
|
+
|
|
5580
|
+
async def describe_log_store_info_with_options_async(
|
|
5581
|
+
self,
|
|
5582
|
+
runtime: util_models.RuntimeOptions,
|
|
5583
|
+
) -> cloudfw_20171207_models.DescribeLogStoreInfoResponse:
|
|
5584
|
+
"""
|
|
5585
|
+
@summary 获取日志服务信息
|
|
5586
|
+
|
|
5587
|
+
@param request: DescribeLogStoreInfoRequest
|
|
5588
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
5589
|
+
@return: DescribeLogStoreInfoResponse
|
|
5590
|
+
"""
|
|
5591
|
+
req = open_api_models.OpenApiRequest()
|
|
5592
|
+
params = open_api_models.Params(
|
|
5593
|
+
action='DescribeLogStoreInfo',
|
|
5594
|
+
version='2017-12-07',
|
|
5595
|
+
protocol='HTTPS',
|
|
5596
|
+
pathname='/',
|
|
5597
|
+
method='POST',
|
|
5598
|
+
auth_type='AK',
|
|
5599
|
+
style='RPC',
|
|
5600
|
+
req_body_type='formData',
|
|
5601
|
+
body_type='json'
|
|
5602
|
+
)
|
|
5603
|
+
return TeaCore.from_map(
|
|
5604
|
+
cloudfw_20171207_models.DescribeLogStoreInfoResponse(),
|
|
5605
|
+
await self.call_api_async(params, req, runtime)
|
|
5606
|
+
)
|
|
5607
|
+
|
|
5608
|
+
def describe_log_store_info(self) -> cloudfw_20171207_models.DescribeLogStoreInfoResponse:
|
|
5609
|
+
"""
|
|
5610
|
+
@summary 获取日志服务信息
|
|
5611
|
+
|
|
5612
|
+
@return: DescribeLogStoreInfoResponse
|
|
5613
|
+
"""
|
|
5614
|
+
runtime = util_models.RuntimeOptions()
|
|
5615
|
+
return self.describe_log_store_info_with_options(runtime)
|
|
5616
|
+
|
|
5617
|
+
async def describe_log_store_info_async(self) -> cloudfw_20171207_models.DescribeLogStoreInfoResponse:
|
|
5618
|
+
"""
|
|
5619
|
+
@summary 获取日志服务信息
|
|
5620
|
+
|
|
5621
|
+
@return: DescribeLogStoreInfoResponse
|
|
5622
|
+
"""
|
|
5623
|
+
runtime = util_models.RuntimeOptions()
|
|
5624
|
+
return await self.describe_log_store_info_with_options_async(runtime)
|
|
5625
|
+
|
|
5552
5626
|
def describe_nat_acl_page_status_with_options(
|
|
5553
5627
|
self,
|
|
5554
5628
|
request: cloudfw_20171207_models.DescribeNatAclPageStatusRequest,
|
|
@@ -6049,6 +6123,98 @@ class Client(OpenApiClient):
|
|
|
6049
6123
|
runtime = util_models.RuntimeOptions()
|
|
6050
6124
|
return await self.describe_nat_firewall_policy_prior_used_with_options_async(request, runtime)
|
|
6051
6125
|
|
|
6126
|
+
def describe_nat_firewall_traffic_trend_with_options(
|
|
6127
|
+
self,
|
|
6128
|
+
request: cloudfw_20171207_models.DescribeNatFirewallTrafficTrendRequest,
|
|
6129
|
+
runtime: util_models.RuntimeOptions,
|
|
6130
|
+
) -> cloudfw_20171207_models.DescribeNatFirewallTrafficTrendResponse:
|
|
6131
|
+
"""
|
|
6132
|
+
@summary 概览页-NAT流量趋势
|
|
6133
|
+
|
|
6134
|
+
@param request: DescribeNatFirewallTrafficTrendRequest
|
|
6135
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
6136
|
+
@return: DescribeNatFirewallTrafficTrendResponse
|
|
6137
|
+
"""
|
|
6138
|
+
UtilClient.validate_model(request)
|
|
6139
|
+
query = OpenApiUtilClient.query(UtilClient.to_map(request))
|
|
6140
|
+
req = open_api_models.OpenApiRequest(
|
|
6141
|
+
query=OpenApiUtilClient.query(query)
|
|
6142
|
+
)
|
|
6143
|
+
params = open_api_models.Params(
|
|
6144
|
+
action='DescribeNatFirewallTrafficTrend',
|
|
6145
|
+
version='2017-12-07',
|
|
6146
|
+
protocol='HTTPS',
|
|
6147
|
+
pathname='/',
|
|
6148
|
+
method='GET',
|
|
6149
|
+
auth_type='AK',
|
|
6150
|
+
style='RPC',
|
|
6151
|
+
req_body_type='formData',
|
|
6152
|
+
body_type='json'
|
|
6153
|
+
)
|
|
6154
|
+
return TeaCore.from_map(
|
|
6155
|
+
cloudfw_20171207_models.DescribeNatFirewallTrafficTrendResponse(),
|
|
6156
|
+
self.call_api(params, req, runtime)
|
|
6157
|
+
)
|
|
6158
|
+
|
|
6159
|
+
async def describe_nat_firewall_traffic_trend_with_options_async(
|
|
6160
|
+
self,
|
|
6161
|
+
request: cloudfw_20171207_models.DescribeNatFirewallTrafficTrendRequest,
|
|
6162
|
+
runtime: util_models.RuntimeOptions,
|
|
6163
|
+
) -> cloudfw_20171207_models.DescribeNatFirewallTrafficTrendResponse:
|
|
6164
|
+
"""
|
|
6165
|
+
@summary 概览页-NAT流量趋势
|
|
6166
|
+
|
|
6167
|
+
@param request: DescribeNatFirewallTrafficTrendRequest
|
|
6168
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
6169
|
+
@return: DescribeNatFirewallTrafficTrendResponse
|
|
6170
|
+
"""
|
|
6171
|
+
UtilClient.validate_model(request)
|
|
6172
|
+
query = OpenApiUtilClient.query(UtilClient.to_map(request))
|
|
6173
|
+
req = open_api_models.OpenApiRequest(
|
|
6174
|
+
query=OpenApiUtilClient.query(query)
|
|
6175
|
+
)
|
|
6176
|
+
params = open_api_models.Params(
|
|
6177
|
+
action='DescribeNatFirewallTrafficTrend',
|
|
6178
|
+
version='2017-12-07',
|
|
6179
|
+
protocol='HTTPS',
|
|
6180
|
+
pathname='/',
|
|
6181
|
+
method='GET',
|
|
6182
|
+
auth_type='AK',
|
|
6183
|
+
style='RPC',
|
|
6184
|
+
req_body_type='formData',
|
|
6185
|
+
body_type='json'
|
|
6186
|
+
)
|
|
6187
|
+
return TeaCore.from_map(
|
|
6188
|
+
cloudfw_20171207_models.DescribeNatFirewallTrafficTrendResponse(),
|
|
6189
|
+
await self.call_api_async(params, req, runtime)
|
|
6190
|
+
)
|
|
6191
|
+
|
|
6192
|
+
def describe_nat_firewall_traffic_trend(
|
|
6193
|
+
self,
|
|
6194
|
+
request: cloudfw_20171207_models.DescribeNatFirewallTrafficTrendRequest,
|
|
6195
|
+
) -> cloudfw_20171207_models.DescribeNatFirewallTrafficTrendResponse:
|
|
6196
|
+
"""
|
|
6197
|
+
@summary 概览页-NAT流量趋势
|
|
6198
|
+
|
|
6199
|
+
@param request: DescribeNatFirewallTrafficTrendRequest
|
|
6200
|
+
@return: DescribeNatFirewallTrafficTrendResponse
|
|
6201
|
+
"""
|
|
6202
|
+
runtime = util_models.RuntimeOptions()
|
|
6203
|
+
return self.describe_nat_firewall_traffic_trend_with_options(request, runtime)
|
|
6204
|
+
|
|
6205
|
+
async def describe_nat_firewall_traffic_trend_async(
|
|
6206
|
+
self,
|
|
6207
|
+
request: cloudfw_20171207_models.DescribeNatFirewallTrafficTrendRequest,
|
|
6208
|
+
) -> cloudfw_20171207_models.DescribeNatFirewallTrafficTrendResponse:
|
|
6209
|
+
"""
|
|
6210
|
+
@summary 概览页-NAT流量趋势
|
|
6211
|
+
|
|
6212
|
+
@param request: DescribeNatFirewallTrafficTrendRequest
|
|
6213
|
+
@return: DescribeNatFirewallTrafficTrendResponse
|
|
6214
|
+
"""
|
|
6215
|
+
runtime = util_models.RuntimeOptions()
|
|
6216
|
+
return await self.describe_nat_firewall_traffic_trend_with_options_async(request, runtime)
|
|
6217
|
+
|
|
6052
6218
|
def describe_outgoing_destination_ipwith_options(
|
|
6053
6219
|
self,
|
|
6054
6220
|
request: cloudfw_20171207_models.DescribeOutgoingDestinationIPRequest,
|
|
@@ -8460,6 +8460,9 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8460
8460
|
assets_type: str = None,
|
|
8461
8461
|
detail_num: int = None,
|
|
8462
8462
|
has_acl_recommend: bool = None,
|
|
8463
|
+
in_bytes: int = None,
|
|
8464
|
+
member_uid: int = None,
|
|
8465
|
+
out_bytes: int = None,
|
|
8463
8466
|
port_list: List[str] = None,
|
|
8464
8467
|
public_ip: str = None,
|
|
8465
8468
|
region_no: str = None,
|
|
@@ -8467,10 +8470,12 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8467
8470
|
risk_reason: str = None,
|
|
8468
8471
|
service_name_list: List[str] = None,
|
|
8469
8472
|
src_ip_cnt: int = None,
|
|
8473
|
+
total_bytes: int = None,
|
|
8470
8474
|
total_reply_bytes: int = None,
|
|
8471
8475
|
traffic_percent_1day: str = None,
|
|
8472
8476
|
traffic_percent_30day: str = None,
|
|
8473
8477
|
traffic_percent_7day: str = None,
|
|
8478
|
+
unknown_reason: List[str] = None,
|
|
8474
8479
|
):
|
|
8475
8480
|
# The reason why recommended intelligent policies are unavailable. Valid values:
|
|
8476
8481
|
#
|
|
@@ -8492,6 +8497,12 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8492
8497
|
# * **true**\
|
|
8493
8498
|
# * **false**\
|
|
8494
8499
|
self.has_acl_recommend = has_acl_recommend
|
|
8500
|
+
# The inbound network throughput, which indicates the total number of bytes that are sent inbound. Unit: bytes.
|
|
8501
|
+
self.in_bytes = in_bytes
|
|
8502
|
+
# The UID of the member that is managed by your Alibaba Cloud account.
|
|
8503
|
+
self.member_uid = member_uid
|
|
8504
|
+
# The outbound network throughput, which indicates the total number of bytes that are sent outbound. Unit: bytes.
|
|
8505
|
+
self.out_bytes = out_bytes
|
|
8495
8506
|
# The list of ports.
|
|
8496
8507
|
self.port_list = port_list
|
|
8497
8508
|
# The public IP address of the instance.
|
|
@@ -8511,14 +8522,18 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8511
8522
|
self.service_name_list = service_name_list
|
|
8512
8523
|
# Number of source IPs.
|
|
8513
8524
|
self.src_ip_cnt = src_ip_cnt
|
|
8525
|
+
# The total inbound and outbound network throughput, which indicates the total number of bytes that are sent inbound and outbound. Unit: bytes.
|
|
8526
|
+
self.total_bytes = total_bytes
|
|
8514
8527
|
# Outbound traffic in the last 7 days.
|
|
8515
8528
|
self.total_reply_bytes = total_reply_bytes
|
|
8516
|
-
#
|
|
8529
|
+
# For detailed traffic information, see the TotalBytes field.
|
|
8517
8530
|
self.traffic_percent_1day = traffic_percent_1day
|
|
8518
|
-
#
|
|
8531
|
+
# For detailed traffic information, see the TotalBytes field.
|
|
8519
8532
|
self.traffic_percent_30day = traffic_percent_30day
|
|
8520
|
-
#
|
|
8533
|
+
# For detailed traffic information, see the TotalBytes field.
|
|
8521
8534
|
self.traffic_percent_7day = traffic_percent_7day
|
|
8535
|
+
# Reasons for not analyzing the protocol when the protocol is identified as Unknown.
|
|
8536
|
+
self.unknown_reason = unknown_reason
|
|
8522
8537
|
|
|
8523
8538
|
def validate(self):
|
|
8524
8539
|
pass
|
|
@@ -8541,6 +8556,12 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8541
8556
|
result['DetailNum'] = self.detail_num
|
|
8542
8557
|
if self.has_acl_recommend is not None:
|
|
8543
8558
|
result['HasAclRecommend'] = self.has_acl_recommend
|
|
8559
|
+
if self.in_bytes is not None:
|
|
8560
|
+
result['InBytes'] = self.in_bytes
|
|
8561
|
+
if self.member_uid is not None:
|
|
8562
|
+
result['MemberUid'] = self.member_uid
|
|
8563
|
+
if self.out_bytes is not None:
|
|
8564
|
+
result['OutBytes'] = self.out_bytes
|
|
8544
8565
|
if self.port_list is not None:
|
|
8545
8566
|
result['PortList'] = self.port_list
|
|
8546
8567
|
if self.public_ip is not None:
|
|
@@ -8555,6 +8576,8 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8555
8576
|
result['ServiceNameList'] = self.service_name_list
|
|
8556
8577
|
if self.src_ip_cnt is not None:
|
|
8557
8578
|
result['SrcIpCnt'] = self.src_ip_cnt
|
|
8579
|
+
if self.total_bytes is not None:
|
|
8580
|
+
result['TotalBytes'] = self.total_bytes
|
|
8558
8581
|
if self.total_reply_bytes is not None:
|
|
8559
8582
|
result['TotalReplyBytes'] = self.total_reply_bytes
|
|
8560
8583
|
if self.traffic_percent_1day is not None:
|
|
@@ -8563,6 +8586,8 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8563
8586
|
result['TrafficPercent30Day'] = self.traffic_percent_30day
|
|
8564
8587
|
if self.traffic_percent_7day is not None:
|
|
8565
8588
|
result['TrafficPercent7Day'] = self.traffic_percent_7day
|
|
8589
|
+
if self.unknown_reason is not None:
|
|
8590
|
+
result['UnknownReason'] = self.unknown_reason
|
|
8566
8591
|
return result
|
|
8567
8592
|
|
|
8568
8593
|
def from_map(self, m: dict = None):
|
|
@@ -8579,6 +8604,12 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8579
8604
|
self.detail_num = m.get('DetailNum')
|
|
8580
8605
|
if m.get('HasAclRecommend') is not None:
|
|
8581
8606
|
self.has_acl_recommend = m.get('HasAclRecommend')
|
|
8607
|
+
if m.get('InBytes') is not None:
|
|
8608
|
+
self.in_bytes = m.get('InBytes')
|
|
8609
|
+
if m.get('MemberUid') is not None:
|
|
8610
|
+
self.member_uid = m.get('MemberUid')
|
|
8611
|
+
if m.get('OutBytes') is not None:
|
|
8612
|
+
self.out_bytes = m.get('OutBytes')
|
|
8582
8613
|
if m.get('PortList') is not None:
|
|
8583
8614
|
self.port_list = m.get('PortList')
|
|
8584
8615
|
if m.get('PublicIp') is not None:
|
|
@@ -8593,6 +8624,8 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8593
8624
|
self.service_name_list = m.get('ServiceNameList')
|
|
8594
8625
|
if m.get('SrcIpCnt') is not None:
|
|
8595
8626
|
self.src_ip_cnt = m.get('SrcIpCnt')
|
|
8627
|
+
if m.get('TotalBytes') is not None:
|
|
8628
|
+
self.total_bytes = m.get('TotalBytes')
|
|
8596
8629
|
if m.get('TotalReplyBytes') is not None:
|
|
8597
8630
|
self.total_reply_bytes = m.get('TotalReplyBytes')
|
|
8598
8631
|
if m.get('TrafficPercent1Day') is not None:
|
|
@@ -8601,6 +8634,8 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8601
8634
|
self.traffic_percent_30day = m.get('TrafficPercent30Day')
|
|
8602
8635
|
if m.get('TrafficPercent7Day') is not None:
|
|
8603
8636
|
self.traffic_percent_7day = m.get('TrafficPercent7Day')
|
|
8637
|
+
if m.get('UnknownReason') is not None:
|
|
8638
|
+
self.unknown_reason = m.get('UnknownReason')
|
|
8604
8639
|
return self
|
|
8605
8640
|
|
|
8606
8641
|
|
|
@@ -9593,6 +9628,104 @@ class DescribeInvadeEventListResponse(TeaModel):
|
|
|
9593
9628
|
return self
|
|
9594
9629
|
|
|
9595
9630
|
|
|
9631
|
+
class DescribeLogStoreInfoResponseBody(TeaModel):
|
|
9632
|
+
def __init__(
|
|
9633
|
+
self,
|
|
9634
|
+
log_store_name: str = None,
|
|
9635
|
+
project_name: str = None,
|
|
9636
|
+
quota: int = None,
|
|
9637
|
+
request_id: str = None,
|
|
9638
|
+
ttl: int = None,
|
|
9639
|
+
used: int = None,
|
|
9640
|
+
):
|
|
9641
|
+
self.log_store_name = log_store_name
|
|
9642
|
+
self.project_name = project_name
|
|
9643
|
+
self.quota = quota
|
|
9644
|
+
self.request_id = request_id
|
|
9645
|
+
self.ttl = ttl
|
|
9646
|
+
self.used = used
|
|
9647
|
+
|
|
9648
|
+
def validate(self):
|
|
9649
|
+
pass
|
|
9650
|
+
|
|
9651
|
+
def to_map(self):
|
|
9652
|
+
_map = super().to_map()
|
|
9653
|
+
if _map is not None:
|
|
9654
|
+
return _map
|
|
9655
|
+
|
|
9656
|
+
result = dict()
|
|
9657
|
+
if self.log_store_name is not None:
|
|
9658
|
+
result['LogStoreName'] = self.log_store_name
|
|
9659
|
+
if self.project_name is not None:
|
|
9660
|
+
result['ProjectName'] = self.project_name
|
|
9661
|
+
if self.quota is not None:
|
|
9662
|
+
result['Quota'] = self.quota
|
|
9663
|
+
if self.request_id is not None:
|
|
9664
|
+
result['RequestId'] = self.request_id
|
|
9665
|
+
if self.ttl is not None:
|
|
9666
|
+
result['Ttl'] = self.ttl
|
|
9667
|
+
if self.used is not None:
|
|
9668
|
+
result['Used'] = self.used
|
|
9669
|
+
return result
|
|
9670
|
+
|
|
9671
|
+
def from_map(self, m: dict = None):
|
|
9672
|
+
m = m or dict()
|
|
9673
|
+
if m.get('LogStoreName') is not None:
|
|
9674
|
+
self.log_store_name = m.get('LogStoreName')
|
|
9675
|
+
if m.get('ProjectName') is not None:
|
|
9676
|
+
self.project_name = m.get('ProjectName')
|
|
9677
|
+
if m.get('Quota') is not None:
|
|
9678
|
+
self.quota = m.get('Quota')
|
|
9679
|
+
if m.get('RequestId') is not None:
|
|
9680
|
+
self.request_id = m.get('RequestId')
|
|
9681
|
+
if m.get('Ttl') is not None:
|
|
9682
|
+
self.ttl = m.get('Ttl')
|
|
9683
|
+
if m.get('Used') is not None:
|
|
9684
|
+
self.used = m.get('Used')
|
|
9685
|
+
return self
|
|
9686
|
+
|
|
9687
|
+
|
|
9688
|
+
class DescribeLogStoreInfoResponse(TeaModel):
|
|
9689
|
+
def __init__(
|
|
9690
|
+
self,
|
|
9691
|
+
headers: Dict[str, str] = None,
|
|
9692
|
+
status_code: int = None,
|
|
9693
|
+
body: DescribeLogStoreInfoResponseBody = None,
|
|
9694
|
+
):
|
|
9695
|
+
self.headers = headers
|
|
9696
|
+
self.status_code = status_code
|
|
9697
|
+
self.body = body
|
|
9698
|
+
|
|
9699
|
+
def validate(self):
|
|
9700
|
+
if self.body:
|
|
9701
|
+
self.body.validate()
|
|
9702
|
+
|
|
9703
|
+
def to_map(self):
|
|
9704
|
+
_map = super().to_map()
|
|
9705
|
+
if _map is not None:
|
|
9706
|
+
return _map
|
|
9707
|
+
|
|
9708
|
+
result = dict()
|
|
9709
|
+
if self.headers is not None:
|
|
9710
|
+
result['headers'] = self.headers
|
|
9711
|
+
if self.status_code is not None:
|
|
9712
|
+
result['statusCode'] = self.status_code
|
|
9713
|
+
if self.body is not None:
|
|
9714
|
+
result['body'] = self.body.to_map()
|
|
9715
|
+
return result
|
|
9716
|
+
|
|
9717
|
+
def from_map(self, m: dict = None):
|
|
9718
|
+
m = m or dict()
|
|
9719
|
+
if m.get('headers') is not None:
|
|
9720
|
+
self.headers = m.get('headers')
|
|
9721
|
+
if m.get('statusCode') is not None:
|
|
9722
|
+
self.status_code = m.get('statusCode')
|
|
9723
|
+
if m.get('body') is not None:
|
|
9724
|
+
temp_model = DescribeLogStoreInfoResponseBody()
|
|
9725
|
+
self.body = temp_model.from_map(m['body'])
|
|
9726
|
+
return self
|
|
9727
|
+
|
|
9728
|
+
|
|
9596
9729
|
class DescribeNatAclPageStatusRequest(TeaModel):
|
|
9597
9730
|
def __init__(
|
|
9598
9731
|
self,
|
|
@@ -10800,6 +10933,226 @@ class DescribeNatFirewallPolicyPriorUsedResponse(TeaModel):
|
|
|
10800
10933
|
return self
|
|
10801
10934
|
|
|
10802
10935
|
|
|
10936
|
+
class DescribeNatFirewallTrafficTrendRequest(TeaModel):
|
|
10937
|
+
def __init__(
|
|
10938
|
+
self,
|
|
10939
|
+
end_time: int = None,
|
|
10940
|
+
interval: int = None,
|
|
10941
|
+
nat_gateway_id: str = None,
|
|
10942
|
+
src_private_ip: str = None,
|
|
10943
|
+
src_public_ip: str = None,
|
|
10944
|
+
start_time: int = None,
|
|
10945
|
+
):
|
|
10946
|
+
# The end of the time range to query. The value is a UNIX timestamp that is accurate to seconds.
|
|
10947
|
+
self.end_time = end_time
|
|
10948
|
+
# The time interval between the data entries to return. Unit: seconds. Valid values:
|
|
10949
|
+
#
|
|
10950
|
+
# * **60**: 1 minute
|
|
10951
|
+
# * **1800**: 30 minutes
|
|
10952
|
+
self.interval = interval
|
|
10953
|
+
# The ID of the NAT gateway.
|
|
10954
|
+
self.nat_gateway_id = nat_gateway_id
|
|
10955
|
+
# The private IP address of the source.
|
|
10956
|
+
self.src_private_ip = src_private_ip
|
|
10957
|
+
# The public IP address of the source.
|
|
10958
|
+
self.src_public_ip = src_public_ip
|
|
10959
|
+
# The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
|
|
10960
|
+
self.start_time = start_time
|
|
10961
|
+
|
|
10962
|
+
def validate(self):
|
|
10963
|
+
pass
|
|
10964
|
+
|
|
10965
|
+
def to_map(self):
|
|
10966
|
+
_map = super().to_map()
|
|
10967
|
+
if _map is not None:
|
|
10968
|
+
return _map
|
|
10969
|
+
|
|
10970
|
+
result = dict()
|
|
10971
|
+
if self.end_time is not None:
|
|
10972
|
+
result['EndTime'] = self.end_time
|
|
10973
|
+
if self.interval is not None:
|
|
10974
|
+
result['Interval'] = self.interval
|
|
10975
|
+
if self.nat_gateway_id is not None:
|
|
10976
|
+
result['NatGatewayId'] = self.nat_gateway_id
|
|
10977
|
+
if self.src_private_ip is not None:
|
|
10978
|
+
result['SrcPrivateIP'] = self.src_private_ip
|
|
10979
|
+
if self.src_public_ip is not None:
|
|
10980
|
+
result['SrcPublicIP'] = self.src_public_ip
|
|
10981
|
+
if self.start_time is not None:
|
|
10982
|
+
result['StartTime'] = self.start_time
|
|
10983
|
+
return result
|
|
10984
|
+
|
|
10985
|
+
def from_map(self, m: dict = None):
|
|
10986
|
+
m = m or dict()
|
|
10987
|
+
if m.get('EndTime') is not None:
|
|
10988
|
+
self.end_time = m.get('EndTime')
|
|
10989
|
+
if m.get('Interval') is not None:
|
|
10990
|
+
self.interval = m.get('Interval')
|
|
10991
|
+
if m.get('NatGatewayId') is not None:
|
|
10992
|
+
self.nat_gateway_id = m.get('NatGatewayId')
|
|
10993
|
+
if m.get('SrcPrivateIP') is not None:
|
|
10994
|
+
self.src_private_ip = m.get('SrcPrivateIP')
|
|
10995
|
+
if m.get('SrcPublicIP') is not None:
|
|
10996
|
+
self.src_public_ip = m.get('SrcPublicIP')
|
|
10997
|
+
if m.get('StartTime') is not None:
|
|
10998
|
+
self.start_time = m.get('StartTime')
|
|
10999
|
+
return self
|
|
11000
|
+
|
|
11001
|
+
|
|
11002
|
+
class DescribeNatFirewallTrafficTrendResponseBodyDataList(TeaModel):
|
|
11003
|
+
def __init__(
|
|
11004
|
+
self,
|
|
11005
|
+
max_in_bps: int = None,
|
|
11006
|
+
max_out_bps: int = None,
|
|
11007
|
+
max_total_bps: int = None,
|
|
11008
|
+
traffic_time: int = None,
|
|
11009
|
+
):
|
|
11010
|
+
# The maximum inbound network throughput, which indicates the maximum number of bits that are sent inbound per second. Unit: bit/s.
|
|
11011
|
+
self.max_in_bps = max_in_bps
|
|
11012
|
+
# The maximum outbound network throughput, which indicates the maximum number of bits that are sent outbound per second. Unit: bit/s.
|
|
11013
|
+
self.max_out_bps = max_out_bps
|
|
11014
|
+
# The total maximum inbound and outbound network throughput, which indicates the maximum number of bits that are sent inbound and outbound per second. Unit: bit/s.
|
|
11015
|
+
self.max_total_bps = max_total_bps
|
|
11016
|
+
# The time range to query. The value is a UNIX timestamp. Unit: seconds.
|
|
11017
|
+
self.traffic_time = traffic_time
|
|
11018
|
+
|
|
11019
|
+
def validate(self):
|
|
11020
|
+
pass
|
|
11021
|
+
|
|
11022
|
+
def to_map(self):
|
|
11023
|
+
_map = super().to_map()
|
|
11024
|
+
if _map is not None:
|
|
11025
|
+
return _map
|
|
11026
|
+
|
|
11027
|
+
result = dict()
|
|
11028
|
+
if self.max_in_bps is not None:
|
|
11029
|
+
result['MaxInBps'] = self.max_in_bps
|
|
11030
|
+
if self.max_out_bps is not None:
|
|
11031
|
+
result['MaxOutBps'] = self.max_out_bps
|
|
11032
|
+
if self.max_total_bps is not None:
|
|
11033
|
+
result['MaxTotalBps'] = self.max_total_bps
|
|
11034
|
+
if self.traffic_time is not None:
|
|
11035
|
+
result['TrafficTime'] = self.traffic_time
|
|
11036
|
+
return result
|
|
11037
|
+
|
|
11038
|
+
def from_map(self, m: dict = None):
|
|
11039
|
+
m = m or dict()
|
|
11040
|
+
if m.get('MaxInBps') is not None:
|
|
11041
|
+
self.max_in_bps = m.get('MaxInBps')
|
|
11042
|
+
if m.get('MaxOutBps') is not None:
|
|
11043
|
+
self.max_out_bps = m.get('MaxOutBps')
|
|
11044
|
+
if m.get('MaxTotalBps') is not None:
|
|
11045
|
+
self.max_total_bps = m.get('MaxTotalBps')
|
|
11046
|
+
if m.get('TrafficTime') is not None:
|
|
11047
|
+
self.traffic_time = m.get('TrafficTime')
|
|
11048
|
+
return self
|
|
11049
|
+
|
|
11050
|
+
|
|
11051
|
+
class DescribeNatFirewallTrafficTrendResponseBody(TeaModel):
|
|
11052
|
+
def __init__(
|
|
11053
|
+
self,
|
|
11054
|
+
data_list: List[DescribeNatFirewallTrafficTrendResponseBodyDataList] = None,
|
|
11055
|
+
max_in_bps: int = None,
|
|
11056
|
+
max_out_bps: int = None,
|
|
11057
|
+
max_total_bps: int = None,
|
|
11058
|
+
request_id: str = None,
|
|
11059
|
+
):
|
|
11060
|
+
# The statistics on traffic.
|
|
11061
|
+
self.data_list = data_list
|
|
11062
|
+
# The maximum inbound network throughput, which indicates the maximum number of bits that are sent inbound per second. Unit: bit/s.
|
|
11063
|
+
self.max_in_bps = max_in_bps
|
|
11064
|
+
# The maximum outbound network throughput, which indicates the maximum number of bits that are sent outbound per second. Unit: bit/s.
|
|
11065
|
+
self.max_out_bps = max_out_bps
|
|
11066
|
+
# The total maximum inbound and outbound network throughput, which indicates the maximum number of bits that are sent inbound and outbound per second. Unit: bit/s.
|
|
11067
|
+
self.max_total_bps = max_total_bps
|
|
11068
|
+
# Id of the request
|
|
11069
|
+
self.request_id = request_id
|
|
11070
|
+
|
|
11071
|
+
def validate(self):
|
|
11072
|
+
if self.data_list:
|
|
11073
|
+
for k in self.data_list:
|
|
11074
|
+
if k:
|
|
11075
|
+
k.validate()
|
|
11076
|
+
|
|
11077
|
+
def to_map(self):
|
|
11078
|
+
_map = super().to_map()
|
|
11079
|
+
if _map is not None:
|
|
11080
|
+
return _map
|
|
11081
|
+
|
|
11082
|
+
result = dict()
|
|
11083
|
+
result['DataList'] = []
|
|
11084
|
+
if self.data_list is not None:
|
|
11085
|
+
for k in self.data_list:
|
|
11086
|
+
result['DataList'].append(k.to_map() if k else None)
|
|
11087
|
+
if self.max_in_bps is not None:
|
|
11088
|
+
result['MaxInBps'] = self.max_in_bps
|
|
11089
|
+
if self.max_out_bps is not None:
|
|
11090
|
+
result['MaxOutBps'] = self.max_out_bps
|
|
11091
|
+
if self.max_total_bps is not None:
|
|
11092
|
+
result['MaxTotalBps'] = self.max_total_bps
|
|
11093
|
+
if self.request_id is not None:
|
|
11094
|
+
result['RequestId'] = self.request_id
|
|
11095
|
+
return result
|
|
11096
|
+
|
|
11097
|
+
def from_map(self, m: dict = None):
|
|
11098
|
+
m = m or dict()
|
|
11099
|
+
self.data_list = []
|
|
11100
|
+
if m.get('DataList') is not None:
|
|
11101
|
+
for k in m.get('DataList'):
|
|
11102
|
+
temp_model = DescribeNatFirewallTrafficTrendResponseBodyDataList()
|
|
11103
|
+
self.data_list.append(temp_model.from_map(k))
|
|
11104
|
+
if m.get('MaxInBps') is not None:
|
|
11105
|
+
self.max_in_bps = m.get('MaxInBps')
|
|
11106
|
+
if m.get('MaxOutBps') is not None:
|
|
11107
|
+
self.max_out_bps = m.get('MaxOutBps')
|
|
11108
|
+
if m.get('MaxTotalBps') is not None:
|
|
11109
|
+
self.max_total_bps = m.get('MaxTotalBps')
|
|
11110
|
+
if m.get('RequestId') is not None:
|
|
11111
|
+
self.request_id = m.get('RequestId')
|
|
11112
|
+
return self
|
|
11113
|
+
|
|
11114
|
+
|
|
11115
|
+
class DescribeNatFirewallTrafficTrendResponse(TeaModel):
|
|
11116
|
+
def __init__(
|
|
11117
|
+
self,
|
|
11118
|
+
headers: Dict[str, str] = None,
|
|
11119
|
+
status_code: int = None,
|
|
11120
|
+
body: DescribeNatFirewallTrafficTrendResponseBody = None,
|
|
11121
|
+
):
|
|
11122
|
+
self.headers = headers
|
|
11123
|
+
self.status_code = status_code
|
|
11124
|
+
self.body = body
|
|
11125
|
+
|
|
11126
|
+
def validate(self):
|
|
11127
|
+
if self.body:
|
|
11128
|
+
self.body.validate()
|
|
11129
|
+
|
|
11130
|
+
def to_map(self):
|
|
11131
|
+
_map = super().to_map()
|
|
11132
|
+
if _map is not None:
|
|
11133
|
+
return _map
|
|
11134
|
+
|
|
11135
|
+
result = dict()
|
|
11136
|
+
if self.headers is not None:
|
|
11137
|
+
result['headers'] = self.headers
|
|
11138
|
+
if self.status_code is not None:
|
|
11139
|
+
result['statusCode'] = self.status_code
|
|
11140
|
+
if self.body is not None:
|
|
11141
|
+
result['body'] = self.body.to_map()
|
|
11142
|
+
return result
|
|
11143
|
+
|
|
11144
|
+
def from_map(self, m: dict = None):
|
|
11145
|
+
m = m or dict()
|
|
11146
|
+
if m.get('headers') is not None:
|
|
11147
|
+
self.headers = m.get('headers')
|
|
11148
|
+
if m.get('statusCode') is not None:
|
|
11149
|
+
self.status_code = m.get('statusCode')
|
|
11150
|
+
if m.get('body') is not None:
|
|
11151
|
+
temp_model = DescribeNatFirewallTrafficTrendResponseBody()
|
|
11152
|
+
self.body = temp_model.from_map(m['body'])
|
|
11153
|
+
return self
|
|
11154
|
+
|
|
11155
|
+
|
|
10803
11156
|
class DescribeOutgoingDestinationIPRequest(TeaModel):
|
|
10804
11157
|
def __init__(
|
|
10805
11158
|
self,
|
|
@@ -11038,6 +11391,7 @@ class DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList(TeaM
|
|
|
11038
11391
|
self,
|
|
11039
11392
|
application_name: str = None,
|
|
11040
11393
|
port: int = None,
|
|
11394
|
+
unknown_reason: List[str] = None,
|
|
11041
11395
|
):
|
|
11042
11396
|
# The application type used in the access control policy. Valid values:
|
|
11043
11397
|
#
|
|
@@ -11061,6 +11415,7 @@ class DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList(TeaM
|
|
|
11061
11415
|
self.application_name = application_name
|
|
11062
11416
|
# The application port.
|
|
11063
11417
|
self.port = port
|
|
11418
|
+
self.unknown_reason = unknown_reason
|
|
11064
11419
|
|
|
11065
11420
|
def validate(self):
|
|
11066
11421
|
pass
|
|
@@ -11075,6 +11430,8 @@ class DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList(TeaM
|
|
|
11075
11430
|
result['ApplicationName'] = self.application_name
|
|
11076
11431
|
if self.port is not None:
|
|
11077
11432
|
result['Port'] = self.port
|
|
11433
|
+
if self.unknown_reason is not None:
|
|
11434
|
+
result['UnknownReason'] = self.unknown_reason
|
|
11078
11435
|
return result
|
|
11079
11436
|
|
|
11080
11437
|
def from_map(self, m: dict = None):
|
|
@@ -11083,6 +11440,8 @@ class DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList(TeaM
|
|
|
11083
11440
|
self.application_name = m.get('ApplicationName')
|
|
11084
11441
|
if m.get('Port') is not None:
|
|
11085
11442
|
self.port = m.get('Port')
|
|
11443
|
+
if m.get('UnknownReason') is not None:
|
|
11444
|
+
self.unknown_reason = m.get('UnknownReason')
|
|
11086
11445
|
return self
|
|
11087
11446
|
|
|
11088
11447
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-cloudfw20171207
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.1.0
|
|
4
4
|
Summary: Alibaba Cloud Cloudfw (20171207) SDK Library for Python
|
|
5
5
|
Home-page: https://github.com/aliyun/alibabacloud-python-sdk
|
|
6
6
|
Author: Alibaba Cloud SDK
|
|
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
Requires-Dist: alibabacloud-endpoint-util (<1.0.0,>=0.0.3)
|
|
25
25
|
Requires-Dist: alibabacloud-openapi-util (<1.0.0,>=0.2.2)
|
|
26
|
-
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.
|
|
26
|
+
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.15)
|
|
27
27
|
Requires-Dist: alibabacloud-tea-util (<1.0.0,>=0.3.13)
|
|
28
28
|
|
|
29
29
|
English | [简体中文](README-CN.md)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_cloudfw20171207/__init__.py,sha256=EgV-kE3PMq32sf_z-ZJY512of5EITURHkarHr0QnSUc,21
|
|
2
|
+
alibabacloud_cloudfw20171207/client.py,sha256=1-IwJPBRxR1R8UQNtWcS4Bss1vhiSDueftIqobPcJyg,674356
|
|
3
|
+
alibabacloud_cloudfw20171207/models.py,sha256=1iyUnU3ax6eSVMEGooWt3Iwi-T3fQcoVWgWf64CfnNY,977859
|
|
4
|
+
alibabacloud_cloudfw20171207-6.1.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_cloudfw20171207-6.1.0.dist-info/METADATA,sha256=Qo5d9AkIlhYw7yJGQDmy_TVqE0ngN9wRg7-cSaDEQ5Q,2340
|
|
6
|
+
alibabacloud_cloudfw20171207-6.1.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_cloudfw20171207-6.1.0.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
|
|
8
|
+
alibabacloud_cloudfw20171207-6.1.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_cloudfw20171207/__init__.py,sha256=Rkd1gANO4By6zNziV5IlrYVUm6VSKASr3_tojR5k-FE,21
|
|
2
|
-
alibabacloud_cloudfw20171207/client.py,sha256=0yZv5yok8YohvYFK5-fF4OSBIsm76PCl8ybYOFX3i6g,668072
|
|
3
|
-
alibabacloud_cloudfw20171207/models.py,sha256=RFcR4gc6J_izCQ4ktBzupxH6jrTmEpfzvmvixtO5BNU,964464
|
|
4
|
-
alibabacloud_cloudfw20171207-6.0.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_cloudfw20171207-6.0.0.dist-info/METADATA,sha256=YcGZgZVj2Nk29FMnTJyEjyerubcOUBNiBcOjHpM69hc,2340
|
|
6
|
-
alibabacloud_cloudfw20171207-6.0.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_cloudfw20171207-6.0.0.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
|
|
8
|
-
alibabacloud_cloudfw20171207-6.0.0.dist-info/RECORD,,
|
|
File without changes
|
{alibabacloud_cloudfw20171207-6.0.0.dist-info → alibabacloud_cloudfw20171207-6.1.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|