tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -1084,12 +1084,15 @@ class Concurrency(AbstractModel):
|
|
|
1084
1084
|
:type GracefulStopSeconds: int
|
|
1085
1085
|
:param _Resources: 资源数
|
|
1086
1086
|
:type Resources: int
|
|
1087
|
+
:param _Mode: 压力模型
|
|
1088
|
+
:type Mode: str
|
|
1087
1089
|
"""
|
|
1088
1090
|
self._Stages = None
|
|
1089
1091
|
self._IterationCount = None
|
|
1090
1092
|
self._MaxRequestsPerSecond = None
|
|
1091
1093
|
self._GracefulStopSeconds = None
|
|
1092
1094
|
self._Resources = None
|
|
1095
|
+
self._Mode = None
|
|
1093
1096
|
|
|
1094
1097
|
@property
|
|
1095
1098
|
def Stages(self):
|
|
@@ -1147,6 +1150,17 @@ class Concurrency(AbstractModel):
|
|
|
1147
1150
|
def Resources(self, Resources):
|
|
1148
1151
|
self._Resources = Resources
|
|
1149
1152
|
|
|
1153
|
+
@property
|
|
1154
|
+
def Mode(self):
|
|
1155
|
+
r"""压力模型
|
|
1156
|
+
:rtype: str
|
|
1157
|
+
"""
|
|
1158
|
+
return self._Mode
|
|
1159
|
+
|
|
1160
|
+
@Mode.setter
|
|
1161
|
+
def Mode(self, Mode):
|
|
1162
|
+
self._Mode = Mode
|
|
1163
|
+
|
|
1150
1164
|
|
|
1151
1165
|
def _deserialize(self, params):
|
|
1152
1166
|
if params.get("Stages") is not None:
|
|
@@ -1159,6 +1173,7 @@ class Concurrency(AbstractModel):
|
|
|
1159
1173
|
self._MaxRequestsPerSecond = params.get("MaxRequestsPerSecond")
|
|
1160
1174
|
self._GracefulStopSeconds = params.get("GracefulStopSeconds")
|
|
1161
1175
|
self._Resources = params.get("Resources")
|
|
1176
|
+
self._Mode = params.get("Mode")
|
|
1162
1177
|
memeber_set = set(params.keys())
|
|
1163
1178
|
for name, value in vars(self).items():
|
|
1164
1179
|
property_name = name[1:]
|
|
@@ -1576,6 +1591,86 @@ class CreateEnvironmentRequest(AbstractModel):
|
|
|
1576
1591
|
|
|
1577
1592
|
"""
|
|
1578
1593
|
|
|
1594
|
+
def __init__(self):
|
|
1595
|
+
r"""
|
|
1596
|
+
:param _ProjectId: 项目ID
|
|
1597
|
+
:type ProjectId: str
|
|
1598
|
+
:param _Name: 环境名
|
|
1599
|
+
:type Name: str
|
|
1600
|
+
:param _EnvVars: 环境变量
|
|
1601
|
+
:type EnvVars: list of EnvVar
|
|
1602
|
+
:param _Description: 环境描述
|
|
1603
|
+
:type Description: str
|
|
1604
|
+
"""
|
|
1605
|
+
self._ProjectId = None
|
|
1606
|
+
self._Name = None
|
|
1607
|
+
self._EnvVars = None
|
|
1608
|
+
self._Description = None
|
|
1609
|
+
|
|
1610
|
+
@property
|
|
1611
|
+
def ProjectId(self):
|
|
1612
|
+
r"""项目ID
|
|
1613
|
+
:rtype: str
|
|
1614
|
+
"""
|
|
1615
|
+
return self._ProjectId
|
|
1616
|
+
|
|
1617
|
+
@ProjectId.setter
|
|
1618
|
+
def ProjectId(self, ProjectId):
|
|
1619
|
+
self._ProjectId = ProjectId
|
|
1620
|
+
|
|
1621
|
+
@property
|
|
1622
|
+
def Name(self):
|
|
1623
|
+
r"""环境名
|
|
1624
|
+
:rtype: str
|
|
1625
|
+
"""
|
|
1626
|
+
return self._Name
|
|
1627
|
+
|
|
1628
|
+
@Name.setter
|
|
1629
|
+
def Name(self, Name):
|
|
1630
|
+
self._Name = Name
|
|
1631
|
+
|
|
1632
|
+
@property
|
|
1633
|
+
def EnvVars(self):
|
|
1634
|
+
r"""环境变量
|
|
1635
|
+
:rtype: list of EnvVar
|
|
1636
|
+
"""
|
|
1637
|
+
return self._EnvVars
|
|
1638
|
+
|
|
1639
|
+
@EnvVars.setter
|
|
1640
|
+
def EnvVars(self, EnvVars):
|
|
1641
|
+
self._EnvVars = EnvVars
|
|
1642
|
+
|
|
1643
|
+
@property
|
|
1644
|
+
def Description(self):
|
|
1645
|
+
r"""环境描述
|
|
1646
|
+
:rtype: str
|
|
1647
|
+
"""
|
|
1648
|
+
return self._Description
|
|
1649
|
+
|
|
1650
|
+
@Description.setter
|
|
1651
|
+
def Description(self, Description):
|
|
1652
|
+
self._Description = Description
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
def _deserialize(self, params):
|
|
1656
|
+
self._ProjectId = params.get("ProjectId")
|
|
1657
|
+
self._Name = params.get("Name")
|
|
1658
|
+
if params.get("EnvVars") is not None:
|
|
1659
|
+
self._EnvVars = []
|
|
1660
|
+
for item in params.get("EnvVars"):
|
|
1661
|
+
obj = EnvVar()
|
|
1662
|
+
obj._deserialize(item)
|
|
1663
|
+
self._EnvVars.append(obj)
|
|
1664
|
+
self._Description = params.get("Description")
|
|
1665
|
+
memeber_set = set(params.keys())
|
|
1666
|
+
for name, value in vars(self).items():
|
|
1667
|
+
property_name = name[1:]
|
|
1668
|
+
if property_name in memeber_set:
|
|
1669
|
+
memeber_set.remove(property_name)
|
|
1670
|
+
if len(memeber_set) > 0:
|
|
1671
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1672
|
+
|
|
1673
|
+
|
|
1579
1674
|
|
|
1580
1675
|
class CreateEnvironmentResponse(AbstractModel):
|
|
1581
1676
|
r"""CreateEnvironment返回参数结构体
|
|
@@ -1584,11 +1679,25 @@ class CreateEnvironmentResponse(AbstractModel):
|
|
|
1584
1679
|
|
|
1585
1680
|
def __init__(self):
|
|
1586
1681
|
r"""
|
|
1682
|
+
:param _EnvId: 环境ID
|
|
1683
|
+
:type EnvId: str
|
|
1587
1684
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1588
1685
|
:type RequestId: str
|
|
1589
1686
|
"""
|
|
1687
|
+
self._EnvId = None
|
|
1590
1688
|
self._RequestId = None
|
|
1591
1689
|
|
|
1690
|
+
@property
|
|
1691
|
+
def EnvId(self):
|
|
1692
|
+
r"""环境ID
|
|
1693
|
+
:rtype: str
|
|
1694
|
+
"""
|
|
1695
|
+
return self._EnvId
|
|
1696
|
+
|
|
1697
|
+
@EnvId.setter
|
|
1698
|
+
def EnvId(self, EnvId):
|
|
1699
|
+
self._EnvId = EnvId
|
|
1700
|
+
|
|
1592
1701
|
@property
|
|
1593
1702
|
def RequestId(self):
|
|
1594
1703
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1602,6 +1711,7 @@ class CreateEnvironmentResponse(AbstractModel):
|
|
|
1602
1711
|
|
|
1603
1712
|
|
|
1604
1713
|
def _deserialize(self, params):
|
|
1714
|
+
self._EnvId = params.get("EnvId")
|
|
1605
1715
|
self._RequestId = params.get("RequestId")
|
|
1606
1716
|
|
|
1607
1717
|
|
|
@@ -7340,6 +7450,87 @@ class DomainNameConfig(AbstractModel):
|
|
|
7340
7450
|
|
|
7341
7451
|
|
|
7342
7452
|
|
|
7453
|
+
class EnvVar(AbstractModel):
|
|
7454
|
+
r"""环境变量
|
|
7455
|
+
|
|
7456
|
+
"""
|
|
7457
|
+
|
|
7458
|
+
def __init__(self):
|
|
7459
|
+
r"""
|
|
7460
|
+
:param _Name: 变量引用键,建议为 C_IDENTIFIER 全大写风格
|
|
7461
|
+
:type Name: str
|
|
7462
|
+
:param _Type: 默认 NORMAL,支持 NORMAL、PASSWORD 类型
|
|
7463
|
+
:type Type: str
|
|
7464
|
+
:param _Value: 变量引用值
|
|
7465
|
+
:type Value: str
|
|
7466
|
+
:param _Description: 描述内容
|
|
7467
|
+
:type Description: str
|
|
7468
|
+
"""
|
|
7469
|
+
self._Name = None
|
|
7470
|
+
self._Type = None
|
|
7471
|
+
self._Value = None
|
|
7472
|
+
self._Description = None
|
|
7473
|
+
|
|
7474
|
+
@property
|
|
7475
|
+
def Name(self):
|
|
7476
|
+
r"""变量引用键,建议为 C_IDENTIFIER 全大写风格
|
|
7477
|
+
:rtype: str
|
|
7478
|
+
"""
|
|
7479
|
+
return self._Name
|
|
7480
|
+
|
|
7481
|
+
@Name.setter
|
|
7482
|
+
def Name(self, Name):
|
|
7483
|
+
self._Name = Name
|
|
7484
|
+
|
|
7485
|
+
@property
|
|
7486
|
+
def Type(self):
|
|
7487
|
+
r"""默认 NORMAL,支持 NORMAL、PASSWORD 类型
|
|
7488
|
+
:rtype: str
|
|
7489
|
+
"""
|
|
7490
|
+
return self._Type
|
|
7491
|
+
|
|
7492
|
+
@Type.setter
|
|
7493
|
+
def Type(self, Type):
|
|
7494
|
+
self._Type = Type
|
|
7495
|
+
|
|
7496
|
+
@property
|
|
7497
|
+
def Value(self):
|
|
7498
|
+
r"""变量引用值
|
|
7499
|
+
:rtype: str
|
|
7500
|
+
"""
|
|
7501
|
+
return self._Value
|
|
7502
|
+
|
|
7503
|
+
@Value.setter
|
|
7504
|
+
def Value(self, Value):
|
|
7505
|
+
self._Value = Value
|
|
7506
|
+
|
|
7507
|
+
@property
|
|
7508
|
+
def Description(self):
|
|
7509
|
+
r"""描述内容
|
|
7510
|
+
:rtype: str
|
|
7511
|
+
"""
|
|
7512
|
+
return self._Description
|
|
7513
|
+
|
|
7514
|
+
@Description.setter
|
|
7515
|
+
def Description(self, Description):
|
|
7516
|
+
self._Description = Description
|
|
7517
|
+
|
|
7518
|
+
|
|
7519
|
+
def _deserialize(self, params):
|
|
7520
|
+
self._Name = params.get("Name")
|
|
7521
|
+
self._Type = params.get("Type")
|
|
7522
|
+
self._Value = params.get("Value")
|
|
7523
|
+
self._Description = params.get("Description")
|
|
7524
|
+
memeber_set = set(params.keys())
|
|
7525
|
+
for name, value in vars(self).items():
|
|
7526
|
+
property_name = name[1:]
|
|
7527
|
+
if property_name in memeber_set:
|
|
7528
|
+
memeber_set.remove(property_name)
|
|
7529
|
+
if len(memeber_set) > 0:
|
|
7530
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7531
|
+
|
|
7532
|
+
|
|
7533
|
+
|
|
7343
7534
|
class ErrorSummary(AbstractModel):
|
|
7344
7535
|
r"""错误信息汇总
|
|
7345
7536
|
|
|
@@ -10491,6 +10682,8 @@ class RequestsPerSecond(AbstractModel):
|
|
|
10491
10682
|
:type TargetRequestsPerSecond: int
|
|
10492
10683
|
:param _GracefulStopSeconds: 优雅关停的等待时间
|
|
10493
10684
|
:type GracefulStopSeconds: int
|
|
10685
|
+
:param _IterationCount: 场景最大执行次数
|
|
10686
|
+
:type IterationCount: int
|
|
10494
10687
|
"""
|
|
10495
10688
|
self._MaxRequestsPerSecond = None
|
|
10496
10689
|
self._DurationSeconds = None
|
|
@@ -10499,6 +10692,7 @@ class RequestsPerSecond(AbstractModel):
|
|
|
10499
10692
|
self._StartRequestsPerSecond = None
|
|
10500
10693
|
self._TargetRequestsPerSecond = None
|
|
10501
10694
|
self._GracefulStopSeconds = None
|
|
10695
|
+
self._IterationCount = None
|
|
10502
10696
|
|
|
10503
10697
|
@property
|
|
10504
10698
|
def MaxRequestsPerSecond(self):
|
|
@@ -10577,6 +10771,17 @@ class RequestsPerSecond(AbstractModel):
|
|
|
10577
10771
|
def GracefulStopSeconds(self, GracefulStopSeconds):
|
|
10578
10772
|
self._GracefulStopSeconds = GracefulStopSeconds
|
|
10579
10773
|
|
|
10774
|
+
@property
|
|
10775
|
+
def IterationCount(self):
|
|
10776
|
+
r"""场景最大执行次数
|
|
10777
|
+
:rtype: int
|
|
10778
|
+
"""
|
|
10779
|
+
return self._IterationCount
|
|
10780
|
+
|
|
10781
|
+
@IterationCount.setter
|
|
10782
|
+
def IterationCount(self, IterationCount):
|
|
10783
|
+
self._IterationCount = IterationCount
|
|
10784
|
+
|
|
10580
10785
|
|
|
10581
10786
|
def _deserialize(self, params):
|
|
10582
10787
|
self._MaxRequestsPerSecond = params.get("MaxRequestsPerSecond")
|
|
@@ -10586,6 +10791,7 @@ class RequestsPerSecond(AbstractModel):
|
|
|
10586
10791
|
self._StartRequestsPerSecond = params.get("StartRequestsPerSecond")
|
|
10587
10792
|
self._TargetRequestsPerSecond = params.get("TargetRequestsPerSecond")
|
|
10588
10793
|
self._GracefulStopSeconds = params.get("GracefulStopSeconds")
|
|
10794
|
+
self._IterationCount = params.get("IterationCount")
|
|
10589
10795
|
memeber_set = set(params.keys())
|
|
10590
10796
|
for name, value in vars(self).items():
|
|
10591
10797
|
property_name = name[1:]
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. 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
|
+
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. 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 ManageIPPortraitRiskInput(AbstractModel):
|
|
22
|
+
r"""业务入参
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _UserIp: 用户公网ip(仅支持IPv4)
|
|
29
|
+
:type UserIp: str
|
|
30
|
+
:param _Channel: 渠道号
|
|
31
|
+
:type Channel: int
|
|
32
|
+
"""
|
|
33
|
+
self._UserIp = None
|
|
34
|
+
self._Channel = None
|
|
35
|
+
|
|
36
|
+
@property
|
|
37
|
+
def UserIp(self):
|
|
38
|
+
r"""用户公网ip(仅支持IPv4)
|
|
39
|
+
:rtype: str
|
|
40
|
+
"""
|
|
41
|
+
return self._UserIp
|
|
42
|
+
|
|
43
|
+
@UserIp.setter
|
|
44
|
+
def UserIp(self, UserIp):
|
|
45
|
+
self._UserIp = UserIp
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
def Channel(self):
|
|
49
|
+
r"""渠道号
|
|
50
|
+
:rtype: int
|
|
51
|
+
"""
|
|
52
|
+
return self._Channel
|
|
53
|
+
|
|
54
|
+
@Channel.setter
|
|
55
|
+
def Channel(self, Channel):
|
|
56
|
+
self._Channel = Channel
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def _deserialize(self, params):
|
|
60
|
+
self._UserIp = params.get("UserIp")
|
|
61
|
+
self._Channel = params.get("Channel")
|
|
62
|
+
memeber_set = set(params.keys())
|
|
63
|
+
for name, value in vars(self).items():
|
|
64
|
+
property_name = name[1:]
|
|
65
|
+
if property_name in memeber_set:
|
|
66
|
+
memeber_set.remove(property_name)
|
|
67
|
+
if len(memeber_set) > 0:
|
|
68
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class ManageIPPortraitRiskOutput(AbstractModel):
|
|
73
|
+
r"""IP画像出参
|
|
74
|
+
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
def __init__(self):
|
|
78
|
+
r"""
|
|
79
|
+
:param _Code: 返回码
|
|
80
|
+
:type Code: int
|
|
81
|
+
:param _Message: 返回消息
|
|
82
|
+
:type Message: str
|
|
83
|
+
:param _Value: 结果
|
|
84
|
+
:type Value: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskValueOutput`
|
|
85
|
+
"""
|
|
86
|
+
self._Code = None
|
|
87
|
+
self._Message = None
|
|
88
|
+
self._Value = None
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def Code(self):
|
|
92
|
+
r"""返回码
|
|
93
|
+
:rtype: int
|
|
94
|
+
"""
|
|
95
|
+
return self._Code
|
|
96
|
+
|
|
97
|
+
@Code.setter
|
|
98
|
+
def Code(self, Code):
|
|
99
|
+
self._Code = Code
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def Message(self):
|
|
103
|
+
r"""返回消息
|
|
104
|
+
:rtype: str
|
|
105
|
+
"""
|
|
106
|
+
return self._Message
|
|
107
|
+
|
|
108
|
+
@Message.setter
|
|
109
|
+
def Message(self, Message):
|
|
110
|
+
self._Message = Message
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def Value(self):
|
|
114
|
+
r"""结果
|
|
115
|
+
:rtype: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskValueOutput`
|
|
116
|
+
"""
|
|
117
|
+
return self._Value
|
|
118
|
+
|
|
119
|
+
@Value.setter
|
|
120
|
+
def Value(self, Value):
|
|
121
|
+
self._Value = Value
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
def _deserialize(self, params):
|
|
125
|
+
self._Code = params.get("Code")
|
|
126
|
+
self._Message = params.get("Message")
|
|
127
|
+
if params.get("Value") is not None:
|
|
128
|
+
self._Value = ManageIPPortraitRiskValueOutput()
|
|
129
|
+
self._Value._deserialize(params.get("Value"))
|
|
130
|
+
memeber_set = set(params.keys())
|
|
131
|
+
for name, value in vars(self).items():
|
|
132
|
+
property_name = name[1:]
|
|
133
|
+
if property_name in memeber_set:
|
|
134
|
+
memeber_set.remove(property_name)
|
|
135
|
+
if len(memeber_set) > 0:
|
|
136
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class ManageIPPortraitRiskRequest(AbstractModel):
|
|
141
|
+
r"""ManageIPPortraitRisk请求参数结构体
|
|
142
|
+
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
def __init__(self):
|
|
146
|
+
r"""
|
|
147
|
+
:param _PostTime: 请求秒级时间戳
|
|
148
|
+
:type PostTime: int
|
|
149
|
+
:param _BusinessSecurityData: 业务入参
|
|
150
|
+
:type BusinessSecurityData: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskInput`
|
|
151
|
+
"""
|
|
152
|
+
self._PostTime = None
|
|
153
|
+
self._BusinessSecurityData = None
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def PostTime(self):
|
|
157
|
+
r"""请求秒级时间戳
|
|
158
|
+
:rtype: int
|
|
159
|
+
"""
|
|
160
|
+
return self._PostTime
|
|
161
|
+
|
|
162
|
+
@PostTime.setter
|
|
163
|
+
def PostTime(self, PostTime):
|
|
164
|
+
self._PostTime = PostTime
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
def BusinessSecurityData(self):
|
|
168
|
+
r"""业务入参
|
|
169
|
+
:rtype: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskInput`
|
|
170
|
+
"""
|
|
171
|
+
return self._BusinessSecurityData
|
|
172
|
+
|
|
173
|
+
@BusinessSecurityData.setter
|
|
174
|
+
def BusinessSecurityData(self, BusinessSecurityData):
|
|
175
|
+
self._BusinessSecurityData = BusinessSecurityData
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
def _deserialize(self, params):
|
|
179
|
+
self._PostTime = params.get("PostTime")
|
|
180
|
+
if params.get("BusinessSecurityData") is not None:
|
|
181
|
+
self._BusinessSecurityData = ManageIPPortraitRiskInput()
|
|
182
|
+
self._BusinessSecurityData._deserialize(params.get("BusinessSecurityData"))
|
|
183
|
+
memeber_set = set(params.keys())
|
|
184
|
+
for name, value in vars(self).items():
|
|
185
|
+
property_name = name[1:]
|
|
186
|
+
if property_name in memeber_set:
|
|
187
|
+
memeber_set.remove(property_name)
|
|
188
|
+
if len(memeber_set) > 0:
|
|
189
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
class ManageIPPortraitRiskResponse(AbstractModel):
|
|
194
|
+
r"""ManageIPPortraitRisk返回参数结构体
|
|
195
|
+
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
def __init__(self):
|
|
199
|
+
r"""
|
|
200
|
+
:param _Data: 出参
|
|
201
|
+
:type Data: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskOutput`
|
|
202
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
203
|
+
:type RequestId: str
|
|
204
|
+
"""
|
|
205
|
+
self._Data = None
|
|
206
|
+
self._RequestId = None
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
def Data(self):
|
|
210
|
+
r"""出参
|
|
211
|
+
:rtype: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskOutput`
|
|
212
|
+
"""
|
|
213
|
+
return self._Data
|
|
214
|
+
|
|
215
|
+
@Data.setter
|
|
216
|
+
def Data(self, Data):
|
|
217
|
+
self._Data = Data
|
|
218
|
+
|
|
219
|
+
@property
|
|
220
|
+
def RequestId(self):
|
|
221
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
222
|
+
:rtype: str
|
|
223
|
+
"""
|
|
224
|
+
return self._RequestId
|
|
225
|
+
|
|
226
|
+
@RequestId.setter
|
|
227
|
+
def RequestId(self, RequestId):
|
|
228
|
+
self._RequestId = RequestId
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
def _deserialize(self, params):
|
|
232
|
+
if params.get("Data") is not None:
|
|
233
|
+
self._Data = ManageIPPortraitRiskOutput()
|
|
234
|
+
self._Data._deserialize(params.get("Data"))
|
|
235
|
+
self._RequestId = params.get("RequestId")
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class ManageIPPortraitRiskValueOutput(AbstractModel):
|
|
239
|
+
r"""业务出参
|
|
240
|
+
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
def __init__(self):
|
|
244
|
+
r"""
|
|
245
|
+
:param _UserIp: 对应的IP
|
|
246
|
+
:type UserIp: str
|
|
247
|
+
:param _RiskScore: 返回风险等级, 0 - 4,0代表无风险,数值越大,风险越高
|
|
248
|
+
:type RiskScore: int
|
|
249
|
+
:param _RiskType: 风险类型
|
|
250
|
+
:type RiskType: list of int
|
|
251
|
+
"""
|
|
252
|
+
self._UserIp = None
|
|
253
|
+
self._RiskScore = None
|
|
254
|
+
self._RiskType = None
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
def UserIp(self):
|
|
258
|
+
r"""对应的IP
|
|
259
|
+
:rtype: str
|
|
260
|
+
"""
|
|
261
|
+
return self._UserIp
|
|
262
|
+
|
|
263
|
+
@UserIp.setter
|
|
264
|
+
def UserIp(self, UserIp):
|
|
265
|
+
self._UserIp = UserIp
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
def RiskScore(self):
|
|
269
|
+
r"""返回风险等级, 0 - 4,0代表无风险,数值越大,风险越高
|
|
270
|
+
:rtype: int
|
|
271
|
+
"""
|
|
272
|
+
return self._RiskScore
|
|
273
|
+
|
|
274
|
+
@RiskScore.setter
|
|
275
|
+
def RiskScore(self, RiskScore):
|
|
276
|
+
self._RiskScore = RiskScore
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
def RiskType(self):
|
|
280
|
+
r"""风险类型
|
|
281
|
+
:rtype: list of int
|
|
282
|
+
"""
|
|
283
|
+
return self._RiskType
|
|
284
|
+
|
|
285
|
+
@RiskType.setter
|
|
286
|
+
def RiskType(self, RiskType):
|
|
287
|
+
self._RiskType = RiskType
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
def _deserialize(self, params):
|
|
291
|
+
self._UserIp = params.get("UserIp")
|
|
292
|
+
self._RiskScore = params.get("RiskScore")
|
|
293
|
+
self._RiskType = params.get("RiskType")
|
|
294
|
+
memeber_set = set(params.keys())
|
|
295
|
+
for name, value in vars(self).items():
|
|
296
|
+
property_name = name[1:]
|
|
297
|
+
if property_name in memeber_set:
|
|
298
|
+
memeber_set.remove(property_name)
|
|
299
|
+
if len(memeber_set) > 0:
|
|
300
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
301
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. 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 json
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
|
19
|
+
from tencentcloud.common.abstract_client import AbstractClient
|
|
20
|
+
from tencentcloud.rce.v20250425 import models
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class RceClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2025-04-25'
|
|
25
|
+
_endpoint = 'rce.tencentcloudapi.com'
|
|
26
|
+
_service = 'rce'
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def ManageIPPortraitRisk(self, request):
|
|
30
|
+
r"""IP画像接口
|
|
31
|
+
|
|
32
|
+
:param request: Request instance for ManageIPPortraitRisk.
|
|
33
|
+
:type request: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskRequest`
|
|
34
|
+
:rtype: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskResponse`
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
try:
|
|
38
|
+
params = request._serialize()
|
|
39
|
+
headers = request.headers
|
|
40
|
+
body = self.call("ManageIPPortraitRisk", params, headers=headers)
|
|
41
|
+
response = json.loads(body)
|
|
42
|
+
model = models.ManageIPPortraitRiskResponse()
|
|
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))
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. 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
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.rce.v20250425 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class RceClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2025-04-25'
|
|
25
|
+
_endpoint = 'rce.tencentcloudapi.com'
|
|
26
|
+
_service = 'rce'
|
|
27
|
+
|
|
28
|
+
async def ManageIPPortraitRisk(
|
|
29
|
+
self,
|
|
30
|
+
request: models.ManageIPPortraitRiskRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.ManageIPPortraitRiskResponse:
|
|
33
|
+
"""
|
|
34
|
+
IP画像接口
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "ManageIPPortraitRisk"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.ManageIPPortraitRiskResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|