tencentcloud-sdk-python 3.0.1455__py2.py3-none-any.whl → 3.0.1457__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1455'
17
+ __version__ = '3.0.1457'
@@ -4640,12 +4640,16 @@ class ContainerWorkLoadInfo(AbstractModel):
4640
4640
 
4641
4641
  def __init__(self):
4642
4642
  r"""
4643
- :param _Kind: 工作负载的类型,支持
4644
- - deployment
4645
- - statefulset
4646
- - daemonset
4647
- - job
4648
- - cronjob
4643
+ :param _Kind: 工作负载的类型,支持的取值如下:
4644
+ - deployment:无状态应用部署控制器。可管理无状态应用的多副本 Pod;支持滚动更新和回滚,实现无缝发布;通过 ReplicaSet 确保指定数量的 Pod 副本持续运行。适合 Web 服务、API 服务、微服务等不需要持久化存储或唯一标识的应用。
4645
+
4646
+ - statefulset:用于管理有状态应用的控制器。可以为每个 Pod 提供稳定的、唯一的标识(有序的主机名和网络标识);能提供稳定的持久化存储(PVC 随 Pod 的迁移而保留);Pod 的创建、扩展、删除和更新都遵循确定的顺序。适合数据库(MySQL、MongoDB)、消息队列(Kafka、RabbitMQ)、集群应用等需要稳定网络标识和持久化存储的应用。
4647
+
4648
+ - daemonset:确保所有(或特定)节点上都运行一个 Pod 副本的控制器。会在每个符合条件的 Node 上自动部署并运行一个 Pod;当新节点加入集群时,会自动在新节点上创建 Pod;适合运行节点级别的后台任务或服务,例如日志收集(Fluentd、Filebeat)、节点监控(Node Exporter)、网络插件(Calico、Weave Net)等场景。
4649
+
4650
+ - job:用于运行一次性任务的控制器。可创建一个或多个 Pod 来执行任务,直到成功完成;当任务完成后,Pod 不会重启(除非配置了重启策略);可以指定任务的并行度和重试次数。适合数据处理、批量任务、数据库迁移、离线计算等一次性执行完成后就退出的任务。
4651
+
4652
+ - cronjob:基于时间调度的 Job 控制器。类似于 Linux 的 cron,按照预定的时间表周期性地创建并运行 Job。每个调度周期都会创建一个新的 Job 来执行任务。适合定期备份、发送报告、数据清理、定时同步等需要周期性执行的任务。
4649
4653
  :type Kind: str
4650
4654
  :param _Name: 工作负载的名称
4651
4655
  :type Name: str
@@ -4661,12 +4665,16 @@ class ContainerWorkLoadInfo(AbstractModel):
4661
4665
 
4662
4666
  @property
4663
4667
  def Kind(self):
4664
- """工作负载的类型,支持
4665
- - deployment
4666
- - statefulset
4667
- - daemonset
4668
- - job
4669
- - cronjob
4668
+ """工作负载的类型,支持的取值如下:
4669
+ - deployment:无状态应用部署控制器。可管理无状态应用的多副本 Pod;支持滚动更新和回滚,实现无缝发布;通过 ReplicaSet 确保指定数量的 Pod 副本持续运行。适合 Web 服务、API 服务、微服务等不需要持久化存储或唯一标识的应用。
4670
+
4671
+ - statefulset:用于管理有状态应用的控制器。可以为每个 Pod 提供稳定的、唯一的标识(有序的主机名和网络标识);能提供稳定的持久化存储(PVC 随 Pod 的迁移而保留);Pod 的创建、扩展、删除和更新都遵循确定的顺序。适合数据库(MySQL、MongoDB)、消息队列(Kafka、RabbitMQ)、集群应用等需要稳定网络标识和持久化存储的应用。
4672
+
4673
+ - daemonset:确保所有(或特定)节点上都运行一个 Pod 副本的控制器。会在每个符合条件的 Node 上自动部署并运行一个 Pod;当新节点加入集群时,会自动在新节点上创建 Pod;适合运行节点级别的后台任务或服务,例如日志收集(Fluentd、Filebeat)、节点监控(Node Exporter)、网络插件(Calico、Weave Net)等场景。
4674
+
4675
+ - job:用于运行一次性任务的控制器。可创建一个或多个 Pod 来执行任务,直到成功完成;当任务完成后,Pod 不会重启(除非配置了重启策略);可以指定任务的并行度和重试次数。适合数据处理、批量任务、数据库迁移、离线计算等一次性执行完成后就退出的任务。
4676
+
4677
+ - cronjob:基于时间调度的 Job 控制器。类似于 Linux 的 cron,按照预定的时间表周期性地创建并运行 Job。每个调度周期都会创建一个新的 Job 来执行任务。适合定期备份、发送报告、数据清理、定时同步等需要周期性执行的任务。
4670
4678
  :rtype: str
4671
4679
  """
4672
4680
  return self._Kind
@@ -10888,6 +10896,7 @@ class DataTransformResouceInfo(AbstractModel):
10888
10896
  - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
10889
10897
  :type TopicId: str
10890
10898
  :param _Alias: 别名
10899
+ 限制:不能包含字符 |。
10891
10900
  :type Alias: str
10892
10901
  """
10893
10902
  self._TopicId = None
@@ -10908,6 +10917,7 @@ class DataTransformResouceInfo(AbstractModel):
10908
10917
  @property
10909
10918
  def Alias(self):
10910
10919
  """别名
10920
+ 限制:不能包含字符 |。
10911
10921
  :rtype: str
10912
10922
  """
10913
10923
  return self._Alias
@@ -1063,6 +1063,29 @@ class DlcClient(AbstractClient):
1063
1063
  raise TencentCloudSDKException(type(e).__name__, str(e))
1064
1064
 
1065
1065
 
1066
+ def CreateTcIcebergTable(self, request):
1067
+ """创建TIceberg表
1068
+
1069
+ :param request: Request instance for CreateTcIcebergTable.
1070
+ :type request: :class:`tencentcloud.dlc.v20210125.models.CreateTcIcebergTableRequest`
1071
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.CreateTcIcebergTableResponse`
1072
+
1073
+ """
1074
+ try:
1075
+ params = request._serialize()
1076
+ headers = request.headers
1077
+ body = self.call("CreateTcIcebergTable", params, headers=headers)
1078
+ response = json.loads(body)
1079
+ model = models.CreateTcIcebergTableResponse()
1080
+ model._deserialize(response["Response"])
1081
+ return model
1082
+ except Exception as e:
1083
+ if isinstance(e, TencentCloudSDKException):
1084
+ raise
1085
+ else:
1086
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1087
+
1088
+
1066
1089
  def CreateUser(self, request):
1067
1090
  """创建用户
1068
1091
 
@@ -8707,6 +8707,192 @@ class CreateTasksResponse(AbstractModel):
8707
8707
  self._RequestId = params.get("RequestId")
8708
8708
 
8709
8709
 
8710
+ class CreateTcIcebergTableRequest(AbstractModel):
8711
+ """CreateTcIcebergTable请求参数结构体
8712
+
8713
+ """
8714
+
8715
+ def __init__(self):
8716
+ r"""
8717
+ :param _TableBaseInfo: 表基本信息
8718
+ :type TableBaseInfo: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
8719
+ :param _Columns: 表字段信息
8720
+ :type Columns: list of TColumn
8721
+ :param _DryRun: 为true时只获取sql而不执行
8722
+ :type DryRun: bool
8723
+ :param _Partitions: 表分区信息
8724
+ :type Partitions: list of TPartition
8725
+ :param _Properties: 表属性信息
8726
+ :type Properties: list of Property
8727
+ """
8728
+ self._TableBaseInfo = None
8729
+ self._Columns = None
8730
+ self._DryRun = None
8731
+ self._Partitions = None
8732
+ self._Properties = None
8733
+
8734
+ @property
8735
+ def TableBaseInfo(self):
8736
+ """表基本信息
8737
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
8738
+ """
8739
+ return self._TableBaseInfo
8740
+
8741
+ @TableBaseInfo.setter
8742
+ def TableBaseInfo(self, TableBaseInfo):
8743
+ self._TableBaseInfo = TableBaseInfo
8744
+
8745
+ @property
8746
+ def Columns(self):
8747
+ """表字段信息
8748
+ :rtype: list of TColumn
8749
+ """
8750
+ return self._Columns
8751
+
8752
+ @Columns.setter
8753
+ def Columns(self, Columns):
8754
+ self._Columns = Columns
8755
+
8756
+ @property
8757
+ def DryRun(self):
8758
+ """为true时只获取sql而不执行
8759
+ :rtype: bool
8760
+ """
8761
+ return self._DryRun
8762
+
8763
+ @DryRun.setter
8764
+ def DryRun(self, DryRun):
8765
+ self._DryRun = DryRun
8766
+
8767
+ @property
8768
+ def Partitions(self):
8769
+ """表分区信息
8770
+ :rtype: list of TPartition
8771
+ """
8772
+ return self._Partitions
8773
+
8774
+ @Partitions.setter
8775
+ def Partitions(self, Partitions):
8776
+ self._Partitions = Partitions
8777
+
8778
+ @property
8779
+ def Properties(self):
8780
+ """表属性信息
8781
+ :rtype: list of Property
8782
+ """
8783
+ return self._Properties
8784
+
8785
+ @Properties.setter
8786
+ def Properties(self, Properties):
8787
+ self._Properties = Properties
8788
+
8789
+
8790
+ def _deserialize(self, params):
8791
+ if params.get("TableBaseInfo") is not None:
8792
+ self._TableBaseInfo = TableBaseInfo()
8793
+ self._TableBaseInfo._deserialize(params.get("TableBaseInfo"))
8794
+ if params.get("Columns") is not None:
8795
+ self._Columns = []
8796
+ for item in params.get("Columns"):
8797
+ obj = TColumn()
8798
+ obj._deserialize(item)
8799
+ self._Columns.append(obj)
8800
+ self._DryRun = params.get("DryRun")
8801
+ if params.get("Partitions") is not None:
8802
+ self._Partitions = []
8803
+ for item in params.get("Partitions"):
8804
+ obj = TPartition()
8805
+ obj._deserialize(item)
8806
+ self._Partitions.append(obj)
8807
+ if params.get("Properties") is not None:
8808
+ self._Properties = []
8809
+ for item in params.get("Properties"):
8810
+ obj = Property()
8811
+ obj._deserialize(item)
8812
+ self._Properties.append(obj)
8813
+ memeber_set = set(params.keys())
8814
+ for name, value in vars(self).items():
8815
+ property_name = name[1:]
8816
+ if property_name in memeber_set:
8817
+ memeber_set.remove(property_name)
8818
+ if len(memeber_set) > 0:
8819
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8820
+
8821
+
8822
+
8823
+ class CreateTcIcebergTableResponse(AbstractModel):
8824
+ """CreateTcIcebergTable返回参数结构体
8825
+
8826
+ """
8827
+
8828
+ def __init__(self):
8829
+ r"""
8830
+ :param _SessionId: amoro的SessionId
8831
+ :type SessionId: str
8832
+ :param _SQL: 执行的sql
8833
+ :type SQL: str
8834
+ :param _DryRun: 为true时只返回sql而不实际执行
8835
+ :type DryRun: bool
8836
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8837
+ :type RequestId: str
8838
+ """
8839
+ self._SessionId = None
8840
+ self._SQL = None
8841
+ self._DryRun = None
8842
+ self._RequestId = None
8843
+
8844
+ @property
8845
+ def SessionId(self):
8846
+ """amoro的SessionId
8847
+ :rtype: str
8848
+ """
8849
+ return self._SessionId
8850
+
8851
+ @SessionId.setter
8852
+ def SessionId(self, SessionId):
8853
+ self._SessionId = SessionId
8854
+
8855
+ @property
8856
+ def SQL(self):
8857
+ """执行的sql
8858
+ :rtype: str
8859
+ """
8860
+ return self._SQL
8861
+
8862
+ @SQL.setter
8863
+ def SQL(self, SQL):
8864
+ self._SQL = SQL
8865
+
8866
+ @property
8867
+ def DryRun(self):
8868
+ """为true时只返回sql而不实际执行
8869
+ :rtype: bool
8870
+ """
8871
+ return self._DryRun
8872
+
8873
+ @DryRun.setter
8874
+ def DryRun(self, DryRun):
8875
+ self._DryRun = DryRun
8876
+
8877
+ @property
8878
+ def RequestId(self):
8879
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8880
+ :rtype: str
8881
+ """
8882
+ return self._RequestId
8883
+
8884
+ @RequestId.setter
8885
+ def RequestId(self, RequestId):
8886
+ self._RequestId = RequestId
8887
+
8888
+
8889
+ def _deserialize(self, params):
8890
+ self._SessionId = params.get("SessionId")
8891
+ self._SQL = params.get("SQL")
8892
+ self._DryRun = params.get("DryRun")
8893
+ self._RequestId = params.get("RequestId")
8894
+
8895
+
8710
8896
  class CreateUserRequest(AbstractModel):
8711
8897
  """CreateUser请求参数结构体
8712
8898
 
@@ -8122,6 +8122,10 @@ class IntentionVerifyData(AbstractModel):
8122
8122
  :param _AsrResultSimilarity: 本次流程用户语音与传入文本比对的相似度分值,取值范围 [0.00, 100.00]。只有配置了相似度阈值后才进行语音校验并返回相似度分值。
8123
8123
  注意:此字段可能返回 null,表示取不到有效值。
8124
8124
  :type AsrResultSimilarity: str
8125
+ :param _IntentionVerifyAudio: 意愿确认环节中录制的音频(base64)。
8126
+ - 若不存在则为空字符串。
8127
+ 注意:此字段可能返回 null,表示取不到有效值。
8128
+ :type IntentionVerifyAudio: str
8125
8129
  """
8126
8130
  self._IntentionVerifyVideo = None
8127
8131
  self._AsrResult = None
@@ -8129,6 +8133,7 @@ class IntentionVerifyData(AbstractModel):
8129
8133
  self._ErrorMessage = None
8130
8134
  self._IntentionVerifyBestFrame = None
8131
8135
  self._AsrResultSimilarity = None
8136
+ self._IntentionVerifyAudio = None
8132
8137
 
8133
8138
  @property
8134
8139
  def IntentionVerifyVideo(self):
@@ -8210,6 +8215,19 @@ class IntentionVerifyData(AbstractModel):
8210
8215
 
8211
8216
  self._AsrResultSimilarity = AsrResultSimilarity
8212
8217
 
8218
+ @property
8219
+ def IntentionVerifyAudio(self):
8220
+ """意愿确认环节中录制的音频(base64)。
8221
+ - 若不存在则为空字符串。
8222
+ 注意:此字段可能返回 null,表示取不到有效值。
8223
+ :rtype: str
8224
+ """
8225
+ return self._IntentionVerifyAudio
8226
+
8227
+ @IntentionVerifyAudio.setter
8228
+ def IntentionVerifyAudio(self, IntentionVerifyAudio):
8229
+ self._IntentionVerifyAudio = IntentionVerifyAudio
8230
+
8213
8231
 
8214
8232
  def _deserialize(self, params):
8215
8233
  self._IntentionVerifyVideo = params.get("IntentionVerifyVideo")
@@ -8218,6 +8236,7 @@ class IntentionVerifyData(AbstractModel):
8218
8236
  self._ErrorMessage = params.get("ErrorMessage")
8219
8237
  self._IntentionVerifyBestFrame = params.get("IntentionVerifyBestFrame")
8220
8238
  self._AsrResultSimilarity = params.get("AsrResultSimilarity")
8239
+ self._IntentionVerifyAudio = params.get("IntentionVerifyAudio")
8221
8240
  memeber_set = set(params.keys())
8222
8241
  for name, value in vars(self).items():
8223
8242
  property_name = name[1:]
@@ -164,6 +164,52 @@ class IoaClient(AbstractClient):
164
164
  raise TencentCloudSDKException(type(e).__name__, str(e))
165
165
 
166
166
 
167
+ def DescribeAggrSoftDetail(self, request):
168
+ """聚合的软件详情
169
+
170
+ :param request: Request instance for DescribeAggrSoftDetail.
171
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeAggrSoftDetailRequest`
172
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeAggrSoftDetailResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("DescribeAggrSoftDetail", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.DescribeAggrSoftDetailResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
+
189
+
190
+ def DescribeAggrSoftDeviceList(self, request):
191
+ """聚合软件的已安装终端列表
192
+
193
+ :param request: Request instance for DescribeAggrSoftDeviceList.
194
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeAggrSoftDeviceListRequest`
195
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeAggrSoftDeviceListResponse`
196
+
197
+ """
198
+ try:
199
+ params = request._serialize()
200
+ headers = request.headers
201
+ body = self.call("DescribeAggrSoftDeviceList", params, headers=headers)
202
+ response = json.loads(body)
203
+ model = models.DescribeAggrSoftDeviceListResponse()
204
+ model._deserialize(response["Response"])
205
+ return model
206
+ except Exception as e:
207
+ if isinstance(e, TencentCloudSDKException):
208
+ raise
209
+ else:
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
211
+
212
+
167
213
  def DescribeDLPFileDetectResult(self, request):
168
214
  """webservice查询文件检测结果
169
215
 
@@ -210,6 +256,29 @@ class IoaClient(AbstractClient):
210
256
  raise TencentCloudSDKException(type(e).__name__, str(e))
211
257
 
212
258
 
259
+ def DescribeDeviceDetailList(self, request):
260
+ """基于软件查看终端详情列表,私有化调用path为:capi/Software/DescribeDeviceDetailList
261
+
262
+ :param request: Request instance for DescribeDeviceDetailList.
263
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceDetailListRequest`
264
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceDetailListResponse`
265
+
266
+ """
267
+ try:
268
+ params = request._serialize()
269
+ headers = request.headers
270
+ body = self.call("DescribeDeviceDetailList", params, headers=headers)
271
+ response = json.loads(body)
272
+ model = models.DescribeDeviceDetailListResponse()
273
+ model._deserialize(response["Response"])
274
+ return model
275
+ except Exception as e:
276
+ if isinstance(e, TencentCloudSDKException):
277
+ raise
278
+ else:
279
+ raise TencentCloudSDKException(type(e).__name__, str(e))
280
+
281
+
213
282
  def DescribeDeviceHardwareInfoList(self, request):
214
283
  """查询满足条件的查询终端硬件信息列表,私有化调用path为:/capi/Assets/Device/DescribeDeviceHardwareInfoList
215
284
 
@@ -417,6 +486,29 @@ class IoaClient(AbstractClient):
417
486
  raise TencentCloudSDKException(type(e).__name__, str(e))
418
487
 
419
488
 
489
+ def ExportSoftwareInformationList(self, request):
490
+ """导出基于指定终端查看软件信息详情列表查询,私有化调用path为:capi/Software/ExportSoftwareInformationList
491
+
492
+ :param request: Request instance for ExportSoftwareInformationList.
493
+ :type request: :class:`tencentcloud.ioa.v20220601.models.ExportSoftwareInformationListRequest`
494
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.ExportSoftwareInformationListResponse`
495
+
496
+ """
497
+ try:
498
+ params = request._serialize()
499
+ headers = request.headers
500
+ body = self.call("ExportSoftwareInformationList", params, headers=headers)
501
+ response = json.loads(body)
502
+ model = models.ExportSoftwareInformationListResponse()
503
+ model._deserialize(response["Response"])
504
+ return model
505
+ except Exception as e:
506
+ if isinstance(e, TencentCloudSDKException):
507
+ raise
508
+ else:
509
+ raise TencentCloudSDKException(type(e).__name__, str(e))
510
+
511
+
420
512
  def ModifyVirtualDeviceGroups(self, request):
421
513
  """终端自定义分组增减终端,私有化调用path为:/capi/Assets/Device/ModifyVirtualDeviceGroups
422
514