tencentcloud-sdk-python 3.0.1445__py2.py3-none-any.whl → 3.0.1447__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/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -0
- tencentcloud/cbs/v20170312/models.py +17 -2
- tencentcloud/ccc/v20200210/models.py +21 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +30 -6
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +21 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +98 -24
- tencentcloud/common/abstract_client.py +14 -12
- tencentcloud/common/credential.py +61 -26
- tencentcloud/csip/v20221121/models.py +4 -4
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cwp/v20180228/models.py +53 -14
- tencentcloud/cynosdb/v20190107/models.py +2 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/dlc_client.py +161 -0
- tencentcloud/dlc/v20210125/errorcodes.py +6 -0
- tencentcloud/dlc/v20210125/models.py +1049 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/es/v20180416/models.py +85 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +313 -8
- tencentcloud/essbasic/v20210526/models.py +70 -14
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +1036 -91
- tencentcloud/iotexplorer/v20190423/models.py +112 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +122 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +19 -0
- tencentcloud/mps/v20190612/models.py +229 -10
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +880 -22
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +7 -23
- tencentcloud/organization/v20210331/models.py +393 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/partners/v20180321/models.py +8 -8
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- tencentcloud/tbaas/v20180416/models.py +12 -12
- tencentcloud/tcaplusdb/v20190823/models.py +0 -328
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +51 -17
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
- tencentcloud/tione/v20211111/models.py +333 -10
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +32 -2
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tse/v20201207/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +6 -6
- tencentcloud/vod/v20180717/models.py +4 -12
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/RECORD +76 -76
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/top_level.txt +0 -0
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import json
|
|
17
17
|
import os
|
|
18
18
|
import time
|
|
19
|
+
import threading
|
|
19
20
|
|
|
20
21
|
try:
|
|
21
22
|
# py3
|
|
@@ -70,6 +71,9 @@ class Credential(object):
|
|
|
70
71
|
@property
|
|
71
72
|
def secretKey(self):
|
|
72
73
|
return self.secret_key
|
|
74
|
+
|
|
75
|
+
def get_credential_info(self):
|
|
76
|
+
return self.secret_id, self.secret_key, self.token
|
|
73
77
|
|
|
74
78
|
|
|
75
79
|
class CVMRoleCredential(object):
|
|
@@ -91,6 +95,7 @@ class CVMRoleCredential(object):
|
|
|
91
95
|
self._secret_key = None
|
|
92
96
|
self._token = None
|
|
93
97
|
self._expired_ts = 0
|
|
98
|
+
self._lock = threading.Lock()
|
|
94
99
|
|
|
95
100
|
@property
|
|
96
101
|
def secretId(self):
|
|
@@ -98,8 +103,9 @@ class CVMRoleCredential(object):
|
|
|
98
103
|
|
|
99
104
|
@property
|
|
100
105
|
def secret_id(self):
|
|
101
|
-
self.
|
|
102
|
-
|
|
106
|
+
with self._lock:
|
|
107
|
+
self.update_credential()
|
|
108
|
+
return self._secret_id
|
|
103
109
|
|
|
104
110
|
@property
|
|
105
111
|
def secretKey(self):
|
|
@@ -107,13 +113,15 @@ class CVMRoleCredential(object):
|
|
|
107
113
|
|
|
108
114
|
@property
|
|
109
115
|
def secret_key(self):
|
|
110
|
-
self.
|
|
111
|
-
|
|
116
|
+
with self._lock:
|
|
117
|
+
self.update_credential()
|
|
118
|
+
return self._secret_key
|
|
112
119
|
|
|
113
120
|
@property
|
|
114
121
|
def token(self):
|
|
115
|
-
self.
|
|
116
|
-
|
|
122
|
+
with self._lock:
|
|
123
|
+
self.update_credential()
|
|
124
|
+
return self._token
|
|
117
125
|
|
|
118
126
|
def get_role_name(self):
|
|
119
127
|
if self.role:
|
|
@@ -159,6 +167,11 @@ class CVMRoleCredential(object):
|
|
|
159
167
|
return None
|
|
160
168
|
return self
|
|
161
169
|
|
|
170
|
+
def get_credential_info(self):
|
|
171
|
+
with self._lock:
|
|
172
|
+
self.update_credential()
|
|
173
|
+
return self._secret_id, self._secret_key, self._token
|
|
174
|
+
|
|
162
175
|
|
|
163
176
|
class STSAssumeRoleCredential(object):
|
|
164
177
|
"""Tencent Cloud Credential via STS service
|
|
@@ -200,31 +213,42 @@ class STSAssumeRoleCredential(object):
|
|
|
200
213
|
self._tmp_credential = None
|
|
201
214
|
if endpoint:
|
|
202
215
|
self._endpoint = endpoint
|
|
216
|
+
self._lock = threading.Lock()
|
|
203
217
|
|
|
204
218
|
@property
|
|
205
219
|
def secretId(self):
|
|
206
|
-
self.
|
|
207
|
-
|
|
220
|
+
with self._lock:
|
|
221
|
+
self._need_refresh()
|
|
222
|
+
return self._tmp_secret_id
|
|
208
223
|
|
|
209
224
|
@property
|
|
210
225
|
def secretKey(self):
|
|
211
|
-
self.
|
|
212
|
-
|
|
226
|
+
with self._lock:
|
|
227
|
+
self._need_refresh()
|
|
228
|
+
return self._tmp_secret_key
|
|
213
229
|
|
|
214
230
|
@property
|
|
215
231
|
def secret_id(self):
|
|
216
|
-
self.
|
|
217
|
-
|
|
232
|
+
with self._lock:
|
|
233
|
+
self._need_refresh()
|
|
234
|
+
return self._tmp_secret_id
|
|
218
235
|
|
|
219
236
|
@property
|
|
220
237
|
def secret_key(self):
|
|
221
|
-
self.
|
|
222
|
-
|
|
238
|
+
with self._lock:
|
|
239
|
+
self._need_refresh()
|
|
240
|
+
return self._tmp_secret_key
|
|
223
241
|
|
|
224
242
|
@property
|
|
225
243
|
def token(self):
|
|
226
|
-
self.
|
|
227
|
-
|
|
244
|
+
with self._lock:
|
|
245
|
+
self._need_refresh()
|
|
246
|
+
return self._token
|
|
247
|
+
|
|
248
|
+
def get_credential_info(self):
|
|
249
|
+
with self._lock:
|
|
250
|
+
self._need_refresh()
|
|
251
|
+
return self._tmp_secret_id, self._tmp_secret_key, self._token
|
|
228
252
|
|
|
229
253
|
def _need_refresh(self):
|
|
230
254
|
if None in [self._token, self._tmp_secret_key, self._tmp_secret_id] or self._expired_time < int(time.time()):
|
|
@@ -405,31 +429,42 @@ class OIDCRoleArnCredential(object):
|
|
|
405
429
|
self._tmp_secret_key = None
|
|
406
430
|
self._expired_time = 0
|
|
407
431
|
self._is_tke = False
|
|
432
|
+
self._lock = threading.Lock()
|
|
408
433
|
|
|
409
434
|
@property
|
|
410
435
|
def secretId(self):
|
|
411
|
-
self.
|
|
412
|
-
|
|
436
|
+
with self._lock:
|
|
437
|
+
self._keep_fresh()
|
|
438
|
+
return self._tmp_secret_id
|
|
413
439
|
|
|
414
440
|
@property
|
|
415
441
|
def secretKey(self):
|
|
416
|
-
self.
|
|
417
|
-
|
|
442
|
+
with self._lock:
|
|
443
|
+
self._keep_fresh()
|
|
444
|
+
return self._tmp_secret_key
|
|
418
445
|
|
|
419
446
|
@property
|
|
420
447
|
def secret_id(self):
|
|
421
|
-
self.
|
|
422
|
-
|
|
448
|
+
with self._lock:
|
|
449
|
+
self._keep_fresh()
|
|
450
|
+
return self._tmp_secret_id
|
|
423
451
|
|
|
424
452
|
@property
|
|
425
453
|
def secret_key(self):
|
|
426
|
-
self.
|
|
427
|
-
|
|
454
|
+
with self._lock:
|
|
455
|
+
self._keep_fresh()
|
|
456
|
+
return self._tmp_secret_key
|
|
428
457
|
|
|
429
458
|
@property
|
|
430
459
|
def token(self):
|
|
431
|
-
self.
|
|
432
|
-
|
|
460
|
+
with self._lock:
|
|
461
|
+
self._keep_fresh()
|
|
462
|
+
return self._token
|
|
463
|
+
|
|
464
|
+
def get_credential_info(self):
|
|
465
|
+
with self._lock:
|
|
466
|
+
self._keep_fresh()
|
|
467
|
+
return self._tmp_secret_id, self._tmp_secret_key, self._token
|
|
433
468
|
|
|
434
469
|
@property
|
|
435
470
|
def endpoint(self):
|
|
@@ -27,7 +27,7 @@ class AKInfo(AbstractModel):
|
|
|
27
27
|
r"""
|
|
28
28
|
:param _ID: ak对应id
|
|
29
29
|
:type ID: int
|
|
30
|
-
:param _Name: ak
|
|
30
|
+
:param _Name: ak具体值\n
|
|
31
31
|
临时密钥时返回临时密钥
|
|
32
32
|
:type Name: str
|
|
33
33
|
:param _User: 所属账号
|
|
@@ -53,7 +53,7 @@ class AKInfo(AbstractModel):
|
|
|
53
53
|
|
|
54
54
|
@property
|
|
55
55
|
def Name(self):
|
|
56
|
-
"""ak
|
|
56
|
+
"""ak具体值\n
|
|
57
57
|
临时密钥时返回临时密钥
|
|
58
58
|
:rtype: str
|
|
59
59
|
"""
|
|
@@ -32876,7 +32876,7 @@ class SubUserInfo(AbstractModel):
|
|
|
32876
32876
|
:type ConfigRiskCount: int
|
|
32877
32877
|
:param _ActionRiskCount: 危险行为告警
|
|
32878
32878
|
:type ActionRiskCount: int
|
|
32879
|
-
:param _IsAccessCloudAudit:
|
|
32879
|
+
:param _IsAccessCloudAudit: 是否接入操作审计日志
|
|
32880
32880
|
:type IsAccessCloudAudit: bool
|
|
32881
32881
|
:param _IsAccessCheck: 是否配置风险的安全体检
|
|
32882
32882
|
:type IsAccessCheck: bool
|
|
@@ -33069,7 +33069,7 @@ class SubUserInfo(AbstractModel):
|
|
|
33069
33069
|
|
|
33070
33070
|
@property
|
|
33071
33071
|
def IsAccessCloudAudit(self):
|
|
33072
|
-
"""
|
|
33072
|
+
"""是否接入操作审计日志
|
|
33073
33073
|
:rtype: bool
|
|
33074
33074
|
"""
|
|
33075
33075
|
return self._IsAccessCloudAudit
|
|
@@ -1432,6 +1432,8 @@ class DescribeConfigsRequest(AbstractModel):
|
|
|
1432
1432
|
:type Filters: list of Filter
|
|
1433
1433
|
:param _Ignored: 是否显示被忽略的数据
|
|
1434
1434
|
:type Ignored: bool
|
|
1435
|
+
:param _OrderBy: 支持按照响应长度排序,例如:+ContentLength或-ContentLength,+是递增,-是递减
|
|
1436
|
+
:type OrderBy: str
|
|
1435
1437
|
"""
|
|
1436
1438
|
self._CustomerIdList = None
|
|
1437
1439
|
self._IsAggregation = None
|
|
@@ -1447,6 +1449,7 @@ class DescribeConfigsRequest(AbstractModel):
|
|
|
1447
1449
|
self._UpdateAtEnd = None
|
|
1448
1450
|
self._Filters = None
|
|
1449
1451
|
self._Ignored = None
|
|
1452
|
+
self._OrderBy = None
|
|
1450
1453
|
|
|
1451
1454
|
@property
|
|
1452
1455
|
def CustomerIdList(self):
|
|
@@ -1602,6 +1605,17 @@ class DescribeConfigsRequest(AbstractModel):
|
|
|
1602
1605
|
def Ignored(self, Ignored):
|
|
1603
1606
|
self._Ignored = Ignored
|
|
1604
1607
|
|
|
1608
|
+
@property
|
|
1609
|
+
def OrderBy(self):
|
|
1610
|
+
"""支持按照响应长度排序,例如:+ContentLength或-ContentLength,+是递增,-是递减
|
|
1611
|
+
:rtype: str
|
|
1612
|
+
"""
|
|
1613
|
+
return self._OrderBy
|
|
1614
|
+
|
|
1615
|
+
@OrderBy.setter
|
|
1616
|
+
def OrderBy(self, OrderBy):
|
|
1617
|
+
self._OrderBy = OrderBy
|
|
1618
|
+
|
|
1605
1619
|
|
|
1606
1620
|
def _deserialize(self, params):
|
|
1607
1621
|
self._CustomerIdList = params.get("CustomerIdList")
|
|
@@ -1623,6 +1637,7 @@ class DescribeConfigsRequest(AbstractModel):
|
|
|
1623
1637
|
obj._deserialize(item)
|
|
1624
1638
|
self._Filters.append(obj)
|
|
1625
1639
|
self._Ignored = params.get("Ignored")
|
|
1640
|
+
self._OrderBy = params.get("OrderBy")
|
|
1626
1641
|
memeber_set = set(params.keys())
|
|
1627
1642
|
for name, value in vars(self).items():
|
|
1628
1643
|
property_name = name[1:]
|
|
@@ -9101,12 +9116,15 @@ class DisplayDarkWeb(AbstractModel):
|
|
|
9101
9116
|
:type Url: str
|
|
9102
9117
|
:param _DisplayToolCommon: 公共字段
|
|
9103
9118
|
:type DisplayToolCommon: :class:`tencentcloud.ctem.v20231128.models.DisplayToolCommon`
|
|
9119
|
+
:param _Status: 状态:unrepaired:未修复,repaired:已修复,ignore:已忽略
|
|
9120
|
+
:type Status: str
|
|
9104
9121
|
"""
|
|
9105
9122
|
self._Id = None
|
|
9106
9123
|
self._Content = None
|
|
9107
9124
|
self._MatchedKeywords = None
|
|
9108
9125
|
self._Url = None
|
|
9109
9126
|
self._DisplayToolCommon = None
|
|
9127
|
+
self._Status = None
|
|
9110
9128
|
|
|
9111
9129
|
@property
|
|
9112
9130
|
def Id(self):
|
|
@@ -9163,6 +9181,17 @@ class DisplayDarkWeb(AbstractModel):
|
|
|
9163
9181
|
def DisplayToolCommon(self, DisplayToolCommon):
|
|
9164
9182
|
self._DisplayToolCommon = DisplayToolCommon
|
|
9165
9183
|
|
|
9184
|
+
@property
|
|
9185
|
+
def Status(self):
|
|
9186
|
+
"""状态:unrepaired:未修复,repaired:已修复,ignore:已忽略
|
|
9187
|
+
:rtype: str
|
|
9188
|
+
"""
|
|
9189
|
+
return self._Status
|
|
9190
|
+
|
|
9191
|
+
@Status.setter
|
|
9192
|
+
def Status(self, Status):
|
|
9193
|
+
self._Status = Status
|
|
9194
|
+
|
|
9166
9195
|
|
|
9167
9196
|
def _deserialize(self, params):
|
|
9168
9197
|
self._Id = params.get("Id")
|
|
@@ -9172,6 +9201,7 @@ class DisplayDarkWeb(AbstractModel):
|
|
|
9172
9201
|
if params.get("DisplayToolCommon") is not None:
|
|
9173
9202
|
self._DisplayToolCommon = DisplayToolCommon()
|
|
9174
9203
|
self._DisplayToolCommon._deserialize(params.get("DisplayToolCommon"))
|
|
9204
|
+
self._Status = params.get("Status")
|
|
9175
9205
|
memeber_set = set(params.keys())
|
|
9176
9206
|
for name, value in vars(self).items():
|
|
9177
9207
|
property_name = name[1:]
|
|
@@ -30698,29 +30698,32 @@ class DescribeBanStatusResponse(AbstractModel):
|
|
|
30698
30698
|
|
|
30699
30699
|
def __init__(self):
|
|
30700
30700
|
r"""
|
|
30701
|
-
:param _Status: 阻断开关状态:
|
|
30702
|
-
0 -- 关闭
|
|
30703
|
-
1 -- 高级阻断
|
|
30704
|
-
2 -- 基础阻断(只阻断情报库黑ip)
|
|
30701
|
+
:param _Status: (已废弃) 阻断开关状态: 0 -- 关闭 1 -- 高级阻断 2 -- 基础阻断(只阻断情报库黑ip)
|
|
30705
30702
|
:type Status: int
|
|
30706
30703
|
:param _ShowTips: 是否弹窗提示信息 false: 关闭,true: 开启
|
|
30707
30704
|
:type ShowTips: bool
|
|
30708
30705
|
:param _OpenSmartMode: 是否开启智能过白模式
|
|
30709
30706
|
:type OpenSmartMode: bool
|
|
30707
|
+
:param _BanBlackIp: 是否开启情报IP阻断
|
|
30708
|
+
:type BanBlackIp: bool
|
|
30709
|
+
:param _BanVulIp: 是否开启漏洞IP阻断
|
|
30710
|
+
:type BanVulIp: bool
|
|
30711
|
+
:param _BanByRule: 是否开启规则阻断
|
|
30712
|
+
:type BanByRule: bool
|
|
30710
30713
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30711
30714
|
:type RequestId: str
|
|
30712
30715
|
"""
|
|
30713
30716
|
self._Status = None
|
|
30714
30717
|
self._ShowTips = None
|
|
30715
30718
|
self._OpenSmartMode = None
|
|
30719
|
+
self._BanBlackIp = None
|
|
30720
|
+
self._BanVulIp = None
|
|
30721
|
+
self._BanByRule = None
|
|
30716
30722
|
self._RequestId = None
|
|
30717
30723
|
|
|
30718
30724
|
@property
|
|
30719
30725
|
def Status(self):
|
|
30720
|
-
"""阻断开关状态:
|
|
30721
|
-
0 -- 关闭
|
|
30722
|
-
1 -- 高级阻断
|
|
30723
|
-
2 -- 基础阻断(只阻断情报库黑ip)
|
|
30726
|
+
"""(已废弃) 阻断开关状态: 0 -- 关闭 1 -- 高级阻断 2 -- 基础阻断(只阻断情报库黑ip)
|
|
30724
30727
|
:rtype: int
|
|
30725
30728
|
"""
|
|
30726
30729
|
return self._Status
|
|
@@ -30751,6 +30754,39 @@ class DescribeBanStatusResponse(AbstractModel):
|
|
|
30751
30754
|
def OpenSmartMode(self, OpenSmartMode):
|
|
30752
30755
|
self._OpenSmartMode = OpenSmartMode
|
|
30753
30756
|
|
|
30757
|
+
@property
|
|
30758
|
+
def BanBlackIp(self):
|
|
30759
|
+
"""是否开启情报IP阻断
|
|
30760
|
+
:rtype: bool
|
|
30761
|
+
"""
|
|
30762
|
+
return self._BanBlackIp
|
|
30763
|
+
|
|
30764
|
+
@BanBlackIp.setter
|
|
30765
|
+
def BanBlackIp(self, BanBlackIp):
|
|
30766
|
+
self._BanBlackIp = BanBlackIp
|
|
30767
|
+
|
|
30768
|
+
@property
|
|
30769
|
+
def BanVulIp(self):
|
|
30770
|
+
"""是否开启漏洞IP阻断
|
|
30771
|
+
:rtype: bool
|
|
30772
|
+
"""
|
|
30773
|
+
return self._BanVulIp
|
|
30774
|
+
|
|
30775
|
+
@BanVulIp.setter
|
|
30776
|
+
def BanVulIp(self, BanVulIp):
|
|
30777
|
+
self._BanVulIp = BanVulIp
|
|
30778
|
+
|
|
30779
|
+
@property
|
|
30780
|
+
def BanByRule(self):
|
|
30781
|
+
"""是否开启规则阻断
|
|
30782
|
+
:rtype: bool
|
|
30783
|
+
"""
|
|
30784
|
+
return self._BanByRule
|
|
30785
|
+
|
|
30786
|
+
@BanByRule.setter
|
|
30787
|
+
def BanByRule(self, BanByRule):
|
|
30788
|
+
self._BanByRule = BanByRule
|
|
30789
|
+
|
|
30754
30790
|
@property
|
|
30755
30791
|
def RequestId(self):
|
|
30756
30792
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -30767,6 +30803,9 @@ class DescribeBanStatusResponse(AbstractModel):
|
|
|
30767
30803
|
self._Status = params.get("Status")
|
|
30768
30804
|
self._ShowTips = params.get("ShowTips")
|
|
30769
30805
|
self._OpenSmartMode = params.get("OpenSmartMode")
|
|
30806
|
+
self._BanBlackIp = params.get("BanBlackIp")
|
|
30807
|
+
self._BanVulIp = params.get("BanVulIp")
|
|
30808
|
+
self._BanByRule = params.get("BanByRule")
|
|
30770
30809
|
self._RequestId = params.get("RequestId")
|
|
30771
30810
|
|
|
30772
30811
|
|
|
@@ -73391,7 +73430,7 @@ class HostLoginList(AbstractModel):
|
|
|
73391
73430
|
:param _Quuid: 主机quuid
|
|
73392
73431
|
:type Quuid: str
|
|
73393
73432
|
:param _Desc: 高危信息说明:
|
|
73394
|
-
ABROAD -
|
|
73433
|
+
ABROAD - 境外IP;
|
|
73395
73434
|
XTI - 威胁情报
|
|
73396
73435
|
:type Desc: str
|
|
73397
73436
|
:param _MachineExtraInfo: 附加信息
|
|
@@ -73636,7 +73675,7 @@ XTI - 威胁情报
|
|
|
73636
73675
|
@property
|
|
73637
73676
|
def Desc(self):
|
|
73638
73677
|
"""高危信息说明:
|
|
73639
|
-
ABROAD -
|
|
73678
|
+
ABROAD - 境外IP;
|
|
73640
73679
|
XTI - 威胁情报
|
|
73641
73680
|
:rtype: str
|
|
73642
73681
|
"""
|
|
@@ -76670,7 +76709,7 @@ class LoginWhiteCombinedInfo(AbstractModel):
|
|
|
76670
76709
|
:type ModifyTime: str
|
|
76671
76710
|
:param _Uuid: 服务器Uuid
|
|
76672
76711
|
:type Uuid: str
|
|
76673
|
-
:param _Locations:
|
|
76712
|
+
:param _Locations: 登录地
|
|
76674
76713
|
:type Locations: str
|
|
76675
76714
|
"""
|
|
76676
76715
|
self._Places = None
|
|
@@ -76845,7 +76884,7 @@ class LoginWhiteCombinedInfo(AbstractModel):
|
|
|
76845
76884
|
|
|
76846
76885
|
@property
|
|
76847
76886
|
def Locations(self):
|
|
76848
|
-
"""
|
|
76887
|
+
"""登录地
|
|
76849
76888
|
:rtype: str
|
|
76850
76889
|
"""
|
|
76851
76890
|
return self._Locations
|
|
@@ -88178,7 +88217,7 @@ class Place(AbstractModel):
|
|
|
88178
88217
|
:type CityId: int
|
|
88179
88218
|
:param _ProvinceId: 省份 ID。
|
|
88180
88219
|
:type ProvinceId: int
|
|
88181
|
-
:param _CountryId: 国家ID
|
|
88220
|
+
:param _CountryId: 国家ID,暂只支持境内:1。
|
|
88182
88221
|
:type CountryId: int
|
|
88183
88222
|
:param _Location: 位置名称
|
|
88184
88223
|
:type Location: str
|
|
@@ -88212,7 +88251,7 @@ class Place(AbstractModel):
|
|
|
88212
88251
|
|
|
88213
88252
|
@property
|
|
88214
88253
|
def CountryId(self):
|
|
88215
|
-
"""国家ID
|
|
88254
|
+
"""国家ID,暂只支持境内:1。
|
|
88216
88255
|
:rtype: int
|
|
88217
88256
|
"""
|
|
88218
88257
|
return self._CountryId
|
|
@@ -27810,6 +27810,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
27810
27810
|
:param _InstanceId: 网络组id(cynosdbmysql-grp-前缀开头)或集群id
|
|
27811
27811
|
:type InstanceId: str
|
|
27812
27812
|
:param _SecurityGroupIds: 要修改的安全组ID列表,一个或者多个安全组ID组成的数组。
|
|
27813
|
+
注意:该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
|
|
27813
27814
|
:type SecurityGroupIds: list of str
|
|
27814
27815
|
:param _Zone: 可用区
|
|
27815
27816
|
:type Zone: str
|
|
@@ -27832,6 +27833,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
27832
27833
|
@property
|
|
27833
27834
|
def SecurityGroupIds(self):
|
|
27834
27835
|
"""要修改的安全组ID列表,一个或者多个安全组ID组成的数组。
|
|
27836
|
+
注意:该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
|
|
27835
27837
|
:rtype: list of str
|
|
27836
27838
|
"""
|
|
27837
27839
|
return self._SecurityGroupIds
|
|
@@ -1255,6 +1255,8 @@ ChinaOther:中国其他;
|
|
|
1255
1255
|
:type FaultReportContactPerson: str
|
|
1256
1256
|
:param _FaultReportContactNumber: 报障联系电话。
|
|
1257
1257
|
:type FaultReportContactNumber: str
|
|
1258
|
+
:param _FaultReportContactEmail: 报障联系邮箱。
|
|
1259
|
+
:type FaultReportContactEmail: str
|
|
1258
1260
|
:param _SignLaw: 物理专线申请者是否签署了用户使用协议。默认已签署。
|
|
1259
1261
|
:type SignLaw: bool
|
|
1260
1262
|
:param _Tags: 标签键值对
|
|
@@ -1278,6 +1280,7 @@ ChinaOther:中国其他;
|
|
|
1278
1280
|
self._CustomerContactNumber = None
|
|
1279
1281
|
self._FaultReportContactPerson = None
|
|
1280
1282
|
self._FaultReportContactNumber = None
|
|
1283
|
+
self._FaultReportContactEmail = None
|
|
1281
1284
|
self._SignLaw = None
|
|
1282
1285
|
self._Tags = None
|
|
1283
1286
|
self._IsMacSec = None
|
|
@@ -1470,6 +1473,17 @@ ChinaOther:中国其他;
|
|
|
1470
1473
|
def FaultReportContactNumber(self, FaultReportContactNumber):
|
|
1471
1474
|
self._FaultReportContactNumber = FaultReportContactNumber
|
|
1472
1475
|
|
|
1476
|
+
@property
|
|
1477
|
+
def FaultReportContactEmail(self):
|
|
1478
|
+
"""报障联系邮箱。
|
|
1479
|
+
:rtype: str
|
|
1480
|
+
"""
|
|
1481
|
+
return self._FaultReportContactEmail
|
|
1482
|
+
|
|
1483
|
+
@FaultReportContactEmail.setter
|
|
1484
|
+
def FaultReportContactEmail(self, FaultReportContactEmail):
|
|
1485
|
+
self._FaultReportContactEmail = FaultReportContactEmail
|
|
1486
|
+
|
|
1473
1487
|
@property
|
|
1474
1488
|
def SignLaw(self):
|
|
1475
1489
|
"""物理专线申请者是否签署了用户使用协议。默认已签署。
|
|
@@ -1521,6 +1535,7 @@ ChinaOther:中国其他;
|
|
|
1521
1535
|
self._CustomerContactNumber = params.get("CustomerContactNumber")
|
|
1522
1536
|
self._FaultReportContactPerson = params.get("FaultReportContactPerson")
|
|
1523
1537
|
self._FaultReportContactNumber = params.get("FaultReportContactNumber")
|
|
1538
|
+
self._FaultReportContactEmail = params.get("FaultReportContactEmail")
|
|
1524
1539
|
self._SignLaw = params.get("SignLaw")
|
|
1525
1540
|
if params.get("Tags") is not None:
|
|
1526
1541
|
self._Tags = []
|
|
@@ -5512,6 +5527,8 @@ class ModifyDirectConnectAttributeRequest(AbstractModel):
|
|
|
5512
5527
|
:type FaultReportContactPerson: str
|
|
5513
5528
|
:param _FaultReportContactNumber: 报障联系电话。
|
|
5514
5529
|
:type FaultReportContactNumber: str
|
|
5530
|
+
:param _FaultReportContactEmail: 报障联系邮箱。
|
|
5531
|
+
:type FaultReportContactEmail: str
|
|
5515
5532
|
:param _SignLaw: 物理专线申请者补签用户使用协议。
|
|
5516
5533
|
:type SignLaw: bool
|
|
5517
5534
|
:param _Bandwidth: 物理专线带宽。
|
|
@@ -5528,6 +5545,7 @@ class ModifyDirectConnectAttributeRequest(AbstractModel):
|
|
|
5528
5545
|
self._CustomerContactNumber = None
|
|
5529
5546
|
self._FaultReportContactPerson = None
|
|
5530
5547
|
self._FaultReportContactNumber = None
|
|
5548
|
+
self._FaultReportContactEmail = None
|
|
5531
5549
|
self._SignLaw = None
|
|
5532
5550
|
self._Bandwidth = None
|
|
5533
5551
|
|
|
@@ -5652,6 +5670,17 @@ class ModifyDirectConnectAttributeRequest(AbstractModel):
|
|
|
5652
5670
|
def FaultReportContactNumber(self, FaultReportContactNumber):
|
|
5653
5671
|
self._FaultReportContactNumber = FaultReportContactNumber
|
|
5654
5672
|
|
|
5673
|
+
@property
|
|
5674
|
+
def FaultReportContactEmail(self):
|
|
5675
|
+
"""报障联系邮箱。
|
|
5676
|
+
:rtype: str
|
|
5677
|
+
"""
|
|
5678
|
+
return self._FaultReportContactEmail
|
|
5679
|
+
|
|
5680
|
+
@FaultReportContactEmail.setter
|
|
5681
|
+
def FaultReportContactEmail(self, FaultReportContactEmail):
|
|
5682
|
+
self._FaultReportContactEmail = FaultReportContactEmail
|
|
5683
|
+
|
|
5655
5684
|
@property
|
|
5656
5685
|
def SignLaw(self):
|
|
5657
5686
|
"""物理专线申请者补签用户使用协议。
|
|
@@ -5687,6 +5716,7 @@ class ModifyDirectConnectAttributeRequest(AbstractModel):
|
|
|
5687
5716
|
self._CustomerContactNumber = params.get("CustomerContactNumber")
|
|
5688
5717
|
self._FaultReportContactPerson = params.get("FaultReportContactPerson")
|
|
5689
5718
|
self._FaultReportContactNumber = params.get("FaultReportContactNumber")
|
|
5719
|
+
self._FaultReportContactEmail = params.get("FaultReportContactEmail")
|
|
5690
5720
|
self._SignLaw = params.get("SignLaw")
|
|
5691
5721
|
self._Bandwidth = params.get("Bandwidth")
|
|
5692
5722
|
memeber_set = set(params.keys())
|