tencentcloud-sdk-python 3.0.1148__py2.py3-none-any.whl → 3.0.1149__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/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +19 -19
- tencentcloud/bi/v20220105/models.py +64 -0
- tencentcloud/cam/v20190116/models.py +56 -56
- tencentcloud/cfw/v20190904/models.py +1 -1
- tencentcloud/ckafka/v20190819/models.py +28 -0
- tencentcloud/cls/v20201016/models.py +14 -14
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/cvm/v20170312/models.py +60 -0
- tencentcloud/dbbrain/v20210527/models.py +1 -1
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/errorcodes.py +9 -0
- tencentcloud/emr/v20190103/models.py +720 -0
- tencentcloud/rce/v20201103/errorcodes.py +0 -132
- tencentcloud/rce/v20201103/models.py +0 -31
- tencentcloud/rce/v20201103/rce_client.py +0 -23
- tencentcloud/tcss/v20201101/models.py +2 -2
- tencentcloud/tdmq/v20200217/models.py +3 -3
- tencentcloud/tdmq/v20200217/tdmq_client.py +3 -1
- tencentcloud/trtc/v20190722/models.py +32 -22
- tencentcloud/trtc/v20190722/trtc_client.py +12 -6
- tencentcloud/vcg/__init__.py +0 -0
- tencentcloud/vcg/v20240404/__init__.py +0 -0
- tencentcloud/vcg/v20240404/errorcodes.py +66 -0
- tencentcloud/vcg/v20240404/models.py +216 -0
- tencentcloud/vcg/v20240404/vcg_client.py +72 -0
- tencentcloud/vod/v20180717/models.py +12 -0
- tencentcloud/vtc/__init__.py +0 -0
- tencentcloud/vtc/v20240223/__init__.py +0 -0
- tencentcloud/vtc/v20240223/errorcodes.py +99 -0
- tencentcloud/vtc/v20240223/models.py +635 -0
- tencentcloud/vtc/v20240223/vtc_client.py +95 -0
- {tencentcloud_sdk_python-3.0.1148.dist-info → tencentcloud_sdk_python-3.0.1149.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1148.dist-info → tencentcloud_sdk_python-3.0.1149.dist-info}/RECORD +38 -28
- {tencentcloud_sdk_python-3.0.1148.dist-info → tencentcloud_sdk_python-3.0.1149.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1148.dist-info → tencentcloud_sdk_python-3.0.1149.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1148.dist-info → tencentcloud_sdk_python-3.0.1149.dist-info}/top_level.txt +0 -0
@@ -4627,11 +4627,11 @@ class CreateCosRechargeRequest(AbstractModel):
|
|
4627
4627
|
:type Bucket: str
|
4628
4628
|
:param _BucketRegion: COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。
|
4629
4629
|
:type BucketRegion: str
|
4630
|
-
:param _Prefix: COS文件所在文件夹的前缀
|
4631
|
-
:type Prefix: str
|
4632
4630
|
:param _LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文;
|
4633
4631
|
默认为minimalist_log
|
4634
4632
|
:type LogType: str
|
4633
|
+
:param _Prefix: COS文件所在文件夹的前缀。默认为空,投递存储桶下所有的文件。
|
4634
|
+
:type Prefix: str
|
4635
4635
|
:param _Compress: supported: "", "gzip", "lzop", "snappy"; 默认空
|
4636
4636
|
:type Compress: str
|
4637
4637
|
:param _ExtractRuleInfo: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
@@ -4646,8 +4646,8 @@ class CreateCosRechargeRequest(AbstractModel):
|
|
4646
4646
|
self._Name = None
|
4647
4647
|
self._Bucket = None
|
4648
4648
|
self._BucketRegion = None
|
4649
|
-
self._Prefix = None
|
4650
4649
|
self._LogType = None
|
4650
|
+
self._Prefix = None
|
4651
4651
|
self._Compress = None
|
4652
4652
|
self._ExtractRuleInfo = None
|
4653
4653
|
self._TaskType = None
|
@@ -4693,14 +4693,6 @@ class CreateCosRechargeRequest(AbstractModel):
|
|
4693
4693
|
def BucketRegion(self, BucketRegion):
|
4694
4694
|
self._BucketRegion = BucketRegion
|
4695
4695
|
|
4696
|
-
@property
|
4697
|
-
def Prefix(self):
|
4698
|
-
return self._Prefix
|
4699
|
-
|
4700
|
-
@Prefix.setter
|
4701
|
-
def Prefix(self, Prefix):
|
4702
|
-
self._Prefix = Prefix
|
4703
|
-
|
4704
4696
|
@property
|
4705
4697
|
def LogType(self):
|
4706
4698
|
return self._LogType
|
@@ -4709,6 +4701,14 @@ class CreateCosRechargeRequest(AbstractModel):
|
|
4709
4701
|
def LogType(self, LogType):
|
4710
4702
|
self._LogType = LogType
|
4711
4703
|
|
4704
|
+
@property
|
4705
|
+
def Prefix(self):
|
4706
|
+
return self._Prefix
|
4707
|
+
|
4708
|
+
@Prefix.setter
|
4709
|
+
def Prefix(self, Prefix):
|
4710
|
+
self._Prefix = Prefix
|
4711
|
+
|
4712
4712
|
@property
|
4713
4713
|
def Compress(self):
|
4714
4714
|
return self._Compress
|
@@ -4748,8 +4748,8 @@ class CreateCosRechargeRequest(AbstractModel):
|
|
4748
4748
|
self._Name = params.get("Name")
|
4749
4749
|
self._Bucket = params.get("Bucket")
|
4750
4750
|
self._BucketRegion = params.get("BucketRegion")
|
4751
|
-
self._Prefix = params.get("Prefix")
|
4752
4751
|
self._LogType = params.get("LogType")
|
4752
|
+
self._Prefix = params.get("Prefix")
|
4753
4753
|
self._Compress = params.get("Compress")
|
4754
4754
|
if params.get("ExtractRuleInfo") is not None:
|
4755
4755
|
self._ExtractRuleInfo = ExtractRuleInfo()
|
@@ -16040,7 +16040,7 @@ class ModifyCosRechargeRequest(AbstractModel):
|
|
16040
16040
|
:type Bucket: str
|
16041
16041
|
:param _BucketRegion: COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。
|
16042
16042
|
:type BucketRegion: str
|
16043
|
-
:param _Prefix: COS
|
16043
|
+
:param _Prefix: COS文件所在文件夹的前缀。为空串时投递存储桶下所有的文件。
|
16044
16044
|
:type Prefix: str
|
16045
16045
|
:param _LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; 默认为minimalist_log
|
16046
16046
|
:type LogType: str
|
@@ -19446,7 +19446,7 @@ class SearchCosRechargeInfoRequest(AbstractModel):
|
|
19446
19446
|
:type Bucket: str
|
19447
19447
|
:param _BucketRegion: COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。
|
19448
19448
|
:type BucketRegion: str
|
19449
|
-
:param _Prefix:
|
19449
|
+
:param _Prefix: COS文件所在文件夹的前缀。默认为空,投递存储桶下所有的文件。
|
19450
19450
|
:type Prefix: str
|
19451
19451
|
:param _Compress: 压缩模式: "", "gzip", "lzop", "snappy"; 默认""
|
19452
19452
|
:type Compress: str
|
@@ -632,6 +632,9 @@ INVALIDZONE_MISMATCHREGION = 'InvalidZone.MismatchRegion'
|
|
632
632
|
# 一个实例绑定安全组数量不能超过5个
|
633
633
|
LIMITEXCEEDED_ASSOCIATEUSGLIMITEXCEEDED = 'LimitExceeded.AssociateUSGLimitExceeded'
|
634
634
|
|
635
|
+
# 已达到可购买实例的配额上限。
|
636
|
+
LIMITEXCEEDED_CVMINSTANCEQUOTA = 'LimitExceeded.CvmInstanceQuota'
|
637
|
+
|
635
638
|
# 安全组关联云主机弹性网卡配额超限。
|
636
639
|
LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = 'LimitExceeded.CvmsVifsPerSecGroupLimitExceeded'
|
637
640
|
|
@@ -725,6 +728,9 @@ OPERATIONDENIED_INNERUSERPROHIBITACTION = 'OperationDenied.InnerUserProhibitActi
|
|
725
728
|
# 实例正在执行其他操作,请稍后再试。
|
726
729
|
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = 'OperationDenied.InstanceOperationInProgress'
|
727
730
|
|
731
|
+
# 非带宽上移用户不允许申请边缘可用区外网IP。
|
732
|
+
OPERATIONDENIED_NOTBANDWIDTHSHIFTUPUSERAPPLYEDGEZONEEIP = 'OperationDenied.NotBandwidthShiftUpUserApplyEdgeZoneEip'
|
733
|
+
|
728
734
|
# 镜像共享超过配额。
|
729
735
|
OVERQUOTA = 'OverQuota'
|
730
736
|
|
@@ -1157,6 +1157,52 @@ class ConfigureChcDeployVpcResponse(AbstractModel):
|
|
1157
1157
|
self._RequestId = params.get("RequestId")
|
1158
1158
|
|
1159
1159
|
|
1160
|
+
class CpuTopology(AbstractModel):
|
1161
|
+
"""描述了实例CPU拓扑结构的相关信息。
|
1162
|
+
|
1163
|
+
"""
|
1164
|
+
|
1165
|
+
def __init__(self):
|
1166
|
+
r"""
|
1167
|
+
:param _CoreCount: 决定启用的CPU物理核心数。
|
1168
|
+
:type CoreCount: int
|
1169
|
+
:param _ThreadPerCore: 每核心线程数。该参数决定是否开启或关闭超线程。<br><li>1 表示关闭超线程 </li><br><li>2 表示开启超线程</li>
|
1170
|
+
不设置时,实例使用默认的超线程策略。开关超线程请参考文档:[开启与关闭超线程](https://cloud.tencent.com/document/product/213/103798)。
|
1171
|
+
:type ThreadPerCore: int
|
1172
|
+
"""
|
1173
|
+
self._CoreCount = None
|
1174
|
+
self._ThreadPerCore = None
|
1175
|
+
|
1176
|
+
@property
|
1177
|
+
def CoreCount(self):
|
1178
|
+
return self._CoreCount
|
1179
|
+
|
1180
|
+
@CoreCount.setter
|
1181
|
+
def CoreCount(self, CoreCount):
|
1182
|
+
self._CoreCount = CoreCount
|
1183
|
+
|
1184
|
+
@property
|
1185
|
+
def ThreadPerCore(self):
|
1186
|
+
return self._ThreadPerCore
|
1187
|
+
|
1188
|
+
@ThreadPerCore.setter
|
1189
|
+
def ThreadPerCore(self, ThreadPerCore):
|
1190
|
+
self._ThreadPerCore = ThreadPerCore
|
1191
|
+
|
1192
|
+
|
1193
|
+
def _deserialize(self, params):
|
1194
|
+
self._CoreCount = params.get("CoreCount")
|
1195
|
+
self._ThreadPerCore = params.get("ThreadPerCore")
|
1196
|
+
memeber_set = set(params.keys())
|
1197
|
+
for name, value in vars(self).items():
|
1198
|
+
property_name = name[1:]
|
1199
|
+
if property_name in memeber_set:
|
1200
|
+
memeber_set.remove(property_name)
|
1201
|
+
if len(memeber_set) > 0:
|
1202
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1203
|
+
|
1204
|
+
|
1205
|
+
|
1160
1206
|
class CreateDisasterRecoverGroupRequest(AbstractModel):
|
1161
1207
|
"""CreateDisasterRecoverGroup请求参数结构体
|
1162
1208
|
|
@@ -16664,6 +16710,8 @@ true:发送检查请求,不会创建实例。检查项包括是否填写了
|
|
16664
16710
|
如果检查通过,则返回RequestId.
|
16665
16711
|
false(默认):发送正常请求,通过检查后直接创建实例
|
16666
16712
|
:type DryRun: bool
|
16713
|
+
:param _CpuTopology: 描述了实例CPU拓扑结构的相关信息。若不指定该参数,则按系统资源情况决定。
|
16714
|
+
:type CpuTopology: :class:`tencentcloud.cvm.v20170312.models.CpuTopology`
|
16667
16715
|
:param _CamRoleName: CAM角色名称。可通过[`DescribeRoleList`](https://cloud.tencent.com/document/product/598/13887)接口返回值中的`roleName`获取。
|
16668
16716
|
:type CamRoleName: str
|
16669
16717
|
:param _HpcClusterId: 高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。
|
@@ -16699,6 +16747,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
16699
16747
|
self._InstanceMarketOptions = None
|
16700
16748
|
self._UserData = None
|
16701
16749
|
self._DryRun = None
|
16750
|
+
self._CpuTopology = None
|
16702
16751
|
self._CamRoleName = None
|
16703
16752
|
self._HpcClusterId = None
|
16704
16753
|
self._LaunchTemplate = None
|
@@ -16882,6 +16931,14 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
16882
16931
|
def DryRun(self, DryRun):
|
16883
16932
|
self._DryRun = DryRun
|
16884
16933
|
|
16934
|
+
@property
|
16935
|
+
def CpuTopology(self):
|
16936
|
+
return self._CpuTopology
|
16937
|
+
|
16938
|
+
@CpuTopology.setter
|
16939
|
+
def CpuTopology(self, CpuTopology):
|
16940
|
+
self._CpuTopology = CpuTopology
|
16941
|
+
|
16885
16942
|
@property
|
16886
16943
|
def CamRoleName(self):
|
16887
16944
|
return self._CamRoleName
|
@@ -16982,6 +17039,9 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
16982
17039
|
self._InstanceMarketOptions._deserialize(params.get("InstanceMarketOptions"))
|
16983
17040
|
self._UserData = params.get("UserData")
|
16984
17041
|
self._DryRun = params.get("DryRun")
|
17042
|
+
if params.get("CpuTopology") is not None:
|
17043
|
+
self._CpuTopology = CpuTopology()
|
17044
|
+
self._CpuTopology._deserialize(params.get("CpuTopology"))
|
16985
17045
|
self._CamRoleName = params.get("CamRoleName")
|
16986
17046
|
self._HpcClusterId = params.get("HpcClusterId")
|
16987
17047
|
if params.get("LaunchTemplate") is not None:
|
@@ -4136,7 +4136,7 @@ class DescribeDBSpaceStatusRequest(AbstractModel):
|
|
4136
4136
|
:type InstanceId: str
|
4137
4137
|
:param _RangeDays: 时间段天数,截止日期为当日,默认为7天。
|
4138
4138
|
:type RangeDays: int
|
4139
|
-
:param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
4139
|
+
:param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"mongodb" - 云数据库 MongoDB,默认为"mysql"。
|
4140
4140
|
:type Product: str
|
4141
4141
|
"""
|
4142
4142
|
self._InstanceId = None
|
@@ -303,6 +303,52 @@ class EmrClient(AbstractClient):
|
|
303
303
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
304
304
|
|
305
305
|
|
306
|
+
def DescribeEmrOverviewMetrics(self, request):
|
307
|
+
"""查询监控概览页指标数据
|
308
|
+
|
309
|
+
:param request: Request instance for DescribeEmrOverviewMetrics.
|
310
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeEmrOverviewMetricsRequest`
|
311
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeEmrOverviewMetricsResponse`
|
312
|
+
|
313
|
+
"""
|
314
|
+
try:
|
315
|
+
params = request._serialize()
|
316
|
+
headers = request.headers
|
317
|
+
body = self.call("DescribeEmrOverviewMetrics", params, headers=headers)
|
318
|
+
response = json.loads(body)
|
319
|
+
model = models.DescribeEmrOverviewMetricsResponse()
|
320
|
+
model._deserialize(response["Response"])
|
321
|
+
return model
|
322
|
+
except Exception as e:
|
323
|
+
if isinstance(e, TencentCloudSDKException):
|
324
|
+
raise
|
325
|
+
else:
|
326
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
327
|
+
|
328
|
+
|
329
|
+
def DescribeHBaseTableOverview(self, request):
|
330
|
+
"""获取Hbase表级监控数据概览接口
|
331
|
+
|
332
|
+
:param request: Request instance for DescribeHBaseTableOverview.
|
333
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeHBaseTableOverviewRequest`
|
334
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeHBaseTableOverviewResponse`
|
335
|
+
|
336
|
+
"""
|
337
|
+
try:
|
338
|
+
params = request._serialize()
|
339
|
+
headers = request.headers
|
340
|
+
body = self.call("DescribeHBaseTableOverview", params, headers=headers)
|
341
|
+
response = json.loads(body)
|
342
|
+
model = models.DescribeHBaseTableOverviewResponse()
|
343
|
+
model._deserialize(response["Response"])
|
344
|
+
return model
|
345
|
+
except Exception as e:
|
346
|
+
if isinstance(e, TencentCloudSDKException):
|
347
|
+
raise
|
348
|
+
else:
|
349
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
350
|
+
|
351
|
+
|
306
352
|
def DescribeHiveQueries(self, request):
|
307
353
|
"""获取hive查询信息
|
308
354
|
|
@@ -86,12 +86,18 @@ INTERNALERROR_CVMERROR = 'InternalError.CvmError'
|
|
86
86
|
# DB查询异常。
|
87
87
|
INTERNALERROR_DBQUERYEXCEPTION = 'InternalError.DBQueryException'
|
88
88
|
|
89
|
+
# 请求OpenTSDB异常。
|
90
|
+
INTERNALERROR_DOOPENTSDBREQUESTEXCEPTION = 'InternalError.DoOpenTSDBRequestException'
|
91
|
+
|
89
92
|
# 调用EKS报错。
|
90
93
|
INTERNALERROR_EKSERROR = 'InternalError.EKSError'
|
91
94
|
|
92
95
|
# 内部服务调用异常。
|
93
96
|
INTERNALERROR_KMSERROR = 'InternalError.KmsError'
|
94
97
|
|
98
|
+
# 请求OpenTSDB失败。
|
99
|
+
INTERNALERROR_OPENTSDBHTTPRETURNCODENOTOK = 'InternalError.OpenTSDBHttpReturnCodeNotOK'
|
100
|
+
|
95
101
|
# 内部服务调用异常。
|
96
102
|
INTERNALERROR_PROJECTCGWERROR = 'InternalError.ProjectCgwError'
|
97
103
|
|
@@ -428,6 +434,9 @@ RESOURCEINSUFFICIENT_DISKINSUFFICIENT = 'ResourceInsufficient.DiskInsufficient'
|
|
428
434
|
# 不支持或售罄的节点规格。
|
429
435
|
RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = 'ResourceInsufficient.InstanceInsufficient'
|
430
436
|
|
437
|
+
# 资源不存在。
|
438
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
439
|
+
|
431
440
|
# 资源不存在。
|
432
441
|
RESOURCENOTFOUND_CDBINFONOTFOUND = 'ResourceNotFound.CDBInfoNotFound'
|
433
442
|
|