tencentcloud-sdk-python 3.0.1376__py2.py3-none-any.whl → 3.0.1377__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 +30 -0
- tencentcloud/asr/v20190614/models.py +15 -0
- tencentcloud/bh/v20230418/models.py +317 -2
- tencentcloud/cdb/v20170320/cdb_client.py +0 -25
- tencentcloud/cdb/v20170320/models.py +0 -113
- tencentcloud/cfw/v20190904/models.py +17 -2
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/ess/v20201111/ess_client.py +27 -0
- tencentcloud/ess/v20201111/models.py +186 -4
- tencentcloud/essbasic/v20210526/essbasic_client.py +27 -0
- tencentcloud/essbasic/v20210526/models.py +220 -4
- tencentcloud/gaap/v20180529/errorcodes.py +0 -33
- tencentcloud/gaap/v20180529/gaap_client.py +0 -75
- tencentcloud/gaap/v20180529/models.py +0 -653
- tencentcloud/hunyuan/v20230901/models.py +20 -8
- tencentcloud/iai/v20180301/models.py +44 -34
- tencentcloud/keewidb/v20220308/models.py +4 -0
- tencentcloud/lighthouse/v20200324/models.py +4 -4
- tencentcloud/postgres/v20170312/models.py +0 -6
- tencentcloud/redis/v20180412/models.py +48 -0
- tencentcloud/tcbr/v20220217/models.py +162 -0
- tencentcloud/tdmq/v20200217/models.py +6 -6
- tencentcloud/thpc/v20230321/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +20 -20
- tencentcloud/waf/v20180125/errorcodes.py +12 -0
- tencentcloud/waf/v20180125/models.py +246 -29
- tencentcloud/wedata/v20210820/models.py +2692 -154
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/RECORD +34 -34
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/top_level.txt +0 -0
@@ -1657,7 +1657,7 @@ class File3D(AbstractModel):
|
|
1657
1657
|
r"""
|
1658
1658
|
:param _Type: 3D文件的格式。取值范围:GIF, OBJ
|
1659
1659
|
:type Type: str
|
1660
|
-
:param _Url: 文件的Url
|
1660
|
+
:param _Url: 文件的Url(有效期24小时)
|
1661
1661
|
:type Url: str
|
1662
1662
|
"""
|
1663
1663
|
self._Type = None
|
@@ -1676,7 +1676,7 @@ class File3D(AbstractModel):
|
|
1676
1676
|
|
1677
1677
|
@property
|
1678
1678
|
def Url(self):
|
1679
|
-
"""文件的Url
|
1679
|
+
"""文件的Url(有效期24小时)
|
1680
1680
|
:rtype: str
|
1681
1681
|
"""
|
1682
1682
|
return self._Url
|
@@ -6440,9 +6440,15 @@ class SubmitHunyuanTo3DJobRequest(AbstractModel):
|
|
6440
6440
|
r"""
|
6441
6441
|
:param _Prompt: 3D内容的描述,中文正向提示词。最多支持200个 utf-8 字符,ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
6442
6442
|
:type Prompt: str
|
6443
|
-
:param _ImageBase64: 输入图 Base64
|
6443
|
+
:param _ImageBase64: 输入图 Base64 数据。
|
6444
|
+
大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
|
6445
|
+
格式:jpg,png,jpeg,webp。
|
6446
|
+
ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
6444
6447
|
:type ImageBase64: str
|
6445
|
-
:param _ImageUrl: 输入图Url
|
6448
|
+
:param _ImageUrl: 输入图Url。
|
6449
|
+
大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
|
6450
|
+
格式:jpg,png,jpeg,webp。
|
6451
|
+
ImageBase64/ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
6446
6452
|
:type ImageUrl: str
|
6447
6453
|
:param _Num: 生成数量。默认1,当前限制只能为1。
|
6448
6454
|
:type Num: int
|
@@ -6465,7 +6471,10 @@ class SubmitHunyuanTo3DJobRequest(AbstractModel):
|
|
6465
6471
|
|
6466
6472
|
@property
|
6467
6473
|
def ImageBase64(self):
|
6468
|
-
"""输入图 Base64
|
6474
|
+
"""输入图 Base64 数据。
|
6475
|
+
大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
|
6476
|
+
格式:jpg,png,jpeg,webp。
|
6477
|
+
ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
6469
6478
|
:rtype: str
|
6470
6479
|
"""
|
6471
6480
|
return self._ImageBase64
|
@@ -6476,7 +6485,10 @@ class SubmitHunyuanTo3DJobRequest(AbstractModel):
|
|
6476
6485
|
|
6477
6486
|
@property
|
6478
6487
|
def ImageUrl(self):
|
6479
|
-
"""输入图Url
|
6488
|
+
"""输入图Url。
|
6489
|
+
大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
|
6490
|
+
格式:jpg,png,jpeg,webp。
|
6491
|
+
ImageBase64/ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
6480
6492
|
:rtype: str
|
6481
6493
|
"""
|
6482
6494
|
return self._ImageUrl
|
@@ -6519,7 +6531,7 @@ class SubmitHunyuanTo3DJobResponse(AbstractModel):
|
|
6519
6531
|
|
6520
6532
|
def __init__(self):
|
6521
6533
|
r"""
|
6522
|
-
:param _JobId: 任务id
|
6534
|
+
:param _JobId: 任务id(有效期24小时)
|
6523
6535
|
:type JobId: str
|
6524
6536
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6525
6537
|
:type RequestId: str
|
@@ -6529,7 +6541,7 @@ class SubmitHunyuanTo3DJobResponse(AbstractModel):
|
|
6529
6541
|
|
6530
6542
|
@property
|
6531
6543
|
def JobId(self):
|
6532
|
-
"""任务id
|
6544
|
+
"""任务id(有效期24小时)
|
6533
6545
|
:rtype: str
|
6534
6546
|
"""
|
6535
6547
|
return self._JobId
|
@@ -246,28 +246,33 @@ class AnalyzeFaceRequest(AbstractModel):
|
|
246
246
|
|
247
247
|
def __init__(self):
|
248
248
|
r"""
|
249
|
-
:param _Mode: 检测模式。
|
249
|
+
:param _Mode: 检测模式。
|
250
|
+
- 取值范围:0 为检测所有出现的人脸, 1 为检测面积最大的人脸。
|
251
|
+
- 默认为 0。
|
252
|
+
- 最多返回 10 张人脸的五官定位(人脸关键点)具体信息。
|
250
253
|
:type Mode: int
|
251
|
-
:param _Image: 图片 base64
|
252
|
-
|
254
|
+
:param _Image: 图片 base64 数据。
|
255
|
+
- base64 编码后大小不可超过5M。
|
256
|
+
- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
253
257
|
:type Image: str
|
254
|
-
:param _Url: 图片的 Url
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
258
|
+
:param _Url: 图片的 Url 。
|
259
|
+
- 对应图片 base64 编码后大小不可超过5M。
|
260
|
+
- Url、Image必须提供一个,如果都提供,只使用 Url。
|
261
|
+
- 图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
|
262
|
+
- 非腾讯云存储的Url速度和稳定性可能受一定影响。
|
263
|
+
- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
259
264
|
:type Url: str
|
260
265
|
:param _FaceModelVersion: 人脸识别服务所用的算法模型版本。
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
267
|
-
|
268
|
-
不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
266
|
+
- 目前入参支持 “2.0”和“3.0“ 两个输入。
|
267
|
+
- 2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
|
268
|
+
- 2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
269
|
+
- 不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
269
270
|
:type FaceModelVersion: str
|
270
|
-
:param _NeedRotateDetection: 是否开启图片旋转识别支持。
|
271
|
+
:param _NeedRotateDetection: 是否开启图片旋转识别支持。
|
272
|
+
- 取值范围:0为不开启,1为开启。
|
273
|
+
- 默认为0。
|
274
|
+
- 本参数的作用为,当图片中的人脸被旋转且图片没有exif信息时,如果不开启图片旋转识别支持则无法正确检测、识别图片中的人脸。
|
275
|
+
- 若您确认图片包含exif信息或者您确认输入图中人脸不会出现被旋转情况,请不要开启本参数。开启后,整体耗时将可能增加数百毫秒。
|
271
276
|
:type NeedRotateDetection: int
|
272
277
|
"""
|
273
278
|
self._Mode = None
|
@@ -278,7 +283,10 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
278
283
|
|
279
284
|
@property
|
280
285
|
def Mode(self):
|
281
|
-
"""检测模式。
|
286
|
+
"""检测模式。
|
287
|
+
- 取值范围:0 为检测所有出现的人脸, 1 为检测面积最大的人脸。
|
288
|
+
- 默认为 0。
|
289
|
+
- 最多返回 10 张人脸的五官定位(人脸关键点)具体信息。
|
282
290
|
:rtype: int
|
283
291
|
"""
|
284
292
|
return self._Mode
|
@@ -289,8 +297,9 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
289
297
|
|
290
298
|
@property
|
291
299
|
def Image(self):
|
292
|
-
"""图片 base64
|
293
|
-
|
300
|
+
"""图片 base64 数据。
|
301
|
+
- base64 编码后大小不可超过5M。
|
302
|
+
- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
294
303
|
:rtype: str
|
295
304
|
"""
|
296
305
|
return self._Image
|
@@ -301,11 +310,12 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
301
310
|
|
302
311
|
@property
|
303
312
|
def Url(self):
|
304
|
-
"""图片的 Url
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
313
|
+
"""图片的 Url 。
|
314
|
+
- 对应图片 base64 编码后大小不可超过5M。
|
315
|
+
- Url、Image必须提供一个,如果都提供,只使用 Url。
|
316
|
+
- 图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
|
317
|
+
- 非腾讯云存储的Url速度和稳定性可能受一定影响。
|
318
|
+
- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
309
319
|
:rtype: str
|
310
320
|
"""
|
311
321
|
return self._Url
|
@@ -317,14 +327,10 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
317
327
|
@property
|
318
328
|
def FaceModelVersion(self):
|
319
329
|
"""人脸识别服务所用的算法模型版本。
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
326
|
-
|
327
|
-
不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
330
|
+
- 目前入参支持 “2.0”和“3.0“ 两个输入。
|
331
|
+
- 2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
|
332
|
+
- 2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
333
|
+
- 不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
328
334
|
:rtype: str
|
329
335
|
"""
|
330
336
|
return self._FaceModelVersion
|
@@ -335,7 +341,11 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
335
341
|
|
336
342
|
@property
|
337
343
|
def NeedRotateDetection(self):
|
338
|
-
"""是否开启图片旋转识别支持。
|
344
|
+
"""是否开启图片旋转识别支持。
|
345
|
+
- 取值范围:0为不开启,1为开启。
|
346
|
+
- 默认为0。
|
347
|
+
- 本参数的作用为,当图片中的人脸被旋转且图片没有exif信息时,如果不开启图片旋转识别支持则无法正确检测、识别图片中的人脸。
|
348
|
+
- 若您确认图片包含exif信息或者您确认输入图中人脸不会出现被旋转情况,请不要开启本参数。开启后,整体耗时将可能增加数百毫秒。
|
339
349
|
:rtype: int
|
340
350
|
"""
|
341
351
|
return self._NeedRotateDetection
|
@@ -1681,6 +1681,8 @@ class DescribeInstanceBackupsResponse(AbstractModel):
|
|
1681
1681
|
|
1682
1682
|
@property
|
1683
1683
|
def BackupSet(self):
|
1684
|
+
warnings.warn("parameter `BackupSet` is deprecated", DeprecationWarning)
|
1685
|
+
|
1684
1686
|
"""废弃字段。
|
1685
1687
|
:rtype: list of BinlogInfo
|
1686
1688
|
"""
|
@@ -1688,6 +1690,8 @@ class DescribeInstanceBackupsResponse(AbstractModel):
|
|
1688
1690
|
|
1689
1691
|
@BackupSet.setter
|
1690
1692
|
def BackupSet(self, BackupSet):
|
1693
|
+
warnings.warn("parameter `BackupSet` is deprecated", DeprecationWarning)
|
1694
|
+
|
1691
1695
|
self._BackupSet = BackupSet
|
1692
1696
|
|
1693
1697
|
@property
|
@@ -6587,7 +6587,7 @@ class DescribeFirewallTemplatesRequest(AbstractModel):
|
|
6587
6587
|
<li>template-type</li>按照【防火墙模板的类型】进行过滤。
|
6588
6588
|
类型:String
|
6589
6589
|
必选:否
|
6590
|
-
取值: "PRIVATE"(
|
6590
|
+
取值: "PRIVATE"(个人模板)
|
6591
6591
|
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 TemplateIds 和 Filters。
|
6592
6592
|
:type Filters: list of Filter
|
6593
6593
|
:param _Offset: 偏移量,默认为 0。
|
@@ -6623,7 +6623,7 @@ class DescribeFirewallTemplatesRequest(AbstractModel):
|
|
6623
6623
|
<li>template-type</li>按照【防火墙模板的类型】进行过滤。
|
6624
6624
|
类型:String
|
6625
6625
|
必选:否
|
6626
|
-
取值: "PRIVATE"(
|
6626
|
+
取值: "PRIVATE"(个人模板)
|
6627
6627
|
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 TemplateIds 和 Filters。
|
6628
6628
|
:rtype: list of Filter
|
6629
6629
|
"""
|
@@ -11160,7 +11160,7 @@ class FirewallTemplate(AbstractModel):
|
|
11160
11160
|
:type TemplateId: str
|
11161
11161
|
:param _TemplateName: 模板名称。
|
11162
11162
|
:type TemplateName: str
|
11163
|
-
:param _TemplateType: 模板类型。取值: "PRIVATE"(
|
11163
|
+
:param _TemplateType: 模板类型。取值: "PRIVATE"(个人模板)
|
11164
11164
|
:type TemplateType: str
|
11165
11165
|
:param _TemplateState: 模板状态。取值: "NORMAL"(正常)
|
11166
11166
|
:type TemplateState: str
|
@@ -11197,7 +11197,7 @@ class FirewallTemplate(AbstractModel):
|
|
11197
11197
|
|
11198
11198
|
@property
|
11199
11199
|
def TemplateType(self):
|
11200
|
-
"""模板类型。取值: "PRIVATE"(
|
11200
|
+
"""模板类型。取值: "PRIVATE"(个人模板)
|
11201
11201
|
:rtype: str
|
11202
11202
|
"""
|
11203
11203
|
return self._TemplateType
|
@@ -16689,13 +16689,10 @@ class ModifyPrivilege(AbstractModel):
|
|
16689
16689
|
def __init__(self):
|
16690
16690
|
r"""
|
16691
16691
|
:param _DatabasePrivilege: 要修改的数据库对象及权限列表
|
16692
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16693
16692
|
:type DatabasePrivilege: :class:`tencentcloud.postgres.v20170312.models.DatabasePrivilege`
|
16694
16693
|
:param _ModifyType: 修改的方式,当前仅支持grantObject、revokeObject、alterRole。grantObject代表授权、revokeObject代表收回权、alterRole代表修改账号类型。
|
16695
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16696
16694
|
:type ModifyType: str
|
16697
16695
|
:param _IsCascade: 当ModifyType为revokeObject才需要此参数,参数为true时,撤销权限会级联撤销。默认为false。
|
16698
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16699
16696
|
:type IsCascade: bool
|
16700
16697
|
"""
|
16701
16698
|
self._DatabasePrivilege = None
|
@@ -16705,7 +16702,6 @@ class ModifyPrivilege(AbstractModel):
|
|
16705
16702
|
@property
|
16706
16703
|
def DatabasePrivilege(self):
|
16707
16704
|
"""要修改的数据库对象及权限列表
|
16708
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16709
16705
|
:rtype: :class:`tencentcloud.postgres.v20170312.models.DatabasePrivilege`
|
16710
16706
|
"""
|
16711
16707
|
return self._DatabasePrivilege
|
@@ -16717,7 +16713,6 @@ class ModifyPrivilege(AbstractModel):
|
|
16717
16713
|
@property
|
16718
16714
|
def ModifyType(self):
|
16719
16715
|
"""修改的方式,当前仅支持grantObject、revokeObject、alterRole。grantObject代表授权、revokeObject代表收回权、alterRole代表修改账号类型。
|
16720
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16721
16716
|
:rtype: str
|
16722
16717
|
"""
|
16723
16718
|
return self._ModifyType
|
@@ -16729,7 +16724,6 @@ class ModifyPrivilege(AbstractModel):
|
|
16729
16724
|
@property
|
16730
16725
|
def IsCascade(self):
|
16731
16726
|
"""当ModifyType为revokeObject才需要此参数,参数为true时,撤销权限会级联撤销。默认为false。
|
16732
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16733
16727
|
:rtype: bool
|
16734
16728
|
"""
|
16735
16729
|
return self._IsCascade
|
@@ -4249,6 +4249,8 @@ class DescribeBackupUrlResponse(AbstractModel):
|
|
4249
4249
|
|
4250
4250
|
@property
|
4251
4251
|
def DownloadUrl(self):
|
4252
|
+
warnings.warn("parameter `DownloadUrl` is deprecated", DeprecationWarning)
|
4253
|
+
|
4252
4254
|
"""外网下载地址(6小时内链接有效),该字段正在逐步废弃中。
|
4253
4255
|
:rtype: list of str
|
4254
4256
|
"""
|
@@ -4256,10 +4258,14 @@ class DescribeBackupUrlResponse(AbstractModel):
|
|
4256
4258
|
|
4257
4259
|
@DownloadUrl.setter
|
4258
4260
|
def DownloadUrl(self, DownloadUrl):
|
4261
|
+
warnings.warn("parameter `DownloadUrl` is deprecated", DeprecationWarning)
|
4262
|
+
|
4259
4263
|
self._DownloadUrl = DownloadUrl
|
4260
4264
|
|
4261
4265
|
@property
|
4262
4266
|
def InnerDownloadUrl(self):
|
4267
|
+
warnings.warn("parameter `InnerDownloadUrl` is deprecated", DeprecationWarning)
|
4268
|
+
|
4263
4269
|
"""内网下载地址(6小时内链接有效),该字段正在逐步废弃中。
|
4264
4270
|
:rtype: list of str
|
4265
4271
|
"""
|
@@ -4267,10 +4273,14 @@ class DescribeBackupUrlResponse(AbstractModel):
|
|
4267
4273
|
|
4268
4274
|
@InnerDownloadUrl.setter
|
4269
4275
|
def InnerDownloadUrl(self, InnerDownloadUrl):
|
4276
|
+
warnings.warn("parameter `InnerDownloadUrl` is deprecated", DeprecationWarning)
|
4277
|
+
|
4270
4278
|
self._InnerDownloadUrl = InnerDownloadUrl
|
4271
4279
|
|
4272
4280
|
@property
|
4273
4281
|
def Filenames(self):
|
4282
|
+
warnings.warn("parameter `Filenames` is deprecated", DeprecationWarning)
|
4283
|
+
|
4274
4284
|
"""文件名称,该字段正在逐步废弃中。
|
4275
4285
|
注意:此字段可能返回 null,表示取不到有效值。
|
4276
4286
|
:rtype: list of str
|
@@ -4279,6 +4289,8 @@ class DescribeBackupUrlResponse(AbstractModel):
|
|
4279
4289
|
|
4280
4290
|
@Filenames.setter
|
4281
4291
|
def Filenames(self, Filenames):
|
4292
|
+
warnings.warn("parameter `Filenames` is deprecated", DeprecationWarning)
|
4293
|
+
|
4282
4294
|
self._Filenames = Filenames
|
4283
4295
|
|
4284
4296
|
@property
|
@@ -10295,6 +10307,8 @@ class DescribeSlowLogResponse(AbstractModel):
|
|
10295
10307
|
|
10296
10308
|
@property
|
10297
10309
|
def InstanceSlowlogDetail(self):
|
10310
|
+
warnings.warn("parameter `InstanceSlowlogDetail` is deprecated", DeprecationWarning)
|
10311
|
+
|
10298
10312
|
"""已废弃,该参数存在命名不规范问题,后续用参数InstanceSlowLogDetail取代。慢查询详情。
|
10299
10313
|
:rtype: list of InstanceSlowlogDetail
|
10300
10314
|
"""
|
@@ -10302,6 +10316,8 @@ class DescribeSlowLogResponse(AbstractModel):
|
|
10302
10316
|
|
10303
10317
|
@InstanceSlowlogDetail.setter
|
10304
10318
|
def InstanceSlowlogDetail(self, InstanceSlowlogDetail):
|
10319
|
+
warnings.warn("parameter `InstanceSlowlogDetail` is deprecated", DeprecationWarning)
|
10320
|
+
|
10305
10321
|
self._InstanceSlowlogDetail = InstanceSlowlogDetail
|
10306
10322
|
|
10307
10323
|
@property
|
@@ -10770,6 +10786,8 @@ class DescribeTaskListRequest(AbstractModel):
|
|
10770
10786
|
|
10771
10787
|
@property
|
10772
10788
|
def OperatorUin(self):
|
10789
|
+
warnings.warn("parameter `OperatorUin` is deprecated", DeprecationWarning)
|
10790
|
+
|
10773
10791
|
"""该字段已废弃,使用OperateUin代替,请忽略。
|
10774
10792
|
:rtype: list of int
|
10775
10793
|
"""
|
@@ -10777,6 +10795,8 @@ class DescribeTaskListRequest(AbstractModel):
|
|
10777
10795
|
|
10778
10796
|
@OperatorUin.setter
|
10779
10797
|
def OperatorUin(self, OperatorUin):
|
10798
|
+
warnings.warn("parameter `OperatorUin` is deprecated", DeprecationWarning)
|
10799
|
+
|
10780
10800
|
self._OperatorUin = OperatorUin
|
10781
10801
|
|
10782
10802
|
@property
|
@@ -11459,6 +11479,8 @@ class EnableReplicaReadonlyResponse(AbstractModel):
|
|
11459
11479
|
|
11460
11480
|
@property
|
11461
11481
|
def Status(self):
|
11482
|
+
warnings.warn("parameter `Status` is deprecated", DeprecationWarning)
|
11483
|
+
|
11462
11484
|
"""错误:ERROR,正确OK(已废弃)
|
11463
11485
|
:rtype: str
|
11464
11486
|
"""
|
@@ -11466,6 +11488,8 @@ class EnableReplicaReadonlyResponse(AbstractModel):
|
|
11466
11488
|
|
11467
11489
|
@Status.setter
|
11468
11490
|
def Status(self, Status):
|
11491
|
+
warnings.warn("parameter `Status` is deprecated", DeprecationWarning)
|
11492
|
+
|
11469
11493
|
self._Status = Status
|
11470
11494
|
|
11471
11495
|
@property
|
@@ -14113,6 +14137,8 @@ class InstanceSet(AbstractModel):
|
|
14113
14137
|
|
14114
14138
|
@property
|
14115
14139
|
def SizeUsed(self):
|
14140
|
+
warnings.warn("parameter `SizeUsed` is deprecated", DeprecationWarning)
|
14141
|
+
|
14116
14142
|
"""该字段已废弃。请使用腾讯云可观测平台API 接口 [GetMonitorData](https://cloud.tencent.com/document/product/248/31014) 获取实例已使用的内存容量。
|
14117
14143
|
:rtype: float
|
14118
14144
|
"""
|
@@ -14120,6 +14146,8 @@ class InstanceSet(AbstractModel):
|
|
14120
14146
|
|
14121
14147
|
@SizeUsed.setter
|
14122
14148
|
def SizeUsed(self, SizeUsed):
|
14149
|
+
warnings.warn("parameter `SizeUsed` is deprecated", DeprecationWarning)
|
14150
|
+
|
14123
14151
|
self._SizeUsed = SizeUsed
|
14124
14152
|
|
14125
14153
|
@property
|
@@ -17540,6 +17568,8 @@ class ModifyInstanceRequest(AbstractModel):
|
|
17540
17568
|
|
17541
17569
|
@property
|
17542
17570
|
def InstanceId(self):
|
17571
|
+
warnings.warn("parameter `InstanceId` is deprecated", DeprecationWarning)
|
17572
|
+
|
17543
17573
|
"""目前在废弃中,存量用户还可以使用,建议新用户使用 InstanceIds。
|
17544
17574
|
:rtype: str
|
17545
17575
|
"""
|
@@ -17547,10 +17577,14 @@ class ModifyInstanceRequest(AbstractModel):
|
|
17547
17577
|
|
17548
17578
|
@InstanceId.setter
|
17549
17579
|
def InstanceId(self, InstanceId):
|
17580
|
+
warnings.warn("parameter `InstanceId` is deprecated", DeprecationWarning)
|
17581
|
+
|
17550
17582
|
self._InstanceId = InstanceId
|
17551
17583
|
|
17552
17584
|
@property
|
17553
17585
|
def InstanceName(self):
|
17586
|
+
warnings.warn("parameter `InstanceName` is deprecated", DeprecationWarning)
|
17587
|
+
|
17554
17588
|
"""已经废弃
|
17555
17589
|
:rtype: str
|
17556
17590
|
"""
|
@@ -17558,10 +17592,14 @@ class ModifyInstanceRequest(AbstractModel):
|
|
17558
17592
|
|
17559
17593
|
@InstanceName.setter
|
17560
17594
|
def InstanceName(self, InstanceName):
|
17595
|
+
warnings.warn("parameter `InstanceName` is deprecated", DeprecationWarning)
|
17596
|
+
|
17561
17597
|
self._InstanceName = InstanceName
|
17562
17598
|
|
17563
17599
|
@property
|
17564
17600
|
def AutoRenew(self):
|
17601
|
+
warnings.warn("parameter `AutoRenew` is deprecated", DeprecationWarning)
|
17602
|
+
|
17565
17603
|
"""已经废弃。
|
17566
17604
|
:rtype: int
|
17567
17605
|
"""
|
@@ -17569,6 +17607,8 @@ class ModifyInstanceRequest(AbstractModel):
|
|
17569
17607
|
|
17570
17608
|
@AutoRenew.setter
|
17571
17609
|
def AutoRenew(self, AutoRenew):
|
17610
|
+
warnings.warn("parameter `AutoRenew` is deprecated", DeprecationWarning)
|
17611
|
+
|
17572
17612
|
self._AutoRenew = AutoRenew
|
17573
17613
|
|
17574
17614
|
|
@@ -18887,6 +18927,8 @@ class ProductConf(AbstractModel):
|
|
18887
18927
|
|
18888
18928
|
@property
|
18889
18929
|
def EnableRepicaReadOnly(self):
|
18930
|
+
warnings.warn("parameter `EnableRepicaReadOnly` is deprecated", DeprecationWarning)
|
18931
|
+
|
18890
18932
|
"""该参数名因存在拼写不规范的问题,建议使用**EnableReplicaReadOnly**参数取代。其含义为是否支持副本只读。
|
18891
18933
|
- true:支持副本只读。
|
18892
18934
|
- false:不支持。
|
@@ -18896,6 +18938,8 @@ class ProductConf(AbstractModel):
|
|
18896
18938
|
|
18897
18939
|
@EnableRepicaReadOnly.setter
|
18898
18940
|
def EnableRepicaReadOnly(self, EnableRepicaReadOnly):
|
18941
|
+
warnings.warn("parameter `EnableRepicaReadOnly` is deprecated", DeprecationWarning)
|
18942
|
+
|
18899
18943
|
self._EnableRepicaReadOnly = EnableRepicaReadOnly
|
18900
18944
|
|
18901
18945
|
@property
|
@@ -21492,6 +21536,8 @@ class StartupInstanceResponse(AbstractModel):
|
|
21492
21536
|
|
21493
21537
|
@property
|
21494
21538
|
def TaskId(self):
|
21539
|
+
warnings.warn("parameter `TaskId` is deprecated", DeprecationWarning)
|
21540
|
+
|
21495
21541
|
"""该字段已废弃,请通过查询实例接口获取到的状态来判断实例是否已解隔离
|
21496
21542
|
:rtype: int
|
21497
21543
|
"""
|
@@ -21499,6 +21545,8 @@ class StartupInstanceResponse(AbstractModel):
|
|
21499
21545
|
|
21500
21546
|
@TaskId.setter
|
21501
21547
|
def TaskId(self, TaskId):
|
21548
|
+
warnings.warn("parameter `TaskId` is deprecated", DeprecationWarning)
|
21549
|
+
|
21502
21550
|
self._TaskId = TaskId
|
21503
21551
|
|
21504
21552
|
@property
|