tencentcloud-sdk-python-hai 3.0.1263__tar.gz → 3.0.1264__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/setup.py +1 -1
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud/hai/v20230812/errorcodes.py +18 -0
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud/hai/v20230812/models.py +229 -4
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-hai-3.0.1264/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-hai-3.0.1263/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/README.rst +0 -0
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/setup.cfg +0 -0
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud/hai/__init__.py +0 -0
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud/hai/v20230812/__init__.py +0 -0
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud/hai/v20230812/hai_client.py +0 -0
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-hai-3.0.1263 → tencentcloud-sdk-python-hai-3.0.1264}/tencentcloud_sdk_python_hai.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-hai',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1264"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Hai SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
# 欠费账户不能创建实例
|
|
18
18
|
FAILEDOPERATION_ARREARSACCOUNTCANNOTRUNINSTANCES = 'FailedOperation.ArrearsAccountCannotRunInstances'
|
|
19
19
|
|
|
20
|
+
# 资源不允许退还
|
|
21
|
+
FAILEDOPERATION_CANNOTRETURN = 'FailedOperation.CannotReturn'
|
|
22
|
+
|
|
20
23
|
# 并发操作实例失败
|
|
21
24
|
FAILEDOPERATION_OPERATEINSTANCEREPEATEDLY = 'FailedOperation.OperateInstanceRepeatedly'
|
|
22
25
|
|
|
@@ -35,6 +38,9 @@ INVALIDPARAMETERVALUE_APPLICATIONIDNOTFOUND = 'InvalidParameterValue.Application
|
|
|
35
38
|
# 算力套餐类型不存在
|
|
36
39
|
INVALIDPARAMETERVALUE_BUNDLETYPENOTFOUND = 'InvalidParameterValue.BundleTypeNotFound'
|
|
37
40
|
|
|
41
|
+
# 云盘大小需要大于应用所需云盘最小大小
|
|
42
|
+
INVALIDPARAMETERVALUE_DISKSIZEMUSTLARGERTHANAPPLICATIONMINREQUIREDSIZE = 'InvalidParameterValue.DiskSizeMustLargerThanApplicationMinRequiredSize'
|
|
43
|
+
|
|
38
44
|
# 列表入参中存在重复值
|
|
39
45
|
INVALIDPARAMETERVALUE_DUPLICATED = 'InvalidParameterValue.Duplicated'
|
|
40
46
|
|
|
@@ -50,6 +56,12 @@ INVALIDPARAMETERVALUE_INVALIDAPPLICATIONIDMALFORMED = 'InvalidParameterValue.Inv
|
|
|
50
56
|
# 应用类型application-type仅可以选择PUBLIC_APPLICATION或PRIVATE_APPLICATION。
|
|
51
57
|
INVALIDPARAMETERVALUE_INVALIDAPPLICATIONTYPE = 'InvalidParameterValue.InvalidApplicationType'
|
|
52
58
|
|
|
59
|
+
# 付费方式字段不符合规范
|
|
60
|
+
INVALIDPARAMETERVALUE_INVALIDCHARGETYPE = 'InvalidParameterValue.InvalidChargeType'
|
|
61
|
+
|
|
62
|
+
# 付费方式与时间单位不匹配
|
|
63
|
+
INVALIDPARAMETERVALUE_INVALIDCHARGETYPEANDTIMEUNIT = 'InvalidParameterValue.InvalidChargeTypeAndTimeUnit'
|
|
64
|
+
|
|
53
65
|
# 每次购买的实例数目不在合理范围内
|
|
54
66
|
INVALIDPARAMETERVALUE_INVALIDINSTANCECOUNT = 'InvalidParameterValue.InvalidInstanceCount'
|
|
55
67
|
|
|
@@ -89,6 +101,9 @@ UNAUTHORIZEDOPERATION_UNAUTHORIZEDNETWORKUSER = 'UnauthorizedOperation.Unauthori
|
|
|
89
101
|
# 客户未授权使用本产品
|
|
90
102
|
UNAUTHORIZEDOPERATION_UNAUTHORIZEDUSER = 'UnauthorizedOperation.UnauthorizedUser'
|
|
91
103
|
|
|
104
|
+
# 不允许同时操作预付费过期实例和未过期实例
|
|
105
|
+
UNSUPPORTEDOPERATION_CANNOTTERMINATEEXPIREDANDNOTEXPIREDINSTANCES = 'UnsupportedOperation.CannotTerminateExpiredAndNotExpiredInstances'
|
|
106
|
+
|
|
92
107
|
# 不支持对处于`Arrears`状态的实例执行当前操作。
|
|
93
108
|
UNSUPPORTEDOPERATION_INSTANCESTATEARREARS = 'UnsupportedOperation.InstanceStateArrears'
|
|
94
109
|
|
|
@@ -106,3 +121,6 @@ UNSUPPORTEDOPERATION_INSTANCESTATESTOPPEDNOCHARGE = 'UnsupportedOperation.Instan
|
|
|
106
121
|
|
|
107
122
|
# 不支持对处于`Terminated`状态的实例执行当前操作。
|
|
108
123
|
UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = 'UnsupportedOperation.InstanceStateTerminated'
|
|
124
|
+
|
|
125
|
+
# 不支持同时操作预付费和后付费实例
|
|
126
|
+
UNSUPPORTEDOPERATION_NOTSUPPORTTERMINATEPREPAIDANDPOSTPAID = 'UnsupportedOperation.NotSupportTerminatePrePaidAndPostPaid'
|
|
@@ -505,7 +505,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
505
505
|
r"""
|
|
506
506
|
:param _InstanceIds: 实例元组
|
|
507
507
|
:type InstanceIds: list of str
|
|
508
|
-
:param _Filters: 描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state
|
|
508
|
+
:param _Filters: 描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state,实例状态;charge-type,付费方式;public-ip-address,公网IP过滤
|
|
509
509
|
:type Filters: list of Filter
|
|
510
510
|
:param _Offset: 偏移量,默认为0
|
|
511
511
|
|
|
@@ -531,7 +531,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
531
531
|
|
|
532
532
|
@property
|
|
533
533
|
def Filters(self):
|
|
534
|
-
"""描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state
|
|
534
|
+
"""描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state,实例状态;charge-type,付费方式;public-ip-address,公网IP过滤
|
|
535
535
|
:rtype: list of Filter
|
|
536
536
|
"""
|
|
537
537
|
return self._Filters
|
|
@@ -973,6 +973,10 @@ class InquirePriceRunInstancesRequest(AbstractModel):
|
|
|
973
973
|
:type ClientToken: str
|
|
974
974
|
:param _DryRun: DryRun为True就是只验接口连通性,默认为False
|
|
975
975
|
:type DryRun: bool
|
|
976
|
+
:param _InstanceChargeType: 付费方式,POSTPAID_BY_HOUR按量后付费,PREPAID_BY_MONTH预付费按月,PREPAID_BY_DAY预付费按天
|
|
977
|
+
:type InstanceChargeType: str
|
|
978
|
+
:param _InstanceChargePrepaid: 预付费参数
|
|
979
|
+
:type InstanceChargePrepaid: :class:`tencentcloud.hai.v20230812.models.InstanceChargePrepaid`
|
|
976
980
|
"""
|
|
977
981
|
self._ApplicationId = None
|
|
978
982
|
self._BundleType = None
|
|
@@ -981,6 +985,8 @@ class InquirePriceRunInstancesRequest(AbstractModel):
|
|
|
981
985
|
self._InstanceName = None
|
|
982
986
|
self._ClientToken = None
|
|
983
987
|
self._DryRun = None
|
|
988
|
+
self._InstanceChargeType = None
|
|
989
|
+
self._InstanceChargePrepaid = None
|
|
984
990
|
|
|
985
991
|
@property
|
|
986
992
|
def ApplicationId(self):
|
|
@@ -1059,6 +1065,28 @@ class InquirePriceRunInstancesRequest(AbstractModel):
|
|
|
1059
1065
|
def DryRun(self, DryRun):
|
|
1060
1066
|
self._DryRun = DryRun
|
|
1061
1067
|
|
|
1068
|
+
@property
|
|
1069
|
+
def InstanceChargeType(self):
|
|
1070
|
+
"""付费方式,POSTPAID_BY_HOUR按量后付费,PREPAID_BY_MONTH预付费按月,PREPAID_BY_DAY预付费按天
|
|
1071
|
+
:rtype: str
|
|
1072
|
+
"""
|
|
1073
|
+
return self._InstanceChargeType
|
|
1074
|
+
|
|
1075
|
+
@InstanceChargeType.setter
|
|
1076
|
+
def InstanceChargeType(self, InstanceChargeType):
|
|
1077
|
+
self._InstanceChargeType = InstanceChargeType
|
|
1078
|
+
|
|
1079
|
+
@property
|
|
1080
|
+
def InstanceChargePrepaid(self):
|
|
1081
|
+
"""预付费参数
|
|
1082
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.InstanceChargePrepaid`
|
|
1083
|
+
"""
|
|
1084
|
+
return self._InstanceChargePrepaid
|
|
1085
|
+
|
|
1086
|
+
@InstanceChargePrepaid.setter
|
|
1087
|
+
def InstanceChargePrepaid(self, InstanceChargePrepaid):
|
|
1088
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid
|
|
1089
|
+
|
|
1062
1090
|
|
|
1063
1091
|
def _deserialize(self, params):
|
|
1064
1092
|
self._ApplicationId = params.get("ApplicationId")
|
|
@@ -1070,6 +1098,10 @@ class InquirePriceRunInstancesRequest(AbstractModel):
|
|
|
1070
1098
|
self._InstanceName = params.get("InstanceName")
|
|
1071
1099
|
self._ClientToken = params.get("ClientToken")
|
|
1072
1100
|
self._DryRun = params.get("DryRun")
|
|
1101
|
+
self._InstanceChargeType = params.get("InstanceChargeType")
|
|
1102
|
+
if params.get("InstanceChargePrepaid") is not None:
|
|
1103
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid()
|
|
1104
|
+
self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
|
|
1073
1105
|
memeber_set = set(params.keys())
|
|
1074
1106
|
for name, value in vars(self).items():
|
|
1075
1107
|
property_name = name[1:]
|
|
@@ -1559,6 +1591,82 @@ FAILED:表示操作失败
|
|
|
1559
1591
|
|
|
1560
1592
|
|
|
1561
1593
|
|
|
1594
|
+
class InstanceChargePrepaid(AbstractModel):
|
|
1595
|
+
"""实例预付费入参
|
|
1596
|
+
|
|
1597
|
+
"""
|
|
1598
|
+
|
|
1599
|
+
def __init__(self):
|
|
1600
|
+
r"""
|
|
1601
|
+
:param _Period: 时长,默认值:1
|
|
1602
|
+
:type Period: int
|
|
1603
|
+
:param _RenewFlag: 续费标志可选参数:
|
|
1604
|
+
NOTIFY_AND_MANUAL_RENEW:表示默认状态(用户未设置,即初始状态:若用户有预付费不停服特权,也会对该值进行自动续费)
|
|
1605
|
+
NOTIFY_AND_AUTO_RENEW:表示自动续费
|
|
1606
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
|
|
1607
|
+
默认值:NOTIFY_AND_MANUAL_RENEW
|
|
1608
|
+
|
|
1609
|
+
:type RenewFlag: str
|
|
1610
|
+
:param _TimeUnit: 时长单位,默认值MONTH
|
|
1611
|
+
:type TimeUnit: str
|
|
1612
|
+
"""
|
|
1613
|
+
self._Period = None
|
|
1614
|
+
self._RenewFlag = None
|
|
1615
|
+
self._TimeUnit = None
|
|
1616
|
+
|
|
1617
|
+
@property
|
|
1618
|
+
def Period(self):
|
|
1619
|
+
"""时长,默认值:1
|
|
1620
|
+
:rtype: int
|
|
1621
|
+
"""
|
|
1622
|
+
return self._Period
|
|
1623
|
+
|
|
1624
|
+
@Period.setter
|
|
1625
|
+
def Period(self, Period):
|
|
1626
|
+
self._Period = Period
|
|
1627
|
+
|
|
1628
|
+
@property
|
|
1629
|
+
def RenewFlag(self):
|
|
1630
|
+
"""续费标志可选参数:
|
|
1631
|
+
NOTIFY_AND_MANUAL_RENEW:表示默认状态(用户未设置,即初始状态:若用户有预付费不停服特权,也会对该值进行自动续费)
|
|
1632
|
+
NOTIFY_AND_AUTO_RENEW:表示自动续费
|
|
1633
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
|
|
1634
|
+
默认值:NOTIFY_AND_MANUAL_RENEW
|
|
1635
|
+
|
|
1636
|
+
:rtype: str
|
|
1637
|
+
"""
|
|
1638
|
+
return self._RenewFlag
|
|
1639
|
+
|
|
1640
|
+
@RenewFlag.setter
|
|
1641
|
+
def RenewFlag(self, RenewFlag):
|
|
1642
|
+
self._RenewFlag = RenewFlag
|
|
1643
|
+
|
|
1644
|
+
@property
|
|
1645
|
+
def TimeUnit(self):
|
|
1646
|
+
"""时长单位,默认值MONTH
|
|
1647
|
+
:rtype: str
|
|
1648
|
+
"""
|
|
1649
|
+
return self._TimeUnit
|
|
1650
|
+
|
|
1651
|
+
@TimeUnit.setter
|
|
1652
|
+
def TimeUnit(self, TimeUnit):
|
|
1653
|
+
self._TimeUnit = TimeUnit
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
def _deserialize(self, params):
|
|
1657
|
+
self._Period = params.get("Period")
|
|
1658
|
+
self._RenewFlag = params.get("RenewFlag")
|
|
1659
|
+
self._TimeUnit = params.get("TimeUnit")
|
|
1660
|
+
memeber_set = set(params.keys())
|
|
1661
|
+
for name, value in vars(self).items():
|
|
1662
|
+
property_name = name[1:]
|
|
1663
|
+
if property_name in memeber_set:
|
|
1664
|
+
memeber_set.remove(property_name)
|
|
1665
|
+
if len(memeber_set) > 0:
|
|
1666
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
|
|
1562
1670
|
class ItemPrice(AbstractModel):
|
|
1563
1671
|
"""套餐价格
|
|
1564
1672
|
|
|
@@ -1575,7 +1683,7 @@ class ItemPrice(AbstractModel):
|
|
|
1575
1683
|
:param _Discount: 折扣
|
|
1576
1684
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1577
1685
|
:type Discount: float
|
|
1578
|
-
:param _ChargeUnit:
|
|
1686
|
+
:param _ChargeUnit: 单位:时/月
|
|
1579
1687
|
|
|
1580
1688
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1581
1689
|
:type ChargeUnit: str
|
|
@@ -1627,7 +1735,7 @@ class ItemPrice(AbstractModel):
|
|
|
1627
1735
|
|
|
1628
1736
|
@property
|
|
1629
1737
|
def ChargeUnit(self):
|
|
1630
|
-
"""
|
|
1738
|
+
"""单位:时/月
|
|
1631
1739
|
|
|
1632
1740
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1633
1741
|
:rtype: str
|
|
@@ -1667,6 +1775,101 @@ class ItemPrice(AbstractModel):
|
|
|
1667
1775
|
|
|
1668
1776
|
|
|
1669
1777
|
|
|
1778
|
+
class ItemPriceDetail(AbstractModel):
|
|
1779
|
+
"""分实例价格
|
|
1780
|
+
|
|
1781
|
+
"""
|
|
1782
|
+
|
|
1783
|
+
def __init__(self):
|
|
1784
|
+
r"""
|
|
1785
|
+
:param _InstanceId: 实例id
|
|
1786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1787
|
+
:type InstanceId: str
|
|
1788
|
+
:param _InstancePrice: 实例价格详情
|
|
1789
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1790
|
+
:type InstancePrice: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
|
1791
|
+
:param _CloudDiskPrice: 磁盘价格详情
|
|
1792
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1793
|
+
:type CloudDiskPrice: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
|
1794
|
+
:param _InstanceTotalPrice: 该实例的总价钱
|
|
1795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1796
|
+
:type InstanceTotalPrice: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
|
1797
|
+
"""
|
|
1798
|
+
self._InstanceId = None
|
|
1799
|
+
self._InstancePrice = None
|
|
1800
|
+
self._CloudDiskPrice = None
|
|
1801
|
+
self._InstanceTotalPrice = None
|
|
1802
|
+
|
|
1803
|
+
@property
|
|
1804
|
+
def InstanceId(self):
|
|
1805
|
+
"""实例id
|
|
1806
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1807
|
+
:rtype: str
|
|
1808
|
+
"""
|
|
1809
|
+
return self._InstanceId
|
|
1810
|
+
|
|
1811
|
+
@InstanceId.setter
|
|
1812
|
+
def InstanceId(self, InstanceId):
|
|
1813
|
+
self._InstanceId = InstanceId
|
|
1814
|
+
|
|
1815
|
+
@property
|
|
1816
|
+
def InstancePrice(self):
|
|
1817
|
+
"""实例价格详情
|
|
1818
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1819
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
|
1820
|
+
"""
|
|
1821
|
+
return self._InstancePrice
|
|
1822
|
+
|
|
1823
|
+
@InstancePrice.setter
|
|
1824
|
+
def InstancePrice(self, InstancePrice):
|
|
1825
|
+
self._InstancePrice = InstancePrice
|
|
1826
|
+
|
|
1827
|
+
@property
|
|
1828
|
+
def CloudDiskPrice(self):
|
|
1829
|
+
"""磁盘价格详情
|
|
1830
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1831
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
|
1832
|
+
"""
|
|
1833
|
+
return self._CloudDiskPrice
|
|
1834
|
+
|
|
1835
|
+
@CloudDiskPrice.setter
|
|
1836
|
+
def CloudDiskPrice(self, CloudDiskPrice):
|
|
1837
|
+
self._CloudDiskPrice = CloudDiskPrice
|
|
1838
|
+
|
|
1839
|
+
@property
|
|
1840
|
+
def InstanceTotalPrice(self):
|
|
1841
|
+
"""该实例的总价钱
|
|
1842
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1843
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
|
1844
|
+
"""
|
|
1845
|
+
return self._InstanceTotalPrice
|
|
1846
|
+
|
|
1847
|
+
@InstanceTotalPrice.setter
|
|
1848
|
+
def InstanceTotalPrice(self, InstanceTotalPrice):
|
|
1849
|
+
self._InstanceTotalPrice = InstanceTotalPrice
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
def _deserialize(self, params):
|
|
1853
|
+
self._InstanceId = params.get("InstanceId")
|
|
1854
|
+
if params.get("InstancePrice") is not None:
|
|
1855
|
+
self._InstancePrice = ItemPrice()
|
|
1856
|
+
self._InstancePrice._deserialize(params.get("InstancePrice"))
|
|
1857
|
+
if params.get("CloudDiskPrice") is not None:
|
|
1858
|
+
self._CloudDiskPrice = ItemPrice()
|
|
1859
|
+
self._CloudDiskPrice._deserialize(params.get("CloudDiskPrice"))
|
|
1860
|
+
if params.get("InstanceTotalPrice") is not None:
|
|
1861
|
+
self._InstanceTotalPrice = ItemPrice()
|
|
1862
|
+
self._InstanceTotalPrice._deserialize(params.get("InstanceTotalPrice"))
|
|
1863
|
+
memeber_set = set(params.keys())
|
|
1864
|
+
for name, value in vars(self).items():
|
|
1865
|
+
property_name = name[1:]
|
|
1866
|
+
if property_name in memeber_set:
|
|
1867
|
+
memeber_set.remove(property_name)
|
|
1868
|
+
if len(memeber_set) > 0:
|
|
1869
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1870
|
+
|
|
1871
|
+
|
|
1872
|
+
|
|
1670
1873
|
class LoginService(AbstractModel):
|
|
1671
1874
|
"""登录服务详情
|
|
1672
1875
|
|
|
@@ -1879,9 +2082,13 @@ class Price(AbstractModel):
|
|
|
1879
2082
|
:param _CloudDiskPrice: 云盘价格信息
|
|
1880
2083
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1881
2084
|
:type CloudDiskPrice: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
|
2085
|
+
:param _PriceDetailSet: 分实例价格
|
|
2086
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2087
|
+
:type PriceDetailSet: list of ItemPriceDetail
|
|
1882
2088
|
"""
|
|
1883
2089
|
self._InstancePrice = None
|
|
1884
2090
|
self._CloudDiskPrice = None
|
|
2091
|
+
self._PriceDetailSet = None
|
|
1885
2092
|
|
|
1886
2093
|
@property
|
|
1887
2094
|
def InstancePrice(self):
|
|
@@ -1907,6 +2114,18 @@ class Price(AbstractModel):
|
|
|
1907
2114
|
def CloudDiskPrice(self, CloudDiskPrice):
|
|
1908
2115
|
self._CloudDiskPrice = CloudDiskPrice
|
|
1909
2116
|
|
|
2117
|
+
@property
|
|
2118
|
+
def PriceDetailSet(self):
|
|
2119
|
+
"""分实例价格
|
|
2120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2121
|
+
:rtype: list of ItemPriceDetail
|
|
2122
|
+
"""
|
|
2123
|
+
return self._PriceDetailSet
|
|
2124
|
+
|
|
2125
|
+
@PriceDetailSet.setter
|
|
2126
|
+
def PriceDetailSet(self, PriceDetailSet):
|
|
2127
|
+
self._PriceDetailSet = PriceDetailSet
|
|
2128
|
+
|
|
1910
2129
|
|
|
1911
2130
|
def _deserialize(self, params):
|
|
1912
2131
|
if params.get("InstancePrice") is not None:
|
|
@@ -1915,6 +2134,12 @@ class Price(AbstractModel):
|
|
|
1915
2134
|
if params.get("CloudDiskPrice") is not None:
|
|
1916
2135
|
self._CloudDiskPrice = ItemPrice()
|
|
1917
2136
|
self._CloudDiskPrice._deserialize(params.get("CloudDiskPrice"))
|
|
2137
|
+
if params.get("PriceDetailSet") is not None:
|
|
2138
|
+
self._PriceDetailSet = []
|
|
2139
|
+
for item in params.get("PriceDetailSet"):
|
|
2140
|
+
obj = ItemPriceDetail()
|
|
2141
|
+
obj._deserialize(item)
|
|
2142
|
+
self._PriceDetailSet.append(obj)
|
|
1918
2143
|
memeber_set = set(params.keys())
|
|
1919
2144
|
for name, value in vars(self).items():
|
|
1920
2145
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1264
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1263
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|