tencentcloud-sdk-python-dcdb 3.0.1245__py2.py3-none-any.whl → 3.0.1272__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.1245'
17
+ __version__ = '3.0.1272'
@@ -257,6 +257,29 @@ class DcdbClient(AbstractClient):
257
257
  raise TencentCloudSDKException(type(e).__name__, str(e))
258
258
 
259
259
 
260
+ def CreateOnlineDDLJob(self, request):
261
+ """创建在线DDL任务
262
+
263
+ :param request: Request instance for CreateOnlineDDLJob.
264
+ :type request: :class:`tencentcloud.dcdb.v20180411.models.CreateOnlineDDLJobRequest`
265
+ :rtype: :class:`tencentcloud.dcdb.v20180411.models.CreateOnlineDDLJobResponse`
266
+
267
+ """
268
+ try:
269
+ params = request._serialize()
270
+ headers = request.headers
271
+ body = self.call("CreateOnlineDDLJob", params, headers=headers)
272
+ response = json.loads(body)
273
+ model = models.CreateOnlineDDLJobResponse()
274
+ model._deserialize(response["Response"])
275
+ return model
276
+ except Exception as e:
277
+ if isinstance(e, TencentCloudSDKException):
278
+ raise
279
+ else:
280
+ raise TencentCloudSDKException(type(e).__name__, str(e))
281
+
282
+
260
283
  def CreateTmpDCDBInstance(self, request):
261
284
  """回档TDSQL实例
262
285