tencentcloud-sdk-python-tke 3.0.1271__tar.gz → 3.0.1280__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.1271 → tencentcloud-sdk-python-tke-3.0.1280}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/setup.py +1 -1
  3. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/tke/v20180525/models.py +15 -0
  5. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/tke/v20220501/models.py +206 -2
  6. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-tke-3.0.1280/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-tke-3.0.1271/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/README.rst +0 -0
  10. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/tke/__init__.py +0 -0
  12. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/tke/v20180525/__init__.py +0 -0
  13. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/tke/v20180525/tke_client.py +0 -0
  15. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/tke/v20220501/__init__.py +0 -0
  16. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud/tke/v20220501/tke_client.py +0 -0
  18. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-tke-3.0.1271 → tencentcloud-sdk-python-tke-3.0.1280}/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.1271
3
+ Version: 3.0.1280
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.1271"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1280"],
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.1271'
17
+ __version__ = '3.0.1280'
@@ -20295,10 +20295,13 @@ class DescribeOpenPolicyListResponse(AbstractModel):
20295
20295
  :param _OpenPolicyInfoList: 策略信息列表
20296
20296
  注意:此字段可能返回 null,表示取不到有效值。
20297
20297
  :type OpenPolicyInfoList: list of OpenPolicyInfo
20298
+ :param _GatekeeperStatus: 集群内是否安装了gatekeeper addon
20299
+ :type GatekeeperStatus: int
20298
20300
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20299
20301
  :type RequestId: str
20300
20302
  """
20301
20303
  self._OpenPolicyInfoList = None
20304
+ self._GatekeeperStatus = None
20302
20305
  self._RequestId = None
20303
20306
 
20304
20307
  @property
@@ -20313,6 +20316,17 @@ class DescribeOpenPolicyListResponse(AbstractModel):
20313
20316
  def OpenPolicyInfoList(self, OpenPolicyInfoList):
20314
20317
  self._OpenPolicyInfoList = OpenPolicyInfoList
20315
20318
 
20319
+ @property
20320
+ def GatekeeperStatus(self):
20321
+ """集群内是否安装了gatekeeper addon
20322
+ :rtype: int
20323
+ """
20324
+ return self._GatekeeperStatus
20325
+
20326
+ @GatekeeperStatus.setter
20327
+ def GatekeeperStatus(self, GatekeeperStatus):
20328
+ self._GatekeeperStatus = GatekeeperStatus
20329
+
20316
20330
  @property
20317
20331
  def RequestId(self):
20318
20332
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -20332,6 +20346,7 @@ class DescribeOpenPolicyListResponse(AbstractModel):
20332
20346
  obj = OpenPolicyInfo()
20333
20347
  obj._deserialize(item)
20334
20348
  self._OpenPolicyInfoList.append(obj)
20349
+ self._GatekeeperStatus = params.get("GatekeeperStatus")
20335
20350
  self._RequestId = params.get("RequestId")
20336
20351
 
20337
20352
 
@@ -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
 
@@ -6135,7 +6315,9 @@ class TagSpecification(AbstractModel):
6135
6315
 
6136
6316
  def __init__(self):
6137
6317
  r"""
6138
- :param _ResourceType: 标签绑定的资源类型,当前支持类型:"cluster"
6318
+ :param _ResourceType: 标签绑定的资源类型,当前支持类型:
6319
+ 1.cluster:集群相关接口,TagSpecification 的 ResourceType 传参为 cluster
6320
+ 2.machine:节点池相关接口,如:CreateNodePool, DescribeNodePools 等,TagSpecification 的 ResourceType 传参为 machine
6139
6321
  注意:此字段可能返回 null,表示取不到有效值。
6140
6322
  :type ResourceType: str
6141
6323
  :param _Tags: 标签对列表
@@ -6147,7 +6329,9 @@ class TagSpecification(AbstractModel):
6147
6329
 
6148
6330
  @property
6149
6331
  def ResourceType(self):
6150
- """标签绑定的资源类型,当前支持类型:"cluster"
6332
+ """标签绑定的资源类型,当前支持类型:
6333
+ 1.cluster:集群相关接口,TagSpecification 的 ResourceType 传参为 cluster
6334
+ 2.machine:节点池相关接口,如:CreateNodePool, DescribeNodePools 等,TagSpecification 的 ResourceType 传参为 machine
6151
6335
  注意:此字段可能返回 null,表示取不到有效值。
6152
6336
  :rtype: str
6153
6337
  """
@@ -6302,6 +6486,8 @@ class UpdateNativeNodePoolParam(AbstractModel):
6302
6486
  :type DataDisks: list of DataDisk
6303
6487
  :param _KeyIds: ssh公钥id数组
6304
6488
  :type KeyIds: list of str
6489
+ :param _GPUConfigs: 节点池 GPU 配置
6490
+ :type GPUConfigs: list of GPUConfig
6305
6491
  """
6306
6492
  self._Scaling = None
6307
6493
  self._SubnetIds = None
@@ -6322,6 +6508,7 @@ class UpdateNativeNodePoolParam(AbstractModel):
6322
6508
  self._Replicas = None
6323
6509
  self._DataDisks = None
6324
6510
  self._KeyIds = None
6511
+ self._GPUConfigs = None
6325
6512
 
6326
6513
  @property
6327
6514
  def Scaling(self):
@@ -6535,6 +6722,17 @@ class UpdateNativeNodePoolParam(AbstractModel):
6535
6722
  def KeyIds(self, KeyIds):
6536
6723
  self._KeyIds = KeyIds
6537
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
+
6538
6736
 
6539
6737
  def _deserialize(self, params):
6540
6738
  if params.get("Scaling") is not None:
@@ -6573,6 +6771,12 @@ class UpdateNativeNodePoolParam(AbstractModel):
6573
6771
  obj._deserialize(item)
6574
6772
  self._DataDisks.append(obj)
6575
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)
6576
6780
  memeber_set = set(params.keys())
6577
6781
  for name, value in vars(self).items():
6578
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.1271
3
+ Version: 3.0.1280
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.1280
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1271