tencentcloud-sdk-python-cvm 3.1.126__tar.gz → 3.1.127__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.126 → tencentcloud_sdk_python_cvm-3.1.127}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/setup.py +1 -1
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/models.py +82 -22
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cvm-3.1.127/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cvm-3.1.126/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/README.rst +0 -0
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/__init__.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/cvm_client.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/cvm_client_async.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cvm-3.1.126 → tencentcloud_sdk_python_cvm-3.1.127}/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.127
|
|
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.127
|
|
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.127,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cvm SDK for Python',
|
|
@@ -1999,26 +1999,32 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
1999
1999
|
|
|
2000
2000
|
def __init__(self):
|
|
2001
2001
|
r"""
|
|
2002
|
-
:param _Name:
|
|
2002
|
+
:param _Name: <p>分散置放群组名称,长度1-60个字符,支持中、英文。</p>
|
|
2003
2003
|
:type Name: str
|
|
2004
|
-
:param _Type:
|
|
2004
|
+
:param _Type: <p>分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li></p>
|
|
2005
2005
|
:type Type: str
|
|
2006
|
-
:param _ClientToken:
|
|
2006
|
+
:param _ClientToken: <p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。</p>
|
|
2007
2007
|
:type ClientToken: str
|
|
2008
|
-
:param _Affinity:
|
|
2008
|
+
:param _Affinity: <p>置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1</p>
|
|
2009
2009
|
:type Affinity: int
|
|
2010
|
-
:param
|
|
2010
|
+
:param _Strategy: <p>置放群组类型,当前支持两种,分散置放群组和分区置放群组(灰度中),取值范围:PARTITION:分区置放群组,SPREAD:分散置放群组,不传该值默认是分散置放群组。</p>
|
|
2011
|
+
:type Strategy: str
|
|
2012
|
+
:param _PartitionCount: <p>分区置放群组的分区数量,取值范围:2-30,当置放群组类型是分区置放群组时传入(分区置放群组功能灰度中)。</p>
|
|
2013
|
+
:type PartitionCount: int
|
|
2014
|
+
:param _TagSpecification: <p>标签描述列表。通过指定该参数可以绑定标签到置放群组。</p>
|
|
2011
2015
|
:type TagSpecification: list of TagSpecification
|
|
2012
2016
|
"""
|
|
2013
2017
|
self._Name = None
|
|
2014
2018
|
self._Type = None
|
|
2015
2019
|
self._ClientToken = None
|
|
2016
2020
|
self._Affinity = None
|
|
2021
|
+
self._Strategy = None
|
|
2022
|
+
self._PartitionCount = None
|
|
2017
2023
|
self._TagSpecification = None
|
|
2018
2024
|
|
|
2019
2025
|
@property
|
|
2020
2026
|
def Name(self):
|
|
2021
|
-
r"""
|
|
2027
|
+
r"""<p>分散置放群组名称,长度1-60个字符,支持中、英文。</p>
|
|
2022
2028
|
:rtype: str
|
|
2023
2029
|
"""
|
|
2024
2030
|
return self._Name
|
|
@@ -2029,7 +2035,7 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
2029
2035
|
|
|
2030
2036
|
@property
|
|
2031
2037
|
def Type(self):
|
|
2032
|
-
r"""
|
|
2038
|
+
r"""<p>分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li></p>
|
|
2033
2039
|
:rtype: str
|
|
2034
2040
|
"""
|
|
2035
2041
|
return self._Type
|
|
@@ -2040,7 +2046,7 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
2040
2046
|
|
|
2041
2047
|
@property
|
|
2042
2048
|
def ClientToken(self):
|
|
2043
|
-
r"""
|
|
2049
|
+
r"""<p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。</p>
|
|
2044
2050
|
:rtype: str
|
|
2045
2051
|
"""
|
|
2046
2052
|
return self._ClientToken
|
|
@@ -2051,7 +2057,7 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
2051
2057
|
|
|
2052
2058
|
@property
|
|
2053
2059
|
def Affinity(self):
|
|
2054
|
-
r"""
|
|
2060
|
+
r"""<p>置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1</p>
|
|
2055
2061
|
:rtype: int
|
|
2056
2062
|
"""
|
|
2057
2063
|
return self._Affinity
|
|
@@ -2060,9 +2066,31 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
2060
2066
|
def Affinity(self, Affinity):
|
|
2061
2067
|
self._Affinity = Affinity
|
|
2062
2068
|
|
|
2069
|
+
@property
|
|
2070
|
+
def Strategy(self):
|
|
2071
|
+
r"""<p>置放群组类型,当前支持两种,分散置放群组和分区置放群组(灰度中),取值范围:PARTITION:分区置放群组,SPREAD:分散置放群组,不传该值默认是分散置放群组。</p>
|
|
2072
|
+
:rtype: str
|
|
2073
|
+
"""
|
|
2074
|
+
return self._Strategy
|
|
2075
|
+
|
|
2076
|
+
@Strategy.setter
|
|
2077
|
+
def Strategy(self, Strategy):
|
|
2078
|
+
self._Strategy = Strategy
|
|
2079
|
+
|
|
2080
|
+
@property
|
|
2081
|
+
def PartitionCount(self):
|
|
2082
|
+
r"""<p>分区置放群组的分区数量,取值范围:2-30,当置放群组类型是分区置放群组时传入(分区置放群组功能灰度中)。</p>
|
|
2083
|
+
:rtype: int
|
|
2084
|
+
"""
|
|
2085
|
+
return self._PartitionCount
|
|
2086
|
+
|
|
2087
|
+
@PartitionCount.setter
|
|
2088
|
+
def PartitionCount(self, PartitionCount):
|
|
2089
|
+
self._PartitionCount = PartitionCount
|
|
2090
|
+
|
|
2063
2091
|
@property
|
|
2064
2092
|
def TagSpecification(self):
|
|
2065
|
-
r"""
|
|
2093
|
+
r"""<p>标签描述列表。通过指定该参数可以绑定标签到置放群组。</p>
|
|
2066
2094
|
:rtype: list of TagSpecification
|
|
2067
2095
|
"""
|
|
2068
2096
|
return self._TagSpecification
|
|
@@ -2077,6 +2105,8 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
2077
2105
|
self._Type = params.get("Type")
|
|
2078
2106
|
self._ClientToken = params.get("ClientToken")
|
|
2079
2107
|
self._Affinity = params.get("Affinity")
|
|
2108
|
+
self._Strategy = params.get("Strategy")
|
|
2109
|
+
self._PartitionCount = params.get("PartitionCount")
|
|
2080
2110
|
if params.get("TagSpecification") is not None:
|
|
2081
2111
|
self._TagSpecification = []
|
|
2082
2112
|
for item in params.get("TagSpecification"):
|
|
@@ -2100,18 +2130,22 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
2100
2130
|
|
|
2101
2131
|
def __init__(self):
|
|
2102
2132
|
r"""
|
|
2103
|
-
:param _DisasterRecoverGroupId:
|
|
2133
|
+
:param _DisasterRecoverGroupId: <p>分散置放群组ID列表。</p>
|
|
2104
2134
|
:type DisasterRecoverGroupId: str
|
|
2105
|
-
:param _Type:
|
|
2135
|
+
:param _Type: <p>分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li></p>
|
|
2106
2136
|
:type Type: str
|
|
2107
|
-
:param _Name:
|
|
2137
|
+
:param _Name: <p>分散置放群组名称,长度1-60个字符,支持中、英文。</p>
|
|
2108
2138
|
:type Name: str
|
|
2109
|
-
:param _CvmQuotaTotal:
|
|
2139
|
+
:param _CvmQuotaTotal: <p>置放群组内可容纳的云服务器数量。</p>
|
|
2110
2140
|
:type CvmQuotaTotal: int
|
|
2111
|
-
:param _CurrentNum:
|
|
2141
|
+
:param _CurrentNum: <p>置放群组内已有的云服务器数量。</p>
|
|
2112
2142
|
:type CurrentNum: int
|
|
2113
|
-
:param _CreateTime:
|
|
2143
|
+
:param _CreateTime: <p>分散置放群组创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。</p>
|
|
2114
2144
|
:type CreateTime: str
|
|
2145
|
+
:param _Strategy: <p>置放群组类型,当前支持两种,分散置放群组和分区置放群组(功能灰度中),取值范围:PARTITION:分区置放群组,SPREAD:分散置放群组,默认是分散置放群组。</p>
|
|
2146
|
+
:type Strategy: str
|
|
2147
|
+
:param _PartitionCount: <p>分区置放群组的分区数量,取值范围:2-30,当置放群组类型是分区置放群组时,才有该值(分区置放群组功能灰度中)。</p>
|
|
2148
|
+
:type PartitionCount: int
|
|
2115
2149
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2116
2150
|
:type RequestId: str
|
|
2117
2151
|
"""
|
|
@@ -2121,11 +2155,13 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
2121
2155
|
self._CvmQuotaTotal = None
|
|
2122
2156
|
self._CurrentNum = None
|
|
2123
2157
|
self._CreateTime = None
|
|
2158
|
+
self._Strategy = None
|
|
2159
|
+
self._PartitionCount = None
|
|
2124
2160
|
self._RequestId = None
|
|
2125
2161
|
|
|
2126
2162
|
@property
|
|
2127
2163
|
def DisasterRecoverGroupId(self):
|
|
2128
|
-
r"""
|
|
2164
|
+
r"""<p>分散置放群组ID列表。</p>
|
|
2129
2165
|
:rtype: str
|
|
2130
2166
|
"""
|
|
2131
2167
|
return self._DisasterRecoverGroupId
|
|
@@ -2136,7 +2172,7 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
2136
2172
|
|
|
2137
2173
|
@property
|
|
2138
2174
|
def Type(self):
|
|
2139
|
-
r"""
|
|
2175
|
+
r"""<p>分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li></p>
|
|
2140
2176
|
:rtype: str
|
|
2141
2177
|
"""
|
|
2142
2178
|
return self._Type
|
|
@@ -2147,7 +2183,7 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
2147
2183
|
|
|
2148
2184
|
@property
|
|
2149
2185
|
def Name(self):
|
|
2150
|
-
r"""
|
|
2186
|
+
r"""<p>分散置放群组名称,长度1-60个字符,支持中、英文。</p>
|
|
2151
2187
|
:rtype: str
|
|
2152
2188
|
"""
|
|
2153
2189
|
return self._Name
|
|
@@ -2158,7 +2194,7 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
2158
2194
|
|
|
2159
2195
|
@property
|
|
2160
2196
|
def CvmQuotaTotal(self):
|
|
2161
|
-
r"""
|
|
2197
|
+
r"""<p>置放群组内可容纳的云服务器数量。</p>
|
|
2162
2198
|
:rtype: int
|
|
2163
2199
|
"""
|
|
2164
2200
|
return self._CvmQuotaTotal
|
|
@@ -2169,7 +2205,7 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
2169
2205
|
|
|
2170
2206
|
@property
|
|
2171
2207
|
def CurrentNum(self):
|
|
2172
|
-
r"""
|
|
2208
|
+
r"""<p>置放群组内已有的云服务器数量。</p>
|
|
2173
2209
|
:rtype: int
|
|
2174
2210
|
"""
|
|
2175
2211
|
return self._CurrentNum
|
|
@@ -2180,7 +2216,7 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
2180
2216
|
|
|
2181
2217
|
@property
|
|
2182
2218
|
def CreateTime(self):
|
|
2183
|
-
r"""
|
|
2219
|
+
r"""<p>分散置放群组创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。</p>
|
|
2184
2220
|
:rtype: str
|
|
2185
2221
|
"""
|
|
2186
2222
|
return self._CreateTime
|
|
@@ -2189,6 +2225,28 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
2189
2225
|
def CreateTime(self, CreateTime):
|
|
2190
2226
|
self._CreateTime = CreateTime
|
|
2191
2227
|
|
|
2228
|
+
@property
|
|
2229
|
+
def Strategy(self):
|
|
2230
|
+
r"""<p>置放群组类型,当前支持两种,分散置放群组和分区置放群组(功能灰度中),取值范围:PARTITION:分区置放群组,SPREAD:分散置放群组,默认是分散置放群组。</p>
|
|
2231
|
+
:rtype: str
|
|
2232
|
+
"""
|
|
2233
|
+
return self._Strategy
|
|
2234
|
+
|
|
2235
|
+
@Strategy.setter
|
|
2236
|
+
def Strategy(self, Strategy):
|
|
2237
|
+
self._Strategy = Strategy
|
|
2238
|
+
|
|
2239
|
+
@property
|
|
2240
|
+
def PartitionCount(self):
|
|
2241
|
+
r"""<p>分区置放群组的分区数量,取值范围:2-30,当置放群组类型是分区置放群组时,才有该值(分区置放群组功能灰度中)。</p>
|
|
2242
|
+
:rtype: int
|
|
2243
|
+
"""
|
|
2244
|
+
return self._PartitionCount
|
|
2245
|
+
|
|
2246
|
+
@PartitionCount.setter
|
|
2247
|
+
def PartitionCount(self, PartitionCount):
|
|
2248
|
+
self._PartitionCount = PartitionCount
|
|
2249
|
+
|
|
2192
2250
|
@property
|
|
2193
2251
|
def RequestId(self):
|
|
2194
2252
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2208,6 +2266,8 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
2208
2266
|
self._CvmQuotaTotal = params.get("CvmQuotaTotal")
|
|
2209
2267
|
self._CurrentNum = params.get("CurrentNum")
|
|
2210
2268
|
self._CreateTime = params.get("CreateTime")
|
|
2269
|
+
self._Strategy = params.get("Strategy")
|
|
2270
|
+
self._PartitionCount = params.get("PartitionCount")
|
|
2211
2271
|
self._RequestId = params.get("RequestId")
|
|
2212
2272
|
|
|
2213
2273
|
|
|
@@ -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.127
|
|
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.127
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.126
|
|
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
|