tencentcloud-sdk-python-dc 3.0.1246__py2.py3-none-any.whl → 3.0.1264__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.1246'
17
+ __version__ = '3.0.1264'
@@ -72,6 +72,29 @@ class DcClient(AbstractClient):
72
72
  raise TencentCloudSDKException(type(e).__name__, str(e))
73
73
 
74
74
 
75
+ def CreateCloudAttachService(self, request):
76
+ """创建敏捷上云服务
77
+
78
+ :param request: Request instance for CreateCloudAttachService.
79
+ :type request: :class:`tencentcloud.dc.v20180410.models.CreateCloudAttachServiceRequest`
80
+ :rtype: :class:`tencentcloud.dc.v20180410.models.CreateCloudAttachServiceResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("CreateCloudAttachService", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.CreateCloudAttachServiceResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
91
+ except Exception as e:
92
+ if isinstance(e, TencentCloudSDKException):
93
+ raise
94
+ else:
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
96
+
97
+
75
98
  def CreateDirectConnect(self, request):
76
99
  """申请物理专线接入。
77
100
  调用该接口时,请注意: