tencentcloud-sdk-python 3.0.1286__py2.py3-none-any.whl → 3.0.1287__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/batch/v20170312/models.py +10 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +1 -2
- tencentcloud/dsgc/v20190723/models.py +241 -1136
- tencentcloud/ess/v20201111/models.py +38 -32
- tencentcloud/essbasic/v20210526/models.py +34 -26
- tencentcloud/keewidb/v20220308/models.py +19 -2
- tencentcloud/lighthouse/v20200324/models.py +6 -6
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +421 -0
- tencentcloud/monitor/v20180724/monitor_client.py +46 -0
- tencentcloud/ocr/v20181119/models.py +15 -0
- tencentcloud/ocr/v20181119/ocr_client.py +2 -2
- tencentcloud/privatedns/v20201028/models.py +4 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +52 -2
- tencentcloud/teo/v20220901/models.py +1499 -81
- tencentcloud/teo/v20220901/teo_client.py +207 -0
- tencentcloud/thpc/v20211109/models.py +4 -4
- tencentcloud/thpc/v20220401/models.py +8 -10
- tencentcloud/tiia/v20190529/models.py +2 -42
- tencentcloud/tiia/v20190529/tiia_client.py +14 -17
- {tencentcloud_sdk_python-3.0.1286.dist-info → tencentcloud_sdk_python-3.0.1287.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1286.dist-info → tencentcloud_sdk_python-3.0.1287.dist-info}/RECORD +27 -27
- {tencentcloud_sdk_python-3.0.1286.dist-info → tencentcloud_sdk_python-3.0.1287.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1286.dist-info → tencentcloud_sdk_python-3.0.1287.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1286.dist-info → tencentcloud_sdk_python-3.0.1287.dist-info}/top_level.txt +0 -0
@@ -259,6 +259,29 @@ class TeoClient(AbstractClient):
|
|
259
259
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
260
260
|
|
261
261
|
|
262
|
+
def CreateContentIdentifier(self, request):
|
263
|
+
"""创建内容标识符,可以设置描述、标签等信息,同时需要绑定企业版套餐用于统计计费数据;一个内容标识符只能绑定一个计费套餐,一个计费套餐可以绑定多个内容标识符。该功能仅限白名单开放。
|
264
|
+
|
265
|
+
:param request: Request instance for CreateContentIdentifier.
|
266
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateContentIdentifierRequest`
|
267
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateContentIdentifierResponse`
|
268
|
+
|
269
|
+
"""
|
270
|
+
try:
|
271
|
+
params = request._serialize()
|
272
|
+
headers = request.headers
|
273
|
+
body = self.call("CreateContentIdentifier", params, headers=headers)
|
274
|
+
response = json.loads(body)
|
275
|
+
model = models.CreateContentIdentifierResponse()
|
276
|
+
model._deserialize(response["Response"])
|
277
|
+
return model
|
278
|
+
except Exception as e:
|
279
|
+
if isinstance(e, TencentCloudSDKException):
|
280
|
+
raise
|
281
|
+
else:
|
282
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
283
|
+
|
284
|
+
|
262
285
|
def CreateCustomizeErrorPage(self, request):
|
263
286
|
"""创建自定义错误页面。
|
264
287
|
|
@@ -282,6 +305,29 @@ class TeoClient(AbstractClient):
|
|
282
305
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
283
306
|
|
284
307
|
|
308
|
+
def CreateDnsRecord(self, request):
|
309
|
+
"""在创建完站点后,并且站点为 NS 模式接入时,您可以通过本接口创建 DNS 记录。
|
310
|
+
|
311
|
+
:param request: Request instance for CreateDnsRecord.
|
312
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateDnsRecordRequest`
|
313
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateDnsRecordResponse`
|
314
|
+
|
315
|
+
"""
|
316
|
+
try:
|
317
|
+
params = request._serialize()
|
318
|
+
headers = request.headers
|
319
|
+
body = self.call("CreateDnsRecord", params, headers=headers)
|
320
|
+
response = json.loads(body)
|
321
|
+
model = models.CreateDnsRecordResponse()
|
322
|
+
model._deserialize(response["Response"])
|
323
|
+
return model
|
324
|
+
except Exception as e:
|
325
|
+
if isinstance(e, TencentCloudSDKException):
|
326
|
+
raise
|
327
|
+
else:
|
328
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
329
|
+
|
330
|
+
|
285
331
|
def CreateFunction(self, request):
|
286
332
|
"""创建并部署边缘函数至 EdgeOne 的边缘节点。
|
287
333
|
|
@@ -726,6 +772,29 @@ class TeoClient(AbstractClient):
|
|
726
772
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
727
773
|
|
728
774
|
|
775
|
+
def DeleteContentIdentifier(self, request):
|
776
|
+
"""删除指定的内容标识符。该功能仅白名单开放。
|
777
|
+
|
778
|
+
:param request: Request instance for DeleteContentIdentifier.
|
779
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteContentIdentifierRequest`
|
780
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteContentIdentifierResponse`
|
781
|
+
|
782
|
+
"""
|
783
|
+
try:
|
784
|
+
params = request._serialize()
|
785
|
+
headers = request.headers
|
786
|
+
body = self.call("DeleteContentIdentifier", params, headers=headers)
|
787
|
+
response = json.loads(body)
|
788
|
+
model = models.DeleteContentIdentifierResponse()
|
789
|
+
model._deserialize(response["Response"])
|
790
|
+
return model
|
791
|
+
except Exception as e:
|
792
|
+
if isinstance(e, TencentCloudSDKException):
|
793
|
+
raise
|
794
|
+
else:
|
795
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
796
|
+
|
797
|
+
|
729
798
|
def DeleteCustomErrorPage(self, request):
|
730
799
|
"""删除自定义错误页面。
|
731
800
|
|
@@ -749,6 +818,29 @@ class TeoClient(AbstractClient):
|
|
749
818
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
750
819
|
|
751
820
|
|
821
|
+
def DeleteDnsRecords(self, request):
|
822
|
+
"""您可以用本接口批量删除 DNS 记录。
|
823
|
+
|
824
|
+
:param request: Request instance for DeleteDnsRecords.
|
825
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteDnsRecordsRequest`
|
826
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteDnsRecordsResponse`
|
827
|
+
|
828
|
+
"""
|
829
|
+
try:
|
830
|
+
params = request._serialize()
|
831
|
+
headers = request.headers
|
832
|
+
body = self.call("DeleteDnsRecords", params, headers=headers)
|
833
|
+
response = json.loads(body)
|
834
|
+
model = models.DeleteDnsRecordsResponse()
|
835
|
+
model._deserialize(response["Response"])
|
836
|
+
return model
|
837
|
+
except Exception as e:
|
838
|
+
if isinstance(e, TencentCloudSDKException):
|
839
|
+
raise
|
840
|
+
else:
|
841
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
842
|
+
|
843
|
+
|
752
844
|
def DeleteFunction(self, request):
|
753
845
|
"""删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
|
754
846
|
|
@@ -1186,6 +1278,29 @@ class TeoClient(AbstractClient):
|
|
1186
1278
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1187
1279
|
|
1188
1280
|
|
1281
|
+
def DescribeContentIdentifiers(self, request):
|
1282
|
+
"""批量查询内容标识符,可以根据 ID、描述、状态或者标签过滤。按照状态查询被删除的内容标识符仅保留三个月。该功能仅白名单开放。
|
1283
|
+
|
1284
|
+
:param request: Request instance for DescribeContentIdentifiers.
|
1285
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeContentIdentifiersRequest`
|
1286
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeContentIdentifiersResponse`
|
1287
|
+
|
1288
|
+
"""
|
1289
|
+
try:
|
1290
|
+
params = request._serialize()
|
1291
|
+
headers = request.headers
|
1292
|
+
body = self.call("DescribeContentIdentifiers", params, headers=headers)
|
1293
|
+
response = json.loads(body)
|
1294
|
+
model = models.DescribeContentIdentifiersResponse()
|
1295
|
+
model._deserialize(response["Response"])
|
1296
|
+
return model
|
1297
|
+
except Exception as e:
|
1298
|
+
if isinstance(e, TencentCloudSDKException):
|
1299
|
+
raise
|
1300
|
+
else:
|
1301
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1302
|
+
|
1303
|
+
|
1189
1304
|
def DescribeContentQuota(self, request):
|
1190
1305
|
"""查询内容管理接口配额
|
1191
1306
|
|
@@ -1347,6 +1462,29 @@ class TeoClient(AbstractClient):
|
|
1347
1462
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1348
1463
|
|
1349
1464
|
|
1465
|
+
def DescribeDnsRecords(self, request):
|
1466
|
+
"""您可以用过本接口查看站点下的 DNS 记录信息,包括 DNS 记录名、记录类型以及记录内容等信息。您可以查看站点下全部 DNS 记录的信息,也可以指定过滤条件查询对应的 DNS 记录信息。
|
1467
|
+
|
1468
|
+
:param request: Request instance for DescribeDnsRecords.
|
1469
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeDnsRecordsRequest`
|
1470
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeDnsRecordsResponse`
|
1471
|
+
|
1472
|
+
"""
|
1473
|
+
try:
|
1474
|
+
params = request._serialize()
|
1475
|
+
headers = request.headers
|
1476
|
+
body = self.call("DescribeDnsRecords", params, headers=headers)
|
1477
|
+
response = json.loads(body)
|
1478
|
+
model = models.DescribeDnsRecordsResponse()
|
1479
|
+
model._deserialize(response["Response"])
|
1480
|
+
return model
|
1481
|
+
except Exception as e:
|
1482
|
+
if isinstance(e, TencentCloudSDKException):
|
1483
|
+
raise
|
1484
|
+
else:
|
1485
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1486
|
+
|
1487
|
+
|
1350
1488
|
def DescribeEnvironments(self, request):
|
1351
1489
|
"""在版本管理模式下,用于查询环境信息,可获取环境 ID、类型、当前生效版本等。版本管理功能内测中,当前仅白名单开放。
|
1352
1490
|
|
@@ -2420,6 +2558,29 @@ class TeoClient(AbstractClient):
|
|
2420
2558
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2421
2559
|
|
2422
2560
|
|
2561
|
+
def ModifyContentIdentifier(self, request):
|
2562
|
+
"""修改内容标识符,仅支持修改描述。该功能仅白名单开放。
|
2563
|
+
|
2564
|
+
:param request: Request instance for ModifyContentIdentifier.
|
2565
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyContentIdentifierRequest`
|
2566
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyContentIdentifierResponse`
|
2567
|
+
|
2568
|
+
"""
|
2569
|
+
try:
|
2570
|
+
params = request._serialize()
|
2571
|
+
headers = request.headers
|
2572
|
+
body = self.call("ModifyContentIdentifier", params, headers=headers)
|
2573
|
+
response = json.loads(body)
|
2574
|
+
model = models.ModifyContentIdentifierResponse()
|
2575
|
+
model._deserialize(response["Response"])
|
2576
|
+
return model
|
2577
|
+
except Exception as e:
|
2578
|
+
if isinstance(e, TencentCloudSDKException):
|
2579
|
+
raise
|
2580
|
+
else:
|
2581
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2582
|
+
|
2583
|
+
|
2423
2584
|
def ModifyCustomErrorPage(self, request):
|
2424
2585
|
"""修改自定义错误页面。
|
2425
2586
|
|
@@ -2443,6 +2604,52 @@ class TeoClient(AbstractClient):
|
|
2443
2604
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2444
2605
|
|
2445
2606
|
|
2607
|
+
def ModifyDnsRecords(self, request):
|
2608
|
+
"""您可以通过本接口批量修改 DNS 记录。
|
2609
|
+
|
2610
|
+
:param request: Request instance for ModifyDnsRecords.
|
2611
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyDnsRecordsRequest`
|
2612
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyDnsRecordsResponse`
|
2613
|
+
|
2614
|
+
"""
|
2615
|
+
try:
|
2616
|
+
params = request._serialize()
|
2617
|
+
headers = request.headers
|
2618
|
+
body = self.call("ModifyDnsRecords", params, headers=headers)
|
2619
|
+
response = json.loads(body)
|
2620
|
+
model = models.ModifyDnsRecordsResponse()
|
2621
|
+
model._deserialize(response["Response"])
|
2622
|
+
return model
|
2623
|
+
except Exception as e:
|
2624
|
+
if isinstance(e, TencentCloudSDKException):
|
2625
|
+
raise
|
2626
|
+
else:
|
2627
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2628
|
+
|
2629
|
+
|
2630
|
+
def ModifyDnsRecordsStatus(self, request):
|
2631
|
+
"""您可以通过本接口批量修改 DNS 记录的状态,批量对记录进行开启和停用。
|
2632
|
+
|
2633
|
+
:param request: Request instance for ModifyDnsRecordsStatus.
|
2634
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyDnsRecordsStatusRequest`
|
2635
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyDnsRecordsStatusResponse`
|
2636
|
+
|
2637
|
+
"""
|
2638
|
+
try:
|
2639
|
+
params = request._serialize()
|
2640
|
+
headers = request.headers
|
2641
|
+
body = self.call("ModifyDnsRecordsStatus", params, headers=headers)
|
2642
|
+
response = json.loads(body)
|
2643
|
+
model = models.ModifyDnsRecordsStatusResponse()
|
2644
|
+
model._deserialize(response["Response"])
|
2645
|
+
return model
|
2646
|
+
except Exception as e:
|
2647
|
+
if isinstance(e, TencentCloudSDKException):
|
2648
|
+
raise
|
2649
|
+
else:
|
2650
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2651
|
+
|
2652
|
+
|
2446
2653
|
def ModifyFunction(self, request):
|
2447
2654
|
"""修改边缘函数,支持修改函数的内容及描述信息,修改且重新部署后,函数立刻生效。
|
2448
2655
|
|
@@ -306,7 +306,7 @@ class ClusterOverview(AbstractModel):
|
|
306
306
|
r"""
|
307
307
|
:param _ClusterId: 集群ID。
|
308
308
|
:type ClusterId: str
|
309
|
-
:param _ClusterStatus: 集群状态。取值范围:<br><li>PENDING
|
309
|
+
:param _ClusterStatus: 集群状态。取值范围:<br><li>PENDING:创建中</li><br><li>INITING:初始化中</li><br><li>INIT_FAILED:初始化失败</li><br><li>RUNNING:运行中</li><br><li>TERMINATING:销毁中</li>
|
310
310
|
:type ClusterStatus: str
|
311
311
|
:param _ClusterName: 集群名称。
|
312
312
|
:type ClusterName: str
|
@@ -355,7 +355,7 @@ class ClusterOverview(AbstractModel):
|
|
355
355
|
|
356
356
|
@property
|
357
357
|
def ClusterStatus(self):
|
358
|
-
"""集群状态。取值范围:<br><li>PENDING
|
358
|
+
"""集群状态。取值范围:<br><li>PENDING:创建中</li><br><li>INITING:初始化中</li><br><li>INIT_FAILED:初始化失败</li><br><li>RUNNING:运行中</li><br><li>TERMINATING:销毁中</li>
|
359
359
|
:rtype: str
|
360
360
|
"""
|
361
361
|
return self._ClusterStatus
|
@@ -1692,14 +1692,14 @@ class LoginSettings(AbstractModel):
|
|
1692
1692
|
|
1693
1693
|
def __init__(self):
|
1694
1694
|
r"""
|
1695
|
-
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
1695
|
+
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li><br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
1696
1696
|
:type Password: str
|
1697
1697
|
"""
|
1698
1698
|
self._Password = None
|
1699
1699
|
|
1700
1700
|
@property
|
1701
1701
|
def Password(self):
|
1702
|
-
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
1702
|
+
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li><br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
1703
1703
|
:rtype: str
|
1704
1704
|
"""
|
1705
1705
|
return self._Password
|
@@ -1544,7 +1544,7 @@ class CreateClusterRequest(AbstractModel):
|
|
1544
1544
|
:type ComputeNode: :class:`tencentcloud.thpc.v20220401.models.ComputeNode`
|
1545
1545
|
:param _ComputeNodeCount: 指定计算节点的数量。默认取值:0。
|
1546
1546
|
:type ComputeNodeCount: int
|
1547
|
-
:param _SchedulerType: 调度器类型。默认取值:SLURM。<br><li>SGE:SGE
|
1547
|
+
:param _SchedulerType: 调度器类型。默认取值:SLURM。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
|
1548
1548
|
:type SchedulerType: str
|
1549
1549
|
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。
|
1550
1550
|
:type ImageId: str
|
@@ -1562,8 +1562,7 @@ true:发送检查请求,不会创建实例。检查项包括是否填写了
|
|
1562
1562
|
如果检查通过,则返回RequestId.
|
1563
1563
|
false(默认):发送正常请求,通过检查后直接创建实例
|
1564
1564
|
:type DryRun: bool
|
1565
|
-
:param _AccountType: 域名字服务类型。默认取值:NIS
|
1566
|
-
<li>NIS:NIS域名字服务。
|
1565
|
+
:param _AccountType: 域名字服务类型。默认取值:NIS。<li>NIS:NIS域名字服务。</li>
|
1567
1566
|
:type AccountType: str
|
1568
1567
|
:param _ClusterName: 集群显示名称。
|
1569
1568
|
:type ClusterName: str
|
@@ -1575,7 +1574,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
1575
1574
|
:type LoginNodeCount: int
|
1576
1575
|
:param _Tags: 创建集群时同时绑定的标签对说明。
|
1577
1576
|
:type Tags: list of Tag
|
1578
|
-
:param _AutoScalingType: 弹性伸缩类型。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)
|
1577
|
+
:param _AutoScalingType: 弹性伸缩类型。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。</li><br><li>THPC_AS:集群自动扩缩容由THPC产品内部实现。</li>
|
1579
1578
|
:type AutoScalingType: str
|
1580
1579
|
"""
|
1581
1580
|
self._Placement = None
|
@@ -1655,7 +1654,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
1655
1654
|
|
1656
1655
|
@property
|
1657
1656
|
def SchedulerType(self):
|
1658
|
-
"""调度器类型。默认取值:SLURM。<br><li>SGE:SGE
|
1657
|
+
"""调度器类型。默认取值:SLURM。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
|
1659
1658
|
:rtype: str
|
1660
1659
|
"""
|
1661
1660
|
return self._SchedulerType
|
@@ -1736,8 +1735,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
1736
1735
|
|
1737
1736
|
@property
|
1738
1737
|
def AccountType(self):
|
1739
|
-
"""域名字服务类型。默认取值:NIS
|
1740
|
-
<li>NIS:NIS域名字服务。
|
1738
|
+
"""域名字服务类型。默认取值:NIS。<li>NIS:NIS域名字服务。</li>
|
1741
1739
|
:rtype: str
|
1742
1740
|
"""
|
1743
1741
|
return self._AccountType
|
@@ -1803,7 +1801,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
1803
1801
|
|
1804
1802
|
@property
|
1805
1803
|
def AutoScalingType(self):
|
1806
|
-
"""弹性伸缩类型。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)
|
1804
|
+
"""弹性伸缩类型。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。</li><br><li>THPC_AS:集群自动扩缩容由THPC产品内部实现。</li>
|
1807
1805
|
:rtype: str
|
1808
1806
|
"""
|
1809
1807
|
return self._AutoScalingType
|
@@ -3797,14 +3795,14 @@ class LoginSettings(AbstractModel):
|
|
3797
3795
|
|
3798
3796
|
def __init__(self):
|
3799
3797
|
r"""
|
3800
|
-
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
3798
|
+
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li><br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
3801
3799
|
:type Password: str
|
3802
3800
|
"""
|
3803
3801
|
self._Password = None
|
3804
3802
|
|
3805
3803
|
@property
|
3806
3804
|
def Password(self):
|
3807
|
-
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
3805
|
+
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li><br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
3808
3806
|
:rtype: str
|
3809
3807
|
"""
|
3810
3808
|
return self._Password
|
@@ -280,7 +280,6 @@ class AttributesForBody(AbstractModel):
|
|
280
280
|
注意:此字段可能返回 null,表示取不到有效值。
|
281
281
|
:type Rect: :class:`tencentcloud.tiia.v20190529.models.ImageRect`
|
282
282
|
:param _DetectConfidence: 人体检测置信度。取值0-1之间,当不开启人体检测开关时默认为0。
|
283
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
284
283
|
:type DetectConfidence: float
|
285
284
|
:param _Attributes: 属性信息。
|
286
285
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -305,7 +304,6 @@ class AttributesForBody(AbstractModel):
|
|
305
304
|
@property
|
306
305
|
def DetectConfidence(self):
|
307
306
|
"""人体检测置信度。取值0-1之间,当不开启人体检测开关时默认为0。
|
308
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
309
307
|
:rtype: float
|
310
308
|
"""
|
311
309
|
return self._DetectConfidence
|
@@ -356,13 +354,10 @@ class BodyAttributes(AbstractModel):
|
|
356
354
|
def __init__(self):
|
357
355
|
r"""
|
358
356
|
:param _Label: 属性值。
|
359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
360
357
|
:type Label: str
|
361
358
|
:param _Confidence: 置信度,取值0-1之间。
|
362
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
363
359
|
:type Confidence: float
|
364
360
|
:param _Name: 属性名称。
|
365
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
366
361
|
:type Name: str
|
367
362
|
"""
|
368
363
|
self._Label = None
|
@@ -372,7 +367,6 @@ class BodyAttributes(AbstractModel):
|
|
372
367
|
@property
|
373
368
|
def Label(self):
|
374
369
|
"""属性值。
|
375
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
376
370
|
:rtype: str
|
377
371
|
"""
|
378
372
|
return self._Label
|
@@ -384,7 +378,6 @@ class BodyAttributes(AbstractModel):
|
|
384
378
|
@property
|
385
379
|
def Confidence(self):
|
386
380
|
"""置信度,取值0-1之间。
|
387
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
388
381
|
:rtype: float
|
389
382
|
"""
|
390
383
|
return self._Confidence
|
@@ -396,7 +389,6 @@ class BodyAttributes(AbstractModel):
|
|
396
389
|
@property
|
397
390
|
def Name(self):
|
398
391
|
"""属性名称。
|
399
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
400
392
|
:rtype: str
|
401
393
|
"""
|
402
394
|
return self._Name
|
@@ -496,28 +488,22 @@ class CarPlateContent(AbstractModel):
|
|
496
488
|
def __init__(self):
|
497
489
|
r"""
|
498
490
|
:param _Plate: 车牌信息。
|
499
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
500
491
|
:type Plate: str
|
501
492
|
:param _Color: 车牌颜色。
|
502
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
503
493
|
:type Color: str
|
504
494
|
:param _Type: 车牌类型,包含:0普通蓝牌,1双层黄牌,2单层黄牌,3新能源车牌,4使馆车牌,5领馆车牌,6澳门车牌,7香港车牌,8警用车牌,9教练车牌,10武警车牌,11军用车牌 -2遮挡污损模糊车牌/异常 其他无牌
|
505
495
|
注意:
|
506
496
|
此字段可能返回 null,表示取不到有效值。
|
507
497
|
此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面
|
508
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
509
498
|
:type Type: str
|
510
499
|
:param _PlateLocation: 车牌在图片中的坐标信息。
|
511
500
|
注意:此字段可能返回 null,表示取不到有效值。
|
512
501
|
:type PlateLocation: list of Coord
|
513
502
|
:param _PlateStatus: 判断车牌是否遮挡:“遮挡污损模糊车牌”和"正常车牌"。
|
514
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
515
503
|
:type PlateStatus: str
|
516
504
|
:param _PlateStatusConfidence: 车牌遮挡的置信度,0-100。
|
517
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
518
505
|
:type PlateStatusConfidence: int
|
519
506
|
:param _PlateAngle: 车牌角度。
|
520
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
521
507
|
:type PlateAngle: float
|
522
508
|
"""
|
523
509
|
self._Plate = None
|
@@ -531,7 +517,6 @@ class CarPlateContent(AbstractModel):
|
|
531
517
|
@property
|
532
518
|
def Plate(self):
|
533
519
|
"""车牌信息。
|
534
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
535
520
|
:rtype: str
|
536
521
|
"""
|
537
522
|
return self._Plate
|
@@ -543,7 +528,6 @@ class CarPlateContent(AbstractModel):
|
|
543
528
|
@property
|
544
529
|
def Color(self):
|
545
530
|
"""车牌颜色。
|
546
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
547
531
|
:rtype: str
|
548
532
|
"""
|
549
533
|
return self._Color
|
@@ -558,7 +542,6 @@ class CarPlateContent(AbstractModel):
|
|
558
542
|
注意:
|
559
543
|
此字段可能返回 null,表示取不到有效值。
|
560
544
|
此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面
|
561
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
562
545
|
:rtype: str
|
563
546
|
"""
|
564
547
|
return self._Type
|
@@ -582,7 +565,6 @@ class CarPlateContent(AbstractModel):
|
|
582
565
|
@property
|
583
566
|
def PlateStatus(self):
|
584
567
|
"""判断车牌是否遮挡:“遮挡污损模糊车牌”和"正常车牌"。
|
585
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
586
568
|
:rtype: str
|
587
569
|
"""
|
588
570
|
return self._PlateStatus
|
@@ -594,7 +576,6 @@ class CarPlateContent(AbstractModel):
|
|
594
576
|
@property
|
595
577
|
def PlateStatusConfidence(self):
|
596
578
|
"""车牌遮挡的置信度,0-100。
|
597
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
598
579
|
:rtype: int
|
599
580
|
"""
|
600
581
|
return self._PlateStatusConfidence
|
@@ -606,7 +587,6 @@ class CarPlateContent(AbstractModel):
|
|
606
587
|
@property
|
607
588
|
def PlateAngle(self):
|
608
589
|
"""车牌角度。
|
609
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
610
590
|
:rtype: float
|
611
591
|
"""
|
612
592
|
return self._PlateAngle
|
@@ -664,19 +644,14 @@ class CarTagItem(AbstractModel):
|
|
664
644
|
注意:此字段可能返回 null,表示取不到有效值。
|
665
645
|
:type PlateContent: :class:`tencentcloud.tiia.v20190529.models.CarPlateContent`
|
666
646
|
:param _PlateConfidence: 车牌信息置信度,0-100,仅车辆识别(增强版)支持
|
667
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
668
647
|
:type PlateConfidence: int
|
669
648
|
:param _TypeConfidence: 车辆类型置信度,0-100,仅车辆识别(增强版)支持
|
670
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
671
649
|
:type TypeConfidence: int
|
672
650
|
:param _ColorConfidence: 车辆颜色置信度,0-100,仅车辆识别(增强版)支持
|
673
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
674
651
|
:type ColorConfidence: int
|
675
652
|
:param _Orientation: 车辆朝向,仅车辆识别(增强版)支持
|
676
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
677
653
|
:type Orientation: str
|
678
654
|
:param _OrientationConfidence: 车辆朝向置信度,0-100,仅车辆识别(增强版)支持
|
679
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
680
655
|
:type OrientationConfidence: int
|
681
656
|
"""
|
682
657
|
self._Serial = None
|
@@ -785,7 +760,6 @@ class CarTagItem(AbstractModel):
|
|
785
760
|
@property
|
786
761
|
def PlateConfidence(self):
|
787
762
|
"""车牌信息置信度,0-100,仅车辆识别(增强版)支持
|
788
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
789
763
|
:rtype: int
|
790
764
|
"""
|
791
765
|
return self._PlateConfidence
|
@@ -797,7 +771,6 @@ class CarTagItem(AbstractModel):
|
|
797
771
|
@property
|
798
772
|
def TypeConfidence(self):
|
799
773
|
"""车辆类型置信度,0-100,仅车辆识别(增强版)支持
|
800
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
801
774
|
:rtype: int
|
802
775
|
"""
|
803
776
|
return self._TypeConfidence
|
@@ -809,7 +782,6 @@ class CarTagItem(AbstractModel):
|
|
809
782
|
@property
|
810
783
|
def ColorConfidence(self):
|
811
784
|
"""车辆颜色置信度,0-100,仅车辆识别(增强版)支持
|
812
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
813
785
|
:rtype: int
|
814
786
|
"""
|
815
787
|
return self._ColorConfidence
|
@@ -821,7 +793,6 @@ class CarTagItem(AbstractModel):
|
|
821
793
|
@property
|
822
794
|
def Orientation(self):
|
823
795
|
"""车辆朝向,仅车辆识别(增强版)支持
|
824
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
825
796
|
:rtype: str
|
826
797
|
"""
|
827
798
|
return self._Orientation
|
@@ -833,7 +804,6 @@ class CarTagItem(AbstractModel):
|
|
833
804
|
@property
|
834
805
|
def OrientationConfidence(self):
|
835
806
|
"""车辆朝向置信度,0-100,仅车辆识别(增强版)支持
|
836
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
837
807
|
:rtype: int
|
838
808
|
"""
|
839
809
|
return self._OrientationConfidence
|
@@ -1848,7 +1818,6 @@ class DescribeGroupsResponse(AbstractModel):
|
|
1848
1818
|
def __init__(self):
|
1849
1819
|
r"""
|
1850
1820
|
:param _Groups: 图库信息
|
1851
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1852
1821
|
:type Groups: list of GroupInfo
|
1853
1822
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1854
1823
|
:type RequestId: str
|
@@ -1859,7 +1828,6 @@ class DescribeGroupsResponse(AbstractModel):
|
|
1859
1828
|
@property
|
1860
1829
|
def Groups(self):
|
1861
1830
|
"""图库信息
|
1862
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1863
1831
|
:rtype: list of GroupInfo
|
1864
1832
|
"""
|
1865
1833
|
return self._Groups
|
@@ -2149,7 +2117,6 @@ class DetectChefDressResponse(AbstractModel):
|
|
2149
2117
|
def __init__(self):
|
2150
2118
|
r"""
|
2151
2119
|
:param _Bodies: 识别到的人体属性信息。单个人体属性信息包括人体检测置信度,属性信息,人体检测框。
|
2152
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2153
2120
|
:type Bodies: list of AttributesForBody
|
2154
2121
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2155
2122
|
:type RequestId: str
|
@@ -2160,7 +2127,6 @@ class DetectChefDressResponse(AbstractModel):
|
|
2160
2127
|
@property
|
2161
2128
|
def Bodies(self):
|
2162
2129
|
"""识别到的人体属性信息。单个人体属性信息包括人体检测置信度,属性信息,人体检测框。
|
2163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2164
2130
|
:rtype: list of AttributesForBody
|
2165
2131
|
"""
|
2166
2132
|
return self._Bodies
|
@@ -2383,10 +2349,8 @@ class DetectEnvelopeResponse(AbstractModel):
|
|
2383
2349
|
def __init__(self):
|
2384
2350
|
r"""
|
2385
2351
|
:param _FirstTags: 一级标签结果数组。识别是否文件封。
|
2386
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2387
2352
|
:type FirstTags: list of ImageTag
|
2388
2353
|
:param _SecondTags: 二级标签结果数组。识别文件封正反面。
|
2389
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2390
2354
|
:type SecondTags: list of ImageTag
|
2391
2355
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2392
2356
|
:type RequestId: str
|
@@ -2398,7 +2362,6 @@ class DetectEnvelopeResponse(AbstractModel):
|
|
2398
2362
|
@property
|
2399
2363
|
def FirstTags(self):
|
2400
2364
|
"""一级标签结果数组。识别是否文件封。
|
2401
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2402
2365
|
:rtype: list of ImageTag
|
2403
2366
|
"""
|
2404
2367
|
return self._FirstTags
|
@@ -2410,7 +2373,6 @@ class DetectEnvelopeResponse(AbstractModel):
|
|
2410
2373
|
@property
|
2411
2374
|
def SecondTags(self):
|
2412
2375
|
"""二级标签结果数组。识别文件封正反面。
|
2413
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2414
2376
|
:rtype: list of ImageTag
|
2415
2377
|
"""
|
2416
2378
|
return self._SecondTags
|
@@ -2873,7 +2835,6 @@ class DetectLabelProResponse(AbstractModel):
|
|
2873
2835
|
def __init__(self):
|
2874
2836
|
r"""
|
2875
2837
|
:param _Labels: 返回标签数组。
|
2876
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2877
2838
|
:type Labels: list of DetectLabelItem
|
2878
2839
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2879
2840
|
:type RequestId: str
|
@@ -2884,7 +2845,6 @@ class DetectLabelProResponse(AbstractModel):
|
|
2884
2845
|
@property
|
2885
2846
|
def Labels(self):
|
2886
2847
|
"""返回标签数组。
|
2887
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2888
2848
|
:rtype: list of DetectLabelItem
|
2889
2849
|
"""
|
2890
2850
|
return self._Labels
|
@@ -3601,7 +3561,6 @@ class DetectSecurityResponse(AbstractModel):
|
|
3601
3561
|
def __init__(self):
|
3602
3562
|
r"""
|
3603
3563
|
:param _Bodies: 识别到的人体属性信息。单个人体属性信息包括人体检测置信度,属性信息,人体检测框。
|
3604
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3605
3564
|
:type Bodies: list of AttributesForBody
|
3606
3565
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3607
3566
|
:type RequestId: str
|
@@ -3612,7 +3571,6 @@ class DetectSecurityResponse(AbstractModel):
|
|
3612
3571
|
@property
|
3613
3572
|
def Bodies(self):
|
3614
3573
|
"""识别到的人体属性信息。单个人体属性信息包括人体检测置信度,属性信息,人体检测框。
|
3615
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3616
3574
|
:rtype: list of AttributesForBody
|
3617
3575
|
"""
|
3618
3576
|
return self._Bodies
|
@@ -4854,6 +4812,7 @@ ImageUrl和ImageBase64必须提供一个,如果都提供,只使用ImageUrl
|
|
4854
4812
|
:type MatchThreshold: int
|
4855
4813
|
:param _Filter: 标签过滤条件。
|
4856
4814
|
针对创建图片时提交的Tags信息进行条件过滤。支持>、>=、 <、 <=、=,!=,多个条件之间支持AND和OR进行连接。
|
4815
|
+
最大支持64字符。
|
4857
4816
|
:type Filter: str
|
4858
4817
|
:param _ImageRect: 图像主体区域。
|
4859
4818
|
若设置主体区域,提取指定的区域进行检索。
|
@@ -4978,6 +4937,7 @@ ImageUrl和ImageBase64必须提供一个,如果都提供,只使用ImageUrl
|
|
4978
4937
|
def Filter(self):
|
4979
4938
|
"""标签过滤条件。
|
4980
4939
|
针对创建图片时提交的Tags信息进行条件过滤。支持>、>=、 <、 <=、=,!=,多个条件之间支持AND和OR进行连接。
|
4940
|
+
最大支持64字符。
|
4981
4941
|
:rtype: str
|
4982
4942
|
"""
|
4983
4943
|
return self._Filter
|