tencentcloud-sdk-python-cvm 3.1.120__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.120 → tencentcloud_sdk_python_cvm-3.1.126}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/setup.py +1 -1
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/models.py +59 -6
- {tencentcloud_sdk_python_cvm-3.1.120 → 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.120/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/README.rst +0 -0
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/__init__.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/cvm_client.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/cvm_client_async.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud/cvm/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.126}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cvm-3.1.120 → 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:]
|
|
@@ -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.120
|
|
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
|