tencentcloud-sdk-python 3.0.1233__py2.py3-none-any.whl → 3.0.1235__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/cdb/v20170320/models.py +60 -0
- tencentcloud/cfw/v20190904/models.py +4 -4
- tencentcloud/csip/v20221121/models.py +1 -1
- tencentcloud/mqtt/__init__.py +0 -0
- tencentcloud/mqtt/v20240516/__init__.py +0 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +21 -0
- tencentcloud/mqtt/v20240516/models.py +869 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +78 -0
- tencentcloud/mrs/v20200910/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +504 -1
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/vpc/v20170312/models.py +17 -0
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1235.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1235.dist-info}/RECORD +18 -13
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1235.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1235.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1235.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,869 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import warnings
|
17
|
+
|
18
|
+
from tencentcloud.common.abstract_model import AbstractModel
|
19
|
+
|
20
|
+
|
21
|
+
class DescribeInstanceListRequest(AbstractModel):
|
22
|
+
"""DescribeInstanceList请求参数结构体
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Filters: 查询条件列表
|
29
|
+
:type Filters: list of Filter
|
30
|
+
:param _Offset: 查询起始位置
|
31
|
+
:type Offset: int
|
32
|
+
:param _Limit: 查询结果限制数量
|
33
|
+
:type Limit: int
|
34
|
+
:param _TagFilters: 标签过滤器
|
35
|
+
:type TagFilters: list of TagFilter
|
36
|
+
"""
|
37
|
+
self._Filters = None
|
38
|
+
self._Offset = None
|
39
|
+
self._Limit = None
|
40
|
+
self._TagFilters = None
|
41
|
+
|
42
|
+
@property
|
43
|
+
def Filters(self):
|
44
|
+
return self._Filters
|
45
|
+
|
46
|
+
@Filters.setter
|
47
|
+
def Filters(self, Filters):
|
48
|
+
self._Filters = Filters
|
49
|
+
|
50
|
+
@property
|
51
|
+
def Offset(self):
|
52
|
+
return self._Offset
|
53
|
+
|
54
|
+
@Offset.setter
|
55
|
+
def Offset(self, Offset):
|
56
|
+
self._Offset = Offset
|
57
|
+
|
58
|
+
@property
|
59
|
+
def Limit(self):
|
60
|
+
return self._Limit
|
61
|
+
|
62
|
+
@Limit.setter
|
63
|
+
def Limit(self, Limit):
|
64
|
+
self._Limit = Limit
|
65
|
+
|
66
|
+
@property
|
67
|
+
def TagFilters(self):
|
68
|
+
return self._TagFilters
|
69
|
+
|
70
|
+
@TagFilters.setter
|
71
|
+
def TagFilters(self, TagFilters):
|
72
|
+
self._TagFilters = TagFilters
|
73
|
+
|
74
|
+
|
75
|
+
def _deserialize(self, params):
|
76
|
+
if params.get("Filters") is not None:
|
77
|
+
self._Filters = []
|
78
|
+
for item in params.get("Filters"):
|
79
|
+
obj = Filter()
|
80
|
+
obj._deserialize(item)
|
81
|
+
self._Filters.append(obj)
|
82
|
+
self._Offset = params.get("Offset")
|
83
|
+
self._Limit = params.get("Limit")
|
84
|
+
if params.get("TagFilters") is not None:
|
85
|
+
self._TagFilters = []
|
86
|
+
for item in params.get("TagFilters"):
|
87
|
+
obj = TagFilter()
|
88
|
+
obj._deserialize(item)
|
89
|
+
self._TagFilters.append(obj)
|
90
|
+
memeber_set = set(params.keys())
|
91
|
+
for name, value in vars(self).items():
|
92
|
+
property_name = name[1:]
|
93
|
+
if property_name in memeber_set:
|
94
|
+
memeber_set.remove(property_name)
|
95
|
+
if len(memeber_set) > 0:
|
96
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
class DescribeInstanceListResponse(AbstractModel):
|
101
|
+
"""DescribeInstanceList返回参数结构体
|
102
|
+
|
103
|
+
"""
|
104
|
+
|
105
|
+
def __init__(self):
|
106
|
+
r"""
|
107
|
+
:param _TotalCount: 查询总数
|
108
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
109
|
+
:type TotalCount: int
|
110
|
+
:param _Data: 实例列表
|
111
|
+
:type Data: list of MQTTInstanceItem
|
112
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
113
|
+
:type RequestId: str
|
114
|
+
"""
|
115
|
+
self._TotalCount = None
|
116
|
+
self._Data = None
|
117
|
+
self._RequestId = None
|
118
|
+
|
119
|
+
@property
|
120
|
+
def TotalCount(self):
|
121
|
+
return self._TotalCount
|
122
|
+
|
123
|
+
@TotalCount.setter
|
124
|
+
def TotalCount(self, TotalCount):
|
125
|
+
self._TotalCount = TotalCount
|
126
|
+
|
127
|
+
@property
|
128
|
+
def Data(self):
|
129
|
+
return self._Data
|
130
|
+
|
131
|
+
@Data.setter
|
132
|
+
def Data(self, Data):
|
133
|
+
self._Data = Data
|
134
|
+
|
135
|
+
@property
|
136
|
+
def RequestId(self):
|
137
|
+
return self._RequestId
|
138
|
+
|
139
|
+
@RequestId.setter
|
140
|
+
def RequestId(self, RequestId):
|
141
|
+
self._RequestId = RequestId
|
142
|
+
|
143
|
+
|
144
|
+
def _deserialize(self, params):
|
145
|
+
self._TotalCount = params.get("TotalCount")
|
146
|
+
if params.get("Data") is not None:
|
147
|
+
self._Data = []
|
148
|
+
for item in params.get("Data"):
|
149
|
+
obj = MQTTInstanceItem()
|
150
|
+
obj._deserialize(item)
|
151
|
+
self._Data.append(obj)
|
152
|
+
self._RequestId = params.get("RequestId")
|
153
|
+
|
154
|
+
|
155
|
+
class DescribeInstanceRequest(AbstractModel):
|
156
|
+
"""DescribeInstance请求参数结构体
|
157
|
+
|
158
|
+
"""
|
159
|
+
|
160
|
+
def __init__(self):
|
161
|
+
r"""
|
162
|
+
:param _InstanceId: 实例ID
|
163
|
+
:type InstanceId: str
|
164
|
+
"""
|
165
|
+
self._InstanceId = None
|
166
|
+
|
167
|
+
@property
|
168
|
+
def InstanceId(self):
|
169
|
+
return self._InstanceId
|
170
|
+
|
171
|
+
@InstanceId.setter
|
172
|
+
def InstanceId(self, InstanceId):
|
173
|
+
self._InstanceId = InstanceId
|
174
|
+
|
175
|
+
|
176
|
+
def _deserialize(self, params):
|
177
|
+
self._InstanceId = params.get("InstanceId")
|
178
|
+
memeber_set = set(params.keys())
|
179
|
+
for name, value in vars(self).items():
|
180
|
+
property_name = name[1:]
|
181
|
+
if property_name in memeber_set:
|
182
|
+
memeber_set.remove(property_name)
|
183
|
+
if len(memeber_set) > 0:
|
184
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
class DescribeInstanceResponse(AbstractModel):
|
189
|
+
"""DescribeInstance返回参数结构体
|
190
|
+
|
191
|
+
"""
|
192
|
+
|
193
|
+
def __init__(self):
|
194
|
+
r"""
|
195
|
+
:param _InstanceType: 实例类型,
|
196
|
+
EXPERIMENT 体验版
|
197
|
+
BASIC 基础版
|
198
|
+
PRO 专业版
|
199
|
+
PLATINUM 铂金版
|
200
|
+
:type InstanceType: str
|
201
|
+
:param _InstanceId: 实例ID
|
202
|
+
:type InstanceId: str
|
203
|
+
:param _InstanceName: 实例名称
|
204
|
+
:type InstanceName: str
|
205
|
+
:param _TopicNum: 主题数量
|
206
|
+
:type TopicNum: int
|
207
|
+
:param _TopicNumLimit: 实例最大主题数量
|
208
|
+
:type TopicNumLimit: int
|
209
|
+
:param _TpsLimit: TPS限流值
|
210
|
+
:type TpsLimit: int
|
211
|
+
:param _CreatedTime: 创建时间,秒为单位
|
212
|
+
:type CreatedTime: int
|
213
|
+
:param _Remark: 备注信息
|
214
|
+
:type Remark: str
|
215
|
+
:param _InstanceStatus: 实例状态
|
216
|
+
:type InstanceStatus: str
|
217
|
+
:param _SkuCode: 实例规格
|
218
|
+
:type SkuCode: str
|
219
|
+
:param _MaxSubscriptionPerClient: 单客户端最大订阅数
|
220
|
+
:type MaxSubscriptionPerClient: int
|
221
|
+
:param _AuthorizationPolicyLimit: 授权规则条数
|
222
|
+
:type AuthorizationPolicyLimit: int
|
223
|
+
:param _ClientNumLimit: 客户端数量上限
|
224
|
+
:type ClientNumLimit: int
|
225
|
+
:param _DeviceCertificateProvisionType: 客户端证书注册方式:JITP,API
|
226
|
+
:type DeviceCertificateProvisionType: str
|
227
|
+
:param _AutomaticActivation: 自动注册设备证书时是否自动激活
|
228
|
+
:type AutomaticActivation: bool
|
229
|
+
:param _RenewFlag: 是否自动续费
|
230
|
+
:type RenewFlag: int
|
231
|
+
:param _PayMode: 计费模式, POSTPAID,按量计费 PREPAID,包年包月
|
232
|
+
:type PayMode: str
|
233
|
+
:param _ExpiryTime: 到期时间,秒为单位
|
234
|
+
:type ExpiryTime: int
|
235
|
+
:param _DestroyTime: 预销毁时间
|
236
|
+
:type DestroyTime: int
|
237
|
+
:param _X509Mode: TLS,单向认证
|
238
|
+
mTLS,双向认证
|
239
|
+
BYOC;一机一证
|
240
|
+
:type X509Mode: str
|
241
|
+
:param _MaxCaNum: 最大Ca配额
|
242
|
+
:type MaxCaNum: int
|
243
|
+
:param _RegistrationCode: 证书注册码
|
244
|
+
:type RegistrationCode: str
|
245
|
+
:param _MaxSubscription: 集群最大订阅数
|
246
|
+
:type MaxSubscription: int
|
247
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
248
|
+
:type RequestId: str
|
249
|
+
"""
|
250
|
+
self._InstanceType = None
|
251
|
+
self._InstanceId = None
|
252
|
+
self._InstanceName = None
|
253
|
+
self._TopicNum = None
|
254
|
+
self._TopicNumLimit = None
|
255
|
+
self._TpsLimit = None
|
256
|
+
self._CreatedTime = None
|
257
|
+
self._Remark = None
|
258
|
+
self._InstanceStatus = None
|
259
|
+
self._SkuCode = None
|
260
|
+
self._MaxSubscriptionPerClient = None
|
261
|
+
self._AuthorizationPolicyLimit = None
|
262
|
+
self._ClientNumLimit = None
|
263
|
+
self._DeviceCertificateProvisionType = None
|
264
|
+
self._AutomaticActivation = None
|
265
|
+
self._RenewFlag = None
|
266
|
+
self._PayMode = None
|
267
|
+
self._ExpiryTime = None
|
268
|
+
self._DestroyTime = None
|
269
|
+
self._X509Mode = None
|
270
|
+
self._MaxCaNum = None
|
271
|
+
self._RegistrationCode = None
|
272
|
+
self._MaxSubscription = None
|
273
|
+
self._RequestId = None
|
274
|
+
|
275
|
+
@property
|
276
|
+
def InstanceType(self):
|
277
|
+
return self._InstanceType
|
278
|
+
|
279
|
+
@InstanceType.setter
|
280
|
+
def InstanceType(self, InstanceType):
|
281
|
+
self._InstanceType = InstanceType
|
282
|
+
|
283
|
+
@property
|
284
|
+
def InstanceId(self):
|
285
|
+
return self._InstanceId
|
286
|
+
|
287
|
+
@InstanceId.setter
|
288
|
+
def InstanceId(self, InstanceId):
|
289
|
+
self._InstanceId = InstanceId
|
290
|
+
|
291
|
+
@property
|
292
|
+
def InstanceName(self):
|
293
|
+
return self._InstanceName
|
294
|
+
|
295
|
+
@InstanceName.setter
|
296
|
+
def InstanceName(self, InstanceName):
|
297
|
+
self._InstanceName = InstanceName
|
298
|
+
|
299
|
+
@property
|
300
|
+
def TopicNum(self):
|
301
|
+
return self._TopicNum
|
302
|
+
|
303
|
+
@TopicNum.setter
|
304
|
+
def TopicNum(self, TopicNum):
|
305
|
+
self._TopicNum = TopicNum
|
306
|
+
|
307
|
+
@property
|
308
|
+
def TopicNumLimit(self):
|
309
|
+
return self._TopicNumLimit
|
310
|
+
|
311
|
+
@TopicNumLimit.setter
|
312
|
+
def TopicNumLimit(self, TopicNumLimit):
|
313
|
+
self._TopicNumLimit = TopicNumLimit
|
314
|
+
|
315
|
+
@property
|
316
|
+
def TpsLimit(self):
|
317
|
+
return self._TpsLimit
|
318
|
+
|
319
|
+
@TpsLimit.setter
|
320
|
+
def TpsLimit(self, TpsLimit):
|
321
|
+
self._TpsLimit = TpsLimit
|
322
|
+
|
323
|
+
@property
|
324
|
+
def CreatedTime(self):
|
325
|
+
return self._CreatedTime
|
326
|
+
|
327
|
+
@CreatedTime.setter
|
328
|
+
def CreatedTime(self, CreatedTime):
|
329
|
+
self._CreatedTime = CreatedTime
|
330
|
+
|
331
|
+
@property
|
332
|
+
def Remark(self):
|
333
|
+
return self._Remark
|
334
|
+
|
335
|
+
@Remark.setter
|
336
|
+
def Remark(self, Remark):
|
337
|
+
self._Remark = Remark
|
338
|
+
|
339
|
+
@property
|
340
|
+
def InstanceStatus(self):
|
341
|
+
return self._InstanceStatus
|
342
|
+
|
343
|
+
@InstanceStatus.setter
|
344
|
+
def InstanceStatus(self, InstanceStatus):
|
345
|
+
self._InstanceStatus = InstanceStatus
|
346
|
+
|
347
|
+
@property
|
348
|
+
def SkuCode(self):
|
349
|
+
return self._SkuCode
|
350
|
+
|
351
|
+
@SkuCode.setter
|
352
|
+
def SkuCode(self, SkuCode):
|
353
|
+
self._SkuCode = SkuCode
|
354
|
+
|
355
|
+
@property
|
356
|
+
def MaxSubscriptionPerClient(self):
|
357
|
+
return self._MaxSubscriptionPerClient
|
358
|
+
|
359
|
+
@MaxSubscriptionPerClient.setter
|
360
|
+
def MaxSubscriptionPerClient(self, MaxSubscriptionPerClient):
|
361
|
+
self._MaxSubscriptionPerClient = MaxSubscriptionPerClient
|
362
|
+
|
363
|
+
@property
|
364
|
+
def AuthorizationPolicyLimit(self):
|
365
|
+
return self._AuthorizationPolicyLimit
|
366
|
+
|
367
|
+
@AuthorizationPolicyLimit.setter
|
368
|
+
def AuthorizationPolicyLimit(self, AuthorizationPolicyLimit):
|
369
|
+
self._AuthorizationPolicyLimit = AuthorizationPolicyLimit
|
370
|
+
|
371
|
+
@property
|
372
|
+
def ClientNumLimit(self):
|
373
|
+
return self._ClientNumLimit
|
374
|
+
|
375
|
+
@ClientNumLimit.setter
|
376
|
+
def ClientNumLimit(self, ClientNumLimit):
|
377
|
+
self._ClientNumLimit = ClientNumLimit
|
378
|
+
|
379
|
+
@property
|
380
|
+
def DeviceCertificateProvisionType(self):
|
381
|
+
return self._DeviceCertificateProvisionType
|
382
|
+
|
383
|
+
@DeviceCertificateProvisionType.setter
|
384
|
+
def DeviceCertificateProvisionType(self, DeviceCertificateProvisionType):
|
385
|
+
self._DeviceCertificateProvisionType = DeviceCertificateProvisionType
|
386
|
+
|
387
|
+
@property
|
388
|
+
def AutomaticActivation(self):
|
389
|
+
return self._AutomaticActivation
|
390
|
+
|
391
|
+
@AutomaticActivation.setter
|
392
|
+
def AutomaticActivation(self, AutomaticActivation):
|
393
|
+
self._AutomaticActivation = AutomaticActivation
|
394
|
+
|
395
|
+
@property
|
396
|
+
def RenewFlag(self):
|
397
|
+
return self._RenewFlag
|
398
|
+
|
399
|
+
@RenewFlag.setter
|
400
|
+
def RenewFlag(self, RenewFlag):
|
401
|
+
self._RenewFlag = RenewFlag
|
402
|
+
|
403
|
+
@property
|
404
|
+
def PayMode(self):
|
405
|
+
return self._PayMode
|
406
|
+
|
407
|
+
@PayMode.setter
|
408
|
+
def PayMode(self, PayMode):
|
409
|
+
self._PayMode = PayMode
|
410
|
+
|
411
|
+
@property
|
412
|
+
def ExpiryTime(self):
|
413
|
+
return self._ExpiryTime
|
414
|
+
|
415
|
+
@ExpiryTime.setter
|
416
|
+
def ExpiryTime(self, ExpiryTime):
|
417
|
+
self._ExpiryTime = ExpiryTime
|
418
|
+
|
419
|
+
@property
|
420
|
+
def DestroyTime(self):
|
421
|
+
return self._DestroyTime
|
422
|
+
|
423
|
+
@DestroyTime.setter
|
424
|
+
def DestroyTime(self, DestroyTime):
|
425
|
+
self._DestroyTime = DestroyTime
|
426
|
+
|
427
|
+
@property
|
428
|
+
def X509Mode(self):
|
429
|
+
return self._X509Mode
|
430
|
+
|
431
|
+
@X509Mode.setter
|
432
|
+
def X509Mode(self, X509Mode):
|
433
|
+
self._X509Mode = X509Mode
|
434
|
+
|
435
|
+
@property
|
436
|
+
def MaxCaNum(self):
|
437
|
+
return self._MaxCaNum
|
438
|
+
|
439
|
+
@MaxCaNum.setter
|
440
|
+
def MaxCaNum(self, MaxCaNum):
|
441
|
+
self._MaxCaNum = MaxCaNum
|
442
|
+
|
443
|
+
@property
|
444
|
+
def RegistrationCode(self):
|
445
|
+
return self._RegistrationCode
|
446
|
+
|
447
|
+
@RegistrationCode.setter
|
448
|
+
def RegistrationCode(self, RegistrationCode):
|
449
|
+
self._RegistrationCode = RegistrationCode
|
450
|
+
|
451
|
+
@property
|
452
|
+
def MaxSubscription(self):
|
453
|
+
return self._MaxSubscription
|
454
|
+
|
455
|
+
@MaxSubscription.setter
|
456
|
+
def MaxSubscription(self, MaxSubscription):
|
457
|
+
self._MaxSubscription = MaxSubscription
|
458
|
+
|
459
|
+
@property
|
460
|
+
def RequestId(self):
|
461
|
+
return self._RequestId
|
462
|
+
|
463
|
+
@RequestId.setter
|
464
|
+
def RequestId(self, RequestId):
|
465
|
+
self._RequestId = RequestId
|
466
|
+
|
467
|
+
|
468
|
+
def _deserialize(self, params):
|
469
|
+
self._InstanceType = params.get("InstanceType")
|
470
|
+
self._InstanceId = params.get("InstanceId")
|
471
|
+
self._InstanceName = params.get("InstanceName")
|
472
|
+
self._TopicNum = params.get("TopicNum")
|
473
|
+
self._TopicNumLimit = params.get("TopicNumLimit")
|
474
|
+
self._TpsLimit = params.get("TpsLimit")
|
475
|
+
self._CreatedTime = params.get("CreatedTime")
|
476
|
+
self._Remark = params.get("Remark")
|
477
|
+
self._InstanceStatus = params.get("InstanceStatus")
|
478
|
+
self._SkuCode = params.get("SkuCode")
|
479
|
+
self._MaxSubscriptionPerClient = params.get("MaxSubscriptionPerClient")
|
480
|
+
self._AuthorizationPolicyLimit = params.get("AuthorizationPolicyLimit")
|
481
|
+
self._ClientNumLimit = params.get("ClientNumLimit")
|
482
|
+
self._DeviceCertificateProvisionType = params.get("DeviceCertificateProvisionType")
|
483
|
+
self._AutomaticActivation = params.get("AutomaticActivation")
|
484
|
+
self._RenewFlag = params.get("RenewFlag")
|
485
|
+
self._PayMode = params.get("PayMode")
|
486
|
+
self._ExpiryTime = params.get("ExpiryTime")
|
487
|
+
self._DestroyTime = params.get("DestroyTime")
|
488
|
+
self._X509Mode = params.get("X509Mode")
|
489
|
+
self._MaxCaNum = params.get("MaxCaNum")
|
490
|
+
self._RegistrationCode = params.get("RegistrationCode")
|
491
|
+
self._MaxSubscription = params.get("MaxSubscription")
|
492
|
+
self._RequestId = params.get("RequestId")
|
493
|
+
|
494
|
+
|
495
|
+
class Filter(AbstractModel):
|
496
|
+
"""查询过滤器
|
497
|
+
|
498
|
+
"""
|
499
|
+
|
500
|
+
def __init__(self):
|
501
|
+
r"""
|
502
|
+
:param _Name: 过滤条件名
|
503
|
+
:type Name: str
|
504
|
+
:param _Values: 过滤条件的值
|
505
|
+
:type Values: list of str
|
506
|
+
"""
|
507
|
+
self._Name = None
|
508
|
+
self._Values = None
|
509
|
+
|
510
|
+
@property
|
511
|
+
def Name(self):
|
512
|
+
return self._Name
|
513
|
+
|
514
|
+
@Name.setter
|
515
|
+
def Name(self, Name):
|
516
|
+
self._Name = Name
|
517
|
+
|
518
|
+
@property
|
519
|
+
def Values(self):
|
520
|
+
return self._Values
|
521
|
+
|
522
|
+
@Values.setter
|
523
|
+
def Values(self, Values):
|
524
|
+
self._Values = Values
|
525
|
+
|
526
|
+
|
527
|
+
def _deserialize(self, params):
|
528
|
+
self._Name = params.get("Name")
|
529
|
+
self._Values = params.get("Values")
|
530
|
+
memeber_set = set(params.keys())
|
531
|
+
for name, value in vars(self).items():
|
532
|
+
property_name = name[1:]
|
533
|
+
if property_name in memeber_set:
|
534
|
+
memeber_set.remove(property_name)
|
535
|
+
if len(memeber_set) > 0:
|
536
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
537
|
+
|
538
|
+
|
539
|
+
|
540
|
+
class MQTTInstanceItem(AbstractModel):
|
541
|
+
"""MQTT 实例信息
|
542
|
+
|
543
|
+
"""
|
544
|
+
|
545
|
+
def __init__(self):
|
546
|
+
r"""
|
547
|
+
:param _InstanceId: 实例ID
|
548
|
+
:type InstanceId: str
|
549
|
+
:param _InstanceName: 实例名称
|
550
|
+
:type InstanceName: str
|
551
|
+
:param _Version: 实例版本
|
552
|
+
:type Version: str
|
553
|
+
:param _InstanceType: 实例类型,
|
554
|
+
EXPERIMENT,体验版
|
555
|
+
BASIC,基础版
|
556
|
+
PRO,专业版
|
557
|
+
PLATINUM,铂金版
|
558
|
+
:type InstanceType: str
|
559
|
+
:param _InstanceStatus: 实例状态,
|
560
|
+
RUNNING, 运行中
|
561
|
+
MAINTAINING,维护中
|
562
|
+
ABNORMAL,异常
|
563
|
+
OVERDUE,欠费
|
564
|
+
DESTROYED,已删除
|
565
|
+
CREATING,创建中
|
566
|
+
MODIFYING,变配中
|
567
|
+
CREATE_FAILURE,创建失败
|
568
|
+
MODIFY_FAILURE,变配失败
|
569
|
+
DELETING,删除中
|
570
|
+
:type InstanceStatus: str
|
571
|
+
:param _TopicNumLimit: 实例主题数上限
|
572
|
+
:type TopicNumLimit: int
|
573
|
+
:param _Remark: 备注信息
|
574
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
575
|
+
:type Remark: str
|
576
|
+
:param _TopicNum: 主题数量
|
577
|
+
:type TopicNum: int
|
578
|
+
:param _SkuCode: 商品规格
|
579
|
+
:type SkuCode: str
|
580
|
+
:param _TpsLimit: 弹性TPS限流值
|
581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
582
|
+
:type TpsLimit: int
|
583
|
+
:param _CreateTime: 创建时间
|
584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
585
|
+
:type CreateTime: int
|
586
|
+
:param _MaxSubscriptionPerClient: 单客户端最大订阅数量
|
587
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
588
|
+
:type MaxSubscriptionPerClient: int
|
589
|
+
:param _ClientNumLimit: 客户端连接数上线
|
590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
591
|
+
:type ClientNumLimit: int
|
592
|
+
:param _RenewFlag: 是否自动续费
|
593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
594
|
+
:type RenewFlag: int
|
595
|
+
:param _PayMode: 计费模式, POSTPAID,按量计费 PREPAID,包年包月
|
596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
597
|
+
:type PayMode: str
|
598
|
+
:param _ExpiryTime: 到期时间,秒为单位
|
599
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
600
|
+
:type ExpiryTime: int
|
601
|
+
:param _DestroyTime: 预销毁时间
|
602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
603
|
+
:type DestroyTime: int
|
604
|
+
:param _AuthorizationPolicyLimit: 授权规则条数限制
|
605
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
606
|
+
:type AuthorizationPolicyLimit: int
|
607
|
+
:param _MaxCaNum: 最大ca配额
|
608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
609
|
+
:type MaxCaNum: int
|
610
|
+
:param _MaxSubscription: 最大订阅数
|
611
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
612
|
+
:type MaxSubscription: int
|
613
|
+
"""
|
614
|
+
self._InstanceId = None
|
615
|
+
self._InstanceName = None
|
616
|
+
self._Version = None
|
617
|
+
self._InstanceType = None
|
618
|
+
self._InstanceStatus = None
|
619
|
+
self._TopicNumLimit = None
|
620
|
+
self._Remark = None
|
621
|
+
self._TopicNum = None
|
622
|
+
self._SkuCode = None
|
623
|
+
self._TpsLimit = None
|
624
|
+
self._CreateTime = None
|
625
|
+
self._MaxSubscriptionPerClient = None
|
626
|
+
self._ClientNumLimit = None
|
627
|
+
self._RenewFlag = None
|
628
|
+
self._PayMode = None
|
629
|
+
self._ExpiryTime = None
|
630
|
+
self._DestroyTime = None
|
631
|
+
self._AuthorizationPolicyLimit = None
|
632
|
+
self._MaxCaNum = None
|
633
|
+
self._MaxSubscription = None
|
634
|
+
|
635
|
+
@property
|
636
|
+
def InstanceId(self):
|
637
|
+
return self._InstanceId
|
638
|
+
|
639
|
+
@InstanceId.setter
|
640
|
+
def InstanceId(self, InstanceId):
|
641
|
+
self._InstanceId = InstanceId
|
642
|
+
|
643
|
+
@property
|
644
|
+
def InstanceName(self):
|
645
|
+
return self._InstanceName
|
646
|
+
|
647
|
+
@InstanceName.setter
|
648
|
+
def InstanceName(self, InstanceName):
|
649
|
+
self._InstanceName = InstanceName
|
650
|
+
|
651
|
+
@property
|
652
|
+
def Version(self):
|
653
|
+
return self._Version
|
654
|
+
|
655
|
+
@Version.setter
|
656
|
+
def Version(self, Version):
|
657
|
+
self._Version = Version
|
658
|
+
|
659
|
+
@property
|
660
|
+
def InstanceType(self):
|
661
|
+
return self._InstanceType
|
662
|
+
|
663
|
+
@InstanceType.setter
|
664
|
+
def InstanceType(self, InstanceType):
|
665
|
+
self._InstanceType = InstanceType
|
666
|
+
|
667
|
+
@property
|
668
|
+
def InstanceStatus(self):
|
669
|
+
return self._InstanceStatus
|
670
|
+
|
671
|
+
@InstanceStatus.setter
|
672
|
+
def InstanceStatus(self, InstanceStatus):
|
673
|
+
self._InstanceStatus = InstanceStatus
|
674
|
+
|
675
|
+
@property
|
676
|
+
def TopicNumLimit(self):
|
677
|
+
return self._TopicNumLimit
|
678
|
+
|
679
|
+
@TopicNumLimit.setter
|
680
|
+
def TopicNumLimit(self, TopicNumLimit):
|
681
|
+
self._TopicNumLimit = TopicNumLimit
|
682
|
+
|
683
|
+
@property
|
684
|
+
def Remark(self):
|
685
|
+
return self._Remark
|
686
|
+
|
687
|
+
@Remark.setter
|
688
|
+
def Remark(self, Remark):
|
689
|
+
self._Remark = Remark
|
690
|
+
|
691
|
+
@property
|
692
|
+
def TopicNum(self):
|
693
|
+
return self._TopicNum
|
694
|
+
|
695
|
+
@TopicNum.setter
|
696
|
+
def TopicNum(self, TopicNum):
|
697
|
+
self._TopicNum = TopicNum
|
698
|
+
|
699
|
+
@property
|
700
|
+
def SkuCode(self):
|
701
|
+
return self._SkuCode
|
702
|
+
|
703
|
+
@SkuCode.setter
|
704
|
+
def SkuCode(self, SkuCode):
|
705
|
+
self._SkuCode = SkuCode
|
706
|
+
|
707
|
+
@property
|
708
|
+
def TpsLimit(self):
|
709
|
+
return self._TpsLimit
|
710
|
+
|
711
|
+
@TpsLimit.setter
|
712
|
+
def TpsLimit(self, TpsLimit):
|
713
|
+
self._TpsLimit = TpsLimit
|
714
|
+
|
715
|
+
@property
|
716
|
+
def CreateTime(self):
|
717
|
+
return self._CreateTime
|
718
|
+
|
719
|
+
@CreateTime.setter
|
720
|
+
def CreateTime(self, CreateTime):
|
721
|
+
self._CreateTime = CreateTime
|
722
|
+
|
723
|
+
@property
|
724
|
+
def MaxSubscriptionPerClient(self):
|
725
|
+
return self._MaxSubscriptionPerClient
|
726
|
+
|
727
|
+
@MaxSubscriptionPerClient.setter
|
728
|
+
def MaxSubscriptionPerClient(self, MaxSubscriptionPerClient):
|
729
|
+
self._MaxSubscriptionPerClient = MaxSubscriptionPerClient
|
730
|
+
|
731
|
+
@property
|
732
|
+
def ClientNumLimit(self):
|
733
|
+
return self._ClientNumLimit
|
734
|
+
|
735
|
+
@ClientNumLimit.setter
|
736
|
+
def ClientNumLimit(self, ClientNumLimit):
|
737
|
+
self._ClientNumLimit = ClientNumLimit
|
738
|
+
|
739
|
+
@property
|
740
|
+
def RenewFlag(self):
|
741
|
+
return self._RenewFlag
|
742
|
+
|
743
|
+
@RenewFlag.setter
|
744
|
+
def RenewFlag(self, RenewFlag):
|
745
|
+
self._RenewFlag = RenewFlag
|
746
|
+
|
747
|
+
@property
|
748
|
+
def PayMode(self):
|
749
|
+
return self._PayMode
|
750
|
+
|
751
|
+
@PayMode.setter
|
752
|
+
def PayMode(self, PayMode):
|
753
|
+
self._PayMode = PayMode
|
754
|
+
|
755
|
+
@property
|
756
|
+
def ExpiryTime(self):
|
757
|
+
return self._ExpiryTime
|
758
|
+
|
759
|
+
@ExpiryTime.setter
|
760
|
+
def ExpiryTime(self, ExpiryTime):
|
761
|
+
self._ExpiryTime = ExpiryTime
|
762
|
+
|
763
|
+
@property
|
764
|
+
def DestroyTime(self):
|
765
|
+
return self._DestroyTime
|
766
|
+
|
767
|
+
@DestroyTime.setter
|
768
|
+
def DestroyTime(self, DestroyTime):
|
769
|
+
self._DestroyTime = DestroyTime
|
770
|
+
|
771
|
+
@property
|
772
|
+
def AuthorizationPolicyLimit(self):
|
773
|
+
return self._AuthorizationPolicyLimit
|
774
|
+
|
775
|
+
@AuthorizationPolicyLimit.setter
|
776
|
+
def AuthorizationPolicyLimit(self, AuthorizationPolicyLimit):
|
777
|
+
self._AuthorizationPolicyLimit = AuthorizationPolicyLimit
|
778
|
+
|
779
|
+
@property
|
780
|
+
def MaxCaNum(self):
|
781
|
+
return self._MaxCaNum
|
782
|
+
|
783
|
+
@MaxCaNum.setter
|
784
|
+
def MaxCaNum(self, MaxCaNum):
|
785
|
+
self._MaxCaNum = MaxCaNum
|
786
|
+
|
787
|
+
@property
|
788
|
+
def MaxSubscription(self):
|
789
|
+
return self._MaxSubscription
|
790
|
+
|
791
|
+
@MaxSubscription.setter
|
792
|
+
def MaxSubscription(self, MaxSubscription):
|
793
|
+
self._MaxSubscription = MaxSubscription
|
794
|
+
|
795
|
+
|
796
|
+
def _deserialize(self, params):
|
797
|
+
self._InstanceId = params.get("InstanceId")
|
798
|
+
self._InstanceName = params.get("InstanceName")
|
799
|
+
self._Version = params.get("Version")
|
800
|
+
self._InstanceType = params.get("InstanceType")
|
801
|
+
self._InstanceStatus = params.get("InstanceStatus")
|
802
|
+
self._TopicNumLimit = params.get("TopicNumLimit")
|
803
|
+
self._Remark = params.get("Remark")
|
804
|
+
self._TopicNum = params.get("TopicNum")
|
805
|
+
self._SkuCode = params.get("SkuCode")
|
806
|
+
self._TpsLimit = params.get("TpsLimit")
|
807
|
+
self._CreateTime = params.get("CreateTime")
|
808
|
+
self._MaxSubscriptionPerClient = params.get("MaxSubscriptionPerClient")
|
809
|
+
self._ClientNumLimit = params.get("ClientNumLimit")
|
810
|
+
self._RenewFlag = params.get("RenewFlag")
|
811
|
+
self._PayMode = params.get("PayMode")
|
812
|
+
self._ExpiryTime = params.get("ExpiryTime")
|
813
|
+
self._DestroyTime = params.get("DestroyTime")
|
814
|
+
self._AuthorizationPolicyLimit = params.get("AuthorizationPolicyLimit")
|
815
|
+
self._MaxCaNum = params.get("MaxCaNum")
|
816
|
+
self._MaxSubscription = params.get("MaxSubscription")
|
817
|
+
memeber_set = set(params.keys())
|
818
|
+
for name, value in vars(self).items():
|
819
|
+
property_name = name[1:]
|
820
|
+
if property_name in memeber_set:
|
821
|
+
memeber_set.remove(property_name)
|
822
|
+
if len(memeber_set) > 0:
|
823
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
824
|
+
|
825
|
+
|
826
|
+
|
827
|
+
class TagFilter(AbstractModel):
|
828
|
+
"""标签过滤器
|
829
|
+
|
830
|
+
"""
|
831
|
+
|
832
|
+
def __init__(self):
|
833
|
+
r"""
|
834
|
+
:param _TagKey: 标签键名称
|
835
|
+
:type TagKey: str
|
836
|
+
:param _TagValues: 标签键名称
|
837
|
+
:type TagValues: list of str
|
838
|
+
"""
|
839
|
+
self._TagKey = None
|
840
|
+
self._TagValues = None
|
841
|
+
|
842
|
+
@property
|
843
|
+
def TagKey(self):
|
844
|
+
return self._TagKey
|
845
|
+
|
846
|
+
@TagKey.setter
|
847
|
+
def TagKey(self, TagKey):
|
848
|
+
self._TagKey = TagKey
|
849
|
+
|
850
|
+
@property
|
851
|
+
def TagValues(self):
|
852
|
+
return self._TagValues
|
853
|
+
|
854
|
+
@TagValues.setter
|
855
|
+
def TagValues(self, TagValues):
|
856
|
+
self._TagValues = TagValues
|
857
|
+
|
858
|
+
|
859
|
+
def _deserialize(self, params):
|
860
|
+
self._TagKey = params.get("TagKey")
|
861
|
+
self._TagValues = params.get("TagValues")
|
862
|
+
memeber_set = set(params.keys())
|
863
|
+
for name, value in vars(self).items():
|
864
|
+
property_name = name[1:]
|
865
|
+
if property_name in memeber_set:
|
866
|
+
memeber_set.remove(property_name)
|
867
|
+
if len(memeber_set) > 0:
|
868
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
869
|
+
|