tencentcloud-sdk-python-cvm 3.1.120__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.

Files changed (17) hide show
  1. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/models.py +141 -28
  5. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cvm-3.1.127/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cvm-3.1.120/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/cvm_client.py +0 -0
  13. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/cvm_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud/cvm/v20170312/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cvm-3.1.120 → tencentcloud_sdk_python_cvm-3.1.127}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cvm-3.1.120 → 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.120
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.120
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.120,<4.0.0"],
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',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.120'
17
+ __version__ = '3.1.127'
@@ -1999,26 +1999,32 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
1999
1999
 
2000
2000
  def __init__(self):
2001
2001
  r"""
2002
- :param _Name: 分散置放群组名称,长度1-60个字符,支持中、英文。
2002
+ :param _Name: <p>分散置放群组名称,长度1-60个字符,支持中、英文。</p>
2003
2003
  :type Name: str
2004
- :param _Type: 分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li>
2004
+ :param _Type: <p>分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li></p>
2005
2005
  :type Type: str
2006
- :param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
2006
+ :param _ClientToken: <p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。</p>
2007
2007
  :type ClientToken: str
2008
- :param _Affinity: 置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
2008
+ :param _Affinity: <p>置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1</p>
2009
2009
  :type Affinity: int
2010
- :param _TagSpecification: 标签描述列表。通过指定该参数可以绑定标签到置放群组。
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"""分散置放群组名称,长度1-60个字符,支持中、英文。
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"""分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li>
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"""用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
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"""置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
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: 分散置放群组ID列表。
2133
+ :param _DisasterRecoverGroupId: <p>分散置放群组ID列表。</p>
2104
2134
  :type DisasterRecoverGroupId: str
2105
- :param _Type: 分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li>
2135
+ :param _Type: <p>分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li></p>
2106
2136
  :type Type: str
2107
- :param _Name: 分散置放群组名称,长度1-60个字符,支持中、英文。
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: 分散置放群组创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ
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"""分散置放群组ID列表。
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"""分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li>
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"""分散置放群组名称,长度1-60个字符,支持中、英文。
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"""分散置放群组创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ
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
 
@@ -13158,6 +13218,8 @@ class Instance(AbstractModel):
13158
13218
  :type DedicatedClusterId: str
13159
13219
  :param _IsolatedSource: <p>实例隔离类型。取值范围:<br><li>ARREAR:表示欠费隔离<br></li><li>EXPIRE:表示到期隔离<br></li><li>MANMADE:表示主动退还隔离<br></li><li>NOTISOLATED:表示未隔离<br></li></p>
13160
13220
  :type IsolatedSource: str
13221
+ :param _DisasterRecoverGroupIds: <p>置放群组列表(目前仅支持一个)</p>
13222
+ :type DisasterRecoverGroupIds: list of str
13161
13223
  :param _GPUInfo: <p>GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。</p>
13162
13224
  :type GPUInfo: :class:`tencentcloud.cvm.v20170312.models.GPUInfo`
13163
13225
  :param _LicenseType: <p>实例的操作系统许可类型,默认为TencentCloud</p>
@@ -13213,6 +13275,7 @@ class Instance(AbstractModel):
13213
13275
  self._RdmaIpAddresses = None
13214
13276
  self._DedicatedClusterId = None
13215
13277
  self._IsolatedSource = None
13278
+ self._DisasterRecoverGroupIds = None
13216
13279
  self._GPUInfo = None
13217
13280
  self._LicenseType = None
13218
13281
  self._DisableApiTermination = None
@@ -13537,6 +13600,8 @@ class Instance(AbstractModel):
13537
13600
 
13538
13601
  @property
13539
13602
  def DisasterRecoverGroupId(self):
13603
+ warnings.warn("parameter `DisasterRecoverGroupId` is deprecated", DeprecationWarning)
13604
+
13540
13605
  r"""<p>分散置放群组ID。</p>
13541
13606
  :rtype: str
13542
13607
  """
@@ -13544,6 +13609,8 @@ class Instance(AbstractModel):
13544
13609
 
13545
13610
  @DisasterRecoverGroupId.setter
13546
13611
  def DisasterRecoverGroupId(self, DisasterRecoverGroupId):
13612
+ warnings.warn("parameter `DisasterRecoverGroupId` is deprecated", DeprecationWarning)
13613
+
13547
13614
  self._DisasterRecoverGroupId = DisasterRecoverGroupId
13548
13615
 
13549
13616
  @property
@@ -13615,6 +13682,17 @@ class Instance(AbstractModel):
13615
13682
  def IsolatedSource(self, IsolatedSource):
13616
13683
  self._IsolatedSource = IsolatedSource
13617
13684
 
13685
+ @property
13686
+ def DisasterRecoverGroupIds(self):
13687
+ r"""<p>置放群组列表(目前仅支持一个)</p>
13688
+ :rtype: list of str
13689
+ """
13690
+ return self._DisasterRecoverGroupIds
13691
+
13692
+ @DisasterRecoverGroupIds.setter
13693
+ def DisasterRecoverGroupIds(self, DisasterRecoverGroupIds):
13694
+ self._DisasterRecoverGroupIds = DisasterRecoverGroupIds
13695
+
13618
13696
  @property
13619
13697
  def GPUInfo(self):
13620
13698
  r"""<p>GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。</p>
@@ -13772,6 +13850,7 @@ class Instance(AbstractModel):
13772
13850
  self._RdmaIpAddresses = params.get("RdmaIpAddresses")
13773
13851
  self._DedicatedClusterId = params.get("DedicatedClusterId")
13774
13852
  self._IsolatedSource = params.get("IsolatedSource")
13853
+ self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
13775
13854
  if params.get("GPUInfo") is not None:
13776
13855
  self._GPUInfo = GPUInfo()
13777
13856
  self._GPUInfo._deserialize(params.get("GPUInfo"))
@@ -17628,20 +17707,26 @@ class ModifyInstancesDisasterRecoverGroupRequest(AbstractModel):
17628
17707
 
17629
17708
  def __init__(self):
17630
17709
  r"""
17631
- :param _InstanceIds: 一个或多个待操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100
17710
+ :param _InstanceIds: <p>一个或多个待操作的实例ID。可通过<a href="https://cloud.tencent.com/document/api/213/15728"> DescribeInstances </a>接口返回值中的<code>InstanceId</code>获取。每次请求批量实例的上限为100</p>
17632
17711
  :type InstanceIds: list of str
17633
- :param _DisasterRecoverGroupId: 分散置放群组ID,可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取
17712
+ :param _DisasterRecoverGroupId: <p>分散置放群组ID,可使用<a href="https://cloud.tencent.com/document/api/213/17810">DescribeDisasterRecoverGroups</a>接口获取</p>
17634
17713
  :type DisasterRecoverGroupId: str
17635
- :param _Force: 是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false
17714
+ :param _Force: <p>是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false</p>
17636
17715
  :type Force: bool
17716
+ :param _DisasterRecoverGroupIds: <p>置放群组id列表(目前仅支持指定一个)</p>
17717
+ :type DisasterRecoverGroupIds: list of str
17718
+ :param _PartitionNumber: <p>分区置放群组的分区Id,取值范围:1-10,具体取决于所选置放群组的分区数量,如果选中的置放群组是分区置放群组,该值不传默认随机(该功能灰度中)</p>
17719
+ :type PartitionNumber: int
17637
17720
  """
17638
17721
  self._InstanceIds = None
17639
17722
  self._DisasterRecoverGroupId = None
17640
17723
  self._Force = None
17724
+ self._DisasterRecoverGroupIds = None
17725
+ self._PartitionNumber = None
17641
17726
 
17642
17727
  @property
17643
17728
  def InstanceIds(self):
17644
- r"""一个或多个待操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100
17729
+ r"""<p>一个或多个待操作的实例ID。可通过<a href="https://cloud.tencent.com/document/api/213/15728"> DescribeInstances </a>接口返回值中的<code>InstanceId</code>获取。每次请求批量实例的上限为100</p>
17645
17730
  :rtype: list of str
17646
17731
  """
17647
17732
  return self._InstanceIds
@@ -17652,18 +17737,22 @@ class ModifyInstancesDisasterRecoverGroupRequest(AbstractModel):
17652
17737
 
17653
17738
  @property
17654
17739
  def DisasterRecoverGroupId(self):
17655
- r"""分散置放群组ID,可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取
17740
+ warnings.warn("parameter `DisasterRecoverGroupId` is deprecated", DeprecationWarning)
17741
+
17742
+ r"""<p>分散置放群组ID,可使用<a href="https://cloud.tencent.com/document/api/213/17810">DescribeDisasterRecoverGroups</a>接口获取</p>
17656
17743
  :rtype: str
17657
17744
  """
17658
17745
  return self._DisasterRecoverGroupId
17659
17746
 
17660
17747
  @DisasterRecoverGroupId.setter
17661
17748
  def DisasterRecoverGroupId(self, DisasterRecoverGroupId):
17749
+ warnings.warn("parameter `DisasterRecoverGroupId` is deprecated", DeprecationWarning)
17750
+
17662
17751
  self._DisasterRecoverGroupId = DisasterRecoverGroupId
17663
17752
 
17664
17753
  @property
17665
17754
  def Force(self):
17666
- r"""是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false
17755
+ r"""<p>是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false</p>
17667
17756
  :rtype: bool
17668
17757
  """
17669
17758
  return self._Force
@@ -17672,11 +17761,35 @@ class ModifyInstancesDisasterRecoverGroupRequest(AbstractModel):
17672
17761
  def Force(self, Force):
17673
17762
  self._Force = Force
17674
17763
 
17764
+ @property
17765
+ def DisasterRecoverGroupIds(self):
17766
+ r"""<p>置放群组id列表(目前仅支持指定一个)</p>
17767
+ :rtype: list of str
17768
+ """
17769
+ return self._DisasterRecoverGroupIds
17770
+
17771
+ @DisasterRecoverGroupIds.setter
17772
+ def DisasterRecoverGroupIds(self, DisasterRecoverGroupIds):
17773
+ self._DisasterRecoverGroupIds = DisasterRecoverGroupIds
17774
+
17775
+ @property
17776
+ def PartitionNumber(self):
17777
+ r"""<p>分区置放群组的分区Id,取值范围:1-10,具体取决于所选置放群组的分区数量,如果选中的置放群组是分区置放群组,该值不传默认随机(该功能灰度中)</p>
17778
+ :rtype: int
17779
+ """
17780
+ return self._PartitionNumber
17781
+
17782
+ @PartitionNumber.setter
17783
+ def PartitionNumber(self, PartitionNumber):
17784
+ self._PartitionNumber = PartitionNumber
17785
+
17675
17786
 
17676
17787
  def _deserialize(self, params):
17677
17788
  self._InstanceIds = params.get("InstanceIds")
17678
17789
  self._DisasterRecoverGroupId = params.get("DisasterRecoverGroupId")
17679
17790
  self._Force = params.get("Force")
17791
+ self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
17792
+ self._PartitionNumber = params.get("PartitionNumber")
17680
17793
  memeber_set = set(params.keys())
17681
17794
  for name, value in vars(self).items():
17682
17795
  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.120
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.120
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.120