tencentcloud-sdk-python-cdb 3.1.145__tar.gz → 3.1.154__tar.gz

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.

Potentially problematic release.


This version of tencentcloud-sdk-python-cdb might be problematic. Click here for more details.

Files changed (17) hide show
  1. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud/cdb/v20170320/cdb_client.py +46 -0
  5. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud/cdb/v20170320/cdb_client_async.py +36 -0
  6. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud/cdb/v20170320/models.py +270 -24
  7. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_cdb-3.1.154/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_cdb-3.1.145/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/README.rst +0 -0
  11. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud/cdb/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud/cdb/v20170320/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cdb-3.1.145 → tencentcloud_sdk_python_cdb-3.1.154}/tencentcloud_sdk_python_cdb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdb
3
- Version: 3.1.145
3
+ Version: 3.1.154
4
4
  Summary: Tencent Cloud Cdb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.154
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cdb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.145,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.154,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cdb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.145'
17
+ __version__ = '3.1.154'
@@ -3214,6 +3214,52 @@ class CdbClient(AbstractClient):
3214
3214
  raise TencentCloudSDKException(type(e).__name__, str(e))
3215
3215
 
3216
3216
 
3217
+ def ModifyInstanceChargeType(self, request):
3218
+ r"""本接口(ModifyInstanceChargeType)用于将实例的计费模式从包年包月改为按量计费。
3219
+
3220
+ :param request: Request instance for ModifyInstanceChargeType.
3221
+ :type request: :class:`tencentcloud.cdb.v20170320.models.ModifyInstanceChargeTypeRequest`
3222
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.ModifyInstanceChargeTypeResponse`
3223
+
3224
+ """
3225
+ try:
3226
+ params = request._serialize()
3227
+ headers = request.headers
3228
+ body = self.call("ModifyInstanceChargeType", params, headers=headers)
3229
+ response = json.loads(body)
3230
+ model = models.ModifyInstanceChargeTypeResponse()
3231
+ model._deserialize(response["Response"])
3232
+ return model
3233
+ except Exception as e:
3234
+ if isinstance(e, TencentCloudSDKException):
3235
+ raise
3236
+ else:
3237
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3238
+
3239
+
3240
+ def ModifyInstanceDestroyProtect(self, request):
3241
+ r"""该接口(ModifyInstanceDestroyProtect)用于修改实例销毁保护状态。
3242
+
3243
+ :param request: Request instance for ModifyInstanceDestroyProtect.
3244
+ :type request: :class:`tencentcloud.cdb.v20170320.models.ModifyInstanceDestroyProtectRequest`
3245
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.ModifyInstanceDestroyProtectResponse`
3246
+
3247
+ """
3248
+ try:
3249
+ params = request._serialize()
3250
+ headers = request.headers
3251
+ body = self.call("ModifyInstanceDestroyProtect", params, headers=headers)
3252
+ response = json.loads(body)
3253
+ model = models.ModifyInstanceDestroyProtectResponse()
3254
+ model._deserialize(response["Response"])
3255
+ return model
3256
+ except Exception as e:
3257
+ if isinstance(e, TencentCloudSDKException):
3258
+ raise
3259
+ else:
3260
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3261
+
3262
+
3217
3263
  def ModifyInstanceParam(self, request):
3218
3264
  r"""本接口(ModifyInstanceParam)用于修改云数据库实例的参数。
3219
3265
 
@@ -2528,6 +2528,42 @@ class CdbClient(AbstractClient):
2528
2528
 
2529
2529
  return await self.call_and_deserialize(**kwargs)
2530
2530
 
2531
+ async def ModifyInstanceChargeType(
2532
+ self,
2533
+ request: models.ModifyInstanceChargeTypeRequest,
2534
+ opts: Dict = None,
2535
+ ) -> models.ModifyInstanceChargeTypeResponse:
2536
+ """
2537
+ 本接口(ModifyInstanceChargeType)用于将实例的计费模式从包年包月改为按量计费。
2538
+ """
2539
+
2540
+ kwargs = {}
2541
+ kwargs["action"] = "ModifyInstanceChargeType"
2542
+ kwargs["params"] = request._serialize()
2543
+ kwargs["resp_cls"] = models.ModifyInstanceChargeTypeResponse
2544
+ kwargs["headers"] = request.headers
2545
+ kwargs["opts"] = opts or {}
2546
+
2547
+ return await self.call_and_deserialize(**kwargs)
2548
+
2549
+ async def ModifyInstanceDestroyProtect(
2550
+ self,
2551
+ request: models.ModifyInstanceDestroyProtectRequest,
2552
+ opts: Dict = None,
2553
+ ) -> models.ModifyInstanceDestroyProtectResponse:
2554
+ """
2555
+ 该接口(ModifyInstanceDestroyProtect)用于修改实例销毁保护状态。
2556
+ """
2557
+
2558
+ kwargs = {}
2559
+ kwargs["action"] = "ModifyInstanceDestroyProtect"
2560
+ kwargs["params"] = request._serialize()
2561
+ kwargs["resp_cls"] = models.ModifyInstanceDestroyProtectResponse
2562
+ kwargs["headers"] = request.headers
2563
+ kwargs["opts"] = opts or {}
2564
+
2565
+ return await self.call_and_deserialize(**kwargs)
2566
+
2531
2567
  async def ModifyInstanceParam(
2532
2568
  self,
2533
2569
  request: models.ModifyInstanceParamRequest,
@@ -24032,24 +24032,19 @@ class DrInfo(AbstractModel):
24032
24032
 
24033
24033
  def __init__(self):
24034
24034
  r"""
24035
- :param _Status: 灾备实例状态
24035
+ :param _Status: <p>灾备实例状态</p><p>枚举值:</p><ul><li>0: 创建中</li><li>1: 运行中</li><li>4: 正在进行隔离操作</li><li>5: 已隔离</li></ul>
24036
24036
  :type Status: int
24037
- :param _Zone: 可用区信息
24037
+ :param _Zone: <p>可用区信息</p>
24038
24038
  :type Zone: str
24039
- :param _InstanceId: 实例ID
24039
+ :param _InstanceId: <p>实例ID</p>
24040
24040
  :type InstanceId: str
24041
- :param _Region: 地域信息
24041
+ :param _Region: <p>地域信息</p>
24042
24042
  :type Region: str
24043
- :param _SyncStatus: 实例同步状态。可能的返回值为:
24044
- 0 - 灾备未同步;
24045
- 1 - 灾备同步中;
24046
- 2 - 灾备同步成功;
24047
- 3 - 灾备同步失败;
24048
- 4 - 灾备同步修复中。
24043
+ :param _SyncStatus: <p>实例同步状态。可能的返回值为:<br>0 - 灾备未同步;<br>1 - 灾备同步中;<br>2 - 灾备同步成功;<br>3 - 灾备同步失败;<br>4 - 灾备同步修复中。</p>
24049
24044
  :type SyncStatus: int
24050
- :param _InstanceName: 实例名称
24045
+ :param _InstanceName: <p>实例名称</p>
24051
24046
  :type InstanceName: str
24052
- :param _InstanceType: 实例类型
24047
+ :param _InstanceType: <p>实例类型</p>
24053
24048
  :type InstanceType: int
24054
24049
  """
24055
24050
  self._Status = None
@@ -24062,7 +24057,7 @@ class DrInfo(AbstractModel):
24062
24057
 
24063
24058
  @property
24064
24059
  def Status(self):
24065
- r"""灾备实例状态
24060
+ r"""<p>灾备实例状态</p><p>枚举值:</p><ul><li>0: 创建中</li><li>1: 运行中</li><li>4: 正在进行隔离操作</li><li>5: 已隔离</li></ul>
24066
24061
  :rtype: int
24067
24062
  """
24068
24063
  return self._Status
@@ -24073,7 +24068,7 @@ class DrInfo(AbstractModel):
24073
24068
 
24074
24069
  @property
24075
24070
  def Zone(self):
24076
- r"""可用区信息
24071
+ r"""<p>可用区信息</p>
24077
24072
  :rtype: str
24078
24073
  """
24079
24074
  return self._Zone
@@ -24084,7 +24079,7 @@ class DrInfo(AbstractModel):
24084
24079
 
24085
24080
  @property
24086
24081
  def InstanceId(self):
24087
- r"""实例ID
24082
+ r"""<p>实例ID</p>
24088
24083
  :rtype: str
24089
24084
  """
24090
24085
  return self._InstanceId
@@ -24095,7 +24090,7 @@ class DrInfo(AbstractModel):
24095
24090
 
24096
24091
  @property
24097
24092
  def Region(self):
24098
- r"""地域信息
24093
+ r"""<p>地域信息</p>
24099
24094
  :rtype: str
24100
24095
  """
24101
24096
  return self._Region
@@ -24106,12 +24101,7 @@ class DrInfo(AbstractModel):
24106
24101
 
24107
24102
  @property
24108
24103
  def SyncStatus(self):
24109
- r"""实例同步状态。可能的返回值为:
24110
- 0 - 灾备未同步;
24111
- 1 - 灾备同步中;
24112
- 2 - 灾备同步成功;
24113
- 3 - 灾备同步失败;
24114
- 4 - 灾备同步修复中。
24104
+ r"""<p>实例同步状态。可能的返回值为:<br>0 - 灾备未同步;<br>1 - 灾备同步中;<br>2 - 灾备同步成功;<br>3 - 灾备同步失败;<br>4 - 灾备同步修复中。</p>
24115
24105
  :rtype: int
24116
24106
  """
24117
24107
  return self._SyncStatus
@@ -24122,7 +24112,7 @@ class DrInfo(AbstractModel):
24122
24112
 
24123
24113
  @property
24124
24114
  def InstanceName(self):
24125
- r"""实例名称
24115
+ r"""<p>实例名称</p>
24126
24116
  :rtype: str
24127
24117
  """
24128
24118
  return self._InstanceName
@@ -24133,7 +24123,7 @@ class DrInfo(AbstractModel):
24133
24123
 
24134
24124
  @property
24135
24125
  def InstanceType(self):
24136
- r"""实例类型
24126
+ r"""<p>实例类型</p>
24137
24127
  :rtype: int
24138
24128
  """
24139
24129
  return self._InstanceType
@@ -25120,6 +25110,57 @@ RA - 范围。
25120
25110
 
25121
25111
 
25122
25112
 
25113
+ class InstanceChargePrepaid(AbstractModel):
25114
+ r"""修改计费模式时,如果需要从按量计费转为包年包月,则需指定时长和自动续费标志
25115
+
25116
+ """
25117
+
25118
+ def __init__(self):
25119
+ r"""
25120
+ :param _Period: <p>购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。</p>
25121
+ :type Period: int
25122
+ :param _RenewFlag: <p>自动续费标识,0:不自动续费,1:自动续费</p>
25123
+ :type RenewFlag: int
25124
+ """
25125
+ self._Period = None
25126
+ self._RenewFlag = None
25127
+
25128
+ @property
25129
+ def Period(self):
25130
+ r"""<p>购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。</p>
25131
+ :rtype: int
25132
+ """
25133
+ return self._Period
25134
+
25135
+ @Period.setter
25136
+ def Period(self, Period):
25137
+ self._Period = Period
25138
+
25139
+ @property
25140
+ def RenewFlag(self):
25141
+ r"""<p>自动续费标识,0:不自动续费,1:自动续费</p>
25142
+ :rtype: int
25143
+ """
25144
+ return self._RenewFlag
25145
+
25146
+ @RenewFlag.setter
25147
+ def RenewFlag(self, RenewFlag):
25148
+ self._RenewFlag = RenewFlag
25149
+
25150
+
25151
+ def _deserialize(self, params):
25152
+ self._Period = params.get("Period")
25153
+ self._RenewFlag = params.get("RenewFlag")
25154
+ memeber_set = set(params.keys())
25155
+ for name, value in vars(self).items():
25156
+ property_name = name[1:]
25157
+ if property_name in memeber_set:
25158
+ memeber_set.remove(property_name)
25159
+ if len(memeber_set) > 0:
25160
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25161
+
25162
+
25163
+
25123
25164
  class InstanceDbAuditStatus(AbstractModel):
25124
25165
  r"""实例审计详情信息
25125
25166
 
@@ -30410,6 +30451,196 @@ class ModifyDBInstanceVipVportResponse(AbstractModel):
30410
30451
  self._RequestId = params.get("RequestId")
30411
30452
 
30412
30453
 
30454
+ class ModifyInstanceChargeTypeRequest(AbstractModel):
30455
+ r"""ModifyInstanceChargeType请求参数结构体
30456
+
30457
+ """
30458
+
30459
+ def __init__(self):
30460
+ r"""
30461
+ :param _InstanceId: <p>实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
30462
+ :type InstanceId: str
30463
+ :param _InstanceChargeType: <p>修改后的计费类型</p><p>枚举值:</p><ul><li>PREPAID: 包年包月</li><li>POSTPAID_BY_HOUR: 按量计费</li></ul>
30464
+ :type InstanceChargeType: str
30465
+ :param _InstanceChargePrepaid: <p>修改后包年包月相关参数设置</p>
30466
+ :type InstanceChargePrepaid: :class:`tencentcloud.cdb.v20170320.models.InstanceChargePrepaid`
30467
+ """
30468
+ self._InstanceId = None
30469
+ self._InstanceChargeType = None
30470
+ self._InstanceChargePrepaid = None
30471
+
30472
+ @property
30473
+ def InstanceId(self):
30474
+ r"""<p>实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
30475
+ :rtype: str
30476
+ """
30477
+ return self._InstanceId
30478
+
30479
+ @InstanceId.setter
30480
+ def InstanceId(self, InstanceId):
30481
+ self._InstanceId = InstanceId
30482
+
30483
+ @property
30484
+ def InstanceChargeType(self):
30485
+ r"""<p>修改后的计费类型</p><p>枚举值:</p><ul><li>PREPAID: 包年包月</li><li>POSTPAID_BY_HOUR: 按量计费</li></ul>
30486
+ :rtype: str
30487
+ """
30488
+ return self._InstanceChargeType
30489
+
30490
+ @InstanceChargeType.setter
30491
+ def InstanceChargeType(self, InstanceChargeType):
30492
+ self._InstanceChargeType = InstanceChargeType
30493
+
30494
+ @property
30495
+ def InstanceChargePrepaid(self):
30496
+ r"""<p>修改后包年包月相关参数设置</p>
30497
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.InstanceChargePrepaid`
30498
+ """
30499
+ return self._InstanceChargePrepaid
30500
+
30501
+ @InstanceChargePrepaid.setter
30502
+ def InstanceChargePrepaid(self, InstanceChargePrepaid):
30503
+ self._InstanceChargePrepaid = InstanceChargePrepaid
30504
+
30505
+
30506
+ def _deserialize(self, params):
30507
+ self._InstanceId = params.get("InstanceId")
30508
+ self._InstanceChargeType = params.get("InstanceChargeType")
30509
+ if params.get("InstanceChargePrepaid") is not None:
30510
+ self._InstanceChargePrepaid = InstanceChargePrepaid()
30511
+ self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
30512
+ memeber_set = set(params.keys())
30513
+ for name, value in vars(self).items():
30514
+ property_name = name[1:]
30515
+ if property_name in memeber_set:
30516
+ memeber_set.remove(property_name)
30517
+ if len(memeber_set) > 0:
30518
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
30519
+
30520
+
30521
+
30522
+ class ModifyInstanceChargeTypeResponse(AbstractModel):
30523
+ r"""ModifyInstanceChargeType返回参数结构体
30524
+
30525
+ """
30526
+
30527
+ def __init__(self):
30528
+ r"""
30529
+ :param _DealName: <p>订单ID</p>
30530
+ :type DealName: str
30531
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30532
+ :type RequestId: str
30533
+ """
30534
+ self._DealName = None
30535
+ self._RequestId = None
30536
+
30537
+ @property
30538
+ def DealName(self):
30539
+ r"""<p>订单ID</p>
30540
+ :rtype: str
30541
+ """
30542
+ return self._DealName
30543
+
30544
+ @DealName.setter
30545
+ def DealName(self, DealName):
30546
+ self._DealName = DealName
30547
+
30548
+ @property
30549
+ def RequestId(self):
30550
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30551
+ :rtype: str
30552
+ """
30553
+ return self._RequestId
30554
+
30555
+ @RequestId.setter
30556
+ def RequestId(self, RequestId):
30557
+ self._RequestId = RequestId
30558
+
30559
+
30560
+ def _deserialize(self, params):
30561
+ self._DealName = params.get("DealName")
30562
+ self._RequestId = params.get("RequestId")
30563
+
30564
+
30565
+ class ModifyInstanceDestroyProtectRequest(AbstractModel):
30566
+ r"""ModifyInstanceDestroyProtect请求参数结构体
30567
+
30568
+ """
30569
+
30570
+ def __init__(self):
30571
+ r"""
30572
+ :param _InstanceIds: 实例 ID 列表
30573
+ :type InstanceIds: list of str
30574
+ :param _DestroyProtect: 开启或关闭实例销毁保护
30575
+ :type DestroyProtect: str
30576
+ """
30577
+ self._InstanceIds = None
30578
+ self._DestroyProtect = None
30579
+
30580
+ @property
30581
+ def InstanceIds(self):
30582
+ r"""实例 ID 列表
30583
+ :rtype: list of str
30584
+ """
30585
+ return self._InstanceIds
30586
+
30587
+ @InstanceIds.setter
30588
+ def InstanceIds(self, InstanceIds):
30589
+ self._InstanceIds = InstanceIds
30590
+
30591
+ @property
30592
+ def DestroyProtect(self):
30593
+ r"""开启或关闭实例销毁保护
30594
+ :rtype: str
30595
+ """
30596
+ return self._DestroyProtect
30597
+
30598
+ @DestroyProtect.setter
30599
+ def DestroyProtect(self, DestroyProtect):
30600
+ self._DestroyProtect = DestroyProtect
30601
+
30602
+
30603
+ def _deserialize(self, params):
30604
+ self._InstanceIds = params.get("InstanceIds")
30605
+ self._DestroyProtect = params.get("DestroyProtect")
30606
+ memeber_set = set(params.keys())
30607
+ for name, value in vars(self).items():
30608
+ property_name = name[1:]
30609
+ if property_name in memeber_set:
30610
+ memeber_set.remove(property_name)
30611
+ if len(memeber_set) > 0:
30612
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
30613
+
30614
+
30615
+
30616
+ class ModifyInstanceDestroyProtectResponse(AbstractModel):
30617
+ r"""ModifyInstanceDestroyProtect返回参数结构体
30618
+
30619
+ """
30620
+
30621
+ def __init__(self):
30622
+ r"""
30623
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30624
+ :type RequestId: str
30625
+ """
30626
+ self._RequestId = None
30627
+
30628
+ @property
30629
+ def RequestId(self):
30630
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30631
+ :rtype: str
30632
+ """
30633
+ return self._RequestId
30634
+
30635
+ @RequestId.setter
30636
+ def RequestId(self, RequestId):
30637
+ self._RequestId = RequestId
30638
+
30639
+
30640
+ def _deserialize(self, params):
30641
+ self._RequestId = params.get("RequestId")
30642
+
30643
+
30413
30644
  class ModifyInstanceParamRequest(AbstractModel):
30414
30645
  r"""ModifyInstanceParam请求参数结构体
30415
30646
 
@@ -40017,11 +40248,14 @@ class UpgradeDBInstanceResponse(AbstractModel):
40017
40248
  :type DealIds: list of str
40018
40249
  :param _AsyncRequestId: <p>异步任务的请求 ID,可使用此 ID <a href="https://cloud.tencent.com/document/product/236/20410">查询异步任务的执行结果</a>。</p>
40019
40250
  :type AsyncRequestId: str
40251
+ :param _JobId: <p>任务列表的任务ID</p>
40252
+ :type JobId: int
40020
40253
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
40021
40254
  :type RequestId: str
40022
40255
  """
40023
40256
  self._DealIds = None
40024
40257
  self._AsyncRequestId = None
40258
+ self._JobId = None
40025
40259
  self._RequestId = None
40026
40260
 
40027
40261
  @property
@@ -40046,6 +40280,17 @@ class UpgradeDBInstanceResponse(AbstractModel):
40046
40280
  def AsyncRequestId(self, AsyncRequestId):
40047
40281
  self._AsyncRequestId = AsyncRequestId
40048
40282
 
40283
+ @property
40284
+ def JobId(self):
40285
+ r"""<p>任务列表的任务ID</p>
40286
+ :rtype: int
40287
+ """
40288
+ return self._JobId
40289
+
40290
+ @JobId.setter
40291
+ def JobId(self, JobId):
40292
+ self._JobId = JobId
40293
+
40049
40294
  @property
40050
40295
  def RequestId(self):
40051
40296
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -40061,6 +40306,7 @@ class UpgradeDBInstanceResponse(AbstractModel):
40061
40306
  def _deserialize(self, params):
40062
40307
  self._DealIds = params.get("DealIds")
40063
40308
  self._AsyncRequestId = params.get("AsyncRequestId")
40309
+ self._JobId = params.get("JobId")
40064
40310
  self._RequestId = params.get("RequestId")
40065
40311
 
40066
40312
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdb
3
- Version: 3.1.145
3
+ Version: 3.1.154
4
4
  Summary: Tencent Cloud Cdb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.154
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.154
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.145