tencentcloud-sdk-python-fwm 3.1.166__tar.gz → 3.1.189__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_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/setup.py +1 -1
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud/fwm/v20250611/fwm_client.py +23 -0
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud/fwm/v20250611/fwm_client_async.py +18 -0
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud/fwm/v20250611/models.py +338 -62
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud_sdk_python_fwm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_fwm-3.1.189/tencentcloud_sdk_python_fwm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_fwm-3.1.166/tencentcloud_sdk_python_fwm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/README.rst +0 -0
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/setup.cfg +0 -0
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud/fwm/__init__.py +0 -0
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud/fwm/v20250611/__init__.py +0 -0
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud/fwm/v20250611/errorcodes.py +0 -0
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud_sdk_python_fwm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud_sdk_python_fwm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_fwm-3.1.166 → tencentcloud_sdk_python_fwm-3.1.189}/tencentcloud_sdk_python_fwm.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-fwm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.189
|
|
4
4
|
Summary: Tencent Cloud Fwm 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.189
|
|
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-fwm',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Fwm SDK for Python',
|
|
@@ -164,6 +164,29 @@ class FwmClient(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def CreateRuleGroup(self, request):
|
|
168
|
+
r"""创建一个不含规则的规则组,归属产品由 Product 指定。规则组是四类防火墙产品共用的资源,落库于 fwm_rule_group 并以 product 字段区分归属;规则需另行通过 CreateSecurityGroupRule / CreateVpcAclRule / CreateNatAclRule / CreateEdgeAclRule 追加。规则组的查询/修改/删除已由 DescribeRuleGroup / DescribeRuleGroups / ModifyRuleGroup / DeleteRuleGroup 统一承载,本接口补齐创建侧,供 Terraform 等需要「建组」与「建规则」分离的资源模型使用。返回新规则组 ID(fwmrg- 前缀),初始 RuleCount 为 0。注意:创建空规则组同样计入规则组配额,且三墙(VPC/NAT/Edge)受预付费写门禁约束,企业安全组不受该门禁约束。
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for CreateRuleGroup.
|
|
171
|
+
:type request: :class:`tencentcloud.fwm.v20250611.models.CreateRuleGroupRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.fwm.v20250611.models.CreateRuleGroupResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("CreateRuleGroup", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.CreateRuleGroupResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
167
190
|
def CreateSecurityGroupRule(self, request):
|
|
168
191
|
r"""规则组编辑时添加规则(规则组管理)
|
|
169
192
|
|
|
@@ -133,6 +133,24 @@ class FwmClient(AbstractClient):
|
|
|
133
133
|
|
|
134
134
|
return await self.call_and_deserialize(**kwargs)
|
|
135
135
|
|
|
136
|
+
async def CreateRuleGroup(
|
|
137
|
+
self,
|
|
138
|
+
request: models.CreateRuleGroupRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.CreateRuleGroupResponse:
|
|
141
|
+
"""
|
|
142
|
+
创建一个不含规则的规则组,归属产品由 Product 指定。规则组是四类防火墙产品共用的资源,落库于 fwm_rule_group 并以 product 字段区分归属;规则需另行通过 CreateSecurityGroupRule / CreateVpcAclRule / CreateNatAclRule / CreateEdgeAclRule 追加。规则组的查询/修改/删除已由 DescribeRuleGroup / DescribeRuleGroups / ModifyRuleGroup / DeleteRuleGroup 统一承载,本接口补齐创建侧,供 Terraform 等需要「建组」与「建规则」分离的资源模型使用。返回新规则组 ID(fwmrg- 前缀),初始 RuleCount 为 0。注意:创建空规则组同样计入规则组配额,且三墙(VPC/NAT/Edge)受预付费写门禁约束,企业安全组不受该门禁约束。
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "CreateRuleGroup"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.CreateRuleGroupResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
136
154
|
async def CreateSecurityGroupRule(
|
|
137
155
|
self,
|
|
138
156
|
request: models.CreateSecurityGroupRuleRequest,
|
|
@@ -1349,7 +1349,7 @@ class CommonFilter(AbstractModel):
|
|
|
1349
1349
|
:param _Values: 筛选值列表
|
|
1350
1350
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1351
1351
|
:type Values: list of str
|
|
1352
|
-
:param _OperatorType: 操作类型:1
|
|
1352
|
+
:param _OperatorType: 操作类型:1=精确匹配,7=in,9=模糊匹配
|
|
1353
1353
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1354
1354
|
:type OperatorType: int
|
|
1355
1355
|
"""
|
|
@@ -1383,7 +1383,7 @@ class CommonFilter(AbstractModel):
|
|
|
1383
1383
|
|
|
1384
1384
|
@property
|
|
1385
1385
|
def OperatorType(self):
|
|
1386
|
-
r"""操作类型:1
|
|
1386
|
+
r"""操作类型:1=精确匹配,7=in,9=模糊匹配
|
|
1387
1387
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1388
1388
|
:rtype: int
|
|
1389
1389
|
"""
|
|
@@ -1623,9 +1623,9 @@ class CreateEdgeAclRuleRequest(AbstractModel):
|
|
|
1623
1623
|
|
|
1624
1624
|
def __init__(self):
|
|
1625
1625
|
r"""
|
|
1626
|
-
:param _GroupId:
|
|
1626
|
+
:param _GroupId: <p>规则组ID</p>
|
|
1627
1627
|
:type GroupId: str
|
|
1628
|
-
:param _Rules:
|
|
1628
|
+
:param _Rules: <p>规则列表</p>
|
|
1629
1629
|
:type Rules: list of EdgeAclRuleInfo
|
|
1630
1630
|
"""
|
|
1631
1631
|
self._GroupId = None
|
|
@@ -1633,7 +1633,7 @@ class CreateEdgeAclRuleRequest(AbstractModel):
|
|
|
1633
1633
|
|
|
1634
1634
|
@property
|
|
1635
1635
|
def GroupId(self):
|
|
1636
|
-
r"""
|
|
1636
|
+
r"""<p>规则组ID</p>
|
|
1637
1637
|
:rtype: str
|
|
1638
1638
|
"""
|
|
1639
1639
|
return self._GroupId
|
|
@@ -1644,7 +1644,7 @@ class CreateEdgeAclRuleRequest(AbstractModel):
|
|
|
1644
1644
|
|
|
1645
1645
|
@property
|
|
1646
1646
|
def Rules(self):
|
|
1647
|
-
r"""
|
|
1647
|
+
r"""<p>规则列表</p>
|
|
1648
1648
|
:rtype: list of EdgeAclRuleInfo
|
|
1649
1649
|
"""
|
|
1650
1650
|
return self._Rules
|
|
@@ -1679,11 +1679,25 @@ class CreateEdgeAclRuleResponse(AbstractModel):
|
|
|
1679
1679
|
|
|
1680
1680
|
def __init__(self):
|
|
1681
1681
|
r"""
|
|
1682
|
+
:param _RuleIds: <p>规则Id列表</p>
|
|
1683
|
+
:type RuleIds: list of str
|
|
1682
1684
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1683
1685
|
:type RequestId: str
|
|
1684
1686
|
"""
|
|
1687
|
+
self._RuleIds = None
|
|
1685
1688
|
self._RequestId = None
|
|
1686
1689
|
|
|
1690
|
+
@property
|
|
1691
|
+
def RuleIds(self):
|
|
1692
|
+
r"""<p>规则Id列表</p>
|
|
1693
|
+
:rtype: list of str
|
|
1694
|
+
"""
|
|
1695
|
+
return self._RuleIds
|
|
1696
|
+
|
|
1697
|
+
@RuleIds.setter
|
|
1698
|
+
def RuleIds(self, RuleIds):
|
|
1699
|
+
self._RuleIds = RuleIds
|
|
1700
|
+
|
|
1687
1701
|
@property
|
|
1688
1702
|
def RequestId(self):
|
|
1689
1703
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1697,6 +1711,7 @@ class CreateEdgeAclRuleResponse(AbstractModel):
|
|
|
1697
1711
|
|
|
1698
1712
|
|
|
1699
1713
|
def _deserialize(self, params):
|
|
1714
|
+
self._RuleIds = params.get("RuleIds")
|
|
1700
1715
|
self._RequestId = params.get("RequestId")
|
|
1701
1716
|
|
|
1702
1717
|
|
|
@@ -1821,9 +1836,9 @@ class CreateNatAclRuleRequest(AbstractModel):
|
|
|
1821
1836
|
|
|
1822
1837
|
def __init__(self):
|
|
1823
1838
|
r"""
|
|
1824
|
-
:param _GroupId:
|
|
1839
|
+
:param _GroupId: <p>规则组ID</p>
|
|
1825
1840
|
:type GroupId: str
|
|
1826
|
-
:param _Rules:
|
|
1841
|
+
:param _Rules: <p>规则列表</p>
|
|
1827
1842
|
:type Rules: list of NatAclRule
|
|
1828
1843
|
"""
|
|
1829
1844
|
self._GroupId = None
|
|
@@ -1831,7 +1846,7 @@ class CreateNatAclRuleRequest(AbstractModel):
|
|
|
1831
1846
|
|
|
1832
1847
|
@property
|
|
1833
1848
|
def GroupId(self):
|
|
1834
|
-
r"""
|
|
1849
|
+
r"""<p>规则组ID</p>
|
|
1835
1850
|
:rtype: str
|
|
1836
1851
|
"""
|
|
1837
1852
|
return self._GroupId
|
|
@@ -1842,7 +1857,7 @@ class CreateNatAclRuleRequest(AbstractModel):
|
|
|
1842
1857
|
|
|
1843
1858
|
@property
|
|
1844
1859
|
def Rules(self):
|
|
1845
|
-
r"""
|
|
1860
|
+
r"""<p>规则列表</p>
|
|
1846
1861
|
:rtype: list of NatAclRule
|
|
1847
1862
|
"""
|
|
1848
1863
|
return self._Rules
|
|
@@ -1877,11 +1892,119 @@ class CreateNatAclRuleResponse(AbstractModel):
|
|
|
1877
1892
|
|
|
1878
1893
|
def __init__(self):
|
|
1879
1894
|
r"""
|
|
1895
|
+
:param _RuleIds: <p>规则Id列表</p>
|
|
1896
|
+
:type RuleIds: list of str
|
|
1897
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1898
|
+
:type RequestId: str
|
|
1899
|
+
"""
|
|
1900
|
+
self._RuleIds = None
|
|
1901
|
+
self._RequestId = None
|
|
1902
|
+
|
|
1903
|
+
@property
|
|
1904
|
+
def RuleIds(self):
|
|
1905
|
+
r"""<p>规则Id列表</p>
|
|
1906
|
+
:rtype: list of str
|
|
1907
|
+
"""
|
|
1908
|
+
return self._RuleIds
|
|
1909
|
+
|
|
1910
|
+
@RuleIds.setter
|
|
1911
|
+
def RuleIds(self, RuleIds):
|
|
1912
|
+
self._RuleIds = RuleIds
|
|
1913
|
+
|
|
1914
|
+
@property
|
|
1915
|
+
def RequestId(self):
|
|
1916
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1917
|
+
:rtype: str
|
|
1918
|
+
"""
|
|
1919
|
+
return self._RequestId
|
|
1920
|
+
|
|
1921
|
+
@RequestId.setter
|
|
1922
|
+
def RequestId(self, RequestId):
|
|
1923
|
+
self._RequestId = RequestId
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
def _deserialize(self, params):
|
|
1927
|
+
self._RuleIds = params.get("RuleIds")
|
|
1928
|
+
self._RequestId = params.get("RequestId")
|
|
1929
|
+
|
|
1930
|
+
|
|
1931
|
+
class CreateRuleGroupRequest(AbstractModel):
|
|
1932
|
+
r"""CreateRuleGroup请求参数结构体
|
|
1933
|
+
|
|
1934
|
+
"""
|
|
1935
|
+
|
|
1936
|
+
def __init__(self):
|
|
1937
|
+
r"""
|
|
1938
|
+
:param _GroupName: <p>规则组名称,不可为空,最长50字符(按字符数计,中文按1个字符计)</p>
|
|
1939
|
+
:type GroupName: str
|
|
1940
|
+
:param _Product: <p>规则组归属产品。enterprise_sg-企业安全组,cfw_vpc_acl-VPC边界防火墙,cfw_nat_acl-NAT边界防火墙,cfw_edge_acl-互联网边界防火墙。必填,不接受 all</p>
|
|
1941
|
+
:type Product: str
|
|
1942
|
+
"""
|
|
1943
|
+
self._GroupName = None
|
|
1944
|
+
self._Product = None
|
|
1945
|
+
|
|
1946
|
+
@property
|
|
1947
|
+
def GroupName(self):
|
|
1948
|
+
r"""<p>规则组名称,不可为空,最长50字符(按字符数计,中文按1个字符计)</p>
|
|
1949
|
+
:rtype: str
|
|
1950
|
+
"""
|
|
1951
|
+
return self._GroupName
|
|
1952
|
+
|
|
1953
|
+
@GroupName.setter
|
|
1954
|
+
def GroupName(self, GroupName):
|
|
1955
|
+
self._GroupName = GroupName
|
|
1956
|
+
|
|
1957
|
+
@property
|
|
1958
|
+
def Product(self):
|
|
1959
|
+
r"""<p>规则组归属产品。enterprise_sg-企业安全组,cfw_vpc_acl-VPC边界防火墙,cfw_nat_acl-NAT边界防火墙,cfw_edge_acl-互联网边界防火墙。必填,不接受 all</p>
|
|
1960
|
+
:rtype: str
|
|
1961
|
+
"""
|
|
1962
|
+
return self._Product
|
|
1963
|
+
|
|
1964
|
+
@Product.setter
|
|
1965
|
+
def Product(self, Product):
|
|
1966
|
+
self._Product = Product
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
def _deserialize(self, params):
|
|
1970
|
+
self._GroupName = params.get("GroupName")
|
|
1971
|
+
self._Product = params.get("Product")
|
|
1972
|
+
memeber_set = set(params.keys())
|
|
1973
|
+
for name, value in vars(self).items():
|
|
1974
|
+
property_name = name[1:]
|
|
1975
|
+
if property_name in memeber_set:
|
|
1976
|
+
memeber_set.remove(property_name)
|
|
1977
|
+
if len(memeber_set) > 0:
|
|
1978
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
class CreateRuleGroupResponse(AbstractModel):
|
|
1983
|
+
r"""CreateRuleGroup返回参数结构体
|
|
1984
|
+
|
|
1985
|
+
"""
|
|
1986
|
+
|
|
1987
|
+
def __init__(self):
|
|
1988
|
+
r"""
|
|
1989
|
+
:param _GroupId: <p>创建成功的规则组唯一标识,fwmrg- 前缀</p>
|
|
1990
|
+
:type GroupId: str
|
|
1880
1991
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1881
1992
|
:type RequestId: str
|
|
1882
1993
|
"""
|
|
1994
|
+
self._GroupId = None
|
|
1883
1995
|
self._RequestId = None
|
|
1884
1996
|
|
|
1997
|
+
@property
|
|
1998
|
+
def GroupId(self):
|
|
1999
|
+
r"""<p>创建成功的规则组唯一标识,fwmrg- 前缀</p>
|
|
2000
|
+
:rtype: str
|
|
2001
|
+
"""
|
|
2002
|
+
return self._GroupId
|
|
2003
|
+
|
|
2004
|
+
@GroupId.setter
|
|
2005
|
+
def GroupId(self, GroupId):
|
|
2006
|
+
self._GroupId = GroupId
|
|
2007
|
+
|
|
1885
2008
|
@property
|
|
1886
2009
|
def RequestId(self):
|
|
1887
2010
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1895,6 +2018,7 @@ class CreateNatAclRuleResponse(AbstractModel):
|
|
|
1895
2018
|
|
|
1896
2019
|
|
|
1897
2020
|
def _deserialize(self, params):
|
|
2021
|
+
self._GroupId = params.get("GroupId")
|
|
1898
2022
|
self._RequestId = params.get("RequestId")
|
|
1899
2023
|
|
|
1900
2024
|
|
|
@@ -2019,9 +2143,9 @@ class CreateSecurityGroupRuleRequest(AbstractModel):
|
|
|
2019
2143
|
|
|
2020
2144
|
def __init__(self):
|
|
2021
2145
|
r"""
|
|
2022
|
-
:param _GroupId:
|
|
2146
|
+
:param _GroupId: <p>规则组Id</p>
|
|
2023
2147
|
:type GroupId: str
|
|
2024
|
-
:param _Rules:
|
|
2148
|
+
:param _Rules: <p>规则列表</p>
|
|
2025
2149
|
:type Rules: list of SecurityGroupRule
|
|
2026
2150
|
"""
|
|
2027
2151
|
self._GroupId = None
|
|
@@ -2029,7 +2153,7 @@ class CreateSecurityGroupRuleRequest(AbstractModel):
|
|
|
2029
2153
|
|
|
2030
2154
|
@property
|
|
2031
2155
|
def GroupId(self):
|
|
2032
|
-
r"""
|
|
2156
|
+
r"""<p>规则组Id</p>
|
|
2033
2157
|
:rtype: str
|
|
2034
2158
|
"""
|
|
2035
2159
|
return self._GroupId
|
|
@@ -2040,7 +2164,7 @@ class CreateSecurityGroupRuleRequest(AbstractModel):
|
|
|
2040
2164
|
|
|
2041
2165
|
@property
|
|
2042
2166
|
def Rules(self):
|
|
2043
|
-
r"""
|
|
2167
|
+
r"""<p>规则列表</p>
|
|
2044
2168
|
:rtype: list of SecurityGroupRule
|
|
2045
2169
|
"""
|
|
2046
2170
|
return self._Rules
|
|
@@ -2075,11 +2199,25 @@ class CreateSecurityGroupRuleResponse(AbstractModel):
|
|
|
2075
2199
|
|
|
2076
2200
|
def __init__(self):
|
|
2077
2201
|
r"""
|
|
2202
|
+
:param _RuleIds: <p>规则Id列表</p>
|
|
2203
|
+
:type RuleIds: list of str
|
|
2078
2204
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2079
2205
|
:type RequestId: str
|
|
2080
2206
|
"""
|
|
2207
|
+
self._RuleIds = None
|
|
2081
2208
|
self._RequestId = None
|
|
2082
2209
|
|
|
2210
|
+
@property
|
|
2211
|
+
def RuleIds(self):
|
|
2212
|
+
r"""<p>规则Id列表</p>
|
|
2213
|
+
:rtype: list of str
|
|
2214
|
+
"""
|
|
2215
|
+
return self._RuleIds
|
|
2216
|
+
|
|
2217
|
+
@RuleIds.setter
|
|
2218
|
+
def RuleIds(self, RuleIds):
|
|
2219
|
+
self._RuleIds = RuleIds
|
|
2220
|
+
|
|
2083
2221
|
@property
|
|
2084
2222
|
def RequestId(self):
|
|
2085
2223
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2093,6 +2231,7 @@ class CreateSecurityGroupRuleResponse(AbstractModel):
|
|
|
2093
2231
|
|
|
2094
2232
|
|
|
2095
2233
|
def _deserialize(self, params):
|
|
2234
|
+
self._RuleIds = params.get("RuleIds")
|
|
2096
2235
|
self._RequestId = params.get("RequestId")
|
|
2097
2236
|
|
|
2098
2237
|
|
|
@@ -2103,15 +2242,15 @@ class CreateStrategyRequest(AbstractModel):
|
|
|
2103
2242
|
|
|
2104
2243
|
def __init__(self):
|
|
2105
2244
|
r"""
|
|
2106
|
-
:param _Product:
|
|
2245
|
+
:param _Product: <p>产品类型</p>
|
|
2107
2246
|
:type Product: str
|
|
2108
|
-
:param _ReceiveAccount:
|
|
2247
|
+
:param _ReceiveAccount: <p>下发账号</p>
|
|
2109
2248
|
:type ReceiveAccount: list of str
|
|
2110
|
-
:param _PreStrategy:
|
|
2249
|
+
:param _PreStrategy: <p>前区规则组</p>
|
|
2111
2250
|
:type PreStrategy: list of StrategyReq
|
|
2112
|
-
:param _PostStrategy:
|
|
2251
|
+
:param _PostStrategy: <p>后区规则组</p>
|
|
2113
2252
|
:type PostStrategy: list of StrategyReq
|
|
2114
|
-
:param _ReceiveGroup:
|
|
2253
|
+
:param _ReceiveGroup: <p>下发账号组</p>
|
|
2115
2254
|
:type ReceiveGroup: list of str
|
|
2116
2255
|
"""
|
|
2117
2256
|
self._Product = None
|
|
@@ -2122,7 +2261,7 @@ class CreateStrategyRequest(AbstractModel):
|
|
|
2122
2261
|
|
|
2123
2262
|
@property
|
|
2124
2263
|
def Product(self):
|
|
2125
|
-
r"""
|
|
2264
|
+
r"""<p>产品类型</p>
|
|
2126
2265
|
:rtype: str
|
|
2127
2266
|
"""
|
|
2128
2267
|
return self._Product
|
|
@@ -2133,7 +2272,7 @@ class CreateStrategyRequest(AbstractModel):
|
|
|
2133
2272
|
|
|
2134
2273
|
@property
|
|
2135
2274
|
def ReceiveAccount(self):
|
|
2136
|
-
r"""
|
|
2275
|
+
r"""<p>下发账号</p>
|
|
2137
2276
|
:rtype: list of str
|
|
2138
2277
|
"""
|
|
2139
2278
|
return self._ReceiveAccount
|
|
@@ -2144,7 +2283,7 @@ class CreateStrategyRequest(AbstractModel):
|
|
|
2144
2283
|
|
|
2145
2284
|
@property
|
|
2146
2285
|
def PreStrategy(self):
|
|
2147
|
-
r"""
|
|
2286
|
+
r"""<p>前区规则组</p>
|
|
2148
2287
|
:rtype: list of StrategyReq
|
|
2149
2288
|
"""
|
|
2150
2289
|
return self._PreStrategy
|
|
@@ -2155,7 +2294,7 @@ class CreateStrategyRequest(AbstractModel):
|
|
|
2155
2294
|
|
|
2156
2295
|
@property
|
|
2157
2296
|
def PostStrategy(self):
|
|
2158
|
-
r"""
|
|
2297
|
+
r"""<p>后区规则组</p>
|
|
2159
2298
|
:rtype: list of StrategyReq
|
|
2160
2299
|
"""
|
|
2161
2300
|
return self._PostStrategy
|
|
@@ -2166,7 +2305,7 @@ class CreateStrategyRequest(AbstractModel):
|
|
|
2166
2305
|
|
|
2167
2306
|
@property
|
|
2168
2307
|
def ReceiveGroup(self):
|
|
2169
|
-
r"""
|
|
2308
|
+
r"""<p>下发账号组</p>
|
|
2170
2309
|
:rtype: list of str
|
|
2171
2310
|
"""
|
|
2172
2311
|
return self._ReceiveGroup
|
|
@@ -2209,11 +2348,25 @@ class CreateStrategyResponse(AbstractModel):
|
|
|
2209
2348
|
|
|
2210
2349
|
def __init__(self):
|
|
2211
2350
|
r"""
|
|
2351
|
+
:param _StrategyIds: <p>策略Id列表</p>
|
|
2352
|
+
:type StrategyIds: list of str
|
|
2212
2353
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2213
2354
|
:type RequestId: str
|
|
2214
2355
|
"""
|
|
2356
|
+
self._StrategyIds = None
|
|
2215
2357
|
self._RequestId = None
|
|
2216
2358
|
|
|
2359
|
+
@property
|
|
2360
|
+
def StrategyIds(self):
|
|
2361
|
+
r"""<p>策略Id列表</p>
|
|
2362
|
+
:rtype: list of str
|
|
2363
|
+
"""
|
|
2364
|
+
return self._StrategyIds
|
|
2365
|
+
|
|
2366
|
+
@StrategyIds.setter
|
|
2367
|
+
def StrategyIds(self, StrategyIds):
|
|
2368
|
+
self._StrategyIds = StrategyIds
|
|
2369
|
+
|
|
2217
2370
|
@property
|
|
2218
2371
|
def RequestId(self):
|
|
2219
2372
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2227,6 +2380,7 @@ class CreateStrategyResponse(AbstractModel):
|
|
|
2227
2380
|
|
|
2228
2381
|
|
|
2229
2382
|
def _deserialize(self, params):
|
|
2383
|
+
self._StrategyIds = params.get("StrategyIds")
|
|
2230
2384
|
self._RequestId = params.get("RequestId")
|
|
2231
2385
|
|
|
2232
2386
|
|
|
@@ -2351,9 +2505,9 @@ class CreateVpcAclRuleRequest(AbstractModel):
|
|
|
2351
2505
|
|
|
2352
2506
|
def __init__(self):
|
|
2353
2507
|
r"""
|
|
2354
|
-
:param _GroupId:
|
|
2508
|
+
:param _GroupId: <p>规则组ID</p>
|
|
2355
2509
|
:type GroupId: str
|
|
2356
|
-
:param _Rules:
|
|
2510
|
+
:param _Rules: <p>规则列表</p>
|
|
2357
2511
|
:type Rules: list of VpcAclRule
|
|
2358
2512
|
"""
|
|
2359
2513
|
self._GroupId = None
|
|
@@ -2361,7 +2515,7 @@ class CreateVpcAclRuleRequest(AbstractModel):
|
|
|
2361
2515
|
|
|
2362
2516
|
@property
|
|
2363
2517
|
def GroupId(self):
|
|
2364
|
-
r"""
|
|
2518
|
+
r"""<p>规则组ID</p>
|
|
2365
2519
|
:rtype: str
|
|
2366
2520
|
"""
|
|
2367
2521
|
return self._GroupId
|
|
@@ -2372,7 +2526,7 @@ class CreateVpcAclRuleRequest(AbstractModel):
|
|
|
2372
2526
|
|
|
2373
2527
|
@property
|
|
2374
2528
|
def Rules(self):
|
|
2375
|
-
r"""
|
|
2529
|
+
r"""<p>规则列表</p>
|
|
2376
2530
|
:rtype: list of VpcAclRule
|
|
2377
2531
|
"""
|
|
2378
2532
|
return self._Rules
|
|
@@ -2407,11 +2561,25 @@ class CreateVpcAclRuleResponse(AbstractModel):
|
|
|
2407
2561
|
|
|
2408
2562
|
def __init__(self):
|
|
2409
2563
|
r"""
|
|
2564
|
+
:param _RuleIds: <p>规则Id列表</p>
|
|
2565
|
+
:type RuleIds: list of str
|
|
2410
2566
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2411
2567
|
:type RequestId: str
|
|
2412
2568
|
"""
|
|
2569
|
+
self._RuleIds = None
|
|
2413
2570
|
self._RequestId = None
|
|
2414
2571
|
|
|
2572
|
+
@property
|
|
2573
|
+
def RuleIds(self):
|
|
2574
|
+
r"""<p>规则Id列表</p>
|
|
2575
|
+
:rtype: list of str
|
|
2576
|
+
"""
|
|
2577
|
+
return self._RuleIds
|
|
2578
|
+
|
|
2579
|
+
@RuleIds.setter
|
|
2580
|
+
def RuleIds(self, RuleIds):
|
|
2581
|
+
self._RuleIds = RuleIds
|
|
2582
|
+
|
|
2415
2583
|
@property
|
|
2416
2584
|
def RequestId(self):
|
|
2417
2585
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2425,6 +2593,7 @@ class CreateVpcAclRuleResponse(AbstractModel):
|
|
|
2425
2593
|
|
|
2426
2594
|
|
|
2427
2595
|
def _deserialize(self, params):
|
|
2596
|
+
self._RuleIds = params.get("RuleIds")
|
|
2428
2597
|
self._RequestId = params.get("RequestId")
|
|
2429
2598
|
|
|
2430
2599
|
|
|
@@ -5592,6 +5761,10 @@ class EdgeAclRuleResp(AbstractModel):
|
|
|
5592
5761
|
:type UpdateTime: str
|
|
5593
5762
|
:param _DnsParseCnt: 域名数
|
|
5594
5763
|
:type DnsParseCnt: int
|
|
5764
|
+
:param _HitCount: 命中次数。该规则在所有已下发成员账号下的累计命中次数合计,直接采用云防火墙返回值,不做时间窗口换算;从未命中时为 0
|
|
5765
|
+
:type HitCount: int
|
|
5766
|
+
:param _LastHitTime: 最近命中时间。取该规则在所有已下发成员账号中最新的命中时间;从未命中时为 "-"
|
|
5767
|
+
:type LastHitTime: str
|
|
5595
5768
|
"""
|
|
5596
5769
|
self._RuleId = None
|
|
5597
5770
|
self._Sequence = None
|
|
@@ -5624,6 +5797,8 @@ class EdgeAclRuleResp(AbstractModel):
|
|
|
5624
5797
|
self._CreateTime = None
|
|
5625
5798
|
self._UpdateTime = None
|
|
5626
5799
|
self._DnsParseCnt = None
|
|
5800
|
+
self._HitCount = None
|
|
5801
|
+
self._LastHitTime = None
|
|
5627
5802
|
|
|
5628
5803
|
@property
|
|
5629
5804
|
def RuleId(self):
|
|
@@ -5974,6 +6149,28 @@ class EdgeAclRuleResp(AbstractModel):
|
|
|
5974
6149
|
def DnsParseCnt(self, DnsParseCnt):
|
|
5975
6150
|
self._DnsParseCnt = DnsParseCnt
|
|
5976
6151
|
|
|
6152
|
+
@property
|
|
6153
|
+
def HitCount(self):
|
|
6154
|
+
r"""命中次数。该规则在所有已下发成员账号下的累计命中次数合计,直接采用云防火墙返回值,不做时间窗口换算;从未命中时为 0
|
|
6155
|
+
:rtype: int
|
|
6156
|
+
"""
|
|
6157
|
+
return self._HitCount
|
|
6158
|
+
|
|
6159
|
+
@HitCount.setter
|
|
6160
|
+
def HitCount(self, HitCount):
|
|
6161
|
+
self._HitCount = HitCount
|
|
6162
|
+
|
|
6163
|
+
@property
|
|
6164
|
+
def LastHitTime(self):
|
|
6165
|
+
r"""最近命中时间。取该规则在所有已下发成员账号中最新的命中时间;从未命中时为 "-"
|
|
6166
|
+
:rtype: str
|
|
6167
|
+
"""
|
|
6168
|
+
return self._LastHitTime
|
|
6169
|
+
|
|
6170
|
+
@LastHitTime.setter
|
|
6171
|
+
def LastHitTime(self, LastHitTime):
|
|
6172
|
+
self._LastHitTime = LastHitTime
|
|
6173
|
+
|
|
5977
6174
|
|
|
5978
6175
|
def _deserialize(self, params):
|
|
5979
6176
|
self._RuleId = params.get("RuleId")
|
|
@@ -6009,6 +6206,8 @@ class EdgeAclRuleResp(AbstractModel):
|
|
|
6009
6206
|
self._CreateTime = params.get("CreateTime")
|
|
6010
6207
|
self._UpdateTime = params.get("UpdateTime")
|
|
6011
6208
|
self._DnsParseCnt = params.get("DnsParseCnt")
|
|
6209
|
+
self._HitCount = params.get("HitCount")
|
|
6210
|
+
self._LastHitTime = params.get("LastHitTime")
|
|
6012
6211
|
memeber_set = set(params.keys())
|
|
6013
6212
|
for name, value in vars(self).items():
|
|
6014
6213
|
property_name = name[1:]
|
|
@@ -6105,15 +6304,15 @@ class MemberInfo(AbstractModel):
|
|
|
6105
6304
|
|
|
6106
6305
|
def __init__(self):
|
|
6107
6306
|
r"""
|
|
6108
|
-
:param _AppId:
|
|
6307
|
+
:param _AppId: 成员 AppId
|
|
6109
6308
|
:type AppId: str
|
|
6110
|
-
:param _Uin:
|
|
6309
|
+
:param _Uin: 成员 Uin
|
|
6111
6310
|
:type Uin: str
|
|
6112
|
-
:param _Nickname:
|
|
6311
|
+
:param _Nickname: 成员昵称
|
|
6113
6312
|
:type Nickname: str
|
|
6114
|
-
:param _MemberId:
|
|
6313
|
+
:param _MemberId: 成员 ID(个人场景为空)
|
|
6115
6314
|
:type MemberId: str
|
|
6116
|
-
:param _NodeName:
|
|
6315
|
+
:param _NodeName: 所属部门
|
|
6117
6316
|
:type NodeName: str
|
|
6118
6317
|
"""
|
|
6119
6318
|
self._AppId = None
|
|
@@ -6124,7 +6323,7 @@ class MemberInfo(AbstractModel):
|
|
|
6124
6323
|
|
|
6125
6324
|
@property
|
|
6126
6325
|
def AppId(self):
|
|
6127
|
-
r"""
|
|
6326
|
+
r"""成员 AppId
|
|
6128
6327
|
:rtype: str
|
|
6129
6328
|
"""
|
|
6130
6329
|
return self._AppId
|
|
@@ -6135,7 +6334,7 @@ class MemberInfo(AbstractModel):
|
|
|
6135
6334
|
|
|
6136
6335
|
@property
|
|
6137
6336
|
def Uin(self):
|
|
6138
|
-
r"""
|
|
6337
|
+
r"""成员 Uin
|
|
6139
6338
|
:rtype: str
|
|
6140
6339
|
"""
|
|
6141
6340
|
return self._Uin
|
|
@@ -6146,7 +6345,7 @@ class MemberInfo(AbstractModel):
|
|
|
6146
6345
|
|
|
6147
6346
|
@property
|
|
6148
6347
|
def Nickname(self):
|
|
6149
|
-
r"""
|
|
6348
|
+
r"""成员昵称
|
|
6150
6349
|
:rtype: str
|
|
6151
6350
|
"""
|
|
6152
6351
|
return self._Nickname
|
|
@@ -6157,7 +6356,7 @@ class MemberInfo(AbstractModel):
|
|
|
6157
6356
|
|
|
6158
6357
|
@property
|
|
6159
6358
|
def MemberId(self):
|
|
6160
|
-
r"""
|
|
6359
|
+
r"""成员 ID(个人场景为空)
|
|
6161
6360
|
:rtype: str
|
|
6162
6361
|
"""
|
|
6163
6362
|
return self._MemberId
|
|
@@ -6168,7 +6367,7 @@ class MemberInfo(AbstractModel):
|
|
|
6168
6367
|
|
|
6169
6368
|
@property
|
|
6170
6369
|
def NodeName(self):
|
|
6171
|
-
r"""
|
|
6370
|
+
r"""所属部门
|
|
6172
6371
|
:rtype: str
|
|
6173
6372
|
"""
|
|
6174
6373
|
return self._NodeName
|
|
@@ -7435,6 +7634,10 @@ class NatAclRuleResp(AbstractModel):
|
|
|
7435
7634
|
:type UpdateTime: str
|
|
7436
7635
|
:param _DnsParseCnt: 域名数
|
|
7437
7636
|
:type DnsParseCnt: int
|
|
7637
|
+
:param _HitCount: 命中次数。该规则在所有已下发成员账号下的累计命中次数合计,直接采用云防火墙返回值,不做时间窗口换算;从未命中时为 0
|
|
7638
|
+
:type HitCount: int
|
|
7639
|
+
:param _LastHitTime: 最近命中时间。取该规则在所有已下发成员账号中最新的命中时间;从未命中时为 "-"
|
|
7640
|
+
:type LastHitTime: str
|
|
7438
7641
|
"""
|
|
7439
7642
|
self._RuleId = None
|
|
7440
7643
|
self._Sequence = None
|
|
@@ -7468,6 +7671,8 @@ class NatAclRuleResp(AbstractModel):
|
|
|
7468
7671
|
self._CreateTime = None
|
|
7469
7672
|
self._UpdateTime = None
|
|
7470
7673
|
self._DnsParseCnt = None
|
|
7674
|
+
self._HitCount = None
|
|
7675
|
+
self._LastHitTime = None
|
|
7471
7676
|
|
|
7472
7677
|
@property
|
|
7473
7678
|
def RuleId(self):
|
|
@@ -7842,6 +8047,28 @@ class NatAclRuleResp(AbstractModel):
|
|
|
7842
8047
|
def DnsParseCnt(self, DnsParseCnt):
|
|
7843
8048
|
self._DnsParseCnt = DnsParseCnt
|
|
7844
8049
|
|
|
8050
|
+
@property
|
|
8051
|
+
def HitCount(self):
|
|
8052
|
+
r"""命中次数。该规则在所有已下发成员账号下的累计命中次数合计,直接采用云防火墙返回值,不做时间窗口换算;从未命中时为 0
|
|
8053
|
+
:rtype: int
|
|
8054
|
+
"""
|
|
8055
|
+
return self._HitCount
|
|
8056
|
+
|
|
8057
|
+
@HitCount.setter
|
|
8058
|
+
def HitCount(self, HitCount):
|
|
8059
|
+
self._HitCount = HitCount
|
|
8060
|
+
|
|
8061
|
+
@property
|
|
8062
|
+
def LastHitTime(self):
|
|
8063
|
+
r"""最近命中时间。取该规则在所有已下发成员账号中最新的命中时间;从未命中时为 "-"
|
|
8064
|
+
:rtype: str
|
|
8065
|
+
"""
|
|
8066
|
+
return self._LastHitTime
|
|
8067
|
+
|
|
8068
|
+
@LastHitTime.setter
|
|
8069
|
+
def LastHitTime(self, LastHitTime):
|
|
8070
|
+
self._LastHitTime = LastHitTime
|
|
8071
|
+
|
|
7845
8072
|
|
|
7846
8073
|
def _deserialize(self, params):
|
|
7847
8074
|
self._RuleId = params.get("RuleId")
|
|
@@ -7878,6 +8105,8 @@ class NatAclRuleResp(AbstractModel):
|
|
|
7878
8105
|
self._CreateTime = params.get("CreateTime")
|
|
7879
8106
|
self._UpdateTime = params.get("UpdateTime")
|
|
7880
8107
|
self._DnsParseCnt = params.get("DnsParseCnt")
|
|
8108
|
+
self._HitCount = params.get("HitCount")
|
|
8109
|
+
self._LastHitTime = params.get("LastHitTime")
|
|
7881
8110
|
memeber_set = set(params.keys())
|
|
7882
8111
|
for name, value in vars(self).items():
|
|
7883
8112
|
property_name = name[1:]
|
|
@@ -8263,30 +8492,32 @@ class OrganSummary(AbstractModel):
|
|
|
8263
8492
|
|
|
8264
8493
|
def __init__(self):
|
|
8265
8494
|
r"""
|
|
8266
|
-
:param _GroupName:
|
|
8495
|
+
:param _GroupName: <p>集团名称</p>
|
|
8267
8496
|
:type GroupName: str
|
|
8268
|
-
:param _AdminInfo:
|
|
8497
|
+
:param _AdminInfo: <p>管理员账号信息</p>
|
|
8269
8498
|
:type AdminInfo: :class:`tencentcloud.fwm.v20250611.models.MemberInfo`
|
|
8270
|
-
:param _AdminCount:
|
|
8499
|
+
:param _AdminCount: <p>管理员/委派管理员数量</p>
|
|
8271
8500
|
:type AdminCount: int
|
|
8272
|
-
:param _JoinedMemberCount:
|
|
8501
|
+
:param _JoinedMemberCount: <p>已接入成员数</p>
|
|
8273
8502
|
:type JoinedMemberCount: int
|
|
8274
|
-
:param _MemberLimit:
|
|
8503
|
+
:param _MemberLimit: <p>接入成员上限(-1表示无上限)</p>
|
|
8275
8504
|
:type MemberLimit: int
|
|
8276
|
-
:param _MemberLimitDisplay:
|
|
8505
|
+
:param _MemberLimitDisplay: <p>接入成员上限显示</p>
|
|
8277
8506
|
:type MemberLimitDisplay: str
|
|
8278
|
-
:param _CfwSharerCount:
|
|
8507
|
+
:param _CfwSharerCount: <p>规格共享者数量</p>
|
|
8279
8508
|
:type CfwSharerCount: int
|
|
8280
|
-
:param _CfwUserCount:
|
|
8509
|
+
:param _CfwUserCount: <p>规格使用者数量</p>
|
|
8281
8510
|
:type CfwUserCount: int
|
|
8282
|
-
:param _Departments:
|
|
8511
|
+
:param _Departments: <p>部门名称列表</p>
|
|
8283
8512
|
:type Departments: list of str
|
|
8284
|
-
:param _ManagedMemberCount:
|
|
8513
|
+
:param _ManagedMemberCount: <p>纳管账号数</p>
|
|
8285
8514
|
:type ManagedMemberCount: int
|
|
8286
|
-
:param _ManagedProductCount:
|
|
8515
|
+
:param _ManagedProductCount: <p>纳管产品数</p>
|
|
8287
8516
|
:type ManagedProductCount: int
|
|
8288
|
-
:param _CfwManageCount:
|
|
8517
|
+
:param _CfwManageCount: <p>纳管账号数</p>
|
|
8289
8518
|
:type CfwManageCount: int
|
|
8519
|
+
:param _FwmShareUserQuota: <p>规格共享总配额</p>
|
|
8520
|
+
:type FwmShareUserQuota: int
|
|
8290
8521
|
"""
|
|
8291
8522
|
self._GroupName = None
|
|
8292
8523
|
self._AdminInfo = None
|
|
@@ -8300,10 +8531,11 @@ class OrganSummary(AbstractModel):
|
|
|
8300
8531
|
self._ManagedMemberCount = None
|
|
8301
8532
|
self._ManagedProductCount = None
|
|
8302
8533
|
self._CfwManageCount = None
|
|
8534
|
+
self._FwmShareUserQuota = None
|
|
8303
8535
|
|
|
8304
8536
|
@property
|
|
8305
8537
|
def GroupName(self):
|
|
8306
|
-
r"""
|
|
8538
|
+
r"""<p>集团名称</p>
|
|
8307
8539
|
:rtype: str
|
|
8308
8540
|
"""
|
|
8309
8541
|
return self._GroupName
|
|
@@ -8314,7 +8546,7 @@ class OrganSummary(AbstractModel):
|
|
|
8314
8546
|
|
|
8315
8547
|
@property
|
|
8316
8548
|
def AdminInfo(self):
|
|
8317
|
-
r"""
|
|
8549
|
+
r"""<p>管理员账号信息</p>
|
|
8318
8550
|
:rtype: :class:`tencentcloud.fwm.v20250611.models.MemberInfo`
|
|
8319
8551
|
"""
|
|
8320
8552
|
return self._AdminInfo
|
|
@@ -8325,7 +8557,7 @@ class OrganSummary(AbstractModel):
|
|
|
8325
8557
|
|
|
8326
8558
|
@property
|
|
8327
8559
|
def AdminCount(self):
|
|
8328
|
-
r"""
|
|
8560
|
+
r"""<p>管理员/委派管理员数量</p>
|
|
8329
8561
|
:rtype: int
|
|
8330
8562
|
"""
|
|
8331
8563
|
return self._AdminCount
|
|
@@ -8336,7 +8568,7 @@ class OrganSummary(AbstractModel):
|
|
|
8336
8568
|
|
|
8337
8569
|
@property
|
|
8338
8570
|
def JoinedMemberCount(self):
|
|
8339
|
-
r"""
|
|
8571
|
+
r"""<p>已接入成员数</p>
|
|
8340
8572
|
:rtype: int
|
|
8341
8573
|
"""
|
|
8342
8574
|
return self._JoinedMemberCount
|
|
@@ -8347,7 +8579,7 @@ class OrganSummary(AbstractModel):
|
|
|
8347
8579
|
|
|
8348
8580
|
@property
|
|
8349
8581
|
def MemberLimit(self):
|
|
8350
|
-
r"""
|
|
8582
|
+
r"""<p>接入成员上限(-1表示无上限)</p>
|
|
8351
8583
|
:rtype: int
|
|
8352
8584
|
"""
|
|
8353
8585
|
return self._MemberLimit
|
|
@@ -8358,7 +8590,7 @@ class OrganSummary(AbstractModel):
|
|
|
8358
8590
|
|
|
8359
8591
|
@property
|
|
8360
8592
|
def MemberLimitDisplay(self):
|
|
8361
|
-
r"""
|
|
8593
|
+
r"""<p>接入成员上限显示</p>
|
|
8362
8594
|
:rtype: str
|
|
8363
8595
|
"""
|
|
8364
8596
|
return self._MemberLimitDisplay
|
|
@@ -8369,7 +8601,7 @@ class OrganSummary(AbstractModel):
|
|
|
8369
8601
|
|
|
8370
8602
|
@property
|
|
8371
8603
|
def CfwSharerCount(self):
|
|
8372
|
-
r"""
|
|
8604
|
+
r"""<p>规格共享者数量</p>
|
|
8373
8605
|
:rtype: int
|
|
8374
8606
|
"""
|
|
8375
8607
|
return self._CfwSharerCount
|
|
@@ -8380,7 +8612,7 @@ class OrganSummary(AbstractModel):
|
|
|
8380
8612
|
|
|
8381
8613
|
@property
|
|
8382
8614
|
def CfwUserCount(self):
|
|
8383
|
-
r"""
|
|
8615
|
+
r"""<p>规格使用者数量</p>
|
|
8384
8616
|
:rtype: int
|
|
8385
8617
|
"""
|
|
8386
8618
|
return self._CfwUserCount
|
|
@@ -8391,7 +8623,7 @@ class OrganSummary(AbstractModel):
|
|
|
8391
8623
|
|
|
8392
8624
|
@property
|
|
8393
8625
|
def Departments(self):
|
|
8394
|
-
r"""
|
|
8626
|
+
r"""<p>部门名称列表</p>
|
|
8395
8627
|
:rtype: list of str
|
|
8396
8628
|
"""
|
|
8397
8629
|
return self._Departments
|
|
@@ -8402,7 +8634,7 @@ class OrganSummary(AbstractModel):
|
|
|
8402
8634
|
|
|
8403
8635
|
@property
|
|
8404
8636
|
def ManagedMemberCount(self):
|
|
8405
|
-
r"""
|
|
8637
|
+
r"""<p>纳管账号数</p>
|
|
8406
8638
|
:rtype: int
|
|
8407
8639
|
"""
|
|
8408
8640
|
return self._ManagedMemberCount
|
|
@@ -8413,7 +8645,7 @@ class OrganSummary(AbstractModel):
|
|
|
8413
8645
|
|
|
8414
8646
|
@property
|
|
8415
8647
|
def ManagedProductCount(self):
|
|
8416
|
-
r"""
|
|
8648
|
+
r"""<p>纳管产品数</p>
|
|
8417
8649
|
:rtype: int
|
|
8418
8650
|
"""
|
|
8419
8651
|
return self._ManagedProductCount
|
|
@@ -8424,7 +8656,7 @@ class OrganSummary(AbstractModel):
|
|
|
8424
8656
|
|
|
8425
8657
|
@property
|
|
8426
8658
|
def CfwManageCount(self):
|
|
8427
|
-
r"""
|
|
8659
|
+
r"""<p>纳管账号数</p>
|
|
8428
8660
|
:rtype: int
|
|
8429
8661
|
"""
|
|
8430
8662
|
return self._CfwManageCount
|
|
@@ -8433,6 +8665,17 @@ class OrganSummary(AbstractModel):
|
|
|
8433
8665
|
def CfwManageCount(self, CfwManageCount):
|
|
8434
8666
|
self._CfwManageCount = CfwManageCount
|
|
8435
8667
|
|
|
8668
|
+
@property
|
|
8669
|
+
def FwmShareUserQuota(self):
|
|
8670
|
+
r"""<p>规格共享总配额</p>
|
|
8671
|
+
:rtype: int
|
|
8672
|
+
"""
|
|
8673
|
+
return self._FwmShareUserQuota
|
|
8674
|
+
|
|
8675
|
+
@FwmShareUserQuota.setter
|
|
8676
|
+
def FwmShareUserQuota(self, FwmShareUserQuota):
|
|
8677
|
+
self._FwmShareUserQuota = FwmShareUserQuota
|
|
8678
|
+
|
|
8436
8679
|
|
|
8437
8680
|
def _deserialize(self, params):
|
|
8438
8681
|
self._GroupName = params.get("GroupName")
|
|
@@ -8449,6 +8692,7 @@ class OrganSummary(AbstractModel):
|
|
|
8449
8692
|
self._ManagedMemberCount = params.get("ManagedMemberCount")
|
|
8450
8693
|
self._ManagedProductCount = params.get("ManagedProductCount")
|
|
8451
8694
|
self._CfwManageCount = params.get("CfwManageCount")
|
|
8695
|
+
self._FwmShareUserQuota = params.get("FwmShareUserQuota")
|
|
8452
8696
|
memeber_set = set(params.keys())
|
|
8453
8697
|
for name, value in vars(self).items():
|
|
8454
8698
|
property_name = name[1:]
|
|
@@ -9141,6 +9385,7 @@ class SecGroupRuleResp(AbstractModel):
|
|
|
9141
9385
|
:param _Id: <p>规则id 等同RuleUuid</p>
|
|
9142
9386
|
:type Id: int
|
|
9143
9387
|
:param _DnsParseCount: <p>域名解析的IP统计</p>
|
|
9388
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9144
9389
|
:type DnsParseCount: :class:`tencentcloud.fwm.v20250611.models.SgDnsParseCount`
|
|
9145
9390
|
:param _Scope: <p>规则生效范围</p>
|
|
9146
9391
|
:type Scope: str
|
|
@@ -9458,6 +9703,7 @@ class SecGroupRuleResp(AbstractModel):
|
|
|
9458
9703
|
@property
|
|
9459
9704
|
def DnsParseCount(self):
|
|
9460
9705
|
r"""<p>域名解析的IP统计</p>
|
|
9706
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9461
9707
|
:rtype: :class:`tencentcloud.fwm.v20250611.models.SgDnsParseCount`
|
|
9462
9708
|
"""
|
|
9463
9709
|
return self._DnsParseCount
|
|
@@ -11076,6 +11322,10 @@ class VpcAclRuleResp(AbstractModel):
|
|
|
11076
11322
|
:type DnsParseCnt: int
|
|
11077
11323
|
:param _FwGroupName: 防火墙组名称
|
|
11078
11324
|
:type FwGroupName: str
|
|
11325
|
+
:param _HitCount: 命中次数。该规则在所有已下发成员账号下的累计命中次数合计,直接采用云防火墙返回值,不做时间窗口换算;从未命中时为 0
|
|
11326
|
+
:type HitCount: int
|
|
11327
|
+
:param _LastHitTime: 最近命中时间。取该规则在所有已下发成员账号中最新的命中时间;从未命中时为 "-"
|
|
11328
|
+
:type LastHitTime: str
|
|
11079
11329
|
"""
|
|
11080
11330
|
self._RuleId = None
|
|
11081
11331
|
self._Sequence = None
|
|
@@ -11100,6 +11350,8 @@ class VpcAclRuleResp(AbstractModel):
|
|
|
11100
11350
|
self._UpdateTime = None
|
|
11101
11351
|
self._DnsParseCnt = None
|
|
11102
11352
|
self._FwGroupName = None
|
|
11353
|
+
self._HitCount = None
|
|
11354
|
+
self._LastHitTime = None
|
|
11103
11355
|
|
|
11104
11356
|
@property
|
|
11105
11357
|
def RuleId(self):
|
|
@@ -11361,6 +11613,28 @@ class VpcAclRuleResp(AbstractModel):
|
|
|
11361
11613
|
def FwGroupName(self, FwGroupName):
|
|
11362
11614
|
self._FwGroupName = FwGroupName
|
|
11363
11615
|
|
|
11616
|
+
@property
|
|
11617
|
+
def HitCount(self):
|
|
11618
|
+
r"""命中次数。该规则在所有已下发成员账号下的累计命中次数合计,直接采用云防火墙返回值,不做时间窗口换算;从未命中时为 0
|
|
11619
|
+
:rtype: int
|
|
11620
|
+
"""
|
|
11621
|
+
return self._HitCount
|
|
11622
|
+
|
|
11623
|
+
@HitCount.setter
|
|
11624
|
+
def HitCount(self, HitCount):
|
|
11625
|
+
self._HitCount = HitCount
|
|
11626
|
+
|
|
11627
|
+
@property
|
|
11628
|
+
def LastHitTime(self):
|
|
11629
|
+
r"""最近命中时间。取该规则在所有已下发成员账号中最新的命中时间;从未命中时为 "-"
|
|
11630
|
+
:rtype: str
|
|
11631
|
+
"""
|
|
11632
|
+
return self._LastHitTime
|
|
11633
|
+
|
|
11634
|
+
@LastHitTime.setter
|
|
11635
|
+
def LastHitTime(self, LastHitTime):
|
|
11636
|
+
self._LastHitTime = LastHitTime
|
|
11637
|
+
|
|
11364
11638
|
|
|
11365
11639
|
def _deserialize(self, params):
|
|
11366
11640
|
self._RuleId = params.get("RuleId")
|
|
@@ -11388,6 +11662,8 @@ class VpcAclRuleResp(AbstractModel):
|
|
|
11388
11662
|
self._UpdateTime = params.get("UpdateTime")
|
|
11389
11663
|
self._DnsParseCnt = params.get("DnsParseCnt")
|
|
11390
11664
|
self._FwGroupName = params.get("FwGroupName")
|
|
11665
|
+
self._HitCount = params.get("HitCount")
|
|
11666
|
+
self._LastHitTime = params.get("LastHitTime")
|
|
11391
11667
|
memeber_set = set(params.keys())
|
|
11392
11668
|
for name, value in vars(self).items():
|
|
11393
11669
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-fwm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.189
|
|
4
4
|
Summary: Tencent Cloud Fwm 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.189
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.189
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.166
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|