tencentcloud-sdk-python-lighthouse 3.1.107__tar.gz → 3.1.147__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.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/setup.py +1 -1
  3. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud/lighthouse/v20200324/lighthouse_client.py +23 -0
  6. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +18 -0
  7. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud/lighthouse/v20200324/models.py +441 -0
  8. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud_sdk_python_lighthouse.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_lighthouse-3.1.147/tencentcloud_sdk_python_lighthouse.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_lighthouse-3.1.107/tencentcloud_sdk_python_lighthouse.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/README.rst +0 -0
  12. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud/lighthouse/__init__.py +0 -0
  14. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud/lighthouse/v20200324/__init__.py +0 -0
  15. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud_sdk_python_lighthouse.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/tencentcloud_sdk_python_lighthouse.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_lighthouse-3.1.107 → tencentcloud_sdk_python_lighthouse-3.1.147}/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.107
3
+ Version: 3.1.147
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.107
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.147
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.107,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.147,<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.107'
17
+ __version__ = '3.1.147'
@@ -47,6 +47,9 @@ FAILEDOPERATION_DELETEKEYPAIRFAILED = 'FailedOperation.DeleteKeyPairFailed'
47
47
  # 资源删除操作失败。
48
48
  FAILEDOPERATION_DELETERESOURCESFAILED = 'FailedOperation.DeleteResourcesFailed'
49
49
 
50
+ # 查询镜像套餐失败,请稍后重新操作。
51
+ FAILEDOPERATION_DESCRIBEBLUEPRINTBUNDLESFAILED = 'FailedOperation.DescribeBlueprintBundlesFailed'
52
+
50
53
  # 查询镜像配额失败。
51
54
  FAILEDOPERATION_DESCRIBEBLUEPRINTQUOTAFAILED = 'FailedOperation.DescribeBlueprintQuotaFailed'
52
55
 
@@ -644,6 +644,29 @@ class LighthouseClient(AbstractClient):
644
644
  raise TencentCloudSDKException(type(e).__name__, str(e))
645
645
 
646
646
 
647
+ def DescribeBlueprintBundles(self, request):
648
+ r"""本接口(DescribeBlueprintBundles)用于查询镜像所对应的套餐。当前仅支持查询镜像类型为游戏专区的镜像ID。
649
+
650
+ :param request: Request instance for DescribeBlueprintBundles.
651
+ :type request: :class:`tencentcloud.lighthouse.v20200324.models.DescribeBlueprintBundlesRequest`
652
+ :rtype: :class:`tencentcloud.lighthouse.v20200324.models.DescribeBlueprintBundlesResponse`
653
+
654
+ """
655
+ try:
656
+ params = request._serialize()
657
+ headers = request.headers
658
+ body = self.call("DescribeBlueprintBundles", params, headers=headers)
659
+ response = json.loads(body)
660
+ model = models.DescribeBlueprintBundlesResponse()
661
+ model._deserialize(response["Response"])
662
+ return model
663
+ except Exception as e:
664
+ if isinstance(e, TencentCloudSDKException):
665
+ raise
666
+ else:
667
+ raise TencentCloudSDKException(type(e).__name__, str(e))
668
+
669
+
647
670
  def DescribeBlueprintInstances(self, request):
648
671
  r"""本接口(DescribeBlueprintInstances)用于查询镜像实例信息。
649
672
 
@@ -518,6 +518,24 @@ class LighthouseClient(AbstractClient):
518
518
 
519
519
  return await self.call_and_deserialize(**kwargs)
520
520
 
521
+ async def DescribeBlueprintBundles(
522
+ self,
523
+ request: models.DescribeBlueprintBundlesRequest,
524
+ opts: Dict = None,
525
+ ) -> models.DescribeBlueprintBundlesResponse:
526
+ """
527
+ 本接口(DescribeBlueprintBundles)用于查询镜像所对应的套餐。当前仅支持查询镜像类型为游戏专区的镜像ID。
528
+ """
529
+
530
+ kwargs = {}
531
+ kwargs["action"] = "DescribeBlueprintBundles"
532
+ kwargs["params"] = request._serialize()
533
+ kwargs["resp_cls"] = models.DescribeBlueprintBundlesResponse
534
+ kwargs["headers"] = request.headers
535
+ kwargs["opts"] = opts or {}
536
+
537
+ return await self.call_and_deserialize(**kwargs)
538
+
521
539
  async def DescribeBlueprintInstances(
522
540
  self,
523
541
  request: models.DescribeBlueprintInstancesRequest,
@@ -1105,6 +1105,303 @@ NORMAL(正常)、SYNCING(同步中)、OFFLINE(下线)、CREATEFAILED
1105
1105
 
1106
1106
 
1107
1107
 
1108
+ class BlueprintBundle(AbstractModel):
1109
+ r"""镜像套餐详细信息。
1110
+
1111
+ """
1112
+
1113
+ def __init__(self):
1114
+ r"""
1115
+ :param _BundleId: 套餐ID。可以通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回的BundleId获取。
1116
+ :type BundleId: str
1117
+ :param _SupportLinuxUnixPlatform: 是否支持 Linux/Unix 平台。
1118
+ :type SupportLinuxUnixPlatform: bool
1119
+ :param _SupportWindowsPlatform: 是否支持 Windows 平台。
1120
+ :type SupportWindowsPlatform: bool
1121
+ :param _Price: 套餐当前单位价格信息。
1122
+ :type Price: :class:`tencentcloud.lighthouse.v20200324.models.Price`
1123
+ :param _BundleSalesState: 套餐售卖状态,取值:‘AVAILABLE’(可用) , ‘SOLD_OUT’(售罄)。
1124
+ :type BundleSalesState: str
1125
+ :param _BundleType: 套餐类型。
1126
+ :type BundleType: str
1127
+ :param _BundleTypeDescription: 套餐类型描述信息。
1128
+ :type BundleTypeDescription: str
1129
+ :param _BundleTypePriority: 套餐类型权重。取值越小排序越靠前。
1130
+ :type BundleTypePriority: int
1131
+ :param _BundleDisplayLabel: 套餐展示标签。
1132
+ :type BundleDisplayLabel: str
1133
+ :param _SupportSlot: 支持人数。
1134
+ :type SupportSlot: int
1135
+ :param _Memory: 内存大小,单位 GB。
1136
+ :type Memory: int
1137
+ :param _SystemDiskType: 系统盘类型。
1138
+ 取值范围:
1139
+ <li> CLOUD_SSD:SSD 云硬盘</li><li> CLOUD_PREMIUM:高性能云硬盘</li>
1140
+ :type SystemDiskType: str
1141
+ :param _SystemDiskSize: 系统盘大小。单位GB。
1142
+ :type SystemDiskSize: int
1143
+ :param _MonthlyTraffic: 每月网络流量,单位 GB。
1144
+ :type MonthlyTraffic: int
1145
+ :param _CPU: CPU 核数。
1146
+ :type CPU: int
1147
+ :param _InternetMaxBandwidthOut: 峰值带宽,单位 Mbps。
1148
+ :type InternetMaxBandwidthOut: int
1149
+ :param _InternetChargeType: 网络计费类型。
1150
+ :type InternetChargeType: str
1151
+ :param _TrafficUnlimited: 流量是否无上限。
1152
+ :type TrafficUnlimited: bool
1153
+ """
1154
+ self._BundleId = None
1155
+ self._SupportLinuxUnixPlatform = None
1156
+ self._SupportWindowsPlatform = None
1157
+ self._Price = None
1158
+ self._BundleSalesState = None
1159
+ self._BundleType = None
1160
+ self._BundleTypeDescription = None
1161
+ self._BundleTypePriority = None
1162
+ self._BundleDisplayLabel = None
1163
+ self._SupportSlot = None
1164
+ self._Memory = None
1165
+ self._SystemDiskType = None
1166
+ self._SystemDiskSize = None
1167
+ self._MonthlyTraffic = None
1168
+ self._CPU = None
1169
+ self._InternetMaxBandwidthOut = None
1170
+ self._InternetChargeType = None
1171
+ self._TrafficUnlimited = None
1172
+
1173
+ @property
1174
+ def BundleId(self):
1175
+ r"""套餐ID。可以通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回的BundleId获取。
1176
+ :rtype: str
1177
+ """
1178
+ return self._BundleId
1179
+
1180
+ @BundleId.setter
1181
+ def BundleId(self, BundleId):
1182
+ self._BundleId = BundleId
1183
+
1184
+ @property
1185
+ def SupportLinuxUnixPlatform(self):
1186
+ r"""是否支持 Linux/Unix 平台。
1187
+ :rtype: bool
1188
+ """
1189
+ return self._SupportLinuxUnixPlatform
1190
+
1191
+ @SupportLinuxUnixPlatform.setter
1192
+ def SupportLinuxUnixPlatform(self, SupportLinuxUnixPlatform):
1193
+ self._SupportLinuxUnixPlatform = SupportLinuxUnixPlatform
1194
+
1195
+ @property
1196
+ def SupportWindowsPlatform(self):
1197
+ r"""是否支持 Windows 平台。
1198
+ :rtype: bool
1199
+ """
1200
+ return self._SupportWindowsPlatform
1201
+
1202
+ @SupportWindowsPlatform.setter
1203
+ def SupportWindowsPlatform(self, SupportWindowsPlatform):
1204
+ self._SupportWindowsPlatform = SupportWindowsPlatform
1205
+
1206
+ @property
1207
+ def Price(self):
1208
+ r"""套餐当前单位价格信息。
1209
+ :rtype: :class:`tencentcloud.lighthouse.v20200324.models.Price`
1210
+ """
1211
+ return self._Price
1212
+
1213
+ @Price.setter
1214
+ def Price(self, Price):
1215
+ self._Price = Price
1216
+
1217
+ @property
1218
+ def BundleSalesState(self):
1219
+ r"""套餐售卖状态,取值:‘AVAILABLE’(可用) , ‘SOLD_OUT’(售罄)。
1220
+ :rtype: str
1221
+ """
1222
+ return self._BundleSalesState
1223
+
1224
+ @BundleSalesState.setter
1225
+ def BundleSalesState(self, BundleSalesState):
1226
+ self._BundleSalesState = BundleSalesState
1227
+
1228
+ @property
1229
+ def BundleType(self):
1230
+ r"""套餐类型。
1231
+ :rtype: str
1232
+ """
1233
+ return self._BundleType
1234
+
1235
+ @BundleType.setter
1236
+ def BundleType(self, BundleType):
1237
+ self._BundleType = BundleType
1238
+
1239
+ @property
1240
+ def BundleTypeDescription(self):
1241
+ r"""套餐类型描述信息。
1242
+ :rtype: str
1243
+ """
1244
+ return self._BundleTypeDescription
1245
+
1246
+ @BundleTypeDescription.setter
1247
+ def BundleTypeDescription(self, BundleTypeDescription):
1248
+ self._BundleTypeDescription = BundleTypeDescription
1249
+
1250
+ @property
1251
+ def BundleTypePriority(self):
1252
+ r"""套餐类型权重。取值越小排序越靠前。
1253
+ :rtype: int
1254
+ """
1255
+ return self._BundleTypePriority
1256
+
1257
+ @BundleTypePriority.setter
1258
+ def BundleTypePriority(self, BundleTypePriority):
1259
+ self._BundleTypePriority = BundleTypePriority
1260
+
1261
+ @property
1262
+ def BundleDisplayLabel(self):
1263
+ r"""套餐展示标签。
1264
+ :rtype: str
1265
+ """
1266
+ return self._BundleDisplayLabel
1267
+
1268
+ @BundleDisplayLabel.setter
1269
+ def BundleDisplayLabel(self, BundleDisplayLabel):
1270
+ self._BundleDisplayLabel = BundleDisplayLabel
1271
+
1272
+ @property
1273
+ def SupportSlot(self):
1274
+ r"""支持人数。
1275
+ :rtype: int
1276
+ """
1277
+ return self._SupportSlot
1278
+
1279
+ @SupportSlot.setter
1280
+ def SupportSlot(self, SupportSlot):
1281
+ self._SupportSlot = SupportSlot
1282
+
1283
+ @property
1284
+ def Memory(self):
1285
+ r"""内存大小,单位 GB。
1286
+ :rtype: int
1287
+ """
1288
+ return self._Memory
1289
+
1290
+ @Memory.setter
1291
+ def Memory(self, Memory):
1292
+ self._Memory = Memory
1293
+
1294
+ @property
1295
+ def SystemDiskType(self):
1296
+ r"""系统盘类型。
1297
+ 取值范围:
1298
+ <li> CLOUD_SSD:SSD 云硬盘</li><li> CLOUD_PREMIUM:高性能云硬盘</li>
1299
+ :rtype: str
1300
+ """
1301
+ return self._SystemDiskType
1302
+
1303
+ @SystemDiskType.setter
1304
+ def SystemDiskType(self, SystemDiskType):
1305
+ self._SystemDiskType = SystemDiskType
1306
+
1307
+ @property
1308
+ def SystemDiskSize(self):
1309
+ r"""系统盘大小。单位GB。
1310
+ :rtype: int
1311
+ """
1312
+ return self._SystemDiskSize
1313
+
1314
+ @SystemDiskSize.setter
1315
+ def SystemDiskSize(self, SystemDiskSize):
1316
+ self._SystemDiskSize = SystemDiskSize
1317
+
1318
+ @property
1319
+ def MonthlyTraffic(self):
1320
+ r"""每月网络流量,单位 GB。
1321
+ :rtype: int
1322
+ """
1323
+ return self._MonthlyTraffic
1324
+
1325
+ @MonthlyTraffic.setter
1326
+ def MonthlyTraffic(self, MonthlyTraffic):
1327
+ self._MonthlyTraffic = MonthlyTraffic
1328
+
1329
+ @property
1330
+ def CPU(self):
1331
+ r"""CPU 核数。
1332
+ :rtype: int
1333
+ """
1334
+ return self._CPU
1335
+
1336
+ @CPU.setter
1337
+ def CPU(self, CPU):
1338
+ self._CPU = CPU
1339
+
1340
+ @property
1341
+ def InternetMaxBandwidthOut(self):
1342
+ r"""峰值带宽,单位 Mbps。
1343
+ :rtype: int
1344
+ """
1345
+ return self._InternetMaxBandwidthOut
1346
+
1347
+ @InternetMaxBandwidthOut.setter
1348
+ def InternetMaxBandwidthOut(self, InternetMaxBandwidthOut):
1349
+ self._InternetMaxBandwidthOut = InternetMaxBandwidthOut
1350
+
1351
+ @property
1352
+ def InternetChargeType(self):
1353
+ r"""网络计费类型。
1354
+ :rtype: str
1355
+ """
1356
+ return self._InternetChargeType
1357
+
1358
+ @InternetChargeType.setter
1359
+ def InternetChargeType(self, InternetChargeType):
1360
+ self._InternetChargeType = InternetChargeType
1361
+
1362
+ @property
1363
+ def TrafficUnlimited(self):
1364
+ r"""流量是否无上限。
1365
+ :rtype: bool
1366
+ """
1367
+ return self._TrafficUnlimited
1368
+
1369
+ @TrafficUnlimited.setter
1370
+ def TrafficUnlimited(self, TrafficUnlimited):
1371
+ self._TrafficUnlimited = TrafficUnlimited
1372
+
1373
+
1374
+ def _deserialize(self, params):
1375
+ self._BundleId = params.get("BundleId")
1376
+ self._SupportLinuxUnixPlatform = params.get("SupportLinuxUnixPlatform")
1377
+ self._SupportWindowsPlatform = params.get("SupportWindowsPlatform")
1378
+ if params.get("Price") is not None:
1379
+ self._Price = Price()
1380
+ self._Price._deserialize(params.get("Price"))
1381
+ self._BundleSalesState = params.get("BundleSalesState")
1382
+ self._BundleType = params.get("BundleType")
1383
+ self._BundleTypeDescription = params.get("BundleTypeDescription")
1384
+ self._BundleTypePriority = params.get("BundleTypePriority")
1385
+ self._BundleDisplayLabel = params.get("BundleDisplayLabel")
1386
+ self._SupportSlot = params.get("SupportSlot")
1387
+ self._Memory = params.get("Memory")
1388
+ self._SystemDiskType = params.get("SystemDiskType")
1389
+ self._SystemDiskSize = params.get("SystemDiskSize")
1390
+ self._MonthlyTraffic = params.get("MonthlyTraffic")
1391
+ self._CPU = params.get("CPU")
1392
+ self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
1393
+ self._InternetChargeType = params.get("InternetChargeType")
1394
+ self._TrafficUnlimited = params.get("TrafficUnlimited")
1395
+ memeber_set = set(params.keys())
1396
+ for name, value in vars(self).items():
1397
+ property_name = name[1:]
1398
+ if property_name in memeber_set:
1399
+ memeber_set.remove(property_name)
1400
+ if len(memeber_set) > 0:
1401
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1402
+
1403
+
1404
+
1108
1405
  class BlueprintInstance(AbstractModel):
1109
1406
  r"""描述镜像实例信息。
1110
1407
 
@@ -4279,6 +4576,150 @@ class DescribeAllScenesResponse(AbstractModel):
4279
4576
  self._RequestId = params.get("RequestId")
4280
4577
 
4281
4578
 
4579
+ class DescribeBlueprintBundlesRequest(AbstractModel):
4580
+ r"""DescribeBlueprintBundles请求参数结构体
4581
+
4582
+ """
4583
+
4584
+ def __init__(self):
4585
+ r"""
4586
+ :param _BlueprintId: 镜像ID。可以通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回的BlueprintId获取。当前仅支持传入镜像类型为游戏专区(“GAME_PORTAL”)的镜像Id。
4587
+ :type BlueprintId: str
4588
+ :param _BundleIds: 套餐ID列表。可以通过DescribeBlueprintBundles接口返回的BundleId获取。
4589
+ :type BundleIds: list of str
4590
+ :param _Limit: 返回数量,默认为 20,最大值为 100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。
4591
+ :type Limit: int
4592
+ :param _Offset: 偏移量,默认为 0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。
4593
+ :type Offset: int
4594
+ """
4595
+ self._BlueprintId = None
4596
+ self._BundleIds = None
4597
+ self._Limit = None
4598
+ self._Offset = None
4599
+
4600
+ @property
4601
+ def BlueprintId(self):
4602
+ r"""镜像ID。可以通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回的BlueprintId获取。当前仅支持传入镜像类型为游戏专区(“GAME_PORTAL”)的镜像Id。
4603
+ :rtype: str
4604
+ """
4605
+ return self._BlueprintId
4606
+
4607
+ @BlueprintId.setter
4608
+ def BlueprintId(self, BlueprintId):
4609
+ self._BlueprintId = BlueprintId
4610
+
4611
+ @property
4612
+ def BundleIds(self):
4613
+ r"""套餐ID列表。可以通过DescribeBlueprintBundles接口返回的BundleId获取。
4614
+ :rtype: list of str
4615
+ """
4616
+ return self._BundleIds
4617
+
4618
+ @BundleIds.setter
4619
+ def BundleIds(self, BundleIds):
4620
+ self._BundleIds = BundleIds
4621
+
4622
+ @property
4623
+ def Limit(self):
4624
+ r"""返回数量,默认为 20,最大值为 100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。
4625
+ :rtype: int
4626
+ """
4627
+ return self._Limit
4628
+
4629
+ @Limit.setter
4630
+ def Limit(self, Limit):
4631
+ self._Limit = Limit
4632
+
4633
+ @property
4634
+ def Offset(self):
4635
+ r"""偏移量,默认为 0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。
4636
+ :rtype: int
4637
+ """
4638
+ return self._Offset
4639
+
4640
+ @Offset.setter
4641
+ def Offset(self, Offset):
4642
+ self._Offset = Offset
4643
+
4644
+
4645
+ def _deserialize(self, params):
4646
+ self._BlueprintId = params.get("BlueprintId")
4647
+ self._BundleIds = params.get("BundleIds")
4648
+ self._Limit = params.get("Limit")
4649
+ self._Offset = params.get("Offset")
4650
+ memeber_set = set(params.keys())
4651
+ for name, value in vars(self).items():
4652
+ property_name = name[1:]
4653
+ if property_name in memeber_set:
4654
+ memeber_set.remove(property_name)
4655
+ if len(memeber_set) > 0:
4656
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4657
+
4658
+
4659
+
4660
+ class DescribeBlueprintBundlesResponse(AbstractModel):
4661
+ r"""DescribeBlueprintBundles返回参数结构体
4662
+
4663
+ """
4664
+
4665
+ def __init__(self):
4666
+ r"""
4667
+ :param _BlueprintBundleSet: 镜像套餐详细信息列表。
4668
+ :type BlueprintBundleSet: list of BlueprintBundle
4669
+ :param _TotalCount: 符合要求的套餐总数,用于分页展示。
4670
+ :type TotalCount: int
4671
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4672
+ :type RequestId: str
4673
+ """
4674
+ self._BlueprintBundleSet = None
4675
+ self._TotalCount = None
4676
+ self._RequestId = None
4677
+
4678
+ @property
4679
+ def BlueprintBundleSet(self):
4680
+ r"""镜像套餐详细信息列表。
4681
+ :rtype: list of BlueprintBundle
4682
+ """
4683
+ return self._BlueprintBundleSet
4684
+
4685
+ @BlueprintBundleSet.setter
4686
+ def BlueprintBundleSet(self, BlueprintBundleSet):
4687
+ self._BlueprintBundleSet = BlueprintBundleSet
4688
+
4689
+ @property
4690
+ def TotalCount(self):
4691
+ r"""符合要求的套餐总数,用于分页展示。
4692
+ :rtype: int
4693
+ """
4694
+ return self._TotalCount
4695
+
4696
+ @TotalCount.setter
4697
+ def TotalCount(self, TotalCount):
4698
+ self._TotalCount = TotalCount
4699
+
4700
+ @property
4701
+ def RequestId(self):
4702
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4703
+ :rtype: str
4704
+ """
4705
+ return self._RequestId
4706
+
4707
+ @RequestId.setter
4708
+ def RequestId(self, RequestId):
4709
+ self._RequestId = RequestId
4710
+
4711
+
4712
+ def _deserialize(self, params):
4713
+ if params.get("BlueprintBundleSet") is not None:
4714
+ self._BlueprintBundleSet = []
4715
+ for item in params.get("BlueprintBundleSet"):
4716
+ obj = BlueprintBundle()
4717
+ obj._deserialize(item)
4718
+ self._BlueprintBundleSet.append(obj)
4719
+ self._TotalCount = params.get("TotalCount")
4720
+ self._RequestId = params.get("RequestId")
4721
+
4722
+
4282
4723
  class DescribeBlueprintInstancesRequest(AbstractModel):
4283
4724
  r"""DescribeBlueprintInstances请求参数结构体
4284
4725
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-lighthouse
3
- Version: 3.1.107
3
+ Version: 3.1.147
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.107
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.147
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.147
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.107