tencentcloud-sdk-python-cvm 3.0.1330__tar.gz → 3.0.1332__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.
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/setup.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud/cvm/v20170312/models.py +83 -4
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cvm-3.0.1332/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cvm-3.0.1330/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/README.rst +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud/cvm/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud/cvm/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud/cvm/v20170312/cvm_client.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud/cvm/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1330 → tencentcloud-sdk-python-cvm-3.0.1332}/tencentcloud_sdk_python_cvm.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1332"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cvm SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2017,10 +2017,16 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
2017
2017
|
:type Type: str
|
|
2018
2018
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
|
|
2019
2019
|
:type ClientToken: str
|
|
2020
|
+
:param _Affinity: 置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
|
|
2021
|
+
:type Affinity: int
|
|
2022
|
+
:param _TagSpecification: 标签描述列表。通过指定该参数可以绑定标签到置放群组。
|
|
2023
|
+
:type TagSpecification: list of TagSpecification
|
|
2020
2024
|
"""
|
|
2021
2025
|
self._Name = None
|
|
2022
2026
|
self._Type = None
|
|
2023
2027
|
self._ClientToken = None
|
|
2028
|
+
self._Affinity = None
|
|
2029
|
+
self._TagSpecification = None
|
|
2024
2030
|
|
|
2025
2031
|
@property
|
|
2026
2032
|
def Name(self):
|
|
@@ -2055,11 +2061,40 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
2055
2061
|
def ClientToken(self, ClientToken):
|
|
2056
2062
|
self._ClientToken = ClientToken
|
|
2057
2063
|
|
|
2064
|
+
@property
|
|
2065
|
+
def Affinity(self):
|
|
2066
|
+
"""置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
|
|
2067
|
+
:rtype: int
|
|
2068
|
+
"""
|
|
2069
|
+
return self._Affinity
|
|
2070
|
+
|
|
2071
|
+
@Affinity.setter
|
|
2072
|
+
def Affinity(self, Affinity):
|
|
2073
|
+
self._Affinity = Affinity
|
|
2074
|
+
|
|
2075
|
+
@property
|
|
2076
|
+
def TagSpecification(self):
|
|
2077
|
+
"""标签描述列表。通过指定该参数可以绑定标签到置放群组。
|
|
2078
|
+
:rtype: list of TagSpecification
|
|
2079
|
+
"""
|
|
2080
|
+
return self._TagSpecification
|
|
2081
|
+
|
|
2082
|
+
@TagSpecification.setter
|
|
2083
|
+
def TagSpecification(self, TagSpecification):
|
|
2084
|
+
self._TagSpecification = TagSpecification
|
|
2085
|
+
|
|
2058
2086
|
|
|
2059
2087
|
def _deserialize(self, params):
|
|
2060
2088
|
self._Name = params.get("Name")
|
|
2061
2089
|
self._Type = params.get("Type")
|
|
2062
2090
|
self._ClientToken = params.get("ClientToken")
|
|
2091
|
+
self._Affinity = params.get("Affinity")
|
|
2092
|
+
if params.get("TagSpecification") is not None:
|
|
2093
|
+
self._TagSpecification = []
|
|
2094
|
+
for item in params.get("TagSpecification"):
|
|
2095
|
+
obj = TagSpecification()
|
|
2096
|
+
obj._deserialize(item)
|
|
2097
|
+
self._TagSpecification.append(obj)
|
|
2063
2098
|
memeber_set = set(params.keys())
|
|
2064
2099
|
for name, value in vars(self).items():
|
|
2065
2100
|
property_name = name[1:]
|
|
@@ -4961,11 +4996,18 @@ class DescribeDisasterRecoverGroupsRequest(AbstractModel):
|
|
|
4961
4996
|
:type Offset: int
|
|
4962
4997
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
4963
4998
|
:type Limit: int
|
|
4999
|
+
:param _Filters: <li><strong>tag-key</strong></li>
|
|
5000
|
+
<p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
5001
|
+
<li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
5002
|
+
<li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
5003
|
+
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
|
|
5004
|
+
:type Filters: list of Filter
|
|
4964
5005
|
"""
|
|
4965
5006
|
self._DisasterRecoverGroupIds = None
|
|
4966
5007
|
self._Name = None
|
|
4967
5008
|
self._Offset = None
|
|
4968
5009
|
self._Limit = None
|
|
5010
|
+
self._Filters = None
|
|
4969
5011
|
|
|
4970
5012
|
@property
|
|
4971
5013
|
def DisasterRecoverGroupIds(self):
|
|
@@ -5011,12 +5053,33 @@ class DescribeDisasterRecoverGroupsRequest(AbstractModel):
|
|
|
5011
5053
|
def Limit(self, Limit):
|
|
5012
5054
|
self._Limit = Limit
|
|
5013
5055
|
|
|
5056
|
+
@property
|
|
5057
|
+
def Filters(self):
|
|
5058
|
+
"""<li><strong>tag-key</strong></li>
|
|
5059
|
+
<p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
5060
|
+
<li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
5061
|
+
<li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
5062
|
+
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
|
|
5063
|
+
:rtype: list of Filter
|
|
5064
|
+
"""
|
|
5065
|
+
return self._Filters
|
|
5066
|
+
|
|
5067
|
+
@Filters.setter
|
|
5068
|
+
def Filters(self, Filters):
|
|
5069
|
+
self._Filters = Filters
|
|
5070
|
+
|
|
5014
5071
|
|
|
5015
5072
|
def _deserialize(self, params):
|
|
5016
5073
|
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
|
5017
5074
|
self._Name = params.get("Name")
|
|
5018
5075
|
self._Offset = params.get("Offset")
|
|
5019
5076
|
self._Limit = params.get("Limit")
|
|
5077
|
+
if params.get("Filters") is not None:
|
|
5078
|
+
self._Filters = []
|
|
5079
|
+
for item in params.get("Filters"):
|
|
5080
|
+
obj = Filter()
|
|
5081
|
+
obj._deserialize(item)
|
|
5082
|
+
self._Filters.append(obj)
|
|
5020
5083
|
memeber_set = set(params.keys())
|
|
5021
5084
|
for name, value in vars(self).items():
|
|
5022
5085
|
property_name = name[1:]
|
|
@@ -8286,11 +8349,11 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8286
8349
|
:param _CurrentNum: 分散置放群组内云服务器当前数量。
|
|
8287
8350
|
:type CurrentNum: int
|
|
8288
8351
|
:param _InstanceIds: 分散置放群组内,云服务器id列表。
|
|
8289
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8290
8352
|
:type InstanceIds: list of str
|
|
8291
8353
|
:param _CreateTime: 分散置放群组创建时间。
|
|
8292
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8293
8354
|
:type CreateTime: str
|
|
8355
|
+
:param _Tags: 置放群组关联的标签列表。
|
|
8356
|
+
:type Tags: list of Tag
|
|
8294
8357
|
"""
|
|
8295
8358
|
self._DisasterRecoverGroupId = None
|
|
8296
8359
|
self._Name = None
|
|
@@ -8299,6 +8362,7 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8299
8362
|
self._CurrentNum = None
|
|
8300
8363
|
self._InstanceIds = None
|
|
8301
8364
|
self._CreateTime = None
|
|
8365
|
+
self._Tags = None
|
|
8302
8366
|
|
|
8303
8367
|
@property
|
|
8304
8368
|
def DisasterRecoverGroupId(self):
|
|
@@ -8361,7 +8425,6 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8361
8425
|
@property
|
|
8362
8426
|
def InstanceIds(self):
|
|
8363
8427
|
"""分散置放群组内,云服务器id列表。
|
|
8364
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8365
8428
|
:rtype: list of str
|
|
8366
8429
|
"""
|
|
8367
8430
|
return self._InstanceIds
|
|
@@ -8373,7 +8436,6 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8373
8436
|
@property
|
|
8374
8437
|
def CreateTime(self):
|
|
8375
8438
|
"""分散置放群组创建时间。
|
|
8376
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8377
8439
|
:rtype: str
|
|
8378
8440
|
"""
|
|
8379
8441
|
return self._CreateTime
|
|
@@ -8382,6 +8444,17 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8382
8444
|
def CreateTime(self, CreateTime):
|
|
8383
8445
|
self._CreateTime = CreateTime
|
|
8384
8446
|
|
|
8447
|
+
@property
|
|
8448
|
+
def Tags(self):
|
|
8449
|
+
"""置放群组关联的标签列表。
|
|
8450
|
+
:rtype: list of Tag
|
|
8451
|
+
"""
|
|
8452
|
+
return self._Tags
|
|
8453
|
+
|
|
8454
|
+
@Tags.setter
|
|
8455
|
+
def Tags(self, Tags):
|
|
8456
|
+
self._Tags = Tags
|
|
8457
|
+
|
|
8385
8458
|
|
|
8386
8459
|
def _deserialize(self, params):
|
|
8387
8460
|
self._DisasterRecoverGroupId = params.get("DisasterRecoverGroupId")
|
|
@@ -8391,6 +8464,12 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8391
8464
|
self._CurrentNum = params.get("CurrentNum")
|
|
8392
8465
|
self._InstanceIds = params.get("InstanceIds")
|
|
8393
8466
|
self._CreateTime = params.get("CreateTime")
|
|
8467
|
+
if params.get("Tags") is not None:
|
|
8468
|
+
self._Tags = []
|
|
8469
|
+
for item in params.get("Tags"):
|
|
8470
|
+
obj = Tag()
|
|
8471
|
+
obj._deserialize(item)
|
|
8472
|
+
self._Tags.append(obj)
|
|
8394
8473
|
memeber_set = set(params.keys())
|
|
8395
8474
|
for name, value in vars(self).items():
|
|
8396
8475
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1332
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1330
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|