tencentcloud-sdk-python 3.0.1384__py2.py3-none-any.whl → 3.0.1386__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/ams/v20201229/models.py +4 -8
- tencentcloud/batch/v20170312/models.py +6 -6
- tencentcloud/billing/v20180709/models.py +4 -2
- tencentcloud/cbs/v20170312/errorcodes.py +3 -0
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdwdoris/v20211228/models.py +107 -2
- tencentcloud/clb/v20180317/models.py +10 -2
- tencentcloud/cls/v20201016/cls_client.py +2 -1
- tencentcloud/cls/v20201016/models.py +59 -16
- tencentcloud/cvm/v20170312/cvm_client.py +1 -0
- tencentcloud/cvm/v20170312/errorcodes.py +12 -3
- tencentcloud/cvm/v20170312/models.py +38 -34
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +0 -4
- tencentcloud/dlc/v20210125/models.py +197 -0
- tencentcloud/domain/v20180808/domain_client.py +1 -1
- tencentcloud/domain/v20180808/models.py +2 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -345
- tencentcloud/dsgc/v20190723/models.py +24 -514
- tencentcloud/dts/v20180330/models.py +8 -0
- tencentcloud/es/v20180416/models.py +15 -0
- tencentcloud/ess/v20201111/ess_client.py +2 -0
- tencentcloud/ess/v20201111/models.py +8 -8
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -0
- tencentcloud/goosefs/v20220519/goosefs_client.py +138 -0
- tencentcloud/goosefs/v20220519/models.py +861 -1
- tencentcloud/hai/v20230812/models.py +6 -6
- tencentcloud/iotexplorer/v20190423/models.py +19 -4
- tencentcloud/keewidb/v20220308/models.py +26 -2
- tencentcloud/lighthouse/v20200324/models.py +4 -0
- tencentcloud/live/v20180801/models.py +15 -0
- tencentcloud/lke/v20231130/lke_client.py +3 -3
- tencentcloud/lke/v20231130/models.py +2 -92
- tencentcloud/monitor/v20180724/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +29 -8
- tencentcloud/mps/v20190612/mps_client.py +1 -0
- tencentcloud/postgres/v20170312/models.py +0 -214
- tencentcloud/postgres/v20170312/postgres_client.py +3 -28
- tencentcloud/scf/v20180416/errorcodes.py +24 -0
- tencentcloud/scf/v20180416/models.py +4 -4
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/sqlserver/v20180328/models.py +2 -2
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/ssl/v20191205/models.py +30 -0
- tencentcloud/tcb/v20180608/models.py +2 -2
- tencentcloud/tione/v20211111/models.py +599 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/tke/v20180525/errorcodes.py +6 -0
- tencentcloud/tke/v20220501/models.py +17 -0
- tencentcloud/trtc/v20190722/models.py +50 -2
- tencentcloud/tse/v20201207/errorcodes.py +3 -0
- tencentcloud/tse/v20201207/models.py +126 -0
- tencentcloud/tts/v20190823/models.py +4 -4
- tencentcloud/tts/v20190823/tts_client.py +0 -1
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +4 -2
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/RECORD +63 -68
- tencentcloud/apcas/__init__.py +0 -0
- tencentcloud/apcas/v20201127/__init__.py +0 -0
- tencentcloud/apcas/v20201127/apcas_client.py +0 -187
- tencentcloud/apcas/v20201127/errorcodes.py +0 -48
- tencentcloud/apcas/v20201127/models.py +0 -1514
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/top_level.txt +0 -0
@@ -509,6 +509,29 @@ class TioneClient(AbstractClient):
|
|
509
509
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
510
510
|
|
511
511
|
|
512
|
+
def DescribeEvents(self, request):
|
513
|
+
"""获取任务式建模训练任务,Notebook,在线服务和批量预测任务的事件API
|
514
|
+
|
515
|
+
:param request: Request instance for DescribeEvents.
|
516
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeEventsRequest`
|
517
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.DescribeEventsResponse`
|
518
|
+
|
519
|
+
"""
|
520
|
+
try:
|
521
|
+
params = request._serialize()
|
522
|
+
headers = request.headers
|
523
|
+
body = self.call("DescribeEvents", params, headers=headers)
|
524
|
+
response = json.loads(body)
|
525
|
+
model = models.DescribeEventsResponse()
|
526
|
+
model._deserialize(response["Response"])
|
527
|
+
return model
|
528
|
+
except Exception as e:
|
529
|
+
if isinstance(e, TencentCloudSDKException):
|
530
|
+
raise
|
531
|
+
else:
|
532
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
533
|
+
|
534
|
+
|
512
535
|
def DescribeInferTemplates(self, request):
|
513
536
|
"""已废弃,收敛到统一接口
|
514
537
|
|
@@ -128,6 +128,9 @@ FAILEDOPERATION_GETCLSMACHINEGROUPCONFIGS = 'FailedOperation.GetClsMachineGroupC
|
|
128
128
|
# 获取CLS日志主题失败。
|
129
129
|
FAILEDOPERATION_GETCLSTOPIC = 'FailedOperation.GetClsTopic'
|
130
130
|
|
131
|
+
# 获取集群失败
|
132
|
+
FAILEDOPERATION_GETCLUSTERFAILED = 'FailedOperation.GetClusterFailed'
|
133
|
+
|
131
134
|
# Kubernetes client建立失败。
|
132
135
|
FAILEDOPERATION_K8SCLIENTBUILDERROR = 'FailedOperation.K8sClientBuildError'
|
133
136
|
|
@@ -137,6 +140,9 @@ FAILEDOPERATION_KUBECLIENTCONF = 'FailedOperation.KubeClientConf'
|
|
137
140
|
# 连接用户Kubernetes集群失败。
|
138
141
|
FAILEDOPERATION_KUBECLIENTCONNECTION = 'FailedOperation.KubeClientConnection'
|
139
142
|
|
143
|
+
# 创建kube client失败
|
144
|
+
FAILEDOPERATION_KUBECLIENTCREATE = 'FailedOperation.KubeClientCreate'
|
145
|
+
|
140
146
|
# KubernetesAPI错误。
|
141
147
|
FAILEDOPERATION_KUBECOMMON = 'FailedOperation.KubeCommon'
|
142
148
|
|
@@ -2010,12 +2010,16 @@ class Disk(AbstractModel):
|
|
2010
2010
|
:type FileSystem: str
|
2011
2011
|
:param _MountTarget: 挂载目录
|
2012
2012
|
:type MountTarget: str
|
2013
|
+
:param _DiskId: 云盘ID
|
2014
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2015
|
+
:type DiskId: str
|
2013
2016
|
"""
|
2014
2017
|
self._DiskType = None
|
2015
2018
|
self._DiskSize = None
|
2016
2019
|
self._AutoFormatAndMount = None
|
2017
2020
|
self._FileSystem = None
|
2018
2021
|
self._MountTarget = None
|
2022
|
+
self._DiskId = None
|
2019
2023
|
|
2020
2024
|
@property
|
2021
2025
|
def DiskType(self):
|
@@ -2072,6 +2076,18 @@ class Disk(AbstractModel):
|
|
2072
2076
|
def MountTarget(self, MountTarget):
|
2073
2077
|
self._MountTarget = MountTarget
|
2074
2078
|
|
2079
|
+
@property
|
2080
|
+
def DiskId(self):
|
2081
|
+
"""云盘ID
|
2082
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2083
|
+
:rtype: str
|
2084
|
+
"""
|
2085
|
+
return self._DiskId
|
2086
|
+
|
2087
|
+
@DiskId.setter
|
2088
|
+
def DiskId(self, DiskId):
|
2089
|
+
self._DiskId = DiskId
|
2090
|
+
|
2075
2091
|
|
2076
2092
|
def _deserialize(self, params):
|
2077
2093
|
self._DiskType = params.get("DiskType")
|
@@ -2079,6 +2095,7 @@ class Disk(AbstractModel):
|
|
2079
2095
|
self._AutoFormatAndMount = params.get("AutoFormatAndMount")
|
2080
2096
|
self._FileSystem = params.get("FileSystem")
|
2081
2097
|
self._MountTarget = params.get("MountTarget")
|
2098
|
+
self._DiskId = params.get("DiskId")
|
2082
2099
|
memeber_set = set(params.keys())
|
2083
2100
|
for name, value in vars(self).items():
|
2084
2101
|
property_name = name[1:]
|
@@ -11377,14 +11377,29 @@ class ServerPushText(AbstractModel):
|
|
11377
11377
|
:param _StopAfterPlay: 播报完文本后,是否自动关闭对话任务
|
11378
11378
|
:type StopAfterPlay: bool
|
11379
11379
|
:param _Audio: 服务端推送播报音频
|
11380
|
-
|
11380
|
+
格式说明:音频必须为单声道,采样率必须跟对应TTS的采样率保持一致,编码为Base64字符串。
|
11381
11381
|
输入规则:当提供Audio字段时,将不接受Text字段的输入。系统将直接播放Audio字段中的音频内容。
|
11382
11382
|
:type Audio: str
|
11383
|
+
:param _DropMode: 默认为0,仅在Interrupt为false时有效
|
11384
|
+
- 0表示当前有交互发生时,会丢弃Interrupt为false的消息
|
11385
|
+
- 1表示当前有交互发生时,不会丢弃Interrupt为false的消息,而是缓存下来,等待当前交互结束后,再去处理
|
11386
|
+
|
11387
|
+
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空
|
11388
|
+
:type DropMode: int
|
11389
|
+
:param _Priority: ServerPushText消息的优先级,0表示可被打断,1表示不会被打断。**目前仅支持传入0,如果需要传入1,请提工单联系我们添加权限。**
|
11390
|
+
注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。
|
11391
|
+
例子:
|
11392
|
+
- Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
|
11393
|
+
- Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
|
11394
|
+
|
11395
|
+
:type Priority: int
|
11383
11396
|
"""
|
11384
11397
|
self._Text = None
|
11385
11398
|
self._Interrupt = None
|
11386
11399
|
self._StopAfterPlay = None
|
11387
11400
|
self._Audio = None
|
11401
|
+
self._DropMode = None
|
11402
|
+
self._Priority = None
|
11388
11403
|
|
11389
11404
|
@property
|
11390
11405
|
def Text(self):
|
@@ -11422,7 +11437,7 @@ class ServerPushText(AbstractModel):
|
|
11422
11437
|
@property
|
11423
11438
|
def Audio(self):
|
11424
11439
|
"""服务端推送播报音频
|
11425
|
-
|
11440
|
+
格式说明:音频必须为单声道,采样率必须跟对应TTS的采样率保持一致,编码为Base64字符串。
|
11426
11441
|
输入规则:当提供Audio字段时,将不接受Text字段的输入。系统将直接播放Audio字段中的音频内容。
|
11427
11442
|
:rtype: str
|
11428
11443
|
"""
|
@@ -11432,12 +11447,45 @@ class ServerPushText(AbstractModel):
|
|
11432
11447
|
def Audio(self, Audio):
|
11433
11448
|
self._Audio = Audio
|
11434
11449
|
|
11450
|
+
@property
|
11451
|
+
def DropMode(self):
|
11452
|
+
"""默认为0,仅在Interrupt为false时有效
|
11453
|
+
- 0表示当前有交互发生时,会丢弃Interrupt为false的消息
|
11454
|
+
- 1表示当前有交互发生时,不会丢弃Interrupt为false的消息,而是缓存下来,等待当前交互结束后,再去处理
|
11455
|
+
|
11456
|
+
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空
|
11457
|
+
:rtype: int
|
11458
|
+
"""
|
11459
|
+
return self._DropMode
|
11460
|
+
|
11461
|
+
@DropMode.setter
|
11462
|
+
def DropMode(self, DropMode):
|
11463
|
+
self._DropMode = DropMode
|
11464
|
+
|
11465
|
+
@property
|
11466
|
+
def Priority(self):
|
11467
|
+
"""ServerPushText消息的优先级,0表示可被打断,1表示不会被打断。**目前仅支持传入0,如果需要传入1,请提工单联系我们添加权限。**
|
11468
|
+
注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。
|
11469
|
+
例子:
|
11470
|
+
- Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
|
11471
|
+
- Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
|
11472
|
+
|
11473
|
+
:rtype: int
|
11474
|
+
"""
|
11475
|
+
return self._Priority
|
11476
|
+
|
11477
|
+
@Priority.setter
|
11478
|
+
def Priority(self, Priority):
|
11479
|
+
self._Priority = Priority
|
11480
|
+
|
11435
11481
|
|
11436
11482
|
def _deserialize(self, params):
|
11437
11483
|
self._Text = params.get("Text")
|
11438
11484
|
self._Interrupt = params.get("Interrupt")
|
11439
11485
|
self._StopAfterPlay = params.get("StopAfterPlay")
|
11440
11486
|
self._Audio = params.get("Audio")
|
11487
|
+
self._DropMode = params.get("DropMode")
|
11488
|
+
self._Priority = params.get("Priority")
|
11441
11489
|
memeber_set = set(params.keys())
|
11442
11490
|
for name, value in vars(self).items():
|
11443
11491
|
property_name = name[1:]
|
@@ -95,6 +95,9 @@ INTERNALERROR_VPCFAILURE = 'InternalError.VPCFailure'
|
|
95
95
|
# 参数错误。
|
96
96
|
INVALIDPARAMETER = 'InvalidParameter'
|
97
97
|
|
98
|
+
# json转换失败
|
99
|
+
INVALIDPARAMETER_PARSEJSONERROR = 'InvalidParameter.ParseJsonError'
|
100
|
+
|
98
101
|
# 参数取值错误。
|
99
102
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
100
103
|
|
@@ -18968,6 +18968,9 @@ class GovernanceAlias(AbstractModel):
|
|
18968
18968
|
:type Id: str
|
18969
18969
|
:param _Editable: 该服务别名是否可以编辑
|
18970
18970
|
:type Editable: bool
|
18971
|
+
:param _Metadatas: 元数据信息
|
18972
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18973
|
+
:type Metadatas: list of Metadata
|
18971
18974
|
"""
|
18972
18975
|
self._Alias = None
|
18973
18976
|
self._AliasNamespace = None
|
@@ -18978,6 +18981,7 @@ class GovernanceAlias(AbstractModel):
|
|
18978
18981
|
self._ModifyTime = None
|
18979
18982
|
self._Id = None
|
18980
18983
|
self._Editable = None
|
18984
|
+
self._Metadatas = None
|
18981
18985
|
|
18982
18986
|
@property
|
18983
18987
|
def Alias(self):
|
@@ -19078,6 +19082,18 @@ class GovernanceAlias(AbstractModel):
|
|
19078
19082
|
def Editable(self, Editable):
|
19079
19083
|
self._Editable = Editable
|
19080
19084
|
|
19085
|
+
@property
|
19086
|
+
def Metadatas(self):
|
19087
|
+
"""元数据信息
|
19088
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
19089
|
+
:rtype: list of Metadata
|
19090
|
+
"""
|
19091
|
+
return self._Metadatas
|
19092
|
+
|
19093
|
+
@Metadatas.setter
|
19094
|
+
def Metadatas(self, Metadatas):
|
19095
|
+
self._Metadatas = Metadatas
|
19096
|
+
|
19081
19097
|
|
19082
19098
|
def _deserialize(self, params):
|
19083
19099
|
self._Alias = params.get("Alias")
|
@@ -19089,6 +19105,12 @@ class GovernanceAlias(AbstractModel):
|
|
19089
19105
|
self._ModifyTime = params.get("ModifyTime")
|
19090
19106
|
self._Id = params.get("Id")
|
19091
19107
|
self._Editable = params.get("Editable")
|
19108
|
+
if params.get("Metadatas") is not None:
|
19109
|
+
self._Metadatas = []
|
19110
|
+
for item in params.get("Metadatas"):
|
19111
|
+
obj = Metadata()
|
19112
|
+
obj._deserialize(item)
|
19113
|
+
self._Metadatas.append(obj)
|
19092
19114
|
memeber_set = set(params.keys())
|
19093
19115
|
for name, value in vars(self).items():
|
19094
19116
|
property_name = name[1:]
|
@@ -19995,6 +20017,9 @@ class GovernanceNamespace(AbstractModel):
|
|
19995
20017
|
:type ServiceExportTo: list of str
|
19996
20018
|
:param _SyncToGlobalRegistry: 是否开启同步到全局注册中心
|
19997
20019
|
:type SyncToGlobalRegistry: bool
|
20020
|
+
:param _Metadatas: 元数据
|
20021
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20022
|
+
:type Metadatas: list of Metadata
|
19998
20023
|
"""
|
19999
20024
|
self._Name = None
|
20000
20025
|
self._Comment = None
|
@@ -20011,6 +20036,7 @@ class GovernanceNamespace(AbstractModel):
|
|
20011
20036
|
self._RemoveGroupIds = None
|
20012
20037
|
self._ServiceExportTo = None
|
20013
20038
|
self._SyncToGlobalRegistry = None
|
20039
|
+
self._Metadatas = None
|
20014
20040
|
|
20015
20041
|
@property
|
20016
20042
|
def Name(self):
|
@@ -20177,6 +20203,18 @@ class GovernanceNamespace(AbstractModel):
|
|
20177
20203
|
def SyncToGlobalRegistry(self, SyncToGlobalRegistry):
|
20178
20204
|
self._SyncToGlobalRegistry = SyncToGlobalRegistry
|
20179
20205
|
|
20206
|
+
@property
|
20207
|
+
def Metadatas(self):
|
20208
|
+
"""元数据
|
20209
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20210
|
+
:rtype: list of Metadata
|
20211
|
+
"""
|
20212
|
+
return self._Metadatas
|
20213
|
+
|
20214
|
+
@Metadatas.setter
|
20215
|
+
def Metadatas(self, Metadatas):
|
20216
|
+
self._Metadatas = Metadatas
|
20217
|
+
|
20180
20218
|
|
20181
20219
|
def _deserialize(self, params):
|
20182
20220
|
self._Name = params.get("Name")
|
@@ -20194,6 +20232,12 @@ class GovernanceNamespace(AbstractModel):
|
|
20194
20232
|
self._RemoveGroupIds = params.get("RemoveGroupIds")
|
20195
20233
|
self._ServiceExportTo = params.get("ServiceExportTo")
|
20196
20234
|
self._SyncToGlobalRegistry = params.get("SyncToGlobalRegistry")
|
20235
|
+
if params.get("Metadatas") is not None:
|
20236
|
+
self._Metadatas = []
|
20237
|
+
for item in params.get("Metadatas"):
|
20238
|
+
obj = Metadata()
|
20239
|
+
obj._deserialize(item)
|
20240
|
+
self._Metadatas.append(obj)
|
20197
20241
|
memeber_set = set(params.keys())
|
20198
20242
|
for name, value in vars(self).items():
|
20199
20243
|
property_name = name[1:]
|
@@ -20691,6 +20735,9 @@ class GovernanceServiceContract(AbstractModel):
|
|
20691
20735
|
:type ModifyTime: str
|
20692
20736
|
:param _Interfaces: 契约接口列表
|
20693
20737
|
:type Interfaces: list of GovernanceInterfaceDescription
|
20738
|
+
:param _Metadatas: 元数据
|
20739
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20740
|
+
:type Metadatas: list of Metadata
|
20694
20741
|
"""
|
20695
20742
|
self._Name = None
|
20696
20743
|
self._Namespace = None
|
@@ -20703,6 +20750,7 @@ class GovernanceServiceContract(AbstractModel):
|
|
20703
20750
|
self._CreateTime = None
|
20704
20751
|
self._ModifyTime = None
|
20705
20752
|
self._Interfaces = None
|
20753
|
+
self._Metadatas = None
|
20706
20754
|
|
20707
20755
|
@property
|
20708
20756
|
def Name(self):
|
@@ -20825,6 +20873,18 @@ class GovernanceServiceContract(AbstractModel):
|
|
20825
20873
|
def Interfaces(self, Interfaces):
|
20826
20874
|
self._Interfaces = Interfaces
|
20827
20875
|
|
20876
|
+
@property
|
20877
|
+
def Metadatas(self):
|
20878
|
+
"""元数据
|
20879
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20880
|
+
:rtype: list of Metadata
|
20881
|
+
"""
|
20882
|
+
return self._Metadatas
|
20883
|
+
|
20884
|
+
@Metadatas.setter
|
20885
|
+
def Metadatas(self, Metadatas):
|
20886
|
+
self._Metadatas = Metadatas
|
20887
|
+
|
20828
20888
|
|
20829
20889
|
def _deserialize(self, params):
|
20830
20890
|
self._Name = params.get("Name")
|
@@ -20843,6 +20903,12 @@ class GovernanceServiceContract(AbstractModel):
|
|
20843
20903
|
obj = GovernanceInterfaceDescription()
|
20844
20904
|
obj._deserialize(item)
|
20845
20905
|
self._Interfaces.append(obj)
|
20906
|
+
if params.get("Metadatas") is not None:
|
20907
|
+
self._Metadatas = []
|
20908
|
+
for item in params.get("Metadatas"):
|
20909
|
+
obj = Metadata()
|
20910
|
+
obj._deserialize(item)
|
20911
|
+
self._Metadatas.append(obj)
|
20846
20912
|
memeber_set = set(params.keys())
|
20847
20913
|
for name, value in vars(self).items():
|
20848
20914
|
property_name = name[1:]
|
@@ -28470,6 +28536,14 @@ class SREInstance(AbstractModel):
|
|
28470
28536
|
:type ZookeeperRegionInfo: :class:`tencentcloud.tse.v20201207.models.ZookeeperRegionInfo`
|
28471
28537
|
:param _DeployMode: 部署架构
|
28472
28538
|
:type DeployMode: str
|
28539
|
+
:param _GlobalType: 全局属性
|
28540
|
+
:type GlobalType: str
|
28541
|
+
:param _GroupType: 所属组类型
|
28542
|
+
:type GroupType: str
|
28543
|
+
:param _GroupId: 组id
|
28544
|
+
:type GroupId: list of str
|
28545
|
+
:param _IsMainRegion: 是否为主地域
|
28546
|
+
:type IsMainRegion: bool
|
28473
28547
|
"""
|
28474
28548
|
self._InstanceId = None
|
28475
28549
|
self._Name = None
|
@@ -28507,6 +28581,10 @@ class SREInstance(AbstractModel):
|
|
28507
28581
|
self._StorageOption = None
|
28508
28582
|
self._ZookeeperRegionInfo = None
|
28509
28583
|
self._DeployMode = None
|
28584
|
+
self._GlobalType = None
|
28585
|
+
self._GroupType = None
|
28586
|
+
self._GroupId = None
|
28587
|
+
self._IsMainRegion = None
|
28510
28588
|
|
28511
28589
|
@property
|
28512
28590
|
def InstanceId(self):
|
@@ -28904,6 +28982,50 @@ class SREInstance(AbstractModel):
|
|
28904
28982
|
def DeployMode(self, DeployMode):
|
28905
28983
|
self._DeployMode = DeployMode
|
28906
28984
|
|
28985
|
+
@property
|
28986
|
+
def GlobalType(self):
|
28987
|
+
"""全局属性
|
28988
|
+
:rtype: str
|
28989
|
+
"""
|
28990
|
+
return self._GlobalType
|
28991
|
+
|
28992
|
+
@GlobalType.setter
|
28993
|
+
def GlobalType(self, GlobalType):
|
28994
|
+
self._GlobalType = GlobalType
|
28995
|
+
|
28996
|
+
@property
|
28997
|
+
def GroupType(self):
|
28998
|
+
"""所属组类型
|
28999
|
+
:rtype: str
|
29000
|
+
"""
|
29001
|
+
return self._GroupType
|
29002
|
+
|
29003
|
+
@GroupType.setter
|
29004
|
+
def GroupType(self, GroupType):
|
29005
|
+
self._GroupType = GroupType
|
29006
|
+
|
29007
|
+
@property
|
29008
|
+
def GroupId(self):
|
29009
|
+
"""组id
|
29010
|
+
:rtype: list of str
|
29011
|
+
"""
|
29012
|
+
return self._GroupId
|
29013
|
+
|
29014
|
+
@GroupId.setter
|
29015
|
+
def GroupId(self, GroupId):
|
29016
|
+
self._GroupId = GroupId
|
29017
|
+
|
29018
|
+
@property
|
29019
|
+
def IsMainRegion(self):
|
29020
|
+
"""是否为主地域
|
29021
|
+
:rtype: bool
|
29022
|
+
"""
|
29023
|
+
return self._IsMainRegion
|
29024
|
+
|
29025
|
+
@IsMainRegion.setter
|
29026
|
+
def IsMainRegion(self, IsMainRegion):
|
29027
|
+
self._IsMainRegion = IsMainRegion
|
29028
|
+
|
28907
29029
|
|
28908
29030
|
def _deserialize(self, params):
|
28909
29031
|
self._InstanceId = params.get("InstanceId")
|
@@ -28974,6 +29096,10 @@ class SREInstance(AbstractModel):
|
|
28974
29096
|
self._ZookeeperRegionInfo = ZookeeperRegionInfo()
|
28975
29097
|
self._ZookeeperRegionInfo._deserialize(params.get("ZookeeperRegionInfo"))
|
28976
29098
|
self._DeployMode = params.get("DeployMode")
|
29099
|
+
self._GlobalType = params.get("GlobalType")
|
29100
|
+
self._GroupType = params.get("GroupType")
|
29101
|
+
self._GroupId = params.get("GroupId")
|
29102
|
+
self._IsMainRegion = params.get("IsMainRegion")
|
28977
29103
|
memeber_set = set(params.keys())
|
28978
29104
|
for name, value in vars(self).items():
|
28979
29105
|
property_name = name[1:]
|
@@ -660,8 +660,8 @@ class TextToVoiceRequest(AbstractModel):
|
|
660
660
|
:type ProjectId: int
|
661
661
|
:param _ModelType: 模型类型,1-默认模型。
|
662
662
|
:type ModelType: int
|
663
|
-
:param _VoiceType: 音色 ID
|
664
|
-
|
663
|
+
:param _VoiceType: 音色 ID,包括标准音色、精品音色、大模型音色与基础版复刻音色。不同音色价格有差异,详情请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
|
664
|
+
|
665
665
|
:type VoiceType: int
|
666
666
|
:param _FastVoiceType: 一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
|
667
667
|
:type FastVoiceType: str
|
@@ -769,8 +769,8 @@ class TextToVoiceRequest(AbstractModel):
|
|
769
769
|
|
770
770
|
@property
|
771
771
|
def VoiceType(self):
|
772
|
-
"""音色 ID
|
773
|
-
|
772
|
+
"""音色 ID,包括标准音色、精品音色、大模型音色与基础版复刻音色。不同音色价格有差异,详情请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
|
773
|
+
|
774
774
|
:rtype: int
|
775
775
|
"""
|
776
776
|
return self._VoiceType
|
@@ -812,6 +812,9 @@ UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = 'UnsupportedOperation.Band
|
|
812
812
|
# 已绑定EIP。
|
813
813
|
UNSUPPORTEDOPERATION_BINDEIP = 'UnsupportedOperation.BindEIP'
|
814
814
|
|
815
|
+
# 资源在BPAAS审批中。
|
816
|
+
UNSUPPORTEDOPERATION_BPAASRESOURCES = 'UnsupportedOperation.BpaasResources'
|
817
|
+
|
815
818
|
# 添加 community 时,传播条件只支持 vpg 类型或 vpg 实例
|
816
819
|
UNSUPPORTEDOPERATION_BROADCASTCONDITIONMUSTBEVPGTYPEORVPGINSTANCE = 'UnsupportedOperation.BroadcastConditionMustBeVpgTypeOrVpgInstance'
|
817
820
|
|
@@ -941,6 +944,9 @@ UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = 'UnsupportedOperation.EcmpWithUserRoute
|
|
941
944
|
# 当前地域不支持启用组播。
|
942
945
|
UNSUPPORTEDOPERATION_ENABLEMULTICAST = 'UnsupportedOperation.EnableMulticast'
|
943
946
|
|
947
|
+
# 终端节点需要先解绑 GWLB EIP。
|
948
|
+
UNSUPPORTEDOPERATION_ENDPOINTHADGWLBEIPUNASSOCIATE = 'UnsupportedOperation.EndPointHadGwlbEipUnassociate'
|
949
|
+
|
944
950
|
# 终端节点和终端节点服务的CdcId不一致。
|
945
951
|
UNSUPPORTEDOPERATION_ENDPOINTMISMATCHENDPOINTSERVICECDCID = 'UnsupportedOperation.EndPointMismatchEndPointServiceCdcId'
|
946
952
|
|
@@ -980,6 +986,9 @@ UNSUPPORTEDOPERATION_INCORRECTADDRESSRESOURCETYPE = 'UnsupportedOperation.Incorr
|
|
980
986
|
# 用户配置的实例和路由表不匹配。
|
981
987
|
UNSUPPORTEDOPERATION_INSTANCEANDRTBNOTMATCH = 'UnsupportedOperation.InstanceAndRtbNotMatch'
|
982
988
|
|
989
|
+
# 实例在Havip漂移范围内,需要先解绑定关联。
|
990
|
+
UNSUPPORTEDOPERATION_INSTANCEASSOCIATEHAVIP = 'UnsupportedOperation.InstanceAssociateHavip'
|
991
|
+
|
983
992
|
# 当前云联网`%(value)s`的CdcId与传入实例的CdcId不一致,不支持关联。
|
984
993
|
UNSUPPORTEDOPERATION_INSTANCECDCIDNOTMATCHCCNCDCID = 'UnsupportedOperation.InstanceCdcIdNotMatchCcnCdcId'
|
985
994
|
|
@@ -1076,6 +1085,9 @@ UNSUPPORTEDOPERATION_NATGATEWAYTYPENOTSUPPORTSNAT = 'UnsupportedOperation.NatGat
|
|
1076
1085
|
# NAT实例不支持该操作。
|
1077
1086
|
UNSUPPORTEDOPERATION_NATNOTSUPPORTED = 'UnsupportedOperation.NatNotSupported'
|
1078
1087
|
|
1088
|
+
# 没有CDC专线网关。
|
1089
|
+
UNSUPPORTEDOPERATION_NOCDCDCGW = 'UnsupportedOperation.NoCdcDcGw'
|
1090
|
+
|
1079
1091
|
# 指定的子网不支持创建本地网关类型的路由。
|
1080
1092
|
UNSUPPORTEDOPERATION_NORMALSUBNETNOTSUPPORTLOCALGATEWAY = 'UnsupportedOperation.NormalSubnetNotSupportLocalGateway'
|
1081
1093
|
|
@@ -1184,6 +1196,9 @@ UNSUPPORTEDOPERATION_RESOURCEMISMATCH = 'UnsupportedOperation.ResourceMismatch'
|
|
1184
1196
|
# 未找到相关角色,请确认角色是否授权。
|
1185
1197
|
UNSUPPORTEDOPERATION_ROLENOTFOUND = 'UnsupportedOperation.RoleNotFound'
|
1186
1198
|
|
1199
|
+
# 只支持自研VPC创建或修改PVGW2类型路由。
|
1200
|
+
UNSUPPORTEDOPERATION_ROUTEPVGW2 = 'UnsupportedOperation.RoutePvgw2'
|
1201
|
+
|
1187
1202
|
# 当前路由表删除失败,请先检查是否存在关联的策略。
|
1188
1203
|
UNSUPPORTEDOPERATION_ROUTETABLECANNOTDELETE = 'UnsupportedOperation.RouteTableCanNotDelete'
|
1189
1204
|
|
@@ -1241,6 +1256,9 @@ UNSUPPORTEDOPERATION_SSLVPNCLIENTIDNOTFOUND = 'UnsupportedOperation.SslVpnClient
|
|
1241
1256
|
# 中继网卡不支持该操作。
|
1242
1257
|
UNSUPPORTEDOPERATION_SUBENINOTSUPPORTTRUNKING = 'UnsupportedOperation.SubEniNotSupportTrunking'
|
1243
1258
|
|
1259
|
+
# 子网与Vpc配置的CdcId不一致。
|
1260
|
+
UNSUPPORTEDOPERATION_SUBNETMISMATCHVPCCDCID = 'UnsupportedOperation.SubnetMismatchVpcCdcId'
|
1261
|
+
|
1244
1262
|
# 子网不存在。
|
1245
1263
|
UNSUPPORTEDOPERATION_SUBNETNOTEXISTS = 'UnsupportedOperation.SubnetNotExists'
|
1246
1264
|
|
@@ -20848,6 +20848,7 @@ class DeleteSecurityGroupPoliciesRequest(AbstractModel):
|
|
20848
20848
|
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
20849
20849
|
:type SecurityGroupId: str
|
20850
20850
|
:param _SecurityGroupPolicySet: 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
20851
|
+
使用安全组规则匹配删除时,需要填写`Action`, `Protocol`, `CidrBlock`, `Port`参数。
|
20851
20852
|
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
20852
20853
|
"""
|
20853
20854
|
self._SecurityGroupId = None
|
@@ -20867,6 +20868,7 @@ class DeleteSecurityGroupPoliciesRequest(AbstractModel):
|
|
20867
20868
|
@property
|
20868
20869
|
def SecurityGroupPolicySet(self):
|
20869
20870
|
"""安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
20871
|
+
使用安全组规则匹配删除时,需要填写`Action`, `Protocol`, `CidrBlock`, `Port`参数。
|
20870
20872
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
20871
20873
|
"""
|
20872
20874
|
return self._SecurityGroupPolicySet
|
@@ -59915,7 +59917,7 @@ class ReplaceSecurityGroupPoliciesRequest(AbstractModel):
|
|
59915
59917
|
|
59916
59918
|
def __init__(self):
|
59917
59919
|
r"""
|
59918
|
-
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
59920
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
59919
59921
|
:type SecurityGroupId: str
|
59920
59922
|
:param _SecurityGroupPolicySet: 安全组规则集合对象。
|
59921
59923
|
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
@@ -59928,7 +59930,7 @@ class ReplaceSecurityGroupPoliciesRequest(AbstractModel):
|
|
59928
59930
|
|
59929
59931
|
@property
|
59930
59932
|
def SecurityGroupId(self):
|
59931
|
-
"""安全组实例ID,例如sg-33ocnj9n
|
59933
|
+
"""安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
59932
59934
|
:rtype: str
|
59933
59935
|
"""
|
59934
59936
|
return self._SecurityGroupId
|
@@ -3063,7 +3063,7 @@ class VpcClient(AbstractClient):
|
|
3063
3063
|
|
3064
3064
|
|
3065
3065
|
def DeleteSecurityGroupPolicies(self, request):
|
3066
|
-
"""本接口(DeleteSecurityGroupPolicies
|
3066
|
+
"""本接口(DeleteSecurityGroupPolicies)用于删除安全组规则(SecurityGroupPolicy)。
|
3067
3067
|
* SecurityGroupPolicySet.Version 用于指定要操作的安全组的版本。传入 Version 版本号若不等于当前安全组的最新版本,将返回失败;若不传 Version 则直接删除指定PolicyIndex的规则。
|
3068
3068
|
|
3069
3069
|
:param request: Request instance for DeleteSecurityGroupPolicies.
|