tencentcloud-sdk-python 3.0.1260__py2.py3-none-any.whl → 3.0.1262__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 (44) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/errorcodes.py +3 -0
  3. tencentcloud/apm/v20210622/models.py +24 -0
  4. tencentcloud/billing/v20180709/models.py +3 -3
  5. tencentcloud/ccc/v20200210/ccc_client.py +3 -1
  6. tencentcloud/ccc/v20200210/models.py +102 -39
  7. tencentcloud/cdb/v20170320/errorcodes.py +1 -1
  8. tencentcloud/cdwdoris/v20211228/models.py +60 -0
  9. tencentcloud/cfs/v20190719/models.py +109 -0
  10. tencentcloud/cfw/v20190904/cfw_client.py +3 -1
  11. tencentcloud/cls/v20201016/models.py +14 -14
  12. tencentcloud/dlc/v20210125/models.py +15 -0
  13. tencentcloud/dnspod/v20210323/dnspod_client.py +115 -0
  14. tencentcloud/dnspod/v20210323/errorcodes.py +48 -0
  15. tencentcloud/dnspod/v20210323/models.py +736 -14
  16. tencentcloud/ess/v20201111/models.py +2 -6
  17. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
  18. tencentcloud/essbasic/v20210526/models.py +15 -11
  19. tencentcloud/hunyuan/v20230901/hunyuan_client.py +170 -0
  20. tencentcloud/hunyuan/v20230901/models.py +2873 -954
  21. tencentcloud/ioa/v20220601/models.py +3 -21
  22. tencentcloud/iotexplorer/v20190423/models.py +26 -0
  23. tencentcloud/iss/v20230517/models.py +1 -1
  24. tencentcloud/kms/v20190118/models.py +24 -0
  25. tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  26. tencentcloud/lighthouse/v20200324/models.py +88 -0
  27. tencentcloud/pts/v20210728/models.py +13 -0
  28. tencentcloud/ssl/v20191205/models.py +1 -1
  29. tencentcloud/ssm/v20190923/models.py +6 -36
  30. tencentcloud/tdmq/v20200217/models.py +3 -4
  31. tencentcloud/teo/v20220901/errorcodes.py +48 -3
  32. tencentcloud/teo/v20220901/models.py +52 -3
  33. tencentcloud/thpc/v20230321/models.py +3 -3
  34. tencentcloud/tke/v20180525/models.py +2 -2
  35. tencentcloud/tse/v20201207/models.py +87 -0
  36. tencentcloud/tse/v20201207/tse_client.py +23 -0
  37. tencentcloud/vod/v20180717/models.py +612 -18
  38. tencentcloud/vod/v20180717/vod_client.py +34 -0
  39. tencentcloud/waf/v20180125/models.py +1 -1
  40. {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1262.dist-info}/METADATA +1 -1
  41. {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1262.dist-info}/RECORD +44 -44
  42. {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1262.dist-info}/LICENSE +0 -0
  43. {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1262.dist-info}/WHEEL +0 -0
  44. {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1262.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.1260'
17
+ __version__ = '3.0.1262'
@@ -62,6 +62,9 @@ FAILEDOPERATION_INSTANCENOTFOUND = 'FailedOperation.InstanceNotFound'
62
62
  # 非法实例id。
63
63
  FAILEDOPERATION_INVALIDINSTANCEID = 'FailedOperation.InvalidInstanceID'
64
64
 
65
+ # 不合法入参
66
+ FAILEDOPERATION_INVALIDPARAM = 'FailedOperation.InvalidParam'
67
+
65
68
  # 非法的正则表达式。
66
69
  FAILEDOPERATION_INVALIDREGEX = 'FailedOperation.InvalidRegex'
67
70
 
@@ -2857,6 +2857,10 @@ class ModifyApmInstanceRequest(AbstractModel):
2857
2857
  :type PayMode: int
2858
2858
  :param _ResponseDurationWarningThreshold: 响应时间满意阈值
2859
2859
  :type ResponseDurationWarningThreshold: int
2860
+ :param _IsRelatedDashboard: 是否关联dashboard: 0 关 1 开
2861
+ :type IsRelatedDashboard: int
2862
+ :param _DashboardTopicID: dashboard ID
2863
+ :type DashboardTopicID: str
2860
2864
  """
2861
2865
  self._InstanceId = None
2862
2866
  self._Name = None
@@ -2877,6 +2881,8 @@ class ModifyApmInstanceRequest(AbstractModel):
2877
2881
  self._CustomShowTags = None
2878
2882
  self._PayMode = None
2879
2883
  self._ResponseDurationWarningThreshold = None
2884
+ self._IsRelatedDashboard = None
2885
+ self._DashboardTopicID = None
2880
2886
 
2881
2887
  @property
2882
2888
  def InstanceId(self):
@@ -3030,6 +3036,22 @@ class ModifyApmInstanceRequest(AbstractModel):
3030
3036
  def ResponseDurationWarningThreshold(self, ResponseDurationWarningThreshold):
3031
3037
  self._ResponseDurationWarningThreshold = ResponseDurationWarningThreshold
3032
3038
 
3039
+ @property
3040
+ def IsRelatedDashboard(self):
3041
+ return self._IsRelatedDashboard
3042
+
3043
+ @IsRelatedDashboard.setter
3044
+ def IsRelatedDashboard(self, IsRelatedDashboard):
3045
+ self._IsRelatedDashboard = IsRelatedDashboard
3046
+
3047
+ @property
3048
+ def DashboardTopicID(self):
3049
+ return self._DashboardTopicID
3050
+
3051
+ @DashboardTopicID.setter
3052
+ def DashboardTopicID(self, DashboardTopicID):
3053
+ self._DashboardTopicID = DashboardTopicID
3054
+
3033
3055
 
3034
3056
  def _deserialize(self, params):
3035
3057
  self._InstanceId = params.get("InstanceId")
@@ -3056,6 +3078,8 @@ class ModifyApmInstanceRequest(AbstractModel):
3056
3078
  self._CustomShowTags = params.get("CustomShowTags")
3057
3079
  self._PayMode = params.get("PayMode")
3058
3080
  self._ResponseDurationWarningThreshold = params.get("ResponseDurationWarningThreshold")
3081
+ self._IsRelatedDashboard = params.get("IsRelatedDashboard")
3082
+ self._DashboardTopicID = params.get("DashboardTopicID")
3059
3083
  memeber_set = set(params.keys())
3060
3084
  for name, value in vars(self).items():
3061
3085
  property_name = name[1:]
@@ -11022,11 +11022,11 @@ class DescribeAccountBalanceResponse(AbstractModel):
11022
11022
  :type IsAllowArrears: bool
11023
11023
  :param _IsCreditLimited: 是否限制信用额度
11024
11024
  :type IsCreditLimited: bool
11025
- :param _CreditAmount: 信用额度
11025
+ :param _CreditAmount: 信用额度,单位 分
11026
11026
  :type CreditAmount: float
11027
- :param _CreditBalance: 可用信用额度
11027
+ :param _CreditBalance: 可用信用额度,单位 分
11028
11028
  :type CreditBalance: float
11029
- :param _RealCreditBalance: 真实可用信用额度
11029
+ :param _RealCreditBalance: 真实可用信用额度,单位 分
11030
11030
  :type RealCreditBalance: float
11031
11031
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11032
11032
  :type RequestId: str
@@ -96,7 +96,9 @@ class CccClient(AbstractClient):
96
96
 
97
97
 
98
98
  def CreateAICall(self, request):
99
- """创建ai外呼会话(仅支持高级版座席)
99
+ """用于调用AI模型发起外呼通话,仅限自有电话号码使用,目前开通高级版座席**限时**免费体验。
100
+
101
+ 发起通话前,请先确认您的AI模型是否兼容 OpenAI、Azure 或 Minimax 协议,并前往模型服务商网站获取相关鉴权信息。 具体功能说明请参考文档 [腾讯云联络中心AI通话平台](https://cloud.tencent.com/document/product/679/112100)。
100
102
 
101
103
  :param request: Request instance for CreateAICall.
102
104
  :type request: :class:`tencentcloud.ccc.v20200210.models.CreateAICallRequest`
@@ -1554,23 +1554,85 @@ class CreateAICallRequest(AbstractModel):
1554
1554
  r"""
1555
1555
  :param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
1556
1556
  :type SdkAppId: int
1557
- :param _Callee: 被叫
1557
+ :param _Callee: 被叫号码
1558
1558
  :type Callee: str
1559
- :param _SystemPrompt: 用于设定AI座席人设、说话规则、任务等的全局提示词。
1559
+ :param _SystemPrompt: 用于设定AI人设、说话规则、任务等的全局提示词。
1560
+
1561
+ 示例:
1562
+
1563
+ ## 人设
1564
+ 你是人民医院友善、和蔼的的随访医生李医生,正在给患者小明的家长打电话,原因是医院要求小明2024-08-08回院复查手术恢复情况,但小明没有来。你需要按照任务流程对小明家长进行电话随访调查。
1565
+
1566
+ ## 要求
1567
+ 简洁回复:使用简练语言,每次最多询问一个问题,不要在一个回复中询问多个问题。
1568
+ 富有变化:尽量使表达富有变化,表达机械重复。
1569
+ 自然亲切:使用日常语言,尽量显得专业并亲切。提到时间时使用口语表述,如下周三、6月18日。
1570
+ 积极主动:尝试引导对话,每个回复通常以问题或下一步建议来结尾。
1571
+ 询问清楚:如果对方部分回答了你的问题,或者回答很模糊,请通过追问来确保回答的完整明确。
1572
+ 遵循任务:当对方的回答偏离了你的任务时,及时引导对方回到任务中。不要从头开始重复,从偏离的的地方继续询问。
1573
+ 诚实可靠:对于客户的提问,如果不确定请务必不要编造,礼貌告知对方不清楚。不要捏造患者未提及的症状史、用药史、治疗史。
1574
+ 其他注意点:避免提到病情恶化、恢复不理想或疾病名称等使用会使患者感到紧张的表述。
1575
+ 不要问患者已经直接或间接回答过的问题,比如患者已经说没有不适症状,那就不要再问手术部位是否有红肿疼痛症状的问题。
1576
+
1577
+ ##任务:
1578
+ 1.自我介绍你是人民医院负责随访的李医生,并说明致电的目的。
1579
+ 2.询问被叫方是否是小明家长。
1580
+ - 如果不是小明家长,请礼貌表达歉意,并使用 call_end 挂断电话。
1581
+ - 如果小明家长没空,请礼貌告诉对方稍后会重新致电,并使用 end_call 挂断电话。
1582
+ 3.询问小明出院后水肿情况如何,较出院时是否有变化。
1583
+ - 如果水肿变严重,直接跳转步骤7。
1584
+ 4.询问出院后是否给小朋友量过体温,是否出现过发烧情况。
1585
+ - 如果没有量过体温,请礼貌告诉家长出院后三个月内需要每天观察体温。
1586
+ - 如果出现过发烧,请直接跳转步骤7。
1587
+ 5.询问出院后是否给小朋友按时服药。
1588
+ - 如果没有按时服药,请友善提醒家长严格按医嘱服用药物,避免影响手术效果。
1589
+ 6.询问小朋友在饮食上是否做到低盐低脂,适量吃优质蛋白如鸡蛋、牛奶、瘦肉等。
1590
+ - 如果没有做到,请友善提醒家长低盐低脂和优质蛋白有助小朋友尽快恢复。
1591
+ 7.告知家长医生要求6月18日回院复查,但没看到有相关复诊记录。提醒家长尽快前往医院体检复查血化验、尿常规。
1592
+ 8.询问家长是否有问题需要咨询,如果没有请礼貌道别并用call_end挂断电话。
1593
+
1594
+
1560
1595
  :type SystemPrompt: str
1561
- :param _LLMType: LLM类型
1562
- 目前有两种
1563
- openai(兼容openai协议的模型)
1564
- azure
1596
+ :param _LLMType: 模型接口协议类型,目前兼容三种协议类型:
1597
+
1598
+ - OpenAI协议(包括GPT、混元、DeepSeek等):"openai"
1599
+ - Azure协议:"azure"
1600
+ - Minimax协议:"minimax"
1565
1601
  :type LLMType: str
1566
- :param _Model: 模型(当前仅支持openai协议的模型)
1602
+ :param _Model: 模型名称,如
1603
+
1604
+ - OpenAI协议
1605
+ "gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat";
1606
+
1607
+ - Azure协议
1608
+ "gpt-4o-mini", "gpt-4o";
1609
+
1610
+ - Minmax协议
1611
+ "deepseek-chat".
1567
1612
  :type Model: str
1568
- :param _APIKey: API密钥
1613
+ :param _APIKey: 模型API密钥,获取鉴权信息方式请参见各模型官网
1614
+
1615
+ - OpenAI协议:[GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key),[混元](https://cloud.tencent.com/document/product/1729/111008),[DeepSeek](https://api-docs.deepseek.com/zh-cn/);
1616
+
1617
+ - Azure协议:[Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
1618
+
1619
+ - Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
1569
1620
  :type APIKey: str
1570
- :param _APIUrl: API URL,仅支持兼容openai协议的模型,填写url时后缀不要带/chat/completions;
1571
- llmType为azure时,URL填写格式需为:https://{your-resource-name}.openai.azure.com?api-version={api-version},填写url时后缀不要带/openai/deployments/{deployment-id}/chat/completions,系统会自动帮您填充后缀
1621
+ :param _APIUrl: 模型接口地址
1622
+
1623
+ - OpenAI协议
1624
+ GPT:"https://api.openai.com/v1/"
1625
+ 混元:"https://api.hunyuan.cloud.tencent.com/v1"
1626
+ Deepseek:"https://api.deepseek.com/v1"
1627
+
1628
+ - Azure协议
1629
+ "https://{your-resource-name}.openai.azure.com?api-version={api-version}"
1630
+
1631
+ - Minimax协议
1632
+ "https://api.minimax.chat/v1"
1572
1633
  :type APIUrl: str
1573
- :param _VoiceType: 音色,目前仅支持以下音色:
1634
+ :param _VoiceType: 默认提供以下音色参数值可选择,如需自定义音色VoiceType请留空并在参数CustomTTSConfig中配置
1635
+
1574
1636
  汉语:
1575
1637
  ZhiMei:智美,客服女声
1576
1638
  ZhiXi: 智希 通用女声
@@ -1649,11 +1711,13 @@ HoaiMy
1649
1711
  :type EndFunctionDesc: str
1650
1712
  :param _NotifyDuration: 用户多久没说话提示时长,最小10秒,默认10秒
1651
1713
  :type NotifyDuration: int
1652
- :param _NotifyMessage: 用户NotifyDuration没说话,ai提示的语句,默认是"抱歉,我没听清。您可以重复下吗?"
1714
+ :param _NotifyMessage: 用户NotifyDuration没说话,AI提示的语句,默认是"抱歉,我没听清。您可以重复下吗?"
1653
1715
  :type NotifyMessage: str
1654
- :param _CustomTTSConfig: 和voiceType字段需要选填一个,这里是使用自己自定义的TTS,voiceType是系统内置的一些音色
1716
+ :param _CustomTTSConfig: 和VoiceType字段需要选填一个,这里是使用自己自定义的TTS,VoiceType是系统内置的一些音色
1655
1717
 
1656
- tencent TTS:
1718
+ - Tencent TTS
1719
+ 配置请参考[腾讯云TTS文档链接](https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823)
1720
+ ```
1657
1721
  {
1658
1722
  "TTSType": "tencent", // String TTS类型, 目前支持"tencent" 和 “minixmax”, 其他的厂商支持中
1659
1723
    "AppId": "您的应用ID", // String 必填
@@ -1665,10 +1729,12 @@ tencent TTS:
1665
1729
    "PrimaryLanguage": 1, // Integer 可选 主要语言 1-中文(默认) 2-英文 3-日文
1666
1730
  "FastVoiceType": "xxxx" // 可选参数, 快速声音复刻的参数
1667
1731
   }
1732
+ ```
1668
1733
 
1669
- 参考:https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823
1670
1734
 
1671
- minimax TTS
1735
+ - Minimax TTS
1736
+ 配置请参考[Minimax TTS文档链接](https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643 )。注意Minimax TTS存在频率限制,超频可能会导致回答卡顿,[Minimax TTS频率限制相关文档链接](https://platform.minimaxi.com/document/Rate%20limits?key=66b19417290299a26b234572)。
1737
+ ```
1672
1738
  {
1673
1739
  "TTSType": "minimax", // String TTS类型,
1674
1740
  "Model": "speech-01-turbo",
@@ -1678,13 +1744,18 @@ minimax TTS
1678
1744
  "VoiceType":"female-tianmei-jingpin",
1679
1745
  "Speed": 1.2
1680
1746
  }
1747
+ ```
1748
+
1749
+
1681
1750
 
1682
- 参考:https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643
1683
- 限频参考:https://platform.minimaxi.com/document/Rate%20limits?key=66b19417290299a26b234572 可能会导致回答卡顿
1684
1751
 
1685
1752
 
1753
+ - 火山 TTS
1686
1754
 
1687
- volcengine TTS
1755
+ 配置音色类型参考[火山TTS文档链接](https://www.volcengine.com/docs/6561/162929 )
1756
+ 语音合成音色列表--语音技术-火山引擎
1757
+ 大模型语音合成音色列表--语音技术-火山引擎
1758
+ ```
1688
1759
  {
1689
1760
  "TTSType": "volcengine", // 必填:String TTS类型
1690
1761
  "AppId" : "xxxxxxxx", // 必填:String 火山引擎分配的Appid
@@ -1694,16 +1765,13 @@ volcengine TTS
1694
1765
  "Cluster" : "volcano_tts", // 可选参数,业务集群, 默认是 volcano_tts
1695
1766
  "VoiceType" : "zh_male_aojiaobazong_moon_bigtts" // 音色类型, 默认为大模型语音合成的音色。 如果使用普通语音合成,则需要填写对应的音色类型。 音色类型填写错误会导致没有声音。
1696
1767
  }
1768
+ ```
1697
1769
 
1698
1770
 
1699
1771
 
1700
- 火山引擎音色类型参考:
1701
- https://www.volcengine.com/docs/6561/162929
1702
- 语音合成音色列表--语音技术-火山引擎
1703
- 大模型语音合成音色列表--语音技术-火山引擎
1704
-
1705
-
1706
- Azure TTS
1772
+ - Azure TTS
1773
+ 配置请参考[AzureTTS文档链接](https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice)
1774
+ ```
1707
1775
  {
1708
1776
  "TTSType": "azure", // 必填:String TTS类型
1709
1777
  "SubscriptionKey": "xxxxxxxx", // 必填:String 订阅的Key
@@ -1712,12 +1780,16 @@ Azure TTS
1712
1780
  "Language": "zh-CN", // 必填:String 合成的语言
1713
1781
  "Rate": 1 // 选填:float 语速 0.5~2 默认为 1
1714
1782
  }
1783
+ ```
1784
+
1785
+
1715
1786
 
1716
- 参考:
1717
- https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice
1718
1787
 
1788
+ - 自定义
1719
1789
 
1720
- 自定义 TTS
1790
+ TTS
1791
+ 具体协议规范请参考[腾讯文档](https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw )
1792
+ ```
1721
1793
  {
1722
1794
  "TTSType": "custom", // String 必填
1723
1795
  "APIKey": "ApiKey", // String 必填 用来鉴权
@@ -1726,11 +1798,7 @@ https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-v
1726
1798
  "SampleRate": 16000, // Integer,非必填,音频采样率,默认为16000(16k),推荐值为16000
1727
1799
  "AudioChannel": 1, // Integer,非必填,音频通道数,取值:1 或 2 默认为1
1728
1800
  }
1729
-
1730
-
1731
- 具体协议规范:
1732
- https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw
1733
-
1801
+ ```
1734
1802
 
1735
1803
 
1736
1804
  :type CustomTTSConfig: str
@@ -4446,10 +4514,8 @@ class DescribeCallInMetricsResponse(AbstractModel):
4446
4514
  :param _TotalMetrics: 总体指标
4447
4515
  :type TotalMetrics: :class:`tencentcloud.ccc.v20200210.models.CallInMetrics`
4448
4516
  :param _NumberMetrics: 线路维度指标
4449
- 注意:此字段可能返回 null,表示取不到有效值。
4450
4517
  :type NumberMetrics: list of CallInNumberMetrics
4451
4518
  :param _SkillGroupMetrics: 技能组维度指标
4452
- 注意:此字段可能返回 null,表示取不到有效值。
4453
4519
  :type SkillGroupMetrics: list of CallInSkillGroupMetrics
4454
4520
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4455
4521
  :type RequestId: str
@@ -7505,7 +7571,6 @@ class DescribeTelRecordAsrResponse(AbstractModel):
7505
7571
  def __init__(self):
7506
7572
  r"""
7507
7573
  :param _AsrDataList: 录音转文本信息
7508
- 注意:此字段可能返回 null,表示取不到有效值。
7509
7574
  :type AsrDataList: list of AsrData
7510
7575
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7511
7576
  :type RequestId: str
@@ -12255,10 +12320,8 @@ class UploadIvrAudioFailedInfo(AbstractModel):
12255
12320
  def __init__(self):
12256
12321
  r"""
12257
12322
  :param _FileName: 文件名
12258
- 注意:此字段可能返回 null,表示取不到有效值。
12259
12323
  :type FileName: str
12260
12324
  :param _FailedMsg: 失败原因
12261
- 注意:此字段可能返回 null,表示取不到有效值。
12262
12325
  :type FailedMsg: str
12263
12326
  """
12264
12327
  self._FileName = None
@@ -197,7 +197,7 @@ INTERNALERROR_DBERROR = 'InternalError.DBError'
197
197
  # 数据库操作失败。
198
198
  INTERNALERROR_DBOPERATIONERROR = 'InternalError.DBOperationError'
199
199
 
200
- # 数据库记录不存在。
200
+ # 数据库实例不存在。
201
201
  INTERNALERROR_DBRECORDNOTEXISTERROR = 'InternalError.DBRecordNotExistError'
202
202
 
203
203
  # 数据库内部错误。
@@ -1765,18 +1765,26 @@ class CreateBackUpScheduleRequest(AbstractModel):
1765
1765
 
1766
1766
  @property
1767
1767
  def WeekDays(self):
1768
+ warnings.warn("parameter `WeekDays` is deprecated", DeprecationWarning)
1769
+
1768
1770
  return self._WeekDays
1769
1771
 
1770
1772
  @WeekDays.setter
1771
1773
  def WeekDays(self, WeekDays):
1774
+ warnings.warn("parameter `WeekDays` is deprecated", DeprecationWarning)
1775
+
1772
1776
  self._WeekDays = WeekDays
1773
1777
 
1774
1778
  @property
1775
1779
  def ExecuteHour(self):
1780
+ warnings.warn("parameter `ExecuteHour` is deprecated", DeprecationWarning)
1781
+
1776
1782
  return self._ExecuteHour
1777
1783
 
1778
1784
  @ExecuteHour.setter
1779
1785
  def ExecuteHour(self, ExecuteHour):
1786
+ warnings.warn("parameter `ExecuteHour` is deprecated", DeprecationWarning)
1787
+
1780
1788
  self._ExecuteHour = ExecuteHour
1781
1789
 
1782
1790
  @property
@@ -1913,11 +1921,23 @@ class CreateBackUpScheduleResponse(AbstractModel):
1913
1921
 
1914
1922
  def __init__(self):
1915
1923
  r"""
1924
+ :param _ErrorMsg: 错误信息
1925
+ 注意:此字段可能返回 null,表示取不到有效值。
1926
+ :type ErrorMsg: str
1916
1927
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1917
1928
  :type RequestId: str
1918
1929
  """
1930
+ self._ErrorMsg = None
1919
1931
  self._RequestId = None
1920
1932
 
1933
+ @property
1934
+ def ErrorMsg(self):
1935
+ return self._ErrorMsg
1936
+
1937
+ @ErrorMsg.setter
1938
+ def ErrorMsg(self, ErrorMsg):
1939
+ self._ErrorMsg = ErrorMsg
1940
+
1921
1941
  @property
1922
1942
  def RequestId(self):
1923
1943
  return self._RequestId
@@ -1928,6 +1948,7 @@ class CreateBackUpScheduleResponse(AbstractModel):
1928
1948
 
1929
1949
 
1930
1950
  def _deserialize(self, params):
1951
+ self._ErrorMsg = params.get("ErrorMsg")
1931
1952
  self._RequestId = params.get("RequestId")
1932
1953
 
1933
1954
 
@@ -2503,6 +2524,9 @@ class DataBaseAuditRecord(AbstractModel):
2503
2524
  :param _Catalog: catalog名称
2504
2525
  注意:此字段可能返回 null,表示取不到有效值。
2505
2526
  :type Catalog: str
2527
+ :param _State: 状态
2528
+ 注意:此字段可能返回 null,表示取不到有效值。
2529
+ :type State: str
2506
2530
  """
2507
2531
  self._OsUser = None
2508
2532
  self._InitialQueryId = None
@@ -2517,6 +2541,7 @@ class DataBaseAuditRecord(AbstractModel):
2517
2541
  self._DbName = None
2518
2542
  self._SqlType = None
2519
2543
  self._Catalog = None
2544
+ self._State = None
2520
2545
 
2521
2546
  @property
2522
2547
  def OsUser(self):
@@ -2622,6 +2647,14 @@ class DataBaseAuditRecord(AbstractModel):
2622
2647
  def Catalog(self, Catalog):
2623
2648
  self._Catalog = Catalog
2624
2649
 
2650
+ @property
2651
+ def State(self):
2652
+ return self._State
2653
+
2654
+ @State.setter
2655
+ def State(self, State):
2656
+ self._State = State
2657
+
2625
2658
 
2626
2659
  def _deserialize(self, params):
2627
2660
  self._OsUser = params.get("OsUser")
@@ -2637,6 +2670,7 @@ class DataBaseAuditRecord(AbstractModel):
2637
2670
  self._DbName = params.get("DbName")
2638
2671
  self._SqlType = params.get("SqlType")
2639
2672
  self._Catalog = params.get("Catalog")
2673
+ self._State = params.get("State")
2640
2674
  memeber_set = set(params.keys())
2641
2675
  for name, value in vars(self).items():
2642
2676
  property_name = name[1:]
@@ -3123,10 +3157,18 @@ class DescribeBackUpJobResponse(AbstractModel):
3123
3157
  :param _BackUpJobs: 任务列表
3124
3158
  注意:此字段可能返回 null,表示取不到有效值。
3125
3159
  :type BackUpJobs: list of BackUpJobDisplay
3160
+ :param _ErrorMsg: 错误信息
3161
+ 注意:此字段可能返回 null,表示取不到有效值。
3162
+ :type ErrorMsg: str
3163
+ :param _TotalCount: 总数
3164
+ 注意:此字段可能返回 null,表示取不到有效值。
3165
+ :type TotalCount: int
3126
3166
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3127
3167
  :type RequestId: str
3128
3168
  """
3129
3169
  self._BackUpJobs = None
3170
+ self._ErrorMsg = None
3171
+ self._TotalCount = None
3130
3172
  self._RequestId = None
3131
3173
 
3132
3174
  @property
@@ -3137,6 +3179,22 @@ class DescribeBackUpJobResponse(AbstractModel):
3137
3179
  def BackUpJobs(self, BackUpJobs):
3138
3180
  self._BackUpJobs = BackUpJobs
3139
3181
 
3182
+ @property
3183
+ def ErrorMsg(self):
3184
+ return self._ErrorMsg
3185
+
3186
+ @ErrorMsg.setter
3187
+ def ErrorMsg(self, ErrorMsg):
3188
+ self._ErrorMsg = ErrorMsg
3189
+
3190
+ @property
3191
+ def TotalCount(self):
3192
+ return self._TotalCount
3193
+
3194
+ @TotalCount.setter
3195
+ def TotalCount(self, TotalCount):
3196
+ self._TotalCount = TotalCount
3197
+
3140
3198
  @property
3141
3199
  def RequestId(self):
3142
3200
  return self._RequestId
@@ -3153,6 +3211,8 @@ class DescribeBackUpJobResponse(AbstractModel):
3153
3211
  obj = BackUpJobDisplay()
3154
3212
  obj._deserialize(item)
3155
3213
  self._BackUpJobs.append(obj)
3214
+ self._ErrorMsg = params.get("ErrorMsg")
3215
+ self._TotalCount = params.get("TotalCount")
3156
3216
  self._RequestId = params.get("RequestId")
3157
3217
 
3158
3218
 
@@ -18,6 +18,63 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class AutoScaleUpRule(AbstractModel):
22
+ """自动扩容规则
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _Status: 自动扩容策略开启,关闭
29
+ :type Status: str
30
+ :param _ScaleThreshold: 集群用量占比,到达这个值后开始扩容,范围[10-90]
31
+ :type ScaleThreshold: int
32
+ :param _TargetThreshold: 扩容后使用量跟集群总量比例,范围[1-90]
33
+ :type TargetThreshold: int
34
+ """
35
+ self._Status = None
36
+ self._ScaleThreshold = None
37
+ self._TargetThreshold = None
38
+
39
+ @property
40
+ def Status(self):
41
+ return self._Status
42
+
43
+ @Status.setter
44
+ def Status(self, Status):
45
+ self._Status = Status
46
+
47
+ @property
48
+ def ScaleThreshold(self):
49
+ return self._ScaleThreshold
50
+
51
+ @ScaleThreshold.setter
52
+ def ScaleThreshold(self, ScaleThreshold):
53
+ self._ScaleThreshold = ScaleThreshold
54
+
55
+ @property
56
+ def TargetThreshold(self):
57
+ return self._TargetThreshold
58
+
59
+ @TargetThreshold.setter
60
+ def TargetThreshold(self, TargetThreshold):
61
+ self._TargetThreshold = TargetThreshold
62
+
63
+
64
+ def _deserialize(self, params):
65
+ self._Status = params.get("Status")
66
+ self._ScaleThreshold = params.get("ScaleThreshold")
67
+ self._TargetThreshold = params.get("TargetThreshold")
68
+ memeber_set = set(params.keys())
69
+ for name, value in vars(self).items():
70
+ property_name = name[1:]
71
+ if property_name in memeber_set:
72
+ memeber_set.remove(property_name)
73
+ if len(memeber_set) > 0:
74
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
75
+
76
+
77
+
21
78
  class AutoSnapshotPolicyInfo(AbstractModel):
22
79
  """快照策略信息
23
80
 
@@ -4057,6 +4114,10 @@ class FileSystemInfo(AbstractModel):
4057
4114
  :type AppId: int
4058
4115
  :param _BandwidthLimit: 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
4059
4116
  :type BandwidthLimit: float
4117
+ :param _AutoSnapshotPolicyId: 文件系统关联的快照策略
4118
+ :type AutoSnapshotPolicyId: str
4119
+ :param _SnapStatus: 文件系统处理快照状态
4120
+ :type SnapStatus: str
4060
4121
  :param _Capacity: 文件系统容量规格上限
4061
4122
  单位:GiB
4062
4123
  :type Capacity: int
@@ -4069,6 +4130,12 @@ Available:可用
4069
4130
  :param _TieringDetail: 分层存储详情
4070
4131
  注意:此字段可能返回 null,表示取不到有效值。
4071
4132
  :type TieringDetail: :class:`tencentcloud.cfs.v20190719.models.TieringDetailInfo`
4133
+ :param _AutoScaleUpRule: 文件系统自动扩容策略
4134
+ 注意:此字段可能返回 null,表示取不到有效值。
4135
+ :type AutoScaleUpRule: :class:`tencentcloud.cfs.v20190719.models.AutoScaleUpRule`
4136
+ :param _Version: 文件系统版本
4137
+ 注意:此字段可能返回 null,表示取不到有效值。
4138
+ :type Version: str
4072
4139
  """
4073
4140
  self._CreationTime = None
4074
4141
  self._CreationToken = None
@@ -4088,10 +4155,14 @@ Available:可用
4088
4155
  self._KmsKeyId = None
4089
4156
  self._AppId = None
4090
4157
  self._BandwidthLimit = None
4158
+ self._AutoSnapshotPolicyId = None
4159
+ self._SnapStatus = None
4091
4160
  self._Capacity = None
4092
4161
  self._Tags = None
4093
4162
  self._TieringState = None
4094
4163
  self._TieringDetail = None
4164
+ self._AutoScaleUpRule = None
4165
+ self._Version = None
4095
4166
 
4096
4167
  @property
4097
4168
  def CreationTime(self):
@@ -4237,6 +4308,22 @@ Available:可用
4237
4308
  def BandwidthLimit(self, BandwidthLimit):
4238
4309
  self._BandwidthLimit = BandwidthLimit
4239
4310
 
4311
+ @property
4312
+ def AutoSnapshotPolicyId(self):
4313
+ return self._AutoSnapshotPolicyId
4314
+
4315
+ @AutoSnapshotPolicyId.setter
4316
+ def AutoSnapshotPolicyId(self, AutoSnapshotPolicyId):
4317
+ self._AutoSnapshotPolicyId = AutoSnapshotPolicyId
4318
+
4319
+ @property
4320
+ def SnapStatus(self):
4321
+ return self._SnapStatus
4322
+
4323
+ @SnapStatus.setter
4324
+ def SnapStatus(self, SnapStatus):
4325
+ self._SnapStatus = SnapStatus
4326
+
4240
4327
  @property
4241
4328
  def Capacity(self):
4242
4329
  return self._Capacity
@@ -4269,6 +4356,22 @@ Available:可用
4269
4356
  def TieringDetail(self, TieringDetail):
4270
4357
  self._TieringDetail = TieringDetail
4271
4358
 
4359
+ @property
4360
+ def AutoScaleUpRule(self):
4361
+ return self._AutoScaleUpRule
4362
+
4363
+ @AutoScaleUpRule.setter
4364
+ def AutoScaleUpRule(self, AutoScaleUpRule):
4365
+ self._AutoScaleUpRule = AutoScaleUpRule
4366
+
4367
+ @property
4368
+ def Version(self):
4369
+ return self._Version
4370
+
4371
+ @Version.setter
4372
+ def Version(self, Version):
4373
+ self._Version = Version
4374
+
4272
4375
 
4273
4376
  def _deserialize(self, params):
4274
4377
  self._CreationTime = params.get("CreationTime")
@@ -4291,6 +4394,8 @@ Available:可用
4291
4394
  self._KmsKeyId = params.get("KmsKeyId")
4292
4395
  self._AppId = params.get("AppId")
4293
4396
  self._BandwidthLimit = params.get("BandwidthLimit")
4397
+ self._AutoSnapshotPolicyId = params.get("AutoSnapshotPolicyId")
4398
+ self._SnapStatus = params.get("SnapStatus")
4294
4399
  self._Capacity = params.get("Capacity")
4295
4400
  if params.get("Tags") is not None:
4296
4401
  self._Tags = []
@@ -4302,6 +4407,10 @@ Available:可用
4302
4407
  if params.get("TieringDetail") is not None:
4303
4408
  self._TieringDetail = TieringDetailInfo()
4304
4409
  self._TieringDetail._deserialize(params.get("TieringDetail"))
4410
+ if params.get("AutoScaleUpRule") is not None:
4411
+ self._AutoScaleUpRule = AutoScaleUpRule()
4412
+ self._AutoScaleUpRule._deserialize(params.get("AutoScaleUpRule"))
4413
+ self._Version = params.get("Version")
4305
4414
  memeber_set = set(params.keys())
4306
4415
  for name, value in vars(self).items():
4307
4416
  property_name = name[1:]
@@ -27,7 +27,9 @@ class CfwClient(AbstractClient):
27
27
 
28
28
 
29
29
  def AddAcRule(self, request):
30
- """添加互联网边界规则
30
+ """接口不再使用,已有新接口AddAclRule
31
+
32
+ 添加互联网边界规则
31
33
 
32
34
  :param request: Request instance for AddAcRule.
33
35
  :type request: :class:`tencentcloud.cfw.v20190904.models.AddAcRuleRequest`