tencentcloud-sdk-python-cvm 3.0.1208__tar.gz → 3.0.1228__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.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/setup.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/tencentcloud/cvm/v20170312/errorcodes.py +24 -0
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/tencentcloud/cvm/v20170312/models.py +178 -6
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cvm-3.0.1228/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cvm-3.0.1208/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/README.rst +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/tencentcloud/cvm/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/tencentcloud/cvm/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1208 → tencentcloud-sdk-python-cvm-3.0.1228}/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.1228"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cvm SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -151,6 +151,29 @@ class CvmClient(AbstractClient):
|
|
|
151
151
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
152
152
|
|
|
153
153
|
|
|
154
|
+
def ConvertOperatingSystems(self, request):
|
|
155
|
+
"""本接口(ConvertOperatingSystem)用于转换实例的操作系统,仅支持源操作系统为 CentOS 7、CentOS 8 的实例。
|
|
156
|
+
|
|
157
|
+
:param request: Request instance for ConvertOperatingSystems.
|
|
158
|
+
:type request: :class:`tencentcloud.cvm.v20170312.models.ConvertOperatingSystemsRequest`
|
|
159
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.ConvertOperatingSystemsResponse`
|
|
160
|
+
|
|
161
|
+
"""
|
|
162
|
+
try:
|
|
163
|
+
params = request._serialize()
|
|
164
|
+
headers = request.headers
|
|
165
|
+
body = self.call("ConvertOperatingSystems", params, headers=headers)
|
|
166
|
+
response = json.loads(body)
|
|
167
|
+
model = models.ConvertOperatingSystemsResponse()
|
|
168
|
+
model._deserialize(response["Response"])
|
|
169
|
+
return model
|
|
170
|
+
except Exception as e:
|
|
171
|
+
if isinstance(e, TencentCloudSDKException):
|
|
172
|
+
raise
|
|
173
|
+
else:
|
|
174
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
175
|
+
|
|
176
|
+
|
|
154
177
|
def CreateDisasterRecoverGroup(self, request):
|
|
155
178
|
"""本接口 (CreateDisasterRecoverGroup)用于创建[分散置放群组](https://cloud.tencent.com/document/product/213/15486)。创建好的置放群组,可在[创建实例](https://cloud.tencent.com/document/api/213/15730)时指定。
|
|
156
179
|
|
|
@@ -35,6 +35,9 @@ FAILEDOPERATION_BYOLIMAGESHAREFAILED = 'FailedOperation.BYOLImageShareFailed'
|
|
|
35
35
|
# 未找到指定的容灾组
|
|
36
36
|
FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = 'FailedOperation.DisasterRecoverGroupNotFound'
|
|
37
37
|
|
|
38
|
+
# 获取实例的自动化助手状态失败
|
|
39
|
+
FAILEDOPERATION_GETINSTANCETATAGENTSTATUSFAILED = 'FailedOperation.GetInstanceTATAgentStatusFailed'
|
|
40
|
+
|
|
38
41
|
# 标签键存在不合法字符
|
|
39
42
|
FAILEDOPERATION_ILLEGALTAGKEY = 'FailedOperation.IllegalTagKey'
|
|
40
43
|
|
|
@@ -221,6 +224,9 @@ INVALIDPARAMETER = 'InvalidParameter'
|
|
|
221
224
|
# 最多指定一个参数。
|
|
222
225
|
INVALIDPARAMETER_ATMOSTONE = 'InvalidParameter.AtMostOne'
|
|
223
226
|
|
|
227
|
+
# 不支持自动制作快照。
|
|
228
|
+
INVALIDPARAMETER_AUTOSNAPSHOTNOTSUPPORTED = 'InvalidParameter.AutoSnapshotNotSupported'
|
|
229
|
+
|
|
224
230
|
# 不支持参数CdcId。
|
|
225
231
|
INVALIDPARAMETER_CDCNOTSUPPORTED = 'InvalidParameter.CdcNotSupported'
|
|
226
232
|
|
|
@@ -281,6 +287,9 @@ INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = 'InvalidParameter.Inva
|
|
|
281
287
|
# 错误的url地址。
|
|
282
288
|
INVALIDPARAMETER_INVALIDPARAMETERURLERROR = 'InvalidParameter.InvalidParameterUrlError'
|
|
283
289
|
|
|
290
|
+
# 输入的 TargetOSType 非法
|
|
291
|
+
INVALIDPARAMETER_INVALIDTARGETOSTYPE = 'InvalidParameter.InvalidTargetOSType'
|
|
292
|
+
|
|
284
293
|
# CoreCount和ThreadPerCore必须同时提供。
|
|
285
294
|
INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = 'InvalidParameter.LackCoreCountOrThreadPerCore'
|
|
286
295
|
|
|
@@ -890,6 +899,9 @@ UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = 'UnsupportedOperation.InstanceM
|
|
|
890
899
|
# 中心可用区和边缘可用区实例不能混用批量操作。
|
|
891
900
|
UNSUPPORTEDOPERATION_INSTANCEMIXEDZONETYPE = 'UnsupportedOperation.InstanceMixedZoneType'
|
|
892
901
|
|
|
902
|
+
# 指定实例不支持操作系统转换。
|
|
903
|
+
UNSUPPORTEDOPERATION_INSTANCEOSCONVERTOSNOTSUPPORT = 'UnsupportedOperation.InstanceOsConvertOsNotSupport'
|
|
904
|
+
|
|
893
905
|
# 请求不支持操作系统为`Xserver windows2012cndatacenterx86_64`的实例`ins-xxxxxx` 。
|
|
894
906
|
UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = 'UnsupportedOperation.InstanceOsWindows'
|
|
895
907
|
|
|
@@ -923,6 +935,9 @@ UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = 'UnsupportedOperation.InstanceStat
|
|
|
923
935
|
# 不支持操作创建失败的实例。
|
|
924
936
|
UNSUPPORTEDOPERATION_INSTANCESTATELAUNCHFAILED = 'UnsupportedOperation.InstanceStateLaunchFailed'
|
|
925
937
|
|
|
938
|
+
# 指定操作不支持非运行中状态的实例。
|
|
939
|
+
UNSUPPORTEDOPERATION_INSTANCESTATENOTRUNNING = 'UnsupportedOperation.InstanceStateNotRunning'
|
|
940
|
+
|
|
926
941
|
# 请求不支持创建未完成的实例
|
|
927
942
|
UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = 'UnsupportedOperation.InstanceStatePending'
|
|
928
943
|
|
|
@@ -1013,6 +1028,9 @@ UNSUPPORTEDOPERATION_LOCALDISKMIGRATINGTOCLOUDDISK = 'UnsupportedOperation.Local
|
|
|
1013
1028
|
# 此请求不支持该区域镜像,请更换其他镜像。
|
|
1014
1029
|
UNSUPPORTEDOPERATION_LOCATIONIMAGENOTSUPPORTED = 'UnsupportedOperation.LocationImageNotSupported'
|
|
1015
1030
|
|
|
1031
|
+
# 市场镜像实例不支持操作系统转换
|
|
1032
|
+
UNSUPPORTEDOPERATION_MARKETIMAGECONVERTOSUNSUPPORTED = 'UnsupportedOperation.MarketImageConvertOSUnsupported'
|
|
1033
|
+
|
|
1016
1034
|
# 从市场镜像创建的自定义镜像不支持导出。
|
|
1017
1035
|
UNSUPPORTEDOPERATION_MARKETIMAGEEXPORTUNSUPPORTED = 'UnsupportedOperation.MarketImageExportUnsupported'
|
|
1018
1036
|
|
|
@@ -1094,6 +1112,9 @@ UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGINGSAMEFAMILY = 'UnsupportedOperation.S
|
|
|
1094
1112
|
# 请求不支持该类型系统盘。
|
|
1095
1113
|
UNSUPPORTEDOPERATION_SYSTEMDISKTYPE = 'UnsupportedOperation.SystemDiskType'
|
|
1096
1114
|
|
|
1115
|
+
# 自动化助手不在线情况下,不支持该操作。
|
|
1116
|
+
UNSUPPORTEDOPERATION_TATAGENTNOTONLINE = 'UnsupportedOperation.TatAgentNotOnline'
|
|
1117
|
+
|
|
1097
1118
|
# 包月转包销,不支持包销折扣高于现有包年包月折扣。
|
|
1098
1119
|
UNSUPPORTEDOPERATION_UNDERWRITEDISCOUNTGREATERTHANPREPAIDDISCOUNT = 'UnsupportedOperation.UnderwriteDiscountGreaterThanPrepaidDiscount'
|
|
1099
1120
|
|
|
@@ -1118,6 +1139,9 @@ UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = 'UnsupportedOperation.Unsupp
|
|
|
1118
1139
|
# 指定的Pool非法。
|
|
1119
1140
|
UNSUPPORTEDOPERATION_UNSUPPORTEDPOOL = 'UnsupportedOperation.UnsupportedPool'
|
|
1120
1141
|
|
|
1142
|
+
# 指定用户不支持执行操作系统转换。
|
|
1143
|
+
UNSUPPORTEDOPERATION_USERCONVERTOSNOTSUPPORT = 'UnsupportedOperation.UserConvertOsNotSupport'
|
|
1144
|
+
|
|
1121
1145
|
# 用户限额操作的配额不足。
|
|
1122
1146
|
UNSUPPORTEDOPERATION_USERLIMITOPERATIONEXCEEDQUOTA = 'UnsupportedOperation.UserLimitOperationExceedQuota'
|
|
1123
1147
|
|
|
@@ -1157,6 +1157,131 @@ class ConfigureChcDeployVpcResponse(AbstractModel):
|
|
|
1157
1157
|
self._RequestId = params.get("RequestId")
|
|
1158
1158
|
|
|
1159
1159
|
|
|
1160
|
+
class ConvertOperatingSystemsRequest(AbstractModel):
|
|
1161
|
+
"""ConvertOperatingSystems请求参数结构体
|
|
1162
|
+
|
|
1163
|
+
"""
|
|
1164
|
+
|
|
1165
|
+
def __init__(self):
|
|
1166
|
+
r"""
|
|
1167
|
+
:param _InstanceIds: 执行操作系统转换的实例 ID
|
|
1168
|
+
:type InstanceIds: list of str
|
|
1169
|
+
:param _MinimalConversion: 是否最小规模转换
|
|
1170
|
+
:type MinimalConversion: bool
|
|
1171
|
+
:param _DryRun: 是否只预检
|
|
1172
|
+
:type DryRun: bool
|
|
1173
|
+
:param _TargetOSType: 转换的目标操作系统类型。仅支持 TencentOS。
|
|
1174
|
+
:type TargetOSType: str
|
|
1175
|
+
"""
|
|
1176
|
+
self._InstanceIds = None
|
|
1177
|
+
self._MinimalConversion = None
|
|
1178
|
+
self._DryRun = None
|
|
1179
|
+
self._TargetOSType = None
|
|
1180
|
+
|
|
1181
|
+
@property
|
|
1182
|
+
def InstanceIds(self):
|
|
1183
|
+
return self._InstanceIds
|
|
1184
|
+
|
|
1185
|
+
@InstanceIds.setter
|
|
1186
|
+
def InstanceIds(self, InstanceIds):
|
|
1187
|
+
self._InstanceIds = InstanceIds
|
|
1188
|
+
|
|
1189
|
+
@property
|
|
1190
|
+
def MinimalConversion(self):
|
|
1191
|
+
return self._MinimalConversion
|
|
1192
|
+
|
|
1193
|
+
@MinimalConversion.setter
|
|
1194
|
+
def MinimalConversion(self, MinimalConversion):
|
|
1195
|
+
self._MinimalConversion = MinimalConversion
|
|
1196
|
+
|
|
1197
|
+
@property
|
|
1198
|
+
def DryRun(self):
|
|
1199
|
+
return self._DryRun
|
|
1200
|
+
|
|
1201
|
+
@DryRun.setter
|
|
1202
|
+
def DryRun(self, DryRun):
|
|
1203
|
+
self._DryRun = DryRun
|
|
1204
|
+
|
|
1205
|
+
@property
|
|
1206
|
+
def TargetOSType(self):
|
|
1207
|
+
return self._TargetOSType
|
|
1208
|
+
|
|
1209
|
+
@TargetOSType.setter
|
|
1210
|
+
def TargetOSType(self, TargetOSType):
|
|
1211
|
+
self._TargetOSType = TargetOSType
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
def _deserialize(self, params):
|
|
1215
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
1216
|
+
self._MinimalConversion = params.get("MinimalConversion")
|
|
1217
|
+
self._DryRun = params.get("DryRun")
|
|
1218
|
+
self._TargetOSType = params.get("TargetOSType")
|
|
1219
|
+
memeber_set = set(params.keys())
|
|
1220
|
+
for name, value in vars(self).items():
|
|
1221
|
+
property_name = name[1:]
|
|
1222
|
+
if property_name in memeber_set:
|
|
1223
|
+
memeber_set.remove(property_name)
|
|
1224
|
+
if len(memeber_set) > 0:
|
|
1225
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
class ConvertOperatingSystemsResponse(AbstractModel):
|
|
1230
|
+
"""ConvertOperatingSystems返回参数结构体
|
|
1231
|
+
|
|
1232
|
+
"""
|
|
1233
|
+
|
|
1234
|
+
def __init__(self):
|
|
1235
|
+
r"""
|
|
1236
|
+
:param _SupportTargetOSList: 转换的目标操系统信息,仅在入参 DryRun 为 true 时返回。
|
|
1237
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1238
|
+
:type SupportTargetOSList: list of TargetOS
|
|
1239
|
+
:param _TaskId: 操作系统转换的任务 ID
|
|
1240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1241
|
+
:type TaskId: str
|
|
1242
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1243
|
+
:type RequestId: str
|
|
1244
|
+
"""
|
|
1245
|
+
self._SupportTargetOSList = None
|
|
1246
|
+
self._TaskId = None
|
|
1247
|
+
self._RequestId = None
|
|
1248
|
+
|
|
1249
|
+
@property
|
|
1250
|
+
def SupportTargetOSList(self):
|
|
1251
|
+
return self._SupportTargetOSList
|
|
1252
|
+
|
|
1253
|
+
@SupportTargetOSList.setter
|
|
1254
|
+
def SupportTargetOSList(self, SupportTargetOSList):
|
|
1255
|
+
self._SupportTargetOSList = SupportTargetOSList
|
|
1256
|
+
|
|
1257
|
+
@property
|
|
1258
|
+
def TaskId(self):
|
|
1259
|
+
return self._TaskId
|
|
1260
|
+
|
|
1261
|
+
@TaskId.setter
|
|
1262
|
+
def TaskId(self, TaskId):
|
|
1263
|
+
self._TaskId = TaskId
|
|
1264
|
+
|
|
1265
|
+
@property
|
|
1266
|
+
def RequestId(self):
|
|
1267
|
+
return self._RequestId
|
|
1268
|
+
|
|
1269
|
+
@RequestId.setter
|
|
1270
|
+
def RequestId(self, RequestId):
|
|
1271
|
+
self._RequestId = RequestId
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
def _deserialize(self, params):
|
|
1275
|
+
if params.get("SupportTargetOSList") is not None:
|
|
1276
|
+
self._SupportTargetOSList = []
|
|
1277
|
+
for item in params.get("SupportTargetOSList"):
|
|
1278
|
+
obj = TargetOS()
|
|
1279
|
+
obj._deserialize(item)
|
|
1280
|
+
self._SupportTargetOSList.append(obj)
|
|
1281
|
+
self._TaskId = params.get("TaskId")
|
|
1282
|
+
self._RequestId = params.get("RequestId")
|
|
1283
|
+
|
|
1284
|
+
|
|
1160
1285
|
class CpuTopology(AbstractModel):
|
|
1161
1286
|
"""描述了实例CPU拓扑结构的相关信息。
|
|
1162
1287
|
|
|
@@ -1212,7 +1337,7 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
|
1212
1337
|
r"""
|
|
1213
1338
|
:param _Name: 分散置放群组名称,长度1-60个字符,支持中、英文。
|
|
1214
1339
|
:type Name: str
|
|
1215
|
-
:param _Type: 分散置放群组类型,取值范围:<br><li>HOST
|
|
1340
|
+
:param _Type: 分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li>
|
|
1216
1341
|
:type Type: str
|
|
1217
1342
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
|
|
1218
1343
|
:type ClientToken: str
|
|
@@ -1269,7 +1394,7 @@ class CreateDisasterRecoverGroupResponse(AbstractModel):
|
|
|
1269
1394
|
r"""
|
|
1270
1395
|
:param _DisasterRecoverGroupId: 分散置放群组ID列表。
|
|
1271
1396
|
:type DisasterRecoverGroupId: str
|
|
1272
|
-
:param _Type: 分散置放群组类型,取值范围:<br><li>HOST
|
|
1397
|
+
:param _Type: 分散置放群组类型,取值范围:<br><li>HOST:物理机</li><li>SW:交换机</li><li>RACK:机架</li>
|
|
1273
1398
|
:type Type: str
|
|
1274
1399
|
:param _Name: 分散置放群组名称,长度1-60个字符,支持中、英文。
|
|
1275
1400
|
:type Name: str
|
|
@@ -6745,7 +6870,10 @@ class DisasterRecoverGroup(AbstractModel):
|
|
|
6745
6870
|
:type DisasterRecoverGroupId: str
|
|
6746
6871
|
:param _Name: 分散置放群组名称,长度1-60个字符。
|
|
6747
6872
|
:type Name: str
|
|
6748
|
-
:param _Type: 分散置放群组类型,取值范围:<br
|
|
6873
|
+
:param _Type: 分散置放群组类型,取值范围:<br>
|
|
6874
|
+
<li>HOST:物理机<br></li>
|
|
6875
|
+
<li>SW:交换机<br></li>
|
|
6876
|
+
<li>RACK:机架</li>
|
|
6749
6877
|
:type Type: str
|
|
6750
6878
|
:param _CvmQuotaTotal: 分散置放群组内最大容纳云服务器数量。
|
|
6751
6879
|
:type CvmQuotaTotal: int
|
|
@@ -14018,7 +14146,7 @@ class Placement(AbstractModel):
|
|
|
14018
14146
|
|
|
14019
14147
|
def __init__(self):
|
|
14020
14148
|
r"""
|
|
14021
|
-
:param _Zone:
|
|
14149
|
+
:param _Zone: 实例所属的可用区名称。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
|
14022
14150
|
:type Zone: str
|
|
14023
14151
|
:param _ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
|
14024
14152
|
:type ProjectId: int
|
|
@@ -18088,6 +18216,51 @@ class TagSpecification(AbstractModel):
|
|
|
18088
18216
|
|
|
18089
18217
|
|
|
18090
18218
|
|
|
18219
|
+
class TargetOS(AbstractModel):
|
|
18220
|
+
"""操作系统转换的目标操作系统信息
|
|
18221
|
+
|
|
18222
|
+
"""
|
|
18223
|
+
|
|
18224
|
+
def __init__(self):
|
|
18225
|
+
r"""
|
|
18226
|
+
:param _TargetOSType: 目标操作系统类型
|
|
18227
|
+
:type TargetOSType: str
|
|
18228
|
+
:param _TargetOSVersion: 目标操作系统版本
|
|
18229
|
+
:type TargetOSVersion: str
|
|
18230
|
+
"""
|
|
18231
|
+
self._TargetOSType = None
|
|
18232
|
+
self._TargetOSVersion = None
|
|
18233
|
+
|
|
18234
|
+
@property
|
|
18235
|
+
def TargetOSType(self):
|
|
18236
|
+
return self._TargetOSType
|
|
18237
|
+
|
|
18238
|
+
@TargetOSType.setter
|
|
18239
|
+
def TargetOSType(self, TargetOSType):
|
|
18240
|
+
self._TargetOSType = TargetOSType
|
|
18241
|
+
|
|
18242
|
+
@property
|
|
18243
|
+
def TargetOSVersion(self):
|
|
18244
|
+
return self._TargetOSVersion
|
|
18245
|
+
|
|
18246
|
+
@TargetOSVersion.setter
|
|
18247
|
+
def TargetOSVersion(self, TargetOSVersion):
|
|
18248
|
+
self._TargetOSVersion = TargetOSVersion
|
|
18249
|
+
|
|
18250
|
+
|
|
18251
|
+
def _deserialize(self, params):
|
|
18252
|
+
self._TargetOSType = params.get("TargetOSType")
|
|
18253
|
+
self._TargetOSVersion = params.get("TargetOSVersion")
|
|
18254
|
+
memeber_set = set(params.keys())
|
|
18255
|
+
for name, value in vars(self).items():
|
|
18256
|
+
property_name = name[1:]
|
|
18257
|
+
if property_name in memeber_set:
|
|
18258
|
+
memeber_set.remove(property_name)
|
|
18259
|
+
if len(memeber_set) > 0:
|
|
18260
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18261
|
+
|
|
18262
|
+
|
|
18263
|
+
|
|
18091
18264
|
class TerminateInstancesRequest(AbstractModel):
|
|
18092
18265
|
"""TerminateInstances请求参数结构体
|
|
18093
18266
|
|
|
@@ -18170,7 +18343,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
|
18170
18343
|
:type VpcId: str
|
|
18171
18344
|
:param _SubnetId: 私有网络子网ID,形如`subnet-xxx`。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet?rid=1)查询;也可以调用接口 [DescribeSubnets](/document/api/215/15784) ,从接口返回中的`unSubnetId`字段获取。若在创建子机时SubnetId与VpcId同时传入`DEFAULT`,则强制使用默认vpc网络。
|
|
18172
18345
|
:type SubnetId: str
|
|
18173
|
-
:param _AsVpcGateway: 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<
|
|
18346
|
+
:param _AsVpcGateway: 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<li>true:表示用作公网网关</li><li>false:表示不作为公网网关</li>默认取值:false。
|
|
18174
18347
|
:type AsVpcGateway: bool
|
|
18175
18348
|
:param _PrivateIpAddresses: 私有网络子网 IP 数组,在创建实例、修改实例vpc属性操作中可使用此参数。当前仅批量创建多台实例时支持传入相同子网的多个 IP。
|
|
18176
18349
|
:type PrivateIpAddresses: list of str
|
|
@@ -18297,7 +18470,6 @@ class ZoneInfo(AbstractModel):
|
|
|
18297
18470
|
<li> na-siliconvalley-2 </li>
|
|
18298
18471
|
<li> eu-frankfurt-1 </li>
|
|
18299
18472
|
<li> eu-frankfurt-2 </li>
|
|
18300
|
-
<li> na-toronto-1 </li>
|
|
18301
18473
|
<li> na-ashburn-1 </li>
|
|
18302
18474
|
<li> na-ashburn-2 </li>
|
|
18303
18475
|
<li> ap-nanjing-1 </li>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1228
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1208
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|