tencentcloud-sdk-python 3.0.1245__py2.py3-none-any.whl → 3.0.1247__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.
Files changed (28) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +16 -15
  3. tencentcloud/cls/v20201016/errorcodes.py +3 -0
  4. tencentcloud/cls/v20201016/models.py +12 -0
  5. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  6. tencentcloud/cvm/v20170312/errorcodes.py +3 -0
  7. tencentcloud/cvm/v20170312/models.py +12 -0
  8. tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
  9. tencentcloud/cynosdb/v20190107/models.py +160 -0
  10. tencentcloud/ess/v20201111/errorcodes.py +3 -0
  11. tencentcloud/ess/v20201111/ess_client.py +47 -0
  12. tencentcloud/ess/v20201111/models.py +387 -1
  13. tencentcloud/essbasic/v20210526/essbasic_client.py +37 -0
  14. tencentcloud/essbasic/v20210526/models.py +124 -0
  15. tencentcloud/lke/v20231130/models.py +1 -1
  16. tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
  17. tencentcloud/mariadb/v20170312/models.py +94 -0
  18. tencentcloud/scf/v20180416/errorcodes.py +9 -12
  19. tencentcloud/sqlserver/v20180328/models.py +1 -1
  20. tencentcloud/tcss/v20201101/models.py +12 -0
  21. tencentcloud/vclm/v20240523/models.py +25 -0
  22. tencentcloud/vpc/v20170312/models.py +3 -3
  23. tencentcloud/waf/v20180125/models.py +447 -12
  24. {tencentcloud_sdk_python-3.0.1245.dist-info → tencentcloud_sdk_python-3.0.1247.dist-info}/METADATA +1 -1
  25. {tencentcloud_sdk_python-3.0.1245.dist-info → tencentcloud_sdk_python-3.0.1247.dist-info}/RECORD +28 -28
  26. {tencentcloud_sdk_python-3.0.1245.dist-info → tencentcloud_sdk_python-3.0.1247.dist-info}/LICENSE +0 -0
  27. {tencentcloud_sdk_python-3.0.1245.dist-info → tencentcloud_sdk_python-3.0.1247.dist-info}/WHEEL +0 -0
  28. {tencentcloud_sdk_python-3.0.1245.dist-info → tencentcloud_sdk_python-3.0.1247.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1245'
17
+ __version__ = '3.0.1247'
@@ -218,17 +218,17 @@ class ApmApplicationConfigView(AbstractModel):
218
218
 
219
219
  def __init__(self):
220
220
  r"""
221
- :param _InstanceKey: 实例ID
221
+ :param _InstanceKey: 业务系统ID
222
222
  :type InstanceKey: str
223
- :param _ServiceName: 服务名
223
+ :param _ServiceName: 应用名
224
224
  :type ServiceName: str
225
225
  :param _OperationNameFilter: 接口过滤
226
226
  :type OperationNameFilter: str
227
- :param _ExceptionFilter: 异常过滤
227
+ :param _ExceptionFilter: 错误类型过滤
228
228
  :type ExceptionFilter: str
229
- :param _ErrorCodeFilter: 错误码过滤
229
+ :param _ErrorCodeFilter: HTTP状态码过滤
230
230
  :type ErrorCodeFilter: str
231
- :param _EventEnable: 应用诊断开关
231
+ :param _EventEnable: 应用诊断开关(已废弃)
232
232
  注意:此字段可能返回 null,表示取不到有效值。
233
233
  :type EventEnable: bool
234
234
  :param _UrlConvergenceSwitch: URL收敛开关 0 关 1 开
@@ -241,23 +241,23 @@ class ApmApplicationConfigView(AbstractModel):
241
241
  :type UrlExclude: str
242
242
  :param _IsRelatedLog: 是否开启日志 0 关 1 开
243
243
  :type IsRelatedLog: int
244
- :param _LogSource: 日志来源
244
+ :param _LogSource: 日志源
245
245
  注意:此字段可能返回 null,表示取不到有效值。
246
246
  :type LogSource: str
247
- :param _LogSet: CLS日志集
247
+ :param _LogSet: 日志集
248
248
  :type LogSet: str
249
- :param _LogTopicID: 日志主题ID
249
+ :param _LogTopicID: 日志主题
250
250
  :type LogTopicID: str
251
- :param _SnapshotEnable: 线程剖析开关
251
+ :param _SnapshotEnable: 方法栈快照开关 true 开启 false 关闭
252
252
  :type SnapshotEnable: bool
253
- :param _SnapshotTimeout: 线程剖析超时阈值
253
+ :param _SnapshotTimeout: 慢调用监听触发阈值
254
254
  :type SnapshotTimeout: int
255
- :param _AgentEnable: 探针开启开关
255
+ :param _AgentEnable: 探针总开关
256
256
  :type AgentEnable: bool
257
- :param _InstrumentList: 组件列表开关
257
+ :param _InstrumentList: 组件列表开关(已废弃)
258
258
  注意:此字段可能返回 null,表示取不到有效值。
259
259
  :type InstrumentList: list of Instrument
260
- :param _TraceSquash: 链路压缩开关
260
+ :param _TraceSquash: 链路压缩开关(已废弃)
261
261
  :type TraceSquash: bool
262
262
  """
263
263
  self._InstanceKey = None
@@ -3072,11 +3072,12 @@ class ModifyGeneralApmApplicationConfigRequest(AbstractModel):
3072
3072
 
3073
3073
  def __init__(self):
3074
3074
  r"""
3075
- :param _InstanceId: 实例Id
3075
+ :param _InstanceId: 业务系统Id
3076
3076
  :type InstanceId: str
3077
3077
  :param _Tags: 需要修改的字段key value分别指定字段名、字段值
3078
+ [具体字段请见](https://cloud.tencent.com/document/product/248/111241)
3078
3079
  :type Tags: list of ApmTag
3079
- :param _ServiceNames: 需要修改配置的服务列表名称
3080
+ :param _ServiceNames: 需要修改配置的应用列表名称
3080
3081
  :type ServiceNames: list of str
3081
3082
  """
3082
3083
  self._InstanceId = None
@@ -122,6 +122,9 @@ INTERNALERROR_SEARCHERROR = 'InternalError.SearchError'
122
122
  # 检索失败
123
123
  INTERNALERROR_SEARCHFAILED = 'InternalError.SearchFailed'
124
124
 
125
+ # 内部错误服务器繁忙
126
+ INTERNALERROR_SERVERBUSY = 'InternalError.ServerBusy'
127
+
125
128
  # 参数错误。
126
129
  INVALIDPARAMETER = 'InvalidParameter'
127
130
 
@@ -12338,10 +12338,13 @@ class DescribeShippersRequest(AbstractModel):
12338
12338
  :type Offset: int
12339
12339
  :param _Limit: 分页单页的限制数目,默认值为20,最大值100
12340
12340
  :type Limit: int
12341
+ :param _PreciseSearch: 控制Filters相关字段是否为精确匹配。 0: 默认值,shipperName模糊匹配 1: shipperName 精确匹配
12342
+ :type PreciseSearch: int
12341
12343
  """
12342
12344
  self._Filters = None
12343
12345
  self._Offset = None
12344
12346
  self._Limit = None
12347
+ self._PreciseSearch = None
12345
12348
 
12346
12349
  @property
12347
12350
  def Filters(self):
@@ -12367,6 +12370,14 @@ class DescribeShippersRequest(AbstractModel):
12367
12370
  def Limit(self, Limit):
12368
12371
  self._Limit = Limit
12369
12372
 
12373
+ @property
12374
+ def PreciseSearch(self):
12375
+ return self._PreciseSearch
12376
+
12377
+ @PreciseSearch.setter
12378
+ def PreciseSearch(self, PreciseSearch):
12379
+ self._PreciseSearch = PreciseSearch
12380
+
12370
12381
 
12371
12382
  def _deserialize(self, params):
12372
12383
  if params.get("Filters") is not None:
@@ -12377,6 +12388,7 @@ class DescribeShippersRequest(AbstractModel):
12377
12388
  self._Filters.append(obj)
12378
12389
  self._Offset = params.get("Offset")
12379
12390
  self._Limit = params.get("Limit")
12391
+ self._PreciseSearch = params.get("PreciseSearch")
12380
12392
  memeber_set = set(params.keys())
12381
12393
  for name, value in vars(self).items():
12382
12394
  property_name = name[1:]
@@ -1387,7 +1387,7 @@ class CvmClient(AbstractClient):
1387
1387
 
1388
1388
 
1389
1389
  def ImportImage(self, request):
1390
- """本接口(ImportImage)用于导入镜像,导入后的镜像可用于创建实例。目前支持 RAW、VHD、QCOW2、VMDK 镜像格式。
1390
+ """本接口(ImportImage)用于导入镜像,导入后的镜像可用于创建实例。目前支持RAW、VHD、QCOW2、VMDK镜像格式。
1391
1391
 
1392
1392
  :param request: Request instance for ImportImage.
1393
1393
  :type request: :class:`tencentcloud.cvm.v20170312.models.ImportImageRequest`
@@ -401,6 +401,9 @@ INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = 'InvalidParameterValue.IPAddressMalfo
401
401
  # ipv6地址无效
402
402
  INVALIDPARAMETERVALUE_IPV6ADDRESSMALFORMED = 'InvalidParameterValue.IPv6AddressMalformed'
403
403
 
404
+ # ISO文件必须强制导入
405
+ INVALIDPARAMETERVALUE_ISOMUSTIMPORTBYFORCE = 'InvalidParameterValue.ISOMustImportByForce'
406
+
404
407
  # HostName参数值不合法
405
408
  INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = 'InvalidParameterValue.IllegalHostName'
406
409
 
@@ -8601,6 +8601,8 @@ BYOL: 自带许可(Bring Your Own License)
8601
8601
  :type LicenseType: str
8602
8602
  :param _BootMode: 启动模式
8603
8603
  :type BootMode: str
8604
+ :param _ImageFamily: 镜像族
8605
+ :type ImageFamily: str
8604
8606
  """
8605
8607
  self._Architecture = None
8606
8608
  self._OsType = None
@@ -8613,6 +8615,7 @@ BYOL: 自带许可(Bring Your Own License)
8613
8615
  self._TagSpecification = None
8614
8616
  self._LicenseType = None
8615
8617
  self._BootMode = None
8618
+ self._ImageFamily = None
8616
8619
 
8617
8620
  @property
8618
8621
  def Architecture(self):
@@ -8702,6 +8705,14 @@ BYOL: 自带许可(Bring Your Own License)
8702
8705
  def BootMode(self, BootMode):
8703
8706
  self._BootMode = BootMode
8704
8707
 
8708
+ @property
8709
+ def ImageFamily(self):
8710
+ return self._ImageFamily
8711
+
8712
+ @ImageFamily.setter
8713
+ def ImageFamily(self, ImageFamily):
8714
+ self._ImageFamily = ImageFamily
8715
+
8705
8716
 
8706
8717
  def _deserialize(self, params):
8707
8718
  self._Architecture = params.get("Architecture")
@@ -8720,6 +8731,7 @@ BYOL: 自带许可(Bring Your Own License)
8720
8731
  self._TagSpecification.append(obj)
8721
8732
  self._LicenseType = params.get("LicenseType")
8722
8733
  self._BootMode = params.get("BootMode")
8734
+ self._ImageFamily = params.get("ImageFamily")
8723
8735
  memeber_set = set(params.keys())
8724
8736
  for name, value in vars(self).items():
8725
8737
  property_name = name[1:]
@@ -1981,6 +1981,29 @@ class CynosdbClient(AbstractClient):
1981
1981
  raise TencentCloudSDKException(type(e).__name__, str(e))
1982
1982
 
1983
1983
 
1984
+ def InquirePriceModify(self, request):
1985
+ """变配预付费集群询价
1986
+
1987
+ :param request: Request instance for InquirePriceModify.
1988
+ :type request: :class:`tencentcloud.cynosdb.v20190107.models.InquirePriceModifyRequest`
1989
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.InquirePriceModifyResponse`
1990
+
1991
+ """
1992
+ try:
1993
+ params = request._serialize()
1994
+ headers = request.headers
1995
+ body = self.call("InquirePriceModify", params, headers=headers)
1996
+ response = json.loads(body)
1997
+ model = models.InquirePriceModifyResponse()
1998
+ model._deserialize(response["Response"])
1999
+ return model
2000
+ except Exception as e:
2001
+ if isinstance(e, TencentCloudSDKException):
2002
+ raise
2003
+ else:
2004
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2005
+
2006
+
1984
2007
  def InquirePriceRenew(self, request):
1985
2008
  """查询续费集群价格
1986
2009
 
@@ -17688,6 +17688,166 @@ class InquirePriceCreateResponse(AbstractModel):
17688
17688
  self._RequestId = params.get("RequestId")
17689
17689
 
17690
17690
 
17691
+ class InquirePriceModifyRequest(AbstractModel):
17692
+ """InquirePriceModify请求参数结构体
17693
+
17694
+ """
17695
+
17696
+ def __init__(self):
17697
+ r"""
17698
+ :param _ClusterId: 集群ID
17699
+ :type ClusterId: str
17700
+ :param _Cpu: CPU核数
17701
+ :type Cpu: int
17702
+ :param _Memory: 内存大小
17703
+ :type Memory: int
17704
+ :param _StorageLimit: 存储大小,存储资源变配:ClusterId,StorageLimit
17705
+ :type StorageLimit: int
17706
+ :param _InstanceId: 实例ID,计算资源变配必传: ClusterId,InstanceId,Cpu,Memory
17707
+ :type InstanceId: str
17708
+ :param _DeviceType: 实例设备类型
17709
+ :type DeviceType: str
17710
+ :param _Ccu: serverless实例ccu大小
17711
+ :type Ccu: float
17712
+ """
17713
+ self._ClusterId = None
17714
+ self._Cpu = None
17715
+ self._Memory = None
17716
+ self._StorageLimit = None
17717
+ self._InstanceId = None
17718
+ self._DeviceType = None
17719
+ self._Ccu = None
17720
+
17721
+ @property
17722
+ def ClusterId(self):
17723
+ return self._ClusterId
17724
+
17725
+ @ClusterId.setter
17726
+ def ClusterId(self, ClusterId):
17727
+ self._ClusterId = ClusterId
17728
+
17729
+ @property
17730
+ def Cpu(self):
17731
+ return self._Cpu
17732
+
17733
+ @Cpu.setter
17734
+ def Cpu(self, Cpu):
17735
+ self._Cpu = Cpu
17736
+
17737
+ @property
17738
+ def Memory(self):
17739
+ return self._Memory
17740
+
17741
+ @Memory.setter
17742
+ def Memory(self, Memory):
17743
+ self._Memory = Memory
17744
+
17745
+ @property
17746
+ def StorageLimit(self):
17747
+ return self._StorageLimit
17748
+
17749
+ @StorageLimit.setter
17750
+ def StorageLimit(self, StorageLimit):
17751
+ self._StorageLimit = StorageLimit
17752
+
17753
+ @property
17754
+ def InstanceId(self):
17755
+ return self._InstanceId
17756
+
17757
+ @InstanceId.setter
17758
+ def InstanceId(self, InstanceId):
17759
+ self._InstanceId = InstanceId
17760
+
17761
+ @property
17762
+ def DeviceType(self):
17763
+ return self._DeviceType
17764
+
17765
+ @DeviceType.setter
17766
+ def DeviceType(self, DeviceType):
17767
+ self._DeviceType = DeviceType
17768
+
17769
+ @property
17770
+ def Ccu(self):
17771
+ return self._Ccu
17772
+
17773
+ @Ccu.setter
17774
+ def Ccu(self, Ccu):
17775
+ self._Ccu = Ccu
17776
+
17777
+
17778
+ def _deserialize(self, params):
17779
+ self._ClusterId = params.get("ClusterId")
17780
+ self._Cpu = params.get("Cpu")
17781
+ self._Memory = params.get("Memory")
17782
+ self._StorageLimit = params.get("StorageLimit")
17783
+ self._InstanceId = params.get("InstanceId")
17784
+ self._DeviceType = params.get("DeviceType")
17785
+ self._Ccu = params.get("Ccu")
17786
+ memeber_set = set(params.keys())
17787
+ for name, value in vars(self).items():
17788
+ property_name = name[1:]
17789
+ if property_name in memeber_set:
17790
+ memeber_set.remove(property_name)
17791
+ if len(memeber_set) > 0:
17792
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17793
+
17794
+
17795
+
17796
+ class InquirePriceModifyResponse(AbstractModel):
17797
+ """InquirePriceModify返回参数结构体
17798
+
17799
+ """
17800
+
17801
+ def __init__(self):
17802
+ r"""
17803
+ :param _InstancePrice: 实例价格
17804
+ 注意:此字段可能返回 null,表示取不到有效值。
17805
+ :type InstancePrice: :class:`tencentcloud.cynosdb.v20190107.models.TradePrice`
17806
+ :param _StoragePrice: 存储价格
17807
+ 注意:此字段可能返回 null,表示取不到有效值。
17808
+ :type StoragePrice: :class:`tencentcloud.cynosdb.v20190107.models.TradePrice`
17809
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17810
+ :type RequestId: str
17811
+ """
17812
+ self._InstancePrice = None
17813
+ self._StoragePrice = None
17814
+ self._RequestId = None
17815
+
17816
+ @property
17817
+ def InstancePrice(self):
17818
+ return self._InstancePrice
17819
+
17820
+ @InstancePrice.setter
17821
+ def InstancePrice(self, InstancePrice):
17822
+ self._InstancePrice = InstancePrice
17823
+
17824
+ @property
17825
+ def StoragePrice(self):
17826
+ return self._StoragePrice
17827
+
17828
+ @StoragePrice.setter
17829
+ def StoragePrice(self, StoragePrice):
17830
+ self._StoragePrice = StoragePrice
17831
+
17832
+ @property
17833
+ def RequestId(self):
17834
+ return self._RequestId
17835
+
17836
+ @RequestId.setter
17837
+ def RequestId(self, RequestId):
17838
+ self._RequestId = RequestId
17839
+
17840
+
17841
+ def _deserialize(self, params):
17842
+ if params.get("InstancePrice") is not None:
17843
+ self._InstancePrice = TradePrice()
17844
+ self._InstancePrice._deserialize(params.get("InstancePrice"))
17845
+ if params.get("StoragePrice") is not None:
17846
+ self._StoragePrice = TradePrice()
17847
+ self._StoragePrice._deserialize(params.get("StoragePrice"))
17848
+ self._RequestId = params.get("RequestId")
17849
+
17850
+
17691
17851
  class InquirePriceRenewRequest(AbstractModel):
17692
17852
  """InquirePriceRenew请求参数结构体
17693
17853
 
@@ -197,6 +197,9 @@ INVALIDPARAMETER_EMPTYPARAMS = 'InvalidParameter.EmptyParams'
197
197
  # 不合法的EndPoint,请检查修改后重试。
198
198
  INVALIDPARAMETER_ENDPOINT = 'InvalidParameter.EndPoint'
199
199
 
200
+ # 不合法的合同过期时间
201
+ INVALIDPARAMETER_FLOWAPPROVERDEADLINE = 'InvalidParameter.FlowApproverDeadline'
202
+
200
203
  # 不合法的签署流程回调链接,请修改后重试。
201
204
  INVALIDPARAMETER_FLOWCALLBACKURL = 'InvalidParameter.FlowCallbackUrl'
202
205
 
@@ -26,6 +26,29 @@ class EssClient(AbstractClient):
26
26
  _service = 'ess'
27
27
 
28
28
 
29
+ def ArchiveDynamicFlow(self, request):
30
+ """该接口用于结束动态签署流程,若当前合同还存在签署方未签署,无法结束。
31
+
32
+ :param request: Request instance for ArchiveDynamicFlow.
33
+ :type request: :class:`tencentcloud.ess.v20201111.models.ArchiveDynamicFlowRequest`
34
+ :rtype: :class:`tencentcloud.ess.v20201111.models.ArchiveDynamicFlowResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("ArchiveDynamicFlow", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.ArchiveDynamicFlowResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
29
52
  def BindEmployeeUserIdWithClientOpenId(self, request):
30
53
  """此接口(BindEmployeeUserIdWithClientOpenId)用于将电子签系统员工UserId与客户系统员工OpenId进行绑定。
31
54
 
@@ -434,6 +457,30 @@ class EssClient(AbstractClient):
434
457
  raise TencentCloudSDKException(type(e).__name__, str(e))
435
458
 
436
459
 
460
+ def CreateDynamicFlowApprover(self, request):
461
+ """此接口(CreateDynamicFlowApprover)用来补充动态合同的签署人信息。<br/>
462
+ 适用场景:使用CreateFlowByFiles指定:OpenDynamicSignFlow=true发起的合同,可以使用该接口补充后续签署人。<br/>
463
+
464
+ :param request: Request instance for CreateDynamicFlowApprover.
465
+ :type request: :class:`tencentcloud.ess.v20201111.models.CreateDynamicFlowApproverRequest`
466
+ :rtype: :class:`tencentcloud.ess.v20201111.models.CreateDynamicFlowApproverResponse`
467
+
468
+ """
469
+ try:
470
+ params = request._serialize()
471
+ headers = request.headers
472
+ body = self.call("CreateDynamicFlowApprover", params, headers=headers)
473
+ response = json.loads(body)
474
+ model = models.CreateDynamicFlowApproverResponse()
475
+ model._deserialize(response["Response"])
476
+ return model
477
+ except Exception as e:
478
+ if isinstance(e, TencentCloudSDKException):
479
+ raise
480
+ else:
481
+ raise TencentCloudSDKException(type(e).__name__, str(e))
482
+
483
+
437
484
  def CreateEmbedWebUrl(self, request):
438
485
  """本接口(CreateEmbedWebUrl)用于创建可嵌入web页面的URL(此web页面可以通过iframe方式嵌入到贵方系统的网页中),支持以下类型的Web链接创建:
439
486
  1. 创建印章