tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -611,6 +611,339 @@ class BackupPeriod(AbstractModel):
|
|
|
611
611
|
|
|
612
612
|
|
|
613
613
|
|
|
614
|
+
class BackupPlanInfo(AbstractModel):
|
|
615
|
+
r"""备份计划信息
|
|
616
|
+
|
|
617
|
+
"""
|
|
618
|
+
|
|
619
|
+
def __init__(self):
|
|
620
|
+
r"""
|
|
621
|
+
:param _Region: 地域信息。
|
|
622
|
+
:type Region: str
|
|
623
|
+
:param _BackupPlanId: 备份计划 ID。
|
|
624
|
+
:type BackupPlanId: str
|
|
625
|
+
:param _BackupPlanName: 备份计划名称。
|
|
626
|
+
:type BackupPlanName: str
|
|
627
|
+
:param _Status: 备份计划状态。可能的取值为:
|
|
628
|
+
"notStarted" - 未启动;
|
|
629
|
+
"checking" - 校验中;
|
|
630
|
+
"checkPass" - 校验通过;
|
|
631
|
+
"checkNotPass" - 校验未通过;
|
|
632
|
+
"running" - 运行中;
|
|
633
|
+
"fullBacking" - 全量备份中;
|
|
634
|
+
"isolating" - 隔离中;
|
|
635
|
+
"isolated" - 已隔离;
|
|
636
|
+
"offlining" - 下线中;
|
|
637
|
+
"offlined" - 已下线;
|
|
638
|
+
"paused" - 已暂停。
|
|
639
|
+
:type Status: str
|
|
640
|
+
:param _DatabaseType: 数据库类型。
|
|
641
|
+
:type DatabaseType: str
|
|
642
|
+
:param _AccessType: 访问类型。可能的取值为:
|
|
643
|
+
"extranet" - 外网;
|
|
644
|
+
"cvm" - cvm 自建实例;
|
|
645
|
+
"dcg" - 专线接入;
|
|
646
|
+
"vpncloud" - 云vpn接入;
|
|
647
|
+
"cdb" - 腾讯云数据库实例;
|
|
648
|
+
"ccn" - 云联网。
|
|
649
|
+
:type AccessType: str
|
|
650
|
+
:param _SourceInfo: 源实例信息。
|
|
651
|
+
:type SourceInfo: list of str
|
|
652
|
+
:param _CreateTime: 创建时间。
|
|
653
|
+
:type CreateTime: str
|
|
654
|
+
:param _ExpireTime: 到期时间。
|
|
655
|
+
:type ExpireTime: str
|
|
656
|
+
:param _OfflineTime: 下线时间。
|
|
657
|
+
:type OfflineTime: str
|
|
658
|
+
:param _InstanceClass: 实例规格类型。可能的取值为:["micro", "small", "medium", "large", "xlarge"]。
|
|
659
|
+
:type InstanceClass: str
|
|
660
|
+
:param _BackupMethod: 备份方式。可能的取值为:
|
|
661
|
+
"logical" - 逻辑备份;
|
|
662
|
+
"physical" - 物理备份。
|
|
663
|
+
:type BackupMethod: str
|
|
664
|
+
:param _Tags: 标签信息。
|
|
665
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
666
|
+
:type Tags: list of Tag
|
|
667
|
+
:param _AutoRenewFlag: 自动续费标记。可能的取值为:
|
|
668
|
+
0 - 未开启自动续费;
|
|
669
|
+
1 - 已开启自动续费;
|
|
670
|
+
2 - 已关闭自动续费。
|
|
671
|
+
:type AutoRenewFlag: int
|
|
672
|
+
:param _EnableIncrement: 是否开启增量备份标记。
|
|
673
|
+
:type EnableIncrement: bool
|
|
674
|
+
:param _PayType: 付费类型。可能的取值为:
|
|
675
|
+
"prePay" - 预付费类型;
|
|
676
|
+
"postPay" - 后付费类型。
|
|
677
|
+
:type PayType: str
|
|
678
|
+
:param _SetSourceInfo: 源端信息
|
|
679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
680
|
+
:type SetSourceInfo: list of str
|
|
681
|
+
"""
|
|
682
|
+
self._Region = None
|
|
683
|
+
self._BackupPlanId = None
|
|
684
|
+
self._BackupPlanName = None
|
|
685
|
+
self._Status = None
|
|
686
|
+
self._DatabaseType = None
|
|
687
|
+
self._AccessType = None
|
|
688
|
+
self._SourceInfo = None
|
|
689
|
+
self._CreateTime = None
|
|
690
|
+
self._ExpireTime = None
|
|
691
|
+
self._OfflineTime = None
|
|
692
|
+
self._InstanceClass = None
|
|
693
|
+
self._BackupMethod = None
|
|
694
|
+
self._Tags = None
|
|
695
|
+
self._AutoRenewFlag = None
|
|
696
|
+
self._EnableIncrement = None
|
|
697
|
+
self._PayType = None
|
|
698
|
+
self._SetSourceInfo = None
|
|
699
|
+
|
|
700
|
+
@property
|
|
701
|
+
def Region(self):
|
|
702
|
+
r"""地域信息。
|
|
703
|
+
:rtype: str
|
|
704
|
+
"""
|
|
705
|
+
return self._Region
|
|
706
|
+
|
|
707
|
+
@Region.setter
|
|
708
|
+
def Region(self, Region):
|
|
709
|
+
self._Region = Region
|
|
710
|
+
|
|
711
|
+
@property
|
|
712
|
+
def BackupPlanId(self):
|
|
713
|
+
r"""备份计划 ID。
|
|
714
|
+
:rtype: str
|
|
715
|
+
"""
|
|
716
|
+
return self._BackupPlanId
|
|
717
|
+
|
|
718
|
+
@BackupPlanId.setter
|
|
719
|
+
def BackupPlanId(self, BackupPlanId):
|
|
720
|
+
self._BackupPlanId = BackupPlanId
|
|
721
|
+
|
|
722
|
+
@property
|
|
723
|
+
def BackupPlanName(self):
|
|
724
|
+
r"""备份计划名称。
|
|
725
|
+
:rtype: str
|
|
726
|
+
"""
|
|
727
|
+
return self._BackupPlanName
|
|
728
|
+
|
|
729
|
+
@BackupPlanName.setter
|
|
730
|
+
def BackupPlanName(self, BackupPlanName):
|
|
731
|
+
self._BackupPlanName = BackupPlanName
|
|
732
|
+
|
|
733
|
+
@property
|
|
734
|
+
def Status(self):
|
|
735
|
+
r"""备份计划状态。可能的取值为:
|
|
736
|
+
"notStarted" - 未启动;
|
|
737
|
+
"checking" - 校验中;
|
|
738
|
+
"checkPass" - 校验通过;
|
|
739
|
+
"checkNotPass" - 校验未通过;
|
|
740
|
+
"running" - 运行中;
|
|
741
|
+
"fullBacking" - 全量备份中;
|
|
742
|
+
"isolating" - 隔离中;
|
|
743
|
+
"isolated" - 已隔离;
|
|
744
|
+
"offlining" - 下线中;
|
|
745
|
+
"offlined" - 已下线;
|
|
746
|
+
"paused" - 已暂停。
|
|
747
|
+
:rtype: str
|
|
748
|
+
"""
|
|
749
|
+
return self._Status
|
|
750
|
+
|
|
751
|
+
@Status.setter
|
|
752
|
+
def Status(self, Status):
|
|
753
|
+
self._Status = Status
|
|
754
|
+
|
|
755
|
+
@property
|
|
756
|
+
def DatabaseType(self):
|
|
757
|
+
r"""数据库类型。
|
|
758
|
+
:rtype: str
|
|
759
|
+
"""
|
|
760
|
+
return self._DatabaseType
|
|
761
|
+
|
|
762
|
+
@DatabaseType.setter
|
|
763
|
+
def DatabaseType(self, DatabaseType):
|
|
764
|
+
self._DatabaseType = DatabaseType
|
|
765
|
+
|
|
766
|
+
@property
|
|
767
|
+
def AccessType(self):
|
|
768
|
+
r"""访问类型。可能的取值为:
|
|
769
|
+
"extranet" - 外网;
|
|
770
|
+
"cvm" - cvm 自建实例;
|
|
771
|
+
"dcg" - 专线接入;
|
|
772
|
+
"vpncloud" - 云vpn接入;
|
|
773
|
+
"cdb" - 腾讯云数据库实例;
|
|
774
|
+
"ccn" - 云联网。
|
|
775
|
+
:rtype: str
|
|
776
|
+
"""
|
|
777
|
+
return self._AccessType
|
|
778
|
+
|
|
779
|
+
@AccessType.setter
|
|
780
|
+
def AccessType(self, AccessType):
|
|
781
|
+
self._AccessType = AccessType
|
|
782
|
+
|
|
783
|
+
@property
|
|
784
|
+
def SourceInfo(self):
|
|
785
|
+
r"""源实例信息。
|
|
786
|
+
:rtype: list of str
|
|
787
|
+
"""
|
|
788
|
+
return self._SourceInfo
|
|
789
|
+
|
|
790
|
+
@SourceInfo.setter
|
|
791
|
+
def SourceInfo(self, SourceInfo):
|
|
792
|
+
self._SourceInfo = SourceInfo
|
|
793
|
+
|
|
794
|
+
@property
|
|
795
|
+
def CreateTime(self):
|
|
796
|
+
r"""创建时间。
|
|
797
|
+
:rtype: str
|
|
798
|
+
"""
|
|
799
|
+
return self._CreateTime
|
|
800
|
+
|
|
801
|
+
@CreateTime.setter
|
|
802
|
+
def CreateTime(self, CreateTime):
|
|
803
|
+
self._CreateTime = CreateTime
|
|
804
|
+
|
|
805
|
+
@property
|
|
806
|
+
def ExpireTime(self):
|
|
807
|
+
r"""到期时间。
|
|
808
|
+
:rtype: str
|
|
809
|
+
"""
|
|
810
|
+
return self._ExpireTime
|
|
811
|
+
|
|
812
|
+
@ExpireTime.setter
|
|
813
|
+
def ExpireTime(self, ExpireTime):
|
|
814
|
+
self._ExpireTime = ExpireTime
|
|
815
|
+
|
|
816
|
+
@property
|
|
817
|
+
def OfflineTime(self):
|
|
818
|
+
r"""下线时间。
|
|
819
|
+
:rtype: str
|
|
820
|
+
"""
|
|
821
|
+
return self._OfflineTime
|
|
822
|
+
|
|
823
|
+
@OfflineTime.setter
|
|
824
|
+
def OfflineTime(self, OfflineTime):
|
|
825
|
+
self._OfflineTime = OfflineTime
|
|
826
|
+
|
|
827
|
+
@property
|
|
828
|
+
def InstanceClass(self):
|
|
829
|
+
r"""实例规格类型。可能的取值为:["micro", "small", "medium", "large", "xlarge"]。
|
|
830
|
+
:rtype: str
|
|
831
|
+
"""
|
|
832
|
+
return self._InstanceClass
|
|
833
|
+
|
|
834
|
+
@InstanceClass.setter
|
|
835
|
+
def InstanceClass(self, InstanceClass):
|
|
836
|
+
self._InstanceClass = InstanceClass
|
|
837
|
+
|
|
838
|
+
@property
|
|
839
|
+
def BackupMethod(self):
|
|
840
|
+
r"""备份方式。可能的取值为:
|
|
841
|
+
"logical" - 逻辑备份;
|
|
842
|
+
"physical" - 物理备份。
|
|
843
|
+
:rtype: str
|
|
844
|
+
"""
|
|
845
|
+
return self._BackupMethod
|
|
846
|
+
|
|
847
|
+
@BackupMethod.setter
|
|
848
|
+
def BackupMethod(self, BackupMethod):
|
|
849
|
+
self._BackupMethod = BackupMethod
|
|
850
|
+
|
|
851
|
+
@property
|
|
852
|
+
def Tags(self):
|
|
853
|
+
r"""标签信息。
|
|
854
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
855
|
+
:rtype: list of Tag
|
|
856
|
+
"""
|
|
857
|
+
return self._Tags
|
|
858
|
+
|
|
859
|
+
@Tags.setter
|
|
860
|
+
def Tags(self, Tags):
|
|
861
|
+
self._Tags = Tags
|
|
862
|
+
|
|
863
|
+
@property
|
|
864
|
+
def AutoRenewFlag(self):
|
|
865
|
+
r"""自动续费标记。可能的取值为:
|
|
866
|
+
0 - 未开启自动续费;
|
|
867
|
+
1 - 已开启自动续费;
|
|
868
|
+
2 - 已关闭自动续费。
|
|
869
|
+
:rtype: int
|
|
870
|
+
"""
|
|
871
|
+
return self._AutoRenewFlag
|
|
872
|
+
|
|
873
|
+
@AutoRenewFlag.setter
|
|
874
|
+
def AutoRenewFlag(self, AutoRenewFlag):
|
|
875
|
+
self._AutoRenewFlag = AutoRenewFlag
|
|
876
|
+
|
|
877
|
+
@property
|
|
878
|
+
def EnableIncrement(self):
|
|
879
|
+
r"""是否开启增量备份标记。
|
|
880
|
+
:rtype: bool
|
|
881
|
+
"""
|
|
882
|
+
return self._EnableIncrement
|
|
883
|
+
|
|
884
|
+
@EnableIncrement.setter
|
|
885
|
+
def EnableIncrement(self, EnableIncrement):
|
|
886
|
+
self._EnableIncrement = EnableIncrement
|
|
887
|
+
|
|
888
|
+
@property
|
|
889
|
+
def PayType(self):
|
|
890
|
+
r"""付费类型。可能的取值为:
|
|
891
|
+
"prePay" - 预付费类型;
|
|
892
|
+
"postPay" - 后付费类型。
|
|
893
|
+
:rtype: str
|
|
894
|
+
"""
|
|
895
|
+
return self._PayType
|
|
896
|
+
|
|
897
|
+
@PayType.setter
|
|
898
|
+
def PayType(self, PayType):
|
|
899
|
+
self._PayType = PayType
|
|
900
|
+
|
|
901
|
+
@property
|
|
902
|
+
def SetSourceInfo(self):
|
|
903
|
+
r"""源端信息
|
|
904
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
905
|
+
:rtype: list of str
|
|
906
|
+
"""
|
|
907
|
+
return self._SetSourceInfo
|
|
908
|
+
|
|
909
|
+
@SetSourceInfo.setter
|
|
910
|
+
def SetSourceInfo(self, SetSourceInfo):
|
|
911
|
+
self._SetSourceInfo = SetSourceInfo
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
def _deserialize(self, params):
|
|
915
|
+
self._Region = params.get("Region")
|
|
916
|
+
self._BackupPlanId = params.get("BackupPlanId")
|
|
917
|
+
self._BackupPlanName = params.get("BackupPlanName")
|
|
918
|
+
self._Status = params.get("Status")
|
|
919
|
+
self._DatabaseType = params.get("DatabaseType")
|
|
920
|
+
self._AccessType = params.get("AccessType")
|
|
921
|
+
self._SourceInfo = params.get("SourceInfo")
|
|
922
|
+
self._CreateTime = params.get("CreateTime")
|
|
923
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
924
|
+
self._OfflineTime = params.get("OfflineTime")
|
|
925
|
+
self._InstanceClass = params.get("InstanceClass")
|
|
926
|
+
self._BackupMethod = params.get("BackupMethod")
|
|
927
|
+
if params.get("Tags") is not None:
|
|
928
|
+
self._Tags = []
|
|
929
|
+
for item in params.get("Tags"):
|
|
930
|
+
obj = Tag()
|
|
931
|
+
obj._deserialize(item)
|
|
932
|
+
self._Tags.append(obj)
|
|
933
|
+
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
|
934
|
+
self._EnableIncrement = params.get("EnableIncrement")
|
|
935
|
+
self._PayType = params.get("PayType")
|
|
936
|
+
self._SetSourceInfo = params.get("SetSourceInfo")
|
|
937
|
+
memeber_set = set(params.keys())
|
|
938
|
+
for name, value in vars(self).items():
|
|
939
|
+
property_name = name[1:]
|
|
940
|
+
if property_name in memeber_set:
|
|
941
|
+
memeber_set.remove(property_name)
|
|
942
|
+
if len(memeber_set) > 0:
|
|
943
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
|
|
614
947
|
class BackupStrategy(AbstractModel):
|
|
615
948
|
r"""备份策略
|
|
616
949
|
|
|
@@ -816,6 +1149,8 @@ class ConfigureBackupPlanRequest(AbstractModel):
|
|
|
816
1149
|
:type BackupPlanId: str
|
|
817
1150
|
:param _BackupPlanName: 备份计划名称。支持数字、英文大小写字母、中文以及特殊字符_-./()()[]+=::@,且长度不能超过60。
|
|
818
1151
|
:type BackupPlanName: str
|
|
1152
|
+
:param _UpperParallel: 全量备份并发数上限。
|
|
1153
|
+
:type UpperParallel: int
|
|
819
1154
|
:param _SourceEndPoint: 备份源实例信息。
|
|
820
1155
|
:type SourceEndPoint: :class:`tencentcloud.dbs.v20211108.models.BackupEndpoint`
|
|
821
1156
|
:param _BackupObject: 备份对象信息。
|
|
@@ -827,6 +1162,7 @@ class ConfigureBackupPlanRequest(AbstractModel):
|
|
|
827
1162
|
"""
|
|
828
1163
|
self._BackupPlanId = None
|
|
829
1164
|
self._BackupPlanName = None
|
|
1165
|
+
self._UpperParallel = None
|
|
830
1166
|
self._SourceEndPoint = None
|
|
831
1167
|
self._BackupObject = None
|
|
832
1168
|
self._BackupStrategy = None
|
|
@@ -854,6 +1190,17 @@ class ConfigureBackupPlanRequest(AbstractModel):
|
|
|
854
1190
|
def BackupPlanName(self, BackupPlanName):
|
|
855
1191
|
self._BackupPlanName = BackupPlanName
|
|
856
1192
|
|
|
1193
|
+
@property
|
|
1194
|
+
def UpperParallel(self):
|
|
1195
|
+
r"""全量备份并发数上限。
|
|
1196
|
+
:rtype: int
|
|
1197
|
+
"""
|
|
1198
|
+
return self._UpperParallel
|
|
1199
|
+
|
|
1200
|
+
@UpperParallel.setter
|
|
1201
|
+
def UpperParallel(self, UpperParallel):
|
|
1202
|
+
self._UpperParallel = UpperParallel
|
|
1203
|
+
|
|
857
1204
|
@property
|
|
858
1205
|
def SourceEndPoint(self):
|
|
859
1206
|
r"""备份源实例信息。
|
|
@@ -902,6 +1249,7 @@ class ConfigureBackupPlanRequest(AbstractModel):
|
|
|
902
1249
|
def _deserialize(self, params):
|
|
903
1250
|
self._BackupPlanId = params.get("BackupPlanId")
|
|
904
1251
|
self._BackupPlanName = params.get("BackupPlanName")
|
|
1252
|
+
self._UpperParallel = params.get("UpperParallel")
|
|
905
1253
|
if params.get("SourceEndPoint") is not None:
|
|
906
1254
|
self._SourceEndPoint = BackupEndpoint()
|
|
907
1255
|
self._SourceEndPoint._deserialize(params.get("SourceEndPoint"))
|
|
@@ -950,34 +1298,114 @@ class ConfigureBackupPlanResponse(AbstractModel):
|
|
|
950
1298
|
self._RequestId = params.get("RequestId")
|
|
951
1299
|
|
|
952
1300
|
|
|
953
|
-
class
|
|
954
|
-
r"""
|
|
1301
|
+
class ConnectTestResult(AbstractModel):
|
|
1302
|
+
r"""连通性检测结果
|
|
955
1303
|
|
|
956
1304
|
"""
|
|
957
1305
|
|
|
958
1306
|
def __init__(self):
|
|
959
1307
|
r"""
|
|
960
|
-
:param
|
|
961
|
-
:type
|
|
1308
|
+
:param _TaskId: <p>任务 ID</p>
|
|
1309
|
+
:type TaskId: int
|
|
1310
|
+
:param _Status: <p>任务状态</p>
|
|
1311
|
+
:type Status: str
|
|
1312
|
+
:param _IsPass: <p>是否通过。0 表示未通过,1 表示通过。</p>
|
|
1313
|
+
:type IsPass: int
|
|
1314
|
+
:param _Addr: <p>源端地址</p>
|
|
1315
|
+
:type Addr: str
|
|
1316
|
+
:param _SNatIp: <p>源地址转换IP</p>
|
|
1317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1318
|
+
:type SNatIp: str
|
|
1319
|
+
:param _TestItems: <p>检测结果集</p>
|
|
1320
|
+
:type TestItems: list of TestItem
|
|
962
1321
|
"""
|
|
963
|
-
self.
|
|
1322
|
+
self._TaskId = None
|
|
1323
|
+
self._Status = None
|
|
1324
|
+
self._IsPass = None
|
|
1325
|
+
self._Addr = None
|
|
1326
|
+
self._SNatIp = None
|
|
1327
|
+
self._TestItems = None
|
|
964
1328
|
|
|
965
1329
|
@property
|
|
966
|
-
def
|
|
967
|
-
r"""
|
|
968
|
-
:rtype:
|
|
1330
|
+
def TaskId(self):
|
|
1331
|
+
r"""<p>任务 ID</p>
|
|
1332
|
+
:rtype: int
|
|
969
1333
|
"""
|
|
970
|
-
return self.
|
|
1334
|
+
return self._TaskId
|
|
971
1335
|
|
|
972
|
-
@
|
|
973
|
-
def
|
|
974
|
-
self.
|
|
1336
|
+
@TaskId.setter
|
|
1337
|
+
def TaskId(self, TaskId):
|
|
1338
|
+
self._TaskId = TaskId
|
|
1339
|
+
|
|
1340
|
+
@property
|
|
1341
|
+
def Status(self):
|
|
1342
|
+
r"""<p>任务状态</p>
|
|
1343
|
+
:rtype: str
|
|
1344
|
+
"""
|
|
1345
|
+
return self._Status
|
|
1346
|
+
|
|
1347
|
+
@Status.setter
|
|
1348
|
+
def Status(self, Status):
|
|
1349
|
+
self._Status = Status
|
|
1350
|
+
|
|
1351
|
+
@property
|
|
1352
|
+
def IsPass(self):
|
|
1353
|
+
r"""<p>是否通过。0 表示未通过,1 表示通过。</p>
|
|
1354
|
+
:rtype: int
|
|
1355
|
+
"""
|
|
1356
|
+
return self._IsPass
|
|
1357
|
+
|
|
1358
|
+
@IsPass.setter
|
|
1359
|
+
def IsPass(self, IsPass):
|
|
1360
|
+
self._IsPass = IsPass
|
|
1361
|
+
|
|
1362
|
+
@property
|
|
1363
|
+
def Addr(self):
|
|
1364
|
+
r"""<p>源端地址</p>
|
|
1365
|
+
:rtype: str
|
|
1366
|
+
"""
|
|
1367
|
+
return self._Addr
|
|
1368
|
+
|
|
1369
|
+
@Addr.setter
|
|
1370
|
+
def Addr(self, Addr):
|
|
1371
|
+
self._Addr = Addr
|
|
1372
|
+
|
|
1373
|
+
@property
|
|
1374
|
+
def SNatIp(self):
|
|
1375
|
+
r"""<p>源地址转换IP</p>
|
|
1376
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1377
|
+
:rtype: str
|
|
1378
|
+
"""
|
|
1379
|
+
return self._SNatIp
|
|
1380
|
+
|
|
1381
|
+
@SNatIp.setter
|
|
1382
|
+
def SNatIp(self, SNatIp):
|
|
1383
|
+
self._SNatIp = SNatIp
|
|
1384
|
+
|
|
1385
|
+
@property
|
|
1386
|
+
def TestItems(self):
|
|
1387
|
+
r"""<p>检测结果集</p>
|
|
1388
|
+
:rtype: list of TestItem
|
|
1389
|
+
"""
|
|
1390
|
+
return self._TestItems
|
|
1391
|
+
|
|
1392
|
+
@TestItems.setter
|
|
1393
|
+
def TestItems(self, TestItems):
|
|
1394
|
+
self._TestItems = TestItems
|
|
975
1395
|
|
|
976
1396
|
|
|
977
1397
|
def _deserialize(self, params):
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
1398
|
+
self._TaskId = params.get("TaskId")
|
|
1399
|
+
self._Status = params.get("Status")
|
|
1400
|
+
self._IsPass = params.get("IsPass")
|
|
1401
|
+
self._Addr = params.get("Addr")
|
|
1402
|
+
self._SNatIp = params.get("SNatIp")
|
|
1403
|
+
if params.get("TestItems") is not None:
|
|
1404
|
+
self._TestItems = []
|
|
1405
|
+
for item in params.get("TestItems"):
|
|
1406
|
+
obj = TestItem()
|
|
1407
|
+
obj._deserialize(item)
|
|
1408
|
+
self._TestItems.append(obj)
|
|
981
1409
|
memeber_set = set(params.keys())
|
|
982
1410
|
for name, value in vars(self).items():
|
|
983
1411
|
property_name = name[1:]
|
|
@@ -988,29 +1416,271 @@ class CreateConnectTestJobRequest(AbstractModel):
|
|
|
988
1416
|
|
|
989
1417
|
|
|
990
1418
|
|
|
991
|
-
class
|
|
992
|
-
r"""
|
|
1419
|
+
class CreateBackupPlanRequest(AbstractModel):
|
|
1420
|
+
r"""CreateBackupPlan请求参数结构体
|
|
993
1421
|
|
|
994
1422
|
"""
|
|
995
1423
|
|
|
996
1424
|
def __init__(self):
|
|
997
1425
|
r"""
|
|
998
|
-
:param
|
|
999
|
-
:type
|
|
1000
|
-
:param
|
|
1001
|
-
:type
|
|
1426
|
+
:param _DatabaseType: 源端数据库类型。当前支持值为: ["mysql","cynosdbmysql","percona","mariadb","tdsqlmysql"]。
|
|
1427
|
+
:type DatabaseType: str
|
|
1428
|
+
:param _BackupMethod: 备份方式。当前仅支持"logical",即逻辑备份。
|
|
1429
|
+
:type BackupMethod: str
|
|
1430
|
+
:param _InstanceClass: 规格。当前支持值为: ["micro","small","medium","large","xlarge"]。默认为"small"。
|
|
1431
|
+
:type InstanceClass: str
|
|
1432
|
+
:param _Period: 购买时长,单位为月,默认值为1。
|
|
1433
|
+
:type Period: int
|
|
1434
|
+
:param _PayType: 计费模式。当前仅支持"prepay",即包年包月。
|
|
1435
|
+
:type PayType: str
|
|
1436
|
+
:param _Count: 购买数量。取值范围为[1, 10],默认值为1。
|
|
1437
|
+
:type Count: int
|
|
1438
|
+
:param _AutoRenew: 自动续费标识。1 - 开启自动续费;0 - 不开启自动续费。
|
|
1439
|
+
:type AutoRenew: int
|
|
1440
|
+
:param _Tags: 标签值。
|
|
1441
|
+
:type Tags: list of Tag
|
|
1002
1442
|
"""
|
|
1003
|
-
self.
|
|
1004
|
-
self.
|
|
1443
|
+
self._DatabaseType = None
|
|
1444
|
+
self._BackupMethod = None
|
|
1445
|
+
self._InstanceClass = None
|
|
1446
|
+
self._Period = None
|
|
1447
|
+
self._PayType = None
|
|
1448
|
+
self._Count = None
|
|
1449
|
+
self._AutoRenew = None
|
|
1450
|
+
self._Tags = None
|
|
1005
1451
|
|
|
1006
1452
|
@property
|
|
1007
|
-
def
|
|
1008
|
-
r"""
|
|
1453
|
+
def DatabaseType(self):
|
|
1454
|
+
r"""源端数据库类型。当前支持值为: ["mysql","cynosdbmysql","percona","mariadb","tdsqlmysql"]。
|
|
1009
1455
|
:rtype: str
|
|
1010
1456
|
"""
|
|
1011
|
-
return self.
|
|
1457
|
+
return self._DatabaseType
|
|
1012
1458
|
|
|
1013
|
-
@
|
|
1459
|
+
@DatabaseType.setter
|
|
1460
|
+
def DatabaseType(self, DatabaseType):
|
|
1461
|
+
self._DatabaseType = DatabaseType
|
|
1462
|
+
|
|
1463
|
+
@property
|
|
1464
|
+
def BackupMethod(self):
|
|
1465
|
+
r"""备份方式。当前仅支持"logical",即逻辑备份。
|
|
1466
|
+
:rtype: str
|
|
1467
|
+
"""
|
|
1468
|
+
return self._BackupMethod
|
|
1469
|
+
|
|
1470
|
+
@BackupMethod.setter
|
|
1471
|
+
def BackupMethod(self, BackupMethod):
|
|
1472
|
+
self._BackupMethod = BackupMethod
|
|
1473
|
+
|
|
1474
|
+
@property
|
|
1475
|
+
def InstanceClass(self):
|
|
1476
|
+
r"""规格。当前支持值为: ["micro","small","medium","large","xlarge"]。默认为"small"。
|
|
1477
|
+
:rtype: str
|
|
1478
|
+
"""
|
|
1479
|
+
return self._InstanceClass
|
|
1480
|
+
|
|
1481
|
+
@InstanceClass.setter
|
|
1482
|
+
def InstanceClass(self, InstanceClass):
|
|
1483
|
+
self._InstanceClass = InstanceClass
|
|
1484
|
+
|
|
1485
|
+
@property
|
|
1486
|
+
def Period(self):
|
|
1487
|
+
r"""购买时长,单位为月,默认值为1。
|
|
1488
|
+
:rtype: int
|
|
1489
|
+
"""
|
|
1490
|
+
return self._Period
|
|
1491
|
+
|
|
1492
|
+
@Period.setter
|
|
1493
|
+
def Period(self, Period):
|
|
1494
|
+
self._Period = Period
|
|
1495
|
+
|
|
1496
|
+
@property
|
|
1497
|
+
def PayType(self):
|
|
1498
|
+
r"""计费模式。当前仅支持"prepay",即包年包月。
|
|
1499
|
+
:rtype: str
|
|
1500
|
+
"""
|
|
1501
|
+
return self._PayType
|
|
1502
|
+
|
|
1503
|
+
@PayType.setter
|
|
1504
|
+
def PayType(self, PayType):
|
|
1505
|
+
self._PayType = PayType
|
|
1506
|
+
|
|
1507
|
+
@property
|
|
1508
|
+
def Count(self):
|
|
1509
|
+
r"""购买数量。取值范围为[1, 10],默认值为1。
|
|
1510
|
+
:rtype: int
|
|
1511
|
+
"""
|
|
1512
|
+
return self._Count
|
|
1513
|
+
|
|
1514
|
+
@Count.setter
|
|
1515
|
+
def Count(self, Count):
|
|
1516
|
+
self._Count = Count
|
|
1517
|
+
|
|
1518
|
+
@property
|
|
1519
|
+
def AutoRenew(self):
|
|
1520
|
+
r"""自动续费标识。1 - 开启自动续费;0 - 不开启自动续费。
|
|
1521
|
+
:rtype: int
|
|
1522
|
+
"""
|
|
1523
|
+
return self._AutoRenew
|
|
1524
|
+
|
|
1525
|
+
@AutoRenew.setter
|
|
1526
|
+
def AutoRenew(self, AutoRenew):
|
|
1527
|
+
self._AutoRenew = AutoRenew
|
|
1528
|
+
|
|
1529
|
+
@property
|
|
1530
|
+
def Tags(self):
|
|
1531
|
+
r"""标签值。
|
|
1532
|
+
:rtype: list of Tag
|
|
1533
|
+
"""
|
|
1534
|
+
return self._Tags
|
|
1535
|
+
|
|
1536
|
+
@Tags.setter
|
|
1537
|
+
def Tags(self, Tags):
|
|
1538
|
+
self._Tags = Tags
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
def _deserialize(self, params):
|
|
1542
|
+
self._DatabaseType = params.get("DatabaseType")
|
|
1543
|
+
self._BackupMethod = params.get("BackupMethod")
|
|
1544
|
+
self._InstanceClass = params.get("InstanceClass")
|
|
1545
|
+
self._Period = params.get("Period")
|
|
1546
|
+
self._PayType = params.get("PayType")
|
|
1547
|
+
self._Count = params.get("Count")
|
|
1548
|
+
self._AutoRenew = params.get("AutoRenew")
|
|
1549
|
+
if params.get("Tags") is not None:
|
|
1550
|
+
self._Tags = []
|
|
1551
|
+
for item in params.get("Tags"):
|
|
1552
|
+
obj = Tag()
|
|
1553
|
+
obj._deserialize(item)
|
|
1554
|
+
self._Tags.append(obj)
|
|
1555
|
+
memeber_set = set(params.keys())
|
|
1556
|
+
for name, value in vars(self).items():
|
|
1557
|
+
property_name = name[1:]
|
|
1558
|
+
if property_name in memeber_set:
|
|
1559
|
+
memeber_set.remove(property_name)
|
|
1560
|
+
if len(memeber_set) > 0:
|
|
1561
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1562
|
+
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
class CreateBackupPlanResponse(AbstractModel):
|
|
1566
|
+
r"""CreateBackupPlan返回参数结构体
|
|
1567
|
+
|
|
1568
|
+
"""
|
|
1569
|
+
|
|
1570
|
+
def __init__(self):
|
|
1571
|
+
r"""
|
|
1572
|
+
:param _OrderId: 订单参数。
|
|
1573
|
+
:type OrderId: str
|
|
1574
|
+
:param _BackupPlanIds: 资源ID。
|
|
1575
|
+
:type BackupPlanIds: list of str
|
|
1576
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1577
|
+
:type RequestId: str
|
|
1578
|
+
"""
|
|
1579
|
+
self._OrderId = None
|
|
1580
|
+
self._BackupPlanIds = None
|
|
1581
|
+
self._RequestId = None
|
|
1582
|
+
|
|
1583
|
+
@property
|
|
1584
|
+
def OrderId(self):
|
|
1585
|
+
r"""订单参数。
|
|
1586
|
+
:rtype: str
|
|
1587
|
+
"""
|
|
1588
|
+
return self._OrderId
|
|
1589
|
+
|
|
1590
|
+
@OrderId.setter
|
|
1591
|
+
def OrderId(self, OrderId):
|
|
1592
|
+
self._OrderId = OrderId
|
|
1593
|
+
|
|
1594
|
+
@property
|
|
1595
|
+
def BackupPlanIds(self):
|
|
1596
|
+
r"""资源ID。
|
|
1597
|
+
:rtype: list of str
|
|
1598
|
+
"""
|
|
1599
|
+
return self._BackupPlanIds
|
|
1600
|
+
|
|
1601
|
+
@BackupPlanIds.setter
|
|
1602
|
+
def BackupPlanIds(self, BackupPlanIds):
|
|
1603
|
+
self._BackupPlanIds = BackupPlanIds
|
|
1604
|
+
|
|
1605
|
+
@property
|
|
1606
|
+
def RequestId(self):
|
|
1607
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1608
|
+
:rtype: str
|
|
1609
|
+
"""
|
|
1610
|
+
return self._RequestId
|
|
1611
|
+
|
|
1612
|
+
@RequestId.setter
|
|
1613
|
+
def RequestId(self, RequestId):
|
|
1614
|
+
self._RequestId = RequestId
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
def _deserialize(self, params):
|
|
1618
|
+
self._OrderId = params.get("OrderId")
|
|
1619
|
+
self._BackupPlanIds = params.get("BackupPlanIds")
|
|
1620
|
+
self._RequestId = params.get("RequestId")
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
class CreateConnectTestJobRequest(AbstractModel):
|
|
1624
|
+
r"""CreateConnectTestJob请求参数结构体
|
|
1625
|
+
|
|
1626
|
+
"""
|
|
1627
|
+
|
|
1628
|
+
def __init__(self):
|
|
1629
|
+
r"""
|
|
1630
|
+
:param _Endpoint: 备份源实例信息。
|
|
1631
|
+
:type Endpoint: :class:`tencentcloud.dbs.v20211108.models.BackupEndpoint`
|
|
1632
|
+
"""
|
|
1633
|
+
self._Endpoint = None
|
|
1634
|
+
|
|
1635
|
+
@property
|
|
1636
|
+
def Endpoint(self):
|
|
1637
|
+
r"""备份源实例信息。
|
|
1638
|
+
:rtype: :class:`tencentcloud.dbs.v20211108.models.BackupEndpoint`
|
|
1639
|
+
"""
|
|
1640
|
+
return self._Endpoint
|
|
1641
|
+
|
|
1642
|
+
@Endpoint.setter
|
|
1643
|
+
def Endpoint(self, Endpoint):
|
|
1644
|
+
self._Endpoint = Endpoint
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
def _deserialize(self, params):
|
|
1648
|
+
if params.get("Endpoint") is not None:
|
|
1649
|
+
self._Endpoint = BackupEndpoint()
|
|
1650
|
+
self._Endpoint._deserialize(params.get("Endpoint"))
|
|
1651
|
+
memeber_set = set(params.keys())
|
|
1652
|
+
for name, value in vars(self).items():
|
|
1653
|
+
property_name = name[1:]
|
|
1654
|
+
if property_name in memeber_set:
|
|
1655
|
+
memeber_set.remove(property_name)
|
|
1656
|
+
if len(memeber_set) > 0:
|
|
1657
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
class CreateConnectTestJobResponse(AbstractModel):
|
|
1662
|
+
r"""CreateConnectTestJob返回参数结构体
|
|
1663
|
+
|
|
1664
|
+
"""
|
|
1665
|
+
|
|
1666
|
+
def __init__(self):
|
|
1667
|
+
r"""
|
|
1668
|
+
:param _ConnTaskId: 连通性任务 ID。
|
|
1669
|
+
:type ConnTaskId: str
|
|
1670
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1671
|
+
:type RequestId: str
|
|
1672
|
+
"""
|
|
1673
|
+
self._ConnTaskId = None
|
|
1674
|
+
self._RequestId = None
|
|
1675
|
+
|
|
1676
|
+
@property
|
|
1677
|
+
def ConnTaskId(self):
|
|
1678
|
+
r"""连通性任务 ID。
|
|
1679
|
+
:rtype: str
|
|
1680
|
+
"""
|
|
1681
|
+
return self._ConnTaskId
|
|
1682
|
+
|
|
1683
|
+
@ConnTaskId.setter
|
|
1014
1684
|
def ConnTaskId(self, ConnTaskId):
|
|
1015
1685
|
self._ConnTaskId = ConnTaskId
|
|
1016
1686
|
|
|
@@ -1155,6 +1825,314 @@ class DescribeBackupCheckJobResponse(AbstractModel):
|
|
|
1155
1825
|
self._RequestId = params.get("RequestId")
|
|
1156
1826
|
|
|
1157
1827
|
|
|
1828
|
+
class DescribeBackupPlansRequest(AbstractModel):
|
|
1829
|
+
r"""DescribeBackupPlans请求参数结构体
|
|
1830
|
+
|
|
1831
|
+
"""
|
|
1832
|
+
|
|
1833
|
+
def __init__(self):
|
|
1834
|
+
r"""
|
|
1835
|
+
:param _BackupPlanId: 过滤条件,备份计划 ID。
|
|
1836
|
+
:type BackupPlanId: str
|
|
1837
|
+
:param _Status: 过滤条件,备份计划状态。
|
|
1838
|
+
:type Status: list of str
|
|
1839
|
+
:param _DatabaseType: 过滤条件,数据库类型。
|
|
1840
|
+
:type DatabaseType: list of str
|
|
1841
|
+
:param _AccessType: 过滤条件,接入访问类型。
|
|
1842
|
+
:type AccessType: list of str
|
|
1843
|
+
:param _BackupPlanName: 过滤条件,备份计划名称。
|
|
1844
|
+
:type BackupPlanName: str
|
|
1845
|
+
:param _TagFilters: 过滤条件,标签键值。
|
|
1846
|
+
:type TagFilters: list of TagFilter
|
|
1847
|
+
:param _Limit: 分页参数。取值范围为(0, 100],默认值为20。
|
|
1848
|
+
:type Limit: int
|
|
1849
|
+
:param _Offset: 分页参数。默认值为0。
|
|
1850
|
+
:type Offset: int
|
|
1851
|
+
"""
|
|
1852
|
+
self._BackupPlanId = None
|
|
1853
|
+
self._Status = None
|
|
1854
|
+
self._DatabaseType = None
|
|
1855
|
+
self._AccessType = None
|
|
1856
|
+
self._BackupPlanName = None
|
|
1857
|
+
self._TagFilters = None
|
|
1858
|
+
self._Limit = None
|
|
1859
|
+
self._Offset = None
|
|
1860
|
+
|
|
1861
|
+
@property
|
|
1862
|
+
def BackupPlanId(self):
|
|
1863
|
+
r"""过滤条件,备份计划 ID。
|
|
1864
|
+
:rtype: str
|
|
1865
|
+
"""
|
|
1866
|
+
return self._BackupPlanId
|
|
1867
|
+
|
|
1868
|
+
@BackupPlanId.setter
|
|
1869
|
+
def BackupPlanId(self, BackupPlanId):
|
|
1870
|
+
self._BackupPlanId = BackupPlanId
|
|
1871
|
+
|
|
1872
|
+
@property
|
|
1873
|
+
def Status(self):
|
|
1874
|
+
r"""过滤条件,备份计划状态。
|
|
1875
|
+
:rtype: list of str
|
|
1876
|
+
"""
|
|
1877
|
+
return self._Status
|
|
1878
|
+
|
|
1879
|
+
@Status.setter
|
|
1880
|
+
def Status(self, Status):
|
|
1881
|
+
self._Status = Status
|
|
1882
|
+
|
|
1883
|
+
@property
|
|
1884
|
+
def DatabaseType(self):
|
|
1885
|
+
r"""过滤条件,数据库类型。
|
|
1886
|
+
:rtype: list of str
|
|
1887
|
+
"""
|
|
1888
|
+
return self._DatabaseType
|
|
1889
|
+
|
|
1890
|
+
@DatabaseType.setter
|
|
1891
|
+
def DatabaseType(self, DatabaseType):
|
|
1892
|
+
self._DatabaseType = DatabaseType
|
|
1893
|
+
|
|
1894
|
+
@property
|
|
1895
|
+
def AccessType(self):
|
|
1896
|
+
r"""过滤条件,接入访问类型。
|
|
1897
|
+
:rtype: list of str
|
|
1898
|
+
"""
|
|
1899
|
+
return self._AccessType
|
|
1900
|
+
|
|
1901
|
+
@AccessType.setter
|
|
1902
|
+
def AccessType(self, AccessType):
|
|
1903
|
+
self._AccessType = AccessType
|
|
1904
|
+
|
|
1905
|
+
@property
|
|
1906
|
+
def BackupPlanName(self):
|
|
1907
|
+
r"""过滤条件,备份计划名称。
|
|
1908
|
+
:rtype: str
|
|
1909
|
+
"""
|
|
1910
|
+
return self._BackupPlanName
|
|
1911
|
+
|
|
1912
|
+
@BackupPlanName.setter
|
|
1913
|
+
def BackupPlanName(self, BackupPlanName):
|
|
1914
|
+
self._BackupPlanName = BackupPlanName
|
|
1915
|
+
|
|
1916
|
+
@property
|
|
1917
|
+
def TagFilters(self):
|
|
1918
|
+
r"""过滤条件,标签键值。
|
|
1919
|
+
:rtype: list of TagFilter
|
|
1920
|
+
"""
|
|
1921
|
+
return self._TagFilters
|
|
1922
|
+
|
|
1923
|
+
@TagFilters.setter
|
|
1924
|
+
def TagFilters(self, TagFilters):
|
|
1925
|
+
self._TagFilters = TagFilters
|
|
1926
|
+
|
|
1927
|
+
@property
|
|
1928
|
+
def Limit(self):
|
|
1929
|
+
r"""分页参数。取值范围为(0, 100],默认值为20。
|
|
1930
|
+
:rtype: int
|
|
1931
|
+
"""
|
|
1932
|
+
return self._Limit
|
|
1933
|
+
|
|
1934
|
+
@Limit.setter
|
|
1935
|
+
def Limit(self, Limit):
|
|
1936
|
+
self._Limit = Limit
|
|
1937
|
+
|
|
1938
|
+
@property
|
|
1939
|
+
def Offset(self):
|
|
1940
|
+
r"""分页参数。默认值为0。
|
|
1941
|
+
:rtype: int
|
|
1942
|
+
"""
|
|
1943
|
+
return self._Offset
|
|
1944
|
+
|
|
1945
|
+
@Offset.setter
|
|
1946
|
+
def Offset(self, Offset):
|
|
1947
|
+
self._Offset = Offset
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
def _deserialize(self, params):
|
|
1951
|
+
self._BackupPlanId = params.get("BackupPlanId")
|
|
1952
|
+
self._Status = params.get("Status")
|
|
1953
|
+
self._DatabaseType = params.get("DatabaseType")
|
|
1954
|
+
self._AccessType = params.get("AccessType")
|
|
1955
|
+
self._BackupPlanName = params.get("BackupPlanName")
|
|
1956
|
+
if params.get("TagFilters") is not None:
|
|
1957
|
+
self._TagFilters = []
|
|
1958
|
+
for item in params.get("TagFilters"):
|
|
1959
|
+
obj = TagFilter()
|
|
1960
|
+
obj._deserialize(item)
|
|
1961
|
+
self._TagFilters.append(obj)
|
|
1962
|
+
self._Limit = params.get("Limit")
|
|
1963
|
+
self._Offset = params.get("Offset")
|
|
1964
|
+
memeber_set = set(params.keys())
|
|
1965
|
+
for name, value in vars(self).items():
|
|
1966
|
+
property_name = name[1:]
|
|
1967
|
+
if property_name in memeber_set:
|
|
1968
|
+
memeber_set.remove(property_name)
|
|
1969
|
+
if len(memeber_set) > 0:
|
|
1970
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1971
|
+
|
|
1972
|
+
|
|
1973
|
+
|
|
1974
|
+
class DescribeBackupPlansResponse(AbstractModel):
|
|
1975
|
+
r"""DescribeBackupPlans返回参数结构体
|
|
1976
|
+
|
|
1977
|
+
"""
|
|
1978
|
+
|
|
1979
|
+
def __init__(self):
|
|
1980
|
+
r"""
|
|
1981
|
+
:param _TotalCount: 备份计划数量。
|
|
1982
|
+
:type TotalCount: int
|
|
1983
|
+
:param _Items: 备份计划详情。
|
|
1984
|
+
:type Items: list of BackupPlanInfo
|
|
1985
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1986
|
+
:type RequestId: str
|
|
1987
|
+
"""
|
|
1988
|
+
self._TotalCount = None
|
|
1989
|
+
self._Items = None
|
|
1990
|
+
self._RequestId = None
|
|
1991
|
+
|
|
1992
|
+
@property
|
|
1993
|
+
def TotalCount(self):
|
|
1994
|
+
r"""备份计划数量。
|
|
1995
|
+
:rtype: int
|
|
1996
|
+
"""
|
|
1997
|
+
return self._TotalCount
|
|
1998
|
+
|
|
1999
|
+
@TotalCount.setter
|
|
2000
|
+
def TotalCount(self, TotalCount):
|
|
2001
|
+
self._TotalCount = TotalCount
|
|
2002
|
+
|
|
2003
|
+
@property
|
|
2004
|
+
def Items(self):
|
|
2005
|
+
r"""备份计划详情。
|
|
2006
|
+
:rtype: list of BackupPlanInfo
|
|
2007
|
+
"""
|
|
2008
|
+
return self._Items
|
|
2009
|
+
|
|
2010
|
+
@Items.setter
|
|
2011
|
+
def Items(self, Items):
|
|
2012
|
+
self._Items = Items
|
|
2013
|
+
|
|
2014
|
+
@property
|
|
2015
|
+
def RequestId(self):
|
|
2016
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2017
|
+
:rtype: str
|
|
2018
|
+
"""
|
|
2019
|
+
return self._RequestId
|
|
2020
|
+
|
|
2021
|
+
@RequestId.setter
|
|
2022
|
+
def RequestId(self, RequestId):
|
|
2023
|
+
self._RequestId = RequestId
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
def _deserialize(self, params):
|
|
2027
|
+
self._TotalCount = params.get("TotalCount")
|
|
2028
|
+
if params.get("Items") is not None:
|
|
2029
|
+
self._Items = []
|
|
2030
|
+
for item in params.get("Items"):
|
|
2031
|
+
obj = BackupPlanInfo()
|
|
2032
|
+
obj._deserialize(item)
|
|
2033
|
+
self._Items.append(obj)
|
|
2034
|
+
self._RequestId = params.get("RequestId")
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
class DescribeConnectTestResultRequest(AbstractModel):
|
|
2038
|
+
r"""DescribeConnectTestResult请求参数结构体
|
|
2039
|
+
|
|
2040
|
+
"""
|
|
2041
|
+
|
|
2042
|
+
def __init__(self):
|
|
2043
|
+
r"""
|
|
2044
|
+
:param _TaskIds: <p>连通性检测任务 ID。</p>
|
|
2045
|
+
:type TaskIds: list of int
|
|
2046
|
+
"""
|
|
2047
|
+
self._TaskIds = None
|
|
2048
|
+
|
|
2049
|
+
@property
|
|
2050
|
+
def TaskIds(self):
|
|
2051
|
+
r"""<p>连通性检测任务 ID。</p>
|
|
2052
|
+
:rtype: list of int
|
|
2053
|
+
"""
|
|
2054
|
+
return self._TaskIds
|
|
2055
|
+
|
|
2056
|
+
@TaskIds.setter
|
|
2057
|
+
def TaskIds(self, TaskIds):
|
|
2058
|
+
self._TaskIds = TaskIds
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
def _deserialize(self, params):
|
|
2062
|
+
self._TaskIds = params.get("TaskIds")
|
|
2063
|
+
memeber_set = set(params.keys())
|
|
2064
|
+
for name, value in vars(self).items():
|
|
2065
|
+
property_name = name[1:]
|
|
2066
|
+
if property_name in memeber_set:
|
|
2067
|
+
memeber_set.remove(property_name)
|
|
2068
|
+
if len(memeber_set) > 0:
|
|
2069
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
class DescribeConnectTestResultResponse(AbstractModel):
|
|
2074
|
+
r"""DescribeConnectTestResult返回参数结构体
|
|
2075
|
+
|
|
2076
|
+
"""
|
|
2077
|
+
|
|
2078
|
+
def __init__(self):
|
|
2079
|
+
r"""
|
|
2080
|
+
:param _TotalCount: <p>任务总数。</p>
|
|
2081
|
+
:type TotalCount: int
|
|
2082
|
+
:param _Items: <p>检测结果详情。</p>
|
|
2083
|
+
:type Items: list of ConnectTestResult
|
|
2084
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2085
|
+
:type RequestId: str
|
|
2086
|
+
"""
|
|
2087
|
+
self._TotalCount = None
|
|
2088
|
+
self._Items = None
|
|
2089
|
+
self._RequestId = None
|
|
2090
|
+
|
|
2091
|
+
@property
|
|
2092
|
+
def TotalCount(self):
|
|
2093
|
+
r"""<p>任务总数。</p>
|
|
2094
|
+
:rtype: int
|
|
2095
|
+
"""
|
|
2096
|
+
return self._TotalCount
|
|
2097
|
+
|
|
2098
|
+
@TotalCount.setter
|
|
2099
|
+
def TotalCount(self, TotalCount):
|
|
2100
|
+
self._TotalCount = TotalCount
|
|
2101
|
+
|
|
2102
|
+
@property
|
|
2103
|
+
def Items(self):
|
|
2104
|
+
r"""<p>检测结果详情。</p>
|
|
2105
|
+
:rtype: list of ConnectTestResult
|
|
2106
|
+
"""
|
|
2107
|
+
return self._Items
|
|
2108
|
+
|
|
2109
|
+
@Items.setter
|
|
2110
|
+
def Items(self, Items):
|
|
2111
|
+
self._Items = Items
|
|
2112
|
+
|
|
2113
|
+
@property
|
|
2114
|
+
def RequestId(self):
|
|
2115
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2116
|
+
:rtype: str
|
|
2117
|
+
"""
|
|
2118
|
+
return self._RequestId
|
|
2119
|
+
|
|
2120
|
+
@RequestId.setter
|
|
2121
|
+
def RequestId(self, RequestId):
|
|
2122
|
+
self._RequestId = RequestId
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
def _deserialize(self, params):
|
|
2126
|
+
self._TotalCount = params.get("TotalCount")
|
|
2127
|
+
if params.get("Items") is not None:
|
|
2128
|
+
self._Items = []
|
|
2129
|
+
for item in params.get("Items"):
|
|
2130
|
+
obj = ConnectTestResult()
|
|
2131
|
+
obj._deserialize(item)
|
|
2132
|
+
self._Items.append(obj)
|
|
2133
|
+
self._RequestId = params.get("RequestId")
|
|
2134
|
+
|
|
2135
|
+
|
|
1158
2136
|
class StartBackupCheckJobRequest(AbstractModel):
|
|
1159
2137
|
r"""StartBackupCheckJob请求参数结构体
|
|
1160
2138
|
|
|
@@ -1352,4 +2330,172 @@ class StorageStrategy(AbstractModel):
|
|
|
1352
2330
|
memeber_set.remove(property_name)
|
|
1353
2331
|
if len(memeber_set) > 0:
|
|
1354
2332
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
class Tag(AbstractModel):
|
|
2337
|
+
r"""标签信息
|
|
2338
|
+
|
|
2339
|
+
"""
|
|
2340
|
+
|
|
2341
|
+
def __init__(self):
|
|
2342
|
+
r"""
|
|
2343
|
+
:param _TagKey: 标签键。
|
|
2344
|
+
:type TagKey: str
|
|
2345
|
+
:param _TagValue: 标签值。
|
|
2346
|
+
:type TagValue: str
|
|
2347
|
+
"""
|
|
2348
|
+
self._TagKey = None
|
|
2349
|
+
self._TagValue = None
|
|
2350
|
+
|
|
2351
|
+
@property
|
|
2352
|
+
def TagKey(self):
|
|
2353
|
+
r"""标签键。
|
|
2354
|
+
:rtype: str
|
|
2355
|
+
"""
|
|
2356
|
+
return self._TagKey
|
|
2357
|
+
|
|
2358
|
+
@TagKey.setter
|
|
2359
|
+
def TagKey(self, TagKey):
|
|
2360
|
+
self._TagKey = TagKey
|
|
2361
|
+
|
|
2362
|
+
@property
|
|
2363
|
+
def TagValue(self):
|
|
2364
|
+
r"""标签值。
|
|
2365
|
+
:rtype: str
|
|
2366
|
+
"""
|
|
2367
|
+
return self._TagValue
|
|
2368
|
+
|
|
2369
|
+
@TagValue.setter
|
|
2370
|
+
def TagValue(self, TagValue):
|
|
2371
|
+
self._TagValue = TagValue
|
|
2372
|
+
|
|
2373
|
+
|
|
2374
|
+
def _deserialize(self, params):
|
|
2375
|
+
self._TagKey = params.get("TagKey")
|
|
2376
|
+
self._TagValue = params.get("TagValue")
|
|
2377
|
+
memeber_set = set(params.keys())
|
|
2378
|
+
for name, value in vars(self).items():
|
|
2379
|
+
property_name = name[1:]
|
|
2380
|
+
if property_name in memeber_set:
|
|
2381
|
+
memeber_set.remove(property_name)
|
|
2382
|
+
if len(memeber_set) > 0:
|
|
2383
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2384
|
+
|
|
2385
|
+
|
|
2386
|
+
|
|
2387
|
+
class TagFilter(AbstractModel):
|
|
2388
|
+
r"""标签过滤条件
|
|
2389
|
+
|
|
2390
|
+
"""
|
|
2391
|
+
|
|
2392
|
+
def __init__(self):
|
|
2393
|
+
r"""
|
|
2394
|
+
:param _TagKey: 标签键。
|
|
2395
|
+
:type TagKey: str
|
|
2396
|
+
:param _TagValue: 标签值。
|
|
2397
|
+
:type TagValue: list of str
|
|
2398
|
+
"""
|
|
2399
|
+
self._TagKey = None
|
|
2400
|
+
self._TagValue = None
|
|
2401
|
+
|
|
2402
|
+
@property
|
|
2403
|
+
def TagKey(self):
|
|
2404
|
+
r"""标签键。
|
|
2405
|
+
:rtype: str
|
|
2406
|
+
"""
|
|
2407
|
+
return self._TagKey
|
|
2408
|
+
|
|
2409
|
+
@TagKey.setter
|
|
2410
|
+
def TagKey(self, TagKey):
|
|
2411
|
+
self._TagKey = TagKey
|
|
2412
|
+
|
|
2413
|
+
@property
|
|
2414
|
+
def TagValue(self):
|
|
2415
|
+
r"""标签值。
|
|
2416
|
+
:rtype: list of str
|
|
2417
|
+
"""
|
|
2418
|
+
return self._TagValue
|
|
2419
|
+
|
|
2420
|
+
@TagValue.setter
|
|
2421
|
+
def TagValue(self, TagValue):
|
|
2422
|
+
self._TagValue = TagValue
|
|
2423
|
+
|
|
2424
|
+
|
|
2425
|
+
def _deserialize(self, params):
|
|
2426
|
+
self._TagKey = params.get("TagKey")
|
|
2427
|
+
self._TagValue = params.get("TagValue")
|
|
2428
|
+
memeber_set = set(params.keys())
|
|
2429
|
+
for name, value in vars(self).items():
|
|
2430
|
+
property_name = name[1:]
|
|
2431
|
+
if property_name in memeber_set:
|
|
2432
|
+
memeber_set.remove(property_name)
|
|
2433
|
+
if len(memeber_set) > 0:
|
|
2434
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
|
|
2438
|
+
class TestItem(AbstractModel):
|
|
2439
|
+
r"""检测步骤详情
|
|
2440
|
+
|
|
2441
|
+
"""
|
|
2442
|
+
|
|
2443
|
+
def __init__(self):
|
|
2444
|
+
r"""
|
|
2445
|
+
:param _TestName: <p>检测步骤名称</p>
|
|
2446
|
+
:type TestName: str
|
|
2447
|
+
:param _Code: <p>错误码</p>
|
|
2448
|
+
:type Code: int
|
|
2449
|
+
:param _Message: <p>错误信息</p>
|
|
2450
|
+
:type Message: str
|
|
2451
|
+
"""
|
|
2452
|
+
self._TestName = None
|
|
2453
|
+
self._Code = None
|
|
2454
|
+
self._Message = None
|
|
2455
|
+
|
|
2456
|
+
@property
|
|
2457
|
+
def TestName(self):
|
|
2458
|
+
r"""<p>检测步骤名称</p>
|
|
2459
|
+
:rtype: str
|
|
2460
|
+
"""
|
|
2461
|
+
return self._TestName
|
|
2462
|
+
|
|
2463
|
+
@TestName.setter
|
|
2464
|
+
def TestName(self, TestName):
|
|
2465
|
+
self._TestName = TestName
|
|
2466
|
+
|
|
2467
|
+
@property
|
|
2468
|
+
def Code(self):
|
|
2469
|
+
r"""<p>错误码</p>
|
|
2470
|
+
:rtype: int
|
|
2471
|
+
"""
|
|
2472
|
+
return self._Code
|
|
2473
|
+
|
|
2474
|
+
@Code.setter
|
|
2475
|
+
def Code(self, Code):
|
|
2476
|
+
self._Code = Code
|
|
2477
|
+
|
|
2478
|
+
@property
|
|
2479
|
+
def Message(self):
|
|
2480
|
+
r"""<p>错误信息</p>
|
|
2481
|
+
:rtype: str
|
|
2482
|
+
"""
|
|
2483
|
+
return self._Message
|
|
2484
|
+
|
|
2485
|
+
@Message.setter
|
|
2486
|
+
def Message(self, Message):
|
|
2487
|
+
self._Message = Message
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
def _deserialize(self, params):
|
|
2491
|
+
self._TestName = params.get("TestName")
|
|
2492
|
+
self._Code = params.get("Code")
|
|
2493
|
+
self._Message = params.get("Message")
|
|
2494
|
+
memeber_set = set(params.keys())
|
|
2495
|
+
for name, value in vars(self).items():
|
|
2496
|
+
property_name = name[1:]
|
|
2497
|
+
if property_name in memeber_set:
|
|
2498
|
+
memeber_set.remove(property_name)
|
|
2499
|
+
if len(memeber_set) > 0:
|
|
2500
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1355
2501
|
|