tencentcloud-sdk-python 3.0.1353__py2.py3-none-any.whl → 3.0.1354__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1353'
17
+ __version__ = '3.0.1354'
@@ -14643,6 +14643,8 @@ class SessionResult(AbstractModel):
14643
14643
  :type AppAssetKind: int
14644
14644
  :param _AppAssetUrl: 应用资产url
14645
14645
  :type AppAssetUrl: str
14646
+ :param _ReplayType: 回放类型 默认0, 1-rfb 2-mp4 3-ssh
14647
+ :type ReplayType: int
14646
14648
  """
14647
14649
  self._UserName = None
14648
14650
  self._RealName = None
@@ -14664,6 +14666,7 @@ class SessionResult(AbstractModel):
14664
14666
  self._Protocol = None
14665
14667
  self._AppAssetKind = None
14666
14668
  self._AppAssetUrl = None
14669
+ self._ReplayType = None
14667
14670
 
14668
14671
  @property
14669
14672
  def UserName(self):
@@ -14885,6 +14888,17 @@ class SessionResult(AbstractModel):
14885
14888
  def AppAssetUrl(self, AppAssetUrl):
14886
14889
  self._AppAssetUrl = AppAssetUrl
14887
14890
 
14891
+ @property
14892
+ def ReplayType(self):
14893
+ """回放类型 默认0, 1-rfb 2-mp4 3-ssh
14894
+ :rtype: int
14895
+ """
14896
+ return self._ReplayType
14897
+
14898
+ @ReplayType.setter
14899
+ def ReplayType(self, ReplayType):
14900
+ self._ReplayType = ReplayType
14901
+
14888
14902
 
14889
14903
  def _deserialize(self, params):
14890
14904
  self._UserName = params.get("UserName")
@@ -14907,6 +14921,7 @@ class SessionResult(AbstractModel):
14907
14921
  self._Protocol = params.get("Protocol")
14908
14922
  self._AppAssetKind = params.get("AppAssetKind")
14909
14923
  self._AppAssetUrl = params.get("AppAssetUrl")
14924
+ self._ReplayType = params.get("ReplayType")
14910
14925
  memeber_set = set(params.keys())
14911
14926
  for name, value in vars(self).items():
14912
14927
  property_name = name[1:]
@@ -24275,9 +24275,9 @@ class ModifyTopicAttributesRequest(AbstractModel):
24275
24275
  :type RetentionBytes: int
24276
24276
  :param _Tags: 标签列表
24277
24277
  :type Tags: list of Tag
24278
- :param _QuotaProducerByteRate: 生产限流,单位 MB/s
24278
+ :param _QuotaProducerByteRate: 生产限流,单位 MB/s;设置为-1,则生产不限流
24279
24279
  :type QuotaProducerByteRate: int
24280
- :param _QuotaConsumerByteRate: 消费限流,单位 MB/s
24280
+ :param _QuotaConsumerByteRate: 消费限流,单位 MB/s;设置为-1,则消费不限流
24281
24281
  :type QuotaConsumerByteRate: int
24282
24282
  :param _ReplicaNum: topic副本数 最小值 1,最大值 3
24283
24283
  :type ReplicaNum: int
@@ -24468,7 +24468,7 @@ class ModifyTopicAttributesRequest(AbstractModel):
24468
24468
 
24469
24469
  @property
24470
24470
  def QuotaProducerByteRate(self):
24471
- """生产限流,单位 MB/s
24471
+ """生产限流,单位 MB/s;设置为-1,则生产不限流
24472
24472
  :rtype: int
24473
24473
  """
24474
24474
  return self._QuotaProducerByteRate
@@ -24479,7 +24479,7 @@ class ModifyTopicAttributesRequest(AbstractModel):
24479
24479
 
24480
24480
  @property
24481
24481
  def QuotaConsumerByteRate(self):
24482
- """消费限流,单位 MB/s
24482
+ """消费限流,单位 MB/s;设置为-1,则消费不限流
24483
24483
  :rtype: int
24484
24484
  """
24485
24485
  return self._QuotaConsumerByteRate
@@ -21410,6 +21410,10 @@ class TargetGroupInfo(AbstractModel):
21410
21410
  :param _AssociatedRule: 关联到的规则数组。在DescribeTargetGroupList接口调用时无法获取到该参数。
21411
21411
  注意:此字段可能返回 null,表示取不到有效值。
21412
21412
  :type AssociatedRule: list of AssociationItem
21413
+ :param _Protocol: 后端转发协议类型,支持类型TCP, UDP。仅V2新版目标组支持返回该参数。
21414
+
21415
+ 注意:此字段可能返回 null,表示取不到有效值。
21416
+ :type Protocol: str
21413
21417
  :param _TargetGroupType: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
21414
21418
  注意:此字段可能返回 null,表示取不到有效值。
21415
21419
  :type TargetGroupType: str
@@ -21434,6 +21438,7 @@ class TargetGroupInfo(AbstractModel):
21434
21438
  self._CreatedTime = None
21435
21439
  self._UpdatedTime = None
21436
21440
  self._AssociatedRule = None
21441
+ self._Protocol = None
21437
21442
  self._TargetGroupType = None
21438
21443
  self._AssociatedRuleCount = None
21439
21444
  self._RegisteredInstancesCount = None
@@ -21520,6 +21525,19 @@ class TargetGroupInfo(AbstractModel):
21520
21525
  def AssociatedRule(self, AssociatedRule):
21521
21526
  self._AssociatedRule = AssociatedRule
21522
21527
 
21528
+ @property
21529
+ def Protocol(self):
21530
+ """后端转发协议类型,支持类型TCP, UDP。仅V2新版目标组支持返回该参数。
21531
+
21532
+ 注意:此字段可能返回 null,表示取不到有效值。
21533
+ :rtype: str
21534
+ """
21535
+ return self._Protocol
21536
+
21537
+ @Protocol.setter
21538
+ def Protocol(self, Protocol):
21539
+ self._Protocol = Protocol
21540
+
21523
21541
  @property
21524
21542
  def TargetGroupType(self):
21525
21543
  """目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
@@ -21604,6 +21622,7 @@ class TargetGroupInfo(AbstractModel):
21604
21622
  obj = AssociationItem()
21605
21623
  obj._deserialize(item)
21606
21624
  self._AssociatedRule.append(obj)
21625
+ self._Protocol = params.get("Protocol")
21607
21626
  self._TargetGroupType = params.get("TargetGroupType")
21608
21627
  self._AssociatedRuleCount = params.get("AssociatedRuleCount")
21609
21628
  self._RegisteredInstancesCount = params.get("RegisteredInstancesCount")
@@ -3619,6 +3619,8 @@ class DBInfo(AbstractModel):
3619
3619
  :type TmpSecretKey: str
3620
3620
  :param _TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
3621
3621
  :type TmpToken: str
3622
+ :param _EncryptConn: 是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
3623
+ :type EncryptConn: str
3622
3624
  :param _SetId: tdsql的分片id。如节点类型为set必填。
3623
3625
  :type SetId: str
3624
3626
  """
@@ -3642,6 +3644,7 @@ class DBInfo(AbstractModel):
3642
3644
  self._TmpSecretId = None
3643
3645
  self._TmpSecretKey = None
3644
3646
  self._TmpToken = None
3647
+ self._EncryptConn = None
3645
3648
  self._SetId = None
3646
3649
 
3647
3650
  @property
@@ -3864,6 +3867,17 @@ class DBInfo(AbstractModel):
3864
3867
  def TmpToken(self, TmpToken):
3865
3868
  self._TmpToken = TmpToken
3866
3869
 
3870
+ @property
3871
+ def EncryptConn(self):
3872
+ """是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
3873
+ :rtype: str
3874
+ """
3875
+ return self._EncryptConn
3876
+
3877
+ @EncryptConn.setter
3878
+ def EncryptConn(self, EncryptConn):
3879
+ self._EncryptConn = EncryptConn
3880
+
3867
3881
  @property
3868
3882
  def SetId(self):
3869
3883
  """tdsql的分片id。如节点类型为set必填。
@@ -3897,6 +3911,7 @@ class DBInfo(AbstractModel):
3897
3911
  self._TmpSecretId = params.get("TmpSecretId")
3898
3912
  self._TmpSecretKey = params.get("TmpSecretKey")
3899
3913
  self._TmpToken = params.get("TmpToken")
3914
+ self._EncryptConn = params.get("EncryptConn")
3900
3915
  self._SetId = params.get("SetId")
3901
3916
  memeber_set = set(params.keys())
3902
3917
  for name, value in vars(self).items():
@@ -9194,11 +9209,26 @@ class DynamicOptions(AbstractModel):
9194
9209
  :type ConflictHandleType: str
9195
9210
  :param _ConflictHandleOption: 冲突处理的详细选项,如条件覆盖中的条件行和条件操作;不能部分更新该选项的内部字段;有更新时、需要全量更新该字段
9196
9211
  :type ConflictHandleOption: :class:`tencentcloud.dts.v20211206.models.ConflictHandleOption`
9212
+ :param _KafkaOption: 同步到kafka链路的kafka配置
9213
+ :type KafkaOption: :class:`tencentcloud.dts.v20211206.models.KafkaOption`
9214
+ :param _FilterBeginCommit: 同步到kafka链路是否过滤掉begin和commit消息。目前仅mysql2kafka链路支持
9215
+ :type FilterBeginCommit: bool
9216
+ :param _FilterCheckpoint: 同步到kafka链路是否过滤掉checkpoint消息。目前仅mysql2kafka链路支持
9217
+ :type FilterCheckpoint: bool
9218
+ :param _DealOfExistSameTable: 同名表的处理,ReportErrorAfterCheck(前置校验并报错,默认)、ExecuteAfterIgnore(忽略并继续执行)
9219
+ :type DealOfExistSameTable: str
9220
+ :param _StartPosition: 仅增量任务重新设置指定位点
9221
+ :type StartPosition: str
9197
9222
  """
9198
9223
  self._OpTypes = None
9199
9224
  self._DdlOptions = None
9200
9225
  self._ConflictHandleType = None
9201
9226
  self._ConflictHandleOption = None
9227
+ self._KafkaOption = None
9228
+ self._FilterBeginCommit = None
9229
+ self._FilterCheckpoint = None
9230
+ self._DealOfExistSameTable = None
9231
+ self._StartPosition = None
9202
9232
 
9203
9233
  @property
9204
9234
  def OpTypes(self):
@@ -9244,6 +9274,61 @@ class DynamicOptions(AbstractModel):
9244
9274
  def ConflictHandleOption(self, ConflictHandleOption):
9245
9275
  self._ConflictHandleOption = ConflictHandleOption
9246
9276
 
9277
+ @property
9278
+ def KafkaOption(self):
9279
+ """同步到kafka链路的kafka配置
9280
+ :rtype: :class:`tencentcloud.dts.v20211206.models.KafkaOption`
9281
+ """
9282
+ return self._KafkaOption
9283
+
9284
+ @KafkaOption.setter
9285
+ def KafkaOption(self, KafkaOption):
9286
+ self._KafkaOption = KafkaOption
9287
+
9288
+ @property
9289
+ def FilterBeginCommit(self):
9290
+ """同步到kafka链路是否过滤掉begin和commit消息。目前仅mysql2kafka链路支持
9291
+ :rtype: bool
9292
+ """
9293
+ return self._FilterBeginCommit
9294
+
9295
+ @FilterBeginCommit.setter
9296
+ def FilterBeginCommit(self, FilterBeginCommit):
9297
+ self._FilterBeginCommit = FilterBeginCommit
9298
+
9299
+ @property
9300
+ def FilterCheckpoint(self):
9301
+ """同步到kafka链路是否过滤掉checkpoint消息。目前仅mysql2kafka链路支持
9302
+ :rtype: bool
9303
+ """
9304
+ return self._FilterCheckpoint
9305
+
9306
+ @FilterCheckpoint.setter
9307
+ def FilterCheckpoint(self, FilterCheckpoint):
9308
+ self._FilterCheckpoint = FilterCheckpoint
9309
+
9310
+ @property
9311
+ def DealOfExistSameTable(self):
9312
+ """同名表的处理,ReportErrorAfterCheck(前置校验并报错,默认)、ExecuteAfterIgnore(忽略并继续执行)
9313
+ :rtype: str
9314
+ """
9315
+ return self._DealOfExistSameTable
9316
+
9317
+ @DealOfExistSameTable.setter
9318
+ def DealOfExistSameTable(self, DealOfExistSameTable):
9319
+ self._DealOfExistSameTable = DealOfExistSameTable
9320
+
9321
+ @property
9322
+ def StartPosition(self):
9323
+ """仅增量任务重新设置指定位点
9324
+ :rtype: str
9325
+ """
9326
+ return self._StartPosition
9327
+
9328
+ @StartPosition.setter
9329
+ def StartPosition(self, StartPosition):
9330
+ self._StartPosition = StartPosition
9331
+
9247
9332
 
9248
9333
  def _deserialize(self, params):
9249
9334
  self._OpTypes = params.get("OpTypes")
@@ -9257,6 +9342,13 @@ class DynamicOptions(AbstractModel):
9257
9342
  if params.get("ConflictHandleOption") is not None:
9258
9343
  self._ConflictHandleOption = ConflictHandleOption()
9259
9344
  self._ConflictHandleOption._deserialize(params.get("ConflictHandleOption"))
9345
+ if params.get("KafkaOption") is not None:
9346
+ self._KafkaOption = KafkaOption()
9347
+ self._KafkaOption._deserialize(params.get("KafkaOption"))
9348
+ self._FilterBeginCommit = params.get("FilterBeginCommit")
9349
+ self._FilterCheckpoint = params.get("FilterCheckpoint")
9350
+ self._DealOfExistSameTable = params.get("DealOfExistSameTable")
9351
+ self._StartPosition = params.get("StartPosition")
9260
9352
  memeber_set = set(params.keys())
9261
9353
  for name, value in vars(self).items():
9262
9354
  property_name = name[1:]
@@ -2245,10 +2245,8 @@ class CloudStorageEvent(AbstractModel):
2245
2245
  :param _EventId: 事件ID
2246
2246
  :type EventId: str
2247
2247
  :param _UploadStatus: 事件录像上传状态,Finished: 全部上传成功 Partial: 部分上传成功 Failed: 上传失败
2248
- 注意:此字段可能返回 null,表示取不到有效值。
2249
2248
  :type UploadStatus: str
2250
2249
  :param _Data: 事件自定义数据
2251
- 注意:此字段可能返回 null,表示取不到有效值。
2252
2250
  :type Data: str
2253
2251
  """
2254
2252
  self._StartTime = None
@@ -2305,7 +2303,6 @@ class CloudStorageEvent(AbstractModel):
2305
2303
  @property
2306
2304
  def UploadStatus(self):
2307
2305
  """事件录像上传状态,Finished: 全部上传成功 Partial: 部分上传成功 Failed: 上传失败
2308
- 注意:此字段可能返回 null,表示取不到有效值。
2309
2306
  :rtype: str
2310
2307
  """
2311
2308
  return self._UploadStatus
@@ -2317,7 +2314,6 @@ class CloudStorageEvent(AbstractModel):
2317
2314
  @property
2318
2315
  def Data(self):
2319
2316
  """事件自定义数据
2320
- 注意:此字段可能返回 null,表示取不到有效值。
2321
2317
  :rtype: str
2322
2318
  """
2323
2319
  return self._Data
@@ -1163,6 +1163,9 @@ RESOURCEINUSE_ALIASDOMAIN = 'ResourceInUse.AliasDomain'
1163
1163
  # 当前已存在相同的别称域名,不支持重复添加
1164
1164
  RESOURCEINUSE_ALIASNAME = 'ResourceInUse.AliasName'
1165
1165
 
1166
+ # 该域名已作为加速域名存在,不支持重复接入。
1167
+ RESOURCEINUSE_ALREADYEXISTSASANACCELERATIONDOMAIN = 'ResourceInUse.AlreadyExistsAsAnAccelerationDomain'
1168
+
1166
1169
  # 资源被本账号Cname接入占用。
1167
1170
  RESOURCEINUSE_CNAME = 'ResourceInUse.Cname'
1168
1171