tencentcloud-sdk-python 3.0.1215__py2.py3-none-any.whl → 3.0.1217__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/antiddos/v20200309/models.py +13 -1
- tencentcloud/ccc/v20200210/models.py +18 -0
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +47 -1
- tencentcloud/cdwdoris/v20211228/models.py +410 -2
- tencentcloud/cfg/v20210820/models.py +1 -1
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cls/v20201016/models.py +14 -1
- tencentcloud/cwp/v20180228/models.py +84 -0
- tencentcloud/dcdb/v20180411/models.py +36 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dsgc/v20190723/models.py +115 -0
- tencentcloud/essbasic/v20210526/models.py +3 -1
- tencentcloud/facefusion/v20220927/models.py +13 -4
- tencentcloud/faceid/v20180301/faceid_client.py +1 -1
- tencentcloud/faceid/v20180301/models.py +38 -0
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/mna/v20210119/models.py +26 -0
- tencentcloud/monitor/v20180724/models.py +13 -0
- tencentcloud/ocr/v20181119/models.py +14 -0
- tencentcloud/organization/v20210331/models.py +17 -17
- tencentcloud/organization/v20210331/organization_client.py +2 -2
- tencentcloud/redis/v20180412/models.py +20 -18
- tencentcloud/rum/v20210622/models.py +12 -0
- tencentcloud/scf/v20180416/models.py +3 -3
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/ssl_client.py +1 -1
- tencentcloud/tag/v20180813/models.py +33 -33
- tencentcloud/tmt/v20180321/models.py +6 -6
- tencentcloud/trtc/v20190722/models.py +118 -0
- tencentcloud/trtc/v20190722/trtc_client.py +25 -35
- tencentcloud/tse/v20201207/models.py +88 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/vclm/v20240523/errorcodes.py +8 -2
- tencentcloud/vclm/v20240523/models.py +12 -0
- tencentcloud/vod/v20180717/models.py +6 -6
- tencentcloud/vod/v20180717/vod_client.py +2 -2
- tencentcloud/vpc/v20170312/models.py +193 -1
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/RECORD +43 -43
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -1423,7 +1423,7 @@ class BGPInstance(AbstractModel):
|
|
1423
1423
|
:param _BasicPlusFlag: 是否是基础防护加强版 0: 不是 1: 是
|
1424
1424
|
注意:此字段可能返回 null,表示取不到有效值。
|
1425
1425
|
:type BasicPlusFlag: int
|
1426
|
-
:param _PlanCntFlag:
|
1426
|
+
:param _PlanCntFlag: 是否标准版2.0 0: 包含标准版2.0 1: 只查询标准版2.0 2: 不查标准版2.0
|
1427
1427
|
注意:此字段可能返回 null,表示取不到有效值。
|
1428
1428
|
:type PlanCntFlag: int
|
1429
1429
|
:param _TransRegionFlag: 是否跨区域产品 0: 不包含跨区域产品 1: 中国大陆跨区域产品 2: 非中国大陆跨区域产品
|
@@ -6663,6 +6663,8 @@ class DescribeBGPIPL7RulesRequest(AbstractModel):
|
|
6663
6663
|
:type Cname: str
|
6664
6664
|
:param _Export: 默认为false,当为true时,将不对各个规则做策略检查,直接导出所有规则
|
6665
6665
|
:type Export: bool
|
6666
|
+
:param _Source: 源站,模糊查询
|
6667
|
+
:type Source: str
|
6666
6668
|
"""
|
6667
6669
|
self._Business = None
|
6668
6670
|
self._StatusList = None
|
@@ -6673,6 +6675,7 @@ class DescribeBGPIPL7RulesRequest(AbstractModel):
|
|
6673
6675
|
self._ProtocolList = None
|
6674
6676
|
self._Cname = None
|
6675
6677
|
self._Export = None
|
6678
|
+
self._Source = None
|
6676
6679
|
|
6677
6680
|
@property
|
6678
6681
|
def Business(self):
|
@@ -6746,6 +6749,14 @@ class DescribeBGPIPL7RulesRequest(AbstractModel):
|
|
6746
6749
|
def Export(self, Export):
|
6747
6750
|
self._Export = Export
|
6748
6751
|
|
6752
|
+
@property
|
6753
|
+
def Source(self):
|
6754
|
+
return self._Source
|
6755
|
+
|
6756
|
+
@Source.setter
|
6757
|
+
def Source(self, Source):
|
6758
|
+
self._Source = Source
|
6759
|
+
|
6749
6760
|
|
6750
6761
|
def _deserialize(self, params):
|
6751
6762
|
self._Business = params.get("Business")
|
@@ -6757,6 +6768,7 @@ class DescribeBGPIPL7RulesRequest(AbstractModel):
|
|
6757
6768
|
self._ProtocolList = params.get("ProtocolList")
|
6758
6769
|
self._Cname = params.get("Cname")
|
6759
6770
|
self._Export = params.get("Export")
|
6771
|
+
self._Source = params.get("Source")
|
6760
6772
|
memeber_set = set(params.keys())
|
6761
6773
|
for name, value in vars(self).items():
|
6762
6774
|
property_name = name[1:]
|
@@ -10444,6 +10444,14 @@ class TelCdrInfo(AbstractModel):
|
|
10444
10444
|
:param _AsrUrl: 获取录音ASR文本信息地址
|
10445
10445
|
注意:此字段可能返回 null,表示取不到有效值。
|
10446
10446
|
:type AsrUrl: str
|
10447
|
+
:param _AsrStatus: AsrUrl的状态:Complete
|
10448
|
+
已完成;
|
10449
|
+
Processing
|
10450
|
+
正在生成中;
|
10451
|
+
NotExists
|
10452
|
+
无记录(未开启生成离线asr或者无套餐包)
|
10453
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10454
|
+
:type AsrStatus: str
|
10447
10455
|
:param _CustomRecordURL: 录音转存第三方COS地址
|
10448
10456
|
注意:此字段可能返回 null,表示取不到有效值。
|
10449
10457
|
:type CustomRecordURL: str
|
@@ -10491,6 +10499,7 @@ class TelCdrInfo(AbstractModel):
|
|
10491
10499
|
self._UUI = None
|
10492
10500
|
self._IVRKeyPressedEx = None
|
10493
10501
|
self._AsrUrl = None
|
10502
|
+
self._AsrStatus = None
|
10494
10503
|
self._CustomRecordURL = None
|
10495
10504
|
self._Remark = None
|
10496
10505
|
self._QueuedSkillGroupName = None
|
@@ -10749,6 +10758,14 @@ class TelCdrInfo(AbstractModel):
|
|
10749
10758
|
def AsrUrl(self, AsrUrl):
|
10750
10759
|
self._AsrUrl = AsrUrl
|
10751
10760
|
|
10761
|
+
@property
|
10762
|
+
def AsrStatus(self):
|
10763
|
+
return self._AsrStatus
|
10764
|
+
|
10765
|
+
@AsrStatus.setter
|
10766
|
+
def AsrStatus(self, AsrStatus):
|
10767
|
+
self._AsrStatus = AsrStatus
|
10768
|
+
|
10752
10769
|
@property
|
10753
10770
|
def CustomRecordURL(self):
|
10754
10771
|
return self._CustomRecordURL
|
@@ -10839,6 +10856,7 @@ class TelCdrInfo(AbstractModel):
|
|
10839
10856
|
obj._deserialize(item)
|
10840
10857
|
self._IVRKeyPressedEx.append(obj)
|
10841
10858
|
self._AsrUrl = params.get("AsrUrl")
|
10859
|
+
self._AsrStatus = params.get("AsrStatus")
|
10842
10860
|
self._CustomRecordURL = params.get("CustomRecordURL")
|
10843
10861
|
self._Remark = params.get("Remark")
|
10844
10862
|
self._QueuedSkillGroupName = params.get("QueuedSkillGroupName")
|
@@ -26,6 +26,29 @@ class CdwdorisClient(AbstractClient):
|
|
26
26
|
_service = 'cdwdoris'
|
27
27
|
|
28
28
|
|
29
|
+
def ActionAlterUser(self, request):
|
30
|
+
"""新增和修改用户接口
|
31
|
+
|
32
|
+
:param request: Request instance for ActionAlterUser.
|
33
|
+
:type request: :class:`tencentcloud.cdwdoris.v20211228.models.ActionAlterUserRequest`
|
34
|
+
:rtype: :class:`tencentcloud.cdwdoris.v20211228.models.ActionAlterUserResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("ActionAlterUser", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.ActionAlterUserResponse()
|
43
|
+
model._deserialize(response["Response"])
|
44
|
+
return model
|
45
|
+
except Exception as e:
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
47
|
+
raise
|
48
|
+
else:
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
+
|
51
|
+
|
29
52
|
def CancelBackupJob(self, request):
|
30
53
|
"""取消对应的备份实例任务
|
31
54
|
|
@@ -809,7 +832,7 @@ class CdwdorisClient(AbstractClient):
|
|
809
832
|
|
810
833
|
|
811
834
|
def DescribeSqlApis(self, request):
|
812
|
-
"""针对驱动sql
|
835
|
+
"""针对驱动sql命令查询集群接口
|
813
836
|
|
814
837
|
:param request: Request instance for DescribeSqlApis.
|
815
838
|
:type request: :class:`tencentcloud.cdwdoris.v20211228.models.DescribeSqlApisRequest`
|
@@ -923,6 +946,29 @@ class CdwdorisClient(AbstractClient):
|
|
923
946
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
924
947
|
|
925
948
|
|
949
|
+
def ModifyClusterConfigs(self, request):
|
950
|
+
"""在集群配置页面修改集群配置文件接口,xml模式
|
951
|
+
|
952
|
+
:param request: Request instance for ModifyClusterConfigs.
|
953
|
+
:type request: :class:`tencentcloud.cdwdoris.v20211228.models.ModifyClusterConfigsRequest`
|
954
|
+
:rtype: :class:`tencentcloud.cdwdoris.v20211228.models.ModifyClusterConfigsResponse`
|
955
|
+
|
956
|
+
"""
|
957
|
+
try:
|
958
|
+
params = request._serialize()
|
959
|
+
headers = request.headers
|
960
|
+
body = self.call("ModifyClusterConfigs", params, headers=headers)
|
961
|
+
response = json.loads(body)
|
962
|
+
model = models.ModifyClusterConfigsResponse()
|
963
|
+
model._deserialize(response["Response"])
|
964
|
+
return model
|
965
|
+
except Exception as e:
|
966
|
+
if isinstance(e, TencentCloudSDKException):
|
967
|
+
raise
|
968
|
+
else:
|
969
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
970
|
+
|
971
|
+
|
926
972
|
def ModifyCoolDownPolicy(self, request):
|
927
973
|
"""修改冷热分层策略
|
928
974
|
|
@@ -18,6 +18,103 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class ActionAlterUserRequest(AbstractModel):
|
22
|
+
"""ActionAlterUser请求参数结构体
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _UserInfo: 用户信息
|
29
|
+
:type UserInfo: :class:`tencentcloud.cdwdoris.v20211228.models.UserInfo`
|
30
|
+
:param _ApiType: api接口类型
|
31
|
+
:type ApiType: str
|
32
|
+
:param _UserPrivilege: 用户权限类型 0:普通用户 1:管理员
|
33
|
+
:type UserPrivilege: int
|
34
|
+
"""
|
35
|
+
self._UserInfo = None
|
36
|
+
self._ApiType = None
|
37
|
+
self._UserPrivilege = None
|
38
|
+
|
39
|
+
@property
|
40
|
+
def UserInfo(self):
|
41
|
+
return self._UserInfo
|
42
|
+
|
43
|
+
@UserInfo.setter
|
44
|
+
def UserInfo(self, UserInfo):
|
45
|
+
self._UserInfo = UserInfo
|
46
|
+
|
47
|
+
@property
|
48
|
+
def ApiType(self):
|
49
|
+
return self._ApiType
|
50
|
+
|
51
|
+
@ApiType.setter
|
52
|
+
def ApiType(self, ApiType):
|
53
|
+
self._ApiType = ApiType
|
54
|
+
|
55
|
+
@property
|
56
|
+
def UserPrivilege(self):
|
57
|
+
return self._UserPrivilege
|
58
|
+
|
59
|
+
@UserPrivilege.setter
|
60
|
+
def UserPrivilege(self, UserPrivilege):
|
61
|
+
self._UserPrivilege = UserPrivilege
|
62
|
+
|
63
|
+
|
64
|
+
def _deserialize(self, params):
|
65
|
+
if params.get("UserInfo") is not None:
|
66
|
+
self._UserInfo = UserInfo()
|
67
|
+
self._UserInfo._deserialize(params.get("UserInfo"))
|
68
|
+
self._ApiType = params.get("ApiType")
|
69
|
+
self._UserPrivilege = params.get("UserPrivilege")
|
70
|
+
memeber_set = set(params.keys())
|
71
|
+
for name, value in vars(self).items():
|
72
|
+
property_name = name[1:]
|
73
|
+
if property_name in memeber_set:
|
74
|
+
memeber_set.remove(property_name)
|
75
|
+
if len(memeber_set) > 0:
|
76
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
class ActionAlterUserResponse(AbstractModel):
|
81
|
+
"""ActionAlterUser返回参数结构体
|
82
|
+
|
83
|
+
"""
|
84
|
+
|
85
|
+
def __init__(self):
|
86
|
+
r"""
|
87
|
+
:param _ErrorMsg: 错误信息
|
88
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
89
|
+
:type ErrorMsg: str
|
90
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
91
|
+
:type RequestId: str
|
92
|
+
"""
|
93
|
+
self._ErrorMsg = None
|
94
|
+
self._RequestId = None
|
95
|
+
|
96
|
+
@property
|
97
|
+
def ErrorMsg(self):
|
98
|
+
return self._ErrorMsg
|
99
|
+
|
100
|
+
@ErrorMsg.setter
|
101
|
+
def ErrorMsg(self, ErrorMsg):
|
102
|
+
self._ErrorMsg = ErrorMsg
|
103
|
+
|
104
|
+
@property
|
105
|
+
def RequestId(self):
|
106
|
+
return self._RequestId
|
107
|
+
|
108
|
+
@RequestId.setter
|
109
|
+
def RequestId(self, RequestId):
|
110
|
+
self._RequestId = RequestId
|
111
|
+
|
112
|
+
|
113
|
+
def _deserialize(self, params):
|
114
|
+
self._ErrorMsg = params.get("ErrorMsg")
|
115
|
+
self._RequestId = params.get("RequestId")
|
116
|
+
|
117
|
+
|
21
118
|
class AttachCBSSpec(AbstractModel):
|
22
119
|
"""集群内节点的规格磁盘规格描述
|
23
120
|
|
@@ -1232,6 +1329,75 @@ class ConfigKeyValue(AbstractModel):
|
|
1232
1329
|
|
1233
1330
|
|
1234
1331
|
|
1332
|
+
class ConfigSubmitContext(AbstractModel):
|
1333
|
+
"""配置文件修改信息
|
1334
|
+
|
1335
|
+
"""
|
1336
|
+
|
1337
|
+
def __init__(self):
|
1338
|
+
r"""
|
1339
|
+
:param _FileName: 配置文件名称
|
1340
|
+
:type FileName: str
|
1341
|
+
:param _NewConfValue: 配置文件新内容,base64编码
|
1342
|
+
:type NewConfValue: str
|
1343
|
+
:param _OldConfValue: 配置文件旧内容,base64编码
|
1344
|
+
:type OldConfValue: str
|
1345
|
+
:param _FilePath: 文件路径
|
1346
|
+
:type FilePath: str
|
1347
|
+
"""
|
1348
|
+
self._FileName = None
|
1349
|
+
self._NewConfValue = None
|
1350
|
+
self._OldConfValue = None
|
1351
|
+
self._FilePath = None
|
1352
|
+
|
1353
|
+
@property
|
1354
|
+
def FileName(self):
|
1355
|
+
return self._FileName
|
1356
|
+
|
1357
|
+
@FileName.setter
|
1358
|
+
def FileName(self, FileName):
|
1359
|
+
self._FileName = FileName
|
1360
|
+
|
1361
|
+
@property
|
1362
|
+
def NewConfValue(self):
|
1363
|
+
return self._NewConfValue
|
1364
|
+
|
1365
|
+
@NewConfValue.setter
|
1366
|
+
def NewConfValue(self, NewConfValue):
|
1367
|
+
self._NewConfValue = NewConfValue
|
1368
|
+
|
1369
|
+
@property
|
1370
|
+
def OldConfValue(self):
|
1371
|
+
return self._OldConfValue
|
1372
|
+
|
1373
|
+
@OldConfValue.setter
|
1374
|
+
def OldConfValue(self, OldConfValue):
|
1375
|
+
self._OldConfValue = OldConfValue
|
1376
|
+
|
1377
|
+
@property
|
1378
|
+
def FilePath(self):
|
1379
|
+
return self._FilePath
|
1380
|
+
|
1381
|
+
@FilePath.setter
|
1382
|
+
def FilePath(self, FilePath):
|
1383
|
+
self._FilePath = FilePath
|
1384
|
+
|
1385
|
+
|
1386
|
+
def _deserialize(self, params):
|
1387
|
+
self._FileName = params.get("FileName")
|
1388
|
+
self._NewConfValue = params.get("NewConfValue")
|
1389
|
+
self._OldConfValue = params.get("OldConfValue")
|
1390
|
+
self._FilePath = params.get("FilePath")
|
1391
|
+
memeber_set = set(params.keys())
|
1392
|
+
for name, value in vars(self).items():
|
1393
|
+
property_name = name[1:]
|
1394
|
+
if property_name in memeber_set:
|
1395
|
+
memeber_set.remove(property_name)
|
1396
|
+
if len(memeber_set) > 0:
|
1397
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1398
|
+
|
1399
|
+
|
1400
|
+
|
1235
1401
|
class CoolDownBackend(AbstractModel):
|
1236
1402
|
"""冷热分层backend节点信息
|
1237
1403
|
|
@@ -2402,7 +2568,7 @@ class DeleteBackUpDataRequest(AbstractModel):
|
|
2402
2568
|
:type InstanceId: str
|
2403
2569
|
:param _BackUpJobId: 任务id
|
2404
2570
|
:type BackUpJobId: int
|
2405
|
-
:param _IsDeleteAll:
|
2571
|
+
:param _IsDeleteAll: 是否删除所有实例
|
2406
2572
|
:type IsDeleteAll: bool
|
2407
2573
|
"""
|
2408
2574
|
self._InstanceId = None
|
@@ -6856,6 +7022,12 @@ Modify 集群变更中;
|
|
6856
7022
|
:param _Details: 实例扩展信息
|
6857
7023
|
注意:此字段可能返回 null,表示取不到有效值。
|
6858
7024
|
:type Details: :class:`tencentcloud.cdwdoris.v20211228.models.InstanceDetail`
|
7025
|
+
:param _EnableDlc: 是否启用DLC 0:关闭 1:开启
|
7026
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7027
|
+
:type EnableDlc: int
|
7028
|
+
:param _AccountType: 账户类型 0:普通用户 1:CAM用户
|
7029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7030
|
+
:type AccountType: int
|
6859
7031
|
"""
|
6860
7032
|
self._InstanceId = None
|
6861
7033
|
self._InstanceName = None
|
@@ -6905,6 +7077,8 @@ Modify 集群变更中;
|
|
6905
7077
|
self._EnableCoolDown = None
|
6906
7078
|
self._CoolDownBucket = None
|
6907
7079
|
self._Details = None
|
7080
|
+
self._EnableDlc = None
|
7081
|
+
self._AccountType = None
|
6908
7082
|
|
6909
7083
|
@property
|
6910
7084
|
def InstanceId(self):
|
@@ -7294,6 +7468,22 @@ Modify 集群变更中;
|
|
7294
7468
|
def Details(self, Details):
|
7295
7469
|
self._Details = Details
|
7296
7470
|
|
7471
|
+
@property
|
7472
|
+
def EnableDlc(self):
|
7473
|
+
return self._EnableDlc
|
7474
|
+
|
7475
|
+
@EnableDlc.setter
|
7476
|
+
def EnableDlc(self, EnableDlc):
|
7477
|
+
self._EnableDlc = EnableDlc
|
7478
|
+
|
7479
|
+
@property
|
7480
|
+
def AccountType(self):
|
7481
|
+
return self._AccountType
|
7482
|
+
|
7483
|
+
@AccountType.setter
|
7484
|
+
def AccountType(self, AccountType):
|
7485
|
+
self._AccountType = AccountType
|
7486
|
+
|
7297
7487
|
|
7298
7488
|
def _deserialize(self, params):
|
7299
7489
|
self._InstanceId = params.get("InstanceId")
|
@@ -7355,6 +7545,8 @@ Modify 集群变更中;
|
|
7355
7545
|
if params.get("Details") is not None:
|
7356
7546
|
self._Details = InstanceDetail()
|
7357
7547
|
self._Details._deserialize(params.get("Details"))
|
7548
|
+
self._EnableDlc = params.get("EnableDlc")
|
7549
|
+
self._AccountType = params.get("AccountType")
|
7358
7550
|
memeber_set = set(params.keys())
|
7359
7551
|
for name, value in vars(self).items():
|
7360
7552
|
property_name = name[1:]
|
@@ -7675,6 +7867,117 @@ class InstanceOperation(AbstractModel):
|
|
7675
7867
|
|
7676
7868
|
|
7677
7869
|
|
7870
|
+
class ModifyClusterConfigsRequest(AbstractModel):
|
7871
|
+
"""ModifyClusterConfigs请求参数结构体
|
7872
|
+
|
7873
|
+
"""
|
7874
|
+
|
7875
|
+
def __init__(self):
|
7876
|
+
r"""
|
7877
|
+
:param _InstanceId: 集群ID,例如cdwch-xxxx
|
7878
|
+
:type InstanceId: str
|
7879
|
+
:param _ModifyConfContext: 配置文件修改信息
|
7880
|
+
:type ModifyConfContext: list of ConfigSubmitContext
|
7881
|
+
:param _Remark: 修改原因
|
7882
|
+
:type Remark: str
|
7883
|
+
"""
|
7884
|
+
self._InstanceId = None
|
7885
|
+
self._ModifyConfContext = None
|
7886
|
+
self._Remark = None
|
7887
|
+
|
7888
|
+
@property
|
7889
|
+
def InstanceId(self):
|
7890
|
+
return self._InstanceId
|
7891
|
+
|
7892
|
+
@InstanceId.setter
|
7893
|
+
def InstanceId(self, InstanceId):
|
7894
|
+
self._InstanceId = InstanceId
|
7895
|
+
|
7896
|
+
@property
|
7897
|
+
def ModifyConfContext(self):
|
7898
|
+
return self._ModifyConfContext
|
7899
|
+
|
7900
|
+
@ModifyConfContext.setter
|
7901
|
+
def ModifyConfContext(self, ModifyConfContext):
|
7902
|
+
self._ModifyConfContext = ModifyConfContext
|
7903
|
+
|
7904
|
+
@property
|
7905
|
+
def Remark(self):
|
7906
|
+
return self._Remark
|
7907
|
+
|
7908
|
+
@Remark.setter
|
7909
|
+
def Remark(self, Remark):
|
7910
|
+
self._Remark = Remark
|
7911
|
+
|
7912
|
+
|
7913
|
+
def _deserialize(self, params):
|
7914
|
+
self._InstanceId = params.get("InstanceId")
|
7915
|
+
if params.get("ModifyConfContext") is not None:
|
7916
|
+
self._ModifyConfContext = []
|
7917
|
+
for item in params.get("ModifyConfContext"):
|
7918
|
+
obj = ConfigSubmitContext()
|
7919
|
+
obj._deserialize(item)
|
7920
|
+
self._ModifyConfContext.append(obj)
|
7921
|
+
self._Remark = params.get("Remark")
|
7922
|
+
memeber_set = set(params.keys())
|
7923
|
+
for name, value in vars(self).items():
|
7924
|
+
property_name = name[1:]
|
7925
|
+
if property_name in memeber_set:
|
7926
|
+
memeber_set.remove(property_name)
|
7927
|
+
if len(memeber_set) > 0:
|
7928
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7929
|
+
|
7930
|
+
|
7931
|
+
|
7932
|
+
class ModifyClusterConfigsResponse(AbstractModel):
|
7933
|
+
"""ModifyClusterConfigs返回参数结构体
|
7934
|
+
|
7935
|
+
"""
|
7936
|
+
|
7937
|
+
def __init__(self):
|
7938
|
+
r"""
|
7939
|
+
:param _FlowId: 流程相关信息
|
7940
|
+
:type FlowId: int
|
7941
|
+
:param _ErrorMsg: 错误信息
|
7942
|
+
:type ErrorMsg: str
|
7943
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7944
|
+
:type RequestId: str
|
7945
|
+
"""
|
7946
|
+
self._FlowId = None
|
7947
|
+
self._ErrorMsg = None
|
7948
|
+
self._RequestId = None
|
7949
|
+
|
7950
|
+
@property
|
7951
|
+
def FlowId(self):
|
7952
|
+
return self._FlowId
|
7953
|
+
|
7954
|
+
@FlowId.setter
|
7955
|
+
def FlowId(self, FlowId):
|
7956
|
+
self._FlowId = FlowId
|
7957
|
+
|
7958
|
+
@property
|
7959
|
+
def ErrorMsg(self):
|
7960
|
+
return self._ErrorMsg
|
7961
|
+
|
7962
|
+
@ErrorMsg.setter
|
7963
|
+
def ErrorMsg(self, ErrorMsg):
|
7964
|
+
self._ErrorMsg = ErrorMsg
|
7965
|
+
|
7966
|
+
@property
|
7967
|
+
def RequestId(self):
|
7968
|
+
return self._RequestId
|
7969
|
+
|
7970
|
+
@RequestId.setter
|
7971
|
+
def RequestId(self, RequestId):
|
7972
|
+
self._RequestId = RequestId
|
7973
|
+
|
7974
|
+
|
7975
|
+
def _deserialize(self, params):
|
7976
|
+
self._FlowId = params.get("FlowId")
|
7977
|
+
self._ErrorMsg = params.get("ErrorMsg")
|
7978
|
+
self._RequestId = params.get("RequestId")
|
7979
|
+
|
7980
|
+
|
7678
7981
|
class ModifyCoolDownPolicyRequest(AbstractModel):
|
7679
7982
|
"""ModifyCoolDownPolicy请求参数结构体
|
7680
7983
|
|
@@ -8848,7 +9151,7 @@ class NodeInfos(AbstractModel):
|
|
8848
9151
|
|
8849
9152
|
def __init__(self):
|
8850
9153
|
r"""
|
8851
|
-
:param _NodeName:
|
9154
|
+
:param _NodeName: 节点名称
|
8852
9155
|
:type NodeName: str
|
8853
9156
|
:param _Status: 节点状态
|
8854
9157
|
:type Status: int
|
@@ -11342,6 +11645,111 @@ class UpdateUserPrivileges(AbstractModel):
|
|
11342
11645
|
|
11343
11646
|
|
11344
11647
|
|
11648
|
+
class UserInfo(AbstractModel):
|
11649
|
+
"""新增或是修改用户
|
11650
|
+
|
11651
|
+
"""
|
11652
|
+
|
11653
|
+
def __init__(self):
|
11654
|
+
r"""
|
11655
|
+
:param _InstanceId: 集群实例id
|
11656
|
+
:type InstanceId: str
|
11657
|
+
:param _UserName: 用户名
|
11658
|
+
:type UserName: str
|
11659
|
+
:param _PassWord: 密码
|
11660
|
+
:type PassWord: str
|
11661
|
+
:param _WhiteHost: 用户链接来自的 IP
|
11662
|
+
:type WhiteHost: str
|
11663
|
+
:param _OldWhiteHost: 修改前用户链接来自的 IP
|
11664
|
+
:type OldWhiteHost: str
|
11665
|
+
:param _Describe: 描述
|
11666
|
+
:type Describe: str
|
11667
|
+
:param _OldPwd: 旧密码
|
11668
|
+
:type OldPwd: str
|
11669
|
+
"""
|
11670
|
+
self._InstanceId = None
|
11671
|
+
self._UserName = None
|
11672
|
+
self._PassWord = None
|
11673
|
+
self._WhiteHost = None
|
11674
|
+
self._OldWhiteHost = None
|
11675
|
+
self._Describe = None
|
11676
|
+
self._OldPwd = None
|
11677
|
+
|
11678
|
+
@property
|
11679
|
+
def InstanceId(self):
|
11680
|
+
return self._InstanceId
|
11681
|
+
|
11682
|
+
@InstanceId.setter
|
11683
|
+
def InstanceId(self, InstanceId):
|
11684
|
+
self._InstanceId = InstanceId
|
11685
|
+
|
11686
|
+
@property
|
11687
|
+
def UserName(self):
|
11688
|
+
return self._UserName
|
11689
|
+
|
11690
|
+
@UserName.setter
|
11691
|
+
def UserName(self, UserName):
|
11692
|
+
self._UserName = UserName
|
11693
|
+
|
11694
|
+
@property
|
11695
|
+
def PassWord(self):
|
11696
|
+
return self._PassWord
|
11697
|
+
|
11698
|
+
@PassWord.setter
|
11699
|
+
def PassWord(self, PassWord):
|
11700
|
+
self._PassWord = PassWord
|
11701
|
+
|
11702
|
+
@property
|
11703
|
+
def WhiteHost(self):
|
11704
|
+
return self._WhiteHost
|
11705
|
+
|
11706
|
+
@WhiteHost.setter
|
11707
|
+
def WhiteHost(self, WhiteHost):
|
11708
|
+
self._WhiteHost = WhiteHost
|
11709
|
+
|
11710
|
+
@property
|
11711
|
+
def OldWhiteHost(self):
|
11712
|
+
return self._OldWhiteHost
|
11713
|
+
|
11714
|
+
@OldWhiteHost.setter
|
11715
|
+
def OldWhiteHost(self, OldWhiteHost):
|
11716
|
+
self._OldWhiteHost = OldWhiteHost
|
11717
|
+
|
11718
|
+
@property
|
11719
|
+
def Describe(self):
|
11720
|
+
return self._Describe
|
11721
|
+
|
11722
|
+
@Describe.setter
|
11723
|
+
def Describe(self, Describe):
|
11724
|
+
self._Describe = Describe
|
11725
|
+
|
11726
|
+
@property
|
11727
|
+
def OldPwd(self):
|
11728
|
+
return self._OldPwd
|
11729
|
+
|
11730
|
+
@OldPwd.setter
|
11731
|
+
def OldPwd(self, OldPwd):
|
11732
|
+
self._OldPwd = OldPwd
|
11733
|
+
|
11734
|
+
|
11735
|
+
def _deserialize(self, params):
|
11736
|
+
self._InstanceId = params.get("InstanceId")
|
11737
|
+
self._UserName = params.get("UserName")
|
11738
|
+
self._PassWord = params.get("PassWord")
|
11739
|
+
self._WhiteHost = params.get("WhiteHost")
|
11740
|
+
self._OldWhiteHost = params.get("OldWhiteHost")
|
11741
|
+
self._Describe = params.get("Describe")
|
11742
|
+
self._OldPwd = params.get("OldPwd")
|
11743
|
+
memeber_set = set(params.keys())
|
11744
|
+
for name, value in vars(self).items():
|
11745
|
+
property_name = name[1:]
|
11746
|
+
if property_name in memeber_set:
|
11747
|
+
memeber_set.remove(property_name)
|
11748
|
+
if len(memeber_set) > 0:
|
11749
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11750
|
+
|
11751
|
+
|
11752
|
+
|
11345
11753
|
class UserWorkloadGroup(AbstractModel):
|
11346
11754
|
"""用户绑定资源组信息
|
11347
11755
|
|
@@ -312,7 +312,7 @@ class ActionLibraryListResult(AbstractModel):
|
|
312
312
|
:type RelationActionId: int
|
313
313
|
:param _ActionCommand: 操作命令
|
314
314
|
:type ActionCommand: str
|
315
|
-
:param _ActionCommandType:
|
315
|
+
:param _ActionCommandType: 动作类型(0 -- tat 1 -- 云API)
|
316
316
|
:type ActionCommandType: int
|
317
317
|
:param _ActionContent: 自定义动作的参数,json string
|
318
318
|
:type ActionContent: str
|
@@ -3060,7 +3060,7 @@ class CreateListenerRequest(AbstractModel):
|
|
3060
3060
|
:type MaxConn: int
|
3061
3061
|
:param _MaxCps: 监听器最大新增连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。
|
3062
3062
|
:type MaxCps: int
|
3063
|
-
:param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300
|
3063
|
+
:param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-2000。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。
|
3064
3064
|
:type IdleConnectTimeout: int
|
3065
3065
|
:param _SnatEnable: 是否开启SNAT。
|
3066
3066
|
:type SnatEnable: bool
|