tencentcloud-sdk-python-cdwpg 3.1.44__py2.py3-none-any.whl → 3.1.183__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/cdwpg/v20201230/models.py +337 -131
- {tencentcloud_sdk_python_cdwpg-3.1.44.dist-info → tencentcloud_sdk_python_cdwpg-3.1.183.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_cdwpg-3.1.183.dist-info/RECORD +11 -0
- {tencentcloud_sdk_python_cdwpg-3.1.44.dist-info → tencentcloud_sdk_python_cdwpg-3.1.183.dist-info}/WHEEL +1 -1
- tencentcloud_sdk_python_cdwpg-3.1.44.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_cdwpg-3.1.44.dist-info → tencentcloud_sdk_python_cdwpg-3.1.183.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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,66 @@ 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 FlowMsg: str
|
|
2033
|
-
:param _ProcessName: 当前步骤的名称,例如:”购买资源中“
|
|
2052
|
+
:param _ProcessName: <p>当前步骤的名称,例如:”购买资源中“</p>
|
|
2034
2053
|
:type ProcessName: str
|
|
2035
|
-
:param
|
|
2036
|
-
:type
|
|
2037
|
-
:param _BackupOpenStatus: 集群备份任务开启状态2
|
|
2038
|
-
:type BackupOpenStatus: int
|
|
2054
|
+
:param _InstanceStates: <p>批量实例状态列表(InstanceIds 入参时返回,每项含 InstanceId 与状态字段)</p>
|
|
2055
|
+
:type InstanceStates: list of InstanceStateItem
|
|
2039
2056
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2040
2057
|
:type RequestId: str
|
|
2041
2058
|
"""
|
|
2042
|
-
self.
|
|
2059
|
+
self._BackupOpenStatus = None
|
|
2060
|
+
self._BackupStatus = None
|
|
2043
2061
|
self._FlowCreateTime = None
|
|
2062
|
+
self._FlowMsg = None
|
|
2044
2063
|
self._FlowName = None
|
|
2045
2064
|
self._FlowProgress = None
|
|
2065
|
+
self._InstanceState = None
|
|
2046
2066
|
self._InstanceStateDesc = None
|
|
2047
|
-
self._FlowMsg = None
|
|
2048
2067
|
self._ProcessName = None
|
|
2049
|
-
self.
|
|
2050
|
-
self._BackupOpenStatus = None
|
|
2068
|
+
self._InstanceStates = None
|
|
2051
2069
|
self._RequestId = None
|
|
2052
2070
|
|
|
2053
2071
|
@property
|
|
2054
|
-
def
|
|
2055
|
-
r"""
|
|
2056
|
-
:rtype:
|
|
2072
|
+
def BackupOpenStatus(self):
|
|
2073
|
+
r"""<p>集群备份任务开启状态2</p>
|
|
2074
|
+
:rtype: int
|
|
2057
2075
|
"""
|
|
2058
|
-
return self.
|
|
2076
|
+
return self._BackupOpenStatus
|
|
2059
2077
|
|
|
2060
|
-
@
|
|
2061
|
-
def
|
|
2062
|
-
self.
|
|
2078
|
+
@BackupOpenStatus.setter
|
|
2079
|
+
def BackupOpenStatus(self, BackupOpenStatus):
|
|
2080
|
+
self._BackupOpenStatus = BackupOpenStatus
|
|
2081
|
+
|
|
2082
|
+
@property
|
|
2083
|
+
def BackupStatus(self):
|
|
2084
|
+
r"""<p>集群备份任务开启状态</p>
|
|
2085
|
+
:rtype: int
|
|
2086
|
+
"""
|
|
2087
|
+
return self._BackupStatus
|
|
2088
|
+
|
|
2089
|
+
@BackupStatus.setter
|
|
2090
|
+
def BackupStatus(self, BackupStatus):
|
|
2091
|
+
self._BackupStatus = BackupStatus
|
|
2063
2092
|
|
|
2064
2093
|
@property
|
|
2065
2094
|
def FlowCreateTime(self):
|
|
2066
|
-
r"""
|
|
2095
|
+
r"""<p>集群操作创建时间</p>
|
|
2067
2096
|
:rtype: str
|
|
2068
2097
|
"""
|
|
2069
2098
|
return self._FlowCreateTime
|
|
@@ -2072,9 +2101,20 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2072
2101
|
def FlowCreateTime(self, FlowCreateTime):
|
|
2073
2102
|
self._FlowCreateTime = FlowCreateTime
|
|
2074
2103
|
|
|
2104
|
+
@property
|
|
2105
|
+
def FlowMsg(self):
|
|
2106
|
+
r"""<p>集群流程错误信息,例如:“创建失败,资源不足”</p>
|
|
2107
|
+
:rtype: str
|
|
2108
|
+
"""
|
|
2109
|
+
return self._FlowMsg
|
|
2110
|
+
|
|
2111
|
+
@FlowMsg.setter
|
|
2112
|
+
def FlowMsg(self, FlowMsg):
|
|
2113
|
+
self._FlowMsg = FlowMsg
|
|
2114
|
+
|
|
2075
2115
|
@property
|
|
2076
2116
|
def FlowName(self):
|
|
2077
|
-
r"""
|
|
2117
|
+
r"""<p>集群操作名称</p>
|
|
2078
2118
|
:rtype: str
|
|
2079
2119
|
"""
|
|
2080
2120
|
return self._FlowName
|
|
@@ -2085,7 +2125,7 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2085
2125
|
|
|
2086
2126
|
@property
|
|
2087
2127
|
def FlowProgress(self):
|
|
2088
|
-
r"""
|
|
2128
|
+
r"""<p>集群操作进度</p>
|
|
2089
2129
|
:rtype: float
|
|
2090
2130
|
"""
|
|
2091
2131
|
return self._FlowProgress
|
|
@@ -2095,30 +2135,30 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2095
2135
|
self._FlowProgress = FlowProgress
|
|
2096
2136
|
|
|
2097
2137
|
@property
|
|
2098
|
-
def
|
|
2099
|
-
r"""
|
|
2138
|
+
def InstanceState(self):
|
|
2139
|
+
r"""<p>集群状态,例如:Serving</p>
|
|
2100
2140
|
:rtype: str
|
|
2101
2141
|
"""
|
|
2102
|
-
return self.
|
|
2142
|
+
return self._InstanceState
|
|
2103
2143
|
|
|
2104
|
-
@
|
|
2105
|
-
def
|
|
2106
|
-
self.
|
|
2144
|
+
@InstanceState.setter
|
|
2145
|
+
def InstanceState(self, InstanceState):
|
|
2146
|
+
self._InstanceState = InstanceState
|
|
2107
2147
|
|
|
2108
2148
|
@property
|
|
2109
|
-
def
|
|
2110
|
-
r"""
|
|
2149
|
+
def InstanceStateDesc(self):
|
|
2150
|
+
r"""<p>集群状态描述,例如:运行中</p>
|
|
2111
2151
|
:rtype: str
|
|
2112
2152
|
"""
|
|
2113
|
-
return self.
|
|
2153
|
+
return self._InstanceStateDesc
|
|
2114
2154
|
|
|
2115
|
-
@
|
|
2116
|
-
def
|
|
2117
|
-
self.
|
|
2155
|
+
@InstanceStateDesc.setter
|
|
2156
|
+
def InstanceStateDesc(self, InstanceStateDesc):
|
|
2157
|
+
self._InstanceStateDesc = InstanceStateDesc
|
|
2118
2158
|
|
|
2119
2159
|
@property
|
|
2120
2160
|
def ProcessName(self):
|
|
2121
|
-
r"""
|
|
2161
|
+
r"""<p>当前步骤的名称,例如:”购买资源中“</p>
|
|
2122
2162
|
:rtype: str
|
|
2123
2163
|
"""
|
|
2124
2164
|
return self._ProcessName
|
|
@@ -2128,26 +2168,15 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2128
2168
|
self._ProcessName = ProcessName
|
|
2129
2169
|
|
|
2130
2170
|
@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
|
|
2171
|
+
def InstanceStates(self):
|
|
2172
|
+
r"""<p>批量实例状态列表(InstanceIds 入参时返回,每项含 InstanceId 与状态字段)</p>
|
|
2173
|
+
:rtype: list of InstanceStateItem
|
|
2145
2174
|
"""
|
|
2146
|
-
return self.
|
|
2175
|
+
return self._InstanceStates
|
|
2147
2176
|
|
|
2148
|
-
@
|
|
2149
|
-
def
|
|
2150
|
-
self.
|
|
2177
|
+
@InstanceStates.setter
|
|
2178
|
+
def InstanceStates(self, InstanceStates):
|
|
2179
|
+
self._InstanceStates = InstanceStates
|
|
2151
2180
|
|
|
2152
2181
|
@property
|
|
2153
2182
|
def RequestId(self):
|
|
@@ -2162,15 +2191,21 @@ class DescribeInstanceStateResponse(AbstractModel):
|
|
|
2162
2191
|
|
|
2163
2192
|
|
|
2164
2193
|
def _deserialize(self, params):
|
|
2165
|
-
self.
|
|
2194
|
+
self._BackupOpenStatus = params.get("BackupOpenStatus")
|
|
2195
|
+
self._BackupStatus = params.get("BackupStatus")
|
|
2166
2196
|
self._FlowCreateTime = params.get("FlowCreateTime")
|
|
2197
|
+
self._FlowMsg = params.get("FlowMsg")
|
|
2167
2198
|
self._FlowName = params.get("FlowName")
|
|
2168
2199
|
self._FlowProgress = params.get("FlowProgress")
|
|
2200
|
+
self._InstanceState = params.get("InstanceState")
|
|
2169
2201
|
self._InstanceStateDesc = params.get("InstanceStateDesc")
|
|
2170
|
-
self._FlowMsg = params.get("FlowMsg")
|
|
2171
2202
|
self._ProcessName = params.get("ProcessName")
|
|
2172
|
-
|
|
2173
|
-
|
|
2203
|
+
if params.get("InstanceStates") is not None:
|
|
2204
|
+
self._InstanceStates = []
|
|
2205
|
+
for item in params.get("InstanceStates"):
|
|
2206
|
+
obj = InstanceStateItem()
|
|
2207
|
+
obj._deserialize(item)
|
|
2208
|
+
self._InstanceStates.append(obj)
|
|
2174
2209
|
self._RequestId = params.get("RequestId")
|
|
2175
2210
|
|
|
2176
2211
|
|
|
@@ -4834,6 +4869,177 @@ class InstanceStateInfo(AbstractModel):
|
|
|
4834
4869
|
|
|
4835
4870
|
|
|
4836
4871
|
|
|
4872
|
+
class InstanceStateItem(AbstractModel):
|
|
4873
|
+
r"""批量实例状态项
|
|
4874
|
+
|
|
4875
|
+
"""
|
|
4876
|
+
|
|
4877
|
+
def __init__(self):
|
|
4878
|
+
r"""
|
|
4879
|
+
:param _InstanceId: <p>集群实例名称</p>
|
|
4880
|
+
:type InstanceId: str
|
|
4881
|
+
:param _InstanceState: <p>集群状态,例如:Serving</p>
|
|
4882
|
+
:type InstanceState: str
|
|
4883
|
+
:param _InstanceStateDesc: <p>集群状态描述,例如:运行中</p>
|
|
4884
|
+
:type InstanceStateDesc: str
|
|
4885
|
+
:param _BackupStatus: <p>集群备份任务开启状态</p>
|
|
4886
|
+
:type BackupStatus: int
|
|
4887
|
+
:param _BackupOpenStatus: <p>集群备份任务开启状态2</p>
|
|
4888
|
+
:type BackupOpenStatus: int
|
|
4889
|
+
:param _FlowCreateTime: <p>集群操作创建时间</p>
|
|
4890
|
+
:type FlowCreateTime: str
|
|
4891
|
+
:param _FlowName: <p>集群操作名称</p>
|
|
4892
|
+
:type FlowName: str
|
|
4893
|
+
:param _FlowProgress: <p>集群操作进度</p>
|
|
4894
|
+
:type FlowProgress: float
|
|
4895
|
+
:param _FlowMsg: <p>集群流程错误信息</p>
|
|
4896
|
+
:type FlowMsg: str
|
|
4897
|
+
:param _ProcessName: <p>当前步骤的名称</p>
|
|
4898
|
+
:type ProcessName: str
|
|
4899
|
+
"""
|
|
4900
|
+
self._InstanceId = None
|
|
4901
|
+
self._InstanceState = None
|
|
4902
|
+
self._InstanceStateDesc = None
|
|
4903
|
+
self._BackupStatus = None
|
|
4904
|
+
self._BackupOpenStatus = None
|
|
4905
|
+
self._FlowCreateTime = None
|
|
4906
|
+
self._FlowName = None
|
|
4907
|
+
self._FlowProgress = None
|
|
4908
|
+
self._FlowMsg = None
|
|
4909
|
+
self._ProcessName = None
|
|
4910
|
+
|
|
4911
|
+
@property
|
|
4912
|
+
def InstanceId(self):
|
|
4913
|
+
r"""<p>集群实例名称</p>
|
|
4914
|
+
:rtype: str
|
|
4915
|
+
"""
|
|
4916
|
+
return self._InstanceId
|
|
4917
|
+
|
|
4918
|
+
@InstanceId.setter
|
|
4919
|
+
def InstanceId(self, InstanceId):
|
|
4920
|
+
self._InstanceId = InstanceId
|
|
4921
|
+
|
|
4922
|
+
@property
|
|
4923
|
+
def InstanceState(self):
|
|
4924
|
+
r"""<p>集群状态,例如:Serving</p>
|
|
4925
|
+
:rtype: str
|
|
4926
|
+
"""
|
|
4927
|
+
return self._InstanceState
|
|
4928
|
+
|
|
4929
|
+
@InstanceState.setter
|
|
4930
|
+
def InstanceState(self, InstanceState):
|
|
4931
|
+
self._InstanceState = InstanceState
|
|
4932
|
+
|
|
4933
|
+
@property
|
|
4934
|
+
def InstanceStateDesc(self):
|
|
4935
|
+
r"""<p>集群状态描述,例如:运行中</p>
|
|
4936
|
+
:rtype: str
|
|
4937
|
+
"""
|
|
4938
|
+
return self._InstanceStateDesc
|
|
4939
|
+
|
|
4940
|
+
@InstanceStateDesc.setter
|
|
4941
|
+
def InstanceStateDesc(self, InstanceStateDesc):
|
|
4942
|
+
self._InstanceStateDesc = InstanceStateDesc
|
|
4943
|
+
|
|
4944
|
+
@property
|
|
4945
|
+
def BackupStatus(self):
|
|
4946
|
+
r"""<p>集群备份任务开启状态</p>
|
|
4947
|
+
:rtype: int
|
|
4948
|
+
"""
|
|
4949
|
+
return self._BackupStatus
|
|
4950
|
+
|
|
4951
|
+
@BackupStatus.setter
|
|
4952
|
+
def BackupStatus(self, BackupStatus):
|
|
4953
|
+
self._BackupStatus = BackupStatus
|
|
4954
|
+
|
|
4955
|
+
@property
|
|
4956
|
+
def BackupOpenStatus(self):
|
|
4957
|
+
r"""<p>集群备份任务开启状态2</p>
|
|
4958
|
+
:rtype: int
|
|
4959
|
+
"""
|
|
4960
|
+
return self._BackupOpenStatus
|
|
4961
|
+
|
|
4962
|
+
@BackupOpenStatus.setter
|
|
4963
|
+
def BackupOpenStatus(self, BackupOpenStatus):
|
|
4964
|
+
self._BackupOpenStatus = BackupOpenStatus
|
|
4965
|
+
|
|
4966
|
+
@property
|
|
4967
|
+
def FlowCreateTime(self):
|
|
4968
|
+
r"""<p>集群操作创建时间</p>
|
|
4969
|
+
:rtype: str
|
|
4970
|
+
"""
|
|
4971
|
+
return self._FlowCreateTime
|
|
4972
|
+
|
|
4973
|
+
@FlowCreateTime.setter
|
|
4974
|
+
def FlowCreateTime(self, FlowCreateTime):
|
|
4975
|
+
self._FlowCreateTime = FlowCreateTime
|
|
4976
|
+
|
|
4977
|
+
@property
|
|
4978
|
+
def FlowName(self):
|
|
4979
|
+
r"""<p>集群操作名称</p>
|
|
4980
|
+
:rtype: str
|
|
4981
|
+
"""
|
|
4982
|
+
return self._FlowName
|
|
4983
|
+
|
|
4984
|
+
@FlowName.setter
|
|
4985
|
+
def FlowName(self, FlowName):
|
|
4986
|
+
self._FlowName = FlowName
|
|
4987
|
+
|
|
4988
|
+
@property
|
|
4989
|
+
def FlowProgress(self):
|
|
4990
|
+
r"""<p>集群操作进度</p>
|
|
4991
|
+
:rtype: float
|
|
4992
|
+
"""
|
|
4993
|
+
return self._FlowProgress
|
|
4994
|
+
|
|
4995
|
+
@FlowProgress.setter
|
|
4996
|
+
def FlowProgress(self, FlowProgress):
|
|
4997
|
+
self._FlowProgress = FlowProgress
|
|
4998
|
+
|
|
4999
|
+
@property
|
|
5000
|
+
def FlowMsg(self):
|
|
5001
|
+
r"""<p>集群流程错误信息</p>
|
|
5002
|
+
:rtype: str
|
|
5003
|
+
"""
|
|
5004
|
+
return self._FlowMsg
|
|
5005
|
+
|
|
5006
|
+
@FlowMsg.setter
|
|
5007
|
+
def FlowMsg(self, FlowMsg):
|
|
5008
|
+
self._FlowMsg = FlowMsg
|
|
5009
|
+
|
|
5010
|
+
@property
|
|
5011
|
+
def ProcessName(self):
|
|
5012
|
+
r"""<p>当前步骤的名称</p>
|
|
5013
|
+
:rtype: str
|
|
5014
|
+
"""
|
|
5015
|
+
return self._ProcessName
|
|
5016
|
+
|
|
5017
|
+
@ProcessName.setter
|
|
5018
|
+
def ProcessName(self, ProcessName):
|
|
5019
|
+
self._ProcessName = ProcessName
|
|
5020
|
+
|
|
5021
|
+
|
|
5022
|
+
def _deserialize(self, params):
|
|
5023
|
+
self._InstanceId = params.get("InstanceId")
|
|
5024
|
+
self._InstanceState = params.get("InstanceState")
|
|
5025
|
+
self._InstanceStateDesc = params.get("InstanceStateDesc")
|
|
5026
|
+
self._BackupStatus = params.get("BackupStatus")
|
|
5027
|
+
self._BackupOpenStatus = params.get("BackupOpenStatus")
|
|
5028
|
+
self._FlowCreateTime = params.get("FlowCreateTime")
|
|
5029
|
+
self._FlowName = params.get("FlowName")
|
|
5030
|
+
self._FlowProgress = params.get("FlowProgress")
|
|
5031
|
+
self._FlowMsg = params.get("FlowMsg")
|
|
5032
|
+
self._ProcessName = params.get("ProcessName")
|
|
5033
|
+
memeber_set = set(params.keys())
|
|
5034
|
+
for name, value in vars(self).items():
|
|
5035
|
+
property_name = name[1:]
|
|
5036
|
+
if property_name in memeber_set:
|
|
5037
|
+
memeber_set.remove(property_name)
|
|
5038
|
+
if len(memeber_set) > 0:
|
|
5039
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5040
|
+
|
|
5041
|
+
|
|
5042
|
+
|
|
4837
5043
|
class ModifyDBParametersRequest(AbstractModel):
|
|
4838
5044
|
r"""ModifyDBParameters请求参数结构体
|
|
4839
5045
|
|
|
@@ -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.183
|
|
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.183
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=1CmH0UzpQTuiV1K2m4sHdJaWzeCXqhkwpbbhS42Tdjk,630
|
|
2
|
+
tencentcloud/cdwpg/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/cdwpg/v20201230/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/cdwpg/v20201230/cdwpg_client.py,sha256=wpW-HblMH-_y1RyYdbhZ8IRPJP3vRAaZOcDlKbBpb2I,22262
|
|
5
|
+
tencentcloud/cdwpg/v20201230/cdwpg_client_async.py,sha256=wzFZznKoQrLXXIBUJ-ilajWTy6xds4KJYFLQsofBxwM,14879
|
|
6
|
+
tencentcloud/cdwpg/v20201230/errorcodes.py,sha256=OR3S16TnXG8um5PZGuExPnTscfGwVZd5fsPH8HvZnzo,873
|
|
7
|
+
tencentcloud/cdwpg/v20201230/models.py,sha256=lSsKk3u5KDvpIIx931ylUPgGVINjc5FL2CsFif1YfJA,200701
|
|
8
|
+
tencentcloud_sdk_python_cdwpg-3.1.183.dist-info/METADATA,sha256=gJCRr4QRtCEXW3qghb3hLMyWn4aI7hO3mrO2gFVkcds,1507
|
|
9
|
+
tencentcloud_sdk_python_cdwpg-3.1.183.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_cdwpg-3.1.183.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_cdwpg-3.1.183.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=5luFquEQal_DRLx3oNn3SQ_tDvlc8c9WkMZ5_4ndIpg,629
|
|
2
|
-
tencentcloud/cdwpg/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/cdwpg/v20201230/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/cdwpg/v20201230/cdwpg_client.py,sha256=wpW-HblMH-_y1RyYdbhZ8IRPJP3vRAaZOcDlKbBpb2I,22262
|
|
5
|
-
tencentcloud/cdwpg/v20201230/cdwpg_client_async.py,sha256=wzFZznKoQrLXXIBUJ-ilajWTy6xds4KJYFLQsofBxwM,14879
|
|
6
|
-
tencentcloud/cdwpg/v20201230/errorcodes.py,sha256=OR3S16TnXG8um5PZGuExPnTscfGwVZd5fsPH8HvZnzo,873
|
|
7
|
-
tencentcloud/cdwpg/v20201230/models.py,sha256=chi-kEjO9OqHwDK5CS4JkTQIWp9ESTg7PZ3gcMEjzEU,194091
|
|
8
|
-
tencentcloud_sdk_python_cdwpg-3.1.44.dist-info/METADATA,sha256=89l5aqu-Hc2sZGvX2qjQ4xK0vhXA3x25Syown-7HbgM,1505
|
|
9
|
-
tencentcloud_sdk_python_cdwpg-3.1.44.dist-info/WHEEL,sha256=I3glN-nznogni2CWkAvi6vPRkBhTbVeYvJZnIsln6uc,109
|
|
10
|
-
tencentcloud_sdk_python_cdwpg-3.1.44.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_cdwpg-3.1.44.dist-info/RECORD,,
|
|
File without changes
|