tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1339__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/autoscaling/v20180419/models.py +64 -112
- tencentcloud/bh/v20230418/bh_client.py +23 -0
- tencentcloud/bh/v20230418/models.py +342 -0
- tencentcloud/cdwch/v20200915/models.py +15 -0
- tencentcloud/cfg/v20210820/models.py +30 -6
- tencentcloud/cmq/v20190304/models.py +0 -90
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +2 -358
- tencentcloud/domain/v20180808/models.py +0 -124
- tencentcloud/dsgc/v20190723/models.py +8 -0
- tencentcloud/dts/v20180330/models.py +0 -2
- tencentcloud/dts/v20211206/models.py +0 -328
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +431 -0
- tencentcloud/es/v20180416/models.py +17 -0
- tencentcloud/fmu/v20191213/errorcodes.py +0 -21
- tencentcloud/fmu/v20191213/fmu_client.py +0 -75
- tencentcloud/fmu/v20191213/models.py +0 -527
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +0 -50
- tencentcloud/iotexplorer/v20190423/models.py +0 -491
- tencentcloud/iss/v20230517/models.py +15 -534
- tencentcloud/kms/v20190118/models.py +30 -0
- tencentcloud/lcic/v20220817/lcic_client.py +46 -0
- tencentcloud/lcic/v20220817/models.py +188 -0
- tencentcloud/mongodb/v20190725/models.py +109 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +0 -2
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +506 -0
- tencentcloud/svp/v20240125/svp_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +39 -8
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +85 -14
- tencentcloud/tsf/v20180326/tsf_client.py +23 -0
- tencentcloud/vpc/v20170312/models.py +100 -0
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +654 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1339.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1339.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1339.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1339.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1339.dist-info}/top_level.txt +0 -0
@@ -199,6 +199,14 @@ class AgentConfig(AbstractModel):
|
|
199
199
|
:type FilterOneWord: bool
|
200
200
|
:param _WelcomeMessagePriority: 欢迎消息优先级,0默认,1高优,高优不能被打断。
|
201
201
|
:type WelcomeMessagePriority: int
|
202
|
+
:param _FilterBracketsContent: 用于过滤LLM返回内容,不播放括号中的内容。
|
203
|
+
1:中文括号()
|
204
|
+
2:英文括号()
|
205
|
+
3:中文方括号【】
|
206
|
+
4:英文方括号[]
|
207
|
+
5:英文花括号{}
|
208
|
+
默认值为空,表示不进行过滤。
|
209
|
+
:type FilterBracketsContent: int
|
202
210
|
"""
|
203
211
|
self._UserId = None
|
204
212
|
self._UserSig = None
|
@@ -210,6 +218,7 @@ class AgentConfig(AbstractModel):
|
|
210
218
|
self._TurnDetectionMode = None
|
211
219
|
self._FilterOneWord = None
|
212
220
|
self._WelcomeMessagePriority = None
|
221
|
+
self._FilterBracketsContent = None
|
213
222
|
|
214
223
|
@property
|
215
224
|
def UserId(self):
|
@@ -323,6 +332,23 @@ class AgentConfig(AbstractModel):
|
|
323
332
|
def WelcomeMessagePriority(self, WelcomeMessagePriority):
|
324
333
|
self._WelcomeMessagePriority = WelcomeMessagePriority
|
325
334
|
|
335
|
+
@property
|
336
|
+
def FilterBracketsContent(self):
|
337
|
+
"""用于过滤LLM返回内容,不播放括号中的内容。
|
338
|
+
1:中文括号()
|
339
|
+
2:英文括号()
|
340
|
+
3:中文方括号【】
|
341
|
+
4:英文方括号[]
|
342
|
+
5:英文花括号{}
|
343
|
+
默认值为空,表示不进行过滤。
|
344
|
+
:rtype: int
|
345
|
+
"""
|
346
|
+
return self._FilterBracketsContent
|
347
|
+
|
348
|
+
@FilterBracketsContent.setter
|
349
|
+
def FilterBracketsContent(self, FilterBracketsContent):
|
350
|
+
self._FilterBracketsContent = FilterBracketsContent
|
351
|
+
|
326
352
|
|
327
353
|
def _deserialize(self, params):
|
328
354
|
self._UserId = params.get("UserId")
|
@@ -335,6 +361,7 @@ class AgentConfig(AbstractModel):
|
|
335
361
|
self._TurnDetectionMode = params.get("TurnDetectionMode")
|
336
362
|
self._FilterOneWord = params.get("FilterOneWord")
|
337
363
|
self._WelcomeMessagePriority = params.get("WelcomeMessagePriority")
|
364
|
+
self._FilterBracketsContent = params.get("FilterBracketsContent")
|
338
365
|
memeber_set = set(params.keys())
|
339
366
|
for name, value in vars(self).items():
|
340
367
|
property_name = name[1:]
|
@@ -10822,8 +10849,8 @@ class STTConfig(AbstractModel):
|
|
10822
10849
|
语音转文本不同套餐版本支持的语言如下:
|
10823
10850
|
|
10824
10851
|
**基础版**:
|
10825
|
-
- "zh":
|
10826
|
-
- "zh-TW":
|
10852
|
+
- "zh": 中文(简体)
|
10853
|
+
- "zh-TW": 中文(繁体)
|
10827
10854
|
- "en": 英语
|
10828
10855
|
|
10829
10856
|
**标准版:**
|
@@ -10885,8 +10912,8 @@ class STTConfig(AbstractModel):
|
|
10885
10912
|
语音转文本不同套餐版本支持的语言如下:
|
10886
10913
|
|
10887
10914
|
**基础版**:
|
10888
|
-
- "zh":
|
10889
|
-
- "zh-TW":
|
10915
|
+
- "zh": 中文(简体)
|
10916
|
+
- "zh-TW": 中文(繁体)
|
10890
10917
|
- "en": 英语
|
10891
10918
|
|
10892
10919
|
**标准版:**
|
@@ -11613,7 +11640,7 @@ class StartAIConversationRequest(AbstractModel):
|
|
11613
11640
|
|
11614
11641
|
:type LLMConfig: str
|
11615
11642
|
:param _TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下:
|
11616
|
-
<pre>{ <br>   "AppId": 您的应用ID, // Integer 必填<br>   "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br>   "SecretId": "您的密钥ID", // String 必填<br>   "SecretKey": "您的密钥Key", // String 必填<br>   "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br>   "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br>   "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br>  
|
11643
|
+
<pre>{ <br>   "AppId": 您的应用ID, // Integer 必填<br>   "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br>   "SecretId": "您的密钥ID", // String 必填<br>   "SecretKey": "您的密钥Key", // String 必填<br>   "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br>   "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br>   "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br>  }</pre>
|
11617
11644
|
:type TTSConfig: str
|
11618
11645
|
:param _AvatarConfig: 数字人配置,为JSON字符串。**数字人配置需要提工单加白后才能使用**
|
11619
11646
|
:type AvatarConfig: str
|
@@ -11710,7 +11737,7 @@ class StartAIConversationRequest(AbstractModel):
|
|
11710
11737
|
@property
|
11711
11738
|
def TTSConfig(self):
|
11712
11739
|
"""TTS配置,为JSON字符串,腾讯云TTS示例如下:
|
11713
|
-
<pre>{ <br>   "AppId": 您的应用ID, // Integer 必填<br>   "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br>   "SecretId": "您的密钥ID", // String 必填<br>   "SecretKey": "您的密钥Key", // String 必填<br>   "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br>   "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br>   "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br>  
|
11740
|
+
<pre>{ <br>   "AppId": 您的应用ID, // Integer 必填<br>   "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br>   "SecretId": "您的密钥ID", // String 必填<br>   "SecretKey": "您的密钥Key", // String 必填<br>   "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br>   "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br>   "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br>  }</pre>
|
11714
11741
|
:rtype: str
|
11715
11742
|
"""
|
11716
11743
|
return self._TTSConfig
|
@@ -12276,6 +12303,7 @@ class StartPublishCdnStreamRequest(AbstractModel):
|
|
12276
12303
|
:param _AgentParams: 转推服务加入TRTC房间的机器人参数。
|
12277
12304
|
:type AgentParams: :class:`tencentcloud.trtc.v20190722.models.AgentParams`
|
12278
12305
|
:param _WithTranscoding: 是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转码费用。
|
12306
|
+
注:混流是必须转码,这个参数需设置为1。
|
12279
12307
|
:type WithTranscoding: int
|
12280
12308
|
:param _AudioParams: 转推流的音频编码参数。由于音频是必转码的(不会收取转码费用),所以启动任务的时候,必须填写。
|
12281
12309
|
:type AudioParams: :class:`tencentcloud.trtc.v20190722.models.McuAudioParams`
|
@@ -12352,6 +12380,7 @@ class StartPublishCdnStreamRequest(AbstractModel):
|
|
12352
12380
|
@property
|
12353
12381
|
def WithTranscoding(self):
|
12354
12382
|
"""是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转码费用。
|
12383
|
+
注:混流是必须转码,这个参数需设置为1。
|
12355
12384
|
:rtype: int
|
12356
12385
|
"""
|
12357
12386
|
return self._WithTranscoding
|
@@ -14565,6 +14594,7 @@ class UpdatePublishCdnStreamRequest(AbstractModel):
|
|
14565
14594
|
:param _SequenceNumber: 客户保证同一个任务,每次更新请求中的SequenceNumber递增,防止请求乱序。
|
14566
14595
|
:type SequenceNumber: int
|
14567
14596
|
:param _WithTranscoding: 是否转码,0表示无需转码,1表示需要转码。
|
14597
|
+
注:混流是必须转码,这个参数需设置为1。
|
14568
14598
|
:type WithTranscoding: int
|
14569
14599
|
:param _AudioParams: 更新相关参数,只支持更新参与混音的主播列表参数,不支持更新Codec、采样率、码率和声道数。不填表示不更新此参数。
|
14570
14600
|
:type AudioParams: :class:`tencentcloud.trtc.v20190722.models.McuAudioParams`
|
@@ -14626,6 +14656,7 @@ class UpdatePublishCdnStreamRequest(AbstractModel):
|
|
14626
14656
|
@property
|
14627
14657
|
def WithTranscoding(self):
|
14628
14658
|
"""是否转码,0表示无需转码,1表示需要转码。
|
14659
|
+
注:混流是必须转码,这个参数需设置为1。
|
14629
14660
|
:rtype: int
|
14630
14661
|
"""
|
14631
14662
|
return self._WithTranscoding
|
@@ -15125,7 +15156,7 @@ class VideoEncode(AbstractModel):
|
|
15125
15156
|
r"""
|
15126
15157
|
:param _Width: 输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。
|
15127
15158
|
:type Width: int
|
15128
|
-
:param _Height: 输出流高,音视频输出时必填。取值范围[0,
|
15159
|
+
:param _Height: 输出流高,音视频输出时必填。取值范围[0,1920],单位为像素值。
|
15129
15160
|
:type Height: int
|
15130
15161
|
:param _Fps: 输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。
|
15131
15162
|
:type Fps: int
|
@@ -15153,7 +15184,7 @@ class VideoEncode(AbstractModel):
|
|
15153
15184
|
|
15154
15185
|
@property
|
15155
15186
|
def Height(self):
|
15156
|
-
"""输出流高,音视频输出时必填。取值范围[0,
|
15187
|
+
"""输出流高,音视频输出时必填。取值范围[0,1920],单位为像素值。
|
15157
15188
|
:rtype: int
|
15158
15189
|
"""
|
15159
15190
|
return self._Height
|
@@ -305,6 +305,9 @@ FAILEDOPERATION_TSFCMONITORCTSDBCLIENTREQUESTFAIL = 'FailedOperation.TsfCmonitor
|
|
305
305
|
# TSF监控统计等待超时, 请稍后重试。
|
306
306
|
FAILEDOPERATION_TSFMONITORWAITEDTIMEOUT = 'FailedOperation.TsfMonitorWaitedTimeout'
|
307
307
|
|
308
|
+
# TSF服务管理通用异常。
|
309
|
+
FAILEDOPERATION_TSFMSERROR = 'FailedOperation.TsfMsError'
|
310
|
+
|
308
311
|
# 调用ms server失败。
|
309
312
|
FAILEDOPERATION_TSFMSSERVERERROR = 'FailedOperation.TsfMsServerError'
|
310
313
|
|
@@ -452,6 +455,9 @@ INTERNALERROR_TSFMONITORDATEPARSEFAILED = 'InternalError.TsfMonitorDateParseFail
|
|
452
455
|
# TSF监控统计内部异常, 请稍后重试。
|
453
456
|
INTERNALERROR_TSFMONITORINTERNALERROR = 'InternalError.TsfMonitorInternalError'
|
454
457
|
|
458
|
+
# TSF服务管理通用异常。
|
459
|
+
INTERNALERROR_TSFMSERROR = 'InternalError.TsfMsError'
|
460
|
+
|
455
461
|
# [%s]模块未处理异常。。
|
456
462
|
INTERNALERROR_UNHANDLEDEXCEPTION = 'InternalError.UnhandledException'
|
457
463
|
|
@@ -9779,12 +9779,7 @@ class CreateApplicationRequest(AbstractModel):
|
|
9779
9779
|
:type ProgramIdList: list of str
|
9780
9780
|
:param _ApmInstanceId: apm业务系统id
|
9781
9781
|
:type ApmInstanceId: str
|
9782
|
-
:param _ProgramLanguage:
|
9783
|
-
J - JAVA;
|
9784
|
-
C - C/C++;
|
9785
|
-
P - Python;
|
9786
|
-
G - Go;
|
9787
|
-
O - Other;
|
9782
|
+
:param _ProgramLanguage: 编程语言: Java;C/C++;Python;Go;Other
|
9788
9783
|
:type ProgramLanguage: str
|
9789
9784
|
:param _FrameworkType: 开发框架-SpringCloud/Dubbo/Go-GRPC/Other
|
9790
9785
|
:type FrameworkType: str
|
@@ -9944,12 +9939,7 @@ O - Other;
|
|
9944
9939
|
|
9945
9940
|
@property
|
9946
9941
|
def ProgramLanguage(self):
|
9947
|
-
"""
|
9948
|
-
J - JAVA;
|
9949
|
-
C - C/C++;
|
9950
|
-
P - Python;
|
9951
|
-
G - Go;
|
9952
|
-
O - Other;
|
9942
|
+
"""编程语言: Java;C/C++;Python;Go;Other
|
9953
9943
|
:rtype: str
|
9954
9944
|
"""
|
9955
9945
|
return self._ProgramLanguage
|
@@ -26243,6 +26233,87 @@ class DescribeMicroserviceResponse(AbstractModel):
|
|
26243
26233
|
self._RequestId = params.get("RequestId")
|
26244
26234
|
|
26245
26235
|
|
26236
|
+
class DescribeMicroservicesByGroupIdsRequest(AbstractModel):
|
26237
|
+
"""DescribeMicroservicesByGroupIds请求参数结构体
|
26238
|
+
|
26239
|
+
"""
|
26240
|
+
|
26241
|
+
def __init__(self):
|
26242
|
+
r"""
|
26243
|
+
:param _GroupIds: 部署组ID列表
|
26244
|
+
:type GroupIds: list of str
|
26245
|
+
"""
|
26246
|
+
self._GroupIds = None
|
26247
|
+
|
26248
|
+
@property
|
26249
|
+
def GroupIds(self):
|
26250
|
+
"""部署组ID列表
|
26251
|
+
:rtype: list of str
|
26252
|
+
"""
|
26253
|
+
return self._GroupIds
|
26254
|
+
|
26255
|
+
@GroupIds.setter
|
26256
|
+
def GroupIds(self, GroupIds):
|
26257
|
+
self._GroupIds = GroupIds
|
26258
|
+
|
26259
|
+
|
26260
|
+
def _deserialize(self, params):
|
26261
|
+
self._GroupIds = params.get("GroupIds")
|
26262
|
+
memeber_set = set(params.keys())
|
26263
|
+
for name, value in vars(self).items():
|
26264
|
+
property_name = name[1:]
|
26265
|
+
if property_name in memeber_set:
|
26266
|
+
memeber_set.remove(property_name)
|
26267
|
+
if len(memeber_set) > 0:
|
26268
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26269
|
+
|
26270
|
+
|
26271
|
+
|
26272
|
+
class DescribeMicroservicesByGroupIdsResponse(AbstractModel):
|
26273
|
+
"""DescribeMicroservicesByGroupIds返回参数结构体
|
26274
|
+
|
26275
|
+
"""
|
26276
|
+
|
26277
|
+
def __init__(self):
|
26278
|
+
r"""
|
26279
|
+
:param _Result: 微服务信息分页列表
|
26280
|
+
:type Result: :class:`tencentcloud.tsf.v20180326.models.TsfPageMicroservice`
|
26281
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26282
|
+
:type RequestId: str
|
26283
|
+
"""
|
26284
|
+
self._Result = None
|
26285
|
+
self._RequestId = None
|
26286
|
+
|
26287
|
+
@property
|
26288
|
+
def Result(self):
|
26289
|
+
"""微服务信息分页列表
|
26290
|
+
:rtype: :class:`tencentcloud.tsf.v20180326.models.TsfPageMicroservice`
|
26291
|
+
"""
|
26292
|
+
return self._Result
|
26293
|
+
|
26294
|
+
@Result.setter
|
26295
|
+
def Result(self, Result):
|
26296
|
+
self._Result = Result
|
26297
|
+
|
26298
|
+
@property
|
26299
|
+
def RequestId(self):
|
26300
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26301
|
+
:rtype: str
|
26302
|
+
"""
|
26303
|
+
return self._RequestId
|
26304
|
+
|
26305
|
+
@RequestId.setter
|
26306
|
+
def RequestId(self, RequestId):
|
26307
|
+
self._RequestId = RequestId
|
26308
|
+
|
26309
|
+
|
26310
|
+
def _deserialize(self, params):
|
26311
|
+
if params.get("Result") is not None:
|
26312
|
+
self._Result = TsfPageMicroservice()
|
26313
|
+
self._Result._deserialize(params.get("Result"))
|
26314
|
+
self._RequestId = params.get("RequestId")
|
26315
|
+
|
26316
|
+
|
26246
26317
|
class DescribeMicroservicesRequest(AbstractModel):
|
26247
26318
|
"""DescribeMicroservices请求参数结构体
|
26248
26319
|
|
@@ -47512,7 +47583,7 @@ class ServiceGovernanceConfig(AbstractModel):
|
|
47512
47583
|
r"""
|
47513
47584
|
:param _EnableGovernance: 是否开启服务注册治理
|
47514
47585
|
:type EnableGovernance: bool
|
47515
|
-
:param _GovernanceType:
|
47586
|
+
:param _GovernanceType: 服务治理类型(枚举:SHARE、EXCLUSIVE)
|
47516
47587
|
:type GovernanceType: str
|
47517
47588
|
:param _ExclusiveInstances: 独享实例列表
|
47518
47589
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -47535,7 +47606,7 @@ class ServiceGovernanceConfig(AbstractModel):
|
|
47535
47606
|
|
47536
47607
|
@property
|
47537
47608
|
def GovernanceType(self):
|
47538
|
-
"""
|
47609
|
+
"""服务治理类型(枚举:SHARE、EXCLUSIVE)
|
47539
47610
|
:rtype: str
|
47540
47611
|
"""
|
47541
47612
|
return self._GovernanceType
|
@@ -2885,6 +2885,29 @@ class TsfClient(AbstractClient):
|
|
2885
2885
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2886
2886
|
|
2887
2887
|
|
2888
|
+
def DescribeMicroservicesByGroupIds(self, request):
|
2889
|
+
"""通过部署组ID获取微服务
|
2890
|
+
|
2891
|
+
:param request: Request instance for DescribeMicroservicesByGroupIds.
|
2892
|
+
:type request: :class:`tencentcloud.tsf.v20180326.models.DescribeMicroservicesByGroupIdsRequest`
|
2893
|
+
:rtype: :class:`tencentcloud.tsf.v20180326.models.DescribeMicroservicesByGroupIdsResponse`
|
2894
|
+
|
2895
|
+
"""
|
2896
|
+
try:
|
2897
|
+
params = request._serialize()
|
2898
|
+
headers = request.headers
|
2899
|
+
body = self.call("DescribeMicroservicesByGroupIds", params, headers=headers)
|
2900
|
+
response = json.loads(body)
|
2901
|
+
model = models.DescribeMicroservicesByGroupIdsResponse()
|
2902
|
+
model._deserialize(response["Response"])
|
2903
|
+
return model
|
2904
|
+
except Exception as e:
|
2905
|
+
if isinstance(e, TencentCloudSDKException):
|
2906
|
+
raise
|
2907
|
+
else:
|
2908
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2909
|
+
|
2910
|
+
|
2888
2911
|
def DescribeMsApiList(self, request):
|
2889
2912
|
"""查询服务API列表
|
2890
2913
|
|
@@ -7742,6 +7742,106 @@ class CheckDefaultSubnetResponse(AbstractModel):
|
|
7742
7742
|
self._RequestId = params.get("RequestId")
|
7743
7743
|
|
7744
7744
|
|
7745
|
+
class CheckGatewayFlowMonitorRequest(AbstractModel):
|
7746
|
+
"""CheckGatewayFlowMonitor请求参数结构体
|
7747
|
+
|
7748
|
+
"""
|
7749
|
+
|
7750
|
+
def __init__(self):
|
7751
|
+
r"""
|
7752
|
+
:param _GatewayId: 网关实例ID,目前我们支持的网关实例类型有,
|
7753
|
+
专线网关实例ID,形如,`dcg-ltjahce6`;
|
7754
|
+
Nat网关实例ID,形如,`nat-ltjahce6`;
|
7755
|
+
VPN网关实例ID,形如,`vpn-ltjahce6`。
|
7756
|
+
:type GatewayId: str
|
7757
|
+
"""
|
7758
|
+
self._GatewayId = None
|
7759
|
+
|
7760
|
+
@property
|
7761
|
+
def GatewayId(self):
|
7762
|
+
"""网关实例ID,目前我们支持的网关实例类型有,
|
7763
|
+
专线网关实例ID,形如,`dcg-ltjahce6`;
|
7764
|
+
Nat网关实例ID,形如,`nat-ltjahce6`;
|
7765
|
+
VPN网关实例ID,形如,`vpn-ltjahce6`。
|
7766
|
+
:rtype: str
|
7767
|
+
"""
|
7768
|
+
return self._GatewayId
|
7769
|
+
|
7770
|
+
@GatewayId.setter
|
7771
|
+
def GatewayId(self, GatewayId):
|
7772
|
+
self._GatewayId = GatewayId
|
7773
|
+
|
7774
|
+
|
7775
|
+
def _deserialize(self, params):
|
7776
|
+
self._GatewayId = params.get("GatewayId")
|
7777
|
+
memeber_set = set(params.keys())
|
7778
|
+
for name, value in vars(self).items():
|
7779
|
+
property_name = name[1:]
|
7780
|
+
if property_name in memeber_set:
|
7781
|
+
memeber_set.remove(property_name)
|
7782
|
+
if len(memeber_set) > 0:
|
7783
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7784
|
+
|
7785
|
+
|
7786
|
+
|
7787
|
+
class CheckGatewayFlowMonitorResponse(AbstractModel):
|
7788
|
+
"""CheckGatewayFlowMonitor返回参数结构体
|
7789
|
+
|
7790
|
+
"""
|
7791
|
+
|
7792
|
+
def __init__(self):
|
7793
|
+
r"""
|
7794
|
+
:param _Enabled: 网关是否启用了流控。true为启用,false未启用。
|
7795
|
+
:type Enabled: bool
|
7796
|
+
:param _Bandwidth: 网关的带宽。
|
7797
|
+
:type Bandwidth: int
|
7798
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7799
|
+
:type RequestId: str
|
7800
|
+
"""
|
7801
|
+
self._Enabled = None
|
7802
|
+
self._Bandwidth = None
|
7803
|
+
self._RequestId = None
|
7804
|
+
|
7805
|
+
@property
|
7806
|
+
def Enabled(self):
|
7807
|
+
"""网关是否启用了流控。true为启用,false未启用。
|
7808
|
+
:rtype: bool
|
7809
|
+
"""
|
7810
|
+
return self._Enabled
|
7811
|
+
|
7812
|
+
@Enabled.setter
|
7813
|
+
def Enabled(self, Enabled):
|
7814
|
+
self._Enabled = Enabled
|
7815
|
+
|
7816
|
+
@property
|
7817
|
+
def Bandwidth(self):
|
7818
|
+
"""网关的带宽。
|
7819
|
+
:rtype: int
|
7820
|
+
"""
|
7821
|
+
return self._Bandwidth
|
7822
|
+
|
7823
|
+
@Bandwidth.setter
|
7824
|
+
def Bandwidth(self, Bandwidth):
|
7825
|
+
self._Bandwidth = Bandwidth
|
7826
|
+
|
7827
|
+
@property
|
7828
|
+
def RequestId(self):
|
7829
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7830
|
+
:rtype: str
|
7831
|
+
"""
|
7832
|
+
return self._RequestId
|
7833
|
+
|
7834
|
+
@RequestId.setter
|
7835
|
+
def RequestId(self, RequestId):
|
7836
|
+
self._RequestId = RequestId
|
7837
|
+
|
7838
|
+
|
7839
|
+
def _deserialize(self, params):
|
7840
|
+
self._Enabled = params.get("Enabled")
|
7841
|
+
self._Bandwidth = params.get("Bandwidth")
|
7842
|
+
self._RequestId = params.get("RequestId")
|
7843
|
+
|
7844
|
+
|
7745
7845
|
class CheckNetDetectStateRequest(AbstractModel):
|
7746
7846
|
"""CheckNetDetectState请求参数结构体
|
7747
7847
|
|
@@ -725,6 +725,29 @@ class VpcClient(AbstractClient):
|
|
725
725
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
726
726
|
|
727
727
|
|
728
|
+
def CheckGatewayFlowMonitor(self, request):
|
729
|
+
"""本接口(CheckGatewayFlowMonitor)用于查询网关是否启用流量监控。
|
730
|
+
|
731
|
+
:param request: Request instance for CheckGatewayFlowMonitor.
|
732
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.CheckGatewayFlowMonitorRequest`
|
733
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.CheckGatewayFlowMonitorResponse`
|
734
|
+
|
735
|
+
"""
|
736
|
+
try:
|
737
|
+
params = request._serialize()
|
738
|
+
headers = request.headers
|
739
|
+
body = self.call("CheckGatewayFlowMonitor", params, headers=headers)
|
740
|
+
response = json.loads(body)
|
741
|
+
model = models.CheckGatewayFlowMonitorResponse()
|
742
|
+
model._deserialize(response["Response"])
|
743
|
+
return model
|
744
|
+
except Exception as e:
|
745
|
+
if isinstance(e, TencentCloudSDKException):
|
746
|
+
raise
|
747
|
+
else:
|
748
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
749
|
+
|
750
|
+
|
728
751
|
def CheckNetDetectState(self, request):
|
729
752
|
"""本接口(CheckNetDetectState)用于验证网络探测。
|
730
753
|
|