tencentcloud-sdk-python 3.0.977__py2.py3-none-any.whl → 3.0.978__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/antiddos/v20200309/antiddos_client.py +1 -1
- tencentcloud/antiddos/v20200309/models.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +14 -0
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cdc/v20201214/models.py +194 -0
- tencentcloud/cdn/v20180606/errorcodes.py +6 -0
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/csip/v20221121/models.py +13 -0
- tencentcloud/dnspod/v20210323/models.py +1 -1
- tencentcloud/ess/v20201111/ess_client.py +28 -11
- tencentcloud/ess/v20201111/models.py +142 -38
- tencentcloud/essbasic/v20210526/models.py +129 -4
- tencentcloud/lcic/v20220817/models.py +12 -0
- tencentcloud/mrs/v20200910/models.py +8965 -4033
- tencentcloud/mrs/v20200910/mrs_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +24 -0
- tencentcloud/ses/v20201002/models.py +180 -0
- tencentcloud/ses/v20201002/ses_client.py +23 -0
- tencentcloud/ssa/v20180608/models.py +249 -0
- tencentcloud/ssa/v20180608/ssa_client.py +23 -0
- tencentcloud/ssl/v20191205/models.py +75 -0
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/trocket/v20230308/errorcodes.py +15 -0
- tencentcloud/trocket/v20230308/models.py +1458 -170
- tencentcloud/trocket/v20230308/trocket_client.py +209 -0
- tencentcloud/tsf/v20180326/models.py +88 -28
- tencentcloud/vod/v20180717/errorcodes.py +15 -0
- tencentcloud/vod/v20180717/models.py +330 -0
- tencentcloud/vod/v20180717/vod_client.py +69 -0
- tencentcloud/vpc/v20170312/models.py +48 -0
- tencentcloud/waf/v20180125/models.py +28 -1
- {tencentcloud_sdk_python-3.0.977.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.977.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/RECORD +37 -37
- {tencentcloud_sdk_python-3.0.977.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.977.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.977.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/top_level.txt +0 -0
|
@@ -26,6 +26,29 @@ class TrocketClient(AbstractClient):
|
|
|
26
26
|
_service = 'trocket'
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
def CreateConsumerGroup(self, request):
|
|
30
|
+
"""创建消费组
|
|
31
|
+
|
|
32
|
+
:param request: Request instance for CreateConsumerGroup.
|
|
33
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.CreateConsumerGroupRequest`
|
|
34
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.CreateConsumerGroupResponse`
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
try:
|
|
38
|
+
params = request._serialize()
|
|
39
|
+
headers = request.headers
|
|
40
|
+
body = self.call("CreateConsumerGroup", params, headers=headers)
|
|
41
|
+
response = json.loads(body)
|
|
42
|
+
model = models.CreateConsumerGroupResponse()
|
|
43
|
+
model._deserialize(response["Response"])
|
|
44
|
+
return model
|
|
45
|
+
except Exception as e:
|
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
|
47
|
+
raise
|
|
48
|
+
else:
|
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
|
+
|
|
51
|
+
|
|
29
52
|
def CreateInstance(self, request):
|
|
30
53
|
"""购买新实例
|
|
31
54
|
|
|
@@ -49,6 +72,52 @@ class TrocketClient(AbstractClient):
|
|
|
49
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
73
|
|
|
51
74
|
|
|
75
|
+
def CreateTopic(self, request):
|
|
76
|
+
"""创建主题
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for CreateTopic.
|
|
79
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.CreateTopicRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.CreateTopicResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("CreateTopic", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.CreateTopicResponse()
|
|
89
|
+
model._deserialize(response["Response"])
|
|
90
|
+
return model
|
|
91
|
+
except Exception as e:
|
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
|
93
|
+
raise
|
|
94
|
+
else:
|
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def DeleteConsumerGroup(self, request):
|
|
99
|
+
"""删除消费组
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for DeleteConsumerGroup.
|
|
102
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DeleteConsumerGroupRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DeleteConsumerGroupResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("DeleteConsumerGroup", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.DeleteConsumerGroupResponse()
|
|
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
|
+
|
|
52
121
|
def DeleteInstance(self, request):
|
|
53
122
|
"""删除实例
|
|
54
123
|
|
|
@@ -72,6 +141,52 @@ class TrocketClient(AbstractClient):
|
|
|
72
141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
142
|
|
|
74
143
|
|
|
144
|
+
def DeleteTopic(self, request):
|
|
145
|
+
"""删除主题
|
|
146
|
+
|
|
147
|
+
:param request: Request instance for DeleteTopic.
|
|
148
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DeleteTopicRequest`
|
|
149
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DeleteTopicResponse`
|
|
150
|
+
|
|
151
|
+
"""
|
|
152
|
+
try:
|
|
153
|
+
params = request._serialize()
|
|
154
|
+
headers = request.headers
|
|
155
|
+
body = self.call("DeleteTopic", params, headers=headers)
|
|
156
|
+
response = json.loads(body)
|
|
157
|
+
model = models.DeleteTopicResponse()
|
|
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
|
+
|
|
167
|
+
def DescribeConsumerGroup(self, request):
|
|
168
|
+
"""查询消费组详情
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for DescribeConsumerGroup.
|
|
171
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeConsumerGroupRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeConsumerGroupResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("DescribeConsumerGroup", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.DescribeConsumerGroupResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
75
190
|
def DescribeInstance(self, request):
|
|
76
191
|
"""查询实例信息
|
|
77
192
|
|
|
@@ -124,6 +239,31 @@ class TrocketClient(AbstractClient):
|
|
|
124
239
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
125
240
|
|
|
126
241
|
|
|
242
|
+
def DescribeTopic(self, request):
|
|
243
|
+
"""查询主题详情,Offset和Limit参数是指订阅该主题的消费组查询分页参数,Filter参数使用说明如下:
|
|
244
|
+
|
|
245
|
+
ConsumerGroup,消费组名称过滤
|
|
246
|
+
|
|
247
|
+
:param request: Request instance for DescribeTopic.
|
|
248
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeTopicRequest`
|
|
249
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeTopicResponse`
|
|
250
|
+
|
|
251
|
+
"""
|
|
252
|
+
try:
|
|
253
|
+
params = request._serialize()
|
|
254
|
+
headers = request.headers
|
|
255
|
+
body = self.call("DescribeTopic", params, headers=headers)
|
|
256
|
+
response = json.loads(body)
|
|
257
|
+
model = models.DescribeTopicResponse()
|
|
258
|
+
model._deserialize(response["Response"])
|
|
259
|
+
return model
|
|
260
|
+
except Exception as e:
|
|
261
|
+
if isinstance(e, TencentCloudSDKException):
|
|
262
|
+
raise
|
|
263
|
+
else:
|
|
264
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
265
|
+
|
|
266
|
+
|
|
127
267
|
def DescribeTopicList(self, request):
|
|
128
268
|
"""获取主题列表,Filter参数使用说明如下:
|
|
129
269
|
|
|
@@ -150,6 +290,52 @@ class TrocketClient(AbstractClient):
|
|
|
150
290
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
151
291
|
|
|
152
292
|
|
|
293
|
+
def DescribeTopicStatsOp(self, request):
|
|
294
|
+
"""运营端查询topicStata
|
|
295
|
+
|
|
296
|
+
:param request: Request instance for DescribeTopicStatsOp.
|
|
297
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeTopicStatsOpRequest`
|
|
298
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeTopicStatsOpResponse`
|
|
299
|
+
|
|
300
|
+
"""
|
|
301
|
+
try:
|
|
302
|
+
params = request._serialize()
|
|
303
|
+
headers = request.headers
|
|
304
|
+
body = self.call("DescribeTopicStatsOp", params, headers=headers)
|
|
305
|
+
response = json.loads(body)
|
|
306
|
+
model = models.DescribeTopicStatsOpResponse()
|
|
307
|
+
model._deserialize(response["Response"])
|
|
308
|
+
return model
|
|
309
|
+
except Exception as e:
|
|
310
|
+
if isinstance(e, TencentCloudSDKException):
|
|
311
|
+
raise
|
|
312
|
+
else:
|
|
313
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
def ModifyConsumerGroup(self, request):
|
|
317
|
+
"""修改消费组属性
|
|
318
|
+
|
|
319
|
+
:param request: Request instance for ModifyConsumerGroup.
|
|
320
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.ModifyConsumerGroupRequest`
|
|
321
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.ModifyConsumerGroupResponse`
|
|
322
|
+
|
|
323
|
+
"""
|
|
324
|
+
try:
|
|
325
|
+
params = request._serialize()
|
|
326
|
+
headers = request.headers
|
|
327
|
+
body = self.call("ModifyConsumerGroup", params, headers=headers)
|
|
328
|
+
response = json.loads(body)
|
|
329
|
+
model = models.ModifyConsumerGroupResponse()
|
|
330
|
+
model._deserialize(response["Response"])
|
|
331
|
+
return model
|
|
332
|
+
except Exception as e:
|
|
333
|
+
if isinstance(e, TencentCloudSDKException):
|
|
334
|
+
raise
|
|
335
|
+
else:
|
|
336
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
337
|
+
|
|
338
|
+
|
|
153
339
|
def ModifyInstance(self, request):
|
|
154
340
|
"""修改实例属性
|
|
155
341
|
|
|
@@ -166,6 +352,29 @@ class TrocketClient(AbstractClient):
|
|
|
166
352
|
model = models.ModifyInstanceResponse()
|
|
167
353
|
model._deserialize(response["Response"])
|
|
168
354
|
return model
|
|
355
|
+
except Exception as e:
|
|
356
|
+
if isinstance(e, TencentCloudSDKException):
|
|
357
|
+
raise
|
|
358
|
+
else:
|
|
359
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
def ModifyTopic(self, request):
|
|
363
|
+
"""修改主题属性
|
|
364
|
+
|
|
365
|
+
:param request: Request instance for ModifyTopic.
|
|
366
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.ModifyTopicRequest`
|
|
367
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.ModifyTopicResponse`
|
|
368
|
+
|
|
369
|
+
"""
|
|
370
|
+
try:
|
|
371
|
+
params = request._serialize()
|
|
372
|
+
headers = request.headers
|
|
373
|
+
body = self.call("ModifyTopic", params, headers=headers)
|
|
374
|
+
response = json.loads(body)
|
|
375
|
+
model = models.ModifyTopicResponse()
|
|
376
|
+
model._deserialize(response["Response"])
|
|
377
|
+
return model
|
|
169
378
|
except Exception as e:
|
|
170
379
|
if isinstance(e, TencentCloudSDKException):
|
|
171
380
|
raise
|
|
@@ -11020,7 +11020,7 @@ class CreateUnitRuleWithDetailRespResponse(AbstractModel):
|
|
|
11020
11020
|
|
|
11021
11021
|
def __init__(self):
|
|
11022
11022
|
r"""
|
|
11023
|
-
:param _Result:
|
|
11023
|
+
:param _Result: 单元化规则信息
|
|
11024
11024
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11025
11025
|
:type Result: :class:`tencentcloud.tsf.v20180326.models.UnitRule`
|
|
11026
11026
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -16911,7 +16911,7 @@ class DescribeCreateGatewayApiStatusRequest(AbstractModel):
|
|
|
16911
16911
|
|
|
16912
16912
|
def __init__(self):
|
|
16913
16913
|
r"""
|
|
16914
|
-
:param _GroupId:
|
|
16914
|
+
:param _GroupId: 所属分组ID
|
|
16915
16915
|
:type GroupId: str
|
|
16916
16916
|
:param _MicroserviceId: 微服务ID
|
|
16917
16917
|
:type MicroserviceId: str
|
|
@@ -17143,10 +17143,16 @@ class DescribeDeliveryConfigsRequest(AbstractModel):
|
|
|
17143
17143
|
:type Offset: int
|
|
17144
17144
|
:param _Limit: 搜索条数
|
|
17145
17145
|
:type Limit: int
|
|
17146
|
+
:param _ProgramIdList: 数据集idList
|
|
17147
|
+
:type ProgramIdList: list of str
|
|
17148
|
+
:param _ConfigIdList: ConfigIdList
|
|
17149
|
+
:type ConfigIdList: list of str
|
|
17146
17150
|
"""
|
|
17147
17151
|
self._SearchWord = None
|
|
17148
17152
|
self._Offset = None
|
|
17149
17153
|
self._Limit = None
|
|
17154
|
+
self._ProgramIdList = None
|
|
17155
|
+
self._ConfigIdList = None
|
|
17150
17156
|
|
|
17151
17157
|
@property
|
|
17152
17158
|
def SearchWord(self):
|
|
@@ -17172,11 +17178,29 @@ class DescribeDeliveryConfigsRequest(AbstractModel):
|
|
|
17172
17178
|
def Limit(self, Limit):
|
|
17173
17179
|
self._Limit = Limit
|
|
17174
17180
|
|
|
17181
|
+
@property
|
|
17182
|
+
def ProgramIdList(self):
|
|
17183
|
+
return self._ProgramIdList
|
|
17184
|
+
|
|
17185
|
+
@ProgramIdList.setter
|
|
17186
|
+
def ProgramIdList(self, ProgramIdList):
|
|
17187
|
+
self._ProgramIdList = ProgramIdList
|
|
17188
|
+
|
|
17189
|
+
@property
|
|
17190
|
+
def ConfigIdList(self):
|
|
17191
|
+
return self._ConfigIdList
|
|
17192
|
+
|
|
17193
|
+
@ConfigIdList.setter
|
|
17194
|
+
def ConfigIdList(self, ConfigIdList):
|
|
17195
|
+
self._ConfigIdList = ConfigIdList
|
|
17196
|
+
|
|
17175
17197
|
|
|
17176
17198
|
def _deserialize(self, params):
|
|
17177
17199
|
self._SearchWord = params.get("SearchWord")
|
|
17178
17200
|
self._Offset = params.get("Offset")
|
|
17179
17201
|
self._Limit = params.get("Limit")
|
|
17202
|
+
self._ProgramIdList = params.get("ProgramIdList")
|
|
17203
|
+
self._ConfigIdList = params.get("ConfigIdList")
|
|
17180
17204
|
memeber_set = set(params.keys())
|
|
17181
17205
|
for name, value in vars(self).items():
|
|
17182
17206
|
property_name = name[1:]
|
|
@@ -17883,12 +17907,15 @@ class DescribeGatewayApisRequest(AbstractModel):
|
|
|
17883
17907
|
:type SearchWord: str
|
|
17884
17908
|
:param _GatewayDeployGroupId: 部署组ID
|
|
17885
17909
|
:type GatewayDeployGroupId: str
|
|
17910
|
+
:param _ReleaseStatus: 发布状态, drafted(未发布)/released(已发布)/releasing(发布中)/failed(发布失败)
|
|
17911
|
+
:type ReleaseStatus: str
|
|
17886
17912
|
"""
|
|
17887
17913
|
self._GroupId = None
|
|
17888
17914
|
self._Offset = None
|
|
17889
17915
|
self._Limit = None
|
|
17890
17916
|
self._SearchWord = None
|
|
17891
17917
|
self._GatewayDeployGroupId = None
|
|
17918
|
+
self._ReleaseStatus = None
|
|
17892
17919
|
|
|
17893
17920
|
@property
|
|
17894
17921
|
def GroupId(self):
|
|
@@ -17930,6 +17957,14 @@ class DescribeGatewayApisRequest(AbstractModel):
|
|
|
17930
17957
|
def GatewayDeployGroupId(self, GatewayDeployGroupId):
|
|
17931
17958
|
self._GatewayDeployGroupId = GatewayDeployGroupId
|
|
17932
17959
|
|
|
17960
|
+
@property
|
|
17961
|
+
def ReleaseStatus(self):
|
|
17962
|
+
return self._ReleaseStatus
|
|
17963
|
+
|
|
17964
|
+
@ReleaseStatus.setter
|
|
17965
|
+
def ReleaseStatus(self, ReleaseStatus):
|
|
17966
|
+
self._ReleaseStatus = ReleaseStatus
|
|
17967
|
+
|
|
17933
17968
|
|
|
17934
17969
|
def _deserialize(self, params):
|
|
17935
17970
|
self._GroupId = params.get("GroupId")
|
|
@@ -17937,6 +17972,7 @@ class DescribeGatewayApisRequest(AbstractModel):
|
|
|
17937
17972
|
self._Limit = params.get("Limit")
|
|
17938
17973
|
self._SearchWord = params.get("SearchWord")
|
|
17939
17974
|
self._GatewayDeployGroupId = params.get("GatewayDeployGroupId")
|
|
17975
|
+
self._ReleaseStatus = params.get("ReleaseStatus")
|
|
17940
17976
|
memeber_set = set(params.keys())
|
|
17941
17977
|
for name, value in vars(self).items():
|
|
17942
17978
|
property_name = name[1:]
|
|
@@ -19021,21 +19057,21 @@ class DescribeGroupsWithPluginRequest(AbstractModel):
|
|
|
19021
19057
|
r"""
|
|
19022
19058
|
:param _PluginId: 插件ID
|
|
19023
19059
|
:type PluginId: str
|
|
19024
|
-
:param _Bound: 绑定/未绑定: true / false
|
|
19025
|
-
:type Bound: bool
|
|
19026
19060
|
:param _Offset: 翻页偏移量
|
|
19027
19061
|
:type Offset: int
|
|
19028
19062
|
:param _Limit: 每页记录数量
|
|
19029
19063
|
:type Limit: int
|
|
19064
|
+
:param _Bound: 绑定/未绑定: true / false
|
|
19065
|
+
:type Bound: bool
|
|
19030
19066
|
:param _SearchWord: 搜索关键字
|
|
19031
19067
|
:type SearchWord: str
|
|
19032
19068
|
:param _GatewayInstanceId: 网关实体ID
|
|
19033
19069
|
:type GatewayInstanceId: str
|
|
19034
19070
|
"""
|
|
19035
19071
|
self._PluginId = None
|
|
19036
|
-
self._Bound = None
|
|
19037
19072
|
self._Offset = None
|
|
19038
19073
|
self._Limit = None
|
|
19074
|
+
self._Bound = None
|
|
19039
19075
|
self._SearchWord = None
|
|
19040
19076
|
self._GatewayInstanceId = None
|
|
19041
19077
|
|
|
@@ -19047,14 +19083,6 @@ class DescribeGroupsWithPluginRequest(AbstractModel):
|
|
|
19047
19083
|
def PluginId(self, PluginId):
|
|
19048
19084
|
self._PluginId = PluginId
|
|
19049
19085
|
|
|
19050
|
-
@property
|
|
19051
|
-
def Bound(self):
|
|
19052
|
-
return self._Bound
|
|
19053
|
-
|
|
19054
|
-
@Bound.setter
|
|
19055
|
-
def Bound(self, Bound):
|
|
19056
|
-
self._Bound = Bound
|
|
19057
|
-
|
|
19058
19086
|
@property
|
|
19059
19087
|
def Offset(self):
|
|
19060
19088
|
return self._Offset
|
|
@@ -19071,6 +19099,14 @@ class DescribeGroupsWithPluginRequest(AbstractModel):
|
|
|
19071
19099
|
def Limit(self, Limit):
|
|
19072
19100
|
self._Limit = Limit
|
|
19073
19101
|
|
|
19102
|
+
@property
|
|
19103
|
+
def Bound(self):
|
|
19104
|
+
return self._Bound
|
|
19105
|
+
|
|
19106
|
+
@Bound.setter
|
|
19107
|
+
def Bound(self, Bound):
|
|
19108
|
+
self._Bound = Bound
|
|
19109
|
+
|
|
19074
19110
|
@property
|
|
19075
19111
|
def SearchWord(self):
|
|
19076
19112
|
return self._SearchWord
|
|
@@ -19090,9 +19126,9 @@ class DescribeGroupsWithPluginRequest(AbstractModel):
|
|
|
19090
19126
|
|
|
19091
19127
|
def _deserialize(self, params):
|
|
19092
19128
|
self._PluginId = params.get("PluginId")
|
|
19093
|
-
self._Bound = params.get("Bound")
|
|
19094
19129
|
self._Offset = params.get("Offset")
|
|
19095
19130
|
self._Limit = params.get("Limit")
|
|
19131
|
+
self._Bound = params.get("Bound")
|
|
19096
19132
|
self._SearchWord = params.get("SearchWord")
|
|
19097
19133
|
self._GatewayInstanceId = params.get("GatewayInstanceId")
|
|
19098
19134
|
memeber_set = set(params.keys())
|
|
@@ -21586,21 +21622,21 @@ class DescribePluginInstancesRequest(AbstractModel):
|
|
|
21586
21622
|
r"""
|
|
21587
21623
|
:param _ScopeValue: 分组或者API的ID
|
|
21588
21624
|
:type ScopeValue: str
|
|
21589
|
-
:param _Bound: 绑定: true; 未绑定: false
|
|
21590
|
-
:type Bound: bool
|
|
21591
21625
|
:param _Offset: 翻页偏移量
|
|
21592
21626
|
:type Offset: int
|
|
21593
21627
|
:param _Limit: 每页展示的条数
|
|
21594
21628
|
:type Limit: int
|
|
21629
|
+
:param _Bound: 绑定: true; 未绑定: false
|
|
21630
|
+
:type Bound: bool
|
|
21595
21631
|
:param _Type: 插件类型
|
|
21596
21632
|
:type Type: str
|
|
21597
21633
|
:param _SearchWord: 搜索关键字
|
|
21598
21634
|
:type SearchWord: str
|
|
21599
21635
|
"""
|
|
21600
21636
|
self._ScopeValue = None
|
|
21601
|
-
self._Bound = None
|
|
21602
21637
|
self._Offset = None
|
|
21603
21638
|
self._Limit = None
|
|
21639
|
+
self._Bound = None
|
|
21604
21640
|
self._Type = None
|
|
21605
21641
|
self._SearchWord = None
|
|
21606
21642
|
|
|
@@ -21612,14 +21648,6 @@ class DescribePluginInstancesRequest(AbstractModel):
|
|
|
21612
21648
|
def ScopeValue(self, ScopeValue):
|
|
21613
21649
|
self._ScopeValue = ScopeValue
|
|
21614
21650
|
|
|
21615
|
-
@property
|
|
21616
|
-
def Bound(self):
|
|
21617
|
-
return self._Bound
|
|
21618
|
-
|
|
21619
|
-
@Bound.setter
|
|
21620
|
-
def Bound(self, Bound):
|
|
21621
|
-
self._Bound = Bound
|
|
21622
|
-
|
|
21623
21651
|
@property
|
|
21624
21652
|
def Offset(self):
|
|
21625
21653
|
return self._Offset
|
|
@@ -21636,6 +21664,14 @@ class DescribePluginInstancesRequest(AbstractModel):
|
|
|
21636
21664
|
def Limit(self, Limit):
|
|
21637
21665
|
self._Limit = Limit
|
|
21638
21666
|
|
|
21667
|
+
@property
|
|
21668
|
+
def Bound(self):
|
|
21669
|
+
return self._Bound
|
|
21670
|
+
|
|
21671
|
+
@Bound.setter
|
|
21672
|
+
def Bound(self, Bound):
|
|
21673
|
+
self._Bound = Bound
|
|
21674
|
+
|
|
21639
21675
|
@property
|
|
21640
21676
|
def Type(self):
|
|
21641
21677
|
return self._Type
|
|
@@ -21655,9 +21691,9 @@ class DescribePluginInstancesRequest(AbstractModel):
|
|
|
21655
21691
|
|
|
21656
21692
|
def _deserialize(self, params):
|
|
21657
21693
|
self._ScopeValue = params.get("ScopeValue")
|
|
21658
|
-
self._Bound = params.get("Bound")
|
|
21659
21694
|
self._Offset = params.get("Offset")
|
|
21660
21695
|
self._Limit = params.get("Limit")
|
|
21696
|
+
self._Bound = params.get("Bound")
|
|
21661
21697
|
self._Type = params.get("Type")
|
|
21662
21698
|
self._SearchWord = params.get("SearchWord")
|
|
21663
21699
|
memeber_set = set(params.keys())
|
|
@@ -26906,14 +26942,20 @@ class GatewayPluginBoundParam(AbstractModel):
|
|
|
26906
26942
|
r"""
|
|
26907
26943
|
:param _PluginId: 插件id
|
|
26908
26944
|
:type PluginId: str
|
|
26909
|
-
:param _ScopeType: 插件绑定到的对象类型:group/api
|
|
26945
|
+
:param _ScopeType: 插件绑定到的对象类型:group/api/all
|
|
26910
26946
|
:type ScopeType: str
|
|
26911
26947
|
:param _ScopeValue: 插件绑定到的对象主键值,例如分组的ID/API的ID
|
|
26912
26948
|
:type ScopeValue: str
|
|
26949
|
+
:param _MicroserviceId: 创建关联的服务id,关联envoy网关时使用
|
|
26950
|
+
:type MicroserviceId: str
|
|
26951
|
+
:param _GatewayInstanceId: 网关id
|
|
26952
|
+
:type GatewayInstanceId: str
|
|
26913
26953
|
"""
|
|
26914
26954
|
self._PluginId = None
|
|
26915
26955
|
self._ScopeType = None
|
|
26916
26956
|
self._ScopeValue = None
|
|
26957
|
+
self._MicroserviceId = None
|
|
26958
|
+
self._GatewayInstanceId = None
|
|
26917
26959
|
|
|
26918
26960
|
@property
|
|
26919
26961
|
def PluginId(self):
|
|
@@ -26939,11 +26981,29 @@ class GatewayPluginBoundParam(AbstractModel):
|
|
|
26939
26981
|
def ScopeValue(self, ScopeValue):
|
|
26940
26982
|
self._ScopeValue = ScopeValue
|
|
26941
26983
|
|
|
26984
|
+
@property
|
|
26985
|
+
def MicroserviceId(self):
|
|
26986
|
+
return self._MicroserviceId
|
|
26987
|
+
|
|
26988
|
+
@MicroserviceId.setter
|
|
26989
|
+
def MicroserviceId(self, MicroserviceId):
|
|
26990
|
+
self._MicroserviceId = MicroserviceId
|
|
26991
|
+
|
|
26992
|
+
@property
|
|
26993
|
+
def GatewayInstanceId(self):
|
|
26994
|
+
return self._GatewayInstanceId
|
|
26995
|
+
|
|
26996
|
+
@GatewayInstanceId.setter
|
|
26997
|
+
def GatewayInstanceId(self, GatewayInstanceId):
|
|
26998
|
+
self._GatewayInstanceId = GatewayInstanceId
|
|
26999
|
+
|
|
26942
27000
|
|
|
26943
27001
|
def _deserialize(self, params):
|
|
26944
27002
|
self._PluginId = params.get("PluginId")
|
|
26945
27003
|
self._ScopeType = params.get("ScopeType")
|
|
26946
27004
|
self._ScopeValue = params.get("ScopeValue")
|
|
27005
|
+
self._MicroserviceId = params.get("MicroserviceId")
|
|
27006
|
+
self._GatewayInstanceId = params.get("GatewayInstanceId")
|
|
26947
27007
|
memeber_set = set(params.keys())
|
|
26948
27008
|
for name, value in vars(self).items():
|
|
26949
27009
|
property_name = name[1:]
|
|
@@ -42543,7 +42603,7 @@ class UpdateApiGroupRequest(AbstractModel):
|
|
|
42543
42603
|
:type GroupName: str
|
|
42544
42604
|
:param _Description: Api 分组描述
|
|
42545
42605
|
:type Description: str
|
|
42546
|
-
:param _AuthType:
|
|
42606
|
+
:param _AuthType: 鉴权类型。 secret: 密钥鉴权; none:无鉴权
|
|
42547
42607
|
:type AuthType: str
|
|
42548
42608
|
:param _GroupContext: 分组上下文
|
|
42549
42609
|
:type GroupContext: str
|
|
@@ -29,12 +29,18 @@ FAILEDOPERATION_CLASSNAMEDUPLICATE = 'FailedOperation.ClassNameDuplicate'
|
|
|
29
29
|
# 操作失败:分类不存在。
|
|
30
30
|
FAILEDOPERATION_CLASSNOFOUND = 'FailedOperation.ClassNoFound'
|
|
31
31
|
|
|
32
|
+
# 存在冲突域名
|
|
33
|
+
FAILEDOPERATION_CONFLICTDOMAINEXIST = 'FailedOperation.ConflictDomainExist'
|
|
34
|
+
|
|
32
35
|
# 操作失败:不支持的封面类型。
|
|
33
36
|
FAILEDOPERATION_COVERTYPE = 'FailedOperation.CoverType'
|
|
34
37
|
|
|
35
38
|
# 操作失败:数据库操作失败。
|
|
36
39
|
FAILEDOPERATION_DBERROR = 'FailedOperation.DBError'
|
|
37
40
|
|
|
41
|
+
# 域名已经存在
|
|
42
|
+
FAILEDOPERATION_DOMAINALREADYEXIST = 'FailedOperation.DomainAlreadyExist'
|
|
43
|
+
|
|
38
44
|
# 域名部署中,不能变更配置。
|
|
39
45
|
FAILEDOPERATION_DOMAINDEPLOYING = 'FailedOperation.DomainDeploying'
|
|
40
46
|
|
|
@@ -74,6 +80,9 @@ FAILEDOPERATION_UPLOADCOSFAIL = 'FailedOperation.UploadCosFail'
|
|
|
74
80
|
# 用户已经停服。
|
|
75
81
|
FAILEDOPERATION_USERSTATUSINAVLID = 'FailedOperation.UserStatusInavlid'
|
|
76
82
|
|
|
83
|
+
# 泛域名与其他账号的泛域名存在嵌套
|
|
84
|
+
FAILEDOPERATION_WILDCARDDOMAINNESTEDCREATE = 'FailedOperation.WildCardDomainNestedCreate'
|
|
85
|
+
|
|
77
86
|
# 内部错误。
|
|
78
87
|
INTERNALERROR = 'InternalError'
|
|
79
88
|
|
|
@@ -662,6 +671,12 @@ RESOURCEUNAVAILABLE_MASTERPLAYLIST = 'ResourceUnavailable.MasterPlaylist'
|
|
|
662
671
|
# 未授权操作。
|
|
663
672
|
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
664
673
|
|
|
674
|
+
# 域名解析验证失败
|
|
675
|
+
UNAUTHORIZEDOPERATION_DOMAINRECORDNOTVERIFIED = 'UnauthorizedOperation.DomainRecordNotVerified'
|
|
676
|
+
|
|
677
|
+
# 域名已被其他账号接入
|
|
678
|
+
UNAUTHORIZEDOPERATION_HOSTOWNEDBYOTHERS = 'UnauthorizedOperation.HostOwnedByOthers'
|
|
679
|
+
|
|
665
680
|
# 未知参数错误。
|
|
666
681
|
UNKNOWNPARAMETER = 'UnknownParameter'
|
|
667
682
|
|