tencentcloud-sdk-python-cdwpg 3.1.44__tar.gz → 3.1.214__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_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/setup.py +1 -1
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud/cdwpg/v20201230/models.py +363 -127
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud_sdk_python_cdwpg.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdwpg-3.1.214/tencentcloud_sdk_python_cdwpg.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdwpg-3.1.44/tencentcloud_sdk_python_cdwpg.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/README.rst +0 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud/cdwpg/__init__.py +0 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud/cdwpg/v20201230/__init__.py +0 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud/cdwpg/v20201230/cdwpg_client.py +0 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud/cdwpg/v20201230/cdwpg_client_async.py +0 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud/cdwpg/v20201230/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud_sdk_python_cdwpg.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud_sdk_python_cdwpg.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44 → tencentcloud_sdk_python_cdwpg-3.1.214}/tencentcloud_sdk_python_cdwpg.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdwpg
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.214
|
|
4
4
|
Summary: Tencent Cloud Cdwpg 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<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.214
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cdwpg',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.214,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdwpg SDK for Python',
|
|
@@ -142,27 +142,27 @@ class CBSSpec(AbstractModel):
|
|
|
142
142
|
|
|
143
143
|
def __init__(self):
|
|
144
144
|
r"""
|
|
145
|
-
:param _DiskType: 盘类型
|
|
146
|
-
:type DiskType: str
|
|
147
|
-
:param _DiskSize: 大小
|
|
148
|
-
:type DiskSize: int
|
|
149
145
|
:param _DiskCount: 个数
|
|
150
146
|
:type DiskCount: int
|
|
147
|
+
:param _DiskSize: 大小
|
|
148
|
+
:type DiskSize: int
|
|
149
|
+
:param _DiskType: 盘类型
|
|
150
|
+
:type DiskType: str
|
|
151
151
|
"""
|
|
152
|
-
self._DiskType = None
|
|
153
|
-
self._DiskSize = None
|
|
154
152
|
self._DiskCount = None
|
|
153
|
+
self._DiskSize = None
|
|
154
|
+
self._DiskType = None
|
|
155
155
|
|
|
156
156
|
@property
|
|
157
|
-
def
|
|
158
|
-
r"""
|
|
159
|
-
:rtype:
|
|
157
|
+
def DiskCount(self):
|
|
158
|
+
r"""个数
|
|
159
|
+
:rtype: int
|
|
160
160
|
"""
|
|
161
|
-
return self.
|
|
161
|
+
return self._DiskCount
|
|
162
162
|
|
|
163
|
-
@
|
|
164
|
-
def
|
|
165
|
-
self.
|
|
163
|
+
@DiskCount.setter
|
|
164
|
+
def DiskCount(self, DiskCount):
|
|
165
|
+
self._DiskCount = DiskCount
|
|
166
166
|
|
|
167
167
|
@property
|
|
168
168
|
def DiskSize(self):
|
|
@@ -176,21 +176,21 @@ class CBSSpec(AbstractModel):
|
|
|
176
176
|
self._DiskSize = DiskSize
|
|
177
177
|
|
|
178
178
|
@property
|
|
179
|
-
def
|
|
180
|
-
r"""
|
|
181
|
-
:rtype:
|
|
179
|
+
def DiskType(self):
|
|
180
|
+
r"""盘类型
|
|
181
|
+
:rtype: str
|
|
182
182
|
"""
|
|
183
|
-
return self.
|
|
183
|
+
return self._DiskType
|
|
184
184
|
|
|
185
|
-
@
|
|
186
|
-
def
|
|
187
|
-
self.
|
|
185
|
+
@DiskType.setter
|
|
186
|
+
def DiskType(self, DiskType):
|
|
187
|
+
self._DiskType = DiskType
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
def _deserialize(self, params):
|
|
191
|
-
self._DiskType = params.get("DiskType")
|
|
192
|
-
self._DiskSize = params.get("DiskSize")
|
|
193
191
|
self._DiskCount = params.get("DiskCount")
|
|
192
|
+
self._DiskSize = params.get("DiskSize")
|
|
193
|
+
self._DiskType = params.get("DiskType")
|
|
194
194
|
memeber_set = set(params.keys())
|
|
195
195
|
for name, value in vars(self).items():
|
|
196
196
|
property_name = name[1:]
|
|
@@ -274,41 +274,19 @@ class CNResourceSpec(AbstractModel):
|
|
|
274
274
|
|
|
275
275
|
def __init__(self):
|
|
276
276
|
r"""
|
|
277
|
-
:param _Type: 节点类型
|
|
278
|
-
:type Type: str
|
|
279
|
-
:param _SpecName: 机型
|
|
280
|
-
:type SpecName: str
|
|
281
277
|
:param _Count: 节点个数
|
|
282
278
|
:type Count: int
|
|
283
279
|
:param _DiskSpec: 磁盘信息
|
|
284
280
|
:type DiskSpec: :class:`tencentcloud.cdwpg.v20201230.models.CBSSpec`
|
|
281
|
+
:param _SpecName: 机型
|
|
282
|
+
:type SpecName: str
|
|
283
|
+
:param _Type: 节点类型
|
|
284
|
+
:type Type: str
|
|
285
285
|
"""
|
|
286
|
-
self._Type = None
|
|
287
|
-
self._SpecName = None
|
|
288
286
|
self._Count = None
|
|
289
287
|
self._DiskSpec = None
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
def Type(self):
|
|
293
|
-
r"""节点类型
|
|
294
|
-
:rtype: str
|
|
295
|
-
"""
|
|
296
|
-
return self._Type
|
|
297
|
-
|
|
298
|
-
@Type.setter
|
|
299
|
-
def Type(self, Type):
|
|
300
|
-
self._Type = Type
|
|
301
|
-
|
|
302
|
-
@property
|
|
303
|
-
def SpecName(self):
|
|
304
|
-
r"""机型
|
|
305
|
-
:rtype: str
|
|
306
|
-
"""
|
|
307
|
-
return self._SpecName
|
|
308
|
-
|
|
309
|
-
@SpecName.setter
|
|
310
|
-
def SpecName(self, SpecName):
|
|
311
|
-
self._SpecName = SpecName
|
|
288
|
+
self._SpecName = None
|
|
289
|
+
self._Type = None
|
|
312
290
|
|
|
313
291
|
@property
|
|
314
292
|
def Count(self):
|
|
@@ -332,14 +310,36 @@ class CNResourceSpec(AbstractModel):
|
|
|
332
310
|
def DiskSpec(self, DiskSpec):
|
|
333
311
|
self._DiskSpec = DiskSpec
|
|
334
312
|
|
|
313
|
+
@property
|
|
314
|
+
def SpecName(self):
|
|
315
|
+
r"""机型
|
|
316
|
+
:rtype: str
|
|
317
|
+
"""
|
|
318
|
+
return self._SpecName
|
|
319
|
+
|
|
320
|
+
@SpecName.setter
|
|
321
|
+
def SpecName(self, SpecName):
|
|
322
|
+
self._SpecName = SpecName
|
|
323
|
+
|
|
324
|
+
@property
|
|
325
|
+
def Type(self):
|
|
326
|
+
r"""节点类型
|
|
327
|
+
:rtype: str
|
|
328
|
+
"""
|
|
329
|
+
return self._Type
|
|
330
|
+
|
|
331
|
+
@Type.setter
|
|
332
|
+
def Type(self, Type):
|
|
333
|
+
self._Type = Type
|
|
334
|
+
|
|
335
335
|
|
|
336
336
|
def _deserialize(self, params):
|
|
337
|
-
self._Type = params.get("Type")
|
|
338
|
-
self._SpecName = params.get("SpecName")
|
|
339
337
|
self._Count = params.get("Count")
|
|
340
338
|
if params.get("DiskSpec") is not None:
|
|
341
339
|
self._DiskSpec = CBSSpec()
|
|
342
340
|
self._DiskSpec._deserialize(params.get("DiskSpec"))
|
|
341
|
+
self._SpecName = params.get("SpecName")
|
|
342
|
+
self._Type = params.get("Type")
|
|
343
343
|
memeber_set = set(params.keys())
|
|
344
344
|
for name, value in vars(self).items():
|
|
345
345
|
property_name = name[1:]
|
|
@@ -363,16 +363,16 @@ class ChargeProperties(AbstractModel):
|
|
|
363
363
|
:type TimeSpan: int
|
|
364
364
|
:param _TimeUnit: 时间单位,一般为h和m
|
|
365
365
|
:type TimeUnit: str
|
|
366
|
-
:param _PayMode: 计费类型0-按量计费,1-包年包月
|
|
367
|
-
:type PayMode: int
|
|
368
366
|
:param _ChargeType: PREPAID、POSTPAID_BY_HOUR
|
|
369
367
|
:type ChargeType: str
|
|
368
|
+
:param _PayMode: 计费类型0-按量计费,1-包年包月
|
|
369
|
+
:type PayMode: int
|
|
370
370
|
"""
|
|
371
371
|
self._RenewFlag = None
|
|
372
372
|
self._TimeSpan = None
|
|
373
373
|
self._TimeUnit = None
|
|
374
|
-
self._PayMode = None
|
|
375
374
|
self._ChargeType = None
|
|
375
|
+
self._PayMode = None
|
|
376
376
|
|
|
377
377
|
@property
|
|
378
378
|
def RenewFlag(self):
|
|
@@ -407,17 +407,6 @@ class ChargeProperties(AbstractModel):
|
|
|
407
407
|
def TimeUnit(self, TimeUnit):
|
|
408
408
|
self._TimeUnit = TimeUnit
|
|
409
409
|
|
|
410
|
-
@property
|
|
411
|
-
def PayMode(self):
|
|
412
|
-
r"""计费类型0-按量计费,1-包年包月
|
|
413
|
-
:rtype: int
|
|
414
|
-
"""
|
|
415
|
-
return self._PayMode
|
|
416
|
-
|
|
417
|
-
@PayMode.setter
|
|
418
|
-
def PayMode(self, PayMode):
|
|
419
|
-
self._PayMode = PayMode
|
|
420
|
-
|
|
421
410
|
@property
|
|
422
411
|
def ChargeType(self):
|
|
423
412
|
r"""PREPAID、POSTPAID_BY_HOUR
|
|
@@ -429,13 +418,24 @@ class ChargeProperties(AbstractModel):
|
|
|
429
418
|
def ChargeType(self, ChargeType):
|
|
430
419
|
self._ChargeType = ChargeType
|
|
431
420
|
|
|
421
|
+
@property
|
|
422
|
+
def PayMode(self):
|
|
423
|
+
r"""计费类型0-按量计费,1-包年包月
|
|
424
|
+
:rtype: int
|
|
425
|
+
"""
|
|
426
|
+
return self._PayMode
|
|
427
|
+
|
|
428
|
+
@PayMode.setter
|
|
429
|
+
def PayMode(self, PayMode):
|
|
430
|
+
self._PayMode = PayMode
|
|
431
|
+
|
|
432
432
|
|
|
433
433
|
def _deserialize(self, params):
|
|
434
434
|
self._RenewFlag = params.get("RenewFlag")
|
|
435
435
|
self._TimeSpan = params.get("TimeSpan")
|
|
436
436
|
self._TimeUnit = params.get("TimeUnit")
|
|
437
|
-
self._PayMode = params.get("PayMode")
|
|
438
437
|
self._ChargeType = params.get("ChargeType")
|
|
438
|
+
self._PayMode = params.get("PayMode")
|
|
439
439
|
memeber_set = set(params.keys())
|
|
440
440
|
for name, value in vars(self).items():
|
|
441
441
|
property_name = name[1:]
|
|
@@ -1982,14 +1982,17 @@ class DescribeInstanceStateRequest(AbstractModel):
|
|
|
1982
1982
|
|
|
1983
1983
|
def __init__(self):
|
|
1984
1984
|
r"""
|
|
1985
|
-
:param _InstanceId:
|
|
1985
|
+
:param _InstanceId: <p>集群实例名称</p>
|
|
1986
1986
|
:type InstanceId: str
|
|
1987
|
+
:param _InstanceIds: <p>集群实例名称列表(批量查询,优先于 InstanceId;上限100,超出截断)</p>
|
|
1988
|
+
:type InstanceIds: list of str
|
|
1987
1989
|
"""
|
|
1988
1990
|
self._InstanceId = None
|
|
1991
|
+
self._InstanceIds = None
|
|
1989
1992
|
|
|
1990
1993
|
@property
|
|
1991
1994
|
def InstanceId(self):
|
|
1992
|
-
r"""
|
|
1995
|
+
r"""<p>集群实例名称</p>
|
|
1993
1996
|
:rtype: str
|
|
1994
1997
|
"""
|
|
1995
1998
|
return self._InstanceId
|
|
@@ -1998,9 +2001,21 @@ class DescribeInstanceStateRequest(AbstractModel):
|
|
|
1998
2001
|
def InstanceId(self, InstanceId):
|
|
1999
2002
|
self._InstanceId = InstanceId
|
|
2000
2003
|
|
|
2004
|
+
@property
|
|
2005
|
+
def InstanceIds(self):
|
|
2006
|
+
r"""<p>集群实例名称列表(批量查询,优先于 InstanceId;上限100,超出截断)</p>
|
|
2007
|
+
:rtype: list of str
|
|
2008
|
+
"""
|
|
2009
|
+
return self._InstanceIds
|
|
2010
|
+
|
|
2011
|
+
@InstanceIds.setter
|
|
2012
|
+
def InstanceIds(self, InstanceIds):
|
|
2013
|
+
self._InstanceIds = InstanceIds
|
|
2014
|
+
|
|
2001
2015
|
|
|
2002
2016
|
def _deserialize(self, params):
|
|
2003
2017
|
self._InstanceId = params.get("InstanceId")
|
|
2018
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
2004
2019
|
memeber_set = set(params.keys())
|
|
2005
2020
|
for name, value in vars(self).items():
|
|
2006
2021
|
property_name = name[1:]
|
|
@@ -2018,52 +2033,69 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2018
2033
|
|
|
2019
2034
|
def __init__(self):
|
|
2020
2035
|
r"""
|
|
2021
|
-
:param
|
|
2022
|
-
:type
|
|
2023
|
-
:param
|
|
2036
|
+
:param _BackupOpenStatus: <p>集群备份任务开启状态2</p>
|
|
2037
|
+
:type BackupOpenStatus: int
|
|
2038
|
+
:param _BackupStatus: <p>集群备份任务开启状态</p>
|
|
2039
|
+
:type BackupStatus: int
|
|
2040
|
+
:param _FlowCreateTime: <p>集群操作创建时间</p>
|
|
2024
2041
|
:type FlowCreateTime: str
|
|
2025
|
-
:param
|
|
2042
|
+
:param _FlowMsg: <p>集群流程错误信息,例如:“创建失败,资源不足”</p>
|
|
2043
|
+
:type FlowMsg: str
|
|
2044
|
+
:param _FlowName: <p>集群操作名称</p>
|
|
2026
2045
|
:type FlowName: str
|
|
2027
|
-
:param _FlowProgress:
|
|
2046
|
+
:param _FlowProgress: <p>集群操作进度</p>
|
|
2028
2047
|
:type FlowProgress: float
|
|
2029
|
-
:param
|
|
2048
|
+
:param _InstanceState: <p>集群状态,例如:Serving</p>
|
|
2049
|
+
:type InstanceState: str
|
|
2050
|
+
:param _InstanceStateDesc: <p>集群状态描述,例如:运行中</p>
|
|
2030
2051
|
:type InstanceStateDesc: str
|
|
2031
|
-
:param
|
|
2032
|
-
:type
|
|
2033
|
-
:param _ProcessName:
|
|
2052
|
+
:param _InstanceStates: <p>批量实例状态列表(InstanceIds 入参时返回,每项含 InstanceId 与状态字段)</p>
|
|
2053
|
+
:type InstanceStates: list of InstanceStateItem
|
|
2054
|
+
:param _ProcessName: <p>当前步骤的名称,例如:”购买资源中“</p>
|
|
2034
2055
|
:type ProcessName: str
|
|
2035
|
-
:param
|
|
2036
|
-
:type
|
|
2037
|
-
:param _BackupOpenStatus: 集群备份任务开启状态2
|
|
2038
|
-
:type BackupOpenStatus: int
|
|
2056
|
+
:param _RecoveryState: <p>恢复状态,仅用于前端交互判断(不用于展示)。TableRecovering=表级恢复进行中;ClusterRecovering=集群恢复进行中(CBS 快照恢复/旧回档,不区分);空字符串=无恢复进行中。批量请求时以 InstanceStates 内各项为准</p>
|
|
2057
|
+
:type RecoveryState: str
|
|
2039
2058
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2040
2059
|
:type RequestId: str
|
|
2041
2060
|
"""
|
|
2042
|
-
self.
|
|
2061
|
+
self._BackupOpenStatus = None
|
|
2062
|
+
self._BackupStatus = None
|
|
2043
2063
|
self._FlowCreateTime = None
|
|
2064
|
+
self._FlowMsg = None
|
|
2044
2065
|
self._FlowName = None
|
|
2045
2066
|
self._FlowProgress = None
|
|
2067
|
+
self._InstanceState = None
|
|
2046
2068
|
self._InstanceStateDesc = None
|
|
2047
|
-
self.
|
|
2069
|
+
self._InstanceStates = None
|
|
2048
2070
|
self._ProcessName = None
|
|
2049
|
-
self.
|
|
2050
|
-
self._BackupOpenStatus = None
|
|
2071
|
+
self._RecoveryState = None
|
|
2051
2072
|
self._RequestId = None
|
|
2052
2073
|
|
|
2053
2074
|
@property
|
|
2054
|
-
def
|
|
2055
|
-
r"""
|
|
2056
|
-
:rtype:
|
|
2075
|
+
def BackupOpenStatus(self):
|
|
2076
|
+
r"""<p>集群备份任务开启状态2</p>
|
|
2077
|
+
:rtype: int
|
|
2057
2078
|
"""
|
|
2058
|
-
return self.
|
|
2079
|
+
return self._BackupOpenStatus
|
|
2059
2080
|
|
|
2060
|
-
@
|
|
2061
|
-
def
|
|
2062
|
-
self.
|
|
2081
|
+
@BackupOpenStatus.setter
|
|
2082
|
+
def BackupOpenStatus(self, BackupOpenStatus):
|
|
2083
|
+
self._BackupOpenStatus = BackupOpenStatus
|
|
2084
|
+
|
|
2085
|
+
@property
|
|
2086
|
+
def BackupStatus(self):
|
|
2087
|
+
r"""<p>集群备份任务开启状态</p>
|
|
2088
|
+
:rtype: int
|
|
2089
|
+
"""
|
|
2090
|
+
return self._BackupStatus
|
|
2091
|
+
|
|
2092
|
+
@BackupStatus.setter
|
|
2093
|
+
def BackupStatus(self, BackupStatus):
|
|
2094
|
+
self._BackupStatus = BackupStatus
|
|
2063
2095
|
|
|
2064
2096
|
@property
|
|
2065
2097
|
def FlowCreateTime(self):
|
|
2066
|
-
r"""
|
|
2098
|
+
r"""<p>集群操作创建时间</p>
|
|
2067
2099
|
:rtype: str
|
|
2068
2100
|
"""
|
|
2069
2101
|
return self._FlowCreateTime
|
|
@@ -2072,9 +2104,20 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2072
2104
|
def FlowCreateTime(self, FlowCreateTime):
|
|
2073
2105
|
self._FlowCreateTime = FlowCreateTime
|
|
2074
2106
|
|
|
2107
|
+
@property
|
|
2108
|
+
def FlowMsg(self):
|
|
2109
|
+
r"""<p>集群流程错误信息,例如:“创建失败,资源不足”</p>
|
|
2110
|
+
:rtype: str
|
|
2111
|
+
"""
|
|
2112
|
+
return self._FlowMsg
|
|
2113
|
+
|
|
2114
|
+
@FlowMsg.setter
|
|
2115
|
+
def FlowMsg(self, FlowMsg):
|
|
2116
|
+
self._FlowMsg = FlowMsg
|
|
2117
|
+
|
|
2075
2118
|
@property
|
|
2076
2119
|
def FlowName(self):
|
|
2077
|
-
r"""
|
|
2120
|
+
r"""<p>集群操作名称</p>
|
|
2078
2121
|
:rtype: str
|
|
2079
2122
|
"""
|
|
2080
2123
|
return self._FlowName
|
|
@@ -2085,7 +2128,7 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2085
2128
|
|
|
2086
2129
|
@property
|
|
2087
2130
|
def FlowProgress(self):
|
|
2088
|
-
r"""
|
|
2131
|
+
r"""<p>集群操作进度</p>
|
|
2089
2132
|
:rtype: float
|
|
2090
2133
|
"""
|
|
2091
2134
|
return self._FlowProgress
|
|
@@ -2094,9 +2137,20 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2094
2137
|
def FlowProgress(self, FlowProgress):
|
|
2095
2138
|
self._FlowProgress = FlowProgress
|
|
2096
2139
|
|
|
2140
|
+
@property
|
|
2141
|
+
def InstanceState(self):
|
|
2142
|
+
r"""<p>集群状态,例如:Serving</p>
|
|
2143
|
+
:rtype: str
|
|
2144
|
+
"""
|
|
2145
|
+
return self._InstanceState
|
|
2146
|
+
|
|
2147
|
+
@InstanceState.setter
|
|
2148
|
+
def InstanceState(self, InstanceState):
|
|
2149
|
+
self._InstanceState = InstanceState
|
|
2150
|
+
|
|
2097
2151
|
@property
|
|
2098
2152
|
def InstanceStateDesc(self):
|
|
2099
|
-
r"""
|
|
2153
|
+
r"""<p>集群状态描述,例如:运行中</p>
|
|
2100
2154
|
:rtype: str
|
|
2101
2155
|
"""
|
|
2102
2156
|
return self._InstanceStateDesc
|
|
@@ -2106,19 +2160,19 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2106
2160
|
self._InstanceStateDesc = InstanceStateDesc
|
|
2107
2161
|
|
|
2108
2162
|
@property
|
|
2109
|
-
def
|
|
2110
|
-
r"""
|
|
2111
|
-
:rtype:
|
|
2163
|
+
def InstanceStates(self):
|
|
2164
|
+
r"""<p>批量实例状态列表(InstanceIds 入参时返回,每项含 InstanceId 与状态字段)</p>
|
|
2165
|
+
:rtype: list of InstanceStateItem
|
|
2112
2166
|
"""
|
|
2113
|
-
return self.
|
|
2167
|
+
return self._InstanceStates
|
|
2114
2168
|
|
|
2115
|
-
@
|
|
2116
|
-
def
|
|
2117
|
-
self.
|
|
2169
|
+
@InstanceStates.setter
|
|
2170
|
+
def InstanceStates(self, InstanceStates):
|
|
2171
|
+
self._InstanceStates = InstanceStates
|
|
2118
2172
|
|
|
2119
2173
|
@property
|
|
2120
2174
|
def ProcessName(self):
|
|
2121
|
-
r"""
|
|
2175
|
+
r"""<p>当前步骤的名称,例如:”购买资源中“</p>
|
|
2122
2176
|
:rtype: str
|
|
2123
2177
|
"""
|
|
2124
2178
|
return self._ProcessName
|
|
@@ -2128,26 +2182,15 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2128
2182
|
self._ProcessName = ProcessName
|
|
2129
2183
|
|
|
2130
2184
|
@property
|
|
2131
|
-
def
|
|
2132
|
-
r"""
|
|
2133
|
-
:rtype:
|
|
2134
|
-
"""
|
|
2135
|
-
return self._BackupStatus
|
|
2136
|
-
|
|
2137
|
-
@BackupStatus.setter
|
|
2138
|
-
def BackupStatus(self, BackupStatus):
|
|
2139
|
-
self._BackupStatus = BackupStatus
|
|
2140
|
-
|
|
2141
|
-
@property
|
|
2142
|
-
def BackupOpenStatus(self):
|
|
2143
|
-
r"""集群备份任务开启状态2
|
|
2144
|
-
:rtype: int
|
|
2185
|
+
def RecoveryState(self):
|
|
2186
|
+
r"""<p>恢复状态,仅用于前端交互判断(不用于展示)。TableRecovering=表级恢复进行中;ClusterRecovering=集群恢复进行中(CBS 快照恢复/旧回档,不区分);空字符串=无恢复进行中。批量请求时以 InstanceStates 内各项为准</p>
|
|
2187
|
+
:rtype: str
|
|
2145
2188
|
"""
|
|
2146
|
-
return self.
|
|
2189
|
+
return self._RecoveryState
|
|
2147
2190
|
|
|
2148
|
-
@
|
|
2149
|
-
def
|
|
2150
|
-
self.
|
|
2191
|
+
@RecoveryState.setter
|
|
2192
|
+
def RecoveryState(self, RecoveryState):
|
|
2193
|
+
self._RecoveryState = RecoveryState
|
|
2151
2194
|
|
|
2152
2195
|
@property
|
|
2153
2196
|
def RequestId(self):
|
|
@@ -2162,15 +2205,22 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2162
2205
|
|
|
2163
2206
|
|
|
2164
2207
|
def _deserialize(self, params):
|
|
2165
|
-
self.
|
|
2208
|
+
self._BackupOpenStatus = params.get("BackupOpenStatus")
|
|
2209
|
+
self._BackupStatus = params.get("BackupStatus")
|
|
2166
2210
|
self._FlowCreateTime = params.get("FlowCreateTime")
|
|
2211
|
+
self._FlowMsg = params.get("FlowMsg")
|
|
2167
2212
|
self._FlowName = params.get("FlowName")
|
|
2168
2213
|
self._FlowProgress = params.get("FlowProgress")
|
|
2214
|
+
self._InstanceState = params.get("InstanceState")
|
|
2169
2215
|
self._InstanceStateDesc = params.get("InstanceStateDesc")
|
|
2170
|
-
|
|
2216
|
+
if params.get("InstanceStates") is not None:
|
|
2217
|
+
self._InstanceStates = []
|
|
2218
|
+
for item in params.get("InstanceStates"):
|
|
2219
|
+
obj = InstanceStateItem()
|
|
2220
|
+
obj._deserialize(item)
|
|
2221
|
+
self._InstanceStates.append(obj)
|
|
2171
2222
|
self._ProcessName = params.get("ProcessName")
|
|
2172
|
-
self.
|
|
2173
|
-
self._BackupOpenStatus = params.get("BackupOpenStatus")
|
|
2223
|
+
self._RecoveryState = params.get("RecoveryState")
|
|
2174
2224
|
self._RequestId = params.get("RequestId")
|
|
2175
2225
|
|
|
2176
2226
|
|
|
@@ -4834,6 +4884,192 @@ class InstanceStateInfo(AbstractModel):
|
|
|
4834
4884
|
|
|
4835
4885
|
|
|
4836
4886
|
|
|
4887
|
+
class InstanceStateItem(AbstractModel):
|
|
4888
|
+
r"""批量实例状态项
|
|
4889
|
+
|
|
4890
|
+
"""
|
|
4891
|
+
|
|
4892
|
+
def __init__(self):
|
|
4893
|
+
r"""
|
|
4894
|
+
:param _BackupOpenStatus: <p>集群备份任务开启状态2</p>
|
|
4895
|
+
:type BackupOpenStatus: int
|
|
4896
|
+
:param _BackupStatus: <p>集群备份任务开启状态</p>
|
|
4897
|
+
:type BackupStatus: int
|
|
4898
|
+
:param _FlowCreateTime: <p>集群操作创建时间</p>
|
|
4899
|
+
:type FlowCreateTime: str
|
|
4900
|
+
:param _FlowMsg: <p>集群流程错误信息</p>
|
|
4901
|
+
:type FlowMsg: str
|
|
4902
|
+
:param _FlowName: <p>集群操作名称</p>
|
|
4903
|
+
:type FlowName: str
|
|
4904
|
+
:param _FlowProgress: <p>集群操作进度</p>
|
|
4905
|
+
:type FlowProgress: float
|
|
4906
|
+
:param _InstanceId: <p>集群实例名称</p>
|
|
4907
|
+
:type InstanceId: str
|
|
4908
|
+
:param _InstanceState: <p>集群状态,例如:Serving</p>
|
|
4909
|
+
:type InstanceState: str
|
|
4910
|
+
:param _InstanceStateDesc: <p>集群状态描述,例如:运行中</p>
|
|
4911
|
+
:type InstanceStateDesc: str
|
|
4912
|
+
:param _ProcessName: <p>当前步骤的名称</p>
|
|
4913
|
+
:type ProcessName: str
|
|
4914
|
+
:param _RecoveryState: <p>恢复状态,仅用于前端交互判断(不用于展示)。TableRecovering=表级恢复进行中;ClusterRecovering=集群恢复进行中(CBS 快照恢复/旧回档,不区分);空字符串=无恢复进行中</p>
|
|
4915
|
+
:type RecoveryState: str
|
|
4916
|
+
"""
|
|
4917
|
+
self._BackupOpenStatus = None
|
|
4918
|
+
self._BackupStatus = None
|
|
4919
|
+
self._FlowCreateTime = None
|
|
4920
|
+
self._FlowMsg = None
|
|
4921
|
+
self._FlowName = None
|
|
4922
|
+
self._FlowProgress = None
|
|
4923
|
+
self._InstanceId = None
|
|
4924
|
+
self._InstanceState = None
|
|
4925
|
+
self._InstanceStateDesc = None
|
|
4926
|
+
self._ProcessName = None
|
|
4927
|
+
self._RecoveryState = None
|
|
4928
|
+
|
|
4929
|
+
@property
|
|
4930
|
+
def BackupOpenStatus(self):
|
|
4931
|
+
r"""<p>集群备份任务开启状态2</p>
|
|
4932
|
+
:rtype: int
|
|
4933
|
+
"""
|
|
4934
|
+
return self._BackupOpenStatus
|
|
4935
|
+
|
|
4936
|
+
@BackupOpenStatus.setter
|
|
4937
|
+
def BackupOpenStatus(self, BackupOpenStatus):
|
|
4938
|
+
self._BackupOpenStatus = BackupOpenStatus
|
|
4939
|
+
|
|
4940
|
+
@property
|
|
4941
|
+
def BackupStatus(self):
|
|
4942
|
+
r"""<p>集群备份任务开启状态</p>
|
|
4943
|
+
:rtype: int
|
|
4944
|
+
"""
|
|
4945
|
+
return self._BackupStatus
|
|
4946
|
+
|
|
4947
|
+
@BackupStatus.setter
|
|
4948
|
+
def BackupStatus(self, BackupStatus):
|
|
4949
|
+
self._BackupStatus = BackupStatus
|
|
4950
|
+
|
|
4951
|
+
@property
|
|
4952
|
+
def FlowCreateTime(self):
|
|
4953
|
+
r"""<p>集群操作创建时间</p>
|
|
4954
|
+
:rtype: str
|
|
4955
|
+
"""
|
|
4956
|
+
return self._FlowCreateTime
|
|
4957
|
+
|
|
4958
|
+
@FlowCreateTime.setter
|
|
4959
|
+
def FlowCreateTime(self, FlowCreateTime):
|
|
4960
|
+
self._FlowCreateTime = FlowCreateTime
|
|
4961
|
+
|
|
4962
|
+
@property
|
|
4963
|
+
def FlowMsg(self):
|
|
4964
|
+
r"""<p>集群流程错误信息</p>
|
|
4965
|
+
:rtype: str
|
|
4966
|
+
"""
|
|
4967
|
+
return self._FlowMsg
|
|
4968
|
+
|
|
4969
|
+
@FlowMsg.setter
|
|
4970
|
+
def FlowMsg(self, FlowMsg):
|
|
4971
|
+
self._FlowMsg = FlowMsg
|
|
4972
|
+
|
|
4973
|
+
@property
|
|
4974
|
+
def FlowName(self):
|
|
4975
|
+
r"""<p>集群操作名称</p>
|
|
4976
|
+
:rtype: str
|
|
4977
|
+
"""
|
|
4978
|
+
return self._FlowName
|
|
4979
|
+
|
|
4980
|
+
@FlowName.setter
|
|
4981
|
+
def FlowName(self, FlowName):
|
|
4982
|
+
self._FlowName = FlowName
|
|
4983
|
+
|
|
4984
|
+
@property
|
|
4985
|
+
def FlowProgress(self):
|
|
4986
|
+
r"""<p>集群操作进度</p>
|
|
4987
|
+
:rtype: float
|
|
4988
|
+
"""
|
|
4989
|
+
return self._FlowProgress
|
|
4990
|
+
|
|
4991
|
+
@FlowProgress.setter
|
|
4992
|
+
def FlowProgress(self, FlowProgress):
|
|
4993
|
+
self._FlowProgress = FlowProgress
|
|
4994
|
+
|
|
4995
|
+
@property
|
|
4996
|
+
def InstanceId(self):
|
|
4997
|
+
r"""<p>集群实例名称</p>
|
|
4998
|
+
:rtype: str
|
|
4999
|
+
"""
|
|
5000
|
+
return self._InstanceId
|
|
5001
|
+
|
|
5002
|
+
@InstanceId.setter
|
|
5003
|
+
def InstanceId(self, InstanceId):
|
|
5004
|
+
self._InstanceId = InstanceId
|
|
5005
|
+
|
|
5006
|
+
@property
|
|
5007
|
+
def InstanceState(self):
|
|
5008
|
+
r"""<p>集群状态,例如:Serving</p>
|
|
5009
|
+
:rtype: str
|
|
5010
|
+
"""
|
|
5011
|
+
return self._InstanceState
|
|
5012
|
+
|
|
5013
|
+
@InstanceState.setter
|
|
5014
|
+
def InstanceState(self, InstanceState):
|
|
5015
|
+
self._InstanceState = InstanceState
|
|
5016
|
+
|
|
5017
|
+
@property
|
|
5018
|
+
def InstanceStateDesc(self):
|
|
5019
|
+
r"""<p>集群状态描述,例如:运行中</p>
|
|
5020
|
+
:rtype: str
|
|
5021
|
+
"""
|
|
5022
|
+
return self._InstanceStateDesc
|
|
5023
|
+
|
|
5024
|
+
@InstanceStateDesc.setter
|
|
5025
|
+
def InstanceStateDesc(self, InstanceStateDesc):
|
|
5026
|
+
self._InstanceStateDesc = InstanceStateDesc
|
|
5027
|
+
|
|
5028
|
+
@property
|
|
5029
|
+
def ProcessName(self):
|
|
5030
|
+
r"""<p>当前步骤的名称</p>
|
|
5031
|
+
:rtype: str
|
|
5032
|
+
"""
|
|
5033
|
+
return self._ProcessName
|
|
5034
|
+
|
|
5035
|
+
@ProcessName.setter
|
|
5036
|
+
def ProcessName(self, ProcessName):
|
|
5037
|
+
self._ProcessName = ProcessName
|
|
5038
|
+
|
|
5039
|
+
@property
|
|
5040
|
+
def RecoveryState(self):
|
|
5041
|
+
r"""<p>恢复状态,仅用于前端交互判断(不用于展示)。TableRecovering=表级恢复进行中;ClusterRecovering=集群恢复进行中(CBS 快照恢复/旧回档,不区分);空字符串=无恢复进行中</p>
|
|
5042
|
+
:rtype: str
|
|
5043
|
+
"""
|
|
5044
|
+
return self._RecoveryState
|
|
5045
|
+
|
|
5046
|
+
@RecoveryState.setter
|
|
5047
|
+
def RecoveryState(self, RecoveryState):
|
|
5048
|
+
self._RecoveryState = RecoveryState
|
|
5049
|
+
|
|
5050
|
+
|
|
5051
|
+
def _deserialize(self, params):
|
|
5052
|
+
self._BackupOpenStatus = params.get("BackupOpenStatus")
|
|
5053
|
+
self._BackupStatus = params.get("BackupStatus")
|
|
5054
|
+
self._FlowCreateTime = params.get("FlowCreateTime")
|
|
5055
|
+
self._FlowMsg = params.get("FlowMsg")
|
|
5056
|
+
self._FlowName = params.get("FlowName")
|
|
5057
|
+
self._FlowProgress = params.get("FlowProgress")
|
|
5058
|
+
self._InstanceId = params.get("InstanceId")
|
|
5059
|
+
self._InstanceState = params.get("InstanceState")
|
|
5060
|
+
self._InstanceStateDesc = params.get("InstanceStateDesc")
|
|
5061
|
+
self._ProcessName = params.get("ProcessName")
|
|
5062
|
+
self._RecoveryState = params.get("RecoveryState")
|
|
5063
|
+
memeber_set = set(params.keys())
|
|
5064
|
+
for name, value in vars(self).items():
|
|
5065
|
+
property_name = name[1:]
|
|
5066
|
+
if property_name in memeber_set:
|
|
5067
|
+
memeber_set.remove(property_name)
|
|
5068
|
+
if len(memeber_set) > 0:
|
|
5069
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5070
|
+
|
|
5071
|
+
|
|
5072
|
+
|
|
4837
5073
|
class ModifyDBParametersRequest(AbstractModel):
|
|
4838
5074
|
r"""ModifyDBParameters请求参数结构体
|
|
4839
5075
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdwpg
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.214
|
|
4
4
|
Summary: Tencent Cloud Cdwpg 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<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.214
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.214
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.44
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|