tencentcloud-sdk-python 3.0.1159__py2.py3-none-any.whl → 3.0.1161__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.
Files changed (32) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/antiddos/v20200309/models.py +25 -0
  3. tencentcloud/cdb/v20170320/models.py +128 -0
  4. tencentcloud/domain/v20180808/errorcodes.py +6 -0
  5. tencentcloud/domain/v20180808/models.py +24 -0
  6. tencentcloud/ess/v20201111/ess_client.py +29 -0
  7. tencentcloud/ess/v20201111/models.py +231 -0
  8. tencentcloud/faceid/v20180301/models.py +2 -2
  9. tencentcloud/iotexplorer/v20190423/models.py +2 -2
  10. tencentcloud/lighthouse/v20200324/lighthouse_client.py +5 -5
  11. tencentcloud/lighthouse/v20200324/models.py +44 -42
  12. tencentcloud/trocket/v20230308/models.py +578 -0
  13. tencentcloud/trocket/v20230308/trocket_client.py +28 -0
  14. tencentcloud/trtc/v20190722/errorcodes.py +3 -3
  15. tencentcloud/trtc/v20190722/models.py +160 -22
  16. tencentcloud/trtc/v20190722/trtc_client.py +47 -4
  17. tencentcloud/tse/v20201207/models.py +26 -0
  18. tencentcloud/tsf/v20180326/errorcodes.py +12 -0
  19. tencentcloud/tsf/v20180326/models.py +80 -3
  20. tencentcloud/vdb/__init__.py +0 -0
  21. tencentcloud/vdb/v20230616/__init__.py +0 -0
  22. tencentcloud/vdb/v20230616/errorcodes.py +21 -0
  23. tencentcloud/vdb/v20230616/models.py +731 -0
  24. tencentcloud/vdb/v20230616/vdb_client.py +49 -0
  25. tencentcloud/waf/v20180125/models.py +192 -0
  26. tencentcloud/waf/v20180125/waf_client.py +23 -0
  27. tencentcloud/wedata/v20210820/models.py +12 -0
  28. {tencentcloud_sdk_python-3.0.1159.dist-info → tencentcloud_sdk_python-3.0.1161.dist-info}/METADATA +1 -1
  29. {tencentcloud_sdk_python-3.0.1159.dist-info → tencentcloud_sdk_python-3.0.1161.dist-info}/RECORD +32 -27
  30. {tencentcloud_sdk_python-3.0.1159.dist-info → tencentcloud_sdk_python-3.0.1161.dist-info}/LICENSE +0 -0
  31. {tencentcloud_sdk_python-3.0.1159.dist-info → tencentcloud_sdk_python-3.0.1161.dist-info}/WHEEL +0 -0
  32. {tencentcloud_sdk_python-3.0.1159.dist-info → tencentcloud_sdk_python-3.0.1161.dist-info}/top_level.txt +0 -0
@@ -1051,10 +1051,19 @@ class DescribeAITranscriptionRequest(AbstractModel):
1051
1051
 
1052
1052
  def __init__(self):
1053
1053
  r"""
1054
- :param _TaskId: 唯一标识AI转录任务。
1054
+ :param _TaskId: 查询任务状态,不使用时传入空字符串。
1055
+ 有两种查询方式:
1056
+ 1、只填写TaskId,这种方式使用TaskId来查询任务
1057
+ 2、TaskId为空字符串,填写SdkAppId和SessionId,这种方式不需要使用TaskId查询任务
1055
1058
  :type TaskId: str
1059
+ :param _SdkAppId: TRTC的SdkAppId,和SessionId配合使用。
1060
+ :type SdkAppId: int
1061
+ :param _SessionId: 开启转录任务时传入的SessionId,和SdkAppId配合使用。
1062
+ :type SessionId: str
1056
1063
  """
1057
1064
  self._TaskId = None
1065
+ self._SdkAppId = None
1066
+ self._SessionId = None
1058
1067
 
1059
1068
  @property
1060
1069
  def TaskId(self):
@@ -1064,9 +1073,27 @@ class DescribeAITranscriptionRequest(AbstractModel):
1064
1073
  def TaskId(self, TaskId):
1065
1074
  self._TaskId = TaskId
1066
1075
 
1076
+ @property
1077
+ def SdkAppId(self):
1078
+ return self._SdkAppId
1079
+
1080
+ @SdkAppId.setter
1081
+ def SdkAppId(self, SdkAppId):
1082
+ self._SdkAppId = SdkAppId
1083
+
1084
+ @property
1085
+ def SessionId(self):
1086
+ return self._SessionId
1087
+
1088
+ @SessionId.setter
1089
+ def SessionId(self, SessionId):
1090
+ self._SessionId = SessionId
1091
+
1067
1092
 
1068
1093
  def _deserialize(self, params):
1069
1094
  self._TaskId = params.get("TaskId")
1095
+ self._SdkAppId = params.get("SdkAppId")
1096
+ self._SessionId = params.get("SessionId")
1070
1097
  memeber_set = set(params.keys())
1071
1098
  for name, value in vars(self).items():
1072
1099
  property_name = name[1:]
@@ -1084,15 +1111,26 @@ class DescribeAITranscriptionResponse(AbstractModel):
1084
1111
 
1085
1112
  def __init__(self):
1086
1113
  r"""
1087
- :param _StartTime: 起始时间。
1114
+ :param _StartTime: 任务开始时间。
1088
1115
  :type StartTime: str
1089
1116
  :param _Status: 转录任务状态。
1117
+ 有4个值:
1118
+ 1、Idle表示任务未开始
1119
+ 2、Preparing表示任务准备中
1120
+ 3、InProgress表示任务正在运行
1121
+ 4、Stopped表示任务已停止,正在清理资源中
1090
1122
  :type Status: str
1123
+ :param _TaskId: 唯一标识一次任务。
1124
+ :type TaskId: str
1125
+ :param _SessionId: 开启转录任务时填写的SessionId,如果没写则不返回。
1126
+ :type SessionId: str
1091
1127
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1092
1128
  :type RequestId: str
1093
1129
  """
1094
1130
  self._StartTime = None
1095
1131
  self._Status = None
1132
+ self._TaskId = None
1133
+ self._SessionId = None
1096
1134
  self._RequestId = None
1097
1135
 
1098
1136
  @property
@@ -1111,6 +1149,22 @@ class DescribeAITranscriptionResponse(AbstractModel):
1111
1149
  def Status(self, Status):
1112
1150
  self._Status = Status
1113
1151
 
1152
+ @property
1153
+ def TaskId(self):
1154
+ return self._TaskId
1155
+
1156
+ @TaskId.setter
1157
+ def TaskId(self, TaskId):
1158
+ self._TaskId = TaskId
1159
+
1160
+ @property
1161
+ def SessionId(self):
1162
+ return self._SessionId
1163
+
1164
+ @SessionId.setter
1165
+ def SessionId(self, SessionId):
1166
+ self._SessionId = SessionId
1167
+
1114
1168
  @property
1115
1169
  def RequestId(self):
1116
1170
  return self._RequestId
@@ -1123,6 +1177,8 @@ class DescribeAITranscriptionResponse(AbstractModel):
1123
1177
  def _deserialize(self, params):
1124
1178
  self._StartTime = params.get("StartTime")
1125
1179
  self._Status = params.get("Status")
1180
+ self._TaskId = params.get("TaskId")
1181
+ self._SessionId = params.get("SessionId")
1126
1182
  self._RequestId = params.get("RequestId")
1127
1183
 
1128
1184
 
@@ -7173,26 +7229,82 @@ class RecognizeConfig(AbstractModel):
7173
7229
 
7174
7230
  def __init__(self):
7175
7231
  r"""
7176
- :param _Language: 支持的语言,目前支持语言如下:
7177
- Chinese = "zh"
7178
- Chinese_TW = "zh-TW"
7179
- English = "en"
7180
- Vietnamese = "vi"
7181
- Japanese = "ja"
7182
- Korean = "ko"
7183
- Indonesia = "id"
7184
- Thai = "th"
7185
- Portuguese = "pt"
7186
- Turkish = "tr"
7187
- Arabic = "ar"
7188
- Spanish = "es"
7189
- Hindi = "hi"
7190
- French = "fr"
7232
+ :param _Language: 语音识别支持的语言,默认是"zh"。目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
7233
+ Chinese = "zh"
7234
+ Chinese_TW = "zh-TW"
7235
+ English = "en"
7236
+ Vietnamese = "vi"
7237
+ Japanese = "ja"
7238
+ Korean = "ko"
7239
+ Indonesia = "id"
7240
+ Thai = "th"
7241
+ Portuguese = "pt"
7242
+ Turkish = "tr"
7243
+ Arabic = "ar"
7244
+ Spanish = "es"
7245
+ Hindi = "hi"
7246
+ French = "fr"
7247
+ Malay = "ms"
7248
+ Filipino = "fil"
7249
+ German = "de"
7250
+ Italian = "it"
7251
+ Russian = "ru"
7252
+
7253
+ 注意:
7254
+ 如果缺少满足您需求的语言,请联系我们技术人员。
7255
+ tencent asr不支持"it"和"ru",google asr全都支持。
7191
7256
  :type Language: str
7192
- :param _TranslationLanguage: 选填,如果填写,则会启用翻译,不填则忽略。支持语言同Language字段。
7257
+ :param _Model: 使用的模型,目前支持tencent和google,默认是tencent。
7258
+ :type Model: str
7259
+ :param _TranslationLanguage: 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
7260
+ 目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
7261
+ Chinese = "zh"
7262
+ Chinese_TW = "zh-TW"
7263
+ English = "en"
7264
+ Vietnamese = "vi"
7265
+ Japanese = "ja"
7266
+ Korean = "ko"
7267
+ Indonesia = "id"
7268
+ Thai = "th"
7269
+ Portuguese = "pt"
7270
+ Turkish = "tr"
7271
+ Arabic = "ar"
7272
+ Spanish = "es"
7273
+ Hindi = "hi"
7274
+ French = "fr"
7275
+ Malay = "ms"
7276
+ Filipino = "fil"
7277
+ German = "de"
7278
+ Italian = "it"
7279
+ Russian = "ru"
7280
+
7281
+ 注意:
7282
+ 如果缺少满足您需求的语言,请联系我们技术人员。
7283
+ google支持上述语言两两之间翻译,tencent只支持部分语言之间翻译。
7284
+
7285
+ tencnet目标语言,各源语言的目标语言支持列表如下,冒号左侧是目标语言,右侧是源语言:
7286
+ - zh(简体中文):zh-TW(繁体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)
7287
+ - zh-TW(繁体中文):zh(简体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)
7288
+ - en(英语):zh(中文)、zh-TW(繁体中文)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)、hi(印地语)
7289
+ - ja(日语):zh(中文)、zh-TW(繁体中文)、en(英语)、ko(韩语)
7290
+ - ko(韩语):zh(中文)、zh-TW(繁体中文)、en(英语)、ja(日语)
7291
+ - fr(法语):zh(中文)、zh-TW(繁体中文)、en(英语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
7292
+ - es(西班牙语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
7293
+ - it(意大利语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
7294
+ - de(德语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
7295
+ - tr(土耳其语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、ru(俄语)、pt(葡萄牙语)
7296
+ - ru(俄语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、pt(葡萄牙语)
7297
+ - pt(葡萄牙语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)
7298
+ - vi(越南语):zh(中文)、zh-TW(繁体中文)、en(英语)
7299
+ - id(印尼语):zh(中文)、zh-TW(繁体中文)、en(英语)
7300
+ - th(泰语):zh(中文)、zh-TW(繁体中文)、en(英语)
7301
+ - ms(马来语):zh(中文)、zh-TW(繁体中文)、en(英语)
7302
+ - ar(阿拉伯语):en(英语)
7303
+ - hi(印地语):en(英语)
7193
7304
  :type TranslationLanguage: str
7194
7305
  """
7195
7306
  self._Language = None
7307
+ self._Model = None
7196
7308
  self._TranslationLanguage = None
7197
7309
 
7198
7310
  @property
@@ -7203,6 +7315,14 @@ class RecognizeConfig(AbstractModel):
7203
7315
  def Language(self, Language):
7204
7316
  self._Language = Language
7205
7317
 
7318
+ @property
7319
+ def Model(self):
7320
+ return self._Model
7321
+
7322
+ @Model.setter
7323
+ def Model(self, Model):
7324
+ self._Model = Model
7325
+
7206
7326
  @property
7207
7327
  def TranslationLanguage(self):
7208
7328
  return self._TranslationLanguage
@@ -7214,6 +7334,7 @@ class RecognizeConfig(AbstractModel):
7214
7334
 
7215
7335
  def _deserialize(self, params):
7216
7336
  self._Language = params.get("Language")
7337
+ self._Model = params.get("Model")
7217
7338
  self._TranslationLanguage = params.get("TranslationLanguage")
7218
7339
  memeber_set = set(params.keys())
7219
7340
  for name, value in vars(self).items():
@@ -8186,20 +8307,28 @@ class StartAITranscriptionRequest(AbstractModel):
8186
8307
 
8187
8308
  def __init__(self):
8188
8309
  r"""
8189
- :param _SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),使用该sdkappid开启任务。
8310
+ :param _SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和开启转录任务的房间使用的SdkAppId相同。
8190
8311
  :type SdkAppId: int
8191
- :param _RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),使用该roomid开启任务。
8312
+ :param _RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),表示开启转录任务的房间号。
8192
8313
  :type RoomId: str
8193
- :param _TranscriptionParams: 启动转录机器人和鉴权的参数。
8314
+ :param _TranscriptionParams: 转录机器人的参数。
8194
8315
  :type TranscriptionParams: :class:`tencentcloud.trtc.v20190722.models.TranscriptionParams`
8316
+ :param _SessionId: 调用方传入的唯一Id,服务端用来去重。
8317
+ 注意:
8318
+ 如果传入该参数,服务端优先使用该参数来去重。
8319
+ 如果不传该参数,服务端的去重策略如下:
8320
+ - 如果TranscriptionMode字段是0,则一个房间只能开启一个任务
8321
+ - 如果TranscriptionMode字段是1,则一个TargetUserId只能开启一个任务
8322
+ :type SessionId: str
8195
8323
  :param _RoomIdType: TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
8196
8324
  :type RoomIdType: int
8197
- :param _RecognizeConfig: 语音识别配置
8325
+ :param _RecognizeConfig: 语音识别配置。
8198
8326
  :type RecognizeConfig: :class:`tencentcloud.trtc.v20190722.models.RecognizeConfig`
8199
8327
  """
8200
8328
  self._SdkAppId = None
8201
8329
  self._RoomId = None
8202
8330
  self._TranscriptionParams = None
8331
+ self._SessionId = None
8203
8332
  self._RoomIdType = None
8204
8333
  self._RecognizeConfig = None
8205
8334
 
@@ -8227,6 +8356,14 @@ class StartAITranscriptionRequest(AbstractModel):
8227
8356
  def TranscriptionParams(self, TranscriptionParams):
8228
8357
  self._TranscriptionParams = TranscriptionParams
8229
8358
 
8359
+ @property
8360
+ def SessionId(self):
8361
+ return self._SessionId
8362
+
8363
+ @SessionId.setter
8364
+ def SessionId(self, SessionId):
8365
+ self._SessionId = SessionId
8366
+
8230
8367
  @property
8231
8368
  def RoomIdType(self):
8232
8369
  return self._RoomIdType
@@ -8250,6 +8387,7 @@ class StartAITranscriptionRequest(AbstractModel):
8250
8387
  if params.get("TranscriptionParams") is not None:
8251
8388
  self._TranscriptionParams = TranscriptionParams()
8252
8389
  self._TranscriptionParams._deserialize(params.get("TranscriptionParams"))
8390
+ self._SessionId = params.get("SessionId")
8253
8391
  self._RoomIdType = params.get("RoomIdType")
8254
8392
  if params.get("RecognizeConfig") is not None:
8255
8393
  self._RecognizeConfig = RecognizeConfig()
@@ -130,7 +130,7 @@ class TrtcClient(AbstractClient):
130
130
 
131
131
 
132
132
  def DescribeAITranscription(self, request):
133
- """查询AI转录状态
133
+ """查询AI转录任务状态。
134
134
 
135
135
  :param request: Request instance for DescribeAITranscription.
136
136
  :type request: :class:`tencentcloud.trtc.v20190722.models.DescribeAITranscriptionRequest`
@@ -969,7 +969,50 @@ class TrtcClient(AbstractClient):
969
969
 
970
970
 
971
971
  def StartAITranscription(self, request):
972
- """这个接口调用后,后台会启动机器人,实时进行语音识别并下发字幕和会议记录。
972
+ """这个接口调用后,后台会启动转录机器人,实时进行语音识别并下发字幕和转录消息。
973
+ 转录机器人支持两种拉流方式,通过TranscriptionMode字段控制:
974
+ - 拉取全房间的流。
975
+ - 拉取特定用户的流。
976
+
977
+ 服务端实时下发字幕和会议记录有两种方式,通过IMAdminUserId和IMAdminUserSig字段控制:
978
+ - 如果填写IMAdminUserId和IMAdminUserSig,服务端会调用IM的[发送群组消息](https://cloud.tencent.com/document/product/269/1629)API来向端上实时下发消息。客户端只需监听群组消息的回调即可,比如[web端回调](https://cloud.tencent.com/document/product/269/75319)。
979
+ - 如果不填写IMAdminUserId和IMAdminUserSig,服务端使用TRTC自定义消息通道下发消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。
980
+
981
+ 服务端实时下发的消息是JSON字符串,实时字幕具体格式如下:
982
+ `{
983
+ "type": "subtitle",
984
+ "userid": "xxx",
985
+ "text": "xxx",
986
+ "translation_text": "xxx",
987
+ "start_time": "00:00:02",
988
+ "end_time": "00:00:05"
989
+ }`
990
+ 字段作用如下:
991
+ - type是subtitle,表示这是实时字幕消息。
992
+ - userid表示是哪个用户说的话。
993
+ - text是语音识别出的文本。
994
+ - translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
995
+ - start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
996
+
997
+ 转录消息具体格式如下:
998
+ `{
999
+ "type": "transcription",
1000
+ "userid": "xxx",
1001
+ "text": "xxx",
1002
+ "translation_text": "xx",
1003
+ "start_time": "00:00:02",
1004
+ "end_time": "00:00:05"
1005
+ }`
1006
+ 字段作用如下:
1007
+ - type是transcription,表示这是转录消息。
1008
+ - 其余字段同实时字幕消息。
1009
+
1010
+ 转录消息和实时字幕消息的区别是,转录消息是完整的一句话,实时字幕消息则是这一句话的中间阶段。
1011
+ 假如有一句完整的话,“今天天气怎么样?”,那么服务的下发消息的顺序可能是这样:
1012
+ - 字幕消息,“今天”
1013
+ - 字幕消息,“今天天气”
1014
+ - 字幕消息,“今天天气怎么样”
1015
+ - 转录消息,“今天天气怎么样?”
973
1016
 
974
1017
  :param request: Request instance for StartAITranscription.
975
1018
  :type request: :class:`tencentcloud.trtc.v20190722.models.StartAITranscriptionRequest`
@@ -1245,7 +1288,7 @@ class TrtcClient(AbstractClient):
1245
1288
 
1246
1289
 
1247
1290
  def StopAITranscription(self, request):
1248
- """停止AI转录
1291
+ """停止AI转录任务。
1249
1292
 
1250
1293
  :param request: Request instance for StopAITranscription.
1251
1294
  :type request: :class:`tencentcloud.trtc.v20190722.models.StopAITranscriptionRequest`
@@ -1383,7 +1426,7 @@ class TrtcClient(AbstractClient):
1383
1426
 
1384
1427
 
1385
1428
  def SummarizeTranscription(self, request):
1386
- """对转录的文本进行总结
1429
+ """对转录的文本进行总结。
1387
1430
 
1388
1431
  :param request: Request instance for SummarizeTranscription.
1389
1432
  :type request: :class:`tencentcloud.trtc.v20190722.models.SummarizeTranscriptionRequest`
@@ -18407,6 +18407,12 @@ class KongUpstreamInfo(AbstractModel):
18407
18407
  :param _ScfCamAuthEnable: 云函数是否开启CAM鉴权,不填时默认为开启(true)
18408
18408
  注意:此字段可能返回 null,表示取不到有效值。
18409
18409
  :type ScfCamAuthEnable: bool
18410
+ :param _ScfIsBase64Encoded: 云函数是否开启Base64编码,默认为false
18411
+ 注意:此字段可能返回 null,表示取不到有效值。
18412
+ :type ScfIsBase64Encoded: bool
18413
+ :param _ScfIsIntegratedResponse: 云函数是否开启响应集成,默认为false
18414
+ 注意:此字段可能返回 null,表示取不到有效值。
18415
+ :type ScfIsIntegratedResponse: bool
18410
18416
  """
18411
18417
  self._Host = None
18412
18418
  self._Port = None
@@ -18429,6 +18435,8 @@ class KongUpstreamInfo(AbstractModel):
18429
18435
  self._RealSourceType = None
18430
18436
  self._HealthStatus = None
18431
18437
  self._ScfCamAuthEnable = None
18438
+ self._ScfIsBase64Encoded = None
18439
+ self._ScfIsIntegratedResponse = None
18432
18440
 
18433
18441
  @property
18434
18442
  def Host(self):
@@ -18598,6 +18606,22 @@ class KongUpstreamInfo(AbstractModel):
18598
18606
  def ScfCamAuthEnable(self, ScfCamAuthEnable):
18599
18607
  self._ScfCamAuthEnable = ScfCamAuthEnable
18600
18608
 
18609
+ @property
18610
+ def ScfIsBase64Encoded(self):
18611
+ return self._ScfIsBase64Encoded
18612
+
18613
+ @ScfIsBase64Encoded.setter
18614
+ def ScfIsBase64Encoded(self, ScfIsBase64Encoded):
18615
+ self._ScfIsBase64Encoded = ScfIsBase64Encoded
18616
+
18617
+ @property
18618
+ def ScfIsIntegratedResponse(self):
18619
+ return self._ScfIsIntegratedResponse
18620
+
18621
+ @ScfIsIntegratedResponse.setter
18622
+ def ScfIsIntegratedResponse(self, ScfIsIntegratedResponse):
18623
+ self._ScfIsIntegratedResponse = ScfIsIntegratedResponse
18624
+
18601
18625
 
18602
18626
  def _deserialize(self, params):
18603
18627
  self._Host = params.get("Host")
@@ -18626,6 +18650,8 @@ class KongUpstreamInfo(AbstractModel):
18626
18650
  self._RealSourceType = params.get("RealSourceType")
18627
18651
  self._HealthStatus = params.get("HealthStatus")
18628
18652
  self._ScfCamAuthEnable = params.get("ScfCamAuthEnable")
18653
+ self._ScfIsBase64Encoded = params.get("ScfIsBase64Encoded")
18654
+ self._ScfIsIntegratedResponse = params.get("ScfIsIntegratedResponse")
18629
18655
  memeber_set = set(params.keys())
18630
18656
  for name, value in vars(self).items():
18631
18657
  property_name = name[1:]
@@ -23,6 +23,9 @@ FAILEDOPERATION_APPLICATIONCREATEESATUHERROR = 'FailedOperation.ApplicationCreat
23
23
  # 应用查询失败。
24
24
  FAILEDOPERATION_APPLICATIONQUERYFAILED = 'FailedOperation.ApplicationQueryFailed'
25
25
 
26
+ # TSF应用性能管理调用tsf-dcfg模块失败
27
+ FAILEDOPERATION_CALLTSFDCFGFAILED = 'FailedOperation.CallTsfDcfgFailed'
28
+
26
29
  # TSF云API请求调用失败。
27
30
  FAILEDOPERATION_CLOUDAPIPROXYERROR = 'FailedOperation.CloudApiProxyError'
28
31
 
@@ -92,6 +95,9 @@ FAILEDOPERATION_CVMCAEMASTERHEALTHCHECKCONFIGERROR = 'FailedOperation.CvmCaeMast
92
95
  # TSF暂时不能响应请求。
93
96
  FAILEDOPERATION_DISPATCHCOMMONERROR = 'FailedOperation.DispatchCommonError'
94
97
 
98
+ # 寻找独占配置中心相关指标异常
99
+ FAILEDOPERATION_FINDMETRICSEXCLUSIVEERROR = 'FailedOperation.FindMetricsExclusiveError'
100
+
95
101
  # 远端访问错误: %s。
96
102
  FAILEDOPERATION_GATEWAYREMOTECALLERROR = 'FailedOperation.GatewayRemoteCallError'
97
103
 
@@ -101,6 +107,12 @@ FAILEDOPERATION_GROUPEXISTS = 'FailedOperation.GroupExists'
101
107
  # 部署组查询失败。
102
108
  FAILEDOPERATION_GROUPQUERYFAILD = 'FailedOperation.GroupQueryFaild'
103
109
 
110
+ # 镜像仓库已关联至部署组,请移除后重试
111
+ FAILEDOPERATION_IMAGEVALIDATEISUSED = 'FailedOperation.ImageValidateIsUsed'
112
+
113
+ # 禁止直接删除应用镜像仓库, 需要先删除下面的镜像tag
114
+ FAILEDOPERATION_IMAGEREPOREJECTDELERROR = 'FailedOperation.ImagerepoRejectDelError'
115
+
104
116
  # tcr仓库绑定失败。
105
117
  FAILEDOPERATION_IMAGEREPOTCRBINDERROR = 'FailedOperation.ImagerepoTcrBindError'
106
118
 
@@ -4402,6 +4402,11 @@ class ConfigRelease(AbstractModel):
4402
4402
  :param _ConfigCenters: 配置中心发布情况
4403
4403
  注意:此字段可能返回 null,表示取不到有效值。
4404
4404
  :type ConfigCenters: list of TsfConfigCenter
4405
+ :param _DaulStatus: DUAL_STATUS_WRITE_REGISTRATION_ON 双写&&双注册开启
4406
+
4407
+ DUAL_STATUS_WRITE_REGISTRATION_OFF 双写&&双注册关闭
4408
+ 注意:此字段可能返回 null,表示取不到有效值。
4409
+ :type DaulStatus: str
4405
4410
  """
4406
4411
  self._ConfigReleaseId = None
4407
4412
  self._ConfigId = None
@@ -4417,6 +4422,7 @@ class ConfigRelease(AbstractModel):
4417
4422
  self._ReleaseDesc = None
4418
4423
  self._ApplicationId = None
4419
4424
  self._ConfigCenters = None
4425
+ self._DaulStatus = None
4420
4426
 
4421
4427
  @property
4422
4428
  def ConfigReleaseId(self):
@@ -4530,6 +4536,14 @@ class ConfigRelease(AbstractModel):
4530
4536
  def ConfigCenters(self, ConfigCenters):
4531
4537
  self._ConfigCenters = ConfigCenters
4532
4538
 
4539
+ @property
4540
+ def DaulStatus(self):
4541
+ return self._DaulStatus
4542
+
4543
+ @DaulStatus.setter
4544
+ def DaulStatus(self, DaulStatus):
4545
+ self._DaulStatus = DaulStatus
4546
+
4533
4547
 
4534
4548
  def _deserialize(self, params):
4535
4549
  self._ConfigReleaseId = params.get("ConfigReleaseId")
@@ -4551,6 +4565,7 @@ class ConfigRelease(AbstractModel):
4551
4565
  obj = TsfConfigCenter()
4552
4566
  obj._deserialize(item)
4553
4567
  self._ConfigCenters.append(obj)
4568
+ self._DaulStatus = params.get("DaulStatus")
4554
4569
  memeber_set = set(params.keys())
4555
4570
  for name, value in vars(self).items():
4556
4571
  property_name = name[1:]
@@ -11531,8 +11546,11 @@ class DeleteApplicationRequest(AbstractModel):
11531
11546
  r"""
11532
11547
  :param _ApplicationId: 应用ID
11533
11548
  :type ApplicationId: str
11549
+ :param _SyncDeleteImageRepository: 是否删除镜像仓库
11550
+ :type SyncDeleteImageRepository: bool
11534
11551
  """
11535
11552
  self._ApplicationId = None
11553
+ self._SyncDeleteImageRepository = None
11536
11554
 
11537
11555
  @property
11538
11556
  def ApplicationId(self):
@@ -11542,9 +11560,18 @@ class DeleteApplicationRequest(AbstractModel):
11542
11560
  def ApplicationId(self, ApplicationId):
11543
11561
  self._ApplicationId = ApplicationId
11544
11562
 
11563
+ @property
11564
+ def SyncDeleteImageRepository(self):
11565
+ return self._SyncDeleteImageRepository
11566
+
11567
+ @SyncDeleteImageRepository.setter
11568
+ def SyncDeleteImageRepository(self, SyncDeleteImageRepository):
11569
+ self._SyncDeleteImageRepository = SyncDeleteImageRepository
11570
+
11545
11571
 
11546
11572
  def _deserialize(self, params):
11547
11573
  self._ApplicationId = params.get("ApplicationId")
11574
+ self._SyncDeleteImageRepository = params.get("SyncDeleteImageRepository")
11548
11575
  memeber_set = set(params.keys())
11549
11576
  for name, value in vars(self).items():
11550
11577
  property_name = name[1:]
@@ -21185,6 +21212,8 @@ class DescribeMicroservicesRequest(AbstractModel):
21185
21212
  :type MicroserviceIdList: list of str
21186
21213
  :param _MicroserviceNameList: 搜索的服务名列表
21187
21214
  :type MicroserviceNameList: list of str
21215
+ :param _ConfigCenterInstanceId: 注册中心实例id
21216
+ :type ConfigCenterInstanceId: str
21188
21217
  """
21189
21218
  self._NamespaceId = None
21190
21219
  self._SearchWord = None
@@ -21195,6 +21224,7 @@ class DescribeMicroservicesRequest(AbstractModel):
21195
21224
  self._Status = None
21196
21225
  self._MicroserviceIdList = None
21197
21226
  self._MicroserviceNameList = None
21227
+ self._ConfigCenterInstanceId = None
21198
21228
 
21199
21229
  @property
21200
21230
  def NamespaceId(self):
@@ -21268,6 +21298,14 @@ class DescribeMicroservicesRequest(AbstractModel):
21268
21298
  def MicroserviceNameList(self, MicroserviceNameList):
21269
21299
  self._MicroserviceNameList = MicroserviceNameList
21270
21300
 
21301
+ @property
21302
+ def ConfigCenterInstanceId(self):
21303
+ return self._ConfigCenterInstanceId
21304
+
21305
+ @ConfigCenterInstanceId.setter
21306
+ def ConfigCenterInstanceId(self, ConfigCenterInstanceId):
21307
+ self._ConfigCenterInstanceId = ConfigCenterInstanceId
21308
+
21271
21309
 
21272
21310
  def _deserialize(self, params):
21273
21311
  self._NamespaceId = params.get("NamespaceId")
@@ -21279,6 +21317,7 @@ class DescribeMicroservicesRequest(AbstractModel):
21279
21317
  self._Status = params.get("Status")
21280
21318
  self._MicroserviceIdList = params.get("MicroserviceIdList")
21281
21319
  self._MicroserviceNameList = params.get("MicroserviceNameList")
21320
+ self._ConfigCenterInstanceId = params.get("ConfigCenterInstanceId")
21282
21321
  memeber_set = set(params.keys())
21283
21322
  for name, value in vars(self).items():
21284
21323
  property_name = name[1:]
@@ -23817,15 +23856,15 @@ class DescribeStatisticsRequest(AbstractModel):
23817
23856
  :type Offset: int
23818
23857
  :param _Limit: 单页请求配置数量,取值范围[1, 50],默认值为10
23819
23858
  :type Limit: int
23820
- :param _NamespaceId: 命名空间Id
23859
+ :param _NamespaceId: 命名空间Id,此字段,和 NamespaceIdList 或者 MetricDimensionValues 字段包含 namespaceId 维度信息。三者选其一。
23821
23860
  :type NamespaceId: str
23822
23861
  :param _OrderBy: 排序字段:AvgTimeConsuming[默认]、RequestCount、ErrorRate。实例监控还支持 CpuPercent
23823
23862
  :type OrderBy: str
23824
23863
  :param _OrderType: 排序方式:ASC:0、DESC:1
23825
23864
  :type OrderType: int
23826
- :param _EndTime: 开始时间:年月日 时分秒2020-05-12 14:43:12
23865
+ :param _EndTime: 开始时间:年月日 时分秒2020-05-12 14:43:12, 不能为空
23827
23866
  :type EndTime: str
23828
- :param _StartTime: 开始时间:年月日 时分秒2020-05-12 14:43:12
23867
+ :param _StartTime: 开始时间:年月日 时分秒2020-05-12 14:43:12, 不能为空
23829
23868
  :type StartTime: str
23830
23869
  :param _ServiceName: 服务名称
23831
23870
  :type ServiceName: str
@@ -23839,6 +23878,8 @@ class DescribeStatisticsRequest(AbstractModel):
23839
23878
  :type DbName: str
23840
23879
  :param _NamespaceIdList: 命名空间id数组
23841
23880
  :type NamespaceIdList: list of str
23881
+ :param _ConfigCenterInstanceId: 独占配置中心的ID
23882
+ :type ConfigCenterInstanceId: str
23842
23883
  """
23843
23884
  self._Type = None
23844
23885
  self._TimeStep = None
@@ -23855,6 +23896,7 @@ class DescribeStatisticsRequest(AbstractModel):
23855
23896
  self._BucketKey = None
23856
23897
  self._DbName = None
23857
23898
  self._NamespaceIdList = None
23899
+ self._ConfigCenterInstanceId = None
23858
23900
 
23859
23901
  @property
23860
23902
  def Type(self):
@@ -23976,6 +24018,14 @@ class DescribeStatisticsRequest(AbstractModel):
23976
24018
  def NamespaceIdList(self, NamespaceIdList):
23977
24019
  self._NamespaceIdList = NamespaceIdList
23978
24020
 
24021
+ @property
24022
+ def ConfigCenterInstanceId(self):
24023
+ return self._ConfigCenterInstanceId
24024
+
24025
+ @ConfigCenterInstanceId.setter
24026
+ def ConfigCenterInstanceId(self, ConfigCenterInstanceId):
24027
+ self._ConfigCenterInstanceId = ConfigCenterInstanceId
24028
+
23979
24029
 
23980
24030
  def _deserialize(self, params):
23981
24031
  self._Type = params.get("Type")
@@ -23998,6 +24048,7 @@ class DescribeStatisticsRequest(AbstractModel):
23998
24048
  self._BucketKey = params.get("BucketKey")
23999
24049
  self._DbName = params.get("DbName")
24000
24050
  self._NamespaceIdList = params.get("NamespaceIdList")
24051
+ self._ConfigCenterInstanceId = params.get("ConfigCenterInstanceId")
24001
24052
  memeber_set = set(params.keys())
24002
24053
  for name, value in vars(self).items():
24003
24054
  property_name = name[1:]
@@ -41240,12 +41291,20 @@ class TsfConfigCenter(AbstractModel):
41240
41291
  :param _NamespaceId: 命名空间id
41241
41292
  注意:此字段可能返回 null,表示取不到有效值。
41242
41293
  :type NamespaceId: str
41294
+ :param _CurrentVersion: 当前版本
41295
+ 注意:此字段可能返回 null,表示取不到有效值。
41296
+ :type CurrentVersion: str
41297
+ :param _TargetVersion: 需要升级的版本
41298
+ 注意:此字段可能返回 null,表示取不到有效值。
41299
+ :type TargetVersion: str
41243
41300
  """
41244
41301
  self._ConfigType = None
41245
41302
  self._ConfigCenterInstanceId = None
41246
41303
  self._ConfigCenterInstanceName = None
41247
41304
  self._RegionId = None
41248
41305
  self._NamespaceId = None
41306
+ self._CurrentVersion = None
41307
+ self._TargetVersion = None
41249
41308
 
41250
41309
  @property
41251
41310
  def ConfigType(self):
@@ -41287,6 +41346,22 @@ class TsfConfigCenter(AbstractModel):
41287
41346
  def NamespaceId(self, NamespaceId):
41288
41347
  self._NamespaceId = NamespaceId
41289
41348
 
41349
+ @property
41350
+ def CurrentVersion(self):
41351
+ return self._CurrentVersion
41352
+
41353
+ @CurrentVersion.setter
41354
+ def CurrentVersion(self, CurrentVersion):
41355
+ self._CurrentVersion = CurrentVersion
41356
+
41357
+ @property
41358
+ def TargetVersion(self):
41359
+ return self._TargetVersion
41360
+
41361
+ @TargetVersion.setter
41362
+ def TargetVersion(self, TargetVersion):
41363
+ self._TargetVersion = TargetVersion
41364
+
41290
41365
 
41291
41366
  def _deserialize(self, params):
41292
41367
  self._ConfigType = params.get("ConfigType")
@@ -41294,6 +41369,8 @@ class TsfConfigCenter(AbstractModel):
41294
41369
  self._ConfigCenterInstanceName = params.get("ConfigCenterInstanceName")
41295
41370
  self._RegionId = params.get("RegionId")
41296
41371
  self._NamespaceId = params.get("NamespaceId")
41372
+ self._CurrentVersion = params.get("CurrentVersion")
41373
+ self._TargetVersion = params.get("TargetVersion")
41297
41374
  memeber_set = set(params.keys())
41298
41375
  for name, value in vars(self).items():
41299
41376
  property_name = name[1:]
File without changes
File without changes