tencentcloud-sdk-python-cvm 3.0.1224__tar.gz → 3.0.1241__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.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/setup.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/tencentcloud/cvm/v20170312/errorcodes.py +24 -0
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/tencentcloud/cvm/v20170312/models.py +184 -0
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cvm-3.0.1241/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cvm-3.0.1224/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/README.rst +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/tencentcloud/cvm/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/tencentcloud/cvm/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1224 → tencentcloud-sdk-python-cvm-3.0.1241}/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.1241"],
|
|
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
|
|
|
@@ -9624,6 +9749,8 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
|
9624
9749
|
:type InstanceMarketOptions: :class:`tencentcloud.cvm.v20170312.models.InstanceMarketOptionsRequest`
|
|
9625
9750
|
:param _HpcClusterId: 高性能计算集群ID。
|
|
9626
9751
|
:type HpcClusterId: str
|
|
9752
|
+
:param _CpuTopology: 描述了实例CPU拓扑结构的相关信息。若不指定该参数,则按系统资源情况决定。
|
|
9753
|
+
:type CpuTopology: :class:`tencentcloud.cvm.v20170312.models.CpuTopology`
|
|
9627
9754
|
:param _LaunchTemplate: 实例启动模板。
|
|
9628
9755
|
:type LaunchTemplate: :class:`tencentcloud.cvm.v20170312.models.LaunchTemplate`
|
|
9629
9756
|
"""
|
|
@@ -9646,6 +9773,7 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
|
9646
9773
|
self._TagSpecification = None
|
|
9647
9774
|
self._InstanceMarketOptions = None
|
|
9648
9775
|
self._HpcClusterId = None
|
|
9776
|
+
self._CpuTopology = None
|
|
9649
9777
|
self._LaunchTemplate = None
|
|
9650
9778
|
|
|
9651
9779
|
@property
|
|
@@ -9800,6 +9928,14 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
|
9800
9928
|
def HpcClusterId(self, HpcClusterId):
|
|
9801
9929
|
self._HpcClusterId = HpcClusterId
|
|
9802
9930
|
|
|
9931
|
+
@property
|
|
9932
|
+
def CpuTopology(self):
|
|
9933
|
+
return self._CpuTopology
|
|
9934
|
+
|
|
9935
|
+
@CpuTopology.setter
|
|
9936
|
+
def CpuTopology(self, CpuTopology):
|
|
9937
|
+
self._CpuTopology = CpuTopology
|
|
9938
|
+
|
|
9803
9939
|
@property
|
|
9804
9940
|
def LaunchTemplate(self):
|
|
9805
9941
|
return self._LaunchTemplate
|
|
@@ -9855,6 +9991,9 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
|
9855
9991
|
self._InstanceMarketOptions = InstanceMarketOptionsRequest()
|
|
9856
9992
|
self._InstanceMarketOptions._deserialize(params.get("InstanceMarketOptions"))
|
|
9857
9993
|
self._HpcClusterId = params.get("HpcClusterId")
|
|
9994
|
+
if params.get("CpuTopology") is not None:
|
|
9995
|
+
self._CpuTopology = CpuTopology()
|
|
9996
|
+
self._CpuTopology._deserialize(params.get("CpuTopology"))
|
|
9858
9997
|
if params.get("LaunchTemplate") is not None:
|
|
9859
9998
|
self._LaunchTemplate = LaunchTemplate()
|
|
9860
9999
|
self._LaunchTemplate._deserialize(params.get("LaunchTemplate"))
|
|
@@ -18091,6 +18230,51 @@ class TagSpecification(AbstractModel):
|
|
|
18091
18230
|
|
|
18092
18231
|
|
|
18093
18232
|
|
|
18233
|
+
class TargetOS(AbstractModel):
|
|
18234
|
+
"""操作系统转换的目标操作系统信息
|
|
18235
|
+
|
|
18236
|
+
"""
|
|
18237
|
+
|
|
18238
|
+
def __init__(self):
|
|
18239
|
+
r"""
|
|
18240
|
+
:param _TargetOSType: 目标操作系统类型
|
|
18241
|
+
:type TargetOSType: str
|
|
18242
|
+
:param _TargetOSVersion: 目标操作系统版本
|
|
18243
|
+
:type TargetOSVersion: str
|
|
18244
|
+
"""
|
|
18245
|
+
self._TargetOSType = None
|
|
18246
|
+
self._TargetOSVersion = None
|
|
18247
|
+
|
|
18248
|
+
@property
|
|
18249
|
+
def TargetOSType(self):
|
|
18250
|
+
return self._TargetOSType
|
|
18251
|
+
|
|
18252
|
+
@TargetOSType.setter
|
|
18253
|
+
def TargetOSType(self, TargetOSType):
|
|
18254
|
+
self._TargetOSType = TargetOSType
|
|
18255
|
+
|
|
18256
|
+
@property
|
|
18257
|
+
def TargetOSVersion(self):
|
|
18258
|
+
return self._TargetOSVersion
|
|
18259
|
+
|
|
18260
|
+
@TargetOSVersion.setter
|
|
18261
|
+
def TargetOSVersion(self, TargetOSVersion):
|
|
18262
|
+
self._TargetOSVersion = TargetOSVersion
|
|
18263
|
+
|
|
18264
|
+
|
|
18265
|
+
def _deserialize(self, params):
|
|
18266
|
+
self._TargetOSType = params.get("TargetOSType")
|
|
18267
|
+
self._TargetOSVersion = params.get("TargetOSVersion")
|
|
18268
|
+
memeber_set = set(params.keys())
|
|
18269
|
+
for name, value in vars(self).items():
|
|
18270
|
+
property_name = name[1:]
|
|
18271
|
+
if property_name in memeber_set:
|
|
18272
|
+
memeber_set.remove(property_name)
|
|
18273
|
+
if len(memeber_set) > 0:
|
|
18274
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18275
|
+
|
|
18276
|
+
|
|
18277
|
+
|
|
18094
18278
|
class TerminateInstancesRequest(AbstractModel):
|
|
18095
18279
|
"""TerminateInstances请求参数结构体
|
|
18096
18280
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1241
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1224
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|