tencentcloud-sdk-python 3.0.1171__py2.py3-none-any.whl → 3.0.1172__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/apm/v20210622/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +24 -0
- tencentcloud/ckafka/v20190819/models.py +77 -12
- tencentcloud/csip/v20221121/models.py +127 -1
- tencentcloud/cynosdb/v20190107/models.py +534 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +45 -0
- tencentcloud/emr/v20190103/models.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client.py +7 -0
- tencentcloud/iecp/v20210914/iecp_client.py +60 -20
- tencentcloud/ims/v20201229/ims_client.py +4 -3
- tencentcloud/lke/v20231130/errorcodes.py +33 -0
- tencentcloud/lke/v20231130/lke_client.py +69 -0
- tencentcloud/lke/v20231130/models.py +852 -0
- tencentcloud/monitor/v20180724/models.py +12 -0
- tencentcloud/sms/v20210111/sms_client.py +33 -65
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +263 -4
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tse/v20201207/models.py +18 -1
- tencentcloud/tsf/v20180326/tsf_client.py +3 -1
- tencentcloud/waf/v20180125/models.py +103 -12
- tencentcloud/wedata/v20210820/models.py +39 -26
- tencentcloud/wedata/v20210820/wedata_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/RECORD +30 -30
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/top_level.txt +0 -0
@@ -2192,6 +2192,9 @@ class BizTaskInfo(AbstractModel):
|
|
2192
2192
|
:type AppId: int
|
2193
2193
|
:param _ClusterId: 集群id
|
2194
2194
|
:type ClusterId: str
|
2195
|
+
:param _Region: 地域
|
2196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2197
|
+
:type Region: str
|
2195
2198
|
:param _CreateTime: 任务创建时间
|
2196
2199
|
:type CreateTime: str
|
2197
2200
|
:param _DelayTime: 延迟执行时间
|
@@ -2266,10 +2269,15 @@ class BizTaskInfo(AbstractModel):
|
|
2266
2269
|
:param _TaskMaintainInfo: 维护时间
|
2267
2270
|
注意:此字段可能返回 null,表示取不到有效值。
|
2268
2271
|
:type TaskMaintainInfo: :class:`tencentcloud.cynosdb.v20190107.models.TaskMaintainInfo`
|
2272
|
+
:param _InstanceCLSDeliveryInfos: 实例日志投递信息
|
2273
|
+
|
2274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2275
|
+
:type InstanceCLSDeliveryInfos: list of InstanceCLSDeliveryInfo
|
2269
2276
|
"""
|
2270
2277
|
self._ID = None
|
2271
2278
|
self._AppId = None
|
2272
2279
|
self._ClusterId = None
|
2280
|
+
self._Region = None
|
2273
2281
|
self._CreateTime = None
|
2274
2282
|
self._DelayTime = None
|
2275
2283
|
self._ErrMsg = None
|
@@ -2301,6 +2309,7 @@ class BizTaskInfo(AbstractModel):
|
|
2301
2309
|
self._SwitchClusterLogBin = None
|
2302
2310
|
self._ModifyInstanceParamsData = None
|
2303
2311
|
self._TaskMaintainInfo = None
|
2312
|
+
self._InstanceCLSDeliveryInfos = None
|
2304
2313
|
|
2305
2314
|
@property
|
2306
2315
|
def ID(self):
|
@@ -2326,6 +2335,14 @@ class BizTaskInfo(AbstractModel):
|
|
2326
2335
|
def ClusterId(self, ClusterId):
|
2327
2336
|
self._ClusterId = ClusterId
|
2328
2337
|
|
2338
|
+
@property
|
2339
|
+
def Region(self):
|
2340
|
+
return self._Region
|
2341
|
+
|
2342
|
+
@Region.setter
|
2343
|
+
def Region(self, Region):
|
2344
|
+
self._Region = Region
|
2345
|
+
|
2329
2346
|
@property
|
2330
2347
|
def CreateTime(self):
|
2331
2348
|
return self._CreateTime
|
@@ -2578,11 +2595,20 @@ class BizTaskInfo(AbstractModel):
|
|
2578
2595
|
def TaskMaintainInfo(self, TaskMaintainInfo):
|
2579
2596
|
self._TaskMaintainInfo = TaskMaintainInfo
|
2580
2597
|
|
2598
|
+
@property
|
2599
|
+
def InstanceCLSDeliveryInfos(self):
|
2600
|
+
return self._InstanceCLSDeliveryInfos
|
2601
|
+
|
2602
|
+
@InstanceCLSDeliveryInfos.setter
|
2603
|
+
def InstanceCLSDeliveryInfos(self, InstanceCLSDeliveryInfos):
|
2604
|
+
self._InstanceCLSDeliveryInfos = InstanceCLSDeliveryInfos
|
2605
|
+
|
2581
2606
|
|
2582
2607
|
def _deserialize(self, params):
|
2583
2608
|
self._ID = params.get("ID")
|
2584
2609
|
self._AppId = params.get("AppId")
|
2585
2610
|
self._ClusterId = params.get("ClusterId")
|
2611
|
+
self._Region = params.get("Region")
|
2586
2612
|
self._CreateTime = params.get("CreateTime")
|
2587
2613
|
self._DelayTime = params.get("DelayTime")
|
2588
2614
|
self._ErrMsg = params.get("ErrMsg")
|
@@ -2637,6 +2663,12 @@ class BizTaskInfo(AbstractModel):
|
|
2637
2663
|
if params.get("TaskMaintainInfo") is not None:
|
2638
2664
|
self._TaskMaintainInfo = TaskMaintainInfo()
|
2639
2665
|
self._TaskMaintainInfo._deserialize(params.get("TaskMaintainInfo"))
|
2666
|
+
if params.get("InstanceCLSDeliveryInfos") is not None:
|
2667
|
+
self._InstanceCLSDeliveryInfos = []
|
2668
|
+
for item in params.get("InstanceCLSDeliveryInfos"):
|
2669
|
+
obj = InstanceCLSDeliveryInfo()
|
2670
|
+
obj._deserialize(item)
|
2671
|
+
self._InstanceCLSDeliveryInfos.append(obj)
|
2640
2672
|
memeber_set = set(params.keys())
|
2641
2673
|
for name, value in vars(self).items():
|
2642
2674
|
property_name = name[1:]
|
@@ -16231,6 +16263,108 @@ class ErrorLogItemExport(AbstractModel):
|
|
16231
16263
|
|
16232
16264
|
|
16233
16265
|
|
16266
|
+
class ExchangeInstanceInfo(AbstractModel):
|
16267
|
+
"""交换实例信息
|
16268
|
+
|
16269
|
+
"""
|
16270
|
+
|
16271
|
+
def __init__(self):
|
16272
|
+
r"""
|
16273
|
+
:param _SrcInstanceInfo: 源实例信息
|
16274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16275
|
+
:type SrcInstanceInfo: :class:`tencentcloud.cynosdb.v20190107.models.RollbackInstanceInfo`
|
16276
|
+
:param _DstInstanceInfo: 目标实例信息
|
16277
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16278
|
+
:type DstInstanceInfo: :class:`tencentcloud.cynosdb.v20190107.models.RollbackInstanceInfo`
|
16279
|
+
"""
|
16280
|
+
self._SrcInstanceInfo = None
|
16281
|
+
self._DstInstanceInfo = None
|
16282
|
+
|
16283
|
+
@property
|
16284
|
+
def SrcInstanceInfo(self):
|
16285
|
+
return self._SrcInstanceInfo
|
16286
|
+
|
16287
|
+
@SrcInstanceInfo.setter
|
16288
|
+
def SrcInstanceInfo(self, SrcInstanceInfo):
|
16289
|
+
self._SrcInstanceInfo = SrcInstanceInfo
|
16290
|
+
|
16291
|
+
@property
|
16292
|
+
def DstInstanceInfo(self):
|
16293
|
+
return self._DstInstanceInfo
|
16294
|
+
|
16295
|
+
@DstInstanceInfo.setter
|
16296
|
+
def DstInstanceInfo(self, DstInstanceInfo):
|
16297
|
+
self._DstInstanceInfo = DstInstanceInfo
|
16298
|
+
|
16299
|
+
|
16300
|
+
def _deserialize(self, params):
|
16301
|
+
if params.get("SrcInstanceInfo") is not None:
|
16302
|
+
self._SrcInstanceInfo = RollbackInstanceInfo()
|
16303
|
+
self._SrcInstanceInfo._deserialize(params.get("SrcInstanceInfo"))
|
16304
|
+
if params.get("DstInstanceInfo") is not None:
|
16305
|
+
self._DstInstanceInfo = RollbackInstanceInfo()
|
16306
|
+
self._DstInstanceInfo._deserialize(params.get("DstInstanceInfo"))
|
16307
|
+
memeber_set = set(params.keys())
|
16308
|
+
for name, value in vars(self).items():
|
16309
|
+
property_name = name[1:]
|
16310
|
+
if property_name in memeber_set:
|
16311
|
+
memeber_set.remove(property_name)
|
16312
|
+
if len(memeber_set) > 0:
|
16313
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16314
|
+
|
16315
|
+
|
16316
|
+
|
16317
|
+
class ExchangeRoGroupInfo(AbstractModel):
|
16318
|
+
"""交换RO组信息
|
16319
|
+
|
16320
|
+
"""
|
16321
|
+
|
16322
|
+
def __init__(self):
|
16323
|
+
r"""
|
16324
|
+
:param _SrcRoGroupInfo: 源RO组信息
|
16325
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16326
|
+
:type SrcRoGroupInfo: :class:`tencentcloud.cynosdb.v20190107.models.RollbackRoGroupInfo`
|
16327
|
+
:param _DstRoGroupInfo: 目标RO组信息
|
16328
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16329
|
+
:type DstRoGroupInfo: :class:`tencentcloud.cynosdb.v20190107.models.RollbackRoGroupInfo`
|
16330
|
+
"""
|
16331
|
+
self._SrcRoGroupInfo = None
|
16332
|
+
self._DstRoGroupInfo = None
|
16333
|
+
|
16334
|
+
@property
|
16335
|
+
def SrcRoGroupInfo(self):
|
16336
|
+
return self._SrcRoGroupInfo
|
16337
|
+
|
16338
|
+
@SrcRoGroupInfo.setter
|
16339
|
+
def SrcRoGroupInfo(self, SrcRoGroupInfo):
|
16340
|
+
self._SrcRoGroupInfo = SrcRoGroupInfo
|
16341
|
+
|
16342
|
+
@property
|
16343
|
+
def DstRoGroupInfo(self):
|
16344
|
+
return self._DstRoGroupInfo
|
16345
|
+
|
16346
|
+
@DstRoGroupInfo.setter
|
16347
|
+
def DstRoGroupInfo(self, DstRoGroupInfo):
|
16348
|
+
self._DstRoGroupInfo = DstRoGroupInfo
|
16349
|
+
|
16350
|
+
|
16351
|
+
def _deserialize(self, params):
|
16352
|
+
if params.get("SrcRoGroupInfo") is not None:
|
16353
|
+
self._SrcRoGroupInfo = RollbackRoGroupInfo()
|
16354
|
+
self._SrcRoGroupInfo._deserialize(params.get("SrcRoGroupInfo"))
|
16355
|
+
if params.get("DstRoGroupInfo") is not None:
|
16356
|
+
self._DstRoGroupInfo = RollbackRoGroupInfo()
|
16357
|
+
self._DstRoGroupInfo._deserialize(params.get("DstRoGroupInfo"))
|
16358
|
+
memeber_set = set(params.keys())
|
16359
|
+
for name, value in vars(self).items():
|
16360
|
+
property_name = name[1:]
|
16361
|
+
if property_name in memeber_set:
|
16362
|
+
memeber_set.remove(property_name)
|
16363
|
+
if len(memeber_set) > 0:
|
16364
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16365
|
+
|
16366
|
+
|
16367
|
+
|
16234
16368
|
class ExportInstanceErrorLogsRequest(AbstractModel):
|
16235
16369
|
"""ExportInstanceErrorLogs请求参数结构体
|
16236
16370
|
|
@@ -25967,6 +26101,9 @@ class RollbackData(AbstractModel):
|
|
25967
26101
|
:param _BackupFileName: 备份文件名称
|
25968
26102
|
注意:此字段可能返回 null,表示取不到有效值。
|
25969
26103
|
:type BackupFileName: str
|
26104
|
+
:param _RollbackProcess: 回档进程
|
26105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26106
|
+
:type RollbackProcess: :class:`tencentcloud.cynosdb.v20190107.models.RollbackProcessInfo`
|
25970
26107
|
"""
|
25971
26108
|
self._Cpu = None
|
25972
26109
|
self._Memory = None
|
@@ -25981,6 +26118,7 @@ class RollbackData(AbstractModel):
|
|
25981
26118
|
self._RollbackDatabases = None
|
25982
26119
|
self._RollbackTables = None
|
25983
26120
|
self._BackupFileName = None
|
26121
|
+
self._RollbackProcess = None
|
25984
26122
|
|
25985
26123
|
@property
|
25986
26124
|
def Cpu(self):
|
@@ -26086,6 +26224,14 @@ class RollbackData(AbstractModel):
|
|
26086
26224
|
def BackupFileName(self, BackupFileName):
|
26087
26225
|
self._BackupFileName = BackupFileName
|
26088
26226
|
|
26227
|
+
@property
|
26228
|
+
def RollbackProcess(self):
|
26229
|
+
return self._RollbackProcess
|
26230
|
+
|
26231
|
+
@RollbackProcess.setter
|
26232
|
+
def RollbackProcess(self, RollbackProcess):
|
26233
|
+
self._RollbackProcess = RollbackProcess
|
26234
|
+
|
26089
26235
|
|
26090
26236
|
def _deserialize(self, params):
|
26091
26237
|
self._Cpu = params.get("Cpu")
|
@@ -26111,6 +26257,9 @@ class RollbackData(AbstractModel):
|
|
26111
26257
|
obj._deserialize(item)
|
26112
26258
|
self._RollbackTables.append(obj)
|
26113
26259
|
self._BackupFileName = params.get("BackupFileName")
|
26260
|
+
if params.get("RollbackProcess") is not None:
|
26261
|
+
self._RollbackProcess = RollbackProcessInfo()
|
26262
|
+
self._RollbackProcess._deserialize(params.get("RollbackProcess"))
|
26114
26263
|
memeber_set = set(params.keys())
|
26115
26264
|
for name, value in vars(self).items():
|
26116
26265
|
property_name = name[1:]
|
@@ -26166,6 +26315,391 @@ class RollbackDatabase(AbstractModel):
|
|
26166
26315
|
|
26167
26316
|
|
26168
26317
|
|
26318
|
+
class RollbackInstanceInfo(AbstractModel):
|
26319
|
+
"""回档实例信息
|
26320
|
+
|
26321
|
+
"""
|
26322
|
+
|
26323
|
+
def __init__(self):
|
26324
|
+
r"""
|
26325
|
+
:param _ClusterId: 集群ID
|
26326
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26327
|
+
:type ClusterId: str
|
26328
|
+
:param _ClusterName: 集群名称
|
26329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26330
|
+
:type ClusterName: str
|
26331
|
+
:param _UniqVpcId: vpc信息
|
26332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26333
|
+
:type UniqVpcId: str
|
26334
|
+
:param _UniqSubnetId: 子网信息
|
26335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26336
|
+
:type UniqSubnetId: str
|
26337
|
+
:param _Vip: vip信息
|
26338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26339
|
+
:type Vip: str
|
26340
|
+
:param _Vport: vport信息
|
26341
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26342
|
+
:type Vport: int
|
26343
|
+
:param _InstanceId: 实例ID
|
26344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26345
|
+
:type InstanceId: str
|
26346
|
+
:param _InstanceName: 实例名称
|
26347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26348
|
+
:type InstanceName: str
|
26349
|
+
:param _Status: 状态
|
26350
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26351
|
+
:type Status: str
|
26352
|
+
:param _Cpu: cpu大小
|
26353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26354
|
+
:type Cpu: int
|
26355
|
+
:param _Mem: 内存大小
|
26356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26357
|
+
:type Mem: int
|
26358
|
+
:param _StorageLimit: 存储大小
|
26359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26360
|
+
:type StorageLimit: int
|
26361
|
+
"""
|
26362
|
+
self._ClusterId = None
|
26363
|
+
self._ClusterName = None
|
26364
|
+
self._UniqVpcId = None
|
26365
|
+
self._UniqSubnetId = None
|
26366
|
+
self._Vip = None
|
26367
|
+
self._Vport = None
|
26368
|
+
self._InstanceId = None
|
26369
|
+
self._InstanceName = None
|
26370
|
+
self._Status = None
|
26371
|
+
self._Cpu = None
|
26372
|
+
self._Mem = None
|
26373
|
+
self._StorageLimit = None
|
26374
|
+
|
26375
|
+
@property
|
26376
|
+
def ClusterId(self):
|
26377
|
+
return self._ClusterId
|
26378
|
+
|
26379
|
+
@ClusterId.setter
|
26380
|
+
def ClusterId(self, ClusterId):
|
26381
|
+
self._ClusterId = ClusterId
|
26382
|
+
|
26383
|
+
@property
|
26384
|
+
def ClusterName(self):
|
26385
|
+
return self._ClusterName
|
26386
|
+
|
26387
|
+
@ClusterName.setter
|
26388
|
+
def ClusterName(self, ClusterName):
|
26389
|
+
self._ClusterName = ClusterName
|
26390
|
+
|
26391
|
+
@property
|
26392
|
+
def UniqVpcId(self):
|
26393
|
+
return self._UniqVpcId
|
26394
|
+
|
26395
|
+
@UniqVpcId.setter
|
26396
|
+
def UniqVpcId(self, UniqVpcId):
|
26397
|
+
self._UniqVpcId = UniqVpcId
|
26398
|
+
|
26399
|
+
@property
|
26400
|
+
def UniqSubnetId(self):
|
26401
|
+
return self._UniqSubnetId
|
26402
|
+
|
26403
|
+
@UniqSubnetId.setter
|
26404
|
+
def UniqSubnetId(self, UniqSubnetId):
|
26405
|
+
self._UniqSubnetId = UniqSubnetId
|
26406
|
+
|
26407
|
+
@property
|
26408
|
+
def Vip(self):
|
26409
|
+
return self._Vip
|
26410
|
+
|
26411
|
+
@Vip.setter
|
26412
|
+
def Vip(self, Vip):
|
26413
|
+
self._Vip = Vip
|
26414
|
+
|
26415
|
+
@property
|
26416
|
+
def Vport(self):
|
26417
|
+
return self._Vport
|
26418
|
+
|
26419
|
+
@Vport.setter
|
26420
|
+
def Vport(self, Vport):
|
26421
|
+
self._Vport = Vport
|
26422
|
+
|
26423
|
+
@property
|
26424
|
+
def InstanceId(self):
|
26425
|
+
return self._InstanceId
|
26426
|
+
|
26427
|
+
@InstanceId.setter
|
26428
|
+
def InstanceId(self, InstanceId):
|
26429
|
+
self._InstanceId = InstanceId
|
26430
|
+
|
26431
|
+
@property
|
26432
|
+
def InstanceName(self):
|
26433
|
+
return self._InstanceName
|
26434
|
+
|
26435
|
+
@InstanceName.setter
|
26436
|
+
def InstanceName(self, InstanceName):
|
26437
|
+
self._InstanceName = InstanceName
|
26438
|
+
|
26439
|
+
@property
|
26440
|
+
def Status(self):
|
26441
|
+
return self._Status
|
26442
|
+
|
26443
|
+
@Status.setter
|
26444
|
+
def Status(self, Status):
|
26445
|
+
self._Status = Status
|
26446
|
+
|
26447
|
+
@property
|
26448
|
+
def Cpu(self):
|
26449
|
+
return self._Cpu
|
26450
|
+
|
26451
|
+
@Cpu.setter
|
26452
|
+
def Cpu(self, Cpu):
|
26453
|
+
self._Cpu = Cpu
|
26454
|
+
|
26455
|
+
@property
|
26456
|
+
def Mem(self):
|
26457
|
+
return self._Mem
|
26458
|
+
|
26459
|
+
@Mem.setter
|
26460
|
+
def Mem(self, Mem):
|
26461
|
+
self._Mem = Mem
|
26462
|
+
|
26463
|
+
@property
|
26464
|
+
def StorageLimit(self):
|
26465
|
+
return self._StorageLimit
|
26466
|
+
|
26467
|
+
@StorageLimit.setter
|
26468
|
+
def StorageLimit(self, StorageLimit):
|
26469
|
+
self._StorageLimit = StorageLimit
|
26470
|
+
|
26471
|
+
|
26472
|
+
def _deserialize(self, params):
|
26473
|
+
self._ClusterId = params.get("ClusterId")
|
26474
|
+
self._ClusterName = params.get("ClusterName")
|
26475
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
26476
|
+
self._UniqSubnetId = params.get("UniqSubnetId")
|
26477
|
+
self._Vip = params.get("Vip")
|
26478
|
+
self._Vport = params.get("Vport")
|
26479
|
+
self._InstanceId = params.get("InstanceId")
|
26480
|
+
self._InstanceName = params.get("InstanceName")
|
26481
|
+
self._Status = params.get("Status")
|
26482
|
+
self._Cpu = params.get("Cpu")
|
26483
|
+
self._Mem = params.get("Mem")
|
26484
|
+
self._StorageLimit = params.get("StorageLimit")
|
26485
|
+
memeber_set = set(params.keys())
|
26486
|
+
for name, value in vars(self).items():
|
26487
|
+
property_name = name[1:]
|
26488
|
+
if property_name in memeber_set:
|
26489
|
+
memeber_set.remove(property_name)
|
26490
|
+
if len(memeber_set) > 0:
|
26491
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26492
|
+
|
26493
|
+
|
26494
|
+
|
26495
|
+
class RollbackProcessInfo(AbstractModel):
|
26496
|
+
"""回档进度详情
|
26497
|
+
|
26498
|
+
"""
|
26499
|
+
|
26500
|
+
def __init__(self):
|
26501
|
+
r"""
|
26502
|
+
:param _IsVipSwitchable: 是否可以交换vip
|
26503
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26504
|
+
:type IsVipSwitchable: bool
|
26505
|
+
:param _VipSwitchableTime: vip可交换时间
|
26506
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26507
|
+
:type VipSwitchableTime: str
|
26508
|
+
:param _ExchangeInstanceInfoList: 交换实例列表
|
26509
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26510
|
+
:type ExchangeInstanceInfoList: list of ExchangeInstanceInfo
|
26511
|
+
:param _ExchangeRoGroupInfoList: 交换RO组列表
|
26512
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26513
|
+
:type ExchangeRoGroupInfoList: list of ExchangeRoGroupInfo
|
26514
|
+
:param _CurrentStep: 当前步骤
|
26515
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26516
|
+
:type CurrentStep: str
|
26517
|
+
:param _CurrentStepProgress: 当前步骤进度
|
26518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26519
|
+
:type CurrentStepProgress: int
|
26520
|
+
:param _CurrentStepRemainingTime: 当前步骤剩余时间
|
26521
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26522
|
+
:type CurrentStepRemainingTime: str
|
26523
|
+
"""
|
26524
|
+
self._IsVipSwitchable = None
|
26525
|
+
self._VipSwitchableTime = None
|
26526
|
+
self._ExchangeInstanceInfoList = None
|
26527
|
+
self._ExchangeRoGroupInfoList = None
|
26528
|
+
self._CurrentStep = None
|
26529
|
+
self._CurrentStepProgress = None
|
26530
|
+
self._CurrentStepRemainingTime = None
|
26531
|
+
|
26532
|
+
@property
|
26533
|
+
def IsVipSwitchable(self):
|
26534
|
+
return self._IsVipSwitchable
|
26535
|
+
|
26536
|
+
@IsVipSwitchable.setter
|
26537
|
+
def IsVipSwitchable(self, IsVipSwitchable):
|
26538
|
+
self._IsVipSwitchable = IsVipSwitchable
|
26539
|
+
|
26540
|
+
@property
|
26541
|
+
def VipSwitchableTime(self):
|
26542
|
+
return self._VipSwitchableTime
|
26543
|
+
|
26544
|
+
@VipSwitchableTime.setter
|
26545
|
+
def VipSwitchableTime(self, VipSwitchableTime):
|
26546
|
+
self._VipSwitchableTime = VipSwitchableTime
|
26547
|
+
|
26548
|
+
@property
|
26549
|
+
def ExchangeInstanceInfoList(self):
|
26550
|
+
return self._ExchangeInstanceInfoList
|
26551
|
+
|
26552
|
+
@ExchangeInstanceInfoList.setter
|
26553
|
+
def ExchangeInstanceInfoList(self, ExchangeInstanceInfoList):
|
26554
|
+
self._ExchangeInstanceInfoList = ExchangeInstanceInfoList
|
26555
|
+
|
26556
|
+
@property
|
26557
|
+
def ExchangeRoGroupInfoList(self):
|
26558
|
+
return self._ExchangeRoGroupInfoList
|
26559
|
+
|
26560
|
+
@ExchangeRoGroupInfoList.setter
|
26561
|
+
def ExchangeRoGroupInfoList(self, ExchangeRoGroupInfoList):
|
26562
|
+
self._ExchangeRoGroupInfoList = ExchangeRoGroupInfoList
|
26563
|
+
|
26564
|
+
@property
|
26565
|
+
def CurrentStep(self):
|
26566
|
+
return self._CurrentStep
|
26567
|
+
|
26568
|
+
@CurrentStep.setter
|
26569
|
+
def CurrentStep(self, CurrentStep):
|
26570
|
+
self._CurrentStep = CurrentStep
|
26571
|
+
|
26572
|
+
@property
|
26573
|
+
def CurrentStepProgress(self):
|
26574
|
+
return self._CurrentStepProgress
|
26575
|
+
|
26576
|
+
@CurrentStepProgress.setter
|
26577
|
+
def CurrentStepProgress(self, CurrentStepProgress):
|
26578
|
+
self._CurrentStepProgress = CurrentStepProgress
|
26579
|
+
|
26580
|
+
@property
|
26581
|
+
def CurrentStepRemainingTime(self):
|
26582
|
+
return self._CurrentStepRemainingTime
|
26583
|
+
|
26584
|
+
@CurrentStepRemainingTime.setter
|
26585
|
+
def CurrentStepRemainingTime(self, CurrentStepRemainingTime):
|
26586
|
+
self._CurrentStepRemainingTime = CurrentStepRemainingTime
|
26587
|
+
|
26588
|
+
|
26589
|
+
def _deserialize(self, params):
|
26590
|
+
self._IsVipSwitchable = params.get("IsVipSwitchable")
|
26591
|
+
self._VipSwitchableTime = params.get("VipSwitchableTime")
|
26592
|
+
if params.get("ExchangeInstanceInfoList") is not None:
|
26593
|
+
self._ExchangeInstanceInfoList = []
|
26594
|
+
for item in params.get("ExchangeInstanceInfoList"):
|
26595
|
+
obj = ExchangeInstanceInfo()
|
26596
|
+
obj._deserialize(item)
|
26597
|
+
self._ExchangeInstanceInfoList.append(obj)
|
26598
|
+
if params.get("ExchangeRoGroupInfoList") is not None:
|
26599
|
+
self._ExchangeRoGroupInfoList = []
|
26600
|
+
for item in params.get("ExchangeRoGroupInfoList"):
|
26601
|
+
obj = ExchangeRoGroupInfo()
|
26602
|
+
obj._deserialize(item)
|
26603
|
+
self._ExchangeRoGroupInfoList.append(obj)
|
26604
|
+
self._CurrentStep = params.get("CurrentStep")
|
26605
|
+
self._CurrentStepProgress = params.get("CurrentStepProgress")
|
26606
|
+
self._CurrentStepRemainingTime = params.get("CurrentStepRemainingTime")
|
26607
|
+
memeber_set = set(params.keys())
|
26608
|
+
for name, value in vars(self).items():
|
26609
|
+
property_name = name[1:]
|
26610
|
+
if property_name in memeber_set:
|
26611
|
+
memeber_set.remove(property_name)
|
26612
|
+
if len(memeber_set) > 0:
|
26613
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26614
|
+
|
26615
|
+
|
26616
|
+
|
26617
|
+
class RollbackRoGroupInfo(AbstractModel):
|
26618
|
+
"""回档RO组信息
|
26619
|
+
|
26620
|
+
"""
|
26621
|
+
|
26622
|
+
def __init__(self):
|
26623
|
+
r"""
|
26624
|
+
:param _InstanceGroupId: 实例组ID
|
26625
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26626
|
+
:type InstanceGroupId: str
|
26627
|
+
:param _UniqVpcId: vpc信息
|
26628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26629
|
+
:type UniqVpcId: str
|
26630
|
+
:param _UniqSubnetId: 子网信息
|
26631
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26632
|
+
:type UniqSubnetId: str
|
26633
|
+
:param _Vip: vip信息
|
26634
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26635
|
+
:type Vip: str
|
26636
|
+
:param _Vport: vport信息
|
26637
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26638
|
+
:type Vport: int
|
26639
|
+
"""
|
26640
|
+
self._InstanceGroupId = None
|
26641
|
+
self._UniqVpcId = None
|
26642
|
+
self._UniqSubnetId = None
|
26643
|
+
self._Vip = None
|
26644
|
+
self._Vport = None
|
26645
|
+
|
26646
|
+
@property
|
26647
|
+
def InstanceGroupId(self):
|
26648
|
+
return self._InstanceGroupId
|
26649
|
+
|
26650
|
+
@InstanceGroupId.setter
|
26651
|
+
def InstanceGroupId(self, InstanceGroupId):
|
26652
|
+
self._InstanceGroupId = InstanceGroupId
|
26653
|
+
|
26654
|
+
@property
|
26655
|
+
def UniqVpcId(self):
|
26656
|
+
return self._UniqVpcId
|
26657
|
+
|
26658
|
+
@UniqVpcId.setter
|
26659
|
+
def UniqVpcId(self, UniqVpcId):
|
26660
|
+
self._UniqVpcId = UniqVpcId
|
26661
|
+
|
26662
|
+
@property
|
26663
|
+
def UniqSubnetId(self):
|
26664
|
+
return self._UniqSubnetId
|
26665
|
+
|
26666
|
+
@UniqSubnetId.setter
|
26667
|
+
def UniqSubnetId(self, UniqSubnetId):
|
26668
|
+
self._UniqSubnetId = UniqSubnetId
|
26669
|
+
|
26670
|
+
@property
|
26671
|
+
def Vip(self):
|
26672
|
+
return self._Vip
|
26673
|
+
|
26674
|
+
@Vip.setter
|
26675
|
+
def Vip(self, Vip):
|
26676
|
+
self._Vip = Vip
|
26677
|
+
|
26678
|
+
@property
|
26679
|
+
def Vport(self):
|
26680
|
+
return self._Vport
|
26681
|
+
|
26682
|
+
@Vport.setter
|
26683
|
+
def Vport(self, Vport):
|
26684
|
+
self._Vport = Vport
|
26685
|
+
|
26686
|
+
|
26687
|
+
def _deserialize(self, params):
|
26688
|
+
self._InstanceGroupId = params.get("InstanceGroupId")
|
26689
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
26690
|
+
self._UniqSubnetId = params.get("UniqSubnetId")
|
26691
|
+
self._Vip = params.get("Vip")
|
26692
|
+
self._Vport = params.get("Vport")
|
26693
|
+
memeber_set = set(params.keys())
|
26694
|
+
for name, value in vars(self).items():
|
26695
|
+
property_name = name[1:]
|
26696
|
+
if property_name in memeber_set:
|
26697
|
+
memeber_set.remove(property_name)
|
26698
|
+
if len(memeber_set) > 0:
|
26699
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26700
|
+
|
26701
|
+
|
26702
|
+
|
26169
26703
|
class RollbackTable(AbstractModel):
|
26170
26704
|
"""回档数据库及表
|
26171
26705
|
|
@@ -2119,6 +2119,29 @@ class DlcClient(AbstractClient):
|
|
2119
2119
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2120
2120
|
|
2121
2121
|
|
2122
|
+
def DescribeTasksOverview(self, request):
|
2123
|
+
"""查看任务概览页
|
2124
|
+
|
2125
|
+
:param request: Request instance for DescribeTasksOverview.
|
2126
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeTasksOverviewRequest`
|
2127
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeTasksOverviewResponse`
|
2128
|
+
|
2129
|
+
"""
|
2130
|
+
try:
|
2131
|
+
params = request._serialize()
|
2132
|
+
headers = request.headers
|
2133
|
+
body = self.call("DescribeTasksOverview", params, headers=headers)
|
2134
|
+
response = json.loads(body)
|
2135
|
+
model = models.DescribeTasksOverviewResponse()
|
2136
|
+
model._deserialize(response["Response"])
|
2137
|
+
return model
|
2138
|
+
except Exception as e:
|
2139
|
+
if isinstance(e, TencentCloudSDKException):
|
2140
|
+
raise
|
2141
|
+
else:
|
2142
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2143
|
+
|
2144
|
+
|
2122
2145
|
def DescribeThirdPartyAccessUser(self, request):
|
2123
2146
|
"""本接口(RegisterThirdPartyAccessUser)查询开通第三方平台访问的用户信息
|
2124
2147
|
|
@@ -14928,6 +14928,51 @@ class DescribeTasksCostInfoResponse(AbstractModel):
|
|
14928
14928
|
self._RequestId = params.get("RequestId")
|
14929
14929
|
|
14930
14930
|
|
14931
|
+
class DescribeTasksOverviewRequest(AbstractModel):
|
14932
|
+
"""DescribeTasksOverview请求参数结构体
|
14933
|
+
|
14934
|
+
"""
|
14935
|
+
|
14936
|
+
|
14937
|
+
class DescribeTasksOverviewResponse(AbstractModel):
|
14938
|
+
"""DescribeTasksOverview返回参数结构体
|
14939
|
+
|
14940
|
+
"""
|
14941
|
+
|
14942
|
+
def __init__(self):
|
14943
|
+
r"""
|
14944
|
+
:param _TasksOverview: 各类任务个数大于0
|
14945
|
+
:type TasksOverview: :class:`tencentcloud.dlc.v20210125.models.TasksOverview`
|
14946
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14947
|
+
:type RequestId: str
|
14948
|
+
"""
|
14949
|
+
self._TasksOverview = None
|
14950
|
+
self._RequestId = None
|
14951
|
+
|
14952
|
+
@property
|
14953
|
+
def TasksOverview(self):
|
14954
|
+
return self._TasksOverview
|
14955
|
+
|
14956
|
+
@TasksOverview.setter
|
14957
|
+
def TasksOverview(self, TasksOverview):
|
14958
|
+
self._TasksOverview = TasksOverview
|
14959
|
+
|
14960
|
+
@property
|
14961
|
+
def RequestId(self):
|
14962
|
+
return self._RequestId
|
14963
|
+
|
14964
|
+
@RequestId.setter
|
14965
|
+
def RequestId(self, RequestId):
|
14966
|
+
self._RequestId = RequestId
|
14967
|
+
|
14968
|
+
|
14969
|
+
def _deserialize(self, params):
|
14970
|
+
if params.get("TasksOverview") is not None:
|
14971
|
+
self._TasksOverview = TasksOverview()
|
14972
|
+
self._TasksOverview._deserialize(params.get("TasksOverview"))
|
14973
|
+
self._RequestId = params.get("RequestId")
|
14974
|
+
|
14975
|
+
|
14931
14976
|
class DescribeTasksRequest(AbstractModel):
|
14932
14977
|
"""DescribeTasks请求参数结构体
|
14933
14978
|
|