tencentcloud-sdk-python 3.0.1179__py2.py3-none-any.whl → 3.0.1181__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/csip/v20221121/errorcodes.py +15 -0
- tencentcloud/csip/v20221121/models.py +9 -9
- tencentcloud/cynosdb/v20190107/models.py +53 -14
- tencentcloud/dcdb/v20180411/models.py +12 -0
- tencentcloud/dts/v20211206/models.py +13 -0
- tencentcloud/emr/v20190103/models.py +2 -10
- tencentcloud/ess/v20201111/models.py +32 -4
- tencentcloud/essbasic/v20210526/models.py +1 -1
- tencentcloud/gaap/v20180529/errorcodes.py +6 -0
- tencentcloud/gaap/v20180529/gaap_client.py +23 -0
- tencentcloud/gaap/v20180529/models.py +82 -0
- tencentcloud/ims/v20201229/ims_client.py +2 -0
- tencentcloud/ims/v20201229/models.py +1 -1
- tencentcloud/mariadb/v20170312/models.py +12 -0
- tencentcloud/monitor/v20180724/models.py +12 -0
- tencentcloud/ocr/v20181119/models.py +61 -0
- tencentcloud/ocr/v20181119/ocr_client.py +2 -0
- tencentcloud/organization/v20210331/organization_client.py +1 -1
- tencentcloud/scf/v20180416/scf_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +75 -0
- tencentcloud/tdmq/v20200217/models.py +25 -0
- tencentcloud/teo/v20220901/errorcodes.py +15 -0
- tencentcloud/teo/v20220901/models.py +91 -8
- tencentcloud/vpc/v20170312/errorcodes.py +24 -0
- tencentcloud/vpc/v20170312/models.py +3219 -261
- tencentcloud/vpc/v20170312/vpc_client.py +414 -0
- tencentcloud/waf/v20180125/models.py +0 -74
- tencentcloud/waf/v20180125/waf_client.py +0 -23
- tencentcloud/wedata/v20210820/models.py +572 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1179.dist-info → tencentcloud_sdk_python-3.0.1181.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -26,9 +26,15 @@ FAILEDOPERATION = 'FailedOperation'
|
|
26
26
|
# 内部错误。
|
27
27
|
INTERNALERROR = 'InternalError'
|
28
28
|
|
29
|
+
# 无效的过滤器
|
30
|
+
INVALIDFILTER = 'InvalidFilter'
|
31
|
+
|
29
32
|
# 参数错误。
|
30
33
|
INVALIDPARAMETER = 'InvalidParameter'
|
31
34
|
|
35
|
+
# Decrypt error
|
36
|
+
INVALIDPARAMETER_DECRYPTERROR = 'InvalidParameter.DecryptError'
|
37
|
+
|
32
38
|
# 参数取值错误。
|
33
39
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
34
40
|
|
@@ -41,6 +47,9 @@ MISSINGPARAMETER = 'MissingParameter'
|
|
41
47
|
# 操作被拒绝。
|
42
48
|
OPERATIONDENIED = 'OperationDenied'
|
43
49
|
|
50
|
+
# 地域错误
|
51
|
+
REGIONERROR = 'RegionError'
|
52
|
+
|
44
53
|
# 请求的次数超过了频率限制。
|
45
54
|
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
46
55
|
|
@@ -62,6 +71,12 @@ RESOURCESSOLDOUT = 'ResourcesSoldOut'
|
|
62
71
|
# 未授权操作。
|
63
72
|
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
64
73
|
|
74
|
+
# 未授权操作“操作审计”产品
|
75
|
+
UNAUTHORIZEDOPERATION_CLOUDAUDIT = 'UnauthorizedOperation.CloudAudit'
|
76
|
+
|
77
|
+
# 未授权操作“对象存储”产品
|
78
|
+
UNAUTHORIZEDOPERATION_COS = 'UnauthorizedOperation.Cos'
|
79
|
+
|
65
80
|
# 未知参数错误。
|
66
81
|
UNKNOWNPARAMETER = 'UnknownParameter'
|
67
82
|
|
@@ -2349,7 +2349,7 @@ class AssetViewCFGRisk(AbstractModel):
|
|
2349
2349
|
:type From: str
|
2350
2350
|
:param _Status: 状态
|
2351
2351
|
:type Status: int
|
2352
|
-
:param _CFGSTD:
|
2352
|
+
:param _CFGSTD: 相关规范
|
2353
2353
|
:type CFGSTD: str
|
2354
2354
|
:param _CFGDescribe: 配置详情
|
2355
2355
|
:type CFGDescribe: str
|
@@ -3794,7 +3794,7 @@ class AssetViewWeakPassRisk(AbstractModel):
|
|
3794
3794
|
:type FirstTime: str
|
3795
3795
|
:param _Status: 状态,0未处理、1已处置、2已忽略
|
3796
3796
|
:type Status: int
|
3797
|
-
:param _Id:
|
3797
|
+
:param _Id: ID,处理风险使用
|
3798
3798
|
:type Id: str
|
3799
3799
|
:param _Index: 前端索引
|
3800
3800
|
:type Index: str
|
@@ -3820,7 +3820,7 @@ class AssetViewWeakPassRisk(AbstractModel):
|
|
3820
3820
|
:type VULURL: str
|
3821
3821
|
:param _Fix: 修复建议
|
3822
3822
|
:type Fix: str
|
3823
|
-
:param _Payload:
|
3823
|
+
:param _Payload: 证明
|
3824
3824
|
:type Payload: str
|
3825
3825
|
"""
|
3826
3826
|
self._AffectAsset = None
|
@@ -6381,7 +6381,7 @@ class DeleteDomainAndIpRequest(AbstractModel):
|
|
6381
6381
|
r"""
|
6382
6382
|
:param _MemberId: 集团账号的成员id
|
6383
6383
|
:type MemberId: list of str
|
6384
|
-
:param _Content:
|
6384
|
+
:param _Content: 资产
|
6385
6385
|
:type Content: list of PublicIpDomainListKey
|
6386
6386
|
:param _RetainPath: 是否保留路径配置,1:保留,其他:不保留,默认不传为不保留
|
6387
6387
|
:type RetainPath: int
|
@@ -14687,7 +14687,7 @@ class PortViewPortRisk(AbstractModel):
|
|
14687
14687
|
|
14688
14688
|
def __init__(self):
|
14689
14689
|
r"""
|
14690
|
-
:param _NoHandleCount:
|
14690
|
+
:param _NoHandleCount: 未处理数量
|
14691
14691
|
:type NoHandleCount: int
|
14692
14692
|
:param _Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
14693
14693
|
:type Level: str
|
@@ -14703,11 +14703,11 @@ class PortViewPortRisk(AbstractModel):
|
|
14703
14703
|
:type FirstTime: str
|
14704
14704
|
:param _Suggestion: 处置建议,0保持现状、1限制访问、2封禁端口
|
14705
14705
|
:type Suggestion: int
|
14706
|
-
:param _AffectAssetCount:
|
14706
|
+
:param _AffectAssetCount: 影响资产数量
|
14707
14707
|
:type AffectAssetCount: str
|
14708
|
-
:param _Id:
|
14708
|
+
:param _Id: ID
|
14709
14709
|
:type Id: str
|
14710
|
-
:param _From:
|
14710
|
+
:param _From: 识别来源
|
14711
14711
|
:type From: str
|
14712
14712
|
:param _Index: 前端索引
|
14713
14713
|
:type Index: str
|
@@ -19297,7 +19297,7 @@ class WebsiteRisk(AbstractModel):
|
|
19297
19297
|
:type FirstTime: str
|
19298
19298
|
:param _Status: 状态,0未处理、1已处置、2已忽略
|
19299
19299
|
:type Status: int
|
19300
|
-
:param _Id:
|
19300
|
+
:param _Id: ID,处理风险使用
|
19301
19301
|
:type Id: str
|
19302
19302
|
:param _Index: 前端索引
|
19303
19303
|
:type Index: str
|
@@ -38,12 +38,20 @@ class Ability(AbstractModel):
|
|
38
38
|
:param _IsSupportManualSnapshot: 是否支持手动发起快照备份
|
39
39
|
注意:此字段可能返回 null,表示取不到有效值。
|
40
40
|
:type IsSupportManualSnapshot: str
|
41
|
+
:param _IsSupportTransparentDataEncryption: 是否支持透明数据加密
|
42
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
43
|
+
:type IsSupportTransparentDataEncryption: str
|
44
|
+
:param _NoSupportTransparentDataEncryptionReason: 不支持透明数据加密原因
|
45
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
46
|
+
:type NoSupportTransparentDataEncryptionReason: str
|
41
47
|
"""
|
42
48
|
self._IsSupportSlaveZone = None
|
43
49
|
self._NonsupportSlaveZoneReason = None
|
44
50
|
self._IsSupportRo = None
|
45
51
|
self._NonsupportRoReason = None
|
46
52
|
self._IsSupportManualSnapshot = None
|
53
|
+
self._IsSupportTransparentDataEncryption = None
|
54
|
+
self._NoSupportTransparentDataEncryptionReason = None
|
47
55
|
|
48
56
|
@property
|
49
57
|
def IsSupportSlaveZone(self):
|
@@ -85,6 +93,22 @@ class Ability(AbstractModel):
|
|
85
93
|
def IsSupportManualSnapshot(self, IsSupportManualSnapshot):
|
86
94
|
self._IsSupportManualSnapshot = IsSupportManualSnapshot
|
87
95
|
|
96
|
+
@property
|
97
|
+
def IsSupportTransparentDataEncryption(self):
|
98
|
+
return self._IsSupportTransparentDataEncryption
|
99
|
+
|
100
|
+
@IsSupportTransparentDataEncryption.setter
|
101
|
+
def IsSupportTransparentDataEncryption(self, IsSupportTransparentDataEncryption):
|
102
|
+
self._IsSupportTransparentDataEncryption = IsSupportTransparentDataEncryption
|
103
|
+
|
104
|
+
@property
|
105
|
+
def NoSupportTransparentDataEncryptionReason(self):
|
106
|
+
return self._NoSupportTransparentDataEncryptionReason
|
107
|
+
|
108
|
+
@NoSupportTransparentDataEncryptionReason.setter
|
109
|
+
def NoSupportTransparentDataEncryptionReason(self, NoSupportTransparentDataEncryptionReason):
|
110
|
+
self._NoSupportTransparentDataEncryptionReason = NoSupportTransparentDataEncryptionReason
|
111
|
+
|
88
112
|
|
89
113
|
def _deserialize(self, params):
|
90
114
|
self._IsSupportSlaveZone = params.get("IsSupportSlaveZone")
|
@@ -92,6 +116,8 @@ class Ability(AbstractModel):
|
|
92
116
|
self._IsSupportRo = params.get("IsSupportRo")
|
93
117
|
self._NonsupportRoReason = params.get("NonsupportRoReason")
|
94
118
|
self._IsSupportManualSnapshot = params.get("IsSupportManualSnapshot")
|
119
|
+
self._IsSupportTransparentDataEncryption = params.get("IsSupportTransparentDataEncryption")
|
120
|
+
self._NoSupportTransparentDataEncryptionReason = params.get("NoSupportTransparentDataEncryptionReason")
|
95
121
|
memeber_set = set(params.keys())
|
96
122
|
for name, value in vars(self).items():
|
97
123
|
property_name = name[1:]
|
@@ -8094,6 +8120,10 @@ class CynosdbInstanceDetail(AbstractModel):
|
|
8094
8120
|
:type Status: str
|
8095
8121
|
:param _StatusDesc: 实例状态中文描述
|
8096
8122
|
:type StatusDesc: str
|
8123
|
+
:param _ServerlessStatus: serverless实例状态, 可能值:
|
8124
|
+
resume
|
8125
|
+
pause
|
8126
|
+
:type ServerlessStatus: str
|
8097
8127
|
:param _DbType: 数据库类型
|
8098
8128
|
:type DbType: str
|
8099
8129
|
:param _DbVersion: 数据库版本
|
@@ -8138,10 +8168,6 @@ class CynosdbInstanceDetail(AbstractModel):
|
|
8138
8168
|
:type MinCpu: float
|
8139
8169
|
:param _MaxCpu: serverless实例cpu上限
|
8140
8170
|
:type MaxCpu: float
|
8141
|
-
:param _ServerlessStatus: serverless实例状态, 可能值:
|
8142
|
-
resume
|
8143
|
-
pause
|
8144
|
-
:type ServerlessStatus: str
|
8145
8171
|
"""
|
8146
8172
|
self._Uin = None
|
8147
8173
|
self._AppId = None
|
@@ -8154,6 +8180,7 @@ pause
|
|
8154
8180
|
self._Zone = None
|
8155
8181
|
self._Status = None
|
8156
8182
|
self._StatusDesc = None
|
8183
|
+
self._ServerlessStatus = None
|
8157
8184
|
self._DbType = None
|
8158
8185
|
self._DbVersion = None
|
8159
8186
|
self._Cpu = None
|
@@ -8176,7 +8203,6 @@ pause
|
|
8176
8203
|
self._RenewFlag = None
|
8177
8204
|
self._MinCpu = None
|
8178
8205
|
self._MaxCpu = None
|
8179
|
-
self._ServerlessStatus = None
|
8180
8206
|
|
8181
8207
|
@property
|
8182
8208
|
def Uin(self):
|
@@ -8266,6 +8292,14 @@ pause
|
|
8266
8292
|
def StatusDesc(self, StatusDesc):
|
8267
8293
|
self._StatusDesc = StatusDesc
|
8268
8294
|
|
8295
|
+
@property
|
8296
|
+
def ServerlessStatus(self):
|
8297
|
+
return self._ServerlessStatus
|
8298
|
+
|
8299
|
+
@ServerlessStatus.setter
|
8300
|
+
def ServerlessStatus(self, ServerlessStatus):
|
8301
|
+
self._ServerlessStatus = ServerlessStatus
|
8302
|
+
|
8269
8303
|
@property
|
8270
8304
|
def DbType(self):
|
8271
8305
|
return self._DbType
|
@@ -8442,14 +8476,6 @@ pause
|
|
8442
8476
|
def MaxCpu(self, MaxCpu):
|
8443
8477
|
self._MaxCpu = MaxCpu
|
8444
8478
|
|
8445
|
-
@property
|
8446
|
-
def ServerlessStatus(self):
|
8447
|
-
return self._ServerlessStatus
|
8448
|
-
|
8449
|
-
@ServerlessStatus.setter
|
8450
|
-
def ServerlessStatus(self, ServerlessStatus):
|
8451
|
-
self._ServerlessStatus = ServerlessStatus
|
8452
|
-
|
8453
8479
|
|
8454
8480
|
def _deserialize(self, params):
|
8455
8481
|
self._Uin = params.get("Uin")
|
@@ -8463,6 +8489,7 @@ pause
|
|
8463
8489
|
self._Zone = params.get("Zone")
|
8464
8490
|
self._Status = params.get("Status")
|
8465
8491
|
self._StatusDesc = params.get("StatusDesc")
|
8492
|
+
self._ServerlessStatus = params.get("ServerlessStatus")
|
8466
8493
|
self._DbType = params.get("DbType")
|
8467
8494
|
self._DbVersion = params.get("DbVersion")
|
8468
8495
|
self._Cpu = params.get("Cpu")
|
@@ -8485,7 +8512,6 @@ pause
|
|
8485
8512
|
self._RenewFlag = params.get("RenewFlag")
|
8486
8513
|
self._MinCpu = params.get("MinCpu")
|
8487
8514
|
self._MaxCpu = params.get("MaxCpu")
|
8488
|
-
self._ServerlessStatus = params.get("ServerlessStatus")
|
8489
8515
|
memeber_set = set(params.keys())
|
8490
8516
|
for name, value in vars(self).items():
|
8491
8517
|
property_name = name[1:]
|
@@ -23605,6 +23631,9 @@ class ParamInfo(AbstractModel):
|
|
23605
23631
|
:param _Func: 函数
|
23606
23632
|
注意:此字段可能返回 null,表示取不到有效值。
|
23607
23633
|
:type Func: str
|
23634
|
+
:param _FuncPattern: 支持公式的参数的默认公式样式
|
23635
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23636
|
+
:type FuncPattern: str
|
23608
23637
|
"""
|
23609
23638
|
self._CurrentValue = None
|
23610
23639
|
self._Default = None
|
@@ -23621,6 +23650,7 @@ class ParamInfo(AbstractModel):
|
|
23621
23650
|
self._ModifiableInfo = None
|
23622
23651
|
self._IsFunc = None
|
23623
23652
|
self._Func = None
|
23653
|
+
self._FuncPattern = None
|
23624
23654
|
|
23625
23655
|
@property
|
23626
23656
|
def CurrentValue(self):
|
@@ -23742,6 +23772,14 @@ class ParamInfo(AbstractModel):
|
|
23742
23772
|
def Func(self, Func):
|
23743
23773
|
self._Func = Func
|
23744
23774
|
|
23775
|
+
@property
|
23776
|
+
def FuncPattern(self):
|
23777
|
+
return self._FuncPattern
|
23778
|
+
|
23779
|
+
@FuncPattern.setter
|
23780
|
+
def FuncPattern(self, FuncPattern):
|
23781
|
+
self._FuncPattern = FuncPattern
|
23782
|
+
|
23745
23783
|
|
23746
23784
|
def _deserialize(self, params):
|
23747
23785
|
self._CurrentValue = params.get("CurrentValue")
|
@@ -23761,6 +23799,7 @@ class ParamInfo(AbstractModel):
|
|
23761
23799
|
self._ModifiableInfo._deserialize(params.get("ModifiableInfo"))
|
23762
23800
|
self._IsFunc = params.get("IsFunc")
|
23763
23801
|
self._Func = params.get("Func")
|
23802
|
+
self._FuncPattern = params.get("FuncPattern")
|
23764
23803
|
memeber_set = set(params.keys())
|
23765
23804
|
for name, value in vars(self).items():
|
23766
23805
|
property_name = name[1:]
|
@@ -9196,6 +9196,8 @@ class InstanceBackupFileItem(AbstractModel):
|
|
9196
9196
|
:type StartTime: str
|
9197
9197
|
:param _EndTime: 备份结束时间
|
9198
9198
|
:type EndTime: str
|
9199
|
+
:param _StorageClass: 对象的存储类型,枚举值:STANDARD(标准存储)、ARCHIVE(归档存储)。
|
9200
|
+
:type StorageClass: str
|
9199
9201
|
"""
|
9200
9202
|
self._InstanceId = None
|
9201
9203
|
self._InstanceName = None
|
@@ -9208,6 +9210,7 @@ class InstanceBackupFileItem(AbstractModel):
|
|
9208
9210
|
self._ManualBackup = None
|
9209
9211
|
self._StartTime = None
|
9210
9212
|
self._EndTime = None
|
9213
|
+
self._StorageClass = None
|
9211
9214
|
|
9212
9215
|
@property
|
9213
9216
|
def InstanceId(self):
|
@@ -9297,6 +9300,14 @@ class InstanceBackupFileItem(AbstractModel):
|
|
9297
9300
|
def EndTime(self, EndTime):
|
9298
9301
|
self._EndTime = EndTime
|
9299
9302
|
|
9303
|
+
@property
|
9304
|
+
def StorageClass(self):
|
9305
|
+
return self._StorageClass
|
9306
|
+
|
9307
|
+
@StorageClass.setter
|
9308
|
+
def StorageClass(self, StorageClass):
|
9309
|
+
self._StorageClass = StorageClass
|
9310
|
+
|
9300
9311
|
|
9301
9312
|
def _deserialize(self, params):
|
9302
9313
|
self._InstanceId = params.get("InstanceId")
|
@@ -9310,6 +9321,7 @@ class InstanceBackupFileItem(AbstractModel):
|
|
9310
9321
|
self._ManualBackup = params.get("ManualBackup")
|
9311
9322
|
self._StartTime = params.get("StartTime")
|
9312
9323
|
self._EndTime = params.get("EndTime")
|
9324
|
+
self._StorageClass = params.get("StorageClass")
|
9313
9325
|
memeber_set = set(params.keys())
|
9314
9326
|
for name, value in vars(self).items():
|
9315
9327
|
property_name = name[1:]
|
@@ -8104,6 +8104,9 @@ class Endpoint(AbstractModel):
|
|
8104
8104
|
:param _ChildInstanceType: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、例如:只读实例传ro、读写实例传rw
|
8105
8105
|
注意:此字段可能返回 null,表示取不到有效值。
|
8106
8106
|
:type ChildInstanceType: str
|
8107
|
+
:param _SetId: tdsql的分片id。如节点类型为set必填。
|
8108
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8109
|
+
:type SetId: str
|
8107
8110
|
"""
|
8108
8111
|
self._Region = None
|
8109
8112
|
self._Role = None
|
@@ -8134,6 +8137,7 @@ class Endpoint(AbstractModel):
|
|
8134
8137
|
self._CcnOwnerUin = None
|
8135
8138
|
self._ChildInstanceId = None
|
8136
8139
|
self._ChildInstanceType = None
|
8140
|
+
self._SetId = None
|
8137
8141
|
|
8138
8142
|
@property
|
8139
8143
|
def Region(self):
|
@@ -8367,6 +8371,14 @@ class Endpoint(AbstractModel):
|
|
8367
8371
|
def ChildInstanceType(self, ChildInstanceType):
|
8368
8372
|
self._ChildInstanceType = ChildInstanceType
|
8369
8373
|
|
8374
|
+
@property
|
8375
|
+
def SetId(self):
|
8376
|
+
return self._SetId
|
8377
|
+
|
8378
|
+
@SetId.setter
|
8379
|
+
def SetId(self, SetId):
|
8380
|
+
self._SetId = SetId
|
8381
|
+
|
8370
8382
|
|
8371
8383
|
def _deserialize(self, params):
|
8372
8384
|
self._Region = params.get("Region")
|
@@ -8398,6 +8410,7 @@ class Endpoint(AbstractModel):
|
|
8398
8410
|
self._CcnOwnerUin = params.get("CcnOwnerUin")
|
8399
8411
|
self._ChildInstanceId = params.get("ChildInstanceId")
|
8400
8412
|
self._ChildInstanceType = params.get("ChildInstanceType")
|
8413
|
+
self._SetId = params.get("SetId")
|
8401
8414
|
memeber_set = set(params.keys())
|
8402
8415
|
for name, value in vars(self).items():
|
8403
8416
|
property_name = name[1:]
|
@@ -8936,11 +8936,7 @@ class InquiryPriceCreateInstanceRequest(AbstractModel):
|
|
8936
8936
|
<li>0:表示不开启节点高可用。</li>
|
8937
8937
|
<li>1:表示开启节点高可用。</li>
|
8938
8938
|
:type SupportHA: int
|
8939
|
-
:param _Software: 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId
|
8940
|
-
<li>ProductId为1的时候,必选组件包括:hadoop-2.7.3、knox-1.2.0、zookeeper-3.4.9</li>
|
8941
|
-
<li>ProductId为2的时候,必选组件包括:hadoop-2.7.3、knox-1.2.0、zookeeper-3.4.9</li>
|
8942
|
-
<li>ProductId为4的时候,必选组件包括:hadoop-2.8.4、knox-1.2.0、zookeeper-3.4.9</li>
|
8943
|
-
<li>ProductId为7的时候,必选组件包括:hadoop-3.1.2、knox-1.2.0、zookeeper-3.4.9</li>
|
8939
|
+
:param _Software: 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId字段)需要选择不同的必选组件:<li>ProductId为2(EMR-V2.0.1)的时候,必选组件包括:hdfs-2.7.3,yarn-2.7.3,zookeeper-3.4.9,knox-1.2.0</li><li>ProductId为16(EMR-V2.3.0)的时候,必选组件包括:hdfs-2.8.5,yarn-2.8.5,zookeeper-3.5.5,knox-1.2.0</li><li>ProductId为20(EMR-V2.5.0)的时候,必选组件包括:hdfs-2.8.5,yarn-2.8.5,zookeeper-3.6.1,knox-1.2.0</li><li>ProductId为30(EMR-V2.6.0)的时候,必选组件包括:hdfs-2.8.5,yarn-2.8.5,zookeeper-3.6.1,openldap-2.4.44,knox-1.2.0</li><li>ProductId为38(EMR-V2.7.0)的时候,必选组件包括:hdfs-2.8.5,yarn-2.8.5,zookeeper-3.6.3,openldap-2.4.44,knox-1.6.1</li><li>ProductId为57(EMR-V2.8.0)的时候,必选组件包括:hdfs-2.8.5,yarn-2.8.5,zookeeper-3.6.3,openldap-2.4.44,knox-1.6.1</li><li>ProductId为7(EMR-V3.0.0)的时候,必选组件包括:hdfs-3.1.2,yarn-3.1.2,zookeeper-3.4.9,knox-1.2.0</li><li>ProductId为25(EMR-V3.1.0)的时候,必选组件包括:hdfs-3.1.2,yarn-3.1.2,zookeeper-3.6.1,knox-1.2.0</li><li>ProductId为31(EMR-V3.1.1)的时候,必选组件包括:hdfs-3.1.2,yarn-3.1.2,zookeeper-3.6.1,knox-1.2.0</li><li>ProductId为28(EMR-V3.2.0)的时候,必选组件包括:hdfs-3.2.2,yarn-3.2.2,zookeeper-3.6.1,knox-1.2.0</li><li>ProductId为33(EMR-V3.2.1)的时候,必选组件包括:hdfs-3.2.2,yarn-3.2.2,zookeeper-3.6.1,openldap-2.4.44,knox-1.2.0</li><li>ProductId为34(EMR-V3.3.0)的时候,必选组件包括:hdfs-3.2.2,yarn-3.2.2,zookeeper-3.6.1,openldap-2.4.44,knox-1.2.0</li><li>ProductId为37(EMR-V3.4.0)的时候,必选组件包括:hdfs-3.2.2,yarn-3.2.2,zookeeper-3.6.3,openldap-2.4.44,knox-1.6.1</li><li>ProductId为44(EMR-V3.5.0)的时候,必选组件包括:hdfs-3.2.2,yarn-3.2.2,zookeeper-3.6.3,openldap-2.4.44,knox-1.6.1</li><li>ProductId为53(EMR-V3.6.0)的时候,必选组件包括:hdfs-3.2.2,yarn-3.2.2,zookeeper-3.6.3,openldap-2.4.44,knox-1.6.1</li><li>ProductId为58(EMR-V3.6.1)的时候,必选组件包括:hdfs-3.2.2,yarn-3.2.2,zookeeper-3.6.3,openldap-2.4.46,knox-1.6.1</li><li>ProductId为47(EMR-V4.0.0)的时候,必选组件包括:hdfs-3.2.2,yarn-3.2.2,zookeeper-3.6.3,openldap-2.4.44,knox-1.6.1</li>
|
8944
8940
|
:type Software: list of str
|
8945
8941
|
:param _ResourceSpec: 询价的节点规格。
|
8946
8942
|
:type ResourceSpec: :class:`tencentcloud.emr.v20190103.models.NewResourceSpec`
|
@@ -8957,11 +8953,7 @@ class InquiryPriceCreateInstanceRequest(AbstractModel):
|
|
8957
8953
|
:type UnifyMetaInstanceId: str
|
8958
8954
|
:param _MetaDBInfo: 自定义MetaDB信息
|
8959
8955
|
:type MetaDBInfo: :class:`tencentcloud.emr.v20190103.models.CustomMetaInfo`
|
8960
|
-
:param _ProductId: 产品ID,不同产品ID表示不同的EMR
|
8961
|
-
<li>1:表示EMR-V1.3.1。</li>
|
8962
|
-
<li>2:表示EMR-V2.0.1。</li>
|
8963
|
-
<li>4:表示EMR-V2.1.0。</li>
|
8964
|
-
<li>7:表示EMR-V3.0.0。</li>
|
8956
|
+
:param _ProductId: 产品ID,不同产品ID表示不同的EMR产品版本。取值范围:<li>2:表示EMR-V2.0.1</li><li>16:表示EMR-V2.3.0</li><li>20:表示EMR-V2.5.0</li><li>30:表示EMR-V2.6.0</li><li>38:表示EMR-V2.7.0</li><li>57:表示EMR-V2.8.0</li><li>7:表示EMR-V3.0.0</li><li>25:表示EMR-V3.1.0</li><li>31:表示EMR-V3.1.1</li><li>28:表示EMR-V3.2.0</li><li>33:表示EMR-V3.2.1</li><li>34:表示EMR-V3.3.0</li><li>37:表示EMR-V3.4.0</li><li>44:表示EMR-V3.5.0</li><li>53:表示EMR-V3.6.0</li><li>58:表示EMR-V3.6.1</li><li>47:表示EMR-V4.0.0</li>
|
8965
8957
|
:type ProductId: int
|
8966
8958
|
:param _SceneName: 场景化取值:
|
8967
8959
|
Hadoop-Kudu
|
@@ -2184,7 +2184,7 @@ class Component(AbstractModel):
|
|
2184
2184
|
|
2185
2185
|
|
2186
2186
|
<b>控件值约束说明</b>:
|
2187
|
-
<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr> </tbody> </table>
|
2187
|
+
<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>水印控件</td> <td>水印控件设置为CUSTOM_WATERMARK类型时的水印内容</td> </tr> </tbody> </table>
|
2188
2188
|
注: `部分特殊控件需要在控制台配置模板形式创建`
|
2189
2189
|
:type ComponentValue: str
|
2190
2190
|
:param _OffsetX: **如果控件是关键字定位方式**,可以对关键字定位出来的区域进行横坐标方向的调整,单位为pt(点)。例如,如果关键字定位出来的区域偏左或偏右,可以通过调整横坐标方向的参数来使控件位置更加准确。
|
@@ -10705,6 +10705,12 @@ class CreateUserVerifyUrlRequest(AbstractModel):
|
|
10705
10705
|
:type IdCardType: str
|
10706
10706
|
:param _Mobile: 要实名的手机号,兼容带+86的格式
|
10707
10707
|
:type Mobile: str
|
10708
|
+
:param _JumpUrl: 实名完之后的跳转链接,最大长度1000个字符。
|
10709
|
+
链接类型请参考 <a href="https://qian.tencent.com/developers/company/openqianh5" target="_blank">跳转电子签H5</a>。
|
10710
|
+
|
10711
|
+
注:此参数仅支持 Endpoint 为 <font color="red">H5 或 H5_SHORT_URL </font>的时候传递
|
10712
|
+
|
10713
|
+
:type JumpUrl: str
|
10708
10714
|
:param _Endpoint: 要跳转的链接类型
|
10709
10715
|
|
10710
10716
|
- HTTP:
|
@@ -10716,13 +10722,19 @@ class CreateUserVerifyUrlRequest(AbstractModel):
|
|
10716
10722
|
- APP:
|
10717
10723
|
第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型
|
10718
10724
|
|
10719
|
-
|
10725
|
+
- H5:
|
10726
|
+
跳转电子签H5实名页面的长链
|
10727
|
+
|
10728
|
+
- H5_SHORT_URL:
|
10729
|
+
跳转电子签H5实名页面的短链
|
10730
|
+
|
10731
|
+
注:如果不传递,默认值是 <font color="red"> APP </font>
|
10720
10732
|
:type Endpoint: str
|
10721
10733
|
:param _AutoJumpBack: 签署完成后是否自动回跳
|
10722
10734
|
<ul><li>false:否, 实名完成不会自动跳转回来(默认)</li><li>true:是, 实名完成会自动跳转回来</li></ul>
|
10723
10735
|
|
10724
10736
|
注:
|
10725
|
-
1. 该参数<font color="red">只针对APP
|
10737
|
+
1. 该参数<font color="red">只针对APP类型(第三方APP或小程序跳转电子签小程序)场景</font> 的实名链接有效
|
10726
10738
|
2. <font color="red">手机应用APP 或 微信小程序需要监控界面的返回走后序逻辑</font>, 微信小程序的文档可以参考[这个](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onShow-Object-object)
|
10727
10739
|
3. <font color="red">电子签小程序跳转贵方APP,不支持自动跳转,必需用户手动点击完成按钮(微信的限制)</font>
|
10728
10740
|
:type AutoJumpBack: bool
|
@@ -10734,6 +10746,7 @@ class CreateUserVerifyUrlRequest(AbstractModel):
|
|
10734
10746
|
self._IdCardNumber = None
|
10735
10747
|
self._IdCardType = None
|
10736
10748
|
self._Mobile = None
|
10749
|
+
self._JumpUrl = None
|
10737
10750
|
self._Endpoint = None
|
10738
10751
|
self._AutoJumpBack = None
|
10739
10752
|
self._UserData = None
|
@@ -10778,6 +10791,14 @@ class CreateUserVerifyUrlRequest(AbstractModel):
|
|
10778
10791
|
def Mobile(self, Mobile):
|
10779
10792
|
self._Mobile = Mobile
|
10780
10793
|
|
10794
|
+
@property
|
10795
|
+
def JumpUrl(self):
|
10796
|
+
return self._JumpUrl
|
10797
|
+
|
10798
|
+
@JumpUrl.setter
|
10799
|
+
def JumpUrl(self, JumpUrl):
|
10800
|
+
self._JumpUrl = JumpUrl
|
10801
|
+
|
10781
10802
|
@property
|
10782
10803
|
def Endpoint(self):
|
10783
10804
|
return self._Endpoint
|
@@ -10811,6 +10832,7 @@ class CreateUserVerifyUrlRequest(AbstractModel):
|
|
10811
10832
|
self._IdCardNumber = params.get("IdCardNumber")
|
10812
10833
|
self._IdCardType = params.get("IdCardType")
|
10813
10834
|
self._Mobile = params.get("Mobile")
|
10835
|
+
self._JumpUrl = params.get("JumpUrl")
|
10814
10836
|
self._Endpoint = params.get("Endpoint")
|
10815
10837
|
self._AutoJumpBack = params.get("AutoJumpBack")
|
10816
10838
|
self._UserData = params.get("UserData")
|
@@ -10843,8 +10865,14 @@ class CreateUserVerifyUrlResponse(AbstractModel):
|
|
10843
10865
|
- 如果EndPoint是HTTP_SHORT_URL,
|
10844
10866
|
得到的链接类似于https://essurl.cn/2n**42Nd,点击后会跳转到腾讯电子签小程序进行签署
|
10845
10867
|
|
10868
|
+
- 如果EndPoint是H5,
|
10869
|
+
得到的链接类似于 https://quick.test.qian.tencent.cn/guide?Code=yDU****VJhsS5q&CodeType=xxx&shortKey=yD*****frcb,点击后会跳转到腾讯电子签H5页面进行签署
|
10846
10870
|
|
10847
|
-
|
10871
|
+
- 如果EndPoint是H5_SHORT_URL,
|
10872
|
+
得到的链接类似于https://essurl.cn/2n**42Nd,点击后会跳转到腾讯电子签H5页面进行签署
|
10873
|
+
|
10874
|
+
|
10875
|
+
`注:` <font color="red">生成的链路后面不能再增加参数</font>
|
10848
10876
|
示例值:https://essurl.cn/2n**42Nd
|
10849
10877
|
:type UserVerifyUrl: str
|
10850
10878
|
:param _ExpireTime: 链接过期时间
|
@@ -9189,7 +9189,7 @@ class Component(AbstractModel):
|
|
9189
9189
|
|
9190
9190
|
|
9191
9191
|
<b>控件值约束说明</b>:
|
9192
|
-
<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr> </tbody> </table>
|
9192
|
+
<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr><tr> <td>水印控件</td> <td>水印控件设置为CUSTOM_WATERMARK类型时的水印内容</td> </tr> </tbody> </table>
|
9193
9193
|
注: `部分特殊控件需要在控制台配置模板形式创建`
|
9194
9194
|
:type ComponentValue: str
|
9195
9195
|
:param _ComponentDateFontSize: <font color="red">【暂未使用】</font>日期签署控件的字号,默认为 12
|
@@ -164,6 +164,9 @@ FAILEDOPERATION_RESOURCEUPGRADING = 'FailedOperation.ResourceUpgrading'
|
|
164
164
|
# 规则已经存在。
|
165
165
|
FAILEDOPERATION_RULEALREADYEXISTED = 'FailedOperation.RuleAlreadyExisted'
|
166
166
|
|
167
|
+
# 签名校验错误。
|
168
|
+
FAILEDOPERATION_SECRETVALIDATEFAILED = 'FailedOperation.SecretValidateFailed'
|
169
|
+
|
167
170
|
# Session不存在或已经被取消。
|
168
171
|
FAILEDOPERATION_SESSIONNOTEXIST = 'FailedOperation.SessionNotExist'
|
169
172
|
|
@@ -197,6 +200,9 @@ INTERNALERROR = 'InternalError'
|
|
197
200
|
# 参数错误。
|
198
201
|
INVALIDPARAMETER = 'InvalidParameter'
|
199
202
|
|
203
|
+
# 参数之间出现冲突。
|
204
|
+
INVALIDPARAMETER_CONFLICTPARAMETERS = 'InvalidParameter.ConflictParameters'
|
205
|
+
|
200
206
|
# 参数取值错误。
|
201
207
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
202
208
|
|
@@ -2391,6 +2391,29 @@ class GaapClient(AbstractClient):
|
|
2391
2391
|
model = models.SetAuthenticationResponse()
|
2392
2392
|
model._deserialize(response["Response"])
|
2393
2393
|
return model
|
2394
|
+
except Exception as e:
|
2395
|
+
if isinstance(e, TencentCloudSDKException):
|
2396
|
+
raise
|
2397
|
+
else:
|
2398
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2399
|
+
|
2400
|
+
|
2401
|
+
def SetTlsVersion(self, request):
|
2402
|
+
"""设置监听器TLS配置
|
2403
|
+
|
2404
|
+
:param request: Request instance for SetTlsVersion.
|
2405
|
+
:type request: :class:`tencentcloud.gaap.v20180529.models.SetTlsVersionRequest`
|
2406
|
+
:rtype: :class:`tencentcloud.gaap.v20180529.models.SetTlsVersionResponse`
|
2407
|
+
|
2408
|
+
"""
|
2409
|
+
try:
|
2410
|
+
params = request._serialize()
|
2411
|
+
headers = request.headers
|
2412
|
+
body = self.call("SetTlsVersion", params, headers=headers)
|
2413
|
+
response = json.loads(body)
|
2414
|
+
model = models.SetTlsVersionResponse()
|
2415
|
+
model._deserialize(response["Response"])
|
2416
|
+
return model
|
2394
2417
|
except Exception as e:
|
2395
2418
|
if isinstance(e, TencentCloudSDKException):
|
2396
2419
|
raise
|
@@ -16441,6 +16441,88 @@ class SetAuthenticationResponse(AbstractModel):
|
|
16441
16441
|
self._RequestId = params.get("RequestId")
|
16442
16442
|
|
16443
16443
|
|
16444
|
+
class SetTlsVersionRequest(AbstractModel):
|
16445
|
+
"""SetTlsVersion请求参数结构体
|
16446
|
+
|
16447
|
+
"""
|
16448
|
+
|
16449
|
+
def __init__(self):
|
16450
|
+
r"""
|
16451
|
+
:param _ListenerId: 监听器ID
|
16452
|
+
:type ListenerId: str
|
16453
|
+
:param _TLSSupportVersion: TLS版本
|
16454
|
+
:type TLSSupportVersion: list of str
|
16455
|
+
:param _TLSCiphers: 密码套件包
|
16456
|
+
:type TLSCiphers: str
|
16457
|
+
"""
|
16458
|
+
self._ListenerId = None
|
16459
|
+
self._TLSSupportVersion = None
|
16460
|
+
self._TLSCiphers = None
|
16461
|
+
|
16462
|
+
@property
|
16463
|
+
def ListenerId(self):
|
16464
|
+
return self._ListenerId
|
16465
|
+
|
16466
|
+
@ListenerId.setter
|
16467
|
+
def ListenerId(self, ListenerId):
|
16468
|
+
self._ListenerId = ListenerId
|
16469
|
+
|
16470
|
+
@property
|
16471
|
+
def TLSSupportVersion(self):
|
16472
|
+
return self._TLSSupportVersion
|
16473
|
+
|
16474
|
+
@TLSSupportVersion.setter
|
16475
|
+
def TLSSupportVersion(self, TLSSupportVersion):
|
16476
|
+
self._TLSSupportVersion = TLSSupportVersion
|
16477
|
+
|
16478
|
+
@property
|
16479
|
+
def TLSCiphers(self):
|
16480
|
+
return self._TLSCiphers
|
16481
|
+
|
16482
|
+
@TLSCiphers.setter
|
16483
|
+
def TLSCiphers(self, TLSCiphers):
|
16484
|
+
self._TLSCiphers = TLSCiphers
|
16485
|
+
|
16486
|
+
|
16487
|
+
def _deserialize(self, params):
|
16488
|
+
self._ListenerId = params.get("ListenerId")
|
16489
|
+
self._TLSSupportVersion = params.get("TLSSupportVersion")
|
16490
|
+
self._TLSCiphers = params.get("TLSCiphers")
|
16491
|
+
memeber_set = set(params.keys())
|
16492
|
+
for name, value in vars(self).items():
|
16493
|
+
property_name = name[1:]
|
16494
|
+
if property_name in memeber_set:
|
16495
|
+
memeber_set.remove(property_name)
|
16496
|
+
if len(memeber_set) > 0:
|
16497
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16498
|
+
|
16499
|
+
|
16500
|
+
|
16501
|
+
class SetTlsVersionResponse(AbstractModel):
|
16502
|
+
"""SetTlsVersion返回参数结构体
|
16503
|
+
|
16504
|
+
"""
|
16505
|
+
|
16506
|
+
def __init__(self):
|
16507
|
+
r"""
|
16508
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16509
|
+
:type RequestId: str
|
16510
|
+
"""
|
16511
|
+
self._RequestId = None
|
16512
|
+
|
16513
|
+
@property
|
16514
|
+
def RequestId(self):
|
16515
|
+
return self._RequestId
|
16516
|
+
|
16517
|
+
@RequestId.setter
|
16518
|
+
def RequestId(self, RequestId):
|
16519
|
+
self._RequestId = RequestId
|
16520
|
+
|
16521
|
+
|
16522
|
+
def _deserialize(self, params):
|
16523
|
+
self._RequestId = params.get("RequestId")
|
16524
|
+
|
16525
|
+
|
16444
16526
|
class SrcAddressInfo(AbstractModel):
|
16445
16527
|
"""网络加速的原地址信息
|
16446
16528
|
|