tencentcloud-sdk-python 3.0.1228__py2.py3-none-any.whl → 3.0.1230__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/aiart/v20221229/aiart_client.py +24 -0
- tencentcloud/aiart/v20221229/models.py +173 -0
- tencentcloud/cfg/v20210820/models.py +13 -0
- tencentcloud/cfw/v20190904/models.py +106 -2
- tencentcloud/ckafka/v20190819/models.py +5 -1
- tencentcloud/dcdb/v20180411/dcdb_client.py +48 -0
- tencentcloud/dcdb/v20180411/models.py +494 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
- tencentcloud/dnspod/v20210323/models.py +185 -0
- tencentcloud/emr/v20190103/emr_client.py +119 -0
- tencentcloud/emr/v20190103/errorcodes.py +9 -0
- tencentcloud/emr/v20190103/models.py +994 -113
- tencentcloud/es/v20180416/es_client.py +23 -0
- tencentcloud/es/v20180416/models.py +82 -0
- tencentcloud/ess/v20201111/ess_client.py +6 -8
- tencentcloud/ess/v20201111/models.py +28 -37
- tencentcloud/essbasic/v20210526/essbasic_client.py +33 -0
- tencentcloud/essbasic/v20210526/models.py +172 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +130 -0
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +48 -0
- tencentcloud/mariadb/v20170312/models.py +494 -0
- tencentcloud/mps/v20190612/models.py +214 -0
- tencentcloud/ocr/v20181119/models.py +26 -6
- tencentcloud/redis/v20180412/models.py +313 -0
- tencentcloud/redis/v20180412/redis_client.py +46 -0
- tencentcloud/sms/v20210111/models.py +1 -1
- tencentcloud/teo/v20220901/models.py +27 -9
- tencentcloud/tke/v20180525/models.py +12 -0
- tencentcloud/tke/v20220501/models.py +852 -8
- tencentcloud/tke/v20220501/tke_client.py +138 -0
- tencentcloud/tsf/v20180326/models.py +51 -0
- tencentcloud/vdb/v20230616/errorcodes.py +21 -0
- tencentcloud/vdb/v20230616/models.py +742 -0
- tencentcloud/vdb/v20230616/vdb_client.py +115 -0
- tencentcloud/vod/v20240718/__init__.py +0 -0
- tencentcloud/vod/v20240718/errorcodes.py +15 -0
- tencentcloud/vod/v20240718/models.py +189 -0
- tencentcloud/vod/v20240718/vod_client.py +49 -0
- tencentcloud/vpc/v20170312/models.py +25 -5
- {tencentcloud_sdk_python-3.0.1228.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1228.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/RECORD +47 -43
- {tencentcloud_sdk_python-3.0.1228.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1228.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1228.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/top_level.txt +0 -0
@@ -739,6 +739,29 @@ class RedisClient(AbstractClient):
|
|
739
739
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
740
740
|
|
741
741
|
|
742
|
+
def DescribeInstanceLogDelivery(self, request):
|
743
|
+
"""本接口(DescribeInstanceLogDelivery)用于查询实例的日志投递配置。
|
744
|
+
|
745
|
+
:param request: Request instance for DescribeInstanceLogDelivery.
|
746
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceLogDeliveryRequest`
|
747
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceLogDeliveryResponse`
|
748
|
+
|
749
|
+
"""
|
750
|
+
try:
|
751
|
+
params = request._serialize()
|
752
|
+
headers = request.headers
|
753
|
+
body = self.call("DescribeInstanceLogDelivery", params, headers=headers)
|
754
|
+
response = json.loads(body)
|
755
|
+
model = models.DescribeInstanceLogDeliveryResponse()
|
756
|
+
model._deserialize(response["Response"])
|
757
|
+
return model
|
758
|
+
except Exception as e:
|
759
|
+
if isinstance(e, TencentCloudSDKException):
|
760
|
+
raise
|
761
|
+
else:
|
762
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
763
|
+
|
764
|
+
|
742
765
|
def DescribeInstanceMonitorBigKey(self, request):
|
743
766
|
"""腾讯云数据库 Redis 已经于2022年10月31日下线查询实例大 Key 接口。具体公告,请参见[查询实例大 Key 接口下线公告](https://cloud.tencent.com/document/product/239/81005)。
|
744
767
|
|
@@ -1935,6 +1958,29 @@ class RedisClient(AbstractClient):
|
|
1935
1958
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1936
1959
|
|
1937
1960
|
|
1961
|
+
def ModifyInstanceLogDelivery(self, request):
|
1962
|
+
"""本接口(ModifyInstanceLogDelivery)用于开启或关闭投递实例日志到CLS。
|
1963
|
+
|
1964
|
+
:param request: Request instance for ModifyInstanceLogDelivery.
|
1965
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceLogDeliveryRequest`
|
1966
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceLogDeliveryResponse`
|
1967
|
+
|
1968
|
+
"""
|
1969
|
+
try:
|
1970
|
+
params = request._serialize()
|
1971
|
+
headers = request.headers
|
1972
|
+
body = self.call("ModifyInstanceLogDelivery", params, headers=headers)
|
1973
|
+
response = json.loads(body)
|
1974
|
+
model = models.ModifyInstanceLogDeliveryResponse()
|
1975
|
+
model._deserialize(response["Response"])
|
1976
|
+
return model
|
1977
|
+
except Exception as e:
|
1978
|
+
if isinstance(e, TencentCloudSDKException):
|
1979
|
+
raise
|
1980
|
+
else:
|
1981
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1982
|
+
|
1983
|
+
|
1938
1984
|
def ModifyInstanceParams(self, request):
|
1939
1985
|
"""本接口(ModifyInstanceParams)用于修改Redis实例的参数配置。
|
1940
1986
|
|
@@ -2204,7 +2204,7 @@ class PullSmsSendStatus(AbstractModel):
|
|
2204
2204
|
:type ReportStatus: str
|
2205
2205
|
:param _Description: 用户接收短信状态描述。
|
2206
2206
|
:type Description: str
|
2207
|
-
:param _SessionContext: 用户的 session 内容。与请求中的 SessionContext 一致,默认为空,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)
|
2207
|
+
:param _SessionContext: 用户的 session 内容。与请求中的 SessionContext 一致,默认为空,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 评估。
|
2208
2208
|
注意:此字段可能返回 null,表示取不到有效值。
|
2209
2209
|
:type SessionContext: str
|
2210
2210
|
"""
|
@@ -8507,9 +8507,6 @@ class DescribeAccelerationDomainsRequest(AbstractModel):
|
|
8507
8507
|
<li>backup-origin: 按照备用源站地址进行过滤;</li>
|
8508
8508
|
<li>domain-cname:按照 CNAME 进行过滤;</li>
|
8509
8509
|
<li>share-cname:按照共享 CNAME 进行过滤;</li>
|
8510
|
-
<li>vodeo-sub-app-id:按照【 vodeo 子应用 ID】进行过滤;</li>
|
8511
|
-
<li>vodeo-distribution-range:按照【 vodeo 分发范围】进行过滤;</li>
|
8512
|
-
<li>vodeo-bucket-id:按照【vodeo 存储桶 ID】进行过滤;</li>
|
8513
8510
|
:type Filters: list of AdvancedFilter
|
8514
8511
|
:param _Order: 可根据该字段对返回结果进行排序,取值有:
|
8515
8512
|
<li>created_on:加速域名创建时间;</li>
|
@@ -12482,8 +12479,8 @@ class DescribeTimingL4DataRequest(AbstractModel):
|
|
12482
12479
|
<li>day: 1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
|
12483
12480
|
:type Interval: str
|
12484
12481
|
:param _Filters: 过滤条件,详细的过滤条件Key值如下:
|
12485
|
-
<li>ruleId
|
12486
|
-
<li>proxyId
|
12482
|
+
<li>ruleId:按照转发规则 ID 进行过滤。</li>
|
12483
|
+
<li>proxyId:按照四层代理实例 ID 进行过滤。</li>
|
12487
12484
|
:type Filters: list of QueryCondition
|
12488
12485
|
:param _Area: 数据归属地区,取值有:
|
12489
12486
|
<li>overseas:全球(除中国大陆地区)数据;</li>
|
@@ -20635,7 +20632,6 @@ class OriginDetail(AbstractModel):
|
|
20635
20632
|
<li>COS:腾讯云 COS 对象存储源站;</li>
|
20636
20633
|
<li>AWS_S3:AWS S3 对象存储源站;</li>
|
20637
20634
|
<li>ORIGIN_GROUP:源站组类型源站;</li>
|
20638
|
-
<li>VODEO:云点播-混合云版;</li>
|
20639
20635
|
<li>VOD:云点播;</li>
|
20640
20636
|
<li>SPACE:源站卸载,当前仅白名单开放;</li>
|
20641
20637
|
<li>LB:负载均衡,当前仅白名单开放。</li>
|
@@ -20646,7 +20642,6 @@ class OriginDetail(AbstractModel):
|
|
20646
20642
|
<li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
|
20647
20643
|
<li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
|
20648
20644
|
<li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
|
20649
|
-
<li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
|
20650
20645
|
:type Origin: str
|
20651
20646
|
:param _BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
|
20652
20647
|
:type BackupOrigin: str
|
@@ -20738,26 +20733,38 @@ class OriginDetail(AbstractModel):
|
|
20738
20733
|
|
20739
20734
|
@property
|
20740
20735
|
def VodeoSubAppId(self):
|
20736
|
+
warnings.warn("parameter `VodeoSubAppId` is deprecated", DeprecationWarning)
|
20737
|
+
|
20741
20738
|
return self._VodeoSubAppId
|
20742
20739
|
|
20743
20740
|
@VodeoSubAppId.setter
|
20744
20741
|
def VodeoSubAppId(self, VodeoSubAppId):
|
20742
|
+
warnings.warn("parameter `VodeoSubAppId` is deprecated", DeprecationWarning)
|
20743
|
+
|
20745
20744
|
self._VodeoSubAppId = VodeoSubAppId
|
20746
20745
|
|
20747
20746
|
@property
|
20748
20747
|
def VodeoDistributionRange(self):
|
20748
|
+
warnings.warn("parameter `VodeoDistributionRange` is deprecated", DeprecationWarning)
|
20749
|
+
|
20749
20750
|
return self._VodeoDistributionRange
|
20750
20751
|
|
20751
20752
|
@VodeoDistributionRange.setter
|
20752
20753
|
def VodeoDistributionRange(self, VodeoDistributionRange):
|
20754
|
+
warnings.warn("parameter `VodeoDistributionRange` is deprecated", DeprecationWarning)
|
20755
|
+
|
20753
20756
|
self._VodeoDistributionRange = VodeoDistributionRange
|
20754
20757
|
|
20755
20758
|
@property
|
20756
20759
|
def VodeoBucketId(self):
|
20760
|
+
warnings.warn("parameter `VodeoBucketId` is deprecated", DeprecationWarning)
|
20761
|
+
|
20757
20762
|
return self._VodeoBucketId
|
20758
20763
|
|
20759
20764
|
@VodeoBucketId.setter
|
20760
20765
|
def VodeoBucketId(self, VodeoBucketId):
|
20766
|
+
warnings.warn("parameter `VodeoBucketId` is deprecated", DeprecationWarning)
|
20767
|
+
|
20761
20768
|
self._VodeoBucketId = VodeoBucketId
|
20762
20769
|
|
20763
20770
|
|
@@ -21072,26 +21079,38 @@ class OriginInfo(AbstractModel):
|
|
21072
21079
|
|
21073
21080
|
@property
|
21074
21081
|
def VodeoSubAppId(self):
|
21082
|
+
warnings.warn("parameter `VodeoSubAppId` is deprecated", DeprecationWarning)
|
21083
|
+
|
21075
21084
|
return self._VodeoSubAppId
|
21076
21085
|
|
21077
21086
|
@VodeoSubAppId.setter
|
21078
21087
|
def VodeoSubAppId(self, VodeoSubAppId):
|
21088
|
+
warnings.warn("parameter `VodeoSubAppId` is deprecated", DeprecationWarning)
|
21089
|
+
|
21079
21090
|
self._VodeoSubAppId = VodeoSubAppId
|
21080
21091
|
|
21081
21092
|
@property
|
21082
21093
|
def VodeoDistributionRange(self):
|
21094
|
+
warnings.warn("parameter `VodeoDistributionRange` is deprecated", DeprecationWarning)
|
21095
|
+
|
21083
21096
|
return self._VodeoDistributionRange
|
21084
21097
|
|
21085
21098
|
@VodeoDistributionRange.setter
|
21086
21099
|
def VodeoDistributionRange(self, VodeoDistributionRange):
|
21100
|
+
warnings.warn("parameter `VodeoDistributionRange` is deprecated", DeprecationWarning)
|
21101
|
+
|
21087
21102
|
self._VodeoDistributionRange = VodeoDistributionRange
|
21088
21103
|
|
21089
21104
|
@property
|
21090
21105
|
def VodeoBucketId(self):
|
21106
|
+
warnings.warn("parameter `VodeoBucketId` is deprecated", DeprecationWarning)
|
21107
|
+
|
21091
21108
|
return self._VodeoBucketId
|
21092
21109
|
|
21093
21110
|
@VodeoBucketId.setter
|
21094
21111
|
def VodeoBucketId(self, VodeoBucketId):
|
21112
|
+
warnings.warn("parameter `VodeoBucketId` is deprecated", DeprecationWarning)
|
21113
|
+
|
21095
21114
|
self._VodeoBucketId = VodeoBucketId
|
21096
21115
|
|
21097
21116
|
|
@@ -25541,7 +25560,7 @@ class TimingDataItem(AbstractModel):
|
|
25541
25560
|
|
25542
25561
|
def __init__(self):
|
25543
25562
|
r"""
|
25544
|
-
:param _Timestamp: 返回数据对应时间点,采用unix秒级时间戳。
|
25563
|
+
:param _Timestamp: 返回数据对应时间点,采用 unix 秒级时间戳。
|
25545
25564
|
:type Timestamp: int
|
25546
25565
|
:param _Value: 具体数值。
|
25547
25566
|
:type Value: int
|
@@ -26484,7 +26503,6 @@ class Zone(AbstractModel):
|
|
26484
26503
|
<li> full:NS 接入;</li>
|
26485
26504
|
<li> partial:CNAME 接入;</li>
|
26486
26505
|
<li> noDomainAccess:无域名接入;</li>
|
26487
|
-
<li> vodeo:开启 VODEO 后默认接入。</li>
|
26488
26506
|
:type Type: str
|
26489
26507
|
:param _Paused: 站点是否关闭。
|
26490
26508
|
:type Paused: bool
|
@@ -5300,6 +5300,8 @@ class CreateClusterRequest(AbstractModel):
|
|
5300
5300
|
:type InstanceDataDiskMountSettings: list of InstanceDataDiskMountSetting
|
5301
5301
|
:param _ExtensionAddons: 需要安装的扩展组件信息
|
5302
5302
|
:type ExtensionAddons: list of ExtensionAddon
|
5303
|
+
:param _CdcId: 本地专用集群Id
|
5304
|
+
:type CdcId: str
|
5303
5305
|
"""
|
5304
5306
|
self._ClusterType = None
|
5305
5307
|
self._ClusterCIDRSettings = None
|
@@ -5310,6 +5312,7 @@ class CreateClusterRequest(AbstractModel):
|
|
5310
5312
|
self._ExistedInstancesForNode = None
|
5311
5313
|
self._InstanceDataDiskMountSettings = None
|
5312
5314
|
self._ExtensionAddons = None
|
5315
|
+
self._CdcId = None
|
5313
5316
|
|
5314
5317
|
@property
|
5315
5318
|
def ClusterType(self):
|
@@ -5383,6 +5386,14 @@ class CreateClusterRequest(AbstractModel):
|
|
5383
5386
|
def ExtensionAddons(self, ExtensionAddons):
|
5384
5387
|
self._ExtensionAddons = ExtensionAddons
|
5385
5388
|
|
5389
|
+
@property
|
5390
|
+
def CdcId(self):
|
5391
|
+
return self._CdcId
|
5392
|
+
|
5393
|
+
@CdcId.setter
|
5394
|
+
def CdcId(self, CdcId):
|
5395
|
+
self._CdcId = CdcId
|
5396
|
+
|
5386
5397
|
|
5387
5398
|
def _deserialize(self, params):
|
5388
5399
|
self._ClusterType = params.get("ClusterType")
|
@@ -5422,6 +5433,7 @@ class CreateClusterRequest(AbstractModel):
|
|
5422
5433
|
obj = ExtensionAddon()
|
5423
5434
|
obj._deserialize(item)
|
5424
5435
|
self._ExtensionAddons.append(obj)
|
5436
|
+
self._CdcId = params.get("CdcId")
|
5425
5437
|
memeber_set = set(params.keys())
|
5426
5438
|
for name, value in vars(self).items():
|
5427
5439
|
property_name = name[1:]
|