tencentcloud-sdk-python 3.0.1395__py2.py3-none-any.whl → 3.0.1397__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/apm/v20210622/models.py +17 -2
- tencentcloud/cbs/v20170312/cbs_client.py +3 -2
- tencentcloud/cbs/v20170312/models.py +14 -10
- tencentcloud/ccc/v20200210/models.py +71 -0
- tencentcloud/cdb/v20170320/models.py +6 -6
- tencentcloud/cdwch/v20200915/models.py +0 -2
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +1 -1
- tencentcloud/dbbrain/v20210527/models.py +4 -4
- tencentcloud/emr/v20190103/models.py +314 -4
- tencentcloud/ess/v20201111/ess_client.py +59 -0
- tencentcloud/ess/v20201111/models.py +257 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -0
- tencentcloud/essbasic/v20210526/models.py +2 -0
- tencentcloud/gs/v20191118/gs_client.py +192 -8
- tencentcloud/gs/v20191118/models.py +1001 -48
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +447 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +2 -2
- tencentcloud/iotexplorer/v20190423/models.py +102 -0
- tencentcloud/lighthouse/v20200324/models.py +6 -2
- tencentcloud/lke/v20231130/models.py +527 -2
- tencentcloud/ocr/v20181119/models.py +135 -18
- tencentcloud/ocr/v20181119/ocr_client.py +1 -4
- tencentcloud/sqlserver/v20180328/models.py +47 -2
- tencentcloud/ssl/v20191205/models.py +131 -0
- tencentcloud/tem/v20210701/errorcodes.py +6 -0
- tencentcloud/tem/v20210701/models.py +200 -0
- tencentcloud/tem/v20210701/tem_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +1417 -117
- tencentcloud/tke/v20220501/errorcodes.py +3 -0
- tencentcloud/tke/v20220501/models.py +109 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/trtc/v20190722/errorcodes.py +24 -0
- tencentcloud/trtc/v20190722/models.py +752 -0
- tencentcloud/trtc/v20190722/trtc_client.py +92 -0
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vod/v20180717/models.py +4 -0
- tencentcloud/waf/v20180125/models.py +0 -2
- tencentcloud/wedata/v20210820/models.py +1902 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/RECORD +50 -50
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/top_level.txt +0 -0
@@ -9691,13 +9691,9 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
9691
9691
|
|
9692
9692
|
def __init__(self):
|
9693
9693
|
r"""
|
9694
|
-
:param _ImageBase64:
|
9695
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。
|
9696
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9694
|
+
:param _ImageBase64: 图片/PDF的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9697
9695
|
:type ImageBase64: str
|
9698
|
-
:param _ImageUrl:
|
9699
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
|
9700
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9696
|
+
:param _ImageUrl: 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9701
9697
|
:type ImageUrl: str
|
9702
9698
|
:param _IsWords: 是否返回单字信息,默认关
|
9703
9699
|
:type IsWords: bool
|
@@ -9720,9 +9716,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
9720
9716
|
|
9721
9717
|
@property
|
9722
9718
|
def ImageBase64(self):
|
9723
|
-
"""
|
9724
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。
|
9725
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9719
|
+
"""图片/PDF的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9726
9720
|
:rtype: str
|
9727
9721
|
"""
|
9728
9722
|
return self._ImageBase64
|
@@ -9733,9 +9727,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
9733
9727
|
|
9734
9728
|
@property
|
9735
9729
|
def ImageUrl(self):
|
9736
|
-
"""
|
9737
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
|
9738
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9730
|
+
"""图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9739
9731
|
:rtype: str
|
9740
9732
|
"""
|
9741
9733
|
return self._ImageUrl
|
@@ -12669,6 +12661,8 @@ Config = {"CropIdCard":true,"CropPortrait":true}
|
|
12669
12661
|
|
12670
12662
|
@property
|
12671
12663
|
def EnableDateVerify(self):
|
12664
|
+
warnings.warn("parameter `EnableDateVerify` is deprecated", DeprecationWarning)
|
12665
|
+
|
12672
12666
|
"""用于控制是否开启日期校验,默认值为true,打开会进行日期校验。
|
12673
12667
|
:rtype: bool
|
12674
12668
|
"""
|
@@ -12676,6 +12670,8 @@ Config = {"CropIdCard":true,"CropPortrait":true}
|
|
12676
12670
|
|
12677
12671
|
@EnableDateVerify.setter
|
12678
12672
|
def EnableDateVerify(self, EnableDateVerify):
|
12673
|
+
warnings.warn("parameter `EnableDateVerify` is deprecated", DeprecationWarning)
|
12674
|
+
|
12679
12675
|
self._EnableDateVerify = EnableDateVerify
|
12680
12676
|
|
12681
12677
|
|
@@ -14035,7 +14031,7 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14035
14031
|
:type Angle: float
|
14036
14032
|
:param _SingleInvoiceInfos: 识别到的内容。
|
14037
14033
|
:type SingleInvoiceInfos: :class:`tencentcloud.ocr.v20181119.models.SingleInvoiceItem`
|
14038
|
-
:param _Page: 发票处于识别图片或PDF
|
14034
|
+
:param _Page: 发票处于识别图片或PDF文件中的页码,默认从1开始。
|
14039
14035
|
:type Page: int
|
14040
14036
|
:param _SubType: 发票详细类型,详见票据识别(高级版)接口文档说明中 SubType 返回值说明
|
14041
14037
|
:type SubType: str
|
@@ -14049,6 +14045,8 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14049
14045
|
:type ItemPolygon: list of ItemPolygonInfo
|
14050
14046
|
:param _QRCode: 二维码数据。
|
14051
14047
|
:type QRCode: str
|
14048
|
+
:param _InvoiceSealInfo: 印章信息
|
14049
|
+
:type InvoiceSealInfo: :class:`tencentcloud.ocr.v20181119.models.InvoiceSealInfo`
|
14052
14050
|
"""
|
14053
14051
|
self._Code = None
|
14054
14052
|
self._Type = None
|
@@ -14062,6 +14060,7 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14062
14060
|
self._SubTypeDescription = None
|
14063
14061
|
self._ItemPolygon = None
|
14064
14062
|
self._QRCode = None
|
14063
|
+
self._InvoiceSealInfo = None
|
14065
14064
|
|
14066
14065
|
@property
|
14067
14066
|
def Code(self):
|
@@ -14141,7 +14140,7 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14141
14140
|
|
14142
14141
|
@property
|
14143
14142
|
def Page(self):
|
14144
|
-
"""发票处于识别图片或PDF
|
14143
|
+
"""发票处于识别图片或PDF文件中的页码,默认从1开始。
|
14145
14144
|
:rtype: int
|
14146
14145
|
"""
|
14147
14146
|
return self._Page
|
@@ -14216,6 +14215,17 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14216
14215
|
def QRCode(self, QRCode):
|
14217
14216
|
self._QRCode = QRCode
|
14218
14217
|
|
14218
|
+
@property
|
14219
|
+
def InvoiceSealInfo(self):
|
14220
|
+
"""印章信息
|
14221
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.InvoiceSealInfo`
|
14222
|
+
"""
|
14223
|
+
return self._InvoiceSealInfo
|
14224
|
+
|
14225
|
+
@InvoiceSealInfo.setter
|
14226
|
+
def InvoiceSealInfo(self, InvoiceSealInfo):
|
14227
|
+
self._InvoiceSealInfo = InvoiceSealInfo
|
14228
|
+
|
14219
14229
|
|
14220
14230
|
def _deserialize(self, params):
|
14221
14231
|
self._Code = params.get("Code")
|
@@ -14239,6 +14249,90 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14239
14249
|
obj._deserialize(item)
|
14240
14250
|
self._ItemPolygon.append(obj)
|
14241
14251
|
self._QRCode = params.get("QRCode")
|
14252
|
+
if params.get("InvoiceSealInfo") is not None:
|
14253
|
+
self._InvoiceSealInfo = InvoiceSealInfo()
|
14254
|
+
self._InvoiceSealInfo._deserialize(params.get("InvoiceSealInfo"))
|
14255
|
+
memeber_set = set(params.keys())
|
14256
|
+
for name, value in vars(self).items():
|
14257
|
+
property_name = name[1:]
|
14258
|
+
if property_name in memeber_set:
|
14259
|
+
memeber_set.remove(property_name)
|
14260
|
+
if len(memeber_set) > 0:
|
14261
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14262
|
+
|
14263
|
+
|
14264
|
+
|
14265
|
+
class InvoiceSealInfo(AbstractModel):
|
14266
|
+
"""印章信息
|
14267
|
+
|
14268
|
+
"""
|
14269
|
+
|
14270
|
+
def __init__(self):
|
14271
|
+
r"""
|
14272
|
+
:param _CompanySealMark: 是否有公司印章(0:没有,1:有)
|
14273
|
+
:type CompanySealMark: str
|
14274
|
+
:param _SupervisionSealMark: 是否有监制印章(0:没有,1:有)
|
14275
|
+
:type SupervisionSealMark: str
|
14276
|
+
:param _CompanySealMarkInfo: 公司印章信息
|
14277
|
+
:type CompanySealMarkInfo: list of str
|
14278
|
+
:param _SupervisionSealMarkInfo: 监制印章信息
|
14279
|
+
:type SupervisionSealMarkInfo: list of str
|
14280
|
+
"""
|
14281
|
+
self._CompanySealMark = None
|
14282
|
+
self._SupervisionSealMark = None
|
14283
|
+
self._CompanySealMarkInfo = None
|
14284
|
+
self._SupervisionSealMarkInfo = None
|
14285
|
+
|
14286
|
+
@property
|
14287
|
+
def CompanySealMark(self):
|
14288
|
+
"""是否有公司印章(0:没有,1:有)
|
14289
|
+
:rtype: str
|
14290
|
+
"""
|
14291
|
+
return self._CompanySealMark
|
14292
|
+
|
14293
|
+
@CompanySealMark.setter
|
14294
|
+
def CompanySealMark(self, CompanySealMark):
|
14295
|
+
self._CompanySealMark = CompanySealMark
|
14296
|
+
|
14297
|
+
@property
|
14298
|
+
def SupervisionSealMark(self):
|
14299
|
+
"""是否有监制印章(0:没有,1:有)
|
14300
|
+
:rtype: str
|
14301
|
+
"""
|
14302
|
+
return self._SupervisionSealMark
|
14303
|
+
|
14304
|
+
@SupervisionSealMark.setter
|
14305
|
+
def SupervisionSealMark(self, SupervisionSealMark):
|
14306
|
+
self._SupervisionSealMark = SupervisionSealMark
|
14307
|
+
|
14308
|
+
@property
|
14309
|
+
def CompanySealMarkInfo(self):
|
14310
|
+
"""公司印章信息
|
14311
|
+
:rtype: list of str
|
14312
|
+
"""
|
14313
|
+
return self._CompanySealMarkInfo
|
14314
|
+
|
14315
|
+
@CompanySealMarkInfo.setter
|
14316
|
+
def CompanySealMarkInfo(self, CompanySealMarkInfo):
|
14317
|
+
self._CompanySealMarkInfo = CompanySealMarkInfo
|
14318
|
+
|
14319
|
+
@property
|
14320
|
+
def SupervisionSealMarkInfo(self):
|
14321
|
+
"""监制印章信息
|
14322
|
+
:rtype: list of str
|
14323
|
+
"""
|
14324
|
+
return self._SupervisionSealMarkInfo
|
14325
|
+
|
14326
|
+
@SupervisionSealMarkInfo.setter
|
14327
|
+
def SupervisionSealMarkInfo(self, SupervisionSealMarkInfo):
|
14328
|
+
self._SupervisionSealMarkInfo = SupervisionSealMarkInfo
|
14329
|
+
|
14330
|
+
|
14331
|
+
def _deserialize(self, params):
|
14332
|
+
self._CompanySealMark = params.get("CompanySealMark")
|
14333
|
+
self._SupervisionSealMark = params.get("SupervisionSealMark")
|
14334
|
+
self._CompanySealMarkInfo = params.get("CompanySealMarkInfo")
|
14335
|
+
self._SupervisionSealMarkInfo = params.get("SupervisionSealMarkInfo")
|
14242
14336
|
memeber_set = set(params.keys())
|
14243
14337
|
for name, value in vars(self).items():
|
14244
14338
|
property_name = name[1:]
|
@@ -16140,7 +16234,9 @@ class MainlandPermitOCRRequest(AbstractModel):
|
|
16140
16234
|
:param _RetProfile: 是否返回头像。默认不返回。
|
16141
16235
|
:type RetProfile: bool
|
16142
16236
|
:param _CardSide: 图片正反面
|
16143
|
-
FRONT
|
16237
|
+
FRONT:正面
|
16238
|
+
BACK:反面
|
16239
|
+
默认为FRONT
|
16144
16240
|
:type CardSide: str
|
16145
16241
|
"""
|
16146
16242
|
self._ImageBase64 = None
|
@@ -16191,7 +16287,9 @@ FRONT:正面、BACK:反面,默认为FRONT
|
|
16191
16287
|
@property
|
16192
16288
|
def CardSide(self):
|
16193
16289
|
"""图片正反面
|
16194
|
-
FRONT
|
16290
|
+
FRONT:正面
|
16291
|
+
BACK:反面
|
16292
|
+
默认为FRONT
|
16195
16293
|
:rtype: str
|
16196
16294
|
"""
|
16197
16295
|
return self._CardSide
|
@@ -16241,7 +16339,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
16241
16339
|
:type IssueAddress: str
|
16242
16340
|
:param _IssueNumber: 签发次数
|
16243
16341
|
:type IssueNumber: str
|
16244
|
-
:param _Type: 证件类别,
|
16342
|
+
:param _Type: 证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证、往来港澳通行证。
|
16245
16343
|
:type Type: str
|
16246
16344
|
:param _Profile: RetProfile为True时返回头像字段, Base64编码
|
16247
16345
|
:type Profile: str
|
@@ -16368,7 +16466,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
16368
16466
|
|
16369
16467
|
@property
|
16370
16468
|
def Type(self):
|
16371
|
-
"""证件类别,
|
16469
|
+
"""证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证、往来港澳通行证。
|
16372
16470
|
:rtype: str
|
16373
16471
|
"""
|
16374
16472
|
return self._Type
|
@@ -23884,6 +23982,8 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
23884
23982
|
:type EnableItemPolygon: bool
|
23885
23983
|
:param _EnableQRCode: 是否开启二维码识别。
|
23886
23984
|
:type EnableQRCode: bool
|
23985
|
+
:param _EnableSeal: 是否开启印章识别,默认为false
|
23986
|
+
:type EnableSeal: bool
|
23887
23987
|
"""
|
23888
23988
|
self._ImageBase64 = None
|
23889
23989
|
self._ImageUrl = None
|
@@ -23895,6 +23995,7 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
23895
23995
|
self._EnableCutImage = None
|
23896
23996
|
self._EnableItemPolygon = None
|
23897
23997
|
self._EnableQRCode = None
|
23998
|
+
self._EnableSeal = None
|
23898
23999
|
|
23899
24000
|
@property
|
23900
24001
|
def ImageBase64(self):
|
@@ -24030,6 +24131,17 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
24030
24131
|
def EnableQRCode(self, EnableQRCode):
|
24031
24132
|
self._EnableQRCode = EnableQRCode
|
24032
24133
|
|
24134
|
+
@property
|
24135
|
+
def EnableSeal(self):
|
24136
|
+
"""是否开启印章识别,默认为false
|
24137
|
+
:rtype: bool
|
24138
|
+
"""
|
24139
|
+
return self._EnableSeal
|
24140
|
+
|
24141
|
+
@EnableSeal.setter
|
24142
|
+
def EnableSeal(self, EnableSeal):
|
24143
|
+
self._EnableSeal = EnableSeal
|
24144
|
+
|
24033
24145
|
|
24034
24146
|
def _deserialize(self, params):
|
24035
24147
|
self._ImageBase64 = params.get("ImageBase64")
|
@@ -24042,6 +24154,7 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
24042
24154
|
self._EnableCutImage = params.get("EnableCutImage")
|
24043
24155
|
self._EnableItemPolygon = params.get("EnableItemPolygon")
|
24044
24156
|
self._EnableQRCode = params.get("EnableQRCode")
|
24157
|
+
self._EnableSeal = params.get("EnableSeal")
|
24045
24158
|
memeber_set = set(params.keys())
|
24046
24159
|
for name, value in vars(self).items():
|
24047
24160
|
property_name = name[1:]
|
@@ -29881,6 +29994,8 @@ DispatchWeightNote -- 磅单发货单识别模板
|
|
29881
29994
|
ReceiptWeightNote -- 磅单收货单识别模板
|
29882
29995
|
ArticalRecognize -- 手写作文模版
|
29883
29996
|
Table -- 表格模版
|
29997
|
+
SteelLabel -- 实物标签识别模板
|
29998
|
+
CarInsurance -- 车辆保险单识别模板
|
29884
29999
|
:type ConfigId: str
|
29885
30000
|
:param _EnableCoord: 是否开启全文字段坐标值的识别
|
29886
30001
|
:type EnableCoord: bool
|
@@ -29987,6 +30102,8 @@ DispatchWeightNote -- 磅单发货单识别模板
|
|
29987
30102
|
ReceiptWeightNote -- 磅单收货单识别模板
|
29988
30103
|
ArticalRecognize -- 手写作文模版
|
29989
30104
|
Table -- 表格模版
|
30105
|
+
SteelLabel -- 实物标签识别模板
|
30106
|
+
CarInsurance -- 车辆保险单识别模板
|
29990
30107
|
:rtype: str
|
29991
30108
|
"""
|
29992
30109
|
return self._ConfigId
|
@@ -958,9 +958,6 @@ class OcrClient(AbstractClient):
|
|
958
958
|
</tr>
|
959
959
|
<tr>
|
960
960
|
<td rowspan="9">告警功能</td>
|
961
|
-
<td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限
|
962
|
-
|
963
|
-
</td>
|
964
961
|
</tr>
|
965
962
|
<tr>
|
966
963
|
<td>身份证边框不完整告警</td>
|
@@ -1184,7 +1181,7 @@ class OcrClient(AbstractClient):
|
|
1184
1181
|
|
1185
1182
|
|
1186
1183
|
def MainlandPermitOCR(self, request):
|
1187
|
-
"""
|
1184
|
+
"""智能识别并结构化港澳台通行证及来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
|
1188
1185
|
|
1189
1186
|
默认接口请求频率限制:20次/秒。
|
1190
1187
|
|
@@ -9530,8 +9530,10 @@ class DescribeBackupFilesRequest(AbstractModel):
|
|
9530
9530
|
:type Offset: int
|
9531
9531
|
:param _DatabaseName: 按照备份的库名称筛选,不填则不筛选此项
|
9532
9532
|
:type DatabaseName: str
|
9533
|
-
:param _OrderBy:
|
9533
|
+
:param _OrderBy: 列表项排序,desc-降序、asc-升序,按size排序默认desc,按database排序默认asc
|
9534
9534
|
:type OrderBy: str
|
9535
|
+
:param _OrderByType: 排序字段(Size-按备份大小排序,DBs-按数据库名称排序),默认size
|
9536
|
+
:type OrderByType: str
|
9535
9537
|
"""
|
9536
9538
|
self._InstanceId = None
|
9537
9539
|
self._GroupId = None
|
@@ -9539,6 +9541,7 @@ class DescribeBackupFilesRequest(AbstractModel):
|
|
9539
9541
|
self._Offset = None
|
9540
9542
|
self._DatabaseName = None
|
9541
9543
|
self._OrderBy = None
|
9544
|
+
self._OrderByType = None
|
9542
9545
|
|
9543
9546
|
@property
|
9544
9547
|
def InstanceId(self):
|
@@ -9597,7 +9600,7 @@ class DescribeBackupFilesRequest(AbstractModel):
|
|
9597
9600
|
|
9598
9601
|
@property
|
9599
9602
|
def OrderBy(self):
|
9600
|
-
"""
|
9603
|
+
"""列表项排序,desc-降序、asc-升序,按size排序默认desc,按database排序默认asc
|
9601
9604
|
:rtype: str
|
9602
9605
|
"""
|
9603
9606
|
return self._OrderBy
|
@@ -9606,6 +9609,17 @@ class DescribeBackupFilesRequest(AbstractModel):
|
|
9606
9609
|
def OrderBy(self, OrderBy):
|
9607
9610
|
self._OrderBy = OrderBy
|
9608
9611
|
|
9612
|
+
@property
|
9613
|
+
def OrderByType(self):
|
9614
|
+
"""排序字段(Size-按备份大小排序,DBs-按数据库名称排序),默认size
|
9615
|
+
:rtype: str
|
9616
|
+
"""
|
9617
|
+
return self._OrderByType
|
9618
|
+
|
9619
|
+
@OrderByType.setter
|
9620
|
+
def OrderByType(self, OrderByType):
|
9621
|
+
self._OrderByType = OrderByType
|
9622
|
+
|
9609
9623
|
|
9610
9624
|
def _deserialize(self, params):
|
9611
9625
|
self._InstanceId = params.get("InstanceId")
|
@@ -9614,6 +9628,7 @@ class DescribeBackupFilesRequest(AbstractModel):
|
|
9614
9628
|
self._Offset = params.get("Offset")
|
9615
9629
|
self._DatabaseName = params.get("DatabaseName")
|
9616
9630
|
self._OrderBy = params.get("OrderBy")
|
9631
|
+
self._OrderByType = params.get("OrderByType")
|
9617
9632
|
memeber_set = set(params.keys())
|
9618
9633
|
for name, value in vars(self).items():
|
9619
9634
|
property_name = name[1:]
|
@@ -13179,6 +13194,8 @@ class DescribeDBsRequest(AbstractModel):
|
|
13179
13194
|
:type OrderByType: str
|
13180
13195
|
:param _Encryption: 是否已开启TDE加密,enable-已加密,disable-未加密
|
13181
13196
|
:type Encryption: str
|
13197
|
+
:param _OrderBy: 排序字段(Name-按名称排序,CreateTime-按创建时间排序),默认CreateTime
|
13198
|
+
:type OrderBy: str
|
13182
13199
|
"""
|
13183
13200
|
self._InstanceIdSet = None
|
13184
13201
|
self._Limit = None
|
@@ -13186,6 +13203,7 @@ class DescribeDBsRequest(AbstractModel):
|
|
13186
13203
|
self._Name = None
|
13187
13204
|
self._OrderByType = None
|
13188
13205
|
self._Encryption = None
|
13206
|
+
self._OrderBy = None
|
13189
13207
|
|
13190
13208
|
@property
|
13191
13209
|
def InstanceIdSet(self):
|
@@ -13253,6 +13271,17 @@ class DescribeDBsRequest(AbstractModel):
|
|
13253
13271
|
def Encryption(self, Encryption):
|
13254
13272
|
self._Encryption = Encryption
|
13255
13273
|
|
13274
|
+
@property
|
13275
|
+
def OrderBy(self):
|
13276
|
+
"""排序字段(Name-按名称排序,CreateTime-按创建时间排序),默认CreateTime
|
13277
|
+
:rtype: str
|
13278
|
+
"""
|
13279
|
+
return self._OrderBy
|
13280
|
+
|
13281
|
+
@OrderBy.setter
|
13282
|
+
def OrderBy(self, OrderBy):
|
13283
|
+
self._OrderBy = OrderBy
|
13284
|
+
|
13256
13285
|
|
13257
13286
|
def _deserialize(self, params):
|
13258
13287
|
self._InstanceIdSet = params.get("InstanceIdSet")
|
@@ -13261,6 +13290,7 @@ class DescribeDBsRequest(AbstractModel):
|
|
13261
13290
|
self._Name = params.get("Name")
|
13262
13291
|
self._OrderByType = params.get("OrderByType")
|
13263
13292
|
self._Encryption = params.get("Encryption")
|
13293
|
+
self._OrderBy = params.get("OrderBy")
|
13264
13294
|
memeber_set = set(params.keys())
|
13265
13295
|
for name, value in vars(self).items():
|
13266
13296
|
property_name = name[1:]
|
@@ -13561,6 +13591,8 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
13561
13591
|
:type OrderByType: str
|
13562
13592
|
:param _Encryption: 是否已开启TDE加密,enable-已加密,disable-未加密
|
13563
13593
|
:type Encryption: str
|
13594
|
+
:param _OrderBy: 排序字段(Name-按名称排序,CreateTime-按创建时间排序),默认CreateTime
|
13595
|
+
:type OrderBy: str
|
13564
13596
|
"""
|
13565
13597
|
self._InstanceIdSet = None
|
13566
13598
|
self._Limit = None
|
@@ -13568,6 +13600,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
13568
13600
|
self._Name = None
|
13569
13601
|
self._OrderByType = None
|
13570
13602
|
self._Encryption = None
|
13603
|
+
self._OrderBy = None
|
13571
13604
|
|
13572
13605
|
@property
|
13573
13606
|
def InstanceIdSet(self):
|
@@ -13635,6 +13668,17 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
13635
13668
|
def Encryption(self, Encryption):
|
13636
13669
|
self._Encryption = Encryption
|
13637
13670
|
|
13671
|
+
@property
|
13672
|
+
def OrderBy(self):
|
13673
|
+
"""排序字段(Name-按名称排序,CreateTime-按创建时间排序),默认CreateTime
|
13674
|
+
:rtype: str
|
13675
|
+
"""
|
13676
|
+
return self._OrderBy
|
13677
|
+
|
13678
|
+
@OrderBy.setter
|
13679
|
+
def OrderBy(self, OrderBy):
|
13680
|
+
self._OrderBy = OrderBy
|
13681
|
+
|
13638
13682
|
|
13639
13683
|
def _deserialize(self, params):
|
13640
13684
|
self._InstanceIdSet = params.get("InstanceIdSet")
|
@@ -13643,6 +13687,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
13643
13687
|
self._Name = params.get("Name")
|
13644
13688
|
self._OrderByType = params.get("OrderByType")
|
13645
13689
|
self._Encryption = params.get("Encryption")
|
13690
|
+
self._OrderBy = params.get("OrderBy")
|
13646
13691
|
memeber_set = set(params.keys())
|
13647
13692
|
for name, value in vars(self).items():
|
13648
13693
|
property_name = name[1:]
|
@@ -2480,6 +2480,8 @@ null:用户上传证书(没有套餐类型),
|
|
2480
2480
|
:param _HostingConfig: 托管配置信息
|
2481
2481
|
注意:此字段可能返回 null,表示取不到有效值。
|
2482
2482
|
:type HostingConfig: :class:`tencentcloud.ssl.v20191205.models.HostingConfig`
|
2483
|
+
:param _IsHostingUploadRenewCert: 是否是上传托管续费证书
|
2484
|
+
:type IsHostingUploadRenewCert: bool
|
2483
2485
|
"""
|
2484
2486
|
self._OwnerUin = None
|
2485
2487
|
self._ProjectId = None
|
@@ -2537,6 +2539,7 @@ null:用户上传证书(没有套餐类型),
|
|
2537
2539
|
self._CertRevokedTime = None
|
2538
2540
|
self._HostingResourceTypes = None
|
2539
2541
|
self._HostingConfig = None
|
2542
|
+
self._IsHostingUploadRenewCert = None
|
2540
2543
|
|
2541
2544
|
@property
|
2542
2545
|
def OwnerUin(self):
|
@@ -3243,6 +3246,17 @@ null:用户上传证书(没有套餐类型),
|
|
3243
3246
|
def HostingConfig(self, HostingConfig):
|
3244
3247
|
self._HostingConfig = HostingConfig
|
3245
3248
|
|
3249
|
+
@property
|
3250
|
+
def IsHostingUploadRenewCert(self):
|
3251
|
+
"""是否是上传托管续费证书
|
3252
|
+
:rtype: bool
|
3253
|
+
"""
|
3254
|
+
return self._IsHostingUploadRenewCert
|
3255
|
+
|
3256
|
+
@IsHostingUploadRenewCert.setter
|
3257
|
+
def IsHostingUploadRenewCert(self, IsHostingUploadRenewCert):
|
3258
|
+
self._IsHostingUploadRenewCert = IsHostingUploadRenewCert
|
3259
|
+
|
3246
3260
|
|
3247
3261
|
def _deserialize(self, params):
|
3248
3262
|
self._OwnerUin = params.get("OwnerUin")
|
@@ -3316,6 +3330,7 @@ null:用户上传证书(没有套餐类型),
|
|
3316
3330
|
if params.get("HostingConfig") is not None:
|
3317
3331
|
self._HostingConfig = HostingConfig()
|
3318
3332
|
self._HostingConfig._deserialize(params.get("HostingConfig"))
|
3333
|
+
self._IsHostingUploadRenewCert = params.get("IsHostingUploadRenewCert")
|
3319
3334
|
memeber_set = set(params.keys())
|
3320
3335
|
for name, value in vars(self).items():
|
3321
3336
|
property_name = name[1:]
|
@@ -7816,6 +7831,10 @@ null:用户上传证书(没有套餐类型),
|
|
7816
7831
|
:param _CertChainInfo: 证书链信息
|
7817
7832
|
注意:此字段可能返回 null,表示取不到有效值。
|
7818
7833
|
:type CertChainInfo: list of CertBasicInfo
|
7834
|
+
:param _DomainType: 证书域名类型, 1(单域名);2(多域名);3(泛域名);4(多泛域名)
|
7835
|
+
:type DomainType: int
|
7836
|
+
:param _CertType: 证书类型,DV(域名型);OV(企业型);EV(增强型)
|
7837
|
+
:type CertType: str
|
7819
7838
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7820
7839
|
:type RequestId: str
|
7821
7840
|
"""
|
@@ -7861,6 +7880,8 @@ null:用户上传证书(没有套餐类型),
|
|
7861
7880
|
self._EncryptAlgorithm = None
|
7862
7881
|
self._DvRevokeAuthDetail = None
|
7863
7882
|
self._CertChainInfo = None
|
7883
|
+
self._DomainType = None
|
7884
|
+
self._CertType = None
|
7864
7885
|
self._RequestId = None
|
7865
7886
|
|
7866
7887
|
@property
|
@@ -8443,6 +8464,28 @@ null:用户上传证书(没有套餐类型),
|
|
8443
8464
|
def CertChainInfo(self, CertChainInfo):
|
8444
8465
|
self._CertChainInfo = CertChainInfo
|
8445
8466
|
|
8467
|
+
@property
|
8468
|
+
def DomainType(self):
|
8469
|
+
"""证书域名类型, 1(单域名);2(多域名);3(泛域名);4(多泛域名)
|
8470
|
+
:rtype: int
|
8471
|
+
"""
|
8472
|
+
return self._DomainType
|
8473
|
+
|
8474
|
+
@DomainType.setter
|
8475
|
+
def DomainType(self, DomainType):
|
8476
|
+
self._DomainType = DomainType
|
8477
|
+
|
8478
|
+
@property
|
8479
|
+
def CertType(self):
|
8480
|
+
"""证书类型,DV(域名型);OV(企业型);EV(增强型)
|
8481
|
+
:rtype: str
|
8482
|
+
"""
|
8483
|
+
return self._CertType
|
8484
|
+
|
8485
|
+
@CertType.setter
|
8486
|
+
def CertType(self, CertType):
|
8487
|
+
self._CertType = CertType
|
8488
|
+
|
8446
8489
|
@property
|
8447
8490
|
def RequestId(self):
|
8448
8491
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -8521,6 +8564,8 @@ null:用户上传证书(没有套餐类型),
|
|
8521
8564
|
obj = CertBasicInfo()
|
8522
8565
|
obj._deserialize(item)
|
8523
8566
|
self._CertChainInfo.append(obj)
|
8567
|
+
self._DomainType = params.get("DomainType")
|
8568
|
+
self._CertType = params.get("CertType")
|
8524
8569
|
self._RequestId = params.get("RequestId")
|
8525
8570
|
|
8526
8571
|
|
@@ -15279,6 +15324,72 @@ class ManagerInfo(AbstractModel):
|
|
15279
15324
|
|
15280
15325
|
|
15281
15326
|
|
15327
|
+
class ManagerPreAuditDomain(AbstractModel):
|
15328
|
+
"""管理人预审核的域名列表
|
15329
|
+
|
15330
|
+
"""
|
15331
|
+
|
15332
|
+
def __init__(self):
|
15333
|
+
r"""
|
15334
|
+
:param _Domain: 预审核域名信息
|
15335
|
+
:type Domain: str
|
15336
|
+
:param _CreateTime: 预审核域名创建时间
|
15337
|
+
:type CreateTime: str
|
15338
|
+
:param _ExpireTime: 预审核域名过期时间
|
15339
|
+
:type ExpireTime: str
|
15340
|
+
"""
|
15341
|
+
self._Domain = None
|
15342
|
+
self._CreateTime = None
|
15343
|
+
self._ExpireTime = None
|
15344
|
+
|
15345
|
+
@property
|
15346
|
+
def Domain(self):
|
15347
|
+
"""预审核域名信息
|
15348
|
+
:rtype: str
|
15349
|
+
"""
|
15350
|
+
return self._Domain
|
15351
|
+
|
15352
|
+
@Domain.setter
|
15353
|
+
def Domain(self, Domain):
|
15354
|
+
self._Domain = Domain
|
15355
|
+
|
15356
|
+
@property
|
15357
|
+
def CreateTime(self):
|
15358
|
+
"""预审核域名创建时间
|
15359
|
+
:rtype: str
|
15360
|
+
"""
|
15361
|
+
return self._CreateTime
|
15362
|
+
|
15363
|
+
@CreateTime.setter
|
15364
|
+
def CreateTime(self, CreateTime):
|
15365
|
+
self._CreateTime = CreateTime
|
15366
|
+
|
15367
|
+
@property
|
15368
|
+
def ExpireTime(self):
|
15369
|
+
"""预审核域名过期时间
|
15370
|
+
:rtype: str
|
15371
|
+
"""
|
15372
|
+
return self._ExpireTime
|
15373
|
+
|
15374
|
+
@ExpireTime.setter
|
15375
|
+
def ExpireTime(self, ExpireTime):
|
15376
|
+
self._ExpireTime = ExpireTime
|
15377
|
+
|
15378
|
+
|
15379
|
+
def _deserialize(self, params):
|
15380
|
+
self._Domain = params.get("Domain")
|
15381
|
+
self._CreateTime = params.get("CreateTime")
|
15382
|
+
self._ExpireTime = params.get("ExpireTime")
|
15383
|
+
memeber_set = set(params.keys())
|
15384
|
+
for name, value in vars(self).items():
|
15385
|
+
property_name = name[1:]
|
15386
|
+
if property_name in memeber_set:
|
15387
|
+
memeber_set.remove(property_name)
|
15388
|
+
if len(memeber_set) > 0:
|
15389
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15390
|
+
|
15391
|
+
|
15392
|
+
|
15282
15393
|
class ManagerStatusInfo(AbstractModel):
|
15283
15394
|
"""管理人的四种审核状态
|
15284
15395
|
|
@@ -15294,11 +15405,14 @@ class ManagerStatusInfo(AbstractModel):
|
|
15294
15405
|
:type CreateTime: str
|
15295
15406
|
:param _ExpireTime: 过期时间
|
15296
15407
|
:type ExpireTime: str
|
15408
|
+
:param _ManagerPreAuditDomains: 管理人预审核的域名列表
|
15409
|
+
:type ManagerPreAuditDomains: list of ManagerPreAuditDomain
|
15297
15410
|
"""
|
15298
15411
|
self._Type = None
|
15299
15412
|
self._Status = None
|
15300
15413
|
self._CreateTime = None
|
15301
15414
|
self._ExpireTime = None
|
15415
|
+
self._ManagerPreAuditDomains = None
|
15302
15416
|
|
15303
15417
|
@property
|
15304
15418
|
def Type(self):
|
@@ -15344,12 +15458,29 @@ class ManagerStatusInfo(AbstractModel):
|
|
15344
15458
|
def ExpireTime(self, ExpireTime):
|
15345
15459
|
self._ExpireTime = ExpireTime
|
15346
15460
|
|
15461
|
+
@property
|
15462
|
+
def ManagerPreAuditDomains(self):
|
15463
|
+
"""管理人预审核的域名列表
|
15464
|
+
:rtype: list of ManagerPreAuditDomain
|
15465
|
+
"""
|
15466
|
+
return self._ManagerPreAuditDomains
|
15467
|
+
|
15468
|
+
@ManagerPreAuditDomains.setter
|
15469
|
+
def ManagerPreAuditDomains(self, ManagerPreAuditDomains):
|
15470
|
+
self._ManagerPreAuditDomains = ManagerPreAuditDomains
|
15471
|
+
|
15347
15472
|
|
15348
15473
|
def _deserialize(self, params):
|
15349
15474
|
self._Type = params.get("Type")
|
15350
15475
|
self._Status = params.get("Status")
|
15351
15476
|
self._CreateTime = params.get("CreateTime")
|
15352
15477
|
self._ExpireTime = params.get("ExpireTime")
|
15478
|
+
if params.get("ManagerPreAuditDomains") is not None:
|
15479
|
+
self._ManagerPreAuditDomains = []
|
15480
|
+
for item in params.get("ManagerPreAuditDomains"):
|
15481
|
+
obj = ManagerPreAuditDomain()
|
15482
|
+
obj._deserialize(item)
|
15483
|
+
self._ManagerPreAuditDomains.append(obj)
|
15353
15484
|
memeber_set = set(params.keys())
|
15354
15485
|
for name, value in vars(self).items():
|
15355
15486
|
property_name = name[1:]
|
@@ -110,6 +110,9 @@ INTERNALERROR_DESCRIBESERVICELISTERROR = 'InternalError.DescribeServiceListError
|
|
110
110
|
# 修改配置失败。
|
111
111
|
INTERNALERROR_MODIFYCONFIGDATAERROR = 'InternalError.ModifyConfigDataError'
|
112
112
|
|
113
|
+
# 修改网关的转发配置失败。
|
114
|
+
INTERNALERROR_MODIFYGATEWAYINGRESSERROR = 'InternalError.ModifyGatewayIngressError'
|
115
|
+
|
113
116
|
# 修改 LogConfig 错误。
|
114
117
|
INTERNALERROR_MODIFYLOGCONFIGERROR = 'InternalError.ModifyLogConfigError'
|
115
118
|
|
@@ -209,6 +212,9 @@ INVALIDPARAMETERVALUE_HPATHRESHOLDINVALID = 'InvalidParameterValue.HpaThresholdI
|
|
209
212
|
# 访问配置重定向需要启用 HTTPS。
|
210
213
|
INVALIDPARAMETERVALUE_INGRESSREWRITEREQUIREDHTTPSENABLE = 'InvalidParameterValue.IngressRewriteRequiredHttpsEnable'
|
211
214
|
|
215
|
+
# 自动重定向规则冲突,请检查是否存在同一个path的http/https转发。
|
216
|
+
INVALIDPARAMETERVALUE_INGRESSRULESCONFLICT = 'InvalidParameterValue.IngressRulesConflict'
|
217
|
+
|
212
218
|
# 无效的定时伸缩周期。
|
213
219
|
INVALIDPARAMETERVALUE_INVALIDCRONSCALERPERIOD = 'InvalidParameterValue.InvalidCronScalerPeriod'
|
214
220
|
|