tencentcloud-sdk-python 3.0.1447__py2.py3-none-any.whl → 3.0.1449__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/models.py +30 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +16 -6
- tencentcloud/cynosdb/v20190107/models.py +4 -0
- tencentcloud/dlc/v20210125/errorcodes.py +9 -0
- tencentcloud/dts/v20211206/models.py +122 -2
- tencentcloud/ess/v20201111/models.py +243 -12
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +353 -0
- tencentcloud/ocr/v20181119/ocr_client.py +2 -2
- tencentcloud/partners/v20180321/models.py +8 -4
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +315 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/tsf/v20180326/models.py +8 -8
- tencentcloud/vclm/v20240523/models.py +15 -0
- tencentcloud/wedata/v20210820/models.py +1666 -970
- tencentcloud/wedata/v20210820/wedata_client.py +23 -52
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1449.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1449.dist-info}/RECORD +26 -26
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1449.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1449.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1449.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -276,6 +276,10 @@ class ApmApplicationConfigView(AbstractModel):
|
|
276
276
|
:type InstrumentList: list of Instrument
|
277
277
|
:param _TraceSquash: 链路压缩开关(已废弃)
|
278
278
|
:type TraceSquash: bool
|
279
|
+
:param _DisableMemoryUsed: 探针熔断内存阈值
|
280
|
+
:type DisableMemoryUsed: int
|
281
|
+
:param _DisableCpuUsed: 探针熔断CPU阈值
|
282
|
+
:type DisableCpuUsed: int
|
279
283
|
"""
|
280
284
|
self._InstanceKey = None
|
281
285
|
self._ServiceName = None
|
@@ -296,6 +300,8 @@ class ApmApplicationConfigView(AbstractModel):
|
|
296
300
|
self._AgentEnable = None
|
297
301
|
self._InstrumentList = None
|
298
302
|
self._TraceSquash = None
|
303
|
+
self._DisableMemoryUsed = None
|
304
|
+
self._DisableCpuUsed = None
|
299
305
|
|
300
306
|
@property
|
301
307
|
def InstanceKey(self):
|
@@ -506,6 +512,28 @@ class ApmApplicationConfigView(AbstractModel):
|
|
506
512
|
def TraceSquash(self, TraceSquash):
|
507
513
|
self._TraceSquash = TraceSquash
|
508
514
|
|
515
|
+
@property
|
516
|
+
def DisableMemoryUsed(self):
|
517
|
+
"""探针熔断内存阈值
|
518
|
+
:rtype: int
|
519
|
+
"""
|
520
|
+
return self._DisableMemoryUsed
|
521
|
+
|
522
|
+
@DisableMemoryUsed.setter
|
523
|
+
def DisableMemoryUsed(self, DisableMemoryUsed):
|
524
|
+
self._DisableMemoryUsed = DisableMemoryUsed
|
525
|
+
|
526
|
+
@property
|
527
|
+
def DisableCpuUsed(self):
|
528
|
+
"""探针熔断CPU阈值
|
529
|
+
:rtype: int
|
530
|
+
"""
|
531
|
+
return self._DisableCpuUsed
|
532
|
+
|
533
|
+
@DisableCpuUsed.setter
|
534
|
+
def DisableCpuUsed(self, DisableCpuUsed):
|
535
|
+
self._DisableCpuUsed = DisableCpuUsed
|
536
|
+
|
509
537
|
|
510
538
|
def _deserialize(self, params):
|
511
539
|
self._InstanceKey = params.get("InstanceKey")
|
@@ -532,6 +560,8 @@ class ApmApplicationConfigView(AbstractModel):
|
|
532
560
|
obj._deserialize(item)
|
533
561
|
self._InstrumentList.append(obj)
|
534
562
|
self._TraceSquash = params.get("TraceSquash")
|
563
|
+
self._DisableMemoryUsed = params.get("DisableMemoryUsed")
|
564
|
+
self._DisableCpuUsed = params.get("DisableCpuUsed")
|
535
565
|
memeber_set = set(params.keys())
|
536
566
|
for name, value in vars(self).items():
|
537
567
|
property_name = name[1:]
|
@@ -529,7 +529,7 @@ class AutoscalingClient(AbstractClient):
|
|
529
529
|
|
530
530
|
|
531
531
|
def DescribeAutoScalingActivities(self, request):
|
532
|
-
"""本接口(DescribeAutoScalingActivities
|
532
|
+
"""本接口(DescribeAutoScalingActivities)用于查询伸缩组的伸缩活动记录。当前仅保存近两年的伸缩活动。
|
533
533
|
|
534
534
|
:param request: Request instance for DescribeAutoScalingActivities.
|
535
535
|
:type request: :class:`tencentcloud.autoscaling.v20180419.models.DescribeAutoScalingActivitiesRequest`
|
@@ -4648,7 +4648,7 @@ class DescribeAutoScalingActivitiesRequest(AbstractModel):
|
|
4648
4648
|
:type Limit: int
|
4649
4649
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
4650
4650
|
:type Offset: int
|
4651
|
-
:param _StartTime: 伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ
|
4651
|
+
:param _StartTime: 伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。注意:当前仅保存近两年的伸缩活动。
|
4652
4652
|
:type StartTime: str
|
4653
4653
|
:param _EndTime: 伸缩活动最晚的结束时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。
|
4654
4654
|
:type EndTime: str
|
@@ -4709,7 +4709,7 @@ class DescribeAutoScalingActivitiesRequest(AbstractModel):
|
|
4709
4709
|
|
4710
4710
|
@property
|
4711
4711
|
def StartTime(self):
|
4712
|
-
"""伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ
|
4712
|
+
"""伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。注意:当前仅保存近两年的伸缩活动。
|
4713
4713
|
:rtype: str
|
4714
4714
|
"""
|
4715
4715
|
return self._StartTime
|
@@ -10884,7 +10884,8 @@ class DataTransformResouceInfo(AbstractModel):
|
|
10884
10884
|
|
10885
10885
|
def __init__(self):
|
10886
10886
|
r"""
|
10887
|
-
:param _TopicId:
|
10887
|
+
:param _TopicId: 日志主题ID
|
10888
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
10888
10889
|
:type TopicId: str
|
10889
10890
|
:param _Alias: 别名
|
10890
10891
|
:type Alias: str
|
@@ -10894,7 +10895,8 @@ class DataTransformResouceInfo(AbstractModel):
|
|
10894
10895
|
|
10895
10896
|
@property
|
10896
10897
|
def TopicId(self):
|
10897
|
-
"""
|
10898
|
+
"""日志主题ID
|
10899
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
10898
10900
|
:rtype: str
|
10899
10901
|
"""
|
10900
10902
|
return self._TopicId
|
@@ -10948,12 +10950,16 @@ class DataTransformTaskInfo(AbstractModel):
|
|
10948
10950
|
:param _Status: 当前加工任务状态(1准备中/2运行中/3停止中/4已停止)
|
10949
10951
|
:type Status: int
|
10950
10952
|
:param _CreateTime: 加工任务创建时间
|
10953
|
+
示例值:2025-03-18 19:55:54
|
10954
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
10951
10955
|
:type CreateTime: str
|
10952
10956
|
:param _UpdateTime: 最近修改时间
|
10953
|
-
示例值:2025-
|
10957
|
+
示例值:2025-04-18 16:55:54
|
10958
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
10954
10959
|
:type UpdateTime: str
|
10955
10960
|
:param _LastEnableTime: 最后启用时间,如果需要重建集群,修改该时间
|
10956
|
-
示例值:2025-
|
10961
|
+
示例值:2025-05-18 19:55:54
|
10962
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
10957
10963
|
:type LastEnableTime: str
|
10958
10964
|
:param _SrcTopicName: 日志主题名称
|
10959
10965
|
:type SrcTopicName: str
|
@@ -11056,6 +11062,8 @@ class DataTransformTaskInfo(AbstractModel):
|
|
11056
11062
|
@property
|
11057
11063
|
def CreateTime(self):
|
11058
11064
|
"""加工任务创建时间
|
11065
|
+
示例值:2025-03-18 19:55:54
|
11066
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
11059
11067
|
:rtype: str
|
11060
11068
|
"""
|
11061
11069
|
return self._CreateTime
|
@@ -11067,7 +11075,8 @@ class DataTransformTaskInfo(AbstractModel):
|
|
11067
11075
|
@property
|
11068
11076
|
def UpdateTime(self):
|
11069
11077
|
"""最近修改时间
|
11070
|
-
示例值:2025-
|
11078
|
+
示例值:2025-04-18 16:55:54
|
11079
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
11071
11080
|
:rtype: str
|
11072
11081
|
"""
|
11073
11082
|
return self._UpdateTime
|
@@ -11079,7 +11088,8 @@ class DataTransformTaskInfo(AbstractModel):
|
|
11079
11088
|
@property
|
11080
11089
|
def LastEnableTime(self):
|
11081
11090
|
"""最后启用时间,如果需要重建集群,修改该时间
|
11082
|
-
示例值:2025-
|
11091
|
+
示例值:2025-05-18 19:55:54
|
11092
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
11083
11093
|
:rtype: str
|
11084
11094
|
"""
|
11085
11095
|
return self._LastEnableTime
|
@@ -25246,8 +25246,10 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
25246
25246
|
:param _LogicBackupTimeEnd: 自动逻辑备份结束时间
|
25247
25247
|
:type LogicBackupTimeEnd: int
|
25248
25248
|
:param _LogicReserveDuration: 自动逻辑备份保留时间
|
25249
|
+
单位:秒
|
25249
25250
|
:type LogicReserveDuration: int
|
25250
25251
|
:param _LogicCrossRegionsEnable: 是否开启跨地域逻辑备份
|
25252
|
+
可选值:ON/OFF
|
25251
25253
|
:type LogicCrossRegionsEnable: str
|
25252
25254
|
:param _LogicCrossRegions: 逻辑备份所跨地域
|
25253
25255
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -25296,6 +25298,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
25296
25298
|
@property
|
25297
25299
|
def LogicReserveDuration(self):
|
25298
25300
|
"""自动逻辑备份保留时间
|
25301
|
+
单位:秒
|
25299
25302
|
:rtype: int
|
25300
25303
|
"""
|
25301
25304
|
return self._LogicReserveDuration
|
@@ -25307,6 +25310,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
25307
25310
|
@property
|
25308
25311
|
def LogicCrossRegionsEnable(self):
|
25309
25312
|
"""是否开启跨地域逻辑备份
|
25313
|
+
可选值:ON/OFF
|
25310
25314
|
:rtype: str
|
25311
25315
|
"""
|
25312
25316
|
return self._LogicCrossRegionsEnable
|
@@ -122,6 +122,9 @@ FAILEDOPERATION_PARAMETERVALIDATIONFAILED = 'FailedOperation.ParameterValidation
|
|
122
122
|
# 退押金失败。
|
123
123
|
FAILEDOPERATION_REFUNDDEPOSITFAILED = 'FailedOperation.RefundDepositFailed'
|
124
124
|
|
125
|
+
# 结果过期
|
126
|
+
FAILEDOPERATION_RESULTEXPIRED = 'FailedOperation.ResultExpired'
|
127
|
+
|
125
128
|
# 取消授权失败。
|
126
129
|
FAILEDOPERATION_REVOKEPOLICYFAILED = 'FailedOperation.RevokePolicyFailed'
|
127
130
|
|
@@ -419,6 +422,9 @@ INVALIDPARAMETER_INVALIDTASKID = 'InvalidParameter.InvalidTaskId'
|
|
419
422
|
# 任务类型TaskType错误,Spark引擎任务类型为SparkSQLTask,Presto引擎任务类型为SQLTask
|
420
423
|
INVALIDPARAMETER_INVALIDTASKTYPE = 'InvalidParameter.InvalidTaskType'
|
421
424
|
|
425
|
+
# 任务长度超限
|
426
|
+
INVALIDPARAMETER_INVALIDTASKSFILTERLENGTH = 'InvalidParameter.InvalidTasksFilterLength'
|
427
|
+
|
422
428
|
# 指定的TCR Spark镜像格式不匹配,参考样例: my-image/ndf/python/latest
|
423
429
|
INVALIDPARAMETER_INVALIDTCRSPARKIMAGEFORMAT = 'InvalidParameter.InvalidTcrSparkImageFormat'
|
424
430
|
|
@@ -458,6 +464,9 @@ INVALIDPARAMETER_NUMBEROFSQLEXCEEDSTHELIMIT = 'InvalidParameter.NumberOfSQLExcee
|
|
458
464
|
# 指定参数Base64解析失败
|
459
465
|
INVALIDPARAMETER_PARAMETERBASE64DECODEFAILED = 'InvalidParameter.ParameterBase64DecodeFailed'
|
460
466
|
|
467
|
+
# 传入参数不合法
|
468
|
+
INVALIDPARAMETER_PARAMETERILLEGAL = 'InvalidParameter.ParameterIllegal'
|
469
|
+
|
461
470
|
# 找不到参数或参数为空
|
462
471
|
INVALIDPARAMETER_PARAMETERNOTFOUNDORBENONE = 'InvalidParameter.ParameterNotFoundOrBeNone'
|
463
472
|
|
@@ -1522,6 +1522,10 @@ mysql选填参数:ProcessXA-是否处理XA事务,填true处理,不填或
|
|
1522
1522
|
mongo选填参数:SubscribeType-订阅类型,目前只支持changeStream,不填也是默认changeStream。
|
1523
1523
|
其他业务暂没有可选参数。
|
1524
1524
|
:type ExtraAttr: list of KeyValuePairOption
|
1525
|
+
:param _ConsumerVpcId: vpc id
|
1526
|
+
:type ConsumerVpcId: str
|
1527
|
+
:param _ConsumerSubnetId: subnet id
|
1528
|
+
:type ConsumerSubnetId: str
|
1525
1529
|
"""
|
1526
1530
|
self._SubscribeId = None
|
1527
1531
|
self._SubscribeMode = None
|
@@ -1532,6 +1536,8 @@ mongo选填参数:SubscribeType-订阅类型,目前只支持changeStream,
|
|
1532
1536
|
self._Protocol = None
|
1533
1537
|
self._PipelineInfo = None
|
1534
1538
|
self._ExtraAttr = None
|
1539
|
+
self._ConsumerVpcId = None
|
1540
|
+
self._ConsumerSubnetId = None
|
1535
1541
|
|
1536
1542
|
@property
|
1537
1543
|
def SubscribeId(self):
|
@@ -1635,6 +1641,28 @@ mongo选填参数:SubscribeType-订阅类型,目前只支持changeStream,
|
|
1635
1641
|
def ExtraAttr(self, ExtraAttr):
|
1636
1642
|
self._ExtraAttr = ExtraAttr
|
1637
1643
|
|
1644
|
+
@property
|
1645
|
+
def ConsumerVpcId(self):
|
1646
|
+
"""vpc id
|
1647
|
+
:rtype: str
|
1648
|
+
"""
|
1649
|
+
return self._ConsumerVpcId
|
1650
|
+
|
1651
|
+
@ConsumerVpcId.setter
|
1652
|
+
def ConsumerVpcId(self, ConsumerVpcId):
|
1653
|
+
self._ConsumerVpcId = ConsumerVpcId
|
1654
|
+
|
1655
|
+
@property
|
1656
|
+
def ConsumerSubnetId(self):
|
1657
|
+
"""subnet id
|
1658
|
+
:rtype: str
|
1659
|
+
"""
|
1660
|
+
return self._ConsumerSubnetId
|
1661
|
+
|
1662
|
+
@ConsumerSubnetId.setter
|
1663
|
+
def ConsumerSubnetId(self, ConsumerSubnetId):
|
1664
|
+
self._ConsumerSubnetId = ConsumerSubnetId
|
1665
|
+
|
1638
1666
|
|
1639
1667
|
def _deserialize(self, params):
|
1640
1668
|
self._SubscribeId = params.get("SubscribeId")
|
@@ -1668,6 +1696,8 @@ mongo选填参数:SubscribeType-订阅类型,目前只支持changeStream,
|
|
1668
1696
|
obj = KeyValuePairOption()
|
1669
1697
|
obj._deserialize(item)
|
1670
1698
|
self._ExtraAttr.append(obj)
|
1699
|
+
self._ConsumerVpcId = params.get("ConsumerVpcId")
|
1700
|
+
self._ConsumerSubnetId = params.get("ConsumerSubnetId")
|
1671
1701
|
memeber_set = set(params.keys())
|
1672
1702
|
for name, value in vars(self).items():
|
1673
1703
|
property_name = name[1:]
|
@@ -2987,6 +3017,8 @@ class CreateSubscribeRequest(AbstractModel):
|
|
2987
3017
|
:type Tags: list of TagItem
|
2988
3018
|
:param _Name: 任务名,自定义
|
2989
3019
|
:type Name: str
|
3020
|
+
:param _InstanceClass: 订阅实例规格,当前仅支持small、medium、large
|
3021
|
+
:type InstanceClass: str
|
2990
3022
|
"""
|
2991
3023
|
self._Product = None
|
2992
3024
|
self._PayType = None
|
@@ -2995,6 +3027,7 @@ class CreateSubscribeRequest(AbstractModel):
|
|
2995
3027
|
self._Count = None
|
2996
3028
|
self._Tags = None
|
2997
3029
|
self._Name = None
|
3030
|
+
self._InstanceClass = None
|
2998
3031
|
|
2999
3032
|
@property
|
3000
3033
|
def Product(self):
|
@@ -3073,6 +3106,17 @@ class CreateSubscribeRequest(AbstractModel):
|
|
3073
3106
|
def Name(self, Name):
|
3074
3107
|
self._Name = Name
|
3075
3108
|
|
3109
|
+
@property
|
3110
|
+
def InstanceClass(self):
|
3111
|
+
"""订阅实例规格,当前仅支持small、medium、large
|
3112
|
+
:rtype: str
|
3113
|
+
"""
|
3114
|
+
return self._InstanceClass
|
3115
|
+
|
3116
|
+
@InstanceClass.setter
|
3117
|
+
def InstanceClass(self, InstanceClass):
|
3118
|
+
self._InstanceClass = InstanceClass
|
3119
|
+
|
3076
3120
|
|
3077
3121
|
def _deserialize(self, params):
|
3078
3122
|
self._Product = params.get("Product")
|
@@ -3087,6 +3131,7 @@ class CreateSubscribeRequest(AbstractModel):
|
|
3087
3131
|
obj._deserialize(item)
|
3088
3132
|
self._Tags.append(obj)
|
3089
3133
|
self._Name = params.get("Name")
|
3134
|
+
self._InstanceClass = params.get("InstanceClass")
|
3090
3135
|
memeber_set = set(params.keys())
|
3091
3136
|
for name, value in vars(self).items():
|
3092
3137
|
property_name = name[1:]
|
@@ -7187,6 +7232,14 @@ class DescribeSubscribeDetailResponse(AbstractModel):
|
|
7187
7232
|
mysql选填参数:ProcessXA-是否处理XA事务,为true处理,其他不处理。
|
7188
7233
|
mongo选填参数:SubscribeType-订阅类型,目前只支持changeStream。
|
7189
7234
|
:type ExtraAttr: list of KeyValuePairOption
|
7235
|
+
:param _SubscribeVersion: 数据订阅版本, 当前支持kafka和kafkaPro(专业版)
|
7236
|
+
:type SubscribeVersion: str
|
7237
|
+
:param _ConsumerVpcId: 消费端地址所在vpc
|
7238
|
+
:type ConsumerVpcId: str
|
7239
|
+
:param _ConsumerSubnetId: 消费端地址所在子网
|
7240
|
+
:type ConsumerSubnetId: str
|
7241
|
+
:param _InstanceClass: 订阅实例规格
|
7242
|
+
:type InstanceClass: str
|
7190
7243
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7191
7244
|
:type RequestId: str
|
7192
7245
|
"""
|
@@ -7218,6 +7271,10 @@ mongo选填参数:SubscribeType-订阅类型,目前只支持changeStream。
|
|
7218
7271
|
self._Tags = None
|
7219
7272
|
self._Errors = None
|
7220
7273
|
self._ExtraAttr = None
|
7274
|
+
self._SubscribeVersion = None
|
7275
|
+
self._ConsumerVpcId = None
|
7276
|
+
self._ConsumerSubnetId = None
|
7277
|
+
self._InstanceClass = None
|
7221
7278
|
self._RequestId = None
|
7222
7279
|
|
7223
7280
|
@property
|
@@ -7531,6 +7588,50 @@ mongo选填参数:SubscribeType-订阅类型,目前只支持changeStream。
|
|
7531
7588
|
def ExtraAttr(self, ExtraAttr):
|
7532
7589
|
self._ExtraAttr = ExtraAttr
|
7533
7590
|
|
7591
|
+
@property
|
7592
|
+
def SubscribeVersion(self):
|
7593
|
+
"""数据订阅版本, 当前支持kafka和kafkaPro(专业版)
|
7594
|
+
:rtype: str
|
7595
|
+
"""
|
7596
|
+
return self._SubscribeVersion
|
7597
|
+
|
7598
|
+
@SubscribeVersion.setter
|
7599
|
+
def SubscribeVersion(self, SubscribeVersion):
|
7600
|
+
self._SubscribeVersion = SubscribeVersion
|
7601
|
+
|
7602
|
+
@property
|
7603
|
+
def ConsumerVpcId(self):
|
7604
|
+
"""消费端地址所在vpc
|
7605
|
+
:rtype: str
|
7606
|
+
"""
|
7607
|
+
return self._ConsumerVpcId
|
7608
|
+
|
7609
|
+
@ConsumerVpcId.setter
|
7610
|
+
def ConsumerVpcId(self, ConsumerVpcId):
|
7611
|
+
self._ConsumerVpcId = ConsumerVpcId
|
7612
|
+
|
7613
|
+
@property
|
7614
|
+
def ConsumerSubnetId(self):
|
7615
|
+
"""消费端地址所在子网
|
7616
|
+
:rtype: str
|
7617
|
+
"""
|
7618
|
+
return self._ConsumerSubnetId
|
7619
|
+
|
7620
|
+
@ConsumerSubnetId.setter
|
7621
|
+
def ConsumerSubnetId(self, ConsumerSubnetId):
|
7622
|
+
self._ConsumerSubnetId = ConsumerSubnetId
|
7623
|
+
|
7624
|
+
@property
|
7625
|
+
def InstanceClass(self):
|
7626
|
+
"""订阅实例规格
|
7627
|
+
:rtype: str
|
7628
|
+
"""
|
7629
|
+
return self._InstanceClass
|
7630
|
+
|
7631
|
+
@InstanceClass.setter
|
7632
|
+
def InstanceClass(self, InstanceClass):
|
7633
|
+
self._InstanceClass = InstanceClass
|
7634
|
+
|
7534
7635
|
@property
|
7535
7636
|
def RequestId(self):
|
7536
7637
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -7604,6 +7705,10 @@ mongo选填参数:SubscribeType-订阅类型,目前只支持changeStream。
|
|
7604
7705
|
obj = KeyValuePairOption()
|
7605
7706
|
obj._deserialize(item)
|
7606
7707
|
self._ExtraAttr.append(obj)
|
7708
|
+
self._SubscribeVersion = params.get("SubscribeVersion")
|
7709
|
+
self._ConsumerVpcId = params.get("ConsumerVpcId")
|
7710
|
+
self._ConsumerSubnetId = params.get("ConsumerSubnetId")
|
7711
|
+
self._InstanceClass = params.get("InstanceClass")
|
7607
7712
|
self._RequestId = params.get("RequestId")
|
7608
7713
|
|
7609
7714
|
|
@@ -16747,7 +16852,7 @@ class SubscribeInfo(AbstractModel):
|
|
16747
16852
|
:type AccessType: str
|
16748
16853
|
:param _Endpoints: 数据库节点信息
|
16749
16854
|
:type Endpoints: list of EndpointItem
|
16750
|
-
:param _SubscribeVersion: 数据订阅版本,
|
16855
|
+
:param _SubscribeVersion: 数据订阅版本, 当前支持kafka和kafkaPro(专业版)
|
16751
16856
|
:type SubscribeVersion: str
|
16752
16857
|
:param _Tags: 标签
|
16753
16858
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -16755,6 +16860,8 @@ class SubscribeInfo(AbstractModel):
|
|
16755
16860
|
:param _Errors: 任务报错信息,如果有的话。
|
16756
16861
|
注意:此字段可能返回 null,表示取不到有效值。
|
16757
16862
|
:type Errors: list of SubsErr
|
16863
|
+
:param _InstanceClass: 订阅实例规格
|
16864
|
+
:type InstanceClass: str
|
16758
16865
|
"""
|
16759
16866
|
self._SubscribeId = None
|
16760
16867
|
self._SubscribeName = None
|
@@ -16777,6 +16884,7 @@ class SubscribeInfo(AbstractModel):
|
|
16777
16884
|
self._SubscribeVersion = None
|
16778
16885
|
self._Tags = None
|
16779
16886
|
self._Errors = None
|
16887
|
+
self._InstanceClass = None
|
16780
16888
|
|
16781
16889
|
@property
|
16782
16890
|
def SubscribeId(self):
|
@@ -16978,7 +17086,7 @@ class SubscribeInfo(AbstractModel):
|
|
16978
17086
|
|
16979
17087
|
@property
|
16980
17088
|
def SubscribeVersion(self):
|
16981
|
-
"""数据订阅版本,
|
17089
|
+
"""数据订阅版本, 当前支持kafka和kafkaPro(专业版)
|
16982
17090
|
:rtype: str
|
16983
17091
|
"""
|
16984
17092
|
return self._SubscribeVersion
|
@@ -17011,6 +17119,17 @@ class SubscribeInfo(AbstractModel):
|
|
17011
17119
|
def Errors(self, Errors):
|
17012
17120
|
self._Errors = Errors
|
17013
17121
|
|
17122
|
+
@property
|
17123
|
+
def InstanceClass(self):
|
17124
|
+
"""订阅实例规格
|
17125
|
+
:rtype: str
|
17126
|
+
"""
|
17127
|
+
return self._InstanceClass
|
17128
|
+
|
17129
|
+
@InstanceClass.setter
|
17130
|
+
def InstanceClass(self, InstanceClass):
|
17131
|
+
self._InstanceClass = InstanceClass
|
17132
|
+
|
17014
17133
|
|
17015
17134
|
def _deserialize(self, params):
|
17016
17135
|
self._SubscribeId = params.get("SubscribeId")
|
@@ -17049,6 +17168,7 @@ class SubscribeInfo(AbstractModel):
|
|
17049
17168
|
obj = SubsErr()
|
17050
17169
|
obj._deserialize(item)
|
17051
17170
|
self._Errors.append(obj)
|
17171
|
+
self._InstanceClass = params.get("InstanceClass")
|
17052
17172
|
memeber_set = set(params.keys())
|
17053
17173
|
for name, value in vars(self).items():
|
17054
17174
|
property_name = name[1:]
|