tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1372__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/advisor/v20200721/models.py +0 -26
- tencentcloud/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
- tencentcloud/antiddos/v20200309/models.py +44 -837
- tencentcloud/apm/v20210622/models.py +60 -60
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +28 -1
- tencentcloud/autoscaling/v20180419/models.py +352 -210
- tencentcloud/batch/v20170312/batch_client.py +0 -46
- tencentcloud/batch/v20170312/errorcodes.py +0 -9
- tencentcloud/batch/v20170312/models.py +44 -1179
- tencentcloud/bh/v20230418/bh_client.py +253 -0
- tencentcloud/bh/v20230418/errorcodes.py +15 -0
- tencentcloud/bh/v20230418/models.py +3489 -1335
- tencentcloud/bi/v20220105/models.py +242 -2
- tencentcloud/billing/v20180709/billing_client.py +0 -23
- tencentcloud/billing/v20180709/models.py +34 -926
- tencentcloud/bpaas/v20181217/models.py +0 -54
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +2 -86
- tencentcloud/captcha/v20190722/models.py +21 -54
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +75 -96
- tencentcloud/ccc/v20200210/ccc_client.py +184 -0
- tencentcloud/ccc/v20200210/errorcodes.py +12 -0
- tencentcloud/ccc/v20200210/models.py +2552 -1026
- tencentcloud/cdb/v20170320/cdb_client.py +27 -4
- tencentcloud/cdb/v20170320/models.py +180 -20
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +202 -86
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -50
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwch/v20200915/models.py +242 -260
- tencentcloud/cdwdoris/v20211228/models.py +330 -0
- tencentcloud/cdwpg/v20201230/models.py +196 -516
- tencentcloud/cdz/v20221123/models.py +0 -12
- tencentcloud/cfg/v20210820/models.py +30 -198
- tencentcloud/cfs/v20190719/errorcodes.py +3 -0
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +331 -4
- tencentcloud/chc/__init__.py +0 -0
- tencentcloud/chc/v20230418/__init__.py +0 -0
- tencentcloud/chc/v20230418/chc_client.py +877 -0
- tencentcloud/chc/v20230418/errorcodes.py +15 -0
- tencentcloud/chc/v20230418/models.py +10146 -0
- tencentcloud/chdfs/v20201112/models.py +2 -2
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +371 -1230
- tencentcloud/clb/v20180317/clb_client.py +3 -3
- tencentcloud/clb/v20180317/models.py +395 -406
- tencentcloud/cls/v20201016/cls_client.py +41 -18
- tencentcloud/cls/v20201016/models.py +256 -606
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/cme/v20191029/models.py +10 -14
- tencentcloud/cmq/v20190304/models.py +0 -90
- tencentcloud/common/abstract_client.py +29 -24
- tencentcloud/common/abstract_model.py +5 -1
- tencentcloud/common/common_client.py +14 -15
- tencentcloud/common/credential.py +68 -65
- tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
- tencentcloud/common/profile/client_profile.py +32 -30
- tencentcloud/common/profile/http_profile.py +20 -12
- tencentcloud/common/retry.py +18 -0
- tencentcloud/controlcenter/v20230110/models.py +0 -58
- tencentcloud/cvm/v20170312/cvm_client.py +42 -10
- tencentcloud/cvm/v20170312/errorcodes.py +25 -1
- tencentcloud/cvm/v20170312/models.py +835 -290
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +362 -58
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +451 -824
- tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20191016/models.py +605 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +322 -0
- tencentcloud/dbbrain/v20210527/models.py +6071 -2974
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
- tencentcloud/dcdb/v20180411/models.py +175 -114
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +1217 -592
- tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/models.py +718 -110
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +628 -324
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
- tencentcloud/dsgc/v20190723/models.py +53 -34
- tencentcloud/dts/v20180330/models.py +0 -10
- tencentcloud/dts/v20211206/models.py +118 -585
- tencentcloud/ecdn/v20191012/ecdn_client.py +24 -225
- tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
- tencentcloud/ecdn/v20191012/models.py +4 -1047
- tencentcloud/emr/v20190103/emr_client.py +47 -1
- tencentcloud/emr/v20190103/models.py +1174 -146
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +74 -6
- tencentcloud/es/v20250101/__init__.py +0 -0
- tencentcloud/es/v20250101/errorcodes.py +45 -0
- tencentcloud/es/v20250101/es_client.py +251 -0
- tencentcloud/es/v20250101/models.py +2519 -0
- tencentcloud/ess/v20201111/ess_client.py +43 -5
- tencentcloud/ess/v20201111/models.py +854 -60
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -2
- tencentcloud/essbasic/v20210526/models.py +726 -43
- tencentcloud/facefusion/v20220927/models.py +4 -2
- tencentcloud/fmu/v20191213/errorcodes.py +3 -21
- tencentcloud/fmu/v20191213/fmu_client.py +0 -75
- tencentcloud/fmu/v20191213/models.py +4 -531
- tencentcloud/gaap/v20180529/gaap_client.py +1 -1
- tencentcloud/gaap/v20180529/models.py +2 -276
- tencentcloud/goosefs/v20220519/models.py +0 -2
- tencentcloud/gs/v20191118/errorcodes.py +36 -0
- tencentcloud/gs/v20191118/gs_client.py +1074 -12
- tencentcloud/gs/v20191118/models.py +6976 -492
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -8
- tencentcloud/gwlb/v20240906/models.py +94 -84
- tencentcloud/hai/v20230812/errorcodes.py +7 -1
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +111 -136
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +71 -0
- tencentcloud/hunyuan/v20230901/models.py +1089 -119
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- tencentcloud/ioa/v20220601/models.py +1136 -225
- tencentcloud/iotcloud/v20210408/models.py +2 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +234 -52
- tencentcloud/iotexplorer/v20190423/models.py +2906 -1063
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +69 -0
- tencentcloud/iotvideo/v20211125/models.py +476 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +2 -2
- tencentcloud/iotvideoindustry/v20201201/models.py +30 -486
- tencentcloud/iss/v20230517/errorcodes.py +9 -0
- tencentcloud/iss/v20230517/iss_client.py +161 -0
- tencentcloud/iss/v20230517/models.py +1716 -743
- tencentcloud/kms/v20190118/models.py +101 -0
- tencentcloud/lcic/v20220817/errorcodes.py +2 -2
- tencentcloud/lcic/v20220817/lcic_client.py +47 -1
- tencentcloud/lcic/v20220817/models.py +357 -72
- tencentcloud/lighthouse/v20200324/errorcodes.py +12 -15
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +39 -76
- tencentcloud/lighthouse/v20200324/models.py +237 -259
- tencentcloud/live/v20180801/models.py +61 -46
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +8 -29
- tencentcloud/lke/v20231130/models.py +561 -115
- tencentcloud/lkeap/v20240522/lkeap_client.py +33 -4
- tencentcloud/lkeap/v20240522/models.py +290 -18
- tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
- tencentcloud/lowcode/v20210108/models.py +0 -2
- tencentcloud/mariadb/v20170312/models.py +155 -140
- tencentcloud/memcached/v20190318/models.py +2 -2
- tencentcloud/mmps/v20200710/models.py +0 -66
- tencentcloud/mna/v20210119/errorcodes.py +0 -36
- tencentcloud/mna/v20210119/mna_client.py +0 -75
- tencentcloud/mna/v20210119/models.py +0 -1002
- tencentcloud/mongodb/v20190725/models.py +115 -6
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +1055 -74
- tencentcloud/monitor/v20180724/monitor_client.py +94 -2
- tencentcloud/mps/v20190612/errorcodes.py +36 -0
- tencentcloud/mps/v20190612/models.py +4866 -448
- tencentcloud/mps/v20190612/mps_client.py +208 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +15 -0
- tencentcloud/mqtt/v20240516/models.py +705 -372
- tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
- tencentcloud/oceanus/v20190422/models.py +14 -2
- tencentcloud/ocr/v20181119/errorcodes.py +0 -12
- tencentcloud/ocr/v20181119/models.py +311 -1042
- tencentcloud/ocr/v20181119/ocr_client.py +5 -102
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +45 -82
- tencentcloud/partners/v20180321/models.py +169 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/postgres/v20170312/models.py +36 -328
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/privatedns/v20201028/models.py +36 -28
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/redis/v20180412/models.py +233 -18
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +0 -2
- tencentcloud/ses/v20201002/models.py +32 -4
- tencentcloud/smop/v20201203/smop_client.py +3 -1
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/sqlserver/v20180328/models.py +75 -0
- tencentcloud/ssl/v20191205/models.py +7 -319
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/sts/v20180813/errorcodes.py +9 -0
- tencentcloud/sts/v20180813/models.py +171 -0
- tencentcloud/sts/v20180813/sts_client.py +23 -0
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +506 -44
- tencentcloud/svp/v20240125/svp_client.py +23 -0
- tencentcloud/tan/v20220420/tan_client.py +3 -1
- tencentcloud/tat/v20201028/errorcodes.py +12 -0
- tencentcloud/tat/v20201028/models.py +138 -42
- tencentcloud/tbaas/v20180416/models.py +0 -58
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +189 -582
- tencentcloud/tcb/v20180608/tcb_client.py +23 -23
- tencentcloud/tcbr/v20220217/models.py +45 -0
- tencentcloud/tchd/v20230306/models.py +166 -0
- tencentcloud/tchd/v20230306/tchd_client.py +24 -0
- tencentcloud/tcr/v20190924/models.py +44 -174
- tencentcloud/tcss/v20201101/models.py +1458 -2066
- tencentcloud/tcss/v20201101/tcss_client.py +92 -125
- tencentcloud/tdid/v20210519/models.py +0 -10
- tencentcloud/tdmq/v20200217/models.py +405 -575
- tencentcloud/tdmq/v20200217/tdmq_client.py +12 -54
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220106/teo_client.py +6 -2
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/teo/v20220901/models.py +1828 -472
- tencentcloud/teo/v20220901/teo_client.py +54 -4
- tencentcloud/thpc/v20211109/models.py +0 -6
- tencentcloud/thpc/v20220401/models.py +0 -14
- tencentcloud/thpc/v20230321/models.py +64 -52
- tencentcloud/tione/v20211111/errorcodes.py +114 -0
- tencentcloud/tione/v20211111/models.py +2288 -160
- tencentcloud/tione/v20211111/tione_client.py +138 -0
- tencentcloud/tiw/v20190919/errorcodes.py +3 -24
- tencentcloud/tiw/v20190919/models.py +3657 -8172
- tencentcloud/tiw/v20190919/tiw_client.py +1 -580
- tencentcloud/tke/v20180525/models.py +705 -721
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tke/v20220501/models.py +0 -34
- tencentcloud/trocket/v20230308/models.py +1630 -160
- tencentcloud/trocket/v20230308/trocket_client.py +238 -0
- tencentcloud/trro/v20220325/models.py +1132 -44
- tencentcloud/trro/v20220325/trro_client.py +142 -0
- tencentcloud/trtc/v20190722/models.py +94 -90
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +90 -1010
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +350 -582
- tencentcloud/tsf/v20180326/tsf_client.py +26 -1
- tencentcloud/tts/v20190823/models.py +15 -15
- tencentcloud/tts/v20190823/tts_client.py +6 -5
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vcube/v20220410/models.py +66 -158
- tencentcloud/vcube/v20220410/vcube_client.py +2 -2
- tencentcloud/vdb/v20230616/models.py +1487 -29
- tencentcloud/vdb/v20230616/vdb_client.py +185 -1
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +106 -417
- tencentcloud/vod/v20180717/vod_client.py +2 -1
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1839 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +2052 -519
- tencentcloud/vpc/v20170312/vpc_client.py +229 -11
- tencentcloud/vrs/v20200824/models.py +49 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +4191 -0
- tencentcloud/waf/v20180125/waf_client.py +276 -0
- tencentcloud/wedata/v20210820/models.py +5404 -394
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- tencentcloud/weilingwith/v20230427/models.py +0 -964
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +284 -275
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -26,16 +26,12 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
28
|
:param _Days: 保留最新快照Days天内的每天最新的一个快照,取值范围:[0, 100]
|
29
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30
29
|
:type Days: int
|
31
30
|
:param _Weeks: 保留最新快照Weeks周内的每周最新的一个快照,取值范围:[0, 100]
|
32
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
33
31
|
:type Weeks: int
|
34
32
|
:param _Months: 保留最新快照Months月内的每月最新的一个快照, 取值范围:[0, 100]
|
35
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
36
33
|
:type Months: int
|
37
34
|
:param _Years: 保留最新快照Years年内的每年最新的一个快照,取值范围:[0, 100]
|
38
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
39
35
|
:type Years: int
|
40
36
|
"""
|
41
37
|
self._Days = None
|
@@ -46,7 +42,6 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
46
42
|
@property
|
47
43
|
def Days(self):
|
48
44
|
"""保留最新快照Days天内的每天最新的一个快照,取值范围:[0, 100]
|
49
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
50
45
|
:rtype: int
|
51
46
|
"""
|
52
47
|
return self._Days
|
@@ -58,7 +53,6 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
58
53
|
@property
|
59
54
|
def Weeks(self):
|
60
55
|
"""保留最新快照Weeks周内的每周最新的一个快照,取值范围:[0, 100]
|
61
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
62
56
|
:rtype: int
|
63
57
|
"""
|
64
58
|
return self._Weeks
|
@@ -70,7 +64,6 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
70
64
|
@property
|
71
65
|
def Months(self):
|
72
66
|
"""保留最新快照Months月内的每月最新的一个快照, 取值范围:[0, 100]
|
73
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
74
67
|
:rtype: int
|
75
68
|
"""
|
76
69
|
return self._Months
|
@@ -82,7 +75,6 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
82
75
|
@property
|
83
76
|
def Years(self):
|
84
77
|
"""保留最新快照Years年内的每年最新的一个快照,取值范围:[0, 100]
|
85
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
86
78
|
:rtype: int
|
87
79
|
"""
|
88
80
|
return self._Years
|
@@ -749,7 +741,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
749
741
|
</ul>
|
750
742
|
:type AutoSnapshotPolicyState: str
|
751
743
|
:param _IsCopyToRemote: 是否是跨账号复制快照快照, 1:是, 0: 不是
|
752
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
753
744
|
:type IsCopyToRemote: int
|
754
745
|
:param _IsPermanent: 使用该定期快照策略创建出来的快照是否永久保留。
|
755
746
|
:type IsPermanent: bool
|
@@ -769,13 +760,10 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
769
760
|
注意:此字段可能返回 null,表示取不到有效值。
|
770
761
|
:type CopyToAccountUin: str
|
771
762
|
:param _InstanceIdSet: 已绑定当前定期快照策略的实例ID列表。
|
772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
773
763
|
:type InstanceIdSet: list of str
|
774
764
|
:param _RetentionMonths: 该定期快照创建的快照可以保留的月数。
|
775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
776
765
|
:type RetentionMonths: int
|
777
766
|
:param _RetentionAmount: 该定期快照创建的快照最大保留数量。
|
778
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
779
767
|
:type RetentionAmount: int
|
780
768
|
:param _AdvancedRetentionPolicy: 定期快照高级保留策略。
|
781
769
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -784,7 +772,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
784
772
|
注意:此字段可能返回 null,表示取不到有效值。
|
785
773
|
:type CopyFromAccountUin: str
|
786
774
|
:param _Tags: 标签。
|
787
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
788
775
|
:type Tags: list of Tag
|
789
776
|
"""
|
790
777
|
self._DiskIdSet = None
|
@@ -846,7 +833,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
846
833
|
@property
|
847
834
|
def IsCopyToRemote(self):
|
848
835
|
"""是否是跨账号复制快照快照, 1:是, 0: 不是
|
849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
850
836
|
:rtype: int
|
851
837
|
"""
|
852
838
|
return self._IsCopyToRemote
|
@@ -947,7 +933,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
947
933
|
@property
|
948
934
|
def InstanceIdSet(self):
|
949
935
|
"""已绑定当前定期快照策略的实例ID列表。
|
950
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
951
936
|
:rtype: list of str
|
952
937
|
"""
|
953
938
|
return self._InstanceIdSet
|
@@ -959,7 +944,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
959
944
|
@property
|
960
945
|
def RetentionMonths(self):
|
961
946
|
"""该定期快照创建的快照可以保留的月数。
|
962
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
963
947
|
:rtype: int
|
964
948
|
"""
|
965
949
|
return self._RetentionMonths
|
@@ -971,7 +955,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
971
955
|
@property
|
972
956
|
def RetentionAmount(self):
|
973
957
|
"""该定期快照创建的快照最大保留数量。
|
974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
975
958
|
:rtype: int
|
976
959
|
"""
|
977
960
|
return self._RetentionAmount
|
@@ -1007,7 +990,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
1007
990
|
@property
|
1008
991
|
def Tags(self):
|
1009
992
|
"""标签。
|
1010
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1011
993
|
:rtype: list of Tag
|
1012
994
|
"""
|
1013
995
|
return self._Tags
|
@@ -1150,12 +1132,10 @@ class Cdc(AbstractModel):
|
|
1150
1132
|
:param _CdcState: 独享集群状态。取值范围:<br><li>NORMAL:正常;</li><br><li>CLOSED:关闭,此时将不可使用该独享集群创建新的云硬盘;</li><br><li>FAULT:独享集群状态异常,此时独享集群将不可操作,腾讯云运维团队将会及时修复该集群;</li><br><li>ISOLATED:因未及时续费导致独享集群被隔离,此时将不可使用该独享集群创建新的云硬盘,对应的云硬盘也将不可操作。</li>
|
1151
1133
|
:type CdcState: str
|
1152
1134
|
:param _Zone: 独享集群所属的[可用区](/document/product/213/15753#ZoneInfo)ID。
|
1153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1154
1135
|
:type Zone: str
|
1155
1136
|
:param _CdcName: 独享集群实例名称。
|
1156
1137
|
:type CdcName: str
|
1157
1138
|
:param _CdcResource: 独享集群的资源容量大小。
|
1158
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1159
1139
|
:type CdcResource: :class:`tencentcloud.cbs.v20170312.models.CdcSize`
|
1160
1140
|
:param _CdcId: 独享集群实例id。
|
1161
1141
|
:type CdcId: str
|
@@ -1205,7 +1185,6 @@ class Cdc(AbstractModel):
|
|
1205
1185
|
@property
|
1206
1186
|
def Zone(self):
|
1207
1187
|
"""独享集群所属的[可用区](/document/product/213/15753#ZoneInfo)ID。
|
1208
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1209
1188
|
:rtype: str
|
1210
1189
|
"""
|
1211
1190
|
return self._Zone
|
@@ -1228,7 +1207,6 @@ class Cdc(AbstractModel):
|
|
1228
1207
|
@property
|
1229
1208
|
def CdcResource(self):
|
1230
1209
|
"""独享集群的资源容量大小。
|
1231
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1232
1210
|
:rtype: :class:`tencentcloud.cbs.v20170312.models.CdcSize`
|
1233
1211
|
"""
|
1234
1212
|
return self._CdcResource
|
@@ -1326,7 +1304,6 @@ class CdcSize(AbstractModel):
|
|
1326
1304
|
:param _DiskTotal: 独享集群的总容量大小,单位GiB
|
1327
1305
|
:type DiskTotal: int
|
1328
1306
|
:param _DiskAvailable: 独享集群的可用容量大小,单位GiB
|
1329
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1330
1307
|
:type DiskAvailable: int
|
1331
1308
|
"""
|
1332
1309
|
self._DiskTotal = None
|
@@ -1346,7 +1323,6 @@ class CdcSize(AbstractModel):
|
|
1346
1323
|
@property
|
1347
1324
|
def DiskAvailable(self):
|
1348
1325
|
"""独享集群的可用容量大小,单位GiB
|
1349
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1350
1326
|
:rtype: int
|
1351
1327
|
"""
|
1352
1328
|
return self._DiskAvailable
|
@@ -3511,7 +3487,7 @@ class DescribeDisksRequest(AbstractModel):
|
|
3511
3487
|
|
3512
3488
|
def __init__(self):
|
3513
3489
|
r"""
|
3514
|
-
:param _Filters: 过滤条件。参数不支持同时指定`DiskIds`和`Filters`。<br> <li>disk-usage - Array of String - 是否必填:否 -(过滤条件)按云盘类型过滤。 (SYSTEM_DISK:表示系统盘 | DATA_DISK:表示数据盘)<br></li> <li>disk-charge-type - Array of String - 是否必填:否 -(过滤条件)按照云硬盘计费模式过滤。 (PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费。)<br></li> <li>portable - Array of String - 是否必填:否 -(过滤条件)按是否为弹性云盘过滤。 (TRUE:表示弹性云盘 | FALSE:表示非弹性云盘。)<br></li> <li>project-id - Array of
|
3490
|
+
:param _Filters: 过滤条件。参数不支持同时指定`DiskIds`和`Filters`。<br> <li>disk-usage - Array of String - 是否必填:否 -(过滤条件)按云盘类型过滤。 (SYSTEM_DISK:表示系统盘 | DATA_DISK:表示数据盘)<br></li> <li>disk-charge-type - Array of String - 是否必填:否 -(过滤条件)按照云硬盘计费模式过滤。 (PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费。)<br></li> <li>portable - Array of String - 是否必填:否 -(过滤条件)按是否为弹性云盘过滤。 (TRUE:表示弹性云盘 | FALSE:表示非弹性云盘。)<br></li> <li>project-id - Array of String - 是否必填:否 -(过滤条件)按云硬盘所属项目ID过滤。<br></li> <li>disk-id - Array of String - 是否必填:否 -(过滤条件)按照云硬盘ID过滤。云盘ID形如:`disk-11112222`。<br></li> <li>disk-name - Array of String - 是否必填:否 -(过滤条件)按照云盘名称过滤。<br></li> <li>disk-type - Array of String - 是否必填:否 -(过滤条件)按照云盘介质类型过滤。(CLOUD_BASIC:表示普通云硬盘 | CLOUD_PREMIUM:表示高性能云硬盘。| CLOUD_SSD:表示SSD云硬盘 | CLOUD_HSSD:表示增强型SSD云硬盘。| CLOUD_TSSD:表示极速型云硬盘。)<br></li> <li>disk-state - Array of String - 是否必填:否 -(过滤条件)按照云盘状态过滤。(UNATTACHED:未挂载 | ATTACHING:挂载中 | ATTACHED:已挂载 | DETACHING:解挂中 | EXPANDING:扩容中 | ROLLBACKING:回滚中 | TORECYCLE:待回收 | DUMPING:拷贝硬盘中。)<br></li> <li>instance-id - Array of String - 是否必填:否 -(过滤条件)按照云盘挂载的云主机实例ID过滤。可根据此参数查询挂载在指定云主机下的云硬盘。<br></li> <li>zone - Array of String - 是否必填:否 -(过滤条件)按照[可用区](/document/product/213/15753#ZoneInfo)过滤。<br></li> <li>instance-ip-address - Array of String - 是否必填:否 -(过滤条件)按云盘所挂载云主机的内网或外网IP过滤。<br></li> <li>instance-name - Array of String - 是否必填:否 -(过滤条件)按云盘所挂载的实例名称过滤。<br></li> <li>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。<br></li> <li>tag-value - Array of String - 是否必填:否 -(过滤条件)照标签值进行过滤。<br></li> <li>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。<br></li> <li>dedicated-cluster-id - Array of String - 是否必填:否 -(过滤条件)按照 CDC 独享集群 ID 进行过滤。<br></li> <li>cluster-group-id - String - 是否必填:否 -(过滤条件)按照 集群群组 ID 进行过滤。</li>
|
3515
3491
|
:type Filters: list of Filter
|
3516
3492
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
|
3517
3493
|
:type Limit: int
|
@@ -3536,7 +3512,7 @@ class DescribeDisksRequest(AbstractModel):
|
|
3536
3512
|
|
3537
3513
|
@property
|
3538
3514
|
def Filters(self):
|
3539
|
-
"""过滤条件。参数不支持同时指定`DiskIds`和`Filters`。<br> <li>disk-usage - Array of String - 是否必填:否 -(过滤条件)按云盘类型过滤。 (SYSTEM_DISK:表示系统盘 | DATA_DISK:表示数据盘)<br></li> <li>disk-charge-type - Array of String - 是否必填:否 -(过滤条件)按照云硬盘计费模式过滤。 (PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费。)<br></li> <li>portable - Array of String - 是否必填:否 -(过滤条件)按是否为弹性云盘过滤。 (TRUE:表示弹性云盘 | FALSE:表示非弹性云盘。)<br></li> <li>project-id - Array of
|
3515
|
+
"""过滤条件。参数不支持同时指定`DiskIds`和`Filters`。<br> <li>disk-usage - Array of String - 是否必填:否 -(过滤条件)按云盘类型过滤。 (SYSTEM_DISK:表示系统盘 | DATA_DISK:表示数据盘)<br></li> <li>disk-charge-type - Array of String - 是否必填:否 -(过滤条件)按照云硬盘计费模式过滤。 (PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费。)<br></li> <li>portable - Array of String - 是否必填:否 -(过滤条件)按是否为弹性云盘过滤。 (TRUE:表示弹性云盘 | FALSE:表示非弹性云盘。)<br></li> <li>project-id - Array of String - 是否必填:否 -(过滤条件)按云硬盘所属项目ID过滤。<br></li> <li>disk-id - Array of String - 是否必填:否 -(过滤条件)按照云硬盘ID过滤。云盘ID形如:`disk-11112222`。<br></li> <li>disk-name - Array of String - 是否必填:否 -(过滤条件)按照云盘名称过滤。<br></li> <li>disk-type - Array of String - 是否必填:否 -(过滤条件)按照云盘介质类型过滤。(CLOUD_BASIC:表示普通云硬盘 | CLOUD_PREMIUM:表示高性能云硬盘。| CLOUD_SSD:表示SSD云硬盘 | CLOUD_HSSD:表示增强型SSD云硬盘。| CLOUD_TSSD:表示极速型云硬盘。)<br></li> <li>disk-state - Array of String - 是否必填:否 -(过滤条件)按照云盘状态过滤。(UNATTACHED:未挂载 | ATTACHING:挂载中 | ATTACHED:已挂载 | DETACHING:解挂中 | EXPANDING:扩容中 | ROLLBACKING:回滚中 | TORECYCLE:待回收 | DUMPING:拷贝硬盘中。)<br></li> <li>instance-id - Array of String - 是否必填:否 -(过滤条件)按照云盘挂载的云主机实例ID过滤。可根据此参数查询挂载在指定云主机下的云硬盘。<br></li> <li>zone - Array of String - 是否必填:否 -(过滤条件)按照[可用区](/document/product/213/15753#ZoneInfo)过滤。<br></li> <li>instance-ip-address - Array of String - 是否必填:否 -(过滤条件)按云盘所挂载云主机的内网或外网IP过滤。<br></li> <li>instance-name - Array of String - 是否必填:否 -(过滤条件)按云盘所挂载的实例名称过滤。<br></li> <li>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。<br></li> <li>tag-value - Array of String - 是否必填:否 -(过滤条件)照标签值进行过滤。<br></li> <li>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。<br></li> <li>dedicated-cluster-id - Array of String - 是否必填:否 -(过滤条件)按照 CDC 独享集群 ID 进行过滤。<br></li> <li>cluster-group-id - String - 是否必填:否 -(过滤条件)按照 集群群组 ID 进行过滤。</li>
|
3540
3516
|
:rtype: list of Filter
|
3541
3517
|
"""
|
3542
3518
|
return self._Filters
|
@@ -4103,17 +4079,24 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
4103
4079
|
r"""
|
4104
4080
|
:param _SnapshotIds: 要查询快照的ID列表。参数不支持同时指定`SnapshotIds`和`Filters`。
|
4105
4081
|
:type SnapshotIds: list of str
|
4106
|
-
:param _Filters:
|
4107
|
-
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。
|
4108
|
-
(SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。)
|
4082
|
+
:param _Filters: 过滤条件。参数不支持同时指定SnapshotIds和Filters。<br><ul><li>snapshot-id<ul><li>按照云硬盘快照ID进行过滤</li><li>类型:String</li><li>必选:否</li></ul></li><li>snapshot-name<ul><li>按照云硬盘快照名称进行过滤</li><li>类型:String</li><li>必选:否</li></ul></li><li>snapshot-state<ul><li>按照云硬盘快照状态进行过滤</li><li>类型:String</li><li>必选:否</li><li>取值范围:<ul><li><code>NORMAL</code>:正常 </li><li><code>CREATING</code>:创建中 </li><li><code>ROLLBACKING</code>:回滚中 </li><li><code>COPYING_FROM_REMOTE</code>:跨地域复制中 </li><li><code>CHECKING_COPIED</code>:复制校验中</li><li><code>TORECYCLE</code>:待回收</li></ul></li></ul></li><li>disk-usage<ul><li>按照云硬盘使用用途进行过滤</li><li>类型:String</li><li>必选:否</li><li>取值范围:<ul><li><code>SYSTEM_DISK</code>:代表系统盘</li><li><code>DATA_DISK</code>:代表数据盘</li></ul></li></ul></li><li>project-id<ul><li>按云硬盘所属项目ID过滤</li><li>类型:String</li><li>必选:否</li></ul></li><li>disk-id<ul><li>按照云硬盘ID进行过滤,一次最多只能传入10个值</li><li>类型:String</li><li>必选:否</li></ul></li><li>encrypt<ul><li>按是否加密进行过滤</li><li>类型:String</li><li>必选:否</li></ul></li><li>snapshot-type<ul><li>按快照归属类型查询</li><li>类型:String</li><li>必选:否</li><li>取值范围:<ul><li><code>SHARED_SNAPSHOT</code>:表示共享过来的快照</li><li><code>PRIVATE_SNAPSHOT</code>:表示自己的私有快照</li></ul></li></ul></li></ul>
|
4109
4083
|
:type Filters: list of Filter
|
4110
4084
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
|
4111
4085
|
:type Limit: int
|
4112
|
-
:param _OrderField:
|
4086
|
+
:param _OrderField: 快照列表排序的依据字段。取值范围:
|
4087
|
+
<ul>
|
4088
|
+
<li>CREATE_TIME:依据快照的创建时间排序</li>
|
4089
|
+
<li>默认按创建时间排序</li>
|
4090
|
+
</ul>
|
4113
4091
|
:type OrderField: str
|
4114
4092
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。
|
4115
4093
|
:type Offset: int
|
4116
|
-
:param _Order:
|
4094
|
+
:param _Order: 输出云盘列表的排列顺序。取值范围:
|
4095
|
+
<ul>
|
4096
|
+
<li>ASC:升序排列</li>
|
4097
|
+
<li>DESC:降序排列。</li>
|
4098
|
+
</ul>
|
4099
|
+
|
4117
4100
|
:type Order: str
|
4118
4101
|
"""
|
4119
4102
|
self._SnapshotIds = None
|
@@ -4136,9 +4119,7 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
4136
4119
|
|
4137
4120
|
@property
|
4138
4121
|
def Filters(self):
|
4139
|
-
"""
|
4140
|
-
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。
|
4141
|
-
(SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。)
|
4122
|
+
"""过滤条件。参数不支持同时指定SnapshotIds和Filters。<br><ul><li>snapshot-id<ul><li>按照云硬盘快照ID进行过滤</li><li>类型:String</li><li>必选:否</li></ul></li><li>snapshot-name<ul><li>按照云硬盘快照名称进行过滤</li><li>类型:String</li><li>必选:否</li></ul></li><li>snapshot-state<ul><li>按照云硬盘快照状态进行过滤</li><li>类型:String</li><li>必选:否</li><li>取值范围:<ul><li><code>NORMAL</code>:正常 </li><li><code>CREATING</code>:创建中 </li><li><code>ROLLBACKING</code>:回滚中 </li><li><code>COPYING_FROM_REMOTE</code>:跨地域复制中 </li><li><code>CHECKING_COPIED</code>:复制校验中</li><li><code>TORECYCLE</code>:待回收</li></ul></li></ul></li><li>disk-usage<ul><li>按照云硬盘使用用途进行过滤</li><li>类型:String</li><li>必选:否</li><li>取值范围:<ul><li><code>SYSTEM_DISK</code>:代表系统盘</li><li><code>DATA_DISK</code>:代表数据盘</li></ul></li></ul></li><li>project-id<ul><li>按云硬盘所属项目ID过滤</li><li>类型:String</li><li>必选:否</li></ul></li><li>disk-id<ul><li>按照云硬盘ID进行过滤,一次最多只能传入10个值</li><li>类型:String</li><li>必选:否</li></ul></li><li>encrypt<ul><li>按是否加密进行过滤</li><li>类型:String</li><li>必选:否</li></ul></li><li>snapshot-type<ul><li>按快照归属类型查询</li><li>类型:String</li><li>必选:否</li><li>取值范围:<ul><li><code>SHARED_SNAPSHOT</code>:表示共享过来的快照</li><li><code>PRIVATE_SNAPSHOT</code>:表示自己的私有快照</li></ul></li></ul></li></ul>
|
4142
4123
|
:rtype: list of Filter
|
4143
4124
|
"""
|
4144
4125
|
return self._Filters
|
@@ -4160,7 +4141,11 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
4160
4141
|
|
4161
4142
|
@property
|
4162
4143
|
def OrderField(self):
|
4163
|
-
"""
|
4144
|
+
"""快照列表排序的依据字段。取值范围:
|
4145
|
+
<ul>
|
4146
|
+
<li>CREATE_TIME:依据快照的创建时间排序</li>
|
4147
|
+
<li>默认按创建时间排序</li>
|
4148
|
+
</ul>
|
4164
4149
|
:rtype: str
|
4165
4150
|
"""
|
4166
4151
|
return self._OrderField
|
@@ -4182,7 +4167,12 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
4182
4167
|
|
4183
4168
|
@property
|
4184
4169
|
def Order(self):
|
4185
|
-
"""
|
4170
|
+
"""输出云盘列表的排列顺序。取值范围:
|
4171
|
+
<ul>
|
4172
|
+
<li>ASC:升序排列</li>
|
4173
|
+
<li>DESC:降序排列。</li>
|
4174
|
+
</ul>
|
4175
|
+
|
4186
4176
|
:rtype: str
|
4187
4177
|
"""
|
4188
4178
|
return self._Order
|
@@ -4364,7 +4354,6 @@ class DetailPrice(AbstractModel):
|
|
4364
4354
|
def __init__(self):
|
4365
4355
|
r"""
|
4366
4356
|
:param _PriceTitle: 描述计费项目名称。
|
4367
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4368
4357
|
:type PriceTitle: str
|
4369
4358
|
:param _PriceName: 描述计费项目显示名称,用户控制台展示。
|
4370
4359
|
:type PriceName: str
|
@@ -4411,7 +4400,6 @@ class DetailPrice(AbstractModel):
|
|
4411
4400
|
@property
|
4412
4401
|
def PriceTitle(self):
|
4413
4402
|
"""描述计费项目名称。
|
4414
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4415
4403
|
:rtype: str
|
4416
4404
|
"""
|
4417
4405
|
return self._PriceTitle
|
@@ -4570,10 +4558,8 @@ class Disk(AbstractModel):
|
|
4570
4558
|
def __init__(self):
|
4571
4559
|
r"""
|
4572
4560
|
:param _DeleteWithInstance: 云盘是否与挂载的实例一起销毁。<br><li>true:销毁实例时会同时销毁云盘,只支持按小时后付费云盘。</li><li>false:销毁实例时不销毁云盘。</li>
|
4573
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4574
4561
|
:type DeleteWithInstance: bool
|
4575
4562
|
:param _RenewFlag: 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费。</li>
|
4576
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4577
4563
|
:type RenewFlag: str
|
4578
4564
|
:param _DiskType: 硬盘介质类型。取值范围:<br><li>CLOUD_BASIC:表示普通云硬盘</li><li>CLOUD_PREMIUM:表示高性能云硬盘</li><li>CLOUD_BSSD:表示通用型SSD云硬盘</li><li>CLOUD_SSD:表示SSD云硬盘</li><li>CLOUD_HSSD:表示增强型SSD云硬盘</li><li>CLOUD_TSSD:表示极速型SSD云硬盘。</li>
|
4579
4565
|
:type DiskType: str
|
@@ -4582,7 +4568,6 @@ class Disk(AbstractModel):
|
|
4582
4568
|
:param _SnapshotCount: 云盘拥有的快照总数。
|
4583
4569
|
:type SnapshotCount: int
|
4584
4570
|
:param _AutoRenewFlagError: 云盘已挂载到子机,且子机与云盘都是包年包月。<br><li>true:子机设置了自动续费标识,但云盘未设置</li><li>false:云盘自动续费标识正常。</li>
|
4585
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4586
4571
|
:type AutoRenewFlagError: bool
|
4587
4572
|
:param _Rollbacking: 云盘是否处于快照回滚状态。取值范围:<br><li>false:表示不处于快照回滚状态</li><li>true:表示处于快照回滚状态。</li>
|
4588
4573
|
:type Rollbacking: bool
|
@@ -4595,25 +4580,21 @@ class Disk(AbstractModel):
|
|
4595
4580
|
:param _BackupDisk: 云硬盘因欠费销毁或者到期销毁时, 是否使用快照备份数据的标识。true表示销毁时创建快照进行数据备份。false表示直接销毁,不进行数据备份。
|
4596
4581
|
:type BackupDisk: bool
|
4597
4582
|
:param _Tags: 与云盘绑定的标签,云盘未绑定标签则取值为空。
|
4598
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4599
4583
|
:type Tags: list of Tag
|
4600
4584
|
:param _InstanceId: 云硬盘挂载的云主机ID。
|
4601
4585
|
:type InstanceId: str
|
4602
4586
|
:param _AttachMode: 云盘的挂载类型。取值范围:<br><li>PF: PF挂载</li><li>VF: VF挂载</li>
|
4603
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4604
4587
|
:type AttachMode: str
|
4605
|
-
:param _AutoSnapshotPolicyIds: 云盘关联的定期快照ID。只有在调用DescribeDisks接口时,入参ReturnBindAutoSnapshotPolicy取值为TRUE才会返回该参数。
|
4588
|
+
:param _AutoSnapshotPolicyIds: 云盘关联的定期快照ID。只有在调用[DescribeDisks](/document/product/362/16315)接口时,入参ReturnBindAutoSnapshotPolicy取值为TRUE才会返回该参数。
|
4606
4589
|
注意:此字段可能返回 null,表示取不到有效值。
|
4607
4590
|
:type AutoSnapshotPolicyIds: list of str
|
4608
|
-
:param _ThroughputPerformance: 云硬盘额外性能值,单位
|
4609
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4591
|
+
:param _ThroughputPerformance: 云硬盘额外性能值,单位MiB/s。
|
4610
4592
|
:type ThroughputPerformance: int
|
4611
4593
|
:param _Migrating: 云盘是否处于类型变更中。取值范围:<br><li>false:表示云盘不处于类型变更中</li><li>true:表示云盘已发起类型变更,正处于迁移中。</li>
|
4612
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4613
4594
|
:type Migrating: bool
|
4614
4595
|
:param _DiskId: 云硬盘ID。
|
4615
4596
|
:type DiskId: str
|
4616
|
-
:param _SnapshotSize: 云盘拥有的快照总容量,单位为
|
4597
|
+
:param _SnapshotSize: 云盘拥有的快照总容量,单位为MiB。
|
4617
4598
|
:type SnapshotSize: int
|
4618
4599
|
:param _Placement: 云硬盘所在的位置。
|
4619
4600
|
:type Placement: :class:`tencentcloud.cbs.v20170312.models.Placement`
|
@@ -4627,7 +4608,6 @@ class Disk(AbstractModel):
|
|
4627
4608
|
:param _DiskSize: 云硬盘大小,单位GiB。
|
4628
4609
|
:type DiskSize: int
|
4629
4610
|
:param _MigratePercent: 云盘类型变更的迁移进度,取值0到100。
|
4630
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4631
4611
|
:type MigratePercent: int
|
4632
4612
|
:param _DiskUsage: 云硬盘类型。取值范围:<br><li>SYSTEM_DISK:系统盘</li><li>DATA_DISK:数据盘。</li>
|
4633
4613
|
:type DiskUsage: str
|
@@ -4638,15 +4618,13 @@ class Disk(AbstractModel):
|
|
4638
4618
|
:param _SnapshotAbility: 云盘是否具备创建快照的能力。取值范围:<br><li>false表示不具备</li><li>true表示具备。</li>
|
4639
4619
|
:type SnapshotAbility: bool
|
4640
4620
|
:param _DeadlineError: 在云盘已挂载到实例,且实例与云盘都是包年包月的条件下,此字段才有意义。<br><li>true:云盘到期时间早于实例。</li><li>false:云盘到期时间晚于实例。</li>
|
4641
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4642
4621
|
:type DeadlineError: bool
|
4643
4622
|
:param _RollbackPercent: 云盘快照回滚的进度。
|
4644
4623
|
:type RollbackPercent: int
|
4645
|
-
:param _DifferDaysOfDeadline:
|
4624
|
+
:param _DifferDaysOfDeadline: 当前时间距离云硬盘到期的天数(仅对预付费云硬盘有意义)
|
4646
4625
|
注意:此字段可能返回 null,表示取不到有效值。
|
4647
4626
|
:type DifferDaysOfDeadline: int
|
4648
|
-
:param _ReturnFailCode: 预付费云盘在不支持主动退还的情况下,该参数表明不支持主动退还的具体原因。取值范围:<br><li>1:云硬盘已经退还</li><li>2:云硬盘已过期</li><li>3:云盘不支持退还</li><li>8:超过可退还数量的限制。</li>
|
4649
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4627
|
+
:param _ReturnFailCode: 预付费云盘在不支持主动退还的情况下,该参数表明不支持主动退还的具体原因。取值范围:<br><li>1:云硬盘已经退还</li><li>2:云硬盘已过期</li><li>3:云盘不支持退还</li><li>8:超过可退还数量的限制。</li><li>10:非弹性云硬盘、系统盘、后付费云硬盘等不支持退还</li>
|
4650
4628
|
:type ReturnFailCode: int
|
4651
4629
|
:param _Shareable: 云盘是否为共享型云盘。
|
4652
4630
|
:type Shareable: bool
|
@@ -4664,14 +4642,13 @@ class Disk(AbstractModel):
|
|
4664
4642
|
注意:此字段可能返回 null,表示取不到有效值。
|
4665
4643
|
:type LastAttachInsId: str
|
4666
4644
|
:param _ErrorPrompt: 云硬盘最后一次操作错误提示
|
4667
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4668
4645
|
:type ErrorPrompt: str
|
4669
4646
|
:param _BurstPerformance: 云盘是否开启性能突发
|
4670
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4671
4647
|
:type BurstPerformance: bool
|
4672
4648
|
:param _EncryptType: 云硬盘加密类型,值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容
|
4673
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4674
4649
|
:type EncryptType: str
|
4650
|
+
:param _KmsKeyId: 加密盘密钥ID
|
4651
|
+
:type KmsKeyId: str
|
4675
4652
|
"""
|
4676
4653
|
self._DeleteWithInstance = None
|
4677
4654
|
self._RenewFlag = None
|
@@ -4716,11 +4693,11 @@ class Disk(AbstractModel):
|
|
4716
4693
|
self._ErrorPrompt = None
|
4717
4694
|
self._BurstPerformance = None
|
4718
4695
|
self._EncryptType = None
|
4696
|
+
self._KmsKeyId = None
|
4719
4697
|
|
4720
4698
|
@property
|
4721
4699
|
def DeleteWithInstance(self):
|
4722
4700
|
"""云盘是否与挂载的实例一起销毁。<br><li>true:销毁实例时会同时销毁云盘,只支持按小时后付费云盘。</li><li>false:销毁实例时不销毁云盘。</li>
|
4723
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4724
4701
|
:rtype: bool
|
4725
4702
|
"""
|
4726
4703
|
return self._DeleteWithInstance
|
@@ -4732,7 +4709,6 @@ class Disk(AbstractModel):
|
|
4732
4709
|
@property
|
4733
4710
|
def RenewFlag(self):
|
4734
4711
|
"""自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费。</li>
|
4735
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4736
4712
|
:rtype: str
|
4737
4713
|
"""
|
4738
4714
|
return self._RenewFlag
|
@@ -4777,7 +4753,6 @@ class Disk(AbstractModel):
|
|
4777
4753
|
@property
|
4778
4754
|
def AutoRenewFlagError(self):
|
4779
4755
|
"""云盘已挂载到子机,且子机与云盘都是包年包月。<br><li>true:子机设置了自动续费标识,但云盘未设置</li><li>false:云盘自动续费标识正常。</li>
|
4780
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4781
4756
|
:rtype: bool
|
4782
4757
|
"""
|
4783
4758
|
return self._AutoRenewFlagError
|
@@ -4844,7 +4819,6 @@ class Disk(AbstractModel):
|
|
4844
4819
|
@property
|
4845
4820
|
def Tags(self):
|
4846
4821
|
"""与云盘绑定的标签,云盘未绑定标签则取值为空。
|
4847
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4848
4822
|
:rtype: list of Tag
|
4849
4823
|
"""
|
4850
4824
|
return self._Tags
|
@@ -4867,7 +4841,6 @@ class Disk(AbstractModel):
|
|
4867
4841
|
@property
|
4868
4842
|
def AttachMode(self):
|
4869
4843
|
"""云盘的挂载类型。取值范围:<br><li>PF: PF挂载</li><li>VF: VF挂载</li>
|
4870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4871
4844
|
:rtype: str
|
4872
4845
|
"""
|
4873
4846
|
return self._AttachMode
|
@@ -4878,7 +4851,7 @@ class Disk(AbstractModel):
|
|
4878
4851
|
|
4879
4852
|
@property
|
4880
4853
|
def AutoSnapshotPolicyIds(self):
|
4881
|
-
"""云盘关联的定期快照ID。只有在调用DescribeDisks接口时,入参ReturnBindAutoSnapshotPolicy取值为TRUE才会返回该参数。
|
4854
|
+
"""云盘关联的定期快照ID。只有在调用[DescribeDisks](/document/product/362/16315)接口时,入参ReturnBindAutoSnapshotPolicy取值为TRUE才会返回该参数。
|
4882
4855
|
注意:此字段可能返回 null,表示取不到有效值。
|
4883
4856
|
:rtype: list of str
|
4884
4857
|
"""
|
@@ -4890,8 +4863,7 @@ class Disk(AbstractModel):
|
|
4890
4863
|
|
4891
4864
|
@property
|
4892
4865
|
def ThroughputPerformance(self):
|
4893
|
-
"""云硬盘额外性能值,单位
|
4894
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4866
|
+
"""云硬盘额外性能值,单位MiB/s。
|
4895
4867
|
:rtype: int
|
4896
4868
|
"""
|
4897
4869
|
return self._ThroughputPerformance
|
@@ -4903,7 +4875,6 @@ class Disk(AbstractModel):
|
|
4903
4875
|
@property
|
4904
4876
|
def Migrating(self):
|
4905
4877
|
"""云盘是否处于类型变更中。取值范围:<br><li>false:表示云盘不处于类型变更中</li><li>true:表示云盘已发起类型变更,正处于迁移中。</li>
|
4906
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4907
4878
|
:rtype: bool
|
4908
4879
|
"""
|
4909
4880
|
return self._Migrating
|
@@ -4925,7 +4896,7 @@ class Disk(AbstractModel):
|
|
4925
4896
|
|
4926
4897
|
@property
|
4927
4898
|
def SnapshotSize(self):
|
4928
|
-
"""云盘拥有的快照总容量,单位为
|
4899
|
+
"""云盘拥有的快照总容量,单位为MiB。
|
4929
4900
|
:rtype: int
|
4930
4901
|
"""
|
4931
4902
|
return self._SnapshotSize
|
@@ -4993,7 +4964,6 @@ class Disk(AbstractModel):
|
|
4993
4964
|
@property
|
4994
4965
|
def MigratePercent(self):
|
4995
4966
|
"""云盘类型变更的迁移进度,取值0到100。
|
4996
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4997
4967
|
:rtype: int
|
4998
4968
|
"""
|
4999
4969
|
return self._MigratePercent
|
@@ -5049,7 +5019,6 @@ class Disk(AbstractModel):
|
|
5049
5019
|
@property
|
5050
5020
|
def DeadlineError(self):
|
5051
5021
|
"""在云盘已挂载到实例,且实例与云盘都是包年包月的条件下,此字段才有意义。<br><li>true:云盘到期时间早于实例。</li><li>false:云盘到期时间晚于实例。</li>
|
5052
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5053
5022
|
:rtype: bool
|
5054
5023
|
"""
|
5055
5024
|
return self._DeadlineError
|
@@ -5071,7 +5040,7 @@ class Disk(AbstractModel):
|
|
5071
5040
|
|
5072
5041
|
@property
|
5073
5042
|
def DifferDaysOfDeadline(self):
|
5074
|
-
"""
|
5043
|
+
"""当前时间距离云硬盘到期的天数(仅对预付费云硬盘有意义)
|
5075
5044
|
注意:此字段可能返回 null,表示取不到有效值。
|
5076
5045
|
:rtype: int
|
5077
5046
|
"""
|
@@ -5083,8 +5052,7 @@ class Disk(AbstractModel):
|
|
5083
5052
|
|
5084
5053
|
@property
|
5085
5054
|
def ReturnFailCode(self):
|
5086
|
-
"""预付费云盘在不支持主动退还的情况下,该参数表明不支持主动退还的具体原因。取值范围:<br><li>1:云硬盘已经退还</li><li>2:云硬盘已过期</li><li>3:云盘不支持退还</li><li>8:超过可退还数量的限制。</li>
|
5087
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5055
|
+
"""预付费云盘在不支持主动退还的情况下,该参数表明不支持主动退还的具体原因。取值范围:<br><li>1:云硬盘已经退还</li><li>2:云硬盘已过期</li><li>3:云盘不支持退还</li><li>8:超过可退还数量的限制。</li><li>10:非弹性云硬盘、系统盘、后付费云硬盘等不支持退还</li>
|
5088
5056
|
:rtype: int
|
5089
5057
|
"""
|
5090
5058
|
return self._ReturnFailCode
|
@@ -5174,7 +5142,6 @@ class Disk(AbstractModel):
|
|
5174
5142
|
@property
|
5175
5143
|
def ErrorPrompt(self):
|
5176
5144
|
"""云硬盘最后一次操作错误提示
|
5177
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5178
5145
|
:rtype: str
|
5179
5146
|
"""
|
5180
5147
|
return self._ErrorPrompt
|
@@ -5186,7 +5153,6 @@ class Disk(AbstractModel):
|
|
5186
5153
|
@property
|
5187
5154
|
def BurstPerformance(self):
|
5188
5155
|
"""云盘是否开启性能突发
|
5189
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5190
5156
|
:rtype: bool
|
5191
5157
|
"""
|
5192
5158
|
return self._BurstPerformance
|
@@ -5198,7 +5164,6 @@ class Disk(AbstractModel):
|
|
5198
5164
|
@property
|
5199
5165
|
def EncryptType(self):
|
5200
5166
|
"""云硬盘加密类型,值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容
|
5201
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5202
5167
|
:rtype: str
|
5203
5168
|
"""
|
5204
5169
|
return self._EncryptType
|
@@ -5207,6 +5172,17 @@ class Disk(AbstractModel):
|
|
5207
5172
|
def EncryptType(self, EncryptType):
|
5208
5173
|
self._EncryptType = EncryptType
|
5209
5174
|
|
5175
|
+
@property
|
5176
|
+
def KmsKeyId(self):
|
5177
|
+
"""加密盘密钥ID
|
5178
|
+
:rtype: str
|
5179
|
+
"""
|
5180
|
+
return self._KmsKeyId
|
5181
|
+
|
5182
|
+
@KmsKeyId.setter
|
5183
|
+
def KmsKeyId(self, KmsKeyId):
|
5184
|
+
self._KmsKeyId = KmsKeyId
|
5185
|
+
|
5210
5186
|
|
5211
5187
|
def _deserialize(self, params):
|
5212
5188
|
self._DeleteWithInstance = params.get("DeleteWithInstance")
|
@@ -5259,6 +5235,7 @@ class Disk(AbstractModel):
|
|
5259
5235
|
self._ErrorPrompt = params.get("ErrorPrompt")
|
5260
5236
|
self._BurstPerformance = params.get("BurstPerformance")
|
5261
5237
|
self._EncryptType = params.get("EncryptType")
|
5238
|
+
self._KmsKeyId = params.get("KmsKeyId")
|
5262
5239
|
memeber_set = set(params.keys())
|
5263
5240
|
for name, value in vars(self).items():
|
5264
5241
|
property_name = name[1:]
|
@@ -5500,17 +5477,16 @@ class DiskConfig(AbstractModel):
|
|
5500
5477
|
r"""
|
5501
5478
|
:param _Available: 配置是否可用。
|
5502
5479
|
:type Available: bool
|
5503
|
-
:param _DiskChargeType: 付费模式。取值范围:<br><li>PREPAID
|
5480
|
+
:param _DiskChargeType: 付费模式。取值范围:<br><li>PREPAID:表示预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费。</li>
|
5504
5481
|
:type DiskChargeType: str
|
5505
5482
|
:param _Zone: 云硬盘所属的[可用区](/document/product/213/15753#ZoneInfo)。
|
5506
5483
|
:type Zone: str
|
5507
5484
|
:param _InstanceFamily: 实例机型系列。详见[实例类型](https://cloud.tencent.com/document/product/213/11518)
|
5508
5485
|
注意:此字段可能返回 null,表示取不到有效值。
|
5509
5486
|
:type InstanceFamily: str
|
5510
|
-
:param _DiskType: 云盘介质类型。取值范围:<br><li>CLOUD_BASIC
|
5487
|
+
:param _DiskType: 云盘介质类型。取值范围:<br><li>CLOUD_BASIC:表示普通云硬盘</li><br><li>CLOUD_PREMIUM:表示高性能云硬盘</li><br><li>CLOUD_SSD:SSD表示SSD云硬盘。</li>
|
5511
5488
|
:type DiskType: str
|
5512
5489
|
:param _StepSize: 云盘大小变化的最小步长,单位GB。
|
5513
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5514
5490
|
:type StepSize: int
|
5515
5491
|
:param _ExtraPerformanceRange: 额外的性能区间。
|
5516
5492
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -5518,14 +5494,13 @@ class DiskConfig(AbstractModel):
|
|
5518
5494
|
:param _DeviceClass: 实例机型。
|
5519
5495
|
注意:此字段可能返回 null,表示取不到有效值。
|
5520
5496
|
:type DeviceClass: str
|
5521
|
-
:param _DiskUsage: 云盘类型。取值范围:<br><li>SYSTEM_DISK
|
5497
|
+
:param _DiskUsage: 云盘类型。取值范围:<br><li>SYSTEM_DISK:表示系统盘</li><br><li>DATA_DISK:表示数据盘。</li>
|
5522
5498
|
:type DiskUsage: str
|
5523
5499
|
:param _MinDiskSize: 最小可配置云盘大小,单位GB。
|
5524
5500
|
:type MinDiskSize: int
|
5525
5501
|
:param _MaxDiskSize: 最大可配置云盘大小,单位GB。
|
5526
5502
|
:type MaxDiskSize: int
|
5527
5503
|
:param _Price: 描述预付费或后付费云盘的价格。
|
5528
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5529
5504
|
:type Price: :class:`tencentcloud.cbs.v20170312.models.Price`
|
5530
5505
|
"""
|
5531
5506
|
self._Available = None
|
@@ -5554,7 +5529,7 @@ class DiskConfig(AbstractModel):
|
|
5554
5529
|
|
5555
5530
|
@property
|
5556
5531
|
def DiskChargeType(self):
|
5557
|
-
"""付费模式。取值范围:<br><li>PREPAID
|
5532
|
+
"""付费模式。取值范围:<br><li>PREPAID:表示预付费,即包年包月</li><br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费。</li>
|
5558
5533
|
:rtype: str
|
5559
5534
|
"""
|
5560
5535
|
return self._DiskChargeType
|
@@ -5588,7 +5563,7 @@ class DiskConfig(AbstractModel):
|
|
5588
5563
|
|
5589
5564
|
@property
|
5590
5565
|
def DiskType(self):
|
5591
|
-
"""云盘介质类型。取值范围:<br><li>CLOUD_BASIC
|
5566
|
+
"""云盘介质类型。取值范围:<br><li>CLOUD_BASIC:表示普通云硬盘</li><br><li>CLOUD_PREMIUM:表示高性能云硬盘</li><br><li>CLOUD_SSD:SSD表示SSD云硬盘。</li>
|
5592
5567
|
:rtype: str
|
5593
5568
|
"""
|
5594
5569
|
return self._DiskType
|
@@ -5600,7 +5575,6 @@ class DiskConfig(AbstractModel):
|
|
5600
5575
|
@property
|
5601
5576
|
def StepSize(self):
|
5602
5577
|
"""云盘大小变化的最小步长,单位GB。
|
5603
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5604
5578
|
:rtype: int
|
5605
5579
|
"""
|
5606
5580
|
return self._StepSize
|
@@ -5635,7 +5609,7 @@ class DiskConfig(AbstractModel):
|
|
5635
5609
|
|
5636
5610
|
@property
|
5637
5611
|
def DiskUsage(self):
|
5638
|
-
"""云盘类型。取值范围:<br><li>SYSTEM_DISK
|
5612
|
+
"""云盘类型。取值范围:<br><li>SYSTEM_DISK:表示系统盘</li><br><li>DATA_DISK:表示数据盘。</li>
|
5639
5613
|
:rtype: str
|
5640
5614
|
"""
|
5641
5615
|
return self._DiskUsage
|
@@ -5669,7 +5643,6 @@ class DiskConfig(AbstractModel):
|
|
5669
5643
|
@property
|
5670
5644
|
def Price(self):
|
5671
5645
|
"""描述预付费或后付费云盘的价格。
|
5672
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5673
5646
|
:rtype: :class:`tencentcloud.cbs.v20170312.models.Price`
|
5674
5647
|
"""
|
5675
5648
|
return self._Price
|
@@ -5907,14 +5880,14 @@ class InitializeDisksRequest(AbstractModel):
|
|
5907
5880
|
|
5908
5881
|
def __init__(self):
|
5909
5882
|
r"""
|
5910
|
-
:param _DiskIds: 待重新初始化的云硬盘ID
|
5883
|
+
:param _DiskIds: 待重新初始化的云硬盘ID列表,可以通过[DescribeDisks](/document/product/362/16315)接口查询, 单次初始化限制20块以内
|
5911
5884
|
:type DiskIds: list of str
|
5912
5885
|
"""
|
5913
5886
|
self._DiskIds = None
|
5914
5887
|
|
5915
5888
|
@property
|
5916
5889
|
def DiskIds(self):
|
5917
|
-
"""待重新初始化的云硬盘ID
|
5890
|
+
"""待重新初始化的云硬盘ID列表,可以通过[DescribeDisks](/document/product/362/16315)接口查询, 单次初始化限制20块以内
|
5918
5891
|
:rtype: list of str
|
5919
5892
|
"""
|
5920
5893
|
return self._DiskIds
|
@@ -6593,7 +6566,7 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
6593
6566
|
|
6594
6567
|
def __init__(self):
|
6595
6568
|
r"""
|
6596
|
-
:param _AutoSnapshotPolicyId: 定期快照策略ID
|
6569
|
+
:param _AutoSnapshotPolicyId: 定期快照策略ID。可以通过[查询定期快照策略](https://cloud.tencent.com/document/product/362/33556)API查询。
|
6597
6570
|
:type AutoSnapshotPolicyId: str
|
6598
6571
|
:param _IsActivated: 是否激活定期快照策略,FALSE表示未激活,TRUE表示激活,默认为TRUE。
|
6599
6572
|
:type IsActivated: bool
|
@@ -6615,7 +6588,7 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
6615
6588
|
|
6616
6589
|
@property
|
6617
6590
|
def AutoSnapshotPolicyId(self):
|
6618
|
-
"""定期快照策略ID
|
6591
|
+
"""定期快照策略ID。可以通过[查询定期快照策略](https://cloud.tencent.com/document/product/362/33556)API查询。
|
6619
6592
|
:rtype: str
|
6620
6593
|
"""
|
6621
6594
|
return self._AutoSnapshotPolicyId
|
@@ -6737,7 +6710,8 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6737
6710
|
|
6738
6711
|
def __init__(self):
|
6739
6712
|
r"""
|
6740
|
-
:param _DiskIds: 一个或多个待操作的云硬盘ID
|
6713
|
+
:param _DiskIds: 一个或多个待操作的云硬盘ID,可以通过[DescribeDisks](/document/product/362/16315)接口查询。如果传入多个云盘ID,仅支持将所有云盘修改为同一属性。
|
6714
|
+
|
6741
6715
|
:type DiskIds: list of str
|
6742
6716
|
:param _DiskName: 新的云硬盘名称。
|
6743
6717
|
:type DiskName: str
|
@@ -6748,8 +6722,11 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6748
6722
|
:param _DeleteWithInstance: 成功挂载到云主机后该云硬盘是否随云主机销毁,TRUE表示随云主机销毁,FALSE表示不随云主机销毁。仅支持按量计费云硬盘数据盘。
|
6749
6723
|
:type DeleteWithInstance: bool
|
6750
6724
|
:param _DiskType: 变更云盘类型时,可传入该参数,表示变更的目标类型,取值范围:<br><li>CLOUD_PREMIUM:表示高性能云硬盘</li><li>CLOUD_SSD:表示SSD云硬盘。</li>当前不支持批量变更类型,即传入DiskType时,DiskIds仅支持传入一块云盘;<br>变更云盘类型时不支持同时变更其他属性。
|
6725
|
+
具体说明请参考[调整云硬盘类型](https://cloud.tencent.com/document/product/362/32540)
|
6751
6726
|
:type DiskType: str
|
6752
|
-
:param _BurstPerformanceOperation:
|
6727
|
+
:param _BurstPerformanceOperation: 开启/关闭云盘性能突发功能,取值范围:
|
6728
|
+
CREATE:开启
|
6729
|
+
CANCEL:关闭
|
6753
6730
|
:type BurstPerformanceOperation: str
|
6754
6731
|
"""
|
6755
6732
|
self._DiskIds = None
|
@@ -6762,7 +6739,8 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6762
6739
|
|
6763
6740
|
@property
|
6764
6741
|
def DiskIds(self):
|
6765
|
-
"""一个或多个待操作的云硬盘ID
|
6742
|
+
"""一个或多个待操作的云硬盘ID,可以通过[DescribeDisks](/document/product/362/16315)接口查询。如果传入多个云盘ID,仅支持将所有云盘修改为同一属性。
|
6743
|
+
|
6766
6744
|
:rtype: list of str
|
6767
6745
|
"""
|
6768
6746
|
return self._DiskIds
|
@@ -6818,6 +6796,7 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6818
6796
|
@property
|
6819
6797
|
def DiskType(self):
|
6820
6798
|
"""变更云盘类型时,可传入该参数,表示变更的目标类型,取值范围:<br><li>CLOUD_PREMIUM:表示高性能云硬盘</li><li>CLOUD_SSD:表示SSD云硬盘。</li>当前不支持批量变更类型,即传入DiskType时,DiskIds仅支持传入一块云盘;<br>变更云盘类型时不支持同时变更其他属性。
|
6799
|
+
具体说明请参考[调整云硬盘类型](https://cloud.tencent.com/document/product/362/32540)
|
6821
6800
|
:rtype: str
|
6822
6801
|
"""
|
6823
6802
|
return self._DiskType
|
@@ -6828,7 +6807,9 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6828
6807
|
|
6829
6808
|
@property
|
6830
6809
|
def BurstPerformanceOperation(self):
|
6831
|
-
"""
|
6810
|
+
"""开启/关闭云盘性能突发功能,取值范围:
|
6811
|
+
CREATE:开启
|
6812
|
+
CANCEL:关闭
|
6832
6813
|
:rtype: str
|
6833
6814
|
"""
|
6834
6815
|
return self._BurstPerformanceOperation
|
@@ -7685,7 +7666,6 @@ class PrepayPrice(AbstractModel):
|
|
7685
7666
|
注意:此字段可能返回 null,表示取不到有效值。
|
7686
7667
|
:type UnitPrice: float
|
7687
7668
|
:param _DetailPrices: 计费项目明细列表。
|
7688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7689
7669
|
:type DetailPrices: list of DetailPrice
|
7690
7670
|
"""
|
7691
7671
|
self._DiscountPrice = None
|
@@ -7810,7 +7790,6 @@ class PrepayPrice(AbstractModel):
|
|
7810
7790
|
@property
|
7811
7791
|
def DetailPrices(self):
|
7812
7792
|
"""计费项目明细列表。
|
7813
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7814
7793
|
:rtype: list of DetailPrice
|
7815
7794
|
"""
|
7816
7795
|
return self._DetailPrices
|
@@ -8976,7 +8955,7 @@ class TerminateDisksRequest(AbstractModel):
|
|
8976
8955
|
|
8977
8956
|
def __init__(self):
|
8978
8957
|
r"""
|
8979
|
-
:param _DiskIds: 需退还的云盘ID
|
8958
|
+
:param _DiskIds: 需退还的云盘ID列表,通过[DescribeDisks](/document/product/362/16315)接口查询。
|
8980
8959
|
:type DiskIds: list of str
|
8981
8960
|
:param _DeleteSnapshot: 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
|
8982
8961
|
:type DeleteSnapshot: int
|
@@ -8986,7 +8965,7 @@ class TerminateDisksRequest(AbstractModel):
|
|
8986
8965
|
|
8987
8966
|
@property
|
8988
8967
|
def DiskIds(self):
|
8989
|
-
"""需退还的云盘ID
|
8968
|
+
"""需退还的云盘ID列表,通过[DescribeDisks](/document/product/362/16315)接口查询。
|
8990
8969
|
:rtype: list of str
|
8991
8970
|
"""
|
8992
8971
|
return self._DiskIds
|