tencentcloud-sdk-python-tke 3.0.1274__tar.gz → 3.0.1289__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.
Files changed (20) hide show
  1. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/setup.py +1 -1
  3. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/tke/v20220501/models.py +200 -0
  5. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-tke-3.0.1289/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-tke-3.0.1274/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/README.rst +0 -0
  9. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/tke/__init__.py +0 -0
  11. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/tke/v20180525/__init__.py +0 -0
  12. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/tke/v20180525/models.py +0 -0
  14. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/tke/v20180525/tke_client.py +0 -0
  15. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/tke/v20220501/__init__.py +0 -0
  16. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud/tke/v20220501/tke_client.py +0 -0
  18. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-tke-3.0.1274 → tencentcloud-sdk-python-tke-3.0.1289}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.1274
3
+ Version: 3.0.1289
4
4
  Summary: Tencent Cloud Tke SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-tke',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1274"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1289"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Tke SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1274'
17
+ __version__ = '3.0.1289'
@@ -2290,6 +2290,186 @@ class Filter(AbstractModel):
2290
2290
 
2291
2291
 
2292
2292
 
2293
+ class GPUConfig(AbstractModel):
2294
+ """机型名称与GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric等相关配置信息
2295
+
2296
+ """
2297
+
2298
+ def __init__(self):
2299
+ r"""
2300
+ :param _InstanceType: 机型名称
2301
+ 注意:此字段可能返回 null,表示取不到有效值。
2302
+ :type InstanceType: str
2303
+ :param _GPUParams: GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric等
2304
+ 注意:此字段可能返回 null,表示取不到有效值。
2305
+ :type GPUParams: :class:`tencentcloud.tke.v20220501.models.GPUParams`
2306
+ """
2307
+ self._InstanceType = None
2308
+ self._GPUParams = None
2309
+
2310
+ @property
2311
+ def InstanceType(self):
2312
+ """机型名称
2313
+ 注意:此字段可能返回 null,表示取不到有效值。
2314
+ :rtype: str
2315
+ """
2316
+ return self._InstanceType
2317
+
2318
+ @InstanceType.setter
2319
+ def InstanceType(self, InstanceType):
2320
+ self._InstanceType = InstanceType
2321
+
2322
+ @property
2323
+ def GPUParams(self):
2324
+ """GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric等
2325
+ 注意:此字段可能返回 null,表示取不到有效值。
2326
+ :rtype: :class:`tencentcloud.tke.v20220501.models.GPUParams`
2327
+ """
2328
+ return self._GPUParams
2329
+
2330
+ @GPUParams.setter
2331
+ def GPUParams(self, GPUParams):
2332
+ self._GPUParams = GPUParams
2333
+
2334
+
2335
+ def _deserialize(self, params):
2336
+ self._InstanceType = params.get("InstanceType")
2337
+ if params.get("GPUParams") is not None:
2338
+ self._GPUParams = GPUParams()
2339
+ self._GPUParams._deserialize(params.get("GPUParams"))
2340
+ memeber_set = set(params.keys())
2341
+ for name, value in vars(self).items():
2342
+ property_name = name[1:]
2343
+ if property_name in memeber_set:
2344
+ memeber_set.remove(property_name)
2345
+ if len(memeber_set) > 0:
2346
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2347
+
2348
+
2349
+
2350
+ class GPUParams(AbstractModel):
2351
+ """GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric
2352
+
2353
+ """
2354
+
2355
+ def __init__(self):
2356
+ r"""
2357
+ :param _Driver: GPU驱动版本
2358
+ 注意:此字段可能返回 null,表示取不到有效值。
2359
+ :type Driver: str
2360
+ :param _CUDA: CUDA版本
2361
+ 注意:此字段可能返回 null,表示取不到有效值。
2362
+ :type CUDA: str
2363
+ :param _CUDNN: CUDNN版本
2364
+ 注意:此字段可能返回 null,表示取不到有效值。
2365
+ :type CUDNN: str
2366
+ :param _MIGEnable: 是否启用MIG特性
2367
+ 注意:此字段可能返回 null,表示取不到有效值。
2368
+ :type MIGEnable: bool
2369
+ :param _Fabric: 是否启用Fabric特性
2370
+ 注意:此字段可能返回 null,表示取不到有效值。
2371
+ :type Fabric: bool
2372
+ :param _CustomGPUDriver: 自定义驱动下载地址
2373
+ 注意:此字段可能返回 null,表示取不到有效值。
2374
+ :type CustomGPUDriver: str
2375
+ """
2376
+ self._Driver = None
2377
+ self._CUDA = None
2378
+ self._CUDNN = None
2379
+ self._MIGEnable = None
2380
+ self._Fabric = None
2381
+ self._CustomGPUDriver = None
2382
+
2383
+ @property
2384
+ def Driver(self):
2385
+ """GPU驱动版本
2386
+ 注意:此字段可能返回 null,表示取不到有效值。
2387
+ :rtype: str
2388
+ """
2389
+ return self._Driver
2390
+
2391
+ @Driver.setter
2392
+ def Driver(self, Driver):
2393
+ self._Driver = Driver
2394
+
2395
+ @property
2396
+ def CUDA(self):
2397
+ """CUDA版本
2398
+ 注意:此字段可能返回 null,表示取不到有效值。
2399
+ :rtype: str
2400
+ """
2401
+ return self._CUDA
2402
+
2403
+ @CUDA.setter
2404
+ def CUDA(self, CUDA):
2405
+ self._CUDA = CUDA
2406
+
2407
+ @property
2408
+ def CUDNN(self):
2409
+ """CUDNN版本
2410
+ 注意:此字段可能返回 null,表示取不到有效值。
2411
+ :rtype: str
2412
+ """
2413
+ return self._CUDNN
2414
+
2415
+ @CUDNN.setter
2416
+ def CUDNN(self, CUDNN):
2417
+ self._CUDNN = CUDNN
2418
+
2419
+ @property
2420
+ def MIGEnable(self):
2421
+ """是否启用MIG特性
2422
+ 注意:此字段可能返回 null,表示取不到有效值。
2423
+ :rtype: bool
2424
+ """
2425
+ return self._MIGEnable
2426
+
2427
+ @MIGEnable.setter
2428
+ def MIGEnable(self, MIGEnable):
2429
+ self._MIGEnable = MIGEnable
2430
+
2431
+ @property
2432
+ def Fabric(self):
2433
+ """是否启用Fabric特性
2434
+ 注意:此字段可能返回 null,表示取不到有效值。
2435
+ :rtype: bool
2436
+ """
2437
+ return self._Fabric
2438
+
2439
+ @Fabric.setter
2440
+ def Fabric(self, Fabric):
2441
+ self._Fabric = Fabric
2442
+
2443
+ @property
2444
+ def CustomGPUDriver(self):
2445
+ """自定义驱动下载地址
2446
+ 注意:此字段可能返回 null,表示取不到有效值。
2447
+ :rtype: str
2448
+ """
2449
+ return self._CustomGPUDriver
2450
+
2451
+ @CustomGPUDriver.setter
2452
+ def CustomGPUDriver(self, CustomGPUDriver):
2453
+ self._CustomGPUDriver = CustomGPUDriver
2454
+
2455
+
2456
+ def _deserialize(self, params):
2457
+ self._Driver = params.get("Driver")
2458
+ self._CUDA = params.get("CUDA")
2459
+ self._CUDNN = params.get("CUDNN")
2460
+ self._MIGEnable = params.get("MIGEnable")
2461
+ self._Fabric = params.get("Fabric")
2462
+ self._CustomGPUDriver = params.get("CustomGPUDriver")
2463
+ memeber_set = set(params.keys())
2464
+ for name, value in vars(self).items():
2465
+ property_name = name[1:]
2466
+ if property_name in memeber_set:
2467
+ memeber_set.remove(property_name)
2468
+ if len(memeber_set) > 0:
2469
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2470
+
2471
+
2472
+
2293
2473
  class HealthCheckPolicy(AbstractModel):
2294
2474
  """健康检测规则
2295
2475
 
@@ -6306,6 +6486,8 @@ class UpdateNativeNodePoolParam(AbstractModel):
6306
6486
  :type DataDisks: list of DataDisk
6307
6487
  :param _KeyIds: ssh公钥id数组
6308
6488
  :type KeyIds: list of str
6489
+ :param _GPUConfigs: 节点池 GPU 配置
6490
+ :type GPUConfigs: list of GPUConfig
6309
6491
  """
6310
6492
  self._Scaling = None
6311
6493
  self._SubnetIds = None
@@ -6326,6 +6508,7 @@ class UpdateNativeNodePoolParam(AbstractModel):
6326
6508
  self._Replicas = None
6327
6509
  self._DataDisks = None
6328
6510
  self._KeyIds = None
6511
+ self._GPUConfigs = None
6329
6512
 
6330
6513
  @property
6331
6514
  def Scaling(self):
@@ -6539,6 +6722,17 @@ class UpdateNativeNodePoolParam(AbstractModel):
6539
6722
  def KeyIds(self, KeyIds):
6540
6723
  self._KeyIds = KeyIds
6541
6724
 
6725
+ @property
6726
+ def GPUConfigs(self):
6727
+ """节点池 GPU 配置
6728
+ :rtype: list of GPUConfig
6729
+ """
6730
+ return self._GPUConfigs
6731
+
6732
+ @GPUConfigs.setter
6733
+ def GPUConfigs(self, GPUConfigs):
6734
+ self._GPUConfigs = GPUConfigs
6735
+
6542
6736
 
6543
6737
  def _deserialize(self, params):
6544
6738
  if params.get("Scaling") is not None:
@@ -6577,6 +6771,12 @@ class UpdateNativeNodePoolParam(AbstractModel):
6577
6771
  obj._deserialize(item)
6578
6772
  self._DataDisks.append(obj)
6579
6773
  self._KeyIds = params.get("KeyIds")
6774
+ if params.get("GPUConfigs") is not None:
6775
+ self._GPUConfigs = []
6776
+ for item in params.get("GPUConfigs"):
6777
+ obj = GPUConfig()
6778
+ obj._deserialize(item)
6779
+ self._GPUConfigs.append(obj)
6580
6780
  memeber_set = set(params.keys())
6581
6781
  for name, value in vars(self).items():
6582
6782
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.1274
3
+ Version: 3.0.1289
4
4
  Summary: Tencent Cloud Tke SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1289
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1274