tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -1781,6 +1781,195 @@ class DescribeClusterInstancesResponse(AbstractModel):
|
|
|
1781
1781
|
self._RequestId = params.get("RequestId")
|
|
1782
1782
|
|
|
1783
1783
|
|
|
1784
|
+
class DescribeClusterMachinesRequest(AbstractModel):
|
|
1785
|
+
r"""DescribeClusterMachines请求参数结构体
|
|
1786
|
+
|
|
1787
|
+
"""
|
|
1788
|
+
|
|
1789
|
+
def __init__(self):
|
|
1790
|
+
r"""
|
|
1791
|
+
:param _ClusterId: 集群 ID
|
|
1792
|
+
:type ClusterId: str
|
|
1793
|
+
:param _Filters: 节点过滤条件,支持以下过滤条件:
|
|
1794
|
+
· NodePoolsName
|
|
1795
|
+
按照【节点池名】进行过滤。
|
|
1796
|
+
类型:String
|
|
1797
|
+
必选:否
|
|
1798
|
+
|
|
1799
|
+
· NodePoolsId
|
|
1800
|
+
按照【节点池id】进行过滤。
|
|
1801
|
+
类型:String
|
|
1802
|
+
必选:否
|
|
1803
|
+
|
|
1804
|
+
· tags
|
|
1805
|
+
按照【标签键值对】进行过滤。
|
|
1806
|
+
类型:String
|
|
1807
|
+
必选:否
|
|
1808
|
+
|
|
1809
|
+
· tag:tag-key
|
|
1810
|
+
按照【标签键值对】进行过滤。
|
|
1811
|
+
类型:String
|
|
1812
|
+
必选:否
|
|
1813
|
+
:type Filters: list of Filter
|
|
1814
|
+
:param _Limit: 偏移量,默认0
|
|
1815
|
+
:type Limit: int
|
|
1816
|
+
:param _Offset: 最大输出条数,默认20,最大为100
|
|
1817
|
+
:type Offset: int
|
|
1818
|
+
"""
|
|
1819
|
+
self._ClusterId = None
|
|
1820
|
+
self._Filters = None
|
|
1821
|
+
self._Limit = None
|
|
1822
|
+
self._Offset = None
|
|
1823
|
+
|
|
1824
|
+
@property
|
|
1825
|
+
def ClusterId(self):
|
|
1826
|
+
r"""集群 ID
|
|
1827
|
+
:rtype: str
|
|
1828
|
+
"""
|
|
1829
|
+
return self._ClusterId
|
|
1830
|
+
|
|
1831
|
+
@ClusterId.setter
|
|
1832
|
+
def ClusterId(self, ClusterId):
|
|
1833
|
+
self._ClusterId = ClusterId
|
|
1834
|
+
|
|
1835
|
+
@property
|
|
1836
|
+
def Filters(self):
|
|
1837
|
+
r"""节点过滤条件,支持以下过滤条件:
|
|
1838
|
+
· NodePoolsName
|
|
1839
|
+
按照【节点池名】进行过滤。
|
|
1840
|
+
类型:String
|
|
1841
|
+
必选:否
|
|
1842
|
+
|
|
1843
|
+
· NodePoolsId
|
|
1844
|
+
按照【节点池id】进行过滤。
|
|
1845
|
+
类型:String
|
|
1846
|
+
必选:否
|
|
1847
|
+
|
|
1848
|
+
· tags
|
|
1849
|
+
按照【标签键值对】进行过滤。
|
|
1850
|
+
类型:String
|
|
1851
|
+
必选:否
|
|
1852
|
+
|
|
1853
|
+
· tag:tag-key
|
|
1854
|
+
按照【标签键值对】进行过滤。
|
|
1855
|
+
类型:String
|
|
1856
|
+
必选:否
|
|
1857
|
+
:rtype: list of Filter
|
|
1858
|
+
"""
|
|
1859
|
+
return self._Filters
|
|
1860
|
+
|
|
1861
|
+
@Filters.setter
|
|
1862
|
+
def Filters(self, Filters):
|
|
1863
|
+
self._Filters = Filters
|
|
1864
|
+
|
|
1865
|
+
@property
|
|
1866
|
+
def Limit(self):
|
|
1867
|
+
r"""偏移量,默认0
|
|
1868
|
+
:rtype: int
|
|
1869
|
+
"""
|
|
1870
|
+
return self._Limit
|
|
1871
|
+
|
|
1872
|
+
@Limit.setter
|
|
1873
|
+
def Limit(self, Limit):
|
|
1874
|
+
self._Limit = Limit
|
|
1875
|
+
|
|
1876
|
+
@property
|
|
1877
|
+
def Offset(self):
|
|
1878
|
+
r"""最大输出条数,默认20,最大为100
|
|
1879
|
+
:rtype: int
|
|
1880
|
+
"""
|
|
1881
|
+
return self._Offset
|
|
1882
|
+
|
|
1883
|
+
@Offset.setter
|
|
1884
|
+
def Offset(self, Offset):
|
|
1885
|
+
self._Offset = Offset
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
def _deserialize(self, params):
|
|
1889
|
+
self._ClusterId = params.get("ClusterId")
|
|
1890
|
+
if params.get("Filters") is not None:
|
|
1891
|
+
self._Filters = []
|
|
1892
|
+
for item in params.get("Filters"):
|
|
1893
|
+
obj = Filter()
|
|
1894
|
+
obj._deserialize(item)
|
|
1895
|
+
self._Filters.append(obj)
|
|
1896
|
+
self._Limit = params.get("Limit")
|
|
1897
|
+
self._Offset = params.get("Offset")
|
|
1898
|
+
memeber_set = set(params.keys())
|
|
1899
|
+
for name, value in vars(self).items():
|
|
1900
|
+
property_name = name[1:]
|
|
1901
|
+
if property_name in memeber_set:
|
|
1902
|
+
memeber_set.remove(property_name)
|
|
1903
|
+
if len(memeber_set) > 0:
|
|
1904
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
class DescribeClusterMachinesResponse(AbstractModel):
|
|
1909
|
+
r"""DescribeClusterMachines返回参数结构体
|
|
1910
|
+
|
|
1911
|
+
"""
|
|
1912
|
+
|
|
1913
|
+
def __init__(self):
|
|
1914
|
+
r"""
|
|
1915
|
+
:param _Machines: 节点池节点列表
|
|
1916
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1917
|
+
:type Machines: list of Machine
|
|
1918
|
+
:param _TotalCount: 资源总数
|
|
1919
|
+
:type TotalCount: int
|
|
1920
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1921
|
+
:type RequestId: str
|
|
1922
|
+
"""
|
|
1923
|
+
self._Machines = None
|
|
1924
|
+
self._TotalCount = None
|
|
1925
|
+
self._RequestId = None
|
|
1926
|
+
|
|
1927
|
+
@property
|
|
1928
|
+
def Machines(self):
|
|
1929
|
+
r"""节点池节点列表
|
|
1930
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1931
|
+
:rtype: list of Machine
|
|
1932
|
+
"""
|
|
1933
|
+
return self._Machines
|
|
1934
|
+
|
|
1935
|
+
@Machines.setter
|
|
1936
|
+
def Machines(self, Machines):
|
|
1937
|
+
self._Machines = Machines
|
|
1938
|
+
|
|
1939
|
+
@property
|
|
1940
|
+
def TotalCount(self):
|
|
1941
|
+
r"""资源总数
|
|
1942
|
+
:rtype: int
|
|
1943
|
+
"""
|
|
1944
|
+
return self._TotalCount
|
|
1945
|
+
|
|
1946
|
+
@TotalCount.setter
|
|
1947
|
+
def TotalCount(self, TotalCount):
|
|
1948
|
+
self._TotalCount = TotalCount
|
|
1949
|
+
|
|
1950
|
+
@property
|
|
1951
|
+
def RequestId(self):
|
|
1952
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1953
|
+
:rtype: str
|
|
1954
|
+
"""
|
|
1955
|
+
return self._RequestId
|
|
1956
|
+
|
|
1957
|
+
@RequestId.setter
|
|
1958
|
+
def RequestId(self, RequestId):
|
|
1959
|
+
self._RequestId = RequestId
|
|
1960
|
+
|
|
1961
|
+
|
|
1962
|
+
def _deserialize(self, params):
|
|
1963
|
+
if params.get("Machines") is not None:
|
|
1964
|
+
self._Machines = []
|
|
1965
|
+
for item in params.get("Machines"):
|
|
1966
|
+
obj = Machine()
|
|
1967
|
+
obj._deserialize(item)
|
|
1968
|
+
self._Machines.append(obj)
|
|
1969
|
+
self._TotalCount = params.get("TotalCount")
|
|
1970
|
+
self._RequestId = params.get("RequestId")
|
|
1971
|
+
|
|
1972
|
+
|
|
1784
1973
|
class DescribeClustersRequest(AbstractModel):
|
|
1785
1974
|
r"""DescribeClusters请求参数结构体
|
|
1786
1975
|
|
|
@@ -4130,6 +4319,326 @@ class LifecycleConfig(AbstractModel):
|
|
|
4130
4319
|
|
|
4131
4320
|
|
|
4132
4321
|
|
|
4322
|
+
class Machine(AbstractModel):
|
|
4323
|
+
r"""节点信息
|
|
4324
|
+
|
|
4325
|
+
"""
|
|
4326
|
+
|
|
4327
|
+
def __init__(self):
|
|
4328
|
+
r"""
|
|
4329
|
+
:param _MachineName: 节点名称
|
|
4330
|
+
:type MachineName: str
|
|
4331
|
+
:param _MachineState: Machine 状态
|
|
4332
|
+
:type MachineState: str
|
|
4333
|
+
:param _Zone: Machine 所在可用区
|
|
4334
|
+
:type Zone: str
|
|
4335
|
+
:param _InstanceChargeType: 节点计费类型。PREPAID:包年包月;POSTPAID_BY_HOUR:按量计费(默认);
|
|
4336
|
+
:type InstanceChargeType: str
|
|
4337
|
+
:param _CreatedAt: 创建时间
|
|
4338
|
+
:type CreatedAt: str
|
|
4339
|
+
:param _LoginStatus: Machine 登录状态
|
|
4340
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4341
|
+
:type LoginStatus: str
|
|
4342
|
+
:param _IsProtectedFromScaleIn: 是否开启缩容保护
|
|
4343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4344
|
+
:type IsProtectedFromScaleIn: bool
|
|
4345
|
+
:param _DisplayName: Machine 名字
|
|
4346
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4347
|
+
:type DisplayName: str
|
|
4348
|
+
:param _CPU: CPU核数,单位:核
|
|
4349
|
+
:type CPU: int
|
|
4350
|
+
:param _GPU: GPU核数,单位:核
|
|
4351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4352
|
+
:type GPU: int
|
|
4353
|
+
:param _RenewFlag: 自动续费标识
|
|
4354
|
+
:type RenewFlag: str
|
|
4355
|
+
:param _PayMode: 节点计费模式(已弃用)
|
|
4356
|
+
:type PayMode: str
|
|
4357
|
+
:param _Memory: 节点内存容量,单位:`GB`
|
|
4358
|
+
:type Memory: int
|
|
4359
|
+
:param _SystemDisk: 节点系统盘配置信息
|
|
4360
|
+
:type SystemDisk: :class:`tencentcloud.tke.v20220501.models.Disk`
|
|
4361
|
+
:param _InternetAccessible: 公网带宽相关信息设置
|
|
4362
|
+
:type InternetAccessible: :class:`tencentcloud.tke.v20220501.models.InternetAccessible`
|
|
4363
|
+
:param _InstanceFamily: 机型所属机型族
|
|
4364
|
+
:type InstanceFamily: str
|
|
4365
|
+
:param _LanIP: 节点内网 IP
|
|
4366
|
+
:type LanIP: str
|
|
4367
|
+
:param _InstanceType: 机型
|
|
4368
|
+
:type InstanceType: str
|
|
4369
|
+
:param _ExpiredTime: 包年包月节点计费过期时间
|
|
4370
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4371
|
+
:type ExpiredTime: str
|
|
4372
|
+
"""
|
|
4373
|
+
self._MachineName = None
|
|
4374
|
+
self._MachineState = None
|
|
4375
|
+
self._Zone = None
|
|
4376
|
+
self._InstanceChargeType = None
|
|
4377
|
+
self._CreatedAt = None
|
|
4378
|
+
self._LoginStatus = None
|
|
4379
|
+
self._IsProtectedFromScaleIn = None
|
|
4380
|
+
self._DisplayName = None
|
|
4381
|
+
self._CPU = None
|
|
4382
|
+
self._GPU = None
|
|
4383
|
+
self._RenewFlag = None
|
|
4384
|
+
self._PayMode = None
|
|
4385
|
+
self._Memory = None
|
|
4386
|
+
self._SystemDisk = None
|
|
4387
|
+
self._InternetAccessible = None
|
|
4388
|
+
self._InstanceFamily = None
|
|
4389
|
+
self._LanIP = None
|
|
4390
|
+
self._InstanceType = None
|
|
4391
|
+
self._ExpiredTime = None
|
|
4392
|
+
|
|
4393
|
+
@property
|
|
4394
|
+
def MachineName(self):
|
|
4395
|
+
r"""节点名称
|
|
4396
|
+
:rtype: str
|
|
4397
|
+
"""
|
|
4398
|
+
return self._MachineName
|
|
4399
|
+
|
|
4400
|
+
@MachineName.setter
|
|
4401
|
+
def MachineName(self, MachineName):
|
|
4402
|
+
self._MachineName = MachineName
|
|
4403
|
+
|
|
4404
|
+
@property
|
|
4405
|
+
def MachineState(self):
|
|
4406
|
+
r"""Machine 状态
|
|
4407
|
+
:rtype: str
|
|
4408
|
+
"""
|
|
4409
|
+
return self._MachineState
|
|
4410
|
+
|
|
4411
|
+
@MachineState.setter
|
|
4412
|
+
def MachineState(self, MachineState):
|
|
4413
|
+
self._MachineState = MachineState
|
|
4414
|
+
|
|
4415
|
+
@property
|
|
4416
|
+
def Zone(self):
|
|
4417
|
+
r"""Machine 所在可用区
|
|
4418
|
+
:rtype: str
|
|
4419
|
+
"""
|
|
4420
|
+
return self._Zone
|
|
4421
|
+
|
|
4422
|
+
@Zone.setter
|
|
4423
|
+
def Zone(self, Zone):
|
|
4424
|
+
self._Zone = Zone
|
|
4425
|
+
|
|
4426
|
+
@property
|
|
4427
|
+
def InstanceChargeType(self):
|
|
4428
|
+
r"""节点计费类型。PREPAID:包年包月;POSTPAID_BY_HOUR:按量计费(默认);
|
|
4429
|
+
:rtype: str
|
|
4430
|
+
"""
|
|
4431
|
+
return self._InstanceChargeType
|
|
4432
|
+
|
|
4433
|
+
@InstanceChargeType.setter
|
|
4434
|
+
def InstanceChargeType(self, InstanceChargeType):
|
|
4435
|
+
self._InstanceChargeType = InstanceChargeType
|
|
4436
|
+
|
|
4437
|
+
@property
|
|
4438
|
+
def CreatedAt(self):
|
|
4439
|
+
r"""创建时间
|
|
4440
|
+
:rtype: str
|
|
4441
|
+
"""
|
|
4442
|
+
return self._CreatedAt
|
|
4443
|
+
|
|
4444
|
+
@CreatedAt.setter
|
|
4445
|
+
def CreatedAt(self, CreatedAt):
|
|
4446
|
+
self._CreatedAt = CreatedAt
|
|
4447
|
+
|
|
4448
|
+
@property
|
|
4449
|
+
def LoginStatus(self):
|
|
4450
|
+
r"""Machine 登录状态
|
|
4451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4452
|
+
:rtype: str
|
|
4453
|
+
"""
|
|
4454
|
+
return self._LoginStatus
|
|
4455
|
+
|
|
4456
|
+
@LoginStatus.setter
|
|
4457
|
+
def LoginStatus(self, LoginStatus):
|
|
4458
|
+
self._LoginStatus = LoginStatus
|
|
4459
|
+
|
|
4460
|
+
@property
|
|
4461
|
+
def IsProtectedFromScaleIn(self):
|
|
4462
|
+
r"""是否开启缩容保护
|
|
4463
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4464
|
+
:rtype: bool
|
|
4465
|
+
"""
|
|
4466
|
+
return self._IsProtectedFromScaleIn
|
|
4467
|
+
|
|
4468
|
+
@IsProtectedFromScaleIn.setter
|
|
4469
|
+
def IsProtectedFromScaleIn(self, IsProtectedFromScaleIn):
|
|
4470
|
+
self._IsProtectedFromScaleIn = IsProtectedFromScaleIn
|
|
4471
|
+
|
|
4472
|
+
@property
|
|
4473
|
+
def DisplayName(self):
|
|
4474
|
+
r"""Machine 名字
|
|
4475
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4476
|
+
:rtype: str
|
|
4477
|
+
"""
|
|
4478
|
+
return self._DisplayName
|
|
4479
|
+
|
|
4480
|
+
@DisplayName.setter
|
|
4481
|
+
def DisplayName(self, DisplayName):
|
|
4482
|
+
self._DisplayName = DisplayName
|
|
4483
|
+
|
|
4484
|
+
@property
|
|
4485
|
+
def CPU(self):
|
|
4486
|
+
r"""CPU核数,单位:核
|
|
4487
|
+
:rtype: int
|
|
4488
|
+
"""
|
|
4489
|
+
return self._CPU
|
|
4490
|
+
|
|
4491
|
+
@CPU.setter
|
|
4492
|
+
def CPU(self, CPU):
|
|
4493
|
+
self._CPU = CPU
|
|
4494
|
+
|
|
4495
|
+
@property
|
|
4496
|
+
def GPU(self):
|
|
4497
|
+
r"""GPU核数,单位:核
|
|
4498
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4499
|
+
:rtype: int
|
|
4500
|
+
"""
|
|
4501
|
+
return self._GPU
|
|
4502
|
+
|
|
4503
|
+
@GPU.setter
|
|
4504
|
+
def GPU(self, GPU):
|
|
4505
|
+
self._GPU = GPU
|
|
4506
|
+
|
|
4507
|
+
@property
|
|
4508
|
+
def RenewFlag(self):
|
|
4509
|
+
r"""自动续费标识
|
|
4510
|
+
:rtype: str
|
|
4511
|
+
"""
|
|
4512
|
+
return self._RenewFlag
|
|
4513
|
+
|
|
4514
|
+
@RenewFlag.setter
|
|
4515
|
+
def RenewFlag(self, RenewFlag):
|
|
4516
|
+
self._RenewFlag = RenewFlag
|
|
4517
|
+
|
|
4518
|
+
@property
|
|
4519
|
+
def PayMode(self):
|
|
4520
|
+
r"""节点计费模式(已弃用)
|
|
4521
|
+
:rtype: str
|
|
4522
|
+
"""
|
|
4523
|
+
return self._PayMode
|
|
4524
|
+
|
|
4525
|
+
@PayMode.setter
|
|
4526
|
+
def PayMode(self, PayMode):
|
|
4527
|
+
self._PayMode = PayMode
|
|
4528
|
+
|
|
4529
|
+
@property
|
|
4530
|
+
def Memory(self):
|
|
4531
|
+
r"""节点内存容量,单位:`GB`
|
|
4532
|
+
:rtype: int
|
|
4533
|
+
"""
|
|
4534
|
+
return self._Memory
|
|
4535
|
+
|
|
4536
|
+
@Memory.setter
|
|
4537
|
+
def Memory(self, Memory):
|
|
4538
|
+
self._Memory = Memory
|
|
4539
|
+
|
|
4540
|
+
@property
|
|
4541
|
+
def SystemDisk(self):
|
|
4542
|
+
r"""节点系统盘配置信息
|
|
4543
|
+
:rtype: :class:`tencentcloud.tke.v20220501.models.Disk`
|
|
4544
|
+
"""
|
|
4545
|
+
return self._SystemDisk
|
|
4546
|
+
|
|
4547
|
+
@SystemDisk.setter
|
|
4548
|
+
def SystemDisk(self, SystemDisk):
|
|
4549
|
+
self._SystemDisk = SystemDisk
|
|
4550
|
+
|
|
4551
|
+
@property
|
|
4552
|
+
def InternetAccessible(self):
|
|
4553
|
+
r"""公网带宽相关信息设置
|
|
4554
|
+
:rtype: :class:`tencentcloud.tke.v20220501.models.InternetAccessible`
|
|
4555
|
+
"""
|
|
4556
|
+
return self._InternetAccessible
|
|
4557
|
+
|
|
4558
|
+
@InternetAccessible.setter
|
|
4559
|
+
def InternetAccessible(self, InternetAccessible):
|
|
4560
|
+
self._InternetAccessible = InternetAccessible
|
|
4561
|
+
|
|
4562
|
+
@property
|
|
4563
|
+
def InstanceFamily(self):
|
|
4564
|
+
r"""机型所属机型族
|
|
4565
|
+
:rtype: str
|
|
4566
|
+
"""
|
|
4567
|
+
return self._InstanceFamily
|
|
4568
|
+
|
|
4569
|
+
@InstanceFamily.setter
|
|
4570
|
+
def InstanceFamily(self, InstanceFamily):
|
|
4571
|
+
self._InstanceFamily = InstanceFamily
|
|
4572
|
+
|
|
4573
|
+
@property
|
|
4574
|
+
def LanIP(self):
|
|
4575
|
+
r"""节点内网 IP
|
|
4576
|
+
:rtype: str
|
|
4577
|
+
"""
|
|
4578
|
+
return self._LanIP
|
|
4579
|
+
|
|
4580
|
+
@LanIP.setter
|
|
4581
|
+
def LanIP(self, LanIP):
|
|
4582
|
+
self._LanIP = LanIP
|
|
4583
|
+
|
|
4584
|
+
@property
|
|
4585
|
+
def InstanceType(self):
|
|
4586
|
+
r"""机型
|
|
4587
|
+
:rtype: str
|
|
4588
|
+
"""
|
|
4589
|
+
return self._InstanceType
|
|
4590
|
+
|
|
4591
|
+
@InstanceType.setter
|
|
4592
|
+
def InstanceType(self, InstanceType):
|
|
4593
|
+
self._InstanceType = InstanceType
|
|
4594
|
+
|
|
4595
|
+
@property
|
|
4596
|
+
def ExpiredTime(self):
|
|
4597
|
+
r"""包年包月节点计费过期时间
|
|
4598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4599
|
+
:rtype: str
|
|
4600
|
+
"""
|
|
4601
|
+
return self._ExpiredTime
|
|
4602
|
+
|
|
4603
|
+
@ExpiredTime.setter
|
|
4604
|
+
def ExpiredTime(self, ExpiredTime):
|
|
4605
|
+
self._ExpiredTime = ExpiredTime
|
|
4606
|
+
|
|
4607
|
+
|
|
4608
|
+
def _deserialize(self, params):
|
|
4609
|
+
self._MachineName = params.get("MachineName")
|
|
4610
|
+
self._MachineState = params.get("MachineState")
|
|
4611
|
+
self._Zone = params.get("Zone")
|
|
4612
|
+
self._InstanceChargeType = params.get("InstanceChargeType")
|
|
4613
|
+
self._CreatedAt = params.get("CreatedAt")
|
|
4614
|
+
self._LoginStatus = params.get("LoginStatus")
|
|
4615
|
+
self._IsProtectedFromScaleIn = params.get("IsProtectedFromScaleIn")
|
|
4616
|
+
self._DisplayName = params.get("DisplayName")
|
|
4617
|
+
self._CPU = params.get("CPU")
|
|
4618
|
+
self._GPU = params.get("GPU")
|
|
4619
|
+
self._RenewFlag = params.get("RenewFlag")
|
|
4620
|
+
self._PayMode = params.get("PayMode")
|
|
4621
|
+
self._Memory = params.get("Memory")
|
|
4622
|
+
if params.get("SystemDisk") is not None:
|
|
4623
|
+
self._SystemDisk = Disk()
|
|
4624
|
+
self._SystemDisk._deserialize(params.get("SystemDisk"))
|
|
4625
|
+
if params.get("InternetAccessible") is not None:
|
|
4626
|
+
self._InternetAccessible = InternetAccessible()
|
|
4627
|
+
self._InternetAccessible._deserialize(params.get("InternetAccessible"))
|
|
4628
|
+
self._InstanceFamily = params.get("InstanceFamily")
|
|
4629
|
+
self._LanIP = params.get("LanIP")
|
|
4630
|
+
self._InstanceType = params.get("InstanceType")
|
|
4631
|
+
self._ExpiredTime = params.get("ExpiredTime")
|
|
4632
|
+
memeber_set = set(params.keys())
|
|
4633
|
+
for name, value in vars(self).items():
|
|
4634
|
+
property_name = name[1:]
|
|
4635
|
+
if property_name in memeber_set:
|
|
4636
|
+
memeber_set.remove(property_name)
|
|
4637
|
+
if len(memeber_set) > 0:
|
|
4638
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4639
|
+
|
|
4640
|
+
|
|
4641
|
+
|
|
4133
4642
|
class MachineSetScaling(AbstractModel):
|
|
4134
4643
|
r"""节点池弹性伸缩配置
|
|
4135
4644
|
|
|
@@ -7393,8 +7902,12 @@ class UpdateNativeNodePoolParam(AbstractModel):
|
|
|
7393
7902
|
:type DataDisks: list of DataDisk
|
|
7394
7903
|
:param _KeyIds: ssh公钥id数组
|
|
7395
7904
|
:type KeyIds: list of str
|
|
7905
|
+
:param _DeletePolicy: 节点移出策略,有Random(随机)、Newest(优先移出最新实例)、Oldest(优先移出最旧实例)三种可选,默认是Newest
|
|
7906
|
+
:type DeletePolicy: str
|
|
7396
7907
|
:param _GPUConfigs: 节点池 GPU 配置
|
|
7397
7908
|
:type GPUConfigs: list of GPUConfig
|
|
7909
|
+
:param _AutomationService: 原生节点池安装自动化助手开关状态
|
|
7910
|
+
:type AutomationService: bool
|
|
7398
7911
|
:param _Password: 原生节点池密码
|
|
7399
7912
|
:type Password: str
|
|
7400
7913
|
"""
|
|
@@ -7418,7 +7931,9 @@ class UpdateNativeNodePoolParam(AbstractModel):
|
|
|
7418
7931
|
self._UpdateExistedNode = None
|
|
7419
7932
|
self._DataDisks = None
|
|
7420
7933
|
self._KeyIds = None
|
|
7934
|
+
self._DeletePolicy = None
|
|
7421
7935
|
self._GPUConfigs = None
|
|
7936
|
+
self._AutomationService = None
|
|
7422
7937
|
self._Password = None
|
|
7423
7938
|
|
|
7424
7939
|
@property
|
|
@@ -7644,6 +8159,17 @@ class UpdateNativeNodePoolParam(AbstractModel):
|
|
|
7644
8159
|
def KeyIds(self, KeyIds):
|
|
7645
8160
|
self._KeyIds = KeyIds
|
|
7646
8161
|
|
|
8162
|
+
@property
|
|
8163
|
+
def DeletePolicy(self):
|
|
8164
|
+
r"""节点移出策略,有Random(随机)、Newest(优先移出最新实例)、Oldest(优先移出最旧实例)三种可选,默认是Newest
|
|
8165
|
+
:rtype: str
|
|
8166
|
+
"""
|
|
8167
|
+
return self._DeletePolicy
|
|
8168
|
+
|
|
8169
|
+
@DeletePolicy.setter
|
|
8170
|
+
def DeletePolicy(self, DeletePolicy):
|
|
8171
|
+
self._DeletePolicy = DeletePolicy
|
|
8172
|
+
|
|
7647
8173
|
@property
|
|
7648
8174
|
def GPUConfigs(self):
|
|
7649
8175
|
r"""节点池 GPU 配置
|
|
@@ -7655,6 +8181,17 @@ class UpdateNativeNodePoolParam(AbstractModel):
|
|
|
7655
8181
|
def GPUConfigs(self, GPUConfigs):
|
|
7656
8182
|
self._GPUConfigs = GPUConfigs
|
|
7657
8183
|
|
|
8184
|
+
@property
|
|
8185
|
+
def AutomationService(self):
|
|
8186
|
+
r"""原生节点池安装自动化助手开关状态
|
|
8187
|
+
:rtype: bool
|
|
8188
|
+
"""
|
|
8189
|
+
return self._AutomationService
|
|
8190
|
+
|
|
8191
|
+
@AutomationService.setter
|
|
8192
|
+
def AutomationService(self, AutomationService):
|
|
8193
|
+
self._AutomationService = AutomationService
|
|
8194
|
+
|
|
7658
8195
|
@property
|
|
7659
8196
|
def Password(self):
|
|
7660
8197
|
r"""原生节点池密码
|
|
@@ -7705,12 +8242,14 @@ class UpdateNativeNodePoolParam(AbstractModel):
|
|
|
7705
8242
|
obj._deserialize(item)
|
|
7706
8243
|
self._DataDisks.append(obj)
|
|
7707
8244
|
self._KeyIds = params.get("KeyIds")
|
|
8245
|
+
self._DeletePolicy = params.get("DeletePolicy")
|
|
7708
8246
|
if params.get("GPUConfigs") is not None:
|
|
7709
8247
|
self._GPUConfigs = []
|
|
7710
8248
|
for item in params.get("GPUConfigs"):
|
|
7711
8249
|
obj = GPUConfig()
|
|
7712
8250
|
obj._deserialize(item)
|
|
7713
8251
|
self._GPUConfigs.append(obj)
|
|
8252
|
+
self._AutomationService = params.get("AutomationService")
|
|
7714
8253
|
self._Password = params.get("Password")
|
|
7715
8254
|
memeber_set = set(params.keys())
|
|
7716
8255
|
for name, value in vars(self).items():
|
|
@@ -164,6 +164,29 @@ class TkeClient(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def DescribeClusterMachines(self, request):
|
|
168
|
+
r"""查询托原生点列表
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for DescribeClusterMachines.
|
|
171
|
+
:type request: :class:`tencentcloud.tke.v20220501.models.DescribeClusterMachinesRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.tke.v20220501.models.DescribeClusterMachinesResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("DescribeClusterMachines", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.DescribeClusterMachinesResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
167
190
|
def DescribeClusters(self, request):
|
|
168
191
|
r"""查询集群列表
|
|
169
192
|
|
|
@@ -133,6 +133,24 @@ class TkeClient(AbstractClient):
|
|
|
133
133
|
|
|
134
134
|
return await self.call_and_deserialize(**kwargs)
|
|
135
135
|
|
|
136
|
+
async def DescribeClusterMachines(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DescribeClusterMachinesRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DescribeClusterMachinesResponse:
|
|
141
|
+
"""
|
|
142
|
+
查询托原生点列表
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DescribeClusterMachines"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DescribeClusterMachinesResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
136
154
|
async def DescribeClusters(
|
|
137
155
|
self,
|
|
138
156
|
request: models.DescribeClustersRequest,
|