tencentcloud-sdk-python-dc 3.0.1475__tar.gz → 3.1.83__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.
- tencentcloud_sdk_python_dc-3.1.83/PKG-INFO +46 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/setup.py +2 -1
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/tencentcloud/__init__.py +1 -1
- tencentcloud_sdk_python_dc-3.1.83/tencentcloud/dc/v20180410/dc_client_async.py +425 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/tencentcloud/dc/v20180410/models.py +33 -18
- tencentcloud_sdk_python_dc-3.1.83/tencentcloud_sdk_python_dc.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/tencentcloud_sdk_python_dc.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_dc-3.1.83/tencentcloud_sdk_python_dc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dc-3.0.1475/PKG-INFO +0 -45
- tencentcloud-sdk-python-dc-3.0.1475/tencentcloud_sdk_python_dc.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-dc-3.0.1475/tencentcloud_sdk_python_dc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/README.rst +0 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/tencentcloud/dc/__init__.py +0 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/tencentcloud/dc/v20180410/__init__.py +0 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/tencentcloud/dc/v20180410/dc_client.py +0 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/tencentcloud/dc/v20180410/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/tencentcloud_sdk_python_dc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dc-3.0.1475 → tencentcloud_sdk_python_dc-3.1.83}/tencentcloud_sdk_python_dc.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-dc
|
|
3
|
+
Version: 3.1.83
|
|
4
|
+
Summary: Tencent Cloud Dc SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.83
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Dc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-dc
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common dc
|
|
46
|
+
|
|
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.83,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Dc SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.dc.v20180410 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class DcClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2018-04-10'
|
|
25
|
+
_endpoint = 'dc.tencentcloudapi.com'
|
|
26
|
+
_service = 'dc'
|
|
27
|
+
|
|
28
|
+
async def AcceptDirectConnectTunnel(
|
|
29
|
+
self,
|
|
30
|
+
request: models.AcceptDirectConnectTunnelRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.AcceptDirectConnectTunnelResponse:
|
|
33
|
+
"""
|
|
34
|
+
接受专用通道申请。
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "AcceptDirectConnectTunnel"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.AcceptDirectConnectTunnelResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def ApplyInternetAddress(
|
|
47
|
+
self,
|
|
48
|
+
request: models.ApplyInternetAddressRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.ApplyInternetAddressResponse:
|
|
51
|
+
"""
|
|
52
|
+
申请互联网CIDR地址
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "ApplyInternetAddress"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.ApplyInternetAddressResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def CreateCloudAttachService(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateCloudAttachServiceRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateCloudAttachServiceResponse:
|
|
69
|
+
"""
|
|
70
|
+
创建敏捷上云服务
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateCloudAttachService"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateCloudAttachServiceResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def CreateDirectConnect(
|
|
83
|
+
self,
|
|
84
|
+
request: models.CreateDirectConnectRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.CreateDirectConnectResponse:
|
|
87
|
+
"""
|
|
88
|
+
申请物理专线接入。
|
|
89
|
+
调用该接口时,请注意:
|
|
90
|
+
账号要进行实名认证,否则不允许申请物理专线;
|
|
91
|
+
若账户下存在欠费状态的物理专线,则不能申请更多的物理专线。
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
kwargs = {}
|
|
95
|
+
kwargs["action"] = "CreateDirectConnect"
|
|
96
|
+
kwargs["params"] = request._serialize()
|
|
97
|
+
kwargs["resp_cls"] = models.CreateDirectConnectResponse
|
|
98
|
+
kwargs["headers"] = request.headers
|
|
99
|
+
kwargs["opts"] = opts or {}
|
|
100
|
+
|
|
101
|
+
return await self.call_and_deserialize(**kwargs)
|
|
102
|
+
|
|
103
|
+
async def CreateDirectConnectTunnel(
|
|
104
|
+
self,
|
|
105
|
+
request: models.CreateDirectConnectTunnelRequest,
|
|
106
|
+
opts: Dict = None,
|
|
107
|
+
) -> models.CreateDirectConnectTunnelResponse:
|
|
108
|
+
"""
|
|
109
|
+
创建专用通道。
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
kwargs = {}
|
|
113
|
+
kwargs["action"] = "CreateDirectConnectTunnel"
|
|
114
|
+
kwargs["params"] = request._serialize()
|
|
115
|
+
kwargs["resp_cls"] = models.CreateDirectConnectTunnelResponse
|
|
116
|
+
kwargs["headers"] = request.headers
|
|
117
|
+
kwargs["opts"] = opts or {}
|
|
118
|
+
|
|
119
|
+
return await self.call_and_deserialize(**kwargs)
|
|
120
|
+
|
|
121
|
+
async def DeleteDirectConnect(
|
|
122
|
+
self,
|
|
123
|
+
request: models.DeleteDirectConnectRequest,
|
|
124
|
+
opts: Dict = None,
|
|
125
|
+
) -> models.DeleteDirectConnectResponse:
|
|
126
|
+
"""
|
|
127
|
+
删除物理专线。只能删除处于已连接状态的物理专线。
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
kwargs = {}
|
|
131
|
+
kwargs["action"] = "DeleteDirectConnect"
|
|
132
|
+
kwargs["params"] = request._serialize()
|
|
133
|
+
kwargs["resp_cls"] = models.DeleteDirectConnectResponse
|
|
134
|
+
kwargs["headers"] = request.headers
|
|
135
|
+
kwargs["opts"] = opts or {}
|
|
136
|
+
|
|
137
|
+
return await self.call_and_deserialize(**kwargs)
|
|
138
|
+
|
|
139
|
+
async def DeleteDirectConnectTunnel(
|
|
140
|
+
self,
|
|
141
|
+
request: models.DeleteDirectConnectTunnelRequest,
|
|
142
|
+
opts: Dict = None,
|
|
143
|
+
) -> models.DeleteDirectConnectTunnelResponse:
|
|
144
|
+
"""
|
|
145
|
+
删除专用通道。
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
kwargs = {}
|
|
149
|
+
kwargs["action"] = "DeleteDirectConnectTunnel"
|
|
150
|
+
kwargs["params"] = request._serialize()
|
|
151
|
+
kwargs["resp_cls"] = models.DeleteDirectConnectTunnelResponse
|
|
152
|
+
kwargs["headers"] = request.headers
|
|
153
|
+
kwargs["opts"] = opts or {}
|
|
154
|
+
|
|
155
|
+
return await self.call_and_deserialize(**kwargs)
|
|
156
|
+
|
|
157
|
+
async def DescribeAccessPoints(
|
|
158
|
+
self,
|
|
159
|
+
request: models.DescribeAccessPointsRequest,
|
|
160
|
+
opts: Dict = None,
|
|
161
|
+
) -> models.DescribeAccessPointsResponse:
|
|
162
|
+
"""
|
|
163
|
+
查询物理专线接入点。
|
|
164
|
+
"""
|
|
165
|
+
|
|
166
|
+
kwargs = {}
|
|
167
|
+
kwargs["action"] = "DescribeAccessPoints"
|
|
168
|
+
kwargs["params"] = request._serialize()
|
|
169
|
+
kwargs["resp_cls"] = models.DescribeAccessPointsResponse
|
|
170
|
+
kwargs["headers"] = request.headers
|
|
171
|
+
kwargs["opts"] = opts or {}
|
|
172
|
+
|
|
173
|
+
return await self.call_and_deserialize(**kwargs)
|
|
174
|
+
|
|
175
|
+
async def DescribeDirectConnectTunnelExtra(
|
|
176
|
+
self,
|
|
177
|
+
request: models.DescribeDirectConnectTunnelExtraRequest,
|
|
178
|
+
opts: Dict = None,
|
|
179
|
+
) -> models.DescribeDirectConnectTunnelExtraResponse:
|
|
180
|
+
"""
|
|
181
|
+
查询专用通道扩展信息。
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
kwargs = {}
|
|
185
|
+
kwargs["action"] = "DescribeDirectConnectTunnelExtra"
|
|
186
|
+
kwargs["params"] = request._serialize()
|
|
187
|
+
kwargs["resp_cls"] = models.DescribeDirectConnectTunnelExtraResponse
|
|
188
|
+
kwargs["headers"] = request.headers
|
|
189
|
+
kwargs["opts"] = opts or {}
|
|
190
|
+
|
|
191
|
+
return await self.call_and_deserialize(**kwargs)
|
|
192
|
+
|
|
193
|
+
async def DescribeDirectConnectTunnels(
|
|
194
|
+
self,
|
|
195
|
+
request: models.DescribeDirectConnectTunnelsRequest,
|
|
196
|
+
opts: Dict = None,
|
|
197
|
+
) -> models.DescribeDirectConnectTunnelsResponse:
|
|
198
|
+
"""
|
|
199
|
+
查询专用通道列表。
|
|
200
|
+
"""
|
|
201
|
+
|
|
202
|
+
kwargs = {}
|
|
203
|
+
kwargs["action"] = "DescribeDirectConnectTunnels"
|
|
204
|
+
kwargs["params"] = request._serialize()
|
|
205
|
+
kwargs["resp_cls"] = models.DescribeDirectConnectTunnelsResponse
|
|
206
|
+
kwargs["headers"] = request.headers
|
|
207
|
+
kwargs["opts"] = opts or {}
|
|
208
|
+
|
|
209
|
+
return await self.call_and_deserialize(**kwargs)
|
|
210
|
+
|
|
211
|
+
async def DescribeDirectConnects(
|
|
212
|
+
self,
|
|
213
|
+
request: models.DescribeDirectConnectsRequest,
|
|
214
|
+
opts: Dict = None,
|
|
215
|
+
) -> models.DescribeDirectConnectsResponse:
|
|
216
|
+
"""
|
|
217
|
+
查询物理专线列表。
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
kwargs = {}
|
|
221
|
+
kwargs["action"] = "DescribeDirectConnects"
|
|
222
|
+
kwargs["params"] = request._serialize()
|
|
223
|
+
kwargs["resp_cls"] = models.DescribeDirectConnectsResponse
|
|
224
|
+
kwargs["headers"] = request.headers
|
|
225
|
+
kwargs["opts"] = opts or {}
|
|
226
|
+
|
|
227
|
+
return await self.call_and_deserialize(**kwargs)
|
|
228
|
+
|
|
229
|
+
async def DescribeInternetAddress(
|
|
230
|
+
self,
|
|
231
|
+
request: models.DescribeInternetAddressRequest,
|
|
232
|
+
opts: Dict = None,
|
|
233
|
+
) -> models.DescribeInternetAddressResponse:
|
|
234
|
+
"""
|
|
235
|
+
获取用户互联网公网地址信息
|
|
236
|
+
"""
|
|
237
|
+
|
|
238
|
+
kwargs = {}
|
|
239
|
+
kwargs["action"] = "DescribeInternetAddress"
|
|
240
|
+
kwargs["params"] = request._serialize()
|
|
241
|
+
kwargs["resp_cls"] = models.DescribeInternetAddressResponse
|
|
242
|
+
kwargs["headers"] = request.headers
|
|
243
|
+
kwargs["opts"] = opts or {}
|
|
244
|
+
|
|
245
|
+
return await self.call_and_deserialize(**kwargs)
|
|
246
|
+
|
|
247
|
+
async def DescribeInternetAddressQuota(
|
|
248
|
+
self,
|
|
249
|
+
request: models.DescribeInternetAddressQuotaRequest,
|
|
250
|
+
opts: Dict = None,
|
|
251
|
+
) -> models.DescribeInternetAddressQuotaResponse:
|
|
252
|
+
"""
|
|
253
|
+
获取用户互联网公网地址配额
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
kwargs = {}
|
|
257
|
+
kwargs["action"] = "DescribeInternetAddressQuota"
|
|
258
|
+
kwargs["params"] = request._serialize()
|
|
259
|
+
kwargs["resp_cls"] = models.DescribeInternetAddressQuotaResponse
|
|
260
|
+
kwargs["headers"] = request.headers
|
|
261
|
+
kwargs["opts"] = opts or {}
|
|
262
|
+
|
|
263
|
+
return await self.call_and_deserialize(**kwargs)
|
|
264
|
+
|
|
265
|
+
async def DescribeInternetAddressStatistics(
|
|
266
|
+
self,
|
|
267
|
+
request: models.DescribeInternetAddressStatisticsRequest,
|
|
268
|
+
opts: Dict = None,
|
|
269
|
+
) -> models.DescribeInternetAddressStatisticsResponse:
|
|
270
|
+
"""
|
|
271
|
+
获取用户互联网公网地址分配统计信息
|
|
272
|
+
"""
|
|
273
|
+
|
|
274
|
+
kwargs = {}
|
|
275
|
+
kwargs["action"] = "DescribeInternetAddressStatistics"
|
|
276
|
+
kwargs["params"] = request._serialize()
|
|
277
|
+
kwargs["resp_cls"] = models.DescribeInternetAddressStatisticsResponse
|
|
278
|
+
kwargs["headers"] = request.headers
|
|
279
|
+
kwargs["opts"] = opts or {}
|
|
280
|
+
|
|
281
|
+
return await self.call_and_deserialize(**kwargs)
|
|
282
|
+
|
|
283
|
+
async def DescribePublicDirectConnectTunnelRoutes(
|
|
284
|
+
self,
|
|
285
|
+
request: models.DescribePublicDirectConnectTunnelRoutesRequest,
|
|
286
|
+
opts: Dict = None,
|
|
287
|
+
) -> models.DescribePublicDirectConnectTunnelRoutesResponse:
|
|
288
|
+
"""
|
|
289
|
+
查询互联网通道路由列表。
|
|
290
|
+
"""
|
|
291
|
+
|
|
292
|
+
kwargs = {}
|
|
293
|
+
kwargs["action"] = "DescribePublicDirectConnectTunnelRoutes"
|
|
294
|
+
kwargs["params"] = request._serialize()
|
|
295
|
+
kwargs["resp_cls"] = models.DescribePublicDirectConnectTunnelRoutesResponse
|
|
296
|
+
kwargs["headers"] = request.headers
|
|
297
|
+
kwargs["opts"] = opts or {}
|
|
298
|
+
|
|
299
|
+
return await self.call_and_deserialize(**kwargs)
|
|
300
|
+
|
|
301
|
+
async def DisableInternetAddress(
|
|
302
|
+
self,
|
|
303
|
+
request: models.DisableInternetAddressRequest,
|
|
304
|
+
opts: Dict = None,
|
|
305
|
+
) -> models.DisableInternetAddressResponse:
|
|
306
|
+
"""
|
|
307
|
+
停用用户申请的公网互联网地址
|
|
308
|
+
"""
|
|
309
|
+
|
|
310
|
+
kwargs = {}
|
|
311
|
+
kwargs["action"] = "DisableInternetAddress"
|
|
312
|
+
kwargs["params"] = request._serialize()
|
|
313
|
+
kwargs["resp_cls"] = models.DisableInternetAddressResponse
|
|
314
|
+
kwargs["headers"] = request.headers
|
|
315
|
+
kwargs["opts"] = opts or {}
|
|
316
|
+
|
|
317
|
+
return await self.call_and_deserialize(**kwargs)
|
|
318
|
+
|
|
319
|
+
async def EnableInternetAddress(
|
|
320
|
+
self,
|
|
321
|
+
request: models.EnableInternetAddressRequest,
|
|
322
|
+
opts: Dict = None,
|
|
323
|
+
) -> models.EnableInternetAddressResponse:
|
|
324
|
+
"""
|
|
325
|
+
启用已停用的互联网公网地址
|
|
326
|
+
"""
|
|
327
|
+
|
|
328
|
+
kwargs = {}
|
|
329
|
+
kwargs["action"] = "EnableInternetAddress"
|
|
330
|
+
kwargs["params"] = request._serialize()
|
|
331
|
+
kwargs["resp_cls"] = models.EnableInternetAddressResponse
|
|
332
|
+
kwargs["headers"] = request.headers
|
|
333
|
+
kwargs["opts"] = opts or {}
|
|
334
|
+
|
|
335
|
+
return await self.call_and_deserialize(**kwargs)
|
|
336
|
+
|
|
337
|
+
async def ModifyDirectConnectAttribute(
|
|
338
|
+
self,
|
|
339
|
+
request: models.ModifyDirectConnectAttributeRequest,
|
|
340
|
+
opts: Dict = None,
|
|
341
|
+
) -> models.ModifyDirectConnectAttributeResponse:
|
|
342
|
+
"""
|
|
343
|
+
修改物理专线的属性。
|
|
344
|
+
"""
|
|
345
|
+
|
|
346
|
+
kwargs = {}
|
|
347
|
+
kwargs["action"] = "ModifyDirectConnectAttribute"
|
|
348
|
+
kwargs["params"] = request._serialize()
|
|
349
|
+
kwargs["resp_cls"] = models.ModifyDirectConnectAttributeResponse
|
|
350
|
+
kwargs["headers"] = request.headers
|
|
351
|
+
kwargs["opts"] = opts or {}
|
|
352
|
+
|
|
353
|
+
return await self.call_and_deserialize(**kwargs)
|
|
354
|
+
|
|
355
|
+
async def ModifyDirectConnectTunnelAttribute(
|
|
356
|
+
self,
|
|
357
|
+
request: models.ModifyDirectConnectTunnelAttributeRequest,
|
|
358
|
+
opts: Dict = None,
|
|
359
|
+
) -> models.ModifyDirectConnectTunnelAttributeResponse:
|
|
360
|
+
"""
|
|
361
|
+
修改专用通道属性。
|
|
362
|
+
"""
|
|
363
|
+
|
|
364
|
+
kwargs = {}
|
|
365
|
+
kwargs["action"] = "ModifyDirectConnectTunnelAttribute"
|
|
366
|
+
kwargs["params"] = request._serialize()
|
|
367
|
+
kwargs["resp_cls"] = models.ModifyDirectConnectTunnelAttributeResponse
|
|
368
|
+
kwargs["headers"] = request.headers
|
|
369
|
+
kwargs["opts"] = opts or {}
|
|
370
|
+
|
|
371
|
+
return await self.call_and_deserialize(**kwargs)
|
|
372
|
+
|
|
373
|
+
async def ModifyDirectConnectTunnelExtra(
|
|
374
|
+
self,
|
|
375
|
+
request: models.ModifyDirectConnectTunnelExtraRequest,
|
|
376
|
+
opts: Dict = None,
|
|
377
|
+
) -> models.ModifyDirectConnectTunnelExtraResponse:
|
|
378
|
+
"""
|
|
379
|
+
修改专用通道扩展信息。
|
|
380
|
+
"""
|
|
381
|
+
|
|
382
|
+
kwargs = {}
|
|
383
|
+
kwargs["action"] = "ModifyDirectConnectTunnelExtra"
|
|
384
|
+
kwargs["params"] = request._serialize()
|
|
385
|
+
kwargs["resp_cls"] = models.ModifyDirectConnectTunnelExtraResponse
|
|
386
|
+
kwargs["headers"] = request.headers
|
|
387
|
+
kwargs["opts"] = opts or {}
|
|
388
|
+
|
|
389
|
+
return await self.call_and_deserialize(**kwargs)
|
|
390
|
+
|
|
391
|
+
async def RejectDirectConnectTunnel(
|
|
392
|
+
self,
|
|
393
|
+
request: models.RejectDirectConnectTunnelRequest,
|
|
394
|
+
opts: Dict = None,
|
|
395
|
+
) -> models.RejectDirectConnectTunnelResponse:
|
|
396
|
+
"""
|
|
397
|
+
拒绝专用通道申请。
|
|
398
|
+
"""
|
|
399
|
+
|
|
400
|
+
kwargs = {}
|
|
401
|
+
kwargs["action"] = "RejectDirectConnectTunnel"
|
|
402
|
+
kwargs["params"] = request._serialize()
|
|
403
|
+
kwargs["resp_cls"] = models.RejectDirectConnectTunnelResponse
|
|
404
|
+
kwargs["headers"] = request.headers
|
|
405
|
+
kwargs["opts"] = opts or {}
|
|
406
|
+
|
|
407
|
+
return await self.call_and_deserialize(**kwargs)
|
|
408
|
+
|
|
409
|
+
async def ReleaseInternetAddress(
|
|
410
|
+
self,
|
|
411
|
+
request: models.ReleaseInternetAddressRequest,
|
|
412
|
+
opts: Dict = None,
|
|
413
|
+
) -> models.ReleaseInternetAddressResponse:
|
|
414
|
+
"""
|
|
415
|
+
释放已申请的互联网地址
|
|
416
|
+
"""
|
|
417
|
+
|
|
418
|
+
kwargs = {}
|
|
419
|
+
kwargs["action"] = "ReleaseInternetAddress"
|
|
420
|
+
kwargs["params"] = request._serialize()
|
|
421
|
+
kwargs["resp_cls"] = models.ReleaseInternetAddressResponse
|
|
422
|
+
kwargs["headers"] = request.headers
|
|
423
|
+
kwargs["opts"] = opts or {}
|
|
424
|
+
|
|
425
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -1092,24 +1092,26 @@ class CreateCasInput(AbstractModel):
|
|
|
1092
1092
|
|
|
1093
1093
|
def __init__(self):
|
|
1094
1094
|
r"""
|
|
1095
|
-
:param _Name:
|
|
1095
|
+
:param _Name: <p>敏捷上云名称</p>
|
|
1096
1096
|
:type Name: str
|
|
1097
|
-
:param _IdcAddress:
|
|
1097
|
+
:param _IdcAddress: <p>需要接入敏捷上云的IDC的地址</p>
|
|
1098
1098
|
:type IdcAddress: str
|
|
1099
|
-
:param _IdcType:
|
|
1099
|
+
:param _IdcType: <p>需要接入敏捷上云的IDC的互联网服务提供商类型</p>
|
|
1100
1100
|
:type IdcType: str
|
|
1101
|
-
:param _Bandwidth:
|
|
1101
|
+
:param _Bandwidth: <p>敏捷上云的带宽,单位为MB</p>
|
|
1102
1102
|
:type Bandwidth: int
|
|
1103
|
-
:param _Telephone:
|
|
1103
|
+
:param _Telephone: <p>联系电话</p>
|
|
1104
1104
|
:type Telephone: str
|
|
1105
|
-
:param _Remarks:
|
|
1105
|
+
:param _Remarks: <p>备注信息</p>
|
|
1106
1106
|
:type Remarks: str
|
|
1107
|
-
:param _ArRegion:
|
|
1107
|
+
:param _ArRegion: <p>接入地域</p>
|
|
1108
1108
|
:type ArRegion: str
|
|
1109
|
-
:param _IdcPointType: IDC侧类型,默认为OTHER。枚举值:CLOUD-云,ISP-运营商,OTHER
|
|
1109
|
+
:param _IdcPointType: <p>IDC侧类型,默认为OTHER。枚举值:CLOUD-云,ISP-运营商,OTHER-第三方</p>
|
|
1110
1110
|
:type IdcPointType: str
|
|
1111
|
-
:param _BIapLinkProtected:
|
|
1111
|
+
:param _BIapLinkProtected: <p>运营商链路是否有保护</p>
|
|
1112
1112
|
:type BIapLinkProtected: bool
|
|
1113
|
+
:param _ServiceType: <p>服务类型,SHARE-共享型,EXCLUSIVE-独占型</p>
|
|
1114
|
+
:type ServiceType: str
|
|
1113
1115
|
"""
|
|
1114
1116
|
self._Name = None
|
|
1115
1117
|
self._IdcAddress = None
|
|
@@ -1120,10 +1122,11 @@ class CreateCasInput(AbstractModel):
|
|
|
1120
1122
|
self._ArRegion = None
|
|
1121
1123
|
self._IdcPointType = None
|
|
1122
1124
|
self._BIapLinkProtected = None
|
|
1125
|
+
self._ServiceType = None
|
|
1123
1126
|
|
|
1124
1127
|
@property
|
|
1125
1128
|
def Name(self):
|
|
1126
|
-
r"""
|
|
1129
|
+
r"""<p>敏捷上云名称</p>
|
|
1127
1130
|
:rtype: str
|
|
1128
1131
|
"""
|
|
1129
1132
|
return self._Name
|
|
@@ -1134,7 +1137,7 @@ class CreateCasInput(AbstractModel):
|
|
|
1134
1137
|
|
|
1135
1138
|
@property
|
|
1136
1139
|
def IdcAddress(self):
|
|
1137
|
-
r"""
|
|
1140
|
+
r"""<p>需要接入敏捷上云的IDC的地址</p>
|
|
1138
1141
|
:rtype: str
|
|
1139
1142
|
"""
|
|
1140
1143
|
return self._IdcAddress
|
|
@@ -1145,7 +1148,7 @@ class CreateCasInput(AbstractModel):
|
|
|
1145
1148
|
|
|
1146
1149
|
@property
|
|
1147
1150
|
def IdcType(self):
|
|
1148
|
-
r"""
|
|
1151
|
+
r"""<p>需要接入敏捷上云的IDC的互联网服务提供商类型</p>
|
|
1149
1152
|
:rtype: str
|
|
1150
1153
|
"""
|
|
1151
1154
|
return self._IdcType
|
|
@@ -1156,7 +1159,7 @@ class CreateCasInput(AbstractModel):
|
|
|
1156
1159
|
|
|
1157
1160
|
@property
|
|
1158
1161
|
def Bandwidth(self):
|
|
1159
|
-
r"""
|
|
1162
|
+
r"""<p>敏捷上云的带宽,单位为MB</p>
|
|
1160
1163
|
:rtype: int
|
|
1161
1164
|
"""
|
|
1162
1165
|
return self._Bandwidth
|
|
@@ -1167,7 +1170,7 @@ class CreateCasInput(AbstractModel):
|
|
|
1167
1170
|
|
|
1168
1171
|
@property
|
|
1169
1172
|
def Telephone(self):
|
|
1170
|
-
r"""
|
|
1173
|
+
r"""<p>联系电话</p>
|
|
1171
1174
|
:rtype: str
|
|
1172
1175
|
"""
|
|
1173
1176
|
return self._Telephone
|
|
@@ -1178,7 +1181,7 @@ class CreateCasInput(AbstractModel):
|
|
|
1178
1181
|
|
|
1179
1182
|
@property
|
|
1180
1183
|
def Remarks(self):
|
|
1181
|
-
r"""
|
|
1184
|
+
r"""<p>备注信息</p>
|
|
1182
1185
|
:rtype: str
|
|
1183
1186
|
"""
|
|
1184
1187
|
return self._Remarks
|
|
@@ -1189,7 +1192,7 @@ class CreateCasInput(AbstractModel):
|
|
|
1189
1192
|
|
|
1190
1193
|
@property
|
|
1191
1194
|
def ArRegion(self):
|
|
1192
|
-
r"""
|
|
1195
|
+
r"""<p>接入地域</p>
|
|
1193
1196
|
:rtype: str
|
|
1194
1197
|
"""
|
|
1195
1198
|
return self._ArRegion
|
|
@@ -1200,7 +1203,7 @@ class CreateCasInput(AbstractModel):
|
|
|
1200
1203
|
|
|
1201
1204
|
@property
|
|
1202
1205
|
def IdcPointType(self):
|
|
1203
|
-
r"""IDC侧类型,默认为OTHER。枚举值:CLOUD-云,ISP-运营商,OTHER
|
|
1206
|
+
r"""<p>IDC侧类型,默认为OTHER。枚举值:CLOUD-云,ISP-运营商,OTHER-第三方</p>
|
|
1204
1207
|
:rtype: str
|
|
1205
1208
|
"""
|
|
1206
1209
|
return self._IdcPointType
|
|
@@ -1211,7 +1214,7 @@ class CreateCasInput(AbstractModel):
|
|
|
1211
1214
|
|
|
1212
1215
|
@property
|
|
1213
1216
|
def BIapLinkProtected(self):
|
|
1214
|
-
r"""
|
|
1217
|
+
r"""<p>运营商链路是否有保护</p>
|
|
1215
1218
|
:rtype: bool
|
|
1216
1219
|
"""
|
|
1217
1220
|
return self._BIapLinkProtected
|
|
@@ -1220,6 +1223,17 @@ class CreateCasInput(AbstractModel):
|
|
|
1220
1223
|
def BIapLinkProtected(self, BIapLinkProtected):
|
|
1221
1224
|
self._BIapLinkProtected = BIapLinkProtected
|
|
1222
1225
|
|
|
1226
|
+
@property
|
|
1227
|
+
def ServiceType(self):
|
|
1228
|
+
r"""<p>服务类型,SHARE-共享型,EXCLUSIVE-独占型</p>
|
|
1229
|
+
:rtype: str
|
|
1230
|
+
"""
|
|
1231
|
+
return self._ServiceType
|
|
1232
|
+
|
|
1233
|
+
@ServiceType.setter
|
|
1234
|
+
def ServiceType(self, ServiceType):
|
|
1235
|
+
self._ServiceType = ServiceType
|
|
1236
|
+
|
|
1223
1237
|
|
|
1224
1238
|
def _deserialize(self, params):
|
|
1225
1239
|
self._Name = params.get("Name")
|
|
@@ -1231,6 +1245,7 @@ class CreateCasInput(AbstractModel):
|
|
|
1231
1245
|
self._ArRegion = params.get("ArRegion")
|
|
1232
1246
|
self._IdcPointType = params.get("IdcPointType")
|
|
1233
1247
|
self._BIapLinkProtected = params.get("BIapLinkProtected")
|
|
1248
|
+
self._ServiceType = params.get("ServiceType")
|
|
1234
1249
|
memeber_set = set(params.keys())
|
|
1235
1250
|
for name, value in vars(self).items():
|
|
1236
1251
|
property_name = name[1:]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-dc
|
|
3
|
+
Version: 3.1.83
|
|
4
|
+
Summary: Tencent Cloud Dc SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.83
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Dc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-dc
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common dc
|
|
46
|
+
|
|
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
|
|
|
5
5
|
tencentcloud/dc/__init__.py
|
|
6
6
|
tencentcloud/dc/v20180410/__init__.py
|
|
7
7
|
tencentcloud/dc/v20180410/dc_client.py
|
|
8
|
+
tencentcloud/dc/v20180410/dc_client_async.py
|
|
8
9
|
tencentcloud/dc/v20180410/errorcodes.py
|
|
9
10
|
tencentcloud/dc/v20180410/models.py
|
|
10
11
|
tencentcloud_sdk_python_dc.egg-info/PKG-INFO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.83
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-dc
|
|
3
|
-
Version: 3.0.1475
|
|
4
|
-
Summary: Tencent Cloud Dc SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Dc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-dc
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common dc
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-dc
|
|
3
|
-
Version: 3.0.1475
|
|
4
|
-
Summary: Tencent Cloud Dc SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Dc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-dc
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common dc
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1475
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|