tencentcloud-sdk-python-lighthouse 3.1.90__py2.py3-none-any.whl → 3.1.107__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +23 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +18 -0
- tencentcloud/lighthouse/v20200324/models.py +362 -0
- {tencentcloud_sdk_python_lighthouse-3.1.90.dist-info → tencentcloud_sdk_python_lighthouse-3.1.107.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_lighthouse-3.1.107.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_lighthouse-3.1.90.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_lighthouse-3.1.90.dist-info → tencentcloud_sdk_python_lighthouse-3.1.107.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_lighthouse-3.1.90.dist-info → tencentcloud_sdk_python_lighthouse-3.1.107.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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
|
|
|
@@ -690,6 +690,29 @@ class LighthouseClient(AbstractClient):
|
|
|
690
690
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
691
691
|
|
|
692
692
|
|
|
693
|
+
def DescribeBlueprintsShareAcrossAccountInfos(self, request):
|
|
694
|
+
r"""本接口(DescribeBlueprintsShareAcrossAccountInfos)用于查询一个或多个镜像的跨账号共享信息。
|
|
695
|
+
|
|
696
|
+
:param request: Request instance for DescribeBlueprintsShareAcrossAccountInfos.
|
|
697
|
+
:type request: :class:`tencentcloud.lighthouse.v20200324.models.DescribeBlueprintsShareAcrossAccountInfosRequest`
|
|
698
|
+
:rtype: :class:`tencentcloud.lighthouse.v20200324.models.DescribeBlueprintsShareAcrossAccountInfosResponse`
|
|
699
|
+
|
|
700
|
+
"""
|
|
701
|
+
try:
|
|
702
|
+
params = request._serialize()
|
|
703
|
+
headers = request.headers
|
|
704
|
+
body = self.call("DescribeBlueprintsShareAcrossAccountInfos", params, headers=headers)
|
|
705
|
+
response = json.loads(body)
|
|
706
|
+
model = models.DescribeBlueprintsShareAcrossAccountInfosResponse()
|
|
707
|
+
model._deserialize(response["Response"])
|
|
708
|
+
return model
|
|
709
|
+
except Exception as e:
|
|
710
|
+
if isinstance(e, TencentCloudSDKException):
|
|
711
|
+
raise
|
|
712
|
+
else:
|
|
713
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
714
|
+
|
|
715
|
+
|
|
693
716
|
def DescribeBundleDiscount(self, request):
|
|
694
717
|
r"""本接口(DescribeBundleDiscount)用于查询套餐折扣信息。
|
|
695
718
|
|
|
@@ -554,6 +554,24 @@ class LighthouseClient(AbstractClient):
|
|
|
554
554
|
|
|
555
555
|
return await self.call_and_deserialize(**kwargs)
|
|
556
556
|
|
|
557
|
+
async def DescribeBlueprintsShareAcrossAccountInfos(
|
|
558
|
+
self,
|
|
559
|
+
request: models.DescribeBlueprintsShareAcrossAccountInfosRequest,
|
|
560
|
+
opts: Dict = None,
|
|
561
|
+
) -> models.DescribeBlueprintsShareAcrossAccountInfosResponse:
|
|
562
|
+
"""
|
|
563
|
+
本接口(DescribeBlueprintsShareAcrossAccountInfos)用于查询一个或多个镜像的跨账号共享信息。
|
|
564
|
+
"""
|
|
565
|
+
|
|
566
|
+
kwargs = {}
|
|
567
|
+
kwargs["action"] = "DescribeBlueprintsShareAcrossAccountInfos"
|
|
568
|
+
kwargs["params"] = request._serialize()
|
|
569
|
+
kwargs["resp_cls"] = models.DescribeBlueprintsShareAcrossAccountInfosResponse
|
|
570
|
+
kwargs["headers"] = request.headers
|
|
571
|
+
kwargs["opts"] = opts or {}
|
|
572
|
+
|
|
573
|
+
return await self.call_and_deserialize(**kwargs)
|
|
574
|
+
|
|
557
575
|
async def DescribeBundleDiscount(
|
|
558
576
|
self,
|
|
559
577
|
request: models.DescribeBundleDiscountRequest,
|
|
@@ -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
|
|
|
@@ -1174,6 +1259,72 @@ class BlueprintPrice(AbstractModel):
|
|
|
1174
1259
|
|
|
1175
1260
|
|
|
1176
1261
|
|
|
1262
|
+
class BlueprintShareAcrossAccountInfo(AbstractModel):
|
|
1263
|
+
r"""镜像跨账号共享信息。
|
|
1264
|
+
|
|
1265
|
+
"""
|
|
1266
|
+
|
|
1267
|
+
def __init__(self):
|
|
1268
|
+
r"""
|
|
1269
|
+
:param _BlueprintId: 镜像ID。
|
|
1270
|
+
:type BlueprintId: str
|
|
1271
|
+
:param _AccountId: 镜像共享的账户ID。
|
|
1272
|
+
:type AccountId: str
|
|
1273
|
+
:param _CreatedTime: 镜像共享时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 格式为: YYYY-MM-DDThh:mm:ssZ。
|
|
1274
|
+
:type CreatedTime: str
|
|
1275
|
+
"""
|
|
1276
|
+
self._BlueprintId = None
|
|
1277
|
+
self._AccountId = None
|
|
1278
|
+
self._CreatedTime = None
|
|
1279
|
+
|
|
1280
|
+
@property
|
|
1281
|
+
def BlueprintId(self):
|
|
1282
|
+
r"""镜像ID。
|
|
1283
|
+
:rtype: str
|
|
1284
|
+
"""
|
|
1285
|
+
return self._BlueprintId
|
|
1286
|
+
|
|
1287
|
+
@BlueprintId.setter
|
|
1288
|
+
def BlueprintId(self, BlueprintId):
|
|
1289
|
+
self._BlueprintId = BlueprintId
|
|
1290
|
+
|
|
1291
|
+
@property
|
|
1292
|
+
def AccountId(self):
|
|
1293
|
+
r"""镜像共享的账户ID。
|
|
1294
|
+
:rtype: str
|
|
1295
|
+
"""
|
|
1296
|
+
return self._AccountId
|
|
1297
|
+
|
|
1298
|
+
@AccountId.setter
|
|
1299
|
+
def AccountId(self, AccountId):
|
|
1300
|
+
self._AccountId = AccountId
|
|
1301
|
+
|
|
1302
|
+
@property
|
|
1303
|
+
def CreatedTime(self):
|
|
1304
|
+
r"""镜像共享时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 格式为: YYYY-MM-DDThh:mm:ssZ。
|
|
1305
|
+
:rtype: str
|
|
1306
|
+
"""
|
|
1307
|
+
return self._CreatedTime
|
|
1308
|
+
|
|
1309
|
+
@CreatedTime.setter
|
|
1310
|
+
def CreatedTime(self, CreatedTime):
|
|
1311
|
+
self._CreatedTime = CreatedTime
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
def _deserialize(self, params):
|
|
1315
|
+
self._BlueprintId = params.get("BlueprintId")
|
|
1316
|
+
self._AccountId = params.get("AccountId")
|
|
1317
|
+
self._CreatedTime = params.get("CreatedTime")
|
|
1318
|
+
memeber_set = set(params.keys())
|
|
1319
|
+
for name, value in vars(self).items():
|
|
1320
|
+
property_name = name[1:]
|
|
1321
|
+
if property_name in memeber_set:
|
|
1322
|
+
memeber_set.remove(property_name)
|
|
1323
|
+
if len(memeber_set) > 0:
|
|
1324
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
|
|
1177
1328
|
class Bundle(AbstractModel):
|
|
1178
1329
|
r"""套餐信息。
|
|
1179
1330
|
|
|
@@ -4436,6 +4587,163 @@ class DescribeBlueprintsResponse(AbstractModel):
|
|
|
4436
4587
|
self._RequestId = params.get("RequestId")
|
|
4437
4588
|
|
|
4438
4589
|
|
|
4590
|
+
class DescribeBlueprintsShareAcrossAccountInfosRequest(AbstractModel):
|
|
4591
|
+
r"""DescribeBlueprintsShareAcrossAccountInfos请求参数结构体
|
|
4592
|
+
|
|
4593
|
+
"""
|
|
4594
|
+
|
|
4595
|
+
def __init__(self):
|
|
4596
|
+
r"""
|
|
4597
|
+
:param _BlueprintIds: 镜像 ID 列表。可以通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回的BlueprintId获取。
|
|
4598
|
+
:type BlueprintIds: list of str
|
|
4599
|
+
:param _Offset: 偏移量,默认为 0。
|
|
4600
|
+
:type Offset: int
|
|
4601
|
+
:param _Limit: 返回数量,默认为 20,最大值为 100。
|
|
4602
|
+
:type Limit: int
|
|
4603
|
+
:param _Filters: 过滤器列表。
|
|
4604
|
+
<li>account-id</li>按照【[账号 ID](https://console.cloud.tencent.com/developer)】进行过滤。
|
|
4605
|
+
类型:String
|
|
4606
|
+
必选:否
|
|
4607
|
+
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
|
|
4608
|
+
:type Filters: list of Filter
|
|
4609
|
+
"""
|
|
4610
|
+
self._BlueprintIds = None
|
|
4611
|
+
self._Offset = None
|
|
4612
|
+
self._Limit = None
|
|
4613
|
+
self._Filters = None
|
|
4614
|
+
|
|
4615
|
+
@property
|
|
4616
|
+
def BlueprintIds(self):
|
|
4617
|
+
r"""镜像 ID 列表。可以通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回的BlueprintId获取。
|
|
4618
|
+
:rtype: list of str
|
|
4619
|
+
"""
|
|
4620
|
+
return self._BlueprintIds
|
|
4621
|
+
|
|
4622
|
+
@BlueprintIds.setter
|
|
4623
|
+
def BlueprintIds(self, BlueprintIds):
|
|
4624
|
+
self._BlueprintIds = BlueprintIds
|
|
4625
|
+
|
|
4626
|
+
@property
|
|
4627
|
+
def Offset(self):
|
|
4628
|
+
r"""偏移量,默认为 0。
|
|
4629
|
+
:rtype: int
|
|
4630
|
+
"""
|
|
4631
|
+
return self._Offset
|
|
4632
|
+
|
|
4633
|
+
@Offset.setter
|
|
4634
|
+
def Offset(self, Offset):
|
|
4635
|
+
self._Offset = Offset
|
|
4636
|
+
|
|
4637
|
+
@property
|
|
4638
|
+
def Limit(self):
|
|
4639
|
+
r"""返回数量,默认为 20,最大值为 100。
|
|
4640
|
+
:rtype: int
|
|
4641
|
+
"""
|
|
4642
|
+
return self._Limit
|
|
4643
|
+
|
|
4644
|
+
@Limit.setter
|
|
4645
|
+
def Limit(self, Limit):
|
|
4646
|
+
self._Limit = Limit
|
|
4647
|
+
|
|
4648
|
+
@property
|
|
4649
|
+
def Filters(self):
|
|
4650
|
+
r"""过滤器列表。
|
|
4651
|
+
<li>account-id</li>按照【[账号 ID](https://console.cloud.tencent.com/developer)】进行过滤。
|
|
4652
|
+
类型:String
|
|
4653
|
+
必选:否
|
|
4654
|
+
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
|
|
4655
|
+
:rtype: list of Filter
|
|
4656
|
+
"""
|
|
4657
|
+
return self._Filters
|
|
4658
|
+
|
|
4659
|
+
@Filters.setter
|
|
4660
|
+
def Filters(self, Filters):
|
|
4661
|
+
self._Filters = Filters
|
|
4662
|
+
|
|
4663
|
+
|
|
4664
|
+
def _deserialize(self, params):
|
|
4665
|
+
self._BlueprintIds = params.get("BlueprintIds")
|
|
4666
|
+
self._Offset = params.get("Offset")
|
|
4667
|
+
self._Limit = params.get("Limit")
|
|
4668
|
+
if params.get("Filters") is not None:
|
|
4669
|
+
self._Filters = []
|
|
4670
|
+
for item in params.get("Filters"):
|
|
4671
|
+
obj = Filter()
|
|
4672
|
+
obj._deserialize(item)
|
|
4673
|
+
self._Filters.append(obj)
|
|
4674
|
+
memeber_set = set(params.keys())
|
|
4675
|
+
for name, value in vars(self).items():
|
|
4676
|
+
property_name = name[1:]
|
|
4677
|
+
if property_name in memeber_set:
|
|
4678
|
+
memeber_set.remove(property_name)
|
|
4679
|
+
if len(memeber_set) > 0:
|
|
4680
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4681
|
+
|
|
4682
|
+
|
|
4683
|
+
|
|
4684
|
+
class DescribeBlueprintsShareAcrossAccountInfosResponse(AbstractModel):
|
|
4685
|
+
r"""DescribeBlueprintsShareAcrossAccountInfos返回参数结构体
|
|
4686
|
+
|
|
4687
|
+
"""
|
|
4688
|
+
|
|
4689
|
+
def __init__(self):
|
|
4690
|
+
r"""
|
|
4691
|
+
:param _TotalCount: 符合条件的镜像共享信息数量。
|
|
4692
|
+
:type TotalCount: int
|
|
4693
|
+
:param _BlueprintShareAcrossAccountInfoSet: 镜像共享信息列表。
|
|
4694
|
+
:type BlueprintShareAcrossAccountInfoSet: list of BlueprintShareAcrossAccountInfo
|
|
4695
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4696
|
+
:type RequestId: str
|
|
4697
|
+
"""
|
|
4698
|
+
self._TotalCount = None
|
|
4699
|
+
self._BlueprintShareAcrossAccountInfoSet = None
|
|
4700
|
+
self._RequestId = None
|
|
4701
|
+
|
|
4702
|
+
@property
|
|
4703
|
+
def TotalCount(self):
|
|
4704
|
+
r"""符合条件的镜像共享信息数量。
|
|
4705
|
+
:rtype: int
|
|
4706
|
+
"""
|
|
4707
|
+
return self._TotalCount
|
|
4708
|
+
|
|
4709
|
+
@TotalCount.setter
|
|
4710
|
+
def TotalCount(self, TotalCount):
|
|
4711
|
+
self._TotalCount = TotalCount
|
|
4712
|
+
|
|
4713
|
+
@property
|
|
4714
|
+
def BlueprintShareAcrossAccountInfoSet(self):
|
|
4715
|
+
r"""镜像共享信息列表。
|
|
4716
|
+
:rtype: list of BlueprintShareAcrossAccountInfo
|
|
4717
|
+
"""
|
|
4718
|
+
return self._BlueprintShareAcrossAccountInfoSet
|
|
4719
|
+
|
|
4720
|
+
@BlueprintShareAcrossAccountInfoSet.setter
|
|
4721
|
+
def BlueprintShareAcrossAccountInfoSet(self, BlueprintShareAcrossAccountInfoSet):
|
|
4722
|
+
self._BlueprintShareAcrossAccountInfoSet = BlueprintShareAcrossAccountInfoSet
|
|
4723
|
+
|
|
4724
|
+
@property
|
|
4725
|
+
def RequestId(self):
|
|
4726
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4727
|
+
:rtype: str
|
|
4728
|
+
"""
|
|
4729
|
+
return self._RequestId
|
|
4730
|
+
|
|
4731
|
+
@RequestId.setter
|
|
4732
|
+
def RequestId(self, RequestId):
|
|
4733
|
+
self._RequestId = RequestId
|
|
4734
|
+
|
|
4735
|
+
|
|
4736
|
+
def _deserialize(self, params):
|
|
4737
|
+
self._TotalCount = params.get("TotalCount")
|
|
4738
|
+
if params.get("BlueprintShareAcrossAccountInfoSet") is not None:
|
|
4739
|
+
self._BlueprintShareAcrossAccountInfoSet = []
|
|
4740
|
+
for item in params.get("BlueprintShareAcrossAccountInfoSet"):
|
|
4741
|
+
obj = BlueprintShareAcrossAccountInfo()
|
|
4742
|
+
obj._deserialize(item)
|
|
4743
|
+
self._BlueprintShareAcrossAccountInfoSet.append(obj)
|
|
4744
|
+
self._RequestId = params.get("RequestId")
|
|
4745
|
+
|
|
4746
|
+
|
|
4439
4747
|
class DescribeBundleDiscountRequest(AbstractModel):
|
|
4440
4748
|
r"""DescribeBundleDiscount请求参数结构体
|
|
4441
4749
|
|
|
@@ -9919,9 +10227,17 @@ class DisassociateInstancesKeyPairsRequest(AbstractModel):
|
|
|
9919
10227
|
:type KeyIds: list of str
|
|
9920
10228
|
:param _InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
|
|
9921
10229
|
:type InstanceIds: list of str
|
|
10230
|
+
:param _DisassociateType: 解绑定类型。可选值:
|
|
10231
|
+
ONLINE - 在线解绑定,不需要关机。
|
|
10232
|
+
OFFLINE - 离线解绑定,需要关机。
|
|
10233
|
+
:type DisassociateType: str
|
|
10234
|
+
:param _Username: 解绑定的用户名。当 DisassociateType 为 OFFLINE 时,不支持该参数。
|
|
10235
|
+
:type Username: str
|
|
9922
10236
|
"""
|
|
9923
10237
|
self._KeyIds = None
|
|
9924
10238
|
self._InstanceIds = None
|
|
10239
|
+
self._DisassociateType = None
|
|
10240
|
+
self._Username = None
|
|
9925
10241
|
|
|
9926
10242
|
@property
|
|
9927
10243
|
def KeyIds(self):
|
|
@@ -9945,10 +10261,36 @@ class DisassociateInstancesKeyPairsRequest(AbstractModel):
|
|
|
9945
10261
|
def InstanceIds(self, InstanceIds):
|
|
9946
10262
|
self._InstanceIds = InstanceIds
|
|
9947
10263
|
|
|
10264
|
+
@property
|
|
10265
|
+
def DisassociateType(self):
|
|
10266
|
+
r"""解绑定类型。可选值:
|
|
10267
|
+
ONLINE - 在线解绑定,不需要关机。
|
|
10268
|
+
OFFLINE - 离线解绑定,需要关机。
|
|
10269
|
+
:rtype: str
|
|
10270
|
+
"""
|
|
10271
|
+
return self._DisassociateType
|
|
10272
|
+
|
|
10273
|
+
@DisassociateType.setter
|
|
10274
|
+
def DisassociateType(self, DisassociateType):
|
|
10275
|
+
self._DisassociateType = DisassociateType
|
|
10276
|
+
|
|
10277
|
+
@property
|
|
10278
|
+
def Username(self):
|
|
10279
|
+
r"""解绑定的用户名。当 DisassociateType 为 OFFLINE 时,不支持该参数。
|
|
10280
|
+
:rtype: str
|
|
10281
|
+
"""
|
|
10282
|
+
return self._Username
|
|
10283
|
+
|
|
10284
|
+
@Username.setter
|
|
10285
|
+
def Username(self, Username):
|
|
10286
|
+
self._Username = Username
|
|
10287
|
+
|
|
9948
10288
|
|
|
9949
10289
|
def _deserialize(self, params):
|
|
9950
10290
|
self._KeyIds = params.get("KeyIds")
|
|
9951
10291
|
self._InstanceIds = params.get("InstanceIds")
|
|
10292
|
+
self._DisassociateType = params.get("DisassociateType")
|
|
10293
|
+
self._Username = params.get("Username")
|
|
9952
10294
|
memeber_set = set(params.keys())
|
|
9953
10295
|
for name, value in vars(self).items():
|
|
9954
10296
|
property_name = name[1:]
|
|
@@ -14991,6 +15333,8 @@ class KeyPair(AbstractModel):
|
|
|
14991
15333
|
:type PublicKey: str
|
|
14992
15334
|
:param _AssociatedInstanceIds: 密钥对关联的实例 ID 列表。
|
|
14993
15335
|
:type AssociatedInstanceIds: list of str
|
|
15336
|
+
:param _AssociatedInstanceSet: 密钥对关联的实例列表。
|
|
15337
|
+
:type AssociatedInstanceSet: list of AssociatedInstanceInfo
|
|
14994
15338
|
:param _CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
|
14995
15339
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14996
15340
|
:type CreatedTime: str
|
|
@@ -15004,6 +15348,7 @@ class KeyPair(AbstractModel):
|
|
|
15004
15348
|
self._KeyName = None
|
|
15005
15349
|
self._PublicKey = None
|
|
15006
15350
|
self._AssociatedInstanceIds = None
|
|
15351
|
+
self._AssociatedInstanceSet = None
|
|
15007
15352
|
self._CreatedTime = None
|
|
15008
15353
|
self._PrivateKey = None
|
|
15009
15354
|
self._Tags = None
|
|
@@ -15052,6 +15397,17 @@ class KeyPair(AbstractModel):
|
|
|
15052
15397
|
def AssociatedInstanceIds(self, AssociatedInstanceIds):
|
|
15053
15398
|
self._AssociatedInstanceIds = AssociatedInstanceIds
|
|
15054
15399
|
|
|
15400
|
+
@property
|
|
15401
|
+
def AssociatedInstanceSet(self):
|
|
15402
|
+
r"""密钥对关联的实例列表。
|
|
15403
|
+
:rtype: list of AssociatedInstanceInfo
|
|
15404
|
+
"""
|
|
15405
|
+
return self._AssociatedInstanceSet
|
|
15406
|
+
|
|
15407
|
+
@AssociatedInstanceSet.setter
|
|
15408
|
+
def AssociatedInstanceSet(self, AssociatedInstanceSet):
|
|
15409
|
+
self._AssociatedInstanceSet = AssociatedInstanceSet
|
|
15410
|
+
|
|
15055
15411
|
@property
|
|
15056
15412
|
def CreatedTime(self):
|
|
15057
15413
|
r"""创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
|
@@ -15093,6 +15449,12 @@ class KeyPair(AbstractModel):
|
|
|
15093
15449
|
self._KeyName = params.get("KeyName")
|
|
15094
15450
|
self._PublicKey = params.get("PublicKey")
|
|
15095
15451
|
self._AssociatedInstanceIds = params.get("AssociatedInstanceIds")
|
|
15452
|
+
if params.get("AssociatedInstanceSet") is not None:
|
|
15453
|
+
self._AssociatedInstanceSet = []
|
|
15454
|
+
for item in params.get("AssociatedInstanceSet"):
|
|
15455
|
+
obj = AssociatedInstanceInfo()
|
|
15456
|
+
obj._deserialize(item)
|
|
15457
|
+
self._AssociatedInstanceSet.append(obj)
|
|
15096
15458
|
self._CreatedTime = params.get("CreatedTime")
|
|
15097
15459
|
self._PrivateKey = params.get("PrivateKey")
|
|
15098
15460
|
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.
|
|
3
|
+
Version: 3.1.107
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.107
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=Pvxh5eC-1elbcbAYmLtolUa0X3JPDFOO-NdZgORZ-VQ,630
|
|
2
|
+
tencentcloud/lighthouse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/lighthouse/v20200324/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/lighthouse/v20200324/errorcodes.py,sha256=tMADAhm-hB4khZjYBwKWABKQ14m3AQugLamtFsmyBik,38354
|
|
5
|
+
tencentcloud/lighthouse/v20200324/lighthouse_client.py,sha256=ZNJ9kHyt44o8G5YdCKpi9N8TeqbO8MBlI18GseQ8EXE,139130
|
|
6
|
+
tencentcloud/lighthouse/v20200324/lighthouse_client_async.py,sha256=GjbRmbJAe52QFbfsjH27fbPU4BSN4zd3xdigUiRpCls,101324
|
|
7
|
+
tencentcloud/lighthouse/v20200324/models.py,sha256=O1tlB4UYjdkPcEm6UaHlujQFTX5JUxMzcEgEroPX9fE,726015
|
|
8
|
+
tencentcloud_sdk_python_lighthouse-3.1.107.dist-info/METADATA,sha256=fP_AZd5dZkR621WQYHOx7Jq6R_akIeiY8A7fMOTClWA,1532
|
|
9
|
+
tencentcloud_sdk_python_lighthouse-3.1.107.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_lighthouse-3.1.107.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_lighthouse-3.1.107.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=aFgsprATY9MnjstT7-a6o25LvQj1rVvrpYJRZalONHI,629
|
|
2
|
-
tencentcloud/lighthouse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/lighthouse/v20200324/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/lighthouse/v20200324/errorcodes.py,sha256=iIRAPKfIv6mnOT3_XAptpbetlrBYQQW8vAIa9b-fmEI,38181
|
|
5
|
-
tencentcloud/lighthouse/v20200324/lighthouse_client.py,sha256=qCz87p1zHYklXG5Iqbu5M7PbwyQSFt_O253SX2OQhhw,138004
|
|
6
|
-
tencentcloud/lighthouse/v20200324/lighthouse_client_async.py,sha256=lQ4ZHLwA0RW6TRKFlwc9kBstWyN6Bo7ZoMYEpDIZjGc,100535
|
|
7
|
-
tencentcloud/lighthouse/v20200324/models.py,sha256=Fp98fCyJl-avyjIZthvgcVJMbT8IVCUENsoHUpmcEsg,714089
|
|
8
|
-
tencentcloud_sdk_python_lighthouse-3.1.90.dist-info/METADATA,sha256=N9-JKAXttFKz_PT7SPdGqydhpk73hGbhr3TLFRXVrvA,1530
|
|
9
|
-
tencentcloud_sdk_python_lighthouse-3.1.90.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_lighthouse-3.1.90.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_lighthouse-3.1.90.dist-info/RECORD,,
|
|
File without changes
|