tencentcloud-sdk-python 3.0.972__py2.py3-none-any.whl → 3.0.974__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/asr/v20190614/asr_client.py +11 -10
- tencentcloud/asr/v20190614/models.py +49 -18
- tencentcloud/ccc/v20200210/models.py +2 -2
- tencentcloud/cdwch/v20200915/cdwch_client.py +1 -1
- tencentcloud/cfs/v20190719/models.py +36 -0
- tencentcloud/cfw/v20190904/cfw_client.py +47 -0
- tencentcloud/cfw/v20190904/models.py +322 -11
- tencentcloud/clb/v20180317/models.py +23 -5
- tencentcloud/csip/v20221121/csip_client.py +92 -0
- tencentcloud/csip/v20221121/models.py +2712 -904
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +92 -0
- tencentcloud/dbbrain/v20210527/models.py +1049 -18
- tencentcloud/dnspod/v20210323/models.py +12 -0
- tencentcloud/dts/v20211206/models.py +145 -2
- tencentcloud/ecm/v20190719/models.py +15 -2
- tencentcloud/ess/v20201111/ess_client.py +10 -7
- tencentcloud/ess/v20201111/models.py +48 -30
- tencentcloud/iotexplorer/v20190423/errorcodes.py +1 -1
- tencentcloud/live/v20180801/errorcodes.py +3 -0
- tencentcloud/live/v20180801/live_client.py +23 -0
- tencentcloud/live/v20180801/models.py +131 -0
- tencentcloud/mps/v20190612/models.py +429 -0
- tencentcloud/tiia/v20190529/models.py +2 -1
- tencentcloud/tiia/v20190529/tiia_client.py +9 -4
- tencentcloud/tione/v20211111/models.py +454 -34
- tencentcloud/tione/v20211111/tione_client.py +5 -3
- tencentcloud/tiw/v20190919/tiw_client.py +12 -4
- tencentcloud/tse/v20201207/models.py +223 -0
- tencentcloud/tsf/v20180326/models.py +1 -1
- tencentcloud/tsf/v20180326/tsf_client.py +1 -1
- tencentcloud/vod/v20180717/models.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +71 -11
- tencentcloud/vpc/v20170312/vpc_client.py +3 -3
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/top_level.txt +0 -0
|
@@ -1591,6 +1591,81 @@ class CreateAddressTemplateResponse(AbstractModel):
|
|
|
1591
1591
|
self._RequestId = params.get("RequestId")
|
|
1592
1592
|
|
|
1593
1593
|
|
|
1594
|
+
class CreateBlockIgnoreRuleListRequest(AbstractModel):
|
|
1595
|
+
"""CreateBlockIgnoreRuleList请求参数结构体
|
|
1596
|
+
|
|
1597
|
+
"""
|
|
1598
|
+
|
|
1599
|
+
def __init__(self):
|
|
1600
|
+
r"""
|
|
1601
|
+
:param _Rules: 规则列表
|
|
1602
|
+
:type Rules: list of IntrusionDefenseRule
|
|
1603
|
+
:param _RuleType: 规则类型,1封禁,2放通,不支持域名封禁
|
|
1604
|
+
:type RuleType: int
|
|
1605
|
+
"""
|
|
1606
|
+
self._Rules = None
|
|
1607
|
+
self._RuleType = None
|
|
1608
|
+
|
|
1609
|
+
@property
|
|
1610
|
+
def Rules(self):
|
|
1611
|
+
return self._Rules
|
|
1612
|
+
|
|
1613
|
+
@Rules.setter
|
|
1614
|
+
def Rules(self, Rules):
|
|
1615
|
+
self._Rules = Rules
|
|
1616
|
+
|
|
1617
|
+
@property
|
|
1618
|
+
def RuleType(self):
|
|
1619
|
+
return self._RuleType
|
|
1620
|
+
|
|
1621
|
+
@RuleType.setter
|
|
1622
|
+
def RuleType(self, RuleType):
|
|
1623
|
+
self._RuleType = RuleType
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
def _deserialize(self, params):
|
|
1627
|
+
if params.get("Rules") is not None:
|
|
1628
|
+
self._Rules = []
|
|
1629
|
+
for item in params.get("Rules"):
|
|
1630
|
+
obj = IntrusionDefenseRule()
|
|
1631
|
+
obj._deserialize(item)
|
|
1632
|
+
self._Rules.append(obj)
|
|
1633
|
+
self._RuleType = params.get("RuleType")
|
|
1634
|
+
memeber_set = set(params.keys())
|
|
1635
|
+
for name, value in vars(self).items():
|
|
1636
|
+
property_name = name[1:]
|
|
1637
|
+
if property_name in memeber_set:
|
|
1638
|
+
memeber_set.remove(property_name)
|
|
1639
|
+
if len(memeber_set) > 0:
|
|
1640
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
class CreateBlockIgnoreRuleListResponse(AbstractModel):
|
|
1645
|
+
"""CreateBlockIgnoreRuleList返回参数结构体
|
|
1646
|
+
|
|
1647
|
+
"""
|
|
1648
|
+
|
|
1649
|
+
def __init__(self):
|
|
1650
|
+
r"""
|
|
1651
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1652
|
+
:type RequestId: str
|
|
1653
|
+
"""
|
|
1654
|
+
self._RequestId = None
|
|
1655
|
+
|
|
1656
|
+
@property
|
|
1657
|
+
def RequestId(self):
|
|
1658
|
+
return self._RequestId
|
|
1659
|
+
|
|
1660
|
+
@RequestId.setter
|
|
1661
|
+
def RequestId(self, RequestId):
|
|
1662
|
+
self._RequestId = RequestId
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
def _deserialize(self, params):
|
|
1666
|
+
self._RequestId = params.get("RequestId")
|
|
1667
|
+
|
|
1668
|
+
|
|
1594
1669
|
class CreateChooseVpcsRequest(AbstractModel):
|
|
1595
1670
|
"""CreateChooseVpcs请求参数结构体
|
|
1596
1671
|
|
|
@@ -7691,6 +7766,99 @@ class InstanceInfo(AbstractModel):
|
|
|
7691
7766
|
|
|
7692
7767
|
|
|
7693
7768
|
|
|
7769
|
+
class IntrusionDefenseRule(AbstractModel):
|
|
7770
|
+
"""入侵防御封禁列表、放通列表添加规则入参
|
|
7771
|
+
|
|
7772
|
+
"""
|
|
7773
|
+
|
|
7774
|
+
def __init__(self):
|
|
7775
|
+
r"""
|
|
7776
|
+
:param _Direction: 规则方向,0出站,1入站,3内网间
|
|
7777
|
+
:type Direction: int
|
|
7778
|
+
:param _EndTime: 规则结束时间,格式:2006-01-02 15:04:05,必须大于当前时间
|
|
7779
|
+
:type EndTime: str
|
|
7780
|
+
:param _IP: 规则IP地址,IP与Domain必填其中之一
|
|
7781
|
+
:type IP: str
|
|
7782
|
+
:param _Domain: 规则域名,IP与Domain必填其中之一
|
|
7783
|
+
:type Domain: str
|
|
7784
|
+
:param _Comment: 备注信息,长度不能超过50
|
|
7785
|
+
:type Comment: str
|
|
7786
|
+
:param _StartTime: 规则开始时间
|
|
7787
|
+
:type StartTime: str
|
|
7788
|
+
"""
|
|
7789
|
+
self._Direction = None
|
|
7790
|
+
self._EndTime = None
|
|
7791
|
+
self._IP = None
|
|
7792
|
+
self._Domain = None
|
|
7793
|
+
self._Comment = None
|
|
7794
|
+
self._StartTime = None
|
|
7795
|
+
|
|
7796
|
+
@property
|
|
7797
|
+
def Direction(self):
|
|
7798
|
+
return self._Direction
|
|
7799
|
+
|
|
7800
|
+
@Direction.setter
|
|
7801
|
+
def Direction(self, Direction):
|
|
7802
|
+
self._Direction = Direction
|
|
7803
|
+
|
|
7804
|
+
@property
|
|
7805
|
+
def EndTime(self):
|
|
7806
|
+
return self._EndTime
|
|
7807
|
+
|
|
7808
|
+
@EndTime.setter
|
|
7809
|
+
def EndTime(self, EndTime):
|
|
7810
|
+
self._EndTime = EndTime
|
|
7811
|
+
|
|
7812
|
+
@property
|
|
7813
|
+
def IP(self):
|
|
7814
|
+
return self._IP
|
|
7815
|
+
|
|
7816
|
+
@IP.setter
|
|
7817
|
+
def IP(self, IP):
|
|
7818
|
+
self._IP = IP
|
|
7819
|
+
|
|
7820
|
+
@property
|
|
7821
|
+
def Domain(self):
|
|
7822
|
+
return self._Domain
|
|
7823
|
+
|
|
7824
|
+
@Domain.setter
|
|
7825
|
+
def Domain(self, Domain):
|
|
7826
|
+
self._Domain = Domain
|
|
7827
|
+
|
|
7828
|
+
@property
|
|
7829
|
+
def Comment(self):
|
|
7830
|
+
return self._Comment
|
|
7831
|
+
|
|
7832
|
+
@Comment.setter
|
|
7833
|
+
def Comment(self, Comment):
|
|
7834
|
+
self._Comment = Comment
|
|
7835
|
+
|
|
7836
|
+
@property
|
|
7837
|
+
def StartTime(self):
|
|
7838
|
+
return self._StartTime
|
|
7839
|
+
|
|
7840
|
+
@StartTime.setter
|
|
7841
|
+
def StartTime(self, StartTime):
|
|
7842
|
+
self._StartTime = StartTime
|
|
7843
|
+
|
|
7844
|
+
|
|
7845
|
+
def _deserialize(self, params):
|
|
7846
|
+
self._Direction = params.get("Direction")
|
|
7847
|
+
self._EndTime = params.get("EndTime")
|
|
7848
|
+
self._IP = params.get("IP")
|
|
7849
|
+
self._Domain = params.get("Domain")
|
|
7850
|
+
self._Comment = params.get("Comment")
|
|
7851
|
+
self._StartTime = params.get("StartTime")
|
|
7852
|
+
memeber_set = set(params.keys())
|
|
7853
|
+
for name, value in vars(self).items():
|
|
7854
|
+
property_name = name[1:]
|
|
7855
|
+
if property_name in memeber_set:
|
|
7856
|
+
memeber_set.remove(property_name)
|
|
7857
|
+
if len(memeber_set) > 0:
|
|
7858
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7859
|
+
|
|
7860
|
+
|
|
7861
|
+
|
|
7694
7862
|
class IocListData(AbstractModel):
|
|
7695
7863
|
"""黑白名单IOC列表
|
|
7696
7864
|
|
|
@@ -8551,6 +8719,136 @@ class ModifyBlockTopResponse(AbstractModel):
|
|
|
8551
8719
|
self._RequestId = params.get("RequestId")
|
|
8552
8720
|
|
|
8553
8721
|
|
|
8722
|
+
class ModifyEWRuleStatusRequest(AbstractModel):
|
|
8723
|
+
"""ModifyEWRuleStatus请求参数结构体
|
|
8724
|
+
|
|
8725
|
+
"""
|
|
8726
|
+
|
|
8727
|
+
def __init__(self):
|
|
8728
|
+
r"""
|
|
8729
|
+
:param _EdgeId: vpc规则必填,边id
|
|
8730
|
+
:type EdgeId: str
|
|
8731
|
+
:param _Status: 是否开关开启,0:未开启,1:开启
|
|
8732
|
+
:type Status: int
|
|
8733
|
+
:param _Direction: 规则方向,0:出站,1:入站,默认1
|
|
8734
|
+
:type Direction: int
|
|
8735
|
+
:param _RuleSequence: 更改的规则当前执行顺序
|
|
8736
|
+
:type RuleSequence: int
|
|
8737
|
+
:param _RuleType: 规则类型,vpc:VPC间规则、nat:Nat边界规则
|
|
8738
|
+
:type RuleType: str
|
|
8739
|
+
"""
|
|
8740
|
+
self._EdgeId = None
|
|
8741
|
+
self._Status = None
|
|
8742
|
+
self._Direction = None
|
|
8743
|
+
self._RuleSequence = None
|
|
8744
|
+
self._RuleType = None
|
|
8745
|
+
|
|
8746
|
+
@property
|
|
8747
|
+
def EdgeId(self):
|
|
8748
|
+
return self._EdgeId
|
|
8749
|
+
|
|
8750
|
+
@EdgeId.setter
|
|
8751
|
+
def EdgeId(self, EdgeId):
|
|
8752
|
+
self._EdgeId = EdgeId
|
|
8753
|
+
|
|
8754
|
+
@property
|
|
8755
|
+
def Status(self):
|
|
8756
|
+
return self._Status
|
|
8757
|
+
|
|
8758
|
+
@Status.setter
|
|
8759
|
+
def Status(self, Status):
|
|
8760
|
+
self._Status = Status
|
|
8761
|
+
|
|
8762
|
+
@property
|
|
8763
|
+
def Direction(self):
|
|
8764
|
+
return self._Direction
|
|
8765
|
+
|
|
8766
|
+
@Direction.setter
|
|
8767
|
+
def Direction(self, Direction):
|
|
8768
|
+
self._Direction = Direction
|
|
8769
|
+
|
|
8770
|
+
@property
|
|
8771
|
+
def RuleSequence(self):
|
|
8772
|
+
return self._RuleSequence
|
|
8773
|
+
|
|
8774
|
+
@RuleSequence.setter
|
|
8775
|
+
def RuleSequence(self, RuleSequence):
|
|
8776
|
+
self._RuleSequence = RuleSequence
|
|
8777
|
+
|
|
8778
|
+
@property
|
|
8779
|
+
def RuleType(self):
|
|
8780
|
+
return self._RuleType
|
|
8781
|
+
|
|
8782
|
+
@RuleType.setter
|
|
8783
|
+
def RuleType(self, RuleType):
|
|
8784
|
+
self._RuleType = RuleType
|
|
8785
|
+
|
|
8786
|
+
|
|
8787
|
+
def _deserialize(self, params):
|
|
8788
|
+
self._EdgeId = params.get("EdgeId")
|
|
8789
|
+
self._Status = params.get("Status")
|
|
8790
|
+
self._Direction = params.get("Direction")
|
|
8791
|
+
self._RuleSequence = params.get("RuleSequence")
|
|
8792
|
+
self._RuleType = params.get("RuleType")
|
|
8793
|
+
memeber_set = set(params.keys())
|
|
8794
|
+
for name, value in vars(self).items():
|
|
8795
|
+
property_name = name[1:]
|
|
8796
|
+
if property_name in memeber_set:
|
|
8797
|
+
memeber_set.remove(property_name)
|
|
8798
|
+
if len(memeber_set) > 0:
|
|
8799
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8800
|
+
|
|
8801
|
+
|
|
8802
|
+
|
|
8803
|
+
class ModifyEWRuleStatusResponse(AbstractModel):
|
|
8804
|
+
"""ModifyEWRuleStatus返回参数结构体
|
|
8805
|
+
|
|
8806
|
+
"""
|
|
8807
|
+
|
|
8808
|
+
def __init__(self):
|
|
8809
|
+
r"""
|
|
8810
|
+
:param _ReturnCode: 状态值,0:修改成功,非0:修改失败
|
|
8811
|
+
:type ReturnCode: int
|
|
8812
|
+
:param _ReturnMsg: 状态信息,success:查询成功,fail:查询失败
|
|
8813
|
+
:type ReturnMsg: str
|
|
8814
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8815
|
+
:type RequestId: str
|
|
8816
|
+
"""
|
|
8817
|
+
self._ReturnCode = None
|
|
8818
|
+
self._ReturnMsg = None
|
|
8819
|
+
self._RequestId = None
|
|
8820
|
+
|
|
8821
|
+
@property
|
|
8822
|
+
def ReturnCode(self):
|
|
8823
|
+
return self._ReturnCode
|
|
8824
|
+
|
|
8825
|
+
@ReturnCode.setter
|
|
8826
|
+
def ReturnCode(self, ReturnCode):
|
|
8827
|
+
self._ReturnCode = ReturnCode
|
|
8828
|
+
|
|
8829
|
+
@property
|
|
8830
|
+
def ReturnMsg(self):
|
|
8831
|
+
return self._ReturnMsg
|
|
8832
|
+
|
|
8833
|
+
@ReturnMsg.setter
|
|
8834
|
+
def ReturnMsg(self, ReturnMsg):
|
|
8835
|
+
self._ReturnMsg = ReturnMsg
|
|
8836
|
+
|
|
8837
|
+
@property
|
|
8838
|
+
def RequestId(self):
|
|
8839
|
+
return self._RequestId
|
|
8840
|
+
|
|
8841
|
+
@RequestId.setter
|
|
8842
|
+
def RequestId(self, RequestId):
|
|
8843
|
+
self._RequestId = RequestId
|
|
8844
|
+
|
|
8845
|
+
|
|
8846
|
+
def _deserialize(self, params):
|
|
8847
|
+
self._ReturnCode = params.get("ReturnCode")
|
|
8848
|
+
self._ReturnMsg = params.get("ReturnMsg")
|
|
8849
|
+
self._RequestId = params.get("RequestId")
|
|
8850
|
+
|
|
8851
|
+
|
|
8554
8852
|
class ModifyEnterpriseSecurityDispatchStatusRequest(AbstractModel):
|
|
8555
8853
|
"""ModifyEnterpriseSecurityDispatchStatus请求参数结构体
|
|
8556
8854
|
|
|
@@ -10866,6 +11164,8 @@ class RuleInfoData(AbstractModel):
|
|
|
10866
11164
|
:type CityName: str
|
|
10867
11165
|
:param _CountryName: 国家名
|
|
10868
11166
|
:type CountryName: str
|
|
11167
|
+
:param _RegionIso: 国家二位iso代码或者省份缩写代码
|
|
11168
|
+
:type RegionIso: str
|
|
10869
11169
|
"""
|
|
10870
11170
|
self._OrderIndex = None
|
|
10871
11171
|
self._SourceIp = None
|
|
@@ -10885,6 +11185,7 @@ class RuleInfoData(AbstractModel):
|
|
|
10885
11185
|
self._IsRegion = None
|
|
10886
11186
|
self._CityName = None
|
|
10887
11187
|
self._CountryName = None
|
|
11188
|
+
self._RegionIso = None
|
|
10888
11189
|
|
|
10889
11190
|
@property
|
|
10890
11191
|
def OrderIndex(self):
|
|
@@ -11030,6 +11331,14 @@ class RuleInfoData(AbstractModel):
|
|
|
11030
11331
|
def CountryName(self, CountryName):
|
|
11031
11332
|
self._CountryName = CountryName
|
|
11032
11333
|
|
|
11334
|
+
@property
|
|
11335
|
+
def RegionIso(self):
|
|
11336
|
+
return self._RegionIso
|
|
11337
|
+
|
|
11338
|
+
@RegionIso.setter
|
|
11339
|
+
def RegionIso(self, RegionIso):
|
|
11340
|
+
self._RegionIso = RegionIso
|
|
11341
|
+
|
|
11033
11342
|
|
|
11034
11343
|
def _deserialize(self, params):
|
|
11035
11344
|
self._OrderIndex = params.get("OrderIndex")
|
|
@@ -11050,6 +11359,7 @@ class RuleInfoData(AbstractModel):
|
|
|
11050
11359
|
self._IsRegion = params.get("IsRegion")
|
|
11051
11360
|
self._CityName = params.get("CityName")
|
|
11052
11361
|
self._CountryName = params.get("CountryName")
|
|
11362
|
+
self._RegionIso = params.get("RegionIso")
|
|
11053
11363
|
memeber_set = set(params.keys())
|
|
11054
11364
|
for name, value in vars(self).items():
|
|
11055
11365
|
property_name = name[1:]
|
|
@@ -11963,20 +12273,20 @@ class SecurityGroupRule(AbstractModel):
|
|
|
11963
12273
|
r"""
|
|
11964
12274
|
:param _SourceContent: 访问源示例:
|
|
11965
12275
|
net:IP/CIDR(192.168.0.2)
|
|
11966
|
-
template:参数模板(ipm-dyodhpby)
|
|
11967
|
-
instance:资产实例(ins-123456)
|
|
11968
|
-
resourcegroup:资产分组(
|
|
11969
|
-
tag:资源标签({"Key"
|
|
12276
|
+
template:参数模板id(ipm-dyodhpby)
|
|
12277
|
+
instance:资产实例id(ins-123456)
|
|
12278
|
+
resourcegroup:资产分组id(cfwrg-xxxx)
|
|
12279
|
+
tag:资源标签({\"Key\":\"标签key值\",\"Value\":\"标签Value值\"})
|
|
11970
12280
|
region:地域(ap-gaungzhou)
|
|
11971
12281
|
:type SourceContent: str
|
|
11972
12282
|
:param _SourceType: 访问源类型,类型可以为以下6种:net|template|instance|resourcegroup|tag|region
|
|
11973
12283
|
:type SourceType: str
|
|
11974
12284
|
:param _DestContent: 访问目的示例:
|
|
11975
12285
|
net:IP/CIDR(192.168.0.2)
|
|
11976
|
-
template:参数模板(ipm-dyodhpby)
|
|
11977
|
-
instance:资产实例(ins-123456)
|
|
11978
|
-
resourcegroup:资产分组(
|
|
11979
|
-
tag:资源标签({"Key"
|
|
12286
|
+
template:参数模板id(ipm-dyodhpby)
|
|
12287
|
+
instance:资产实例id(ins-123456)
|
|
12288
|
+
resourcegroup:资产分组id(cfwrg-xxxx)
|
|
12289
|
+
tag:资源标签({\"Key\":\"标签key值\",\"Value\":\"标签Value值\"})
|
|
11980
12290
|
region:地域(ap-gaungzhou)
|
|
11981
12291
|
:type DestContent: str
|
|
11982
12292
|
:param _DestType: 访问目的类型,类型可以为以下6种:net|template|instance|resourcegroup|tag|region
|
|
@@ -11987,7 +12297,7 @@ drop:拒绝
|
|
|
11987
12297
|
:type RuleAction: str
|
|
11988
12298
|
:param _Description: 描述
|
|
11989
12299
|
:type Description: str
|
|
11990
|
-
:param _OrderIndex: 规则顺序,-1表示最低,1
|
|
12300
|
+
:param _OrderIndex: 规则顺序,-1表示最低,1表示最高,请勿和外层Type冲突(和外层的Type配合使用,当中间插入时,指定添加位置)
|
|
11991
12301
|
:type OrderIndex: str
|
|
11992
12302
|
:param _Protocol: 协议;TCP/UDP/ICMP/ANY
|
|
11993
12303
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -12000,9 +12310,10 @@ drop:拒绝
|
|
|
12000
12310
|
:param _ServiceTemplateId: 端口协议类型参数模板id;协议端口模板id;与Protocol,Port互斥
|
|
12001
12311
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12002
12312
|
:type ServiceTemplateId: str
|
|
12003
|
-
:param _Id:
|
|
12313
|
+
:param _Id: (入参时无需填写,自动生成)规则对应的唯一id
|
|
12004
12314
|
:type Id: str
|
|
12005
|
-
:param _Enable:
|
|
12315
|
+
:param _Enable: (入参时、Enable已弃用;由通用配置中新增规则启用状态控制)
|
|
12316
|
+
规则状态,true表示启用,false表示禁用
|
|
12006
12317
|
:type Enable: str
|
|
12007
12318
|
"""
|
|
12008
12319
|
self._SourceContent = None
|
|
@@ -3199,9 +3199,8 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
3199
3199
|
:type BandwidthPackageId: str
|
|
3200
3200
|
:param _ExclusiveCluster: 独占型实例信息。若创建独占型的内网负载均衡实例,则此参数必填。
|
|
3201
3201
|
:type ExclusiveCluster: :class:`tencentcloud.clb.v20180317.models.ExclusiveCluster`
|
|
3202
|
-
:param _SlaType:
|
|
3203
|
-
<ul><li
|
|
3204
|
-
<ul><li>当您开通了超大型规格的性能容量型时,SLA对应超强型4规格。如需超大型规格的性能容量型,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category)。</li></ul></li><li>若需要创建共享型实例,则无需填写此参数。</li></ul>
|
|
3202
|
+
:param _SlaType: 性能容量型规格。
|
|
3203
|
+
<ul><li>若需要创建性能容量型实例,则此参数必填,取值范围:<ul><li> SLA:超强型1规格。当您开通了超大型规格的性能容量型时,SLA对应超强型4规格 </li><li> clb.c2.medium:标准型规格 </li><li> clb.c3.small:高阶型1规格 </li><li> clb.c3.medium:高阶型2规格 </li><li> clb.c4.small:超强型1规格 </li><li> clb.c4.medium:超强型2规格 </li><li> clb.c4.large:超强型3规格 </li><li> clb.c4.xlarge:超强型4规格 </li>如需超大型规格(超强型2及以上),请提交[工单申请](https://console.cloud.tencent.com/workorder/category)。</ul></li><li>若需要创建共享型实例,则无需填写此参数。</li></ul>如需了解规格详情,请参见[实例规格对比](https://cloud.tencent.com/document/product/214/84689)。
|
|
3205
3204
|
:type SlaType: str
|
|
3206
3205
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
3207
3206
|
:type ClientToken: str
|
|
@@ -3220,6 +3219,8 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
3220
3219
|
:type LoadBalancerPassToTarget: bool
|
|
3221
3220
|
:param _DynamicVip: 创建域名化负载均衡。
|
|
3222
3221
|
:type DynamicVip: bool
|
|
3222
|
+
:param _Egress: 网络出口
|
|
3223
|
+
:type Egress: str
|
|
3223
3224
|
"""
|
|
3224
3225
|
self._LoadBalancerType = None
|
|
3225
3226
|
self._Forward = None
|
|
@@ -3246,6 +3247,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
3246
3247
|
self._EipAddressId = None
|
|
3247
3248
|
self._LoadBalancerPassToTarget = None
|
|
3248
3249
|
self._DynamicVip = None
|
|
3250
|
+
self._Egress = None
|
|
3249
3251
|
|
|
3250
3252
|
@property
|
|
3251
3253
|
def LoadBalancerType(self):
|
|
@@ -3447,6 +3449,14 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
3447
3449
|
def DynamicVip(self, DynamicVip):
|
|
3448
3450
|
self._DynamicVip = DynamicVip
|
|
3449
3451
|
|
|
3452
|
+
@property
|
|
3453
|
+
def Egress(self):
|
|
3454
|
+
return self._Egress
|
|
3455
|
+
|
|
3456
|
+
@Egress.setter
|
|
3457
|
+
def Egress(self, Egress):
|
|
3458
|
+
self._Egress = Egress
|
|
3459
|
+
|
|
3450
3460
|
|
|
3451
3461
|
def _deserialize(self, params):
|
|
3452
3462
|
self._LoadBalancerType = params.get("LoadBalancerType")
|
|
@@ -3488,6 +3498,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
3488
3498
|
self._EipAddressId = params.get("EipAddressId")
|
|
3489
3499
|
self._LoadBalancerPassToTarget = params.get("LoadBalancerPassToTarget")
|
|
3490
3500
|
self._DynamicVip = params.get("DynamicVip")
|
|
3501
|
+
self._Egress = params.get("Egress")
|
|
3491
3502
|
memeber_set = set(params.keys())
|
|
3492
3503
|
for name, value in vars(self).items():
|
|
3493
3504
|
property_name = name[1:]
|
|
@@ -15440,8 +15451,15 @@ class SlaUpdateParam(AbstractModel):
|
|
|
15440
15451
|
r"""
|
|
15441
15452
|
:param _LoadBalancerId: lb的字符串ID
|
|
15442
15453
|
:type LoadBalancerId: str
|
|
15443
|
-
:param _SlaType:
|
|
15444
|
-
|
|
15454
|
+
:param _SlaType: 性能容量型规格,取值范围:
|
|
15455
|
+
<li> SLA:超强型1规格。当您开通了超大型规格的性能容量型时,SLA对应超强型4规格 </li>
|
|
15456
|
+
<li> clb.c2.medium:标准型规格 </li>
|
|
15457
|
+
<li> clb.c3.small:高阶型1规格 </li>
|
|
15458
|
+
<li> clb.c3.medium:高阶型2规格 </li>
|
|
15459
|
+
<li> clb.c4.small:超强型1规格 </li>
|
|
15460
|
+
<li> clb.c4.medium:超强型2规格 </li>
|
|
15461
|
+
<li> clb.c4.large:超强型3规格 </li>
|
|
15462
|
+
<li> clb.c4.xlarge:超强型4规格 </li>如需超大型规格(超强型2及以上),请提交[工单申请](https://console.cloud.tencent.com/workorder/category)。如需了解规格详情,请参见[实例规格对比](https://cloud.tencent.com/document/product/214/84689)
|
|
15445
15463
|
:type SlaType: str
|
|
15446
15464
|
"""
|
|
15447
15465
|
self._LoadBalancerId = None
|
|
@@ -348,6 +348,52 @@ class CsipClient(AbstractClient):
|
|
|
348
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
349
|
|
|
350
350
|
|
|
351
|
+
def DescribeScanTaskList(self, request):
|
|
352
|
+
"""获取扫描任务列表
|
|
353
|
+
|
|
354
|
+
:param request: Request instance for DescribeScanTaskList.
|
|
355
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeScanTaskListRequest`
|
|
356
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeScanTaskListResponse`
|
|
357
|
+
|
|
358
|
+
"""
|
|
359
|
+
try:
|
|
360
|
+
params = request._serialize()
|
|
361
|
+
headers = request.headers
|
|
362
|
+
body = self.call("DescribeScanTaskList", params, headers=headers)
|
|
363
|
+
response = json.loads(body)
|
|
364
|
+
model = models.DescribeScanTaskListResponse()
|
|
365
|
+
model._deserialize(response["Response"])
|
|
366
|
+
return model
|
|
367
|
+
except Exception as e:
|
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
|
369
|
+
raise
|
|
370
|
+
else:
|
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
def DescribeSearchBugInfo(self, request):
|
|
375
|
+
"""立体防护中心查询漏洞信息
|
|
376
|
+
|
|
377
|
+
:param request: Request instance for DescribeSearchBugInfo.
|
|
378
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeSearchBugInfoRequest`
|
|
379
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeSearchBugInfoResponse`
|
|
380
|
+
|
|
381
|
+
"""
|
|
382
|
+
try:
|
|
383
|
+
params = request._serialize()
|
|
384
|
+
headers = request.headers
|
|
385
|
+
body = self.call("DescribeSearchBugInfo", params, headers=headers)
|
|
386
|
+
response = json.loads(body)
|
|
387
|
+
model = models.DescribeSearchBugInfoResponse()
|
|
388
|
+
model._deserialize(response["Response"])
|
|
389
|
+
return model
|
|
390
|
+
except Exception as e:
|
|
391
|
+
if isinstance(e, TencentCloudSDKException):
|
|
392
|
+
raise
|
|
393
|
+
else:
|
|
394
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
395
|
+
|
|
396
|
+
|
|
351
397
|
def DescribeSubnetAssets(self, request):
|
|
352
398
|
"""获取子网列表
|
|
353
399
|
|
|
@@ -371,6 +417,52 @@ class CsipClient(AbstractClient):
|
|
|
371
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
418
|
|
|
373
419
|
|
|
420
|
+
def DescribeTaskLogList(self, request):
|
|
421
|
+
"""获取任务扫描报告列表
|
|
422
|
+
|
|
423
|
+
:param request: Request instance for DescribeTaskLogList.
|
|
424
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeTaskLogListRequest`
|
|
425
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeTaskLogListResponse`
|
|
426
|
+
|
|
427
|
+
"""
|
|
428
|
+
try:
|
|
429
|
+
params = request._serialize()
|
|
430
|
+
headers = request.headers
|
|
431
|
+
body = self.call("DescribeTaskLogList", params, headers=headers)
|
|
432
|
+
response = json.loads(body)
|
|
433
|
+
model = models.DescribeTaskLogListResponse()
|
|
434
|
+
model._deserialize(response["Response"])
|
|
435
|
+
return model
|
|
436
|
+
except Exception as e:
|
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
|
438
|
+
raise
|
|
439
|
+
else:
|
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
def DescribeTaskLogURL(self, request):
|
|
444
|
+
"""获取报告下载的临时链接
|
|
445
|
+
|
|
446
|
+
:param request: Request instance for DescribeTaskLogURL.
|
|
447
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeTaskLogURLRequest`
|
|
448
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeTaskLogURLResponse`
|
|
449
|
+
|
|
450
|
+
"""
|
|
451
|
+
try:
|
|
452
|
+
params = request._serialize()
|
|
453
|
+
headers = request.headers
|
|
454
|
+
body = self.call("DescribeTaskLogURL", params, headers=headers)
|
|
455
|
+
response = json.loads(body)
|
|
456
|
+
model = models.DescribeTaskLogURLResponse()
|
|
457
|
+
model._deserialize(response["Response"])
|
|
458
|
+
return model
|
|
459
|
+
except Exception as e:
|
|
460
|
+
if isinstance(e, TencentCloudSDKException):
|
|
461
|
+
raise
|
|
462
|
+
else:
|
|
463
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
|
+
|
|
465
|
+
|
|
374
466
|
def DescribeVpcAssets(self, request):
|
|
375
467
|
"""获取vpc列表
|
|
376
468
|
|