tencentcloud-sdk-python 3.0.970__py2.py3-none-any.whl → 3.0.972__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apigateway/v20180808/models.py +27 -2
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +2 -2
- tencentcloud/bma/v20221115/models.py +25 -0
- tencentcloud/cdwch/v20200915/cdwch_client.py +92 -0
- tencentcloud/cdwch/v20200915/models.py +481 -0
- tencentcloud/ckafka/v20190819/models.py +105 -0
- tencentcloud/csip/v20221121/models.py +13 -0
- tencentcloud/cvm/v20170312/cvm_client.py +4 -4
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cwp/v20180228/models.py +24 -0
- tencentcloud/cynosdb/v20190107/models.py +2 -2
- tencentcloud/dbbrain/v20210527/models.py +24 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +46 -0
- tencentcloud/dsgc/v20190723/models.py +530 -14
- tencentcloud/ess/v20201111/models.py +1 -1
- tencentcloud/faceid/v20180301/models.py +33 -1
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/oceanus/v20190422/models.py +130 -0
- tencentcloud/ses/v20201002/errorcodes.py +2 -2
- tencentcloud/trtc/v20190722/models.py +2 -1
- tencentcloud/tsf/v20180326/models.py +2 -2
- tencentcloud/vod/v20180717/models.py +96 -0
- tencentcloud/vpc/v20170312/models.py +210 -13
- tencentcloud/vpc/v20170312/vpc_client.py +48 -0
- tencentcloud/waf/v20180125/errorcodes.py +6 -0
- tencentcloud/waf/v20180125/models.py +8758 -5573
- tencentcloud/waf/v20180125/waf_client.py +462 -0
- tencentcloud/wedata/v20210820/models.py +13 -0
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -5308,7 +5308,7 @@ class CreateServiceRequest(AbstractModel):
|
|
|
5308
5308
|
:type Tags: list of Tag
|
|
5309
5309
|
:param _InstanceId: 独享实例id
|
|
5310
5310
|
:type InstanceId: str
|
|
5311
|
-
:param _UniqVpcId: vpc
|
|
5311
|
+
:param _UniqVpcId: vpc属性,选择VPC后不可修改,为服务选择VPC后,可对接该VPC下的后端资源
|
|
5312
5312
|
:type UniqVpcId: str
|
|
5313
5313
|
"""
|
|
5314
5314
|
self._ServiceName = None
|
|
@@ -5558,7 +5558,7 @@ class CreateUpstreamRequest(AbstractModel):
|
|
|
5558
5558
|
|
|
5559
5559
|
def __init__(self):
|
|
5560
5560
|
r"""
|
|
5561
|
-
:param _Scheme: 后端协议,取值范围:HTTP, HTTPS
|
|
5561
|
+
:param _Scheme: 后端协议,取值范围:HTTP, HTTPS,gRPC,gRPCs
|
|
5562
5562
|
:type Scheme: str
|
|
5563
5563
|
:param _Algorithm: 负载均衡算法,取值范围:ROUND-ROBIN
|
|
5564
5564
|
:type Algorithm: str
|
|
@@ -11040,6 +11040,9 @@ class DescribeServiceResponse(AbstractModel):
|
|
|
11040
11040
|
:param _SpecialUse: 特殊用途, NULL和DEFAULT表示无特殊用途,其他用途如HTTP_DNS等
|
|
11041
11041
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11042
11042
|
:type SpecialUse: str
|
|
11043
|
+
:param _UniqVpcId: vpc属性,存量可能为空字符串
|
|
11044
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11045
|
+
:type UniqVpcId: str
|
|
11043
11046
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11044
11047
|
:type RequestId: str
|
|
11045
11048
|
"""
|
|
@@ -11068,6 +11071,7 @@ class DescribeServiceResponse(AbstractModel):
|
|
|
11068
11071
|
self._SetType = None
|
|
11069
11072
|
self._DeploymentType = None
|
|
11070
11073
|
self._SpecialUse = None
|
|
11074
|
+
self._UniqVpcId = None
|
|
11071
11075
|
self._RequestId = None
|
|
11072
11076
|
|
|
11073
11077
|
@property
|
|
@@ -11270,6 +11274,14 @@ class DescribeServiceResponse(AbstractModel):
|
|
|
11270
11274
|
def SpecialUse(self, SpecialUse):
|
|
11271
11275
|
self._SpecialUse = SpecialUse
|
|
11272
11276
|
|
|
11277
|
+
@property
|
|
11278
|
+
def UniqVpcId(self):
|
|
11279
|
+
return self._UniqVpcId
|
|
11280
|
+
|
|
11281
|
+
@UniqVpcId.setter
|
|
11282
|
+
def UniqVpcId(self, UniqVpcId):
|
|
11283
|
+
self._UniqVpcId = UniqVpcId
|
|
11284
|
+
|
|
11273
11285
|
@property
|
|
11274
11286
|
def RequestId(self):
|
|
11275
11287
|
return self._RequestId
|
|
@@ -11320,6 +11332,7 @@ class DescribeServiceResponse(AbstractModel):
|
|
|
11320
11332
|
self._SetType = params.get("SetType")
|
|
11321
11333
|
self._DeploymentType = params.get("DeploymentType")
|
|
11322
11334
|
self._SpecialUse = params.get("SpecialUse")
|
|
11335
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
|
11323
11336
|
self._RequestId = params.get("RequestId")
|
|
11324
11337
|
|
|
11325
11338
|
|
|
@@ -15987,12 +16000,15 @@ class ModifyServiceRequest(AbstractModel):
|
|
|
15987
16000
|
:type Protocol: str
|
|
15988
16001
|
:param _NetTypes: 网络类型列表,用于指定支持的访问类型,INNER为内网访问,OUTER为外网访问。默认为OUTER。
|
|
15989
16002
|
:type NetTypes: list of str
|
|
16003
|
+
:param _UniqVpcId: vpc属性,选择VPC后不可修改。为服务选择VPC后,可对接该VPC下的后端资源
|
|
16004
|
+
:type UniqVpcId: str
|
|
15990
16005
|
"""
|
|
15991
16006
|
self._ServiceId = None
|
|
15992
16007
|
self._ServiceName = None
|
|
15993
16008
|
self._ServiceDesc = None
|
|
15994
16009
|
self._Protocol = None
|
|
15995
16010
|
self._NetTypes = None
|
|
16011
|
+
self._UniqVpcId = None
|
|
15996
16012
|
|
|
15997
16013
|
@property
|
|
15998
16014
|
def ServiceId(self):
|
|
@@ -16034,6 +16050,14 @@ class ModifyServiceRequest(AbstractModel):
|
|
|
16034
16050
|
def NetTypes(self, NetTypes):
|
|
16035
16051
|
self._NetTypes = NetTypes
|
|
16036
16052
|
|
|
16053
|
+
@property
|
|
16054
|
+
def UniqVpcId(self):
|
|
16055
|
+
return self._UniqVpcId
|
|
16056
|
+
|
|
16057
|
+
@UniqVpcId.setter
|
|
16058
|
+
def UniqVpcId(self, UniqVpcId):
|
|
16059
|
+
self._UniqVpcId = UniqVpcId
|
|
16060
|
+
|
|
16037
16061
|
|
|
16038
16062
|
def _deserialize(self, params):
|
|
16039
16063
|
self._ServiceId = params.get("ServiceId")
|
|
@@ -16041,6 +16065,7 @@ class ModifyServiceRequest(AbstractModel):
|
|
|
16041
16065
|
self._ServiceDesc = params.get("ServiceDesc")
|
|
16042
16066
|
self._Protocol = params.get("Protocol")
|
|
16043
16067
|
self._NetTypes = params.get("NetTypes")
|
|
16068
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
|
16044
16069
|
memeber_set = set(params.keys())
|
|
16045
16070
|
for name, value in vars(self).items():
|
|
16046
16071
|
property_name = name[1:]
|
|
@@ -52,7 +52,7 @@ class AsrClient(AbstractClient):
|
|
|
52
52
|
def CreateAsrVocab(self, request):
|
|
53
53
|
"""用户通过本接口进行热词表的创建。
|
|
54
54
|
<br>• 默认最多可创建30个热词表。
|
|
55
|
-
<br>• 每个热词表最多可添加
|
|
55
|
+
<br>• 每个热词表最多可添加1000个词,每个词最长10个汉字或30个英文字符,不能超出限制。
|
|
56
56
|
<br>• 热词表可以通过数组或者本地文件形式上传。
|
|
57
57
|
<br>• 本地文件必须为UTF-8编码格式,每行仅添加一个热词且不能包含标点和特殊字符。
|
|
58
58
|
<br>• 热词权重取值范围为[1,10]之间的整数,权重越大代表该词被识别出来的概率越大。
|
|
@@ -171,7 +171,7 @@ class CreateAsrVocabRequest(AbstractModel):
|
|
|
171
171
|
:type Name: str
|
|
172
172
|
:param _Description: 热词表描述,长度在0-1000之间
|
|
173
173
|
:type Description: str
|
|
174
|
-
:param _WordWeights: 词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,10]之间整数,数组长度不大于
|
|
174
|
+
:param _WordWeights: 词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,10]之间整数,数组长度不大于1000
|
|
175
175
|
:type WordWeights: list of HotWord
|
|
176
176
|
:param _WordWeightStr: 词权重文件(纯文本文件)的二进制base64编码,以行分隔,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5。
|
|
177
177
|
当用户传此参数(参数长度大于0),即以此参数解析词权重,WordWeights会被忽略
|
|
@@ -2986,7 +2986,7 @@ class UpdateAsrVocabRequest(AbstractModel):
|
|
|
2986
2986
|
:type VocabId: str
|
|
2987
2987
|
:param _Name: 热词表名称,长度在1-255之间
|
|
2988
2988
|
:type Name: str
|
|
2989
|
-
:param _WordWeights: 词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10
|
|
2989
|
+
:param _WordWeights: 词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,10]之间整数,数组长度不大于1000
|
|
2990
2990
|
:type WordWeights: list of HotWord
|
|
2991
2991
|
:param _WordWeightStr: 词权重文件(纯文本文件)的二进制base64编码,以行分隔,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5。
|
|
2992
2992
|
当用户传此参数(参数长度大于0),即以此参数解析词权重,WordWeights会被忽略
|
|
@@ -817,10 +817,13 @@ class CreateBPWhiteListRequest(AbstractModel):
|
|
|
817
817
|
:type WhiteListType: int
|
|
818
818
|
:param _WhiteLists: 白名单名称
|
|
819
819
|
:type WhiteLists: list of str
|
|
820
|
+
:param _Remark: 白名单备注
|
|
821
|
+
:type Remark: str
|
|
820
822
|
"""
|
|
821
823
|
self._CompanyId = None
|
|
822
824
|
self._WhiteListType = None
|
|
823
825
|
self._WhiteLists = None
|
|
826
|
+
self._Remark = None
|
|
824
827
|
|
|
825
828
|
@property
|
|
826
829
|
def CompanyId(self):
|
|
@@ -846,11 +849,20 @@ class CreateBPWhiteListRequest(AbstractModel):
|
|
|
846
849
|
def WhiteLists(self, WhiteLists):
|
|
847
850
|
self._WhiteLists = WhiteLists
|
|
848
851
|
|
|
852
|
+
@property
|
|
853
|
+
def Remark(self):
|
|
854
|
+
return self._Remark
|
|
855
|
+
|
|
856
|
+
@Remark.setter
|
|
857
|
+
def Remark(self, Remark):
|
|
858
|
+
self._Remark = Remark
|
|
859
|
+
|
|
849
860
|
|
|
850
861
|
def _deserialize(self, params):
|
|
851
862
|
self._CompanyId = params.get("CompanyId")
|
|
852
863
|
self._WhiteListType = params.get("WhiteListType")
|
|
853
864
|
self._WhiteLists = params.get("WhiteLists")
|
|
865
|
+
self._Remark = params.get("Remark")
|
|
854
866
|
memeber_set = set(params.keys())
|
|
855
867
|
for name, value in vars(self).items():
|
|
856
868
|
property_name = name[1:]
|
|
@@ -2214,6 +2226,9 @@ class WhiteListData(AbstractModel):
|
|
|
2214
2226
|
:param _WhiteList: 白名单
|
|
2215
2227
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2216
2228
|
:type WhiteList: str
|
|
2229
|
+
:param _Remark: 白名单备注
|
|
2230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2231
|
+
:type Remark: str
|
|
2217
2232
|
:param _InsertTime: 新增时间
|
|
2218
2233
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2219
2234
|
:type InsertTime: str
|
|
@@ -2223,6 +2238,7 @@ class WhiteListData(AbstractModel):
|
|
|
2223
2238
|
self._BrandName = None
|
|
2224
2239
|
self._AssetsType = None
|
|
2225
2240
|
self._WhiteList = None
|
|
2241
|
+
self._Remark = None
|
|
2226
2242
|
self._InsertTime = None
|
|
2227
2243
|
|
|
2228
2244
|
@property
|
|
@@ -2265,6 +2281,14 @@ class WhiteListData(AbstractModel):
|
|
|
2265
2281
|
def WhiteList(self, WhiteList):
|
|
2266
2282
|
self._WhiteList = WhiteList
|
|
2267
2283
|
|
|
2284
|
+
@property
|
|
2285
|
+
def Remark(self):
|
|
2286
|
+
return self._Remark
|
|
2287
|
+
|
|
2288
|
+
@Remark.setter
|
|
2289
|
+
def Remark(self, Remark):
|
|
2290
|
+
self._Remark = Remark
|
|
2291
|
+
|
|
2268
2292
|
@property
|
|
2269
2293
|
def InsertTime(self):
|
|
2270
2294
|
return self._InsertTime
|
|
@@ -2280,6 +2304,7 @@ class WhiteListData(AbstractModel):
|
|
|
2280
2304
|
self._BrandName = params.get("BrandName")
|
|
2281
2305
|
self._AssetsType = params.get("AssetsType")
|
|
2282
2306
|
self._WhiteList = params.get("WhiteList")
|
|
2307
|
+
self._Remark = params.get("Remark")
|
|
2283
2308
|
self._InsertTime = params.get("InsertTime")
|
|
2284
2309
|
memeber_set = set(params.keys())
|
|
2285
2310
|
for name, value in vars(self).items():
|
|
@@ -95,6 +95,75 @@ class CdwchClient(AbstractClient):
|
|
|
95
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
def DeleteBackUpData(self, request):
|
|
99
|
+
"""删除备份数据
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for DeleteBackUpData.
|
|
102
|
+
:type request: :class:`tencentcloud.cdwch.v20200915.models.DeleteBackUpDataRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.cdwch.v20200915.models.DeleteBackUpDataResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("DeleteBackUpData", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.DeleteBackUpDataResponse()
|
|
112
|
+
model._deserialize(response["Response"])
|
|
113
|
+
return model
|
|
114
|
+
except Exception as e:
|
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
|
116
|
+
raise
|
|
117
|
+
else:
|
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
def DescribeBackUpJob(self, request):
|
|
122
|
+
"""查询备份任务列表
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for DescribeBackUpJob.
|
|
125
|
+
:type request: :class:`tencentcloud.cdwch.v20200915.models.DescribeBackUpJobRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.cdwch.v20200915.models.DescribeBackUpJobResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("DescribeBackUpJob", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.DescribeBackUpJobResponse()
|
|
135
|
+
model._deserialize(response["Response"])
|
|
136
|
+
return model
|
|
137
|
+
except Exception as e:
|
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
|
139
|
+
raise
|
|
140
|
+
else:
|
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
def DescribeBackUpJobDetail(self, request):
|
|
145
|
+
"""查询备份任务详情
|
|
146
|
+
|
|
147
|
+
:param request: Request instance for DescribeBackUpJobDetail.
|
|
148
|
+
:type request: :class:`tencentcloud.cdwch.v20200915.models.DescribeBackUpJobDetailRequest`
|
|
149
|
+
:rtype: :class:`tencentcloud.cdwch.v20200915.models.DescribeBackUpJobDetailResponse`
|
|
150
|
+
|
|
151
|
+
"""
|
|
152
|
+
try:
|
|
153
|
+
params = request._serialize()
|
|
154
|
+
headers = request.headers
|
|
155
|
+
body = self.call("DescribeBackUpJobDetail", params, headers=headers)
|
|
156
|
+
response = json.loads(body)
|
|
157
|
+
model = models.DescribeBackUpJobDetailResponse()
|
|
158
|
+
model._deserialize(response["Response"])
|
|
159
|
+
return model
|
|
160
|
+
except Exception as e:
|
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
|
162
|
+
raise
|
|
163
|
+
else:
|
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
|
+
|
|
166
|
+
|
|
98
167
|
def DescribeBackUpSchedule(self, request):
|
|
99
168
|
"""查询备份策略信息
|
|
100
169
|
|
|
@@ -440,6 +509,29 @@ class CdwchClient(AbstractClient):
|
|
|
440
509
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
510
|
|
|
442
511
|
|
|
512
|
+
def RecoverBackUpJob(self, request):
|
|
513
|
+
"""备份恢复
|
|
514
|
+
|
|
515
|
+
:param request: Request instance for RecoverBackUpJob.
|
|
516
|
+
:type request: :class:`tencentcloud.cdwch.v20200915.models.RecoverBackUpJobRequest`
|
|
517
|
+
:rtype: :class:`tencentcloud.cdwch.v20200915.models.RecoverBackUpJobResponse`
|
|
518
|
+
|
|
519
|
+
"""
|
|
520
|
+
try:
|
|
521
|
+
params = request._serialize()
|
|
522
|
+
headers = request.headers
|
|
523
|
+
body = self.call("RecoverBackUpJob", params, headers=headers)
|
|
524
|
+
response = json.loads(body)
|
|
525
|
+
model = models.RecoverBackUpJobResponse()
|
|
526
|
+
model._deserialize(response["Response"])
|
|
527
|
+
return model
|
|
528
|
+
except Exception as e:
|
|
529
|
+
if isinstance(e, TencentCloudSDKException):
|
|
530
|
+
raise
|
|
531
|
+
else:
|
|
532
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
533
|
+
|
|
534
|
+
|
|
443
535
|
def ResizeDisk(self, request):
|
|
444
536
|
"""扩容磁盘,包含扩容数据节点,zk节点
|
|
445
537
|
|