alibabacloud-nis20211216 2.0.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 (17) hide show
  1. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/ChangeLog.md +3 -0
  2. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/PKG-INFO +2 -2
  3. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/README-CN.md +1 -1
  4. {alibabacloud_nis20211216-2.0.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-2.0.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216/models.py +139 -115
  7. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/PKG-INFO +2 -2
  8. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/setup.py +1 -1
  9. alibabacloud_nis20211216-2.0.0/alibabacloud_nis20211216/__init__.py +0 -1
  10. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/LICENSE +0 -0
  11. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/MANIFEST.in +0 -0
  12. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216/client.py +0 -0
  13. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/requires.txt +0 -0
  16. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/alibabacloud_nis20211216.egg-info/top_level.txt +0 -0
  17. {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.1}/setup.cfg +0 -0
@@ -1,3 +1,6 @@
1
+ 2023-12-08 Version: 2.0.0
2
+ - Generated python 2021-12-16 for nis.
3
+
1
4
  2023-08-31 Version: 1.2.0
2
5
  - Generated python 2021-12-16 for nis.
3
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_nis20211216
3
- Version: 2.0.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'
@@ -222,9 +222,6 @@ class CreateAndAnalyzeNetworkPathResponse(TeaModel):
222
222
  self.body = body
223
223
 
224
224
  def validate(self):
225
- self.validate_required(self.headers, 'headers')
226
- self.validate_required(self.status_code, 'status_code')
227
- self.validate_required(self.body, 'body')
228
225
  if self.body:
229
226
  self.body.validate()
230
227
 
@@ -323,6 +320,7 @@ class CreateNetworkPathRequest(TeaModel):
323
320
  self.protocol = protocol
324
321
  # The region ID of the network path that you want to create.
325
322
  self.region_id = region_id
323
+ # The resource group ID.
326
324
  self.resource_group_id = resource_group_id
327
325
  # The ID of the source resource.
328
326
  self.source_id = source_id
@@ -483,9 +481,6 @@ class CreateNetworkPathResponse(TeaModel):
483
481
  self.body = body
484
482
 
485
483
  def validate(self):
486
- self.validate_required(self.headers, 'headers')
487
- self.validate_required(self.status_code, 'status_code')
488
- self.validate_required(self.body, 'body')
489
484
  if self.body:
490
485
  self.body.validate()
491
486
 
@@ -521,13 +516,13 @@ class CreateNetworkReachableAnalysisRequestTag(TeaModel):
521
516
  key: str = None,
522
517
  value: str = None,
523
518
  ):
524
- # 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`.
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`.
525
520
  #
526
521
  # You can add up to 20 tags in each call.
527
522
  self.key = key
528
- # 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.
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.
529
524
  #
530
- # 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:`.
525
+ # You can add up to 20 tag values in each call.
531
526
  self.value = value
532
527
 
533
528
  def validate(self):
@@ -561,7 +556,7 @@ class CreateNetworkReachableAnalysisRequest(TeaModel):
561
556
  region_id: str = None,
562
557
  tag: List[CreateNetworkReachableAnalysisRequestTag] = None,
563
558
  ):
564
- # 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.
565
560
  self.network_path_id = network_path_id
566
561
  # The ID of the region for which you want to create a task for analyzing network reachability.
567
562
  self.region_id = region_id
@@ -651,9 +646,6 @@ class CreateNetworkReachableAnalysisResponse(TeaModel):
651
646
  self.body = body
652
647
 
653
648
  def validate(self):
654
- self.validate_required(self.headers, 'headers')
655
- self.validate_required(self.status_code, 'status_code')
656
- self.validate_required(self.body, 'body')
657
649
  if self.body:
658
650
  self.body.validate()
659
651
 
@@ -756,8 +748,10 @@ class DeleteNetworkPathShrinkRequest(TeaModel):
756
748
  class DeleteNetworkPathResponseBody(TeaModel):
757
749
  def __init__(
758
750
  self,
751
+ data: bool = None,
759
752
  request_id: str = None,
760
753
  ):
754
+ self.data = data
761
755
  # The request ID.
762
756
  self.request_id = request_id
763
757
 
@@ -770,12 +764,16 @@ class DeleteNetworkPathResponseBody(TeaModel):
770
764
  return _map
771
765
 
772
766
  result = dict()
767
+ if self.data is not None:
768
+ result['Data'] = self.data
773
769
  if self.request_id is not None:
774
770
  result['RequestId'] = self.request_id
775
771
  return result
776
772
 
777
773
  def from_map(self, m: dict = None):
778
774
  m = m or dict()
775
+ if m.get('Data') is not None:
776
+ self.data = m.get('Data')
779
777
  if m.get('RequestId') is not None:
780
778
  self.request_id = m.get('RequestId')
781
779
  return self
@@ -793,9 +791,6 @@ class DeleteNetworkPathResponse(TeaModel):
793
791
  self.body = body
794
792
 
795
793
  def validate(self):
796
- self.validate_required(self.headers, 'headers')
797
- self.validate_required(self.status_code, 'status_code')
798
- self.validate_required(self.body, 'body')
799
794
  if self.body:
800
795
  self.body.validate()
801
796
 
@@ -898,8 +893,10 @@ class DeleteNetworkReachableAnalysisShrinkRequest(TeaModel):
898
893
  class DeleteNetworkReachableAnalysisResponseBody(TeaModel):
899
894
  def __init__(
900
895
  self,
896
+ data: bool = None,
901
897
  request_id: str = None,
902
898
  ):
899
+ self.data = data
903
900
  # The request ID.
904
901
  self.request_id = request_id
905
902
 
@@ -912,12 +909,16 @@ class DeleteNetworkReachableAnalysisResponseBody(TeaModel):
912
909
  return _map
913
910
 
914
911
  result = dict()
912
+ if self.data is not None:
913
+ result['Data'] = self.data
915
914
  if self.request_id is not None:
916
915
  result['RequestId'] = self.request_id
917
916
  return result
918
917
 
919
918
  def from_map(self, m: dict = None):
920
919
  m = m or dict()
920
+ if m.get('Data') is not None:
921
+ self.data = m.get('Data')
921
922
  if m.get('RequestId') is not None:
922
923
  self.request_id = m.get('RequestId')
923
924
  return self
@@ -935,9 +936,6 @@ class DeleteNetworkReachableAnalysisResponse(TeaModel):
935
936
  self.body = body
936
937
 
937
938
  def validate(self):
938
- self.validate_required(self.headers, 'headers')
939
- self.validate_required(self.status_code, 'status_code')
940
- self.validate_required(self.body, 'body')
941
939
  if self.body:
942
940
  self.body.validate()
943
941
 
@@ -1000,11 +998,11 @@ class GetInternetTupleRequest(TeaModel):
1000
998
  self.cloud_ip = cloud_ip
1001
999
  # The local Internet service provider (ISP).
1002
1000
  #
1003
- # > In most cases, the value is Alibaba or Alibaba Cloud.
1001
+ # > In most cases, the value is Alibaba or Alibaba Cloud.
1004
1002
  self.cloud_isp = cloud_isp
1005
1003
  # The local port.
1006
1004
  #
1007
- # > This parameter is required only if you set the **TupleType** parameter to **5**.
1005
+ # > This parameter is required only if you set GroupBy to CloudPort.
1008
1006
  self.cloud_port = cloud_port
1009
1007
  # The direction of the Internet traffic that you want to query. Valid values:
1010
1008
  #
@@ -1017,15 +1015,35 @@ class GetInternetTupleRequest(TeaModel):
1017
1015
  self.instance_id = instance_id
1018
1016
  # The instance IDs for filtering.
1019
1017
  self.instance_list = instance_list
1020
- # The metric for data ranking. Default value: **ByteCount**. This value specifies that data is 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
1021
1039
  self.order_by = order_by
1022
1040
  # The remote city.
1023
1041
  #
1024
- # > 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**.
1025
1043
  self.other_city = other_city
1026
1044
  # The remote country.
1027
1045
  #
1028
- # > 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**.
1029
1047
  self.other_country = other_country
1030
1048
  # The remote IP address.
1031
1049
  #
@@ -1050,7 +1068,7 @@ class GetInternetTupleRequest(TeaModel):
1050
1068
  # * **desc**: the descending order
1051
1069
  # * **asc**: the ascending order
1052
1070
  self.sort = sort
1053
- # 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**.
1054
1072
  self.top_n = top_n
1055
1073
  # The type of the tuple. Valid values:
1056
1074
  #
@@ -1060,7 +1078,7 @@ class GetInternetTupleRequest(TeaModel):
1060
1078
  self.tuple_type = tuple_type
1061
1079
  # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
1062
1080
  #
1063
- # > By default, the multi-account management feature is not available. If you want to use this feature, contact your customer business manager to apply for permissions.
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.
1064
1082
  self.use_multi_account = use_multi_account
1065
1083
 
1066
1084
  def validate(self):
@@ -1196,11 +1214,11 @@ class GetInternetTupleShrinkRequest(TeaModel):
1196
1214
  self.cloud_ip = cloud_ip
1197
1215
  # The local Internet service provider (ISP).
1198
1216
  #
1199
- # > In most cases, the value is Alibaba or Alibaba Cloud.
1217
+ # > In most cases, the value is Alibaba or Alibaba Cloud.
1200
1218
  self.cloud_isp = cloud_isp
1201
1219
  # The local port.
1202
1220
  #
1203
- # > This parameter is required only if you set the **TupleType** parameter to **5**.
1221
+ # > This parameter is required only if you set GroupBy to CloudPort.
1204
1222
  self.cloud_port = cloud_port
1205
1223
  # The direction of the Internet traffic that you want to query. Valid values:
1206
1224
  #
@@ -1213,15 +1231,35 @@ class GetInternetTupleShrinkRequest(TeaModel):
1213
1231
  self.instance_id = instance_id
1214
1232
  # The instance IDs for filtering.
1215
1233
  self.instance_list_shrink = instance_list_shrink
1216
- # The metric for data ranking. Default value: **ByteCount**. This value specifies that data is 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
1217
1255
  self.order_by = order_by
1218
1256
  # The remote city.
1219
1257
  #
1220
- # > 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**.
1221
1259
  self.other_city = other_city
1222
1260
  # The remote country.
1223
1261
  #
1224
- # > 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**.
1225
1263
  self.other_country = other_country
1226
1264
  # The remote IP address.
1227
1265
  #
@@ -1246,7 +1284,7 @@ class GetInternetTupleShrinkRequest(TeaModel):
1246
1284
  # * **desc**: the descending order
1247
1285
  # * **asc**: the ascending order
1248
1286
  self.sort = sort
1249
- # 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**.
1250
1288
  self.top_n = top_n
1251
1289
  # The type of the tuple. Valid values:
1252
1290
  #
@@ -1256,7 +1294,7 @@ class GetInternetTupleShrinkRequest(TeaModel):
1256
1294
  self.tuple_type = tuple_type
1257
1295
  # Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
1258
1296
  #
1259
- # > By default, the multi-account management feature is not available. If you want to use this feature, contact your customer business manager to apply for permissions.
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.
1260
1298
  self.use_multi_account = use_multi_account
1261
1299
 
1262
1300
  def validate(self):
@@ -1397,7 +1435,7 @@ class GetInternetTupleResponseBodyData(TeaModel):
1397
1435
  ):
1398
1436
  # The access point of Alibaba Cloud.
1399
1437
  #
1400
- # > 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).
1401
1439
  self.access_region = access_region
1402
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.
1403
1441
  self.begin_time = begin_time
@@ -1413,16 +1451,16 @@ class GetInternetTupleResponseBodyData(TeaModel):
1413
1451
  self.cloud_isp = cloud_isp
1414
1452
  # The local port.
1415
1453
  self.cloud_port = cloud_port
1416
- # 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.
1417
1455
  self.cloud_product = cloud_product
1418
1456
  # The local province.
1419
1457
  self.cloud_province = cloud_province
1420
- # The direction of the Internet traffic. Valid values:
1458
+ # The direction of Internet traffic. Valid values:
1421
1459
  #
1422
- # - **in**: inbound
1423
- # - **out**: outbound
1460
+ # * **in**: inbound
1461
+ # * **out**: outbound
1424
1462
  self.direction = direction
1425
- # The inbound traffic volume. Unit: bytes.
1463
+ # The inbound traffic volume. Unit: bytes.
1426
1464
  self.in_byte_count = in_byte_count
1427
1465
  # The number of inbound disordered packets.
1428
1466
  self.in_out_order_count = in_out_order_count
@@ -1430,9 +1468,9 @@ class GetInternetTupleResponseBodyData(TeaModel):
1430
1468
  self.in_packet_count = in_packet_count
1431
1469
  # The number of inbound repeated packets.
1432
1470
  self.in_retran_count = in_retran_count
1433
- # The instance ID to which the local IP address belongs.
1471
+ # The ID of the instance to which the local IP address belongs.
1434
1472
  self.instance_id = instance_id
1435
- # 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.
1436
1474
  self.other_city = other_city
1437
1475
  # The remote country or region.
1438
1476
  self.other_country = other_country
@@ -1442,11 +1480,11 @@ class GetInternetTupleResponseBodyData(TeaModel):
1442
1480
  self.other_isp = other_isp
1443
1481
  # The remote port.
1444
1482
  self.other_port = other_port
1445
- # 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.
1446
1484
  self.other_product = other_product
1447
- # 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.
1448
1486
  self.other_province = other_province
1449
- # The outbound traffic volume. Unit: bytes.
1487
+ # The outbound traffic volume. Unit: bytes.
1450
1488
  self.out_byte_count = out_byte_count
1451
1489
  # The number of disordered packets.
1452
1490
  self.out_order_count = out_order_count
@@ -1460,8 +1498,9 @@ class GetInternetTupleResponseBodyData(TeaModel):
1460
1498
  self.packet_count = packet_count
1461
1499
  # The protocol number.
1462
1500
  self.protocol = protocol
1501
+ # The retransmission rate of TCP packets.
1463
1502
  self.retransmit_rate = retransmit_rate
1464
- # The round-trip time (RTT). Unit: milliseconds.
1503
+ # The round-trip time (RTT). Unit: milliseconds.
1465
1504
  self.rtt = rtt
1466
1505
 
1467
1506
  def validate(self):
@@ -1614,7 +1653,7 @@ class GetInternetTupleResponseBody(TeaModel):
1614
1653
  data: List[GetInternetTupleResponseBodyData] = None,
1615
1654
  request_id: str = None,
1616
1655
  ):
1617
- # The ranking result of instances by Internet traffic.
1656
+ # The ranking result of Internet traffic data.
1618
1657
  self.data = data
1619
1658
  # The request ID.
1620
1659
  self.request_id = request_id
@@ -1663,9 +1702,6 @@ class GetInternetTupleResponse(TeaModel):
1663
1702
  self.body = body
1664
1703
 
1665
1704
  def validate(self):
1666
- self.validate_required(self.headers, 'headers')
1667
- self.validate_required(self.status_code, 'status_code')
1668
- self.validate_required(self.body, 'body')
1669
1705
  if self.body:
1670
1706
  self.body.validate()
1671
1707
 
@@ -1921,9 +1957,6 @@ class GetNatTopNResponse(TeaModel):
1921
1957
  self.body = body
1922
1958
 
1923
1959
  def validate(self):
1924
- self.validate_required(self.headers, 'headers')
1925
- self.validate_required(self.status_code, 'status_code')
1926
- self.validate_required(self.body, 'body')
1927
1960
  if self.body:
1928
1961
  self.body.validate()
1929
1962
 
@@ -2092,9 +2125,6 @@ class GetNetworkReachableAnalysisResponse(TeaModel):
2092
2125
  self.body = body
2093
2126
 
2094
2127
  def validate(self):
2095
- self.validate_required(self.headers, 'headers')
2096
- self.validate_required(self.status_code, 'status_code')
2097
- self.validate_required(self.body, 'body')
2098
2128
  if self.body:
2099
2129
  self.body.validate()
2100
2130
 
@@ -2146,7 +2176,7 @@ class GetTransitRouterFlowTopNRequest(TeaModel):
2146
2176
  top_n: int = None,
2147
2177
  use_multi_account: bool = None,
2148
2178
  ):
2149
- # The IDs of member accounts.
2179
+ # The IDs of the member accounts.
2150
2180
  self.account_ids = account_ids
2151
2181
  # The ID of the CEN bandwidth plan.
2152
2182
  self.bandwith_package_id = bandwith_package_id
@@ -2156,20 +2186,20 @@ class GetTransitRouterFlowTopNRequest(TeaModel):
2156
2186
  self.cen_id = cen_id
2157
2187
  # The direction of the inter-region traffic in the local regions or for the local IP addresses. Valid values:
2158
2188
  #
2159
- # * in: inbound traffic
2160
- # * out: outbound traffic
2189
+ # * **in**: inbound traffic
2190
+ # * **out**: outbound traffic
2161
2191
  self.direction = direction
2162
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.
2163
2193
  self.end_time = end_time
2164
2194
  # The dimension for ranking inter-region traffic data. The value of this parameter is case-sensitive. Valid values:
2165
2195
  #
2166
- # * 1Tuple: queries the rankings of inter-region traffic data for the local regions, Cloud Enterprise Network (CEN) instances, and IP addresses.
2167
- # * 2Tuple: queries the rankings of inter-region traffic data for the local and remote regions, and the local and remote IP addresses.
2168
- # * 5Tuple: queries the rankings of inter-region traffic data for the local and remote IP addresses, local and remote ports, and protocols in use.
2169
- # * Cen: queries the rankings of inter-region traffic data for CEN instances.
2170
- # * RegionPair: queries the rankings of inter-region traffic data for the local and remote regions.
2171
- # * Port: queries the rankings of inter-region traffic data for the local and remote ports.
2172
- # * Protocol: queries the rankings of inter-region traffic data for the protocols in use.
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.
2173
2203
  self.group_by = group_by
2174
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.
2175
2205
  self.order_by = order_by
@@ -2181,12 +2211,12 @@ class GetTransitRouterFlowTopNRequest(TeaModel):
2181
2211
  self.other_region = other_region
2182
2212
  # The protocol number.
2183
2213
  #
2184
- # > All protocols are supported. This parameter is required only if you set GroupBy to 5Tuple or Protocol.
2214
+ # > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
2185
2215
  self.protocol = protocol
2186
2216
  # The order for ranking inter-region traffic data. Valid values:
2187
2217
  #
2188
- # * desc: descending order
2189
- # * asc: ascending order
2218
+ # * **desc**: descending order
2219
+ # * **asc**: ascending order
2190
2220
  self.sort = sort
2191
2221
  # The local IP address.
2192
2222
  self.this_ip = this_ip
@@ -2311,7 +2341,7 @@ class GetTransitRouterFlowTopNShrinkRequest(TeaModel):
2311
2341
  top_n: int = None,
2312
2342
  use_multi_account: bool = None,
2313
2343
  ):
2314
- # The IDs of member accounts.
2344
+ # The IDs of the member accounts.
2315
2345
  self.account_ids_shrink = account_ids_shrink
2316
2346
  # The ID of the CEN bandwidth plan.
2317
2347
  self.bandwith_package_id = bandwith_package_id
@@ -2321,20 +2351,20 @@ class GetTransitRouterFlowTopNShrinkRequest(TeaModel):
2321
2351
  self.cen_id = cen_id
2322
2352
  # The direction of the inter-region traffic in the local regions or for the local IP addresses. Valid values:
2323
2353
  #
2324
- # * in: inbound traffic
2325
- # * out: outbound traffic
2354
+ # * **in**: inbound traffic
2355
+ # * **out**: outbound traffic
2326
2356
  self.direction = direction
2327
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.
2328
2358
  self.end_time = end_time
2329
2359
  # The dimension for ranking inter-region traffic data. The value of this parameter is case-sensitive. Valid values:
2330
2360
  #
2331
- # * 1Tuple: queries the rankings of inter-region traffic data for the local regions, Cloud Enterprise Network (CEN) instances, and IP addresses.
2332
- # * 2Tuple: queries the rankings of inter-region traffic data for the local and remote regions, and the local and remote IP addresses.
2333
- # * 5Tuple: queries the rankings of inter-region traffic data for the local and remote IP addresses, local and remote ports, and protocols in use.
2334
- # * Cen: queries the rankings of inter-region traffic data for CEN instances.
2335
- # * RegionPair: queries the rankings of inter-region traffic data for the local and remote regions.
2336
- # * Port: queries the rankings of inter-region traffic data for the local and remote ports.
2337
- # * Protocol: queries the rankings of inter-region traffic data for the protocols in use.
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.
2338
2368
  self.group_by = group_by
2339
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.
2340
2370
  self.order_by = order_by
@@ -2346,12 +2376,12 @@ class GetTransitRouterFlowTopNShrinkRequest(TeaModel):
2346
2376
  self.other_region = other_region
2347
2377
  # The protocol number.
2348
2378
  #
2349
- # > All protocols are supported. This parameter is required only if you set GroupBy to 5Tuple or Protocol.
2379
+ # > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
2350
2380
  self.protocol = protocol
2351
2381
  # The order for ranking inter-region traffic data. Valid values:
2352
2382
  #
2353
- # * desc: descending order
2354
- # * asc: ascending order
2383
+ # * **desc**: descending order
2384
+ # * **asc**: ascending order
2355
2385
  self.sort = sort
2356
2386
  # The local IP address.
2357
2387
  self.this_ip = this_ip
@@ -2486,7 +2516,7 @@ class GetTransitRouterFlowTopNResponseBodyTransitRouterFlowTopN(TeaModel):
2486
2516
  self.other_ip = other_ip
2487
2517
  # The remote port.
2488
2518
  self.other_port = other_port
2489
- # The remote region where the remote IP address resides.
2519
+ # The remote region where the **remote IP address** resides.
2490
2520
  self.other_region = other_region
2491
2521
  # The total number of packets in the specified time range.
2492
2522
  self.packets = packets
@@ -2498,7 +2528,7 @@ class GetTransitRouterFlowTopNResponseBodyTransitRouterFlowTopN(TeaModel):
2498
2528
  self.this_ip = this_ip
2499
2529
  # The local port.
2500
2530
  self.this_port = this_port
2501
- # The local region where the local IP address resides.
2531
+ # The local region where the **local IP address** resides.
2502
2532
  self.this_region = this_region
2503
2533
 
2504
2534
  def validate(self):
@@ -2628,9 +2658,6 @@ class GetTransitRouterFlowTopNResponse(TeaModel):
2628
2658
  self.body = body
2629
2659
 
2630
2660
  def validate(self):
2631
- self.validate_required(self.headers, 'headers')
2632
- self.validate_required(self.status_code, 'status_code')
2633
- self.validate_required(self.body, 'body')
2634
2661
  if self.body:
2635
2662
  self.body.validate()
2636
2663
 
@@ -2694,23 +2721,23 @@ class GetVbrFlowTopNRequest(TeaModel):
2694
2721
  self.cloud_ip = cloud_ip
2695
2722
  # The local port.
2696
2723
  #
2697
- # > This parameter is required only if you set GroupBy to CloudPort.
2724
+ # > This parameter is required only if you set **GroupBy** to **CloudPort**.
2698
2725
  self.cloud_port = cloud_port
2699
2726
  # The direction of the hybrid cloud traffic in the local regions or for the local IP addresses. Valid values:
2700
2727
  #
2701
- # * in: traffic from a data center to Alibaba Cloud
2702
- # * out: traffic from Alibaba Cloud to a data center
2728
+ # * **in**: traffic from a data center to Alibaba Cloud
2729
+ # * **out**: traffic from Alibaba Cloud to a data center
2703
2730
  self.direction = direction
2704
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.
2705
2732
  self.end_time = end_time
2706
2733
  # The dimension for ranking hybrid cloud traffic data. The value of this parameter is case-sensitive. Valid values:
2707
2734
  #
2708
- # * 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.
2709
- # * 2Tuple: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses.
2710
- # * 5Tuple: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses, local and remote ports, and protocols.
2711
- # * CloudPort: queries the rankings of hybrid cloud traffic data for the local ports.
2712
- # * OtherPort: queries the rankings of hybrid cloud traffic data for the remote ports.
2713
- # * Protocol: queries the rankings of hybrid cloud traffic data for the protocols.
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.
2714
2741
  self.group_by = group_by
2715
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.
2716
2743
  self.order_by = order_by
@@ -2718,18 +2745,18 @@ class GetVbrFlowTopNRequest(TeaModel):
2718
2745
  self.other_ip = other_ip
2719
2746
  # The remote port.
2720
2747
  #
2721
- # > This parameter is required only if you set GroupBy to OtherPort.
2748
+ # > This parameter is required only if you set **GroupBy** to **OtherPort**.
2722
2749
  self.other_port = other_port
2723
2750
  # The protocol number.
2724
2751
  #
2725
- # > All protocols are supported. This parameter is required only if you set GroupBy to 5Tuple or Protocol.
2752
+ # > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
2726
2753
  self.protocol = protocol
2727
2754
  # The local region.
2728
2755
  self.region_id = region_id
2729
2756
  # The order for ranking hybrid cloud traffic data. Valid values:
2730
2757
  #
2731
- # * desc: descending order
2732
- # * asc: ascending order
2758
+ # * **desc**: descending order
2759
+ # * **asc**: ascending order
2733
2760
  self.sort = sort
2734
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**.
2735
2762
  self.top_n = top_n
@@ -2862,23 +2889,23 @@ class GetVbrFlowTopNShrinkRequest(TeaModel):
2862
2889
  self.cloud_ip = cloud_ip
2863
2890
  # The local port.
2864
2891
  #
2865
- # > This parameter is required only if you set GroupBy to CloudPort.
2892
+ # > This parameter is required only if you set **GroupBy** to **CloudPort**.
2866
2893
  self.cloud_port = cloud_port
2867
2894
  # The direction of the hybrid cloud traffic in the local regions or for the local IP addresses. Valid values:
2868
2895
  #
2869
- # * in: traffic from a data center to Alibaba Cloud
2870
- # * out: traffic from Alibaba Cloud to a data center
2896
+ # * **in**: traffic from a data center to Alibaba Cloud
2897
+ # * **out**: traffic from Alibaba Cloud to a data center
2871
2898
  self.direction = direction
2872
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.
2873
2900
  self.end_time = end_time
2874
2901
  # The dimension for ranking hybrid cloud traffic data. The value of this parameter is case-sensitive. Valid values:
2875
2902
  #
2876
- # * 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.
2877
- # * 2Tuple: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses.
2878
- # * 5Tuple: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses, local and remote ports, and protocols.
2879
- # * CloudPort: queries the rankings of hybrid cloud traffic data for the local ports.
2880
- # * OtherPort: queries the rankings of hybrid cloud traffic data for the remote ports.
2881
- # * Protocol: queries the rankings of hybrid cloud traffic data for the protocols.
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.
2882
2909
  self.group_by = group_by
2883
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.
2884
2911
  self.order_by = order_by
@@ -2886,18 +2913,18 @@ class GetVbrFlowTopNShrinkRequest(TeaModel):
2886
2913
  self.other_ip = other_ip
2887
2914
  # The remote port.
2888
2915
  #
2889
- # > This parameter is required only if you set GroupBy to OtherPort.
2916
+ # > This parameter is required only if you set **GroupBy** to **OtherPort**.
2890
2917
  self.other_port = other_port
2891
2918
  # The protocol number.
2892
2919
  #
2893
- # > All protocols are supported. This parameter is required only if you set GroupBy to 5Tuple or Protocol.
2920
+ # > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
2894
2921
  self.protocol = protocol
2895
2922
  # The local region.
2896
2923
  self.region_id = region_id
2897
2924
  # The order for ranking hybrid cloud traffic data. Valid values:
2898
2925
  #
2899
- # * desc: descending order
2900
- # * asc: ascending order
2926
+ # * **desc**: descending order
2927
+ # * **asc**: ascending order
2901
2928
  self.sort = sort
2902
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**.
2903
2930
  self.top_n = top_n
@@ -3149,9 +3176,6 @@ class GetVbrFlowTopNResponse(TeaModel):
3149
3176
  self.body = body
3150
3177
 
3151
3178
  def validate(self):
3152
- self.validate_required(self.headers, 'headers')
3153
- self.validate_required(self.status_code, 'status_code')
3154
- self.validate_required(self.body, 'body')
3155
3179
  if self.body:
3156
3180
  self.body.validate()
3157
3181
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-nis20211216
3
- Version: 2.0.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
 
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_nis20211216.
26
26
 
27
- Created on 08/12/2023
27
+ Created on 21/03/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '2.0.0'