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 +1 -1
- tencentcloud/dc/v20180410/dc_client.py +23 -0
- tencentcloud/dc/v20180410/models.py +1565 -0
- {tencentcloud_sdk_python_dc-3.0.1246.dist-info → tencentcloud_sdk_python_dc-3.0.1264.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_dc-3.0.1264.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_dc-3.0.1246.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_dc-3.0.1246.dist-info → tencentcloud_sdk_python_dc-3.0.1264.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_dc-3.0.1246.dist-info → tencentcloud_sdk_python_dc-3.0.1264.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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
|
调用该接口时,请注意:
|