tencentcloud-sdk-python-cvm 3.0.1222__tar.gz → 3.0.1243__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.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/setup.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/tencentcloud/cvm/v20170312/cvm_client.py +46 -0
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/tencentcloud/cvm/v20170312/errorcodes.py +28 -1
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/tencentcloud/cvm/v20170312/models.py +372 -4
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cvm-3.0.1243/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cvm-3.0.1222/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/README.rst +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/tencentcloud/cvm/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/tencentcloud/cvm/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cvm-3.0.1222 → tencentcloud-sdk-python-cvm-3.0.1243}/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.1243"],
|
|
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
|
|
|
@@ -630,6 +653,29 @@ class CvmClient(AbstractClient):
|
|
|
630
653
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
631
654
|
|
|
632
655
|
|
|
656
|
+
def DescribeImageFromFamily(self, request):
|
|
657
|
+
"""本接口(DescribeImageFromFamily) 用于查看镜像族内可用镜像信息。
|
|
658
|
+
|
|
659
|
+
:param request: Request instance for DescribeImageFromFamily.
|
|
660
|
+
:type request: :class:`tencentcloud.cvm.v20170312.models.DescribeImageFromFamilyRequest`
|
|
661
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.DescribeImageFromFamilyResponse`
|
|
662
|
+
|
|
663
|
+
"""
|
|
664
|
+
try:
|
|
665
|
+
params = request._serialize()
|
|
666
|
+
headers = request.headers
|
|
667
|
+
body = self.call("DescribeImageFromFamily", params, headers=headers)
|
|
668
|
+
response = json.loads(body)
|
|
669
|
+
model = models.DescribeImageFromFamilyResponse()
|
|
670
|
+
model._deserialize(response["Response"])
|
|
671
|
+
return model
|
|
672
|
+
except Exception as e:
|
|
673
|
+
if isinstance(e, TencentCloudSDKException):
|
|
674
|
+
raise
|
|
675
|
+
else:
|
|
676
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
677
|
+
|
|
678
|
+
|
|
633
679
|
def DescribeImageQuota(self, request):
|
|
634
680
|
"""本接口(DescribeImageQuota)用于查询用户账号的镜像配额。
|
|
635
681
|
|
|
@@ -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
|
|
|
@@ -434,6 +443,9 @@ INVALIDPARAMETERVALUE_INVALIDFILENAMEPREFIXLIST = 'InvalidParameterValue.Invalid
|
|
|
434
443
|
# 不支持转为非GPU或其他类型GPU实例。
|
|
435
444
|
INVALIDPARAMETERVALUE_INVALIDGPUFAMILYCHANGE = 'InvalidParameterValue.InvalidGPUFamilyChange'
|
|
436
445
|
|
|
446
|
+
# 错误格式的镜像族名称
|
|
447
|
+
INVALIDPARAMETERVALUE_INVALIDIMAGEFAMILY = 'InvalidParameterValue.InvalidImageFamily'
|
|
448
|
+
|
|
437
449
|
# 镜像ID不支持指定的实例机型。
|
|
438
450
|
INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = 'InvalidParameterValue.InvalidImageForGivenInstanceType'
|
|
439
451
|
|
|
@@ -509,7 +521,7 @@ INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = 'InvalidParameterValue.KeyPairNotSup
|
|
|
509
521
|
# 不支持删除默认启动模板版本。
|
|
510
522
|
INVALIDPARAMETERVALUE_LAUNCHTEMPLATEDEFAULTVERSION = 'InvalidParameterValue.LaunchTemplateDefaultVersion'
|
|
511
523
|
|
|
512
|
-
# 实例启动模板ID
|
|
524
|
+
# 实例启动模板ID格式错误,请提供规范的实例启动模板ID,类似lt-xxxxxxxx,字母x代表小写字符或者数字。
|
|
513
525
|
INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = 'InvalidParameterValue.LaunchTemplateIdMalformed'
|
|
514
526
|
|
|
515
527
|
# 实例启动模板ID不存在。
|
|
@@ -890,6 +902,9 @@ UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = 'UnsupportedOperation.InstanceM
|
|
|
890
902
|
# 中心可用区和边缘可用区实例不能混用批量操作。
|
|
891
903
|
UNSUPPORTEDOPERATION_INSTANCEMIXEDZONETYPE = 'UnsupportedOperation.InstanceMixedZoneType'
|
|
892
904
|
|
|
905
|
+
# 指定实例不支持操作系统转换。
|
|
906
|
+
UNSUPPORTEDOPERATION_INSTANCEOSCONVERTOSNOTSUPPORT = 'UnsupportedOperation.InstanceOsConvertOsNotSupport'
|
|
907
|
+
|
|
893
908
|
# 请求不支持操作系统为`Xserver windows2012cndatacenterx86_64`的实例`ins-xxxxxx` 。
|
|
894
909
|
UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = 'UnsupportedOperation.InstanceOsWindows'
|
|
895
910
|
|
|
@@ -923,6 +938,9 @@ UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = 'UnsupportedOperation.InstanceStat
|
|
|
923
938
|
# 不支持操作创建失败的实例。
|
|
924
939
|
UNSUPPORTEDOPERATION_INSTANCESTATELAUNCHFAILED = 'UnsupportedOperation.InstanceStateLaunchFailed'
|
|
925
940
|
|
|
941
|
+
# 指定操作不支持非运行中状态的实例。
|
|
942
|
+
UNSUPPORTEDOPERATION_INSTANCESTATENOTRUNNING = 'UnsupportedOperation.InstanceStateNotRunning'
|
|
943
|
+
|
|
926
944
|
# 请求不支持创建未完成的实例
|
|
927
945
|
UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = 'UnsupportedOperation.InstanceStatePending'
|
|
928
946
|
|
|
@@ -1013,6 +1031,9 @@ UNSUPPORTEDOPERATION_LOCALDISKMIGRATINGTOCLOUDDISK = 'UnsupportedOperation.Local
|
|
|
1013
1031
|
# 此请求不支持该区域镜像,请更换其他镜像。
|
|
1014
1032
|
UNSUPPORTEDOPERATION_LOCATIONIMAGENOTSUPPORTED = 'UnsupportedOperation.LocationImageNotSupported'
|
|
1015
1033
|
|
|
1034
|
+
# 市场镜像实例不支持操作系统转换
|
|
1035
|
+
UNSUPPORTEDOPERATION_MARKETIMAGECONVERTOSUNSUPPORTED = 'UnsupportedOperation.MarketImageConvertOSUnsupported'
|
|
1036
|
+
|
|
1016
1037
|
# 从市场镜像创建的自定义镜像不支持导出。
|
|
1017
1038
|
UNSUPPORTEDOPERATION_MARKETIMAGEEXPORTUNSUPPORTED = 'UnsupportedOperation.MarketImageExportUnsupported'
|
|
1018
1039
|
|
|
@@ -1094,6 +1115,9 @@ UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGINGSAMEFAMILY = 'UnsupportedOperation.S
|
|
|
1094
1115
|
# 请求不支持该类型系统盘。
|
|
1095
1116
|
UNSUPPORTEDOPERATION_SYSTEMDISKTYPE = 'UnsupportedOperation.SystemDiskType'
|
|
1096
1117
|
|
|
1118
|
+
# 自动化助手不在线情况下,不支持该操作。
|
|
1119
|
+
UNSUPPORTEDOPERATION_TATAGENTNOTONLINE = 'UnsupportedOperation.TatAgentNotOnline'
|
|
1120
|
+
|
|
1097
1121
|
# 包月转包销,不支持包销折扣高于现有包年包月折扣。
|
|
1098
1122
|
UNSUPPORTEDOPERATION_UNDERWRITEDISCOUNTGREATERTHANPREPAIDDISCOUNT = 'UnsupportedOperation.UnderwriteDiscountGreaterThanPrepaidDiscount'
|
|
1099
1123
|
|
|
@@ -1118,6 +1142,9 @@ UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = 'UnsupportedOperation.Unsupp
|
|
|
1118
1142
|
# 指定的Pool非法。
|
|
1119
1143
|
UNSUPPORTEDOPERATION_UNSUPPORTEDPOOL = 'UnsupportedOperation.UnsupportedPool'
|
|
1120
1144
|
|
|
1145
|
+
# 指定用户不支持执行操作系统转换。
|
|
1146
|
+
UNSUPPORTEDOPERATION_USERCONVERTOSNOTSUPPORT = 'UnsupportedOperation.UserConvertOsNotSupport'
|
|
1147
|
+
|
|
1121
1148
|
# 用户限额操作的配额不足。
|
|
1122
1149
|
UNSUPPORTEDOPERATION_USERLIMITOPERATIONEXCEEDQUOTA = 'UnsupportedOperation.UserLimitOperationExceedQuota'
|
|
1123
1150
|
|
|
@@ -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
|
|
|
@@ -1495,7 +1620,7 @@ class CreateImageRequest(AbstractModel):
|
|
|
1495
1620
|
:param _ImageDescription: 镜像描述
|
|
1496
1621
|
:type ImageDescription: str
|
|
1497
1622
|
:param _ForcePoweroff: 是否执行强制关机以制作镜像。
|
|
1498
|
-
取值范围:<br><li>true
|
|
1623
|
+
取值范围:<br><li>true:表示关机之后制作镜像</li><br><li>false:表示开机状态制作镜像</li><br><br>默认取值:false。<br><br>开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
|
|
1499
1624
|
:type ForcePoweroff: str
|
|
1500
1625
|
:param _Sysprep: 创建Windows镜像时是否启用Sysprep。
|
|
1501
1626
|
取值范围:true或false,传true表示启用Sysprep,传false表示不启用,默认取值为false。
|
|
@@ -1510,6 +1635,8 @@ class CreateImageRequest(AbstractModel):
|
|
|
1510
1635
|
:type DryRun: bool
|
|
1511
1636
|
:param _TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
|
|
1512
1637
|
:type TagSpecification: list of TagSpecification
|
|
1638
|
+
:param _ImageFamily: 镜像族
|
|
1639
|
+
:type ImageFamily: str
|
|
1513
1640
|
"""
|
|
1514
1641
|
self._ImageName = None
|
|
1515
1642
|
self._InstanceId = None
|
|
@@ -1520,6 +1647,7 @@ class CreateImageRequest(AbstractModel):
|
|
|
1520
1647
|
self._SnapshotIds = None
|
|
1521
1648
|
self._DryRun = None
|
|
1522
1649
|
self._TagSpecification = None
|
|
1650
|
+
self._ImageFamily = None
|
|
1523
1651
|
|
|
1524
1652
|
@property
|
|
1525
1653
|
def ImageName(self):
|
|
@@ -1593,6 +1721,14 @@ class CreateImageRequest(AbstractModel):
|
|
|
1593
1721
|
def TagSpecification(self, TagSpecification):
|
|
1594
1722
|
self._TagSpecification = TagSpecification
|
|
1595
1723
|
|
|
1724
|
+
@property
|
|
1725
|
+
def ImageFamily(self):
|
|
1726
|
+
return self._ImageFamily
|
|
1727
|
+
|
|
1728
|
+
@ImageFamily.setter
|
|
1729
|
+
def ImageFamily(self, ImageFamily):
|
|
1730
|
+
self._ImageFamily = ImageFamily
|
|
1731
|
+
|
|
1596
1732
|
|
|
1597
1733
|
def _deserialize(self, params):
|
|
1598
1734
|
self._ImageName = params.get("ImageName")
|
|
@@ -1609,6 +1745,7 @@ class CreateImageRequest(AbstractModel):
|
|
|
1609
1745
|
obj = TagSpecification()
|
|
1610
1746
|
obj._deserialize(item)
|
|
1611
1747
|
self._TagSpecification.append(obj)
|
|
1748
|
+
self._ImageFamily = params.get("ImageFamily")
|
|
1612
1749
|
memeber_set = set(params.keys())
|
|
1613
1750
|
for name, value in vars(self).items():
|
|
1614
1751
|
property_name = name[1:]
|
|
@@ -4045,6 +4182,79 @@ class DescribeHpcClustersResponse(AbstractModel):
|
|
|
4045
4182
|
self._RequestId = params.get("RequestId")
|
|
4046
4183
|
|
|
4047
4184
|
|
|
4185
|
+
class DescribeImageFromFamilyRequest(AbstractModel):
|
|
4186
|
+
"""DescribeImageFromFamily请求参数结构体
|
|
4187
|
+
|
|
4188
|
+
"""
|
|
4189
|
+
|
|
4190
|
+
def __init__(self):
|
|
4191
|
+
r"""
|
|
4192
|
+
:param _ImageFamily: 镜像族
|
|
4193
|
+
:type ImageFamily: str
|
|
4194
|
+
"""
|
|
4195
|
+
self._ImageFamily = None
|
|
4196
|
+
|
|
4197
|
+
@property
|
|
4198
|
+
def ImageFamily(self):
|
|
4199
|
+
return self._ImageFamily
|
|
4200
|
+
|
|
4201
|
+
@ImageFamily.setter
|
|
4202
|
+
def ImageFamily(self, ImageFamily):
|
|
4203
|
+
self._ImageFamily = ImageFamily
|
|
4204
|
+
|
|
4205
|
+
|
|
4206
|
+
def _deserialize(self, params):
|
|
4207
|
+
self._ImageFamily = params.get("ImageFamily")
|
|
4208
|
+
memeber_set = set(params.keys())
|
|
4209
|
+
for name, value in vars(self).items():
|
|
4210
|
+
property_name = name[1:]
|
|
4211
|
+
if property_name in memeber_set:
|
|
4212
|
+
memeber_set.remove(property_name)
|
|
4213
|
+
if len(memeber_set) > 0:
|
|
4214
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4215
|
+
|
|
4216
|
+
|
|
4217
|
+
|
|
4218
|
+
class DescribeImageFromFamilyResponse(AbstractModel):
|
|
4219
|
+
"""DescribeImageFromFamily返回参数结构体
|
|
4220
|
+
|
|
4221
|
+
"""
|
|
4222
|
+
|
|
4223
|
+
def __init__(self):
|
|
4224
|
+
r"""
|
|
4225
|
+
:param _Image: 镜像信息,没有可用镜像是返回为空
|
|
4226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4227
|
+
:type Image: :class:`tencentcloud.cvm.v20170312.models.Image`
|
|
4228
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4229
|
+
:type RequestId: str
|
|
4230
|
+
"""
|
|
4231
|
+
self._Image = None
|
|
4232
|
+
self._RequestId = None
|
|
4233
|
+
|
|
4234
|
+
@property
|
|
4235
|
+
def Image(self):
|
|
4236
|
+
return self._Image
|
|
4237
|
+
|
|
4238
|
+
@Image.setter
|
|
4239
|
+
def Image(self, Image):
|
|
4240
|
+
self._Image = Image
|
|
4241
|
+
|
|
4242
|
+
@property
|
|
4243
|
+
def RequestId(self):
|
|
4244
|
+
return self._RequestId
|
|
4245
|
+
|
|
4246
|
+
@RequestId.setter
|
|
4247
|
+
def RequestId(self, RequestId):
|
|
4248
|
+
self._RequestId = RequestId
|
|
4249
|
+
|
|
4250
|
+
|
|
4251
|
+
def _deserialize(self, params):
|
|
4252
|
+
if params.get("Image") is not None:
|
|
4253
|
+
self._Image = Image()
|
|
4254
|
+
self._Image._deserialize(params.get("Image"))
|
|
4255
|
+
self._RequestId = params.get("RequestId")
|
|
4256
|
+
|
|
4257
|
+
|
|
4048
4258
|
class DescribeImageQuotaRequest(AbstractModel):
|
|
4049
4259
|
"""DescribeImageQuota请求参数结构体
|
|
4050
4260
|
|
|
@@ -8048,6 +8258,11 @@ IMPORTFAILED-导入失败
|
|
|
8048
8258
|
:type Tags: list of Tag
|
|
8049
8259
|
:param _LicenseType: 镜像许可类型
|
|
8050
8260
|
:type LicenseType: str
|
|
8261
|
+
:param _ImageFamily: 镜像族
|
|
8262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8263
|
+
:type ImageFamily: str
|
|
8264
|
+
:param _ImageDeprecated: 镜像是否废弃
|
|
8265
|
+
:type ImageDeprecated: bool
|
|
8051
8266
|
"""
|
|
8052
8267
|
self._ImageId = None
|
|
8053
8268
|
self._OsName = None
|
|
@@ -8066,6 +8281,8 @@ IMPORTFAILED-导入失败
|
|
|
8066
8281
|
self._SnapshotSet = None
|
|
8067
8282
|
self._Tags = None
|
|
8068
8283
|
self._LicenseType = None
|
|
8284
|
+
self._ImageFamily = None
|
|
8285
|
+
self._ImageDeprecated = None
|
|
8069
8286
|
|
|
8070
8287
|
@property
|
|
8071
8288
|
def ImageId(self):
|
|
@@ -8203,6 +8420,22 @@ IMPORTFAILED-导入失败
|
|
|
8203
8420
|
def LicenseType(self, LicenseType):
|
|
8204
8421
|
self._LicenseType = LicenseType
|
|
8205
8422
|
|
|
8423
|
+
@property
|
|
8424
|
+
def ImageFamily(self):
|
|
8425
|
+
return self._ImageFamily
|
|
8426
|
+
|
|
8427
|
+
@ImageFamily.setter
|
|
8428
|
+
def ImageFamily(self, ImageFamily):
|
|
8429
|
+
self._ImageFamily = ImageFamily
|
|
8430
|
+
|
|
8431
|
+
@property
|
|
8432
|
+
def ImageDeprecated(self):
|
|
8433
|
+
return self._ImageDeprecated
|
|
8434
|
+
|
|
8435
|
+
@ImageDeprecated.setter
|
|
8436
|
+
def ImageDeprecated(self, ImageDeprecated):
|
|
8437
|
+
self._ImageDeprecated = ImageDeprecated
|
|
8438
|
+
|
|
8206
8439
|
|
|
8207
8440
|
def _deserialize(self, params):
|
|
8208
8441
|
self._ImageId = params.get("ImageId")
|
|
@@ -8232,6 +8465,8 @@ IMPORTFAILED-导入失败
|
|
|
8232
8465
|
obj._deserialize(item)
|
|
8233
8466
|
self._Tags.append(obj)
|
|
8234
8467
|
self._LicenseType = params.get("LicenseType")
|
|
8468
|
+
self._ImageFamily = params.get("ImageFamily")
|
|
8469
|
+
self._ImageDeprecated = params.get("ImageDeprecated")
|
|
8235
8470
|
memeber_set = set(params.keys())
|
|
8236
8471
|
for name, value in vars(self).items():
|
|
8237
8472
|
property_name = name[1:]
|
|
@@ -8958,7 +9193,7 @@ class InquiryPriceRenewHostsRequest(AbstractModel):
|
|
|
8958
9193
|
:type HostIds: list of str
|
|
8959
9194
|
:param _HostChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。
|
|
8960
9195
|
:type HostChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.ChargePrepaid`
|
|
8961
|
-
:param _DryRun:
|
|
9196
|
+
:param _DryRun: 是否只预检此次请求。true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。如果检查不通过,则返回对应错误码;如果检查通过,则返回RequestId.false(默认):发送正常请求,通过检查后直接创建实例
|
|
8962
9197
|
:type DryRun: bool
|
|
8963
9198
|
"""
|
|
8964
9199
|
self._HostIds = None
|
|
@@ -9624,6 +9859,8 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
|
9624
9859
|
:type InstanceMarketOptions: :class:`tencentcloud.cvm.v20170312.models.InstanceMarketOptionsRequest`
|
|
9625
9860
|
:param _HpcClusterId: 高性能计算集群ID。
|
|
9626
9861
|
:type HpcClusterId: str
|
|
9862
|
+
:param _CpuTopology: 描述了实例CPU拓扑结构的相关信息。若不指定该参数,则按系统资源情况决定。
|
|
9863
|
+
:type CpuTopology: :class:`tencentcloud.cvm.v20170312.models.CpuTopology`
|
|
9627
9864
|
:param _LaunchTemplate: 实例启动模板。
|
|
9628
9865
|
:type LaunchTemplate: :class:`tencentcloud.cvm.v20170312.models.LaunchTemplate`
|
|
9629
9866
|
"""
|
|
@@ -9646,6 +9883,7 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
|
9646
9883
|
self._TagSpecification = None
|
|
9647
9884
|
self._InstanceMarketOptions = None
|
|
9648
9885
|
self._HpcClusterId = None
|
|
9886
|
+
self._CpuTopology = None
|
|
9649
9887
|
self._LaunchTemplate = None
|
|
9650
9888
|
|
|
9651
9889
|
@property
|
|
@@ -9800,6 +10038,14 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
|
9800
10038
|
def HpcClusterId(self, HpcClusterId):
|
|
9801
10039
|
self._HpcClusterId = HpcClusterId
|
|
9802
10040
|
|
|
10041
|
+
@property
|
|
10042
|
+
def CpuTopology(self):
|
|
10043
|
+
return self._CpuTopology
|
|
10044
|
+
|
|
10045
|
+
@CpuTopology.setter
|
|
10046
|
+
def CpuTopology(self, CpuTopology):
|
|
10047
|
+
self._CpuTopology = CpuTopology
|
|
10048
|
+
|
|
9803
10049
|
@property
|
|
9804
10050
|
def LaunchTemplate(self):
|
|
9805
10051
|
return self._LaunchTemplate
|
|
@@ -9855,6 +10101,9 @@ class InquiryPriceRunInstancesRequest(AbstractModel):
|
|
|
9855
10101
|
self._InstanceMarketOptions = InstanceMarketOptionsRequest()
|
|
9856
10102
|
self._InstanceMarketOptions._deserialize(params.get("InstanceMarketOptions"))
|
|
9857
10103
|
self._HpcClusterId = params.get("HpcClusterId")
|
|
10104
|
+
if params.get("CpuTopology") is not None:
|
|
10105
|
+
self._CpuTopology = CpuTopology()
|
|
10106
|
+
self._CpuTopology._deserialize(params.get("CpuTopology"))
|
|
9858
10107
|
if params.get("LaunchTemplate") is not None:
|
|
9859
10108
|
self._LaunchTemplate = LaunchTemplate()
|
|
9860
10109
|
self._LaunchTemplate._deserialize(params.get("LaunchTemplate"))
|
|
@@ -12574,13 +12823,13 @@ class LoginSettings(AbstractModel):
|
|
|
12574
12823
|
|
|
12575
12824
|
def __init__(self):
|
|
12576
12825
|
r"""
|
|
12577
|
-
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<
|
|
12826
|
+
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
12578
12827
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12579
12828
|
:type Password: str
|
|
12580
12829
|
:param _KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
|
|
12581
12830
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12582
12831
|
:type KeyIds: list of str
|
|
12583
|
-
:param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为
|
|
12832
|
+
:param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false。
|
|
12584
12833
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12585
12834
|
:type KeepImageLogin: str
|
|
12586
12835
|
"""
|
|
@@ -13004,10 +13253,16 @@ class ModifyImageAttributeRequest(AbstractModel):
|
|
|
13004
13253
|
:type ImageName: str
|
|
13005
13254
|
:param _ImageDescription: 设置新的镜像描述;必须满足下列限制: <li> 不得超过 256 个字符。</li>
|
|
13006
13255
|
:type ImageDescription: str
|
|
13256
|
+
:param _ImageFamily: 设置镜像族;
|
|
13257
|
+
:type ImageFamily: str
|
|
13258
|
+
:param _ImageDeprecated: 设置镜像是否废弃;
|
|
13259
|
+
:type ImageDeprecated: bool
|
|
13007
13260
|
"""
|
|
13008
13261
|
self._ImageId = None
|
|
13009
13262
|
self._ImageName = None
|
|
13010
13263
|
self._ImageDescription = None
|
|
13264
|
+
self._ImageFamily = None
|
|
13265
|
+
self._ImageDeprecated = None
|
|
13011
13266
|
|
|
13012
13267
|
@property
|
|
13013
13268
|
def ImageId(self):
|
|
@@ -13033,11 +13288,29 @@ class ModifyImageAttributeRequest(AbstractModel):
|
|
|
13033
13288
|
def ImageDescription(self, ImageDescription):
|
|
13034
13289
|
self._ImageDescription = ImageDescription
|
|
13035
13290
|
|
|
13291
|
+
@property
|
|
13292
|
+
def ImageFamily(self):
|
|
13293
|
+
return self._ImageFamily
|
|
13294
|
+
|
|
13295
|
+
@ImageFamily.setter
|
|
13296
|
+
def ImageFamily(self, ImageFamily):
|
|
13297
|
+
self._ImageFamily = ImageFamily
|
|
13298
|
+
|
|
13299
|
+
@property
|
|
13300
|
+
def ImageDeprecated(self):
|
|
13301
|
+
return self._ImageDeprecated
|
|
13302
|
+
|
|
13303
|
+
@ImageDeprecated.setter
|
|
13304
|
+
def ImageDeprecated(self, ImageDeprecated):
|
|
13305
|
+
self._ImageDeprecated = ImageDeprecated
|
|
13306
|
+
|
|
13036
13307
|
|
|
13037
13308
|
def _deserialize(self, params):
|
|
13038
13309
|
self._ImageId = params.get("ImageId")
|
|
13039
13310
|
self._ImageName = params.get("ImageName")
|
|
13040
13311
|
self._ImageDescription = params.get("ImageDescription")
|
|
13312
|
+
self._ImageFamily = params.get("ImageFamily")
|
|
13313
|
+
self._ImageDeprecated = params.get("ImageDeprecated")
|
|
13041
13314
|
memeber_set = set(params.keys())
|
|
13042
13315
|
for name, value in vars(self).items():
|
|
13043
13316
|
property_name = name[1:]
|
|
@@ -15556,11 +15829,19 @@ class ReservedInstancePrice(AbstractModel):
|
|
|
15556
15829
|
:type OriginalUsagePrice: float
|
|
15557
15830
|
:param _DiscountUsagePrice: 后续合计费用的折扣价,单位:元/小时
|
|
15558
15831
|
:type DiscountUsagePrice: float
|
|
15832
|
+
:param _FixedPriceDiscount: 预支费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
|
|
15833
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15834
|
+
:type FixedPriceDiscount: float
|
|
15835
|
+
:param _UsagePriceDiscount: 后续费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
|
|
15836
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15837
|
+
:type UsagePriceDiscount: float
|
|
15559
15838
|
"""
|
|
15560
15839
|
self._OriginalFixedPrice = None
|
|
15561
15840
|
self._DiscountFixedPrice = None
|
|
15562
15841
|
self._OriginalUsagePrice = None
|
|
15563
15842
|
self._DiscountUsagePrice = None
|
|
15843
|
+
self._FixedPriceDiscount = None
|
|
15844
|
+
self._UsagePriceDiscount = None
|
|
15564
15845
|
|
|
15565
15846
|
@property
|
|
15566
15847
|
def OriginalFixedPrice(self):
|
|
@@ -15594,12 +15875,30 @@ class ReservedInstancePrice(AbstractModel):
|
|
|
15594
15875
|
def DiscountUsagePrice(self, DiscountUsagePrice):
|
|
15595
15876
|
self._DiscountUsagePrice = DiscountUsagePrice
|
|
15596
15877
|
|
|
15878
|
+
@property
|
|
15879
|
+
def FixedPriceDiscount(self):
|
|
15880
|
+
return self._FixedPriceDiscount
|
|
15881
|
+
|
|
15882
|
+
@FixedPriceDiscount.setter
|
|
15883
|
+
def FixedPriceDiscount(self, FixedPriceDiscount):
|
|
15884
|
+
self._FixedPriceDiscount = FixedPriceDiscount
|
|
15885
|
+
|
|
15886
|
+
@property
|
|
15887
|
+
def UsagePriceDiscount(self):
|
|
15888
|
+
return self._UsagePriceDiscount
|
|
15889
|
+
|
|
15890
|
+
@UsagePriceDiscount.setter
|
|
15891
|
+
def UsagePriceDiscount(self, UsagePriceDiscount):
|
|
15892
|
+
self._UsagePriceDiscount = UsagePriceDiscount
|
|
15893
|
+
|
|
15597
15894
|
|
|
15598
15895
|
def _deserialize(self, params):
|
|
15599
15896
|
self._OriginalFixedPrice = params.get("OriginalFixedPrice")
|
|
15600
15897
|
self._DiscountFixedPrice = params.get("DiscountFixedPrice")
|
|
15601
15898
|
self._OriginalUsagePrice = params.get("OriginalUsagePrice")
|
|
15602
15899
|
self._DiscountUsagePrice = params.get("DiscountUsagePrice")
|
|
15900
|
+
self._FixedPriceDiscount = params.get("FixedPriceDiscount")
|
|
15901
|
+
self._UsagePriceDiscount = params.get("UsagePriceDiscount")
|
|
15603
15902
|
memeber_set = set(params.keys())
|
|
15604
15903
|
for name, value in vars(self).items():
|
|
15605
15904
|
property_name = name[1:]
|
|
@@ -15633,6 +15932,10 @@ class ReservedInstancePriceItem(AbstractModel):
|
|
|
15633
15932
|
:param _ProductDescription: 预留实例计费的平台描述(即操作系统)。形如:Linux。
|
|
15634
15933
|
返回项: Linux 。
|
|
15635
15934
|
:type ProductDescription: str
|
|
15935
|
+
:param _DiscountUsagePrice: 预支合计费用,单位:元。
|
|
15936
|
+
:type DiscountUsagePrice: float
|
|
15937
|
+
:param _DiscountFixedPrice: 后续合计费用的折扣价,单位:元/小时
|
|
15938
|
+
:type DiscountFixedPrice: float
|
|
15636
15939
|
"""
|
|
15637
15940
|
self._OfferingType = None
|
|
15638
15941
|
self._FixedPrice = None
|
|
@@ -15641,6 +15944,8 @@ class ReservedInstancePriceItem(AbstractModel):
|
|
|
15641
15944
|
self._Zone = None
|
|
15642
15945
|
self._Duration = None
|
|
15643
15946
|
self._ProductDescription = None
|
|
15947
|
+
self._DiscountUsagePrice = None
|
|
15948
|
+
self._DiscountFixedPrice = None
|
|
15644
15949
|
|
|
15645
15950
|
@property
|
|
15646
15951
|
def OfferingType(self):
|
|
@@ -15698,6 +16003,22 @@ class ReservedInstancePriceItem(AbstractModel):
|
|
|
15698
16003
|
def ProductDescription(self, ProductDescription):
|
|
15699
16004
|
self._ProductDescription = ProductDescription
|
|
15700
16005
|
|
|
16006
|
+
@property
|
|
16007
|
+
def DiscountUsagePrice(self):
|
|
16008
|
+
return self._DiscountUsagePrice
|
|
16009
|
+
|
|
16010
|
+
@DiscountUsagePrice.setter
|
|
16011
|
+
def DiscountUsagePrice(self, DiscountUsagePrice):
|
|
16012
|
+
self._DiscountUsagePrice = DiscountUsagePrice
|
|
16013
|
+
|
|
16014
|
+
@property
|
|
16015
|
+
def DiscountFixedPrice(self):
|
|
16016
|
+
return self._DiscountFixedPrice
|
|
16017
|
+
|
|
16018
|
+
@DiscountFixedPrice.setter
|
|
16019
|
+
def DiscountFixedPrice(self, DiscountFixedPrice):
|
|
16020
|
+
self._DiscountFixedPrice = DiscountFixedPrice
|
|
16021
|
+
|
|
15701
16022
|
|
|
15702
16023
|
def _deserialize(self, params):
|
|
15703
16024
|
self._OfferingType = params.get("OfferingType")
|
|
@@ -15707,6 +16028,8 @@ class ReservedInstancePriceItem(AbstractModel):
|
|
|
15707
16028
|
self._Zone = params.get("Zone")
|
|
15708
16029
|
self._Duration = params.get("Duration")
|
|
15709
16030
|
self._ProductDescription = params.get("ProductDescription")
|
|
16031
|
+
self._DiscountUsagePrice = params.get("DiscountUsagePrice")
|
|
16032
|
+
self._DiscountFixedPrice = params.get("DiscountFixedPrice")
|
|
15710
16033
|
memeber_set = set(params.keys())
|
|
15711
16034
|
for name, value in vars(self).items():
|
|
15712
16035
|
property_name = name[1:]
|
|
@@ -18091,6 +18414,51 @@ class TagSpecification(AbstractModel):
|
|
|
18091
18414
|
|
|
18092
18415
|
|
|
18093
18416
|
|
|
18417
|
+
class TargetOS(AbstractModel):
|
|
18418
|
+
"""操作系统转换的目标操作系统信息
|
|
18419
|
+
|
|
18420
|
+
"""
|
|
18421
|
+
|
|
18422
|
+
def __init__(self):
|
|
18423
|
+
r"""
|
|
18424
|
+
:param _TargetOSType: 目标操作系统类型
|
|
18425
|
+
:type TargetOSType: str
|
|
18426
|
+
:param _TargetOSVersion: 目标操作系统版本
|
|
18427
|
+
:type TargetOSVersion: str
|
|
18428
|
+
"""
|
|
18429
|
+
self._TargetOSType = None
|
|
18430
|
+
self._TargetOSVersion = None
|
|
18431
|
+
|
|
18432
|
+
@property
|
|
18433
|
+
def TargetOSType(self):
|
|
18434
|
+
return self._TargetOSType
|
|
18435
|
+
|
|
18436
|
+
@TargetOSType.setter
|
|
18437
|
+
def TargetOSType(self, TargetOSType):
|
|
18438
|
+
self._TargetOSType = TargetOSType
|
|
18439
|
+
|
|
18440
|
+
@property
|
|
18441
|
+
def TargetOSVersion(self):
|
|
18442
|
+
return self._TargetOSVersion
|
|
18443
|
+
|
|
18444
|
+
@TargetOSVersion.setter
|
|
18445
|
+
def TargetOSVersion(self, TargetOSVersion):
|
|
18446
|
+
self._TargetOSVersion = TargetOSVersion
|
|
18447
|
+
|
|
18448
|
+
|
|
18449
|
+
def _deserialize(self, params):
|
|
18450
|
+
self._TargetOSType = params.get("TargetOSType")
|
|
18451
|
+
self._TargetOSVersion = params.get("TargetOSVersion")
|
|
18452
|
+
memeber_set = set(params.keys())
|
|
18453
|
+
for name, value in vars(self).items():
|
|
18454
|
+
property_name = name[1:]
|
|
18455
|
+
if property_name in memeber_set:
|
|
18456
|
+
memeber_set.remove(property_name)
|
|
18457
|
+
if len(memeber_set) > 0:
|
|
18458
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18459
|
+
|
|
18460
|
+
|
|
18461
|
+
|
|
18094
18462
|
class TerminateInstancesRequest(AbstractModel):
|
|
18095
18463
|
"""TerminateInstances请求参数结构体
|
|
18096
18464
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1243
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1222
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|