tencentcloud-sdk-python-cdc 3.0.1459__tar.gz → 3.1.23__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_cdc-3.1.23/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/setup.py +2 -1
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/tencentcloud/__init__.py +1 -1
- tencentcloud_sdk_python_cdc-3.1.23/tencentcloud/cdc/v20201214/cdc_client_async.py +440 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/tencentcloud/cdc/v20201214/models.py +107 -124
- tencentcloud_sdk_python_cdc-3.1.23/tencentcloud_sdk_python_cdc.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/tencentcloud_sdk_python_cdc.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_cdc-3.1.23/tencentcloud_sdk_python_cdc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cdc-3.0.1459/PKG-INFO +0 -45
- tencentcloud-sdk-python-cdc-3.0.1459/tencentcloud_sdk_python_cdc.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cdc-3.0.1459/tencentcloud_sdk_python_cdc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/README.rst +0 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/tencentcloud/cdc/__init__.py +0 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/tencentcloud/cdc/v20201214/__init__.py +0 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/tencentcloud/cdc/v20201214/cdc_client.py +0 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/tencentcloud/cdc/v20201214/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/tencentcloud_sdk_python_cdc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdc-3.0.1459 → tencentcloud_sdk_python_cdc-3.1.23}/tencentcloud_sdk_python_cdc.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cdc
|
|
3
|
+
Version: 3.1.23
|
|
4
|
+
Summary: Tencent Cloud Cdc 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.23
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cdc 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-cdc
|
|
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 cdc
|
|
46
|
+
|
|
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cdc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.23,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Cdc SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -0,0 +1,440 @@
|
|
|
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.cdc.v20201214 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CdcClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2020-12-14'
|
|
25
|
+
_endpoint = 'cdc.tencentcloudapi.com'
|
|
26
|
+
_service = 'cdc'
|
|
27
|
+
|
|
28
|
+
async def CreateDedicatedCluster(
|
|
29
|
+
self,
|
|
30
|
+
request: models.CreateDedicatedClusterRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.CreateDedicatedClusterResponse:
|
|
33
|
+
"""
|
|
34
|
+
创建专用集群
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "CreateDedicatedCluster"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.CreateDedicatedClusterResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def CreateDedicatedClusterImageCache(
|
|
47
|
+
self,
|
|
48
|
+
request: models.CreateDedicatedClusterImageCacheRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.CreateDedicatedClusterImageCacheResponse:
|
|
51
|
+
"""
|
|
52
|
+
创建云上镜像缓存到本地专用集群中
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "CreateDedicatedClusterImageCache"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.CreateDedicatedClusterImageCacheResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def CreateDedicatedClusterOrder(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateDedicatedClusterOrderRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateDedicatedClusterOrderResponse:
|
|
69
|
+
"""
|
|
70
|
+
创建专用集群订单
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateDedicatedClusterOrder"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateDedicatedClusterOrderResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def CreateSite(
|
|
83
|
+
self,
|
|
84
|
+
request: models.CreateSiteRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.CreateSiteResponse:
|
|
87
|
+
"""
|
|
88
|
+
创建站点
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "CreateSite"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.CreateSiteResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def DeleteDedicatedClusterImageCache(
|
|
101
|
+
self,
|
|
102
|
+
request: models.DeleteDedicatedClusterImageCacheRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.DeleteDedicatedClusterImageCacheResponse:
|
|
105
|
+
"""
|
|
106
|
+
删除本地专用集群的云上镜像缓存
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "DeleteDedicatedClusterImageCache"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.DeleteDedicatedClusterImageCacheResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def DeleteDedicatedClusters(
|
|
119
|
+
self,
|
|
120
|
+
request: models.DeleteDedicatedClustersRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.DeleteDedicatedClustersResponse:
|
|
123
|
+
"""
|
|
124
|
+
删除专用集群
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "DeleteDedicatedClusters"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.DeleteDedicatedClustersResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def DeleteSites(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DeleteSitesRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DeleteSitesResponse:
|
|
141
|
+
"""
|
|
142
|
+
删除站点
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DeleteSites"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DeleteSitesResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
154
|
+
async def DescribeDedicatedClusterCbsStatistics(
|
|
155
|
+
self,
|
|
156
|
+
request: models.DescribeDedicatedClusterCbsStatisticsRequest,
|
|
157
|
+
opts: Dict = None,
|
|
158
|
+
) -> models.DescribeDedicatedClusterCbsStatisticsResponse:
|
|
159
|
+
"""
|
|
160
|
+
查询本地专用集群云硬盘仓库信息
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "DescribeDedicatedClusterCbsStatistics"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClusterCbsStatisticsResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
172
|
+
async def DescribeDedicatedClusterCosCapacity(
|
|
173
|
+
self,
|
|
174
|
+
request: models.DescribeDedicatedClusterCosCapacityRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.DescribeDedicatedClusterCosCapacityResponse:
|
|
177
|
+
"""
|
|
178
|
+
查询专用集群内cos的容量信息
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "DescribeDedicatedClusterCosCapacity"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClusterCosCapacityResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
190
|
+
async def DescribeDedicatedClusterHostStatistics(
|
|
191
|
+
self,
|
|
192
|
+
request: models.DescribeDedicatedClusterHostStatisticsRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.DescribeDedicatedClusterHostStatisticsResponse:
|
|
195
|
+
"""
|
|
196
|
+
查询专用集群内宿主机的统计信息
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "DescribeDedicatedClusterHostStatistics"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClusterHostStatisticsResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
208
|
+
async def DescribeDedicatedClusterHosts(
|
|
209
|
+
self,
|
|
210
|
+
request: models.DescribeDedicatedClusterHostsRequest,
|
|
211
|
+
opts: Dict = None,
|
|
212
|
+
) -> models.DescribeDedicatedClusterHostsResponse:
|
|
213
|
+
"""
|
|
214
|
+
查询专用集群宿主机信息
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
kwargs = {}
|
|
218
|
+
kwargs["action"] = "DescribeDedicatedClusterHosts"
|
|
219
|
+
kwargs["params"] = request._serialize()
|
|
220
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClusterHostsResponse
|
|
221
|
+
kwargs["headers"] = request.headers
|
|
222
|
+
kwargs["opts"] = opts or {}
|
|
223
|
+
|
|
224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
225
|
+
|
|
226
|
+
async def DescribeDedicatedClusterInstanceTypes(
|
|
227
|
+
self,
|
|
228
|
+
request: models.DescribeDedicatedClusterInstanceTypesRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.DescribeDedicatedClusterInstanceTypesResponse:
|
|
231
|
+
"""
|
|
232
|
+
查询专用集群支持的实例规格列表
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "DescribeDedicatedClusterInstanceTypes"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClusterInstanceTypesResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
244
|
+
async def DescribeDedicatedClusterOrders(
|
|
245
|
+
self,
|
|
246
|
+
request: models.DescribeDedicatedClusterOrdersRequest,
|
|
247
|
+
opts: Dict = None,
|
|
248
|
+
) -> models.DescribeDedicatedClusterOrdersResponse:
|
|
249
|
+
"""
|
|
250
|
+
查询专用集群订单列表
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
kwargs = {}
|
|
254
|
+
kwargs["action"] = "DescribeDedicatedClusterOrders"
|
|
255
|
+
kwargs["params"] = request._serialize()
|
|
256
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClusterOrdersResponse
|
|
257
|
+
kwargs["headers"] = request.headers
|
|
258
|
+
kwargs["opts"] = opts or {}
|
|
259
|
+
|
|
260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
261
|
+
|
|
262
|
+
async def DescribeDedicatedClusterOverview(
|
|
263
|
+
self,
|
|
264
|
+
request: models.DescribeDedicatedClusterOverviewRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.DescribeDedicatedClusterOverviewResponse:
|
|
267
|
+
"""
|
|
268
|
+
查询专用集群概览信息
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "DescribeDedicatedClusterOverview"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClusterOverviewResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
280
|
+
async def DescribeDedicatedClusterTypes(
|
|
281
|
+
self,
|
|
282
|
+
request: models.DescribeDedicatedClusterTypesRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.DescribeDedicatedClusterTypesResponse:
|
|
285
|
+
"""
|
|
286
|
+
查询专有集群配置列表
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "DescribeDedicatedClusterTypes"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClusterTypesResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
298
|
+
async def DescribeDedicatedClusters(
|
|
299
|
+
self,
|
|
300
|
+
request: models.DescribeDedicatedClustersRequest,
|
|
301
|
+
opts: Dict = None,
|
|
302
|
+
) -> models.DescribeDedicatedClustersResponse:
|
|
303
|
+
"""
|
|
304
|
+
查询专用集群列表
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
kwargs = {}
|
|
308
|
+
kwargs["action"] = "DescribeDedicatedClusters"
|
|
309
|
+
kwargs["params"] = request._serialize()
|
|
310
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClustersResponse
|
|
311
|
+
kwargs["headers"] = request.headers
|
|
312
|
+
kwargs["opts"] = opts or {}
|
|
313
|
+
|
|
314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
315
|
+
|
|
316
|
+
async def DescribeDedicatedSupportedZones(
|
|
317
|
+
self,
|
|
318
|
+
request: models.DescribeDedicatedSupportedZonesRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.DescribeDedicatedSupportedZonesResponse:
|
|
321
|
+
"""
|
|
322
|
+
查询专用集群支持的可用区列表
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "DescribeDedicatedSupportedZones"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.DescribeDedicatedSupportedZonesResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
334
|
+
async def DescribeSites(
|
|
335
|
+
self,
|
|
336
|
+
request: models.DescribeSitesRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.DescribeSitesResponse:
|
|
339
|
+
"""
|
|
340
|
+
查询站点列表
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "DescribeSites"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.DescribeSitesResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
352
|
+
async def DescribeSitesDetail(
|
|
353
|
+
self,
|
|
354
|
+
request: models.DescribeSitesDetailRequest,
|
|
355
|
+
opts: Dict = None,
|
|
356
|
+
) -> models.DescribeSitesDetailResponse:
|
|
357
|
+
"""
|
|
358
|
+
查询站点详情
|
|
359
|
+
"""
|
|
360
|
+
|
|
361
|
+
kwargs = {}
|
|
362
|
+
kwargs["action"] = "DescribeSitesDetail"
|
|
363
|
+
kwargs["params"] = request._serialize()
|
|
364
|
+
kwargs["resp_cls"] = models.DescribeSitesDetailResponse
|
|
365
|
+
kwargs["headers"] = request.headers
|
|
366
|
+
kwargs["opts"] = opts or {}
|
|
367
|
+
|
|
368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
369
|
+
|
|
370
|
+
async def ModifyDedicatedClusterInfo(
|
|
371
|
+
self,
|
|
372
|
+
request: models.ModifyDedicatedClusterInfoRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.ModifyDedicatedClusterInfoResponse:
|
|
375
|
+
"""
|
|
376
|
+
修改本地专用集群信息
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "ModifyDedicatedClusterInfo"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.ModifyDedicatedClusterInfoResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
388
|
+
async def ModifyOrderStatus(
|
|
389
|
+
self,
|
|
390
|
+
request: models.ModifyOrderStatusRequest,
|
|
391
|
+
opts: Dict = None,
|
|
392
|
+
) -> models.ModifyOrderStatusResponse:
|
|
393
|
+
"""
|
|
394
|
+
修改大订单、小订单的状态
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
kwargs = {}
|
|
398
|
+
kwargs["action"] = "ModifyOrderStatus"
|
|
399
|
+
kwargs["params"] = request._serialize()
|
|
400
|
+
kwargs["resp_cls"] = models.ModifyOrderStatusResponse
|
|
401
|
+
kwargs["headers"] = request.headers
|
|
402
|
+
kwargs["opts"] = opts or {}
|
|
403
|
+
|
|
404
|
+
return await self.call_and_deserialize(**kwargs)
|
|
405
|
+
|
|
406
|
+
async def ModifySiteDeviceInfo(
|
|
407
|
+
self,
|
|
408
|
+
request: models.ModifySiteDeviceInfoRequest,
|
|
409
|
+
opts: Dict = None,
|
|
410
|
+
) -> models.ModifySiteDeviceInfoResponse:
|
|
411
|
+
"""
|
|
412
|
+
修改机房设备信息
|
|
413
|
+
"""
|
|
414
|
+
|
|
415
|
+
kwargs = {}
|
|
416
|
+
kwargs["action"] = "ModifySiteDeviceInfo"
|
|
417
|
+
kwargs["params"] = request._serialize()
|
|
418
|
+
kwargs["resp_cls"] = models.ModifySiteDeviceInfoResponse
|
|
419
|
+
kwargs["headers"] = request.headers
|
|
420
|
+
kwargs["opts"] = opts or {}
|
|
421
|
+
|
|
422
|
+
return await self.call_and_deserialize(**kwargs)
|
|
423
|
+
|
|
424
|
+
async def ModifySiteInfo(
|
|
425
|
+
self,
|
|
426
|
+
request: models.ModifySiteInfoRequest,
|
|
427
|
+
opts: Dict = None,
|
|
428
|
+
) -> models.ModifySiteInfoResponse:
|
|
429
|
+
"""
|
|
430
|
+
修改机房信息
|
|
431
|
+
"""
|
|
432
|
+
|
|
433
|
+
kwargs = {}
|
|
434
|
+
kwargs["action"] = "ModifySiteInfo"
|
|
435
|
+
kwargs["params"] = request._serialize()
|
|
436
|
+
kwargs["resp_cls"] = models.ModifySiteInfoResponse
|
|
437
|
+
kwargs["headers"] = request.headers
|
|
438
|
+
kwargs["opts"] = opts or {}
|
|
439
|
+
|
|
440
|
+
return await self.call_and_deserialize(**kwargs)
|