tencentcloud-sdk-python-cfw 3.0.1309__tar.gz → 3.0.1311__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-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/setup.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud/cfw/v20190904/cfw_client.py +0 -25
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud/cfw/v20190904/models.py +0 -79
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cfw-3.0.1311/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfw-3.0.1309/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/README.rst +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1309 → tencentcloud-sdk-python-cfw-3.0.1311}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cfw',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1311"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cfw SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1753,31 +1753,6 @@ class CfwClient(AbstractClient):
|
|
|
1753
1753
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1754
1754
|
|
|
1755
1755
|
|
|
1756
|
-
def ModifyAllVPCSwitchStatus(self, request):
|
|
1757
|
-
"""该接口已不再使用
|
|
1758
|
-
|
|
1759
|
-
VPC防火墙一键开关
|
|
1760
|
-
|
|
1761
|
-
:param request: Request instance for ModifyAllVPCSwitchStatus.
|
|
1762
|
-
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyAllVPCSwitchStatusRequest`
|
|
1763
|
-
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyAllVPCSwitchStatusResponse`
|
|
1764
|
-
|
|
1765
|
-
"""
|
|
1766
|
-
try:
|
|
1767
|
-
params = request._serialize()
|
|
1768
|
-
headers = request.headers
|
|
1769
|
-
body = self.call("ModifyAllVPCSwitchStatus", params, headers=headers)
|
|
1770
|
-
response = json.loads(body)
|
|
1771
|
-
model = models.ModifyAllVPCSwitchStatusResponse()
|
|
1772
|
-
model._deserialize(response["Response"])
|
|
1773
|
-
return model
|
|
1774
|
-
except Exception as e:
|
|
1775
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1776
|
-
raise
|
|
1777
|
-
else:
|
|
1778
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
1756
|
def ModifyAssetScan(self, request):
|
|
1782
1757
|
"""资产扫描
|
|
1783
1758
|
|
|
@@ -17094,85 +17094,6 @@ class ModifyAllRuleStatusResponse(AbstractModel):
|
|
|
17094
17094
|
self._RequestId = params.get("RequestId")
|
|
17095
17095
|
|
|
17096
17096
|
|
|
17097
|
-
class ModifyAllVPCSwitchStatusRequest(AbstractModel):
|
|
17098
|
-
"""ModifyAllVPCSwitchStatus请求参数结构体
|
|
17099
|
-
|
|
17100
|
-
"""
|
|
17101
|
-
|
|
17102
|
-
def __init__(self):
|
|
17103
|
-
r"""
|
|
17104
|
-
:param _Status: 状态,0:关闭,1:开启
|
|
17105
|
-
:type Status: int
|
|
17106
|
-
:param _FireWallVpcIds: 选中的防火墙开关Id
|
|
17107
|
-
:type FireWallVpcIds: list of str
|
|
17108
|
-
"""
|
|
17109
|
-
self._Status = None
|
|
17110
|
-
self._FireWallVpcIds = None
|
|
17111
|
-
|
|
17112
|
-
@property
|
|
17113
|
-
def Status(self):
|
|
17114
|
-
"""状态,0:关闭,1:开启
|
|
17115
|
-
:rtype: int
|
|
17116
|
-
"""
|
|
17117
|
-
return self._Status
|
|
17118
|
-
|
|
17119
|
-
@Status.setter
|
|
17120
|
-
def Status(self, Status):
|
|
17121
|
-
self._Status = Status
|
|
17122
|
-
|
|
17123
|
-
@property
|
|
17124
|
-
def FireWallVpcIds(self):
|
|
17125
|
-
"""选中的防火墙开关Id
|
|
17126
|
-
:rtype: list of str
|
|
17127
|
-
"""
|
|
17128
|
-
return self._FireWallVpcIds
|
|
17129
|
-
|
|
17130
|
-
@FireWallVpcIds.setter
|
|
17131
|
-
def FireWallVpcIds(self, FireWallVpcIds):
|
|
17132
|
-
self._FireWallVpcIds = FireWallVpcIds
|
|
17133
|
-
|
|
17134
|
-
|
|
17135
|
-
def _deserialize(self, params):
|
|
17136
|
-
self._Status = params.get("Status")
|
|
17137
|
-
self._FireWallVpcIds = params.get("FireWallVpcIds")
|
|
17138
|
-
memeber_set = set(params.keys())
|
|
17139
|
-
for name, value in vars(self).items():
|
|
17140
|
-
property_name = name[1:]
|
|
17141
|
-
if property_name in memeber_set:
|
|
17142
|
-
memeber_set.remove(property_name)
|
|
17143
|
-
if len(memeber_set) > 0:
|
|
17144
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17145
|
-
|
|
17146
|
-
|
|
17147
|
-
|
|
17148
|
-
class ModifyAllVPCSwitchStatusResponse(AbstractModel):
|
|
17149
|
-
"""ModifyAllVPCSwitchStatus返回参数结构体
|
|
17150
|
-
|
|
17151
|
-
"""
|
|
17152
|
-
|
|
17153
|
-
def __init__(self):
|
|
17154
|
-
r"""
|
|
17155
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17156
|
-
:type RequestId: str
|
|
17157
|
-
"""
|
|
17158
|
-
self._RequestId = None
|
|
17159
|
-
|
|
17160
|
-
@property
|
|
17161
|
-
def RequestId(self):
|
|
17162
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17163
|
-
:rtype: str
|
|
17164
|
-
"""
|
|
17165
|
-
return self._RequestId
|
|
17166
|
-
|
|
17167
|
-
@RequestId.setter
|
|
17168
|
-
def RequestId(self, RequestId):
|
|
17169
|
-
self._RequestId = RequestId
|
|
17170
|
-
|
|
17171
|
-
|
|
17172
|
-
def _deserialize(self, params):
|
|
17173
|
-
self._RequestId = params.get("RequestId")
|
|
17174
|
-
|
|
17175
|
-
|
|
17176
17097
|
class ModifyAssetScanRequest(AbstractModel):
|
|
17177
17098
|
"""ModifyAssetScan请求参数结构体
|
|
17178
17099
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1311
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1309
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|