tencentcloud-sdk-python-tke 3.0.1425__tar.gz → 3.0.1444__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-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/setup.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/tke/v20180525/models.py +82 -37
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tke-3.0.1444/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tke-3.0.1425/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/README.rst +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1425 → tencentcloud-sdk-python-tke-3.0.1444}/tencentcloud_sdk_python_tke.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-tke',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1444,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tke SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2300,6 +2300,8 @@ class ClusterAdvancedSettings(AbstractModel):
|
|
|
2300
2300
|
:type CiliumMode: str
|
|
2301
2301
|
:param _ContainerRuntime: 集群使用的runtime类型,包括"docker"和"containerd"两种类型,默认为"docker"
|
|
2302
2302
|
:type ContainerRuntime: str
|
|
2303
|
+
:param _DataPlaneV2: 是否启用 DataPlaneV2(cilium替代kube-proxy)
|
|
2304
|
+
:type DataPlaneV2: bool
|
|
2303
2305
|
:param _DeletionProtection: 是否启用集群删除保护
|
|
2304
2306
|
:type DeletionProtection: bool
|
|
2305
2307
|
:param _EnableCustomizedPodCIDR: 是否开节点podCIDR大小的自定义模式
|
|
@@ -2322,7 +2324,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
|
|
|
2322
2324
|
1. 集群版本必须为1.14及以上;
|
|
2323
2325
|
2. 系统镜像必须是: Tencent Linux 2.4;
|
|
2324
2326
|
:type KubeProxyMode: str
|
|
2325
|
-
:param _NetworkType:
|
|
2327
|
+
:param _NetworkType: 集群网络类型。包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
|
|
2326
2328
|
:type NetworkType: str
|
|
2327
2329
|
:param _NodeNameType: 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
|
|
2328
2330
|
:type NodeNameType: str
|
|
@@ -2340,6 +2342,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
|
|
|
2340
2342
|
self._BasePodNumber = None
|
|
2341
2343
|
self._CiliumMode = None
|
|
2342
2344
|
self._ContainerRuntime = None
|
|
2345
|
+
self._DataPlaneV2 = None
|
|
2343
2346
|
self._DeletionProtection = None
|
|
2344
2347
|
self._EnableCustomizedPodCIDR = None
|
|
2345
2348
|
self._EtcdOverrideConfigs = None
|
|
@@ -2431,6 +2434,17 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
|
|
|
2431
2434
|
def ContainerRuntime(self, ContainerRuntime):
|
|
2432
2435
|
self._ContainerRuntime = ContainerRuntime
|
|
2433
2436
|
|
|
2437
|
+
@property
|
|
2438
|
+
def DataPlaneV2(self):
|
|
2439
|
+
"""是否启用 DataPlaneV2(cilium替代kube-proxy)
|
|
2440
|
+
:rtype: bool
|
|
2441
|
+
"""
|
|
2442
|
+
return self._DataPlaneV2
|
|
2443
|
+
|
|
2444
|
+
@DataPlaneV2.setter
|
|
2445
|
+
def DataPlaneV2(self, DataPlaneV2):
|
|
2446
|
+
self._DataPlaneV2 = DataPlaneV2
|
|
2447
|
+
|
|
2434
2448
|
@property
|
|
2435
2449
|
def DeletionProtection(self):
|
|
2436
2450
|
"""是否启用集群删除保护
|
|
@@ -2527,7 +2541,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
|
|
|
2527
2541
|
|
|
2528
2542
|
@property
|
|
2529
2543
|
def NetworkType(self):
|
|
2530
|
-
"""
|
|
2544
|
+
"""集群网络类型。包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
|
|
2531
2545
|
:rtype: str
|
|
2532
2546
|
"""
|
|
2533
2547
|
return self._NetworkType
|
|
@@ -2589,6 +2603,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
|
|
|
2589
2603
|
self._BasePodNumber = params.get("BasePodNumber")
|
|
2590
2604
|
self._CiliumMode = params.get("CiliumMode")
|
|
2591
2605
|
self._ContainerRuntime = params.get("ContainerRuntime")
|
|
2606
|
+
self._DataPlaneV2 = params.get("DataPlaneV2")
|
|
2592
2607
|
self._DeletionProtection = params.get("DeletionProtection")
|
|
2593
2608
|
self._EnableCustomizedPodCIDR = params.get("EnableCustomizedPodCIDR")
|
|
2594
2609
|
if params.get("EtcdOverrideConfigs") is not None:
|
|
@@ -45248,10 +45263,10 @@ class Switch(AbstractModel):
|
|
|
45248
45263
|
|
|
45249
45264
|
def __init__(self):
|
|
45250
45265
|
r"""
|
|
45251
|
-
:param _ClusterId: 集群ID
|
|
45252
|
-
:type ClusterId: str
|
|
45253
45266
|
:param _Audit: 审计开关的详细信息
|
|
45254
45267
|
:type Audit: :class:`tencentcloud.tke.v20180525.models.SwitchInfo`
|
|
45268
|
+
:param _ClusterId: 集群ID
|
|
45269
|
+
:type ClusterId: str
|
|
45255
45270
|
:param _Event: 事件开关的详细信息
|
|
45256
45271
|
:type Event: :class:`tencentcloud.tke.v20180525.models.SwitchInfo`
|
|
45257
45272
|
:param _Log: 普通日志的详细信息
|
|
@@ -45259,23 +45274,12 @@ class Switch(AbstractModel):
|
|
|
45259
45274
|
:param _MasterLog: master 日志详细信息
|
|
45260
45275
|
:type MasterLog: :class:`tencentcloud.tke.v20180525.models.SwitchInfo`
|
|
45261
45276
|
"""
|
|
45262
|
-
self._ClusterId = None
|
|
45263
45277
|
self._Audit = None
|
|
45278
|
+
self._ClusterId = None
|
|
45264
45279
|
self._Event = None
|
|
45265
45280
|
self._Log = None
|
|
45266
45281
|
self._MasterLog = None
|
|
45267
45282
|
|
|
45268
|
-
@property
|
|
45269
|
-
def ClusterId(self):
|
|
45270
|
-
"""集群ID
|
|
45271
|
-
:rtype: str
|
|
45272
|
-
"""
|
|
45273
|
-
return self._ClusterId
|
|
45274
|
-
|
|
45275
|
-
@ClusterId.setter
|
|
45276
|
-
def ClusterId(self, ClusterId):
|
|
45277
|
-
self._ClusterId = ClusterId
|
|
45278
|
-
|
|
45279
45283
|
@property
|
|
45280
45284
|
def Audit(self):
|
|
45281
45285
|
"""审计开关的详细信息
|
|
@@ -45287,6 +45291,17 @@ class Switch(AbstractModel):
|
|
|
45287
45291
|
def Audit(self, Audit):
|
|
45288
45292
|
self._Audit = Audit
|
|
45289
45293
|
|
|
45294
|
+
@property
|
|
45295
|
+
def ClusterId(self):
|
|
45296
|
+
"""集群ID
|
|
45297
|
+
:rtype: str
|
|
45298
|
+
"""
|
|
45299
|
+
return self._ClusterId
|
|
45300
|
+
|
|
45301
|
+
@ClusterId.setter
|
|
45302
|
+
def ClusterId(self, ClusterId):
|
|
45303
|
+
self._ClusterId = ClusterId
|
|
45304
|
+
|
|
45290
45305
|
@property
|
|
45291
45306
|
def Event(self):
|
|
45292
45307
|
"""事件开关的详细信息
|
|
@@ -45322,10 +45337,10 @@ class Switch(AbstractModel):
|
|
|
45322
45337
|
|
|
45323
45338
|
|
|
45324
45339
|
def _deserialize(self, params):
|
|
45325
|
-
self._ClusterId = params.get("ClusterId")
|
|
45326
45340
|
if params.get("Audit") is not None:
|
|
45327
45341
|
self._Audit = SwitchInfo()
|
|
45328
45342
|
self._Audit._deserialize(params.get("Audit"))
|
|
45343
|
+
self._ClusterId = params.get("ClusterId")
|
|
45329
45344
|
if params.get("Event") is not None:
|
|
45330
45345
|
self._Event = SwitchInfo()
|
|
45331
45346
|
self._Event._deserialize(params.get("Event"))
|
|
@@ -45354,23 +45369,29 @@ class SwitchInfo(AbstractModel):
|
|
|
45354
45369
|
r"""
|
|
45355
45370
|
:param _Enable: 开启标识符 true代表开启
|
|
45356
45371
|
:type Enable: bool
|
|
45372
|
+
:param _ErrorMsg: 获取日志状态失败时,返回错误信息
|
|
45373
|
+
:type ErrorMsg: str
|
|
45357
45374
|
:param _LogsetId: CLS日志集ID
|
|
45358
45375
|
:type LogsetId: str
|
|
45376
|
+
:param _Status: 日志主题状态,opened表示已开启,opening开启中,closed表示已关闭,closing 表示关闭中
|
|
45377
|
+
:type Status: str
|
|
45359
45378
|
:param _TopicId: CLS日志主题ID
|
|
45360
45379
|
:type TopicId: str
|
|
45361
|
-
:param _Version: 当前log-agent版本
|
|
45362
|
-
:type Version: str
|
|
45363
|
-
:param _UpgradeAble: 是否可升级
|
|
45364
|
-
:type UpgradeAble: bool
|
|
45365
45380
|
:param _TopicRegion: CLS日志主题所属region
|
|
45366
45381
|
:type TopicRegion: str
|
|
45382
|
+
:param _UpgradeAble: 是否可升级
|
|
45383
|
+
:type UpgradeAble: bool
|
|
45384
|
+
:param _Version: 当前log-agent版本
|
|
45385
|
+
:type Version: str
|
|
45367
45386
|
"""
|
|
45368
45387
|
self._Enable = None
|
|
45388
|
+
self._ErrorMsg = None
|
|
45369
45389
|
self._LogsetId = None
|
|
45390
|
+
self._Status = None
|
|
45370
45391
|
self._TopicId = None
|
|
45371
|
-
self._Version = None
|
|
45372
|
-
self._UpgradeAble = None
|
|
45373
45392
|
self._TopicRegion = None
|
|
45393
|
+
self._UpgradeAble = None
|
|
45394
|
+
self._Version = None
|
|
45374
45395
|
|
|
45375
45396
|
@property
|
|
45376
45397
|
def Enable(self):
|
|
@@ -45383,6 +45404,17 @@ class SwitchInfo(AbstractModel):
|
|
|
45383
45404
|
def Enable(self, Enable):
|
|
45384
45405
|
self._Enable = Enable
|
|
45385
45406
|
|
|
45407
|
+
@property
|
|
45408
|
+
def ErrorMsg(self):
|
|
45409
|
+
"""获取日志状态失败时,返回错误信息
|
|
45410
|
+
:rtype: str
|
|
45411
|
+
"""
|
|
45412
|
+
return self._ErrorMsg
|
|
45413
|
+
|
|
45414
|
+
@ErrorMsg.setter
|
|
45415
|
+
def ErrorMsg(self, ErrorMsg):
|
|
45416
|
+
self._ErrorMsg = ErrorMsg
|
|
45417
|
+
|
|
45386
45418
|
@property
|
|
45387
45419
|
def LogsetId(self):
|
|
45388
45420
|
"""CLS日志集ID
|
|
@@ -45394,6 +45426,17 @@ class SwitchInfo(AbstractModel):
|
|
|
45394
45426
|
def LogsetId(self, LogsetId):
|
|
45395
45427
|
self._LogsetId = LogsetId
|
|
45396
45428
|
|
|
45429
|
+
@property
|
|
45430
|
+
def Status(self):
|
|
45431
|
+
"""日志主题状态,opened表示已开启,opening开启中,closed表示已关闭,closing 表示关闭中
|
|
45432
|
+
:rtype: str
|
|
45433
|
+
"""
|
|
45434
|
+
return self._Status
|
|
45435
|
+
|
|
45436
|
+
@Status.setter
|
|
45437
|
+
def Status(self, Status):
|
|
45438
|
+
self._Status = Status
|
|
45439
|
+
|
|
45397
45440
|
@property
|
|
45398
45441
|
def TopicId(self):
|
|
45399
45442
|
"""CLS日志主题ID
|
|
@@ -45406,15 +45449,15 @@ class SwitchInfo(AbstractModel):
|
|
|
45406
45449
|
self._TopicId = TopicId
|
|
45407
45450
|
|
|
45408
45451
|
@property
|
|
45409
|
-
def
|
|
45410
|
-
"""
|
|
45452
|
+
def TopicRegion(self):
|
|
45453
|
+
"""CLS日志主题所属region
|
|
45411
45454
|
:rtype: str
|
|
45412
45455
|
"""
|
|
45413
|
-
return self.
|
|
45456
|
+
return self._TopicRegion
|
|
45414
45457
|
|
|
45415
|
-
@
|
|
45416
|
-
def
|
|
45417
|
-
self.
|
|
45458
|
+
@TopicRegion.setter
|
|
45459
|
+
def TopicRegion(self, TopicRegion):
|
|
45460
|
+
self._TopicRegion = TopicRegion
|
|
45418
45461
|
|
|
45419
45462
|
@property
|
|
45420
45463
|
def UpgradeAble(self):
|
|
@@ -45428,24 +45471,26 @@ class SwitchInfo(AbstractModel):
|
|
|
45428
45471
|
self._UpgradeAble = UpgradeAble
|
|
45429
45472
|
|
|
45430
45473
|
@property
|
|
45431
|
-
def
|
|
45432
|
-
"""
|
|
45474
|
+
def Version(self):
|
|
45475
|
+
"""当前log-agent版本
|
|
45433
45476
|
:rtype: str
|
|
45434
45477
|
"""
|
|
45435
|
-
return self.
|
|
45478
|
+
return self._Version
|
|
45436
45479
|
|
|
45437
|
-
@
|
|
45438
|
-
def
|
|
45439
|
-
self.
|
|
45480
|
+
@Version.setter
|
|
45481
|
+
def Version(self, Version):
|
|
45482
|
+
self._Version = Version
|
|
45440
45483
|
|
|
45441
45484
|
|
|
45442
45485
|
def _deserialize(self, params):
|
|
45443
45486
|
self._Enable = params.get("Enable")
|
|
45487
|
+
self._ErrorMsg = params.get("ErrorMsg")
|
|
45444
45488
|
self._LogsetId = params.get("LogsetId")
|
|
45489
|
+
self._Status = params.get("Status")
|
|
45445
45490
|
self._TopicId = params.get("TopicId")
|
|
45446
|
-
self._Version = params.get("Version")
|
|
45447
|
-
self._UpgradeAble = params.get("UpgradeAble")
|
|
45448
45491
|
self._TopicRegion = params.get("TopicRegion")
|
|
45492
|
+
self._UpgradeAble = params.get("UpgradeAble")
|
|
45493
|
+
self._Version = params.get("Version")
|
|
45449
45494
|
memeber_set = set(params.keys())
|
|
45450
45495
|
for name, value in vars(self).items():
|
|
45451
45496
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1444
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1425
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|