tencentcloud-sdk-python 3.0.1333__py2.py3-none-any.whl → 3.0.1335__py2.py3-none-any.whl

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.
Files changed (66) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/acp/v20220105/models.py +0 -32
  3. tencentcloud/aiart/v20221229/models.py +2 -0
  4. tencentcloud/antiddos/v20200309/models.py +2 -2
  5. tencentcloud/apm/v20210622/models.py +63 -55
  6. tencentcloud/autoscaling/v20180419/autoscaling_client.py +3 -2
  7. tencentcloud/billing/v20180709/models.py +30 -474
  8. tencentcloud/cat/v20180409/models.py +2 -2
  9. tencentcloud/ciam/v20220331/models.py +0 -92
  10. tencentcloud/cls/v20201016/models.py +0 -2
  11. tencentcloud/common/abstract_client.py +3 -0
  12. tencentcloud/controlcenter/v20230110/controlcenter_client.py +92 -0
  13. tencentcloud/controlcenter/v20230110/errorcodes.py +9 -0
  14. tencentcloud/controlcenter/v20230110/models.py +947 -3
  15. tencentcloud/csip/v20221121/models.py +94 -4
  16. tencentcloud/cvm/v20170312/cvm_client.py +92 -0
  17. tencentcloud/cvm/v20170312/errorcodes.py +9 -0
  18. tencentcloud/cvm/v20170312/models.py +1627 -332
  19. tencentcloud/cynosdb/v20190107/models.py +17 -2
  20. tencentcloud/dbbrain/v20191016/models.py +0 -6
  21. tencentcloud/dbbrain/v20210527/models.py +0 -12
  22. tencentcloud/dlc/v20210125/models.py +32 -0
  23. tencentcloud/emr/v20190103/models.py +17 -0
  24. tencentcloud/es/v20180416/models.py +15 -0
  25. tencentcloud/goosefs/v20220519/models.py +0 -10
  26. tencentcloud/gwlb/v20240906/models.py +34 -2
  27. tencentcloud/ims/v20201229/ims_client.py +18 -12
  28. tencentcloud/iotcloud/v20210408/models.py +15 -15
  29. tencentcloud/keewidb/v20220308/models.py +0 -78
  30. tencentcloud/lcic/v20220817/models.py +75 -54
  31. tencentcloud/live/v20180801/models.py +8 -58
  32. tencentcloud/lke/v20231130/errorcodes.py +0 -12
  33. tencentcloud/lke/v20231130/lke_client.py +46 -50
  34. tencentcloud/lke/v20231130/models.py +385 -284
  35. tencentcloud/lowcode/v20210108/models.py +182 -2
  36. tencentcloud/mariadb/v20170312/models.py +10 -10
  37. tencentcloud/mongodb/v20190725/models.py +10 -4
  38. tencentcloud/mqtt/v20240516/models.py +238 -0
  39. tencentcloud/mqtt/v20240516/mqtt_client.py +46 -0
  40. tencentcloud/ocr/v20181119/errorcodes.py +3 -0
  41. tencentcloud/ocr/v20181119/models.py +32 -28
  42. tencentcloud/ocr/v20181119/ocr_client.py +1 -1
  43. tencentcloud/partners/v20180321/models.py +197 -0
  44. tencentcloud/partners/v20180321/partners_client.py +23 -0
  45. tencentcloud/pts/v20210728/models.py +68 -6
  46. tencentcloud/redis/v20180412/models.py +0 -66
  47. tencentcloud/rum/v20210622/models.py +150 -0
  48. tencentcloud/tag/v20180813/models.py +2 -2
  49. tencentcloud/tat/v20201028/models.py +494 -180
  50. tencentcloud/tat/v20201028/tat_client.py +2 -2
  51. tencentcloud/tdmq/v20200217/models.py +192 -0
  52. tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
  53. tencentcloud/teo/v20220901/models.py +14 -4
  54. tencentcloud/tke/v20180525/models.py +0 -312
  55. tencentcloud/tke/v20220501/models.py +0 -2
  56. tencentcloud/tms/v20201229/models.py +15 -0
  57. tencentcloud/tsf/v20180326/models.py +0 -880
  58. tencentcloud/vdb/v20230616/models.py +0 -12
  59. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  60. tencentcloud/waf/v20180125/models.py +0 -6
  61. tencentcloud/wedata/v20210820/models.py +173 -0
  62. {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/METADATA +1 -1
  63. {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/RECORD +66 -66
  64. {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/LICENSE +0 -0
  65. {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/WHEEL +0 -0
  66. {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/top_level.txt +0 -0
@@ -725,16 +725,12 @@ class ChcDeployExtraConfig(AbstractModel):
725
725
  def __init__(self):
726
726
  r"""
727
727
  :param _MiniOsType: minos类型。是使用腾讯云的minios,还是客户自己的minios。
728
- 注意:此字段可能返回 null,表示取不到有效值。
729
728
  :type MiniOsType: str
730
729
  :param _BootType: 服务器的架构和启动方式。取值为x86_legacy, arm_uefi。
731
- 注意:此字段可能返回 null,表示取不到有效值。
732
730
  :type BootType: str
733
731
  :param _BootFile: PXE使用的引导文件。默认为pxelinux.0。
734
- 注意:此字段可能返回 null,表示取不到有效值。
735
732
  :type BootFile: str
736
733
  :param _NextServerAddress: tftp服务器的ip地址。
737
- 注意:此字段可能返回 null,表示取不到有效值。
738
734
  :type NextServerAddress: str
739
735
  """
740
736
  self._MiniOsType = None
@@ -745,7 +741,6 @@ class ChcDeployExtraConfig(AbstractModel):
745
741
  @property
746
742
  def MiniOsType(self):
747
743
  """minos类型。是使用腾讯云的minios,还是客户自己的minios。
748
- 注意:此字段可能返回 null,表示取不到有效值。
749
744
  :rtype: str
750
745
  """
751
746
  return self._MiniOsType
@@ -757,7 +752,6 @@ class ChcDeployExtraConfig(AbstractModel):
757
752
  @property
758
753
  def BootType(self):
759
754
  """服务器的架构和启动方式。取值为x86_legacy, arm_uefi。
760
- 注意:此字段可能返回 null,表示取不到有效值。
761
755
  :rtype: str
762
756
  """
763
757
  return self._BootType
@@ -769,7 +763,6 @@ class ChcDeployExtraConfig(AbstractModel):
769
763
  @property
770
764
  def BootFile(self):
771
765
  """PXE使用的引导文件。默认为pxelinux.0。
772
- 注意:此字段可能返回 null,表示取不到有效值。
773
766
  :rtype: str
774
767
  """
775
768
  return self._BootFile
@@ -781,7 +774,6 @@ class ChcDeployExtraConfig(AbstractModel):
781
774
  @property
782
775
  def NextServerAddress(self):
783
776
  """tftp服务器的ip地址。
784
- 注意:此字段可能返回 null,表示取不到有效值。
785
777
  :rtype: str
786
778
  """
787
779
  return self._NextServerAddress
@@ -830,82 +822,58 @@ class ChcHost(AbstractModel):
830
822
  </ul>
831
823
  :type InstanceState: str
832
824
  :param _DeviceType: 设备类型。
833
- 注意:此字段可能返回 null,表示取不到有效值。
834
825
  :type DeviceType: str
835
826
  :param _Placement: 所属可用区
836
827
  :type Placement: :class:`tencentcloud.cvm.v20170312.models.Placement`
837
828
  :param _BmcVirtualPrivateCloud: 带外网络。
838
- 注意:此字段可能返回 null,表示取不到有效值。
839
829
  :type BmcVirtualPrivateCloud: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
840
830
  :param _BmcIp: 带外网络Ip。
841
- 注意:此字段可能返回 null,表示取不到有效值。
842
831
  :type BmcIp: str
843
832
  :param _BmcSecurityGroupIds: 带外网络安全组Id。
844
- 注意:此字段可能返回 null,表示取不到有效值。
845
833
  :type BmcSecurityGroupIds: list of str
846
834
  :param _DeployVirtualPrivateCloud: 部署网络。
847
- 注意:此字段可能返回 null,表示取不到有效值。
848
835
  :type DeployVirtualPrivateCloud: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
849
836
  :param _DeployIp: 部署网络Ip。
850
- 注意:此字段可能返回 null,表示取不到有效值。
851
837
  :type DeployIp: str
852
838
  :param _DeploySecurityGroupIds: 部署网络安全组Id。
853
- 注意:此字段可能返回 null,表示取不到有效值。
854
839
  :type DeploySecurityGroupIds: list of str
855
840
  :param _CvmInstanceId: 关联的云主机Id。
856
- 注意:此字段可能返回 null,表示取不到有效值。
857
841
  :type CvmInstanceId: str
858
842
  :param _CreatedTime: 服务器导入的时间。
859
843
  :type CreatedTime: str
860
844
  :param _HardwareDescription: 机型的硬件描述,分别为CPU核数,内存容量和磁盘容量
861
- 注意:此字段可能返回 null,表示取不到有效值。
862
845
  :type HardwareDescription: str
863
846
  :param _CPU: CHC物理服务器的CPU核数
864
- 注意:此字段可能返回 null,表示取不到有效值。
865
847
  :type CPU: int
866
848
  :param _Memory: CHC物理服务器的内存大小,单位为GB
867
- 注意:此字段可能返回 null,表示取不到有效值。
868
849
  :type Memory: int
869
850
  :param _Disk: CHC物理服务器的磁盘信息
870
- 注意:此字段可能返回 null,表示取不到有效值。
871
851
  :type Disk: str
872
852
  :param _BmcMAC: 带外网络下分配的MAC地址
873
- 注意:此字段可能返回 null,表示取不到有效值。
874
853
  :type BmcMAC: str
875
854
  :param _DeployMAC: 部署网络下分配的MAC地址
876
- 注意:此字段可能返回 null,表示取不到有效值。
877
855
  :type DeployMAC: str
878
856
  :param _TenantType: 设备托管类型。
879
857
  HOSTING: 托管
880
858
  TENANT: 租赁
881
- 注意:此字段可能返回 null,表示取不到有效值。
882
859
  :type TenantType: str
883
860
  :param _DeployExtraConfig: chc dhcp选项,用于minios调试。
884
- 注意:此字段可能返回 null,表示取不到有效值。
885
861
  :type DeployExtraConfig: :class:`tencentcloud.cvm.v20170312.models.ChcDeployExtraConfig`
886
862
  :param _Gpu: GPU型号。
887
- 注意:此字段可能返回 null,表示取不到有效值。
888
863
  :type Gpu: str
889
864
  :param _NetworkCard: 网卡型号。主要指RDMA网卡。
890
- 注意:此字段可能返回 null,表示取不到有效值。
891
865
  :type NetworkCard: str
892
866
  :param _IsPredefinedType: 是否是预定义机型。
893
- 注意:此字段可能返回 null,表示取不到有效值。
894
867
  :type IsPredefinedType: bool
895
868
  :param _ChcInstanceType: CHC云主机机型。
896
- 注意:此字段可能返回 null,表示取不到有效值。
897
869
  :type ChcInstanceType: str
898
870
  :param _ChcInstanceFamily: CHC云主机机型簇。
899
- 注意:此字段可能返回 null,表示取不到有效值。
900
871
  :type ChcInstanceFamily: str
901
872
  :param _ChcInstanceFamilyName: CHC云主机机型簇名称。
902
- 注意:此字段可能返回 null,表示取不到有效值。
903
873
  :type ChcInstanceFamilyName: str
904
874
  :param _ResaleAppId: 转售客户的AppId。
905
- 注意:此字段可能返回 null,表示取不到有效值。
906
875
  :type ResaleAppId: str
907
876
  :param _ResaleAccountId: 转售客户的账号ID。
908
- 注意:此字段可能返回 null,表示取不到有效值。
909
877
  :type ResaleAccountId: str
910
878
  :param _SaleStatus: 售卖状态。<br/>
911
879
  <ul>
@@ -914,10 +882,8 @@ TENANT: 租赁
914
882
  <li>SOLD: 已售卖</li>
915
883
  </ul>
916
884
 
917
- 注意:此字段可能返回 null,表示取不到有效值。
918
885
  :type SaleStatus: str
919
886
  :param _Tags: CHC物理服务器关联的标签列表。
920
- 注意:此字段可能返回 null,表示取不到有效值。
921
887
  :type Tags: list of Tag
922
888
  :param _LatestOperation: 最近操作
923
889
  :type LatestOperation: str
@@ -1023,7 +989,6 @@ TENANT: 租赁
1023
989
  @property
1024
990
  def DeviceType(self):
1025
991
  """设备类型。
1026
- 注意:此字段可能返回 null,表示取不到有效值。
1027
992
  :rtype: str
1028
993
  """
1029
994
  return self._DeviceType
@@ -1046,7 +1011,6 @@ TENANT: 租赁
1046
1011
  @property
1047
1012
  def BmcVirtualPrivateCloud(self):
1048
1013
  """带外网络。
1049
- 注意:此字段可能返回 null,表示取不到有效值。
1050
1014
  :rtype: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
1051
1015
  """
1052
1016
  return self._BmcVirtualPrivateCloud
@@ -1058,7 +1022,6 @@ TENANT: 租赁
1058
1022
  @property
1059
1023
  def BmcIp(self):
1060
1024
  """带外网络Ip。
1061
- 注意:此字段可能返回 null,表示取不到有效值。
1062
1025
  :rtype: str
1063
1026
  """
1064
1027
  return self._BmcIp
@@ -1070,7 +1033,6 @@ TENANT: 租赁
1070
1033
  @property
1071
1034
  def BmcSecurityGroupIds(self):
1072
1035
  """带外网络安全组Id。
1073
- 注意:此字段可能返回 null,表示取不到有效值。
1074
1036
  :rtype: list of str
1075
1037
  """
1076
1038
  return self._BmcSecurityGroupIds
@@ -1082,7 +1044,6 @@ TENANT: 租赁
1082
1044
  @property
1083
1045
  def DeployVirtualPrivateCloud(self):
1084
1046
  """部署网络。
1085
- 注意:此字段可能返回 null,表示取不到有效值。
1086
1047
  :rtype: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
1087
1048
  """
1088
1049
  return self._DeployVirtualPrivateCloud
@@ -1094,7 +1055,6 @@ TENANT: 租赁
1094
1055
  @property
1095
1056
  def DeployIp(self):
1096
1057
  """部署网络Ip。
1097
- 注意:此字段可能返回 null,表示取不到有效值。
1098
1058
  :rtype: str
1099
1059
  """
1100
1060
  return self._DeployIp
@@ -1106,7 +1066,6 @@ TENANT: 租赁
1106
1066
  @property
1107
1067
  def DeploySecurityGroupIds(self):
1108
1068
  """部署网络安全组Id。
1109
- 注意:此字段可能返回 null,表示取不到有效值。
1110
1069
  :rtype: list of str
1111
1070
  """
1112
1071
  return self._DeploySecurityGroupIds
@@ -1118,7 +1077,6 @@ TENANT: 租赁
1118
1077
  @property
1119
1078
  def CvmInstanceId(self):
1120
1079
  """关联的云主机Id。
1121
- 注意:此字段可能返回 null,表示取不到有效值。
1122
1080
  :rtype: str
1123
1081
  """
1124
1082
  return self._CvmInstanceId
@@ -1141,7 +1099,6 @@ TENANT: 租赁
1141
1099
  @property
1142
1100
  def HardwareDescription(self):
1143
1101
  """机型的硬件描述,分别为CPU核数,内存容量和磁盘容量
1144
- 注意:此字段可能返回 null,表示取不到有效值。
1145
1102
  :rtype: str
1146
1103
  """
1147
1104
  return self._HardwareDescription
@@ -1153,7 +1110,6 @@ TENANT: 租赁
1153
1110
  @property
1154
1111
  def CPU(self):
1155
1112
  """CHC物理服务器的CPU核数
1156
- 注意:此字段可能返回 null,表示取不到有效值。
1157
1113
  :rtype: int
1158
1114
  """
1159
1115
  return self._CPU
@@ -1165,7 +1121,6 @@ TENANT: 租赁
1165
1121
  @property
1166
1122
  def Memory(self):
1167
1123
  """CHC物理服务器的内存大小,单位为GB
1168
- 注意:此字段可能返回 null,表示取不到有效值。
1169
1124
  :rtype: int
1170
1125
  """
1171
1126
  return self._Memory
@@ -1177,7 +1132,6 @@ TENANT: 租赁
1177
1132
  @property
1178
1133
  def Disk(self):
1179
1134
  """CHC物理服务器的磁盘信息
1180
- 注意:此字段可能返回 null,表示取不到有效值。
1181
1135
  :rtype: str
1182
1136
  """
1183
1137
  return self._Disk
@@ -1189,7 +1143,6 @@ TENANT: 租赁
1189
1143
  @property
1190
1144
  def BmcMAC(self):
1191
1145
  """带外网络下分配的MAC地址
1192
- 注意:此字段可能返回 null,表示取不到有效值。
1193
1146
  :rtype: str
1194
1147
  """
1195
1148
  return self._BmcMAC
@@ -1201,7 +1154,6 @@ TENANT: 租赁
1201
1154
  @property
1202
1155
  def DeployMAC(self):
1203
1156
  """部署网络下分配的MAC地址
1204
- 注意:此字段可能返回 null,表示取不到有效值。
1205
1157
  :rtype: str
1206
1158
  """
1207
1159
  return self._DeployMAC
@@ -1215,7 +1167,6 @@ TENANT: 租赁
1215
1167
  """设备托管类型。
1216
1168
  HOSTING: 托管
1217
1169
  TENANT: 租赁
1218
- 注意:此字段可能返回 null,表示取不到有效值。
1219
1170
  :rtype: str
1220
1171
  """
1221
1172
  return self._TenantType
@@ -1227,7 +1178,6 @@ TENANT: 租赁
1227
1178
  @property
1228
1179
  def DeployExtraConfig(self):
1229
1180
  """chc dhcp选项,用于minios调试。
1230
- 注意:此字段可能返回 null,表示取不到有效值。
1231
1181
  :rtype: :class:`tencentcloud.cvm.v20170312.models.ChcDeployExtraConfig`
1232
1182
  """
1233
1183
  return self._DeployExtraConfig
@@ -1239,7 +1189,6 @@ TENANT: 租赁
1239
1189
  @property
1240
1190
  def Gpu(self):
1241
1191
  """GPU型号。
1242
- 注意:此字段可能返回 null,表示取不到有效值。
1243
1192
  :rtype: str
1244
1193
  """
1245
1194
  return self._Gpu
@@ -1251,7 +1200,6 @@ TENANT: 租赁
1251
1200
  @property
1252
1201
  def NetworkCard(self):
1253
1202
  """网卡型号。主要指RDMA网卡。
1254
- 注意:此字段可能返回 null,表示取不到有效值。
1255
1203
  :rtype: str
1256
1204
  """
1257
1205
  return self._NetworkCard
@@ -1263,7 +1211,6 @@ TENANT: 租赁
1263
1211
  @property
1264
1212
  def IsPredefinedType(self):
1265
1213
  """是否是预定义机型。
1266
- 注意:此字段可能返回 null,表示取不到有效值。
1267
1214
  :rtype: bool
1268
1215
  """
1269
1216
  return self._IsPredefinedType
@@ -1275,7 +1222,6 @@ TENANT: 租赁
1275
1222
  @property
1276
1223
  def ChcInstanceType(self):
1277
1224
  """CHC云主机机型。
1278
- 注意:此字段可能返回 null,表示取不到有效值。
1279
1225
  :rtype: str
1280
1226
  """
1281
1227
  return self._ChcInstanceType
@@ -1287,7 +1233,6 @@ TENANT: 租赁
1287
1233
  @property
1288
1234
  def ChcInstanceFamily(self):
1289
1235
  """CHC云主机机型簇。
1290
- 注意:此字段可能返回 null,表示取不到有效值。
1291
1236
  :rtype: str
1292
1237
  """
1293
1238
  return self._ChcInstanceFamily
@@ -1299,7 +1244,6 @@ TENANT: 租赁
1299
1244
  @property
1300
1245
  def ChcInstanceFamilyName(self):
1301
1246
  """CHC云主机机型簇名称。
1302
- 注意:此字段可能返回 null,表示取不到有效值。
1303
1247
  :rtype: str
1304
1248
  """
1305
1249
  return self._ChcInstanceFamilyName
@@ -1311,7 +1255,6 @@ TENANT: 租赁
1311
1255
  @property
1312
1256
  def ResaleAppId(self):
1313
1257
  """转售客户的AppId。
1314
- 注意:此字段可能返回 null,表示取不到有效值。
1315
1258
  :rtype: str
1316
1259
  """
1317
1260
  return self._ResaleAppId
@@ -1323,7 +1266,6 @@ TENANT: 租赁
1323
1266
  @property
1324
1267
  def ResaleAccountId(self):
1325
1268
  """转售客户的账号ID。
1326
- 注意:此字段可能返回 null,表示取不到有效值。
1327
1269
  :rtype: str
1328
1270
  """
1329
1271
  return self._ResaleAccountId
@@ -1341,7 +1283,6 @@ TENANT: 租赁
1341
1283
  <li>SOLD: 已售卖</li>
1342
1284
  </ul>
1343
1285
 
1344
- 注意:此字段可能返回 null,表示取不到有效值。
1345
1286
  :rtype: str
1346
1287
  """
1347
1288
  return self._SaleStatus
@@ -1353,7 +1294,6 @@ TENANT: 租赁
1353
1294
  @property
1354
1295
  def Tags(self):
1355
1296
  """CHC物理服务器关联的标签列表。
1356
- 注意:此字段可能返回 null,表示取不到有效值。
1357
1297
  :rtype: list of Tag
1358
1298
  """
1359
1299
  return self._Tags
@@ -1892,10 +1832,8 @@ class ConvertOperatingSystemsResponse(AbstractModel):
1892
1832
  def __init__(self):
1893
1833
  r"""
1894
1834
  :param _SupportTargetOSList: 转换的目标操系统信息,仅在入参 DryRun 为 true 时返回。
1895
- 注意:此字段可能返回 null,表示取不到有效值。
1896
1835
  :type SupportTargetOSList: list of TargetOS
1897
1836
  :param _TaskId: 操作系统转换的任务 ID
1898
- 注意:此字段可能返回 null,表示取不到有效值。
1899
1837
  :type TaskId: str
1900
1838
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1901
1839
  :type RequestId: str
@@ -1907,7 +1845,6 @@ class ConvertOperatingSystemsResponse(AbstractModel):
1907
1845
  @property
1908
1846
  def SupportTargetOSList(self):
1909
1847
  """转换的目标操系统信息,仅在入参 DryRun 为 true 时返回。
1910
- 注意:此字段可能返回 null,表示取不到有效值。
1911
1848
  :rtype: list of TargetOS
1912
1849
  """
1913
1850
  return self._SupportTargetOSList
@@ -1919,7 +1856,6 @@ class ConvertOperatingSystemsResponse(AbstractModel):
1919
1856
  @property
1920
1857
  def TaskId(self):
1921
1858
  """操作系统转换的任务 ID
1922
- 注意:此字段可能返回 null,表示取不到有效值。
1923
1859
  :rtype: str
1924
1860
  """
1925
1861
  return self._TaskId
@@ -2347,7 +2283,6 @@ class CreateHpcClusterResponse(AbstractModel):
2347
2283
  def __init__(self):
2348
2284
  r"""
2349
2285
  :param _HpcClusterSet: 高性能计算集群信息。
2350
- 注意:此字段可能返回 null,表示取不到有效值。
2351
2286
  :type HpcClusterSet: list of HpcClusterInfo
2352
2287
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2353
2288
  :type RequestId: str
@@ -2358,7 +2293,6 @@ class CreateHpcClusterResponse(AbstractModel):
2358
2293
  @property
2359
2294
  def HpcClusterSet(self):
2360
2295
  """高性能计算集群信息。
2361
- 注意:此字段可能返回 null,表示取不到有效值。
2362
2296
  :rtype: list of HpcClusterInfo
2363
2297
  """
2364
2298
  return self._HpcClusterSet
@@ -2581,7 +2515,6 @@ class CreateImageResponse(AbstractModel):
2581
2515
  def __init__(self):
2582
2516
  r"""
2583
2517
  :param _ImageId: 镜像ID
2584
- 注意:此字段可能返回 null,表示取不到有效值。
2585
2518
  :type ImageId: str
2586
2519
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2587
2520
  :type RequestId: str
@@ -2592,7 +2525,6 @@ class CreateImageResponse(AbstractModel):
2592
2525
  @property
2593
2526
  def ImageId(self):
2594
2527
  """镜像ID
2595
- 注意:此字段可能返回 null,表示取不到有效值。
2596
2528
  :rtype: str
2597
2529
  """
2598
2530
  return self._ImageId
@@ -4895,6 +4827,8 @@ class DescribeDisasterRecoverGroupQuotaResponse(AbstractModel):
4895
4827
  :type CvmInSwGroupQuota: int
4896
4828
  :param _CvmInRackGroupQuota: 机架类型容灾组内实例的配额数。
4897
4829
  :type CvmInRackGroupQuota: int
4830
+ :param _CvmInSwitchGroupQuota: 交换机类型容灾组内实例的配额数。
4831
+ :type CvmInSwitchGroupQuota: int
4898
4832
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4899
4833
  :type RequestId: str
4900
4834
  """
@@ -4903,6 +4837,7 @@ class DescribeDisasterRecoverGroupQuotaResponse(AbstractModel):
4903
4837
  self._CvmInHostGroupQuota = None
4904
4838
  self._CvmInSwGroupQuota = None
4905
4839
  self._CvmInRackGroupQuota = None
4840
+ self._CvmInSwitchGroupQuota = None
4906
4841
  self._RequestId = None
4907
4842
 
4908
4843
  @property
@@ -4940,6 +4875,8 @@ class DescribeDisasterRecoverGroupQuotaResponse(AbstractModel):
4940
4875
 
4941
4876
  @property
4942
4877
  def CvmInSwGroupQuota(self):
4878
+ warnings.warn("parameter `CvmInSwGroupQuota` is deprecated", DeprecationWarning)
4879
+
4943
4880
  """交换机类型容灾组内实例的配额数。
4944
4881
  :rtype: int
4945
4882
  """
@@ -4947,6 +4884,8 @@ class DescribeDisasterRecoverGroupQuotaResponse(AbstractModel):
4947
4884
 
4948
4885
  @CvmInSwGroupQuota.setter
4949
4886
  def CvmInSwGroupQuota(self, CvmInSwGroupQuota):
4887
+ warnings.warn("parameter `CvmInSwGroupQuota` is deprecated", DeprecationWarning)
4888
+
4950
4889
  self._CvmInSwGroupQuota = CvmInSwGroupQuota
4951
4890
 
4952
4891
  @property
@@ -4960,6 +4899,17 @@ class DescribeDisasterRecoverGroupQuotaResponse(AbstractModel):
4960
4899
  def CvmInRackGroupQuota(self, CvmInRackGroupQuota):
4961
4900
  self._CvmInRackGroupQuota = CvmInRackGroupQuota
4962
4901
 
4902
+ @property
4903
+ def CvmInSwitchGroupQuota(self):
4904
+ """交换机类型容灾组内实例的配额数。
4905
+ :rtype: int
4906
+ """
4907
+ return self._CvmInSwitchGroupQuota
4908
+
4909
+ @CvmInSwitchGroupQuota.setter
4910
+ def CvmInSwitchGroupQuota(self, CvmInSwitchGroupQuota):
4911
+ self._CvmInSwitchGroupQuota = CvmInSwitchGroupQuota
4912
+
4963
4913
  @property
4964
4914
  def RequestId(self):
4965
4915
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -4978,6 +4928,7 @@ class DescribeDisasterRecoverGroupQuotaResponse(AbstractModel):
4978
4928
  self._CvmInHostGroupQuota = params.get("CvmInHostGroupQuota")
4979
4929
  self._CvmInSwGroupQuota = params.get("CvmInSwGroupQuota")
4980
4930
  self._CvmInRackGroupQuota = params.get("CvmInRackGroupQuota")
4931
+ self._CvmInSwitchGroupQuota = params.get("CvmInSwitchGroupQuota")
4981
4932
  self._RequestId = params.get("RequestId")
4982
4933
 
4983
4934
 
@@ -7416,7 +7367,12 @@ class DescribeLaunchTemplatesRequest(AbstractModel):
7416
7367
  r"""
7417
7368
  :param _LaunchTemplateIds: 启动模板ID,一个或者多个启动模板ID。若未指定,则显示用户所有模板。
7418
7369
  :type LaunchTemplateIds: list of str
7419
- :param _Filters: <p style="padding-left: 30px;">按照【<strong>LaunchTemplateName</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7370
+ :param _Filters: <li><strong>LaunchTemplateName</strong></li>
7371
+ <p style="padding-left: 30px;">按照【<strong>实例启动模板名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7372
+ <li><strong>tag-key</strong></li>
7373
+ <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7374
+ <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7375
+ <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7420
7376
  每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`LaunchTemplateIds`和`Filters`。
7421
7377
  :type Filters: list of Filter
7422
7378
  :param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
@@ -7442,7 +7398,12 @@ class DescribeLaunchTemplatesRequest(AbstractModel):
7442
7398
 
7443
7399
  @property
7444
7400
  def Filters(self):
7445
- """<p style="padding-left: 30px;">按照【<strong>LaunchTemplateName</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7401
+ """<li><strong>LaunchTemplateName</strong></li>
7402
+ <p style="padding-left: 30px;">按照【<strong>实例启动模板名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7403
+ <li><strong>tag-key</strong></li>
7404
+ <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7405
+ <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7406
+ <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7446
7407
  每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`LaunchTemplateIds`和`Filters`。
7447
7408
  :rtype: list of Filter
7448
7409
  """
@@ -7503,10 +7464,8 @@ class DescribeLaunchTemplatesResponse(AbstractModel):
7503
7464
  def __init__(self):
7504
7465
  r"""
7505
7466
  :param _TotalCount: 符合条件的实例模板数量。
7506
- 注意:此字段可能返回 null,表示取不到有效值。
7507
7467
  :type TotalCount: int
7508
7468
  :param _LaunchTemplateSet: 实例详细信息列表。
7509
- 注意:此字段可能返回 null,表示取不到有效值。
7510
7469
  :type LaunchTemplateSet: list of LaunchTemplateInfo
7511
7470
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7512
7471
  :type RequestId: str
@@ -7518,7 +7477,6 @@ class DescribeLaunchTemplatesResponse(AbstractModel):
7518
7477
  @property
7519
7478
  def TotalCount(self):
7520
7479
  """符合条件的实例模板数量。
7521
- 注意:此字段可能返回 null,表示取不到有效值。
7522
7480
  :rtype: int
7523
7481
  """
7524
7482
  return self._TotalCount
@@ -7530,7 +7488,6 @@ class DescribeLaunchTemplatesResponse(AbstractModel):
7530
7488
  @property
7531
7489
  def LaunchTemplateSet(self):
7532
7490
  """实例详细信息列表。
7533
- 注意:此字段可能返回 null,表示取不到有效值。
7534
7491
  :rtype: list of LaunchTemplateInfo
7535
7492
  """
7536
7493
  return self._LaunchTemplateSet
@@ -7631,101 +7588,182 @@ class DescribeRegionsResponse(AbstractModel):
7631
7588
  self._RequestId = params.get("RequestId")
7632
7589
 
7633
7590
 
7634
- class DescribeTaskInfoRequest(AbstractModel):
7635
- """DescribeTaskInfo请求参数结构体
7591
+ class DescribeReservedInstancesConfigInfosRequest(AbstractModel):
7592
+ """DescribeReservedInstancesConfigInfos请求参数结构体
7636
7593
 
7637
7594
  """
7638
7595
 
7639
7596
  def __init__(self):
7640
7597
  r"""
7641
- :param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7642
- :type Limit: int
7643
- :param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7644
- :type Offset: int
7645
- :param _Product: 按照指定的产品类型查询,支持取值:
7598
+ :param _Filters: zone
7599
+ 按照预留实例计费可购买的可用区进行过滤。形如:ap-guangzhou-1。
7600
+ 类型:String
7601
+ 必选:否
7602
+ 可选项:各地域可用区列表
7603
+
7604
+ product-description
7605
+ 按照预留实例计费的平台描述(即操作系统)进行过滤。形如:linux。
7606
+ 类型:String
7607
+ 必选:否
7608
+ 可选项:linux
7609
+
7610
+ duration
7611
+ 按照预留实例计费有效期,即预留实例计费购买时长进行过滤。形如:31536000。
7612
+ 类型:Integer
7613
+ 计量单位:秒
7614
+ 必选:否
7615
+ 可选项:31536000 (1年)
7616
+ :type Filters: list of Filter
7617
+ """
7618
+ self._Filters = None
7646
7619
 
7647
- - `CVM`:云服务器
7648
- - `CDH`:专用宿主机
7649
- - `CPM2.0`:裸金属云服务器
7620
+ @property
7621
+ def Filters(self):
7622
+ """zone
7623
+ 按照预留实例计费可购买的可用区进行过滤。形如:ap-guangzhou-1。
7624
+ 类型:String
7625
+ 必选:否
7626
+ 可选项:各地域可用区列表
7627
+
7628
+ product-description
7629
+ 按照预留实例计费的平台描述(即操作系统)进行过滤。形如:linux。
7630
+ 类型:String
7631
+ 必选:否
7632
+ 可选项:linux
7633
+
7634
+ duration
7635
+ 按照预留实例计费有效期,即预留实例计费购买时长进行过滤。形如:31536000。
7636
+ 类型:Integer
7637
+ 计量单位:秒
7638
+ 必选:否
7639
+ 可选项:31536000 (1年)
7640
+ :rtype: list of Filter
7641
+ """
7642
+ return self._Filters
7650
7643
 
7651
- 未传入或为空时,默认查询全部产品类型。
7652
- :type Product: str
7653
- :param _TaskStatus: 按照一个或多个任务状态ID进行过滤。
7654
- `TaskStatus`(任务状态ID)与任务状态中文名的对应关系如下:
7644
+ @Filters.setter
7645
+ def Filters(self, Filters):
7646
+ self._Filters = Filters
7655
7647
 
7656
- - `1`:待授权
7657
- - `2`:处理中
7658
- - `3`:已结束
7659
- - `4`:已预约
7660
- - `5`:已取消
7661
- - `6`:已避免
7662
7648
 
7663
- 各任务状态的具体含义,可参考 [任务状态](https://cloud.tencent.com/document/product/213/67789#.E4.BB.BB.E5.8A.A1.E7.8A.B6.E6.80.81)
7664
- :type TaskStatus: list of int
7665
- :param _TaskTypeIds: 按照一个或多个任务类型ID进行过滤。
7649
+ def _deserialize(self, params):
7650
+ if params.get("Filters") is not None:
7651
+ self._Filters = []
7652
+ for item in params.get("Filters"):
7653
+ obj = Filter()
7654
+ obj._deserialize(item)
7655
+ self._Filters.append(obj)
7656
+ memeber_set = set(params.keys())
7657
+ for name, value in vars(self).items():
7658
+ property_name = name[1:]
7659
+ if property_name in memeber_set:
7660
+ memeber_set.remove(property_name)
7661
+ if len(memeber_set) > 0:
7662
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7663
+
7666
7664
 
7667
- `TaskTypeId`(任务类型ID)与任务类型中文名的对应关系如下:
7668
7665
 
7669
- - `101`:实例运行隐患
7670
- - `102`:实例运行异常
7671
- - `103`:实例硬盘异常
7672
- - `104`:实例网络连接异常
7673
- - `105`:实例运行预警
7674
- - `106`:实例硬盘预警
7675
- - `107`:实例维护升级
7666
+ class DescribeReservedInstancesConfigInfosResponse(AbstractModel):
7667
+ """DescribeReservedInstancesConfigInfos返回参数结构体
7676
7668
 
7677
- 各任务类型的具体含义,可参考 [维修任务分类](https://cloud.tencent.com/document/product/213/67789#.E7.BB.B4.E4.BF.AE.E4.BB.BB.E5.8A.A1.E5.88.86.E7.B1.BB)。
7678
- :type TaskTypeIds: list of int
7679
- :param _TaskIds: 按照一个或者多个任务ID查询。任务ID形如:`rep-xxxxxxxx`。
7680
- :type TaskIds: list of str
7681
- :param _InstanceIds: 按照一个或者多个实例ID查询。实例ID形如:`ins-xxxxxxxx`。
7682
- :type InstanceIds: list of str
7683
- :param _Aliases: 按照一个或者多个实例名称查询。
7684
- :type Aliases: list of str
7685
- :param _StartDate: 时间查询区间的起始位置,会根据任务创建时间`CreateTime`进行过滤。未传入时默认为当天`00:00:00`。
7686
- :type StartDate: str
7687
- :param _EndDate: 时间查询区间的终止位置,会根据任务创建时间`CreateTime`进行过滤。未传入时默认为当前时刻。
7688
- :type EndDate: str
7689
- :param _OrderField: 指定返回维修任务列表的排序字段,目前支持:
7669
+ """
7690
7670
 
7691
- - `CreateTime`:任务创建时间
7692
- - `AuthTime`:任务授权时间
7693
- - `EndTime`:任务结束时间
7671
+ def __init__(self):
7672
+ r"""
7673
+ :param _ReservedInstanceConfigInfos: 预留实例静态配置信息列表。
7674
+ :type ReservedInstanceConfigInfos: list of ReservedInstanceConfigInfoItem
7675
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7676
+ :type RequestId: str
7677
+ """
7678
+ self._ReservedInstanceConfigInfos = None
7679
+ self._RequestId = None
7694
7680
 
7695
- 未传入时或为空时,默认按`CreateTime`字段进行排序。
7696
- :type OrderField: str
7697
- :param _Order: 排序方式,目前支持:
7681
+ @property
7682
+ def ReservedInstanceConfigInfos(self):
7683
+ """预留实例静态配置信息列表。
7684
+ :rtype: list of ReservedInstanceConfigInfoItem
7685
+ """
7686
+ return self._ReservedInstanceConfigInfos
7698
7687
 
7699
- - `0`:升序(默认)
7700
- - `1`:降序
7688
+ @ReservedInstanceConfigInfos.setter
7689
+ def ReservedInstanceConfigInfos(self, ReservedInstanceConfigInfos):
7690
+ self._ReservedInstanceConfigInfos = ReservedInstanceConfigInfos
7701
7691
 
7702
- 未传入或为空时,默认按升序排序。
7692
+ @property
7693
+ def RequestId(self):
7694
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7695
+ :rtype: str
7696
+ """
7697
+ return self._RequestId
7703
7698
 
7704
- :type Order: int
7699
+ @RequestId.setter
7700
+ def RequestId(self, RequestId):
7701
+ self._RequestId = RequestId
7702
+
7703
+
7704
+ def _deserialize(self, params):
7705
+ if params.get("ReservedInstanceConfigInfos") is not None:
7706
+ self._ReservedInstanceConfigInfos = []
7707
+ for item in params.get("ReservedInstanceConfigInfos"):
7708
+ obj = ReservedInstanceConfigInfoItem()
7709
+ obj._deserialize(item)
7710
+ self._ReservedInstanceConfigInfos.append(obj)
7711
+ self._RequestId = params.get("RequestId")
7712
+
7713
+
7714
+ class DescribeReservedInstancesOfferingsRequest(AbstractModel):
7715
+ """DescribeReservedInstancesOfferings请求参数结构体
7716
+
7717
+ """
7718
+
7719
+ def __init__(self):
7720
+ r"""
7721
+ :param _DryRun: 试运行, 默认为 false。
7722
+ :type DryRun: bool
7723
+ :param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7724
+ :type Offset: int
7725
+ :param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7726
+ :type Limit: int
7727
+ :param _MaxDuration: 以最大有效期作为过滤参数。
7728
+ 计量单位: 秒
7729
+ 默认为 94608000。
7730
+ :type MaxDuration: int
7731
+ :param _MinDuration: 以最小有效期作为过滤参数。
7732
+ 计量单位: 秒
7733
+ 默认为 2592000。
7734
+ :type MinDuration: int
7735
+ :param _Filters: <li><strong>zone</strong></li>
7736
+ <p style="padding-left: 30px;">按照预留实例计费可购买的【<strong>可用区</strong>】进行过滤。形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
7737
+ <li><strong>duration</strong></li>
7738
+ <p style="padding-left: 30px;">按照预留实例计费【<strong>有效期</strong>】即预留实例计费购买时长进行过滤。形如:31536000。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">计量单位:秒</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:31536000 (1年) | 94608000(3年)</p>
7739
+ <li><strong>instance-type</strong></li>
7740
+ <p style="padding-left: 30px;">按照【<strong>预留实例计费类型</strong>】进行过滤。形如:S3.MEDIUM4。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/11518">预留实例计费类型列表</a></p>
7741
+ <li><strong>offering-type</strong></li>
7742
+ <p style="padding-left: 30px;">按照【<strong>付款类型</strong>】进行过滤。形如:All Upfront (预付全部费用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:All Upfront (预付全部费用)</p>
7743
+ <li><strong>product-description</strong></li>
7744
+ <p style="padding-left: 30px;">按照预留实例计费的【<strong>平台描述</strong>】(即操作系统)进行过滤。形如:linux。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:linux</p>
7745
+ <li><strong>reserved-instances-offering-id</strong></li>
7746
+ <p style="padding-left: 30px;">按照【<strong>预留实例计费配置ID</strong>】进行过滤。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7747
+ 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
7748
+ :type Filters: list of Filter
7705
7749
  """
7706
- self._Limit = None
7750
+ self._DryRun = None
7707
7751
  self._Offset = None
7708
- self._Product = None
7709
- self._TaskStatus = None
7710
- self._TaskTypeIds = None
7711
- self._TaskIds = None
7712
- self._InstanceIds = None
7713
- self._Aliases = None
7714
- self._StartDate = None
7715
- self._EndDate = None
7716
- self._OrderField = None
7717
- self._Order = None
7752
+ self._Limit = None
7753
+ self._MaxDuration = None
7754
+ self._MinDuration = None
7755
+ self._Filters = None
7718
7756
 
7719
7757
  @property
7720
- def Limit(self):
7721
- """返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7722
- :rtype: int
7758
+ def DryRun(self):
7759
+ """试运行, 默认为 false。
7760
+ :rtype: bool
7723
7761
  """
7724
- return self._Limit
7762
+ return self._DryRun
7725
7763
 
7726
- @Limit.setter
7727
- def Limit(self, Limit):
7728
- self._Limit = Limit
7764
+ @DryRun.setter
7765
+ def DryRun(self, DryRun):
7766
+ self._DryRun = DryRun
7729
7767
 
7730
7768
  @property
7731
7769
  def Offset(self):
@@ -7739,12 +7777,265 @@ class DescribeTaskInfoRequest(AbstractModel):
7739
7777
  self._Offset = Offset
7740
7778
 
7741
7779
  @property
7742
- def Product(self):
7743
- """按照指定的产品类型查询,支持取值:
7780
+ def Limit(self):
7781
+ """返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7782
+ :rtype: int
7783
+ """
7784
+ return self._Limit
7744
7785
 
7745
- - `CVM`:云服务器
7746
- - `CDH`:专用宿主机
7747
- - `CPM2.0`:裸金属云服务器
7786
+ @Limit.setter
7787
+ def Limit(self, Limit):
7788
+ self._Limit = Limit
7789
+
7790
+ @property
7791
+ def MaxDuration(self):
7792
+ """以最大有效期作为过滤参数。
7793
+ 计量单位: 秒
7794
+ 默认为 94608000。
7795
+ :rtype: int
7796
+ """
7797
+ return self._MaxDuration
7798
+
7799
+ @MaxDuration.setter
7800
+ def MaxDuration(self, MaxDuration):
7801
+ self._MaxDuration = MaxDuration
7802
+
7803
+ @property
7804
+ def MinDuration(self):
7805
+ """以最小有效期作为过滤参数。
7806
+ 计量单位: 秒
7807
+ 默认为 2592000。
7808
+ :rtype: int
7809
+ """
7810
+ return self._MinDuration
7811
+
7812
+ @MinDuration.setter
7813
+ def MinDuration(self, MinDuration):
7814
+ self._MinDuration = MinDuration
7815
+
7816
+ @property
7817
+ def Filters(self):
7818
+ """<li><strong>zone</strong></li>
7819
+ <p style="padding-left: 30px;">按照预留实例计费可购买的【<strong>可用区</strong>】进行过滤。形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
7820
+ <li><strong>duration</strong></li>
7821
+ <p style="padding-left: 30px;">按照预留实例计费【<strong>有效期</strong>】即预留实例计费购买时长进行过滤。形如:31536000。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">计量单位:秒</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:31536000 (1年) | 94608000(3年)</p>
7822
+ <li><strong>instance-type</strong></li>
7823
+ <p style="padding-left: 30px;">按照【<strong>预留实例计费类型</strong>】进行过滤。形如:S3.MEDIUM4。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/11518">预留实例计费类型列表</a></p>
7824
+ <li><strong>offering-type</strong></li>
7825
+ <p style="padding-left: 30px;">按照【<strong>付款类型</strong>】进行过滤。形如:All Upfront (预付全部费用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:All Upfront (预付全部费用)</p>
7826
+ <li><strong>product-description</strong></li>
7827
+ <p style="padding-left: 30px;">按照预留实例计费的【<strong>平台描述</strong>】(即操作系统)进行过滤。形如:linux。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:linux</p>
7828
+ <li><strong>reserved-instances-offering-id</strong></li>
7829
+ <p style="padding-left: 30px;">按照【<strong>预留实例计费配置ID</strong>】进行过滤。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7830
+ 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
7831
+ :rtype: list of Filter
7832
+ """
7833
+ return self._Filters
7834
+
7835
+ @Filters.setter
7836
+ def Filters(self, Filters):
7837
+ self._Filters = Filters
7838
+
7839
+
7840
+ def _deserialize(self, params):
7841
+ self._DryRun = params.get("DryRun")
7842
+ self._Offset = params.get("Offset")
7843
+ self._Limit = params.get("Limit")
7844
+ self._MaxDuration = params.get("MaxDuration")
7845
+ self._MinDuration = params.get("MinDuration")
7846
+ if params.get("Filters") is not None:
7847
+ self._Filters = []
7848
+ for item in params.get("Filters"):
7849
+ obj = Filter()
7850
+ obj._deserialize(item)
7851
+ self._Filters.append(obj)
7852
+ memeber_set = set(params.keys())
7853
+ for name, value in vars(self).items():
7854
+ property_name = name[1:]
7855
+ if property_name in memeber_set:
7856
+ memeber_set.remove(property_name)
7857
+ if len(memeber_set) > 0:
7858
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7859
+
7860
+
7861
+
7862
+ class DescribeReservedInstancesOfferingsResponse(AbstractModel):
7863
+ """DescribeReservedInstancesOfferings返回参数结构体
7864
+
7865
+ """
7866
+
7867
+ def __init__(self):
7868
+ r"""
7869
+ :param _TotalCount: 符合条件的预留实例计费数量。
7870
+ :type TotalCount: int
7871
+ :param _ReservedInstancesOfferingsSet: 符合条件的预留实例计费列表。
7872
+ :type ReservedInstancesOfferingsSet: list of ReservedInstancesOffering
7873
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7874
+ :type RequestId: str
7875
+ """
7876
+ self._TotalCount = None
7877
+ self._ReservedInstancesOfferingsSet = None
7878
+ self._RequestId = None
7879
+
7880
+ @property
7881
+ def TotalCount(self):
7882
+ """符合条件的预留实例计费数量。
7883
+ :rtype: int
7884
+ """
7885
+ return self._TotalCount
7886
+
7887
+ @TotalCount.setter
7888
+ def TotalCount(self, TotalCount):
7889
+ self._TotalCount = TotalCount
7890
+
7891
+ @property
7892
+ def ReservedInstancesOfferingsSet(self):
7893
+ """符合条件的预留实例计费列表。
7894
+ :rtype: list of ReservedInstancesOffering
7895
+ """
7896
+ return self._ReservedInstancesOfferingsSet
7897
+
7898
+ @ReservedInstancesOfferingsSet.setter
7899
+ def ReservedInstancesOfferingsSet(self, ReservedInstancesOfferingsSet):
7900
+ self._ReservedInstancesOfferingsSet = ReservedInstancesOfferingsSet
7901
+
7902
+ @property
7903
+ def RequestId(self):
7904
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7905
+ :rtype: str
7906
+ """
7907
+ return self._RequestId
7908
+
7909
+ @RequestId.setter
7910
+ def RequestId(self, RequestId):
7911
+ self._RequestId = RequestId
7912
+
7913
+
7914
+ def _deserialize(self, params):
7915
+ self._TotalCount = params.get("TotalCount")
7916
+ if params.get("ReservedInstancesOfferingsSet") is not None:
7917
+ self._ReservedInstancesOfferingsSet = []
7918
+ for item in params.get("ReservedInstancesOfferingsSet"):
7919
+ obj = ReservedInstancesOffering()
7920
+ obj._deserialize(item)
7921
+ self._ReservedInstancesOfferingsSet.append(obj)
7922
+ self._RequestId = params.get("RequestId")
7923
+
7924
+
7925
+ class DescribeTaskInfoRequest(AbstractModel):
7926
+ """DescribeTaskInfo请求参数结构体
7927
+
7928
+ """
7929
+
7930
+ def __init__(self):
7931
+ r"""
7932
+ :param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7933
+ :type Limit: int
7934
+ :param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7935
+ :type Offset: int
7936
+ :param _Product: 按照指定的产品类型查询,支持取值:
7937
+
7938
+ - `CVM`:云服务器
7939
+ - `CDH`:专用宿主机
7940
+ - `CPM2.0`:裸金属云服务器
7941
+
7942
+ 未传入或为空时,默认查询全部产品类型。
7943
+ :type Product: str
7944
+ :param _TaskStatus: 按照一个或多个任务状态ID进行过滤。
7945
+ `TaskStatus`(任务状态ID)与任务状态中文名的对应关系如下:
7946
+
7947
+ - `1`:待授权
7948
+ - `2`:处理中
7949
+ - `3`:已结束
7950
+ - `4`:已预约
7951
+ - `5`:已取消
7952
+ - `6`:已避免
7953
+
7954
+ 各任务状态的具体含义,可参考 [任务状态](https://cloud.tencent.com/document/product/213/67789#.E4.BB.BB.E5.8A.A1.E7.8A.B6.E6.80.81)。
7955
+ :type TaskStatus: list of int
7956
+ :param _TaskTypeIds: 按照一个或多个任务类型ID进行过滤。
7957
+
7958
+ `TaskTypeId`(任务类型ID)与任务类型中文名的对应关系如下:
7959
+
7960
+ - `101`:实例运行隐患
7961
+ - `102`:实例运行异常
7962
+ - `103`:实例硬盘异常
7963
+ - `104`:实例网络连接异常
7964
+ - `105`:实例运行预警
7965
+ - `106`:实例硬盘预警
7966
+ - `107`:实例维护升级
7967
+
7968
+ 各任务类型的具体含义,可参考 [维修任务分类](https://cloud.tencent.com/document/product/213/67789#.E7.BB.B4.E4.BF.AE.E4.BB.BB.E5.8A.A1.E5.88.86.E7.B1.BB)。
7969
+ :type TaskTypeIds: list of int
7970
+ :param _TaskIds: 按照一个或者多个任务ID查询。任务ID形如:`rep-xxxxxxxx`。
7971
+ :type TaskIds: list of str
7972
+ :param _InstanceIds: 按照一个或者多个实例ID查询。实例ID形如:`ins-xxxxxxxx`。
7973
+ :type InstanceIds: list of str
7974
+ :param _Aliases: 按照一个或者多个实例名称查询。
7975
+ :type Aliases: list of str
7976
+ :param _StartDate: 时间查询区间的起始位置,会根据任务创建时间`CreateTime`进行过滤。未传入时默认为当天`00:00:00`。
7977
+ :type StartDate: str
7978
+ :param _EndDate: 时间查询区间的终止位置,会根据任务创建时间`CreateTime`进行过滤。未传入时默认为当前时刻。
7979
+ :type EndDate: str
7980
+ :param _OrderField: 指定返回维修任务列表的排序字段,目前支持:
7981
+
7982
+ - `CreateTime`:任务创建时间
7983
+ - `AuthTime`:任务授权时间
7984
+ - `EndTime`:任务结束时间
7985
+
7986
+ 未传入时或为空时,默认按`CreateTime`字段进行排序。
7987
+ :type OrderField: str
7988
+ :param _Order: 排序方式,目前支持:
7989
+
7990
+ - `0`:升序(默认)
7991
+ - `1`:降序
7992
+
7993
+ 未传入或为空时,默认按升序排序。
7994
+
7995
+ :type Order: int
7996
+ """
7997
+ self._Limit = None
7998
+ self._Offset = None
7999
+ self._Product = None
8000
+ self._TaskStatus = None
8001
+ self._TaskTypeIds = None
8002
+ self._TaskIds = None
8003
+ self._InstanceIds = None
8004
+ self._Aliases = None
8005
+ self._StartDate = None
8006
+ self._EndDate = None
8007
+ self._OrderField = None
8008
+ self._Order = None
8009
+
8010
+ @property
8011
+ def Limit(self):
8012
+ """返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
8013
+ :rtype: int
8014
+ """
8015
+ return self._Limit
8016
+
8017
+ @Limit.setter
8018
+ def Limit(self, Limit):
8019
+ self._Limit = Limit
8020
+
8021
+ @property
8022
+ def Offset(self):
8023
+ """偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
8024
+ :rtype: int
8025
+ """
8026
+ return self._Offset
8027
+
8028
+ @Offset.setter
8029
+ def Offset(self, Offset):
8030
+ self._Offset = Offset
8031
+
8032
+ @property
8033
+ def Product(self):
8034
+ """按照指定的产品类型查询,支持取值:
8035
+
8036
+ - `CVM`:云服务器
8037
+ - `CDH`:专用宿主机
8038
+ - `CPM2.0`:裸金属云服务器
7748
8039
 
7749
8040
  未传入或为空时,默认查询全部产品类型。
7750
8041
  :rtype: str
@@ -8830,7 +9121,7 @@ class ExportImagesRequest(AbstractModel):
8830
9121
  r"""
8831
9122
  :param _BucketName: COS存储桶名称
8832
9123
  :type BucketName: str
8833
- :param _ImageIds: 镜像ID列表
9124
+ :param _ImageIds: 镜像ID列表。调用 ExportImages 接口时,参数 ImageIds 和 SnapshotIds 为二选一必填参数,目前参数 SnapshotIds 暂未对外开放。
8834
9125
  :type ImageIds: list of str
8835
9126
  :param _ExportFormat: 镜像文件导出格式。取值范围:RAW,QCOW2,VHD,VMDK。默认为RAW
8836
9127
  :type ExportFormat: str
@@ -8864,7 +9155,7 @@ class ExportImagesRequest(AbstractModel):
8864
9155
 
8865
9156
  @property
8866
9157
  def ImageIds(self):
8867
- """镜像ID列表
9158
+ """镜像ID列表。调用 ExportImages 接口时,参数 ImageIds 和 SnapshotIds 为二选一必填参数,目前参数 SnapshotIds 暂未对外开放。
8868
9159
  :rtype: list of str
8869
9160
  """
8870
9161
  return self._ImageIds
@@ -9143,13 +9434,10 @@ class GPUInfo(AbstractModel):
9143
9434
  def __init__(self):
9144
9435
  r"""
9145
9436
  :param _GPUCount: 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。
9146
- 注意:此字段可能返回 null,表示取不到有效值。
9147
9437
  :type GPUCount: float
9148
9438
  :param _GPUId: 实例GPU地址。
9149
- 注意:此字段可能返回 null,表示取不到有效值。
9150
9439
  :type GPUId: list of str
9151
9440
  :param _GPUType: 实例GPU类型。
9152
- 注意:此字段可能返回 null,表示取不到有效值。
9153
9441
  :type GPUType: str
9154
9442
  """
9155
9443
  self._GPUCount = None
@@ -9159,7 +9447,6 @@ class GPUInfo(AbstractModel):
9159
9447
  @property
9160
9448
  def GPUCount(self):
9161
9449
  """实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。
9162
- 注意:此字段可能返回 null,表示取不到有效值。
9163
9450
  :rtype: float
9164
9451
  """
9165
9452
  return self._GPUCount
@@ -9171,7 +9458,6 @@ class GPUInfo(AbstractModel):
9171
9458
  @property
9172
9459
  def GPUId(self):
9173
9460
  """实例GPU地址。
9174
- 注意:此字段可能返回 null,表示取不到有效值。
9175
9461
  :rtype: list of str
9176
9462
  """
9177
9463
  return self._GPUId
@@ -9183,7 +9469,6 @@ class GPUInfo(AbstractModel):
9183
9469
  @property
9184
9470
  def GPUType(self):
9185
9471
  """实例GPU类型。
9186
- 注意:此字段可能返回 null,表示取不到有效值。
9187
9472
  :rtype: str
9188
9473
  """
9189
9474
  return self._GPUType
@@ -9239,10 +9524,8 @@ class HostItem(AbstractModel):
9239
9524
  :param _HostResource: 专用宿主机实例资源信息
9240
9525
  :type HostResource: :class:`tencentcloud.cvm.v20170312.models.HostResource`
9241
9526
  :param _CageId: 专用宿主机所属的围笼ID。该字段仅对金融专区围笼内的专用宿主机有效。
9242
- 注意:此字段可能返回 null,表示取不到有效值。
9243
9527
  :type CageId: str
9244
9528
  :param _Tags: 专用宿主机关联的标签列表。
9245
- 注意:此字段可能返回 null,表示取不到有效值。
9246
9529
  :type Tags: list of Tag
9247
9530
  """
9248
9531
  self._Placement = None
@@ -9395,7 +9678,6 @@ class HostItem(AbstractModel):
9395
9678
  @property
9396
9679
  def CageId(self):
9397
9680
  """专用宿主机所属的围笼ID。该字段仅对金融专区围笼内的专用宿主机有效。
9398
- 注意:此字段可能返回 null,表示取不到有效值。
9399
9681
  :rtype: str
9400
9682
  """
9401
9683
  return self._CageId
@@ -9407,7 +9689,6 @@ class HostItem(AbstractModel):
9407
9689
  @property
9408
9690
  def Tags(self):
9409
9691
  """专用宿主机关联的标签列表。
9410
- 注意:此字段可能返回 null,表示取不到有效值。
9411
9692
  :rtype: list of Tag
9412
9693
  """
9413
9694
  return self._Tags
@@ -9515,7 +9796,6 @@ class HostResource(AbstractModel):
9515
9796
  :param _GpuAvailable: 专用宿主机实例可用GPU卡数
9516
9797
  :type GpuAvailable: int
9517
9798
  :param _ExclusiveOwner: CDH owner
9518
- 注意:此字段可能返回 null,表示取不到有效值。
9519
9799
  :type ExclusiveOwner: str
9520
9800
  """
9521
9801
  self._CpuTotal = None
@@ -9631,7 +9911,6 @@ class HostResource(AbstractModel):
9631
9911
  @property
9632
9912
  def ExclusiveOwner(self):
9633
9913
  """CDH owner
9634
- 注意:此字段可能返回 null,表示取不到有效值。
9635
9914
  :rtype: str
9636
9915
  """
9637
9916
  return self._ExclusiveOwner
@@ -9672,10 +9951,8 @@ class HpcClusterInfo(AbstractModel):
9672
9951
  :param _HpcClusterId: 高性能计算集群ID
9673
9952
  :type HpcClusterId: str
9674
9953
  :param _Name: 高性能计算集群名
9675
- 注意:此字段可能返回 null,表示取不到有效值。
9676
9954
  :type Name: str
9677
9955
  :param _Remark: 高性能计算集群备注
9678
- 注意:此字段可能返回 null,表示取不到有效值。
9679
9956
  :type Remark: str
9680
9957
  :param _CvmQuotaTotal: 集群下设备容量
9681
9958
  :type CvmQuotaTotal: int
@@ -9684,16 +9961,12 @@ class HpcClusterInfo(AbstractModel):
9684
9961
  :param _CurrentNum: 集群当前已有设备量
9685
9962
  :type CurrentNum: int
9686
9963
  :param _CreateTime: 集群创建时间
9687
- 注意:此字段可能返回 null,表示取不到有效值。
9688
9964
  :type CreateTime: str
9689
9965
  :param _InstanceIds: 集群内实例ID列表
9690
- 注意:此字段可能返回 null,表示取不到有效值。
9691
9966
  :type InstanceIds: list of str
9692
9967
  :param _HpcClusterType: 高性能计算集群类型。
9693
- 注意:此字段可能返回 null,表示取不到有效值。
9694
9968
  :type HpcClusterType: str
9695
9969
  :param _HpcClusterBusinessId: 高性能计算集群对应的业务场景标识,当前只支持CDC。
9696
- 注意:此字段可能返回 null,表示取不到有效值。
9697
9970
  :type HpcClusterBusinessId: str
9698
9971
  :param _HpcClusterNetMode: 高性能计算集群网络模式
9699
9972
  :type HpcClusterNetMode: int
@@ -9727,7 +10000,6 @@ class HpcClusterInfo(AbstractModel):
9727
10000
  @property
9728
10001
  def Name(self):
9729
10002
  """高性能计算集群名
9730
- 注意:此字段可能返回 null,表示取不到有效值。
9731
10003
  :rtype: str
9732
10004
  """
9733
10005
  return self._Name
@@ -9739,7 +10011,6 @@ class HpcClusterInfo(AbstractModel):
9739
10011
  @property
9740
10012
  def Remark(self):
9741
10013
  """高性能计算集群备注
9742
- 注意:此字段可能返回 null,表示取不到有效值。
9743
10014
  :rtype: str
9744
10015
  """
9745
10016
  return self._Remark
@@ -9784,7 +10055,6 @@ class HpcClusterInfo(AbstractModel):
9784
10055
  @property
9785
10056
  def CreateTime(self):
9786
10057
  """集群创建时间
9787
- 注意:此字段可能返回 null,表示取不到有效值。
9788
10058
  :rtype: str
9789
10059
  """
9790
10060
  return self._CreateTime
@@ -9796,7 +10066,6 @@ class HpcClusterInfo(AbstractModel):
9796
10066
  @property
9797
10067
  def InstanceIds(self):
9798
10068
  """集群内实例ID列表
9799
- 注意:此字段可能返回 null,表示取不到有效值。
9800
10069
  :rtype: list of str
9801
10070
  """
9802
10071
  return self._InstanceIds
@@ -9808,7 +10077,6 @@ class HpcClusterInfo(AbstractModel):
9808
10077
  @property
9809
10078
  def HpcClusterType(self):
9810
10079
  """高性能计算集群类型。
9811
- 注意:此字段可能返回 null,表示取不到有效值。
9812
10080
  :rtype: str
9813
10081
  """
9814
10082
  return self._HpcClusterType
@@ -9820,7 +10088,6 @@ class HpcClusterInfo(AbstractModel):
9820
10088
  @property
9821
10089
  def HpcClusterBusinessId(self):
9822
10090
  """高性能计算集群对应的业务场景标识,当前只支持CDC。
9823
- 注意:此字段可能返回 null,表示取不到有效值。
9824
10091
  :rtype: str
9825
10092
  """
9826
10093
  return self._HpcClusterBusinessId
@@ -9922,18 +10189,14 @@ IMPORTFAILED-导入失败
9922
10189
  注意:此字段可能返回 null,表示取不到有效值。
9923
10190
  :type SyncPercent: int
9924
10191
  :param _IsSupportCloudinit: 镜像是否支持cloud-init
9925
- 注意:此字段可能返回 null,表示取不到有效值。
9926
10192
  :type IsSupportCloudinit: bool
9927
10193
  :param _SnapshotSet: 镜像关联的快照信息
9928
- 注意:此字段可能返回 null,表示取不到有效值。
9929
10194
  :type SnapshotSet: list of Snapshot
9930
10195
  :param _Tags: 镜像关联的标签列表。
9931
- 注意:此字段可能返回 null,表示取不到有效值。
9932
10196
  :type Tags: list of Tag
9933
10197
  :param _LicenseType: 镜像许可类型
9934
10198
  :type LicenseType: str
9935
10199
  :param _ImageFamily: 镜像族
9936
- 注意:此字段可能返回 null,表示取不到有效值。
9937
10200
  :type ImageFamily: str
9938
10201
  :param _ImageDeprecated: 镜像是否废弃
9939
10202
  :type ImageDeprecated: bool
@@ -10112,7 +10375,6 @@ IMPORTFAILED-导入失败
10112
10375
  @property
10113
10376
  def IsSupportCloudinit(self):
10114
10377
  """镜像是否支持cloud-init
10115
- 注意:此字段可能返回 null,表示取不到有效值。
10116
10378
  :rtype: bool
10117
10379
  """
10118
10380
  return self._IsSupportCloudinit
@@ -10124,7 +10386,6 @@ IMPORTFAILED-导入失败
10124
10386
  @property
10125
10387
  def SnapshotSet(self):
10126
10388
  """镜像关联的快照信息
10127
- 注意:此字段可能返回 null,表示取不到有效值。
10128
10389
  :rtype: list of Snapshot
10129
10390
  """
10130
10391
  return self._SnapshotSet
@@ -10136,7 +10397,6 @@ IMPORTFAILED-导入失败
10136
10397
  @property
10137
10398
  def Tags(self):
10138
10399
  """镜像关联的标签列表。
10139
- 注意:此字段可能返回 null,表示取不到有效值。
10140
10400
  :rtype: list of Tag
10141
10401
  """
10142
10402
  return self._Tags
@@ -10159,7 +10419,6 @@ IMPORTFAILED-导入失败
10159
10419
  @property
10160
10420
  def ImageFamily(self):
10161
10421
  """镜像族
10162
- 注意:此字段可能返回 null,表示取不到有效值。
10163
10422
  :rtype: str
10164
10423
  """
10165
10424
  return self._ImageFamily
@@ -10228,10 +10487,8 @@ class ImageOsList(AbstractModel):
10228
10487
  def __init__(self):
10229
10488
  r"""
10230
10489
  :param _Windows: 支持的Windows操作系统。
10231
- 注意:此字段可能返回 null,表示取不到有效值。
10232
10490
  :type Windows: list of str
10233
10491
  :param _Linux: 支持的Linux操作系统
10234
- 注意:此字段可能返回 null,表示取不到有效值。
10235
10492
  :type Linux: list of str
10236
10493
  """
10237
10494
  self._Windows = None
@@ -10240,7 +10497,6 @@ class ImageOsList(AbstractModel):
10240
10497
  @property
10241
10498
  def Windows(self):
10242
10499
  """支持的Windows操作系统。
10243
- 注意:此字段可能返回 null,表示取不到有效值。
10244
10500
  :rtype: list of str
10245
10501
  """
10246
10502
  return self._Windows
@@ -10252,7 +10508,6 @@ class ImageOsList(AbstractModel):
10252
10508
  @property
10253
10509
  def Linux(self):
10254
10510
  """支持的Linux操作系统
10255
- 注意:此字段可能返回 null,表示取不到有效值。
10256
10511
  :rtype: list of str
10257
10512
  """
10258
10513
  return self._Linux
@@ -10866,26 +11121,167 @@ class ImportKeyPairResponse(AbstractModel):
10866
11121
  self._RequestId = params.get("RequestId")
10867
11122
 
10868
11123
 
10869
- class InquiryPriceModifyInstancesChargeTypeRequest(AbstractModel):
10870
- """InquiryPriceModifyInstancesChargeType请求参数结构体
11124
+ class InquirePricePurchaseReservedInstancesOfferingRequest(AbstractModel):
11125
+ """InquirePricePurchaseReservedInstancesOffering请求参数结构体
10871
11126
 
10872
11127
  """
10873
11128
 
10874
11129
  def __init__(self):
10875
11130
  r"""
10876
- :param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
10877
- :type InstanceIds: list of str
10878
- :param _InstanceChargeType: 修改后的实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月。</li><li>POSTPAID_BY_HOUR:后付费,即按量付费。</li>
10879
- :type InstanceChargeType: str
10880
- :param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定修改后实例的付费模式为预付费则该参数必传。</dx-alert>
10881
- :type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
10882
- :param _ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<br><li>true:表示切换弹性数据云盘计费模式</li><li>false:表示不切换弹性数据云盘计费模式</li><br>默认取值:false。
10883
- :type ModifyPortableDataDisk: bool
11131
+ :param _InstanceCount: 购买预留实例计费数量
11132
+ :type InstanceCount: int
11133
+ :param _ReservedInstancesOfferingId: 预留实例计费配置ID
11134
+ :type ReservedInstancesOfferingId: str
11135
+ :param _DryRun: 试运行
11136
+ :type DryRun: bool
11137
+ :param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性
11138
+ :type ClientToken: str
11139
+ :param _ReservedInstanceName: 预留实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>
11140
+ :type ReservedInstanceName: str
10884
11141
  """
10885
- self._InstanceIds = None
10886
- self._InstanceChargeType = None
10887
- self._InstanceChargePrepaid = None
10888
- self._ModifyPortableDataDisk = None
11142
+ self._InstanceCount = None
11143
+ self._ReservedInstancesOfferingId = None
11144
+ self._DryRun = None
11145
+ self._ClientToken = None
11146
+ self._ReservedInstanceName = None
11147
+
11148
+ @property
11149
+ def InstanceCount(self):
11150
+ """购买预留实例计费数量
11151
+ :rtype: int
11152
+ """
11153
+ return self._InstanceCount
11154
+
11155
+ @InstanceCount.setter
11156
+ def InstanceCount(self, InstanceCount):
11157
+ self._InstanceCount = InstanceCount
11158
+
11159
+ @property
11160
+ def ReservedInstancesOfferingId(self):
11161
+ """预留实例计费配置ID
11162
+ :rtype: str
11163
+ """
11164
+ return self._ReservedInstancesOfferingId
11165
+
11166
+ @ReservedInstancesOfferingId.setter
11167
+ def ReservedInstancesOfferingId(self, ReservedInstancesOfferingId):
11168
+ self._ReservedInstancesOfferingId = ReservedInstancesOfferingId
11169
+
11170
+ @property
11171
+ def DryRun(self):
11172
+ """试运行
11173
+ :rtype: bool
11174
+ """
11175
+ return self._DryRun
11176
+
11177
+ @DryRun.setter
11178
+ def DryRun(self, DryRun):
11179
+ self._DryRun = DryRun
11180
+
11181
+ @property
11182
+ def ClientToken(self):
11183
+ """用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性
11184
+ :rtype: str
11185
+ """
11186
+ return self._ClientToken
11187
+
11188
+ @ClientToken.setter
11189
+ def ClientToken(self, ClientToken):
11190
+ self._ClientToken = ClientToken
11191
+
11192
+ @property
11193
+ def ReservedInstanceName(self):
11194
+ """预留实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>
11195
+ :rtype: str
11196
+ """
11197
+ return self._ReservedInstanceName
11198
+
11199
+ @ReservedInstanceName.setter
11200
+ def ReservedInstanceName(self, ReservedInstanceName):
11201
+ self._ReservedInstanceName = ReservedInstanceName
11202
+
11203
+
11204
+ def _deserialize(self, params):
11205
+ self._InstanceCount = params.get("InstanceCount")
11206
+ self._ReservedInstancesOfferingId = params.get("ReservedInstancesOfferingId")
11207
+ self._DryRun = params.get("DryRun")
11208
+ self._ClientToken = params.get("ClientToken")
11209
+ self._ReservedInstanceName = params.get("ReservedInstanceName")
11210
+ memeber_set = set(params.keys())
11211
+ for name, value in vars(self).items():
11212
+ property_name = name[1:]
11213
+ if property_name in memeber_set:
11214
+ memeber_set.remove(property_name)
11215
+ if len(memeber_set) > 0:
11216
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11217
+
11218
+
11219
+
11220
+ class InquirePricePurchaseReservedInstancesOfferingResponse(AbstractModel):
11221
+ """InquirePricePurchaseReservedInstancesOffering返回参数结构体
11222
+
11223
+ """
11224
+
11225
+ def __init__(self):
11226
+ r"""
11227
+ :param _Price: 该参数表示对应配置预留实例的价格。
11228
+ :type Price: :class:`tencentcloud.cvm.v20170312.models.ReservedInstancePrice`
11229
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11230
+ :type RequestId: str
11231
+ """
11232
+ self._Price = None
11233
+ self._RequestId = None
11234
+
11235
+ @property
11236
+ def Price(self):
11237
+ """该参数表示对应配置预留实例的价格。
11238
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.ReservedInstancePrice`
11239
+ """
11240
+ return self._Price
11241
+
11242
+ @Price.setter
11243
+ def Price(self, Price):
11244
+ self._Price = Price
11245
+
11246
+ @property
11247
+ def RequestId(self):
11248
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11249
+ :rtype: str
11250
+ """
11251
+ return self._RequestId
11252
+
11253
+ @RequestId.setter
11254
+ def RequestId(self, RequestId):
11255
+ self._RequestId = RequestId
11256
+
11257
+
11258
+ def _deserialize(self, params):
11259
+ if params.get("Price") is not None:
11260
+ self._Price = ReservedInstancePrice()
11261
+ self._Price._deserialize(params.get("Price"))
11262
+ self._RequestId = params.get("RequestId")
11263
+
11264
+
11265
+ class InquiryPriceModifyInstancesChargeTypeRequest(AbstractModel):
11266
+ """InquiryPriceModifyInstancesChargeType请求参数结构体
11267
+
11268
+ """
11269
+
11270
+ def __init__(self):
11271
+ r"""
11272
+ :param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
11273
+ :type InstanceIds: list of str
11274
+ :param _InstanceChargeType: 修改后的实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月。</li><li>POSTPAID_BY_HOUR:后付费,即按量付费。</li>
11275
+ :type InstanceChargeType: str
11276
+ :param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定修改后实例的付费模式为预付费则该参数必传。</dx-alert>
11277
+ :type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
11278
+ :param _ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<br><li>true:表示切换弹性数据云盘计费模式</li><li>false:表示不切换弹性数据云盘计费模式</li><br>默认取值:false。
11279
+ :type ModifyPortableDataDisk: bool
11280
+ """
11281
+ self._InstanceIds = None
11282
+ self._InstanceChargeType = None
11283
+ self._InstanceChargePrepaid = None
11284
+ self._ModifyPortableDataDisk = None
10889
11285
 
10890
11286
  @property
10891
11287
  def InstanceIds(self):
@@ -12293,7 +12689,6 @@ class Instance(AbstractModel):
12293
12689
  注意:此字段可能返回 null,表示取不到有效值。
12294
12690
  :type LatestOperationRequestId: str
12295
12691
  :param _DisasterRecoverGroupId: 分散置放群组ID。
12296
- 注意:此字段可能返回 null,表示取不到有效值。
12297
12692
  :type DisasterRecoverGroupId: str
12298
12693
  :param _IPv6Addresses: 实例的IPv6地址。
12299
12694
  注意:此字段可能返回 null,表示取不到有效值。
@@ -12302,19 +12697,15 @@ class Instance(AbstractModel):
12302
12697
  注意:此字段可能返回 null,表示取不到有效值。
12303
12698
  :type CamRoleName: str
12304
12699
  :param _HpcClusterId: 高性能计算集群`ID`。
12305
- 注意:此字段可能返回 null,表示取不到有效值。
12306
12700
  :type HpcClusterId: str
12307
12701
  :param _RdmaIpAddresses: 高性能计算集群`IP`列表。
12308
12702
  注意:此字段可能返回 null,表示取不到有效值。
12309
12703
  :type RdmaIpAddresses: list of str
12310
12704
  :param _DedicatedClusterId: 实例所在的专用集群`ID`。
12311
- 注意:此字段可能返回 null,表示取不到有效值。
12312
12705
  :type DedicatedClusterId: str
12313
12706
  :param _IsolatedSource: 实例隔离类型。取值范围:<br><li>ARREAR:表示欠费隔离<br></li><li>EXPIRE:表示到期隔离<br></li><li>MANMADE:表示主动退还隔离<br></li><li>NOTISOLATED:表示未隔离<br></li>
12314
- 注意:此字段可能返回 null,表示取不到有效值。
12315
12707
  :type IsolatedSource: str
12316
12708
  :param _GPUInfo: GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。
12317
- 注意:此字段可能返回 null,表示取不到有效值。
12318
12709
  :type GPUInfo: :class:`tencentcloud.cvm.v20170312.models.GPUInfo`
12319
12710
  :param _LicenseType: 实例的操作系统许可类型,默认为TencentCloud
12320
12711
  :type LicenseType: str
@@ -12687,7 +13078,6 @@ class Instance(AbstractModel):
12687
13078
  @property
12688
13079
  def DisasterRecoverGroupId(self):
12689
13080
  """分散置放群组ID。
12690
- 注意:此字段可能返回 null,表示取不到有效值。
12691
13081
  :rtype: str
12692
13082
  """
12693
13083
  return self._DisasterRecoverGroupId
@@ -12723,7 +13113,6 @@ class Instance(AbstractModel):
12723
13113
  @property
12724
13114
  def HpcClusterId(self):
12725
13115
  """高性能计算集群`ID`。
12726
- 注意:此字段可能返回 null,表示取不到有效值。
12727
13116
  :rtype: str
12728
13117
  """
12729
13118
  return self._HpcClusterId
@@ -12747,7 +13136,6 @@ class Instance(AbstractModel):
12747
13136
  @property
12748
13137
  def DedicatedClusterId(self):
12749
13138
  """实例所在的专用集群`ID`。
12750
- 注意:此字段可能返回 null,表示取不到有效值。
12751
13139
  :rtype: str
12752
13140
  """
12753
13141
  return self._DedicatedClusterId
@@ -12759,7 +13147,6 @@ class Instance(AbstractModel):
12759
13147
  @property
12760
13148
  def IsolatedSource(self):
12761
13149
  """实例隔离类型。取值范围:<br><li>ARREAR:表示欠费隔离<br></li><li>EXPIRE:表示到期隔离<br></li><li>MANMADE:表示主动退还隔离<br></li><li>NOTISOLATED:表示未隔离<br></li>
12762
- 注意:此字段可能返回 null,表示取不到有效值。
12763
13150
  :rtype: str
12764
13151
  """
12765
13152
  return self._IsolatedSource
@@ -12771,7 +13158,6 @@ class Instance(AbstractModel):
12771
13158
  @property
12772
13159
  def GPUInfo(self):
12773
13160
  """GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。
12774
- 注意:此字段可能返回 null,表示取不到有效值。
12775
13161
  :rtype: :class:`tencentcloud.cvm.v20170312.models.GPUInfo`
12776
13162
  """
12777
13163
  return self._GPUInfo
@@ -13075,13 +13461,10 @@ class InstanceRefund(AbstractModel):
13075
13461
  def __init__(self):
13076
13462
  r"""
13077
13463
  :param _InstanceId: 实例Id。
13078
- 注意:此字段可能返回 null,表示取不到有效值。
13079
13464
  :type InstanceId: str
13080
13465
  :param _Refunds: 退款数额。
13081
- 注意:此字段可能返回 null,表示取不到有效值。
13082
13466
  :type Refunds: float
13083
13467
  :param _PriceDetail: 退款详情。
13084
- 注意:此字段可能返回 null,表示取不到有效值。
13085
13468
  :type PriceDetail: str
13086
13469
  """
13087
13470
  self._InstanceId = None
@@ -13091,7 +13474,6 @@ class InstanceRefund(AbstractModel):
13091
13474
  @property
13092
13475
  def InstanceId(self):
13093
13476
  """实例Id。
13094
- 注意:此字段可能返回 null,表示取不到有效值。
13095
13477
  :rtype: str
13096
13478
  """
13097
13479
  return self._InstanceId
@@ -13103,7 +13485,6 @@ class InstanceRefund(AbstractModel):
13103
13485
  @property
13104
13486
  def Refunds(self):
13105
13487
  """退款数额。
13106
- 注意:此字段可能返回 null,表示取不到有效值。
13107
13488
  :rtype: float
13108
13489
  """
13109
13490
  return self._Refunds
@@ -13115,7 +13496,6 @@ class InstanceRefund(AbstractModel):
13115
13496
  @property
13116
13497
  def PriceDetail(self):
13117
13498
  """退款详情。
13118
- 注意:此字段可能返回 null,表示取不到有效值。
13119
13499
  :rtype: str
13120
13500
  """
13121
13501
  return self._PriceDetail
@@ -13341,7 +13721,6 @@ class InstanceTypeConfigStatus(AbstractModel):
13341
13721
  :param _Status: 状态描述
13342
13722
  :type Status: str
13343
13723
  :param _Message: 状态描述信息
13344
- 注意:此字段可能返回 null,表示取不到有效值。
13345
13724
  :type Message: str
13346
13725
  :param _InstanceTypeConfig: 配置信息
13347
13726
  :type InstanceTypeConfig: :class:`tencentcloud.cvm.v20170312.models.InstanceTypeConfig`
@@ -13364,7 +13743,6 @@ class InstanceTypeConfigStatus(AbstractModel):
13364
13743
  @property
13365
13744
  def Message(self):
13366
13745
  """状态描述信息
13367
- 注意:此字段可能返回 null,表示取不到有效值。
13368
13746
  :rtype: str
13369
13747
  """
13370
13748
  return self._Message
@@ -13941,10 +14319,8 @@ class InternetChargeTypeConfig(AbstractModel):
13941
14319
  def __init__(self):
13942
14320
  r"""
13943
14321
  :param _InternetChargeType: 网络计费模式。
13944
- 注意:此字段可能返回 null,表示取不到有效值。
13945
14322
  :type InternetChargeType: str
13946
14323
  :param _Description: 网络计费模式描述信息。
13947
- 注意:此字段可能返回 null,表示取不到有效值。
13948
14324
  :type Description: str
13949
14325
  """
13950
14326
  self._InternetChargeType = None
@@ -13953,7 +14329,6 @@ class InternetChargeTypeConfig(AbstractModel):
13953
14329
  @property
13954
14330
  def InternetChargeType(self):
13955
14331
  """网络计费模式。
13956
- 注意:此字段可能返回 null,表示取不到有效值。
13957
14332
  :rtype: str
13958
14333
  """
13959
14334
  return self._InternetChargeType
@@ -13965,7 +14340,6 @@ class InternetChargeTypeConfig(AbstractModel):
13965
14340
  @property
13966
14341
  def Description(self):
13967
14342
  """网络计费模式描述信息。
13968
- 注意:此字段可能返回 null,表示取不到有效值。
13969
14343
  :rtype: str
13970
14344
  """
13971
14345
  return self._Description
@@ -14336,7 +14710,6 @@ class KeyPair(AbstractModel):
14336
14710
  :param _CreatedTime: 创建时间。按照`ISO8601`标准表示,并且使用`UTC`时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。
14337
14711
  :type CreatedTime: str
14338
14712
  :param _Tags: 密钥关联的标签列表。
14339
- 注意:此字段可能返回 null,表示取不到有效值。
14340
14713
  :type Tags: list of Tag
14341
14714
  """
14342
14715
  self._KeyId = None
@@ -14440,7 +14813,6 @@ class KeyPair(AbstractModel):
14440
14813
  @property
14441
14814
  def Tags(self):
14442
14815
  """密钥关联的标签列表。
14443
- 注意:此字段可能返回 null,表示取不到有效值。
14444
14816
  :rtype: list of Tag
14445
14817
  """
14446
14818
  return self._Tags
@@ -14534,25 +14906,18 @@ class LaunchTemplateInfo(AbstractModel):
14534
14906
  def __init__(self):
14535
14907
  r"""
14536
14908
  :param _LatestVersionNumber: 实例启动模版本号。
14537
- 注意:此字段可能返回 null,表示取不到有效值。
14538
14909
  :type LatestVersionNumber: int
14539
14910
  :param _LaunchTemplateId: 实例启动模板ID。
14540
- 注意:此字段可能返回 null,表示取不到有效值。
14541
14911
  :type LaunchTemplateId: str
14542
14912
  :param _LaunchTemplateName: 实例启动模板名。
14543
- 注意:此字段可能返回 null,表示取不到有效值。
14544
14913
  :type LaunchTemplateName: str
14545
14914
  :param _DefaultVersionNumber: 实例启动模板默认版本号。
14546
- 注意:此字段可能返回 null,表示取不到有效值。
14547
14915
  :type DefaultVersionNumber: int
14548
14916
  :param _LaunchTemplateVersionCount: 实例启动模板包含的版本总数量。
14549
- 注意:此字段可能返回 null,表示取不到有效值。
14550
14917
  :type LaunchTemplateVersionCount: int
14551
14918
  :param _CreatedBy: 创建该模板的用户UIN。
14552
- 注意:此字段可能返回 null,表示取不到有效值。
14553
14919
  :type CreatedBy: str
14554
14920
  :param _CreationTime: 创建该模板的时间。
14555
- 注意:此字段可能返回 null,表示取不到有效值。
14556
14921
  :type CreationTime: str
14557
14922
  """
14558
14923
  self._LatestVersionNumber = None
@@ -14566,7 +14931,6 @@ class LaunchTemplateInfo(AbstractModel):
14566
14931
  @property
14567
14932
  def LatestVersionNumber(self):
14568
14933
  """实例启动模版本号。
14569
- 注意:此字段可能返回 null,表示取不到有效值。
14570
14934
  :rtype: int
14571
14935
  """
14572
14936
  return self._LatestVersionNumber
@@ -14578,7 +14942,6 @@ class LaunchTemplateInfo(AbstractModel):
14578
14942
  @property
14579
14943
  def LaunchTemplateId(self):
14580
14944
  """实例启动模板ID。
14581
- 注意:此字段可能返回 null,表示取不到有效值。
14582
14945
  :rtype: str
14583
14946
  """
14584
14947
  return self._LaunchTemplateId
@@ -14590,7 +14953,6 @@ class LaunchTemplateInfo(AbstractModel):
14590
14953
  @property
14591
14954
  def LaunchTemplateName(self):
14592
14955
  """实例启动模板名。
14593
- 注意:此字段可能返回 null,表示取不到有效值。
14594
14956
  :rtype: str
14595
14957
  """
14596
14958
  return self._LaunchTemplateName
@@ -14602,7 +14964,6 @@ class LaunchTemplateInfo(AbstractModel):
14602
14964
  @property
14603
14965
  def DefaultVersionNumber(self):
14604
14966
  """实例启动模板默认版本号。
14605
- 注意:此字段可能返回 null,表示取不到有效值。
14606
14967
  :rtype: int
14607
14968
  """
14608
14969
  return self._DefaultVersionNumber
@@ -14614,7 +14975,6 @@ class LaunchTemplateInfo(AbstractModel):
14614
14975
  @property
14615
14976
  def LaunchTemplateVersionCount(self):
14616
14977
  """实例启动模板包含的版本总数量。
14617
- 注意:此字段可能返回 null,表示取不到有效值。
14618
14978
  :rtype: int
14619
14979
  """
14620
14980
  return self._LaunchTemplateVersionCount
@@ -14626,7 +14986,6 @@ class LaunchTemplateInfo(AbstractModel):
14626
14986
  @property
14627
14987
  def CreatedBy(self):
14628
14988
  """创建该模板的用户UIN。
14629
- 注意:此字段可能返回 null,表示取不到有效值。
14630
14989
  :rtype: str
14631
14990
  """
14632
14991
  return self._CreatedBy
@@ -14638,7 +14997,6 @@ class LaunchTemplateInfo(AbstractModel):
14638
14997
  @property
14639
14998
  def CreationTime(self):
14640
14999
  """创建该模板的时间。
14641
- 注意:此字段可能返回 null,表示取不到有效值。
14642
15000
  :rtype: str
14643
15001
  """
14644
15002
  return self._CreationTime
@@ -14674,81 +15032,61 @@ class LaunchTemplateVersionData(AbstractModel):
14674
15032
  def __init__(self):
14675
15033
  r"""
14676
15034
  :param _Placement: 实例所在的位置。
14677
- 注意:此字段可能返回 null,表示取不到有效值。
14678
15035
  :type Placement: :class:`tencentcloud.cvm.v20170312.models.Placement`
14679
15036
  :param _InstanceType: 实例机型。
14680
- 注意:此字段可能返回 null,表示取不到有效值。
14681
15037
  :type InstanceType: str
14682
15038
  :param _InstanceName: 实例名称。
14683
- 注意:此字段可能返回 null,表示取不到有效值。
14684
15039
  :type InstanceName: str
14685
- :param _InstanceChargeType: 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
14686
- 注意:此字段可能返回 null,表示取不到有效值。
15040
+ :param _InstanceChargeType: 实例计费模式。取值范围:
15041
+ <li>`PREPAID`:表示预付费,即包年包月</li>
15042
+ <li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费</li>
15043
+ <li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。</li>
15044
+ <li>`SPOTPAID`:表示竞价实例付费。</li>
14687
15045
  :type InstanceChargeType: str
14688
15046
  :param _SystemDisk: 实例系统盘信息。
14689
- 注意:此字段可能返回 null,表示取不到有效值。
14690
15047
  :type SystemDisk: :class:`tencentcloud.cvm.v20170312.models.SystemDisk`
14691
15048
  :param _DataDisks: 实例数据盘信息。只包含随实例购买的数据盘。
14692
- 注意:此字段可能返回 null,表示取不到有效值。
14693
15049
  :type DataDisks: list of DataDisk
14694
15050
  :param _InternetAccessible: 实例带宽信息。
14695
- 注意:此字段可能返回 null,表示取不到有效值。
14696
15051
  :type InternetAccessible: :class:`tencentcloud.cvm.v20170312.models.InternetAccessible`
14697
15052
  :param _VirtualPrivateCloud: 实例所属虚拟私有网络信息。
14698
- 注意:此字段可能返回 null,表示取不到有效值。
14699
15053
  :type VirtualPrivateCloud: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
14700
15054
  :param _ImageId: 生产实例所使用的镜像`ID`。
14701
- 注意:此字段可能返回 null,表示取不到有效值。
14702
15055
  :type ImageId: str
14703
15056
  :param _SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。
14704
- 注意:此字段可能返回 null,表示取不到有效值。
14705
15057
  :type SecurityGroupIds: list of str
14706
15058
  :param _LoginSettings: 实例登录设置。目前只返回实例所关联的密钥。
14707
- 注意:此字段可能返回 null,表示取不到有效值。
14708
15059
  :type LoginSettings: :class:`tencentcloud.cvm.v20170312.models.LoginSettings`
14709
15060
  :param _CamRoleName: CAM角色名。
14710
- 注意:此字段可能返回 null,表示取不到有效值。
14711
15061
  :type CamRoleName: str
14712
15062
  :param _HpcClusterId: 高性能计算集群`ID`。
14713
- 注意:此字段可能返回 null,表示取不到有效值。
14714
15063
  :type HpcClusterId: str
14715
15064
  :param _InstanceCount: 购买实例数量。
14716
- 注意:此字段可能返回 null,表示取不到有效值。
14717
15065
  :type InstanceCount: int
14718
15066
  :param _EnhancedService: 增强服务。
14719
- 注意:此字段可能返回 null,表示取不到有效值。
14720
15067
  :type EnhancedService: :class:`tencentcloud.cvm.v20170312.models.EnhancedService`
14721
15068
  :param _UserData: 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。
14722
- 注意:此字段可能返回 null,表示取不到有效值。
14723
15069
  :type UserData: str
14724
15070
  :param _DisasterRecoverGroupIds: 置放群组ID,仅支持指定一个。
14725
- 注意:此字段可能返回 null,表示取不到有效值。
14726
15071
  :type DisasterRecoverGroupIds: list of str
14727
15072
  :param _ActionTimer: 定时任务。通过该参数可以为实例指定定时任务,目前仅支持定时销毁。
14728
- 注意:此字段可能返回 null,表示取不到有效值。
14729
15073
  :type ActionTimer: :class:`tencentcloud.cvm.v20170312.models.ActionTimer`
14730
15074
  :param _InstanceMarketOptions: 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
14731
- 注意:此字段可能返回 null,表示取不到有效值。
14732
15075
  :type InstanceMarketOptions: :class:`tencentcloud.cvm.v20170312.models.InstanceMarketOptionsRequest`
14733
15076
  :param _HostName: 云服务器的主机名。
14734
- 注意:此字段可能返回 null,表示取不到有效值。
14735
15077
  :type HostName: str
14736
15078
  :param _ClientToken: 用于保证请求幂等性的字符串。
14737
- 注意:此字段可能返回 null,表示取不到有效值。
14738
15079
  :type ClientToken: str
14739
15080
  :param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。
14740
- 注意:此字段可能返回 null,表示取不到有效值。
14741
15081
  :type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
14742
15082
  :param _TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到相应的云服务器、云硬盘实例。
14743
- 注意:此字段可能返回 null,表示取不到有效值。
14744
15083
  :type TagSpecification: list of TagSpecification
14745
15084
  :param _DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:
14746
15085
 
14747
- TRUE:表示开启实例保护,不允许通过api接口删除实例
14748
- FALSE:表示关闭实例保护,允许通过api接口删除实例
15086
+ true:表示开启实例保护,不允许通过api接口删除实例
15087
+ false:表示关闭实例保护,允许通过api接口删除实例
14749
15088
 
14750
- 默认取值:FALSE
14751
- 注意:此字段可能返回 null,表示取不到有效值。
15089
+ 默认取值:false
14752
15090
  :type DisableApiTermination: bool
14753
15091
  """
14754
15092
  self._Placement = None
@@ -14779,7 +15117,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14779
15117
  @property
14780
15118
  def Placement(self):
14781
15119
  """实例所在的位置。
14782
- 注意:此字段可能返回 null,表示取不到有效值。
14783
15120
  :rtype: :class:`tencentcloud.cvm.v20170312.models.Placement`
14784
15121
  """
14785
15122
  return self._Placement
@@ -14791,7 +15128,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14791
15128
  @property
14792
15129
  def InstanceType(self):
14793
15130
  """实例机型。
14794
- 注意:此字段可能返回 null,表示取不到有效值。
14795
15131
  :rtype: str
14796
15132
  """
14797
15133
  return self._InstanceType
@@ -14803,7 +15139,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14803
15139
  @property
14804
15140
  def InstanceName(self):
14805
15141
  """实例名称。
14806
- 注意:此字段可能返回 null,表示取不到有效值。
14807
15142
  :rtype: str
14808
15143
  """
14809
15144
  return self._InstanceName
@@ -14814,8 +15149,11 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14814
15149
 
14815
15150
  @property
14816
15151
  def InstanceChargeType(self):
14817
- """实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
14818
- 注意:此字段可能返回 null,表示取不到有效值。
15152
+ """实例计费模式。取值范围:
15153
+ <li>`PREPAID`:表示预付费,即包年包月</li>
15154
+ <li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费</li>
15155
+ <li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。</li>
15156
+ <li>`SPOTPAID`:表示竞价实例付费。</li>
14819
15157
  :rtype: str
14820
15158
  """
14821
15159
  return self._InstanceChargeType
@@ -14827,7 +15165,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14827
15165
  @property
14828
15166
  def SystemDisk(self):
14829
15167
  """实例系统盘信息。
14830
- 注意:此字段可能返回 null,表示取不到有效值。
14831
15168
  :rtype: :class:`tencentcloud.cvm.v20170312.models.SystemDisk`
14832
15169
  """
14833
15170
  return self._SystemDisk
@@ -14839,7 +15176,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14839
15176
  @property
14840
15177
  def DataDisks(self):
14841
15178
  """实例数据盘信息。只包含随实例购买的数据盘。
14842
- 注意:此字段可能返回 null,表示取不到有效值。
14843
15179
  :rtype: list of DataDisk
14844
15180
  """
14845
15181
  return self._DataDisks
@@ -14851,7 +15187,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14851
15187
  @property
14852
15188
  def InternetAccessible(self):
14853
15189
  """实例带宽信息。
14854
- 注意:此字段可能返回 null,表示取不到有效值。
14855
15190
  :rtype: :class:`tencentcloud.cvm.v20170312.models.InternetAccessible`
14856
15191
  """
14857
15192
  return self._InternetAccessible
@@ -14863,7 +15198,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14863
15198
  @property
14864
15199
  def VirtualPrivateCloud(self):
14865
15200
  """实例所属虚拟私有网络信息。
14866
- 注意:此字段可能返回 null,表示取不到有效值。
14867
15201
  :rtype: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
14868
15202
  """
14869
15203
  return self._VirtualPrivateCloud
@@ -14875,7 +15209,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14875
15209
  @property
14876
15210
  def ImageId(self):
14877
15211
  """生产实例所使用的镜像`ID`。
14878
- 注意:此字段可能返回 null,表示取不到有效值。
14879
15212
  :rtype: str
14880
15213
  """
14881
15214
  return self._ImageId
@@ -14887,7 +15220,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14887
15220
  @property
14888
15221
  def SecurityGroupIds(self):
14889
15222
  """实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。
14890
- 注意:此字段可能返回 null,表示取不到有效值。
14891
15223
  :rtype: list of str
14892
15224
  """
14893
15225
  return self._SecurityGroupIds
@@ -14899,7 +15231,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14899
15231
  @property
14900
15232
  def LoginSettings(self):
14901
15233
  """实例登录设置。目前只返回实例所关联的密钥。
14902
- 注意:此字段可能返回 null,表示取不到有效值。
14903
15234
  :rtype: :class:`tencentcloud.cvm.v20170312.models.LoginSettings`
14904
15235
  """
14905
15236
  return self._LoginSettings
@@ -14911,7 +15242,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14911
15242
  @property
14912
15243
  def CamRoleName(self):
14913
15244
  """CAM角色名。
14914
- 注意:此字段可能返回 null,表示取不到有效值。
14915
15245
  :rtype: str
14916
15246
  """
14917
15247
  return self._CamRoleName
@@ -14923,7 +15253,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14923
15253
  @property
14924
15254
  def HpcClusterId(self):
14925
15255
  """高性能计算集群`ID`。
14926
- 注意:此字段可能返回 null,表示取不到有效值。
14927
15256
  :rtype: str
14928
15257
  """
14929
15258
  return self._HpcClusterId
@@ -14935,7 +15264,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14935
15264
  @property
14936
15265
  def InstanceCount(self):
14937
15266
  """购买实例数量。
14938
- 注意:此字段可能返回 null,表示取不到有效值。
14939
15267
  :rtype: int
14940
15268
  """
14941
15269
  return self._InstanceCount
@@ -14947,7 +15275,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14947
15275
  @property
14948
15276
  def EnhancedService(self):
14949
15277
  """增强服务。
14950
- 注意:此字段可能返回 null,表示取不到有效值。
14951
15278
  :rtype: :class:`tencentcloud.cvm.v20170312.models.EnhancedService`
14952
15279
  """
14953
15280
  return self._EnhancedService
@@ -14959,7 +15286,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14959
15286
  @property
14960
15287
  def UserData(self):
14961
15288
  """提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。
14962
- 注意:此字段可能返回 null,表示取不到有效值。
14963
15289
  :rtype: str
14964
15290
  """
14965
15291
  return self._UserData
@@ -14971,7 +15297,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14971
15297
  @property
14972
15298
  def DisasterRecoverGroupIds(self):
14973
15299
  """置放群组ID,仅支持指定一个。
14974
- 注意:此字段可能返回 null,表示取不到有效值。
14975
15300
  :rtype: list of str
14976
15301
  """
14977
15302
  return self._DisasterRecoverGroupIds
@@ -14983,7 +15308,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14983
15308
  @property
14984
15309
  def ActionTimer(self):
14985
15310
  """定时任务。通过该参数可以为实例指定定时任务,目前仅支持定时销毁。
14986
- 注意:此字段可能返回 null,表示取不到有效值。
14987
15311
  :rtype: :class:`tencentcloud.cvm.v20170312.models.ActionTimer`
14988
15312
  """
14989
15313
  return self._ActionTimer
@@ -14995,7 +15319,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
14995
15319
  @property
14996
15320
  def InstanceMarketOptions(self):
14997
15321
  """实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
14998
- 注意:此字段可能返回 null,表示取不到有效值。
14999
15322
  :rtype: :class:`tencentcloud.cvm.v20170312.models.InstanceMarketOptionsRequest`
15000
15323
  """
15001
15324
  return self._InstanceMarketOptions
@@ -15007,7 +15330,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
15007
15330
  @property
15008
15331
  def HostName(self):
15009
15332
  """云服务器的主机名。
15010
- 注意:此字段可能返回 null,表示取不到有效值。
15011
15333
  :rtype: str
15012
15334
  """
15013
15335
  return self._HostName
@@ -15019,7 +15341,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
15019
15341
  @property
15020
15342
  def ClientToken(self):
15021
15343
  """用于保证请求幂等性的字符串。
15022
- 注意:此字段可能返回 null,表示取不到有效值。
15023
15344
  :rtype: str
15024
15345
  """
15025
15346
  return self._ClientToken
@@ -15031,7 +15352,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
15031
15352
  @property
15032
15353
  def InstanceChargePrepaid(self):
15033
15354
  """预付费模式,即包年包月相关参数设置。
15034
- 注意:此字段可能返回 null,表示取不到有效值。
15035
15355
  :rtype: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
15036
15356
  """
15037
15357
  return self._InstanceChargePrepaid
@@ -15043,7 +15363,6 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
15043
15363
  @property
15044
15364
  def TagSpecification(self):
15045
15365
  """标签描述列表。通过指定该参数可以同时绑定标签到相应的云服务器、云硬盘实例。
15046
- 注意:此字段可能返回 null,表示取不到有效值。
15047
15366
  :rtype: list of TagSpecification
15048
15367
  """
15049
15368
  return self._TagSpecification
@@ -15056,11 +15375,10 @@ FALSE:表示关闭实例保护,允许通过api接口删除实例
15056
15375
  def DisableApiTermination(self):
15057
15376
  """实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:
15058
15377
 
15059
- TRUE:表示开启实例保护,不允许通过api接口删除实例
15060
- FALSE:表示关闭实例保护,允许通过api接口删除实例
15378
+ true:表示开启实例保护,不允许通过api接口删除实例
15379
+ false:表示关闭实例保护,允许通过api接口删除实例
15061
15380
 
15062
- 默认取值:FALSE
15063
- 注意:此字段可能返回 null,表示取不到有效值。
15381
+ 默认取值:false
15064
15382
  :rtype: bool
15065
15383
  """
15066
15384
  return self._DisableApiTermination
@@ -17581,55 +17899,194 @@ class ProgramFpgaImageResponse(AbstractModel):
17581
17899
  self._RequestId = params.get("RequestId")
17582
17900
 
17583
17901
 
17584
- class RebootInstancesRequest(AbstractModel):
17585
- """RebootInstances请求参数结构体
17902
+ class PurchaseReservedInstancesOfferingRequest(AbstractModel):
17903
+ """PurchaseReservedInstancesOffering请求参数结构体
17586
17904
 
17587
17905
  """
17588
17906
 
17589
17907
  def __init__(self):
17590
17908
  r"""
17591
- :param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
17592
- :type InstanceIds: list of str
17593
- :param _ForceReboot: 本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。表示是否在正常重启失败后选择强制重启实例。取值范围:<br><li>true:表示在正常重启失败后进行强制重启<br><li>false:表示在正常重启失败后不进行强制重启<br><br>默认取值:false。
17594
- :type ForceReboot: bool
17595
- :param _StopType: 关机类型。取值范围:<br><li>SOFT:表示软关机<br><li>HARD:表示硬关机<br><li>SOFT_FIRST:表示优先软关机,失败再执行硬关机<br><br>默认取值:SOFT。
17596
- :type StopType: str
17909
+ :param _InstanceCount: 购买预留实例计费数量
17910
+ :type InstanceCount: int
17911
+ :param _ReservedInstancesOfferingId: 预留实例计费配置ID
17912
+ :type ReservedInstancesOfferingId: str
17913
+ :param _DryRun: 试运行
17914
+ :type DryRun: bool
17915
+ :param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性
17916
+ :type ClientToken: str
17917
+ :param _ReservedInstanceName: 预留实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>
17918
+ :type ReservedInstanceName: str
17597
17919
  """
17598
- self._InstanceIds = None
17599
- self._ForceReboot = None
17600
- self._StopType = None
17920
+ self._InstanceCount = None
17921
+ self._ReservedInstancesOfferingId = None
17922
+ self._DryRun = None
17923
+ self._ClientToken = None
17924
+ self._ReservedInstanceName = None
17601
17925
 
17602
17926
  @property
17603
- def InstanceIds(self):
17604
- """一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
17605
- :rtype: list of str
17927
+ def InstanceCount(self):
17928
+ """购买预留实例计费数量
17929
+ :rtype: int
17606
17930
  """
17607
- return self._InstanceIds
17931
+ return self._InstanceCount
17608
17932
 
17609
- @InstanceIds.setter
17610
- def InstanceIds(self, InstanceIds):
17611
- self._InstanceIds = InstanceIds
17933
+ @InstanceCount.setter
17934
+ def InstanceCount(self, InstanceCount):
17935
+ self._InstanceCount = InstanceCount
17612
17936
 
17613
17937
  @property
17614
- def ForceReboot(self):
17615
- """本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。表示是否在正常重启失败后选择强制重启实例。取值范围:<br><li>true:表示在正常重启失败后进行强制重启<br><li>false:表示在正常重启失败后不进行强制重启<br><br>默认取值:false。
17938
+ def ReservedInstancesOfferingId(self):
17939
+ """预留实例计费配置ID
17940
+ :rtype: str
17941
+ """
17942
+ return self._ReservedInstancesOfferingId
17943
+
17944
+ @ReservedInstancesOfferingId.setter
17945
+ def ReservedInstancesOfferingId(self, ReservedInstancesOfferingId):
17946
+ self._ReservedInstancesOfferingId = ReservedInstancesOfferingId
17947
+
17948
+ @property
17949
+ def DryRun(self):
17950
+ """试运行
17616
17951
  :rtype: bool
17617
17952
  """
17618
- return self._ForceReboot
17953
+ return self._DryRun
17619
17954
 
17620
- @ForceReboot.setter
17621
- def ForceReboot(self, ForceReboot):
17622
- self._ForceReboot = ForceReboot
17955
+ @DryRun.setter
17956
+ def DryRun(self, DryRun):
17957
+ self._DryRun = DryRun
17623
17958
 
17624
17959
  @property
17625
- def StopType(self):
17626
- """关机类型。取值范围:<br><li>SOFT:表示软关机<br><li>HARD:表示硬关机<br><li>SOFT_FIRST:表示优先软关机,失败再执行硬关机<br><br>默认取值:SOFT。
17960
+ def ClientToken(self):
17961
+ """用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性
17627
17962
  :rtype: str
17628
17963
  """
17629
- return self._StopType
17964
+ return self._ClientToken
17630
17965
 
17631
- @StopType.setter
17632
- def StopType(self, StopType):
17966
+ @ClientToken.setter
17967
+ def ClientToken(self, ClientToken):
17968
+ self._ClientToken = ClientToken
17969
+
17970
+ @property
17971
+ def ReservedInstanceName(self):
17972
+ """预留实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>
17973
+ :rtype: str
17974
+ """
17975
+ return self._ReservedInstanceName
17976
+
17977
+ @ReservedInstanceName.setter
17978
+ def ReservedInstanceName(self, ReservedInstanceName):
17979
+ self._ReservedInstanceName = ReservedInstanceName
17980
+
17981
+
17982
+ def _deserialize(self, params):
17983
+ self._InstanceCount = params.get("InstanceCount")
17984
+ self._ReservedInstancesOfferingId = params.get("ReservedInstancesOfferingId")
17985
+ self._DryRun = params.get("DryRun")
17986
+ self._ClientToken = params.get("ClientToken")
17987
+ self._ReservedInstanceName = params.get("ReservedInstanceName")
17988
+ memeber_set = set(params.keys())
17989
+ for name, value in vars(self).items():
17990
+ property_name = name[1:]
17991
+ if property_name in memeber_set:
17992
+ memeber_set.remove(property_name)
17993
+ if len(memeber_set) > 0:
17994
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17995
+
17996
+
17997
+
17998
+ class PurchaseReservedInstancesOfferingResponse(AbstractModel):
17999
+ """PurchaseReservedInstancesOffering返回参数结构体
18000
+
18001
+ """
18002
+
18003
+ def __init__(self):
18004
+ r"""
18005
+ :param _ReservedInstanceId: 已购买预留实例计费ID
18006
+ :type ReservedInstanceId: str
18007
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18008
+ :type RequestId: str
18009
+ """
18010
+ self._ReservedInstanceId = None
18011
+ self._RequestId = None
18012
+
18013
+ @property
18014
+ def ReservedInstanceId(self):
18015
+ """已购买预留实例计费ID
18016
+ :rtype: str
18017
+ """
18018
+ return self._ReservedInstanceId
18019
+
18020
+ @ReservedInstanceId.setter
18021
+ def ReservedInstanceId(self, ReservedInstanceId):
18022
+ self._ReservedInstanceId = ReservedInstanceId
18023
+
18024
+ @property
18025
+ def RequestId(self):
18026
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18027
+ :rtype: str
18028
+ """
18029
+ return self._RequestId
18030
+
18031
+ @RequestId.setter
18032
+ def RequestId(self, RequestId):
18033
+ self._RequestId = RequestId
18034
+
18035
+
18036
+ def _deserialize(self, params):
18037
+ self._ReservedInstanceId = params.get("ReservedInstanceId")
18038
+ self._RequestId = params.get("RequestId")
18039
+
18040
+
18041
+ class RebootInstancesRequest(AbstractModel):
18042
+ """RebootInstances请求参数结构体
18043
+
18044
+ """
18045
+
18046
+ def __init__(self):
18047
+ r"""
18048
+ :param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
18049
+ :type InstanceIds: list of str
18050
+ :param _ForceReboot: 本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。表示是否在正常重启失败后选择强制重启实例。取值范围:<br><li>true:表示在正常重启失败后进行强制重启<br><li>false:表示在正常重启失败后不进行强制重启<br><br>默认取值:false。
18051
+ :type ForceReboot: bool
18052
+ :param _StopType: 关机类型。取值范围:<br><li>SOFT:表示软关机<br><li>HARD:表示硬关机<br><li>SOFT_FIRST:表示优先软关机,失败再执行硬关机<br><br>默认取值:SOFT。
18053
+ :type StopType: str
18054
+ """
18055
+ self._InstanceIds = None
18056
+ self._ForceReboot = None
18057
+ self._StopType = None
18058
+
18059
+ @property
18060
+ def InstanceIds(self):
18061
+ """一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
18062
+ :rtype: list of str
18063
+ """
18064
+ return self._InstanceIds
18065
+
18066
+ @InstanceIds.setter
18067
+ def InstanceIds(self, InstanceIds):
18068
+ self._InstanceIds = InstanceIds
18069
+
18070
+ @property
18071
+ def ForceReboot(self):
18072
+ """本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。表示是否在正常重启失败后选择强制重启实例。取值范围:<br><li>true:表示在正常重启失败后进行强制重启<br><li>false:表示在正常重启失败后不进行强制重启<br><br>默认取值:false。
18073
+ :rtype: bool
18074
+ """
18075
+ return self._ForceReboot
18076
+
18077
+ @ForceReboot.setter
18078
+ def ForceReboot(self, ForceReboot):
18079
+ self._ForceReboot = ForceReboot
18080
+
18081
+ @property
18082
+ def StopType(self):
18083
+ """关机类型。取值范围:<br><li>SOFT:表示软关机<br><li>HARD:表示硬关机<br><li>SOFT_FIRST:表示优先软关机,失败再执行硬关机<br><br>默认取值:SOFT。
18084
+ :rtype: str
18085
+ """
18086
+ return self._StopType
18087
+
18088
+ @StopType.setter
18089
+ def StopType(self, StopType):
17633
18090
  self._StopType = StopType
17634
18091
 
17635
18092
 
@@ -17683,13 +18140,10 @@ class RegionInfo(AbstractModel):
17683
18140
  def __init__(self):
17684
18141
  r"""
17685
18142
  :param _Region: 地域名称,例如,ap-guangzhou
17686
- 注意:此字段可能返回 null,表示取不到有效值。
17687
18143
  :type Region: str
17688
18144
  :param _RegionName: 地域描述,例如,华南地区(广州)
17689
- 注意:此字段可能返回 null,表示取不到有效值。
17690
18145
  :type RegionName: str
17691
18146
  :param _RegionState: 地域是否可用状态
17692
- 注意:此字段可能返回 null,表示取不到有效值。
17693
18147
  :type RegionState: str
17694
18148
  """
17695
18149
  self._Region = None
@@ -17699,7 +18153,6 @@ class RegionInfo(AbstractModel):
17699
18153
  @property
17700
18154
  def Region(self):
17701
18155
  """地域名称,例如,ap-guangzhou
17702
- 注意:此字段可能返回 null,表示取不到有效值。
17703
18156
  :rtype: str
17704
18157
  """
17705
18158
  return self._Region
@@ -17711,7 +18164,6 @@ class RegionInfo(AbstractModel):
17711
18164
  @property
17712
18165
  def RegionName(self):
17713
18166
  """地域描述,例如,华南地区(广州)
17714
- 注意:此字段可能返回 null,表示取不到有效值。
17715
18167
  :rtype: str
17716
18168
  """
17717
18169
  return self._RegionName
@@ -17723,7 +18175,6 @@ class RegionInfo(AbstractModel):
17723
18175
  @property
17724
18176
  def RegionState(self):
17725
18177
  """地域是否可用状态
17726
- 注意:此字段可能返回 null,表示取不到有效值。
17727
18178
  :rtype: str
17728
18179
  """
17729
18180
  return self._RegionState
@@ -18709,6 +19160,850 @@ class RepairTaskInfo(AbstractModel):
18709
19160
 
18710
19161
 
18711
19162
 
19163
+ class ReservedInstanceConfigInfoItem(AbstractModel):
19164
+ """预留实例静态配置信息。预留实例当前只针对国际站白名单用户开放。
19165
+
19166
+ """
19167
+
19168
+ def __init__(self):
19169
+ r"""
19170
+ :param _Type: 实例规格。
19171
+ :type Type: str
19172
+ :param _TypeName: 实例规格名称。
19173
+ :type TypeName: str
19174
+ :param _Order: 优先级。
19175
+ :type Order: int
19176
+ :param _InstanceFamilies: 实例族信息列表。
19177
+ :type InstanceFamilies: list of ReservedInstanceFamilyItem
19178
+ """
19179
+ self._Type = None
19180
+ self._TypeName = None
19181
+ self._Order = None
19182
+ self._InstanceFamilies = None
19183
+
19184
+ @property
19185
+ def Type(self):
19186
+ """实例规格。
19187
+ :rtype: str
19188
+ """
19189
+ return self._Type
19190
+
19191
+ @Type.setter
19192
+ def Type(self, Type):
19193
+ self._Type = Type
19194
+
19195
+ @property
19196
+ def TypeName(self):
19197
+ """实例规格名称。
19198
+ :rtype: str
19199
+ """
19200
+ return self._TypeName
19201
+
19202
+ @TypeName.setter
19203
+ def TypeName(self, TypeName):
19204
+ self._TypeName = TypeName
19205
+
19206
+ @property
19207
+ def Order(self):
19208
+ """优先级。
19209
+ :rtype: int
19210
+ """
19211
+ return self._Order
19212
+
19213
+ @Order.setter
19214
+ def Order(self, Order):
19215
+ self._Order = Order
19216
+
19217
+ @property
19218
+ def InstanceFamilies(self):
19219
+ """实例族信息列表。
19220
+ :rtype: list of ReservedInstanceFamilyItem
19221
+ """
19222
+ return self._InstanceFamilies
19223
+
19224
+ @InstanceFamilies.setter
19225
+ def InstanceFamilies(self, InstanceFamilies):
19226
+ self._InstanceFamilies = InstanceFamilies
19227
+
19228
+
19229
+ def _deserialize(self, params):
19230
+ self._Type = params.get("Type")
19231
+ self._TypeName = params.get("TypeName")
19232
+ self._Order = params.get("Order")
19233
+ if params.get("InstanceFamilies") is not None:
19234
+ self._InstanceFamilies = []
19235
+ for item in params.get("InstanceFamilies"):
19236
+ obj = ReservedInstanceFamilyItem()
19237
+ obj._deserialize(item)
19238
+ self._InstanceFamilies.append(obj)
19239
+ memeber_set = set(params.keys())
19240
+ for name, value in vars(self).items():
19241
+ property_name = name[1:]
19242
+ if property_name in memeber_set:
19243
+ memeber_set.remove(property_name)
19244
+ if len(memeber_set) > 0:
19245
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19246
+
19247
+
19248
+
19249
+ class ReservedInstanceFamilyItem(AbstractModel):
19250
+ """预留实例相关实例族信息。预留实例当前只针对国际站白名单用户开放。
19251
+
19252
+ """
19253
+
19254
+ def __init__(self):
19255
+ r"""
19256
+ :param _InstanceFamily: 实例族。
19257
+ :type InstanceFamily: str
19258
+ :param _Order: 优先级。
19259
+ :type Order: int
19260
+ :param _InstanceTypes: 实例类型信息列表。
19261
+ :type InstanceTypes: list of ReservedInstanceTypeItem
19262
+ """
19263
+ self._InstanceFamily = None
19264
+ self._Order = None
19265
+ self._InstanceTypes = None
19266
+
19267
+ @property
19268
+ def InstanceFamily(self):
19269
+ """实例族。
19270
+ :rtype: str
19271
+ """
19272
+ return self._InstanceFamily
19273
+
19274
+ @InstanceFamily.setter
19275
+ def InstanceFamily(self, InstanceFamily):
19276
+ self._InstanceFamily = InstanceFamily
19277
+
19278
+ @property
19279
+ def Order(self):
19280
+ """优先级。
19281
+ :rtype: int
19282
+ """
19283
+ return self._Order
19284
+
19285
+ @Order.setter
19286
+ def Order(self, Order):
19287
+ self._Order = Order
19288
+
19289
+ @property
19290
+ def InstanceTypes(self):
19291
+ """实例类型信息列表。
19292
+ :rtype: list of ReservedInstanceTypeItem
19293
+ """
19294
+ return self._InstanceTypes
19295
+
19296
+ @InstanceTypes.setter
19297
+ def InstanceTypes(self, InstanceTypes):
19298
+ self._InstanceTypes = InstanceTypes
19299
+
19300
+
19301
+ def _deserialize(self, params):
19302
+ self._InstanceFamily = params.get("InstanceFamily")
19303
+ self._Order = params.get("Order")
19304
+ if params.get("InstanceTypes") is not None:
19305
+ self._InstanceTypes = []
19306
+ for item in params.get("InstanceTypes"):
19307
+ obj = ReservedInstanceTypeItem()
19308
+ obj._deserialize(item)
19309
+ self._InstanceTypes.append(obj)
19310
+ memeber_set = set(params.keys())
19311
+ for name, value in vars(self).items():
19312
+ property_name = name[1:]
19313
+ if property_name in memeber_set:
19314
+ memeber_set.remove(property_name)
19315
+ if len(memeber_set) > 0:
19316
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19317
+
19318
+
19319
+
19320
+ class ReservedInstancePrice(AbstractModel):
19321
+ """预留实例相关价格信息。预留实例当前只针对国际站白名单用户开放。
19322
+
19323
+ """
19324
+
19325
+ def __init__(self):
19326
+ r"""
19327
+ :param _OriginalFixedPrice: 预支合计费用的原价,单位:元。
19328
+ :type OriginalFixedPrice: float
19329
+ :param _DiscountFixedPrice: 预支合计费用的折扣价,单位:元。
19330
+ :type DiscountFixedPrice: float
19331
+ :param _OriginalUsagePrice: 后续合计费用的原价,单位:元/小时
19332
+ :type OriginalUsagePrice: float
19333
+ :param _DiscountUsagePrice: 后续合计费用的折扣价,单位:元/小时
19334
+ :type DiscountUsagePrice: float
19335
+ :param _FixedPriceDiscount: 预支费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
19336
+ 注意:此字段可能返回 null,表示取不到有效值。
19337
+ :type FixedPriceDiscount: float
19338
+ :param _UsagePriceDiscount: 后续费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
19339
+ 注意:此字段可能返回 null,表示取不到有效值。
19340
+ :type UsagePriceDiscount: float
19341
+ """
19342
+ self._OriginalFixedPrice = None
19343
+ self._DiscountFixedPrice = None
19344
+ self._OriginalUsagePrice = None
19345
+ self._DiscountUsagePrice = None
19346
+ self._FixedPriceDiscount = None
19347
+ self._UsagePriceDiscount = None
19348
+
19349
+ @property
19350
+ def OriginalFixedPrice(self):
19351
+ """预支合计费用的原价,单位:元。
19352
+ :rtype: float
19353
+ """
19354
+ return self._OriginalFixedPrice
19355
+
19356
+ @OriginalFixedPrice.setter
19357
+ def OriginalFixedPrice(self, OriginalFixedPrice):
19358
+ self._OriginalFixedPrice = OriginalFixedPrice
19359
+
19360
+ @property
19361
+ def DiscountFixedPrice(self):
19362
+ """预支合计费用的折扣价,单位:元。
19363
+ :rtype: float
19364
+ """
19365
+ return self._DiscountFixedPrice
19366
+
19367
+ @DiscountFixedPrice.setter
19368
+ def DiscountFixedPrice(self, DiscountFixedPrice):
19369
+ self._DiscountFixedPrice = DiscountFixedPrice
19370
+
19371
+ @property
19372
+ def OriginalUsagePrice(self):
19373
+ """后续合计费用的原价,单位:元/小时
19374
+ :rtype: float
19375
+ """
19376
+ return self._OriginalUsagePrice
19377
+
19378
+ @OriginalUsagePrice.setter
19379
+ def OriginalUsagePrice(self, OriginalUsagePrice):
19380
+ self._OriginalUsagePrice = OriginalUsagePrice
19381
+
19382
+ @property
19383
+ def DiscountUsagePrice(self):
19384
+ """后续合计费用的折扣价,单位:元/小时
19385
+ :rtype: float
19386
+ """
19387
+ return self._DiscountUsagePrice
19388
+
19389
+ @DiscountUsagePrice.setter
19390
+ def DiscountUsagePrice(self, DiscountUsagePrice):
19391
+ self._DiscountUsagePrice = DiscountUsagePrice
19392
+
19393
+ @property
19394
+ def FixedPriceDiscount(self):
19395
+ """预支费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
19396
+ 注意:此字段可能返回 null,表示取不到有效值。
19397
+ :rtype: float
19398
+ """
19399
+ return self._FixedPriceDiscount
19400
+
19401
+ @FixedPriceDiscount.setter
19402
+ def FixedPriceDiscount(self, FixedPriceDiscount):
19403
+ self._FixedPriceDiscount = FixedPriceDiscount
19404
+
19405
+ @property
19406
+ def UsagePriceDiscount(self):
19407
+ """后续费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
19408
+ 注意:此字段可能返回 null,表示取不到有效值。
19409
+ :rtype: float
19410
+ """
19411
+ return self._UsagePriceDiscount
19412
+
19413
+ @UsagePriceDiscount.setter
19414
+ def UsagePriceDiscount(self, UsagePriceDiscount):
19415
+ self._UsagePriceDiscount = UsagePriceDiscount
19416
+
19417
+
19418
+ def _deserialize(self, params):
19419
+ self._OriginalFixedPrice = params.get("OriginalFixedPrice")
19420
+ self._DiscountFixedPrice = params.get("DiscountFixedPrice")
19421
+ self._OriginalUsagePrice = params.get("OriginalUsagePrice")
19422
+ self._DiscountUsagePrice = params.get("DiscountUsagePrice")
19423
+ self._FixedPriceDiscount = params.get("FixedPriceDiscount")
19424
+ self._UsagePriceDiscount = params.get("UsagePriceDiscount")
19425
+ memeber_set = set(params.keys())
19426
+ for name, value in vars(self).items():
19427
+ property_name = name[1:]
19428
+ if property_name in memeber_set:
19429
+ memeber_set.remove(property_name)
19430
+ if len(memeber_set) > 0:
19431
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19432
+
19433
+
19434
+
19435
+ class ReservedInstancePriceItem(AbstractModel):
19436
+ """基于付费类型的预留实例相关价格信息。预留实例当前只针对国际站白名单用户开放。
19437
+
19438
+ """
19439
+
19440
+ def __init__(self):
19441
+ r"""
19442
+ :param _OfferingType: 付费类型,如:"All Upfront","Partial Upfront","No Upfront"
19443
+ :type OfferingType: str
19444
+ :param _FixedPrice: 预支合计费用,单位:元。
19445
+ :type FixedPrice: float
19446
+ :param _UsagePrice: 后续合计费用,单位:元/小时
19447
+ :type UsagePrice: float
19448
+ :param _ReservedInstancesOfferingId: 预留实例配置ID
19449
+ :type ReservedInstancesOfferingId: str
19450
+ :param _Zone: 预留实例计费可购买的可用区。
19451
+ :type Zone: str
19452
+ :param _Duration: 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
19453
+ 计量单位:秒
19454
+ :type Duration: int
19455
+ :param _ProductDescription: 预留实例计费的平台描述(即操作系统)。形如:Linux。
19456
+ 返回项: Linux 。
19457
+ :type ProductDescription: str
19458
+ :param _DiscountUsagePrice: 预支合计费用,单位:元。
19459
+ :type DiscountUsagePrice: float
19460
+ :param _DiscountFixedPrice: 后续合计费用的折扣价,单位:元/小时
19461
+ :type DiscountFixedPrice: float
19462
+ """
19463
+ self._OfferingType = None
19464
+ self._FixedPrice = None
19465
+ self._UsagePrice = None
19466
+ self._ReservedInstancesOfferingId = None
19467
+ self._Zone = None
19468
+ self._Duration = None
19469
+ self._ProductDescription = None
19470
+ self._DiscountUsagePrice = None
19471
+ self._DiscountFixedPrice = None
19472
+
19473
+ @property
19474
+ def OfferingType(self):
19475
+ """付费类型,如:"All Upfront","Partial Upfront","No Upfront"
19476
+ :rtype: str
19477
+ """
19478
+ return self._OfferingType
19479
+
19480
+ @OfferingType.setter
19481
+ def OfferingType(self, OfferingType):
19482
+ self._OfferingType = OfferingType
19483
+
19484
+ @property
19485
+ def FixedPrice(self):
19486
+ """预支合计费用,单位:元。
19487
+ :rtype: float
19488
+ """
19489
+ return self._FixedPrice
19490
+
19491
+ @FixedPrice.setter
19492
+ def FixedPrice(self, FixedPrice):
19493
+ self._FixedPrice = FixedPrice
19494
+
19495
+ @property
19496
+ def UsagePrice(self):
19497
+ """后续合计费用,单位:元/小时
19498
+ :rtype: float
19499
+ """
19500
+ return self._UsagePrice
19501
+
19502
+ @UsagePrice.setter
19503
+ def UsagePrice(self, UsagePrice):
19504
+ self._UsagePrice = UsagePrice
19505
+
19506
+ @property
19507
+ def ReservedInstancesOfferingId(self):
19508
+ """预留实例配置ID
19509
+ :rtype: str
19510
+ """
19511
+ return self._ReservedInstancesOfferingId
19512
+
19513
+ @ReservedInstancesOfferingId.setter
19514
+ def ReservedInstancesOfferingId(self, ReservedInstancesOfferingId):
19515
+ self._ReservedInstancesOfferingId = ReservedInstancesOfferingId
19516
+
19517
+ @property
19518
+ def Zone(self):
19519
+ """预留实例计费可购买的可用区。
19520
+ :rtype: str
19521
+ """
19522
+ return self._Zone
19523
+
19524
+ @Zone.setter
19525
+ def Zone(self, Zone):
19526
+ self._Zone = Zone
19527
+
19528
+ @property
19529
+ def Duration(self):
19530
+ """预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
19531
+ 计量单位:秒
19532
+ :rtype: int
19533
+ """
19534
+ return self._Duration
19535
+
19536
+ @Duration.setter
19537
+ def Duration(self, Duration):
19538
+ self._Duration = Duration
19539
+
19540
+ @property
19541
+ def ProductDescription(self):
19542
+ """预留实例计费的平台描述(即操作系统)。形如:Linux。
19543
+ 返回项: Linux 。
19544
+ :rtype: str
19545
+ """
19546
+ return self._ProductDescription
19547
+
19548
+ @ProductDescription.setter
19549
+ def ProductDescription(self, ProductDescription):
19550
+ self._ProductDescription = ProductDescription
19551
+
19552
+ @property
19553
+ def DiscountUsagePrice(self):
19554
+ """预支合计费用,单位:元。
19555
+ :rtype: float
19556
+ """
19557
+ return self._DiscountUsagePrice
19558
+
19559
+ @DiscountUsagePrice.setter
19560
+ def DiscountUsagePrice(self, DiscountUsagePrice):
19561
+ self._DiscountUsagePrice = DiscountUsagePrice
19562
+
19563
+ @property
19564
+ def DiscountFixedPrice(self):
19565
+ """后续合计费用的折扣价,单位:元/小时
19566
+ :rtype: float
19567
+ """
19568
+ return self._DiscountFixedPrice
19569
+
19570
+ @DiscountFixedPrice.setter
19571
+ def DiscountFixedPrice(self, DiscountFixedPrice):
19572
+ self._DiscountFixedPrice = DiscountFixedPrice
19573
+
19574
+
19575
+ def _deserialize(self, params):
19576
+ self._OfferingType = params.get("OfferingType")
19577
+ self._FixedPrice = params.get("FixedPrice")
19578
+ self._UsagePrice = params.get("UsagePrice")
19579
+ self._ReservedInstancesOfferingId = params.get("ReservedInstancesOfferingId")
19580
+ self._Zone = params.get("Zone")
19581
+ self._Duration = params.get("Duration")
19582
+ self._ProductDescription = params.get("ProductDescription")
19583
+ self._DiscountUsagePrice = params.get("DiscountUsagePrice")
19584
+ self._DiscountFixedPrice = params.get("DiscountFixedPrice")
19585
+ memeber_set = set(params.keys())
19586
+ for name, value in vars(self).items():
19587
+ property_name = name[1:]
19588
+ if property_name in memeber_set:
19589
+ memeber_set.remove(property_name)
19590
+ if len(memeber_set) > 0:
19591
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19592
+
19593
+
19594
+
19595
+ class ReservedInstanceTypeItem(AbstractModel):
19596
+ """预留实例类型信息。预留实例当前只针对国际站白名单用户开放。
19597
+
19598
+ """
19599
+
19600
+ def __init__(self):
19601
+ r"""
19602
+ :param _InstanceType: 实例类型。
19603
+ :type InstanceType: str
19604
+ :param _Cpu: CPU核数。
19605
+ :type Cpu: int
19606
+ :param _Memory: 内存大小。
19607
+ :type Memory: int
19608
+ :param _Gpu: GPU数量。
19609
+ :type Gpu: int
19610
+ :param _Fpga: FPGA数量。
19611
+ :type Fpga: int
19612
+ :param _StorageBlock: 本地存储块数量。
19613
+ :type StorageBlock: int
19614
+ :param _NetworkCard: 网卡数。
19615
+ :type NetworkCard: int
19616
+ :param _MaxBandwidth: 最大带宽。
19617
+ :type MaxBandwidth: float
19618
+ :param _Frequency: 主频。
19619
+ :type Frequency: str
19620
+ :param _CpuModelName: CPU型号名称。
19621
+ :type CpuModelName: str
19622
+ :param _Pps: 包转发率。
19623
+ :type Pps: int
19624
+ :param _Externals: 外部信息。
19625
+ :type Externals: :class:`tencentcloud.cvm.v20170312.models.Externals`
19626
+ :param _Remark: 备注信息。
19627
+ :type Remark: str
19628
+ :param _Prices: 预留实例配置价格信息。
19629
+ :type Prices: list of ReservedInstancePriceItem
19630
+ """
19631
+ self._InstanceType = None
19632
+ self._Cpu = None
19633
+ self._Memory = None
19634
+ self._Gpu = None
19635
+ self._Fpga = None
19636
+ self._StorageBlock = None
19637
+ self._NetworkCard = None
19638
+ self._MaxBandwidth = None
19639
+ self._Frequency = None
19640
+ self._CpuModelName = None
19641
+ self._Pps = None
19642
+ self._Externals = None
19643
+ self._Remark = None
19644
+ self._Prices = None
19645
+
19646
+ @property
19647
+ def InstanceType(self):
19648
+ """实例类型。
19649
+ :rtype: str
19650
+ """
19651
+ return self._InstanceType
19652
+
19653
+ @InstanceType.setter
19654
+ def InstanceType(self, InstanceType):
19655
+ self._InstanceType = InstanceType
19656
+
19657
+ @property
19658
+ def Cpu(self):
19659
+ """CPU核数。
19660
+ :rtype: int
19661
+ """
19662
+ return self._Cpu
19663
+
19664
+ @Cpu.setter
19665
+ def Cpu(self, Cpu):
19666
+ self._Cpu = Cpu
19667
+
19668
+ @property
19669
+ def Memory(self):
19670
+ """内存大小。
19671
+ :rtype: int
19672
+ """
19673
+ return self._Memory
19674
+
19675
+ @Memory.setter
19676
+ def Memory(self, Memory):
19677
+ self._Memory = Memory
19678
+
19679
+ @property
19680
+ def Gpu(self):
19681
+ """GPU数量。
19682
+ :rtype: int
19683
+ """
19684
+ return self._Gpu
19685
+
19686
+ @Gpu.setter
19687
+ def Gpu(self, Gpu):
19688
+ self._Gpu = Gpu
19689
+
19690
+ @property
19691
+ def Fpga(self):
19692
+ """FPGA数量。
19693
+ :rtype: int
19694
+ """
19695
+ return self._Fpga
19696
+
19697
+ @Fpga.setter
19698
+ def Fpga(self, Fpga):
19699
+ self._Fpga = Fpga
19700
+
19701
+ @property
19702
+ def StorageBlock(self):
19703
+ """本地存储块数量。
19704
+ :rtype: int
19705
+ """
19706
+ return self._StorageBlock
19707
+
19708
+ @StorageBlock.setter
19709
+ def StorageBlock(self, StorageBlock):
19710
+ self._StorageBlock = StorageBlock
19711
+
19712
+ @property
19713
+ def NetworkCard(self):
19714
+ """网卡数。
19715
+ :rtype: int
19716
+ """
19717
+ return self._NetworkCard
19718
+
19719
+ @NetworkCard.setter
19720
+ def NetworkCard(self, NetworkCard):
19721
+ self._NetworkCard = NetworkCard
19722
+
19723
+ @property
19724
+ def MaxBandwidth(self):
19725
+ """最大带宽。
19726
+ :rtype: float
19727
+ """
19728
+ return self._MaxBandwidth
19729
+
19730
+ @MaxBandwidth.setter
19731
+ def MaxBandwidth(self, MaxBandwidth):
19732
+ self._MaxBandwidth = MaxBandwidth
19733
+
19734
+ @property
19735
+ def Frequency(self):
19736
+ """主频。
19737
+ :rtype: str
19738
+ """
19739
+ return self._Frequency
19740
+
19741
+ @Frequency.setter
19742
+ def Frequency(self, Frequency):
19743
+ self._Frequency = Frequency
19744
+
19745
+ @property
19746
+ def CpuModelName(self):
19747
+ """CPU型号名称。
19748
+ :rtype: str
19749
+ """
19750
+ return self._CpuModelName
19751
+
19752
+ @CpuModelName.setter
19753
+ def CpuModelName(self, CpuModelName):
19754
+ self._CpuModelName = CpuModelName
19755
+
19756
+ @property
19757
+ def Pps(self):
19758
+ """包转发率。
19759
+ :rtype: int
19760
+ """
19761
+ return self._Pps
19762
+
19763
+ @Pps.setter
19764
+ def Pps(self, Pps):
19765
+ self._Pps = Pps
19766
+
19767
+ @property
19768
+ def Externals(self):
19769
+ """外部信息。
19770
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.Externals`
19771
+ """
19772
+ return self._Externals
19773
+
19774
+ @Externals.setter
19775
+ def Externals(self, Externals):
19776
+ self._Externals = Externals
19777
+
19778
+ @property
19779
+ def Remark(self):
19780
+ """备注信息。
19781
+ :rtype: str
19782
+ """
19783
+ return self._Remark
19784
+
19785
+ @Remark.setter
19786
+ def Remark(self, Remark):
19787
+ self._Remark = Remark
19788
+
19789
+ @property
19790
+ def Prices(self):
19791
+ """预留实例配置价格信息。
19792
+ :rtype: list of ReservedInstancePriceItem
19793
+ """
19794
+ return self._Prices
19795
+
19796
+ @Prices.setter
19797
+ def Prices(self, Prices):
19798
+ self._Prices = Prices
19799
+
19800
+
19801
+ def _deserialize(self, params):
19802
+ self._InstanceType = params.get("InstanceType")
19803
+ self._Cpu = params.get("Cpu")
19804
+ self._Memory = params.get("Memory")
19805
+ self._Gpu = params.get("Gpu")
19806
+ self._Fpga = params.get("Fpga")
19807
+ self._StorageBlock = params.get("StorageBlock")
19808
+ self._NetworkCard = params.get("NetworkCard")
19809
+ self._MaxBandwidth = params.get("MaxBandwidth")
19810
+ self._Frequency = params.get("Frequency")
19811
+ self._CpuModelName = params.get("CpuModelName")
19812
+ self._Pps = params.get("Pps")
19813
+ if params.get("Externals") is not None:
19814
+ self._Externals = Externals()
19815
+ self._Externals._deserialize(params.get("Externals"))
19816
+ self._Remark = params.get("Remark")
19817
+ if params.get("Prices") is not None:
19818
+ self._Prices = []
19819
+ for item in params.get("Prices"):
19820
+ obj = ReservedInstancePriceItem()
19821
+ obj._deserialize(item)
19822
+ self._Prices.append(obj)
19823
+ memeber_set = set(params.keys())
19824
+ for name, value in vars(self).items():
19825
+ property_name = name[1:]
19826
+ if property_name in memeber_set:
19827
+ memeber_set.remove(property_name)
19828
+ if len(memeber_set) > 0:
19829
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19830
+
19831
+
19832
+
19833
+ class ReservedInstancesOffering(AbstractModel):
19834
+ """描述可购买预留实例计费信息
19835
+
19836
+ """
19837
+
19838
+ def __init__(self):
19839
+ r"""
19840
+ :param _Zone: 预留实例计费可购买的可用区。形如:ap-guangzhou-1。
19841
+ 返回项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a>
19842
+ :type Zone: str
19843
+ :param _CurrencyCode: 可购买的预留实例计费类型的结算货币,使用ISO 4217标准货币代码。
19844
+ 返回项:USD(美元)。
19845
+ :type CurrencyCode: str
19846
+ :param _Duration: 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
19847
+ 计量单位:秒
19848
+ :type Duration: int
19849
+ :param _FixedPrice: 预留实例计费的购买价格。形如:4000.0。
19850
+ 计量单位:与 currencyCode 一致,目前支持 USD(美元)
19851
+ :type FixedPrice: float
19852
+ :param _InstanceType: 预留实例计费的实例类型。形如:S3.MEDIUM4。
19853
+ 返回项:<a href="https://cloud.tencent.com/product/cvm/instances">预留实例计费类型列表</a>
19854
+ :type InstanceType: str
19855
+ :param _OfferingType: 预留实例计费的付款类型。形如:All Upfront。
19856
+ 返回项: All Upfront (预付全部费用)。
19857
+ :type OfferingType: str
19858
+ :param _ReservedInstancesOfferingId: 可购买的预留实例计费配置ID。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
19859
+ :type ReservedInstancesOfferingId: str
19860
+ :param _ProductDescription: 预留实例计费的平台描述(即操作系统)。形如:linux。
19861
+ 返回项: linux 。
19862
+ :type ProductDescription: str
19863
+ :param _UsagePrice: 扣除预付费之后的使用价格 (按小时计费)。形如:0.0。
19864
+ 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。
19865
+ 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
19866
+ :type UsagePrice: float
19867
+ """
19868
+ self._Zone = None
19869
+ self._CurrencyCode = None
19870
+ self._Duration = None
19871
+ self._FixedPrice = None
19872
+ self._InstanceType = None
19873
+ self._OfferingType = None
19874
+ self._ReservedInstancesOfferingId = None
19875
+ self._ProductDescription = None
19876
+ self._UsagePrice = None
19877
+
19878
+ @property
19879
+ def Zone(self):
19880
+ """预留实例计费可购买的可用区。形如:ap-guangzhou-1。
19881
+ 返回项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a>
19882
+ :rtype: str
19883
+ """
19884
+ return self._Zone
19885
+
19886
+ @Zone.setter
19887
+ def Zone(self, Zone):
19888
+ self._Zone = Zone
19889
+
19890
+ @property
19891
+ def CurrencyCode(self):
19892
+ """可购买的预留实例计费类型的结算货币,使用ISO 4217标准货币代码。
19893
+ 返回项:USD(美元)。
19894
+ :rtype: str
19895
+ """
19896
+ return self._CurrencyCode
19897
+
19898
+ @CurrencyCode.setter
19899
+ def CurrencyCode(self, CurrencyCode):
19900
+ self._CurrencyCode = CurrencyCode
19901
+
19902
+ @property
19903
+ def Duration(self):
19904
+ """预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
19905
+ 计量单位:秒
19906
+ :rtype: int
19907
+ """
19908
+ return self._Duration
19909
+
19910
+ @Duration.setter
19911
+ def Duration(self, Duration):
19912
+ self._Duration = Duration
19913
+
19914
+ @property
19915
+ def FixedPrice(self):
19916
+ """预留实例计费的购买价格。形如:4000.0。
19917
+ 计量单位:与 currencyCode 一致,目前支持 USD(美元)
19918
+ :rtype: float
19919
+ """
19920
+ return self._FixedPrice
19921
+
19922
+ @FixedPrice.setter
19923
+ def FixedPrice(self, FixedPrice):
19924
+ self._FixedPrice = FixedPrice
19925
+
19926
+ @property
19927
+ def InstanceType(self):
19928
+ """预留实例计费的实例类型。形如:S3.MEDIUM4。
19929
+ 返回项:<a href="https://cloud.tencent.com/product/cvm/instances">预留实例计费类型列表</a>
19930
+ :rtype: str
19931
+ """
19932
+ return self._InstanceType
19933
+
19934
+ @InstanceType.setter
19935
+ def InstanceType(self, InstanceType):
19936
+ self._InstanceType = InstanceType
19937
+
19938
+ @property
19939
+ def OfferingType(self):
19940
+ """预留实例计费的付款类型。形如:All Upfront。
19941
+ 返回项: All Upfront (预付全部费用)。
19942
+ :rtype: str
19943
+ """
19944
+ return self._OfferingType
19945
+
19946
+ @OfferingType.setter
19947
+ def OfferingType(self, OfferingType):
19948
+ self._OfferingType = OfferingType
19949
+
19950
+ @property
19951
+ def ReservedInstancesOfferingId(self):
19952
+ """可购买的预留实例计费配置ID。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
19953
+ :rtype: str
19954
+ """
19955
+ return self._ReservedInstancesOfferingId
19956
+
19957
+ @ReservedInstancesOfferingId.setter
19958
+ def ReservedInstancesOfferingId(self, ReservedInstancesOfferingId):
19959
+ self._ReservedInstancesOfferingId = ReservedInstancesOfferingId
19960
+
19961
+ @property
19962
+ def ProductDescription(self):
19963
+ """预留实例计费的平台描述(即操作系统)。形如:linux。
19964
+ 返回项: linux 。
19965
+ :rtype: str
19966
+ """
19967
+ return self._ProductDescription
19968
+
19969
+ @ProductDescription.setter
19970
+ def ProductDescription(self, ProductDescription):
19971
+ self._ProductDescription = ProductDescription
19972
+
19973
+ @property
19974
+ def UsagePrice(self):
19975
+ """扣除预付费之后的使用价格 (按小时计费)。形如:0.0。
19976
+ 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。
19977
+ 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
19978
+ :rtype: float
19979
+ """
19980
+ return self._UsagePrice
19981
+
19982
+ @UsagePrice.setter
19983
+ def UsagePrice(self, UsagePrice):
19984
+ self._UsagePrice = UsagePrice
19985
+
19986
+
19987
+ def _deserialize(self, params):
19988
+ self._Zone = params.get("Zone")
19989
+ self._CurrencyCode = params.get("CurrencyCode")
19990
+ self._Duration = params.get("Duration")
19991
+ self._FixedPrice = params.get("FixedPrice")
19992
+ self._InstanceType = params.get("InstanceType")
19993
+ self._OfferingType = params.get("OfferingType")
19994
+ self._ReservedInstancesOfferingId = params.get("ReservedInstancesOfferingId")
19995
+ self._ProductDescription = params.get("ProductDescription")
19996
+ self._UsagePrice = params.get("UsagePrice")
19997
+ memeber_set = set(params.keys())
19998
+ for name, value in vars(self).items():
19999
+ property_name = name[1:]
20000
+ if property_name in memeber_set:
20001
+ memeber_set.remove(property_name)
20002
+ if len(memeber_set) > 0:
20003
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
20004
+
20005
+
20006
+
18712
20007
  class ResetInstanceRequest(AbstractModel):
18713
20008
  """ResetInstance请求参数结构体
18714
20009