tencentcloud-sdk-python 3.0.1363__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/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +2 -1
- tencentcloud/autoscaling/v20180419/models.py +198 -102
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/cam/v20190116/models.py +0 -2
- 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 +67 -56
- tencentcloud/ccc/v20200210/models.py +105 -56
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +10 -10
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +173 -0
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -4
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwpg/v20201230/models.py +0 -12
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/ckafka/v20190819/models.py +0 -8
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +264 -370
- tencentcloud/cls/v20201016/models.py +35 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +19 -1
- tencentcloud/cvm/v20170312/models.py +335 -40
- tencentcloud/cynosdb/v20190107/models.py +0 -6
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/models.py +109 -0
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +124 -0
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +584 -158
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/dts/v20211206/models.py +1 -16
- tencentcloud/ecdn/v20191012/ecdn_client.py +18 -6
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/ess/v20201111/models.py +16 -12
- tencentcloud/gs/v20191118/errorcodes.py +3 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/models.py +295 -6
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +0 -1
- tencentcloud/gwlb/v20240906/models.py +4 -32
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +557 -4
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/iotexplorer/v20190423/models.py +94 -4
- tencentcloud/iotvideoindustry/v20201201/models.py +15 -0
- tencentcloud/iss/v20230517/errorcodes.py +6 -0
- tencentcloud/iss/v20230517/iss_client.py +115 -0
- tencentcloud/iss/v20230517/models.py +1095 -12
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -2
- tencentcloud/lke/v20231130/models.py +251 -16
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/lkeap/v20240522/models.py +193 -2
- tencentcloud/monitor/v20180724/models.py +8 -8
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +135 -10
- tencentcloud/ocr/v20181119/models.py +38 -2
- tencentcloud/postgres/v20170312/models.py +36 -106
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/redis/v20180412/models.py +159 -6
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/tat/v20201028/errorcodes.py +6 -0
- tencentcloud/tat/v20201028/models.py +78 -32
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/tdmq/v20200217/models.py +115 -95
- tencentcloud/tdmq/v20200217/tdmq_client.py +3 -3
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +47 -126
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +744 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/tse/v20201207/models.py +90 -0
- tencentcloud/tsf/v20180326/models.py +15 -0
- tencentcloud/tts/v20190823/tts_client.py +2 -2
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/models.py +24 -12
- tencentcloud/vpc/v20170312/models.py +758 -84
- tencentcloud/vpc/v20170312/vpc_client.py +115 -0
- tencentcloud/waf/v20180125/models.py +378 -0
- tencentcloud/wedata/v20210820/models.py +391 -26
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +112 -112
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -3487,7 +3487,7 @@ class DescribeDisksRequest(AbstractModel):
|
|
3487
3487
|
|
3488
3488
|
def __init__(self):
|
3489
3489
|
r"""
|
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
|
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>
|
3491
3491
|
:type Filters: list of Filter
|
3492
3492
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
|
3493
3493
|
:type Limit: int
|
@@ -3512,7 +3512,7 @@ class DescribeDisksRequest(AbstractModel):
|
|
3512
3512
|
|
3513
3513
|
@property
|
3514
3514
|
def Filters(self):
|
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
|
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>
|
3516
3516
|
:rtype: list of Filter
|
3517
3517
|
"""
|
3518
3518
|
return self._Filters
|
@@ -4079,17 +4079,24 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
4079
4079
|
r"""
|
4080
4080
|
:param _SnapshotIds: 要查询快照的ID列表。参数不支持同时指定`SnapshotIds`和`Filters`。
|
4081
4081
|
:type SnapshotIds: list of str
|
4082
|
-
:param _Filters:
|
4083
|
-
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。
|
4084
|
-
(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>
|
4085
4083
|
:type Filters: list of Filter
|
4086
4084
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
|
4087
4085
|
:type Limit: int
|
4088
|
-
:param _OrderField:
|
4086
|
+
:param _OrderField: 快照列表排序的依据字段。取值范围:
|
4087
|
+
<ul>
|
4088
|
+
<li>CREATE_TIME:依据快照的创建时间排序</li>
|
4089
|
+
<li>默认按创建时间排序</li>
|
4090
|
+
</ul>
|
4089
4091
|
:type OrderField: str
|
4090
4092
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。
|
4091
4093
|
:type Offset: int
|
4092
|
-
:param _Order:
|
4094
|
+
:param _Order: 输出云盘列表的排列顺序。取值范围:
|
4095
|
+
<ul>
|
4096
|
+
<li>ASC:升序排列</li>
|
4097
|
+
<li>DESC:降序排列。</li>
|
4098
|
+
</ul>
|
4099
|
+
|
4093
4100
|
:type Order: str
|
4094
4101
|
"""
|
4095
4102
|
self._SnapshotIds = None
|
@@ -4112,9 +4119,7 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
4112
4119
|
|
4113
4120
|
@property
|
4114
4121
|
def Filters(self):
|
4115
|
-
"""
|
4116
|
-
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。
|
4117
|
-
(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>
|
4118
4123
|
:rtype: list of Filter
|
4119
4124
|
"""
|
4120
4125
|
return self._Filters
|
@@ -4136,7 +4141,11 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
4136
4141
|
|
4137
4142
|
@property
|
4138
4143
|
def OrderField(self):
|
4139
|
-
"""
|
4144
|
+
"""快照列表排序的依据字段。取值范围:
|
4145
|
+
<ul>
|
4146
|
+
<li>CREATE_TIME:依据快照的创建时间排序</li>
|
4147
|
+
<li>默认按创建时间排序</li>
|
4148
|
+
</ul>
|
4140
4149
|
:rtype: str
|
4141
4150
|
"""
|
4142
4151
|
return self._OrderField
|
@@ -4158,7 +4167,12 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
4158
4167
|
|
4159
4168
|
@property
|
4160
4169
|
def Order(self):
|
4161
|
-
"""
|
4170
|
+
"""输出云盘列表的排列顺序。取值范围:
|
4171
|
+
<ul>
|
4172
|
+
<li>ASC:升序排列</li>
|
4173
|
+
<li>DESC:降序排列。</li>
|
4174
|
+
</ul>
|
4175
|
+
|
4162
4176
|
:rtype: str
|
4163
4177
|
"""
|
4164
4178
|
return self._Order
|
@@ -4544,10 +4558,8 @@ class Disk(AbstractModel):
|
|
4544
4558
|
def __init__(self):
|
4545
4559
|
r"""
|
4546
4560
|
:param _DeleteWithInstance: 云盘是否与挂载的实例一起销毁。<br><li>true:销毁实例时会同时销毁云盘,只支持按小时后付费云盘。</li><li>false:销毁实例时不销毁云盘。</li>
|
4547
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4548
4561
|
:type DeleteWithInstance: bool
|
4549
4562
|
:param _RenewFlag: 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费。</li>
|
4550
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4551
4563
|
:type RenewFlag: str
|
4552
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>
|
4553
4565
|
:type DiskType: str
|
@@ -4556,7 +4568,6 @@ class Disk(AbstractModel):
|
|
4556
4568
|
:param _SnapshotCount: 云盘拥有的快照总数。
|
4557
4569
|
:type SnapshotCount: int
|
4558
4570
|
:param _AutoRenewFlagError: 云盘已挂载到子机,且子机与云盘都是包年包月。<br><li>true:子机设置了自动续费标识,但云盘未设置</li><li>false:云盘自动续费标识正常。</li>
|
4559
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4560
4571
|
:type AutoRenewFlagError: bool
|
4561
4572
|
:param _Rollbacking: 云盘是否处于快照回滚状态。取值范围:<br><li>false:表示不处于快照回滚状态</li><li>true:表示处于快照回滚状态。</li>
|
4562
4573
|
:type Rollbacking: bool
|
@@ -4569,25 +4580,21 @@ class Disk(AbstractModel):
|
|
4569
4580
|
:param _BackupDisk: 云硬盘因欠费销毁或者到期销毁时, 是否使用快照备份数据的标识。true表示销毁时创建快照进行数据备份。false表示直接销毁,不进行数据备份。
|
4570
4581
|
:type BackupDisk: bool
|
4571
4582
|
:param _Tags: 与云盘绑定的标签,云盘未绑定标签则取值为空。
|
4572
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4573
4583
|
:type Tags: list of Tag
|
4574
4584
|
:param _InstanceId: 云硬盘挂载的云主机ID。
|
4575
4585
|
:type InstanceId: str
|
4576
4586
|
:param _AttachMode: 云盘的挂载类型。取值范围:<br><li>PF: PF挂载</li><li>VF: VF挂载</li>
|
4577
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4578
4587
|
:type AttachMode: str
|
4579
|
-
:param _AutoSnapshotPolicyIds: 云盘关联的定期快照ID。只有在调用DescribeDisks接口时,入参ReturnBindAutoSnapshotPolicy取值为TRUE才会返回该参数。
|
4588
|
+
:param _AutoSnapshotPolicyIds: 云盘关联的定期快照ID。只有在调用[DescribeDisks](/document/product/362/16315)接口时,入参ReturnBindAutoSnapshotPolicy取值为TRUE才会返回该参数。
|
4580
4589
|
注意:此字段可能返回 null,表示取不到有效值。
|
4581
4590
|
:type AutoSnapshotPolicyIds: list of str
|
4582
|
-
:param _ThroughputPerformance: 云硬盘额外性能值,单位
|
4583
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4591
|
+
:param _ThroughputPerformance: 云硬盘额外性能值,单位MiB/s。
|
4584
4592
|
:type ThroughputPerformance: int
|
4585
4593
|
:param _Migrating: 云盘是否处于类型变更中。取值范围:<br><li>false:表示云盘不处于类型变更中</li><li>true:表示云盘已发起类型变更,正处于迁移中。</li>
|
4586
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4587
4594
|
:type Migrating: bool
|
4588
4595
|
:param _DiskId: 云硬盘ID。
|
4589
4596
|
:type DiskId: str
|
4590
|
-
:param _SnapshotSize: 云盘拥有的快照总容量,单位为
|
4597
|
+
:param _SnapshotSize: 云盘拥有的快照总容量,单位为MiB。
|
4591
4598
|
:type SnapshotSize: int
|
4592
4599
|
:param _Placement: 云硬盘所在的位置。
|
4593
4600
|
:type Placement: :class:`tencentcloud.cbs.v20170312.models.Placement`
|
@@ -4601,7 +4608,6 @@ class Disk(AbstractModel):
|
|
4601
4608
|
:param _DiskSize: 云硬盘大小,单位GiB。
|
4602
4609
|
:type DiskSize: int
|
4603
4610
|
:param _MigratePercent: 云盘类型变更的迁移进度,取值0到100。
|
4604
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4605
4611
|
:type MigratePercent: int
|
4606
4612
|
:param _DiskUsage: 云硬盘类型。取值范围:<br><li>SYSTEM_DISK:系统盘</li><li>DATA_DISK:数据盘。</li>
|
4607
4613
|
:type DiskUsage: str
|
@@ -4612,15 +4618,13 @@ class Disk(AbstractModel):
|
|
4612
4618
|
:param _SnapshotAbility: 云盘是否具备创建快照的能力。取值范围:<br><li>false表示不具备</li><li>true表示具备。</li>
|
4613
4619
|
:type SnapshotAbility: bool
|
4614
4620
|
:param _DeadlineError: 在云盘已挂载到实例,且实例与云盘都是包年包月的条件下,此字段才有意义。<br><li>true:云盘到期时间早于实例。</li><li>false:云盘到期时间晚于实例。</li>
|
4615
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4616
4621
|
:type DeadlineError: bool
|
4617
4622
|
:param _RollbackPercent: 云盘快照回滚的进度。
|
4618
4623
|
:type RollbackPercent: int
|
4619
|
-
:param _DifferDaysOfDeadline:
|
4624
|
+
:param _DifferDaysOfDeadline: 当前时间距离云硬盘到期的天数(仅对预付费云硬盘有意义)
|
4620
4625
|
注意:此字段可能返回 null,表示取不到有效值。
|
4621
4626
|
:type DifferDaysOfDeadline: int
|
4622
|
-
:param _ReturnFailCode: 预付费云盘在不支持主动退还的情况下,该参数表明不支持主动退还的具体原因。取值范围:<br><li>1:云硬盘已经退还</li><li>2:云硬盘已过期</li><li>3:云盘不支持退还</li><li>8:超过可退还数量的限制。</li>
|
4623
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4627
|
+
:param _ReturnFailCode: 预付费云盘在不支持主动退还的情况下,该参数表明不支持主动退还的具体原因。取值范围:<br><li>1:云硬盘已经退还</li><li>2:云硬盘已过期</li><li>3:云盘不支持退还</li><li>8:超过可退还数量的限制。</li><li>10:非弹性云硬盘、系统盘、后付费云硬盘等不支持退还</li>
|
4624
4628
|
:type ReturnFailCode: int
|
4625
4629
|
:param _Shareable: 云盘是否为共享型云盘。
|
4626
4630
|
:type Shareable: bool
|
@@ -4638,14 +4642,13 @@ class Disk(AbstractModel):
|
|
4638
4642
|
注意:此字段可能返回 null,表示取不到有效值。
|
4639
4643
|
:type LastAttachInsId: str
|
4640
4644
|
:param _ErrorPrompt: 云硬盘最后一次操作错误提示
|
4641
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4642
4645
|
:type ErrorPrompt: str
|
4643
4646
|
:param _BurstPerformance: 云盘是否开启性能突发
|
4644
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4645
4647
|
:type BurstPerformance: bool
|
4646
4648
|
:param _EncryptType: 云硬盘加密类型,值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容
|
4647
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4648
4649
|
:type EncryptType: str
|
4650
|
+
:param _KmsKeyId: 加密盘密钥ID
|
4651
|
+
:type KmsKeyId: str
|
4649
4652
|
"""
|
4650
4653
|
self._DeleteWithInstance = None
|
4651
4654
|
self._RenewFlag = None
|
@@ -4690,11 +4693,11 @@ class Disk(AbstractModel):
|
|
4690
4693
|
self._ErrorPrompt = None
|
4691
4694
|
self._BurstPerformance = None
|
4692
4695
|
self._EncryptType = None
|
4696
|
+
self._KmsKeyId = None
|
4693
4697
|
|
4694
4698
|
@property
|
4695
4699
|
def DeleteWithInstance(self):
|
4696
4700
|
"""云盘是否与挂载的实例一起销毁。<br><li>true:销毁实例时会同时销毁云盘,只支持按小时后付费云盘。</li><li>false:销毁实例时不销毁云盘。</li>
|
4697
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4698
4701
|
:rtype: bool
|
4699
4702
|
"""
|
4700
4703
|
return self._DeleteWithInstance
|
@@ -4706,7 +4709,6 @@ class Disk(AbstractModel):
|
|
4706
4709
|
@property
|
4707
4710
|
def RenewFlag(self):
|
4708
4711
|
"""自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费。</li>
|
4709
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4710
4712
|
:rtype: str
|
4711
4713
|
"""
|
4712
4714
|
return self._RenewFlag
|
@@ -4751,7 +4753,6 @@ class Disk(AbstractModel):
|
|
4751
4753
|
@property
|
4752
4754
|
def AutoRenewFlagError(self):
|
4753
4755
|
"""云盘已挂载到子机,且子机与云盘都是包年包月。<br><li>true:子机设置了自动续费标识,但云盘未设置</li><li>false:云盘自动续费标识正常。</li>
|
4754
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4755
4756
|
:rtype: bool
|
4756
4757
|
"""
|
4757
4758
|
return self._AutoRenewFlagError
|
@@ -4818,7 +4819,6 @@ class Disk(AbstractModel):
|
|
4818
4819
|
@property
|
4819
4820
|
def Tags(self):
|
4820
4821
|
"""与云盘绑定的标签,云盘未绑定标签则取值为空。
|
4821
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4822
4822
|
:rtype: list of Tag
|
4823
4823
|
"""
|
4824
4824
|
return self._Tags
|
@@ -4841,7 +4841,6 @@ class Disk(AbstractModel):
|
|
4841
4841
|
@property
|
4842
4842
|
def AttachMode(self):
|
4843
4843
|
"""云盘的挂载类型。取值范围:<br><li>PF: PF挂载</li><li>VF: VF挂载</li>
|
4844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4845
4844
|
:rtype: str
|
4846
4845
|
"""
|
4847
4846
|
return self._AttachMode
|
@@ -4852,7 +4851,7 @@ class Disk(AbstractModel):
|
|
4852
4851
|
|
4853
4852
|
@property
|
4854
4853
|
def AutoSnapshotPolicyIds(self):
|
4855
|
-
"""云盘关联的定期快照ID。只有在调用DescribeDisks接口时,入参ReturnBindAutoSnapshotPolicy取值为TRUE才会返回该参数。
|
4854
|
+
"""云盘关联的定期快照ID。只有在调用[DescribeDisks](/document/product/362/16315)接口时,入参ReturnBindAutoSnapshotPolicy取值为TRUE才会返回该参数。
|
4856
4855
|
注意:此字段可能返回 null,表示取不到有效值。
|
4857
4856
|
:rtype: list of str
|
4858
4857
|
"""
|
@@ -4864,8 +4863,7 @@ class Disk(AbstractModel):
|
|
4864
4863
|
|
4865
4864
|
@property
|
4866
4865
|
def ThroughputPerformance(self):
|
4867
|
-
"""云硬盘额外性能值,单位
|
4868
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4866
|
+
"""云硬盘额外性能值,单位MiB/s。
|
4869
4867
|
:rtype: int
|
4870
4868
|
"""
|
4871
4869
|
return self._ThroughputPerformance
|
@@ -4877,7 +4875,6 @@ class Disk(AbstractModel):
|
|
4877
4875
|
@property
|
4878
4876
|
def Migrating(self):
|
4879
4877
|
"""云盘是否处于类型变更中。取值范围:<br><li>false:表示云盘不处于类型变更中</li><li>true:表示云盘已发起类型变更,正处于迁移中。</li>
|
4880
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4881
4878
|
:rtype: bool
|
4882
4879
|
"""
|
4883
4880
|
return self._Migrating
|
@@ -4899,7 +4896,7 @@ class Disk(AbstractModel):
|
|
4899
4896
|
|
4900
4897
|
@property
|
4901
4898
|
def SnapshotSize(self):
|
4902
|
-
"""云盘拥有的快照总容量,单位为
|
4899
|
+
"""云盘拥有的快照总容量,单位为MiB。
|
4903
4900
|
:rtype: int
|
4904
4901
|
"""
|
4905
4902
|
return self._SnapshotSize
|
@@ -4967,7 +4964,6 @@ class Disk(AbstractModel):
|
|
4967
4964
|
@property
|
4968
4965
|
def MigratePercent(self):
|
4969
4966
|
"""云盘类型变更的迁移进度,取值0到100。
|
4970
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4971
4967
|
:rtype: int
|
4972
4968
|
"""
|
4973
4969
|
return self._MigratePercent
|
@@ -5023,7 +5019,6 @@ class Disk(AbstractModel):
|
|
5023
5019
|
@property
|
5024
5020
|
def DeadlineError(self):
|
5025
5021
|
"""在云盘已挂载到实例,且实例与云盘都是包年包月的条件下,此字段才有意义。<br><li>true:云盘到期时间早于实例。</li><li>false:云盘到期时间晚于实例。</li>
|
5026
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5027
5022
|
:rtype: bool
|
5028
5023
|
"""
|
5029
5024
|
return self._DeadlineError
|
@@ -5045,7 +5040,7 @@ class Disk(AbstractModel):
|
|
5045
5040
|
|
5046
5041
|
@property
|
5047
5042
|
def DifferDaysOfDeadline(self):
|
5048
|
-
"""
|
5043
|
+
"""当前时间距离云硬盘到期的天数(仅对预付费云硬盘有意义)
|
5049
5044
|
注意:此字段可能返回 null,表示取不到有效值。
|
5050
5045
|
:rtype: int
|
5051
5046
|
"""
|
@@ -5057,8 +5052,7 @@ class Disk(AbstractModel):
|
|
5057
5052
|
|
5058
5053
|
@property
|
5059
5054
|
def ReturnFailCode(self):
|
5060
|
-
"""预付费云盘在不支持主动退还的情况下,该参数表明不支持主动退还的具体原因。取值范围:<br><li>1:云硬盘已经退还</li><li>2:云硬盘已过期</li><li>3:云盘不支持退还</li><li>8:超过可退还数量的限制。</li>
|
5061
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5055
|
+
"""预付费云盘在不支持主动退还的情况下,该参数表明不支持主动退还的具体原因。取值范围:<br><li>1:云硬盘已经退还</li><li>2:云硬盘已过期</li><li>3:云盘不支持退还</li><li>8:超过可退还数量的限制。</li><li>10:非弹性云硬盘、系统盘、后付费云硬盘等不支持退还</li>
|
5062
5056
|
:rtype: int
|
5063
5057
|
"""
|
5064
5058
|
return self._ReturnFailCode
|
@@ -5148,7 +5142,6 @@ class Disk(AbstractModel):
|
|
5148
5142
|
@property
|
5149
5143
|
def ErrorPrompt(self):
|
5150
5144
|
"""云硬盘最后一次操作错误提示
|
5151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5152
5145
|
:rtype: str
|
5153
5146
|
"""
|
5154
5147
|
return self._ErrorPrompt
|
@@ -5160,7 +5153,6 @@ class Disk(AbstractModel):
|
|
5160
5153
|
@property
|
5161
5154
|
def BurstPerformance(self):
|
5162
5155
|
"""云盘是否开启性能突发
|
5163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5164
5156
|
:rtype: bool
|
5165
5157
|
"""
|
5166
5158
|
return self._BurstPerformance
|
@@ -5172,7 +5164,6 @@ class Disk(AbstractModel):
|
|
5172
5164
|
@property
|
5173
5165
|
def EncryptType(self):
|
5174
5166
|
"""云硬盘加密类型,值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容
|
5175
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5176
5167
|
:rtype: str
|
5177
5168
|
"""
|
5178
5169
|
return self._EncryptType
|
@@ -5181,6 +5172,17 @@ class Disk(AbstractModel):
|
|
5181
5172
|
def EncryptType(self, EncryptType):
|
5182
5173
|
self._EncryptType = EncryptType
|
5183
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
|
+
|
5184
5186
|
|
5185
5187
|
def _deserialize(self, params):
|
5186
5188
|
self._DeleteWithInstance = params.get("DeleteWithInstance")
|
@@ -5233,6 +5235,7 @@ class Disk(AbstractModel):
|
|
5233
5235
|
self._ErrorPrompt = params.get("ErrorPrompt")
|
5234
5236
|
self._BurstPerformance = params.get("BurstPerformance")
|
5235
5237
|
self._EncryptType = params.get("EncryptType")
|
5238
|
+
self._KmsKeyId = params.get("KmsKeyId")
|
5236
5239
|
memeber_set = set(params.keys())
|
5237
5240
|
for name, value in vars(self).items():
|
5238
5241
|
property_name = name[1:]
|
@@ -5877,14 +5880,14 @@ class InitializeDisksRequest(AbstractModel):
|
|
5877
5880
|
|
5878
5881
|
def __init__(self):
|
5879
5882
|
r"""
|
5880
|
-
:param _DiskIds: 待重新初始化的云硬盘ID
|
5883
|
+
:param _DiskIds: 待重新初始化的云硬盘ID列表,可以通过[DescribeDisks](/document/product/362/16315)接口查询, 单次初始化限制20块以内
|
5881
5884
|
:type DiskIds: list of str
|
5882
5885
|
"""
|
5883
5886
|
self._DiskIds = None
|
5884
5887
|
|
5885
5888
|
@property
|
5886
5889
|
def DiskIds(self):
|
5887
|
-
"""待重新初始化的云硬盘ID
|
5890
|
+
"""待重新初始化的云硬盘ID列表,可以通过[DescribeDisks](/document/product/362/16315)接口查询, 单次初始化限制20块以内
|
5888
5891
|
:rtype: list of str
|
5889
5892
|
"""
|
5890
5893
|
return self._DiskIds
|
@@ -6563,7 +6566,7 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
6563
6566
|
|
6564
6567
|
def __init__(self):
|
6565
6568
|
r"""
|
6566
|
-
:param _AutoSnapshotPolicyId: 定期快照策略ID
|
6569
|
+
:param _AutoSnapshotPolicyId: 定期快照策略ID。可以通过[查询定期快照策略](https://cloud.tencent.com/document/product/362/33556)API查询。
|
6567
6570
|
:type AutoSnapshotPolicyId: str
|
6568
6571
|
:param _IsActivated: 是否激活定期快照策略,FALSE表示未激活,TRUE表示激活,默认为TRUE。
|
6569
6572
|
:type IsActivated: bool
|
@@ -6585,7 +6588,7 @@ class ModifyAutoSnapshotPolicyAttributeRequest(AbstractModel):
|
|
6585
6588
|
|
6586
6589
|
@property
|
6587
6590
|
def AutoSnapshotPolicyId(self):
|
6588
|
-
"""定期快照策略ID
|
6591
|
+
"""定期快照策略ID。可以通过[查询定期快照策略](https://cloud.tencent.com/document/product/362/33556)API查询。
|
6589
6592
|
:rtype: str
|
6590
6593
|
"""
|
6591
6594
|
return self._AutoSnapshotPolicyId
|
@@ -6707,7 +6710,8 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6707
6710
|
|
6708
6711
|
def __init__(self):
|
6709
6712
|
r"""
|
6710
|
-
:param _DiskIds: 一个或多个待操作的云硬盘ID
|
6713
|
+
:param _DiskIds: 一个或多个待操作的云硬盘ID,可以通过[DescribeDisks](/document/product/362/16315)接口查询。如果传入多个云盘ID,仅支持将所有云盘修改为同一属性。
|
6714
|
+
|
6711
6715
|
:type DiskIds: list of str
|
6712
6716
|
:param _DiskName: 新的云硬盘名称。
|
6713
6717
|
:type DiskName: str
|
@@ -6718,8 +6722,11 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6718
6722
|
:param _DeleteWithInstance: 成功挂载到云主机后该云硬盘是否随云主机销毁,TRUE表示随云主机销毁,FALSE表示不随云主机销毁。仅支持按量计费云硬盘数据盘。
|
6719
6723
|
:type DeleteWithInstance: bool
|
6720
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)
|
6721
6726
|
:type DiskType: str
|
6722
|
-
:param _BurstPerformanceOperation:
|
6727
|
+
:param _BurstPerformanceOperation: 开启/关闭云盘性能突发功能,取值范围:
|
6728
|
+
CREATE:开启
|
6729
|
+
CANCEL:关闭
|
6723
6730
|
:type BurstPerformanceOperation: str
|
6724
6731
|
"""
|
6725
6732
|
self._DiskIds = None
|
@@ -6732,7 +6739,8 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6732
6739
|
|
6733
6740
|
@property
|
6734
6741
|
def DiskIds(self):
|
6735
|
-
"""一个或多个待操作的云硬盘ID
|
6742
|
+
"""一个或多个待操作的云硬盘ID,可以通过[DescribeDisks](/document/product/362/16315)接口查询。如果传入多个云盘ID,仅支持将所有云盘修改为同一属性。
|
6743
|
+
|
6736
6744
|
:rtype: list of str
|
6737
6745
|
"""
|
6738
6746
|
return self._DiskIds
|
@@ -6788,6 +6796,7 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6788
6796
|
@property
|
6789
6797
|
def DiskType(self):
|
6790
6798
|
"""变更云盘类型时,可传入该参数,表示变更的目标类型,取值范围:<br><li>CLOUD_PREMIUM:表示高性能云硬盘</li><li>CLOUD_SSD:表示SSD云硬盘。</li>当前不支持批量变更类型,即传入DiskType时,DiskIds仅支持传入一块云盘;<br>变更云盘类型时不支持同时变更其他属性。
|
6799
|
+
具体说明请参考[调整云硬盘类型](https://cloud.tencent.com/document/product/362/32540)
|
6791
6800
|
:rtype: str
|
6792
6801
|
"""
|
6793
6802
|
return self._DiskType
|
@@ -6798,7 +6807,9 @@ class ModifyDiskAttributesRequest(AbstractModel):
|
|
6798
6807
|
|
6799
6808
|
@property
|
6800
6809
|
def BurstPerformanceOperation(self):
|
6801
|
-
"""
|
6810
|
+
"""开启/关闭云盘性能突发功能,取值范围:
|
6811
|
+
CREATE:开启
|
6812
|
+
CANCEL:关闭
|
6802
6813
|
:rtype: str
|
6803
6814
|
"""
|
6804
6815
|
return self._BurstPerformanceOperation
|