tencentcloud-sdk-python-cvm 3.1.112__tar.gz → 3.1.126__tar.gz
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-cvm might be problematic. Click here for more details.
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/setup.py +1 -1
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/models.py +99 -36
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cvm-3.1.126/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cvm-3.1.112/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/README.rst +0 -0
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/__init__.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/cvm_client.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/cvm_client_async.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cvm-3.1.112 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud_sdk_python_cvm.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cvm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.126
|
|
4
4
|
Summary: Tencent Cloud Cvm SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.126
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cvm',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.126,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cvm SDK for Python',
|
|
@@ -13158,6 +13158,8 @@ class Instance(AbstractModel):
|
|
|
13158
13158
|
:type DedicatedClusterId: str
|
|
13159
13159
|
:param _IsolatedSource: <p>实例隔离类型。取值范围:<br><li>ARREAR:表示欠费隔离<br></li><li>EXPIRE:表示到期隔离<br></li><li>MANMADE:表示主动退还隔离<br></li><li>NOTISOLATED:表示未隔离<br></li></p>
|
|
13160
13160
|
:type IsolatedSource: str
|
|
13161
|
+
:param _DisasterRecoverGroupIds: <p>置放群组列表(目前仅支持一个)</p>
|
|
13162
|
+
:type DisasterRecoverGroupIds: list of str
|
|
13161
13163
|
:param _GPUInfo: <p>GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。</p>
|
|
13162
13164
|
:type GPUInfo: :class:`tencentcloud.cvm.v20170312.models.GPUInfo`
|
|
13163
13165
|
:param _LicenseType: <p>实例的操作系统许可类型,默认为TencentCloud</p>
|
|
@@ -13213,6 +13215,7 @@ class Instance(AbstractModel):
|
|
|
13213
13215
|
self._RdmaIpAddresses = None
|
|
13214
13216
|
self._DedicatedClusterId = None
|
|
13215
13217
|
self._IsolatedSource = None
|
|
13218
|
+
self._DisasterRecoverGroupIds = None
|
|
13216
13219
|
self._GPUInfo = None
|
|
13217
13220
|
self._LicenseType = None
|
|
13218
13221
|
self._DisableApiTermination = None
|
|
@@ -13537,6 +13540,8 @@ class Instance(AbstractModel):
|
|
|
13537
13540
|
|
|
13538
13541
|
@property
|
|
13539
13542
|
def DisasterRecoverGroupId(self):
|
|
13543
|
+
warnings.warn("parameter `DisasterRecoverGroupId` is deprecated", DeprecationWarning)
|
|
13544
|
+
|
|
13540
13545
|
r"""<p>分散置放群组ID。</p>
|
|
13541
13546
|
:rtype: str
|
|
13542
13547
|
"""
|
|
@@ -13544,6 +13549,8 @@ class Instance(AbstractModel):
|
|
|
13544
13549
|
|
|
13545
13550
|
@DisasterRecoverGroupId.setter
|
|
13546
13551
|
def DisasterRecoverGroupId(self, DisasterRecoverGroupId):
|
|
13552
|
+
warnings.warn("parameter `DisasterRecoverGroupId` is deprecated", DeprecationWarning)
|
|
13553
|
+
|
|
13547
13554
|
self._DisasterRecoverGroupId = DisasterRecoverGroupId
|
|
13548
13555
|
|
|
13549
13556
|
@property
|
|
@@ -13615,6 +13622,17 @@ class Instance(AbstractModel):
|
|
|
13615
13622
|
def IsolatedSource(self, IsolatedSource):
|
|
13616
13623
|
self._IsolatedSource = IsolatedSource
|
|
13617
13624
|
|
|
13625
|
+
@property
|
|
13626
|
+
def DisasterRecoverGroupIds(self):
|
|
13627
|
+
r"""<p>置放群组列表(目前仅支持一个)</p>
|
|
13628
|
+
:rtype: list of str
|
|
13629
|
+
"""
|
|
13630
|
+
return self._DisasterRecoverGroupIds
|
|
13631
|
+
|
|
13632
|
+
@DisasterRecoverGroupIds.setter
|
|
13633
|
+
def DisasterRecoverGroupIds(self, DisasterRecoverGroupIds):
|
|
13634
|
+
self._DisasterRecoverGroupIds = DisasterRecoverGroupIds
|
|
13635
|
+
|
|
13618
13636
|
@property
|
|
13619
13637
|
def GPUInfo(self):
|
|
13620
13638
|
r"""<p>GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。</p>
|
|
@@ -13772,6 +13790,7 @@ class Instance(AbstractModel):
|
|
|
13772
13790
|
self._RdmaIpAddresses = params.get("RdmaIpAddresses")
|
|
13773
13791
|
self._DedicatedClusterId = params.get("DedicatedClusterId")
|
|
13774
13792
|
self._IsolatedSource = params.get("IsolatedSource")
|
|
13793
|
+
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
|
13775
13794
|
if params.get("GPUInfo") is not None:
|
|
13776
13795
|
self._GPUInfo = GPUInfo()
|
|
13777
13796
|
self._GPUInfo._deserialize(params.get("GPUInfo"))
|
|
@@ -17628,20 +17647,26 @@ class ModifyInstancesDisasterRecoverGroupRequest(AbstractModel):
|
|
|
17628
17647
|
|
|
17629
17648
|
def __init__(self):
|
|
17630
17649
|
r"""
|
|
17631
|
-
:param _InstanceIds:
|
|
17650
|
+
:param _InstanceIds: <p>一个或多个待操作的实例ID。可通过<a href="https://cloud.tencent.com/document/api/213/15728"> DescribeInstances </a>接口返回值中的<code>InstanceId</code>获取。每次请求批量实例的上限为100</p>
|
|
17632
17651
|
:type InstanceIds: list of str
|
|
17633
|
-
:param _DisasterRecoverGroupId:
|
|
17652
|
+
:param _DisasterRecoverGroupId: <p>分散置放群组ID,可使用<a href="https://cloud.tencent.com/document/api/213/17810">DescribeDisasterRecoverGroups</a>接口获取</p>
|
|
17634
17653
|
:type DisasterRecoverGroupId: str
|
|
17635
|
-
:param _Force:
|
|
17654
|
+
:param _Force: <p>是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false</p>
|
|
17636
17655
|
:type Force: bool
|
|
17656
|
+
:param _DisasterRecoverGroupIds: <p>置放群组id列表(目前仅支持指定一个)</p>
|
|
17657
|
+
:type DisasterRecoverGroupIds: list of str
|
|
17658
|
+
:param _PartitionNumber: <p>分区置放群组的分区Id,取值范围:1-10,具体取决于所选置放群组的分区数量,如果选中的置放群组是分区置放群组,该值不传默认随机(该功能灰度中)</p>
|
|
17659
|
+
:type PartitionNumber: int
|
|
17637
17660
|
"""
|
|
17638
17661
|
self._InstanceIds = None
|
|
17639
17662
|
self._DisasterRecoverGroupId = None
|
|
17640
17663
|
self._Force = None
|
|
17664
|
+
self._DisasterRecoverGroupIds = None
|
|
17665
|
+
self._PartitionNumber = None
|
|
17641
17666
|
|
|
17642
17667
|
@property
|
|
17643
17668
|
def InstanceIds(self):
|
|
17644
|
-
r"""
|
|
17669
|
+
r"""<p>一个或多个待操作的实例ID。可通过<a href="https://cloud.tencent.com/document/api/213/15728"> DescribeInstances </a>接口返回值中的<code>InstanceId</code>获取。每次请求批量实例的上限为100</p>
|
|
17645
17670
|
:rtype: list of str
|
|
17646
17671
|
"""
|
|
17647
17672
|
return self._InstanceIds
|
|
@@ -17652,18 +17677,22 @@ class ModifyInstancesDisasterRecoverGroupRequest(AbstractModel):
|
|
|
17652
17677
|
|
|
17653
17678
|
@property
|
|
17654
17679
|
def DisasterRecoverGroupId(self):
|
|
17655
|
-
|
|
17680
|
+
warnings.warn("parameter `DisasterRecoverGroupId` is deprecated", DeprecationWarning)
|
|
17681
|
+
|
|
17682
|
+
r"""<p>分散置放群组ID,可使用<a href="https://cloud.tencent.com/document/api/213/17810">DescribeDisasterRecoverGroups</a>接口获取</p>
|
|
17656
17683
|
:rtype: str
|
|
17657
17684
|
"""
|
|
17658
17685
|
return self._DisasterRecoverGroupId
|
|
17659
17686
|
|
|
17660
17687
|
@DisasterRecoverGroupId.setter
|
|
17661
17688
|
def DisasterRecoverGroupId(self, DisasterRecoverGroupId):
|
|
17689
|
+
warnings.warn("parameter `DisasterRecoverGroupId` is deprecated", DeprecationWarning)
|
|
17690
|
+
|
|
17662
17691
|
self._DisasterRecoverGroupId = DisasterRecoverGroupId
|
|
17663
17692
|
|
|
17664
17693
|
@property
|
|
17665
17694
|
def Force(self):
|
|
17666
|
-
r"""
|
|
17695
|
+
r"""<p>是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false</p>
|
|
17667
17696
|
:rtype: bool
|
|
17668
17697
|
"""
|
|
17669
17698
|
return self._Force
|
|
@@ -17672,11 +17701,35 @@ class ModifyInstancesDisasterRecoverGroupRequest(AbstractModel):
|
|
|
17672
17701
|
def Force(self, Force):
|
|
17673
17702
|
self._Force = Force
|
|
17674
17703
|
|
|
17704
|
+
@property
|
|
17705
|
+
def DisasterRecoverGroupIds(self):
|
|
17706
|
+
r"""<p>置放群组id列表(目前仅支持指定一个)</p>
|
|
17707
|
+
:rtype: list of str
|
|
17708
|
+
"""
|
|
17709
|
+
return self._DisasterRecoverGroupIds
|
|
17710
|
+
|
|
17711
|
+
@DisasterRecoverGroupIds.setter
|
|
17712
|
+
def DisasterRecoverGroupIds(self, DisasterRecoverGroupIds):
|
|
17713
|
+
self._DisasterRecoverGroupIds = DisasterRecoverGroupIds
|
|
17714
|
+
|
|
17715
|
+
@property
|
|
17716
|
+
def PartitionNumber(self):
|
|
17717
|
+
r"""<p>分区置放群组的分区Id,取值范围:1-10,具体取决于所选置放群组的分区数量,如果选中的置放群组是分区置放群组,该值不传默认随机(该功能灰度中)</p>
|
|
17718
|
+
:rtype: int
|
|
17719
|
+
"""
|
|
17720
|
+
return self._PartitionNumber
|
|
17721
|
+
|
|
17722
|
+
@PartitionNumber.setter
|
|
17723
|
+
def PartitionNumber(self, PartitionNumber):
|
|
17724
|
+
self._PartitionNumber = PartitionNumber
|
|
17725
|
+
|
|
17675
17726
|
|
|
17676
17727
|
def _deserialize(self, params):
|
|
17677
17728
|
self._InstanceIds = params.get("InstanceIds")
|
|
17678
17729
|
self._DisasterRecoverGroupId = params.get("DisasterRecoverGroupId")
|
|
17679
17730
|
self._Force = params.get("Force")
|
|
17731
|
+
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
|
17732
|
+
self._PartitionNumber = params.get("PartitionNumber")
|
|
17680
17733
|
memeber_set = set(params.keys())
|
|
17681
17734
|
for name, value in vars(self).items():
|
|
17682
17735
|
property_name = name[1:]
|
|
@@ -22697,46 +22750,33 @@ class SystemDisk(AbstractModel):
|
|
|
22697
22750
|
|
|
22698
22751
|
def __init__(self):
|
|
22699
22752
|
r"""
|
|
22700
|
-
:param _DiskType:
|
|
22701
|
-
<li>LOCAL_BASIC:本地硬盘</li>
|
|
22702
|
-
<li>LOCAL_SSD:本地SSD硬盘</li>
|
|
22703
|
-
<li>CLOUD_BASIC:普通云硬盘</li>
|
|
22704
|
-
<li>CLOUD_SSD:SSD云硬盘</li>
|
|
22705
|
-
<li>CLOUD_PREMIUM:高性能云硬盘</li>
|
|
22706
|
-
<li>CLOUD_BSSD:通用型SSD云硬盘</li>
|
|
22707
|
-
<li>CLOUD_HSSD:增强型SSD云硬盘</li>
|
|
22708
|
-
<li>CLOUD_TSSD:极速型SSD云硬盘</li><br>
|
|
22709
|
-
默认取值:当前有库存的硬盘类型。
|
|
22753
|
+
:param _DiskType: <p>系统盘类型。系统盘类型限制详见<a href="https://cloud.tencent.com/document/product/213/4952">存储概述</a>。取值范围:<br></p><li>LOCAL_BASIC:本地硬盘</li><li>LOCAL_SSD:本地SSD硬盘</li><li>CLOUD_BASIC:普通云硬盘</li><li>CLOUD_SSD:SSD云硬盘</li><li>CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_BSSD:通用型SSD云硬盘</li><li>CLOUD_HSSD:增强型SSD云硬盘</li><li>CLOUD_TSSD:极速型SSD云硬盘</li><br>默认取值:当前有库存的硬盘类型。
|
|
22710
22754
|
:type DiskType: str
|
|
22711
|
-
:param _DiskId:
|
|
22712
|
-
该参数目前仅用于 [DescribeInstances](https://cloud.tencent.com/document/product/213/15728) 等查询类接口的返回参数,不可用于 [RunInstances](https://cloud.tencent.com/document/product/213/15730) 等写接口的入参。
|
|
22755
|
+
:param _DiskId: <p>系统盘ID。<br>该参数目前仅用于 <a href="https://cloud.tencent.com/document/product/213/15728">DescribeInstances</a> 等查询类接口的返回参数,不可用于 <a href="https://cloud.tencent.com/document/product/213/15730">RunInstances</a> 等写接口的入参。</p>
|
|
22713
22756
|
:type DiskId: str
|
|
22714
|
-
:param _DiskSize:
|
|
22757
|
+
:param _DiskSize: <p>系统盘大小,单位:GiB。默认值为 50</p>
|
|
22715
22758
|
:type DiskSize: int
|
|
22716
|
-
:param _CdcId:
|
|
22759
|
+
:param _CdcId: <p>所属的独享集群ID。</p>
|
|
22717
22760
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
22718
22761
|
:type CdcId: str
|
|
22719
|
-
:param _DiskName:
|
|
22762
|
+
:param _DiskName: <p>磁盘名称,长度不超过128 个字符。</p>
|
|
22720
22763
|
:type DiskName: str
|
|
22764
|
+
:param _Encrypt: <p>系统盘是否加密。取值范围:true:加密false:不加密默认取值:false该参数目前仅用于 RunInstances 接口。当前参数灰度中。</p>
|
|
22765
|
+
:type Encrypt: bool
|
|
22766
|
+
:param _KmsKeyId: <p>自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。该参数目前仅用于 RunInstances 接口。当前参数灰度中。</p>
|
|
22767
|
+
:type KmsKeyId: str
|
|
22721
22768
|
"""
|
|
22722
22769
|
self._DiskType = None
|
|
22723
22770
|
self._DiskId = None
|
|
22724
22771
|
self._DiskSize = None
|
|
22725
22772
|
self._CdcId = None
|
|
22726
22773
|
self._DiskName = None
|
|
22774
|
+
self._Encrypt = None
|
|
22775
|
+
self._KmsKeyId = None
|
|
22727
22776
|
|
|
22728
22777
|
@property
|
|
22729
22778
|
def DiskType(self):
|
|
22730
|
-
r"""
|
|
22731
|
-
<li>LOCAL_BASIC:本地硬盘</li>
|
|
22732
|
-
<li>LOCAL_SSD:本地SSD硬盘</li>
|
|
22733
|
-
<li>CLOUD_BASIC:普通云硬盘</li>
|
|
22734
|
-
<li>CLOUD_SSD:SSD云硬盘</li>
|
|
22735
|
-
<li>CLOUD_PREMIUM:高性能云硬盘</li>
|
|
22736
|
-
<li>CLOUD_BSSD:通用型SSD云硬盘</li>
|
|
22737
|
-
<li>CLOUD_HSSD:增强型SSD云硬盘</li>
|
|
22738
|
-
<li>CLOUD_TSSD:极速型SSD云硬盘</li><br>
|
|
22739
|
-
默认取值:当前有库存的硬盘类型。
|
|
22779
|
+
r"""<p>系统盘类型。系统盘类型限制详见<a href="https://cloud.tencent.com/document/product/213/4952">存储概述</a>。取值范围:<br></p><li>LOCAL_BASIC:本地硬盘</li><li>LOCAL_SSD:本地SSD硬盘</li><li>CLOUD_BASIC:普通云硬盘</li><li>CLOUD_SSD:SSD云硬盘</li><li>CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_BSSD:通用型SSD云硬盘</li><li>CLOUD_HSSD:增强型SSD云硬盘</li><li>CLOUD_TSSD:极速型SSD云硬盘</li><br>默认取值:当前有库存的硬盘类型。
|
|
22740
22780
|
:rtype: str
|
|
22741
22781
|
"""
|
|
22742
22782
|
return self._DiskType
|
|
@@ -22747,8 +22787,7 @@ class SystemDisk(AbstractModel):
|
|
|
22747
22787
|
|
|
22748
22788
|
@property
|
|
22749
22789
|
def DiskId(self):
|
|
22750
|
-
r"""
|
|
22751
|
-
该参数目前仅用于 [DescribeInstances](https://cloud.tencent.com/document/product/213/15728) 等查询类接口的返回参数,不可用于 [RunInstances](https://cloud.tencent.com/document/product/213/15730) 等写接口的入参。
|
|
22790
|
+
r"""<p>系统盘ID。<br>该参数目前仅用于 <a href="https://cloud.tencent.com/document/product/213/15728">DescribeInstances</a> 等查询类接口的返回参数,不可用于 <a href="https://cloud.tencent.com/document/product/213/15730">RunInstances</a> 等写接口的入参。</p>
|
|
22752
22791
|
:rtype: str
|
|
22753
22792
|
"""
|
|
22754
22793
|
return self._DiskId
|
|
@@ -22759,7 +22798,7 @@ class SystemDisk(AbstractModel):
|
|
|
22759
22798
|
|
|
22760
22799
|
@property
|
|
22761
22800
|
def DiskSize(self):
|
|
22762
|
-
r"""
|
|
22801
|
+
r"""<p>系统盘大小,单位:GiB。默认值为 50</p>
|
|
22763
22802
|
:rtype: int
|
|
22764
22803
|
"""
|
|
22765
22804
|
return self._DiskSize
|
|
@@ -22770,7 +22809,7 @@ class SystemDisk(AbstractModel):
|
|
|
22770
22809
|
|
|
22771
22810
|
@property
|
|
22772
22811
|
def CdcId(self):
|
|
22773
|
-
r"""
|
|
22812
|
+
r"""<p>所属的独享集群ID。</p>
|
|
22774
22813
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
22775
22814
|
:rtype: str
|
|
22776
22815
|
"""
|
|
@@ -22782,7 +22821,7 @@ class SystemDisk(AbstractModel):
|
|
|
22782
22821
|
|
|
22783
22822
|
@property
|
|
22784
22823
|
def DiskName(self):
|
|
22785
|
-
r"""
|
|
22824
|
+
r"""<p>磁盘名称,长度不超过128 个字符。</p>
|
|
22786
22825
|
:rtype: str
|
|
22787
22826
|
"""
|
|
22788
22827
|
return self._DiskName
|
|
@@ -22791,6 +22830,28 @@ class SystemDisk(AbstractModel):
|
|
|
22791
22830
|
def DiskName(self, DiskName):
|
|
22792
22831
|
self._DiskName = DiskName
|
|
22793
22832
|
|
|
22833
|
+
@property
|
|
22834
|
+
def Encrypt(self):
|
|
22835
|
+
r"""<p>系统盘是否加密。取值范围:true:加密false:不加密默认取值:false该参数目前仅用于 RunInstances 接口。当前参数灰度中。</p>
|
|
22836
|
+
:rtype: bool
|
|
22837
|
+
"""
|
|
22838
|
+
return self._Encrypt
|
|
22839
|
+
|
|
22840
|
+
@Encrypt.setter
|
|
22841
|
+
def Encrypt(self, Encrypt):
|
|
22842
|
+
self._Encrypt = Encrypt
|
|
22843
|
+
|
|
22844
|
+
@property
|
|
22845
|
+
def KmsKeyId(self):
|
|
22846
|
+
r"""<p>自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。该参数目前仅用于 RunInstances 接口。当前参数灰度中。</p>
|
|
22847
|
+
:rtype: str
|
|
22848
|
+
"""
|
|
22849
|
+
return self._KmsKeyId
|
|
22850
|
+
|
|
22851
|
+
@KmsKeyId.setter
|
|
22852
|
+
def KmsKeyId(self, KmsKeyId):
|
|
22853
|
+
self._KmsKeyId = KmsKeyId
|
|
22854
|
+
|
|
22794
22855
|
|
|
22795
22856
|
def _deserialize(self, params):
|
|
22796
22857
|
self._DiskType = params.get("DiskType")
|
|
@@ -22798,6 +22859,8 @@ class SystemDisk(AbstractModel):
|
|
|
22798
22859
|
self._DiskSize = params.get("DiskSize")
|
|
22799
22860
|
self._CdcId = params.get("CdcId")
|
|
22800
22861
|
self._DiskName = params.get("DiskName")
|
|
22862
|
+
self._Encrypt = params.get("Encrypt")
|
|
22863
|
+
self._KmsKeyId = params.get("KmsKeyId")
|
|
22801
22864
|
memeber_set = set(params.keys())
|
|
22802
22865
|
for name, value in vars(self).items():
|
|
22803
22866
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cvm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.126
|
|
4
4
|
Summary: Tencent Cloud Cvm SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.126
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.126
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.112
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|