tencentcloud-sdk-python 3.0.1431__py2.py3-none-any.whl → 3.0.1433__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/cbs/v20170312/models.py +15 -0
- tencentcloud/cdwdoris/v20211228/models.py +15 -0
- tencentcloud/clb/v20180317/models.py +45 -0
- tencentcloud/ecdn/v20191012/ecdn_client.py +0 -54
- tencentcloud/ecdn/v20191012/errorcodes.py +0 -21
- tencentcloud/ecdn/v20191012/models.py +0 -394
- tencentcloud/ess/v20201111/models.py +42 -0
- tencentcloud/essbasic/v20210526/models.py +58 -22
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/models.py +8 -16
- tencentcloud/live/v20180801/models.py +2 -6
- tencentcloud/lke/v20231130/models.py +34 -4
- tencentcloud/mps/v20190612/models.py +836 -59
- tencentcloud/mps/v20190612/mps_client.py +5 -5
- tencentcloud/ocr/v20181119/models.py +50 -0
- tencentcloud/postgres/v20170312/models.py +80 -78
- tencentcloud/ssl/v20191205/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +1 -1
- tencentcloud/vod/v20180717/models.py +491 -2
- tencentcloud/vod/v20180717/vod_client.py +30 -0
- tencentcloud/wedata/v20210820/models.py +1524 -2
- tencentcloud/wedata/v20210820/wedata_client.py +184 -0
- tencentcloud/wsa/v20250508/wsa_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/RECORD +29 -29
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -2224,12 +2224,15 @@ class CreateSnapshotRequest(AbstractModel):
|
|
|
2224
2224
|
:type DiskBackupId: str
|
|
2225
2225
|
:param _Tags: 快照绑定的标签。
|
|
2226
2226
|
:type Tags: list of Tag
|
|
2227
|
+
:param _DiskUsage: 快照关联云硬盘类型, SYSTEM_DISK: 系统盘, DATA_DISK: 数据盘,非必填参数,不填时快照类型与云盘类型保持一致, 该参数基于某些场景用户需要将系统盘创建出数据盘快照共享使用。
|
|
2228
|
+
:type DiskUsage: str
|
|
2227
2229
|
"""
|
|
2228
2230
|
self._DiskId = None
|
|
2229
2231
|
self._SnapshotName = None
|
|
2230
2232
|
self._Deadline = None
|
|
2231
2233
|
self._DiskBackupId = None
|
|
2232
2234
|
self._Tags = None
|
|
2235
|
+
self._DiskUsage = None
|
|
2233
2236
|
|
|
2234
2237
|
@property
|
|
2235
2238
|
def DiskId(self):
|
|
@@ -2286,6 +2289,17 @@ class CreateSnapshotRequest(AbstractModel):
|
|
|
2286
2289
|
def Tags(self, Tags):
|
|
2287
2290
|
self._Tags = Tags
|
|
2288
2291
|
|
|
2292
|
+
@property
|
|
2293
|
+
def DiskUsage(self):
|
|
2294
|
+
"""快照关联云硬盘类型, SYSTEM_DISK: 系统盘, DATA_DISK: 数据盘,非必填参数,不填时快照类型与云盘类型保持一致, 该参数基于某些场景用户需要将系统盘创建出数据盘快照共享使用。
|
|
2295
|
+
:rtype: str
|
|
2296
|
+
"""
|
|
2297
|
+
return self._DiskUsage
|
|
2298
|
+
|
|
2299
|
+
@DiskUsage.setter
|
|
2300
|
+
def DiskUsage(self, DiskUsage):
|
|
2301
|
+
self._DiskUsage = DiskUsage
|
|
2302
|
+
|
|
2289
2303
|
|
|
2290
2304
|
def _deserialize(self, params):
|
|
2291
2305
|
self._DiskId = params.get("DiskId")
|
|
@@ -2298,6 +2312,7 @@ class CreateSnapshotRequest(AbstractModel):
|
|
|
2298
2312
|
obj = Tag()
|
|
2299
2313
|
obj._deserialize(item)
|
|
2300
2314
|
self._Tags.append(obj)
|
|
2315
|
+
self._DiskUsage = params.get("DiskUsage")
|
|
2301
2316
|
memeber_set = set(params.keys())
|
|
2302
2317
|
for name, value in vars(self).items():
|
|
2303
2318
|
property_name = name[1:]
|
|
@@ -15529,6 +15529,8 @@ class UserInfo(AbstractModel):
|
|
|
15529
15529
|
:type CamUin: str
|
|
15530
15530
|
:param _CamRangerGroupIds: ranger group id列表
|
|
15531
15531
|
:type CamRangerGroupIds: list of int
|
|
15532
|
+
:param _ComputeGroupType: 0: 灵活场景 1: 固定场景
|
|
15533
|
+
:type ComputeGroupType: int
|
|
15532
15534
|
"""
|
|
15533
15535
|
self._InstanceId = None
|
|
15534
15536
|
self._UserName = None
|
|
@@ -15539,6 +15541,7 @@ class UserInfo(AbstractModel):
|
|
|
15539
15541
|
self._OldPwd = None
|
|
15540
15542
|
self._CamUin = None
|
|
15541
15543
|
self._CamRangerGroupIds = None
|
|
15544
|
+
self._ComputeGroupType = None
|
|
15542
15545
|
|
|
15543
15546
|
@property
|
|
15544
15547
|
def InstanceId(self):
|
|
@@ -15639,6 +15642,17 @@ class UserInfo(AbstractModel):
|
|
|
15639
15642
|
def CamRangerGroupIds(self, CamRangerGroupIds):
|
|
15640
15643
|
self._CamRangerGroupIds = CamRangerGroupIds
|
|
15641
15644
|
|
|
15645
|
+
@property
|
|
15646
|
+
def ComputeGroupType(self):
|
|
15647
|
+
"""0: 灵活场景 1: 固定场景
|
|
15648
|
+
:rtype: int
|
|
15649
|
+
"""
|
|
15650
|
+
return self._ComputeGroupType
|
|
15651
|
+
|
|
15652
|
+
@ComputeGroupType.setter
|
|
15653
|
+
def ComputeGroupType(self, ComputeGroupType):
|
|
15654
|
+
self._ComputeGroupType = ComputeGroupType
|
|
15655
|
+
|
|
15642
15656
|
|
|
15643
15657
|
def _deserialize(self, params):
|
|
15644
15658
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -15650,6 +15664,7 @@ class UserInfo(AbstractModel):
|
|
|
15650
15664
|
self._OldPwd = params.get("OldPwd")
|
|
15651
15665
|
self._CamUin = params.get("CamUin")
|
|
15652
15666
|
self._CamRangerGroupIds = params.get("CamRangerGroupIds")
|
|
15667
|
+
self._ComputeGroupType = params.get("ComputeGroupType")
|
|
15653
15668
|
memeber_set = set(params.keys())
|
|
15654
15669
|
for name, value in vars(self).items():
|
|
15655
15670
|
property_name = name[1:]
|
|
@@ -314,6 +314,8 @@ class AssociationItem(AbstractModel):
|
|
|
314
314
|
:type ListenerName: str
|
|
315
315
|
:param _Weight: 关联目标组的权重, 该参数只有v2新版目标组生效。
|
|
316
316
|
:type Weight: int
|
|
317
|
+
:param _RuleId: 高级路由规则ID
|
|
318
|
+
:type RuleId: str
|
|
317
319
|
"""
|
|
318
320
|
self._LoadBalancerId = None
|
|
319
321
|
self._ListenerId = None
|
|
@@ -325,6 +327,7 @@ class AssociationItem(AbstractModel):
|
|
|
325
327
|
self._LoadBalancerName = None
|
|
326
328
|
self._ListenerName = None
|
|
327
329
|
self._Weight = None
|
|
330
|
+
self._RuleId = None
|
|
328
331
|
|
|
329
332
|
@property
|
|
330
333
|
def LoadBalancerId(self):
|
|
@@ -439,6 +442,17 @@ class AssociationItem(AbstractModel):
|
|
|
439
442
|
def Weight(self, Weight):
|
|
440
443
|
self._Weight = Weight
|
|
441
444
|
|
|
445
|
+
@property
|
|
446
|
+
def RuleId(self):
|
|
447
|
+
"""高级路由规则ID
|
|
448
|
+
:rtype: str
|
|
449
|
+
"""
|
|
450
|
+
return self._RuleId
|
|
451
|
+
|
|
452
|
+
@RuleId.setter
|
|
453
|
+
def RuleId(self, RuleId):
|
|
454
|
+
self._RuleId = RuleId
|
|
455
|
+
|
|
442
456
|
|
|
443
457
|
def _deserialize(self, params):
|
|
444
458
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
|
@@ -451,6 +465,7 @@ class AssociationItem(AbstractModel):
|
|
|
451
465
|
self._LoadBalancerName = params.get("LoadBalancerName")
|
|
452
466
|
self._ListenerName = params.get("ListenerName")
|
|
453
467
|
self._Weight = params.get("Weight")
|
|
468
|
+
self._RuleId = params.get("RuleId")
|
|
454
469
|
memeber_set = set(params.keys())
|
|
455
470
|
for name, value in vars(self).items():
|
|
456
471
|
property_name = name[1:]
|
|
@@ -4471,6 +4486,8 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
4471
4486
|
:type LBChargeType: str
|
|
4472
4487
|
:param _AccessLogTopicId: 七层访问日志主题ID
|
|
4473
4488
|
:type AccessLogTopicId: str
|
|
4489
|
+
:param _AdvancedRoute: 是否开启七层高级路由
|
|
4490
|
+
:type AdvancedRoute: bool
|
|
4474
4491
|
"""
|
|
4475
4492
|
self._LoadBalancerType = None
|
|
4476
4493
|
self._Forward = None
|
|
@@ -4502,6 +4519,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
4502
4519
|
self._LBChargePrepaid = None
|
|
4503
4520
|
self._LBChargeType = None
|
|
4504
4521
|
self._AccessLogTopicId = None
|
|
4522
|
+
self._AdvancedRoute = None
|
|
4505
4523
|
|
|
4506
4524
|
@property
|
|
4507
4525
|
def LoadBalancerType(self):
|
|
@@ -4839,6 +4857,17 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
4839
4857
|
def AccessLogTopicId(self, AccessLogTopicId):
|
|
4840
4858
|
self._AccessLogTopicId = AccessLogTopicId
|
|
4841
4859
|
|
|
4860
|
+
@property
|
|
4861
|
+
def AdvancedRoute(self):
|
|
4862
|
+
"""是否开启七层高级路由
|
|
4863
|
+
:rtype: bool
|
|
4864
|
+
"""
|
|
4865
|
+
return self._AdvancedRoute
|
|
4866
|
+
|
|
4867
|
+
@AdvancedRoute.setter
|
|
4868
|
+
def AdvancedRoute(self, AdvancedRoute):
|
|
4869
|
+
self._AdvancedRoute = AdvancedRoute
|
|
4870
|
+
|
|
4842
4871
|
|
|
4843
4872
|
def _deserialize(self, params):
|
|
4844
4873
|
self._LoadBalancerType = params.get("LoadBalancerType")
|
|
@@ -4887,6 +4916,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
4887
4916
|
self._LBChargePrepaid._deserialize(params.get("LBChargePrepaid"))
|
|
4888
4917
|
self._LBChargeType = params.get("LBChargeType")
|
|
4889
4918
|
self._AccessLogTopicId = params.get("AccessLogTopicId")
|
|
4919
|
+
self._AdvancedRoute = params.get("AdvancedRoute")
|
|
4890
4920
|
memeber_set = set(params.keys())
|
|
4891
4921
|
for name, value in vars(self).items():
|
|
4892
4922
|
property_name = name[1:]
|
|
@@ -19710,12 +19740,15 @@ class RuleHealth(AbstractModel):
|
|
|
19710
19740
|
:param _Url: 转发规则的Url
|
|
19711
19741
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19712
19742
|
:type Url: str
|
|
19743
|
+
:param _RuleId: 高级路由规则ID
|
|
19744
|
+
:type RuleId: str
|
|
19713
19745
|
:param _Targets: 本规则上绑定的后端服务的健康检查状态
|
|
19714
19746
|
:type Targets: list of TargetHealth
|
|
19715
19747
|
"""
|
|
19716
19748
|
self._LocationId = None
|
|
19717
19749
|
self._Domain = None
|
|
19718
19750
|
self._Url = None
|
|
19751
|
+
self._RuleId = None
|
|
19719
19752
|
self._Targets = None
|
|
19720
19753
|
|
|
19721
19754
|
@property
|
|
@@ -19753,6 +19786,17 @@ class RuleHealth(AbstractModel):
|
|
|
19753
19786
|
def Url(self, Url):
|
|
19754
19787
|
self._Url = Url
|
|
19755
19788
|
|
|
19789
|
+
@property
|
|
19790
|
+
def RuleId(self):
|
|
19791
|
+
"""高级路由规则ID
|
|
19792
|
+
:rtype: str
|
|
19793
|
+
"""
|
|
19794
|
+
return self._RuleId
|
|
19795
|
+
|
|
19796
|
+
@RuleId.setter
|
|
19797
|
+
def RuleId(self, RuleId):
|
|
19798
|
+
self._RuleId = RuleId
|
|
19799
|
+
|
|
19756
19800
|
@property
|
|
19757
19801
|
def Targets(self):
|
|
19758
19802
|
"""本规则上绑定的后端服务的健康检查状态
|
|
@@ -19769,6 +19813,7 @@ class RuleHealth(AbstractModel):
|
|
|
19769
19813
|
self._LocationId = params.get("LocationId")
|
|
19770
19814
|
self._Domain = params.get("Domain")
|
|
19771
19815
|
self._Url = params.get("Url")
|
|
19816
|
+
self._RuleId = params.get("RuleId")
|
|
19772
19817
|
if params.get("Targets") is not None:
|
|
19773
19818
|
self._Targets = []
|
|
19774
19819
|
for item in params.get("Targets"):
|
|
@@ -185,60 +185,6 @@ class EcdnClient(AbstractClient):
|
|
|
185
185
|
model = models.DescribeIpStatusResponse()
|
|
186
186
|
model._deserialize(response["Response"])
|
|
187
187
|
return model
|
|
188
|
-
except Exception as e:
|
|
189
|
-
if isinstance(e, TencentCloudSDKException):
|
|
190
|
-
raise
|
|
191
|
-
else:
|
|
192
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
def DescribePurgeTasks(self, request):
|
|
196
|
-
"""ECDN即将下线,如需要动态加速请使用EdgeOne
|
|
197
|
-
|
|
198
|
-
DescribePurgeTasks 用于查询刷新任务提交历史记录及执行进度。
|
|
199
|
-
|
|
200
|
-
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/37873"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
|
201
|
-
|
|
202
|
-
:param request: Request instance for DescribePurgeTasks.
|
|
203
|
-
:type request: :class:`tencentcloud.ecdn.v20191012.models.DescribePurgeTasksRequest`
|
|
204
|
-
:rtype: :class:`tencentcloud.ecdn.v20191012.models.DescribePurgeTasksResponse`
|
|
205
|
-
|
|
206
|
-
"""
|
|
207
|
-
try:
|
|
208
|
-
params = request._serialize()
|
|
209
|
-
headers = request.headers
|
|
210
|
-
body = self.call("DescribePurgeTasks", params, headers=headers)
|
|
211
|
-
response = json.loads(body)
|
|
212
|
-
model = models.DescribePurgeTasksResponse()
|
|
213
|
-
model._deserialize(response["Response"])
|
|
214
|
-
return model
|
|
215
|
-
except Exception as e:
|
|
216
|
-
if isinstance(e, TencentCloudSDKException):
|
|
217
|
-
raise
|
|
218
|
-
else:
|
|
219
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
def PurgeUrlsCache(self, request):
|
|
223
|
-
"""ECDN即将下线,如需要动态加速请使用EdgeOne
|
|
224
|
-
|
|
225
|
-
PurgeUrlsCache 用于批量刷新Url,一次提交将返回一个刷新任务id。
|
|
226
|
-
|
|
227
|
-
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/37870"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
|
228
|
-
|
|
229
|
-
:param request: Request instance for PurgeUrlsCache.
|
|
230
|
-
:type request: :class:`tencentcloud.ecdn.v20191012.models.PurgeUrlsCacheRequest`
|
|
231
|
-
:rtype: :class:`tencentcloud.ecdn.v20191012.models.PurgeUrlsCacheResponse`
|
|
232
|
-
|
|
233
|
-
"""
|
|
234
|
-
try:
|
|
235
|
-
params = request._serialize()
|
|
236
|
-
headers = request.headers
|
|
237
|
-
body = self.call("PurgeUrlsCache", params, headers=headers)
|
|
238
|
-
response = json.loads(body)
|
|
239
|
-
model = models.PurgeUrlsCacheResponse()
|
|
240
|
-
model._deserialize(response["Response"])
|
|
241
|
-
return model
|
|
242
188
|
except Exception as e:
|
|
243
189
|
if isinstance(e, TencentCloudSDKException):
|
|
244
190
|
raise
|
|
@@ -44,9 +44,6 @@ INVALIDPARAMETER_ECDNCERTNOCERTINFO = 'InvalidParameter.EcdnCertNoCertInfo'
|
|
|
44
44
|
# 缓存配置不合法 。
|
|
45
45
|
INVALIDPARAMETER_ECDNCONFIGINVALIDCACHE = 'InvalidParameter.EcdnConfigInvalidCache'
|
|
46
46
|
|
|
47
|
-
# 域名状态不合法。
|
|
48
|
-
INVALIDPARAMETER_ECDNDOMAININVALIDSTATUS = 'InvalidParameter.EcdnDomainInvalidStatus'
|
|
49
|
-
|
|
50
47
|
# 内部接口错误,请联系腾讯云工程师进一步排查。
|
|
51
48
|
INVALIDPARAMETER_ECDNINTERFACEERROR = 'InvalidParameter.EcdnInterfaceError'
|
|
52
49
|
|
|
@@ -56,30 +53,18 @@ INVALIDPARAMETER_ECDNINVALIDPARAMINTERVAL = 'InvalidParameter.EcdnInvalidParamIn
|
|
|
56
53
|
# 参数错误,请参考文档中示例参数填充。
|
|
57
54
|
INVALIDPARAMETER_ECDNPARAMERROR = 'InvalidParameter.EcdnParamError'
|
|
58
55
|
|
|
59
|
-
# 刷新不支持泛域名。
|
|
60
|
-
INVALIDPARAMETER_ECDNPURGEWILDCARDNOTALLOWED = 'InvalidParameter.EcdnPurgeWildcardNotAllowed'
|
|
61
|
-
|
|
62
56
|
# 日期不合法,请参考文档中日期示例。
|
|
63
57
|
INVALIDPARAMETER_ECDNSTATINVALIDDATE = 'InvalidParameter.EcdnStatInvalidDate'
|
|
64
58
|
|
|
65
59
|
# 统计类型不合法,请参考文档中统计分析示例。
|
|
66
60
|
INVALIDPARAMETER_ECDNSTATINVALIDMETRIC = 'InvalidParameter.EcdnStatInvalidMetric'
|
|
67
61
|
|
|
68
|
-
# URL 超过限制长度。
|
|
69
|
-
INVALIDPARAMETER_ECDNURLEXCEEDLENGTH = 'InvalidParameter.EcdnUrlExceedLength'
|
|
70
|
-
|
|
71
62
|
# 参数错误。
|
|
72
63
|
INVALIDPARAMETER_PARAMERROR = 'InvalidParameter.ParamError'
|
|
73
64
|
|
|
74
65
|
# 域名操作过于频繁。
|
|
75
66
|
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = 'LimitExceeded.EcdnDomainOpTooOften'
|
|
76
67
|
|
|
77
|
-
# 刷新的Url数量超过单次限制。
|
|
78
|
-
LIMITEXCEEDED_ECDNPURGEURLEXCEEDBATCHLIMIT = 'LimitExceeded.EcdnPurgeUrlExceedBatchLimit'
|
|
79
|
-
|
|
80
|
-
# 刷新的Url数量超过每日限额。
|
|
81
|
-
LIMITEXCEEDED_ECDNPURGEURLEXCEEDDAYLIMIT = 'LimitExceeded.EcdnPurgeUrlExceedDayLimit'
|
|
82
|
-
|
|
83
68
|
# 账号下无此域名,请确认后重试。
|
|
84
69
|
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = 'ResourceNotFound.EcdnDomainNotExists'
|
|
85
70
|
|
|
@@ -128,18 +113,12 @@ UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = 'UnauthorizedOperation.EcdnDomain
|
|
|
128
113
|
# ECDN子账号加速域名未授权。
|
|
129
114
|
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = 'UnauthorizedOperation.EcdnHostUnauthorized'
|
|
130
115
|
|
|
131
|
-
# 请前往CDN控制台进行操作 。
|
|
132
|
-
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = 'UnauthorizedOperation.EcdnMigratedCdn'
|
|
133
|
-
|
|
134
116
|
# 子账号没有授权域名权限,请授权后重试。
|
|
135
117
|
UNAUTHORIZEDOPERATION_ECDNNODOMAINUNAUTHORIZED = 'UnauthorizedOperation.EcdnNoDomainUnauthorized'
|
|
136
118
|
|
|
137
119
|
# 子账号项目未授权。
|
|
138
120
|
UNAUTHORIZEDOPERATION_ECDNPROJECTUNAUTHORIZED = 'UnauthorizedOperation.EcdnProjectUnauthorized'
|
|
139
121
|
|
|
140
|
-
# 加速服务已停服,请重启加速服务后重试。
|
|
141
|
-
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = 'UnauthorizedOperation.EcdnUserIsSuspended'
|
|
142
|
-
|
|
143
122
|
# 非内测白名单用户,无该功能使用权限。
|
|
144
123
|
UNAUTHORIZEDOPERATION_ECDNUSERNOWHITELIST = 'UnauthorizedOperation.EcdnUserNoWhitelist'
|
|
145
124
|
|