tencentcloud-sdk-python 3.0.1284__py2.py3-none-any.whl → 3.0.1286__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/apm/v20210622/errorcodes.py +4 -4
- tencentcloud/apm/v20210622/models.py +31 -59
- tencentcloud/batch/v20170312/models.py +84 -6
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/billing/v20180709/models.py +8 -0
- tencentcloud/ccc/v20200210/models.py +60 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +79 -0
- tencentcloud/cfg/v20210820/models.py +108 -0
- tencentcloud/cloudapp/v20220530/models.py +15 -0
- tencentcloud/cloudaudit/v20190319/models.py +14 -0
- tencentcloud/cvm/v20170312/models.py +6 -6
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +186 -0
- tencentcloud/domain/v20180808/domain_client.py +1 -1
- tencentcloud/domain/v20180808/errorcodes.py +6 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/dts/v20211206/models.py +17 -0
- tencentcloud/ess/v20201111/ess_client.py +51 -0
- tencentcloud/ess/v20201111/models.py +522 -5
- tencentcloud/essbasic/v20210526/essbasic_client.py +28 -0
- tencentcloud/essbasic/v20210526/models.py +437 -15
- tencentcloud/gwlb/v20240906/models.py +48 -24
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/iss/v20230517/models.py +2 -2
- tencentcloud/lcic/v20220817/models.py +6 -4
- tencentcloud/live/v20180801/models.py +8 -8
- tencentcloud/mariadb/v20170312/models.py +12 -8
- tencentcloud/mongodb/v20180408/errorcodes.py +15 -0
- tencentcloud/mongodb/v20180408/models.py +27 -12
- tencentcloud/mongodb/v20180408/mongodb_client.py +0 -1
- tencentcloud/mongodb/v20190725/models.py +81 -58
- tencentcloud/mongodb/v20190725/mongodb_client.py +2 -2
- tencentcloud/mps/v20190612/models.py +68 -54
- tencentcloud/organization/v20210331/models.py +71 -26
- tencentcloud/tdmq/v20200217/models.py +64 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/vod/v20180717/errorcodes.py +1 -1
- tencentcloud/vpc/v20170312/models.py +30 -0
- tencentcloud/vrs/v20200824/models.py +2 -2
- tencentcloud/vrs/v20200824/vrs_client.py +2 -2
- tencentcloud/wedata/v20210820/models.py +813 -2
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/RECORD +48 -48
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/top_level.txt +0 -0
@@ -1984,6 +1984,8 @@ HoaiMy
|
|
1984
1984
|
:type NotifyDuration: int
|
1985
1985
|
:param _NotifyMessage: 用户NotifyDuration没说话,AI提示的语句,默认是"抱歉,我没听清。您可以重复下吗?"
|
1986
1986
|
:type NotifyMessage: str
|
1987
|
+
:param _NotifyMaxCount: 最大触发AI提示音次数,默认为不限制
|
1988
|
+
:type NotifyMaxCount: int
|
1987
1989
|
:param _CustomTTSConfig: <p>和VoiceType字段需要选填一个,这里是使用自己自定义的TTS,VoiceType是系统内置的一些音色</p>
|
1988
1990
|
<ul>
|
1989
1991
|
<li>Tencent TTS<br>
|
@@ -2084,6 +2086,7 @@ HoaiMy
|
|
2084
2086
|
self._EndFunctionDesc = None
|
2085
2087
|
self._NotifyDuration = None
|
2086
2088
|
self._NotifyMessage = None
|
2089
|
+
self._NotifyMaxCount = None
|
2087
2090
|
self._CustomTTSConfig = None
|
2088
2091
|
|
2089
2092
|
@property
|
@@ -2383,6 +2386,17 @@ HoaiMy
|
|
2383
2386
|
def NotifyMessage(self, NotifyMessage):
|
2384
2387
|
self._NotifyMessage = NotifyMessage
|
2385
2388
|
|
2389
|
+
@property
|
2390
|
+
def NotifyMaxCount(self):
|
2391
|
+
"""最大触发AI提示音次数,默认为不限制
|
2392
|
+
:rtype: int
|
2393
|
+
"""
|
2394
|
+
return self._NotifyMaxCount
|
2395
|
+
|
2396
|
+
@NotifyMaxCount.setter
|
2397
|
+
def NotifyMaxCount(self, NotifyMaxCount):
|
2398
|
+
self._NotifyMaxCount = NotifyMaxCount
|
2399
|
+
|
2386
2400
|
@property
|
2387
2401
|
def CustomTTSConfig(self):
|
2388
2402
|
"""<p>和VoiceType字段需要选填一个,这里是使用自己自定义的TTS,VoiceType是系统内置的一些音色</p>
|
@@ -2493,6 +2507,7 @@ HoaiMy
|
|
2493
2507
|
self._EndFunctionDesc = params.get("EndFunctionDesc")
|
2494
2508
|
self._NotifyDuration = params.get("NotifyDuration")
|
2495
2509
|
self._NotifyMessage = params.get("NotifyMessage")
|
2510
|
+
self._NotifyMaxCount = params.get("NotifyMaxCount")
|
2496
2511
|
self._CustomTTSConfig = params.get("CustomTTSConfig")
|
2497
2512
|
memeber_set = set(params.keys())
|
2498
2513
|
for name, value in vars(self).items():
|
@@ -10655,6 +10670,8 @@ class ModifyStaffRequest(AbstractModel):
|
|
10655
10670
|
:type UseMobileCallOut: bool
|
10656
10671
|
:param _UseMobileAccept: 手机接听模式 0 - 关闭 | 1 - 仅离线 | 2 - 始终
|
10657
10672
|
:type UseMobileAccept: int
|
10673
|
+
:param _ExtensionNumber: 座席分机号(1 到 8 打头,4 - 6 位)
|
10674
|
+
:type ExtensionNumber: str
|
10658
10675
|
"""
|
10659
10676
|
self._SdkAppId = None
|
10660
10677
|
self._Email = None
|
@@ -10665,6 +10682,7 @@ class ModifyStaffRequest(AbstractModel):
|
|
10665
10682
|
self._SkillGroupIds = None
|
10666
10683
|
self._UseMobileCallOut = None
|
10667
10684
|
self._UseMobileAccept = None
|
10685
|
+
self._ExtensionNumber = None
|
10668
10686
|
|
10669
10687
|
@property
|
10670
10688
|
def SdkAppId(self):
|
@@ -10765,6 +10783,17 @@ class ModifyStaffRequest(AbstractModel):
|
|
10765
10783
|
def UseMobileAccept(self, UseMobileAccept):
|
10766
10784
|
self._UseMobileAccept = UseMobileAccept
|
10767
10785
|
|
10786
|
+
@property
|
10787
|
+
def ExtensionNumber(self):
|
10788
|
+
"""座席分机号(1 到 8 打头,4 - 6 位)
|
10789
|
+
:rtype: str
|
10790
|
+
"""
|
10791
|
+
return self._ExtensionNumber
|
10792
|
+
|
10793
|
+
@ExtensionNumber.setter
|
10794
|
+
def ExtensionNumber(self, ExtensionNumber):
|
10795
|
+
self._ExtensionNumber = ExtensionNumber
|
10796
|
+
|
10768
10797
|
|
10769
10798
|
def _deserialize(self, params):
|
10770
10799
|
self._SdkAppId = params.get("SdkAppId")
|
@@ -10776,6 +10805,7 @@ class ModifyStaffRequest(AbstractModel):
|
|
10776
10805
|
self._SkillGroupIds = params.get("SkillGroupIds")
|
10777
10806
|
self._UseMobileCallOut = params.get("UseMobileCallOut")
|
10778
10807
|
self._UseMobileAccept = params.get("UseMobileAccept")
|
10808
|
+
self._ExtensionNumber = params.get("ExtensionNumber")
|
10779
10809
|
memeber_set = set(params.keys())
|
10780
10810
|
for name, value in vars(self).items():
|
10781
10811
|
property_name = name[1:]
|
@@ -12067,6 +12097,8 @@ class SeatUserInfo(AbstractModel):
|
|
12067
12097
|
3:普通座席
|
12068
12098
|
else:自定义角色ID
|
12069
12099
|
:type Role: int
|
12100
|
+
:param _ExtensionNumber: 座席分机号(1 到 8 打头,4 - 6 位)
|
12101
|
+
:type ExtensionNumber: str
|
12070
12102
|
"""
|
12071
12103
|
self._Name = None
|
12072
12104
|
self._Mail = None
|
@@ -12076,6 +12108,7 @@ else:自定义角色ID
|
|
12076
12108
|
self._UserId = None
|
12077
12109
|
self._SkillGroupNameList = None
|
12078
12110
|
self._Role = None
|
12111
|
+
self._ExtensionNumber = None
|
12079
12112
|
|
12080
12113
|
@property
|
12081
12114
|
def Name(self):
|
@@ -12168,6 +12201,17 @@ else:自定义角色ID
|
|
12168
12201
|
def Role(self, Role):
|
12169
12202
|
self._Role = Role
|
12170
12203
|
|
12204
|
+
@property
|
12205
|
+
def ExtensionNumber(self):
|
12206
|
+
"""座席分机号(1 到 8 打头,4 - 6 位)
|
12207
|
+
:rtype: str
|
12208
|
+
"""
|
12209
|
+
return self._ExtensionNumber
|
12210
|
+
|
12211
|
+
@ExtensionNumber.setter
|
12212
|
+
def ExtensionNumber(self, ExtensionNumber):
|
12213
|
+
self._ExtensionNumber = ExtensionNumber
|
12214
|
+
|
12171
12215
|
|
12172
12216
|
def _deserialize(self, params):
|
12173
12217
|
self._Name = params.get("Name")
|
@@ -12178,6 +12222,7 @@ else:自定义角色ID
|
|
12178
12222
|
self._UserId = params.get("UserId")
|
12179
12223
|
self._SkillGroupNameList = params.get("SkillGroupNameList")
|
12180
12224
|
self._Role = params.get("Role")
|
12225
|
+
self._ExtensionNumber = params.get("ExtensionNumber")
|
12181
12226
|
memeber_set = set(params.keys())
|
12182
12227
|
for name, value in vars(self).items():
|
12183
12228
|
property_name = name[1:]
|
@@ -12820,6 +12865,8 @@ class StaffInfo(AbstractModel):
|
|
12820
12865
|
:type SkillGroupList: list of SkillGroupItem
|
12821
12866
|
:param _LastModifyTimestamp: 最后修改时间
|
12822
12867
|
:type LastModifyTimestamp: int
|
12868
|
+
:param _ExtensionNumber: 座席分机号(1 到 8 打头,4 - 6 位)
|
12869
|
+
:type ExtensionNumber: str
|
12823
12870
|
"""
|
12824
12871
|
self._Name = None
|
12825
12872
|
self._Mail = None
|
@@ -12829,6 +12876,7 @@ class StaffInfo(AbstractModel):
|
|
12829
12876
|
self._RoleId = None
|
12830
12877
|
self._SkillGroupList = None
|
12831
12878
|
self._LastModifyTimestamp = None
|
12879
|
+
self._ExtensionNumber = None
|
12832
12880
|
|
12833
12881
|
@property
|
12834
12882
|
def Name(self):
|
@@ -12918,6 +12966,17 @@ class StaffInfo(AbstractModel):
|
|
12918
12966
|
def LastModifyTimestamp(self, LastModifyTimestamp):
|
12919
12967
|
self._LastModifyTimestamp = LastModifyTimestamp
|
12920
12968
|
|
12969
|
+
@property
|
12970
|
+
def ExtensionNumber(self):
|
12971
|
+
"""座席分机号(1 到 8 打头,4 - 6 位)
|
12972
|
+
:rtype: str
|
12973
|
+
"""
|
12974
|
+
return self._ExtensionNumber
|
12975
|
+
|
12976
|
+
@ExtensionNumber.setter
|
12977
|
+
def ExtensionNumber(self, ExtensionNumber):
|
12978
|
+
self._ExtensionNumber = ExtensionNumber
|
12979
|
+
|
12921
12980
|
|
12922
12981
|
def _deserialize(self, params):
|
12923
12982
|
self._Name = params.get("Name")
|
@@ -12933,6 +12992,7 @@ class StaffInfo(AbstractModel):
|
|
12933
12992
|
obj._deserialize(item)
|
12934
12993
|
self._SkillGroupList.append(obj)
|
12935
12994
|
self._LastModifyTimestamp = params.get("LastModifyTimestamp")
|
12995
|
+
self._ExtensionNumber = params.get("ExtensionNumber")
|
12936
12996
|
memeber_set = set(params.keys())
|
12937
12997
|
for name, value in vars(self).items():
|
12938
12998
|
property_name = name[1:]
|
@@ -3255,6 +3255,29 @@ class CdbClient(AbstractClient):
|
|
3255
3255
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3256
3256
|
|
3257
3257
|
|
3258
|
+
def ModifyProtectMode(self, request):
|
3259
|
+
"""该接口(ModifyProtectMode)用于修改实例的同步方式。
|
3260
|
+
|
3261
|
+
:param request: Request instance for ModifyProtectMode.
|
3262
|
+
:type request: :class:`tencentcloud.cdb.v20170320.models.ModifyProtectModeRequest`
|
3263
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.ModifyProtectModeResponse`
|
3264
|
+
|
3265
|
+
"""
|
3266
|
+
try:
|
3267
|
+
params = request._serialize()
|
3268
|
+
headers = request.headers
|
3269
|
+
body = self.call("ModifyProtectMode", params, headers=headers)
|
3270
|
+
response = json.loads(body)
|
3271
|
+
model = models.ModifyProtectModeResponse()
|
3272
|
+
model._deserialize(response["Response"])
|
3273
|
+
return model
|
3274
|
+
except Exception as e:
|
3275
|
+
if isinstance(e, TencentCloudSDKException):
|
3276
|
+
raise
|
3277
|
+
else:
|
3278
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3279
|
+
|
3280
|
+
|
3258
3281
|
def ModifyRemoteBackupConfig(self, request):
|
3259
3282
|
"""本接口(ModifyRemoteBackupConfig)用于修改数据库异地备份配置信息。
|
3260
3283
|
|
@@ -29505,6 +29505,85 @@ class ModifyParamTemplateResponse(AbstractModel):
|
|
29505
29505
|
self._RequestId = params.get("RequestId")
|
29506
29506
|
|
29507
29507
|
|
29508
|
+
class ModifyProtectModeRequest(AbstractModel):
|
29509
|
+
"""ModifyProtectMode请求参数结构体
|
29510
|
+
|
29511
|
+
"""
|
29512
|
+
|
29513
|
+
def __init__(self):
|
29514
|
+
r"""
|
29515
|
+
:param _ProtectMode: 无
|
29516
|
+
:type ProtectMode: int
|
29517
|
+
:param _InstanceId: 实例ID。
|
29518
|
+
:type InstanceId: str
|
29519
|
+
"""
|
29520
|
+
self._ProtectMode = None
|
29521
|
+
self._InstanceId = None
|
29522
|
+
|
29523
|
+
@property
|
29524
|
+
def ProtectMode(self):
|
29525
|
+
"""无
|
29526
|
+
:rtype: int
|
29527
|
+
"""
|
29528
|
+
return self._ProtectMode
|
29529
|
+
|
29530
|
+
@ProtectMode.setter
|
29531
|
+
def ProtectMode(self, ProtectMode):
|
29532
|
+
self._ProtectMode = ProtectMode
|
29533
|
+
|
29534
|
+
@property
|
29535
|
+
def InstanceId(self):
|
29536
|
+
"""实例ID。
|
29537
|
+
:rtype: str
|
29538
|
+
"""
|
29539
|
+
return self._InstanceId
|
29540
|
+
|
29541
|
+
@InstanceId.setter
|
29542
|
+
def InstanceId(self, InstanceId):
|
29543
|
+
self._InstanceId = InstanceId
|
29544
|
+
|
29545
|
+
|
29546
|
+
def _deserialize(self, params):
|
29547
|
+
self._ProtectMode = params.get("ProtectMode")
|
29548
|
+
self._InstanceId = params.get("InstanceId")
|
29549
|
+
memeber_set = set(params.keys())
|
29550
|
+
for name, value in vars(self).items():
|
29551
|
+
property_name = name[1:]
|
29552
|
+
if property_name in memeber_set:
|
29553
|
+
memeber_set.remove(property_name)
|
29554
|
+
if len(memeber_set) > 0:
|
29555
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29556
|
+
|
29557
|
+
|
29558
|
+
|
29559
|
+
class ModifyProtectModeResponse(AbstractModel):
|
29560
|
+
"""ModifyProtectMode返回参数结构体
|
29561
|
+
|
29562
|
+
"""
|
29563
|
+
|
29564
|
+
def __init__(self):
|
29565
|
+
r"""
|
29566
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29567
|
+
:type RequestId: str
|
29568
|
+
"""
|
29569
|
+
self._RequestId = None
|
29570
|
+
|
29571
|
+
@property
|
29572
|
+
def RequestId(self):
|
29573
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29574
|
+
:rtype: str
|
29575
|
+
"""
|
29576
|
+
return self._RequestId
|
29577
|
+
|
29578
|
+
@RequestId.setter
|
29579
|
+
def RequestId(self, RequestId):
|
29580
|
+
self._RequestId = RequestId
|
29581
|
+
|
29582
|
+
|
29583
|
+
def _deserialize(self, params):
|
29584
|
+
self._RequestId = params.get("RequestId")
|
29585
|
+
|
29586
|
+
|
29508
29587
|
class ModifyRemoteBackupConfigRequest(AbstractModel):
|
29509
29588
|
"""ModifyRemoteBackupConfig请求参数结构体
|
29510
29589
|
|
@@ -964,6 +964,26 @@ class CreateTaskFromMultiActionRequest(AbstractModel):
|
|
964
964
|
def __init__(self):
|
965
965
|
r"""
|
966
966
|
:param _TaskInstances: 参与演练的实例ID
|
967
|
+
CVM ins-xxx
|
968
|
+
MySQL cdb-xxx
|
969
|
+
CLB lb-xxx
|
970
|
+
Redis crs-xxx
|
971
|
+
NAT网关 nat-xxx
|
972
|
+
Redis crs-xxx
|
973
|
+
专线-独享专用通道 dcx-xxx
|
974
|
+
标准集群普通节点 {"ClusterId":"cls-xxx","InstanceId":"ins-xxx","LanIP":"1.1.1.1"}
|
975
|
+
标准集群Pod {"ClusterId":"cls-xxx","PodName":"podname","NodeName":"1.1.1.1","NameSpace":"ns","Workload":"workload"}
|
976
|
+
TDSQL-MySQL(InnoDB) tdsqlshard-xxx
|
977
|
+
TDSQL-C cynosdbmysql-xxx
|
978
|
+
VPC子网 subnet-xxxx
|
979
|
+
CKafka ckafka-xxx
|
980
|
+
MariaDB tdsql-xxxx
|
981
|
+
PostgreSQL postgres-xxx
|
982
|
+
云原生网关 gateway-xxx
|
983
|
+
标准集群超级节点 {"ClusterId":"cls-xxx","InstanceId":"eklet-xxx","LanIP":"1.1.1.1,"NodePoolId":"np-xxx"}
|
984
|
+
Serverless集群超级节点 {"ClusterId":"cls-xxxx","InstanceId":"eklet-xxxx","LanIP":"1.1.1.1"}
|
985
|
+
Elasticsearch集群 es-xxxx
|
986
|
+
RabbitMQ amqp-xxxx
|
967
987
|
:type TaskInstances: list of str
|
968
988
|
:param _TaskTitle: 演练名称,不填则默认取动作名称
|
969
989
|
:type TaskTitle: str
|
@@ -983,6 +1003,26 @@ class CreateTaskFromMultiActionRequest(AbstractModel):
|
|
983
1003
|
@property
|
984
1004
|
def TaskInstances(self):
|
985
1005
|
"""参与演练的实例ID
|
1006
|
+
CVM ins-xxx
|
1007
|
+
MySQL cdb-xxx
|
1008
|
+
CLB lb-xxx
|
1009
|
+
Redis crs-xxx
|
1010
|
+
NAT网关 nat-xxx
|
1011
|
+
Redis crs-xxx
|
1012
|
+
专线-独享专用通道 dcx-xxx
|
1013
|
+
标准集群普通节点 {"ClusterId":"cls-xxx","InstanceId":"ins-xxx","LanIP":"1.1.1.1"}
|
1014
|
+
标准集群Pod {"ClusterId":"cls-xxx","PodName":"podname","NodeName":"1.1.1.1","NameSpace":"ns","Workload":"workload"}
|
1015
|
+
TDSQL-MySQL(InnoDB) tdsqlshard-xxx
|
1016
|
+
TDSQL-C cynosdbmysql-xxx
|
1017
|
+
VPC子网 subnet-xxxx
|
1018
|
+
CKafka ckafka-xxx
|
1019
|
+
MariaDB tdsql-xxxx
|
1020
|
+
PostgreSQL postgres-xxx
|
1021
|
+
云原生网关 gateway-xxx
|
1022
|
+
标准集群超级节点 {"ClusterId":"cls-xxx","InstanceId":"eklet-xxx","LanIP":"1.1.1.1,"NodePoolId":"np-xxx"}
|
1023
|
+
Serverless集群超级节点 {"ClusterId":"cls-xxxx","InstanceId":"eklet-xxxx","LanIP":"1.1.1.1"}
|
1024
|
+
Elasticsearch集群 es-xxxx
|
1025
|
+
RabbitMQ amqp-xxxx
|
986
1026
|
:rtype: list of str
|
987
1027
|
"""
|
988
1028
|
return self._TaskInstances
|
@@ -3076,6 +3116,8 @@ class ObjectType(AbstractModel):
|
|
3076
3116
|
:param _ObjectSupportType: 1:平台支持的对象 2:应用支持的部分对象
|
3077
3117
|
注意:此字段可能返回 null,表示取不到有效值。
|
3078
3118
|
:type ObjectSupportType: int
|
3119
|
+
:param _ArchLayer: 1.接入层 2.逻辑层 3. 数据层
|
3120
|
+
:type ArchLayer: int
|
3079
3121
|
"""
|
3080
3122
|
self._ObjectTypeId = None
|
3081
3123
|
self._ObjectTypeTitle = None
|
@@ -3085,6 +3127,7 @@ class ObjectType(AbstractModel):
|
|
3085
3127
|
self._ObjectHasNewAction = None
|
3086
3128
|
self._ObjectPlatformName = None
|
3087
3129
|
self._ObjectSupportType = None
|
3130
|
+
self._ArchLayer = None
|
3088
3131
|
|
3089
3132
|
@property
|
3090
3133
|
def ObjectTypeId(self):
|
@@ -3178,6 +3221,17 @@ class ObjectType(AbstractModel):
|
|
3178
3221
|
def ObjectSupportType(self, ObjectSupportType):
|
3179
3222
|
self._ObjectSupportType = ObjectSupportType
|
3180
3223
|
|
3224
|
+
@property
|
3225
|
+
def ArchLayer(self):
|
3226
|
+
"""1.接入层 2.逻辑层 3. 数据层
|
3227
|
+
:rtype: int
|
3228
|
+
"""
|
3229
|
+
return self._ArchLayer
|
3230
|
+
|
3231
|
+
@ArchLayer.setter
|
3232
|
+
def ArchLayer(self, ArchLayer):
|
3233
|
+
self._ArchLayer = ArchLayer
|
3234
|
+
|
3181
3235
|
|
3182
3236
|
def _deserialize(self, params):
|
3183
3237
|
self._ObjectTypeId = params.get("ObjectTypeId")
|
@@ -3192,6 +3246,7 @@ class ObjectType(AbstractModel):
|
|
3192
3246
|
self._ObjectHasNewAction = params.get("ObjectHasNewAction")
|
3193
3247
|
self._ObjectPlatformName = params.get("ObjectPlatformName")
|
3194
3248
|
self._ObjectSupportType = params.get("ObjectSupportType")
|
3249
|
+
self._ArchLayer = params.get("ArchLayer")
|
3195
3250
|
memeber_set = set(params.keys())
|
3196
3251
|
for name, value in vars(self).items():
|
3197
3252
|
property_name = name[1:]
|
@@ -5125,6 +5180,25 @@ class TaskGroupConfig(AbstractModel):
|
|
5125
5180
|
def __init__(self):
|
5126
5181
|
r"""
|
5127
5182
|
:param _TaskGroupInstances: 动作组所关联的实例对象
|
5183
|
+
CVM ins-xxx
|
5184
|
+
MySQL cdb-xxx
|
5185
|
+
CLB lb-xxx
|
5186
|
+
Redis crs-xxx
|
5187
|
+
NAT网关 nat-xxx
|
5188
|
+
专线-独享专用通道 dcx-xxx
|
5189
|
+
标准集群普通节点 {"ClusterId":"cls-xxx","InstanceId":"ins-xxx","LanIP":"1.1.1.1"}
|
5190
|
+
标准集群Pod {"ClusterId":"cls-xxx","PodName":"podname","NodeName":"1.1.1.1","NameSpace":"ns","Workload":"workload"}
|
5191
|
+
TDSQL-MySQL(InnoDB) tdsqlshard-xxx
|
5192
|
+
TDSQL-C cynosdbmysql-xxx
|
5193
|
+
VPC子网 subnet-xxxx
|
5194
|
+
CKafka ckafka-xxx
|
5195
|
+
MariaDB tdsql-xxxx
|
5196
|
+
PostgreSQL postgres-xxx
|
5197
|
+
云原生网关 gateway-xxx
|
5198
|
+
标准集群超级节点 {"ClusterId":"cls-xxx","InstanceId":"eklet-xxx","LanIP":"1.1.1.1,"NodePoolId":"np-xxx"}
|
5199
|
+
Serverless集群超级节点 {"ClusterId":"cls-xxxx","InstanceId":"eklet-xxxx","LanIP":"1.1.1.1"}
|
5200
|
+
Elasticsearch集群 es-xxxx
|
5201
|
+
RabbitMQ amqp-xxxx
|
5128
5202
|
:type TaskGroupInstances: list of str
|
5129
5203
|
:param _TaskGroupTitle: 动作组标题,不填默认取经验中的动作组名称
|
5130
5204
|
:type TaskGroupTitle: str
|
@@ -5144,6 +5218,25 @@ class TaskGroupConfig(AbstractModel):
|
|
5144
5218
|
@property
|
5145
5219
|
def TaskGroupInstances(self):
|
5146
5220
|
"""动作组所关联的实例对象
|
5221
|
+
CVM ins-xxx
|
5222
|
+
MySQL cdb-xxx
|
5223
|
+
CLB lb-xxx
|
5224
|
+
Redis crs-xxx
|
5225
|
+
NAT网关 nat-xxx
|
5226
|
+
专线-独享专用通道 dcx-xxx
|
5227
|
+
标准集群普通节点 {"ClusterId":"cls-xxx","InstanceId":"ins-xxx","LanIP":"1.1.1.1"}
|
5228
|
+
标准集群Pod {"ClusterId":"cls-xxx","PodName":"podname","NodeName":"1.1.1.1","NameSpace":"ns","Workload":"workload"}
|
5229
|
+
TDSQL-MySQL(InnoDB) tdsqlshard-xxx
|
5230
|
+
TDSQL-C cynosdbmysql-xxx
|
5231
|
+
VPC子网 subnet-xxxx
|
5232
|
+
CKafka ckafka-xxx
|
5233
|
+
MariaDB tdsql-xxxx
|
5234
|
+
PostgreSQL postgres-xxx
|
5235
|
+
云原生网关 gateway-xxx
|
5236
|
+
标准集群超级节点 {"ClusterId":"cls-xxx","InstanceId":"eklet-xxx","LanIP":"1.1.1.1,"NodePoolId":"np-xxx"}
|
5237
|
+
Serverless集群超级节点 {"ClusterId":"cls-xxxx","InstanceId":"eklet-xxxx","LanIP":"1.1.1.1"}
|
5238
|
+
Elasticsearch集群 es-xxxx
|
5239
|
+
RabbitMQ amqp-xxxx
|
5147
5240
|
:rtype: list of str
|
5148
5241
|
"""
|
5149
5242
|
return self._TaskGroupInstances
|
@@ -6705,6 +6798,8 @@ class TemplateGroupAction(AbstractModel):
|
|
6705
6798
|
:param _ActionRisk: 动作风险等级,1:低风险 2:中风险 3:高风险
|
6706
6799
|
注意:此字段可能返回 null,表示取不到有效值。
|
6707
6800
|
:type ActionRisk: str
|
6801
|
+
:param _FailurePerformance: 故障表现
|
6802
|
+
:type FailurePerformance: str
|
6708
6803
|
"""
|
6709
6804
|
self._TemplateGroupActionId = None
|
6710
6805
|
self._ActionId = None
|
@@ -6721,6 +6816,7 @@ class TemplateGroupAction(AbstractModel):
|
|
6721
6816
|
self._ActionAttribute = None
|
6722
6817
|
self._ActionType = None
|
6723
6818
|
self._ActionRisk = None
|
6819
|
+
self._FailurePerformance = None
|
6724
6820
|
|
6725
6821
|
@property
|
6726
6822
|
def TemplateGroupActionId(self):
|
@@ -6896,6 +6992,17 @@ class TemplateGroupAction(AbstractModel):
|
|
6896
6992
|
def ActionRisk(self, ActionRisk):
|
6897
6993
|
self._ActionRisk = ActionRisk
|
6898
6994
|
|
6995
|
+
@property
|
6996
|
+
def FailurePerformance(self):
|
6997
|
+
"""故障表现
|
6998
|
+
:rtype: str
|
6999
|
+
"""
|
7000
|
+
return self._FailurePerformance
|
7001
|
+
|
7002
|
+
@FailurePerformance.setter
|
7003
|
+
def FailurePerformance(self, FailurePerformance):
|
7004
|
+
self._FailurePerformance = FailurePerformance
|
7005
|
+
|
6899
7006
|
|
6900
7007
|
def _deserialize(self, params):
|
6901
7008
|
self._TemplateGroupActionId = params.get("TemplateGroupActionId")
|
@@ -6913,6 +7020,7 @@ class TemplateGroupAction(AbstractModel):
|
|
6913
7020
|
self._ActionAttribute = params.get("ActionAttribute")
|
6914
7021
|
self._ActionType = params.get("ActionType")
|
6915
7022
|
self._ActionRisk = params.get("ActionRisk")
|
7023
|
+
self._FailurePerformance = params.get("FailurePerformance")
|
6916
7024
|
memeber_set = set(params.keys())
|
6917
7025
|
for name, value in vars(self).items():
|
6918
7026
|
property_name = name[1:]
|
@@ -59,6 +59,8 @@ class License(AbstractModel):
|
|
59
59
|
:type ExpirationDate: str
|
60
60
|
:param _LifeSpanUnit: 授权时长单位,枚举值有Y年/M月/D日三种
|
61
61
|
:type LifeSpanUnit: str
|
62
|
+
:param _LicenseType: 授权的类型:Standard正式版/Development开发版/Trial体验版
|
63
|
+
:type LicenseType: str
|
62
64
|
"""
|
63
65
|
self._LicenseId = None
|
64
66
|
self._LicenseMode = None
|
@@ -76,6 +78,7 @@ class License(AbstractModel):
|
|
76
78
|
self._ActivationDate = None
|
77
79
|
self._ExpirationDate = None
|
78
80
|
self._LifeSpanUnit = None
|
81
|
+
self._LicenseType = None
|
79
82
|
|
80
83
|
@property
|
81
84
|
def LicenseId(self):
|
@@ -255,6 +258,17 @@ class License(AbstractModel):
|
|
255
258
|
def LifeSpanUnit(self, LifeSpanUnit):
|
256
259
|
self._LifeSpanUnit = LifeSpanUnit
|
257
260
|
|
261
|
+
@property
|
262
|
+
def LicenseType(self):
|
263
|
+
"""授权的类型:Standard正式版/Development开发版/Trial体验版
|
264
|
+
:rtype: str
|
265
|
+
"""
|
266
|
+
return self._LicenseType
|
267
|
+
|
268
|
+
@LicenseType.setter
|
269
|
+
def LicenseType(self, LicenseType):
|
270
|
+
self._LicenseType = LicenseType
|
271
|
+
|
258
272
|
|
259
273
|
def _deserialize(self, params):
|
260
274
|
self._LicenseId = params.get("LicenseId")
|
@@ -278,6 +292,7 @@ class License(AbstractModel):
|
|
278
292
|
self._ActivationDate = params.get("ActivationDate")
|
279
293
|
self._ExpirationDate = params.get("ExpirationDate")
|
280
294
|
self._LifeSpanUnit = params.get("LifeSpanUnit")
|
295
|
+
self._LicenseType = params.get("LicenseType")
|
281
296
|
memeber_set = set(params.keys())
|
282
297
|
for name, value in vars(self).items():
|
283
298
|
property_name = name[1:]
|
@@ -26,14 +26,19 @@ class AttributeKeyDetail(AbstractModel):
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
28
|
:param _LabelType: 输入框类型
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
29
30
|
:type LabelType: str
|
30
31
|
:param _Starter: 初始化展示
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31
33
|
:type Starter: str
|
32
34
|
:param _Order: 展示排序
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33
36
|
:type Order: int
|
34
37
|
:param _Value: AttributeKey值
|
38
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
35
39
|
:type Value: str
|
36
40
|
:param _Label: 中文标签
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
37
42
|
:type Label: str
|
38
43
|
"""
|
39
44
|
self._LabelType = None
|
@@ -45,6 +50,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
45
50
|
@property
|
46
51
|
def LabelType(self):
|
47
52
|
"""输入框类型
|
53
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
48
54
|
:rtype: str
|
49
55
|
"""
|
50
56
|
return self._LabelType
|
@@ -56,6 +62,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
56
62
|
@property
|
57
63
|
def Starter(self):
|
58
64
|
"""初始化展示
|
65
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59
66
|
:rtype: str
|
60
67
|
"""
|
61
68
|
return self._Starter
|
@@ -67,6 +74,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
67
74
|
@property
|
68
75
|
def Order(self):
|
69
76
|
"""展示排序
|
77
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
70
78
|
:rtype: int
|
71
79
|
"""
|
72
80
|
return self._Order
|
@@ -78,6 +86,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
78
86
|
@property
|
79
87
|
def Value(self):
|
80
88
|
"""AttributeKey值
|
89
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
81
90
|
:rtype: str
|
82
91
|
"""
|
83
92
|
return self._Value
|
@@ -89,6 +98,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
89
98
|
@property
|
90
99
|
def Label(self):
|
91
100
|
"""中文标签
|
101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
92
102
|
:rtype: str
|
93
103
|
"""
|
94
104
|
return self._Label
|
@@ -1942,8 +1952,10 @@ class KeyMetadata(AbstractModel):
|
|
1942
1952
|
def __init__(self):
|
1943
1953
|
r"""
|
1944
1954
|
:param _Alias: 作为密钥更容易辨识,更容易被人看懂的别名
|
1955
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1945
1956
|
:type Alias: str
|
1946
1957
|
:param _KeyId: CMK的全局唯一标识
|
1958
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1947
1959
|
:type KeyId: str
|
1948
1960
|
"""
|
1949
1961
|
self._Alias = None
|
@@ -1952,6 +1964,7 @@ class KeyMetadata(AbstractModel):
|
|
1952
1964
|
@property
|
1953
1965
|
def Alias(self):
|
1954
1966
|
"""作为密钥更容易辨识,更容易被人看懂的别名
|
1967
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1955
1968
|
:rtype: str
|
1956
1969
|
"""
|
1957
1970
|
return self._Alias
|
@@ -1963,6 +1976,7 @@ class KeyMetadata(AbstractModel):
|
|
1963
1976
|
@property
|
1964
1977
|
def KeyId(self):
|
1965
1978
|
"""CMK的全局唯一标识
|
1979
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1966
1980
|
:rtype: str
|
1967
1981
|
"""
|
1968
1982
|
return self._KeyId
|
@@ -16790,11 +16790,11 @@ class ModifyInstancesVpcAttributeRequest(AbstractModel):
|
|
16790
16790
|
r"""
|
16791
16791
|
:param _InstanceIds: 待操作的实例ID数组。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
16792
16792
|
:type InstanceIds: list of str
|
16793
|
-
:param _VirtualPrivateCloud: 私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID
|
16793
|
+
:param _VirtualPrivateCloud: 私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID(子网必须在实例所在的可用区)与指定实例所在私有网络不一致时,会将实例迁移至指定的私有网络的子网下。</li><li>可通过`PrivateIpAddresses`指定私有网络子网IP,若需指定则所有已指定的实例均需要指定子网IP,此时`InstanceIds`与`PrivateIpAddresses`一一对应。</li><li>不指定`PrivateIpAddresses`时随机分配私有网络子网IP。</li>
|
16794
16794
|
:type VirtualPrivateCloud: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
16795
|
-
:param _ForceStop: 是否对运行中的实例选择强制关机。默认为
|
16795
|
+
:param _ForceStop: 是否对运行中的实例选择强制关机。默认为true。
|
16796
16796
|
:type ForceStop: bool
|
16797
|
-
:param _ReserveHostName: 是否保留主机名。默认为
|
16797
|
+
:param _ReserveHostName: 是否保留主机名。默认为false。
|
16798
16798
|
:type ReserveHostName: bool
|
16799
16799
|
"""
|
16800
16800
|
self._InstanceIds = None
|
@@ -16815,7 +16815,7 @@ class ModifyInstancesVpcAttributeRequest(AbstractModel):
|
|
16815
16815
|
|
16816
16816
|
@property
|
16817
16817
|
def VirtualPrivateCloud(self):
|
16818
|
-
"""私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID
|
16818
|
+
"""私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID(子网必须在实例所在的可用区)与指定实例所在私有网络不一致时,会将实例迁移至指定的私有网络的子网下。</li><li>可通过`PrivateIpAddresses`指定私有网络子网IP,若需指定则所有已指定的实例均需要指定子网IP,此时`InstanceIds`与`PrivateIpAddresses`一一对应。</li><li>不指定`PrivateIpAddresses`时随机分配私有网络子网IP。</li>
|
16819
16819
|
:rtype: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
16820
16820
|
"""
|
16821
16821
|
return self._VirtualPrivateCloud
|
@@ -16826,7 +16826,7 @@ class ModifyInstancesVpcAttributeRequest(AbstractModel):
|
|
16826
16826
|
|
16827
16827
|
@property
|
16828
16828
|
def ForceStop(self):
|
16829
|
-
"""是否对运行中的实例选择强制关机。默认为
|
16829
|
+
"""是否对运行中的实例选择强制关机。默认为true。
|
16830
16830
|
:rtype: bool
|
16831
16831
|
"""
|
16832
16832
|
return self._ForceStop
|
@@ -16837,7 +16837,7 @@ class ModifyInstancesVpcAttributeRequest(AbstractModel):
|
|
16837
16837
|
|
16838
16838
|
@property
|
16839
16839
|
def ReserveHostName(self):
|
16840
|
-
"""是否保留主机名。默认为
|
16840
|
+
"""是否保留主机名。默认为false。
|
16841
16841
|
:rtype: bool
|
16842
16842
|
"""
|
16843
16843
|
return self._ReserveHostName
|
@@ -1061,6 +1061,29 @@ class CynosdbClient(AbstractClient):
|
|
1061
1061
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1062
1062
|
|
1063
1063
|
|
1064
|
+
def DescribeClusterDatabaseTables(self, request):
|
1065
|
+
"""获取table列表
|
1066
|
+
|
1067
|
+
:param request: Request instance for DescribeClusterDatabaseTables.
|
1068
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterDatabaseTablesRequest`
|
1069
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterDatabaseTablesResponse`
|
1070
|
+
|
1071
|
+
"""
|
1072
|
+
try:
|
1073
|
+
params = request._serialize()
|
1074
|
+
headers = request.headers
|
1075
|
+
body = self.call("DescribeClusterDatabaseTables", params, headers=headers)
|
1076
|
+
response = json.loads(body)
|
1077
|
+
model = models.DescribeClusterDatabaseTablesResponse()
|
1078
|
+
model._deserialize(response["Response"])
|
1079
|
+
return model
|
1080
|
+
except Exception as e:
|
1081
|
+
if isinstance(e, TencentCloudSDKException):
|
1082
|
+
raise
|
1083
|
+
else:
|
1084
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1085
|
+
|
1086
|
+
|
1064
1087
|
def DescribeClusterDatabases(self, request):
|
1065
1088
|
"""本接口(DescribeClusterDatabases)用于获取集群数据库列表。
|
1066
1089
|
|