tencentcloud-sdk-python-tke 3.0.1129__tar.gz → 3.0.1130__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.1129 → tencentcloud-sdk-python-tke-3.0.1130}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/setup.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/tke/v20180525/models.py +361 -4
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/tke/v20180525/tke_client.py +46 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tke-3.0.1130/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tke-3.0.1129/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/README.rst +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1129 → tencentcloud-sdk-python-tke-3.0.1130}/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.1130"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tke SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -5473,9 +5473,9 @@ class CreateClusterRouteRequest(AbstractModel):
|
|
|
5473
5473
|
r"""
|
|
5474
5474
|
:param _RouteTableName: 路由表名称。
|
|
5475
5475
|
:type RouteTableName: str
|
|
5476
|
-
:param _DestinationCidrBlock:
|
|
5476
|
+
:param _DestinationCidrBlock: 目的节点的 PodCIDR
|
|
5477
5477
|
:type DestinationCidrBlock: str
|
|
5478
|
-
:param _GatewayIp:
|
|
5478
|
+
:param _GatewayIp: 下一跳地址,即目的节点的内网 IP 地址
|
|
5479
5479
|
:type GatewayIp: str
|
|
5480
5480
|
"""
|
|
5481
5481
|
self._RouteTableName = None
|
|
@@ -5553,13 +5553,13 @@ class CreateClusterRouteTableRequest(AbstractModel):
|
|
|
5553
5553
|
|
|
5554
5554
|
def __init__(self):
|
|
5555
5555
|
r"""
|
|
5556
|
-
:param _RouteTableName:
|
|
5556
|
+
:param _RouteTableName: 路由表名称,一般为集群ID
|
|
5557
5557
|
:type RouteTableName: str
|
|
5558
5558
|
:param _RouteTableCidrBlock: 路由表CIDR
|
|
5559
5559
|
:type RouteTableCidrBlock: str
|
|
5560
5560
|
:param _VpcId: 路由表绑定的VPC
|
|
5561
5561
|
:type VpcId: str
|
|
5562
|
-
:param _IgnoreClusterCidrConflict: 是否忽略CIDR
|
|
5562
|
+
:param _IgnoreClusterCidrConflict: 是否忽略CIDR与 vpc 路由表的冲突, 0 表示不忽略,1表示忽略。默认不忽略
|
|
5563
5563
|
:type IgnoreClusterCidrConflict: int
|
|
5564
5564
|
"""
|
|
5565
5565
|
self._RouteTableName = None
|
|
@@ -20015,6 +20015,82 @@ class DescribeRouteTableConflictsResponse(AbstractModel):
|
|
|
20015
20015
|
self._RequestId = params.get("RequestId")
|
|
20016
20016
|
|
|
20017
20017
|
|
|
20018
|
+
class DescribeSupportedRuntimeRequest(AbstractModel):
|
|
20019
|
+
"""DescribeSupportedRuntime请求参数结构体
|
|
20020
|
+
|
|
20021
|
+
"""
|
|
20022
|
+
|
|
20023
|
+
def __init__(self):
|
|
20024
|
+
r"""
|
|
20025
|
+
:param _K8sVersion: K8S版本
|
|
20026
|
+
:type K8sVersion: str
|
|
20027
|
+
"""
|
|
20028
|
+
self._K8sVersion = None
|
|
20029
|
+
|
|
20030
|
+
@property
|
|
20031
|
+
def K8sVersion(self):
|
|
20032
|
+
return self._K8sVersion
|
|
20033
|
+
|
|
20034
|
+
@K8sVersion.setter
|
|
20035
|
+
def K8sVersion(self, K8sVersion):
|
|
20036
|
+
self._K8sVersion = K8sVersion
|
|
20037
|
+
|
|
20038
|
+
|
|
20039
|
+
def _deserialize(self, params):
|
|
20040
|
+
self._K8sVersion = params.get("K8sVersion")
|
|
20041
|
+
memeber_set = set(params.keys())
|
|
20042
|
+
for name, value in vars(self).items():
|
|
20043
|
+
property_name = name[1:]
|
|
20044
|
+
if property_name in memeber_set:
|
|
20045
|
+
memeber_set.remove(property_name)
|
|
20046
|
+
if len(memeber_set) > 0:
|
|
20047
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20048
|
+
|
|
20049
|
+
|
|
20050
|
+
|
|
20051
|
+
class DescribeSupportedRuntimeResponse(AbstractModel):
|
|
20052
|
+
"""DescribeSupportedRuntime返回参数结构体
|
|
20053
|
+
|
|
20054
|
+
"""
|
|
20055
|
+
|
|
20056
|
+
def __init__(self):
|
|
20057
|
+
r"""
|
|
20058
|
+
:param _OptionalRuntimes: 可选运行时列表
|
|
20059
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20060
|
+
:type OptionalRuntimes: list of OptionalRuntimes
|
|
20061
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20062
|
+
:type RequestId: str
|
|
20063
|
+
"""
|
|
20064
|
+
self._OptionalRuntimes = None
|
|
20065
|
+
self._RequestId = None
|
|
20066
|
+
|
|
20067
|
+
@property
|
|
20068
|
+
def OptionalRuntimes(self):
|
|
20069
|
+
return self._OptionalRuntimes
|
|
20070
|
+
|
|
20071
|
+
@OptionalRuntimes.setter
|
|
20072
|
+
def OptionalRuntimes(self, OptionalRuntimes):
|
|
20073
|
+
self._OptionalRuntimes = OptionalRuntimes
|
|
20074
|
+
|
|
20075
|
+
@property
|
|
20076
|
+
def RequestId(self):
|
|
20077
|
+
return self._RequestId
|
|
20078
|
+
|
|
20079
|
+
@RequestId.setter
|
|
20080
|
+
def RequestId(self, RequestId):
|
|
20081
|
+
self._RequestId = RequestId
|
|
20082
|
+
|
|
20083
|
+
|
|
20084
|
+
def _deserialize(self, params):
|
|
20085
|
+
if params.get("OptionalRuntimes") is not None:
|
|
20086
|
+
self._OptionalRuntimes = []
|
|
20087
|
+
for item in params.get("OptionalRuntimes"):
|
|
20088
|
+
obj = OptionalRuntimes()
|
|
20089
|
+
obj._deserialize(item)
|
|
20090
|
+
self._OptionalRuntimes.append(obj)
|
|
20091
|
+
self._RequestId = params.get("RequestId")
|
|
20092
|
+
|
|
20093
|
+
|
|
20018
20094
|
class DescribeTKEEdgeClusterCredentialRequest(AbstractModel):
|
|
20019
20095
|
"""DescribeTKEEdgeClusterCredential请求参数结构体
|
|
20020
20096
|
|
|
@@ -28351,6 +28427,107 @@ class ModifyClusterNodePoolResponse(AbstractModel):
|
|
|
28351
28427
|
self._RequestId = params.get("RequestId")
|
|
28352
28428
|
|
|
28353
28429
|
|
|
28430
|
+
class ModifyClusterRuntimeConfigRequest(AbstractModel):
|
|
28431
|
+
"""ModifyClusterRuntimeConfig请求参数结构体
|
|
28432
|
+
|
|
28433
|
+
"""
|
|
28434
|
+
|
|
28435
|
+
def __init__(self):
|
|
28436
|
+
r"""
|
|
28437
|
+
:param _ClusterId: 集群ID,必填
|
|
28438
|
+
:type ClusterId: str
|
|
28439
|
+
:param _DstK8SVersion: 当需要修改运行时版本是根据另外的K8S版本获取时,需填写。例如升级校验有冲突后修改场景
|
|
28440
|
+
:type DstK8SVersion: str
|
|
28441
|
+
:param _ClusterRuntimeConfig: 需要修改集群运行时时填写
|
|
28442
|
+
:type ClusterRuntimeConfig: :class:`tencentcloud.tke.v20180525.models.RuntimeConfig`
|
|
28443
|
+
:param _NodePoolRuntimeConfig: 需要修改节点池运行时时,填需要修改的部分
|
|
28444
|
+
:type NodePoolRuntimeConfig: list of NodePoolRuntime
|
|
28445
|
+
"""
|
|
28446
|
+
self._ClusterId = None
|
|
28447
|
+
self._DstK8SVersion = None
|
|
28448
|
+
self._ClusterRuntimeConfig = None
|
|
28449
|
+
self._NodePoolRuntimeConfig = None
|
|
28450
|
+
|
|
28451
|
+
@property
|
|
28452
|
+
def ClusterId(self):
|
|
28453
|
+
return self._ClusterId
|
|
28454
|
+
|
|
28455
|
+
@ClusterId.setter
|
|
28456
|
+
def ClusterId(self, ClusterId):
|
|
28457
|
+
self._ClusterId = ClusterId
|
|
28458
|
+
|
|
28459
|
+
@property
|
|
28460
|
+
def DstK8SVersion(self):
|
|
28461
|
+
return self._DstK8SVersion
|
|
28462
|
+
|
|
28463
|
+
@DstK8SVersion.setter
|
|
28464
|
+
def DstK8SVersion(self, DstK8SVersion):
|
|
28465
|
+
self._DstK8SVersion = DstK8SVersion
|
|
28466
|
+
|
|
28467
|
+
@property
|
|
28468
|
+
def ClusterRuntimeConfig(self):
|
|
28469
|
+
return self._ClusterRuntimeConfig
|
|
28470
|
+
|
|
28471
|
+
@ClusterRuntimeConfig.setter
|
|
28472
|
+
def ClusterRuntimeConfig(self, ClusterRuntimeConfig):
|
|
28473
|
+
self._ClusterRuntimeConfig = ClusterRuntimeConfig
|
|
28474
|
+
|
|
28475
|
+
@property
|
|
28476
|
+
def NodePoolRuntimeConfig(self):
|
|
28477
|
+
return self._NodePoolRuntimeConfig
|
|
28478
|
+
|
|
28479
|
+
@NodePoolRuntimeConfig.setter
|
|
28480
|
+
def NodePoolRuntimeConfig(self, NodePoolRuntimeConfig):
|
|
28481
|
+
self._NodePoolRuntimeConfig = NodePoolRuntimeConfig
|
|
28482
|
+
|
|
28483
|
+
|
|
28484
|
+
def _deserialize(self, params):
|
|
28485
|
+
self._ClusterId = params.get("ClusterId")
|
|
28486
|
+
self._DstK8SVersion = params.get("DstK8SVersion")
|
|
28487
|
+
if params.get("ClusterRuntimeConfig") is not None:
|
|
28488
|
+
self._ClusterRuntimeConfig = RuntimeConfig()
|
|
28489
|
+
self._ClusterRuntimeConfig._deserialize(params.get("ClusterRuntimeConfig"))
|
|
28490
|
+
if params.get("NodePoolRuntimeConfig") is not None:
|
|
28491
|
+
self._NodePoolRuntimeConfig = []
|
|
28492
|
+
for item in params.get("NodePoolRuntimeConfig"):
|
|
28493
|
+
obj = NodePoolRuntime()
|
|
28494
|
+
obj._deserialize(item)
|
|
28495
|
+
self._NodePoolRuntimeConfig.append(obj)
|
|
28496
|
+
memeber_set = set(params.keys())
|
|
28497
|
+
for name, value in vars(self).items():
|
|
28498
|
+
property_name = name[1:]
|
|
28499
|
+
if property_name in memeber_set:
|
|
28500
|
+
memeber_set.remove(property_name)
|
|
28501
|
+
if len(memeber_set) > 0:
|
|
28502
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28503
|
+
|
|
28504
|
+
|
|
28505
|
+
|
|
28506
|
+
class ModifyClusterRuntimeConfigResponse(AbstractModel):
|
|
28507
|
+
"""ModifyClusterRuntimeConfig返回参数结构体
|
|
28508
|
+
|
|
28509
|
+
"""
|
|
28510
|
+
|
|
28511
|
+
def __init__(self):
|
|
28512
|
+
r"""
|
|
28513
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28514
|
+
:type RequestId: str
|
|
28515
|
+
"""
|
|
28516
|
+
self._RequestId = None
|
|
28517
|
+
|
|
28518
|
+
@property
|
|
28519
|
+
def RequestId(self):
|
|
28520
|
+
return self._RequestId
|
|
28521
|
+
|
|
28522
|
+
@RequestId.setter
|
|
28523
|
+
def RequestId(self, RequestId):
|
|
28524
|
+
self._RequestId = RequestId
|
|
28525
|
+
|
|
28526
|
+
|
|
28527
|
+
def _deserialize(self, params):
|
|
28528
|
+
self._RequestId = params.get("RequestId")
|
|
28529
|
+
|
|
28530
|
+
|
|
28354
28531
|
class ModifyClusterVirtualNodePoolRequest(AbstractModel):
|
|
28355
28532
|
"""ModifyClusterVirtualNodePool请求参数结构体
|
|
28356
28533
|
|
|
@@ -29959,6 +30136,79 @@ class NodePoolOption(AbstractModel):
|
|
|
29959
30136
|
|
|
29960
30137
|
|
|
29961
30138
|
|
|
30139
|
+
class NodePoolRuntime(AbstractModel):
|
|
30140
|
+
"""NodePool的运行时配置
|
|
30141
|
+
|
|
30142
|
+
"""
|
|
30143
|
+
|
|
30144
|
+
def __init__(self):
|
|
30145
|
+
r"""
|
|
30146
|
+
:param _NodePoolId: 节点池ID
|
|
30147
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30148
|
+
:type NodePoolId: str
|
|
30149
|
+
:param _RuntimeType: 运行时类型
|
|
30150
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30151
|
+
:type RuntimeType: str
|
|
30152
|
+
:param _RuntimeVersion: 运行时版本
|
|
30153
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30154
|
+
:type RuntimeVersion: str
|
|
30155
|
+
:param _NodePoolName: 节点池名称
|
|
30156
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30157
|
+
:type NodePoolName: str
|
|
30158
|
+
"""
|
|
30159
|
+
self._NodePoolId = None
|
|
30160
|
+
self._RuntimeType = None
|
|
30161
|
+
self._RuntimeVersion = None
|
|
30162
|
+
self._NodePoolName = None
|
|
30163
|
+
|
|
30164
|
+
@property
|
|
30165
|
+
def NodePoolId(self):
|
|
30166
|
+
return self._NodePoolId
|
|
30167
|
+
|
|
30168
|
+
@NodePoolId.setter
|
|
30169
|
+
def NodePoolId(self, NodePoolId):
|
|
30170
|
+
self._NodePoolId = NodePoolId
|
|
30171
|
+
|
|
30172
|
+
@property
|
|
30173
|
+
def RuntimeType(self):
|
|
30174
|
+
return self._RuntimeType
|
|
30175
|
+
|
|
30176
|
+
@RuntimeType.setter
|
|
30177
|
+
def RuntimeType(self, RuntimeType):
|
|
30178
|
+
self._RuntimeType = RuntimeType
|
|
30179
|
+
|
|
30180
|
+
@property
|
|
30181
|
+
def RuntimeVersion(self):
|
|
30182
|
+
return self._RuntimeVersion
|
|
30183
|
+
|
|
30184
|
+
@RuntimeVersion.setter
|
|
30185
|
+
def RuntimeVersion(self, RuntimeVersion):
|
|
30186
|
+
self._RuntimeVersion = RuntimeVersion
|
|
30187
|
+
|
|
30188
|
+
@property
|
|
30189
|
+
def NodePoolName(self):
|
|
30190
|
+
return self._NodePoolName
|
|
30191
|
+
|
|
30192
|
+
@NodePoolName.setter
|
|
30193
|
+
def NodePoolName(self, NodePoolName):
|
|
30194
|
+
self._NodePoolName = NodePoolName
|
|
30195
|
+
|
|
30196
|
+
|
|
30197
|
+
def _deserialize(self, params):
|
|
30198
|
+
self._NodePoolId = params.get("NodePoolId")
|
|
30199
|
+
self._RuntimeType = params.get("RuntimeType")
|
|
30200
|
+
self._RuntimeVersion = params.get("RuntimeVersion")
|
|
30201
|
+
self._NodePoolName = params.get("NodePoolName")
|
|
30202
|
+
memeber_set = set(params.keys())
|
|
30203
|
+
for name, value in vars(self).items():
|
|
30204
|
+
property_name = name[1:]
|
|
30205
|
+
if property_name in memeber_set:
|
|
30206
|
+
memeber_set.remove(property_name)
|
|
30207
|
+
if len(memeber_set) > 0:
|
|
30208
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30209
|
+
|
|
30210
|
+
|
|
30211
|
+
|
|
29962
30212
|
class OIDCConfigAuthenticationOptions(AbstractModel):
|
|
29963
30213
|
"""OIDC认证相关配置
|
|
29964
30214
|
|
|
@@ -30019,6 +30269,66 @@ class OIDCConfigAuthenticationOptions(AbstractModel):
|
|
|
30019
30269
|
|
|
30020
30270
|
|
|
30021
30271
|
|
|
30272
|
+
class OptionalRuntimes(AbstractModel):
|
|
30273
|
+
"""可选运行时
|
|
30274
|
+
|
|
30275
|
+
"""
|
|
30276
|
+
|
|
30277
|
+
def __init__(self):
|
|
30278
|
+
r"""
|
|
30279
|
+
:param _RuntimeType: 运行时类型
|
|
30280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30281
|
+
:type RuntimeType: str
|
|
30282
|
+
:param _RuntimeVersions: 运行时版本列表
|
|
30283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30284
|
+
:type RuntimeVersions: list of str
|
|
30285
|
+
:param _DefaultVersion: 该类型的默认运行时版本
|
|
30286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30287
|
+
:type DefaultVersion: str
|
|
30288
|
+
"""
|
|
30289
|
+
self._RuntimeType = None
|
|
30290
|
+
self._RuntimeVersions = None
|
|
30291
|
+
self._DefaultVersion = None
|
|
30292
|
+
|
|
30293
|
+
@property
|
|
30294
|
+
def RuntimeType(self):
|
|
30295
|
+
return self._RuntimeType
|
|
30296
|
+
|
|
30297
|
+
@RuntimeType.setter
|
|
30298
|
+
def RuntimeType(self, RuntimeType):
|
|
30299
|
+
self._RuntimeType = RuntimeType
|
|
30300
|
+
|
|
30301
|
+
@property
|
|
30302
|
+
def RuntimeVersions(self):
|
|
30303
|
+
return self._RuntimeVersions
|
|
30304
|
+
|
|
30305
|
+
@RuntimeVersions.setter
|
|
30306
|
+
def RuntimeVersions(self, RuntimeVersions):
|
|
30307
|
+
self._RuntimeVersions = RuntimeVersions
|
|
30308
|
+
|
|
30309
|
+
@property
|
|
30310
|
+
def DefaultVersion(self):
|
|
30311
|
+
return self._DefaultVersion
|
|
30312
|
+
|
|
30313
|
+
@DefaultVersion.setter
|
|
30314
|
+
def DefaultVersion(self, DefaultVersion):
|
|
30315
|
+
self._DefaultVersion = DefaultVersion
|
|
30316
|
+
|
|
30317
|
+
|
|
30318
|
+
def _deserialize(self, params):
|
|
30319
|
+
self._RuntimeType = params.get("RuntimeType")
|
|
30320
|
+
self._RuntimeVersions = params.get("RuntimeVersions")
|
|
30321
|
+
self._DefaultVersion = params.get("DefaultVersion")
|
|
30322
|
+
memeber_set = set(params.keys())
|
|
30323
|
+
for name, value in vars(self).items():
|
|
30324
|
+
property_name = name[1:]
|
|
30325
|
+
if property_name in memeber_set:
|
|
30326
|
+
memeber_set.remove(property_name)
|
|
30327
|
+
if len(memeber_set) > 0:
|
|
30328
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30329
|
+
|
|
30330
|
+
|
|
30331
|
+
|
|
30022
30332
|
class PendingRelease(AbstractModel):
|
|
30023
30333
|
"""应用市场安装的Pending应用
|
|
30024
30334
|
|
|
@@ -35516,6 +35826,53 @@ class RunSecurityServiceEnabled(AbstractModel):
|
|
|
35516
35826
|
|
|
35517
35827
|
|
|
35518
35828
|
|
|
35829
|
+
class RuntimeConfig(AbstractModel):
|
|
35830
|
+
"""运行时配置
|
|
35831
|
+
|
|
35832
|
+
"""
|
|
35833
|
+
|
|
35834
|
+
def __init__(self):
|
|
35835
|
+
r"""
|
|
35836
|
+
:param _RuntimeType: 运行时类型
|
|
35837
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35838
|
+
:type RuntimeType: str
|
|
35839
|
+
:param _RuntimeVersion: 运行时版本
|
|
35840
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35841
|
+
:type RuntimeVersion: str
|
|
35842
|
+
"""
|
|
35843
|
+
self._RuntimeType = None
|
|
35844
|
+
self._RuntimeVersion = None
|
|
35845
|
+
|
|
35846
|
+
@property
|
|
35847
|
+
def RuntimeType(self):
|
|
35848
|
+
return self._RuntimeType
|
|
35849
|
+
|
|
35850
|
+
@RuntimeType.setter
|
|
35851
|
+
def RuntimeType(self, RuntimeType):
|
|
35852
|
+
self._RuntimeType = RuntimeType
|
|
35853
|
+
|
|
35854
|
+
@property
|
|
35855
|
+
def RuntimeVersion(self):
|
|
35856
|
+
return self._RuntimeVersion
|
|
35857
|
+
|
|
35858
|
+
@RuntimeVersion.setter
|
|
35859
|
+
def RuntimeVersion(self, RuntimeVersion):
|
|
35860
|
+
self._RuntimeVersion = RuntimeVersion
|
|
35861
|
+
|
|
35862
|
+
|
|
35863
|
+
def _deserialize(self, params):
|
|
35864
|
+
self._RuntimeType = params.get("RuntimeType")
|
|
35865
|
+
self._RuntimeVersion = params.get("RuntimeVersion")
|
|
35866
|
+
memeber_set = set(params.keys())
|
|
35867
|
+
for name, value in vars(self).items():
|
|
35868
|
+
property_name = name[1:]
|
|
35869
|
+
if property_name in memeber_set:
|
|
35870
|
+
memeber_set.remove(property_name)
|
|
35871
|
+
if len(memeber_set) > 0:
|
|
35872
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35873
|
+
|
|
35874
|
+
|
|
35875
|
+
|
|
35519
35876
|
class ScaleInClusterMasterRequest(AbstractModel):
|
|
35520
35877
|
"""ScaleInClusterMaster请求参数结构体
|
|
35521
35878
|
|
|
@@ -3430,6 +3430,29 @@ class TkeClient(AbstractClient):
|
|
|
3430
3430
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3431
3431
|
|
|
3432
3432
|
|
|
3433
|
+
def DescribeSupportedRuntime(self, request):
|
|
3434
|
+
"""根据K8S版本获取可选运行时版本
|
|
3435
|
+
|
|
3436
|
+
:param request: Request instance for DescribeSupportedRuntime.
|
|
3437
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.DescribeSupportedRuntimeRequest`
|
|
3438
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.DescribeSupportedRuntimeResponse`
|
|
3439
|
+
|
|
3440
|
+
"""
|
|
3441
|
+
try:
|
|
3442
|
+
params = request._serialize()
|
|
3443
|
+
headers = request.headers
|
|
3444
|
+
body = self.call("DescribeSupportedRuntime", params, headers=headers)
|
|
3445
|
+
response = json.loads(body)
|
|
3446
|
+
model = models.DescribeSupportedRuntimeResponse()
|
|
3447
|
+
model._deserialize(response["Response"])
|
|
3448
|
+
return model
|
|
3449
|
+
except Exception as e:
|
|
3450
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3451
|
+
raise
|
|
3452
|
+
else:
|
|
3453
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3454
|
+
|
|
3455
|
+
|
|
3433
3456
|
def DescribeTKEEdgeClusterCredential(self, request):
|
|
3434
3457
|
"""获取边缘计算集群的认证信息
|
|
3435
3458
|
|
|
@@ -4235,6 +4258,29 @@ class TkeClient(AbstractClient):
|
|
|
4235
4258
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4236
4259
|
|
|
4237
4260
|
|
|
4261
|
+
def ModifyClusterRuntimeConfig(self, request):
|
|
4262
|
+
"""修改集群及节点池纬度运行时配置
|
|
4263
|
+
|
|
4264
|
+
:param request: Request instance for ModifyClusterRuntimeConfig.
|
|
4265
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.ModifyClusterRuntimeConfigRequest`
|
|
4266
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.ModifyClusterRuntimeConfigResponse`
|
|
4267
|
+
|
|
4268
|
+
"""
|
|
4269
|
+
try:
|
|
4270
|
+
params = request._serialize()
|
|
4271
|
+
headers = request.headers
|
|
4272
|
+
body = self.call("ModifyClusterRuntimeConfig", params, headers=headers)
|
|
4273
|
+
response = json.loads(body)
|
|
4274
|
+
model = models.ModifyClusterRuntimeConfigResponse()
|
|
4275
|
+
model._deserialize(response["Response"])
|
|
4276
|
+
return model
|
|
4277
|
+
except Exception as e:
|
|
4278
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4279
|
+
raise
|
|
4280
|
+
else:
|
|
4281
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4282
|
+
|
|
4283
|
+
|
|
4238
4284
|
def ModifyClusterVirtualNodePool(self, request):
|
|
4239
4285
|
"""修改超级节点池
|
|
4240
4286
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1130
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1129
|
|
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
|