tencentcloud-sdk-python 3.0.1182__py2.py3-none-any.whl → 3.0.1184__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/asr/v20190614/models.py +2 -1
- tencentcloud/bpaas/v20181217/models.py +52 -0
- tencentcloud/cdb/v20170320/cdb_client.py +69 -0
- tencentcloud/cdb/v20170320/models.py +251 -0
- tencentcloud/cls/v20201016/models.py +81 -0
- tencentcloud/cwp/v20180228/models.py +80 -17
- tencentcloud/dbbrain/v20210527/models.py +1 -1
- tencentcloud/dlc/v20210125/models.py +78 -0
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/es_client.py +23 -0
- tencentcloud/es/v20180416/models.py +119 -0
- tencentcloud/fmu/v20191213/fmu_client.py +9 -3
- tencentcloud/hunyuan/v20230901/models.py +427 -4
- tencentcloud/iotexplorer/v20190423/models.py +92 -1
- tencentcloud/iotvideo/v20211125/models.py +13 -0
- tencentcloud/mps/v20190612/errorcodes.py +177 -0
- tencentcloud/mps/v20190612/models.py +799 -1
- tencentcloud/mps/v20190612/mps_client.py +92 -0
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/postgres/v20170312/errorcodes.py +3 -0
- tencentcloud/postgres/v20170312/models.py +20 -8
- tencentcloud/smpn/v20190822/smpn_client.py +15 -5
- tencentcloud/ssl/v20191205/models.py +39 -0
- tencentcloud/tiia/v20190529/tiia_client.py +3 -1
- tencentcloud/trocket/v20230308/models.py +37 -24
- tencentcloud/trocket/v20230308/trocket_client.py +4 -4
- tencentcloud/trtc/v20190722/models.py +19 -24
- tencentcloud/trtc/v20190722/trtc_client.py +3 -1
- tencentcloud/tsi/v20210325/models.py +2 -2
- tencentcloud/tts/v20190823/models.py +1 -1
- tencentcloud/vcg/v20240404/errorcodes.py +3 -0
- tencentcloud/vclm/v20240523/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/errorcodes.py +12 -0
- tencentcloud/vod/v20180717/models.py +25 -1
- tencentcloud/vod/v20180717/vod_client.py +3 -3
- {tencentcloud_sdk_python-3.0.1182.dist-info → tencentcloud_sdk_python-3.0.1184.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1182.dist-info → tencentcloud_sdk_python-3.0.1184.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1182.dist-info → tencentcloud_sdk_python-3.0.1184.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1182.dist-info → tencentcloud_sdk_python-3.0.1184.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1182.dist-info → tencentcloud_sdk_python-3.0.1184.dist-info}/top_level.txt +0 -0
@@ -18966,13 +18966,13 @@ class DeliverTypeDetails(AbstractModel):
|
|
18966
18966
|
|
18967
18967
|
def __init__(self):
|
18968
18968
|
r"""
|
18969
|
-
:param _SecurityType: 安全模块类型 1: 入侵检测 2: 漏洞管理 3: 基线管理 4: 高级防御 5:客户端相关 6: 资产指纹
|
18969
|
+
:param _SecurityType: 安全模块类型 1: 入侵检测 2: 漏洞管理 3: 基线管理 4: 高级防御 5:客户端相关 6: 资产指纹 7 主机列表 8 客户端上报
|
18970
18970
|
:type SecurityType: int
|
18971
|
-
:param _LogType:
|
18971
|
+
:param _LogType: 安全模块下的日志类型
|
18972
18972
|
:type LogType: list of int
|
18973
|
-
:param _TopicId:
|
18973
|
+
:param _TopicId: 主题ID
|
18974
18974
|
:type TopicId: str
|
18975
|
-
:param _TopicName:
|
18975
|
+
:param _TopicName: 主题名
|
18976
18976
|
:type TopicName: str
|
18977
18977
|
:param _Switch: 投递开关 0关闭 1开启
|
18978
18978
|
:type Switch: int
|
@@ -18980,8 +18980,14 @@ class DeliverTypeDetails(AbstractModel):
|
|
18980
18980
|
:type Status: int
|
18981
18981
|
:param _ErrInfo: 错误信息
|
18982
18982
|
:type ErrInfo: str
|
18983
|
-
:param _StatusTime:
|
18983
|
+
:param _StatusTime: 最近一次状态上报时间戳
|
18984
18984
|
:type StatusTime: int
|
18985
|
+
:param _LogName: 日志集名
|
18986
|
+
:type LogName: str
|
18987
|
+
:param _LogSetId: 日志集ID
|
18988
|
+
:type LogSetId: str
|
18989
|
+
:param _Region: 日志集所在地域
|
18990
|
+
:type Region: str
|
18985
18991
|
"""
|
18986
18992
|
self._SecurityType = None
|
18987
18993
|
self._LogType = None
|
@@ -18991,6 +18997,9 @@ class DeliverTypeDetails(AbstractModel):
|
|
18991
18997
|
self._Status = None
|
18992
18998
|
self._ErrInfo = None
|
18993
18999
|
self._StatusTime = None
|
19000
|
+
self._LogName = None
|
19001
|
+
self._LogSetId = None
|
19002
|
+
self._Region = None
|
18994
19003
|
|
18995
19004
|
@property
|
18996
19005
|
def SecurityType(self):
|
@@ -19056,6 +19065,30 @@ class DeliverTypeDetails(AbstractModel):
|
|
19056
19065
|
def StatusTime(self, StatusTime):
|
19057
19066
|
self._StatusTime = StatusTime
|
19058
19067
|
|
19068
|
+
@property
|
19069
|
+
def LogName(self):
|
19070
|
+
return self._LogName
|
19071
|
+
|
19072
|
+
@LogName.setter
|
19073
|
+
def LogName(self, LogName):
|
19074
|
+
self._LogName = LogName
|
19075
|
+
|
19076
|
+
@property
|
19077
|
+
def LogSetId(self):
|
19078
|
+
return self._LogSetId
|
19079
|
+
|
19080
|
+
@LogSetId.setter
|
19081
|
+
def LogSetId(self, LogSetId):
|
19082
|
+
self._LogSetId = LogSetId
|
19083
|
+
|
19084
|
+
@property
|
19085
|
+
def Region(self):
|
19086
|
+
return self._Region
|
19087
|
+
|
19088
|
+
@Region.setter
|
19089
|
+
def Region(self, Region):
|
19090
|
+
self._Region = Region
|
19091
|
+
|
19059
19092
|
|
19060
19093
|
def _deserialize(self, params):
|
19061
19094
|
self._SecurityType = params.get("SecurityType")
|
@@ -19066,6 +19099,9 @@ class DeliverTypeDetails(AbstractModel):
|
|
19066
19099
|
self._Status = params.get("Status")
|
19067
19100
|
self._ErrInfo = params.get("ErrInfo")
|
19068
19101
|
self._StatusTime = params.get("StatusTime")
|
19102
|
+
self._LogName = params.get("LogName")
|
19103
|
+
self._LogSetId = params.get("LogSetId")
|
19104
|
+
self._Region = params.get("Region")
|
19069
19105
|
memeber_set = set(params.keys())
|
19070
19106
|
for name, value in vars(self).items():
|
19071
19107
|
property_name = name[1:]
|
@@ -56950,17 +56986,16 @@ class ExportBaselineHostDetectListRequest(AbstractModel):
|
|
56950
56986
|
|
56951
56987
|
def __init__(self):
|
56952
56988
|
r"""
|
56953
|
-
:param _Filters: <li>HostTag - string - 是否必填:否 - 主机标签</
|
56954
|
-
<li>ItemId - int64 - 是否必填:否 - 项Id</i>
|
56955
|
-
<li>RuleId - int64 - 是否必填:否 - 规则Id</li>
|
56956
|
-
<li>IsPassed - int - 是否必填:否 - 是否通过</li>
|
56957
|
-
<li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
56989
|
+
:param _Filters: <li>HostTag - string - 是否必填:否 - 主机标签</li><li>ItemId - int64 - 是否必填:否 - 项Id</li><li>RuleId - int64 - 是否必填:否 - 规则Id</li><li>IsPassed - int - 是否必填:否 - 是否通过</li><li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
56958
56990
|
:type Filters: list of Filter
|
56959
56991
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
56960
56992
|
:type ExportAll: int
|
56993
|
+
:param _IsExportDetail: 0:导出界面展示;1:导出全部结果事件
|
56994
|
+
:type IsExportDetail: int
|
56961
56995
|
"""
|
56962
56996
|
self._Filters = None
|
56963
56997
|
self._ExportAll = None
|
56998
|
+
self._IsExportDetail = None
|
56964
56999
|
|
56965
57000
|
@property
|
56966
57001
|
def Filters(self):
|
@@ -56978,6 +57013,14 @@ class ExportBaselineHostDetectListRequest(AbstractModel):
|
|
56978
57013
|
def ExportAll(self, ExportAll):
|
56979
57014
|
self._ExportAll = ExportAll
|
56980
57015
|
|
57016
|
+
@property
|
57017
|
+
def IsExportDetail(self):
|
57018
|
+
return self._IsExportDetail
|
57019
|
+
|
57020
|
+
@IsExportDetail.setter
|
57021
|
+
def IsExportDetail(self, IsExportDetail):
|
57022
|
+
self._IsExportDetail = IsExportDetail
|
57023
|
+
|
56981
57024
|
|
56982
57025
|
def _deserialize(self, params):
|
56983
57026
|
if params.get("Filters") is not None:
|
@@ -56987,6 +57030,7 @@ class ExportBaselineHostDetectListRequest(AbstractModel):
|
|
56987
57030
|
obj._deserialize(item)
|
56988
57031
|
self._Filters.append(obj)
|
56989
57032
|
self._ExportAll = params.get("ExportAll")
|
57033
|
+
self._IsExportDetail = params.get("IsExportDetail")
|
56990
57034
|
memeber_set = set(params.keys())
|
56991
57035
|
for name, value in vars(self).items():
|
56992
57036
|
property_name = name[1:]
|
@@ -57029,16 +57073,16 @@ class ExportBaselineItemDetectListRequest(AbstractModel):
|
|
57029
57073
|
|
57030
57074
|
def __init__(self):
|
57031
57075
|
r"""
|
57032
|
-
:param _Filters: <li>HostId - string - 是否必填:否 - 主机Id</
|
57033
|
-
<li>RuleId - int64 - 是否必填:否 - 规则Id</i>
|
57034
|
-
<li>IsPassed - int - 是否必填:否 - 是否通过</li>
|
57035
|
-
<li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
57076
|
+
:param _Filters: <li>HostId - string - 是否必填:否 - 主机Id</li><li>RuleId - int64 - 是否必填:否 - 规则Id</li><li>IsPassed - int - 是否必填:否 - 是否通过</li><li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
57036
57077
|
:type Filters: list of Filter
|
57037
57078
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
57038
57079
|
:type ExportAll: int
|
57080
|
+
:param _IsExportDetail: 0:导出界面展示;1:导出全部结果事件
|
57081
|
+
:type IsExportDetail: int
|
57039
57082
|
"""
|
57040
57083
|
self._Filters = None
|
57041
57084
|
self._ExportAll = None
|
57085
|
+
self._IsExportDetail = None
|
57042
57086
|
|
57043
57087
|
@property
|
57044
57088
|
def Filters(self):
|
@@ -57056,6 +57100,14 @@ class ExportBaselineItemDetectListRequest(AbstractModel):
|
|
57056
57100
|
def ExportAll(self, ExportAll):
|
57057
57101
|
self._ExportAll = ExportAll
|
57058
57102
|
|
57103
|
+
@property
|
57104
|
+
def IsExportDetail(self):
|
57105
|
+
return self._IsExportDetail
|
57106
|
+
|
57107
|
+
@IsExportDetail.setter
|
57108
|
+
def IsExportDetail(self, IsExportDetail):
|
57109
|
+
self._IsExportDetail = IsExportDetail
|
57110
|
+
|
57059
57111
|
|
57060
57112
|
def _deserialize(self, params):
|
57061
57113
|
if params.get("Filters") is not None:
|
@@ -57065,6 +57117,7 @@ class ExportBaselineItemDetectListRequest(AbstractModel):
|
|
57065
57117
|
obj._deserialize(item)
|
57066
57118
|
self._Filters.append(obj)
|
57067
57119
|
self._ExportAll = params.get("ExportAll")
|
57120
|
+
self._IsExportDetail = params.get("IsExportDetail")
|
57068
57121
|
memeber_set = set(params.keys())
|
57069
57122
|
for name, value in vars(self).items():
|
57070
57123
|
property_name = name[1:]
|
@@ -57297,15 +57350,16 @@ class ExportBaselineRuleDetectListRequest(AbstractModel):
|
|
57297
57350
|
|
57298
57351
|
def __init__(self):
|
57299
57352
|
r"""
|
57300
|
-
:param _Filters: <li>RuleName - string - 是否必填:否 - 规则名称</
|
57301
|
-
<li>IsPassed - int - 是否必填:否 - 是否通过</li>
|
57302
|
-
<li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
57353
|
+
:param _Filters: <li>RuleName - string - 是否必填:否 - 规则名称</li><li>IsPassed - int - 是否必填:否 - 是否通过</li><li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
57303
57354
|
:type Filters: list of Filter
|
57304
57355
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
57305
57356
|
:type ExportAll: int
|
57357
|
+
:param _IsExportDetail: 0:导出界面展示;1:导出全部结果事件
|
57358
|
+
:type IsExportDetail: int
|
57306
57359
|
"""
|
57307
57360
|
self._Filters = None
|
57308
57361
|
self._ExportAll = None
|
57362
|
+
self._IsExportDetail = None
|
57309
57363
|
|
57310
57364
|
@property
|
57311
57365
|
def Filters(self):
|
@@ -57323,6 +57377,14 @@ class ExportBaselineRuleDetectListRequest(AbstractModel):
|
|
57323
57377
|
def ExportAll(self, ExportAll):
|
57324
57378
|
self._ExportAll = ExportAll
|
57325
57379
|
|
57380
|
+
@property
|
57381
|
+
def IsExportDetail(self):
|
57382
|
+
return self._IsExportDetail
|
57383
|
+
|
57384
|
+
@IsExportDetail.setter
|
57385
|
+
def IsExportDetail(self, IsExportDetail):
|
57386
|
+
self._IsExportDetail = IsExportDetail
|
57387
|
+
|
57326
57388
|
|
57327
57389
|
def _deserialize(self, params):
|
57328
57390
|
if params.get("Filters") is not None:
|
@@ -57332,6 +57394,7 @@ class ExportBaselineRuleDetectListRequest(AbstractModel):
|
|
57332
57394
|
obj._deserialize(item)
|
57333
57395
|
self._Filters.append(obj)
|
57334
57396
|
self._ExportAll = params.get("ExportAll")
|
57397
|
+
self._IsExportDetail = params.get("IsExportDetail")
|
57335
57398
|
memeber_set = set(params.keys())
|
57336
57399
|
for name, value in vars(self).items():
|
57337
57400
|
property_name = name[1:]
|
@@ -27,7 +27,7 @@ class AddUserContactRequest(AbstractModel):
|
|
27
27
|
r"""
|
28
28
|
:param _Name: 联系人姓名,由中英文、数字、空格、!@#$%^&*()_+-=()组成,不能以下划线开头,长度在20以内。
|
29
29
|
:type Name: str
|
30
|
-
:param _ContactInfo:
|
30
|
+
:param _ContactInfo: 邮箱地址,支持大小写字母、数字、下划线、连字符及@字符, 只能以数字或字母开头,邮箱地址不可重复。
|
31
31
|
:type ContactInfo: str
|
32
32
|
:param _Product: 服务产品类型,固定值:"mysql"。
|
33
33
|
:type Product: str
|
@@ -18,6 +18,53 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AccessInfo(AbstractModel):
|
22
|
+
"""引擎的访问信息
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _AccessType: 访问引擎的方法
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
:type AccessType: str
|
31
|
+
:param _AccessConnectionInfos: 访问引擎的url,内部的部分参数需要根据实际情况替换
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
:type AccessConnectionInfos: list of str
|
34
|
+
"""
|
35
|
+
self._AccessType = None
|
36
|
+
self._AccessConnectionInfos = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def AccessType(self):
|
40
|
+
return self._AccessType
|
41
|
+
|
42
|
+
@AccessType.setter
|
43
|
+
def AccessType(self, AccessType):
|
44
|
+
self._AccessType = AccessType
|
45
|
+
|
46
|
+
@property
|
47
|
+
def AccessConnectionInfos(self):
|
48
|
+
return self._AccessConnectionInfos
|
49
|
+
|
50
|
+
@AccessConnectionInfos.setter
|
51
|
+
def AccessConnectionInfos(self, AccessConnectionInfos):
|
52
|
+
self._AccessConnectionInfos = AccessConnectionInfos
|
53
|
+
|
54
|
+
|
55
|
+
def _deserialize(self, params):
|
56
|
+
self._AccessType = params.get("AccessType")
|
57
|
+
self._AccessConnectionInfos = params.get("AccessConnectionInfos")
|
58
|
+
memeber_set = set(params.keys())
|
59
|
+
for name, value in vars(self).items():
|
60
|
+
property_name = name[1:]
|
61
|
+
if property_name in memeber_set:
|
62
|
+
memeber_set.remove(property_name)
|
63
|
+
if len(memeber_set) > 0:
|
64
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
65
|
+
|
66
|
+
|
67
|
+
|
21
68
|
class AddDMSPartitionsRequest(AbstractModel):
|
22
69
|
"""AddDMSPartitions请求参数结构体
|
23
70
|
|
@@ -7697,6 +7744,12 @@ class DataEngineInfo(AbstractModel):
|
|
7697
7744
|
:param _EngineResourceUsedCU: 引擎当前使用量(Cu)
|
7698
7745
|
注意:此字段可能返回 null,表示取不到有效值。
|
7699
7746
|
:type EngineResourceUsedCU: int
|
7747
|
+
:param _AccessInfos: 引擎的访问信息
|
7748
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7749
|
+
:type AccessInfos: list of AccessInfo
|
7750
|
+
:param _EngineNetworkName: 引擎所在网络名称
|
7751
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7752
|
+
:type EngineNetworkName: str
|
7700
7753
|
"""
|
7701
7754
|
self._DataEngineName = None
|
7702
7755
|
self._EngineType = None
|
@@ -7749,6 +7802,8 @@ class DataEngineInfo(AbstractModel):
|
|
7749
7802
|
self._EngineNetworkId = None
|
7750
7803
|
self._EngineResourceGroupCount = None
|
7751
7804
|
self._EngineResourceUsedCU = None
|
7805
|
+
self._AccessInfos = None
|
7806
|
+
self._EngineNetworkName = None
|
7752
7807
|
|
7753
7808
|
@property
|
7754
7809
|
def DataEngineName(self):
|
@@ -8158,6 +8213,22 @@ class DataEngineInfo(AbstractModel):
|
|
8158
8213
|
def EngineResourceUsedCU(self, EngineResourceUsedCU):
|
8159
8214
|
self._EngineResourceUsedCU = EngineResourceUsedCU
|
8160
8215
|
|
8216
|
+
@property
|
8217
|
+
def AccessInfos(self):
|
8218
|
+
return self._AccessInfos
|
8219
|
+
|
8220
|
+
@AccessInfos.setter
|
8221
|
+
def AccessInfos(self, AccessInfos):
|
8222
|
+
self._AccessInfos = AccessInfos
|
8223
|
+
|
8224
|
+
@property
|
8225
|
+
def EngineNetworkName(self):
|
8226
|
+
return self._EngineNetworkName
|
8227
|
+
|
8228
|
+
@EngineNetworkName.setter
|
8229
|
+
def EngineNetworkName(self, EngineNetworkName):
|
8230
|
+
self._EngineNetworkName = EngineNetworkName
|
8231
|
+
|
8161
8232
|
|
8162
8233
|
def _deserialize(self, params):
|
8163
8234
|
self._DataEngineName = params.get("DataEngineName")
|
@@ -8225,6 +8296,13 @@ class DataEngineInfo(AbstractModel):
|
|
8225
8296
|
self._EngineNetworkId = params.get("EngineNetworkId")
|
8226
8297
|
self._EngineResourceGroupCount = params.get("EngineResourceGroupCount")
|
8227
8298
|
self._EngineResourceUsedCU = params.get("EngineResourceUsedCU")
|
8299
|
+
if params.get("AccessInfos") is not None:
|
8300
|
+
self._AccessInfos = []
|
8301
|
+
for item in params.get("AccessInfos"):
|
8302
|
+
obj = AccessInfo()
|
8303
|
+
obj._deserialize(item)
|
8304
|
+
self._AccessInfos.append(obj)
|
8305
|
+
self._EngineNetworkName = params.get("EngineNetworkName")
|
8228
8306
|
memeber_set = set(params.keys())
|
8229
8307
|
for name, value in vars(self).items():
|
8230
8308
|
property_name = name[1:]
|
@@ -227,6 +227,9 @@ INVALIDPARAMETER_INVALIDPRIVATEACCESS = 'InvalidParameter.InvalidPrivateAccess'
|
|
227
227
|
# 外网访问PublicAccess的取值和预期不符。
|
228
228
|
INVALIDPARAMETER_INVALIDPUBLICACCESS = 'InvalidParameter.InvalidPublicAccess'
|
229
229
|
|
230
|
+
# 无效的lucene语法
|
231
|
+
INVALIDPARAMETER_INVALIDQUERYSTRING = 'InvalidParameter.InvalidQueryString'
|
232
|
+
|
230
233
|
# 地域Region的取值与预期不符。
|
231
234
|
INVALIDPARAMETER_INVALIDREGION = 'InvalidParameter.InvalidRegion'
|
232
235
|
|
@@ -601,6 +601,29 @@ class EsClient(AbstractClient):
|
|
601
601
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
602
602
|
|
603
603
|
|
604
|
+
def DescribeServerlessMetrics(self, request):
|
605
|
+
"""获取serverless实例对应指标,获取space维度时不需要传入indexid,获取index时不需要传入spaceid
|
606
|
+
|
607
|
+
:param request: Request instance for DescribeServerlessMetrics.
|
608
|
+
:type request: :class:`tencentcloud.es.v20180416.models.DescribeServerlessMetricsRequest`
|
609
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.DescribeServerlessMetricsResponse`
|
610
|
+
|
611
|
+
"""
|
612
|
+
try:
|
613
|
+
params = request._serialize()
|
614
|
+
headers = request.headers
|
615
|
+
body = self.call("DescribeServerlessMetrics", params, headers=headers)
|
616
|
+
response = json.loads(body)
|
617
|
+
model = models.DescribeServerlessMetricsResponse()
|
618
|
+
model._deserialize(response["Response"])
|
619
|
+
return model
|
620
|
+
except Exception as e:
|
621
|
+
if isinstance(e, TencentCloudSDKException):
|
622
|
+
raise
|
623
|
+
else:
|
624
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
625
|
+
|
626
|
+
|
604
627
|
def DescribeServerlessSpaceUser(self, request):
|
605
628
|
"""查看Serverless空间子用户
|
606
629
|
|
@@ -1116,6 +1116,8 @@ class CreateInstanceRequest(AbstractModel):
|
|
1116
1116
|
:type EnableDiagnose: bool
|
1117
1117
|
:param _CdcId: cdcId,使用cdc子网时传递
|
1118
1118
|
:type CdcId: str
|
1119
|
+
:param _DisasterRecoverGroupAffinity: 置放群组亲和度,范围[0,10],0表示不开启
|
1120
|
+
:type DisasterRecoverGroupAffinity: int
|
1119
1121
|
"""
|
1120
1122
|
self._Zone = None
|
1121
1123
|
self._EsVersion = None
|
@@ -1152,6 +1154,7 @@ class CreateInstanceRequest(AbstractModel):
|
|
1152
1154
|
self._DiskEnhance = None
|
1153
1155
|
self._EnableDiagnose = None
|
1154
1156
|
self._CdcId = None
|
1157
|
+
self._DisasterRecoverGroupAffinity = None
|
1155
1158
|
|
1156
1159
|
@property
|
1157
1160
|
def Zone(self):
|
@@ -1433,6 +1436,14 @@ class CreateInstanceRequest(AbstractModel):
|
|
1433
1436
|
def CdcId(self, CdcId):
|
1434
1437
|
self._CdcId = CdcId
|
1435
1438
|
|
1439
|
+
@property
|
1440
|
+
def DisasterRecoverGroupAffinity(self):
|
1441
|
+
return self._DisasterRecoverGroupAffinity
|
1442
|
+
|
1443
|
+
@DisasterRecoverGroupAffinity.setter
|
1444
|
+
def DisasterRecoverGroupAffinity(self, DisasterRecoverGroupAffinity):
|
1445
|
+
self._DisasterRecoverGroupAffinity = DisasterRecoverGroupAffinity
|
1446
|
+
|
1436
1447
|
|
1437
1448
|
def _deserialize(self, params):
|
1438
1449
|
self._Zone = params.get("Zone")
|
@@ -1489,6 +1500,7 @@ class CreateInstanceRequest(AbstractModel):
|
|
1489
1500
|
self._DiskEnhance = params.get("DiskEnhance")
|
1490
1501
|
self._EnableDiagnose = params.get("EnableDiagnose")
|
1491
1502
|
self._CdcId = params.get("CdcId")
|
1503
|
+
self._DisasterRecoverGroupAffinity = params.get("DisasterRecoverGroupAffinity")
|
1492
1504
|
memeber_set = set(params.keys())
|
1493
1505
|
for name, value in vars(self).items():
|
1494
1506
|
property_name = name[1:]
|
@@ -4659,6 +4671,100 @@ class DescribeServerlessInstancesResponse(AbstractModel):
|
|
4659
4671
|
self._RequestId = params.get("RequestId")
|
4660
4672
|
|
4661
4673
|
|
4674
|
+
class DescribeServerlessMetricsRequest(AbstractModel):
|
4675
|
+
"""DescribeServerlessMetrics请求参数结构体
|
4676
|
+
|
4677
|
+
"""
|
4678
|
+
|
4679
|
+
def __init__(self):
|
4680
|
+
r"""
|
4681
|
+
:param _SpaceId: space空间id
|
4682
|
+
:type SpaceId: str
|
4683
|
+
:param _IndexId: index索引id
|
4684
|
+
:type IndexId: str
|
4685
|
+
:param _MetricType: 指标类型,暂时只支持Storage
|
4686
|
+
:type MetricType: list of str
|
4687
|
+
"""
|
4688
|
+
self._SpaceId = None
|
4689
|
+
self._IndexId = None
|
4690
|
+
self._MetricType = None
|
4691
|
+
|
4692
|
+
@property
|
4693
|
+
def SpaceId(self):
|
4694
|
+
return self._SpaceId
|
4695
|
+
|
4696
|
+
@SpaceId.setter
|
4697
|
+
def SpaceId(self, SpaceId):
|
4698
|
+
self._SpaceId = SpaceId
|
4699
|
+
|
4700
|
+
@property
|
4701
|
+
def IndexId(self):
|
4702
|
+
return self._IndexId
|
4703
|
+
|
4704
|
+
@IndexId.setter
|
4705
|
+
def IndexId(self, IndexId):
|
4706
|
+
self._IndexId = IndexId
|
4707
|
+
|
4708
|
+
@property
|
4709
|
+
def MetricType(self):
|
4710
|
+
return self._MetricType
|
4711
|
+
|
4712
|
+
@MetricType.setter
|
4713
|
+
def MetricType(self, MetricType):
|
4714
|
+
self._MetricType = MetricType
|
4715
|
+
|
4716
|
+
|
4717
|
+
def _deserialize(self, params):
|
4718
|
+
self._SpaceId = params.get("SpaceId")
|
4719
|
+
self._IndexId = params.get("IndexId")
|
4720
|
+
self._MetricType = params.get("MetricType")
|
4721
|
+
memeber_set = set(params.keys())
|
4722
|
+
for name, value in vars(self).items():
|
4723
|
+
property_name = name[1:]
|
4724
|
+
if property_name in memeber_set:
|
4725
|
+
memeber_set.remove(property_name)
|
4726
|
+
if len(memeber_set) > 0:
|
4727
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4728
|
+
|
4729
|
+
|
4730
|
+
|
4731
|
+
class DescribeServerlessMetricsResponse(AbstractModel):
|
4732
|
+
"""DescribeServerlessMetrics返回参数结构体
|
4733
|
+
|
4734
|
+
"""
|
4735
|
+
|
4736
|
+
def __init__(self):
|
4737
|
+
r"""
|
4738
|
+
:param _Storage: storage指标值,单位byte
|
4739
|
+
:type Storage: float
|
4740
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4741
|
+
:type RequestId: str
|
4742
|
+
"""
|
4743
|
+
self._Storage = None
|
4744
|
+
self._RequestId = None
|
4745
|
+
|
4746
|
+
@property
|
4747
|
+
def Storage(self):
|
4748
|
+
return self._Storage
|
4749
|
+
|
4750
|
+
@Storage.setter
|
4751
|
+
def Storage(self, Storage):
|
4752
|
+
self._Storage = Storage
|
4753
|
+
|
4754
|
+
@property
|
4755
|
+
def RequestId(self):
|
4756
|
+
return self._RequestId
|
4757
|
+
|
4758
|
+
@RequestId.setter
|
4759
|
+
def RequestId(self, RequestId):
|
4760
|
+
self._RequestId = RequestId
|
4761
|
+
|
4762
|
+
|
4763
|
+
def _deserialize(self, params):
|
4764
|
+
self._Storage = params.get("Storage")
|
4765
|
+
self._RequestId = params.get("RequestId")
|
4766
|
+
|
4767
|
+
|
4662
4768
|
class DescribeServerlessSpaceUserRequest(AbstractModel):
|
4663
4769
|
"""DescribeServerlessSpaceUser请求参数结构体
|
4664
4770
|
|
@@ -7738,6 +7844,9 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
7738
7844
|
:param _NetConnectScheme: 网络连接方案
|
7739
7845
|
注意:此字段可能返回 null,表示取不到有效值。
|
7740
7846
|
:type NetConnectScheme: str
|
7847
|
+
:param _DisasterRecoverGroupAffinity: 置放群组相关参数
|
7848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7849
|
+
:type DisasterRecoverGroupAffinity: int
|
7741
7850
|
"""
|
7742
7851
|
self._InstanceId = None
|
7743
7852
|
self._InstanceName = None
|
@@ -7826,6 +7935,7 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
7826
7935
|
self._CustomKibanaPrivateUrl = None
|
7827
7936
|
self._OutboundPublicAcls = None
|
7828
7937
|
self._NetConnectScheme = None
|
7938
|
+
self._DisasterRecoverGroupAffinity = None
|
7829
7939
|
|
7830
7940
|
@property
|
7831
7941
|
def InstanceId(self):
|
@@ -8523,6 +8633,14 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
8523
8633
|
def NetConnectScheme(self, NetConnectScheme):
|
8524
8634
|
self._NetConnectScheme = NetConnectScheme
|
8525
8635
|
|
8636
|
+
@property
|
8637
|
+
def DisasterRecoverGroupAffinity(self):
|
8638
|
+
return self._DisasterRecoverGroupAffinity
|
8639
|
+
|
8640
|
+
@DisasterRecoverGroupAffinity.setter
|
8641
|
+
def DisasterRecoverGroupAffinity(self, DisasterRecoverGroupAffinity):
|
8642
|
+
self._DisasterRecoverGroupAffinity = DisasterRecoverGroupAffinity
|
8643
|
+
|
8526
8644
|
|
8527
8645
|
def _deserialize(self, params):
|
8528
8646
|
self._InstanceId = params.get("InstanceId")
|
@@ -8658,6 +8776,7 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
8658
8776
|
obj._deserialize(item)
|
8659
8777
|
self._OutboundPublicAcls.append(obj)
|
8660
8778
|
self._NetConnectScheme = params.get("NetConnectScheme")
|
8779
|
+
self._DisasterRecoverGroupAffinity = params.get("DisasterRecoverGroupAffinity")
|
8661
8780
|
memeber_set = set(params.keys())
|
8662
8781
|
for name, value in vars(self).items():
|
8663
8782
|
property_name = name[1:]
|
@@ -50,7 +50,9 @@ class FmuClient(AbstractClient):
|
|
50
50
|
|
51
51
|
|
52
52
|
def BeautifyVideo(self, request):
|
53
|
-
"""
|
53
|
+
"""产品不再维护,准备下线。
|
54
|
+
|
55
|
+
视频美颜(此接口目前已下线)
|
54
56
|
|
55
57
|
:param request: Request instance for BeautifyVideo.
|
56
58
|
:type request: :class:`tencentcloud.fmu.v20191213.models.BeautifyVideoRequest`
|
@@ -73,7 +75,9 @@ class FmuClient(AbstractClient):
|
|
73
75
|
|
74
76
|
|
75
77
|
def CancelBeautifyVideoJob(self, request):
|
76
|
-
"""
|
78
|
+
"""产品不再维护,准备下线。
|
79
|
+
|
80
|
+
撤销视频美颜任务请求
|
77
81
|
|
78
82
|
:param request: Request instance for CancelBeautifyVideoJob.
|
79
83
|
:type request: :class:`tencentcloud.fmu.v20191213.models.CancelBeautifyVideoJobRequest`
|
@@ -167,7 +171,9 @@ class FmuClient(AbstractClient):
|
|
167
171
|
|
168
172
|
|
169
173
|
def QueryBeautifyVideoJob(self, request):
|
170
|
-
"""
|
174
|
+
"""产品不再维护,准备下线。
|
175
|
+
|
176
|
+
查询视频美颜处理进度
|
171
177
|
|
172
178
|
:param request: Request instance for QueryBeautifyVideoJob.
|
173
179
|
:type request: :class:`tencentcloud.fmu.v20191213.models.QueryBeautifyVideoJobRequest`
|