tencentcloud-sdk-python-lighthouse 3.1.90__tar.gz → 3.1.102__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. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/setup.py +1 -1
  3. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud/lighthouse/v20200324/models.py +139 -0
  6. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud_sdk_python_lighthouse.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_lighthouse-3.1.102/tencentcloud_sdk_python_lighthouse.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_lighthouse-3.1.90/tencentcloud_sdk_python_lighthouse.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/README.rst +0 -0
  10. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud/lighthouse/__init__.py +0 -0
  12. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud/lighthouse/v20200324/__init__.py +0 -0
  13. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud/lighthouse/v20200324/lighthouse_client.py +0 -0
  14. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +0 -0
  15. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud_sdk_python_lighthouse.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud_sdk_python_lighthouse.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_lighthouse-3.1.90 → tencentcloud_sdk_python_lighthouse-3.1.102}/tencentcloud_sdk_python_lighthouse.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-lighthouse
3
- Version: 3.1.90
3
+ Version: 3.1.102
4
4
  Summary: Tencent Cloud Lighthouse SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.90
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.102
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-lighthouse',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.90,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.102,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Lighthouse SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.90'
17
+ __version__ = '3.1.102'
@@ -854,6 +854,9 @@ UNSUPPORTEDOPERATION_KEYPAIRBINDTOBLUEPRINTS = 'UnsupportedOperation.KeyPairBind
854
854
  # 不支持的操作,不支持将未绑定到实例的密钥对从实例解绑。
855
855
  UNSUPPORTEDOPERATION_KEYPAIRNOTBOUNDTOINSTANCE = 'UnsupportedOperation.KeyPairNotBoundToInstance'
856
856
 
857
+ # 解绑定密钥对使用的用户名和绑定时的不一致。
858
+ UNSUPPORTEDOPERATION_KEYPAIRUNBINDUSERNAMEMISMATCH = 'UnsupportedOperation.KeyPairUnbindUsernameMismatch'
859
+
857
860
  # 不支持的操作,实例最近一次的操作尚未完成。
858
861
  UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = 'UnsupportedOperation.LatestOperationUnfinished'
859
862
 
@@ -286,9 +286,17 @@ class AssociateInstancesKeyPairsRequest(AbstractModel):
286
286
  :type KeyIds: list of str
287
287
  :param _InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
288
288
  :type InstanceIds: list of str
289
+ :param _AssociateType: 绑定类型。可选值:
290
+ ONLINE - 在线绑定,不需要关机。
291
+ OFFLINE - 离线绑定,会对实例进行关机。
292
+ :type AssociateType: str
293
+ :param _Username: 绑定的用户名。当 AssociateType 为 OFFLINE 时,不支持该参数。
294
+ :type Username: str
289
295
  """
290
296
  self._KeyIds = None
291
297
  self._InstanceIds = None
298
+ self._AssociateType = None
299
+ self._Username = None
292
300
 
293
301
  @property
294
302
  def KeyIds(self):
@@ -312,10 +320,36 @@ class AssociateInstancesKeyPairsRequest(AbstractModel):
312
320
  def InstanceIds(self, InstanceIds):
313
321
  self._InstanceIds = InstanceIds
314
322
 
323
+ @property
324
+ def AssociateType(self):
325
+ r"""绑定类型。可选值:
326
+ ONLINE - 在线绑定,不需要关机。
327
+ OFFLINE - 离线绑定,会对实例进行关机。
328
+ :rtype: str
329
+ """
330
+ return self._AssociateType
331
+
332
+ @AssociateType.setter
333
+ def AssociateType(self, AssociateType):
334
+ self._AssociateType = AssociateType
335
+
336
+ @property
337
+ def Username(self):
338
+ r"""绑定的用户名。当 AssociateType 为 OFFLINE 时,不支持该参数。
339
+ :rtype: str
340
+ """
341
+ return self._Username
342
+
343
+ @Username.setter
344
+ def Username(self, Username):
345
+ self._Username = Username
346
+
315
347
 
316
348
  def _deserialize(self, params):
317
349
  self._KeyIds = params.get("KeyIds")
318
350
  self._InstanceIds = params.get("InstanceIds")
351
+ self._AssociateType = params.get("AssociateType")
352
+ self._Username = params.get("Username")
319
353
  memeber_set = set(params.keys())
320
354
  for name, value in vars(self).items():
321
355
  property_name = name[1:]
@@ -354,6 +388,57 @@ class AssociateInstancesKeyPairsResponse(AbstractModel):
354
388
  self._RequestId = params.get("RequestId")
355
389
 
356
390
 
391
+ class AssociatedInstanceInfo(AbstractModel):
392
+ r"""密钥对关联的实例信息
393
+
394
+ """
395
+
396
+ def __init__(self):
397
+ r"""
398
+ :param _InstanceId: <p>实例ID。</p>
399
+ :type InstanceId: str
400
+ :param _Username: <p>密钥对绑定的用户。</p>
401
+ :type Username: str
402
+ """
403
+ self._InstanceId = None
404
+ self._Username = None
405
+
406
+ @property
407
+ def InstanceId(self):
408
+ r"""<p>实例ID。</p>
409
+ :rtype: str
410
+ """
411
+ return self._InstanceId
412
+
413
+ @InstanceId.setter
414
+ def InstanceId(self, InstanceId):
415
+ self._InstanceId = InstanceId
416
+
417
+ @property
418
+ def Username(self):
419
+ r"""<p>密钥对绑定的用户。</p>
420
+ :rtype: str
421
+ """
422
+ return self._Username
423
+
424
+ @Username.setter
425
+ def Username(self, Username):
426
+ self._Username = Username
427
+
428
+
429
+ def _deserialize(self, params):
430
+ self._InstanceId = params.get("InstanceId")
431
+ self._Username = params.get("Username")
432
+ memeber_set = set(params.keys())
433
+ for name, value in vars(self).items():
434
+ property_name = name[1:]
435
+ if property_name in memeber_set:
436
+ memeber_set.remove(property_name)
437
+ if len(memeber_set) > 0:
438
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
439
+
440
+
441
+
357
442
  class AttachCcnRequest(AbstractModel):
358
443
  r"""AttachCcn请求参数结构体
359
444
 
@@ -9919,9 +10004,17 @@ class DisassociateInstancesKeyPairsRequest(AbstractModel):
9919
10004
  :type KeyIds: list of str
9920
10005
  :param _InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
9921
10006
  :type InstanceIds: list of str
10007
+ :param _DisassociateType: 解绑定类型。可选值:
10008
+ ONLINE - 在线解绑定,不需要关机。
10009
+ OFFLINE - 离线解绑定,需要关机。
10010
+ :type DisassociateType: str
10011
+ :param _Username: 解绑定的用户名。当 DisassociateType 为 OFFLINE 时,不支持该参数。
10012
+ :type Username: str
9922
10013
  """
9923
10014
  self._KeyIds = None
9924
10015
  self._InstanceIds = None
10016
+ self._DisassociateType = None
10017
+ self._Username = None
9925
10018
 
9926
10019
  @property
9927
10020
  def KeyIds(self):
@@ -9945,10 +10038,36 @@ class DisassociateInstancesKeyPairsRequest(AbstractModel):
9945
10038
  def InstanceIds(self, InstanceIds):
9946
10039
  self._InstanceIds = InstanceIds
9947
10040
 
10041
+ @property
10042
+ def DisassociateType(self):
10043
+ r"""解绑定类型。可选值:
10044
+ ONLINE - 在线解绑定,不需要关机。
10045
+ OFFLINE - 离线解绑定,需要关机。
10046
+ :rtype: str
10047
+ """
10048
+ return self._DisassociateType
10049
+
10050
+ @DisassociateType.setter
10051
+ def DisassociateType(self, DisassociateType):
10052
+ self._DisassociateType = DisassociateType
10053
+
10054
+ @property
10055
+ def Username(self):
10056
+ r"""解绑定的用户名。当 DisassociateType 为 OFFLINE 时,不支持该参数。
10057
+ :rtype: str
10058
+ """
10059
+ return self._Username
10060
+
10061
+ @Username.setter
10062
+ def Username(self, Username):
10063
+ self._Username = Username
10064
+
9948
10065
 
9949
10066
  def _deserialize(self, params):
9950
10067
  self._KeyIds = params.get("KeyIds")
9951
10068
  self._InstanceIds = params.get("InstanceIds")
10069
+ self._DisassociateType = params.get("DisassociateType")
10070
+ self._Username = params.get("Username")
9952
10071
  memeber_set = set(params.keys())
9953
10072
  for name, value in vars(self).items():
9954
10073
  property_name = name[1:]
@@ -14991,6 +15110,8 @@ class KeyPair(AbstractModel):
14991
15110
  :type PublicKey: str
14992
15111
  :param _AssociatedInstanceIds: 密钥对关联的实例 ID 列表。
14993
15112
  :type AssociatedInstanceIds: list of str
15113
+ :param _AssociatedInstanceSet: 密钥对关联的实例列表。
15114
+ :type AssociatedInstanceSet: list of AssociatedInstanceInfo
14994
15115
  :param _CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ
14995
15116
  注意:此字段可能返回 null,表示取不到有效值。
14996
15117
  :type CreatedTime: str
@@ -15004,6 +15125,7 @@ class KeyPair(AbstractModel):
15004
15125
  self._KeyName = None
15005
15126
  self._PublicKey = None
15006
15127
  self._AssociatedInstanceIds = None
15128
+ self._AssociatedInstanceSet = None
15007
15129
  self._CreatedTime = None
15008
15130
  self._PrivateKey = None
15009
15131
  self._Tags = None
@@ -15052,6 +15174,17 @@ class KeyPair(AbstractModel):
15052
15174
  def AssociatedInstanceIds(self, AssociatedInstanceIds):
15053
15175
  self._AssociatedInstanceIds = AssociatedInstanceIds
15054
15176
 
15177
+ @property
15178
+ def AssociatedInstanceSet(self):
15179
+ r"""密钥对关联的实例列表。
15180
+ :rtype: list of AssociatedInstanceInfo
15181
+ """
15182
+ return self._AssociatedInstanceSet
15183
+
15184
+ @AssociatedInstanceSet.setter
15185
+ def AssociatedInstanceSet(self, AssociatedInstanceSet):
15186
+ self._AssociatedInstanceSet = AssociatedInstanceSet
15187
+
15055
15188
  @property
15056
15189
  def CreatedTime(self):
15057
15190
  r"""创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ
@@ -15093,6 +15226,12 @@ class KeyPair(AbstractModel):
15093
15226
  self._KeyName = params.get("KeyName")
15094
15227
  self._PublicKey = params.get("PublicKey")
15095
15228
  self._AssociatedInstanceIds = params.get("AssociatedInstanceIds")
15229
+ if params.get("AssociatedInstanceSet") is not None:
15230
+ self._AssociatedInstanceSet = []
15231
+ for item in params.get("AssociatedInstanceSet"):
15232
+ obj = AssociatedInstanceInfo()
15233
+ obj._deserialize(item)
15234
+ self._AssociatedInstanceSet.append(obj)
15096
15235
  self._CreatedTime = params.get("CreatedTime")
15097
15236
  self._PrivateKey = params.get("PrivateKey")
15098
15237
  if params.get("Tags") is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-lighthouse
3
- Version: 3.1.90
3
+ Version: 3.1.102
4
4
  Summary: Tencent Cloud Lighthouse SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.90
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.102
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.102
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.90