alibabacloud-nis20211216 1.2.0__tar.gz → 2.0.1__tar.gz

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.
Files changed (18) hide show
  1. alibabacloud_nis20211216-2.0.1/ChangeLog.md +12 -0
  2. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/PKG-INFO +2 -2
  3. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/README-CN.md +1 -1
  4. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/README.md +1 -1
  5. alibabacloud_nis20211216-2.0.1/alibabacloud_nis20211216/__init__.py +1 -0
  6. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216/client.py +4 -4
  7. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216/models.py +309 -99
  8. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/PKG-INFO +2 -2
  9. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/requires.txt +1 -1
  10. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/setup.py +2 -2
  11. alibabacloud_nis20211216-1.2.0/ChangeLog.md +0 -6
  12. alibabacloud_nis20211216-1.2.0/alibabacloud_nis20211216/__init__.py +0 -1
  13. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/LICENSE +0 -0
  14. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/MANIFEST.in +0 -0
  15. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/SOURCES.txt +0 -0
  16. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/dependency_links.txt +0 -0
  17. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/top_level.txt +0 -0
  18. {alibabacloud_nis20211216-1.2.0 → alibabacloud_nis20211216-2.0.1}/setup.cfg +0 -0
@@ -0,0 +1,12 @@
1
+ 2023-12-08 Version: 2.0.0
2
+ - Generated python 2021-12-16 for nis.
3
+
4
+ 2023-08-31 Version: 1.2.0
5
+ - Generated python 2021-12-16 for nis.
6
+
7
+ 2023-08-09 Version: 1.1.0
8
+ - Generated python 2021-12-16 for nis.
9
+
10
+ 2023-03-02 Version: 1.0.0
11
+ - Ini V2 SDK .
12
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_nis20211216
3
- Version: 1.2.0
3
+ Version: 2.0.1
4
4
  Summary: Alibaba Cloud nis (20211216) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -36,7 +36,7 @@ Description: English | [简体中文](README-CN.md)
36
36
 
37
37
  ## Changelog
38
38
 
39
- Detailed changes for each release are documented in the [release notes](./ChangeLog.md).
39
+ Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/nis-20211216/ChangeLog.md).
40
40
 
41
41
  ## References
42
42
 
@@ -29,7 +29,7 @@ pip install alibabacloud_nis20211216
29
29
 
30
30
  ## 发行说明
31
31
 
32
- 每个版本的详细更改记录在[发行说明](./ChangeLog.md)中。
32
+ 每个版本的详细更改记录在[发行说明](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/nis-20211216/ChangeLog.md)中。
33
33
 
34
34
  ## 相关
35
35
 
@@ -28,7 +28,7 @@ pip install alibabacloud_nis20211216
28
28
 
29
29
  ## Changelog
30
30
 
31
- Detailed changes for each release are documented in the [release notes](./ChangeLog.md).
31
+ Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/nis-20211216/ChangeLog.md).
32
32
 
33
33
  ## References
34
34
 
@@ -0,0 +1 @@
1
+ __version__ = '2.0.1'
@@ -156,6 +156,8 @@ class Client(OpenApiClient):
156
156
  query['Protocol'] = request.protocol
157
157
  if not UtilClient.is_unset(request.region_id):
158
158
  query['RegionId'] = request.region_id
159
+ if not UtilClient.is_unset(request.resource_group_id):
160
+ query['ResourceGroupId'] = request.resource_group_id
159
161
  if not UtilClient.is_unset(request.source_id):
160
162
  query['SourceId'] = request.source_id
161
163
  if not UtilClient.is_unset(request.source_ip_address):
@@ -216,6 +218,8 @@ class Client(OpenApiClient):
216
218
  query['Protocol'] = request.protocol
217
219
  if not UtilClient.is_unset(request.region_id):
218
220
  query['RegionId'] = request.region_id
221
+ if not UtilClient.is_unset(request.resource_group_id):
222
+ query['ResourceGroupId'] = request.resource_group_id
219
223
  if not UtilClient.is_unset(request.source_id):
220
224
  query['SourceId'] = request.source_id
221
225
  if not UtilClient.is_unset(request.source_ip_address):
@@ -297,8 +301,6 @@ class Client(OpenApiClient):
297
301
  """
298
302
  UtilClient.validate_model(request)
299
303
  query = {}
300
- if not UtilClient.is_unset(request.audit_param):
301
- query['AuditParam'] = request.audit_param
302
304
  if not UtilClient.is_unset(request.network_path_id):
303
305
  query['NetworkPathId'] = request.network_path_id
304
306
  if not UtilClient.is_unset(request.region_id):
@@ -340,8 +342,6 @@ class Client(OpenApiClient):
340
342
  """
341
343
  UtilClient.validate_model(request)
342
344
  query = {}
343
- if not UtilClient.is_unset(request.audit_param):
344
- query['AuditParam'] = request.audit_param
345
345
  if not UtilClient.is_unset(request.network_path_id):
346
346
  query['NetworkPathId'] = request.network_path_id
347
347
  if not UtilClient.is_unset(request.region_id):
@@ -7,7 +7,6 @@ from typing import Dict, List
7
7
  class CreateAndAnalyzeNetworkPathRequest(TeaModel):
8
8
  def __init__(
9
9
  self,
10
- audit_param: str = None,
11
10
  protocol: str = None,
12
11
  region_id: str = None,
13
12
  source_id: str = None,
@@ -19,7 +18,6 @@ class CreateAndAnalyzeNetworkPathRequest(TeaModel):
19
18
  target_port: int = None,
20
19
  target_type: str = None,
21
20
  ):
22
- self.audit_param = audit_param
23
21
  # The protocol type. Valid values:
24
22
  #
25
23
  # * **tcp**: Transmission Control Protocol (TCP)
@@ -67,8 +65,6 @@ class CreateAndAnalyzeNetworkPathRequest(TeaModel):
67
65
  return _map
68
66
 
69
67
  result = dict()
70
- if self.audit_param is not None:
71
- result['AuditParam'] = self.audit_param
72
68
  if self.protocol is not None:
73
69
  result['Protocol'] = self.protocol
74
70
  if self.region_id is not None:
@@ -93,8 +89,6 @@ class CreateAndAnalyzeNetworkPathRequest(TeaModel):
93
89
 
94
90
  def from_map(self, m: dict = None):
95
91
  m = m or dict()
96
- if m.get('AuditParam') is not None:
97
- self.audit_param = m.get('AuditParam')
98
92
  if m.get('Protocol') is not None:
99
93
  self.protocol = m.get('Protocol')
100
94
  if m.get('RegionId') is not None:
@@ -228,9 +222,6 @@ class CreateAndAnalyzeNetworkPathResponse(TeaModel):
228
222
  self.body = body
229
223
 
230
224
  def validate(self):
231
- self.validate_required(self.headers, 'headers')
232
- self.validate_required(self.status_code, 'status_code')
233
- self.validate_required(self.body, 'body')
234
225
  if self.body:
235
226
  self.body.validate()
236
227
 
@@ -266,7 +257,13 @@ class CreateNetworkPathRequestTag(TeaModel):
266
257
  key: str = None,
267
258
  value: str = None,
268
259
  ):
260
+ # The key of tag N to add to the resource. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
261
+ #
262
+ # You can add up to 20 tags in each call.
269
263
  self.key = key
264
+ # The value of tag N to add to the resource. You can specify up to 20 tag values. The tag value can be an empty string.
265
+ #
266
+ # The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag value cannot start with `aliyun` or `acs:`.
270
267
  self.value = value
271
268
 
272
269
  def validate(self):
@@ -300,6 +297,7 @@ class CreateNetworkPathRequest(TeaModel):
300
297
  network_path_name: str = None,
301
298
  protocol: str = None,
302
299
  region_id: str = None,
300
+ resource_group_id: str = None,
303
301
  source_id: str = None,
304
302
  source_ip_address: str = None,
305
303
  source_port: int = None,
@@ -322,6 +320,8 @@ class CreateNetworkPathRequest(TeaModel):
322
320
  self.protocol = protocol
323
321
  # The region ID of the network path that you want to create.
324
322
  self.region_id = region_id
323
+ # The resource group ID.
324
+ self.resource_group_id = resource_group_id
325
325
  # The ID of the source resource.
326
326
  self.source_id = source_id
327
327
  # The source IP address.
@@ -336,6 +336,7 @@ class CreateNetworkPathRequest(TeaModel):
336
336
  # * **vpn**: the VPN gateway
337
337
  # * **vbr**: the virtual border router (VBR)
338
338
  self.source_type = source_type
339
+ # The tags to add to the resource.
339
340
  self.tag = tag
340
341
  # The ID of the destination resource.
341
342
  self.target_id = target_id
@@ -373,6 +374,8 @@ class CreateNetworkPathRequest(TeaModel):
373
374
  result['Protocol'] = self.protocol
374
375
  if self.region_id is not None:
375
376
  result['RegionId'] = self.region_id
377
+ if self.resource_group_id is not None:
378
+ result['ResourceGroupId'] = self.resource_group_id
376
379
  if self.source_id is not None:
377
380
  result['SourceId'] = self.source_id
378
381
  if self.source_ip_address is not None:
@@ -405,6 +408,8 @@ class CreateNetworkPathRequest(TeaModel):
405
408
  self.protocol = m.get('Protocol')
406
409
  if m.get('RegionId') is not None:
407
410
  self.region_id = m.get('RegionId')
411
+ if m.get('ResourceGroupId') is not None:
412
+ self.resource_group_id = m.get('ResourceGroupId')
408
413
  if m.get('SourceId') is not None:
409
414
  self.source_id = m.get('SourceId')
410
415
  if m.get('SourceIpAddress') is not None:
@@ -476,9 +481,6 @@ class CreateNetworkPathResponse(TeaModel):
476
481
  self.body = body
477
482
 
478
483
  def validate(self):
479
- self.validate_required(self.headers, 'headers')
480
- self.validate_required(self.status_code, 'status_code')
481
- self.validate_required(self.body, 'body')
482
484
  if self.body:
483
485
  self.body.validate()
484
486
 
@@ -514,7 +516,13 @@ class CreateNetworkReachableAnalysisRequestTag(TeaModel):
514
516
  key: str = None,
515
517
  value: str = None,
516
518
  ):
519
+ # The key of the tag to add to the resource. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
520
+ #
521
+ # You can add up to 20 tags in each call.
517
522
  self.key = key
523
+ # The value of the tag to add to the resource. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag value cannot start with `acs:` or `aliyun`. The tag value can be an empty string.
524
+ #
525
+ # You can add up to 20 tag values in each call.
518
526
  self.value = value
519
527
 
520
528
  def validate(self):
@@ -544,16 +552,15 @@ class CreateNetworkReachableAnalysisRequestTag(TeaModel):
544
552
  class CreateNetworkReachableAnalysisRequest(TeaModel):
545
553
  def __init__(
546
554
  self,
547
- audit_param: str = None,
548
555
  network_path_id: str = None,
549
556
  region_id: str = None,
550
557
  tag: List[CreateNetworkReachableAnalysisRequestTag] = None,
551
558
  ):
552
- self.audit_param = audit_param
553
- # The ID of the network path. You can call the **CreateNetworkPath** operation to obtain the ID of the network path.
559
+ # The ID of the network path. You can call the [CreateNetworkPath](~~2366522~~) operation to obtain the ID of the network path.
554
560
  self.network_path_id = network_path_id
555
561
  # The ID of the region for which you want to create a task for analyzing network reachability.
556
562
  self.region_id = region_id
563
+ # The tags to add to the resource.
557
564
  self.tag = tag
558
565
 
559
566
  def validate(self):
@@ -568,8 +575,6 @@ class CreateNetworkReachableAnalysisRequest(TeaModel):
568
575
  return _map
569
576
 
570
577
  result = dict()
571
- if self.audit_param is not None:
572
- result['AuditParam'] = self.audit_param
573
578
  if self.network_path_id is not None:
574
579
  result['NetworkPathId'] = self.network_path_id
575
580
  if self.region_id is not None:
@@ -582,8 +587,6 @@ class CreateNetworkReachableAnalysisRequest(TeaModel):
582
587
 
583
588
  def from_map(self, m: dict = None):
584
589
  m = m or dict()
585
- if m.get('AuditParam') is not None:
586
- self.audit_param = m.get('AuditParam')
587
590
  if m.get('NetworkPathId') is not None:
588
591
  self.network_path_id = m.get('NetworkPathId')
589
592
  if m.get('RegionId') is not None:
@@ -643,9 +646,6 @@ class CreateNetworkReachableAnalysisResponse(TeaModel):
643
646
  self.body = body
644
647
 
645
648
  def validate(self):
646
- self.validate_required(self.headers, 'headers')
647
- self.validate_required(self.status_code, 'status_code')
648
- self.validate_required(self.body, 'body')
649
649
  if self.body:
650
650
  self.body.validate()
651
651
 
@@ -748,8 +748,10 @@ class DeleteNetworkPathShrinkRequest(TeaModel):
748
748
  class DeleteNetworkPathResponseBody(TeaModel):
749
749
  def __init__(
750
750
  self,
751
+ data: bool = None,
751
752
  request_id: str = None,
752
753
  ):
754
+ self.data = data
753
755
  # The request ID.
754
756
  self.request_id = request_id
755
757
 
@@ -762,12 +764,16 @@ class DeleteNetworkPathResponseBody(TeaModel):
762
764
  return _map
763
765
 
764
766
  result = dict()
767
+ if self.data is not None:
768
+ result['Data'] = self.data
765
769
  if self.request_id is not None:
766
770
  result['RequestId'] = self.request_id
767
771
  return result
768
772
 
769
773
  def from_map(self, m: dict = None):
770
774
  m = m or dict()
775
+ if m.get('Data') is not None:
776
+ self.data = m.get('Data')
771
777
  if m.get('RequestId') is not None:
772
778
  self.request_id = m.get('RequestId')
773
779
  return self
@@ -785,9 +791,6 @@ class DeleteNetworkPathResponse(TeaModel):
785
791
  self.body = body
786
792
 
787
793
  def validate(self):
788
- self.validate_required(self.headers, 'headers')
789
- self.validate_required(self.status_code, 'status_code')
790
- self.validate_required(self.body, 'body')
791
794
  if self.body:
792
795
  self.body.validate()
793
796
 
@@ -890,8 +893,10 @@ class DeleteNetworkReachableAnalysisShrinkRequest(TeaModel):
890
893
  class DeleteNetworkReachableAnalysisResponseBody(TeaModel):
891
894
  def __init__(
892
895
  self,
896
+ data: bool = None,
893
897
  request_id: str = None,
894
898
  ):
899
+ self.data = data
895
900
  # The request ID.
896
901
  self.request_id = request_id
897
902
 
@@ -904,12 +909,16 @@ class DeleteNetworkReachableAnalysisResponseBody(TeaModel):
904
909
  return _map
905
910
 
906
911
  result = dict()
912
+ if self.data is not None:
913
+ result['Data'] = self.data
907
914
  if self.request_id is not None:
908
915
  result['RequestId'] = self.request_id
909
916
  return result
910
917
 
911
918
  def from_map(self, m: dict = None):
912
919
  m = m or dict()
920
+ if m.get('Data') is not None:
921
+ self.data = m.get('Data')
913
922
  if m.get('RequestId') is not None:
914
923
  self.request_id = m.get('RequestId')
915
924
  return self
@@ -927,9 +936,6 @@ class DeleteNetworkReachableAnalysisResponse(TeaModel):
927
936
  self.body = body
928
937
 
929
938
  def validate(self):
930
- self.validate_required(self.headers, 'headers')
931
- self.validate_required(self.status_code, 'status_code')
932
- self.validate_required(self.body, 'body')
933
939
  if self.body:
934
940
  self.body.validate()
935
941
 
@@ -962,7 +968,7 @@ class DeleteNetworkReachableAnalysisResponse(TeaModel):
962
968
  class GetInternetTupleRequest(TeaModel):
963
969
  def __init__(
964
970
  self,
965
- account_ids: List[str] = None,
971
+ account_ids: List[int] = None,
966
972
  begin_time: int = None,
967
973
  cloud_ip: str = None,
968
974
  cloud_isp: str = None,
@@ -992,16 +998,16 @@ class GetInternetTupleRequest(TeaModel):
992
998
  self.cloud_ip = cloud_ip
993
999
  # The local Internet service provider (ISP).
994
1000
  #
995
- # > In most cases, the value is Alibaba or Alibaba Cloud.
1001
+ # > In most cases, the value is Alibaba or Alibaba Cloud.
996
1002
  self.cloud_isp = cloud_isp
997
1003
  # The local port.
998
1004
  #
999
- # > This parameter is required only when you set **TupleType** to **5**.
1005
+ # > This parameter is required only if you set GroupBy to CloudPort.
1000
1006
  self.cloud_port = cloud_port
1001
1007
  # The direction of the Internet traffic that you want to query. Valid values:
1002
1008
  #
1003
- # - **in**: inbound
1004
- # - **out**: outbound
1009
+ # * **in**: inbound
1010
+ # * **out**: outbound
1005
1011
  self.direction = direction
1006
1012
  # The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
1007
1013
  self.end_time = end_time
@@ -1009,15 +1015,35 @@ class GetInternetTupleRequest(TeaModel):
1009
1015
  self.instance_id = instance_id
1010
1016
  # The instance IDs for filtering.
1011
1017
  self.instance_list = instance_list
1012
- # The metric for instance ranking. Default value: **ByteCount**. This value specifies that instances are ranked by traffic volume.
1018
+ # The metric for data ranking. Default value: **ByteCount**. This value indicates that Internet traffic data is ranked by traffic volume.
1019
+ #
1020
+ # Valid values:
1021
+ #
1022
+ # * Rtt
1023
+ # * ByteCount
1024
+ # * PacketCount
1025
+ # * InByteCount
1026
+ # * OutByteCount
1027
+ # * InPacketCount
1028
+ # * OutPacketCount
1029
+ # * InRetranCount
1030
+ # * OutRetranCount
1031
+ # * InDupAckCount
1032
+ # * OutDupAckCount
1033
+ # * InOutOrderCount
1034
+ # * OutOutOrderCount
1035
+ # * RetranCount
1036
+ # * OutOrderCount
1037
+ # * DupAckCount
1038
+ # * RetransmitRate
1013
1039
  self.order_by = order_by
1014
1040
  # The remote city.
1015
1041
  #
1016
- # > This parameter is required only if you set **TupleType** to **5**.
1042
+ # > This parameter is required only if you set **TupleType** to **2** or **5**.
1017
1043
  self.other_city = other_city
1018
1044
  # The remote country.
1019
1045
  #
1020
- # > This parameter is required only if you set **TupleType** to **5**.
1046
+ # > This parameter is required only if you set **TupleType** to **2** or **5**.
1021
1047
  self.other_country = other_country
1022
1048
  # The remote IP address.
1023
1049
  #
@@ -1039,20 +1065,20 @@ class GetInternetTupleRequest(TeaModel):
1039
1065
  self.region_id = region_id
1040
1066
  # The order in which instances are ranked by Internet traffic. Valid values:
1041
1067
  #
1042
- # - **desc**: the descending order
1043
- # - **asc**: the ascending order
1068
+ # * **desc**: the descending order
1069
+ # * **asc**: the ascending order
1044
1070
  self.sort = sort
1045
- # Specifies top-N traffic data to display. Default value: **10**. This value specifies to display top-10 traffic data by default.
1071
+ # Specifies top-N traffic data to display. Default value: **10**. This value specifies to display top-10 traffic data by default. Max value: **100**.
1046
1072
  self.top_n = top_n
1047
- # The type of the tuple. Valid values:
1073
+ # The type of the tuple. Valid values:
1048
1074
  #
1049
- # - **1**: 1-tuple
1050
- # - **2**: 2-tuples
1051
- # - **5**: 5-tuples
1075
+ # * **1**: 1-tuple
1076
+ # * **2**: 2-tuple
1077
+ # * **5**: 5-tuple
1052
1078
  self.tuple_type = tuple_type
1053
- # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
1079
+ # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
1054
1080
  #
1055
- # > By default, the multi-account management feature is disabled. If you want to enable this feature, contact your customer business manager.
1081
+ # > By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.
1056
1082
  self.use_multi_account = use_multi_account
1057
1083
 
1058
1084
  def validate(self):
@@ -1158,7 +1184,7 @@ class GetInternetTupleRequest(TeaModel):
1158
1184
  class GetInternetTupleShrinkRequest(TeaModel):
1159
1185
  def __init__(
1160
1186
  self,
1161
- account_ids: List[str] = None,
1187
+ account_ids: List[int] = None,
1162
1188
  begin_time: int = None,
1163
1189
  cloud_ip: str = None,
1164
1190
  cloud_isp: str = None,
@@ -1188,16 +1214,16 @@ class GetInternetTupleShrinkRequest(TeaModel):
1188
1214
  self.cloud_ip = cloud_ip
1189
1215
  # The local Internet service provider (ISP).
1190
1216
  #
1191
- # > In most cases, the value is Alibaba or Alibaba Cloud.
1217
+ # > In most cases, the value is Alibaba or Alibaba Cloud.
1192
1218
  self.cloud_isp = cloud_isp
1193
1219
  # The local port.
1194
1220
  #
1195
- # > This parameter is required only when you set **TupleType** to **5**.
1221
+ # > This parameter is required only if you set GroupBy to CloudPort.
1196
1222
  self.cloud_port = cloud_port
1197
1223
  # The direction of the Internet traffic that you want to query. Valid values:
1198
1224
  #
1199
- # - **in**: inbound
1200
- # - **out**: outbound
1225
+ # * **in**: inbound
1226
+ # * **out**: outbound
1201
1227
  self.direction = direction
1202
1228
  # The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
1203
1229
  self.end_time = end_time
@@ -1205,15 +1231,35 @@ class GetInternetTupleShrinkRequest(TeaModel):
1205
1231
  self.instance_id = instance_id
1206
1232
  # The instance IDs for filtering.
1207
1233
  self.instance_list_shrink = instance_list_shrink
1208
- # The metric for instance ranking. Default value: **ByteCount**. This value specifies that instances are ranked by traffic volume.
1234
+ # The metric for data ranking. Default value: **ByteCount**. This value indicates that Internet traffic data is ranked by traffic volume.
1235
+ #
1236
+ # Valid values:
1237
+ #
1238
+ # * Rtt
1239
+ # * ByteCount
1240
+ # * PacketCount
1241
+ # * InByteCount
1242
+ # * OutByteCount
1243
+ # * InPacketCount
1244
+ # * OutPacketCount
1245
+ # * InRetranCount
1246
+ # * OutRetranCount
1247
+ # * InDupAckCount
1248
+ # * OutDupAckCount
1249
+ # * InOutOrderCount
1250
+ # * OutOutOrderCount
1251
+ # * RetranCount
1252
+ # * OutOrderCount
1253
+ # * DupAckCount
1254
+ # * RetransmitRate
1209
1255
  self.order_by = order_by
1210
1256
  # The remote city.
1211
1257
  #
1212
- # > This parameter is required only if you set **TupleType** to **5**.
1258
+ # > This parameter is required only if you set **TupleType** to **2** or **5**.
1213
1259
  self.other_city = other_city
1214
1260
  # The remote country.
1215
1261
  #
1216
- # > This parameter is required only if you set **TupleType** to **5**.
1262
+ # > This parameter is required only if you set **TupleType** to **2** or **5**.
1217
1263
  self.other_country = other_country
1218
1264
  # The remote IP address.
1219
1265
  #
@@ -1235,20 +1281,20 @@ class GetInternetTupleShrinkRequest(TeaModel):
1235
1281
  self.region_id = region_id
1236
1282
  # The order in which instances are ranked by Internet traffic. Valid values:
1237
1283
  #
1238
- # - **desc**: the descending order
1239
- # - **asc**: the ascending order
1284
+ # * **desc**: the descending order
1285
+ # * **asc**: the ascending order
1240
1286
  self.sort = sort
1241
- # Specifies top-N traffic data to display. Default value: **10**. This value specifies to display top-10 traffic data by default.
1287
+ # Specifies top-N traffic data to display. Default value: **10**. This value specifies to display top-10 traffic data by default. Max value: **100**.
1242
1288
  self.top_n = top_n
1243
- # The type of the tuple. Valid values:
1289
+ # The type of the tuple. Valid values:
1244
1290
  #
1245
- # - **1**: 1-tuple
1246
- # - **2**: 2-tuples
1247
- # - **5**: 5-tuples
1291
+ # * **1**: 1-tuple
1292
+ # * **2**: 2-tuple
1293
+ # * **5**: 5-tuple
1248
1294
  self.tuple_type = tuple_type
1249
- # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
1295
+ # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
1250
1296
  #
1251
- # > By default, the multi-account management feature is disabled. If you want to enable this feature, contact your customer business manager.
1297
+ # > By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.
1252
1298
  self.use_multi_account = use_multi_account
1253
1299
 
1254
1300
  def validate(self):
@@ -1384,12 +1430,12 @@ class GetInternetTupleResponseBodyData(TeaModel):
1384
1430
  out_retran_count: float = None,
1385
1431
  packet_count: float = None,
1386
1432
  protocol: str = None,
1387
- retran_count: float = None,
1433
+ retransmit_rate: float = None,
1388
1434
  rtt: float = None,
1389
1435
  ):
1390
1436
  # The access point of Alibaba Cloud.
1391
1437
  #
1392
- # > This parameter is valid only when the value of **InstanceId** is the instance ID of an Anycast elastic IP address (EIP).
1438
+ # > This parameter is valid only if you set **InstanceId** to the instance ID of an Anycast elastic IP address (EIP).
1393
1439
  self.access_region = access_region
1394
1440
  # The beginning of the time range that you queried. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
1395
1441
  self.begin_time = begin_time
@@ -1405,16 +1451,16 @@ class GetInternetTupleResponseBodyData(TeaModel):
1405
1451
  self.cloud_isp = cloud_isp
1406
1452
  # The local port.
1407
1453
  self.cloud_port = cloud_port
1408
- # The product code of the instance to which the local IP address belongs.
1454
+ # The service code of the instance to which the local IP address belongs.
1409
1455
  self.cloud_product = cloud_product
1410
1456
  # The local province.
1411
1457
  self.cloud_province = cloud_province
1412
- # The direction of the Internet traffic. Valid values:
1458
+ # The direction of Internet traffic. Valid values:
1413
1459
  #
1414
- # - **in**: inbound
1415
- # - **out**: outbound
1460
+ # * **in**: inbound
1461
+ # * **out**: outbound
1416
1462
  self.direction = direction
1417
- # The inbound traffic volume. Unit: bytes.
1463
+ # The inbound traffic volume. Unit: bytes.
1418
1464
  self.in_byte_count = in_byte_count
1419
1465
  # The number of inbound disordered packets.
1420
1466
  self.in_out_order_count = in_out_order_count
@@ -1422,9 +1468,9 @@ class GetInternetTupleResponseBodyData(TeaModel):
1422
1468
  self.in_packet_count = in_packet_count
1423
1469
  # The number of inbound repeated packets.
1424
1470
  self.in_retran_count = in_retran_count
1425
- # The instance ID to which the local IP address belongs.
1471
+ # The ID of the instance to which the local IP address belongs.
1426
1472
  self.instance_id = instance_id
1427
- # The remote city. In most cases, this parameter is empty if the value of **OtherCountry** is not China.
1473
+ # The remote city. In most cases, this parameter is empty if you set **OtherCountry** to a country except China.
1428
1474
  self.other_city = other_city
1429
1475
  # The remote country or region.
1430
1476
  self.other_country = other_country
@@ -1434,11 +1480,11 @@ class GetInternetTupleResponseBodyData(TeaModel):
1434
1480
  self.other_isp = other_isp
1435
1481
  # The remote port.
1436
1482
  self.other_port = other_port
1437
- # The product code of the instance to which the remote IP address belongs. If the IP address is not in the cloud, this parameter is empty.
1483
+ # The service code of the instance to which the remote IP address belongs. If the IP address is not on the cloud, this parameter is empty.
1438
1484
  self.other_product = other_product
1439
- # The remote province. In most cases, this parameter is empty if the value of **OtherCountry** is not China.
1485
+ # The remote province. In most cases, this parameter is empty if you set **OtherCountry** to a country except China.
1440
1486
  self.other_province = other_province
1441
- # The outbound traffic volume. Unit: bytes.
1487
+ # The outbound traffic volume. Unit: bytes.
1442
1488
  self.out_byte_count = out_byte_count
1443
1489
  # The number of disordered packets.
1444
1490
  self.out_order_count = out_order_count
@@ -1452,9 +1498,9 @@ class GetInternetTupleResponseBodyData(TeaModel):
1452
1498
  self.packet_count = packet_count
1453
1499
  # The protocol number.
1454
1500
  self.protocol = protocol
1455
- # The number of repeated packets.
1456
- self.retran_count = retran_count
1457
- # The round-trip time (RTT). Unit: milliseconds.
1501
+ # The retransmission rate of TCP packets.
1502
+ self.retransmit_rate = retransmit_rate
1503
+ # The round-trip time (RTT). Unit: milliseconds.
1458
1504
  self.rtt = rtt
1459
1505
 
1460
1506
  def validate(self):
@@ -1526,8 +1572,8 @@ class GetInternetTupleResponseBodyData(TeaModel):
1526
1572
  result['PacketCount'] = self.packet_count
1527
1573
  if self.protocol is not None:
1528
1574
  result['Protocol'] = self.protocol
1529
- if self.retran_count is not None:
1530
- result['RetranCount'] = self.retran_count
1575
+ if self.retransmit_rate is not None:
1576
+ result['RetransmitRate'] = self.retransmit_rate
1531
1577
  if self.rtt is not None:
1532
1578
  result['Rtt'] = self.rtt
1533
1579
  return result
@@ -1594,8 +1640,8 @@ class GetInternetTupleResponseBodyData(TeaModel):
1594
1640
  self.packet_count = m.get('PacketCount')
1595
1641
  if m.get('Protocol') is not None:
1596
1642
  self.protocol = m.get('Protocol')
1597
- if m.get('RetranCount') is not None:
1598
- self.retran_count = m.get('RetranCount')
1643
+ if m.get('RetransmitRate') is not None:
1644
+ self.retransmit_rate = m.get('RetransmitRate')
1599
1645
  if m.get('Rtt') is not None:
1600
1646
  self.rtt = m.get('Rtt')
1601
1647
  return self
@@ -1607,7 +1653,7 @@ class GetInternetTupleResponseBody(TeaModel):
1607
1653
  data: List[GetInternetTupleResponseBodyData] = None,
1608
1654
  request_id: str = None,
1609
1655
  ):
1610
- # The ranking result of instances by Internet traffic.
1656
+ # The ranking result of Internet traffic data.
1611
1657
  self.data = data
1612
1658
  # The request ID.
1613
1659
  self.request_id = request_id
@@ -1656,9 +1702,6 @@ class GetInternetTupleResponse(TeaModel):
1656
1702
  self.body = body
1657
1703
 
1658
1704
  def validate(self):
1659
- self.validate_required(self.headers, 'headers')
1660
- self.validate_required(self.status_code, 'status_code')
1661
- self.validate_required(self.body, 'body')
1662
1705
  if self.body:
1663
1706
  self.body.validate()
1664
1707
 
@@ -1914,9 +1957,6 @@ class GetNatTopNResponse(TeaModel):
1914
1957
  self.body = body
1915
1958
 
1916
1959
  def validate(self):
1917
- self.validate_required(self.headers, 'headers')
1918
- self.validate_required(self.status_code, 'status_code')
1919
- self.validate_required(self.body, 'body')
1920
1960
  if self.body:
1921
1961
  self.body.validate()
1922
1962
 
@@ -2085,9 +2125,6 @@ class GetNetworkReachableAnalysisResponse(TeaModel):
2085
2125
  self.body = body
2086
2126
 
2087
2127
  def validate(self):
2088
- self.validate_required(self.headers, 'headers')
2089
- self.validate_required(self.status_code, 'status_code')
2090
- self.validate_required(self.body, 'body')
2091
2128
  if self.body:
2092
2129
  self.body.validate()
2093
2130
 
@@ -2120,7 +2157,7 @@ class GetNetworkReachableAnalysisResponse(TeaModel):
2120
2157
  class GetTransitRouterFlowTopNRequest(TeaModel):
2121
2158
  def __init__(
2122
2159
  self,
2123
- account_ids: List[str] = None,
2160
+ account_ids: List[int] = None,
2124
2161
  bandwith_package_id: str = None,
2125
2162
  begin_time: int = None,
2126
2163
  cen_id: str = None,
@@ -2139,23 +2176,59 @@ class GetTransitRouterFlowTopNRequest(TeaModel):
2139
2176
  top_n: int = None,
2140
2177
  use_multi_account: bool = None,
2141
2178
  ):
2179
+ # The IDs of the member accounts.
2142
2180
  self.account_ids = account_ids
2181
+ # The ID of the CEN bandwidth plan.
2143
2182
  self.bandwith_package_id = bandwith_package_id
2183
+ # The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.
2144
2184
  self.begin_time = begin_time
2185
+ # The CEN instance ID.
2145
2186
  self.cen_id = cen_id
2187
+ # The direction of the inter-region traffic in the local regions or for the local IP addresses. Valid values:
2188
+ #
2189
+ # * **in**: inbound traffic
2190
+ # * **out**: outbound traffic
2146
2191
  self.direction = direction
2192
+ # The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.
2147
2193
  self.end_time = end_time
2194
+ # The dimension for ranking inter-region traffic data. The value of this parameter is case-sensitive. Valid values:
2195
+ #
2196
+ # * **1Tuple**: queries the rankings of inter-region traffic data for the local regions, Cloud Enterprise Network (CEN) instances, and IP addresses.
2197
+ # * **2Tuple**: queries the rankings of inter-region traffic data for the local and remote regions, and the local and remote IP addresses.
2198
+ # * **5Tuple**: queries the rankings of inter-region traffic data for the local and remote IP addresses, local and remote ports, and protocols.
2199
+ # * **Cen**: queries the rankings of inter-region traffic data for CEN instances.
2200
+ # * **RegionPair**: queries the rankings of inter-region traffic data for the local and remote regions.
2201
+ # * **Port**: queries the rankings of inter-region traffic data for the local and remote ports.
2202
+ # * **Protocol**: queries the rankings of inter-region traffic data for the protocols.
2148
2203
  self.group_by = group_by
2204
+ # The metric for ranking inter-region traffic data. Default value: Bytes. This value specifies that inter-region traffic data is ranked by traffic volume.
2149
2205
  self.order_by = order_by
2206
+ # The remote IP address.
2150
2207
  self.other_ip = other_ip
2208
+ # The remote port.
2151
2209
  self.other_port = other_port
2210
+ # The remote region.
2152
2211
  self.other_region = other_region
2212
+ # The protocol number.
2213
+ #
2214
+ # > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
2153
2215
  self.protocol = protocol
2216
+ # The order for ranking inter-region traffic data. Valid values:
2217
+ #
2218
+ # * **desc**: descending order
2219
+ # * **asc**: ascending order
2154
2220
  self.sort = sort
2221
+ # The local IP address.
2155
2222
  self.this_ip = this_ip
2223
+ # The local port.
2156
2224
  self.this_port = this_port
2225
+ # The local region where the **local IP address** resides.
2157
2226
  self.this_region = this_region
2227
+ # Specifies the maximum number of data entries to display. Default value: **10**. Maximum value: 100.
2158
2228
  self.top_n = top_n
2229
+ # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
2230
+ #
2231
+ # > By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.
2159
2232
  self.use_multi_account = use_multi_account
2160
2233
 
2161
2234
  def validate(self):
@@ -2268,23 +2341,59 @@ class GetTransitRouterFlowTopNShrinkRequest(TeaModel):
2268
2341
  top_n: int = None,
2269
2342
  use_multi_account: bool = None,
2270
2343
  ):
2344
+ # The IDs of the member accounts.
2271
2345
  self.account_ids_shrink = account_ids_shrink
2346
+ # The ID of the CEN bandwidth plan.
2272
2347
  self.bandwith_package_id = bandwith_package_id
2348
+ # The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.
2273
2349
  self.begin_time = begin_time
2350
+ # The CEN instance ID.
2274
2351
  self.cen_id = cen_id
2352
+ # The direction of the inter-region traffic in the local regions or for the local IP addresses. Valid values:
2353
+ #
2354
+ # * **in**: inbound traffic
2355
+ # * **out**: outbound traffic
2275
2356
  self.direction = direction
2357
+ # The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.
2276
2358
  self.end_time = end_time
2359
+ # The dimension for ranking inter-region traffic data. The value of this parameter is case-sensitive. Valid values:
2360
+ #
2361
+ # * **1Tuple**: queries the rankings of inter-region traffic data for the local regions, Cloud Enterprise Network (CEN) instances, and IP addresses.
2362
+ # * **2Tuple**: queries the rankings of inter-region traffic data for the local and remote regions, and the local and remote IP addresses.
2363
+ # * **5Tuple**: queries the rankings of inter-region traffic data for the local and remote IP addresses, local and remote ports, and protocols.
2364
+ # * **Cen**: queries the rankings of inter-region traffic data for CEN instances.
2365
+ # * **RegionPair**: queries the rankings of inter-region traffic data for the local and remote regions.
2366
+ # * **Port**: queries the rankings of inter-region traffic data for the local and remote ports.
2367
+ # * **Protocol**: queries the rankings of inter-region traffic data for the protocols.
2277
2368
  self.group_by = group_by
2369
+ # The metric for ranking inter-region traffic data. Default value: Bytes. This value specifies that inter-region traffic data is ranked by traffic volume.
2278
2370
  self.order_by = order_by
2371
+ # The remote IP address.
2279
2372
  self.other_ip = other_ip
2373
+ # The remote port.
2280
2374
  self.other_port = other_port
2375
+ # The remote region.
2281
2376
  self.other_region = other_region
2377
+ # The protocol number.
2378
+ #
2379
+ # > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
2282
2380
  self.protocol = protocol
2381
+ # The order for ranking inter-region traffic data. Valid values:
2382
+ #
2383
+ # * **desc**: descending order
2384
+ # * **asc**: ascending order
2283
2385
  self.sort = sort
2386
+ # The local IP address.
2284
2387
  self.this_ip = this_ip
2388
+ # The local port.
2285
2389
  self.this_port = this_port
2390
+ # The local region where the **local IP address** resides.
2286
2391
  self.this_region = this_region
2392
+ # Specifies the maximum number of data entries to display. Default value: **10**. Maximum value: 100.
2287
2393
  self.top_n = top_n
2394
+ # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
2395
+ #
2396
+ # > By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.
2288
2397
  self.use_multi_account = use_multi_account
2289
2398
 
2290
2399
  def validate(self):
@@ -2393,19 +2502,33 @@ class GetTransitRouterFlowTopNResponseBodyTransitRouterFlowTopN(TeaModel):
2393
2502
  this_port: str = None,
2394
2503
  this_region: str = None,
2395
2504
  ):
2505
+ # The account ID.
2396
2506
  self.account_id = account_id
2507
+ # The ID of the CEN bandwidth plan.
2397
2508
  self.bandwith_package_id = bandwith_package_id
2509
+ # The total volume of traffic in the specified time range.
2398
2510
  self.bytes = bytes
2511
+ # The CEN instance ID.
2399
2512
  self.cen_id = cen_id
2513
+ # The end of the time range that you queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
2400
2514
  self.end_time = end_time
2515
+ # The remote IP address.
2401
2516
  self.other_ip = other_ip
2517
+ # The remote port.
2402
2518
  self.other_port = other_port
2519
+ # The remote region where the **remote IP address** resides.
2403
2520
  self.other_region = other_region
2521
+ # The total number of packets in the specified time range.
2404
2522
  self.packets = packets
2523
+ # The protocol number.
2405
2524
  self.protocol = protocol
2525
+ # The beginning of the time range that you queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
2406
2526
  self.start_time = start_time
2527
+ # The local IP address.
2407
2528
  self.this_ip = this_ip
2529
+ # The local port.
2408
2530
  self.this_port = this_port
2531
+ # The local region where the **local IP address** resides.
2409
2532
  self.this_region = this_region
2410
2533
 
2411
2534
  def validate(self):
@@ -2486,7 +2609,9 @@ class GetTransitRouterFlowTopNResponseBody(TeaModel):
2486
2609
  request_id: str = None,
2487
2610
  transit_router_flow_top_n: List[GetTransitRouterFlowTopNResponseBodyTransitRouterFlowTopN] = None,
2488
2611
  ):
2612
+ # The request ID.
2489
2613
  self.request_id = request_id
2614
+ # The ranking result of inter-region traffic data.
2490
2615
  self.transit_router_flow_top_n = transit_router_flow_top_n
2491
2616
 
2492
2617
  def validate(self):
@@ -2533,9 +2658,6 @@ class GetTransitRouterFlowTopNResponse(TeaModel):
2533
2658
  self.body = body
2534
2659
 
2535
2660
  def validate(self):
2536
- self.validate_required(self.headers, 'headers')
2537
- self.validate_required(self.status_code, 'status_code')
2538
- self.validate_required(self.body, 'body')
2539
2661
  if self.body:
2540
2662
  self.body.validate()
2541
2663
 
@@ -2568,7 +2690,7 @@ class GetTransitRouterFlowTopNResponse(TeaModel):
2568
2690
  class GetVbrFlowTopNRequest(TeaModel):
2569
2691
  def __init__(
2570
2692
  self,
2571
- account_ids: List[str] = None,
2693
+ account_ids: List[int] = None,
2572
2694
  attachment_id: str = None,
2573
2695
  begin_time: int = None,
2574
2696
  cen_id: str = None,
@@ -2587,23 +2709,62 @@ class GetVbrFlowTopNRequest(TeaModel):
2587
2709
  use_multi_account: bool = None,
2588
2710
  virtual_border_router_id: str = None,
2589
2711
  ):
2712
+ # The IDs of member accounts.
2590
2713
  self.account_ids = account_ids
2714
+ # The CEN connection ID.
2591
2715
  self.attachment_id = attachment_id
2716
+ # The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.
2592
2717
  self.begin_time = begin_time
2718
+ # The CEN instance ID.
2593
2719
  self.cen_id = cen_id
2720
+ # The local IP address.
2594
2721
  self.cloud_ip = cloud_ip
2722
+ # The local port.
2723
+ #
2724
+ # > This parameter is required only if you set **GroupBy** to **CloudPort**.
2595
2725
  self.cloud_port = cloud_port
2726
+ # The direction of the hybrid cloud traffic in the local regions or for the local IP addresses. Valid values:
2727
+ #
2728
+ # * **in**: traffic from a data center to Alibaba Cloud
2729
+ # * **out**: traffic from Alibaba Cloud to a data center
2596
2730
  self.direction = direction
2731
+ # The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.
2597
2732
  self.end_time = end_time
2733
+ # The dimension for ranking hybrid cloud traffic data. The value of this parameter is case-sensitive. Valid values:
2734
+ #
2735
+ # * **1Tuple**: queries the rankings of hybrid cloud traffic data for the Cloud Enterprise Network (CEN) instances, CEN connections, virtual border routers (VBRs), and IP addresses.
2736
+ # * **2Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses.
2737
+ # * **5Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses, local and remote ports, and protocols.
2738
+ # * **CloudPort**: queries the rankings of hybrid cloud traffic data for the local ports.
2739
+ # * **OtherPort**: queries the rankings of hybrid cloud traffic data for the remote ports.
2740
+ # * **Protocol**: queries the rankings of hybrid cloud traffic data for the protocols.
2598
2741
  self.group_by = group_by
2742
+ # The metric for ranking hybrid cloud traffic data. Default value: Bytes. This value specifies that hybrid cloud traffic data is ranked by traffic volumes.
2599
2743
  self.order_by = order_by
2744
+ # The remote IP address.
2600
2745
  self.other_ip = other_ip
2746
+ # The remote port.
2747
+ #
2748
+ # > This parameter is required only if you set **GroupBy** to **OtherPort**.
2601
2749
  self.other_port = other_port
2750
+ # The protocol number.
2751
+ #
2752
+ # > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
2602
2753
  self.protocol = protocol
2754
+ # The local region.
2603
2755
  self.region_id = region_id
2756
+ # The order for ranking hybrid cloud traffic data. Valid values:
2757
+ #
2758
+ # * **desc**: descending order
2759
+ # * **asc**: ascending order
2604
2760
  self.sort = sort
2761
+ # Specifies top-N traffic data to display. Default value: **10**. This value specifies that top-10 traffic data is displayed by default. Maximum value: **100**.
2605
2762
  self.top_n = top_n
2763
+ # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
2764
+ #
2765
+ # > By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.
2606
2766
  self.use_multi_account = use_multi_account
2767
+ # The ID of the VBR that is associated with the Express Connect circuit.
2607
2768
  self.virtual_border_router_id = virtual_border_router_id
2608
2769
 
2609
2770
  def validate(self):
@@ -2716,23 +2877,62 @@ class GetVbrFlowTopNShrinkRequest(TeaModel):
2716
2877
  use_multi_account: bool = None,
2717
2878
  virtual_border_router_id: str = None,
2718
2879
  ):
2880
+ # The IDs of member accounts.
2719
2881
  self.account_ids_shrink = account_ids_shrink
2882
+ # The CEN connection ID.
2720
2883
  self.attachment_id = attachment_id
2884
+ # The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.
2721
2885
  self.begin_time = begin_time
2886
+ # The CEN instance ID.
2722
2887
  self.cen_id = cen_id
2888
+ # The local IP address.
2723
2889
  self.cloud_ip = cloud_ip
2890
+ # The local port.
2891
+ #
2892
+ # > This parameter is required only if you set **GroupBy** to **CloudPort**.
2724
2893
  self.cloud_port = cloud_port
2894
+ # The direction of the hybrid cloud traffic in the local regions or for the local IP addresses. Valid values:
2895
+ #
2896
+ # * **in**: traffic from a data center to Alibaba Cloud
2897
+ # * **out**: traffic from Alibaba Cloud to a data center
2725
2898
  self.direction = direction
2899
+ # The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.
2726
2900
  self.end_time = end_time
2901
+ # The dimension for ranking hybrid cloud traffic data. The value of this parameter is case-sensitive. Valid values:
2902
+ #
2903
+ # * **1Tuple**: queries the rankings of hybrid cloud traffic data for the Cloud Enterprise Network (CEN) instances, CEN connections, virtual border routers (VBRs), and IP addresses.
2904
+ # * **2Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses.
2905
+ # * **5Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses, local and remote ports, and protocols.
2906
+ # * **CloudPort**: queries the rankings of hybrid cloud traffic data for the local ports.
2907
+ # * **OtherPort**: queries the rankings of hybrid cloud traffic data for the remote ports.
2908
+ # * **Protocol**: queries the rankings of hybrid cloud traffic data for the protocols.
2727
2909
  self.group_by = group_by
2910
+ # The metric for ranking hybrid cloud traffic data. Default value: Bytes. This value specifies that hybrid cloud traffic data is ranked by traffic volumes.
2728
2911
  self.order_by = order_by
2912
+ # The remote IP address.
2729
2913
  self.other_ip = other_ip
2914
+ # The remote port.
2915
+ #
2916
+ # > This parameter is required only if you set **GroupBy** to **OtherPort**.
2730
2917
  self.other_port = other_port
2918
+ # The protocol number.
2919
+ #
2920
+ # > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
2731
2921
  self.protocol = protocol
2922
+ # The local region.
2732
2923
  self.region_id = region_id
2924
+ # The order for ranking hybrid cloud traffic data. Valid values:
2925
+ #
2926
+ # * **desc**: descending order
2927
+ # * **asc**: ascending order
2733
2928
  self.sort = sort
2929
+ # Specifies top-N traffic data to display. Default value: **10**. This value specifies that top-10 traffic data is displayed by default. Maximum value: **100**.
2734
2930
  self.top_n = top_n
2931
+ # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
2932
+ #
2933
+ # > By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.
2735
2934
  self.use_multi_account = use_multi_account
2935
+ # The ID of the VBR that is associated with the Express Connect circuit.
2736
2936
  self.virtual_border_router_id = virtual_border_router_id
2737
2937
 
2738
2938
  def validate(self):
@@ -2838,16 +3038,27 @@ class GetVbrFlowTopNResponseBodyVirtualBorderRouterFlowlogTopN(TeaModel):
2838
3038
  protocol: str = None,
2839
3039
  virtual_border_router_id: str = None,
2840
3040
  ):
3041
+ # The account ID.
2841
3042
  self.account_id = account_id
3043
+ # The CEN connection ID.
2842
3044
  self.attachment_id = attachment_id
3045
+ # The total volume of traffic in the specified time range.
2843
3046
  self.bytes = bytes
3047
+ # The local IP address.
2844
3048
  self.cloud_ip = cloud_ip
3049
+ # The local port.
2845
3050
  self.cloud_port = cloud_port
3051
+ # The local region where the local IP address resides.
2846
3052
  self.cloud_region = cloud_region
3053
+ # The remote IP address.
2847
3054
  self.other_ip = other_ip
3055
+ # The remote port.
2848
3056
  self.other_port = other_port
3057
+ # The total number of packets in the specified time range.
2849
3058
  self.packets = packets
3059
+ # The protocol number.
2850
3060
  self.protocol = protocol
3061
+ # The ID of the VBR that is associated with the Express Connect circuit.
2851
3062
  self.virtual_border_router_id = virtual_border_router_id
2852
3063
 
2853
3064
  def validate(self):
@@ -2916,7 +3127,9 @@ class GetVbrFlowTopNResponseBody(TeaModel):
2916
3127
  request_id: str = None,
2917
3128
  virtual_border_router_flowlog_top_n: List[GetVbrFlowTopNResponseBodyVirtualBorderRouterFlowlogTopN] = None,
2918
3129
  ):
3130
+ # The request ID.
2919
3131
  self.request_id = request_id
3132
+ # The ranking result of hybrid cloud traffic data.
2920
3133
  self.virtual_border_router_flowlog_top_n = virtual_border_router_flowlog_top_n
2921
3134
 
2922
3135
  def validate(self):
@@ -2963,9 +3176,6 @@ class GetVbrFlowTopNResponse(TeaModel):
2963
3176
  self.body = body
2964
3177
 
2965
3178
  def validate(self):
2966
- self.validate_required(self.headers, 'headers')
2967
- self.validate_required(self.status_code, 'status_code')
2968
- self.validate_required(self.body, 'body')
2969
3179
  if self.body:
2970
3180
  self.body.validate()
2971
3181
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-nis20211216
3
- Version: 1.2.0
3
+ Version: 2.0.1
4
4
  Summary: Alibaba Cloud nis (20211216) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -36,7 +36,7 @@ Description: English | [简体中文](README-CN.md)
36
36
 
37
37
  ## Changelog
38
38
 
39
- Detailed changes for each release are documented in the [release notes](./ChangeLog.md).
39
+ Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/nis-20211216/ChangeLog.md).
40
40
 
41
41
  ## References
42
42
 
@@ -1,4 +1,4 @@
1
1
  alibabacloud_tea_util<1.0.0,>=0.3.11
2
- alibabacloud_tea_openapi<1.0.0,>=0.3.6
2
+ alibabacloud_tea_openapi<1.0.0,>=0.3.8
3
3
  alibabacloud_openapi_util<1.0.0,>=0.2.1
4
4
  alibabacloud_endpoint_util<1.0.0,>=0.0.3
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_nis20211216.
26
26
 
27
- Created on 31/08/2023
27
+ Created on 21/03/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -38,7 +38,7 @@ URL = "https://github.com/aliyun/alibabacloud-python-sdk"
38
38
  VERSION = __import__(PACKAGE).__version__
39
39
  REQUIRES = [
40
40
  "alibabacloud_tea_util>=0.3.11, <1.0.0",
41
- "alibabacloud_tea_openapi>=0.3.6, <1.0.0",
41
+ "alibabacloud_tea_openapi>=0.3.8, <1.0.0",
42
42
  "alibabacloud_openapi_util>=0.2.1, <1.0.0",
43
43
  "alibabacloud_endpoint_util>=0.0.3, <1.0.0"
44
44
  ]
@@ -1,6 +0,0 @@
1
- 2023-08-09 Version: 1.1.0
2
- - Generated python 2021-12-16 for nis.
3
-
4
- 2023-03-02 Version: 1.0.0
5
- - Ini V2 SDK .
6
-
@@ -1 +0,0 @@
1
- __version__ = '1.2.0'