tencentcloud-sdk-python-rce 3.1.110__tar.gz → 3.1.127__tar.gz
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_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/setup.py +1 -1
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20250425/models.py +451 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud_sdk_python_rce.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_rce-3.1.127/tencentcloud_sdk_python_rce.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_rce-3.1.110/tencentcloud_sdk_python_rce.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/README.rst +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/setup.cfg +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/__init__.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20201103/__init__.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20201103/errorcodes.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20201103/models.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20201103/rce_client.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20201103/rce_client_async.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20250425/__init__.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20250425/errorcodes.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20250425/rce_client.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud/rce/v20250425/rce_client_async.py +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud_sdk_python_rce.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud_sdk_python_rce.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_rce-3.1.110 → tencentcloud_sdk_python_rce-3.1.127}/tencentcloud_sdk_python_rce.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-rce
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.127
|
|
4
4
|
Summary: Tencent Cloud Rce SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-rce',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.127,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Rce SDK for Python',
|
|
@@ -18,6 +18,423 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class IpLocationInfo(AbstractModel):
|
|
22
|
+
r"""IP地理位置信息
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _Country: <p>IP地址所属国家</p>
|
|
29
|
+
:type Country: str
|
|
30
|
+
:param _Region: <p>IP地址所属省份</p>
|
|
31
|
+
:type Region: str
|
|
32
|
+
:param _City: <p>IP地址所属城市</p>
|
|
33
|
+
:type City: str
|
|
34
|
+
:param _District: <p>IP地址所属地区</p>
|
|
35
|
+
:type District: str
|
|
36
|
+
:param _Longitude: <p>IP地址的经度</p>
|
|
37
|
+
:type Longitude: str
|
|
38
|
+
:param _Latitude: <p>IP地址的纬度</p>
|
|
39
|
+
:type Latitude: str
|
|
40
|
+
:param _Timezone: <p>IP地址所属时区</p>
|
|
41
|
+
:type Timezone: str
|
|
42
|
+
:param _ZipCode: <p>IP地址的邮政编码</p>
|
|
43
|
+
:type ZipCode: str
|
|
44
|
+
"""
|
|
45
|
+
self._Country = None
|
|
46
|
+
self._Region = None
|
|
47
|
+
self._City = None
|
|
48
|
+
self._District = None
|
|
49
|
+
self._Longitude = None
|
|
50
|
+
self._Latitude = None
|
|
51
|
+
self._Timezone = None
|
|
52
|
+
self._ZipCode = None
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def Country(self):
|
|
56
|
+
r"""<p>IP地址所属国家</p>
|
|
57
|
+
:rtype: str
|
|
58
|
+
"""
|
|
59
|
+
return self._Country
|
|
60
|
+
|
|
61
|
+
@Country.setter
|
|
62
|
+
def Country(self, Country):
|
|
63
|
+
self._Country = Country
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def Region(self):
|
|
67
|
+
r"""<p>IP地址所属省份</p>
|
|
68
|
+
:rtype: str
|
|
69
|
+
"""
|
|
70
|
+
return self._Region
|
|
71
|
+
|
|
72
|
+
@Region.setter
|
|
73
|
+
def Region(self, Region):
|
|
74
|
+
self._Region = Region
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
def City(self):
|
|
78
|
+
r"""<p>IP地址所属城市</p>
|
|
79
|
+
:rtype: str
|
|
80
|
+
"""
|
|
81
|
+
return self._City
|
|
82
|
+
|
|
83
|
+
@City.setter
|
|
84
|
+
def City(self, City):
|
|
85
|
+
self._City = City
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
def District(self):
|
|
89
|
+
r"""<p>IP地址所属地区</p>
|
|
90
|
+
:rtype: str
|
|
91
|
+
"""
|
|
92
|
+
return self._District
|
|
93
|
+
|
|
94
|
+
@District.setter
|
|
95
|
+
def District(self, District):
|
|
96
|
+
self._District = District
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def Longitude(self):
|
|
100
|
+
r"""<p>IP地址的经度</p>
|
|
101
|
+
:rtype: str
|
|
102
|
+
"""
|
|
103
|
+
return self._Longitude
|
|
104
|
+
|
|
105
|
+
@Longitude.setter
|
|
106
|
+
def Longitude(self, Longitude):
|
|
107
|
+
self._Longitude = Longitude
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def Latitude(self):
|
|
111
|
+
r"""<p>IP地址的纬度</p>
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._Latitude
|
|
115
|
+
|
|
116
|
+
@Latitude.setter
|
|
117
|
+
def Latitude(self, Latitude):
|
|
118
|
+
self._Latitude = Latitude
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def Timezone(self):
|
|
122
|
+
r"""<p>IP地址所属时区</p>
|
|
123
|
+
:rtype: str
|
|
124
|
+
"""
|
|
125
|
+
return self._Timezone
|
|
126
|
+
|
|
127
|
+
@Timezone.setter
|
|
128
|
+
def Timezone(self, Timezone):
|
|
129
|
+
self._Timezone = Timezone
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def ZipCode(self):
|
|
133
|
+
r"""<p>IP地址的邮政编码</p>
|
|
134
|
+
:rtype: str
|
|
135
|
+
"""
|
|
136
|
+
return self._ZipCode
|
|
137
|
+
|
|
138
|
+
@ZipCode.setter
|
|
139
|
+
def ZipCode(self, ZipCode):
|
|
140
|
+
self._ZipCode = ZipCode
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def _deserialize(self, params):
|
|
144
|
+
self._Country = params.get("Country")
|
|
145
|
+
self._Region = params.get("Region")
|
|
146
|
+
self._City = params.get("City")
|
|
147
|
+
self._District = params.get("District")
|
|
148
|
+
self._Longitude = params.get("Longitude")
|
|
149
|
+
self._Latitude = params.get("Latitude")
|
|
150
|
+
self._Timezone = params.get("Timezone")
|
|
151
|
+
self._ZipCode = params.get("ZipCode")
|
|
152
|
+
memeber_set = set(params.keys())
|
|
153
|
+
for name, value in vars(self).items():
|
|
154
|
+
property_name = name[1:]
|
|
155
|
+
if property_name in memeber_set:
|
|
156
|
+
memeber_set.remove(property_name)
|
|
157
|
+
if len(memeber_set) > 0:
|
|
158
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
class IpNetworkInfo(AbstractModel):
|
|
163
|
+
r"""IP基础网络信息
|
|
164
|
+
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
def __init__(self):
|
|
168
|
+
r"""
|
|
169
|
+
:param _ISP: <p>互联网服务提供商</p>
|
|
170
|
+
:type ISP: str
|
|
171
|
+
:param _ASN: <p>自治系统号</p>
|
|
172
|
+
:type ASN: str
|
|
173
|
+
:param _Organization: <p>IP注册组织名称</p>
|
|
174
|
+
:type Organization: str
|
|
175
|
+
:param _IsReserved: <p>是否保留IP</p>
|
|
176
|
+
:type IsReserved: bool
|
|
177
|
+
:param _IsGateway: <p>是否网关IP</p>
|
|
178
|
+
:type IsGateway: bool
|
|
179
|
+
:param _IsAnycast: <p>是否任播网络</p>
|
|
180
|
+
:type IsAnycast: bool
|
|
181
|
+
:param _IsMobile: <p>是否移动网络</p>
|
|
182
|
+
:type IsMobile: bool
|
|
183
|
+
:param _IsDynamic: <p>是否动态IP</p>
|
|
184
|
+
:type IsDynamic: bool
|
|
185
|
+
:param _IsEgress: <p>是否网络出口</p>
|
|
186
|
+
:type IsEgress: bool
|
|
187
|
+
:param _IsDNS: <p>是否域名解析</p>
|
|
188
|
+
:type IsDNS: bool
|
|
189
|
+
:param _IsEducation: <p>是否教育机构</p>
|
|
190
|
+
:type IsEducation: bool
|
|
191
|
+
:param _IsInstitution: <p>是否组织机构</p>
|
|
192
|
+
:type IsInstitution: bool
|
|
193
|
+
:param _IsCompany: <p>是否企业专线</p>
|
|
194
|
+
:type IsCompany: bool
|
|
195
|
+
:param _IsResidence: <p>是否家用宽带</p>
|
|
196
|
+
:type IsResidence: bool
|
|
197
|
+
:param _IsCloudService: <p>是否云服务</p>
|
|
198
|
+
:type IsCloudService: bool
|
|
199
|
+
:param _IsInfrastructure: <p>是否基础设施</p>
|
|
200
|
+
:type IsInfrastructure: bool
|
|
201
|
+
:param _IsMXServer: <p>是否邮箱服务</p>
|
|
202
|
+
:type IsMXServer: bool
|
|
203
|
+
"""
|
|
204
|
+
self._ISP = None
|
|
205
|
+
self._ASN = None
|
|
206
|
+
self._Organization = None
|
|
207
|
+
self._IsReserved = None
|
|
208
|
+
self._IsGateway = None
|
|
209
|
+
self._IsAnycast = None
|
|
210
|
+
self._IsMobile = None
|
|
211
|
+
self._IsDynamic = None
|
|
212
|
+
self._IsEgress = None
|
|
213
|
+
self._IsDNS = None
|
|
214
|
+
self._IsEducation = None
|
|
215
|
+
self._IsInstitution = None
|
|
216
|
+
self._IsCompany = None
|
|
217
|
+
self._IsResidence = None
|
|
218
|
+
self._IsCloudService = None
|
|
219
|
+
self._IsInfrastructure = None
|
|
220
|
+
self._IsMXServer = None
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
def ISP(self):
|
|
224
|
+
r"""<p>互联网服务提供商</p>
|
|
225
|
+
:rtype: str
|
|
226
|
+
"""
|
|
227
|
+
return self._ISP
|
|
228
|
+
|
|
229
|
+
@ISP.setter
|
|
230
|
+
def ISP(self, ISP):
|
|
231
|
+
self._ISP = ISP
|
|
232
|
+
|
|
233
|
+
@property
|
|
234
|
+
def ASN(self):
|
|
235
|
+
r"""<p>自治系统号</p>
|
|
236
|
+
:rtype: str
|
|
237
|
+
"""
|
|
238
|
+
return self._ASN
|
|
239
|
+
|
|
240
|
+
@ASN.setter
|
|
241
|
+
def ASN(self, ASN):
|
|
242
|
+
self._ASN = ASN
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
def Organization(self):
|
|
246
|
+
r"""<p>IP注册组织名称</p>
|
|
247
|
+
:rtype: str
|
|
248
|
+
"""
|
|
249
|
+
return self._Organization
|
|
250
|
+
|
|
251
|
+
@Organization.setter
|
|
252
|
+
def Organization(self, Organization):
|
|
253
|
+
self._Organization = Organization
|
|
254
|
+
|
|
255
|
+
@property
|
|
256
|
+
def IsReserved(self):
|
|
257
|
+
r"""<p>是否保留IP</p>
|
|
258
|
+
:rtype: bool
|
|
259
|
+
"""
|
|
260
|
+
return self._IsReserved
|
|
261
|
+
|
|
262
|
+
@IsReserved.setter
|
|
263
|
+
def IsReserved(self, IsReserved):
|
|
264
|
+
self._IsReserved = IsReserved
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
def IsGateway(self):
|
|
268
|
+
r"""<p>是否网关IP</p>
|
|
269
|
+
:rtype: bool
|
|
270
|
+
"""
|
|
271
|
+
return self._IsGateway
|
|
272
|
+
|
|
273
|
+
@IsGateway.setter
|
|
274
|
+
def IsGateway(self, IsGateway):
|
|
275
|
+
self._IsGateway = IsGateway
|
|
276
|
+
|
|
277
|
+
@property
|
|
278
|
+
def IsAnycast(self):
|
|
279
|
+
r"""<p>是否任播网络</p>
|
|
280
|
+
:rtype: bool
|
|
281
|
+
"""
|
|
282
|
+
return self._IsAnycast
|
|
283
|
+
|
|
284
|
+
@IsAnycast.setter
|
|
285
|
+
def IsAnycast(self, IsAnycast):
|
|
286
|
+
self._IsAnycast = IsAnycast
|
|
287
|
+
|
|
288
|
+
@property
|
|
289
|
+
def IsMobile(self):
|
|
290
|
+
r"""<p>是否移动网络</p>
|
|
291
|
+
:rtype: bool
|
|
292
|
+
"""
|
|
293
|
+
return self._IsMobile
|
|
294
|
+
|
|
295
|
+
@IsMobile.setter
|
|
296
|
+
def IsMobile(self, IsMobile):
|
|
297
|
+
self._IsMobile = IsMobile
|
|
298
|
+
|
|
299
|
+
@property
|
|
300
|
+
def IsDynamic(self):
|
|
301
|
+
r"""<p>是否动态IP</p>
|
|
302
|
+
:rtype: bool
|
|
303
|
+
"""
|
|
304
|
+
return self._IsDynamic
|
|
305
|
+
|
|
306
|
+
@IsDynamic.setter
|
|
307
|
+
def IsDynamic(self, IsDynamic):
|
|
308
|
+
self._IsDynamic = IsDynamic
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
def IsEgress(self):
|
|
312
|
+
r"""<p>是否网络出口</p>
|
|
313
|
+
:rtype: bool
|
|
314
|
+
"""
|
|
315
|
+
return self._IsEgress
|
|
316
|
+
|
|
317
|
+
@IsEgress.setter
|
|
318
|
+
def IsEgress(self, IsEgress):
|
|
319
|
+
self._IsEgress = IsEgress
|
|
320
|
+
|
|
321
|
+
@property
|
|
322
|
+
def IsDNS(self):
|
|
323
|
+
r"""<p>是否域名解析</p>
|
|
324
|
+
:rtype: bool
|
|
325
|
+
"""
|
|
326
|
+
return self._IsDNS
|
|
327
|
+
|
|
328
|
+
@IsDNS.setter
|
|
329
|
+
def IsDNS(self, IsDNS):
|
|
330
|
+
self._IsDNS = IsDNS
|
|
331
|
+
|
|
332
|
+
@property
|
|
333
|
+
def IsEducation(self):
|
|
334
|
+
r"""<p>是否教育机构</p>
|
|
335
|
+
:rtype: bool
|
|
336
|
+
"""
|
|
337
|
+
return self._IsEducation
|
|
338
|
+
|
|
339
|
+
@IsEducation.setter
|
|
340
|
+
def IsEducation(self, IsEducation):
|
|
341
|
+
self._IsEducation = IsEducation
|
|
342
|
+
|
|
343
|
+
@property
|
|
344
|
+
def IsInstitution(self):
|
|
345
|
+
r"""<p>是否组织机构</p>
|
|
346
|
+
:rtype: bool
|
|
347
|
+
"""
|
|
348
|
+
return self._IsInstitution
|
|
349
|
+
|
|
350
|
+
@IsInstitution.setter
|
|
351
|
+
def IsInstitution(self, IsInstitution):
|
|
352
|
+
self._IsInstitution = IsInstitution
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
def IsCompany(self):
|
|
356
|
+
r"""<p>是否企业专线</p>
|
|
357
|
+
:rtype: bool
|
|
358
|
+
"""
|
|
359
|
+
return self._IsCompany
|
|
360
|
+
|
|
361
|
+
@IsCompany.setter
|
|
362
|
+
def IsCompany(self, IsCompany):
|
|
363
|
+
self._IsCompany = IsCompany
|
|
364
|
+
|
|
365
|
+
@property
|
|
366
|
+
def IsResidence(self):
|
|
367
|
+
r"""<p>是否家用宽带</p>
|
|
368
|
+
:rtype: bool
|
|
369
|
+
"""
|
|
370
|
+
return self._IsResidence
|
|
371
|
+
|
|
372
|
+
@IsResidence.setter
|
|
373
|
+
def IsResidence(self, IsResidence):
|
|
374
|
+
self._IsResidence = IsResidence
|
|
375
|
+
|
|
376
|
+
@property
|
|
377
|
+
def IsCloudService(self):
|
|
378
|
+
r"""<p>是否云服务</p>
|
|
379
|
+
:rtype: bool
|
|
380
|
+
"""
|
|
381
|
+
return self._IsCloudService
|
|
382
|
+
|
|
383
|
+
@IsCloudService.setter
|
|
384
|
+
def IsCloudService(self, IsCloudService):
|
|
385
|
+
self._IsCloudService = IsCloudService
|
|
386
|
+
|
|
387
|
+
@property
|
|
388
|
+
def IsInfrastructure(self):
|
|
389
|
+
r"""<p>是否基础设施</p>
|
|
390
|
+
:rtype: bool
|
|
391
|
+
"""
|
|
392
|
+
return self._IsInfrastructure
|
|
393
|
+
|
|
394
|
+
@IsInfrastructure.setter
|
|
395
|
+
def IsInfrastructure(self, IsInfrastructure):
|
|
396
|
+
self._IsInfrastructure = IsInfrastructure
|
|
397
|
+
|
|
398
|
+
@property
|
|
399
|
+
def IsMXServer(self):
|
|
400
|
+
r"""<p>是否邮箱服务</p>
|
|
401
|
+
:rtype: bool
|
|
402
|
+
"""
|
|
403
|
+
return self._IsMXServer
|
|
404
|
+
|
|
405
|
+
@IsMXServer.setter
|
|
406
|
+
def IsMXServer(self, IsMXServer):
|
|
407
|
+
self._IsMXServer = IsMXServer
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
def _deserialize(self, params):
|
|
411
|
+
self._ISP = params.get("ISP")
|
|
412
|
+
self._ASN = params.get("ASN")
|
|
413
|
+
self._Organization = params.get("Organization")
|
|
414
|
+
self._IsReserved = params.get("IsReserved")
|
|
415
|
+
self._IsGateway = params.get("IsGateway")
|
|
416
|
+
self._IsAnycast = params.get("IsAnycast")
|
|
417
|
+
self._IsMobile = params.get("IsMobile")
|
|
418
|
+
self._IsDynamic = params.get("IsDynamic")
|
|
419
|
+
self._IsEgress = params.get("IsEgress")
|
|
420
|
+
self._IsDNS = params.get("IsDNS")
|
|
421
|
+
self._IsEducation = params.get("IsEducation")
|
|
422
|
+
self._IsInstitution = params.get("IsInstitution")
|
|
423
|
+
self._IsCompany = params.get("IsCompany")
|
|
424
|
+
self._IsResidence = params.get("IsResidence")
|
|
425
|
+
self._IsCloudService = params.get("IsCloudService")
|
|
426
|
+
self._IsInfrastructure = params.get("IsInfrastructure")
|
|
427
|
+
self._IsMXServer = params.get("IsMXServer")
|
|
428
|
+
memeber_set = set(params.keys())
|
|
429
|
+
for name, value in vars(self).items():
|
|
430
|
+
property_name = name[1:]
|
|
431
|
+
if property_name in memeber_set:
|
|
432
|
+
memeber_set.remove(property_name)
|
|
433
|
+
if len(memeber_set) > 0:
|
|
434
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
21
438
|
class ManageIPPortraitRiskInput(AbstractModel):
|
|
22
439
|
r"""业务入参
|
|
23
440
|
|
|
@@ -248,10 +665,16 @@ class ManageIPPortraitRiskValueOutput(AbstractModel):
|
|
|
248
665
|
:type RiskScore: int
|
|
249
666
|
:param _RiskType: <p>风险类型<br>730001:垃圾邮件,当前IP存在未经用户请求或同意,大量发送的广告、欺诈或推广信息,通常通过邮件、短信或社交消息传播。<br>730002:恶意行为,当前IP存在破坏、窃取、干扰或未授权访问为目的的故意行为。<br>730003:恶意工具,当前IP关联用于实施恶意行为的软件或脚本,如病毒、木马、勒索软件、漏洞利用工具等。<br>730004:匿名IP,通过代理、Tor网络等技术手段隐藏真实来源的IP地址,存在逃避定位或实施攻击风险。<br>730005:开放端口,网络上处于开放状态的服务入口,若配置不当或存在漏洞。<br>730006:养号,当前IP存在通过模拟正常操作(如登录、浏览)维护和提升账号的活跃度与可信度行为。<br>730007:IDC,互联网数据中心,可能被黑客利用来托管恶意服务或发动攻击。<br>730008:晒号,当前IP在公开或地下论坛展示、交易非法获取的各类账号(如游戏、社交、金融账号)的行为。<br>730009:盗号,当前IP存在通过钓鱼、撞库、木马等手段,非法获取他人账号的登录凭证(用户名、密码等)行为。<br>730010:代理,作为中间节点转发网络流量,可用于隐藏真实IP、绕过地域限制。<br>730011:扫描,使用工具自动探测目标网络或系统的开放端口、服务、漏洞等。<br>730012:秒拨,当前IP通过不断重新拨号以快速切换IP地址,常被用于绕过基于IP的频率限制或封禁。<br>730013:爬虫,自动抓取网络信息的脚本或程序。<br>730014:VPN 虚拟专用网络。<br>730015:僵尸网络,当前IP由攻击者通过恶意软件控制的、大规模联网设备(如电脑、IoT设备)集群,可能被用于发动DDoS攻击、发送垃圾邮件等。<br>730016:网络攻击,当前IP存在对计算机系统、网络或数据的任何进攻行为。</p>
|
|
250
667
|
:type RiskType: list of int
|
|
668
|
+
:param _IpLocation: <p>IP地理位置信息</p>
|
|
669
|
+
:type IpLocation: :class:`tencentcloud.rce.v20250425.models.IpLocationInfo`
|
|
670
|
+
:param _IpNetwork: <p>IP基础网络信息</p>
|
|
671
|
+
:type IpNetwork: :class:`tencentcloud.rce.v20250425.models.IpNetworkInfo`
|
|
251
672
|
"""
|
|
252
673
|
self._UserIp = None
|
|
253
674
|
self._RiskScore = None
|
|
254
675
|
self._RiskType = None
|
|
676
|
+
self._IpLocation = None
|
|
677
|
+
self._IpNetwork = None
|
|
255
678
|
|
|
256
679
|
@property
|
|
257
680
|
def UserIp(self):
|
|
@@ -286,11 +709,39 @@ class ManageIPPortraitRiskValueOutput(AbstractModel):
|
|
|
286
709
|
def RiskType(self, RiskType):
|
|
287
710
|
self._RiskType = RiskType
|
|
288
711
|
|
|
712
|
+
@property
|
|
713
|
+
def IpLocation(self):
|
|
714
|
+
r"""<p>IP地理位置信息</p>
|
|
715
|
+
:rtype: :class:`tencentcloud.rce.v20250425.models.IpLocationInfo`
|
|
716
|
+
"""
|
|
717
|
+
return self._IpLocation
|
|
718
|
+
|
|
719
|
+
@IpLocation.setter
|
|
720
|
+
def IpLocation(self, IpLocation):
|
|
721
|
+
self._IpLocation = IpLocation
|
|
722
|
+
|
|
723
|
+
@property
|
|
724
|
+
def IpNetwork(self):
|
|
725
|
+
r"""<p>IP基础网络信息</p>
|
|
726
|
+
:rtype: :class:`tencentcloud.rce.v20250425.models.IpNetworkInfo`
|
|
727
|
+
"""
|
|
728
|
+
return self._IpNetwork
|
|
729
|
+
|
|
730
|
+
@IpNetwork.setter
|
|
731
|
+
def IpNetwork(self, IpNetwork):
|
|
732
|
+
self._IpNetwork = IpNetwork
|
|
733
|
+
|
|
289
734
|
|
|
290
735
|
def _deserialize(self, params):
|
|
291
736
|
self._UserIp = params.get("UserIp")
|
|
292
737
|
self._RiskScore = params.get("RiskScore")
|
|
293
738
|
self._RiskType = params.get("RiskType")
|
|
739
|
+
if params.get("IpLocation") is not None:
|
|
740
|
+
self._IpLocation = IpLocationInfo()
|
|
741
|
+
self._IpLocation._deserialize(params.get("IpLocation"))
|
|
742
|
+
if params.get("IpNetwork") is not None:
|
|
743
|
+
self._IpNetwork = IpNetworkInfo()
|
|
744
|
+
self._IpNetwork._deserialize(params.get("IpNetwork"))
|
|
294
745
|
memeber_set = set(params.keys())
|
|
295
746
|
for name, value in vars(self).items():
|
|
296
747
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-rce
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.127
|
|
4
4
|
Summary: Tencent Cloud Rce SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.110
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|