tencentcloud-sdk-python-cvm 3.0.1331__tar.gz → 3.0.1333__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.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/setup.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/tencentcloud/cvm/v20170312/models.py +68 -4
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cvm-3.0.1333/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cvm-3.0.1331/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/README.rst +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/tencentcloud/cvm/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/tencentcloud/cvm/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/tencentcloud/cvm/v20170312/cvm_client.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/tencentcloud/cvm/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1331 → tencentcloud-sdk-python-cvm-3.0.1333}/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.1333"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cvm SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2019,11 +2019,14 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
2019
2019
|
:type ClientToken: str
|
|
2020
2020
|
:param _Affinity: 置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
|
|
2021
2021
|
:type Affinity: int
|
|
2022
|
+
:param _TagSpecification: 标签描述列表。通过指定该参数可以绑定标签到置放群组。
|
|
2023
|
+
:type TagSpecification: list of TagSpecification
|
|
2022
2024
|
"""
|
|
2023
2025
|
self._Name = None
|
|
2024
2026
|
self._Type = None
|
|
2025
2027
|
self._ClientToken = None
|
|
2026
2028
|
self._Affinity = None
|
|
2029
|
+
self._TagSpecification = None
|
|
2027
2030
|
|
|
2028
2031
|
@property
|
|
2029
2032
|
def Name(self):
|
|
@@ -2069,12 +2072,29 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
2069
2072
|
def Affinity(self, Affinity):
|
|
2070
2073
|
self._Affinity = Affinity
|
|
2071
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
|
+
|
|
2072
2086
|
|
|
2073
2087
|
def _deserialize(self, params):
|
|
2074
2088
|
self._Name = params.get("Name")
|
|
2075
2089
|
self._Type = params.get("Type")
|
|
2076
2090
|
self._ClientToken = params.get("ClientToken")
|
|
2077
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)
|
|
2078
2098
|
memeber_set = set(params.keys())
|
|
2079
2099
|
for name, value in vars(self).items():
|
|
2080
2100
|
property_name = name[1:]
|
|
@@ -4976,11 +4996,18 @@ class DescribeDisasterRecoverGroupsRequest(AbstractModel):
|
|
|
4976
4996
|
:type Offset: int
|
|
4977
4997
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
4978
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
|
|
4979
5005
|
"""
|
|
4980
5006
|
self._DisasterRecoverGroupIds = None
|
|
4981
5007
|
self._Name = None
|
|
4982
5008
|
self._Offset = None
|
|
4983
5009
|
self._Limit = None
|
|
5010
|
+
self._Filters = None
|
|
4984
5011
|
|
|
4985
5012
|
@property
|
|
4986
5013
|
def DisasterRecoverGroupIds(self):
|
|
@@ -5026,12 +5053,33 @@ class DescribeDisasterRecoverGroupsRequest(AbstractModel):
|
|
|
5026
5053
|
def Limit(self, Limit):
|
|
5027
5054
|
self._Limit = Limit
|
|
5028
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
|
+
|
|
5029
5071
|
|
|
5030
5072
|
def _deserialize(self, params):
|
|
5031
5073
|
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
|
5032
5074
|
self._Name = params.get("Name")
|
|
5033
5075
|
self._Offset = params.get("Offset")
|
|
5034
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)
|
|
5035
5083
|
memeber_set = set(params.keys())
|
|
5036
5084
|
for name, value in vars(self).items():
|
|
5037
5085
|
property_name = name[1:]
|
|
@@ -8301,11 +8349,11 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8301
8349
|
:param _CurrentNum: 分散置放群组内云服务器当前数量。
|
|
8302
8350
|
:type CurrentNum: int
|
|
8303
8351
|
:param _InstanceIds: 分散置放群组内,云服务器id列表。
|
|
8304
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8305
8352
|
:type InstanceIds: list of str
|
|
8306
8353
|
:param _CreateTime: 分散置放群组创建时间。
|
|
8307
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8308
8354
|
:type CreateTime: str
|
|
8355
|
+
:param _Tags: 置放群组关联的标签列表。
|
|
8356
|
+
:type Tags: list of Tag
|
|
8309
8357
|
"""
|
|
8310
8358
|
self._DisasterRecoverGroupId = None
|
|
8311
8359
|
self._Name = None
|
|
@@ -8314,6 +8362,7 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8314
8362
|
self._CurrentNum = None
|
|
8315
8363
|
self._InstanceIds = None
|
|
8316
8364
|
self._CreateTime = None
|
|
8365
|
+
self._Tags = None
|
|
8317
8366
|
|
|
8318
8367
|
@property
|
|
8319
8368
|
def DisasterRecoverGroupId(self):
|
|
@@ -8376,7 +8425,6 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8376
8425
|
@property
|
|
8377
8426
|
def InstanceIds(self):
|
|
8378
8427
|
"""分散置放群组内,云服务器id列表。
|
|
8379
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8380
8428
|
:rtype: list of str
|
|
8381
8429
|
"""
|
|
8382
8430
|
return self._InstanceIds
|
|
@@ -8388,7 +8436,6 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8388
8436
|
@property
|
|
8389
8437
|
def CreateTime(self):
|
|
8390
8438
|
"""分散置放群组创建时间。
|
|
8391
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8392
8439
|
:rtype: str
|
|
8393
8440
|
"""
|
|
8394
8441
|
return self._CreateTime
|
|
@@ -8397,6 +8444,17 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8397
8444
|
def CreateTime(self, CreateTime):
|
|
8398
8445
|
self._CreateTime = CreateTime
|
|
8399
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
|
+
|
|
8400
8458
|
|
|
8401
8459
|
def _deserialize(self, params):
|
|
8402
8460
|
self._DisasterRecoverGroupId = params.get("DisasterRecoverGroupId")
|
|
@@ -8406,6 +8464,12 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
8406
8464
|
self._CurrentNum = params.get("CurrentNum")
|
|
8407
8465
|
self._InstanceIds = params.get("InstanceIds")
|
|
8408
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)
|
|
8409
8473
|
memeber_set = set(params.keys())
|
|
8410
8474
|
for name, value in vars(self).items():
|
|
8411
8475
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1333
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1331
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|