tencentcloud-sdk-python 3.0.1231__py2.py3-none-any.whl → 3.0.1232__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1231'
17
+ __version__ = '3.0.1232'
@@ -17334,6 +17334,8 @@ class DescribeSlowLogDataRequest(AbstractModel):
17334
17334
  :type Limit: int
17335
17335
  :param _InstType: 仅在实例为主实例或者灾备实例时生效,可选值:slave,代表拉取从机的日志。
17336
17336
  :type InstType: str
17337
+ :param _OpResourceId: 节点ID
17338
+ :type OpResourceId: str
17337
17339
  """
17338
17340
  self._InstanceId = None
17339
17341
  self._StartTime = None
@@ -17346,6 +17348,7 @@ class DescribeSlowLogDataRequest(AbstractModel):
17346
17348
  self._Offset = None
17347
17349
  self._Limit = None
17348
17350
  self._InstType = None
17351
+ self._OpResourceId = None
17349
17352
 
17350
17353
  @property
17351
17354
  def InstanceId(self):
@@ -17435,6 +17438,14 @@ class DescribeSlowLogDataRequest(AbstractModel):
17435
17438
  def InstType(self, InstType):
17436
17439
  self._InstType = InstType
17437
17440
 
17441
+ @property
17442
+ def OpResourceId(self):
17443
+ return self._OpResourceId
17444
+
17445
+ @OpResourceId.setter
17446
+ def OpResourceId(self, OpResourceId):
17447
+ self._OpResourceId = OpResourceId
17448
+
17438
17449
 
17439
17450
  def _deserialize(self, params):
17440
17451
  self._InstanceId = params.get("InstanceId")
@@ -17448,6 +17459,7 @@ class DescribeSlowLogDataRequest(AbstractModel):
17448
17459
  self._Offset = params.get("Offset")
17449
17460
  self._Limit = params.get("Limit")
17450
17461
  self._InstType = params.get("InstType")
17462
+ self._OpResourceId = params.get("OpResourceId")
17451
17463
  memeber_set = set(params.keys())
17452
17464
  for name, value in vars(self).items():
17453
17465
  property_name = name[1:]
@@ -992,6 +992,29 @@ class CfwClient(AbstractClient):
992
992
  raise TencentCloudSDKException(type(e).__name__, str(e))
993
993
 
994
994
 
995
+ def DescribeEnterpriseSecurityGroupRuleList(self, request):
996
+ """查询新企业安全组规则 从node接口迁移 原接口DescribeSecurityGroupNewList
997
+
998
+ :param request: Request instance for DescribeEnterpriseSecurityGroupRuleList.
999
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeEnterpriseSecurityGroupRuleListRequest`
1000
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeEnterpriseSecurityGroupRuleListResponse`
1001
+
1002
+ """
1003
+ try:
1004
+ params = request._serialize()
1005
+ headers = request.headers
1006
+ body = self.call("DescribeEnterpriseSecurityGroupRuleList", params, headers=headers)
1007
+ response = json.loads(body)
1008
+ model = models.DescribeEnterpriseSecurityGroupRuleListResponse()
1009
+ model._deserialize(response["Response"])
1010
+ return model
1011
+ except Exception as e:
1012
+ if isinstance(e, TencentCloudSDKException):
1013
+ raise
1014
+ else:
1015
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1016
+
1017
+
995
1018
  def DescribeFwEdgeIps(self, request):
996
1019
  """串行防火墙IP开关列表
997
1020