tencentcloud-sdk-python 3.0.1292__py2.py3-none-any.whl → 3.0.1293__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/apm/v20210622/apm_client.py +1 -1
- tencentcloud/apm/v20210622/errorcodes.py +3 -3
- tencentcloud/apm/v20210622/models.py +119 -271
- tencentcloud/bh/v20230418/models.py +15 -0
- tencentcloud/cfs/v20190719/errorcodes.py +6 -3
- tencentcloud/ckafka/v20190819/models.py +45 -0
- tencentcloud/clb/v20180317/models.py +32 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +740 -23
- tencentcloud/cwp/v20180228/models.py +2 -2
- tencentcloud/dnspod/v20210323/models.py +37 -37
- tencentcloud/ess/v20201111/models.py +49 -2
- tencentcloud/essbasic/v20210526/models.py +152 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +15 -0
- tencentcloud/ocr/v20181119/models.py +661 -8
- tencentcloud/ocr/v20181119/ocr_client.py +49 -3
- tencentcloud/sqlserver/v20180328/models.py +73 -2
- tencentcloud/tdmq/v20200217/models.py +543 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +69 -0
- tencentcloud/teo/v20220901/models.py +2 -0
- tencentcloud/teo/v20220901/teo_client.py +1 -1
- tencentcloud/thpc/v20211109/models.py +10 -12
- tencentcloud/thpc/v20220401/models.py +30 -36
- tencentcloud/thpc/v20230321/models.py +12 -14
- tencentcloud/trocket/v20230308/models.py +396 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/tse/v20201207/models.py +32 -0
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +66 -88
- tencentcloud/waf/v20180125/waf_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/top_level.txt +0 -0
@@ -4401,6 +4401,8 @@ class DescribeAclsRequest(AbstractModel):
|
|
4401
4401
|
:type Status: int
|
4402
4402
|
:param _DepartmentId: 部门ID,用于过滤属于某个部门的访问权限
|
4403
4403
|
:type DepartmentId: str
|
4404
|
+
:param _ExactAccount: 是否根据AuthorizedDeviceIdSet,对资产账号进行精确匹配,默认false, 设置true时,确保AuthorizedDeviceIdSet只有一个元素
|
4405
|
+
:type ExactAccount: bool
|
4404
4406
|
:param _Filters: 过滤数组
|
4405
4407
|
:type Filters: list of Filter
|
4406
4408
|
"""
|
@@ -4413,6 +4415,7 @@ class DescribeAclsRequest(AbstractModel):
|
|
4413
4415
|
self._AuthorizedDeviceIdSet = None
|
4414
4416
|
self._Status = None
|
4415
4417
|
self._DepartmentId = None
|
4418
|
+
self._ExactAccount = None
|
4416
4419
|
self._Filters = None
|
4417
4420
|
|
4418
4421
|
@property
|
@@ -4514,6 +4517,17 @@ class DescribeAclsRequest(AbstractModel):
|
|
4514
4517
|
def DepartmentId(self, DepartmentId):
|
4515
4518
|
self._DepartmentId = DepartmentId
|
4516
4519
|
|
4520
|
+
@property
|
4521
|
+
def ExactAccount(self):
|
4522
|
+
"""是否根据AuthorizedDeviceIdSet,对资产账号进行精确匹配,默认false, 设置true时,确保AuthorizedDeviceIdSet只有一个元素
|
4523
|
+
:rtype: bool
|
4524
|
+
"""
|
4525
|
+
return self._ExactAccount
|
4526
|
+
|
4527
|
+
@ExactAccount.setter
|
4528
|
+
def ExactAccount(self, ExactAccount):
|
4529
|
+
self._ExactAccount = ExactAccount
|
4530
|
+
|
4517
4531
|
@property
|
4518
4532
|
def Filters(self):
|
4519
4533
|
"""过滤数组
|
@@ -4536,6 +4550,7 @@ class DescribeAclsRequest(AbstractModel):
|
|
4536
4550
|
self._AuthorizedDeviceIdSet = params.get("AuthorizedDeviceIdSet")
|
4537
4551
|
self._Status = params.get("Status")
|
4538
4552
|
self._DepartmentId = params.get("DepartmentId")
|
4553
|
+
self._ExactAccount = params.get("ExactAccount")
|
4539
4554
|
if params.get("Filters") is not None:
|
4540
4555
|
self._Filters = []
|
4541
4556
|
for item in params.get("Filters"):
|
@@ -98,6 +98,9 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
98
98
|
# 自动扩容策略不存在
|
99
99
|
INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = 'InvalidParameterValue.AutoPolicyNotFound'
|
100
100
|
|
101
|
+
# 无效的文件系统路径
|
102
|
+
INVALIDPARAMETERVALUE_CFSPATH = 'InvalidParameterValue.CfsPath'
|
103
|
+
|
101
104
|
# 用于保证请求幂等性的字符串长度超过限制(不能超过64字节)。
|
102
105
|
INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = 'InvalidParameterValue.ClientTokenLimitExceeded'
|
103
106
|
|
@@ -170,15 +173,15 @@ INVALIDPARAMETERVALUE_INVALIDPGROUPID = 'InvalidParameterValue.InvalidPgroupId'
|
|
170
173
|
# 无效的权限组名称。
|
171
174
|
INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = 'InvalidParameterValue.InvalidPgroupName'
|
172
175
|
|
176
|
+
# 目录路径中包含无效字符。
|
177
|
+
INVALIDPARAMETERVALUE_INVALIDPOLICYFSPATH = 'InvalidParameterValue.InvalidPolicyFsPath'
|
178
|
+
|
173
179
|
# 优先级设置错误。
|
174
180
|
INVALIDPARAMETERVALUE_INVALIDPRIORITY = 'InvalidParameterValue.InvalidPriority'
|
175
181
|
|
176
182
|
# 协议参数错误。
|
177
183
|
INVALIDPARAMETERVALUE_INVALIDPROTOCOL = 'InvalidParameterValue.InvalidProtocol'
|
178
184
|
|
179
|
-
# 设置配额的参数错误,UserId 跟DirectoryPath不可同时填写,两个参数必填一个
|
180
|
-
INVALIDPARAMETERVALUE_INVALIDQUOTAUSERIDORCFSDIRPATH = 'InvalidParameterValue.InvalidQuotaUserIdOrCfsDirPath'
|
181
|
-
|
182
185
|
# 用户区域选择错误 (ZoneName) 或 (ZoneId, Region)二者必选一。
|
183
186
|
INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = 'InvalidParameterValue.InvalidRegionZoneInfo'
|
184
187
|
|
@@ -13216,10 +13216,19 @@ class DescribeDatahubTopicsRequest(AbstractModel):
|
|
13216
13216
|
:type Offset: int
|
13217
13217
|
:param _Limit: 本次返回结果的最大个数,默认为50,最大值为50
|
13218
13218
|
:type Limit: int
|
13219
|
+
:param _QueryFromConnectResource: 是否从连接查询topic列表
|
13220
|
+
:type QueryFromConnectResource: bool
|
13221
|
+
:param _ConnectResourceId: 连接的ID
|
13222
|
+
:type ConnectResourceId: str
|
13223
|
+
:param _TopicRegularExpression: topic资源表达式
|
13224
|
+
:type TopicRegularExpression: str
|
13219
13225
|
"""
|
13220
13226
|
self._SearchWord = None
|
13221
13227
|
self._Offset = None
|
13222
13228
|
self._Limit = None
|
13229
|
+
self._QueryFromConnectResource = None
|
13230
|
+
self._ConnectResourceId = None
|
13231
|
+
self._TopicRegularExpression = None
|
13223
13232
|
|
13224
13233
|
@property
|
13225
13234
|
def SearchWord(self):
|
@@ -13254,11 +13263,47 @@ class DescribeDatahubTopicsRequest(AbstractModel):
|
|
13254
13263
|
def Limit(self, Limit):
|
13255
13264
|
self._Limit = Limit
|
13256
13265
|
|
13266
|
+
@property
|
13267
|
+
def QueryFromConnectResource(self):
|
13268
|
+
"""是否从连接查询topic列表
|
13269
|
+
:rtype: bool
|
13270
|
+
"""
|
13271
|
+
return self._QueryFromConnectResource
|
13272
|
+
|
13273
|
+
@QueryFromConnectResource.setter
|
13274
|
+
def QueryFromConnectResource(self, QueryFromConnectResource):
|
13275
|
+
self._QueryFromConnectResource = QueryFromConnectResource
|
13276
|
+
|
13277
|
+
@property
|
13278
|
+
def ConnectResourceId(self):
|
13279
|
+
"""连接的ID
|
13280
|
+
:rtype: str
|
13281
|
+
"""
|
13282
|
+
return self._ConnectResourceId
|
13283
|
+
|
13284
|
+
@ConnectResourceId.setter
|
13285
|
+
def ConnectResourceId(self, ConnectResourceId):
|
13286
|
+
self._ConnectResourceId = ConnectResourceId
|
13287
|
+
|
13288
|
+
@property
|
13289
|
+
def TopicRegularExpression(self):
|
13290
|
+
"""topic资源表达式
|
13291
|
+
:rtype: str
|
13292
|
+
"""
|
13293
|
+
return self._TopicRegularExpression
|
13294
|
+
|
13295
|
+
@TopicRegularExpression.setter
|
13296
|
+
def TopicRegularExpression(self, TopicRegularExpression):
|
13297
|
+
self._TopicRegularExpression = TopicRegularExpression
|
13298
|
+
|
13257
13299
|
|
13258
13300
|
def _deserialize(self, params):
|
13259
13301
|
self._SearchWord = params.get("SearchWord")
|
13260
13302
|
self._Offset = params.get("Offset")
|
13261
13303
|
self._Limit = params.get("Limit")
|
13304
|
+
self._QueryFromConnectResource = params.get("QueryFromConnectResource")
|
13305
|
+
self._ConnectResourceId = params.get("ConnectResourceId")
|
13306
|
+
self._TopicRegularExpression = params.get("TopicRegularExpression")
|
13262
13307
|
memeber_set = set(params.keys())
|
13263
13308
|
for name, value in vars(self).items():
|
13264
13309
|
property_name = name[1:]
|
@@ -115,6 +115,9 @@ class AssociationItem(AbstractModel):
|
|
115
115
|
:type LoadBalancerName: str
|
116
116
|
:param _ListenerName: 监听器名称
|
117
117
|
:type ListenerName: str
|
118
|
+
:param _Weight: 关联目标组的权重, 该参数只有v2新版目标组生效。
|
119
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
120
|
+
:type Weight: int
|
118
121
|
"""
|
119
122
|
self._LoadBalancerId = None
|
120
123
|
self._ListenerId = None
|
@@ -125,6 +128,7 @@ class AssociationItem(AbstractModel):
|
|
125
128
|
self._Url = None
|
126
129
|
self._LoadBalancerName = None
|
127
130
|
self._ListenerName = None
|
131
|
+
self._Weight = None
|
128
132
|
|
129
133
|
@property
|
130
134
|
def LoadBalancerId(self):
|
@@ -228,6 +232,18 @@ class AssociationItem(AbstractModel):
|
|
228
232
|
def ListenerName(self, ListenerName):
|
229
233
|
self._ListenerName = ListenerName
|
230
234
|
|
235
|
+
@property
|
236
|
+
def Weight(self):
|
237
|
+
"""关联目标组的权重, 该参数只有v2新版目标组生效。
|
238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
239
|
+
:rtype: int
|
240
|
+
"""
|
241
|
+
return self._Weight
|
242
|
+
|
243
|
+
@Weight.setter
|
244
|
+
def Weight(self, Weight):
|
245
|
+
self._Weight = Weight
|
246
|
+
|
231
247
|
|
232
248
|
def _deserialize(self, params):
|
233
249
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
@@ -239,6 +255,7 @@ class AssociationItem(AbstractModel):
|
|
239
255
|
self._Url = params.get("Url")
|
240
256
|
self._LoadBalancerName = params.get("LoadBalancerName")
|
241
257
|
self._ListenerName = params.get("ListenerName")
|
258
|
+
self._Weight = params.get("Weight")
|
242
259
|
memeber_set = set(params.keys())
|
243
260
|
for name, value in vars(self).items():
|
244
261
|
property_name = name[1:]
|
@@ -567,9 +584,12 @@ class BasicTargetGroupInfo(AbstractModel):
|
|
567
584
|
:type TargetGroupId: str
|
568
585
|
:param _TargetGroupName: 目标组名称
|
569
586
|
:type TargetGroupName: str
|
587
|
+
:param _Weight: 权重
|
588
|
+
:type Weight: int
|
570
589
|
"""
|
571
590
|
self._TargetGroupId = None
|
572
591
|
self._TargetGroupName = None
|
592
|
+
self._Weight = None
|
573
593
|
|
574
594
|
@property
|
575
595
|
def TargetGroupId(self):
|
@@ -593,10 +613,22 @@ class BasicTargetGroupInfo(AbstractModel):
|
|
593
613
|
def TargetGroupName(self, TargetGroupName):
|
594
614
|
self._TargetGroupName = TargetGroupName
|
595
615
|
|
616
|
+
@property
|
617
|
+
def Weight(self):
|
618
|
+
"""权重
|
619
|
+
:rtype: int
|
620
|
+
"""
|
621
|
+
return self._Weight
|
622
|
+
|
623
|
+
@Weight.setter
|
624
|
+
def Weight(self, Weight):
|
625
|
+
self._Weight = Weight
|
626
|
+
|
596
627
|
|
597
628
|
def _deserialize(self, params):
|
598
629
|
self._TargetGroupId = params.get("TargetGroupId")
|
599
630
|
self._TargetGroupName = params.get("TargetGroupName")
|
631
|
+
self._Weight = params.get("Weight")
|
600
632
|
memeber_set = set(params.keys())
|
601
633
|
for name, value in vars(self).items():
|
602
634
|
property_name = name[1:]
|
@@ -631,6 +631,29 @@ class ClsClient(AbstractClient):
|
|
631
631
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
632
632
|
|
633
633
|
|
634
|
+
def CreateWebCallback(self, request):
|
635
|
+
"""该接口用于创建告警渠道回调配置。
|
636
|
+
|
637
|
+
:param request: Request instance for CreateWebCallback.
|
638
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.CreateWebCallbackRequest`
|
639
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.CreateWebCallbackResponse`
|
640
|
+
|
641
|
+
"""
|
642
|
+
try:
|
643
|
+
params = request._serialize()
|
644
|
+
headers = request.headers
|
645
|
+
body = self.call("CreateWebCallback", params, headers=headers)
|
646
|
+
response = json.loads(body)
|
647
|
+
model = models.CreateWebCallbackResponse()
|
648
|
+
model._deserialize(response["Response"])
|
649
|
+
return model
|
650
|
+
except Exception as e:
|
651
|
+
if isinstance(e, TencentCloudSDKException):
|
652
|
+
raise
|
653
|
+
else:
|
654
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
655
|
+
|
656
|
+
|
634
657
|
def DeleteAlarm(self, request):
|
635
658
|
"""本接口用于删除告警策略。
|
636
659
|
|
@@ -1114,6 +1137,29 @@ class ClsClient(AbstractClient):
|
|
1114
1137
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1115
1138
|
|
1116
1139
|
|
1140
|
+
def DeleteWebCallback(self, request):
|
1141
|
+
"""该接口用于删除告警渠道回调配置。
|
1142
|
+
|
1143
|
+
:param request: Request instance for DeleteWebCallback.
|
1144
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.DeleteWebCallbackRequest`
|
1145
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DeleteWebCallbackResponse`
|
1146
|
+
|
1147
|
+
"""
|
1148
|
+
try:
|
1149
|
+
params = request._serialize()
|
1150
|
+
headers = request.headers
|
1151
|
+
body = self.call("DeleteWebCallback", params, headers=headers)
|
1152
|
+
response = json.loads(body)
|
1153
|
+
model = models.DeleteWebCallbackResponse()
|
1154
|
+
model._deserialize(response["Response"])
|
1155
|
+
return model
|
1156
|
+
except Exception as e:
|
1157
|
+
if isinstance(e, TencentCloudSDKException):
|
1158
|
+
raise
|
1159
|
+
else:
|
1160
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1161
|
+
|
1162
|
+
|
1117
1163
|
def DescribeAlarmNotices(self, request):
|
1118
1164
|
"""该接口用于获取通知渠道组列表
|
1119
1165
|
|
@@ -1805,6 +1851,29 @@ class ClsClient(AbstractClient):
|
|
1805
1851
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1806
1852
|
|
1807
1853
|
|
1854
|
+
def DescribeWebCallbacks(self, request):
|
1855
|
+
"""获取告警渠道回调配置列表。
|
1856
|
+
|
1857
|
+
:param request: Request instance for DescribeWebCallbacks.
|
1858
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.DescribeWebCallbacksRequest`
|
1859
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DescribeWebCallbacksResponse`
|
1860
|
+
|
1861
|
+
"""
|
1862
|
+
try:
|
1863
|
+
params = request._serialize()
|
1864
|
+
headers = request.headers
|
1865
|
+
body = self.call("DescribeWebCallbacks", params, headers=headers)
|
1866
|
+
response = json.loads(body)
|
1867
|
+
model = models.DescribeWebCallbacksResponse()
|
1868
|
+
model._deserialize(response["Response"])
|
1869
|
+
return model
|
1870
|
+
except Exception as e:
|
1871
|
+
if isinstance(e, TencentCloudSDKException):
|
1872
|
+
raise
|
1873
|
+
else:
|
1874
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1875
|
+
|
1876
|
+
|
1808
1877
|
def GetAlarmLog(self, request):
|
1809
1878
|
"""本接口用于获取告警策略执行详情
|
1810
1879
|
|
@@ -2311,6 +2380,29 @@ class ClsClient(AbstractClient):
|
|
2311
2380
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2312
2381
|
|
2313
2382
|
|
2383
|
+
def ModifyWebCallback(self, request):
|
2384
|
+
"""该接口用于修改告警渠道回调配置。
|
2385
|
+
|
2386
|
+
:param request: Request instance for ModifyWebCallback.
|
2387
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.ModifyWebCallbackRequest`
|
2388
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.ModifyWebCallbackResponse`
|
2389
|
+
|
2390
|
+
"""
|
2391
|
+
try:
|
2392
|
+
params = request._serialize()
|
2393
|
+
headers = request.headers
|
2394
|
+
body = self.call("ModifyWebCallback", params, headers=headers)
|
2395
|
+
response = json.loads(body)
|
2396
|
+
model = models.ModifyWebCallbackResponse()
|
2397
|
+
model._deserialize(response["Response"])
|
2398
|
+
return model
|
2399
|
+
except Exception as e:
|
2400
|
+
if isinstance(e, TencentCloudSDKException):
|
2401
|
+
raise
|
2402
|
+
else:
|
2403
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2404
|
+
|
2405
|
+
|
2314
2406
|
def OpenKafkaConsumer(self, request):
|
2315
2407
|
"""打开Kafka协议消费功能
|
2316
2408
|
|