tencentcloud-sdk-python 3.0.1174__py2.py3-none-any.whl → 3.0.1175__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/asr/v20190614/asr_client.py +23 -0
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +317 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +225 -0
- tencentcloud/ess/v20201111/models.py +4 -0
- tencentcloud/essbasic/v20210526/models.py +8 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +184 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +15 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +11 -8
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +69 -0
- tencentcloud/lke/v20231130/models.py +605 -5
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +427 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/trocket/v20230308/models.py +290 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +25 -5
- tencentcloud/tsi/__init__.py +0 -0
- tencentcloud/tsi/v20210325/__init__.py +0 -0
- tencentcloud/tsi/v20210325/errorcodes.py +33 -0
- tencentcloud/tsi/v20210325/models.py +547 -0
- tencentcloud/tsi/v20210325/tsi_client.py +95 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +26 -2
- tencentcloud/vpc/v20170312/vpc_client.py +4 -4
- tencentcloud/waf/v20180125/models.py +108 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/RECORD +37 -32
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/top_level.txt +0 -0
@@ -8235,6 +8235,131 @@ class DataEngineInfo(AbstractModel):
|
|
8235
8235
|
|
8236
8236
|
|
8237
8237
|
|
8238
|
+
class DataEngineScaleInfo(AbstractModel):
|
8239
|
+
"""引擎规格详情
|
8240
|
+
|
8241
|
+
"""
|
8242
|
+
|
8243
|
+
def __init__(self):
|
8244
|
+
r"""
|
8245
|
+
:param _DataEngineId: 引擎ID
|
8246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8247
|
+
:type DataEngineId: str
|
8248
|
+
:param _DataEngineName: 引擎名称
|
8249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8250
|
+
:type DataEngineName: str
|
8251
|
+
:param _ScaleDetail: 引擎规格详情
|
8252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8253
|
+
:type ScaleDetail: list of DataEngineScaleInfoDetail
|
8254
|
+
"""
|
8255
|
+
self._DataEngineId = None
|
8256
|
+
self._DataEngineName = None
|
8257
|
+
self._ScaleDetail = None
|
8258
|
+
|
8259
|
+
@property
|
8260
|
+
def DataEngineId(self):
|
8261
|
+
return self._DataEngineId
|
8262
|
+
|
8263
|
+
@DataEngineId.setter
|
8264
|
+
def DataEngineId(self, DataEngineId):
|
8265
|
+
self._DataEngineId = DataEngineId
|
8266
|
+
|
8267
|
+
@property
|
8268
|
+
def DataEngineName(self):
|
8269
|
+
return self._DataEngineName
|
8270
|
+
|
8271
|
+
@DataEngineName.setter
|
8272
|
+
def DataEngineName(self, DataEngineName):
|
8273
|
+
self._DataEngineName = DataEngineName
|
8274
|
+
|
8275
|
+
@property
|
8276
|
+
def ScaleDetail(self):
|
8277
|
+
return self._ScaleDetail
|
8278
|
+
|
8279
|
+
@ScaleDetail.setter
|
8280
|
+
def ScaleDetail(self, ScaleDetail):
|
8281
|
+
self._ScaleDetail = ScaleDetail
|
8282
|
+
|
8283
|
+
|
8284
|
+
def _deserialize(self, params):
|
8285
|
+
self._DataEngineId = params.get("DataEngineId")
|
8286
|
+
self._DataEngineName = params.get("DataEngineName")
|
8287
|
+
if params.get("ScaleDetail") is not None:
|
8288
|
+
self._ScaleDetail = []
|
8289
|
+
for item in params.get("ScaleDetail"):
|
8290
|
+
obj = DataEngineScaleInfoDetail()
|
8291
|
+
obj._deserialize(item)
|
8292
|
+
self._ScaleDetail.append(obj)
|
8293
|
+
memeber_set = set(params.keys())
|
8294
|
+
for name, value in vars(self).items():
|
8295
|
+
property_name = name[1:]
|
8296
|
+
if property_name in memeber_set:
|
8297
|
+
memeber_set.remove(property_name)
|
8298
|
+
if len(memeber_set) > 0:
|
8299
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8300
|
+
|
8301
|
+
|
8302
|
+
|
8303
|
+
class DataEngineScaleInfoDetail(AbstractModel):
|
8304
|
+
"""引擎规格详情
|
8305
|
+
|
8306
|
+
"""
|
8307
|
+
|
8308
|
+
def __init__(self):
|
8309
|
+
r"""
|
8310
|
+
:param _StartTime: 统计开始时间,格式为:yyyy-MM-dd HH:mm:ss
|
8311
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8312
|
+
:type StartTime: str
|
8313
|
+
:param _EndTime: 统计结束时间,格式为:yyyy-MM-dd HH:mm:ss
|
8314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8315
|
+
:type EndTime: str
|
8316
|
+
:param _CU: 当前统计时间段,引擎规格
|
8317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8318
|
+
:type CU: int
|
8319
|
+
"""
|
8320
|
+
self._StartTime = None
|
8321
|
+
self._EndTime = None
|
8322
|
+
self._CU = None
|
8323
|
+
|
8324
|
+
@property
|
8325
|
+
def StartTime(self):
|
8326
|
+
return self._StartTime
|
8327
|
+
|
8328
|
+
@StartTime.setter
|
8329
|
+
def StartTime(self, StartTime):
|
8330
|
+
self._StartTime = StartTime
|
8331
|
+
|
8332
|
+
@property
|
8333
|
+
def EndTime(self):
|
8334
|
+
return self._EndTime
|
8335
|
+
|
8336
|
+
@EndTime.setter
|
8337
|
+
def EndTime(self, EndTime):
|
8338
|
+
self._EndTime = EndTime
|
8339
|
+
|
8340
|
+
@property
|
8341
|
+
def CU(self):
|
8342
|
+
return self._CU
|
8343
|
+
|
8344
|
+
@CU.setter
|
8345
|
+
def CU(self, CU):
|
8346
|
+
self._CU = CU
|
8347
|
+
|
8348
|
+
|
8349
|
+
def _deserialize(self, params):
|
8350
|
+
self._StartTime = params.get("StartTime")
|
8351
|
+
self._EndTime = params.get("EndTime")
|
8352
|
+
self._CU = params.get("CU")
|
8353
|
+
memeber_set = set(params.keys())
|
8354
|
+
for name, value in vars(self).items():
|
8355
|
+
property_name = name[1:]
|
8356
|
+
if property_name in memeber_set:
|
8357
|
+
memeber_set.remove(property_name)
|
8358
|
+
if len(memeber_set) > 0:
|
8359
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8360
|
+
|
8361
|
+
|
8362
|
+
|
8238
8363
|
class DataFormat(AbstractModel):
|
8239
8364
|
"""数据表数据格式。
|
8240
8365
|
|
@@ -11559,6 +11684,106 @@ class DescribeDataEnginesResponse(AbstractModel):
|
|
11559
11684
|
self._RequestId = params.get("RequestId")
|
11560
11685
|
|
11561
11686
|
|
11687
|
+
class DescribeDataEnginesScaleDetailRequest(AbstractModel):
|
11688
|
+
"""DescribeDataEnginesScaleDetail请求参数结构体
|
11689
|
+
|
11690
|
+
"""
|
11691
|
+
|
11692
|
+
def __init__(self):
|
11693
|
+
r"""
|
11694
|
+
:param _DataEngineNames: 引擎名称列表
|
11695
|
+
:type DataEngineNames: list of str
|
11696
|
+
:param _StartTime: 开始时间,时间格式:yyyy-MM-dd HH:mm:ss,最长查询一个月内的记录
|
11697
|
+
:type StartTime: str
|
11698
|
+
:param _EndTime: 结束时间,时间格式:yyyy-MM-dd HH:mm:ss,最长查询一个月内的记录
|
11699
|
+
:type EndTime: str
|
11700
|
+
"""
|
11701
|
+
self._DataEngineNames = None
|
11702
|
+
self._StartTime = None
|
11703
|
+
self._EndTime = None
|
11704
|
+
|
11705
|
+
@property
|
11706
|
+
def DataEngineNames(self):
|
11707
|
+
return self._DataEngineNames
|
11708
|
+
|
11709
|
+
@DataEngineNames.setter
|
11710
|
+
def DataEngineNames(self, DataEngineNames):
|
11711
|
+
self._DataEngineNames = DataEngineNames
|
11712
|
+
|
11713
|
+
@property
|
11714
|
+
def StartTime(self):
|
11715
|
+
return self._StartTime
|
11716
|
+
|
11717
|
+
@StartTime.setter
|
11718
|
+
def StartTime(self, StartTime):
|
11719
|
+
self._StartTime = StartTime
|
11720
|
+
|
11721
|
+
@property
|
11722
|
+
def EndTime(self):
|
11723
|
+
return self._EndTime
|
11724
|
+
|
11725
|
+
@EndTime.setter
|
11726
|
+
def EndTime(self, EndTime):
|
11727
|
+
self._EndTime = EndTime
|
11728
|
+
|
11729
|
+
|
11730
|
+
def _deserialize(self, params):
|
11731
|
+
self._DataEngineNames = params.get("DataEngineNames")
|
11732
|
+
self._StartTime = params.get("StartTime")
|
11733
|
+
self._EndTime = params.get("EndTime")
|
11734
|
+
memeber_set = set(params.keys())
|
11735
|
+
for name, value in vars(self).items():
|
11736
|
+
property_name = name[1:]
|
11737
|
+
if property_name in memeber_set:
|
11738
|
+
memeber_set.remove(property_name)
|
11739
|
+
if len(memeber_set) > 0:
|
11740
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11741
|
+
|
11742
|
+
|
11743
|
+
|
11744
|
+
class DescribeDataEnginesScaleDetailResponse(AbstractModel):
|
11745
|
+
"""DescribeDataEnginesScaleDetail返回参数结构体
|
11746
|
+
|
11747
|
+
"""
|
11748
|
+
|
11749
|
+
def __init__(self):
|
11750
|
+
r"""
|
11751
|
+
:param _Scales: 引擎规格统计详细信息
|
11752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11753
|
+
:type Scales: list of DataEngineScaleInfo
|
11754
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11755
|
+
:type RequestId: str
|
11756
|
+
"""
|
11757
|
+
self._Scales = None
|
11758
|
+
self._RequestId = None
|
11759
|
+
|
11760
|
+
@property
|
11761
|
+
def Scales(self):
|
11762
|
+
return self._Scales
|
11763
|
+
|
11764
|
+
@Scales.setter
|
11765
|
+
def Scales(self, Scales):
|
11766
|
+
self._Scales = Scales
|
11767
|
+
|
11768
|
+
@property
|
11769
|
+
def RequestId(self):
|
11770
|
+
return self._RequestId
|
11771
|
+
|
11772
|
+
@RequestId.setter
|
11773
|
+
def RequestId(self, RequestId):
|
11774
|
+
self._RequestId = RequestId
|
11775
|
+
|
11776
|
+
|
11777
|
+
def _deserialize(self, params):
|
11778
|
+
if params.get("Scales") is not None:
|
11779
|
+
self._Scales = []
|
11780
|
+
for item in params.get("Scales"):
|
11781
|
+
obj = DataEngineScaleInfo()
|
11782
|
+
obj._deserialize(item)
|
11783
|
+
self._Scales.append(obj)
|
11784
|
+
self._RequestId = params.get("RequestId")
|
11785
|
+
|
11786
|
+
|
11562
11787
|
class DescribeDatabasesRequest(AbstractModel):
|
11563
11788
|
"""DescribeDatabases请求参数结构体
|
11564
11789
|
|
@@ -7069,10 +7069,14 @@ class CreateLegalSealQrCodeRequest(AbstractModel):
|
|
7069
7069
|
|
7070
7070
|
@property
|
7071
7071
|
def Organization(self):
|
7072
|
+
warnings.warn("parameter `Organization` is deprecated", DeprecationWarning)
|
7073
|
+
|
7072
7074
|
return self._Organization
|
7073
7075
|
|
7074
7076
|
@Organization.setter
|
7075
7077
|
def Organization(self, Organization):
|
7078
|
+
warnings.warn("parameter `Organization` is deprecated", DeprecationWarning)
|
7079
|
+
|
7076
7080
|
self._Organization = Organization
|
7077
7081
|
|
7078
7082
|
|
@@ -10974,18 +10974,26 @@ class CreateLegalSealQrCodeRequest(AbstractModel):
|
|
10974
10974
|
|
10975
10975
|
@property
|
10976
10976
|
def Operator(self):
|
10977
|
+
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
10978
|
+
|
10977
10979
|
return self._Operator
|
10978
10980
|
|
10979
10981
|
@Operator.setter
|
10980
10982
|
def Operator(self, Operator):
|
10983
|
+
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
10984
|
+
|
10981
10985
|
self._Operator = Operator
|
10982
10986
|
|
10983
10987
|
@property
|
10984
10988
|
def Organization(self):
|
10989
|
+
warnings.warn("parameter `Organization` is deprecated", DeprecationWarning)
|
10990
|
+
|
10985
10991
|
return self._Organization
|
10986
10992
|
|
10987
10993
|
@Organization.setter
|
10988
10994
|
def Organization(self, Organization):
|
10995
|
+
warnings.warn("parameter `Organization` is deprecated", DeprecationWarning)
|
10996
|
+
|
10989
10997
|
self._Organization = Organization
|
10990
10998
|
|
10991
10999
|
|
@@ -1475,6 +1475,29 @@ class IotexplorerClient(AbstractClient):
|
|
1475
1475
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1476
1476
|
|
1477
1477
|
|
1478
|
+
def DescribeFirmware(self, request):
|
1479
|
+
"""查询固件信息
|
1480
|
+
|
1481
|
+
:param request: Request instance for DescribeFirmware.
|
1482
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeFirmwareRequest`
|
1483
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeFirmwareResponse`
|
1484
|
+
|
1485
|
+
"""
|
1486
|
+
try:
|
1487
|
+
params = request._serialize()
|
1488
|
+
headers = request.headers
|
1489
|
+
body = self.call("DescribeFirmware", params, headers=headers)
|
1490
|
+
response = json.loads(body)
|
1491
|
+
model = models.DescribeFirmwareResponse()
|
1492
|
+
model._deserialize(response["Response"])
|
1493
|
+
return model
|
1494
|
+
except Exception as e:
|
1495
|
+
if isinstance(e, TencentCloudSDKException):
|
1496
|
+
raise
|
1497
|
+
else:
|
1498
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1499
|
+
|
1500
|
+
|
1478
1501
|
def DescribeFirmwareTask(self, request):
|
1479
1502
|
"""查询固件升级任务列表
|
1480
1503
|
|
@@ -7812,6 +7812,190 @@ class DescribeFenceEventListResponse(AbstractModel):
|
|
7812
7812
|
self._RequestId = params.get("RequestId")
|
7813
7813
|
|
7814
7814
|
|
7815
|
+
class DescribeFirmwareRequest(AbstractModel):
|
7816
|
+
"""DescribeFirmware请求参数结构体
|
7817
|
+
|
7818
|
+
"""
|
7819
|
+
|
7820
|
+
def __init__(self):
|
7821
|
+
r"""
|
7822
|
+
:param _ProductID: 产品ID
|
7823
|
+
:type ProductID: str
|
7824
|
+
:param _FirmwareVersion: 固件版本号
|
7825
|
+
:type FirmwareVersion: str
|
7826
|
+
"""
|
7827
|
+
self._ProductID = None
|
7828
|
+
self._FirmwareVersion = None
|
7829
|
+
|
7830
|
+
@property
|
7831
|
+
def ProductID(self):
|
7832
|
+
return self._ProductID
|
7833
|
+
|
7834
|
+
@ProductID.setter
|
7835
|
+
def ProductID(self, ProductID):
|
7836
|
+
self._ProductID = ProductID
|
7837
|
+
|
7838
|
+
@property
|
7839
|
+
def FirmwareVersion(self):
|
7840
|
+
return self._FirmwareVersion
|
7841
|
+
|
7842
|
+
@FirmwareVersion.setter
|
7843
|
+
def FirmwareVersion(self, FirmwareVersion):
|
7844
|
+
self._FirmwareVersion = FirmwareVersion
|
7845
|
+
|
7846
|
+
|
7847
|
+
def _deserialize(self, params):
|
7848
|
+
self._ProductID = params.get("ProductID")
|
7849
|
+
self._FirmwareVersion = params.get("FirmwareVersion")
|
7850
|
+
memeber_set = set(params.keys())
|
7851
|
+
for name, value in vars(self).items():
|
7852
|
+
property_name = name[1:]
|
7853
|
+
if property_name in memeber_set:
|
7854
|
+
memeber_set.remove(property_name)
|
7855
|
+
if len(memeber_set) > 0:
|
7856
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7857
|
+
|
7858
|
+
|
7859
|
+
|
7860
|
+
class DescribeFirmwareResponse(AbstractModel):
|
7861
|
+
"""DescribeFirmware返回参数结构体
|
7862
|
+
|
7863
|
+
"""
|
7864
|
+
|
7865
|
+
def __init__(self):
|
7866
|
+
r"""
|
7867
|
+
:param _Version: 固件版本号
|
7868
|
+
:type Version: str
|
7869
|
+
:param _ProductId: 产品ID
|
7870
|
+
:type ProductId: str
|
7871
|
+
:param _Name: 固件名称
|
7872
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7873
|
+
:type Name: str
|
7874
|
+
:param _Description: 固件描述
|
7875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7876
|
+
:type Description: str
|
7877
|
+
:param _Md5sum: 固件Md5值
|
7878
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7879
|
+
:type Md5sum: str
|
7880
|
+
:param _Createtime: 固件上传的秒级时间戳
|
7881
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7882
|
+
:type Createtime: int
|
7883
|
+
:param _ProductName: 产品名称
|
7884
|
+
:type ProductName: str
|
7885
|
+
:param _FwType: 固件升级模块
|
7886
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7887
|
+
:type FwType: str
|
7888
|
+
:param _UserDefined: 固件用户自定义配置信息
|
7889
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7890
|
+
:type UserDefined: str
|
7891
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7892
|
+
:type RequestId: str
|
7893
|
+
"""
|
7894
|
+
self._Version = None
|
7895
|
+
self._ProductId = None
|
7896
|
+
self._Name = None
|
7897
|
+
self._Description = None
|
7898
|
+
self._Md5sum = None
|
7899
|
+
self._Createtime = None
|
7900
|
+
self._ProductName = None
|
7901
|
+
self._FwType = None
|
7902
|
+
self._UserDefined = None
|
7903
|
+
self._RequestId = None
|
7904
|
+
|
7905
|
+
@property
|
7906
|
+
def Version(self):
|
7907
|
+
return self._Version
|
7908
|
+
|
7909
|
+
@Version.setter
|
7910
|
+
def Version(self, Version):
|
7911
|
+
self._Version = Version
|
7912
|
+
|
7913
|
+
@property
|
7914
|
+
def ProductId(self):
|
7915
|
+
return self._ProductId
|
7916
|
+
|
7917
|
+
@ProductId.setter
|
7918
|
+
def ProductId(self, ProductId):
|
7919
|
+
self._ProductId = ProductId
|
7920
|
+
|
7921
|
+
@property
|
7922
|
+
def Name(self):
|
7923
|
+
return self._Name
|
7924
|
+
|
7925
|
+
@Name.setter
|
7926
|
+
def Name(self, Name):
|
7927
|
+
self._Name = Name
|
7928
|
+
|
7929
|
+
@property
|
7930
|
+
def Description(self):
|
7931
|
+
return self._Description
|
7932
|
+
|
7933
|
+
@Description.setter
|
7934
|
+
def Description(self, Description):
|
7935
|
+
self._Description = Description
|
7936
|
+
|
7937
|
+
@property
|
7938
|
+
def Md5sum(self):
|
7939
|
+
return self._Md5sum
|
7940
|
+
|
7941
|
+
@Md5sum.setter
|
7942
|
+
def Md5sum(self, Md5sum):
|
7943
|
+
self._Md5sum = Md5sum
|
7944
|
+
|
7945
|
+
@property
|
7946
|
+
def Createtime(self):
|
7947
|
+
return self._Createtime
|
7948
|
+
|
7949
|
+
@Createtime.setter
|
7950
|
+
def Createtime(self, Createtime):
|
7951
|
+
self._Createtime = Createtime
|
7952
|
+
|
7953
|
+
@property
|
7954
|
+
def ProductName(self):
|
7955
|
+
return self._ProductName
|
7956
|
+
|
7957
|
+
@ProductName.setter
|
7958
|
+
def ProductName(self, ProductName):
|
7959
|
+
self._ProductName = ProductName
|
7960
|
+
|
7961
|
+
@property
|
7962
|
+
def FwType(self):
|
7963
|
+
return self._FwType
|
7964
|
+
|
7965
|
+
@FwType.setter
|
7966
|
+
def FwType(self, FwType):
|
7967
|
+
self._FwType = FwType
|
7968
|
+
|
7969
|
+
@property
|
7970
|
+
def UserDefined(self):
|
7971
|
+
return self._UserDefined
|
7972
|
+
|
7973
|
+
@UserDefined.setter
|
7974
|
+
def UserDefined(self, UserDefined):
|
7975
|
+
self._UserDefined = UserDefined
|
7976
|
+
|
7977
|
+
@property
|
7978
|
+
def RequestId(self):
|
7979
|
+
return self._RequestId
|
7980
|
+
|
7981
|
+
@RequestId.setter
|
7982
|
+
def RequestId(self, RequestId):
|
7983
|
+
self._RequestId = RequestId
|
7984
|
+
|
7985
|
+
|
7986
|
+
def _deserialize(self, params):
|
7987
|
+
self._Version = params.get("Version")
|
7988
|
+
self._ProductId = params.get("ProductId")
|
7989
|
+
self._Name = params.get("Name")
|
7990
|
+
self._Description = params.get("Description")
|
7991
|
+
self._Md5sum = params.get("Md5sum")
|
7992
|
+
self._Createtime = params.get("Createtime")
|
7993
|
+
self._ProductName = params.get("ProductName")
|
7994
|
+
self._FwType = params.get("FwType")
|
7995
|
+
self._UserDefined = params.get("UserDefined")
|
7996
|
+
self._RequestId = params.get("RequestId")
|
7997
|
+
|
7998
|
+
|
7815
7999
|
class DescribeFirmwareTaskRequest(AbstractModel):
|
7816
8000
|
"""DescribeFirmwareTask请求参数结构体
|
7817
8001
|
|
@@ -314,6 +314,9 @@ INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = 'InvalidParameterValue.InvalidBluep
|
|
314
314
|
# 非法的套餐参数。
|
315
315
|
INVALIDPARAMETERVALUE_INVALIDBUNDLE = 'InvalidParameterValue.InvalidBundle'
|
316
316
|
|
317
|
+
# 套餐和镜像的组合非法。
|
318
|
+
INVALIDPARAMETERVALUE_INVALIDBUNDLEBLUEPRINTCOMBINATION = 'InvalidParameterValue.InvalidBundleBlueprintCombination'
|
319
|
+
|
317
320
|
# 控制台显示类型不合法。
|
318
321
|
INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = 'InvalidParameterValue.InvalidConsoleDisplayTypes'
|
319
322
|
|
@@ -377,6 +380,9 @@ INVALIDPARAMETERVALUE_NEGATIVE = 'InvalidParameterValue.Negative'
|
|
377
380
|
# 不允许改变平台类型。
|
378
381
|
INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = 'InvalidParameterValue.NotAllowToChangePlatformType'
|
379
382
|
|
383
|
+
# 实例套餐的套餐类型不支持表更至新套餐。
|
384
|
+
INVALIDPARAMETERVALUE_NOTSUPPORTMODIFYINSTANCEBUNDLETYPE = 'InvalidParameterValue.NotSupportModifyInstanceBundleType'
|
385
|
+
|
380
386
|
# 参数值非法,不在合法范围内。
|
381
387
|
INVALIDPARAMETERVALUE_OUTOFRANGE = 'InvalidParameterValue.OutOfRange'
|
382
388
|
|
@@ -455,6 +461,9 @@ LIMITEXCEEDED_SNAPSHOTQUOTALIMITEXCEEDED = 'LimitExceeded.SnapshotQuotaLimitExce
|
|
455
461
|
# 缺少参数错误。
|
456
462
|
MISSINGPARAMETER = 'MissingParameter'
|
457
463
|
|
464
|
+
# 套餐缺少参数镜像ID。
|
465
|
+
MISSINGPARAMETER_BUNDLEMISSINGPARAMETERBLUEPRINTID = 'MissingParameter.BundleMissingParameterBlueprintId'
|
466
|
+
|
458
467
|
# 必须传入参数Period或CurInstanceDeadline。
|
459
468
|
MISSINGPARAMETER_MISSINGPARAMETERPERIODCURINSTANCEDEADLINE = 'MissingParameter.MissingParameterPeriodCurInstanceDeadline'
|
460
469
|
|
@@ -662,6 +671,9 @@ UNSUPPORTEDOPERATION_BLUEPRINTLATESTOPERATIONUNFINISHED = 'UnsupportedOperation.
|
|
662
671
|
# 镜像被使用中,不支持该操作。
|
663
672
|
UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = 'UnsupportedOperation.BlueprintOccupied'
|
664
673
|
|
674
|
+
# 该镜像的镜像类型不支持该操作。
|
675
|
+
UNSUPPORTEDOPERATION_BLUEPRINTTYPENOTSUPPORTOPERATION = 'UnsupportedOperation.BlueprintTypeNotSupportOperation'
|
676
|
+
|
665
677
|
# 已经关联云联网,不支持再次关联。
|
666
678
|
UNSUPPORTEDOPERATION_CCNALREADYATTACHED = 'UnsupportedOperation.CcnAlreadyAttached'
|
667
679
|
|
@@ -689,6 +701,9 @@ UNSUPPORTEDOPERATION_FIREWALLBUSY = 'UnsupportedOperation.FirewallBusy'
|
|
689
701
|
# 指定的防火墙版本号和当前版本不一致。
|
690
702
|
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = 'UnsupportedOperation.FirewallVersionMismatch'
|
691
703
|
|
704
|
+
# 实例展示区域不支持该操作。
|
705
|
+
UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = 'UnsupportedOperation.InstanceDisplayAreaNotSupportOperation'
|
706
|
+
|
692
707
|
# 实例已到期,不支持该操作。
|
693
708
|
UNSUPPORTEDOPERATION_INSTANCEEXPIRED = 'UnsupportedOperation.InstanceExpired'
|
694
709
|
|
@@ -2303,7 +2303,7 @@ class LighthouseClient(AbstractClient):
|
|
2303
2303
|
|
2304
2304
|
|
2305
2305
|
def RerunDockerContainer(self, request):
|
2306
|
-
"""重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重建情况。
|
2306
|
+
"""重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重建情况。
|
2307
2307
|
|
2308
2308
|
:param request: Request instance for RerunDockerContainer.
|
2309
2309
|
:type request: :class:`tencentcloud.lighthouse.v20200324.models.RerunDockerContainerRequest`
|
@@ -3468,7 +3468,7 @@ class DescribeBundleDiscountRequest(AbstractModel):
|
|
3468
3468
|
|
3469
3469
|
def __init__(self):
|
3470
3470
|
r"""
|
3471
|
-
:param _BundleId: 套餐 ID
|
3471
|
+
:param _BundleId: 套餐 ID。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。
|
3472
3472
|
:type BundleId: str
|
3473
3473
|
"""
|
3474
3474
|
self._BundleId = None
|
@@ -3555,7 +3555,7 @@ class DescribeBundlesRequest(AbstractModel):
|
|
3555
3555
|
|
3556
3556
|
def __init__(self):
|
3557
3557
|
r"""
|
3558
|
-
:param _BundleIds: 套餐 ID
|
3558
|
+
:param _BundleIds: 套餐 ID 列表。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。
|
3559
3559
|
:type BundleIds: list of str
|
3560
3560
|
:param _Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
3561
3561
|
:type Offset: int
|
@@ -6773,7 +6773,7 @@ class DescribeResetInstanceBlueprintsRequest(AbstractModel):
|
|
6773
6773
|
|
6774
6774
|
def __init__(self):
|
6775
6775
|
r"""
|
6776
|
-
:param _InstanceId: 实例ID
|
6776
|
+
:param _InstanceId: 实例ID。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
|
6777
6777
|
:type InstanceId: str
|
6778
6778
|
:param _Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
6779
6779
|
:type Offset: int
|
@@ -6783,6 +6783,7 @@ class DescribeResetInstanceBlueprintsRequest(AbstractModel):
|
|
6783
6783
|
<li>blueprint-id</li>按照【镜像 ID】进行过滤。
|
6784
6784
|
类型:String
|
6785
6785
|
必选:否
|
6786
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/47689">DescribeBlueprints</a> 接口返回值中的 BlueprintId 获取。
|
6786
6787
|
<li>blueprint-type</li>按照【镜像类型】进行过滤。
|
6787
6788
|
取值: APP_OS(应用镜像 );PURE_OS( 系统镜像);PRIVATE(自定义镜像)。
|
6788
6789
|
类型:String
|
@@ -6794,9 +6795,11 @@ class DescribeResetInstanceBlueprintsRequest(AbstractModel):
|
|
6794
6795
|
<li>blueprint-name</li>按照【镜像名称】进行过滤。
|
6795
6796
|
类型:String
|
6796
6797
|
必选:否
|
6798
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/47689">DescribeBlueprints</a> 接口返回值中的 BlueprintName 获取。
|
6797
6799
|
<li>blueprint-state</li>按照【镜像状态】进行过滤。
|
6798
6800
|
类型:String
|
6799
6801
|
必选:否
|
6802
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/47689">DescribeBlueprints</a> 接口返回值中的 BlueprintState 获取。
|
6800
6803
|
|
6801
6804
|
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。
|
6802
6805
|
:type Filters: list of Filter
|
@@ -11971,9 +11974,9 @@ class ModifyDockerContainerRequest(AbstractModel):
|
|
11971
11974
|
|
11972
11975
|
def __init__(self):
|
11973
11976
|
r"""
|
11974
|
-
:param _InstanceId: 实例ID
|
11977
|
+
:param _InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
11975
11978
|
:type InstanceId: str
|
11976
|
-
:param _ContainerId: 容器ID
|
11979
|
+
:param _ContainerId: 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。
|
11977
11980
|
:type ContainerId: str
|
11978
11981
|
:param _Envs: 环境变量列表
|
11979
11982
|
:type Envs: list of ContainerEnv
|
@@ -13507,11 +13510,11 @@ class RerunDockerContainerRequest(AbstractModel):
|
|
13507
13510
|
|
13508
13511
|
def __init__(self):
|
13509
13512
|
r"""
|
13510
|
-
:param _InstanceId: 实例ID
|
13513
|
+
:param _InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
13511
13514
|
:type InstanceId: str
|
13512
13515
|
:param _ContainerConfiguration: 重新创建的容器配置。
|
13513
13516
|
:type ContainerConfiguration: :class:`tencentcloud.lighthouse.v20200324.models.DockerContainerConfiguration`
|
13514
|
-
:param _ContainerId: 容器ID
|
13517
|
+
:param _ContainerId: 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。
|
13515
13518
|
:type ContainerId: str
|
13516
13519
|
"""
|
13517
13520
|
self._InstanceId = None
|
@@ -14142,7 +14145,7 @@ class RunDockerContainersRequest(AbstractModel):
|
|
14142
14145
|
|
14143
14146
|
def __init__(self):
|
14144
14147
|
r"""
|
14145
|
-
:param _InstanceId: 实例ID
|
14148
|
+
:param _InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
14146
14149
|
:type InstanceId: str
|
14147
14150
|
:param _Containers: 要创建的容器列表。
|
14148
14151
|
:type Containers: list of DockerContainerConfiguration
|
@@ -26,6 +26,9 @@ FAILEDOPERATION_FILEDECODEFAILED = 'FailedOperation.FileDecodeFailed'
|
|
26
26
|
# 图片解码失败。
|
27
27
|
FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
|
28
28
|
|
29
|
+
# 图片尺寸过大,请参考输入参数中关于图片大小限制的说明。
|
30
|
+
FAILEDOPERATION_IMAGESIZETOOLARGE = 'FailedOperation.ImageSizeTooLarge'
|
31
|
+
|
29
32
|
# OCR识别失败。
|
30
33
|
FAILEDOPERATION_OCRFAILED = 'FailedOperation.OcrFailed'
|
31
34
|
|