tencentcloud-sdk-python 3.0.1478__py2.py3-none-any.whl → 3.0.1479__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

@@ -4450,6 +4450,16 @@ class DescribeInstanceLogsRequest(AbstractModel):
4450
4450
  <li>0, 降序</li>
4451
4451
  <li>1, 升序</li>
4452
4452
  :type OrderByType: int
4453
+ :param _LogLevels: 日志级别
4454
+ :type LogLevels: list of str
4455
+ :param _NodeIds: 节点ID
4456
+ :type NodeIds: list of str
4457
+ :param _IndexName: 慢日志索引名
4458
+ :type IndexName: str
4459
+ :param _ShardId: 慢日志索引分片
4460
+ :type ShardId: str
4461
+ :param _QueryCost: 慢日志查询耗时
4462
+ :type QueryCost: int
4453
4463
  """
4454
4464
  self._InstanceId = None
4455
4465
  self._LogType = None
@@ -4459,6 +4469,11 @@ class DescribeInstanceLogsRequest(AbstractModel):
4459
4469
  self._Offset = None
4460
4470
  self._Limit = None
4461
4471
  self._OrderByType = None
4472
+ self._LogLevels = None
4473
+ self._NodeIds = None
4474
+ self._IndexName = None
4475
+ self._ShardId = None
4476
+ self._QueryCost = None
4462
4477
 
4463
4478
  @property
4464
4479
  def InstanceId(self):
@@ -4554,6 +4569,61 @@ class DescribeInstanceLogsRequest(AbstractModel):
4554
4569
  def OrderByType(self, OrderByType):
4555
4570
  self._OrderByType = OrderByType
4556
4571
 
4572
+ @property
4573
+ def LogLevels(self):
4574
+ r"""日志级别
4575
+ :rtype: list of str
4576
+ """
4577
+ return self._LogLevels
4578
+
4579
+ @LogLevels.setter
4580
+ def LogLevels(self, LogLevels):
4581
+ self._LogLevels = LogLevels
4582
+
4583
+ @property
4584
+ def NodeIds(self):
4585
+ r"""节点ID
4586
+ :rtype: list of str
4587
+ """
4588
+ return self._NodeIds
4589
+
4590
+ @NodeIds.setter
4591
+ def NodeIds(self, NodeIds):
4592
+ self._NodeIds = NodeIds
4593
+
4594
+ @property
4595
+ def IndexName(self):
4596
+ r"""慢日志索引名
4597
+ :rtype: str
4598
+ """
4599
+ return self._IndexName
4600
+
4601
+ @IndexName.setter
4602
+ def IndexName(self, IndexName):
4603
+ self._IndexName = IndexName
4604
+
4605
+ @property
4606
+ def ShardId(self):
4607
+ r"""慢日志索引分片
4608
+ :rtype: str
4609
+ """
4610
+ return self._ShardId
4611
+
4612
+ @ShardId.setter
4613
+ def ShardId(self, ShardId):
4614
+ self._ShardId = ShardId
4615
+
4616
+ @property
4617
+ def QueryCost(self):
4618
+ r"""慢日志查询耗时
4619
+ :rtype: int
4620
+ """
4621
+ return self._QueryCost
4622
+
4623
+ @QueryCost.setter
4624
+ def QueryCost(self, QueryCost):
4625
+ self._QueryCost = QueryCost
4626
+
4557
4627
 
4558
4628
  def _deserialize(self, params):
4559
4629
  self._InstanceId = params.get("InstanceId")
@@ -4564,6 +4634,11 @@ class DescribeInstanceLogsRequest(AbstractModel):
4564
4634
  self._Offset = params.get("Offset")
4565
4635
  self._Limit = params.get("Limit")
4566
4636
  self._OrderByType = params.get("OrderByType")
4637
+ self._LogLevels = params.get("LogLevels")
4638
+ self._NodeIds = params.get("NodeIds")
4639
+ self._IndexName = params.get("IndexName")
4640
+ self._ShardId = params.get("ShardId")
4641
+ self._QueryCost = params.get("QueryCost")
4567
4642
  memeber_set = set(params.keys())
4568
4643
  for name, value in vars(self).items():
4569
4644
  property_name = name[1:]
@@ -12431,12 +12506,21 @@ class InstanceLog(AbstractModel):
12431
12506
  :type Message: str
12432
12507
  :param _NodeID: 集群节点ID
12433
12508
  :type NodeID: str
12509
+ :param _IndexName: 慢日志索引名
12510
+ :type IndexName: str
12511
+ :param _Shard: 慢日志索引分片
12512
+ :type Shard: str
12513
+ :param _QueryCost: 慢日志索引查询耗时
12514
+ :type QueryCost: str
12434
12515
  """
12435
12516
  self._Time = None
12436
12517
  self._Level = None
12437
12518
  self._Ip = None
12438
12519
  self._Message = None
12439
12520
  self._NodeID = None
12521
+ self._IndexName = None
12522
+ self._Shard = None
12523
+ self._QueryCost = None
12440
12524
 
12441
12525
  @property
12442
12526
  def Time(self):
@@ -12493,6 +12577,39 @@ class InstanceLog(AbstractModel):
12493
12577
  def NodeID(self, NodeID):
12494
12578
  self._NodeID = NodeID
12495
12579
 
12580
+ @property
12581
+ def IndexName(self):
12582
+ r"""慢日志索引名
12583
+ :rtype: str
12584
+ """
12585
+ return self._IndexName
12586
+
12587
+ @IndexName.setter
12588
+ def IndexName(self, IndexName):
12589
+ self._IndexName = IndexName
12590
+
12591
+ @property
12592
+ def Shard(self):
12593
+ r"""慢日志索引分片
12594
+ :rtype: str
12595
+ """
12596
+ return self._Shard
12597
+
12598
+ @Shard.setter
12599
+ def Shard(self, Shard):
12600
+ self._Shard = Shard
12601
+
12602
+ @property
12603
+ def QueryCost(self):
12604
+ r"""慢日志索引查询耗时
12605
+ :rtype: str
12606
+ """
12607
+ return self._QueryCost
12608
+
12609
+ @QueryCost.setter
12610
+ def QueryCost(self, QueryCost):
12611
+ self._QueryCost = QueryCost
12612
+
12496
12613
 
12497
12614
  def _deserialize(self, params):
12498
12615
  self._Time = params.get("Time")
@@ -12500,6 +12617,9 @@ class InstanceLog(AbstractModel):
12500
12617
  self._Ip = params.get("Ip")
12501
12618
  self._Message = params.get("Message")
12502
12619
  self._NodeID = params.get("NodeID")
12620
+ self._IndexName = params.get("IndexName")
12621
+ self._Shard = params.get("Shard")
12622
+ self._QueryCost = params.get("QueryCost")
12503
12623
  memeber_set = set(params.keys())
12504
12624
  for name, value in vars(self).items():
12505
12625
  property_name = name[1:]
@@ -17548,6 +17668,10 @@ class ServerlessSpace(AbstractModel):
17548
17668
  :param _TagList: 空间标签信息
17549
17669
  注意:此字段可能返回 null,表示取不到有效值。
17550
17670
  :type TagList: list of TagInfo
17671
+ :param _EnableMcpAccess: 是否开启mcp服务
17672
+ :type EnableMcpAccess: int
17673
+ :param _McpAccess: mcp的访问地址
17674
+ :type McpAccess: str
17551
17675
  """
17552
17676
  self._SpaceId = None
17553
17677
  self._SpaceName = None
@@ -17569,6 +17693,8 @@ class ServerlessSpace(AbstractModel):
17569
17693
  self._KibanaLanguage = None
17570
17694
  self._ClusterType = None
17571
17695
  self._TagList = None
17696
+ self._EnableMcpAccess = None
17697
+ self._McpAccess = None
17572
17698
 
17573
17699
  @property
17574
17700
  def SpaceId(self):
@@ -17805,6 +17931,28 @@ class ServerlessSpace(AbstractModel):
17805
17931
  def TagList(self, TagList):
17806
17932
  self._TagList = TagList
17807
17933
 
17934
+ @property
17935
+ def EnableMcpAccess(self):
17936
+ r"""是否开启mcp服务
17937
+ :rtype: int
17938
+ """
17939
+ return self._EnableMcpAccess
17940
+
17941
+ @EnableMcpAccess.setter
17942
+ def EnableMcpAccess(self, EnableMcpAccess):
17943
+ self._EnableMcpAccess = EnableMcpAccess
17944
+
17945
+ @property
17946
+ def McpAccess(self):
17947
+ r"""mcp的访问地址
17948
+ :rtype: str
17949
+ """
17950
+ return self._McpAccess
17951
+
17952
+ @McpAccess.setter
17953
+ def McpAccess(self, McpAccess):
17954
+ self._McpAccess = McpAccess
17955
+
17808
17956
 
17809
17957
  def _deserialize(self, params):
17810
17958
  self._SpaceId = params.get("SpaceId")
@@ -17841,6 +17989,8 @@ class ServerlessSpace(AbstractModel):
17841
17989
  obj = TagInfo()
17842
17990
  obj._deserialize(item)
17843
17991
  self._TagList.append(obj)
17992
+ self._EnableMcpAccess = params.get("EnableMcpAccess")
17993
+ self._McpAccess = params.get("McpAccess")
17844
17994
  memeber_set = set(params.keys())
17845
17995
  for name, value in vars(self).items():
17846
17996
  property_name = name[1:]
@@ -23182,11 +23182,25 @@ class DescribePrometheusScrapeStatisticsRequest(AbstractModel):
23182
23182
 
23183
23183
  def __init__(self):
23184
23184
  r"""
23185
+ :param _InstanceIds: 实例ID列表
23186
+ :type InstanceIds: list of str
23185
23187
  :param _JobType: job 类型
23186
23188
  :type JobType: str
23187
23189
  """
23190
+ self._InstanceIds = None
23188
23191
  self._JobType = None
23189
23192
 
23193
+ @property
23194
+ def InstanceIds(self):
23195
+ r"""实例ID列表
23196
+ :rtype: list of str
23197
+ """
23198
+ return self._InstanceIds
23199
+
23200
+ @InstanceIds.setter
23201
+ def InstanceIds(self, InstanceIds):
23202
+ self._InstanceIds = InstanceIds
23203
+
23190
23204
  @property
23191
23205
  def JobType(self):
23192
23206
  r"""job 类型
@@ -23200,6 +23214,7 @@ class DescribePrometheusScrapeStatisticsRequest(AbstractModel):
23200
23214
 
23201
23215
 
23202
23216
  def _deserialize(self, params):
23217
+ self._InstanceIds = params.get("InstanceIds")
23203
23218
  self._JobType = params.get("JobType")
23204
23219
  memeber_set = set(params.keys())
23205
23220
  for name, value in vars(self).items():
@@ -24062,6 +24077,135 @@ class DescribeRemoteURLsResponse(AbstractModel):
24062
24077
  self._RequestId = params.get("RequestId")
24063
24078
 
24064
24079
 
24080
+ class DescribeRemoteWritesRequest(AbstractModel):
24081
+ r"""DescribeRemoteWrites请求参数结构体
24082
+
24083
+ """
24084
+
24085
+ def __init__(self):
24086
+ r"""
24087
+ :param _InstanceId: 实例 ID
24088
+ :type InstanceId: str
24089
+ :param _Offset: 列表 offset
24090
+ :type Offset: int
24091
+ :param _Limit: 返回 limit
24092
+ :type Limit: int
24093
+ """
24094
+ self._InstanceId = None
24095
+ self._Offset = None
24096
+ self._Limit = None
24097
+
24098
+ @property
24099
+ def InstanceId(self):
24100
+ r"""实例 ID
24101
+ :rtype: str
24102
+ """
24103
+ return self._InstanceId
24104
+
24105
+ @InstanceId.setter
24106
+ def InstanceId(self, InstanceId):
24107
+ self._InstanceId = InstanceId
24108
+
24109
+ @property
24110
+ def Offset(self):
24111
+ r"""列表 offset
24112
+ :rtype: int
24113
+ """
24114
+ return self._Offset
24115
+
24116
+ @Offset.setter
24117
+ def Offset(self, Offset):
24118
+ self._Offset = Offset
24119
+
24120
+ @property
24121
+ def Limit(self):
24122
+ r"""返回 limit
24123
+ :rtype: int
24124
+ """
24125
+ return self._Limit
24126
+
24127
+ @Limit.setter
24128
+ def Limit(self, Limit):
24129
+ self._Limit = Limit
24130
+
24131
+
24132
+ def _deserialize(self, params):
24133
+ self._InstanceId = params.get("InstanceId")
24134
+ self._Offset = params.get("Offset")
24135
+ self._Limit = params.get("Limit")
24136
+ memeber_set = set(params.keys())
24137
+ for name, value in vars(self).items():
24138
+ property_name = name[1:]
24139
+ if property_name in memeber_set:
24140
+ memeber_set.remove(property_name)
24141
+ if len(memeber_set) > 0:
24142
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
24143
+
24144
+
24145
+
24146
+ class DescribeRemoteWritesResponse(AbstractModel):
24147
+ r"""DescribeRemoteWrites返回参数结构体
24148
+
24149
+ """
24150
+
24151
+ def __init__(self):
24152
+ r"""
24153
+ :param _Count: 存储数据
24154
+ :type Count: int
24155
+ :param _RemoteWrites: 多写信息
24156
+ :type RemoteWrites: list of WriteDestination
24157
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
24158
+ :type RequestId: str
24159
+ """
24160
+ self._Count = None
24161
+ self._RemoteWrites = None
24162
+ self._RequestId = None
24163
+
24164
+ @property
24165
+ def Count(self):
24166
+ r"""存储数据
24167
+ :rtype: int
24168
+ """
24169
+ return self._Count
24170
+
24171
+ @Count.setter
24172
+ def Count(self, Count):
24173
+ self._Count = Count
24174
+
24175
+ @property
24176
+ def RemoteWrites(self):
24177
+ r"""多写信息
24178
+ :rtype: list of WriteDestination
24179
+ """
24180
+ return self._RemoteWrites
24181
+
24182
+ @RemoteWrites.setter
24183
+ def RemoteWrites(self, RemoteWrites):
24184
+ self._RemoteWrites = RemoteWrites
24185
+
24186
+ @property
24187
+ def RequestId(self):
24188
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
24189
+ :rtype: str
24190
+ """
24191
+ return self._RequestId
24192
+
24193
+ @RequestId.setter
24194
+ def RequestId(self, RequestId):
24195
+ self._RequestId = RequestId
24196
+
24197
+
24198
+ def _deserialize(self, params):
24199
+ self._Count = params.get("Count")
24200
+ if params.get("RemoteWrites") is not None:
24201
+ self._RemoteWrites = []
24202
+ for item in params.get("RemoteWrites"):
24203
+ obj = WriteDestination()
24204
+ obj._deserialize(item)
24205
+ self._RemoteWrites.append(obj)
24206
+ self._RequestId = params.get("RequestId")
24207
+
24208
+
24065
24209
  class DescribeSSOAccountRequest(AbstractModel):
24066
24210
  r"""DescribeSSOAccount请求参数结构体
24067
24211
 
@@ -25396,7 +25540,7 @@ class GetMonitorDataRequest(AbstractModel):
25396
25540
  :type StartTime: str
25397
25541
  :param _EndTime: 结束时间,如2018-09-22T20:51:23+08:00,默认为当前时间。 EndTime不能小于StartTime
25398
25542
  :type EndTime: str
25399
- :param _SpecifyStatistics: 返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。注意: 仅支持对API配置文档中展示的统计方式返回对应的统计数据。如所需的统计方式不满足您的查询需求,请提工单反馈。
25543
+ :param _SpecifyStatistics: 返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。特别说明:建议查询时严格参考API配置文档中提供的统计方式。如选择其他未提供的统计方式,可能有数据统计误差。
25400
25544
  :type SpecifyStatistics: int
25401
25545
  """
25402
25546
  self._Namespace = None
@@ -25475,7 +25619,7 @@ class GetMonitorDataRequest(AbstractModel):
25475
25619
 
25476
25620
  @property
25477
25621
  def SpecifyStatistics(self):
25478
- r"""返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。注意: 仅支持对API配置文档中展示的统计方式返回对应的统计数据。如所需的统计方式不满足您的查询需求,请提工单反馈。
25622
+ r"""返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。特别说明:建议查询时严格参考API配置文档中提供的统计方式。如选择其他未提供的统计方式,可能有数据统计误差。
25479
25623
  :rtype: int
25480
25624
  """
25481
25625
  return self._SpecifyStatistics
@@ -41907,4 +42051,40 @@ class UserNotice(AbstractModel):
41907
42051
  memeber_set.remove(property_name)
41908
42052
  if len(memeber_set) > 0:
41909
42053
  warnings.warn("%s fileds are useless." % ",".join(memeber_set))
42054
+
42055
+
42056
+
42057
+ class WriteDestination(AbstractModel):
42058
+ r"""数据写向目标
42059
+
42060
+ """
42061
+
42062
+ def __init__(self):
42063
+ r"""
42064
+ :param _Destination: 存储标识
42065
+ :type Destination: str
42066
+ """
42067
+ self._Destination = None
42068
+
42069
+ @property
42070
+ def Destination(self):
42071
+ r"""存储标识
42072
+ :rtype: str
42073
+ """
42074
+ return self._Destination
42075
+
42076
+ @Destination.setter
42077
+ def Destination(self, Destination):
42078
+ self._Destination = Destination
42079
+
42080
+
42081
+ def _deserialize(self, params):
42082
+ self._Destination = params.get("Destination")
42083
+ memeber_set = set(params.keys())
42084
+ for name, value in vars(self).items():
42085
+ property_name = name[1:]
42086
+ if property_name in memeber_set:
42087
+ memeber_set.remove(property_name)
42088
+ if len(memeber_set) > 0:
42089
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
41910
42090
 
@@ -2594,6 +2594,29 @@ class MonitorClient(AbstractClient):
2594
2594
  raise TencentCloudSDKException(type(e).__name__, str(e))
2595
2595
 
2596
2596
 
2597
+ def DescribeRemoteWrites(self, request):
2598
+ r"""查询安装的 Agent 列表
2599
+
2600
+ :param request: Request instance for DescribeRemoteWrites.
2601
+ :type request: :class:`tencentcloud.monitor.v20180724.models.DescribeRemoteWritesRequest`
2602
+ :rtype: :class:`tencentcloud.monitor.v20180724.models.DescribeRemoteWritesResponse`
2603
+
2604
+ """
2605
+ try:
2606
+ params = request._serialize()
2607
+ headers = request.headers
2608
+ body = self.call("DescribeRemoteWrites", params, headers=headers)
2609
+ response = json.loads(body)
2610
+ model = models.DescribeRemoteWritesResponse()
2611
+ model._deserialize(response["Response"])
2612
+ return model
2613
+ except Exception as e:
2614
+ if isinstance(e, TencentCloudSDKException):
2615
+ raise
2616
+ else:
2617
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2618
+
2619
+
2597
2620
  def DescribeSSOAccount(self, request):
2598
2621
  r"""列出当前grafana实例的所有授权账号
2599
2622
 
@@ -12886,7 +12886,7 @@ class ResourceRef(AbstractModel):
12886
12886
  r"""
12887
12887
  :param _ResourceId: 资源ID
12888
12888
  :type ResourceId: str
12889
- :param _Version: 资源版本ID,-1表示使用最新版本
12889
+ :param _Version: 0-引用 JAR 程序包,1-主程序包,2-引用配置文件,3-Python程序包,4-Python数据文件
12890
12890
  :type Version: int
12891
12891
  :param _Type: 引用资源类型,例如主资源设置为1,代表main class所在的jar包
12892
12892
  :type Type: int
@@ -12908,7 +12908,7 @@ class ResourceRef(AbstractModel):
12908
12908
 
12909
12909
  @property
12910
12910
  def Version(self):
12911
- r"""资源版本ID,-1表示使用最新版本
12911
+ r"""0-引用 JAR 程序包,1-主程序包,2-引用配置文件,3-Python程序包,4-Python数据文件
12912
12912
  :rtype: int
12913
12913
  """
12914
12914
  return self._Version
@@ -1149,7 +1149,9 @@ class OcrClient(AbstractClient):
1149
1149
 
1150
1150
 
1151
1151
  def InstitutionOCR(self, request):
1152
- r"""<b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1152
+ r"""不再维护,功能已切到其它接口
1153
+
1154
+ <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1153
1155
  本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
1154
1156
 
1155
1157
  默认接口请求频率限制:5次/秒。
@@ -1375,7 +1377,9 @@ class OcrClient(AbstractClient):
1375
1377
 
1376
1378
 
1377
1379
  def OrgCodeCertOCR(self, request):
1378
- r"""<b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1380
+ r"""不再维护,功能已切到其它接口
1381
+
1382
+ <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1379
1383
  本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
1380
1384
 
1381
1385
  默认接口请求频率限制:5次/秒。
@@ -1453,7 +1457,9 @@ class OcrClient(AbstractClient):
1453
1457
 
1454
1458
 
1455
1459
  def PropOwnerCertOCR(self, request):
1456
- r"""<b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1460
+ r"""不再维护,功能已切到其它接口
1461
+
1462
+ <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1457
1463
  本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
1458
1464
  目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
1459
1465
 
@@ -1679,7 +1685,9 @@ class OcrClient(AbstractClient):
1679
1685
 
1680
1686
 
1681
1687
  def RecognizeForeignPermanentResidentIdCard(self, request):
1682
- r"""<b>因技术原因,本接口将不再迭代升级。有效身份证件识别(鉴伪版)可支持此类证件的识别,并包含质量和PS告警,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/112345">有效身份证件识别(鉴伪版)</a>。</b>
1688
+ r"""不再维护,功能已切到其它接口
1689
+
1690
+ <b>因技术原因,本接口将不再迭代升级。有效身份证件识别(鉴伪版)可支持此类证件的识别,并包含质量和PS告警,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/112345">有效身份证件识别(鉴伪版)</a>。</b>
1683
1691
  外国人永久居留身份证识别
1684
1692
 
1685
1693
  :param request: Request instance for RecognizeForeignPermanentResidentIdCard.
@@ -1977,7 +1985,9 @@ class OcrClient(AbstractClient):
1977
1985
 
1978
1986
 
1979
1987
  def RecognizeGeneralTextImageWarn(self, request):
1980
- r"""<b>因技术原因,本接口将不再迭代升级。通用卡证鉴伪可支持更多告警类型,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/115916">通用卡证鉴伪</a>。</b>
1988
+ r"""不再维护,功能已切到其它接口
1989
+
1990
+ <b>因技术原因,本接口将不再迭代升级。通用卡证鉴伪可支持更多告警类型,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/115916">通用卡证鉴伪</a>。</b>
1981
1991
  本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
1982
1992
 
1983
1993
  :param request: Request instance for RecognizeGeneralTextImageWarn.
@@ -601,7 +601,7 @@ class AccelerationDomainCertificate(AbstractModel):
601
601
 
602
602
  def __init__(self):
603
603
  r"""
604
- :param _Mode: 配置证书的模式,取值有: <li>disable:不配置证书;</li> <li>eofreecert:配置 EdgeOne 免费证书;</li> <li>sslcert:配置 SSL 证书。</li>
604
+ :param _Mode: 配置服务端证书的模式,取值有: <ul><li>disable:不配置服务端证书;</li> <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437) - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。 - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li> <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li> </ul> <li>sslcert:配置 SSL 托管服务端证书。</li></ul>
605
605
  :type Mode: str
606
606
  :param _List: 服务端证书列表,相关证书部署在 EO 的入口侧。
607
607
  注意:此字段可能返回 null,表示取不到有效值。
@@ -618,7 +618,7 @@ class AccelerationDomainCertificate(AbstractModel):
618
618
 
619
619
  @property
620
620
  def Mode(self):
621
- r"""配置证书的模式,取值有: <li>disable:不配置证书;</li> <li>eofreecert:配置 EdgeOne 免费证书;</li> <li>sslcert:配置 SSL 证书。</li>
621
+ r"""配置服务端证书的模式,取值有: <ul><li>disable:不配置服务端证书;</li> <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437) - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。 - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li> <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li> </ul> <li>sslcert:配置 SSL 托管服务端证书。</li></ul>
622
622
  :rtype: str
623
623
  """
624
624
  return self._Mode
@@ -27869,7 +27869,7 @@ class DnsRecord(AbstractModel):
27869
27869
 
27870
27870
 
27871
27871
  class DnsVerification(AbstractModel):
27872
- r"""CNAME 接入,使用 DNS 解析验证时所需的信息。
27872
+ r"""站点 CNAME 模式接入验证归属权或域名申请免费证书时,使用 DNS 解析验证时所需的信息。
27873
27873
 
27874
27874
  """
27875
27875
 
@@ -29858,13 +29858,13 @@ class FileAscriptionInfo(AbstractModel):
29858
29858
 
29859
29859
 
29860
29860
  class FileVerification(AbstractModel):
29861
- r"""CNAME 接入,使用文件验证时所需的信息。
29861
+ r"""站点 CNAME 模式接入验证归属权或域名申请免费证书时,使用 HTTP 访问验证文件时所需的信息。
29862
29862
 
29863
29863
  """
29864
29864
 
29865
29865
  def __init__(self):
29866
29866
  r"""
29867
- :param _Path: EdgeOne 后台服务器将通过 Scheme + Host + URL Path 的格式(例如 https://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。该字段为您需要创建的 URL Path 部分。
29867
+ :param _Path: EdgeOne 后台服务器将通过 http://{Host}{URL Path} 的格式(例如 http://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。其中,本字段为您需要创建的 URL Path 部分,Host 为当前加速域名。
29868
29868
  :type Path: str
29869
29869
  :param _Content: 验证文件的内容。该字段的内容需要您填写至 Path 字段返回的 txt 文件中。
29870
29870
  :type Content: str
@@ -29874,7 +29874,7 @@ class FileVerification(AbstractModel):
29874
29874
 
29875
29875
  @property
29876
29876
  def Path(self):
29877
- r"""EdgeOne 后台服务器将通过 Scheme + Host + URL Path 的格式(例如 https://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。该字段为您需要创建的 URL Path 部分。
29877
+ r"""EdgeOne 后台服务器将通过 http://{Host}{URL Path} 的格式(例如 http://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。其中,本字段为您需要创建的 URL Path 部分,Host 为当前加速域名。
29878
29878
  :rtype: str
29879
29879
  """
29880
29880
  return self._Path
@@ -37680,10 +37680,14 @@ class ModifyHostsCertificateRequest(AbstractModel):
37680
37680
  :param _Hosts: 需要修改证书配置的加速域名。
37681
37681
  :type Hosts: list of str
37682
37682
  :param _Mode: 配置服务端证书的模式,取值有:
37683
- <li>disable:不配置服务端证书;</li>
37684
- <li>eofreecert:配置 EdgeOne 免费服务端证书;</li>
37685
- <li>sslcert:配置 SSL 托管服务端证书;</li>
37686
- 不填写表示服务端证书保持原有配置。
37683
+ <ul><li>disable:不配置服务端证书;</li>
37684
+ <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437)
37685
+
37686
+ - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。
37687
+ - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li>
37688
+ </ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li>
37689
+ <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li>
37690
+ </ul><li>sslcert:配置 SSL 托管服务端证书。</li>
37687
37691
  :type Mode: str
37688
37692
  :param _ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
37689
37693
  :type ServerCertInfo: list of ServerCertInfo
@@ -37730,10 +37734,14 @@ class ModifyHostsCertificateRequest(AbstractModel):
37730
37734
  @property
37731
37735
  def Mode(self):
37732
37736
  r"""配置服务端证书的模式,取值有:
37733
- <li>disable:不配置服务端证书;</li>
37734
- <li>eofreecert:配置 EdgeOne 免费服务端证书;</li>
37735
- <li>sslcert:配置 SSL 托管服务端证书;</li>
37736
- 不填写表示服务端证书保持原有配置。
37737
+ <ul><li>disable:不配置服务端证书;</li>
37738
+ <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437)
37739
+
37740
+ - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。
37741
+ - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li>
37742
+ </ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li>
37743
+ <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li>
37744
+ </ul><li>sslcert:配置 SSL 托管服务端证书。</li>
37737
37745
  :rtype: str
37738
37746
  """
37739
37747
  return self._Mode