tencentcloud-sdk-python-tke 3.0.1382__tar.gz → 3.0.1383__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.1382 → tencentcloud-sdk-python-tke-3.0.1383}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/setup.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/tke/v20180525/errorcodes.py +3 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/tke/v20180525/models.py +15 -184
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/tke/v20180525/tke_client.py +0 -23
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tke-3.0.1383/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tke-3.0.1382/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/README.rst +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1382 → tencentcloud-sdk-python-tke-3.0.1383}/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.1383"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tke SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -584,6 +584,9 @@ RESOURCENOTFOUND_KUBERESOURCENOTFOUND = 'ResourceNotFound.KubeResourceNotFound'
|
|
|
584
584
|
# 未找到该kubernetes资源。
|
|
585
585
|
RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = 'ResourceNotFound.KubernetesResourceNotFound'
|
|
586
586
|
|
|
587
|
+
# CLS日志主题不存在。
|
|
588
|
+
RESOURCENOTFOUND_LOGCOLLECTORCLSLOGTOPICNOTEXISTS = 'ResourceNotFound.LogCollectorClsLogTopicNotExists'
|
|
589
|
+
|
|
587
590
|
# 资源未找到。
|
|
588
591
|
RESOURCENOTFOUND_NOTFOUND = 'ResourceNotFound.NotFound'
|
|
589
592
|
|
|
@@ -29033,175 +29033,6 @@ class Filter(AbstractModel):
|
|
|
29033
29033
|
|
|
29034
29034
|
|
|
29035
29035
|
|
|
29036
|
-
class ForwardApplicationRequestV3Request(AbstractModel):
|
|
29037
|
-
"""ForwardApplicationRequestV3请求参数结构体
|
|
29038
|
-
|
|
29039
|
-
"""
|
|
29040
|
-
|
|
29041
|
-
def __init__(self):
|
|
29042
|
-
r"""
|
|
29043
|
-
:param _Method: 请求集群addon的访问
|
|
29044
|
-
:type Method: str
|
|
29045
|
-
:param _Path: 请求集群addon的路径
|
|
29046
|
-
:type Path: str
|
|
29047
|
-
:param _Accept: 请求集群addon后允许接收的数据格式
|
|
29048
|
-
:type Accept: str
|
|
29049
|
-
:param _ContentType: 请求集群addon的数据格式
|
|
29050
|
-
:type ContentType: str
|
|
29051
|
-
:param _RequestBody: 请求集群addon的数据
|
|
29052
|
-
:type RequestBody: str
|
|
29053
|
-
:param _ClusterName: 集群名称
|
|
29054
|
-
:type ClusterName: str
|
|
29055
|
-
:param _EncodedBody: 是否编码请求内容
|
|
29056
|
-
:type EncodedBody: str
|
|
29057
|
-
"""
|
|
29058
|
-
self._Method = None
|
|
29059
|
-
self._Path = None
|
|
29060
|
-
self._Accept = None
|
|
29061
|
-
self._ContentType = None
|
|
29062
|
-
self._RequestBody = None
|
|
29063
|
-
self._ClusterName = None
|
|
29064
|
-
self._EncodedBody = None
|
|
29065
|
-
|
|
29066
|
-
@property
|
|
29067
|
-
def Method(self):
|
|
29068
|
-
"""请求集群addon的访问
|
|
29069
|
-
:rtype: str
|
|
29070
|
-
"""
|
|
29071
|
-
return self._Method
|
|
29072
|
-
|
|
29073
|
-
@Method.setter
|
|
29074
|
-
def Method(self, Method):
|
|
29075
|
-
self._Method = Method
|
|
29076
|
-
|
|
29077
|
-
@property
|
|
29078
|
-
def Path(self):
|
|
29079
|
-
"""请求集群addon的路径
|
|
29080
|
-
:rtype: str
|
|
29081
|
-
"""
|
|
29082
|
-
return self._Path
|
|
29083
|
-
|
|
29084
|
-
@Path.setter
|
|
29085
|
-
def Path(self, Path):
|
|
29086
|
-
self._Path = Path
|
|
29087
|
-
|
|
29088
|
-
@property
|
|
29089
|
-
def Accept(self):
|
|
29090
|
-
"""请求集群addon后允许接收的数据格式
|
|
29091
|
-
:rtype: str
|
|
29092
|
-
"""
|
|
29093
|
-
return self._Accept
|
|
29094
|
-
|
|
29095
|
-
@Accept.setter
|
|
29096
|
-
def Accept(self, Accept):
|
|
29097
|
-
self._Accept = Accept
|
|
29098
|
-
|
|
29099
|
-
@property
|
|
29100
|
-
def ContentType(self):
|
|
29101
|
-
"""请求集群addon的数据格式
|
|
29102
|
-
:rtype: str
|
|
29103
|
-
"""
|
|
29104
|
-
return self._ContentType
|
|
29105
|
-
|
|
29106
|
-
@ContentType.setter
|
|
29107
|
-
def ContentType(self, ContentType):
|
|
29108
|
-
self._ContentType = ContentType
|
|
29109
|
-
|
|
29110
|
-
@property
|
|
29111
|
-
def RequestBody(self):
|
|
29112
|
-
"""请求集群addon的数据
|
|
29113
|
-
:rtype: str
|
|
29114
|
-
"""
|
|
29115
|
-
return self._RequestBody
|
|
29116
|
-
|
|
29117
|
-
@RequestBody.setter
|
|
29118
|
-
def RequestBody(self, RequestBody):
|
|
29119
|
-
self._RequestBody = RequestBody
|
|
29120
|
-
|
|
29121
|
-
@property
|
|
29122
|
-
def ClusterName(self):
|
|
29123
|
-
"""集群名称
|
|
29124
|
-
:rtype: str
|
|
29125
|
-
"""
|
|
29126
|
-
return self._ClusterName
|
|
29127
|
-
|
|
29128
|
-
@ClusterName.setter
|
|
29129
|
-
def ClusterName(self, ClusterName):
|
|
29130
|
-
self._ClusterName = ClusterName
|
|
29131
|
-
|
|
29132
|
-
@property
|
|
29133
|
-
def EncodedBody(self):
|
|
29134
|
-
"""是否编码请求内容
|
|
29135
|
-
:rtype: str
|
|
29136
|
-
"""
|
|
29137
|
-
return self._EncodedBody
|
|
29138
|
-
|
|
29139
|
-
@EncodedBody.setter
|
|
29140
|
-
def EncodedBody(self, EncodedBody):
|
|
29141
|
-
self._EncodedBody = EncodedBody
|
|
29142
|
-
|
|
29143
|
-
|
|
29144
|
-
def _deserialize(self, params):
|
|
29145
|
-
self._Method = params.get("Method")
|
|
29146
|
-
self._Path = params.get("Path")
|
|
29147
|
-
self._Accept = params.get("Accept")
|
|
29148
|
-
self._ContentType = params.get("ContentType")
|
|
29149
|
-
self._RequestBody = params.get("RequestBody")
|
|
29150
|
-
self._ClusterName = params.get("ClusterName")
|
|
29151
|
-
self._EncodedBody = params.get("EncodedBody")
|
|
29152
|
-
memeber_set = set(params.keys())
|
|
29153
|
-
for name, value in vars(self).items():
|
|
29154
|
-
property_name = name[1:]
|
|
29155
|
-
if property_name in memeber_set:
|
|
29156
|
-
memeber_set.remove(property_name)
|
|
29157
|
-
if len(memeber_set) > 0:
|
|
29158
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
29159
|
-
|
|
29160
|
-
|
|
29161
|
-
|
|
29162
|
-
class ForwardApplicationRequestV3Response(AbstractModel):
|
|
29163
|
-
"""ForwardApplicationRequestV3返回参数结构体
|
|
29164
|
-
|
|
29165
|
-
"""
|
|
29166
|
-
|
|
29167
|
-
def __init__(self):
|
|
29168
|
-
r"""
|
|
29169
|
-
:param _ResponseBody: 请求集群addon后返回的数据
|
|
29170
|
-
:type ResponseBody: str
|
|
29171
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
29172
|
-
:type RequestId: str
|
|
29173
|
-
"""
|
|
29174
|
-
self._ResponseBody = None
|
|
29175
|
-
self._RequestId = None
|
|
29176
|
-
|
|
29177
|
-
@property
|
|
29178
|
-
def ResponseBody(self):
|
|
29179
|
-
"""请求集群addon后返回的数据
|
|
29180
|
-
:rtype: str
|
|
29181
|
-
"""
|
|
29182
|
-
return self._ResponseBody
|
|
29183
|
-
|
|
29184
|
-
@ResponseBody.setter
|
|
29185
|
-
def ResponseBody(self, ResponseBody):
|
|
29186
|
-
self._ResponseBody = ResponseBody
|
|
29187
|
-
|
|
29188
|
-
@property
|
|
29189
|
-
def RequestId(self):
|
|
29190
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
29191
|
-
:rtype: str
|
|
29192
|
-
"""
|
|
29193
|
-
return self._RequestId
|
|
29194
|
-
|
|
29195
|
-
@RequestId.setter
|
|
29196
|
-
def RequestId(self, RequestId):
|
|
29197
|
-
self._RequestId = RequestId
|
|
29198
|
-
|
|
29199
|
-
|
|
29200
|
-
def _deserialize(self, params):
|
|
29201
|
-
self._ResponseBody = params.get("ResponseBody")
|
|
29202
|
-
self._RequestId = params.get("RequestId")
|
|
29203
|
-
|
|
29204
|
-
|
|
29205
29036
|
class ForwardTKEEdgeApplicationRequestV3Request(AbstractModel):
|
|
29206
29037
|
"""ForwardTKEEdgeApplicationRequestV3请求参数结构体
|
|
29207
29038
|
|
|
@@ -36743,28 +36574,17 @@ class OpenConstraintInfo(AbstractModel):
|
|
|
36743
36574
|
|
|
36744
36575
|
def __init__(self):
|
|
36745
36576
|
r"""
|
|
36746
|
-
:param _Name: 策略实例名称
|
|
36747
|
-
:type Name: str
|
|
36748
36577
|
:param _EventNums: 策略实例关联事件数
|
|
36749
36578
|
:type EventNums: int
|
|
36579
|
+
:param _Name: 策略实例名称
|
|
36580
|
+
:type Name: str
|
|
36750
36581
|
:param _YamlDetail: 实例yaml详情base64编码
|
|
36751
36582
|
:type YamlDetail: str
|
|
36752
36583
|
"""
|
|
36753
|
-
self._Name = None
|
|
36754
36584
|
self._EventNums = None
|
|
36585
|
+
self._Name = None
|
|
36755
36586
|
self._YamlDetail = None
|
|
36756
36587
|
|
|
36757
|
-
@property
|
|
36758
|
-
def Name(self):
|
|
36759
|
-
"""策略实例名称
|
|
36760
|
-
:rtype: str
|
|
36761
|
-
"""
|
|
36762
|
-
return self._Name
|
|
36763
|
-
|
|
36764
|
-
@Name.setter
|
|
36765
|
-
def Name(self, Name):
|
|
36766
|
-
self._Name = Name
|
|
36767
|
-
|
|
36768
36588
|
@property
|
|
36769
36589
|
def EventNums(self):
|
|
36770
36590
|
"""策略实例关联事件数
|
|
@@ -36776,6 +36596,17 @@ class OpenConstraintInfo(AbstractModel):
|
|
|
36776
36596
|
def EventNums(self, EventNums):
|
|
36777
36597
|
self._EventNums = EventNums
|
|
36778
36598
|
|
|
36599
|
+
@property
|
|
36600
|
+
def Name(self):
|
|
36601
|
+
"""策略实例名称
|
|
36602
|
+
:rtype: str
|
|
36603
|
+
"""
|
|
36604
|
+
return self._Name
|
|
36605
|
+
|
|
36606
|
+
@Name.setter
|
|
36607
|
+
def Name(self, Name):
|
|
36608
|
+
self._Name = Name
|
|
36609
|
+
|
|
36779
36610
|
@property
|
|
36780
36611
|
def YamlDetail(self):
|
|
36781
36612
|
"""实例yaml详情base64编码
|
|
@@ -36789,8 +36620,8 @@ class OpenConstraintInfo(AbstractModel):
|
|
|
36789
36620
|
|
|
36790
36621
|
|
|
36791
36622
|
def _deserialize(self, params):
|
|
36792
|
-
self._Name = params.get("Name")
|
|
36793
36623
|
self._EventNums = params.get("EventNums")
|
|
36624
|
+
self._Name = params.get("Name")
|
|
36794
36625
|
self._YamlDetail = params.get("YamlDetail")
|
|
36795
36626
|
memeber_set = set(params.keys())
|
|
36796
36627
|
for name, value in vars(self).items():
|
|
@@ -4005,29 +4005,6 @@ class TkeClient(AbstractClient):
|
|
|
4005
4005
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4006
4006
|
|
|
4007
4007
|
|
|
4008
|
-
def ForwardApplicationRequestV3(self, request):
|
|
4009
|
-
"""操作TKE集群的addon
|
|
4010
|
-
|
|
4011
|
-
:param request: Request instance for ForwardApplicationRequestV3.
|
|
4012
|
-
:type request: :class:`tencentcloud.tke.v20180525.models.ForwardApplicationRequestV3Request`
|
|
4013
|
-
:rtype: :class:`tencentcloud.tke.v20180525.models.ForwardApplicationRequestV3Response`
|
|
4014
|
-
|
|
4015
|
-
"""
|
|
4016
|
-
try:
|
|
4017
|
-
params = request._serialize()
|
|
4018
|
-
headers = request.headers
|
|
4019
|
-
body = self.call("ForwardApplicationRequestV3", params, headers=headers)
|
|
4020
|
-
response = json.loads(body)
|
|
4021
|
-
model = models.ForwardApplicationRequestV3Response()
|
|
4022
|
-
model._deserialize(response["Response"])
|
|
4023
|
-
return model
|
|
4024
|
-
except Exception as e:
|
|
4025
|
-
if isinstance(e, TencentCloudSDKException):
|
|
4026
|
-
raise
|
|
4027
|
-
else:
|
|
4028
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
4008
|
def ForwardTKEEdgeApplicationRequestV3(self, request):
|
|
4032
4009
|
"""操作TKEEdge集群的addon
|
|
4033
4010
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1383
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1382
|
|
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
|