tencentcloud-sdk-python-csip 3.1.65__tar.gz → 3.1.67__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_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/setup.py +1 -1
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud/csip/v20221121/csip_client.py +46 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud/csip/v20221121/csip_client_async.py +36 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud/csip/v20221121/models.py +651 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_csip-3.1.67/tencentcloud_sdk_python_csip.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_csip-3.1.65/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/README.rst +0 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/setup.cfg +0 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud/csip/__init__.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud/csip/v20221121/__init__.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud_sdk_python_csip.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_csip-3.1.65 → tencentcloud_sdk_python_csip-3.1.67}/tencentcloud_sdk_python_csip.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-csip
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.67
|
|
4
4
|
Summary: Tencent Cloud Csip 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.67
|
|
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-csip',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.67,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Csip SDK for Python',
|
|
@@ -900,6 +900,52 @@ class CsipClient(AbstractClient):
|
|
|
900
900
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
901
901
|
|
|
902
902
|
|
|
903
|
+
def DescribeKeySandboxCredential(self, request):
|
|
904
|
+
r"""查询凭证详情,返回凭证元数据和打码后的凭据数据。access类型返回Access数组(Key原文、Value打码),sts类型返回STS对象(System原文、SecretID和SecretKey打码)
|
|
905
|
+
|
|
906
|
+
:param request: Request instance for DescribeKeySandboxCredential.
|
|
907
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeKeySandboxCredentialRequest`
|
|
908
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeKeySandboxCredentialResponse`
|
|
909
|
+
|
|
910
|
+
"""
|
|
911
|
+
try:
|
|
912
|
+
params = request._serialize()
|
|
913
|
+
headers = request.headers
|
|
914
|
+
body = self.call("DescribeKeySandboxCredential", params, headers=headers)
|
|
915
|
+
response = json.loads(body)
|
|
916
|
+
model = models.DescribeKeySandboxCredentialResponse()
|
|
917
|
+
model._deserialize(response["Response"])
|
|
918
|
+
return model
|
|
919
|
+
except Exception as e:
|
|
920
|
+
if isinstance(e, TencentCloudSDKException):
|
|
921
|
+
raise
|
|
922
|
+
else:
|
|
923
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
def DescribeKeySandboxCredentialList(self, request):
|
|
927
|
+
r"""查询凭证列表
|
|
928
|
+
|
|
929
|
+
:param request: Request instance for DescribeKeySandboxCredentialList.
|
|
930
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeKeySandboxCredentialListRequest`
|
|
931
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeKeySandboxCredentialListResponse`
|
|
932
|
+
|
|
933
|
+
"""
|
|
934
|
+
try:
|
|
935
|
+
params = request._serialize()
|
|
936
|
+
headers = request.headers
|
|
937
|
+
body = self.call("DescribeKeySandboxCredentialList", params, headers=headers)
|
|
938
|
+
response = json.loads(body)
|
|
939
|
+
model = models.DescribeKeySandboxCredentialListResponse()
|
|
940
|
+
model._deserialize(response["Response"])
|
|
941
|
+
return model
|
|
942
|
+
except Exception as e:
|
|
943
|
+
if isinstance(e, TencentCloudSDKException):
|
|
944
|
+
raise
|
|
945
|
+
else:
|
|
946
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
947
|
+
|
|
948
|
+
|
|
903
949
|
def DescribeListenerList(self, request):
|
|
904
950
|
r"""查询clb监听器列表
|
|
905
951
|
|
|
@@ -709,6 +709,42 @@ class CsipClient(AbstractClient):
|
|
|
709
709
|
|
|
710
710
|
return await self.call_and_deserialize(**kwargs)
|
|
711
711
|
|
|
712
|
+
async def DescribeKeySandboxCredential(
|
|
713
|
+
self,
|
|
714
|
+
request: models.DescribeKeySandboxCredentialRequest,
|
|
715
|
+
opts: Dict = None,
|
|
716
|
+
) -> models.DescribeKeySandboxCredentialResponse:
|
|
717
|
+
"""
|
|
718
|
+
查询凭证详情,返回凭证元数据和打码后的凭据数据。access类型返回Access数组(Key原文、Value打码),sts类型返回STS对象(System原文、SecretID和SecretKey打码)
|
|
719
|
+
"""
|
|
720
|
+
|
|
721
|
+
kwargs = {}
|
|
722
|
+
kwargs["action"] = "DescribeKeySandboxCredential"
|
|
723
|
+
kwargs["params"] = request._serialize()
|
|
724
|
+
kwargs["resp_cls"] = models.DescribeKeySandboxCredentialResponse
|
|
725
|
+
kwargs["headers"] = request.headers
|
|
726
|
+
kwargs["opts"] = opts or {}
|
|
727
|
+
|
|
728
|
+
return await self.call_and_deserialize(**kwargs)
|
|
729
|
+
|
|
730
|
+
async def DescribeKeySandboxCredentialList(
|
|
731
|
+
self,
|
|
732
|
+
request: models.DescribeKeySandboxCredentialListRequest,
|
|
733
|
+
opts: Dict = None,
|
|
734
|
+
) -> models.DescribeKeySandboxCredentialListResponse:
|
|
735
|
+
"""
|
|
736
|
+
查询凭证列表
|
|
737
|
+
"""
|
|
738
|
+
|
|
739
|
+
kwargs = {}
|
|
740
|
+
kwargs["action"] = "DescribeKeySandboxCredentialList"
|
|
741
|
+
kwargs["params"] = request._serialize()
|
|
742
|
+
kwargs["resp_cls"] = models.DescribeKeySandboxCredentialListResponse
|
|
743
|
+
kwargs["headers"] = request.headers
|
|
744
|
+
kwargs["opts"] = opts or {}
|
|
745
|
+
|
|
746
|
+
return await self.call_and_deserialize(**kwargs)
|
|
747
|
+
|
|
712
748
|
async def DescribeListenerList(
|
|
713
749
|
self,
|
|
714
750
|
request: models.DescribeListenerListRequest,
|
|
@@ -289,6 +289,59 @@ class AKInfo(AbstractModel):
|
|
|
289
289
|
|
|
290
290
|
|
|
291
291
|
|
|
292
|
+
class AccessCredentialOutput(AbstractModel):
|
|
293
|
+
r"""常规密钥凭据(出参专用),用于查询详情接口的响应。Value字段返回打码后的值,不暴露明文
|
|
294
|
+
|
|
295
|
+
"""
|
|
296
|
+
|
|
297
|
+
def __init__(self):
|
|
298
|
+
r"""
|
|
299
|
+
:param _Key: 凭据键名(原文),如SecretId、SecretKey、Token等
|
|
300
|
+
:type Key: str
|
|
301
|
+
:param _Value: 凭据键值(打码后)
|
|
302
|
+
补充说明:保留前3后4位,中间用***替代;长度不足7位时全部替换为***
|
|
303
|
+
:type Value: str
|
|
304
|
+
"""
|
|
305
|
+
self._Key = None
|
|
306
|
+
self._Value = None
|
|
307
|
+
|
|
308
|
+
@property
|
|
309
|
+
def Key(self):
|
|
310
|
+
r"""凭据键名(原文),如SecretId、SecretKey、Token等
|
|
311
|
+
:rtype: str
|
|
312
|
+
"""
|
|
313
|
+
return self._Key
|
|
314
|
+
|
|
315
|
+
@Key.setter
|
|
316
|
+
def Key(self, Key):
|
|
317
|
+
self._Key = Key
|
|
318
|
+
|
|
319
|
+
@property
|
|
320
|
+
def Value(self):
|
|
321
|
+
r"""凭据键值(打码后)
|
|
322
|
+
补充说明:保留前3后4位,中间用***替代;长度不足7位时全部替换为***
|
|
323
|
+
:rtype: str
|
|
324
|
+
"""
|
|
325
|
+
return self._Value
|
|
326
|
+
|
|
327
|
+
@Value.setter
|
|
328
|
+
def Value(self, Value):
|
|
329
|
+
self._Value = Value
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
def _deserialize(self, params):
|
|
333
|
+
self._Key = params.get("Key")
|
|
334
|
+
self._Value = params.get("Value")
|
|
335
|
+
memeber_set = set(params.keys())
|
|
336
|
+
for name, value in vars(self).items():
|
|
337
|
+
property_name = name[1:]
|
|
338
|
+
if property_name in memeber_set:
|
|
339
|
+
memeber_set.remove(property_name)
|
|
340
|
+
if len(memeber_set) > 0:
|
|
341
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
292
345
|
class AccessKeyAlarm(AbstractModel):
|
|
293
346
|
r"""访问密钥告警记录
|
|
294
347
|
|
|
@@ -11394,6 +11447,65 @@ class CreateRiskCenterScanTaskResponse(AbstractModel):
|
|
|
11394
11447
|
self._RequestId = params.get("RequestId")
|
|
11395
11448
|
|
|
11396
11449
|
|
|
11450
|
+
class CredentialEffectScope(AbstractModel):
|
|
11451
|
+
r"""生效机器范围,用于指定凭证在哪些机器上生效
|
|
11452
|
+
|
|
11453
|
+
"""
|
|
11454
|
+
|
|
11455
|
+
def __init__(self):
|
|
11456
|
+
r"""
|
|
11457
|
+
:param _Exclude: 是否排除模式
|
|
11458
|
+
枚举值:
|
|
11459
|
+
0:包含模式(仅Instances中的机器生效),此时Instances必填
|
|
11460
|
+
1:排除模式(Instances中的机器不生效,其余机器生效),此时Instances可选(空列表表示全部机器生效)
|
|
11461
|
+
:type Exclude: int
|
|
11462
|
+
:param _Instances: 机器实例ID列表。Exclude为0时必填,表示仅这些机器可访问凭证;Exclude为1时可选,表示这些机器不可访问凭证(空列表表示全部机器生效)
|
|
11463
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11464
|
+
:type Instances: list of str
|
|
11465
|
+
"""
|
|
11466
|
+
self._Exclude = None
|
|
11467
|
+
self._Instances = None
|
|
11468
|
+
|
|
11469
|
+
@property
|
|
11470
|
+
def Exclude(self):
|
|
11471
|
+
r"""是否排除模式
|
|
11472
|
+
枚举值:
|
|
11473
|
+
0:包含模式(仅Instances中的机器生效),此时Instances必填
|
|
11474
|
+
1:排除模式(Instances中的机器不生效,其余机器生效),此时Instances可选(空列表表示全部机器生效)
|
|
11475
|
+
:rtype: int
|
|
11476
|
+
"""
|
|
11477
|
+
return self._Exclude
|
|
11478
|
+
|
|
11479
|
+
@Exclude.setter
|
|
11480
|
+
def Exclude(self, Exclude):
|
|
11481
|
+
self._Exclude = Exclude
|
|
11482
|
+
|
|
11483
|
+
@property
|
|
11484
|
+
def Instances(self):
|
|
11485
|
+
r"""机器实例ID列表。Exclude为0时必填,表示仅这些机器可访问凭证;Exclude为1时可选,表示这些机器不可访问凭证(空列表表示全部机器生效)
|
|
11486
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11487
|
+
:rtype: list of str
|
|
11488
|
+
"""
|
|
11489
|
+
return self._Instances
|
|
11490
|
+
|
|
11491
|
+
@Instances.setter
|
|
11492
|
+
def Instances(self, Instances):
|
|
11493
|
+
self._Instances = Instances
|
|
11494
|
+
|
|
11495
|
+
|
|
11496
|
+
def _deserialize(self, params):
|
|
11497
|
+
self._Exclude = params.get("Exclude")
|
|
11498
|
+
self._Instances = params.get("Instances")
|
|
11499
|
+
memeber_set = set(params.keys())
|
|
11500
|
+
for name, value in vars(self).items():
|
|
11501
|
+
property_name = name[1:]
|
|
11502
|
+
if property_name in memeber_set:
|
|
11503
|
+
memeber_set.remove(property_name)
|
|
11504
|
+
if len(memeber_set) > 0:
|
|
11505
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11506
|
+
|
|
11507
|
+
|
|
11508
|
+
|
|
11397
11509
|
class CsipRiskCenterStatistics(AbstractModel):
|
|
11398
11510
|
r"""风险中心风险概览统计数据
|
|
11399
11511
|
|
|
@@ -18123,6 +18235,352 @@ class DescribeHighBaseLineRiskListResponse(AbstractModel):
|
|
|
18123
18235
|
self._RequestId = params.get("RequestId")
|
|
18124
18236
|
|
|
18125
18237
|
|
|
18238
|
+
class DescribeKeySandboxCredentialListRequest(AbstractModel):
|
|
18239
|
+
r"""DescribeKeySandboxCredentialList请求参数结构体
|
|
18240
|
+
|
|
18241
|
+
"""
|
|
18242
|
+
|
|
18243
|
+
def __init__(self):
|
|
18244
|
+
r"""
|
|
18245
|
+
:param _Filter: 过滤条件列表,支持的过滤条件如下:
|
|
18246
|
+
CredentialName - 凭证名称(模糊匹配)
|
|
18247
|
+
CredentialType - 凭证类型(精确匹配),取值:access、sts
|
|
18248
|
+
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
|
18249
|
+
:param _MemberId: 集团账号的成员id
|
|
18250
|
+
:type MemberId: list of str
|
|
18251
|
+
"""
|
|
18252
|
+
self._Filter = None
|
|
18253
|
+
self._MemberId = None
|
|
18254
|
+
|
|
18255
|
+
@property
|
|
18256
|
+
def Filter(self):
|
|
18257
|
+
r"""过滤条件列表,支持的过滤条件如下:
|
|
18258
|
+
CredentialName - 凭证名称(模糊匹配)
|
|
18259
|
+
CredentialType - 凭证类型(精确匹配),取值:access、sts
|
|
18260
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.Filter`
|
|
18261
|
+
"""
|
|
18262
|
+
return self._Filter
|
|
18263
|
+
|
|
18264
|
+
@Filter.setter
|
|
18265
|
+
def Filter(self, Filter):
|
|
18266
|
+
self._Filter = Filter
|
|
18267
|
+
|
|
18268
|
+
@property
|
|
18269
|
+
def MemberId(self):
|
|
18270
|
+
r"""集团账号的成员id
|
|
18271
|
+
:rtype: list of str
|
|
18272
|
+
"""
|
|
18273
|
+
return self._MemberId
|
|
18274
|
+
|
|
18275
|
+
@MemberId.setter
|
|
18276
|
+
def MemberId(self, MemberId):
|
|
18277
|
+
self._MemberId = MemberId
|
|
18278
|
+
|
|
18279
|
+
|
|
18280
|
+
def _deserialize(self, params):
|
|
18281
|
+
if params.get("Filter") is not None:
|
|
18282
|
+
self._Filter = Filter()
|
|
18283
|
+
self._Filter._deserialize(params.get("Filter"))
|
|
18284
|
+
self._MemberId = params.get("MemberId")
|
|
18285
|
+
memeber_set = set(params.keys())
|
|
18286
|
+
for name, value in vars(self).items():
|
|
18287
|
+
property_name = name[1:]
|
|
18288
|
+
if property_name in memeber_set:
|
|
18289
|
+
memeber_set.remove(property_name)
|
|
18290
|
+
if len(memeber_set) > 0:
|
|
18291
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18292
|
+
|
|
18293
|
+
|
|
18294
|
+
|
|
18295
|
+
class DescribeKeySandboxCredentialListResponse(AbstractModel):
|
|
18296
|
+
r"""DescribeKeySandboxCredentialList返回参数结构体
|
|
18297
|
+
|
|
18298
|
+
"""
|
|
18299
|
+
|
|
18300
|
+
def __init__(self):
|
|
18301
|
+
r"""
|
|
18302
|
+
:param _Data: 凭证数据列表
|
|
18303
|
+
:type Data: list of KeySandboxCredential
|
|
18304
|
+
:param _TotalCount: 总数量
|
|
18305
|
+
:type TotalCount: int
|
|
18306
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18307
|
+
:type RequestId: str
|
|
18308
|
+
"""
|
|
18309
|
+
self._Data = None
|
|
18310
|
+
self._TotalCount = None
|
|
18311
|
+
self._RequestId = None
|
|
18312
|
+
|
|
18313
|
+
@property
|
|
18314
|
+
def Data(self):
|
|
18315
|
+
r"""凭证数据列表
|
|
18316
|
+
:rtype: list of KeySandboxCredential
|
|
18317
|
+
"""
|
|
18318
|
+
return self._Data
|
|
18319
|
+
|
|
18320
|
+
@Data.setter
|
|
18321
|
+
def Data(self, Data):
|
|
18322
|
+
self._Data = Data
|
|
18323
|
+
|
|
18324
|
+
@property
|
|
18325
|
+
def TotalCount(self):
|
|
18326
|
+
r"""总数量
|
|
18327
|
+
:rtype: int
|
|
18328
|
+
"""
|
|
18329
|
+
return self._TotalCount
|
|
18330
|
+
|
|
18331
|
+
@TotalCount.setter
|
|
18332
|
+
def TotalCount(self, TotalCount):
|
|
18333
|
+
self._TotalCount = TotalCount
|
|
18334
|
+
|
|
18335
|
+
@property
|
|
18336
|
+
def RequestId(self):
|
|
18337
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18338
|
+
:rtype: str
|
|
18339
|
+
"""
|
|
18340
|
+
return self._RequestId
|
|
18341
|
+
|
|
18342
|
+
@RequestId.setter
|
|
18343
|
+
def RequestId(self, RequestId):
|
|
18344
|
+
self._RequestId = RequestId
|
|
18345
|
+
|
|
18346
|
+
|
|
18347
|
+
def _deserialize(self, params):
|
|
18348
|
+
if params.get("Data") is not None:
|
|
18349
|
+
self._Data = []
|
|
18350
|
+
for item in params.get("Data"):
|
|
18351
|
+
obj = KeySandboxCredential()
|
|
18352
|
+
obj._deserialize(item)
|
|
18353
|
+
self._Data.append(obj)
|
|
18354
|
+
self._TotalCount = params.get("TotalCount")
|
|
18355
|
+
self._RequestId = params.get("RequestId")
|
|
18356
|
+
|
|
18357
|
+
|
|
18358
|
+
class DescribeKeySandboxCredentialRequest(AbstractModel):
|
|
18359
|
+
r"""DescribeKeySandboxCredential请求参数结构体
|
|
18360
|
+
|
|
18361
|
+
"""
|
|
18362
|
+
|
|
18363
|
+
def __init__(self):
|
|
18364
|
+
r"""
|
|
18365
|
+
:param _CredentialId: 凭证ID
|
|
18366
|
+
:type CredentialId: str
|
|
18367
|
+
:param _MemberId: 集团账号的成员id
|
|
18368
|
+
:type MemberId: list of str
|
|
18369
|
+
"""
|
|
18370
|
+
self._CredentialId = None
|
|
18371
|
+
self._MemberId = None
|
|
18372
|
+
|
|
18373
|
+
@property
|
|
18374
|
+
def CredentialId(self):
|
|
18375
|
+
r"""凭证ID
|
|
18376
|
+
:rtype: str
|
|
18377
|
+
"""
|
|
18378
|
+
return self._CredentialId
|
|
18379
|
+
|
|
18380
|
+
@CredentialId.setter
|
|
18381
|
+
def CredentialId(self, CredentialId):
|
|
18382
|
+
self._CredentialId = CredentialId
|
|
18383
|
+
|
|
18384
|
+
@property
|
|
18385
|
+
def MemberId(self):
|
|
18386
|
+
r"""集团账号的成员id
|
|
18387
|
+
:rtype: list of str
|
|
18388
|
+
"""
|
|
18389
|
+
return self._MemberId
|
|
18390
|
+
|
|
18391
|
+
@MemberId.setter
|
|
18392
|
+
def MemberId(self, MemberId):
|
|
18393
|
+
self._MemberId = MemberId
|
|
18394
|
+
|
|
18395
|
+
|
|
18396
|
+
def _deserialize(self, params):
|
|
18397
|
+
self._CredentialId = params.get("CredentialId")
|
|
18398
|
+
self._MemberId = params.get("MemberId")
|
|
18399
|
+
memeber_set = set(params.keys())
|
|
18400
|
+
for name, value in vars(self).items():
|
|
18401
|
+
property_name = name[1:]
|
|
18402
|
+
if property_name in memeber_set:
|
|
18403
|
+
memeber_set.remove(property_name)
|
|
18404
|
+
if len(memeber_set) > 0:
|
|
18405
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18406
|
+
|
|
18407
|
+
|
|
18408
|
+
|
|
18409
|
+
class DescribeKeySandboxCredentialResponse(AbstractModel):
|
|
18410
|
+
r"""DescribeKeySandboxCredential返回参数结构体
|
|
18411
|
+
|
|
18412
|
+
"""
|
|
18413
|
+
|
|
18414
|
+
def __init__(self):
|
|
18415
|
+
r"""
|
|
18416
|
+
:param _CredentialId: 凭证ID
|
|
18417
|
+
:type CredentialId: str
|
|
18418
|
+
:param _CredentialName: 凭证名称
|
|
18419
|
+
:type CredentialName: str
|
|
18420
|
+
:param _CredentialType: 凭证类型
|
|
18421
|
+
枚举值:
|
|
18422
|
+
access:常规密钥
|
|
18423
|
+
sts:STS临时密钥
|
|
18424
|
+
:type CredentialType: str
|
|
18425
|
+
:param _CredentialEffectScope: 生效机器范围
|
|
18426
|
+
:type CredentialEffectScope: :class:`tencentcloud.csip.v20221121.models.CredentialEffectScope`
|
|
18427
|
+
:param _Access: 常规密钥凭据数据(打码后),CredentialType为access时返回
|
|
18428
|
+
补充说明:Key为原文,Value为打码后的值(保留前3后4位,中间用***替代)
|
|
18429
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18430
|
+
:type Access: list of AccessCredentialOutput
|
|
18431
|
+
:param _STS: STS凭据数据(打码后),CredentialType为sts时返回
|
|
18432
|
+
补充说明:System为原文,SecretID和SecretKey为打码后的值(保留前3后4位,中间用***替代)
|
|
18433
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18434
|
+
:type STS: :class:`tencentcloud.csip.v20221121.models.STSCredentialOutput`
|
|
18435
|
+
:param _CreateTime: 创建时间
|
|
18436
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
18437
|
+
:type CreateTime: str
|
|
18438
|
+
:param _UpdateTime: 更新时间
|
|
18439
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
18440
|
+
:type UpdateTime: str
|
|
18441
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18442
|
+
:type RequestId: str
|
|
18443
|
+
"""
|
|
18444
|
+
self._CredentialId = None
|
|
18445
|
+
self._CredentialName = None
|
|
18446
|
+
self._CredentialType = None
|
|
18447
|
+
self._CredentialEffectScope = None
|
|
18448
|
+
self._Access = None
|
|
18449
|
+
self._STS = None
|
|
18450
|
+
self._CreateTime = None
|
|
18451
|
+
self._UpdateTime = None
|
|
18452
|
+
self._RequestId = None
|
|
18453
|
+
|
|
18454
|
+
@property
|
|
18455
|
+
def CredentialId(self):
|
|
18456
|
+
r"""凭证ID
|
|
18457
|
+
:rtype: str
|
|
18458
|
+
"""
|
|
18459
|
+
return self._CredentialId
|
|
18460
|
+
|
|
18461
|
+
@CredentialId.setter
|
|
18462
|
+
def CredentialId(self, CredentialId):
|
|
18463
|
+
self._CredentialId = CredentialId
|
|
18464
|
+
|
|
18465
|
+
@property
|
|
18466
|
+
def CredentialName(self):
|
|
18467
|
+
r"""凭证名称
|
|
18468
|
+
:rtype: str
|
|
18469
|
+
"""
|
|
18470
|
+
return self._CredentialName
|
|
18471
|
+
|
|
18472
|
+
@CredentialName.setter
|
|
18473
|
+
def CredentialName(self, CredentialName):
|
|
18474
|
+
self._CredentialName = CredentialName
|
|
18475
|
+
|
|
18476
|
+
@property
|
|
18477
|
+
def CredentialType(self):
|
|
18478
|
+
r"""凭证类型
|
|
18479
|
+
枚举值:
|
|
18480
|
+
access:常规密钥
|
|
18481
|
+
sts:STS临时密钥
|
|
18482
|
+
:rtype: str
|
|
18483
|
+
"""
|
|
18484
|
+
return self._CredentialType
|
|
18485
|
+
|
|
18486
|
+
@CredentialType.setter
|
|
18487
|
+
def CredentialType(self, CredentialType):
|
|
18488
|
+
self._CredentialType = CredentialType
|
|
18489
|
+
|
|
18490
|
+
@property
|
|
18491
|
+
def CredentialEffectScope(self):
|
|
18492
|
+
r"""生效机器范围
|
|
18493
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.CredentialEffectScope`
|
|
18494
|
+
"""
|
|
18495
|
+
return self._CredentialEffectScope
|
|
18496
|
+
|
|
18497
|
+
@CredentialEffectScope.setter
|
|
18498
|
+
def CredentialEffectScope(self, CredentialEffectScope):
|
|
18499
|
+
self._CredentialEffectScope = CredentialEffectScope
|
|
18500
|
+
|
|
18501
|
+
@property
|
|
18502
|
+
def Access(self):
|
|
18503
|
+
r"""常规密钥凭据数据(打码后),CredentialType为access时返回
|
|
18504
|
+
补充说明:Key为原文,Value为打码后的值(保留前3后4位,中间用***替代)
|
|
18505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18506
|
+
:rtype: list of AccessCredentialOutput
|
|
18507
|
+
"""
|
|
18508
|
+
return self._Access
|
|
18509
|
+
|
|
18510
|
+
@Access.setter
|
|
18511
|
+
def Access(self, Access):
|
|
18512
|
+
self._Access = Access
|
|
18513
|
+
|
|
18514
|
+
@property
|
|
18515
|
+
def STS(self):
|
|
18516
|
+
r"""STS凭据数据(打码后),CredentialType为sts时返回
|
|
18517
|
+
补充说明:System为原文,SecretID和SecretKey为打码后的值(保留前3后4位,中间用***替代)
|
|
18518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18519
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.STSCredentialOutput`
|
|
18520
|
+
"""
|
|
18521
|
+
return self._STS
|
|
18522
|
+
|
|
18523
|
+
@STS.setter
|
|
18524
|
+
def STS(self, STS):
|
|
18525
|
+
self._STS = STS
|
|
18526
|
+
|
|
18527
|
+
@property
|
|
18528
|
+
def CreateTime(self):
|
|
18529
|
+
r"""创建时间
|
|
18530
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
18531
|
+
:rtype: str
|
|
18532
|
+
"""
|
|
18533
|
+
return self._CreateTime
|
|
18534
|
+
|
|
18535
|
+
@CreateTime.setter
|
|
18536
|
+
def CreateTime(self, CreateTime):
|
|
18537
|
+
self._CreateTime = CreateTime
|
|
18538
|
+
|
|
18539
|
+
@property
|
|
18540
|
+
def UpdateTime(self):
|
|
18541
|
+
r"""更新时间
|
|
18542
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
18543
|
+
:rtype: str
|
|
18544
|
+
"""
|
|
18545
|
+
return self._UpdateTime
|
|
18546
|
+
|
|
18547
|
+
@UpdateTime.setter
|
|
18548
|
+
def UpdateTime(self, UpdateTime):
|
|
18549
|
+
self._UpdateTime = UpdateTime
|
|
18550
|
+
|
|
18551
|
+
@property
|
|
18552
|
+
def RequestId(self):
|
|
18553
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18554
|
+
:rtype: str
|
|
18555
|
+
"""
|
|
18556
|
+
return self._RequestId
|
|
18557
|
+
|
|
18558
|
+
@RequestId.setter
|
|
18559
|
+
def RequestId(self, RequestId):
|
|
18560
|
+
self._RequestId = RequestId
|
|
18561
|
+
|
|
18562
|
+
|
|
18563
|
+
def _deserialize(self, params):
|
|
18564
|
+
self._CredentialId = params.get("CredentialId")
|
|
18565
|
+
self._CredentialName = params.get("CredentialName")
|
|
18566
|
+
self._CredentialType = params.get("CredentialType")
|
|
18567
|
+
if params.get("CredentialEffectScope") is not None:
|
|
18568
|
+
self._CredentialEffectScope = CredentialEffectScope()
|
|
18569
|
+
self._CredentialEffectScope._deserialize(params.get("CredentialEffectScope"))
|
|
18570
|
+
if params.get("Access") is not None:
|
|
18571
|
+
self._Access = []
|
|
18572
|
+
for item in params.get("Access"):
|
|
18573
|
+
obj = AccessCredentialOutput()
|
|
18574
|
+
obj._deserialize(item)
|
|
18575
|
+
self._Access.append(obj)
|
|
18576
|
+
if params.get("STS") is not None:
|
|
18577
|
+
self._STS = STSCredentialOutput()
|
|
18578
|
+
self._STS._deserialize(params.get("STS"))
|
|
18579
|
+
self._CreateTime = params.get("CreateTime")
|
|
18580
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
18581
|
+
self._RequestId = params.get("RequestId")
|
|
18582
|
+
|
|
18583
|
+
|
|
18126
18584
|
class DescribeListenerListRequest(AbstractModel):
|
|
18127
18585
|
r"""DescribeListenerList请求参数结构体
|
|
18128
18586
|
|
|
@@ -27846,6 +28304,129 @@ class IpAssetListVO(AbstractModel):
|
|
|
27846
28304
|
|
|
27847
28305
|
|
|
27848
28306
|
|
|
28307
|
+
class KeySandboxCredential(AbstractModel):
|
|
28308
|
+
r"""凭证数据结构,用于列表查询和详情查询的响应
|
|
28309
|
+
|
|
28310
|
+
"""
|
|
28311
|
+
|
|
28312
|
+
def __init__(self):
|
|
28313
|
+
r"""
|
|
28314
|
+
:param _CredentialId: 凭证ID
|
|
28315
|
+
:type CredentialId: str
|
|
28316
|
+
:param _CredentialName: 凭证名称
|
|
28317
|
+
:type CredentialName: str
|
|
28318
|
+
:param _CredentialType: 凭证类型
|
|
28319
|
+
枚举值:
|
|
28320
|
+
access:常规密钥(Key/Value键值对)
|
|
28321
|
+
sts:STS临时密钥凭据
|
|
28322
|
+
:type CredentialType: str
|
|
28323
|
+
:param _CredentialEffectScope: 生效机器范围
|
|
28324
|
+
:type CredentialEffectScope: :class:`tencentcloud.csip.v20221121.models.CredentialEffectScope`
|
|
28325
|
+
:param _CreateTime: 创建时间
|
|
28326
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
28327
|
+
:type CreateTime: str
|
|
28328
|
+
:param _UpdateTime: 更新时间
|
|
28329
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
28330
|
+
:type UpdateTime: str
|
|
28331
|
+
"""
|
|
28332
|
+
self._CredentialId = None
|
|
28333
|
+
self._CredentialName = None
|
|
28334
|
+
self._CredentialType = None
|
|
28335
|
+
self._CredentialEffectScope = None
|
|
28336
|
+
self._CreateTime = None
|
|
28337
|
+
self._UpdateTime = None
|
|
28338
|
+
|
|
28339
|
+
@property
|
|
28340
|
+
def CredentialId(self):
|
|
28341
|
+
r"""凭证ID
|
|
28342
|
+
:rtype: str
|
|
28343
|
+
"""
|
|
28344
|
+
return self._CredentialId
|
|
28345
|
+
|
|
28346
|
+
@CredentialId.setter
|
|
28347
|
+
def CredentialId(self, CredentialId):
|
|
28348
|
+
self._CredentialId = CredentialId
|
|
28349
|
+
|
|
28350
|
+
@property
|
|
28351
|
+
def CredentialName(self):
|
|
28352
|
+
r"""凭证名称
|
|
28353
|
+
:rtype: str
|
|
28354
|
+
"""
|
|
28355
|
+
return self._CredentialName
|
|
28356
|
+
|
|
28357
|
+
@CredentialName.setter
|
|
28358
|
+
def CredentialName(self, CredentialName):
|
|
28359
|
+
self._CredentialName = CredentialName
|
|
28360
|
+
|
|
28361
|
+
@property
|
|
28362
|
+
def CredentialType(self):
|
|
28363
|
+
r"""凭证类型
|
|
28364
|
+
枚举值:
|
|
28365
|
+
access:常规密钥(Key/Value键值对)
|
|
28366
|
+
sts:STS临时密钥凭据
|
|
28367
|
+
:rtype: str
|
|
28368
|
+
"""
|
|
28369
|
+
return self._CredentialType
|
|
28370
|
+
|
|
28371
|
+
@CredentialType.setter
|
|
28372
|
+
def CredentialType(self, CredentialType):
|
|
28373
|
+
self._CredentialType = CredentialType
|
|
28374
|
+
|
|
28375
|
+
@property
|
|
28376
|
+
def CredentialEffectScope(self):
|
|
28377
|
+
r"""生效机器范围
|
|
28378
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.CredentialEffectScope`
|
|
28379
|
+
"""
|
|
28380
|
+
return self._CredentialEffectScope
|
|
28381
|
+
|
|
28382
|
+
@CredentialEffectScope.setter
|
|
28383
|
+
def CredentialEffectScope(self, CredentialEffectScope):
|
|
28384
|
+
self._CredentialEffectScope = CredentialEffectScope
|
|
28385
|
+
|
|
28386
|
+
@property
|
|
28387
|
+
def CreateTime(self):
|
|
28388
|
+
r"""创建时间
|
|
28389
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
28390
|
+
:rtype: str
|
|
28391
|
+
"""
|
|
28392
|
+
return self._CreateTime
|
|
28393
|
+
|
|
28394
|
+
@CreateTime.setter
|
|
28395
|
+
def CreateTime(self, CreateTime):
|
|
28396
|
+
self._CreateTime = CreateTime
|
|
28397
|
+
|
|
28398
|
+
@property
|
|
28399
|
+
def UpdateTime(self):
|
|
28400
|
+
r"""更新时间
|
|
28401
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
28402
|
+
:rtype: str
|
|
28403
|
+
"""
|
|
28404
|
+
return self._UpdateTime
|
|
28405
|
+
|
|
28406
|
+
@UpdateTime.setter
|
|
28407
|
+
def UpdateTime(self, UpdateTime):
|
|
28408
|
+
self._UpdateTime = UpdateTime
|
|
28409
|
+
|
|
28410
|
+
|
|
28411
|
+
def _deserialize(self, params):
|
|
28412
|
+
self._CredentialId = params.get("CredentialId")
|
|
28413
|
+
self._CredentialName = params.get("CredentialName")
|
|
28414
|
+
self._CredentialType = params.get("CredentialType")
|
|
28415
|
+
if params.get("CredentialEffectScope") is not None:
|
|
28416
|
+
self._CredentialEffectScope = CredentialEffectScope()
|
|
28417
|
+
self._CredentialEffectScope._deserialize(params.get("CredentialEffectScope"))
|
|
28418
|
+
self._CreateTime = params.get("CreateTime")
|
|
28419
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
28420
|
+
memeber_set = set(params.keys())
|
|
28421
|
+
for name, value in vars(self).items():
|
|
28422
|
+
property_name = name[1:]
|
|
28423
|
+
if property_name in memeber_set:
|
|
28424
|
+
memeber_set.remove(property_name)
|
|
28425
|
+
if len(memeber_set) > 0:
|
|
28426
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28427
|
+
|
|
28428
|
+
|
|
28429
|
+
|
|
27849
28430
|
class KeyValue(AbstractModel):
|
|
27850
28431
|
r"""KeyValue对
|
|
27851
28432
|
|
|
@@ -31892,6 +32473,76 @@ class RoleInfo(AbstractModel):
|
|
|
31892
32473
|
|
|
31893
32474
|
|
|
31894
32475
|
|
|
32476
|
+
class STSCredentialOutput(AbstractModel):
|
|
32477
|
+
r"""STS临时密钥凭据(出参专用),用于查询详情接口的响应。SecretID和SecretKey字段返回打码后的值,System返回原文
|
|
32478
|
+
|
|
32479
|
+
"""
|
|
32480
|
+
|
|
32481
|
+
def __init__(self):
|
|
32482
|
+
r"""
|
|
32483
|
+
:param _System: 凭据提供商标识(原文),如tencentCam、aws、aliyun等
|
|
32484
|
+
:type System: str
|
|
32485
|
+
:param _SecretID: SecretID(打码后)
|
|
32486
|
+
补充说明:保留前3后4位,中间用***替代;长度不足7位时全部替换为***
|
|
32487
|
+
:type SecretID: str
|
|
32488
|
+
:param _SecretKey: SecretKey(打码后)
|
|
32489
|
+
补充说明:保留前3后4位,中间用***替代;长度不足7位时全部替换为***
|
|
32490
|
+
:type SecretKey: str
|
|
32491
|
+
"""
|
|
32492
|
+
self._System = None
|
|
32493
|
+
self._SecretID = None
|
|
32494
|
+
self._SecretKey = None
|
|
32495
|
+
|
|
32496
|
+
@property
|
|
32497
|
+
def System(self):
|
|
32498
|
+
r"""凭据提供商标识(原文),如tencentCam、aws、aliyun等
|
|
32499
|
+
:rtype: str
|
|
32500
|
+
"""
|
|
32501
|
+
return self._System
|
|
32502
|
+
|
|
32503
|
+
@System.setter
|
|
32504
|
+
def System(self, System):
|
|
32505
|
+
self._System = System
|
|
32506
|
+
|
|
32507
|
+
@property
|
|
32508
|
+
def SecretID(self):
|
|
32509
|
+
r"""SecretID(打码后)
|
|
32510
|
+
补充说明:保留前3后4位,中间用***替代;长度不足7位时全部替换为***
|
|
32511
|
+
:rtype: str
|
|
32512
|
+
"""
|
|
32513
|
+
return self._SecretID
|
|
32514
|
+
|
|
32515
|
+
@SecretID.setter
|
|
32516
|
+
def SecretID(self, SecretID):
|
|
32517
|
+
self._SecretID = SecretID
|
|
32518
|
+
|
|
32519
|
+
@property
|
|
32520
|
+
def SecretKey(self):
|
|
32521
|
+
r"""SecretKey(打码后)
|
|
32522
|
+
补充说明:保留前3后4位,中间用***替代;长度不足7位时全部替换为***
|
|
32523
|
+
:rtype: str
|
|
32524
|
+
"""
|
|
32525
|
+
return self._SecretKey
|
|
32526
|
+
|
|
32527
|
+
@SecretKey.setter
|
|
32528
|
+
def SecretKey(self, SecretKey):
|
|
32529
|
+
self._SecretKey = SecretKey
|
|
32530
|
+
|
|
32531
|
+
|
|
32532
|
+
def _deserialize(self, params):
|
|
32533
|
+
self._System = params.get("System")
|
|
32534
|
+
self._SecretID = params.get("SecretID")
|
|
32535
|
+
self._SecretKey = params.get("SecretKey")
|
|
32536
|
+
memeber_set = set(params.keys())
|
|
32537
|
+
for name, value in vars(self).items():
|
|
32538
|
+
property_name = name[1:]
|
|
32539
|
+
if property_name in memeber_set:
|
|
32540
|
+
memeber_set.remove(property_name)
|
|
32541
|
+
if len(memeber_set) > 0:
|
|
32542
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32543
|
+
|
|
32544
|
+
|
|
32545
|
+
|
|
31895
32546
|
class ScanTaskInfo(AbstractModel):
|
|
31896
32547
|
r"""扫描任务详情
|
|
31897
32548
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-csip
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.67
|
|
4
4
|
Summary: Tencent Cloud Csip 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.67
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.67
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.65
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|