tencentcloud-sdk-python 3.0.1446__py2.py3-none-any.whl → 3.0.1448__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +30 -6
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +21 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +110 -26
- tencentcloud/common/abstract_client.py +14 -12
- tencentcloud/common/credential.py +61 -26
- tencentcloud/csip/v20221121/models.py +4 -4
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cwp/v20180228/models.py +53 -14
- tencentcloud/cynosdb/v20190107/models.py +6 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/errorcodes.py +12 -0
- tencentcloud/dlc/v20210125/models.py +30 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +496 -22
- tencentcloud/essbasic/v20210526/models.py +10 -16
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +934 -17
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +465 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +122 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +19 -0
- tencentcloud/mps/v20190612/models.py +174 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +880 -22
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +7 -23
- tencentcloud/organization/v20210331/models.py +393 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/partners/v20180321/models.py +16 -12
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +315 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
- tencentcloud/tione/v20211111/models.py +333 -10
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +32 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +10 -12
- tencentcloud/vclm/v20240523/models.py +15 -0
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/RECORD +71 -71
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -529,7 +529,7 @@ class AutoscalingClient(AbstractClient):
|
|
|
529
529
|
|
|
530
530
|
|
|
531
531
|
def DescribeAutoScalingActivities(self, request):
|
|
532
|
-
"""本接口(DescribeAutoScalingActivities
|
|
532
|
+
"""本接口(DescribeAutoScalingActivities)用于查询伸缩组的伸缩活动记录。当前仅保存近两年的伸缩活动。
|
|
533
533
|
|
|
534
534
|
:param request: Request instance for DescribeAutoScalingActivities.
|
|
535
535
|
:type request: :class:`tencentcloud.autoscaling.v20180419.models.DescribeAutoScalingActivitiesRequest`
|
|
@@ -4648,7 +4648,7 @@ class DescribeAutoScalingActivitiesRequest(AbstractModel):
|
|
|
4648
4648
|
:type Limit: int
|
|
4649
4649
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
4650
4650
|
:type Offset: int
|
|
4651
|
-
:param _StartTime: 伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ
|
|
4651
|
+
:param _StartTime: 伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。注意:当前仅保存近两年的伸缩活动。
|
|
4652
4652
|
:type StartTime: str
|
|
4653
4653
|
:param _EndTime: 伸缩活动最晚的结束时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。
|
|
4654
4654
|
:type EndTime: str
|
|
@@ -4709,7 +4709,7 @@ class DescribeAutoScalingActivitiesRequest(AbstractModel):
|
|
|
4709
4709
|
|
|
4710
4710
|
@property
|
|
4711
4711
|
def StartTime(self):
|
|
4712
|
-
"""伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ
|
|
4712
|
+
"""伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。注意:当前仅保存近两年的伸缩活动。
|
|
4713
4713
|
:rtype: str
|
|
4714
4714
|
"""
|
|
4715
4715
|
return self._StartTime
|
|
@@ -49,6 +49,29 @@ class BiClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def ClearEmbedToken(self, request):
|
|
53
|
+
"""强鉴权token 清理,只有企业管理员才能调用该接口
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for ClearEmbedToken.
|
|
56
|
+
:type request: :class:`tencentcloud.bi.v20220105.models.ClearEmbedTokenRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.bi.v20220105.models.ClearEmbedTokenResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("ClearEmbedToken", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.ClearEmbedTokenResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
52
75
|
def CreateDatasource(self, request):
|
|
53
76
|
"""创建数据源
|
|
54
77
|
|
|
@@ -481,6 +481,185 @@ class BaseStateAction(AbstractModel):
|
|
|
481
481
|
|
|
482
482
|
|
|
483
483
|
|
|
484
|
+
class ClearEmbedTokenRequest(AbstractModel):
|
|
485
|
+
"""ClearEmbedToken请求参数结构体
|
|
486
|
+
|
|
487
|
+
"""
|
|
488
|
+
|
|
489
|
+
def __init__(self):
|
|
490
|
+
r"""
|
|
491
|
+
:param _ProjectId: 项目id
|
|
492
|
+
:type ProjectId: str
|
|
493
|
+
:param _UserCorpId: 主账号id
|
|
494
|
+
:type UserCorpId: str
|
|
495
|
+
:param _Scope: panel , page
|
|
496
|
+
:type Scope: str
|
|
497
|
+
:param _PageId: page id
|
|
498
|
+
:type PageId: str
|
|
499
|
+
"""
|
|
500
|
+
self._ProjectId = None
|
|
501
|
+
self._UserCorpId = None
|
|
502
|
+
self._Scope = None
|
|
503
|
+
self._PageId = None
|
|
504
|
+
|
|
505
|
+
@property
|
|
506
|
+
def ProjectId(self):
|
|
507
|
+
"""项目id
|
|
508
|
+
:rtype: str
|
|
509
|
+
"""
|
|
510
|
+
return self._ProjectId
|
|
511
|
+
|
|
512
|
+
@ProjectId.setter
|
|
513
|
+
def ProjectId(self, ProjectId):
|
|
514
|
+
self._ProjectId = ProjectId
|
|
515
|
+
|
|
516
|
+
@property
|
|
517
|
+
def UserCorpId(self):
|
|
518
|
+
"""主账号id
|
|
519
|
+
:rtype: str
|
|
520
|
+
"""
|
|
521
|
+
return self._UserCorpId
|
|
522
|
+
|
|
523
|
+
@UserCorpId.setter
|
|
524
|
+
def UserCorpId(self, UserCorpId):
|
|
525
|
+
self._UserCorpId = UserCorpId
|
|
526
|
+
|
|
527
|
+
@property
|
|
528
|
+
def Scope(self):
|
|
529
|
+
"""panel , page
|
|
530
|
+
:rtype: str
|
|
531
|
+
"""
|
|
532
|
+
return self._Scope
|
|
533
|
+
|
|
534
|
+
@Scope.setter
|
|
535
|
+
def Scope(self, Scope):
|
|
536
|
+
self._Scope = Scope
|
|
537
|
+
|
|
538
|
+
@property
|
|
539
|
+
def PageId(self):
|
|
540
|
+
"""page id
|
|
541
|
+
:rtype: str
|
|
542
|
+
"""
|
|
543
|
+
return self._PageId
|
|
544
|
+
|
|
545
|
+
@PageId.setter
|
|
546
|
+
def PageId(self, PageId):
|
|
547
|
+
self._PageId = PageId
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
def _deserialize(self, params):
|
|
551
|
+
self._ProjectId = params.get("ProjectId")
|
|
552
|
+
self._UserCorpId = params.get("UserCorpId")
|
|
553
|
+
self._Scope = params.get("Scope")
|
|
554
|
+
self._PageId = params.get("PageId")
|
|
555
|
+
memeber_set = set(params.keys())
|
|
556
|
+
for name, value in vars(self).items():
|
|
557
|
+
property_name = name[1:]
|
|
558
|
+
if property_name in memeber_set:
|
|
559
|
+
memeber_set.remove(property_name)
|
|
560
|
+
if len(memeber_set) > 0:
|
|
561
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
class ClearEmbedTokenResponse(AbstractModel):
|
|
566
|
+
"""ClearEmbedToken返回参数结构体
|
|
567
|
+
|
|
568
|
+
"""
|
|
569
|
+
|
|
570
|
+
def __init__(self):
|
|
571
|
+
r"""
|
|
572
|
+
:param _ErrorInfo: 自定义错误信息对象
|
|
573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
574
|
+
:type ErrorInfo: :class:`tencentcloud.bi.v20220105.models.ErrorInfo`
|
|
575
|
+
:param _Extra: 额外消息
|
|
576
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
577
|
+
:type Extra: str
|
|
578
|
+
:param _Msg: 提示消息
|
|
579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
580
|
+
:type Msg: str
|
|
581
|
+
:param _Data: 结果
|
|
582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
583
|
+
:type Data: bool
|
|
584
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
585
|
+
:type RequestId: str
|
|
586
|
+
"""
|
|
587
|
+
self._ErrorInfo = None
|
|
588
|
+
self._Extra = None
|
|
589
|
+
self._Msg = None
|
|
590
|
+
self._Data = None
|
|
591
|
+
self._RequestId = None
|
|
592
|
+
|
|
593
|
+
@property
|
|
594
|
+
def ErrorInfo(self):
|
|
595
|
+
"""自定义错误信息对象
|
|
596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
597
|
+
:rtype: :class:`tencentcloud.bi.v20220105.models.ErrorInfo`
|
|
598
|
+
"""
|
|
599
|
+
return self._ErrorInfo
|
|
600
|
+
|
|
601
|
+
@ErrorInfo.setter
|
|
602
|
+
def ErrorInfo(self, ErrorInfo):
|
|
603
|
+
self._ErrorInfo = ErrorInfo
|
|
604
|
+
|
|
605
|
+
@property
|
|
606
|
+
def Extra(self):
|
|
607
|
+
"""额外消息
|
|
608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
609
|
+
:rtype: str
|
|
610
|
+
"""
|
|
611
|
+
return self._Extra
|
|
612
|
+
|
|
613
|
+
@Extra.setter
|
|
614
|
+
def Extra(self, Extra):
|
|
615
|
+
self._Extra = Extra
|
|
616
|
+
|
|
617
|
+
@property
|
|
618
|
+
def Msg(self):
|
|
619
|
+
"""提示消息
|
|
620
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
621
|
+
:rtype: str
|
|
622
|
+
"""
|
|
623
|
+
return self._Msg
|
|
624
|
+
|
|
625
|
+
@Msg.setter
|
|
626
|
+
def Msg(self, Msg):
|
|
627
|
+
self._Msg = Msg
|
|
628
|
+
|
|
629
|
+
@property
|
|
630
|
+
def Data(self):
|
|
631
|
+
"""结果
|
|
632
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
633
|
+
:rtype: bool
|
|
634
|
+
"""
|
|
635
|
+
return self._Data
|
|
636
|
+
|
|
637
|
+
@Data.setter
|
|
638
|
+
def Data(self, Data):
|
|
639
|
+
self._Data = Data
|
|
640
|
+
|
|
641
|
+
@property
|
|
642
|
+
def RequestId(self):
|
|
643
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
644
|
+
:rtype: str
|
|
645
|
+
"""
|
|
646
|
+
return self._RequestId
|
|
647
|
+
|
|
648
|
+
@RequestId.setter
|
|
649
|
+
def RequestId(self, RequestId):
|
|
650
|
+
self._RequestId = RequestId
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
def _deserialize(self, params):
|
|
654
|
+
if params.get("ErrorInfo") is not None:
|
|
655
|
+
self._ErrorInfo = ErrorInfo()
|
|
656
|
+
self._ErrorInfo._deserialize(params.get("ErrorInfo"))
|
|
657
|
+
self._Extra = params.get("Extra")
|
|
658
|
+
self._Msg = params.get("Msg")
|
|
659
|
+
self._Data = params.get("Data")
|
|
660
|
+
self._RequestId = params.get("RequestId")
|
|
661
|
+
|
|
662
|
+
|
|
484
663
|
class CorpUserListData(AbstractModel):
|
|
485
664
|
"""企业用户列表
|
|
486
665
|
|
|
@@ -3859,7 +3859,7 @@ class CdbClient(AbstractClient):
|
|
|
3859
3859
|
|
|
3860
3860
|
|
|
3861
3861
|
def StopRollback(self, request):
|
|
3862
|
-
"""
|
|
3862
|
+
"""本接口(StopRollback)用于撤销实例正在进行的回档任务,该接口返回一个异步任务 ID。撤销结果可以通过 [DescribeAsyncRequestInfo](https://cloud.tencent.com/document/api/236/20410) 查询任务的执行情况。
|
|
3863
3863
|
|
|
3864
3864
|
:param request: Request instance for StopRollback.
|
|
3865
3865
|
:type request: :class:`tencentcloud.cdb.v20170320.models.StopRollbackRequest`
|
|
@@ -20575,12 +20575,15 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20575
20575
|
:type CustomConf: :class:`tencentcloud.cdb.v20170320.models.CustomConfig`
|
|
20576
20576
|
:param _WeightRule: 权重限制
|
|
20577
20577
|
:type WeightRule: :class:`tencentcloud.cdb.v20170320.models.Rule`
|
|
20578
|
+
:param _CustomConfInfo: 代理配置
|
|
20579
|
+
:type CustomConfInfo: list of CustomConfig
|
|
20578
20580
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20579
20581
|
:type RequestId: str
|
|
20580
20582
|
"""
|
|
20581
20583
|
self._Count = None
|
|
20582
20584
|
self._CustomConf = None
|
|
20583
20585
|
self._WeightRule = None
|
|
20586
|
+
self._CustomConfInfo = None
|
|
20584
20587
|
self._RequestId = None
|
|
20585
20588
|
|
|
20586
20589
|
@property
|
|
@@ -20596,6 +20599,8 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20596
20599
|
|
|
20597
20600
|
@property
|
|
20598
20601
|
def CustomConf(self):
|
|
20602
|
+
warnings.warn("parameter `CustomConf` is deprecated", DeprecationWarning)
|
|
20603
|
+
|
|
20599
20604
|
"""代理配置
|
|
20600
20605
|
:rtype: :class:`tencentcloud.cdb.v20170320.models.CustomConfig`
|
|
20601
20606
|
"""
|
|
@@ -20603,6 +20608,8 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20603
20608
|
|
|
20604
20609
|
@CustomConf.setter
|
|
20605
20610
|
def CustomConf(self, CustomConf):
|
|
20611
|
+
warnings.warn("parameter `CustomConf` is deprecated", DeprecationWarning)
|
|
20612
|
+
|
|
20606
20613
|
self._CustomConf = CustomConf
|
|
20607
20614
|
|
|
20608
20615
|
@property
|
|
@@ -20616,6 +20623,17 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20616
20623
|
def WeightRule(self, WeightRule):
|
|
20617
20624
|
self._WeightRule = WeightRule
|
|
20618
20625
|
|
|
20626
|
+
@property
|
|
20627
|
+
def CustomConfInfo(self):
|
|
20628
|
+
"""代理配置
|
|
20629
|
+
:rtype: list of CustomConfig
|
|
20630
|
+
"""
|
|
20631
|
+
return self._CustomConfInfo
|
|
20632
|
+
|
|
20633
|
+
@CustomConfInfo.setter
|
|
20634
|
+
def CustomConfInfo(self, CustomConfInfo):
|
|
20635
|
+
self._CustomConfInfo = CustomConfInfo
|
|
20636
|
+
|
|
20619
20637
|
@property
|
|
20620
20638
|
def RequestId(self):
|
|
20621
20639
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20636,6 +20654,12 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20636
20654
|
if params.get("WeightRule") is not None:
|
|
20637
20655
|
self._WeightRule = Rule()
|
|
20638
20656
|
self._WeightRule._deserialize(params.get("WeightRule"))
|
|
20657
|
+
if params.get("CustomConfInfo") is not None:
|
|
20658
|
+
self._CustomConfInfo = []
|
|
20659
|
+
for item in params.get("CustomConfInfo"):
|
|
20660
|
+
obj = CustomConfig()
|
|
20661
|
+
obj._deserialize(item)
|
|
20662
|
+
self._CustomConfInfo.append(obj)
|
|
20639
20663
|
self._RequestId = params.get("RequestId")
|
|
20640
20664
|
|
|
20641
20665
|
|
|
@@ -25809,7 +25833,7 @@ class InstanceRollbackRangeTime(AbstractModel):
|
|
|
25809
25833
|
|
|
25810
25834
|
def __init__(self):
|
|
25811
25835
|
r"""
|
|
25812
|
-
:param _Code:
|
|
25836
|
+
:param _Code: 查询数据库错误码。0 - 正常,1600001 - 内部错误,1600003 - 入参异常,1600009 - 实例不存在,1624001 - DB 访问异常。
|
|
25813
25837
|
:type Code: int
|
|
25814
25838
|
:param _Message: 查询数据库错误信息
|
|
25815
25839
|
:type Message: str
|
|
@@ -25825,7 +25849,7 @@ class InstanceRollbackRangeTime(AbstractModel):
|
|
|
25825
25849
|
|
|
25826
25850
|
@property
|
|
25827
25851
|
def Code(self):
|
|
25828
|
-
"""
|
|
25852
|
+
"""查询数据库错误码。0 - 正常,1600001 - 内部错误,1600003 - 入参异常,1600009 - 实例不存在,1624001 - DB 访问异常。
|
|
25829
25853
|
:rtype: int
|
|
25830
25854
|
"""
|
|
25831
25855
|
return self._Code
|
|
@@ -37082,14 +37106,14 @@ class StopRollbackRequest(AbstractModel):
|
|
|
37082
37106
|
|
|
37083
37107
|
def __init__(self):
|
|
37084
37108
|
r"""
|
|
37085
|
-
:param _InstanceId: 撤销回档任务对应的实例
|
|
37109
|
+
:param _InstanceId: 撤销回档任务对应的实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/api/236/15872) 接口获取。
|
|
37086
37110
|
:type InstanceId: str
|
|
37087
37111
|
"""
|
|
37088
37112
|
self._InstanceId = None
|
|
37089
37113
|
|
|
37090
37114
|
@property
|
|
37091
37115
|
def InstanceId(self):
|
|
37092
|
-
"""撤销回档任务对应的实例
|
|
37116
|
+
"""撤销回档任务对应的实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/api/236/15872) 接口获取。
|
|
37093
37117
|
:rtype: str
|
|
37094
37118
|
"""
|
|
37095
37119
|
return self._InstanceId
|
|
@@ -37118,7 +37142,7 @@ class StopRollbackResponse(AbstractModel):
|
|
|
37118
37142
|
|
|
37119
37143
|
def __init__(self):
|
|
37120
37144
|
r"""
|
|
37121
|
-
:param _AsyncRequestId: 执行请求的异步任务ID
|
|
37145
|
+
:param _AsyncRequestId: 执行请求的异步任务 ID。
|
|
37122
37146
|
:type AsyncRequestId: str
|
|
37123
37147
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
37124
37148
|
:type RequestId: str
|
|
@@ -37128,7 +37152,7 @@ class StopRollbackResponse(AbstractModel):
|
|
|
37128
37152
|
|
|
37129
37153
|
@property
|
|
37130
37154
|
def AsyncRequestId(self):
|
|
37131
|
-
"""执行请求的异步任务ID
|
|
37155
|
+
"""执行请求的异步任务 ID。
|
|
37132
37156
|
:rtype: str
|
|
37133
37157
|
"""
|
|
37134
37158
|
return self._AsyncRequestId
|
|
@@ -277,6 +277,8 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
277
277
|
:type ErrorReason: str
|
|
278
278
|
:param _SnapshotRemainPolicy: 快照保留策略
|
|
279
279
|
:type SnapshotRemainPolicy: :class:`tencentcloud.cdwdoris.v20211228.models.SnapshotRemainPolicy`
|
|
280
|
+
:param _IsolationCount: 隔离次数
|
|
281
|
+
:type IsolationCount: int
|
|
280
282
|
"""
|
|
281
283
|
self._JobId = None
|
|
282
284
|
self._Snapshot = None
|
|
@@ -293,6 +295,7 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
293
295
|
self._IsUserDefineBucket = None
|
|
294
296
|
self._ErrorReason = None
|
|
295
297
|
self._SnapshotRemainPolicy = None
|
|
298
|
+
self._IsolationCount = None
|
|
296
299
|
|
|
297
300
|
@property
|
|
298
301
|
def JobId(self):
|
|
@@ -459,6 +462,17 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
459
462
|
def SnapshotRemainPolicy(self, SnapshotRemainPolicy):
|
|
460
463
|
self._SnapshotRemainPolicy = SnapshotRemainPolicy
|
|
461
464
|
|
|
465
|
+
@property
|
|
466
|
+
def IsolationCount(self):
|
|
467
|
+
"""隔离次数
|
|
468
|
+
:rtype: int
|
|
469
|
+
"""
|
|
470
|
+
return self._IsolationCount
|
|
471
|
+
|
|
472
|
+
@IsolationCount.setter
|
|
473
|
+
def IsolationCount(self, IsolationCount):
|
|
474
|
+
self._IsolationCount = IsolationCount
|
|
475
|
+
|
|
462
476
|
|
|
463
477
|
def _deserialize(self, params):
|
|
464
478
|
self._JobId = params.get("JobId")
|
|
@@ -482,6 +496,7 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
482
496
|
if params.get("SnapshotRemainPolicy") is not None:
|
|
483
497
|
self._SnapshotRemainPolicy = SnapshotRemainPolicy()
|
|
484
498
|
self._SnapshotRemainPolicy._deserialize(params.get("SnapshotRemainPolicy"))
|
|
499
|
+
self._IsolationCount = params.get("IsolationCount")
|
|
485
500
|
memeber_set = set(params.keys())
|
|
486
501
|
for name, value in vars(self).items():
|
|
487
502
|
property_name = name[1:]
|
|
@@ -3400,10 +3415,13 @@ class DeleteBackUpDataRequest(AbstractModel):
|
|
|
3400
3415
|
:type BackUpJobId: int
|
|
3401
3416
|
:param _IsDeleteAll: 是否删除所有实例
|
|
3402
3417
|
:type IsDeleteAll: bool
|
|
3418
|
+
:param _IsRecover: true代表恢复删除隔离中的job 默认false就是删除
|
|
3419
|
+
:type IsRecover: bool
|
|
3403
3420
|
"""
|
|
3404
3421
|
self._InstanceId = None
|
|
3405
3422
|
self._BackUpJobId = None
|
|
3406
3423
|
self._IsDeleteAll = None
|
|
3424
|
+
self._IsRecover = None
|
|
3407
3425
|
|
|
3408
3426
|
@property
|
|
3409
3427
|
def InstanceId(self):
|
|
@@ -3438,11 +3456,23 @@ class DeleteBackUpDataRequest(AbstractModel):
|
|
|
3438
3456
|
def IsDeleteAll(self, IsDeleteAll):
|
|
3439
3457
|
self._IsDeleteAll = IsDeleteAll
|
|
3440
3458
|
|
|
3459
|
+
@property
|
|
3460
|
+
def IsRecover(self):
|
|
3461
|
+
"""true代表恢复删除隔离中的job 默认false就是删除
|
|
3462
|
+
:rtype: bool
|
|
3463
|
+
"""
|
|
3464
|
+
return self._IsRecover
|
|
3465
|
+
|
|
3466
|
+
@IsRecover.setter
|
|
3467
|
+
def IsRecover(self, IsRecover):
|
|
3468
|
+
self._IsRecover = IsRecover
|
|
3469
|
+
|
|
3441
3470
|
|
|
3442
3471
|
def _deserialize(self, params):
|
|
3443
3472
|
self._InstanceId = params.get("InstanceId")
|
|
3444
3473
|
self._BackUpJobId = params.get("BackUpJobId")
|
|
3445
3474
|
self._IsDeleteAll = params.get("IsDeleteAll")
|
|
3475
|
+
self._IsRecover = params.get("IsRecover")
|
|
3446
3476
|
memeber_set = set(params.keys())
|
|
3447
3477
|
for name, value in vars(self).items():
|
|
3448
3478
|
property_name = name[1:]
|
|
@@ -3460,11 +3490,25 @@ class DeleteBackUpDataResponse(AbstractModel):
|
|
|
3460
3490
|
|
|
3461
3491
|
def __init__(self):
|
|
3462
3492
|
r"""
|
|
3493
|
+
:param _ErrorMsg: 错误信息
|
|
3494
|
+
:type ErrorMsg: str
|
|
3463
3495
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3464
3496
|
:type RequestId: str
|
|
3465
3497
|
"""
|
|
3498
|
+
self._ErrorMsg = None
|
|
3466
3499
|
self._RequestId = None
|
|
3467
3500
|
|
|
3501
|
+
@property
|
|
3502
|
+
def ErrorMsg(self):
|
|
3503
|
+
"""错误信息
|
|
3504
|
+
:rtype: str
|
|
3505
|
+
"""
|
|
3506
|
+
return self._ErrorMsg
|
|
3507
|
+
|
|
3508
|
+
@ErrorMsg.setter
|
|
3509
|
+
def ErrorMsg(self, ErrorMsg):
|
|
3510
|
+
self._ErrorMsg = ErrorMsg
|
|
3511
|
+
|
|
3468
3512
|
@property
|
|
3469
3513
|
def RequestId(self):
|
|
3470
3514
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3478,6 +3522,7 @@ class DeleteBackUpDataResponse(AbstractModel):
|
|
|
3478
3522
|
|
|
3479
3523
|
|
|
3480
3524
|
def _deserialize(self, params):
|
|
3525
|
+
self._ErrorMsg = params.get("ErrorMsg")
|
|
3481
3526
|
self._RequestId = params.get("RequestId")
|
|
3482
3527
|
|
|
3483
3528
|
|
|
@@ -6235,17 +6235,22 @@ class DoDirectoryOperationRequest(AbstractModel):
|
|
|
6235
6235
|
r"""
|
|
6236
6236
|
:param _FileSystemId: 文件系统Id
|
|
6237
6237
|
:type FileSystemId: str
|
|
6238
|
-
:param _OpetationType: create
|
|
6238
|
+
:param _OpetationType: create:创建目录,等同于mkdir。
|
|
6239
|
+
check:确认目录是否存在,等同于stat。
|
|
6240
|
+
move:对文件/目录进行重命名,等同于mv。
|
|
6239
6241
|
:type OpetationType: str
|
|
6240
6242
|
:param _DirectoryPath: 目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
|
|
6241
6243
|
:type DirectoryPath: str
|
|
6242
6244
|
:param _Mode: 创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
|
|
6243
6245
|
:type Mode: str
|
|
6246
|
+
:param _DestPath: mv操作的目标目录名称;如果是turbo文件系统必须以/cfs/开头
|
|
6247
|
+
:type DestPath: str
|
|
6244
6248
|
"""
|
|
6245
6249
|
self._FileSystemId = None
|
|
6246
6250
|
self._OpetationType = None
|
|
6247
6251
|
self._DirectoryPath = None
|
|
6248
6252
|
self._Mode = None
|
|
6253
|
+
self._DestPath = None
|
|
6249
6254
|
|
|
6250
6255
|
@property
|
|
6251
6256
|
def FileSystemId(self):
|
|
@@ -6260,7 +6265,9 @@ class DoDirectoryOperationRequest(AbstractModel):
|
|
|
6260
6265
|
|
|
6261
6266
|
@property
|
|
6262
6267
|
def OpetationType(self):
|
|
6263
|
-
"""create
|
|
6268
|
+
"""create:创建目录,等同于mkdir。
|
|
6269
|
+
check:确认目录是否存在,等同于stat。
|
|
6270
|
+
move:对文件/目录进行重命名,等同于mv。
|
|
6264
6271
|
:rtype: str
|
|
6265
6272
|
"""
|
|
6266
6273
|
return self._OpetationType
|
|
@@ -6291,12 +6298,24 @@ class DoDirectoryOperationRequest(AbstractModel):
|
|
|
6291
6298
|
def Mode(self, Mode):
|
|
6292
6299
|
self._Mode = Mode
|
|
6293
6300
|
|
|
6301
|
+
@property
|
|
6302
|
+
def DestPath(self):
|
|
6303
|
+
"""mv操作的目标目录名称;如果是turbo文件系统必须以/cfs/开头
|
|
6304
|
+
:rtype: str
|
|
6305
|
+
"""
|
|
6306
|
+
return self._DestPath
|
|
6307
|
+
|
|
6308
|
+
@DestPath.setter
|
|
6309
|
+
def DestPath(self, DestPath):
|
|
6310
|
+
self._DestPath = DestPath
|
|
6311
|
+
|
|
6294
6312
|
|
|
6295
6313
|
def _deserialize(self, params):
|
|
6296
6314
|
self._FileSystemId = params.get("FileSystemId")
|
|
6297
6315
|
self._OpetationType = params.get("OpetationType")
|
|
6298
6316
|
self._DirectoryPath = params.get("DirectoryPath")
|
|
6299
6317
|
self._Mode = params.get("Mode")
|
|
6318
|
+
self._DestPath = params.get("DestPath")
|
|
6300
6319
|
memeber_set = set(params.keys())
|
|
6301
6320
|
for name, value in vars(self).items():
|
|
6302
6321
|
property_name = name[1:]
|
|
@@ -14014,6 +14014,8 @@ ToaClean: TOA(TCP Option Address)清理,清除TCP选项中的地址信息
|
|
|
14014
14014
|
:type Exclusive: int
|
|
14015
14015
|
:param _TargetCount: 已绑定的后端服务数量。
|
|
14016
14016
|
:type TargetCount: int
|
|
14017
|
+
:param _AssociateEndpoint: 负载均衡实例关联的Endpoint id。
|
|
14018
|
+
:type AssociateEndpoint: str
|
|
14017
14019
|
"""
|
|
14018
14020
|
self._LoadBalancerId = None
|
|
14019
14021
|
self._LoadBalancerName = None
|
|
@@ -14072,6 +14074,7 @@ ToaClean: TOA(TCP Option Address)清理,清除TCP选项中的地址信息
|
|
|
14072
14074
|
self._Egress = None
|
|
14073
14075
|
self._Exclusive = None
|
|
14074
14076
|
self._TargetCount = None
|
|
14077
|
+
self._AssociateEndpoint = None
|
|
14075
14078
|
|
|
14076
14079
|
@property
|
|
14077
14080
|
def LoadBalancerId(self):
|
|
@@ -14757,6 +14760,17 @@ ToaClean: TOA(TCP Option Address)清理,清除TCP选项中的地址信息
|
|
|
14757
14760
|
def TargetCount(self, TargetCount):
|
|
14758
14761
|
self._TargetCount = TargetCount
|
|
14759
14762
|
|
|
14763
|
+
@property
|
|
14764
|
+
def AssociateEndpoint(self):
|
|
14765
|
+
"""负载均衡实例关联的Endpoint id。
|
|
14766
|
+
:rtype: str
|
|
14767
|
+
"""
|
|
14768
|
+
return self._AssociateEndpoint
|
|
14769
|
+
|
|
14770
|
+
@AssociateEndpoint.setter
|
|
14771
|
+
def AssociateEndpoint(self, AssociateEndpoint):
|
|
14772
|
+
self._AssociateEndpoint = AssociateEndpoint
|
|
14773
|
+
|
|
14760
14774
|
|
|
14761
14775
|
def _deserialize(self, params):
|
|
14762
14776
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
|
@@ -14843,6 +14857,7 @@ ToaClean: TOA(TCP Option Address)清理,清除TCP选项中的地址信息
|
|
|
14843
14857
|
self._Egress = params.get("Egress")
|
|
14844
14858
|
self._Exclusive = params.get("Exclusive")
|
|
14845
14859
|
self._TargetCount = params.get("TargetCount")
|
|
14860
|
+
self._AssociateEndpoint = params.get("AssociateEndpoint")
|
|
14846
14861
|
memeber_set = set(params.keys())
|
|
14847
14862
|
for name, value in vars(self).items():
|
|
14848
14863
|
property_name = name[1:]
|
|
@@ -17099,6 +17114,8 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17099
17114
|
:type DeleteProtect: bool
|
|
17100
17115
|
:param _ModifyClassicDomain: 将负载均衡二级域名由mycloud.com改为tencentclb.com,子域名也会变换,修改后mycloud.com域名将失效。不填则不修改。
|
|
17101
17116
|
:type ModifyClassicDomain: bool
|
|
17117
|
+
:param _AssociateEndpoint: 关联的终端节点Id,可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)接口查询。传空字符串代表解除关联。
|
|
17118
|
+
:type AssociateEndpoint: str
|
|
17102
17119
|
"""
|
|
17103
17120
|
self._LoadBalancerId = None
|
|
17104
17121
|
self._LoadBalancerName = None
|
|
@@ -17108,6 +17125,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17108
17125
|
self._SnatPro = None
|
|
17109
17126
|
self._DeleteProtect = None
|
|
17110
17127
|
self._ModifyClassicDomain = None
|
|
17128
|
+
self._AssociateEndpoint = None
|
|
17111
17129
|
|
|
17112
17130
|
@property
|
|
17113
17131
|
def LoadBalancerId(self):
|
|
@@ -17200,6 +17218,17 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17200
17218
|
def ModifyClassicDomain(self, ModifyClassicDomain):
|
|
17201
17219
|
self._ModifyClassicDomain = ModifyClassicDomain
|
|
17202
17220
|
|
|
17221
|
+
@property
|
|
17222
|
+
def AssociateEndpoint(self):
|
|
17223
|
+
"""关联的终端节点Id,可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)接口查询。传空字符串代表解除关联。
|
|
17224
|
+
:rtype: str
|
|
17225
|
+
"""
|
|
17226
|
+
return self._AssociateEndpoint
|
|
17227
|
+
|
|
17228
|
+
@AssociateEndpoint.setter
|
|
17229
|
+
def AssociateEndpoint(self, AssociateEndpoint):
|
|
17230
|
+
self._AssociateEndpoint = AssociateEndpoint
|
|
17231
|
+
|
|
17203
17232
|
|
|
17204
17233
|
def _deserialize(self, params):
|
|
17205
17234
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
|
@@ -17214,6 +17243,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17214
17243
|
self._SnatPro = params.get("SnatPro")
|
|
17215
17244
|
self._DeleteProtect = params.get("DeleteProtect")
|
|
17216
17245
|
self._ModifyClassicDomain = params.get("ModifyClassicDomain")
|
|
17246
|
+
self._AssociateEndpoint = params.get("AssociateEndpoint")
|
|
17217
17247
|
memeber_set = set(params.keys())
|
|
17218
17248
|
for name, value in vars(self).items():
|
|
17219
17249
|
property_name = name[1:]
|