alibabacloud-nis20211216 2.2.2__py3-none-any.whl → 2.3.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.
- alibabacloud_nis20211216/__init__.py +1 -1
- alibabacloud_nis20211216/client.py +1681 -2184
- alibabacloud_nis20211216/models/__init__.py +227 -0
- alibabacloud_nis20211216/models/_create_and_analyze_network_path_request.py +136 -0
- alibabacloud_nis20211216/models/_create_and_analyze_network_path_response.py +54 -0
- alibabacloud_nis20211216/models/_create_and_analyze_network_path_response_body.py +124 -0
- alibabacloud_nis20211216/models/_create_network_path_request.py +228 -0
- alibabacloud_nis20211216/models/_create_network_path_response.py +54 -0
- alibabacloud_nis20211216/models/_create_network_path_response_body.py +43 -0
- alibabacloud_nis20211216/models/_create_network_reachable_analysis_request.py +106 -0
- alibabacloud_nis20211216/models/_create_network_reachable_analysis_response.py +54 -0
- alibabacloud_nis20211216/models/_create_network_reachable_analysis_response_body.py +43 -0
- alibabacloud_nis20211216/models/_delete_network_path_request.py +47 -0
- alibabacloud_nis20211216/models/_delete_network_path_response.py +54 -0
- alibabacloud_nis20211216/models/_delete_network_path_response_body.py +46 -0
- alibabacloud_nis20211216/models/_delete_network_path_shrink_request.py +45 -0
- alibabacloud_nis20211216/models/_delete_network_reachable_analysis_request.py +47 -0
- alibabacloud_nis20211216/models/_delete_network_reachable_analysis_response.py +54 -0
- alibabacloud_nis20211216/models/_delete_network_reachable_analysis_response_body.py +45 -0
- alibabacloud_nis20211216/models/_delete_network_reachable_analysis_shrink_request.py +45 -0
- alibabacloud_nis20211216/models/_delete_nis_inspection_report_request.py +34 -0
- alibabacloud_nis20211216/models/_delete_nis_inspection_report_response.py +54 -0
- alibabacloud_nis20211216/models/_delete_nis_inspection_report_response_body.py +41 -0
- alibabacloud_nis20211216/models/_delete_nis_inspection_task_request.py +34 -0
- alibabacloud_nis20211216/models/_delete_nis_inspection_task_response.py +54 -0
- alibabacloud_nis20211216/models/_delete_nis_inspection_task_response_body.py +41 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_recommendation_resources_request.py +67 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_recommendation_resources_response.py +54 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_recommendation_resources_response_body.py +127 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_check_items_request.py +84 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_check_items_response.py +54 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_check_items_response_body.py +302 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_check_items_shrink_request.py +82 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_status_request.py +34 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_status_response.py +54 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_status_response_body.py +89 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_summary_request.py +34 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_summary_response.py +54 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_report_summary_response_body.py +240 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_task_request.py +34 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_task_response.py +54 -0
- alibabacloud_nis20211216/models/_describe_nis_inspection_task_response_body.py +159 -0
- alibabacloud_nis20211216/models/_describe_nis_traffic_ranking_request.py +50 -0
- alibabacloud_nis20211216/models/_describe_nis_traffic_ranking_response.py +54 -0
- alibabacloud_nis20211216/models/_describe_nis_traffic_ranking_response_body.py +463 -0
- alibabacloud_nis20211216/models/_get_internet_tuple_request.py +270 -0
- alibabacloud_nis20211216/models/_get_internet_tuple_response.py +54 -0
- alibabacloud_nis20211216/models/_get_internet_tuple_response_body.py +366 -0
- alibabacloud_nis20211216/models/_get_internet_tuple_shrink_request.py +270 -0
- alibabacloud_nis20211216/models/_get_nat_top_nrequest.py +99 -0
- alibabacloud_nis20211216/models/_get_nat_top_nresponse.py +54 -0
- alibabacloud_nis20211216/models/_get_nat_top_nresponse_body.py +166 -0
- alibabacloud_nis20211216/models/_get_network_reachable_analysis_request.py +45 -0
- alibabacloud_nis20211216/models/_get_network_reachable_analysis_response.py +54 -0
- alibabacloud_nis20211216/models/_get_network_reachable_analysis_response_body.py +114 -0
- alibabacloud_nis20211216/models/_get_nis_network_metrics_request.py +155 -0
- alibabacloud_nis20211216/models/_get_nis_network_metrics_response.py +54 -0
- alibabacloud_nis20211216/models/_get_nis_network_metrics_response_body.py +124 -0
- alibabacloud_nis20211216/models/_get_nis_network_metrics_shrink_request.py +111 -0
- alibabacloud_nis20211216/models/_get_nis_network_ranking_request.py +172 -0
- alibabacloud_nis20211216/models/_get_nis_network_ranking_response.py +54 -0
- alibabacloud_nis20211216/models/_get_nis_network_ranking_response_body.py +319 -0
- alibabacloud_nis20211216/models/_get_nis_network_ranking_shrink_request.py +128 -0
- alibabacloud_nis20211216/models/_get_transit_router_flow_top_nrequest.py +215 -0
- alibabacloud_nis20211216/models/_get_transit_router_flow_top_nresponse.py +54 -0
- alibabacloud_nis20211216/models/_get_transit_router_flow_top_nresponse_body.py +199 -0
- alibabacloud_nis20211216/models/_get_transit_router_flow_top_nshrink_request.py +213 -0
- alibabacloud_nis20211216/models/_get_vbr_flow_top_nrequest.py +220 -0
- alibabacloud_nis20211216/models/_get_vbr_flow_top_nresponse.py +54 -0
- alibabacloud_nis20211216/models/_get_vbr_flow_top_nresponse_body.py +172 -0
- alibabacloud_nis20211216/models/_get_vbr_flow_top_nshrink_request.py +218 -0
- alibabacloud_nis20211216/models/_list_nis_inspection_resource_type_response.py +54 -0
- alibabacloud_nis20211216/models/_list_nis_inspection_resource_type_response_body.py +79 -0
- alibabacloud_nis20211216/models/_list_nis_inspection_task_reports_request.py +50 -0
- alibabacloud_nis20211216/models/_list_nis_inspection_task_reports_response.py +54 -0
- alibabacloud_nis20211216/models/_list_nis_inspection_task_reports_response_body.py +103 -0
- alibabacloud_nis20211216/models/_list_nis_inspection_tasks_request.py +73 -0
- alibabacloud_nis20211216/models/_list_nis_inspection_tasks_response.py +54 -0
- alibabacloud_nis20211216/models/_list_nis_inspection_tasks_response_body.py +143 -0
- alibabacloud_nis20211216/models/_start_nis_inspection_task_request.py +34 -0
- alibabacloud_nis20211216/models/_start_nis_inspection_task_response.py +54 -0
- alibabacloud_nis20211216/models/_start_nis_inspection_task_response_body.py +41 -0
- alibabacloud_nis20211216/models/_start_nis_traffic_ranking_request.py +214 -0
- alibabacloud_nis20211216/models/_start_nis_traffic_ranking_response.py +54 -0
- alibabacloud_nis20211216/models/_start_nis_traffic_ranking_response_body.py +41 -0
- alibabacloud_nis20211216/models/_start_nis_traffic_ranking_shrink_request.py +160 -0
- alibabacloud_nis20211216/models/_update_nis_inspection_task_request.py +42 -0
- alibabacloud_nis20211216/models/_update_nis_inspection_task_response.py +54 -0
- alibabacloud_nis20211216/models/_update_nis_inspection_task_response_body.py +41 -0
- {alibabacloud_nis20211216-2.2.2.dist-info → alibabacloud_nis20211216-2.3.0.dist-info}/METADATA +7 -7
- alibabacloud_nis20211216-2.3.0.dist-info/RECORD +94 -0
- alibabacloud_nis20211216/models.py +0 -6298
- alibabacloud_nis20211216-2.2.2.dist-info/RECORD +0 -8
- {alibabacloud_nis20211216-2.2.2.dist-info → alibabacloud_nis20211216-2.3.0.dist-info}/LICENSE +0 -0
- {alibabacloud_nis20211216-2.2.2.dist-info → alibabacloud_nis20211216-2.3.0.dist-info}/WHEEL +0 -0
- {alibabacloud_nis20211216-2.2.2.dist-info → alibabacloud_nis20211216-2.3.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_nis20211216 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class DescribeNisTrafficRankingResponseBody(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
flow_ranking_list: List[main_models.DescribeNisTrafficRankingResponseBodyFlowRankingList] = None,
|
|
14
|
+
max_results: int = None,
|
|
15
|
+
next_token: str = None,
|
|
16
|
+
nis_traffic_ranking_id: str = None,
|
|
17
|
+
request_id: str = None,
|
|
18
|
+
status: str = None,
|
|
19
|
+
total_count: int = None,
|
|
20
|
+
):
|
|
21
|
+
self.flow_ranking_list = flow_ranking_list
|
|
22
|
+
self.max_results = max_results
|
|
23
|
+
self.next_token = next_token
|
|
24
|
+
self.nis_traffic_ranking_id = nis_traffic_ranking_id
|
|
25
|
+
self.request_id = request_id
|
|
26
|
+
self.status = status
|
|
27
|
+
self.total_count = total_count
|
|
28
|
+
|
|
29
|
+
def validate(self):
|
|
30
|
+
if self.flow_ranking_list:
|
|
31
|
+
for v1 in self.flow_ranking_list:
|
|
32
|
+
if v1:
|
|
33
|
+
v1.validate()
|
|
34
|
+
|
|
35
|
+
def to_map(self):
|
|
36
|
+
result = dict()
|
|
37
|
+
_map = super().to_map()
|
|
38
|
+
if _map is not None:
|
|
39
|
+
result = _map
|
|
40
|
+
result['FlowRankingList'] = []
|
|
41
|
+
if self.flow_ranking_list is not None:
|
|
42
|
+
for k1 in self.flow_ranking_list:
|
|
43
|
+
result['FlowRankingList'].append(k1.to_map() if k1 else None)
|
|
44
|
+
|
|
45
|
+
if self.max_results is not None:
|
|
46
|
+
result['MaxResults'] = self.max_results
|
|
47
|
+
|
|
48
|
+
if self.next_token is not None:
|
|
49
|
+
result['NextToken'] = self.next_token
|
|
50
|
+
|
|
51
|
+
if self.nis_traffic_ranking_id is not None:
|
|
52
|
+
result['NisTrafficRankingId'] = self.nis_traffic_ranking_id
|
|
53
|
+
|
|
54
|
+
if self.request_id is not None:
|
|
55
|
+
result['RequestId'] = self.request_id
|
|
56
|
+
|
|
57
|
+
if self.status is not None:
|
|
58
|
+
result['Status'] = self.status
|
|
59
|
+
|
|
60
|
+
if self.total_count is not None:
|
|
61
|
+
result['TotalCount'] = self.total_count
|
|
62
|
+
|
|
63
|
+
return result
|
|
64
|
+
|
|
65
|
+
def from_map(self, m: dict = None):
|
|
66
|
+
m = m or dict()
|
|
67
|
+
self.flow_ranking_list = []
|
|
68
|
+
if m.get('FlowRankingList') is not None:
|
|
69
|
+
for k1 in m.get('FlowRankingList'):
|
|
70
|
+
temp_model = main_models.DescribeNisTrafficRankingResponseBodyFlowRankingList()
|
|
71
|
+
self.flow_ranking_list.append(temp_model.from_map(k1))
|
|
72
|
+
|
|
73
|
+
if m.get('MaxResults') is not None:
|
|
74
|
+
self.max_results = m.get('MaxResults')
|
|
75
|
+
|
|
76
|
+
if m.get('NextToken') is not None:
|
|
77
|
+
self.next_token = m.get('NextToken')
|
|
78
|
+
|
|
79
|
+
if m.get('NisTrafficRankingId') is not None:
|
|
80
|
+
self.nis_traffic_ranking_id = m.get('NisTrafficRankingId')
|
|
81
|
+
|
|
82
|
+
if m.get('RequestId') is not None:
|
|
83
|
+
self.request_id = m.get('RequestId')
|
|
84
|
+
|
|
85
|
+
if m.get('Status') is not None:
|
|
86
|
+
self.status = m.get('Status')
|
|
87
|
+
|
|
88
|
+
if m.get('TotalCount') is not None:
|
|
89
|
+
self.total_count = m.get('TotalCount')
|
|
90
|
+
|
|
91
|
+
return self
|
|
92
|
+
|
|
93
|
+
class DescribeNisTrafficRankingResponseBodyFlowRankingList(DaraModel):
|
|
94
|
+
def __init__(
|
|
95
|
+
self,
|
|
96
|
+
binding_resource_id: str = None,
|
|
97
|
+
binding_resource_type: str = None,
|
|
98
|
+
bytes: float = None,
|
|
99
|
+
bytes_rate: float = None,
|
|
100
|
+
client_asn: str = None,
|
|
101
|
+
client_city: str = None,
|
|
102
|
+
client_country: str = None,
|
|
103
|
+
client_isp: str = None,
|
|
104
|
+
client_province: str = None,
|
|
105
|
+
destination_ip: str = None,
|
|
106
|
+
destination_port: str = None,
|
|
107
|
+
destination_region_no: str = None,
|
|
108
|
+
direction: str = None,
|
|
109
|
+
dscp: str = None,
|
|
110
|
+
ecs_id: str = None,
|
|
111
|
+
instance_id: str = None,
|
|
112
|
+
network_interface_id: str = None,
|
|
113
|
+
packets: float = None,
|
|
114
|
+
packets_lost_blackhole: float = None,
|
|
115
|
+
packets_lost_no_route: float = None,
|
|
116
|
+
packets_lost_ttlexpired: float = None,
|
|
117
|
+
protocol: str = None,
|
|
118
|
+
public_ip_address: str = None,
|
|
119
|
+
region_id: str = None,
|
|
120
|
+
round_trip_time: float = None,
|
|
121
|
+
source_ip: str = None,
|
|
122
|
+
source_port: str = None,
|
|
123
|
+
source_region_no: str = None,
|
|
124
|
+
traffic_path: str = None,
|
|
125
|
+
transit_router_attachment_id: str = None,
|
|
126
|
+
transit_router_destination_account_id: str = None,
|
|
127
|
+
transit_router_destination_available_zone: str = None,
|
|
128
|
+
transit_router_destination_network_interface: str = None,
|
|
129
|
+
transit_router_destination_resource_id: str = None,
|
|
130
|
+
transit_router_destination_vswitch_id: str = None,
|
|
131
|
+
transit_router_id: str = None,
|
|
132
|
+
transit_router_pair_attachment_id: str = None,
|
|
133
|
+
transit_router_source_account_id: str = None,
|
|
134
|
+
transit_router_source_available_zone: str = None,
|
|
135
|
+
transit_router_source_network_interface: str = None,
|
|
136
|
+
transit_router_source_resource_id: str = None,
|
|
137
|
+
transit_router_source_vswitch_id: str = None,
|
|
138
|
+
v_switch_id: str = None,
|
|
139
|
+
vpc_id: str = None,
|
|
140
|
+
):
|
|
141
|
+
self.binding_resource_id = binding_resource_id
|
|
142
|
+
self.binding_resource_type = binding_resource_type
|
|
143
|
+
self.bytes = bytes
|
|
144
|
+
self.bytes_rate = bytes_rate
|
|
145
|
+
self.client_asn = client_asn
|
|
146
|
+
self.client_city = client_city
|
|
147
|
+
self.client_country = client_country
|
|
148
|
+
self.client_isp = client_isp
|
|
149
|
+
self.client_province = client_province
|
|
150
|
+
self.destination_ip = destination_ip
|
|
151
|
+
self.destination_port = destination_port
|
|
152
|
+
self.destination_region_no = destination_region_no
|
|
153
|
+
self.direction = direction
|
|
154
|
+
self.dscp = dscp
|
|
155
|
+
self.ecs_id = ecs_id
|
|
156
|
+
self.instance_id = instance_id
|
|
157
|
+
self.network_interface_id = network_interface_id
|
|
158
|
+
self.packets = packets
|
|
159
|
+
self.packets_lost_blackhole = packets_lost_blackhole
|
|
160
|
+
self.packets_lost_no_route = packets_lost_no_route
|
|
161
|
+
self.packets_lost_ttlexpired = packets_lost_ttlexpired
|
|
162
|
+
self.protocol = protocol
|
|
163
|
+
self.public_ip_address = public_ip_address
|
|
164
|
+
self.region_id = region_id
|
|
165
|
+
self.round_trip_time = round_trip_time
|
|
166
|
+
self.source_ip = source_ip
|
|
167
|
+
self.source_port = source_port
|
|
168
|
+
self.source_region_no = source_region_no
|
|
169
|
+
self.traffic_path = traffic_path
|
|
170
|
+
self.transit_router_attachment_id = transit_router_attachment_id
|
|
171
|
+
self.transit_router_destination_account_id = transit_router_destination_account_id
|
|
172
|
+
self.transit_router_destination_available_zone = transit_router_destination_available_zone
|
|
173
|
+
self.transit_router_destination_network_interface = transit_router_destination_network_interface
|
|
174
|
+
self.transit_router_destination_resource_id = transit_router_destination_resource_id
|
|
175
|
+
self.transit_router_destination_vswitch_id = transit_router_destination_vswitch_id
|
|
176
|
+
self.transit_router_id = transit_router_id
|
|
177
|
+
self.transit_router_pair_attachment_id = transit_router_pair_attachment_id
|
|
178
|
+
self.transit_router_source_account_id = transit_router_source_account_id
|
|
179
|
+
self.transit_router_source_available_zone = transit_router_source_available_zone
|
|
180
|
+
self.transit_router_source_network_interface = transit_router_source_network_interface
|
|
181
|
+
self.transit_router_source_resource_id = transit_router_source_resource_id
|
|
182
|
+
self.transit_router_source_vswitch_id = transit_router_source_vswitch_id
|
|
183
|
+
self.v_switch_id = v_switch_id
|
|
184
|
+
self.vpc_id = vpc_id
|
|
185
|
+
|
|
186
|
+
def validate(self):
|
|
187
|
+
pass
|
|
188
|
+
|
|
189
|
+
def to_map(self):
|
|
190
|
+
result = dict()
|
|
191
|
+
_map = super().to_map()
|
|
192
|
+
if _map is not None:
|
|
193
|
+
result = _map
|
|
194
|
+
if self.binding_resource_id is not None:
|
|
195
|
+
result['BindingResourceId'] = self.binding_resource_id
|
|
196
|
+
|
|
197
|
+
if self.binding_resource_type is not None:
|
|
198
|
+
result['BindingResourceType'] = self.binding_resource_type
|
|
199
|
+
|
|
200
|
+
if self.bytes is not None:
|
|
201
|
+
result['Bytes'] = self.bytes
|
|
202
|
+
|
|
203
|
+
if self.bytes_rate is not None:
|
|
204
|
+
result['BytesRate'] = self.bytes_rate
|
|
205
|
+
|
|
206
|
+
if self.client_asn is not None:
|
|
207
|
+
result['ClientAsn'] = self.client_asn
|
|
208
|
+
|
|
209
|
+
if self.client_city is not None:
|
|
210
|
+
result['ClientCity'] = self.client_city
|
|
211
|
+
|
|
212
|
+
if self.client_country is not None:
|
|
213
|
+
result['ClientCountry'] = self.client_country
|
|
214
|
+
|
|
215
|
+
if self.client_isp is not None:
|
|
216
|
+
result['ClientIsp'] = self.client_isp
|
|
217
|
+
|
|
218
|
+
if self.client_province is not None:
|
|
219
|
+
result['ClientProvince'] = self.client_province
|
|
220
|
+
|
|
221
|
+
if self.destination_ip is not None:
|
|
222
|
+
result['DestinationIp'] = self.destination_ip
|
|
223
|
+
|
|
224
|
+
if self.destination_port is not None:
|
|
225
|
+
result['DestinationPort'] = self.destination_port
|
|
226
|
+
|
|
227
|
+
if self.destination_region_no is not None:
|
|
228
|
+
result['DestinationRegionNo'] = self.destination_region_no
|
|
229
|
+
|
|
230
|
+
if self.direction is not None:
|
|
231
|
+
result['Direction'] = self.direction
|
|
232
|
+
|
|
233
|
+
if self.dscp is not None:
|
|
234
|
+
result['Dscp'] = self.dscp
|
|
235
|
+
|
|
236
|
+
if self.ecs_id is not None:
|
|
237
|
+
result['EcsId'] = self.ecs_id
|
|
238
|
+
|
|
239
|
+
if self.instance_id is not None:
|
|
240
|
+
result['InstanceId'] = self.instance_id
|
|
241
|
+
|
|
242
|
+
if self.network_interface_id is not None:
|
|
243
|
+
result['NetworkInterfaceId'] = self.network_interface_id
|
|
244
|
+
|
|
245
|
+
if self.packets is not None:
|
|
246
|
+
result['Packets'] = self.packets
|
|
247
|
+
|
|
248
|
+
if self.packets_lost_blackhole is not None:
|
|
249
|
+
result['PacketsLostBlackhole'] = self.packets_lost_blackhole
|
|
250
|
+
|
|
251
|
+
if self.packets_lost_no_route is not None:
|
|
252
|
+
result['PacketsLostNoRoute'] = self.packets_lost_no_route
|
|
253
|
+
|
|
254
|
+
if self.packets_lost_ttlexpired is not None:
|
|
255
|
+
result['PacketsLostTTLExpired'] = self.packets_lost_ttlexpired
|
|
256
|
+
|
|
257
|
+
if self.protocol is not None:
|
|
258
|
+
result['Protocol'] = self.protocol
|
|
259
|
+
|
|
260
|
+
if self.public_ip_address is not None:
|
|
261
|
+
result['PublicIpAddress'] = self.public_ip_address
|
|
262
|
+
|
|
263
|
+
if self.region_id is not None:
|
|
264
|
+
result['RegionId'] = self.region_id
|
|
265
|
+
|
|
266
|
+
if self.round_trip_time is not None:
|
|
267
|
+
result['RoundTripTime'] = self.round_trip_time
|
|
268
|
+
|
|
269
|
+
if self.source_ip is not None:
|
|
270
|
+
result['SourceIp'] = self.source_ip
|
|
271
|
+
|
|
272
|
+
if self.source_port is not None:
|
|
273
|
+
result['SourcePort'] = self.source_port
|
|
274
|
+
|
|
275
|
+
if self.source_region_no is not None:
|
|
276
|
+
result['SourceRegionNo'] = self.source_region_no
|
|
277
|
+
|
|
278
|
+
if self.traffic_path is not None:
|
|
279
|
+
result['TrafficPath'] = self.traffic_path
|
|
280
|
+
|
|
281
|
+
if self.transit_router_attachment_id is not None:
|
|
282
|
+
result['TransitRouterAttachmentId'] = self.transit_router_attachment_id
|
|
283
|
+
|
|
284
|
+
if self.transit_router_destination_account_id is not None:
|
|
285
|
+
result['TransitRouterDestinationAccountId'] = self.transit_router_destination_account_id
|
|
286
|
+
|
|
287
|
+
if self.transit_router_destination_available_zone is not None:
|
|
288
|
+
result['TransitRouterDestinationAvailableZone'] = self.transit_router_destination_available_zone
|
|
289
|
+
|
|
290
|
+
if self.transit_router_destination_network_interface is not None:
|
|
291
|
+
result['TransitRouterDestinationNetworkInterface'] = self.transit_router_destination_network_interface
|
|
292
|
+
|
|
293
|
+
if self.transit_router_destination_resource_id is not None:
|
|
294
|
+
result['TransitRouterDestinationResourceId'] = self.transit_router_destination_resource_id
|
|
295
|
+
|
|
296
|
+
if self.transit_router_destination_vswitch_id is not None:
|
|
297
|
+
result['TransitRouterDestinationVSwitchId'] = self.transit_router_destination_vswitch_id
|
|
298
|
+
|
|
299
|
+
if self.transit_router_id is not None:
|
|
300
|
+
result['TransitRouterId'] = self.transit_router_id
|
|
301
|
+
|
|
302
|
+
if self.transit_router_pair_attachment_id is not None:
|
|
303
|
+
result['TransitRouterPairAttachmentId'] = self.transit_router_pair_attachment_id
|
|
304
|
+
|
|
305
|
+
if self.transit_router_source_account_id is not None:
|
|
306
|
+
result['TransitRouterSourceAccountId'] = self.transit_router_source_account_id
|
|
307
|
+
|
|
308
|
+
if self.transit_router_source_available_zone is not None:
|
|
309
|
+
result['TransitRouterSourceAvailableZone'] = self.transit_router_source_available_zone
|
|
310
|
+
|
|
311
|
+
if self.transit_router_source_network_interface is not None:
|
|
312
|
+
result['TransitRouterSourceNetworkInterface'] = self.transit_router_source_network_interface
|
|
313
|
+
|
|
314
|
+
if self.transit_router_source_resource_id is not None:
|
|
315
|
+
result['TransitRouterSourceResourceId'] = self.transit_router_source_resource_id
|
|
316
|
+
|
|
317
|
+
if self.transit_router_source_vswitch_id is not None:
|
|
318
|
+
result['TransitRouterSourceVSwitchId'] = self.transit_router_source_vswitch_id
|
|
319
|
+
|
|
320
|
+
if self.v_switch_id is not None:
|
|
321
|
+
result['VSwitchId'] = self.v_switch_id
|
|
322
|
+
|
|
323
|
+
if self.vpc_id is not None:
|
|
324
|
+
result['VpcId'] = self.vpc_id
|
|
325
|
+
|
|
326
|
+
return result
|
|
327
|
+
|
|
328
|
+
def from_map(self, m: dict = None):
|
|
329
|
+
m = m or dict()
|
|
330
|
+
if m.get('BindingResourceId') is not None:
|
|
331
|
+
self.binding_resource_id = m.get('BindingResourceId')
|
|
332
|
+
|
|
333
|
+
if m.get('BindingResourceType') is not None:
|
|
334
|
+
self.binding_resource_type = m.get('BindingResourceType')
|
|
335
|
+
|
|
336
|
+
if m.get('Bytes') is not None:
|
|
337
|
+
self.bytes = m.get('Bytes')
|
|
338
|
+
|
|
339
|
+
if m.get('BytesRate') is not None:
|
|
340
|
+
self.bytes_rate = m.get('BytesRate')
|
|
341
|
+
|
|
342
|
+
if m.get('ClientAsn') is not None:
|
|
343
|
+
self.client_asn = m.get('ClientAsn')
|
|
344
|
+
|
|
345
|
+
if m.get('ClientCity') is not None:
|
|
346
|
+
self.client_city = m.get('ClientCity')
|
|
347
|
+
|
|
348
|
+
if m.get('ClientCountry') is not None:
|
|
349
|
+
self.client_country = m.get('ClientCountry')
|
|
350
|
+
|
|
351
|
+
if m.get('ClientIsp') is not None:
|
|
352
|
+
self.client_isp = m.get('ClientIsp')
|
|
353
|
+
|
|
354
|
+
if m.get('ClientProvince') is not None:
|
|
355
|
+
self.client_province = m.get('ClientProvince')
|
|
356
|
+
|
|
357
|
+
if m.get('DestinationIp') is not None:
|
|
358
|
+
self.destination_ip = m.get('DestinationIp')
|
|
359
|
+
|
|
360
|
+
if m.get('DestinationPort') is not None:
|
|
361
|
+
self.destination_port = m.get('DestinationPort')
|
|
362
|
+
|
|
363
|
+
if m.get('DestinationRegionNo') is not None:
|
|
364
|
+
self.destination_region_no = m.get('DestinationRegionNo')
|
|
365
|
+
|
|
366
|
+
if m.get('Direction') is not None:
|
|
367
|
+
self.direction = m.get('Direction')
|
|
368
|
+
|
|
369
|
+
if m.get('Dscp') is not None:
|
|
370
|
+
self.dscp = m.get('Dscp')
|
|
371
|
+
|
|
372
|
+
if m.get('EcsId') is not None:
|
|
373
|
+
self.ecs_id = m.get('EcsId')
|
|
374
|
+
|
|
375
|
+
if m.get('InstanceId') is not None:
|
|
376
|
+
self.instance_id = m.get('InstanceId')
|
|
377
|
+
|
|
378
|
+
if m.get('NetworkInterfaceId') is not None:
|
|
379
|
+
self.network_interface_id = m.get('NetworkInterfaceId')
|
|
380
|
+
|
|
381
|
+
if m.get('Packets') is not None:
|
|
382
|
+
self.packets = m.get('Packets')
|
|
383
|
+
|
|
384
|
+
if m.get('PacketsLostBlackhole') is not None:
|
|
385
|
+
self.packets_lost_blackhole = m.get('PacketsLostBlackhole')
|
|
386
|
+
|
|
387
|
+
if m.get('PacketsLostNoRoute') is not None:
|
|
388
|
+
self.packets_lost_no_route = m.get('PacketsLostNoRoute')
|
|
389
|
+
|
|
390
|
+
if m.get('PacketsLostTTLExpired') is not None:
|
|
391
|
+
self.packets_lost_ttlexpired = m.get('PacketsLostTTLExpired')
|
|
392
|
+
|
|
393
|
+
if m.get('Protocol') is not None:
|
|
394
|
+
self.protocol = m.get('Protocol')
|
|
395
|
+
|
|
396
|
+
if m.get('PublicIpAddress') is not None:
|
|
397
|
+
self.public_ip_address = m.get('PublicIpAddress')
|
|
398
|
+
|
|
399
|
+
if m.get('RegionId') is not None:
|
|
400
|
+
self.region_id = m.get('RegionId')
|
|
401
|
+
|
|
402
|
+
if m.get('RoundTripTime') is not None:
|
|
403
|
+
self.round_trip_time = m.get('RoundTripTime')
|
|
404
|
+
|
|
405
|
+
if m.get('SourceIp') is not None:
|
|
406
|
+
self.source_ip = m.get('SourceIp')
|
|
407
|
+
|
|
408
|
+
if m.get('SourcePort') is not None:
|
|
409
|
+
self.source_port = m.get('SourcePort')
|
|
410
|
+
|
|
411
|
+
if m.get('SourceRegionNo') is not None:
|
|
412
|
+
self.source_region_no = m.get('SourceRegionNo')
|
|
413
|
+
|
|
414
|
+
if m.get('TrafficPath') is not None:
|
|
415
|
+
self.traffic_path = m.get('TrafficPath')
|
|
416
|
+
|
|
417
|
+
if m.get('TransitRouterAttachmentId') is not None:
|
|
418
|
+
self.transit_router_attachment_id = m.get('TransitRouterAttachmentId')
|
|
419
|
+
|
|
420
|
+
if m.get('TransitRouterDestinationAccountId') is not None:
|
|
421
|
+
self.transit_router_destination_account_id = m.get('TransitRouterDestinationAccountId')
|
|
422
|
+
|
|
423
|
+
if m.get('TransitRouterDestinationAvailableZone') is not None:
|
|
424
|
+
self.transit_router_destination_available_zone = m.get('TransitRouterDestinationAvailableZone')
|
|
425
|
+
|
|
426
|
+
if m.get('TransitRouterDestinationNetworkInterface') is not None:
|
|
427
|
+
self.transit_router_destination_network_interface = m.get('TransitRouterDestinationNetworkInterface')
|
|
428
|
+
|
|
429
|
+
if m.get('TransitRouterDestinationResourceId') is not None:
|
|
430
|
+
self.transit_router_destination_resource_id = m.get('TransitRouterDestinationResourceId')
|
|
431
|
+
|
|
432
|
+
if m.get('TransitRouterDestinationVSwitchId') is not None:
|
|
433
|
+
self.transit_router_destination_vswitch_id = m.get('TransitRouterDestinationVSwitchId')
|
|
434
|
+
|
|
435
|
+
if m.get('TransitRouterId') is not None:
|
|
436
|
+
self.transit_router_id = m.get('TransitRouterId')
|
|
437
|
+
|
|
438
|
+
if m.get('TransitRouterPairAttachmentId') is not None:
|
|
439
|
+
self.transit_router_pair_attachment_id = m.get('TransitRouterPairAttachmentId')
|
|
440
|
+
|
|
441
|
+
if m.get('TransitRouterSourceAccountId') is not None:
|
|
442
|
+
self.transit_router_source_account_id = m.get('TransitRouterSourceAccountId')
|
|
443
|
+
|
|
444
|
+
if m.get('TransitRouterSourceAvailableZone') is not None:
|
|
445
|
+
self.transit_router_source_available_zone = m.get('TransitRouterSourceAvailableZone')
|
|
446
|
+
|
|
447
|
+
if m.get('TransitRouterSourceNetworkInterface') is not None:
|
|
448
|
+
self.transit_router_source_network_interface = m.get('TransitRouterSourceNetworkInterface')
|
|
449
|
+
|
|
450
|
+
if m.get('TransitRouterSourceResourceId') is not None:
|
|
451
|
+
self.transit_router_source_resource_id = m.get('TransitRouterSourceResourceId')
|
|
452
|
+
|
|
453
|
+
if m.get('TransitRouterSourceVSwitchId') is not None:
|
|
454
|
+
self.transit_router_source_vswitch_id = m.get('TransitRouterSourceVSwitchId')
|
|
455
|
+
|
|
456
|
+
if m.get('VSwitchId') is not None:
|
|
457
|
+
self.v_switch_id = m.get('VSwitchId')
|
|
458
|
+
|
|
459
|
+
if m.get('VpcId') is not None:
|
|
460
|
+
self.vpc_id = m.get('VpcId')
|
|
461
|
+
|
|
462
|
+
return self
|
|
463
|
+
|