tencentcloud-sdk-python 3.0.1440__py2.py3-none-any.whl → 3.0.1442__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/autoscaling/v20180419/models.py +10 -6
- tencentcloud/cfs/v20190719/cfs_client.py +23 -0
- tencentcloud/cfs/v20190719/models.py +124 -0
- tencentcloud/cls/v20201016/models.py +120 -32
- tencentcloud/dcdb/v20180411/models.py +47 -2
- tencentcloud/dlc/v20210125/models.py +21 -6
- tencentcloud/dsgc/v20190723/dsgc_client.py +1 -1
- tencentcloud/dsgc/v20190723/models.py +10 -10
- tencentcloud/ess/v20201111/ess_client.py +16 -1
- tencentcloud/ess/v20201111/models.py +63 -2
- tencentcloud/essbasic/v20210526/models.py +61 -0
- tencentcloud/faceid/v20180301/models.py +96 -4
- tencentcloud/mariadb/v20170312/models.py +47 -2
- tencentcloud/organization/v20210331/models.py +306 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/privatedns/v20201028/models.py +6 -6
- tencentcloud/trocket/v20230308/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +18 -18
- tencentcloud/tsf/v20180326/models.py +4 -4
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1442.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1442.dist-info}/RECORD +25 -25
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1442.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1442.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1442.dist-info}/top_level.txt +0 -0
|
@@ -4316,7 +4316,7 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
|
|
|
4316
4316
|
|
|
4317
4317
|
def __init__(self):
|
|
4318
4318
|
r"""
|
|
4319
|
-
:param _Text:
|
|
4319
|
+
:param _Text: 人脸核身识别结果及文本类信息。
|
|
4320
4320
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4321
4321
|
:type Text: :class:`tencentcloud.faceid.v20180301.models.DetectInfoText`
|
|
4322
4322
|
:param _IdCardData: 身份证照片信息。
|
|
@@ -4347,6 +4347,18 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
|
|
|
4347
4347
|
:param _EncryptedBody: 加密后的数据。
|
|
4348
4348
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4349
4349
|
:type EncryptedBody: str
|
|
4350
|
+
:param _IsVerifyIntention: 本次请求是否配置开启意愿校验。
|
|
4351
|
+
false:未开启意愿校验
|
|
4352
|
+
true:已开启意愿校验
|
|
4353
|
+
说明:若请求开启了意愿校验,可结合IntentionVerifyType中具体使用的校验模式从对应的出参Result中获取最终的核验结果;若请求没有开启意愿校验,则可在出参Text中获取最终的核验结果。
|
|
4354
|
+
:type IsVerifyIntention: bool
|
|
4355
|
+
:param _IntentionVerifyType: 本次请求意愿校验使用的具体模式。
|
|
4356
|
+
0:问答模式
|
|
4357
|
+
1:点头确认模式
|
|
4358
|
+
2:朗读模式
|
|
4359
|
+
若未使用意愿核身功能,该字段返回值可以不处理。
|
|
4360
|
+
注意:此字段可能返回 null,表示取不到有效值
|
|
4361
|
+
:type IntentionVerifyType: str
|
|
4350
4362
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4351
4363
|
:type RequestId: str
|
|
4352
4364
|
"""
|
|
@@ -4359,11 +4371,13 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
|
|
|
4359
4371
|
self._IntentionQuestionResult = None
|
|
4360
4372
|
self._IntentionActionResult = None
|
|
4361
4373
|
self._EncryptedBody = None
|
|
4374
|
+
self._IsVerifyIntention = None
|
|
4375
|
+
self._IntentionVerifyType = None
|
|
4362
4376
|
self._RequestId = None
|
|
4363
4377
|
|
|
4364
4378
|
@property
|
|
4365
4379
|
def Text(self):
|
|
4366
|
-
"""
|
|
4380
|
+
"""人脸核身识别结果及文本类信息。
|
|
4367
4381
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4368
4382
|
:rtype: :class:`tencentcloud.faceid.v20180301.models.DetectInfoText`
|
|
4369
4383
|
"""
|
|
@@ -4473,6 +4487,36 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
|
|
|
4473
4487
|
def EncryptedBody(self, EncryptedBody):
|
|
4474
4488
|
self._EncryptedBody = EncryptedBody
|
|
4475
4489
|
|
|
4490
|
+
@property
|
|
4491
|
+
def IsVerifyIntention(self):
|
|
4492
|
+
"""本次请求是否配置开启意愿校验。
|
|
4493
|
+
false:未开启意愿校验
|
|
4494
|
+
true:已开启意愿校验
|
|
4495
|
+
说明:若请求开启了意愿校验,可结合IntentionVerifyType中具体使用的校验模式从对应的出参Result中获取最终的核验结果;若请求没有开启意愿校验,则可在出参Text中获取最终的核验结果。
|
|
4496
|
+
:rtype: bool
|
|
4497
|
+
"""
|
|
4498
|
+
return self._IsVerifyIntention
|
|
4499
|
+
|
|
4500
|
+
@IsVerifyIntention.setter
|
|
4501
|
+
def IsVerifyIntention(self, IsVerifyIntention):
|
|
4502
|
+
self._IsVerifyIntention = IsVerifyIntention
|
|
4503
|
+
|
|
4504
|
+
@property
|
|
4505
|
+
def IntentionVerifyType(self):
|
|
4506
|
+
"""本次请求意愿校验使用的具体模式。
|
|
4507
|
+
0:问答模式
|
|
4508
|
+
1:点头确认模式
|
|
4509
|
+
2:朗读模式
|
|
4510
|
+
若未使用意愿核身功能,该字段返回值可以不处理。
|
|
4511
|
+
注意:此字段可能返回 null,表示取不到有效值
|
|
4512
|
+
:rtype: str
|
|
4513
|
+
"""
|
|
4514
|
+
return self._IntentionVerifyType
|
|
4515
|
+
|
|
4516
|
+
@IntentionVerifyType.setter
|
|
4517
|
+
def IntentionVerifyType(self, IntentionVerifyType):
|
|
4518
|
+
self._IntentionVerifyType = IntentionVerifyType
|
|
4519
|
+
|
|
4476
4520
|
@property
|
|
4477
4521
|
def RequestId(self):
|
|
4478
4522
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4511,6 +4555,8 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
|
|
|
4511
4555
|
self._IntentionActionResult = IntentionActionResult()
|
|
4512
4556
|
self._IntentionActionResult._deserialize(params.get("IntentionActionResult"))
|
|
4513
4557
|
self._EncryptedBody = params.get("EncryptedBody")
|
|
4558
|
+
self._IsVerifyIntention = params.get("IsVerifyIntention")
|
|
4559
|
+
self._IntentionVerifyType = params.get("IntentionVerifyType")
|
|
4514
4560
|
self._RequestId = params.get("RequestId")
|
|
4515
4561
|
|
|
4516
4562
|
|
|
@@ -4856,7 +4902,7 @@ class GetEidResultResponse(AbstractModel):
|
|
|
4856
4902
|
|
|
4857
4903
|
def __init__(self):
|
|
4858
4904
|
r"""
|
|
4859
|
-
:param _Text:
|
|
4905
|
+
:param _Text: 人脸核身识别结果及文本类信息。
|
|
4860
4906
|
- 基于对敏感信息的保护,验证使用的姓名和身份证号统一通过加密后从EidInfo参数中返回。
|
|
4861
4907
|
- 如需获取请在控制台申请返回身份信息,详见[E证通获取实名信息指引](https://cloud.tencent.com/document/product/1007/63370)。
|
|
4862
4908
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4886,6 +4932,18 @@ class GetEidResultResponse(AbstractModel):
|
|
|
4886
4932
|
- 若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
4887
4933
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4888
4934
|
:type IntentionActionResult: :class:`tencentcloud.faceid.v20180301.models.IntentionActionResult`
|
|
4935
|
+
:param _IsVerifyIntention: 本次请求是否配置开启意愿校验。
|
|
4936
|
+
false:未开启意愿校验
|
|
4937
|
+
true:已开启意愿校验
|
|
4938
|
+
说明:若请求开启了意愿校验,可结合IntentionVerifyType中具体使用的校验模式从对应的出参Result中获取最终的核验结果;若请求没有开启意愿校验,则可在出参Text中获取最终的核验结果。
|
|
4939
|
+
:type IsVerifyIntention: bool
|
|
4940
|
+
:param _IntentionVerifyType: 本次请求意愿校验使用的具体模式。
|
|
4941
|
+
0:问答模式
|
|
4942
|
+
1:点头确认模式
|
|
4943
|
+
2:朗读模式
|
|
4944
|
+
若未使用意愿核身功能,该字段返回值可以不处理。
|
|
4945
|
+
注意:此字段可能返回 null,表示取不到有效值
|
|
4946
|
+
:type IntentionVerifyType: str
|
|
4889
4947
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4890
4948
|
:type RequestId: str
|
|
4891
4949
|
"""
|
|
@@ -4896,11 +4954,13 @@ class GetEidResultResponse(AbstractModel):
|
|
|
4896
4954
|
self._IntentionVerifyData = None
|
|
4897
4955
|
self._IntentionQuestionResult = None
|
|
4898
4956
|
self._IntentionActionResult = None
|
|
4957
|
+
self._IsVerifyIntention = None
|
|
4958
|
+
self._IntentionVerifyType = None
|
|
4899
4959
|
self._RequestId = None
|
|
4900
4960
|
|
|
4901
4961
|
@property
|
|
4902
4962
|
def Text(self):
|
|
4903
|
-
"""
|
|
4963
|
+
"""人脸核身识别结果及文本类信息。
|
|
4904
4964
|
- 基于对敏感信息的保护,验证使用的姓名和身份证号统一通过加密后从EidInfo参数中返回。
|
|
4905
4965
|
- 如需获取请在控制台申请返回身份信息,详见[E证通获取实名信息指引](https://cloud.tencent.com/document/product/1007/63370)。
|
|
4906
4966
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4991,6 +5051,36 @@ class GetEidResultResponse(AbstractModel):
|
|
|
4991
5051
|
def IntentionActionResult(self, IntentionActionResult):
|
|
4992
5052
|
self._IntentionActionResult = IntentionActionResult
|
|
4993
5053
|
|
|
5054
|
+
@property
|
|
5055
|
+
def IsVerifyIntention(self):
|
|
5056
|
+
"""本次请求是否配置开启意愿校验。
|
|
5057
|
+
false:未开启意愿校验
|
|
5058
|
+
true:已开启意愿校验
|
|
5059
|
+
说明:若请求开启了意愿校验,可结合IntentionVerifyType中具体使用的校验模式从对应的出参Result中获取最终的核验结果;若请求没有开启意愿校验,则可在出参Text中获取最终的核验结果。
|
|
5060
|
+
:rtype: bool
|
|
5061
|
+
"""
|
|
5062
|
+
return self._IsVerifyIntention
|
|
5063
|
+
|
|
5064
|
+
@IsVerifyIntention.setter
|
|
5065
|
+
def IsVerifyIntention(self, IsVerifyIntention):
|
|
5066
|
+
self._IsVerifyIntention = IsVerifyIntention
|
|
5067
|
+
|
|
5068
|
+
@property
|
|
5069
|
+
def IntentionVerifyType(self):
|
|
5070
|
+
"""本次请求意愿校验使用的具体模式。
|
|
5071
|
+
0:问答模式
|
|
5072
|
+
1:点头确认模式
|
|
5073
|
+
2:朗读模式
|
|
5074
|
+
若未使用意愿核身功能,该字段返回值可以不处理。
|
|
5075
|
+
注意:此字段可能返回 null,表示取不到有效值
|
|
5076
|
+
:rtype: str
|
|
5077
|
+
"""
|
|
5078
|
+
return self._IntentionVerifyType
|
|
5079
|
+
|
|
5080
|
+
@IntentionVerifyType.setter
|
|
5081
|
+
def IntentionVerifyType(self, IntentionVerifyType):
|
|
5082
|
+
self._IntentionVerifyType = IntentionVerifyType
|
|
5083
|
+
|
|
4994
5084
|
@property
|
|
4995
5085
|
def RequestId(self):
|
|
4996
5086
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5025,6 +5115,8 @@ class GetEidResultResponse(AbstractModel):
|
|
|
5025
5115
|
if params.get("IntentionActionResult") is not None:
|
|
5026
5116
|
self._IntentionActionResult = IntentionActionResult()
|
|
5027
5117
|
self._IntentionActionResult._deserialize(params.get("IntentionActionResult"))
|
|
5118
|
+
self._IsVerifyIntention = params.get("IsVerifyIntention")
|
|
5119
|
+
self._IntentionVerifyType = params.get("IntentionVerifyType")
|
|
5028
5120
|
self._RequestId = params.get("RequestId")
|
|
5029
5121
|
|
|
5030
5122
|
|
|
@@ -3029,6 +3029,8 @@ class DBInstance(AbstractModel):
|
|
|
3029
3029
|
:type ResourceTags: list of ResourceTag
|
|
3030
3030
|
:param _DbVersionId: 数据库版本
|
|
3031
3031
|
:type DbVersionId: str
|
|
3032
|
+
:param _ProtectedProperty: 实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
|
|
3033
|
+
:type ProtectedProperty: int
|
|
3032
3034
|
"""
|
|
3033
3035
|
self._InstanceId = None
|
|
3034
3036
|
self._InstanceName = None
|
|
@@ -3082,6 +3084,7 @@ class DBInstance(AbstractModel):
|
|
|
3082
3084
|
self._InstanceType = None
|
|
3083
3085
|
self._ResourceTags = None
|
|
3084
3086
|
self._DbVersionId = None
|
|
3087
|
+
self._ProtectedProperty = None
|
|
3085
3088
|
|
|
3086
3089
|
@property
|
|
3087
3090
|
def InstanceId(self):
|
|
@@ -3655,6 +3658,17 @@ class DBInstance(AbstractModel):
|
|
|
3655
3658
|
def DbVersionId(self, DbVersionId):
|
|
3656
3659
|
self._DbVersionId = DbVersionId
|
|
3657
3660
|
|
|
3661
|
+
@property
|
|
3662
|
+
def ProtectedProperty(self):
|
|
3663
|
+
"""实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
|
|
3664
|
+
:rtype: int
|
|
3665
|
+
"""
|
|
3666
|
+
return self._ProtectedProperty
|
|
3667
|
+
|
|
3668
|
+
@ProtectedProperty.setter
|
|
3669
|
+
def ProtectedProperty(self, ProtectedProperty):
|
|
3670
|
+
self._ProtectedProperty = ProtectedProperty
|
|
3671
|
+
|
|
3658
3672
|
|
|
3659
3673
|
def _deserialize(self, params):
|
|
3660
3674
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -3714,6 +3728,7 @@ class DBInstance(AbstractModel):
|
|
|
3714
3728
|
obj._deserialize(item)
|
|
3715
3729
|
self._ResourceTags.append(obj)
|
|
3716
3730
|
self._DbVersionId = params.get("DbVersionId")
|
|
3731
|
+
self._ProtectedProperty = params.get("ProtectedProperty")
|
|
3717
3732
|
memeber_set = set(params.keys())
|
|
3718
3733
|
for name, value in vars(self).items():
|
|
3719
3734
|
property_name = name[1:]
|
|
@@ -5999,6 +6014,8 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
5999
6014
|
:type ProxyVersion: str
|
|
6000
6015
|
:param _CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon
|
|
6001
6016
|
:type CpuType: str
|
|
6017
|
+
:param _ProtectedProperty: 删除保护标记,1: 已开启删除保护,0: 未开启删除保护
|
|
6018
|
+
:type ProtectedProperty: int
|
|
6002
6019
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6003
6020
|
:type RequestId: str
|
|
6004
6021
|
"""
|
|
@@ -6063,6 +6080,7 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
6063
6080
|
self._IsDcnSwitchSupported = None
|
|
6064
6081
|
self._ProxyVersion = None
|
|
6065
6082
|
self._CpuType = None
|
|
6083
|
+
self._ProtectedProperty = None
|
|
6066
6084
|
self._RequestId = None
|
|
6067
6085
|
|
|
6068
6086
|
@property
|
|
@@ -6738,6 +6756,17 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
6738
6756
|
def CpuType(self, CpuType):
|
|
6739
6757
|
self._CpuType = CpuType
|
|
6740
6758
|
|
|
6759
|
+
@property
|
|
6760
|
+
def ProtectedProperty(self):
|
|
6761
|
+
"""删除保护标记,1: 已开启删除保护,0: 未开启删除保护
|
|
6762
|
+
:rtype: int
|
|
6763
|
+
"""
|
|
6764
|
+
return self._ProtectedProperty
|
|
6765
|
+
|
|
6766
|
+
@ProtectedProperty.setter
|
|
6767
|
+
def ProtectedProperty(self, ProtectedProperty):
|
|
6768
|
+
self._ProtectedProperty = ProtectedProperty
|
|
6769
|
+
|
|
6741
6770
|
@property
|
|
6742
6771
|
def RequestId(self):
|
|
6743
6772
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6831,6 +6860,7 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
6831
6860
|
self._IsDcnSwitchSupported = params.get("IsDcnSwitchSupported")
|
|
6832
6861
|
self._ProxyVersion = params.get("ProxyVersion")
|
|
6833
6862
|
self._CpuType = params.get("CpuType")
|
|
6863
|
+
self._ProtectedProperty = params.get("ProtectedProperty")
|
|
6834
6864
|
self._RequestId = params.get("RequestId")
|
|
6835
6865
|
|
|
6836
6866
|
|
|
@@ -11136,9 +11166,12 @@ class KillSessionRequest(AbstractModel):
|
|
|
11136
11166
|
:type InstanceId: str
|
|
11137
11167
|
:param _SessionId: 会话ID列表
|
|
11138
11168
|
:type SessionId: list of int
|
|
11169
|
+
:param _NodeId: 节点ID,可指定主节点或者备节点进行kill。可选参数,不传默认为主节点。
|
|
11170
|
+
:type NodeId: str
|
|
11139
11171
|
"""
|
|
11140
11172
|
self._InstanceId = None
|
|
11141
11173
|
self._SessionId = None
|
|
11174
|
+
self._NodeId = None
|
|
11142
11175
|
|
|
11143
11176
|
@property
|
|
11144
11177
|
def InstanceId(self):
|
|
@@ -11162,10 +11195,22 @@ class KillSessionRequest(AbstractModel):
|
|
|
11162
11195
|
def SessionId(self, SessionId):
|
|
11163
11196
|
self._SessionId = SessionId
|
|
11164
11197
|
|
|
11198
|
+
@property
|
|
11199
|
+
def NodeId(self):
|
|
11200
|
+
"""节点ID,可指定主节点或者备节点进行kill。可选参数,不传默认为主节点。
|
|
11201
|
+
:rtype: str
|
|
11202
|
+
"""
|
|
11203
|
+
return self._NodeId
|
|
11204
|
+
|
|
11205
|
+
@NodeId.setter
|
|
11206
|
+
def NodeId(self, NodeId):
|
|
11207
|
+
self._NodeId = NodeId
|
|
11208
|
+
|
|
11165
11209
|
|
|
11166
11210
|
def _deserialize(self, params):
|
|
11167
11211
|
self._InstanceId = params.get("InstanceId")
|
|
11168
11212
|
self._SessionId = params.get("SessionId")
|
|
11213
|
+
self._NodeId = params.get("NodeId")
|
|
11169
11214
|
memeber_set = set(params.keys())
|
|
11170
11215
|
for name, value in vars(self).items():
|
|
11171
11216
|
property_name = name[1:]
|
|
@@ -12109,7 +12154,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
12109
12154
|
:type Product: str
|
|
12110
12155
|
:param _InstanceId: 实例ID。
|
|
12111
12156
|
:type InstanceId: str
|
|
12112
|
-
:param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID
|
|
12157
|
+
:param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:该入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。
|
|
12113
12158
|
:type SecurityGroupIds: list of str
|
|
12114
12159
|
"""
|
|
12115
12160
|
self._Product = None
|
|
@@ -12140,7 +12185,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
12140
12185
|
|
|
12141
12186
|
@property
|
|
12142
12187
|
def SecurityGroupIds(self):
|
|
12143
|
-
"""要修改的安全组 ID 列表,一个或者多个安全组 ID
|
|
12188
|
+
"""要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:该入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。
|
|
12144
12189
|
:rtype: list of str
|
|
12145
12190
|
"""
|
|
12146
12191
|
return self._SecurityGroupIds
|
|
@@ -7532,6 +7532,184 @@ class DescribePolicyResponse(AbstractModel):
|
|
|
7532
7532
|
self._RequestId = params.get("RequestId")
|
|
7533
7533
|
|
|
7534
7534
|
|
|
7535
|
+
class DescribeResourceToShareMemberRequest(AbstractModel):
|
|
7536
|
+
"""DescribeResourceToShareMember请求参数结构体
|
|
7537
|
+
|
|
7538
|
+
"""
|
|
7539
|
+
|
|
7540
|
+
def __init__(self):
|
|
7541
|
+
r"""
|
|
7542
|
+
:param _Area: 地域
|
|
7543
|
+
:type Area: str
|
|
7544
|
+
:param _Offset: 偏移量
|
|
7545
|
+
:type Offset: int
|
|
7546
|
+
:param _Limit: 每页条数
|
|
7547
|
+
:type Limit: int
|
|
7548
|
+
:param _SearchKey: 搜索关键字,支持业务资源ID搜索
|
|
7549
|
+
:type SearchKey: str
|
|
7550
|
+
:param _Type: 资源类型
|
|
7551
|
+
:type Type: str
|
|
7552
|
+
:param _ProductResourceIds: 业务资源ID。最大50个
|
|
7553
|
+
:type ProductResourceIds: list of str
|
|
7554
|
+
"""
|
|
7555
|
+
self._Area = None
|
|
7556
|
+
self._Offset = None
|
|
7557
|
+
self._Limit = None
|
|
7558
|
+
self._SearchKey = None
|
|
7559
|
+
self._Type = None
|
|
7560
|
+
self._ProductResourceIds = None
|
|
7561
|
+
|
|
7562
|
+
@property
|
|
7563
|
+
def Area(self):
|
|
7564
|
+
"""地域
|
|
7565
|
+
:rtype: str
|
|
7566
|
+
"""
|
|
7567
|
+
return self._Area
|
|
7568
|
+
|
|
7569
|
+
@Area.setter
|
|
7570
|
+
def Area(self, Area):
|
|
7571
|
+
self._Area = Area
|
|
7572
|
+
|
|
7573
|
+
@property
|
|
7574
|
+
def Offset(self):
|
|
7575
|
+
"""偏移量
|
|
7576
|
+
:rtype: int
|
|
7577
|
+
"""
|
|
7578
|
+
return self._Offset
|
|
7579
|
+
|
|
7580
|
+
@Offset.setter
|
|
7581
|
+
def Offset(self, Offset):
|
|
7582
|
+
self._Offset = Offset
|
|
7583
|
+
|
|
7584
|
+
@property
|
|
7585
|
+
def Limit(self):
|
|
7586
|
+
"""每页条数
|
|
7587
|
+
:rtype: int
|
|
7588
|
+
"""
|
|
7589
|
+
return self._Limit
|
|
7590
|
+
|
|
7591
|
+
@Limit.setter
|
|
7592
|
+
def Limit(self, Limit):
|
|
7593
|
+
self._Limit = Limit
|
|
7594
|
+
|
|
7595
|
+
@property
|
|
7596
|
+
def SearchKey(self):
|
|
7597
|
+
"""搜索关键字,支持业务资源ID搜索
|
|
7598
|
+
:rtype: str
|
|
7599
|
+
"""
|
|
7600
|
+
return self._SearchKey
|
|
7601
|
+
|
|
7602
|
+
@SearchKey.setter
|
|
7603
|
+
def SearchKey(self, SearchKey):
|
|
7604
|
+
self._SearchKey = SearchKey
|
|
7605
|
+
|
|
7606
|
+
@property
|
|
7607
|
+
def Type(self):
|
|
7608
|
+
"""资源类型
|
|
7609
|
+
:rtype: str
|
|
7610
|
+
"""
|
|
7611
|
+
return self._Type
|
|
7612
|
+
|
|
7613
|
+
@Type.setter
|
|
7614
|
+
def Type(self, Type):
|
|
7615
|
+
self._Type = Type
|
|
7616
|
+
|
|
7617
|
+
@property
|
|
7618
|
+
def ProductResourceIds(self):
|
|
7619
|
+
"""业务资源ID。最大50个
|
|
7620
|
+
:rtype: list of str
|
|
7621
|
+
"""
|
|
7622
|
+
return self._ProductResourceIds
|
|
7623
|
+
|
|
7624
|
+
@ProductResourceIds.setter
|
|
7625
|
+
def ProductResourceIds(self, ProductResourceIds):
|
|
7626
|
+
self._ProductResourceIds = ProductResourceIds
|
|
7627
|
+
|
|
7628
|
+
|
|
7629
|
+
def _deserialize(self, params):
|
|
7630
|
+
self._Area = params.get("Area")
|
|
7631
|
+
self._Offset = params.get("Offset")
|
|
7632
|
+
self._Limit = params.get("Limit")
|
|
7633
|
+
self._SearchKey = params.get("SearchKey")
|
|
7634
|
+
self._Type = params.get("Type")
|
|
7635
|
+
self._ProductResourceIds = params.get("ProductResourceIds")
|
|
7636
|
+
memeber_set = set(params.keys())
|
|
7637
|
+
for name, value in vars(self).items():
|
|
7638
|
+
property_name = name[1:]
|
|
7639
|
+
if property_name in memeber_set:
|
|
7640
|
+
memeber_set.remove(property_name)
|
|
7641
|
+
if len(memeber_set) > 0:
|
|
7642
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7643
|
+
|
|
7644
|
+
|
|
7645
|
+
|
|
7646
|
+
class DescribeResourceToShareMemberResponse(AbstractModel):
|
|
7647
|
+
"""DescribeResourceToShareMember返回参数结构体
|
|
7648
|
+
|
|
7649
|
+
"""
|
|
7650
|
+
|
|
7651
|
+
def __init__(self):
|
|
7652
|
+
r"""
|
|
7653
|
+
:param _Total: 总数
|
|
7654
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7655
|
+
:type Total: int
|
|
7656
|
+
:param _Items: 详情
|
|
7657
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7658
|
+
:type Items: list of ShareResourceToMember
|
|
7659
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7660
|
+
:type RequestId: str
|
|
7661
|
+
"""
|
|
7662
|
+
self._Total = None
|
|
7663
|
+
self._Items = None
|
|
7664
|
+
self._RequestId = None
|
|
7665
|
+
|
|
7666
|
+
@property
|
|
7667
|
+
def Total(self):
|
|
7668
|
+
"""总数
|
|
7669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7670
|
+
:rtype: int
|
|
7671
|
+
"""
|
|
7672
|
+
return self._Total
|
|
7673
|
+
|
|
7674
|
+
@Total.setter
|
|
7675
|
+
def Total(self, Total):
|
|
7676
|
+
self._Total = Total
|
|
7677
|
+
|
|
7678
|
+
@property
|
|
7679
|
+
def Items(self):
|
|
7680
|
+
"""详情
|
|
7681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7682
|
+
:rtype: list of ShareResourceToMember
|
|
7683
|
+
"""
|
|
7684
|
+
return self._Items
|
|
7685
|
+
|
|
7686
|
+
@Items.setter
|
|
7687
|
+
def Items(self, Items):
|
|
7688
|
+
self._Items = Items
|
|
7689
|
+
|
|
7690
|
+
@property
|
|
7691
|
+
def RequestId(self):
|
|
7692
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7693
|
+
:rtype: str
|
|
7694
|
+
"""
|
|
7695
|
+
return self._RequestId
|
|
7696
|
+
|
|
7697
|
+
@RequestId.setter
|
|
7698
|
+
def RequestId(self, RequestId):
|
|
7699
|
+
self._RequestId = RequestId
|
|
7700
|
+
|
|
7701
|
+
|
|
7702
|
+
def _deserialize(self, params):
|
|
7703
|
+
self._Total = params.get("Total")
|
|
7704
|
+
if params.get("Items") is not None:
|
|
7705
|
+
self._Items = []
|
|
7706
|
+
for item in params.get("Items"):
|
|
7707
|
+
obj = ShareResourceToMember()
|
|
7708
|
+
obj._deserialize(item)
|
|
7709
|
+
self._Items.append(obj)
|
|
7710
|
+
self._RequestId = params.get("RequestId")
|
|
7711
|
+
|
|
7712
|
+
|
|
7535
7713
|
class DescribeShareAreasRequest(AbstractModel):
|
|
7536
7714
|
"""DescribeShareAreas请求参数结构体
|
|
7537
7715
|
|
|
@@ -18856,6 +19034,134 @@ class ShareResource(AbstractModel):
|
|
|
18856
19034
|
|
|
18857
19035
|
|
|
18858
19036
|
|
|
19037
|
+
class ShareResourceToMember(AbstractModel):
|
|
19038
|
+
"""与我共享的资源
|
|
19039
|
+
|
|
19040
|
+
"""
|
|
19041
|
+
|
|
19042
|
+
def __init__(self):
|
|
19043
|
+
r"""
|
|
19044
|
+
:param _ResourceId: 资源ID
|
|
19045
|
+
:type ResourceId: str
|
|
19046
|
+
:param _Type: 资源类型
|
|
19047
|
+
:type Type: str
|
|
19048
|
+
:param _UnitId: 共享单元ID
|
|
19049
|
+
:type UnitId: str
|
|
19050
|
+
:param _UnitName: 共享单元名
|
|
19051
|
+
:type UnitName: str
|
|
19052
|
+
:param _CreateTime: 创建时间
|
|
19053
|
+
:type CreateTime: str
|
|
19054
|
+
:param _ProductResourceId: 业务资源ID
|
|
19055
|
+
:type ProductResourceId: str
|
|
19056
|
+
:param _ShareManagerUin: 共享管理员uin
|
|
19057
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19058
|
+
:type ShareManagerUin: int
|
|
19059
|
+
"""
|
|
19060
|
+
self._ResourceId = None
|
|
19061
|
+
self._Type = None
|
|
19062
|
+
self._UnitId = None
|
|
19063
|
+
self._UnitName = None
|
|
19064
|
+
self._CreateTime = None
|
|
19065
|
+
self._ProductResourceId = None
|
|
19066
|
+
self._ShareManagerUin = None
|
|
19067
|
+
|
|
19068
|
+
@property
|
|
19069
|
+
def ResourceId(self):
|
|
19070
|
+
"""资源ID
|
|
19071
|
+
:rtype: str
|
|
19072
|
+
"""
|
|
19073
|
+
return self._ResourceId
|
|
19074
|
+
|
|
19075
|
+
@ResourceId.setter
|
|
19076
|
+
def ResourceId(self, ResourceId):
|
|
19077
|
+
self._ResourceId = ResourceId
|
|
19078
|
+
|
|
19079
|
+
@property
|
|
19080
|
+
def Type(self):
|
|
19081
|
+
"""资源类型
|
|
19082
|
+
:rtype: str
|
|
19083
|
+
"""
|
|
19084
|
+
return self._Type
|
|
19085
|
+
|
|
19086
|
+
@Type.setter
|
|
19087
|
+
def Type(self, Type):
|
|
19088
|
+
self._Type = Type
|
|
19089
|
+
|
|
19090
|
+
@property
|
|
19091
|
+
def UnitId(self):
|
|
19092
|
+
"""共享单元ID
|
|
19093
|
+
:rtype: str
|
|
19094
|
+
"""
|
|
19095
|
+
return self._UnitId
|
|
19096
|
+
|
|
19097
|
+
@UnitId.setter
|
|
19098
|
+
def UnitId(self, UnitId):
|
|
19099
|
+
self._UnitId = UnitId
|
|
19100
|
+
|
|
19101
|
+
@property
|
|
19102
|
+
def UnitName(self):
|
|
19103
|
+
"""共享单元名
|
|
19104
|
+
:rtype: str
|
|
19105
|
+
"""
|
|
19106
|
+
return self._UnitName
|
|
19107
|
+
|
|
19108
|
+
@UnitName.setter
|
|
19109
|
+
def UnitName(self, UnitName):
|
|
19110
|
+
self._UnitName = UnitName
|
|
19111
|
+
|
|
19112
|
+
@property
|
|
19113
|
+
def CreateTime(self):
|
|
19114
|
+
"""创建时间
|
|
19115
|
+
:rtype: str
|
|
19116
|
+
"""
|
|
19117
|
+
return self._CreateTime
|
|
19118
|
+
|
|
19119
|
+
@CreateTime.setter
|
|
19120
|
+
def CreateTime(self, CreateTime):
|
|
19121
|
+
self._CreateTime = CreateTime
|
|
19122
|
+
|
|
19123
|
+
@property
|
|
19124
|
+
def ProductResourceId(self):
|
|
19125
|
+
"""业务资源ID
|
|
19126
|
+
:rtype: str
|
|
19127
|
+
"""
|
|
19128
|
+
return self._ProductResourceId
|
|
19129
|
+
|
|
19130
|
+
@ProductResourceId.setter
|
|
19131
|
+
def ProductResourceId(self, ProductResourceId):
|
|
19132
|
+
self._ProductResourceId = ProductResourceId
|
|
19133
|
+
|
|
19134
|
+
@property
|
|
19135
|
+
def ShareManagerUin(self):
|
|
19136
|
+
"""共享管理员uin
|
|
19137
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19138
|
+
:rtype: int
|
|
19139
|
+
"""
|
|
19140
|
+
return self._ShareManagerUin
|
|
19141
|
+
|
|
19142
|
+
@ShareManagerUin.setter
|
|
19143
|
+
def ShareManagerUin(self, ShareManagerUin):
|
|
19144
|
+
self._ShareManagerUin = ShareManagerUin
|
|
19145
|
+
|
|
19146
|
+
|
|
19147
|
+
def _deserialize(self, params):
|
|
19148
|
+
self._ResourceId = params.get("ResourceId")
|
|
19149
|
+
self._Type = params.get("Type")
|
|
19150
|
+
self._UnitId = params.get("UnitId")
|
|
19151
|
+
self._UnitName = params.get("UnitName")
|
|
19152
|
+
self._CreateTime = params.get("CreateTime")
|
|
19153
|
+
self._ProductResourceId = params.get("ProductResourceId")
|
|
19154
|
+
self._ShareManagerUin = params.get("ShareManagerUin")
|
|
19155
|
+
memeber_set = set(params.keys())
|
|
19156
|
+
for name, value in vars(self).items():
|
|
19157
|
+
property_name = name[1:]
|
|
19158
|
+
if property_name in memeber_set:
|
|
19159
|
+
memeber_set.remove(property_name)
|
|
19160
|
+
if len(memeber_set) > 0:
|
|
19161
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19162
|
+
|
|
19163
|
+
|
|
19164
|
+
|
|
18859
19165
|
class ShareUnitMember(AbstractModel):
|
|
18860
19166
|
"""共享单元成员
|
|
18861
19167
|
|
|
@@ -1475,6 +1475,29 @@ class OrganizationClient(AbstractClient):
|
|
|
1475
1475
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1476
1476
|
|
|
1477
1477
|
|
|
1478
|
+
def DescribeResourceToShareMember(self, request):
|
|
1479
|
+
"""获取与我共享的资源列表。
|
|
1480
|
+
|
|
1481
|
+
:param request: Request instance for DescribeResourceToShareMember.
|
|
1482
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.DescribeResourceToShareMemberRequest`
|
|
1483
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.DescribeResourceToShareMemberResponse`
|
|
1484
|
+
|
|
1485
|
+
"""
|
|
1486
|
+
try:
|
|
1487
|
+
params = request._serialize()
|
|
1488
|
+
headers = request.headers
|
|
1489
|
+
body = self.call("DescribeResourceToShareMember", params, headers=headers)
|
|
1490
|
+
response = json.loads(body)
|
|
1491
|
+
model = models.DescribeResourceToShareMemberResponse()
|
|
1492
|
+
model._deserialize(response["Response"])
|
|
1493
|
+
return model
|
|
1494
|
+
except Exception as e:
|
|
1495
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1496
|
+
raise
|
|
1497
|
+
else:
|
|
1498
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1499
|
+
|
|
1500
|
+
|
|
1478
1501
|
def DescribeShareAreas(self, request):
|
|
1479
1502
|
"""获取可共享地域列表
|
|
1480
1503
|
|