tencentcloud-sdk-python 3.0.1049__py2.py3-none-any.whl → 3.0.1051__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/cam/v20190116/models.py +12 -0
- tencentcloud/cdwdoris/__init__.py +0 -0
- tencentcloud/cdwdoris/v20211228/__init__.py +0 -0
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +95 -0
- tencentcloud/cdwdoris/v20211228/errorcodes.py +18 -0
- tencentcloud/cdwdoris/v20211228/models.py +1396 -0
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +486 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/models.py +30 -17
- tencentcloud/essbasic/v20210526/essbasic_client.py +27 -1
- tencentcloud/essbasic/v20210526/models.py +386 -15
- tencentcloud/lcic/v20220817/models.py +14 -1
- tencentcloud/monitor/v20180724/models.py +167 -18
- tencentcloud/monitor/v20180724/monitor_client.py +5 -5
- tencentcloud/privatedns/v20201028/models.py +84 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +25 -25
- tencentcloud/redis/v20180412/models.py +246 -0
- tencentcloud/redis/v20180412/redis_client.py +69 -0
- tencentcloud/ssm/v20190923/models.py +11 -5
- tencentcloud/tcr/v20190924/models.py +0 -270
- tencentcloud/tcr/v20190924/tcr_client.py +0 -25
- tencentcloud/tdmq/v20200217/models.py +31 -0
- tencentcloud/teo/v20220901/errorcodes.py +18 -0
- tencentcloud/teo/v20220901/models.py +1 -1
- tencentcloud/tke/v20180525/errorcodes.py +18 -0
- tencentcloud/tke/v20180525/models.py +189 -0
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +4 -4
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/RECORD +37 -32
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/top_level.txt +0 -0
|
@@ -325,6 +325,29 @@ class CsipClient(AbstractClient):
|
|
|
325
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
326
|
|
|
327
327
|
|
|
328
|
+
def DescribeNICAssets(self, request):
|
|
329
|
+
"""获取网卡列表
|
|
330
|
+
|
|
331
|
+
:param request: Request instance for DescribeNICAssets.
|
|
332
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeNICAssetsRequest`
|
|
333
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeNICAssetsResponse`
|
|
334
|
+
|
|
335
|
+
"""
|
|
336
|
+
try:
|
|
337
|
+
params = request._serialize()
|
|
338
|
+
headers = request.headers
|
|
339
|
+
body = self.call("DescribeNICAssets", params, headers=headers)
|
|
340
|
+
response = json.loads(body)
|
|
341
|
+
model = models.DescribeNICAssetsResponse()
|
|
342
|
+
model._deserialize(response["Response"])
|
|
343
|
+
return model
|
|
344
|
+
except Exception as e:
|
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
|
346
|
+
raise
|
|
347
|
+
else:
|
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
|
+
|
|
350
|
+
|
|
328
351
|
def DescribePublicIpAssets(self, request):
|
|
329
352
|
"""ip公网列表
|
|
330
353
|
|
|
@@ -5595,6 +5595,163 @@ class DescribeListenerListResponse(AbstractModel):
|
|
|
5595
5595
|
self._RequestId = params.get("RequestId")
|
|
5596
5596
|
|
|
5597
5597
|
|
|
5598
|
+
class DescribeNICAssetsRequest(AbstractModel):
|
|
5599
|
+
"""DescribeNICAssets请求参数结构体
|
|
5600
|
+
|
|
5601
|
+
"""
|
|
5602
|
+
|
|
5603
|
+
def __init__(self):
|
|
5604
|
+
r"""
|
|
5605
|
+
:param _Filter: 过滤参数
|
|
5606
|
+
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
|
5607
|
+
"""
|
|
5608
|
+
self._Filter = None
|
|
5609
|
+
|
|
5610
|
+
@property
|
|
5611
|
+
def Filter(self):
|
|
5612
|
+
return self._Filter
|
|
5613
|
+
|
|
5614
|
+
@Filter.setter
|
|
5615
|
+
def Filter(self, Filter):
|
|
5616
|
+
self._Filter = Filter
|
|
5617
|
+
|
|
5618
|
+
|
|
5619
|
+
def _deserialize(self, params):
|
|
5620
|
+
if params.get("Filter") is not None:
|
|
5621
|
+
self._Filter = Filter()
|
|
5622
|
+
self._Filter._deserialize(params.get("Filter"))
|
|
5623
|
+
memeber_set = set(params.keys())
|
|
5624
|
+
for name, value in vars(self).items():
|
|
5625
|
+
property_name = name[1:]
|
|
5626
|
+
if property_name in memeber_set:
|
|
5627
|
+
memeber_set.remove(property_name)
|
|
5628
|
+
if len(memeber_set) > 0:
|
|
5629
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5630
|
+
|
|
5631
|
+
|
|
5632
|
+
|
|
5633
|
+
class DescribeNICAssetsResponse(AbstractModel):
|
|
5634
|
+
"""DescribeNICAssets返回参数结构体
|
|
5635
|
+
|
|
5636
|
+
"""
|
|
5637
|
+
|
|
5638
|
+
def __init__(self):
|
|
5639
|
+
r"""
|
|
5640
|
+
:param _Data: 列表
|
|
5641
|
+
:type Data: list of NICAsset
|
|
5642
|
+
:param _TotalCount: 总数
|
|
5643
|
+
:type TotalCount: int
|
|
5644
|
+
:param _RegionList: 地域列表
|
|
5645
|
+
:type RegionList: list of FilterDataObject
|
|
5646
|
+
:param _AssetTypeList: 资产类型列表
|
|
5647
|
+
:type AssetTypeList: list of FilterDataObject
|
|
5648
|
+
:param _VpcList: vpc列表
|
|
5649
|
+
:type VpcList: list of FilterDataObject
|
|
5650
|
+
:param _AppIdList: appid列表
|
|
5651
|
+
:type AppIdList: list of FilterDataObject
|
|
5652
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5653
|
+
:type RequestId: str
|
|
5654
|
+
"""
|
|
5655
|
+
self._Data = None
|
|
5656
|
+
self._TotalCount = None
|
|
5657
|
+
self._RegionList = None
|
|
5658
|
+
self._AssetTypeList = None
|
|
5659
|
+
self._VpcList = None
|
|
5660
|
+
self._AppIdList = None
|
|
5661
|
+
self._RequestId = None
|
|
5662
|
+
|
|
5663
|
+
@property
|
|
5664
|
+
def Data(self):
|
|
5665
|
+
return self._Data
|
|
5666
|
+
|
|
5667
|
+
@Data.setter
|
|
5668
|
+
def Data(self, Data):
|
|
5669
|
+
self._Data = Data
|
|
5670
|
+
|
|
5671
|
+
@property
|
|
5672
|
+
def TotalCount(self):
|
|
5673
|
+
return self._TotalCount
|
|
5674
|
+
|
|
5675
|
+
@TotalCount.setter
|
|
5676
|
+
def TotalCount(self, TotalCount):
|
|
5677
|
+
self._TotalCount = TotalCount
|
|
5678
|
+
|
|
5679
|
+
@property
|
|
5680
|
+
def RegionList(self):
|
|
5681
|
+
return self._RegionList
|
|
5682
|
+
|
|
5683
|
+
@RegionList.setter
|
|
5684
|
+
def RegionList(self, RegionList):
|
|
5685
|
+
self._RegionList = RegionList
|
|
5686
|
+
|
|
5687
|
+
@property
|
|
5688
|
+
def AssetTypeList(self):
|
|
5689
|
+
return self._AssetTypeList
|
|
5690
|
+
|
|
5691
|
+
@AssetTypeList.setter
|
|
5692
|
+
def AssetTypeList(self, AssetTypeList):
|
|
5693
|
+
self._AssetTypeList = AssetTypeList
|
|
5694
|
+
|
|
5695
|
+
@property
|
|
5696
|
+
def VpcList(self):
|
|
5697
|
+
return self._VpcList
|
|
5698
|
+
|
|
5699
|
+
@VpcList.setter
|
|
5700
|
+
def VpcList(self, VpcList):
|
|
5701
|
+
self._VpcList = VpcList
|
|
5702
|
+
|
|
5703
|
+
@property
|
|
5704
|
+
def AppIdList(self):
|
|
5705
|
+
return self._AppIdList
|
|
5706
|
+
|
|
5707
|
+
@AppIdList.setter
|
|
5708
|
+
def AppIdList(self, AppIdList):
|
|
5709
|
+
self._AppIdList = AppIdList
|
|
5710
|
+
|
|
5711
|
+
@property
|
|
5712
|
+
def RequestId(self):
|
|
5713
|
+
return self._RequestId
|
|
5714
|
+
|
|
5715
|
+
@RequestId.setter
|
|
5716
|
+
def RequestId(self, RequestId):
|
|
5717
|
+
self._RequestId = RequestId
|
|
5718
|
+
|
|
5719
|
+
|
|
5720
|
+
def _deserialize(self, params):
|
|
5721
|
+
if params.get("Data") is not None:
|
|
5722
|
+
self._Data = []
|
|
5723
|
+
for item in params.get("Data"):
|
|
5724
|
+
obj = NICAsset()
|
|
5725
|
+
obj._deserialize(item)
|
|
5726
|
+
self._Data.append(obj)
|
|
5727
|
+
self._TotalCount = params.get("TotalCount")
|
|
5728
|
+
if params.get("RegionList") is not None:
|
|
5729
|
+
self._RegionList = []
|
|
5730
|
+
for item in params.get("RegionList"):
|
|
5731
|
+
obj = FilterDataObject()
|
|
5732
|
+
obj._deserialize(item)
|
|
5733
|
+
self._RegionList.append(obj)
|
|
5734
|
+
if params.get("AssetTypeList") is not None:
|
|
5735
|
+
self._AssetTypeList = []
|
|
5736
|
+
for item in params.get("AssetTypeList"):
|
|
5737
|
+
obj = FilterDataObject()
|
|
5738
|
+
obj._deserialize(item)
|
|
5739
|
+
self._AssetTypeList.append(obj)
|
|
5740
|
+
if params.get("VpcList") is not None:
|
|
5741
|
+
self._VpcList = []
|
|
5742
|
+
for item in params.get("VpcList"):
|
|
5743
|
+
obj = FilterDataObject()
|
|
5744
|
+
obj._deserialize(item)
|
|
5745
|
+
self._VpcList.append(obj)
|
|
5746
|
+
if params.get("AppIdList") is not None:
|
|
5747
|
+
self._AppIdList = []
|
|
5748
|
+
for item in params.get("AppIdList"):
|
|
5749
|
+
obj = FilterDataObject()
|
|
5750
|
+
obj._deserialize(item)
|
|
5751
|
+
self._AppIdList.append(obj)
|
|
5752
|
+
self._RequestId = params.get("RequestId")
|
|
5753
|
+
|
|
5754
|
+
|
|
5598
5755
|
class DescribePublicIpAssetsRequest(AbstractModel):
|
|
5599
5756
|
"""DescribePublicIpAssets请求参数结构体
|
|
5600
5757
|
|
|
@@ -9869,6 +10026,335 @@ class ModifyRiskCenterRiskStatusResponse(AbstractModel):
|
|
|
9869
10026
|
self._RequestId = params.get("RequestId")
|
|
9870
10027
|
|
|
9871
10028
|
|
|
10029
|
+
class NICAsset(AbstractModel):
|
|
10030
|
+
"""网卡资产
|
|
10031
|
+
|
|
10032
|
+
"""
|
|
10033
|
+
|
|
10034
|
+
def __init__(self):
|
|
10035
|
+
r"""
|
|
10036
|
+
:param _AppId: appid
|
|
10037
|
+
:type AppId: str
|
|
10038
|
+
:param _Uin: uin
|
|
10039
|
+
:type Uin: str
|
|
10040
|
+
:param _AssetId: 资产ID
|
|
10041
|
+
:type AssetId: str
|
|
10042
|
+
:param _AssetName: 资产名
|
|
10043
|
+
:type AssetName: str
|
|
10044
|
+
:param _AssetType: 资产类型
|
|
10045
|
+
:type AssetType: str
|
|
10046
|
+
:param _PrivateIp: 私有ip
|
|
10047
|
+
:type PrivateIp: str
|
|
10048
|
+
:param _PublicIp: 公网ip
|
|
10049
|
+
:type PublicIp: str
|
|
10050
|
+
:param _Region: 区域
|
|
10051
|
+
:type Region: str
|
|
10052
|
+
:param _VpcId: 私有网络id
|
|
10053
|
+
:type VpcId: str
|
|
10054
|
+
:param _VpcName: 私有网络名
|
|
10055
|
+
:type VpcName: str
|
|
10056
|
+
:param _Tag: 标签
|
|
10057
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10058
|
+
:type Tag: list of Tag
|
|
10059
|
+
:param _OutboundPeakBandwidth: 出向峰值带宽
|
|
10060
|
+
:type OutboundPeakBandwidth: str
|
|
10061
|
+
:param _InboundPeakBandwidth: 入向峰值带宽
|
|
10062
|
+
:type InboundPeakBandwidth: str
|
|
10063
|
+
:param _OutboundCumulativeFlow: 出站累计流量
|
|
10064
|
+
:type OutboundCumulativeFlow: str
|
|
10065
|
+
:param _InboundCumulativeFlow: 入站累计流量
|
|
10066
|
+
:type InboundCumulativeFlow: str
|
|
10067
|
+
:param _NetworkAttack: 网络攻击
|
|
10068
|
+
:type NetworkAttack: int
|
|
10069
|
+
:param _ExposedPort: 暴露端口
|
|
10070
|
+
:type ExposedPort: int
|
|
10071
|
+
:param _ExposedVUL: 暴露漏洞
|
|
10072
|
+
:type ExposedVUL: int
|
|
10073
|
+
:param _ConfigureRisk: 配置风险
|
|
10074
|
+
:type ConfigureRisk: int
|
|
10075
|
+
:param _CreateTime: 创建时间
|
|
10076
|
+
:type CreateTime: str
|
|
10077
|
+
:param _ScanTask: 任务数
|
|
10078
|
+
:type ScanTask: int
|
|
10079
|
+
:param _LastScanTime: 最后扫描时间
|
|
10080
|
+
:type LastScanTime: str
|
|
10081
|
+
:param _Nick: 昵称
|
|
10082
|
+
:type Nick: str
|
|
10083
|
+
:param _IsCore: 是否核心
|
|
10084
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10085
|
+
:type IsCore: int
|
|
10086
|
+
:param _IsNewAsset: 是否新资产 1新
|
|
10087
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10088
|
+
:type IsNewAsset: int
|
|
10089
|
+
"""
|
|
10090
|
+
self._AppId = None
|
|
10091
|
+
self._Uin = None
|
|
10092
|
+
self._AssetId = None
|
|
10093
|
+
self._AssetName = None
|
|
10094
|
+
self._AssetType = None
|
|
10095
|
+
self._PrivateIp = None
|
|
10096
|
+
self._PublicIp = None
|
|
10097
|
+
self._Region = None
|
|
10098
|
+
self._VpcId = None
|
|
10099
|
+
self._VpcName = None
|
|
10100
|
+
self._Tag = None
|
|
10101
|
+
self._OutboundPeakBandwidth = None
|
|
10102
|
+
self._InboundPeakBandwidth = None
|
|
10103
|
+
self._OutboundCumulativeFlow = None
|
|
10104
|
+
self._InboundCumulativeFlow = None
|
|
10105
|
+
self._NetworkAttack = None
|
|
10106
|
+
self._ExposedPort = None
|
|
10107
|
+
self._ExposedVUL = None
|
|
10108
|
+
self._ConfigureRisk = None
|
|
10109
|
+
self._CreateTime = None
|
|
10110
|
+
self._ScanTask = None
|
|
10111
|
+
self._LastScanTime = None
|
|
10112
|
+
self._Nick = None
|
|
10113
|
+
self._IsCore = None
|
|
10114
|
+
self._IsNewAsset = None
|
|
10115
|
+
|
|
10116
|
+
@property
|
|
10117
|
+
def AppId(self):
|
|
10118
|
+
return self._AppId
|
|
10119
|
+
|
|
10120
|
+
@AppId.setter
|
|
10121
|
+
def AppId(self, AppId):
|
|
10122
|
+
self._AppId = AppId
|
|
10123
|
+
|
|
10124
|
+
@property
|
|
10125
|
+
def Uin(self):
|
|
10126
|
+
return self._Uin
|
|
10127
|
+
|
|
10128
|
+
@Uin.setter
|
|
10129
|
+
def Uin(self, Uin):
|
|
10130
|
+
self._Uin = Uin
|
|
10131
|
+
|
|
10132
|
+
@property
|
|
10133
|
+
def AssetId(self):
|
|
10134
|
+
return self._AssetId
|
|
10135
|
+
|
|
10136
|
+
@AssetId.setter
|
|
10137
|
+
def AssetId(self, AssetId):
|
|
10138
|
+
self._AssetId = AssetId
|
|
10139
|
+
|
|
10140
|
+
@property
|
|
10141
|
+
def AssetName(self):
|
|
10142
|
+
return self._AssetName
|
|
10143
|
+
|
|
10144
|
+
@AssetName.setter
|
|
10145
|
+
def AssetName(self, AssetName):
|
|
10146
|
+
self._AssetName = AssetName
|
|
10147
|
+
|
|
10148
|
+
@property
|
|
10149
|
+
def AssetType(self):
|
|
10150
|
+
return self._AssetType
|
|
10151
|
+
|
|
10152
|
+
@AssetType.setter
|
|
10153
|
+
def AssetType(self, AssetType):
|
|
10154
|
+
self._AssetType = AssetType
|
|
10155
|
+
|
|
10156
|
+
@property
|
|
10157
|
+
def PrivateIp(self):
|
|
10158
|
+
return self._PrivateIp
|
|
10159
|
+
|
|
10160
|
+
@PrivateIp.setter
|
|
10161
|
+
def PrivateIp(self, PrivateIp):
|
|
10162
|
+
self._PrivateIp = PrivateIp
|
|
10163
|
+
|
|
10164
|
+
@property
|
|
10165
|
+
def PublicIp(self):
|
|
10166
|
+
return self._PublicIp
|
|
10167
|
+
|
|
10168
|
+
@PublicIp.setter
|
|
10169
|
+
def PublicIp(self, PublicIp):
|
|
10170
|
+
self._PublicIp = PublicIp
|
|
10171
|
+
|
|
10172
|
+
@property
|
|
10173
|
+
def Region(self):
|
|
10174
|
+
return self._Region
|
|
10175
|
+
|
|
10176
|
+
@Region.setter
|
|
10177
|
+
def Region(self, Region):
|
|
10178
|
+
self._Region = Region
|
|
10179
|
+
|
|
10180
|
+
@property
|
|
10181
|
+
def VpcId(self):
|
|
10182
|
+
return self._VpcId
|
|
10183
|
+
|
|
10184
|
+
@VpcId.setter
|
|
10185
|
+
def VpcId(self, VpcId):
|
|
10186
|
+
self._VpcId = VpcId
|
|
10187
|
+
|
|
10188
|
+
@property
|
|
10189
|
+
def VpcName(self):
|
|
10190
|
+
return self._VpcName
|
|
10191
|
+
|
|
10192
|
+
@VpcName.setter
|
|
10193
|
+
def VpcName(self, VpcName):
|
|
10194
|
+
self._VpcName = VpcName
|
|
10195
|
+
|
|
10196
|
+
@property
|
|
10197
|
+
def Tag(self):
|
|
10198
|
+
return self._Tag
|
|
10199
|
+
|
|
10200
|
+
@Tag.setter
|
|
10201
|
+
def Tag(self, Tag):
|
|
10202
|
+
self._Tag = Tag
|
|
10203
|
+
|
|
10204
|
+
@property
|
|
10205
|
+
def OutboundPeakBandwidth(self):
|
|
10206
|
+
return self._OutboundPeakBandwidth
|
|
10207
|
+
|
|
10208
|
+
@OutboundPeakBandwidth.setter
|
|
10209
|
+
def OutboundPeakBandwidth(self, OutboundPeakBandwidth):
|
|
10210
|
+
self._OutboundPeakBandwidth = OutboundPeakBandwidth
|
|
10211
|
+
|
|
10212
|
+
@property
|
|
10213
|
+
def InboundPeakBandwidth(self):
|
|
10214
|
+
return self._InboundPeakBandwidth
|
|
10215
|
+
|
|
10216
|
+
@InboundPeakBandwidth.setter
|
|
10217
|
+
def InboundPeakBandwidth(self, InboundPeakBandwidth):
|
|
10218
|
+
self._InboundPeakBandwidth = InboundPeakBandwidth
|
|
10219
|
+
|
|
10220
|
+
@property
|
|
10221
|
+
def OutboundCumulativeFlow(self):
|
|
10222
|
+
return self._OutboundCumulativeFlow
|
|
10223
|
+
|
|
10224
|
+
@OutboundCumulativeFlow.setter
|
|
10225
|
+
def OutboundCumulativeFlow(self, OutboundCumulativeFlow):
|
|
10226
|
+
self._OutboundCumulativeFlow = OutboundCumulativeFlow
|
|
10227
|
+
|
|
10228
|
+
@property
|
|
10229
|
+
def InboundCumulativeFlow(self):
|
|
10230
|
+
return self._InboundCumulativeFlow
|
|
10231
|
+
|
|
10232
|
+
@InboundCumulativeFlow.setter
|
|
10233
|
+
def InboundCumulativeFlow(self, InboundCumulativeFlow):
|
|
10234
|
+
self._InboundCumulativeFlow = InboundCumulativeFlow
|
|
10235
|
+
|
|
10236
|
+
@property
|
|
10237
|
+
def NetworkAttack(self):
|
|
10238
|
+
return self._NetworkAttack
|
|
10239
|
+
|
|
10240
|
+
@NetworkAttack.setter
|
|
10241
|
+
def NetworkAttack(self, NetworkAttack):
|
|
10242
|
+
self._NetworkAttack = NetworkAttack
|
|
10243
|
+
|
|
10244
|
+
@property
|
|
10245
|
+
def ExposedPort(self):
|
|
10246
|
+
return self._ExposedPort
|
|
10247
|
+
|
|
10248
|
+
@ExposedPort.setter
|
|
10249
|
+
def ExposedPort(self, ExposedPort):
|
|
10250
|
+
self._ExposedPort = ExposedPort
|
|
10251
|
+
|
|
10252
|
+
@property
|
|
10253
|
+
def ExposedVUL(self):
|
|
10254
|
+
return self._ExposedVUL
|
|
10255
|
+
|
|
10256
|
+
@ExposedVUL.setter
|
|
10257
|
+
def ExposedVUL(self, ExposedVUL):
|
|
10258
|
+
self._ExposedVUL = ExposedVUL
|
|
10259
|
+
|
|
10260
|
+
@property
|
|
10261
|
+
def ConfigureRisk(self):
|
|
10262
|
+
return self._ConfigureRisk
|
|
10263
|
+
|
|
10264
|
+
@ConfigureRisk.setter
|
|
10265
|
+
def ConfigureRisk(self, ConfigureRisk):
|
|
10266
|
+
self._ConfigureRisk = ConfigureRisk
|
|
10267
|
+
|
|
10268
|
+
@property
|
|
10269
|
+
def CreateTime(self):
|
|
10270
|
+
return self._CreateTime
|
|
10271
|
+
|
|
10272
|
+
@CreateTime.setter
|
|
10273
|
+
def CreateTime(self, CreateTime):
|
|
10274
|
+
self._CreateTime = CreateTime
|
|
10275
|
+
|
|
10276
|
+
@property
|
|
10277
|
+
def ScanTask(self):
|
|
10278
|
+
return self._ScanTask
|
|
10279
|
+
|
|
10280
|
+
@ScanTask.setter
|
|
10281
|
+
def ScanTask(self, ScanTask):
|
|
10282
|
+
self._ScanTask = ScanTask
|
|
10283
|
+
|
|
10284
|
+
@property
|
|
10285
|
+
def LastScanTime(self):
|
|
10286
|
+
return self._LastScanTime
|
|
10287
|
+
|
|
10288
|
+
@LastScanTime.setter
|
|
10289
|
+
def LastScanTime(self, LastScanTime):
|
|
10290
|
+
self._LastScanTime = LastScanTime
|
|
10291
|
+
|
|
10292
|
+
@property
|
|
10293
|
+
def Nick(self):
|
|
10294
|
+
return self._Nick
|
|
10295
|
+
|
|
10296
|
+
@Nick.setter
|
|
10297
|
+
def Nick(self, Nick):
|
|
10298
|
+
self._Nick = Nick
|
|
10299
|
+
|
|
10300
|
+
@property
|
|
10301
|
+
def IsCore(self):
|
|
10302
|
+
return self._IsCore
|
|
10303
|
+
|
|
10304
|
+
@IsCore.setter
|
|
10305
|
+
def IsCore(self, IsCore):
|
|
10306
|
+
self._IsCore = IsCore
|
|
10307
|
+
|
|
10308
|
+
@property
|
|
10309
|
+
def IsNewAsset(self):
|
|
10310
|
+
return self._IsNewAsset
|
|
10311
|
+
|
|
10312
|
+
@IsNewAsset.setter
|
|
10313
|
+
def IsNewAsset(self, IsNewAsset):
|
|
10314
|
+
self._IsNewAsset = IsNewAsset
|
|
10315
|
+
|
|
10316
|
+
|
|
10317
|
+
def _deserialize(self, params):
|
|
10318
|
+
self._AppId = params.get("AppId")
|
|
10319
|
+
self._Uin = params.get("Uin")
|
|
10320
|
+
self._AssetId = params.get("AssetId")
|
|
10321
|
+
self._AssetName = params.get("AssetName")
|
|
10322
|
+
self._AssetType = params.get("AssetType")
|
|
10323
|
+
self._PrivateIp = params.get("PrivateIp")
|
|
10324
|
+
self._PublicIp = params.get("PublicIp")
|
|
10325
|
+
self._Region = params.get("Region")
|
|
10326
|
+
self._VpcId = params.get("VpcId")
|
|
10327
|
+
self._VpcName = params.get("VpcName")
|
|
10328
|
+
if params.get("Tag") is not None:
|
|
10329
|
+
self._Tag = []
|
|
10330
|
+
for item in params.get("Tag"):
|
|
10331
|
+
obj = Tag()
|
|
10332
|
+
obj._deserialize(item)
|
|
10333
|
+
self._Tag.append(obj)
|
|
10334
|
+
self._OutboundPeakBandwidth = params.get("OutboundPeakBandwidth")
|
|
10335
|
+
self._InboundPeakBandwidth = params.get("InboundPeakBandwidth")
|
|
10336
|
+
self._OutboundCumulativeFlow = params.get("OutboundCumulativeFlow")
|
|
10337
|
+
self._InboundCumulativeFlow = params.get("InboundCumulativeFlow")
|
|
10338
|
+
self._NetworkAttack = params.get("NetworkAttack")
|
|
10339
|
+
self._ExposedPort = params.get("ExposedPort")
|
|
10340
|
+
self._ExposedVUL = params.get("ExposedVUL")
|
|
10341
|
+
self._ConfigureRisk = params.get("ConfigureRisk")
|
|
10342
|
+
self._CreateTime = params.get("CreateTime")
|
|
10343
|
+
self._ScanTask = params.get("ScanTask")
|
|
10344
|
+
self._LastScanTime = params.get("LastScanTime")
|
|
10345
|
+
self._Nick = params.get("Nick")
|
|
10346
|
+
self._IsCore = params.get("IsCore")
|
|
10347
|
+
self._IsNewAsset = params.get("IsNewAsset")
|
|
10348
|
+
memeber_set = set(params.keys())
|
|
10349
|
+
for name, value in vars(self).items():
|
|
10350
|
+
property_name = name[1:]
|
|
10351
|
+
if property_name in memeber_set:
|
|
10352
|
+
memeber_set.remove(property_name)
|
|
10353
|
+
if len(memeber_set) > 0:
|
|
10354
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10355
|
+
|
|
10356
|
+
|
|
10357
|
+
|
|
9872
10358
|
class PortViewPortRisk(AbstractModel):
|
|
9873
10359
|
"""端口视角的端口风险对象
|
|
9874
10360
|
|
|
@@ -935,6 +935,9 @@ UNSUPPORTEDOPERATION_INVALIDINSTANCENOTSUPPORTEDPROTECTEDINSTANCE = 'Unsupported
|
|
|
935
935
|
# 不支持有swap盘的实例。
|
|
936
936
|
UNSUPPORTEDOPERATION_INVALIDINSTANCEWITHSWAPDISK = 'UnsupportedOperation.InvalidInstanceWithSwapDisk'
|
|
937
937
|
|
|
938
|
+
# 用户无权限操作当前实例。
|
|
939
|
+
UNSUPPORTEDOPERATION_INVALIDINSTANCESOWNER = 'UnsupportedOperation.InvalidInstancesOwner'
|
|
940
|
+
|
|
938
941
|
# 当前操作只支持国际版用户。
|
|
939
942
|
UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = 'UnsupportedOperation.InvalidPermissionNonInternationalAccount'
|
|
940
943
|
|
|
@@ -2461,9 +2461,6 @@ class CreateBatchQuickSignUrlRequest(AbstractModel):
|
|
|
2461
2461
|
|
|
2462
2462
|
def __init__(self):
|
|
2463
2463
|
r"""
|
|
2464
|
-
:param _FlowIds: 批量签署的合同流程ID数组。
|
|
2465
|
-
注: `在调用此接口时,请确保合同流程均为本企业发起,且合同数量不超过100个。`
|
|
2466
|
-
:type FlowIds: list of str
|
|
2467
2464
|
:param _FlowApproverInfo: 批量签署的流程签署人,其中姓名(ApproverName)、参与人类型(ApproverType)必传,手机号(ApproverMobile)和证件信息(ApproverIdCardType、ApproverIdCardNumber)可任选一种或全部传入。
|
|
2468
2465
|
注:
|
|
2469
2466
|
`1. ApproverType目前只支持个人类型的签署人。`
|
|
@@ -2476,6 +2473,12 @@ class CreateBatchQuickSignUrlRequest(AbstractModel):
|
|
|
2476
2473
|
:param _Operator: 执行本接口操作的员工信息。
|
|
2477
2474
|
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
2478
2475
|
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
2476
|
+
:param _FlowIds: 批量签署的合同流程ID数组。
|
|
2477
|
+
注: `在调用此接口时,请确保合同流程均为本企业发起,且合同数量不超过100个。`
|
|
2478
|
+
:type FlowIds: list of str
|
|
2479
|
+
:param _FlowGroupId: 合同组编号
|
|
2480
|
+
注:`该参数和合同流程ID数组必须二选一`
|
|
2481
|
+
:type FlowGroupId: str
|
|
2479
2482
|
:param _JumpUrl: 签署完之后的H5页面的跳转链接,此链接及支持http://和https://,最大长度1000个字符。(建议https协议)
|
|
2480
2483
|
:type JumpUrl: str
|
|
2481
2484
|
:param _SignatureTypes: 指定批量签署合同的签名类型,可传递以下值:
|
|
@@ -2494,22 +2497,15 @@ class CreateBatchQuickSignUrlRequest(AbstractModel):
|
|
|
2494
2497
|
<li>您可以传递多种值,表示可用多种认证校验方式。</li></ul>
|
|
2495
2498
|
:type ApproverSignTypes: list of int
|
|
2496
2499
|
"""
|
|
2497
|
-
self._FlowIds = None
|
|
2498
2500
|
self._FlowApproverInfo = None
|
|
2499
2501
|
self._Agent = None
|
|
2500
2502
|
self._Operator = None
|
|
2503
|
+
self._FlowIds = None
|
|
2504
|
+
self._FlowGroupId = None
|
|
2501
2505
|
self._JumpUrl = None
|
|
2502
2506
|
self._SignatureTypes = None
|
|
2503
2507
|
self._ApproverSignTypes = None
|
|
2504
2508
|
|
|
2505
|
-
@property
|
|
2506
|
-
def FlowIds(self):
|
|
2507
|
-
return self._FlowIds
|
|
2508
|
-
|
|
2509
|
-
@FlowIds.setter
|
|
2510
|
-
def FlowIds(self, FlowIds):
|
|
2511
|
-
self._FlowIds = FlowIds
|
|
2512
|
-
|
|
2513
2509
|
@property
|
|
2514
2510
|
def FlowApproverInfo(self):
|
|
2515
2511
|
return self._FlowApproverInfo
|
|
@@ -2534,6 +2530,22 @@ class CreateBatchQuickSignUrlRequest(AbstractModel):
|
|
|
2534
2530
|
def Operator(self, Operator):
|
|
2535
2531
|
self._Operator = Operator
|
|
2536
2532
|
|
|
2533
|
+
@property
|
|
2534
|
+
def FlowIds(self):
|
|
2535
|
+
return self._FlowIds
|
|
2536
|
+
|
|
2537
|
+
@FlowIds.setter
|
|
2538
|
+
def FlowIds(self, FlowIds):
|
|
2539
|
+
self._FlowIds = FlowIds
|
|
2540
|
+
|
|
2541
|
+
@property
|
|
2542
|
+
def FlowGroupId(self):
|
|
2543
|
+
return self._FlowGroupId
|
|
2544
|
+
|
|
2545
|
+
@FlowGroupId.setter
|
|
2546
|
+
def FlowGroupId(self, FlowGroupId):
|
|
2547
|
+
self._FlowGroupId = FlowGroupId
|
|
2548
|
+
|
|
2537
2549
|
@property
|
|
2538
2550
|
def JumpUrl(self):
|
|
2539
2551
|
return self._JumpUrl
|
|
@@ -2560,7 +2572,6 @@ class CreateBatchQuickSignUrlRequest(AbstractModel):
|
|
|
2560
2572
|
|
|
2561
2573
|
|
|
2562
2574
|
def _deserialize(self, params):
|
|
2563
|
-
self._FlowIds = params.get("FlowIds")
|
|
2564
2575
|
if params.get("FlowApproverInfo") is not None:
|
|
2565
2576
|
self._FlowApproverInfo = FlowCreateApprover()
|
|
2566
2577
|
self._FlowApproverInfo._deserialize(params.get("FlowApproverInfo"))
|
|
@@ -2570,6 +2581,8 @@ class CreateBatchQuickSignUrlRequest(AbstractModel):
|
|
|
2570
2581
|
if params.get("Operator") is not None:
|
|
2571
2582
|
self._Operator = UserInfo()
|
|
2572
2583
|
self._Operator._deserialize(params.get("Operator"))
|
|
2584
|
+
self._FlowIds = params.get("FlowIds")
|
|
2585
|
+
self._FlowGroupId = params.get("FlowGroupId")
|
|
2573
2586
|
self._JumpUrl = params.get("JumpUrl")
|
|
2574
2587
|
self._SignatureTypes = params.get("SignatureTypes")
|
|
2575
2588
|
self._ApproverSignTypes = params.get("ApproverSignTypes")
|
|
@@ -14428,7 +14441,7 @@ class FormField(AbstractModel):
|
|
|
14428
14441
|
"columnStart":1,
|
|
14429
14442
|
"columnEnd":1,
|
|
14430
14443
|
"content":"123",
|
|
14431
|
-
"style":
|
|
14444
|
+
"style": {"color": "#b50000", "fontSize": 12,"bold": true,"align": "CENTER"}
|
|
14432
14445
|
},
|
|
14433
14446
|
{
|
|
14434
14447
|
"rowStart":2,
|
|
@@ -14436,7 +14449,7 @@ class FormField(AbstractModel):
|
|
|
14436
14449
|
"columnStart":1,
|
|
14437
14450
|
"columnEnd":2,
|
|
14438
14451
|
"content":"456",
|
|
14439
|
-
"style": {"color": "#b50000", "fontSize": 12,"bold": true,"align": "LEFT"}
|
|
14452
|
+
"style": {"color": "#b50000", "fontSize": 12,"bold": true,"align": "LEFT"}
|
|
14440
14453
|
},
|
|
14441
14454
|
{
|
|
14442
14455
|
"rowStart":3,
|
|
@@ -14463,7 +14476,7 @@ class FormField(AbstractModel):
|
|
|
14463
14476
|
| cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
|
14464
14477
|
| cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
|
14465
14478
|
| cells.N.content | String | 单元格内容,字数不超过100 |
|
|
14466
|
-
| cells.N.style | String | 单元格字体风格配置 ,风格配置的json字符串 如: {"font":"黑体","fontSize":12,"color":"FFFFFF","bold":true,"align":"CENTER"} |
|
|
14479
|
+
| cells.N.style | String | 单元格字体风格配置 ,风格配置的json字符串 如: {"font":"黑体","fontSize":12,"color":"#FFFFFF","bold":true,"align":"CENTER"} |
|
|
14467
14480
|
|
|
14468
14481
|
表格参数headers说明
|
|
14469
14482
|
widthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35
|
|
@@ -14471,7 +14484,7 @@ class FormField(AbstractModel):
|
|
|
14471
14484
|
content String 表头单元格内容,字数不超过100
|
|
14472
14485
|
|
|
14473
14486
|
|
|
14474
|
-
style String 为字体风格设置 风格支持: font : 目前支持 黑体、宋体; fontSize: 6-72; color:000000-FFFFFF 字符串形如: "FFFFFF"; bold : 是否加粗, true : 加粗 false: 不加粗; align: 对其方式, 支持 LEFT / RIGHT / CENTER
|
|
14487
|
+
style String 为字体风格设置 风格支持: font : 目前支持 黑体、宋体; fontSize: 6-72; color:000000-FFFFFF 字符串形如: "#FFFFFF" 或者 "0xFFFFFF"; bold : 是否加粗, true : 加粗 false: 不加粗; align: 对其方式, 支持 LEFT / RIGHT / CENTER
|
|
14475
14488
|
|
|
14476
14489
|
"""
|
|
14477
14490
|
|
|
@@ -206,7 +206,7 @@ class EssbasicClient(AbstractClient):
|
|
|
206
206
|
|
|
207
207
|
注:
|
|
208
208
|
- 参与人点击链接后需短信验证码才能查看合同内容。
|
|
209
|
-
- 企业用户批量签署,需要传OrganizationName
|
|
209
|
+
- 企业用户批量签署,需要传OrganizationName(参与方所在企业名称)参数生成签署链接,`请确保此企业已完成腾讯电子签企业认证`。若为子客企业,请确保员工已经加入企业。
|
|
210
210
|
- 个人批量签署,签名区`仅支持手写签名`。
|
|
211
211
|
|
|
212
212
|
:param request: Request instance for ChannelCreateBatchSignUrl.
|
|
@@ -1739,6 +1739,32 @@ class EssbasicClient(AbstractClient):
|
|
|
1739
1739
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1740
1740
|
|
|
1741
1741
|
|
|
1742
|
+
def DescribeChannelOrganizations(self, request):
|
|
1743
|
+
"""查询渠道子客企业信息时,可以支持单个子客和整个应用下所有子客的查询。返回的信息包括超管、法人的信息以及当前企业的认证状态等信息。
|
|
1744
|
+
|
|
1745
|
+
- 对于单个企业的查询,通过**指定子客的唯一标识**来查询该子客的企业信息
|
|
1746
|
+
- 对于整个应用下所有企业的查询,**不需要指定子客的唯一标识**,直接查询整个应用下所有子客企业的企业信息
|
|
1747
|
+
|
|
1748
|
+
:param request: Request instance for DescribeChannelOrganizations.
|
|
1749
|
+
:type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeChannelOrganizationsRequest`
|
|
1750
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeChannelOrganizationsResponse`
|
|
1751
|
+
|
|
1752
|
+
"""
|
|
1753
|
+
try:
|
|
1754
|
+
params = request._serialize()
|
|
1755
|
+
headers = request.headers
|
|
1756
|
+
body = self.call("DescribeChannelOrganizations", params, headers=headers)
|
|
1757
|
+
response = json.loads(body)
|
|
1758
|
+
model = models.DescribeChannelOrganizationsResponse()
|
|
1759
|
+
model._deserialize(response["Response"])
|
|
1760
|
+
return model
|
|
1761
|
+
except Exception as e:
|
|
1762
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1763
|
+
raise
|
|
1764
|
+
else:
|
|
1765
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1766
|
+
|
|
1767
|
+
|
|
1742
1768
|
def DescribeChannelSealPolicyWorkflowUrl(self, request):
|
|
1743
1769
|
"""生成渠道子客用印申请审批小程序链接,链接类型(通过H5唤起小程序或通过APP跳转的方式查看)
|
|
1744
1770
|
|