alibabacloud-nis20211216 2.0.0__tar.gz → 2.0.2__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.
- alibabacloud_nis20211216-2.0.2/ChangeLog.md +18 -0
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/PKG-INFO +2 -2
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/README-CN.md +1 -1
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/README.md +1 -1
- alibabacloud_nis20211216-2.0.2/alibabacloud_nis20211216/__init__.py +1 -0
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/alibabacloud_nis20211216/client.py +8 -0
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/alibabacloud_nis20211216/models.py +153 -115
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/alibabacloud_nis20211216.egg-info/PKG-INFO +2 -2
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/setup.py +1 -1
- alibabacloud_nis20211216-2.0.0/ChangeLog.md +0 -9
- alibabacloud_nis20211216-2.0.0/alibabacloud_nis20211216/__init__.py +0 -1
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/LICENSE +0 -0
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/MANIFEST.in +0 -0
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/alibabacloud_nis20211216.egg-info/SOURCES.txt +0 -0
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/alibabacloud_nis20211216.egg-info/dependency_links.txt +0 -0
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/alibabacloud_nis20211216.egg-info/requires.txt +0 -0
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/alibabacloud_nis20211216.egg-info/top_level.txt +0 -0
- {alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/setup.cfg +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
2024-03-21 Version: 2.0.1
|
|
2
|
+
- Update API DeleteNetworkPath: update response param.
|
|
3
|
+
- Update API DeleteNetworkReachableAnalysis: update response param.
|
|
4
|
+
- Update API GetInternetTuple: update param OrderBy.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
2023-12-08 Version: 2.0.0
|
|
8
|
+
- Generated python 2021-12-16 for nis.
|
|
9
|
+
|
|
10
|
+
2023-08-31 Version: 1.2.0
|
|
11
|
+
- Generated python 2021-12-16 for nis.
|
|
12
|
+
|
|
13
|
+
2023-08-09 Version: 1.1.0
|
|
14
|
+
- Generated python 2021-12-16 for nis.
|
|
15
|
+
|
|
16
|
+
2023-03-02 Version: 1.0.0
|
|
17
|
+
- Ini V2 SDK .
|
|
18
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud_nis20211216
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
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](
|
|
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
|
|
|
@@ -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](
|
|
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.2'
|
{alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/alibabacloud_nis20211216/client.py
RENAMED
|
@@ -569,6 +569,8 @@ class Client(OpenApiClient):
|
|
|
569
569
|
UtilClient.validate_model(tmp_req)
|
|
570
570
|
request = nis_20211216_models.GetInternetTupleShrinkRequest()
|
|
571
571
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
572
|
+
if not UtilClient.is_unset(tmp_req.cloud_ip_list):
|
|
573
|
+
request.cloud_ip_list_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.cloud_ip_list, 'CloudIpList', 'json')
|
|
572
574
|
if not UtilClient.is_unset(tmp_req.instance_list):
|
|
573
575
|
request.instance_list_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.instance_list, 'InstanceList', 'json')
|
|
574
576
|
query = {}
|
|
@@ -578,6 +580,8 @@ class Client(OpenApiClient):
|
|
|
578
580
|
query['BeginTime'] = request.begin_time
|
|
579
581
|
if not UtilClient.is_unset(request.cloud_ip):
|
|
580
582
|
query['CloudIp'] = request.cloud_ip
|
|
583
|
+
if not UtilClient.is_unset(request.cloud_ip_list_shrink):
|
|
584
|
+
query['CloudIpList'] = request.cloud_ip_list_shrink
|
|
581
585
|
if not UtilClient.is_unset(request.cloud_isp):
|
|
582
586
|
query['CloudIsp'] = request.cloud_isp
|
|
583
587
|
if not UtilClient.is_unset(request.cloud_port):
|
|
@@ -641,6 +645,8 @@ class Client(OpenApiClient):
|
|
|
641
645
|
UtilClient.validate_model(tmp_req)
|
|
642
646
|
request = nis_20211216_models.GetInternetTupleShrinkRequest()
|
|
643
647
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
648
|
+
if not UtilClient.is_unset(tmp_req.cloud_ip_list):
|
|
649
|
+
request.cloud_ip_list_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.cloud_ip_list, 'CloudIpList', 'json')
|
|
644
650
|
if not UtilClient.is_unset(tmp_req.instance_list):
|
|
645
651
|
request.instance_list_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.instance_list, 'InstanceList', 'json')
|
|
646
652
|
query = {}
|
|
@@ -650,6 +656,8 @@ class Client(OpenApiClient):
|
|
|
650
656
|
query['BeginTime'] = request.begin_time
|
|
651
657
|
if not UtilClient.is_unset(request.cloud_ip):
|
|
652
658
|
query['CloudIp'] = request.cloud_ip
|
|
659
|
+
if not UtilClient.is_unset(request.cloud_ip_list_shrink):
|
|
660
|
+
query['CloudIpList'] = request.cloud_ip_list_shrink
|
|
653
661
|
if not UtilClient.is_unset(request.cloud_isp):
|
|
654
662
|
query['CloudIsp'] = request.cloud_isp
|
|
655
663
|
if not UtilClient.is_unset(request.cloud_port):
|
{alibabacloud_nis20211216-2.0.0 → alibabacloud_nis20211216-2.0.2}/alibabacloud_nis20211216/models.py
RENAMED
|
@@ -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
|
|
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
|
|
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
|
-
#
|
|
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
|
|
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
|
|
|
@@ -973,6 +971,7 @@ class GetInternetTupleRequest(TeaModel):
|
|
|
973
971
|
account_ids: List[int] = None,
|
|
974
972
|
begin_time: int = None,
|
|
975
973
|
cloud_ip: str = None,
|
|
974
|
+
cloud_ip_list: List[str] = None,
|
|
976
975
|
cloud_isp: str = None,
|
|
977
976
|
cloud_port: str = None,
|
|
978
977
|
direction: str = None,
|
|
@@ -998,13 +997,15 @@ class GetInternetTupleRequest(TeaModel):
|
|
|
998
997
|
self.begin_time = begin_time
|
|
999
998
|
# The local IP address.
|
|
1000
999
|
self.cloud_ip = cloud_ip
|
|
1000
|
+
# The local IP addresses for filtering.
|
|
1001
|
+
self.cloud_ip_list = cloud_ip_list
|
|
1001
1002
|
# The local Internet service provider (ISP).
|
|
1002
1003
|
#
|
|
1003
|
-
# >
|
|
1004
|
+
# > In most cases, the value is Alibaba or Alibaba Cloud.
|
|
1004
1005
|
self.cloud_isp = cloud_isp
|
|
1005
1006
|
# The local port.
|
|
1006
1007
|
#
|
|
1007
|
-
# > This parameter is required only if you set
|
|
1008
|
+
# > This parameter is required only if you set GroupBy to CloudPort.
|
|
1008
1009
|
self.cloud_port = cloud_port
|
|
1009
1010
|
# The direction of the Internet traffic that you want to query. Valid values:
|
|
1010
1011
|
#
|
|
@@ -1017,15 +1018,35 @@ class GetInternetTupleRequest(TeaModel):
|
|
|
1017
1018
|
self.instance_id = instance_id
|
|
1018
1019
|
# The instance IDs for filtering.
|
|
1019
1020
|
self.instance_list = instance_list
|
|
1020
|
-
# The metric for data ranking. Default value: **ByteCount**. This value
|
|
1021
|
+
# The metric for data ranking. Default value: **ByteCount**. This value indicates that Internet traffic data is ranked by traffic volume.
|
|
1022
|
+
#
|
|
1023
|
+
# Valid values:
|
|
1024
|
+
#
|
|
1025
|
+
# * Rtt
|
|
1026
|
+
# * ByteCount
|
|
1027
|
+
# * PacketCount
|
|
1028
|
+
# * InByteCount
|
|
1029
|
+
# * OutByteCount
|
|
1030
|
+
# * InPacketCount
|
|
1031
|
+
# * OutPacketCount
|
|
1032
|
+
# * InRetranCount
|
|
1033
|
+
# * OutRetranCount
|
|
1034
|
+
# * InDupAckCount
|
|
1035
|
+
# * OutDupAckCount
|
|
1036
|
+
# * InOutOrderCount
|
|
1037
|
+
# * OutOutOrderCount
|
|
1038
|
+
# * RetranCount
|
|
1039
|
+
# * OutOrderCount
|
|
1040
|
+
# * DupAckCount
|
|
1041
|
+
# * RetransmitRate
|
|
1021
1042
|
self.order_by = order_by
|
|
1022
1043
|
# The remote city.
|
|
1023
1044
|
#
|
|
1024
|
-
# >
|
|
1045
|
+
# > This parameter is required only if you set **TupleType** to **2** or **5**.
|
|
1025
1046
|
self.other_city = other_city
|
|
1026
1047
|
# The remote country.
|
|
1027
1048
|
#
|
|
1028
|
-
# >
|
|
1049
|
+
# > This parameter is required only if you set **TupleType** to **2** or **5**.
|
|
1029
1050
|
self.other_country = other_country
|
|
1030
1051
|
# The remote IP address.
|
|
1031
1052
|
#
|
|
@@ -1050,7 +1071,7 @@ class GetInternetTupleRequest(TeaModel):
|
|
|
1050
1071
|
# * **desc**: the descending order
|
|
1051
1072
|
# * **asc**: the ascending order
|
|
1052
1073
|
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.
|
|
1074
|
+
# 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
1075
|
self.top_n = top_n
|
|
1055
1076
|
# The type of the tuple. Valid values:
|
|
1056
1077
|
#
|
|
@@ -1060,7 +1081,7 @@ class GetInternetTupleRequest(TeaModel):
|
|
|
1060
1081
|
self.tuple_type = tuple_type
|
|
1061
1082
|
# Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
|
|
1062
1083
|
#
|
|
1063
|
-
# > By default, the multi-account management feature is not available. If you want to use this feature, contact your
|
|
1084
|
+
# > 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
1085
|
self.use_multi_account = use_multi_account
|
|
1065
1086
|
|
|
1066
1087
|
def validate(self):
|
|
@@ -1078,6 +1099,8 @@ class GetInternetTupleRequest(TeaModel):
|
|
|
1078
1099
|
result['BeginTime'] = self.begin_time
|
|
1079
1100
|
if self.cloud_ip is not None:
|
|
1080
1101
|
result['CloudIp'] = self.cloud_ip
|
|
1102
|
+
if self.cloud_ip_list is not None:
|
|
1103
|
+
result['CloudIpList'] = self.cloud_ip_list
|
|
1081
1104
|
if self.cloud_isp is not None:
|
|
1082
1105
|
result['CloudIsp'] = self.cloud_isp
|
|
1083
1106
|
if self.cloud_port is not None:
|
|
@@ -1124,6 +1147,8 @@ class GetInternetTupleRequest(TeaModel):
|
|
|
1124
1147
|
self.begin_time = m.get('BeginTime')
|
|
1125
1148
|
if m.get('CloudIp') is not None:
|
|
1126
1149
|
self.cloud_ip = m.get('CloudIp')
|
|
1150
|
+
if m.get('CloudIpList') is not None:
|
|
1151
|
+
self.cloud_ip_list = m.get('CloudIpList')
|
|
1127
1152
|
if m.get('CloudIsp') is not None:
|
|
1128
1153
|
self.cloud_isp = m.get('CloudIsp')
|
|
1129
1154
|
if m.get('CloudPort') is not None:
|
|
@@ -1169,6 +1194,7 @@ class GetInternetTupleShrinkRequest(TeaModel):
|
|
|
1169
1194
|
account_ids: List[int] = None,
|
|
1170
1195
|
begin_time: int = None,
|
|
1171
1196
|
cloud_ip: str = None,
|
|
1197
|
+
cloud_ip_list_shrink: str = None,
|
|
1172
1198
|
cloud_isp: str = None,
|
|
1173
1199
|
cloud_port: str = None,
|
|
1174
1200
|
direction: str = None,
|
|
@@ -1194,13 +1220,15 @@ class GetInternetTupleShrinkRequest(TeaModel):
|
|
|
1194
1220
|
self.begin_time = begin_time
|
|
1195
1221
|
# The local IP address.
|
|
1196
1222
|
self.cloud_ip = cloud_ip
|
|
1223
|
+
# The local IP addresses for filtering.
|
|
1224
|
+
self.cloud_ip_list_shrink = cloud_ip_list_shrink
|
|
1197
1225
|
# The local Internet service provider (ISP).
|
|
1198
1226
|
#
|
|
1199
|
-
# >
|
|
1227
|
+
# > In most cases, the value is Alibaba or Alibaba Cloud.
|
|
1200
1228
|
self.cloud_isp = cloud_isp
|
|
1201
1229
|
# The local port.
|
|
1202
1230
|
#
|
|
1203
|
-
# > This parameter is required only if you set
|
|
1231
|
+
# > This parameter is required only if you set GroupBy to CloudPort.
|
|
1204
1232
|
self.cloud_port = cloud_port
|
|
1205
1233
|
# The direction of the Internet traffic that you want to query. Valid values:
|
|
1206
1234
|
#
|
|
@@ -1213,15 +1241,35 @@ class GetInternetTupleShrinkRequest(TeaModel):
|
|
|
1213
1241
|
self.instance_id = instance_id
|
|
1214
1242
|
# The instance IDs for filtering.
|
|
1215
1243
|
self.instance_list_shrink = instance_list_shrink
|
|
1216
|
-
# The metric for data ranking. Default value: **ByteCount**. This value
|
|
1244
|
+
# The metric for data ranking. Default value: **ByteCount**. This value indicates that Internet traffic data is ranked by traffic volume.
|
|
1245
|
+
#
|
|
1246
|
+
# Valid values:
|
|
1247
|
+
#
|
|
1248
|
+
# * Rtt
|
|
1249
|
+
# * ByteCount
|
|
1250
|
+
# * PacketCount
|
|
1251
|
+
# * InByteCount
|
|
1252
|
+
# * OutByteCount
|
|
1253
|
+
# * InPacketCount
|
|
1254
|
+
# * OutPacketCount
|
|
1255
|
+
# * InRetranCount
|
|
1256
|
+
# * OutRetranCount
|
|
1257
|
+
# * InDupAckCount
|
|
1258
|
+
# * OutDupAckCount
|
|
1259
|
+
# * InOutOrderCount
|
|
1260
|
+
# * OutOutOrderCount
|
|
1261
|
+
# * RetranCount
|
|
1262
|
+
# * OutOrderCount
|
|
1263
|
+
# * DupAckCount
|
|
1264
|
+
# * RetransmitRate
|
|
1217
1265
|
self.order_by = order_by
|
|
1218
1266
|
# The remote city.
|
|
1219
1267
|
#
|
|
1220
|
-
# >
|
|
1268
|
+
# > This parameter is required only if you set **TupleType** to **2** or **5**.
|
|
1221
1269
|
self.other_city = other_city
|
|
1222
1270
|
# The remote country.
|
|
1223
1271
|
#
|
|
1224
|
-
# >
|
|
1272
|
+
# > This parameter is required only if you set **TupleType** to **2** or **5**.
|
|
1225
1273
|
self.other_country = other_country
|
|
1226
1274
|
# The remote IP address.
|
|
1227
1275
|
#
|
|
@@ -1246,7 +1294,7 @@ class GetInternetTupleShrinkRequest(TeaModel):
|
|
|
1246
1294
|
# * **desc**: the descending order
|
|
1247
1295
|
# * **asc**: the ascending order
|
|
1248
1296
|
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.
|
|
1297
|
+
# 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
1298
|
self.top_n = top_n
|
|
1251
1299
|
# The type of the tuple. Valid values:
|
|
1252
1300
|
#
|
|
@@ -1256,7 +1304,7 @@ class GetInternetTupleShrinkRequest(TeaModel):
|
|
|
1256
1304
|
self.tuple_type = tuple_type
|
|
1257
1305
|
# Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.
|
|
1258
1306
|
#
|
|
1259
|
-
# > By default, the multi-account management feature is not available. If you want to use this feature, contact your
|
|
1307
|
+
# > 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
1308
|
self.use_multi_account = use_multi_account
|
|
1261
1309
|
|
|
1262
1310
|
def validate(self):
|
|
@@ -1274,6 +1322,8 @@ class GetInternetTupleShrinkRequest(TeaModel):
|
|
|
1274
1322
|
result['BeginTime'] = self.begin_time
|
|
1275
1323
|
if self.cloud_ip is not None:
|
|
1276
1324
|
result['CloudIp'] = self.cloud_ip
|
|
1325
|
+
if self.cloud_ip_list_shrink is not None:
|
|
1326
|
+
result['CloudIpList'] = self.cloud_ip_list_shrink
|
|
1277
1327
|
if self.cloud_isp is not None:
|
|
1278
1328
|
result['CloudIsp'] = self.cloud_isp
|
|
1279
1329
|
if self.cloud_port is not None:
|
|
@@ -1320,6 +1370,8 @@ class GetInternetTupleShrinkRequest(TeaModel):
|
|
|
1320
1370
|
self.begin_time = m.get('BeginTime')
|
|
1321
1371
|
if m.get('CloudIp') is not None:
|
|
1322
1372
|
self.cloud_ip = m.get('CloudIp')
|
|
1373
|
+
if m.get('CloudIpList') is not None:
|
|
1374
|
+
self.cloud_ip_list_shrink = m.get('CloudIpList')
|
|
1323
1375
|
if m.get('CloudIsp') is not None:
|
|
1324
1376
|
self.cloud_isp = m.get('CloudIsp')
|
|
1325
1377
|
if m.get('CloudPort') is not None:
|
|
@@ -1397,7 +1449,7 @@ class GetInternetTupleResponseBodyData(TeaModel):
|
|
|
1397
1449
|
):
|
|
1398
1450
|
# The access point of Alibaba Cloud.
|
|
1399
1451
|
#
|
|
1400
|
-
# >
|
|
1452
|
+
# > This parameter is valid only if you set **InstanceId** to the instance ID of an Anycast elastic IP address (EIP).
|
|
1401
1453
|
self.access_region = access_region
|
|
1402
1454
|
# 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
1455
|
self.begin_time = begin_time
|
|
@@ -1413,16 +1465,16 @@ class GetInternetTupleResponseBodyData(TeaModel):
|
|
|
1413
1465
|
self.cloud_isp = cloud_isp
|
|
1414
1466
|
# The local port.
|
|
1415
1467
|
self.cloud_port = cloud_port
|
|
1416
|
-
# The
|
|
1468
|
+
# The service code of the instance to which the local IP address belongs.
|
|
1417
1469
|
self.cloud_product = cloud_product
|
|
1418
1470
|
# The local province.
|
|
1419
1471
|
self.cloud_province = cloud_province
|
|
1420
|
-
# The direction of
|
|
1472
|
+
# The direction of Internet traffic. Valid values:
|
|
1421
1473
|
#
|
|
1422
|
-
#
|
|
1423
|
-
#
|
|
1474
|
+
# * **in**: inbound
|
|
1475
|
+
# * **out**: outbound
|
|
1424
1476
|
self.direction = direction
|
|
1425
|
-
# The inbound traffic volume.
|
|
1477
|
+
# The inbound traffic volume. Unit: bytes.
|
|
1426
1478
|
self.in_byte_count = in_byte_count
|
|
1427
1479
|
# The number of inbound disordered packets.
|
|
1428
1480
|
self.in_out_order_count = in_out_order_count
|
|
@@ -1430,9 +1482,9 @@ class GetInternetTupleResponseBodyData(TeaModel):
|
|
|
1430
1482
|
self.in_packet_count = in_packet_count
|
|
1431
1483
|
# The number of inbound repeated packets.
|
|
1432
1484
|
self.in_retran_count = in_retran_count
|
|
1433
|
-
# The instance
|
|
1485
|
+
# The ID of the instance to which the local IP address belongs.
|
|
1434
1486
|
self.instance_id = instance_id
|
|
1435
|
-
# The remote city.
|
|
1487
|
+
# The remote city. In most cases, this parameter is empty if you set **OtherCountry** to a country except China.
|
|
1436
1488
|
self.other_city = other_city
|
|
1437
1489
|
# The remote country or region.
|
|
1438
1490
|
self.other_country = other_country
|
|
@@ -1442,11 +1494,11 @@ class GetInternetTupleResponseBodyData(TeaModel):
|
|
|
1442
1494
|
self.other_isp = other_isp
|
|
1443
1495
|
# The remote port.
|
|
1444
1496
|
self.other_port = other_port
|
|
1445
|
-
# The
|
|
1497
|
+
# 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
1498
|
self.other_product = other_product
|
|
1447
|
-
# The remote province.
|
|
1499
|
+
# The remote province. In most cases, this parameter is empty if you set **OtherCountry** to a country except China.
|
|
1448
1500
|
self.other_province = other_province
|
|
1449
|
-
# The outbound traffic volume.
|
|
1501
|
+
# The outbound traffic volume. Unit: bytes.
|
|
1450
1502
|
self.out_byte_count = out_byte_count
|
|
1451
1503
|
# The number of disordered packets.
|
|
1452
1504
|
self.out_order_count = out_order_count
|
|
@@ -1460,8 +1512,9 @@ class GetInternetTupleResponseBodyData(TeaModel):
|
|
|
1460
1512
|
self.packet_count = packet_count
|
|
1461
1513
|
# The protocol number.
|
|
1462
1514
|
self.protocol = protocol
|
|
1515
|
+
# The retransmission rate of TCP packets.
|
|
1463
1516
|
self.retransmit_rate = retransmit_rate
|
|
1464
|
-
# The round-trip time (RTT).
|
|
1517
|
+
# The round-trip time (RTT). Unit: milliseconds.
|
|
1465
1518
|
self.rtt = rtt
|
|
1466
1519
|
|
|
1467
1520
|
def validate(self):
|
|
@@ -1614,7 +1667,7 @@ class GetInternetTupleResponseBody(TeaModel):
|
|
|
1614
1667
|
data: List[GetInternetTupleResponseBodyData] = None,
|
|
1615
1668
|
request_id: str = None,
|
|
1616
1669
|
):
|
|
1617
|
-
# The ranking result of
|
|
1670
|
+
# The ranking result of Internet traffic data.
|
|
1618
1671
|
self.data = data
|
|
1619
1672
|
# The request ID.
|
|
1620
1673
|
self.request_id = request_id
|
|
@@ -1663,9 +1716,6 @@ class GetInternetTupleResponse(TeaModel):
|
|
|
1663
1716
|
self.body = body
|
|
1664
1717
|
|
|
1665
1718
|
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
1719
|
if self.body:
|
|
1670
1720
|
self.body.validate()
|
|
1671
1721
|
|
|
@@ -1921,9 +1971,6 @@ class GetNatTopNResponse(TeaModel):
|
|
|
1921
1971
|
self.body = body
|
|
1922
1972
|
|
|
1923
1973
|
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
1974
|
if self.body:
|
|
1928
1975
|
self.body.validate()
|
|
1929
1976
|
|
|
@@ -2092,9 +2139,6 @@ class GetNetworkReachableAnalysisResponse(TeaModel):
|
|
|
2092
2139
|
self.body = body
|
|
2093
2140
|
|
|
2094
2141
|
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
2142
|
if self.body:
|
|
2099
2143
|
self.body.validate()
|
|
2100
2144
|
|
|
@@ -2146,7 +2190,7 @@ class GetTransitRouterFlowTopNRequest(TeaModel):
|
|
|
2146
2190
|
top_n: int = None,
|
|
2147
2191
|
use_multi_account: bool = None,
|
|
2148
2192
|
):
|
|
2149
|
-
# The IDs of member accounts.
|
|
2193
|
+
# The IDs of the member accounts.
|
|
2150
2194
|
self.account_ids = account_ids
|
|
2151
2195
|
# The ID of the CEN bandwidth plan.
|
|
2152
2196
|
self.bandwith_package_id = bandwith_package_id
|
|
@@ -2156,20 +2200,20 @@ class GetTransitRouterFlowTopNRequest(TeaModel):
|
|
|
2156
2200
|
self.cen_id = cen_id
|
|
2157
2201
|
# The direction of the inter-region traffic in the local regions or for the local IP addresses. Valid values:
|
|
2158
2202
|
#
|
|
2159
|
-
# * in
|
|
2160
|
-
# * out
|
|
2203
|
+
# * **in**: inbound traffic
|
|
2204
|
+
# * **out**: outbound traffic
|
|
2161
2205
|
self.direction = direction
|
|
2162
2206
|
# 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
2207
|
self.end_time = end_time
|
|
2164
2208
|
# The dimension for ranking inter-region traffic data. The value of this parameter is case-sensitive. Valid values:
|
|
2165
2209
|
#
|
|
2166
|
-
# * 1Tuple
|
|
2167
|
-
# * 2Tuple
|
|
2168
|
-
# * 5Tuple
|
|
2169
|
-
# * Cen
|
|
2170
|
-
# * RegionPair
|
|
2171
|
-
# * Port
|
|
2172
|
-
# * Protocol
|
|
2210
|
+
# * **1Tuple**: queries the rankings of inter-region traffic data for the local regions, Cloud Enterprise Network (CEN) instances, and IP addresses.
|
|
2211
|
+
# * **2Tuple**: queries the rankings of inter-region traffic data for the local and remote regions, and the local and remote IP addresses.
|
|
2212
|
+
# * **5Tuple**: queries the rankings of inter-region traffic data for the local and remote IP addresses, local and remote ports, and protocols.
|
|
2213
|
+
# * **Cen**: queries the rankings of inter-region traffic data for CEN instances.
|
|
2214
|
+
# * **RegionPair**: queries the rankings of inter-region traffic data for the local and remote regions.
|
|
2215
|
+
# * **Port**: queries the rankings of inter-region traffic data for the local and remote ports.
|
|
2216
|
+
# * **Protocol**: queries the rankings of inter-region traffic data for the protocols.
|
|
2173
2217
|
self.group_by = group_by
|
|
2174
2218
|
# 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
2219
|
self.order_by = order_by
|
|
@@ -2181,12 +2225,12 @@ class GetTransitRouterFlowTopNRequest(TeaModel):
|
|
|
2181
2225
|
self.other_region = other_region
|
|
2182
2226
|
# The protocol number.
|
|
2183
2227
|
#
|
|
2184
|
-
# > All protocols are supported. This parameter is required only if you set GroupBy to 5Tuple or Protocol
|
|
2228
|
+
# > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
|
|
2185
2229
|
self.protocol = protocol
|
|
2186
2230
|
# The order for ranking inter-region traffic data. Valid values:
|
|
2187
2231
|
#
|
|
2188
|
-
# * desc
|
|
2189
|
-
# * asc
|
|
2232
|
+
# * **desc**: descending order
|
|
2233
|
+
# * **asc**: ascending order
|
|
2190
2234
|
self.sort = sort
|
|
2191
2235
|
# The local IP address.
|
|
2192
2236
|
self.this_ip = this_ip
|
|
@@ -2311,7 +2355,7 @@ class GetTransitRouterFlowTopNShrinkRequest(TeaModel):
|
|
|
2311
2355
|
top_n: int = None,
|
|
2312
2356
|
use_multi_account: bool = None,
|
|
2313
2357
|
):
|
|
2314
|
-
# The IDs of member accounts.
|
|
2358
|
+
# The IDs of the member accounts.
|
|
2315
2359
|
self.account_ids_shrink = account_ids_shrink
|
|
2316
2360
|
# The ID of the CEN bandwidth plan.
|
|
2317
2361
|
self.bandwith_package_id = bandwith_package_id
|
|
@@ -2321,20 +2365,20 @@ class GetTransitRouterFlowTopNShrinkRequest(TeaModel):
|
|
|
2321
2365
|
self.cen_id = cen_id
|
|
2322
2366
|
# The direction of the inter-region traffic in the local regions or for the local IP addresses. Valid values:
|
|
2323
2367
|
#
|
|
2324
|
-
# * in
|
|
2325
|
-
# * out
|
|
2368
|
+
# * **in**: inbound traffic
|
|
2369
|
+
# * **out**: outbound traffic
|
|
2326
2370
|
self.direction = direction
|
|
2327
2371
|
# 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
2372
|
self.end_time = end_time
|
|
2329
2373
|
# The dimension for ranking inter-region traffic data. The value of this parameter is case-sensitive. Valid values:
|
|
2330
2374
|
#
|
|
2331
|
-
# * 1Tuple
|
|
2332
|
-
# * 2Tuple
|
|
2333
|
-
# * 5Tuple
|
|
2334
|
-
# * Cen
|
|
2335
|
-
# * RegionPair
|
|
2336
|
-
# * Port
|
|
2337
|
-
# * Protocol
|
|
2375
|
+
# * **1Tuple**: queries the rankings of inter-region traffic data for the local regions, Cloud Enterprise Network (CEN) instances, and IP addresses.
|
|
2376
|
+
# * **2Tuple**: queries the rankings of inter-region traffic data for the local and remote regions, and the local and remote IP addresses.
|
|
2377
|
+
# * **5Tuple**: queries the rankings of inter-region traffic data for the local and remote IP addresses, local and remote ports, and protocols.
|
|
2378
|
+
# * **Cen**: queries the rankings of inter-region traffic data for CEN instances.
|
|
2379
|
+
# * **RegionPair**: queries the rankings of inter-region traffic data for the local and remote regions.
|
|
2380
|
+
# * **Port**: queries the rankings of inter-region traffic data for the local and remote ports.
|
|
2381
|
+
# * **Protocol**: queries the rankings of inter-region traffic data for the protocols.
|
|
2338
2382
|
self.group_by = group_by
|
|
2339
2383
|
# 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
2384
|
self.order_by = order_by
|
|
@@ -2346,12 +2390,12 @@ class GetTransitRouterFlowTopNShrinkRequest(TeaModel):
|
|
|
2346
2390
|
self.other_region = other_region
|
|
2347
2391
|
# The protocol number.
|
|
2348
2392
|
#
|
|
2349
|
-
# > All protocols are supported. This parameter is required only if you set GroupBy to 5Tuple or Protocol
|
|
2393
|
+
# > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
|
|
2350
2394
|
self.protocol = protocol
|
|
2351
2395
|
# The order for ranking inter-region traffic data. Valid values:
|
|
2352
2396
|
#
|
|
2353
|
-
# * desc
|
|
2354
|
-
# * asc
|
|
2397
|
+
# * **desc**: descending order
|
|
2398
|
+
# * **asc**: ascending order
|
|
2355
2399
|
self.sort = sort
|
|
2356
2400
|
# The local IP address.
|
|
2357
2401
|
self.this_ip = this_ip
|
|
@@ -2486,7 +2530,7 @@ class GetTransitRouterFlowTopNResponseBodyTransitRouterFlowTopN(TeaModel):
|
|
|
2486
2530
|
self.other_ip = other_ip
|
|
2487
2531
|
# The remote port.
|
|
2488
2532
|
self.other_port = other_port
|
|
2489
|
-
# The remote region where the remote IP address resides.
|
|
2533
|
+
# The remote region where the **remote IP address** resides.
|
|
2490
2534
|
self.other_region = other_region
|
|
2491
2535
|
# The total number of packets in the specified time range.
|
|
2492
2536
|
self.packets = packets
|
|
@@ -2498,7 +2542,7 @@ class GetTransitRouterFlowTopNResponseBodyTransitRouterFlowTopN(TeaModel):
|
|
|
2498
2542
|
self.this_ip = this_ip
|
|
2499
2543
|
# The local port.
|
|
2500
2544
|
self.this_port = this_port
|
|
2501
|
-
# The local region where the local IP address resides.
|
|
2545
|
+
# The local region where the **local IP address** resides.
|
|
2502
2546
|
self.this_region = this_region
|
|
2503
2547
|
|
|
2504
2548
|
def validate(self):
|
|
@@ -2628,9 +2672,6 @@ class GetTransitRouterFlowTopNResponse(TeaModel):
|
|
|
2628
2672
|
self.body = body
|
|
2629
2673
|
|
|
2630
2674
|
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
2675
|
if self.body:
|
|
2635
2676
|
self.body.validate()
|
|
2636
2677
|
|
|
@@ -2694,23 +2735,23 @@ class GetVbrFlowTopNRequest(TeaModel):
|
|
|
2694
2735
|
self.cloud_ip = cloud_ip
|
|
2695
2736
|
# The local port.
|
|
2696
2737
|
#
|
|
2697
|
-
# > This parameter is required only if you set GroupBy to CloudPort
|
|
2738
|
+
# > This parameter is required only if you set **GroupBy** to **CloudPort**.
|
|
2698
2739
|
self.cloud_port = cloud_port
|
|
2699
2740
|
# The direction of the hybrid cloud traffic in the local regions or for the local IP addresses. Valid values:
|
|
2700
2741
|
#
|
|
2701
|
-
# * in
|
|
2702
|
-
# * out
|
|
2742
|
+
# * **in**: traffic from a data center to Alibaba Cloud
|
|
2743
|
+
# * **out**: traffic from Alibaba Cloud to a data center
|
|
2703
2744
|
self.direction = direction
|
|
2704
2745
|
# 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
2746
|
self.end_time = end_time
|
|
2706
2747
|
# The dimension for ranking hybrid cloud traffic data. The value of this parameter is case-sensitive. Valid values:
|
|
2707
2748
|
#
|
|
2708
|
-
# * 1Tuple
|
|
2709
|
-
# * 2Tuple
|
|
2710
|
-
# * 5Tuple
|
|
2711
|
-
# * CloudPort
|
|
2712
|
-
# * OtherPort
|
|
2713
|
-
# * Protocol
|
|
2749
|
+
# * **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.
|
|
2750
|
+
# * **2Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses.
|
|
2751
|
+
# * **5Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses, local and remote ports, and protocols.
|
|
2752
|
+
# * **CloudPort**: queries the rankings of hybrid cloud traffic data for the local ports.
|
|
2753
|
+
# * **OtherPort**: queries the rankings of hybrid cloud traffic data for the remote ports.
|
|
2754
|
+
# * **Protocol**: queries the rankings of hybrid cloud traffic data for the protocols.
|
|
2714
2755
|
self.group_by = group_by
|
|
2715
2756
|
# 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
2757
|
self.order_by = order_by
|
|
@@ -2718,18 +2759,18 @@ class GetVbrFlowTopNRequest(TeaModel):
|
|
|
2718
2759
|
self.other_ip = other_ip
|
|
2719
2760
|
# The remote port.
|
|
2720
2761
|
#
|
|
2721
|
-
# > This parameter is required only if you set GroupBy to OtherPort
|
|
2762
|
+
# > This parameter is required only if you set **GroupBy** to **OtherPort**.
|
|
2722
2763
|
self.other_port = other_port
|
|
2723
2764
|
# The protocol number.
|
|
2724
2765
|
#
|
|
2725
|
-
# > All protocols are supported. This parameter is required only if you set GroupBy to 5Tuple or Protocol
|
|
2766
|
+
# > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
|
|
2726
2767
|
self.protocol = protocol
|
|
2727
2768
|
# The local region.
|
|
2728
2769
|
self.region_id = region_id
|
|
2729
2770
|
# The order for ranking hybrid cloud traffic data. Valid values:
|
|
2730
2771
|
#
|
|
2731
|
-
# * desc
|
|
2732
|
-
# * asc
|
|
2772
|
+
# * **desc**: descending order
|
|
2773
|
+
# * **asc**: ascending order
|
|
2733
2774
|
self.sort = sort
|
|
2734
2775
|
# 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
2776
|
self.top_n = top_n
|
|
@@ -2862,23 +2903,23 @@ class GetVbrFlowTopNShrinkRequest(TeaModel):
|
|
|
2862
2903
|
self.cloud_ip = cloud_ip
|
|
2863
2904
|
# The local port.
|
|
2864
2905
|
#
|
|
2865
|
-
# > This parameter is required only if you set GroupBy to CloudPort
|
|
2906
|
+
# > This parameter is required only if you set **GroupBy** to **CloudPort**.
|
|
2866
2907
|
self.cloud_port = cloud_port
|
|
2867
2908
|
# The direction of the hybrid cloud traffic in the local regions or for the local IP addresses. Valid values:
|
|
2868
2909
|
#
|
|
2869
|
-
# * in
|
|
2870
|
-
# * out
|
|
2910
|
+
# * **in**: traffic from a data center to Alibaba Cloud
|
|
2911
|
+
# * **out**: traffic from Alibaba Cloud to a data center
|
|
2871
2912
|
self.direction = direction
|
|
2872
2913
|
# 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
2914
|
self.end_time = end_time
|
|
2874
2915
|
# The dimension for ranking hybrid cloud traffic data. The value of this parameter is case-sensitive. Valid values:
|
|
2875
2916
|
#
|
|
2876
|
-
# * 1Tuple
|
|
2877
|
-
# * 2Tuple
|
|
2878
|
-
# * 5Tuple
|
|
2879
|
-
# * CloudPort
|
|
2880
|
-
# * OtherPort
|
|
2881
|
-
# * Protocol
|
|
2917
|
+
# * **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.
|
|
2918
|
+
# * **2Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses.
|
|
2919
|
+
# * **5Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses, local and remote ports, and protocols.
|
|
2920
|
+
# * **CloudPort**: queries the rankings of hybrid cloud traffic data for the local ports.
|
|
2921
|
+
# * **OtherPort**: queries the rankings of hybrid cloud traffic data for the remote ports.
|
|
2922
|
+
# * **Protocol**: queries the rankings of hybrid cloud traffic data for the protocols.
|
|
2882
2923
|
self.group_by = group_by
|
|
2883
2924
|
# 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
2925
|
self.order_by = order_by
|
|
@@ -2886,18 +2927,18 @@ class GetVbrFlowTopNShrinkRequest(TeaModel):
|
|
|
2886
2927
|
self.other_ip = other_ip
|
|
2887
2928
|
# The remote port.
|
|
2888
2929
|
#
|
|
2889
|
-
# > This parameter is required only if you set GroupBy to OtherPort
|
|
2930
|
+
# > This parameter is required only if you set **GroupBy** to **OtherPort**.
|
|
2890
2931
|
self.other_port = other_port
|
|
2891
2932
|
# The protocol number.
|
|
2892
2933
|
#
|
|
2893
|
-
# > All protocols are supported. This parameter is required only if you set GroupBy to 5Tuple or Protocol
|
|
2934
|
+
# > All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.
|
|
2894
2935
|
self.protocol = protocol
|
|
2895
2936
|
# The local region.
|
|
2896
2937
|
self.region_id = region_id
|
|
2897
2938
|
# The order for ranking hybrid cloud traffic data. Valid values:
|
|
2898
2939
|
#
|
|
2899
|
-
# * desc
|
|
2900
|
-
# * asc
|
|
2940
|
+
# * **desc**: descending order
|
|
2941
|
+
# * **asc**: ascending order
|
|
2901
2942
|
self.sort = sort
|
|
2902
2943
|
# 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
2944
|
self.top_n = top_n
|
|
@@ -3149,9 +3190,6 @@ class GetVbrFlowTopNResponse(TeaModel):
|
|
|
3149
3190
|
self.body = body
|
|
3150
3191
|
|
|
3151
3192
|
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
3193
|
if self.body:
|
|
3156
3194
|
self.body.validate()
|
|
3157
3195
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-nis20211216
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
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](
|
|
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 +0,0 @@
|
|
|
1
|
-
__version__ = '2.0.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|