tencentcloud-sdk-python-cdc 3.0.1459__py2.py3-none-any.whl → 3.1.13__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/cdc/v20201214/cdc_client_async.py +440 -0
- tencentcloud/cdc/v20201214/models.py +15 -0
- {tencentcloud_sdk_python_cdc-3.0.1459.dist-info → tencentcloud_sdk_python_cdc-3.1.13.dist-info}/METADATA +2 -4
- tencentcloud_sdk_python_cdc-3.1.13.dist-info/RECORD +11 -0
- {tencentcloud_sdk_python_cdc-3.0.1459.dist-info → tencentcloud_sdk_python_cdc-3.1.13.dist-info}/WHEEL +1 -1
- tencentcloud_sdk_python_cdc-3.0.1459.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_cdc-3.0.1459.dist-info → tencentcloud_sdk_python_cdc-3.1.13.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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)
|
|
@@ -3452,6 +3452,8 @@ class DescribeDedicatedClusterOverviewResponse(AbstractModel):
|
|
|
3452
3452
|
:type HostStandbyCount: int
|
|
3453
3453
|
:param _HostNormalCount: 普通宿主机数量
|
|
3454
3454
|
:type HostNormalCount: int
|
|
3455
|
+
:param _HostAbnormalCount: 异常宿主机数量
|
|
3456
|
+
:type HostAbnormalCount: int
|
|
3455
3457
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3456
3458
|
:type RequestId: str
|
|
3457
3459
|
"""
|
|
@@ -3464,6 +3466,7 @@ class DescribeDedicatedClusterOverviewResponse(AbstractModel):
|
|
|
3464
3466
|
self._HostDetailInfo = None
|
|
3465
3467
|
self._HostStandbyCount = None
|
|
3466
3468
|
self._HostNormalCount = None
|
|
3469
|
+
self._HostAbnormalCount = None
|
|
3467
3470
|
self._RequestId = None
|
|
3468
3471
|
|
|
3469
3472
|
@property
|
|
@@ -3565,6 +3568,17 @@ class DescribeDedicatedClusterOverviewResponse(AbstractModel):
|
|
|
3565
3568
|
def HostNormalCount(self, HostNormalCount):
|
|
3566
3569
|
self._HostNormalCount = HostNormalCount
|
|
3567
3570
|
|
|
3571
|
+
@property
|
|
3572
|
+
def HostAbnormalCount(self):
|
|
3573
|
+
r"""异常宿主机数量
|
|
3574
|
+
:rtype: int
|
|
3575
|
+
"""
|
|
3576
|
+
return self._HostAbnormalCount
|
|
3577
|
+
|
|
3578
|
+
@HostAbnormalCount.setter
|
|
3579
|
+
def HostAbnormalCount(self, HostAbnormalCount):
|
|
3580
|
+
self._HostAbnormalCount = HostAbnormalCount
|
|
3581
|
+
|
|
3568
3582
|
@property
|
|
3569
3583
|
def RequestId(self):
|
|
3570
3584
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3601,6 +3615,7 @@ class DescribeDedicatedClusterOverviewResponse(AbstractModel):
|
|
|
3601
3615
|
self._HostDetailInfo.append(obj)
|
|
3602
3616
|
self._HostStandbyCount = params.get("HostStandbyCount")
|
|
3603
3617
|
self._HostNormalCount = params.get("HostNormalCount")
|
|
3618
|
+
self._HostAbnormalCount = params.get("HostAbnormalCount")
|
|
3604
3619
|
self._RequestId = params.get("RequestId")
|
|
3605
3620
|
|
|
3606
3621
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdc
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.13
|
|
4
4
|
Summary: Tencent Cloud Cdc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.13
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -44,5 +44,3 @@ or download source code from github and install:
|
|
|
44
44
|
$ cd tencentcloud-sdk-python
|
|
45
45
|
$ python package.py --components common cdc
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=2twoUNsJtWS-Zb2bRuRCDOA0lKSrvR3FsAAn6FaIQdw,629
|
|
2
|
+
tencentcloud/cdc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/cdc/v20201214/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/cdc/v20201214/cdc_client.py,sha256=b2LCxuYdEg06m8XKRMqkQ14ZsE4AtwfdeyN5NV0sdnE,22438
|
|
5
|
+
tencentcloud/cdc/v20201214/cdc_client_async.py,sha256=2gJlijaw69xBTP-bAek9qHXjunr5pSr95Zl3AMu8_mY,15279
|
|
6
|
+
tencentcloud/cdc/v20201214/errorcodes.py,sha256=t_YTKvFDjIm_j7I11SPJfQ8o9akZE4hpKbLC5Gj1cr8,3613
|
|
7
|
+
tencentcloud/cdc/v20201214/models.py,sha256=tbCSVVrbpaxsgzDyj_90Zq0lA8e7eAPHYa2yqcAhwQg,202717
|
|
8
|
+
tencentcloud_sdk_python_cdc-3.1.13.dist-info/METADATA,sha256=Db2zrgyNWLtqcxuWg9fZgUzK7N6h2nF2_PAyOkRT7a4,1495
|
|
9
|
+
tencentcloud_sdk_python_cdc-3.1.13.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
|
|
10
|
+
tencentcloud_sdk_python_cdc-3.1.13.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_cdc-3.1.13.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=r84PYsG-hFbeEH3ch-Sw2bJmqWlws-vogRx7ePuiG9c,631
|
|
2
|
-
tencentcloud/cdc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/cdc/v20201214/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/cdc/v20201214/cdc_client.py,sha256=b2LCxuYdEg06m8XKRMqkQ14ZsE4AtwfdeyN5NV0sdnE,22438
|
|
5
|
-
tencentcloud/cdc/v20201214/errorcodes.py,sha256=t_YTKvFDjIm_j7I11SPJfQ8o9akZE4hpKbLC5Gj1cr8,3613
|
|
6
|
-
tencentcloud/cdc/v20201214/models.py,sha256=R9bIpdfw3I4LuRajFkm56VyC-StHSJ8Bc15lLo6G2hI,202230
|
|
7
|
-
tencentcloud_sdk_python_cdc-3.0.1459.dist-info/METADATA,sha256=Uhn9Bzu5-K_4x8zhexxIshuTZ1rFUiAiaiCPXT9n-Bs,1503
|
|
8
|
-
tencentcloud_sdk_python_cdc-3.0.1459.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_cdc-3.0.1459.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_cdc-3.0.1459.dist-info/RECORD,,
|
|
File without changes
|