tencentcloud-sdk-python-lighthouse 3.1.102__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/lighthouse_client.py +23 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +18 -0
- tencentcloud/lighthouse/v20200324/models.py +223 -0
- {tencentcloud_sdk_python_lighthouse-3.1.102.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.102.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_lighthouse-3.1.102.dist-info → tencentcloud_sdk_python_lighthouse-3.1.107.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_lighthouse-3.1.102.dist-info → tencentcloud_sdk_python_lighthouse-3.1.107.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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,
|
|
@@ -1259,6 +1259,72 @@ class BlueprintPrice(AbstractModel):
|
|
|
1259
1259
|
|
|
1260
1260
|
|
|
1261
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
|
+
|
|
1262
1328
|
class Bundle(AbstractModel):
|
|
1263
1329
|
r"""套餐信息。
|
|
1264
1330
|
|
|
@@ -4521,6 +4587,163 @@ class DescribeBlueprintsResponse(AbstractModel):
|
|
|
4521
4587
|
self._RequestId = params.get("RequestId")
|
|
4522
4588
|
|
|
4523
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
|
+
|
|
4524
4747
|
class DescribeBundleDiscountRequest(AbstractModel):
|
|
4525
4748
|
r"""DescribeBundleDiscount请求参数结构体
|
|
4526
4749
|
|
|
@@ -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=wyFxTQWhUZn3TAsw0d25wT6laX3ANFN0R-MBWO9dyqU,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=qCz87p1zHYklXG5Iqbu5M7PbwyQSFt_O253SX2OQhhw,138004
|
|
6
|
-
tencentcloud/lighthouse/v20200324/lighthouse_client_async.py,sha256=lQ4ZHLwA0RW6TRKFlwc9kBstWyN6Bo7ZoMYEpDIZjGc,100535
|
|
7
|
-
tencentcloud/lighthouse/v20200324/models.py,sha256=_2lU3x5ThZoYexF0izylYX9TpcFexgKoShRRbqBMbqM,718573
|
|
8
|
-
tencentcloud_sdk_python_lighthouse-3.1.102.dist-info/METADATA,sha256=EdfqLTnBc35GhoaGGynnkDFPJK2c94uSaCostFemvY8,1532
|
|
9
|
-
tencentcloud_sdk_python_lighthouse-3.1.102.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_lighthouse-3.1.102.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_lighthouse-3.1.102.dist-info/RECORD,,
|
|
File without changes
|