tencentcloud-sdk-python-vpc 3.0.1302__tar.gz → 3.0.1306__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 (19) hide show
  1. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/setup.py +1 -1
  3. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/tencentcloud/__init__.py +1 -1
  4. tencentcloud-sdk-python-vpc-3.0.1306/tencentcloud/vpc/v20170312/errorcodes.py +36 -0
  5. tencentcloud-sdk-python-vpc-3.0.1306/tencentcloud/vpc/v20170312/models.py +127 -0
  6. tencentcloud-sdk-python-vpc-3.0.1306/tencentcloud/vpc/v20170312/vpc_client.py +49 -0
  7. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-vpc-3.0.1306/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-vpc-3.0.1302/tencentcloud/vpc/v20170312/errorcodes.py +0 -1269
  10. tencentcloud-sdk-python-vpc-3.0.1302/tencentcloud/vpc/v20170312/models.py +0 -65998
  11. tencentcloud-sdk-python-vpc-3.0.1302/tencentcloud/vpc/v20170312/vpc_client.py +0 -9270
  12. tencentcloud-sdk-python-vpc-3.0.1302/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  13. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/README.rst +0 -0
  14. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/setup.cfg +0 -0
  15. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/tencentcloud/vpc/__init__.py +0 -0
  16. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  17. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
  18. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-vpc-3.0.1302 → tencentcloud-sdk-python-vpc-3.0.1306}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1302
3
+ Version: 3.0.1306
4
4
  Summary: Tencent Cloud Vpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-vpc',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1302"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1306"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Vpc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1302'
17
+ __version__ = '3.0.1306'
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+ # 调用VPCOSS失败
18
+ FAILEDOPERATION_CALLVPCOSSFAILED = 'FailedOperation.CallVpcOssFailed'
19
+
20
+ # 指定过滤条件不存在。
21
+ INVALIDPARAMETER_FILTERINVALIDKEY = 'InvalidParameter.FilterInvalidKey'
22
+
23
+ # 指定过滤选项值不是列表。
24
+ INVALIDPARAMETER_FILTERVALUESNOTLIST = 'InvalidParameter.FilterValuesNotList'
25
+
26
+ # 参数值超出限制。
27
+ INVALIDPARAMETERVALUE_LIMITEXCEEDED = 'InvalidParameterValue.LimitExceeded'
28
+
29
+ # 入参格式不合法。
30
+ INVALIDPARAMETERVALUE_MALFORMED = 'InvalidParameterValue.Malformed'
31
+
32
+ # 参数值不在指定范围。
33
+ INVALIDPARAMETERVALUE_RANGE = 'InvalidParameterValue.Range'
34
+
35
+ # 资源不存在。
36
+ RESOURCENOTFOUND = 'ResourceNotFound'
@@ -0,0 +1,127 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import warnings
17
+
18
+ from tencentcloud.common.abstract_model import AbstractModel
19
+
20
+
21
+ class DescribeNatsEipsInternalRequest(AbstractModel):
22
+ """DescribeNatsEipsInternal请求参数结构体
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _Limit: limit
29
+ :type Limit: int
30
+ :param _Offset: offset
31
+ :type Offset: int
32
+ """
33
+ self._Limit = None
34
+ self._Offset = None
35
+
36
+ @property
37
+ def Limit(self):
38
+ """limit
39
+ :rtype: int
40
+ """
41
+ return self._Limit
42
+
43
+ @Limit.setter
44
+ def Limit(self, Limit):
45
+ self._Limit = Limit
46
+
47
+ @property
48
+ def Offset(self):
49
+ """offset
50
+ :rtype: int
51
+ """
52
+ return self._Offset
53
+
54
+ @Offset.setter
55
+ def Offset(self, Offset):
56
+ self._Offset = Offset
57
+
58
+
59
+ def _deserialize(self, params):
60
+ self._Limit = params.get("Limit")
61
+ self._Offset = params.get("Offset")
62
+ memeber_set = set(params.keys())
63
+ for name, value in vars(self).items():
64
+ property_name = name[1:]
65
+ if property_name in memeber_set:
66
+ memeber_set.remove(property_name)
67
+ if len(memeber_set) > 0:
68
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
69
+
70
+
71
+
72
+ class DescribeNatsEipsInternalResponse(AbstractModel):
73
+ """DescribeNatsEipsInternal返回参数结构体
74
+
75
+ """
76
+
77
+ def __init__(self):
78
+ r"""
79
+ :param _EipSet: eip Ip列表
80
+ :type EipSet: list of str
81
+ :param _TotalCount: eip ip列表总数
82
+ :type TotalCount: int
83
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
84
+ :type RequestId: str
85
+ """
86
+ self._EipSet = None
87
+ self._TotalCount = None
88
+ self._RequestId = None
89
+
90
+ @property
91
+ def EipSet(self):
92
+ """eip Ip列表
93
+ :rtype: list of str
94
+ """
95
+ return self._EipSet
96
+
97
+ @EipSet.setter
98
+ def EipSet(self, EipSet):
99
+ self._EipSet = EipSet
100
+
101
+ @property
102
+ def TotalCount(self):
103
+ """eip ip列表总数
104
+ :rtype: int
105
+ """
106
+ return self._TotalCount
107
+
108
+ @TotalCount.setter
109
+ def TotalCount(self, TotalCount):
110
+ self._TotalCount = TotalCount
111
+
112
+ @property
113
+ def RequestId(self):
114
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
115
+ :rtype: str
116
+ """
117
+ return self._RequestId
118
+
119
+ @RequestId.setter
120
+ def RequestId(self, RequestId):
121
+ self._RequestId = RequestId
122
+
123
+
124
+ def _deserialize(self, params):
125
+ self._EipSet = params.get("EipSet")
126
+ self._TotalCount = params.get("TotalCount")
127
+ self._RequestId = params.get("RequestId")
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.vpc.v20170312 import models
21
+
22
+
23
+ class VpcClient(AbstractClient):
24
+ _apiVersion = '2017-03-12'
25
+ _endpoint = 'vpc.tencentcloudapi.com'
26
+ _service = 'vpc'
27
+
28
+
29
+ def DescribeNatsEipsInternal(self, request):
30
+ """内部用户查询所有NAT网关的EIP IP列表信息
31
+
32
+ :param request: Request instance for DescribeNatsEipsInternal.
33
+ :type request: :class:`tencentcloud.vpc.v20170312.models.DescribeNatsEipsInternalRequest`
34
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.DescribeNatsEipsInternalResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("DescribeNatsEipsInternal", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.DescribeNatsEipsInternalResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1302
3
+ Version: 3.0.1306
4
4
  Summary: Tencent Cloud Vpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1306