tencentcloud-sdk-python-dc 3.0.1283__tar.gz → 3.0.1293__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 (16) hide show
  1. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/setup.py +1 -1
  3. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud/dc/v20180410/models.py +114 -18
  5. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud_sdk_python_dc.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-dc-3.0.1293/tencentcloud_sdk_python_dc.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-dc-3.0.1283/tencentcloud_sdk_python_dc.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/README.rst +0 -0
  9. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud/dc/__init__.py +0 -0
  11. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud/dc/v20180410/__init__.py +0 -0
  12. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud/dc/v20180410/dc_client.py +0 -0
  13. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud/dc/v20180410/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud_sdk_python_dc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud_sdk_python_dc.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-dc-3.0.1283 → tencentcloud-sdk-python-dc-3.0.1293}/tencentcloud_sdk_python_dc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-dc
3
- Version: 3.0.1283
3
+ Version: 3.0.1293
4
4
  Summary: Tencent Cloud Dc 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-dc',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1283"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1293"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Dc 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.1283'
17
+ __version__ = '3.0.1293'
@@ -101,21 +101,18 @@ class AccessPoint(AbstractModel):
101
101
  :type LineOperator: list of str
102
102
  :param _RegionId: 接入点管理的大区ID。
103
103
  :type RegionId: str
104
- :param _AvailablePortType: 接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km
105
- 注意:此字段可能返回 null,表示取不到有效值。
104
+ :param _AvailablePortType: 接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km。
106
105
  :type AvailablePortType: list of str
107
- :param _Coordinate: 接入点经纬度
108
- 注意:此字段可能返回 null,表示取不到有效值。
106
+ :param _Coordinate: 接入点经纬度。
109
107
  :type Coordinate: :class:`tencentcloud.dc.v20180410.models.Coordinate`
110
- :param _City: 接入点所在城市
111
- 注意:此字段可能返回 null,表示取不到有效值。
108
+ :param _City: 接入点所在城市。
112
109
  :type City: str
113
- :param _Area: 接入点地域名称
114
- 注意:此字段可能返回 null,表示取不到有效值。
110
+ :param _Area: 接入点地域名称。
115
111
  :type Area: str
116
112
  :param _AccessPointType: 接入点类型。VXLAN/QCPL/QCAR
117
- 注意:此字段可能返回 null,表示取不到有效值。
118
113
  :type AccessPointType: str
114
+ :param _AvailablePortInfo: 端口规格信息。
115
+ :type AvailablePortInfo: list of PortSpecification
119
116
  """
120
117
  self._AccessPointName = None
121
118
  self._AccessPointId = None
@@ -128,6 +125,7 @@ class AccessPoint(AbstractModel):
128
125
  self._City = None
129
126
  self._Area = None
130
127
  self._AccessPointType = None
128
+ self._AvailablePortInfo = None
131
129
 
132
130
  @property
133
131
  def AccessPointName(self):
@@ -197,8 +195,7 @@ class AccessPoint(AbstractModel):
197
195
 
198
196
  @property
199
197
  def AvailablePortType(self):
200
- """接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km
201
- 注意:此字段可能返回 null,表示取不到有效值。
198
+ """接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km。
202
199
  :rtype: list of str
203
200
  """
204
201
  return self._AvailablePortType
@@ -209,8 +206,7 @@ class AccessPoint(AbstractModel):
209
206
 
210
207
  @property
211
208
  def Coordinate(self):
212
- """接入点经纬度
213
- 注意:此字段可能返回 null,表示取不到有效值。
209
+ """接入点经纬度。
214
210
  :rtype: :class:`tencentcloud.dc.v20180410.models.Coordinate`
215
211
  """
216
212
  return self._Coordinate
@@ -221,8 +217,7 @@ class AccessPoint(AbstractModel):
221
217
 
222
218
  @property
223
219
  def City(self):
224
- """接入点所在城市
225
- 注意:此字段可能返回 null,表示取不到有效值。
220
+ """接入点所在城市。
226
221
  :rtype: str
227
222
  """
228
223
  return self._City
@@ -233,8 +228,7 @@ class AccessPoint(AbstractModel):
233
228
 
234
229
  @property
235
230
  def Area(self):
236
- """接入点地域名称
237
- 注意:此字段可能返回 null,表示取不到有效值。
231
+ """接入点地域名称。
238
232
  :rtype: str
239
233
  """
240
234
  return self._Area
@@ -246,7 +240,6 @@ class AccessPoint(AbstractModel):
246
240
  @property
247
241
  def AccessPointType(self):
248
242
  """接入点类型。VXLAN/QCPL/QCAR
249
- 注意:此字段可能返回 null,表示取不到有效值。
250
243
  :rtype: str
251
244
  """
252
245
  return self._AccessPointType
@@ -255,6 +248,17 @@ class AccessPoint(AbstractModel):
255
248
  def AccessPointType(self, AccessPointType):
256
249
  self._AccessPointType = AccessPointType
257
250
 
251
+ @property
252
+ def AvailablePortInfo(self):
253
+ """端口规格信息。
254
+ :rtype: list of PortSpecification
255
+ """
256
+ return self._AvailablePortInfo
257
+
258
+ @AvailablePortInfo.setter
259
+ def AvailablePortInfo(self, AvailablePortInfo):
260
+ self._AvailablePortInfo = AvailablePortInfo
261
+
258
262
 
259
263
  def _deserialize(self, params):
260
264
  self._AccessPointName = params.get("AccessPointName")
@@ -270,6 +274,12 @@ class AccessPoint(AbstractModel):
270
274
  self._City = params.get("City")
271
275
  self._Area = params.get("Area")
272
276
  self._AccessPointType = params.get("AccessPointType")
277
+ if params.get("AvailablePortInfo") is not None:
278
+ self._AvailablePortInfo = []
279
+ for item in params.get("AvailablePortInfo"):
280
+ obj = PortSpecification()
281
+ obj._deserialize(item)
282
+ self._AvailablePortInfo.append(obj)
273
283
  memeber_set = set(params.keys())
274
284
  for name, value in vars(self).items():
275
285
  property_name = name[1:]
@@ -2031,10 +2041,13 @@ class DescribeAccessPointsRequest(AbstractModel):
2031
2041
  :type Offset: int
2032
2042
  :param _Limit: 返回数量,默认为20,最大值为100。
2033
2043
  :type Limit: int
2044
+ :param _Filters: 过滤参数,支持:access-point-id、isp
2045
+ :type Filters: list of Filter
2034
2046
  """
2035
2047
  self._RegionId = None
2036
2048
  self._Offset = None
2037
2049
  self._Limit = None
2050
+ self._Filters = None
2038
2051
 
2039
2052
  @property
2040
2053
  def RegionId(self):
@@ -2070,11 +2083,28 @@ class DescribeAccessPointsRequest(AbstractModel):
2070
2083
  def Limit(self, Limit):
2071
2084
  self._Limit = Limit
2072
2085
 
2086
+ @property
2087
+ def Filters(self):
2088
+ """过滤参数,支持:access-point-id、isp
2089
+ :rtype: list of Filter
2090
+ """
2091
+ return self._Filters
2092
+
2093
+ @Filters.setter
2094
+ def Filters(self, Filters):
2095
+ self._Filters = Filters
2096
+
2073
2097
 
2074
2098
  def _deserialize(self, params):
2075
2099
  self._RegionId = params.get("RegionId")
2076
2100
  self._Offset = params.get("Offset")
2077
2101
  self._Limit = params.get("Limit")
2102
+ if params.get("Filters") is not None:
2103
+ self._Filters = []
2104
+ for item in params.get("Filters"):
2105
+ obj = Filter()
2106
+ obj._deserialize(item)
2107
+ self._Filters.append(obj)
2078
2108
  memeber_set = set(params.keys())
2079
2109
  for name, value in vars(self).items():
2080
2110
  property_name = name[1:]
@@ -6265,6 +6295,72 @@ class NQAInfo(AbstractModel):
6265
6295
 
6266
6296
 
6267
6297
 
6298
+ class PortSpecification(AbstractModel):
6299
+ """端口规格
6300
+
6301
+ """
6302
+
6303
+ def __init__(self):
6304
+ r"""
6305
+ :param _InternationalName: 端口名称
6306
+ :type InternationalName: str
6307
+ :param _Specification: 端口规格(M)
6308
+ :type Specification: int
6309
+ :param _PortType: 端口类型:T-电口,X-光口
6310
+ :type PortType: str
6311
+ """
6312
+ self._InternationalName = None
6313
+ self._Specification = None
6314
+ self._PortType = None
6315
+
6316
+ @property
6317
+ def InternationalName(self):
6318
+ """端口名称
6319
+ :rtype: str
6320
+ """
6321
+ return self._InternationalName
6322
+
6323
+ @InternationalName.setter
6324
+ def InternationalName(self, InternationalName):
6325
+ self._InternationalName = InternationalName
6326
+
6327
+ @property
6328
+ def Specification(self):
6329
+ """端口规格(M)
6330
+ :rtype: int
6331
+ """
6332
+ return self._Specification
6333
+
6334
+ @Specification.setter
6335
+ def Specification(self, Specification):
6336
+ self._Specification = Specification
6337
+
6338
+ @property
6339
+ def PortType(self):
6340
+ """端口类型:T-电口,X-光口
6341
+ :rtype: str
6342
+ """
6343
+ return self._PortType
6344
+
6345
+ @PortType.setter
6346
+ def PortType(self, PortType):
6347
+ self._PortType = PortType
6348
+
6349
+
6350
+ def _deserialize(self, params):
6351
+ self._InternationalName = params.get("InternationalName")
6352
+ self._Specification = params.get("Specification")
6353
+ self._PortType = params.get("PortType")
6354
+ memeber_set = set(params.keys())
6355
+ for name, value in vars(self).items():
6356
+ property_name = name[1:]
6357
+ if property_name in memeber_set:
6358
+ memeber_set.remove(property_name)
6359
+ if len(memeber_set) > 0:
6360
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6361
+
6362
+
6363
+
6268
6364
  class RejectDirectConnectTunnelRequest(AbstractModel):
6269
6365
  """RejectDirectConnectTunnel请求参数结构体
6270
6366
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-dc
3
- Version: 3.0.1283
3
+ Version: 3.0.1293
4
4
  Summary: Tencent Cloud Dc 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.1293
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1283