tencentcloud-sdk-python-tke 3.0.1237__tar.gz → 3.0.1251__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.1237 → tencentcloud-sdk-python-tke-3.0.1251}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/setup.py +1 -1
  3. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/tke/v20180525/models.py +5 -111
  5. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/tke/v20180525/tke_client.py +0 -25
  6. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/tke/v20220501/models.py +1 -1
  7. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-tke-3.0.1251/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-tke-3.0.1237/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/README.rst +0 -0
  11. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/tke/__init__.py +0 -0
  13. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/tke/v20180525/__init__.py +0 -0
  14. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  15. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/tke/v20220501/__init__.py +0 -0
  16. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud/tke/v20220501/tke_client.py +0 -0
  18. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-tke-3.0.1237 → tencentcloud-sdk-python-tke-3.0.1251}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.1237
3
+ Version: 3.0.1251
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.1237"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1251"],
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.1237'
17
+ __version__ = '3.0.1251'
@@ -843,7 +843,7 @@ class AutoUpgradeClusterLevel(AbstractModel):
843
843
 
844
844
 
845
845
  class AutoscalingAdded(AbstractModel):
846
- """自动扩所容的节点
846
+ """自动扩缩容的节点
847
847
 
848
848
  """
849
849
 
@@ -16147,112 +16147,6 @@ class DescribeExistedInstancesResponse(AbstractModel):
16147
16147
  self._RequestId = params.get("RequestId")
16148
16148
 
16149
16149
 
16150
- class DescribeExternalClusterSpecRequest(AbstractModel):
16151
- """DescribeExternalClusterSpec请求参数结构体
16152
-
16153
- """
16154
-
16155
- def __init__(self):
16156
- r"""
16157
- :param _ClusterId: 注册集群ID
16158
- :type ClusterId: str
16159
- :param _IsExtranet: 默认false 获取内网,是否获取外网版注册命令
16160
- :type IsExtranet: bool
16161
- :param _IsRefreshExpirationTime: 默认false 不刷新有效时间 ,true刷新有效时间
16162
- :type IsRefreshExpirationTime: bool
16163
- """
16164
- self._ClusterId = None
16165
- self._IsExtranet = None
16166
- self._IsRefreshExpirationTime = None
16167
-
16168
- @property
16169
- def ClusterId(self):
16170
- return self._ClusterId
16171
-
16172
- @ClusterId.setter
16173
- def ClusterId(self, ClusterId):
16174
- self._ClusterId = ClusterId
16175
-
16176
- @property
16177
- def IsExtranet(self):
16178
- return self._IsExtranet
16179
-
16180
- @IsExtranet.setter
16181
- def IsExtranet(self, IsExtranet):
16182
- self._IsExtranet = IsExtranet
16183
-
16184
- @property
16185
- def IsRefreshExpirationTime(self):
16186
- return self._IsRefreshExpirationTime
16187
-
16188
- @IsRefreshExpirationTime.setter
16189
- def IsRefreshExpirationTime(self, IsRefreshExpirationTime):
16190
- self._IsRefreshExpirationTime = IsRefreshExpirationTime
16191
-
16192
-
16193
- def _deserialize(self, params):
16194
- self._ClusterId = params.get("ClusterId")
16195
- self._IsExtranet = params.get("IsExtranet")
16196
- self._IsRefreshExpirationTime = params.get("IsRefreshExpirationTime")
16197
- memeber_set = set(params.keys())
16198
- for name, value in vars(self).items():
16199
- property_name = name[1:]
16200
- if property_name in memeber_set:
16201
- memeber_set.remove(property_name)
16202
- if len(memeber_set) > 0:
16203
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16204
-
16205
-
16206
-
16207
- class DescribeExternalClusterSpecResponse(AbstractModel):
16208
- """DescribeExternalClusterSpec返回参数结构体
16209
-
16210
- """
16211
-
16212
- def __init__(self):
16213
- r"""
16214
- :param _Spec: 导入第三方集群YAML定义
16215
- :type Spec: str
16216
- :param _Expiration: agent.yaml文件过期时间字符串,时区UTC
16217
- :type Expiration: str
16218
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16219
- :type RequestId: str
16220
- """
16221
- self._Spec = None
16222
- self._Expiration = None
16223
- self._RequestId = None
16224
-
16225
- @property
16226
- def Spec(self):
16227
- return self._Spec
16228
-
16229
- @Spec.setter
16230
- def Spec(self, Spec):
16231
- self._Spec = Spec
16232
-
16233
- @property
16234
- def Expiration(self):
16235
- return self._Expiration
16236
-
16237
- @Expiration.setter
16238
- def Expiration(self, Expiration):
16239
- self._Expiration = Expiration
16240
-
16241
- @property
16242
- def RequestId(self):
16243
- return self._RequestId
16244
-
16245
- @RequestId.setter
16246
- def RequestId(self, RequestId):
16247
- self._RequestId = RequestId
16248
-
16249
-
16250
- def _deserialize(self, params):
16251
- self._Spec = params.get("Spec")
16252
- self._Expiration = params.get("Expiration")
16253
- self._RequestId = params.get("RequestId")
16254
-
16255
-
16256
16150
  class DescribeExternalNodeSupportConfigRequest(AbstractModel):
16257
16151
  """DescribeExternalNodeSupportConfig请求参数结构体
16258
16152
 
@@ -28087,13 +27981,13 @@ class LoginSettings(AbstractModel):
28087
27981
 
28088
27982
  def __init__(self):
28089
27983
  r"""
28090
- :param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
27984
+ :param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
28091
27985
  注意:此字段可能返回 null,表示取不到有效值。
28092
27986
  :type Password: str
28093
27987
  :param _KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
28094
27988
  注意:此字段可能返回 null,表示取不到有效值。
28095
27989
  :type KeyIds: list of str
28096
- :param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:<br><li>TRUE:表示保持镜像的登录设置<br><li>FALSE:表示不保持镜像的登录设置<br><br>默认取值:FALSE
27990
+ :param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false
28097
27991
  注意:此字段可能返回 null,表示取不到有效值。
28098
27992
  :type KeepImageLogin: str
28099
27993
  """
@@ -31118,7 +31012,7 @@ class OpenPolicyInfo(AbstractModel):
31118
31012
  :param _Name: 策略英文名称
31119
31013
  注意:此字段可能返回 null,表示取不到有效值。
31120
31014
  :type Name: str
31121
- :param _Kind: 策略模版类型
31015
+ :param _Kind: 策略模板类型
31122
31016
  注意:此字段可能返回 null,表示取不到有效值。
31123
31017
  :type Kind: str
31124
31018
  :param _EnabledStatus: 策略开关状态:open打开,close关闭
@@ -31260,7 +31154,7 @@ class OpenPolicySwitch(AbstractModel):
31260
31154
  :type EnforcementAction: str
31261
31155
  :param _Name: 策略英文名称
31262
31156
  :type Name: str
31263
- :param _Kind: 策略模版类型
31157
+ :param _Kind: 策略模板类型
31264
31158
  :type Kind: str
31265
31159
  :param _EnabledStatus: 策略开关状态:open打开,close关闭
31266
31160
  :type EnabledStatus: str
@@ -2694,31 +2694,6 @@ class TkeClient(AbstractClient):
2694
2694
  raise TencentCloudSDKException(type(e).__name__, str(e))
2695
2695
 
2696
2696
 
2697
- def DescribeExternalClusterSpec(self, request):
2698
- """tdcc接口已迁移至tdcc产品下,tke下的接口下线
2699
-
2700
- 获取导入第三方集群YAML定义
2701
-
2702
- :param request: Request instance for DescribeExternalClusterSpec.
2703
- :type request: :class:`tencentcloud.tke.v20180525.models.DescribeExternalClusterSpecRequest`
2704
- :rtype: :class:`tencentcloud.tke.v20180525.models.DescribeExternalClusterSpecResponse`
2705
-
2706
- """
2707
- try:
2708
- params = request._serialize()
2709
- headers = request.headers
2710
- body = self.call("DescribeExternalClusterSpec", params, headers=headers)
2711
- response = json.loads(body)
2712
- model = models.DescribeExternalClusterSpecResponse()
2713
- model._deserialize(response["Response"])
2714
- return model
2715
- except Exception as e:
2716
- if isinstance(e, TencentCloudSDKException):
2717
- raise
2718
- else:
2719
- raise TencentCloudSDKException(type(e).__name__, str(e))
2720
-
2721
-
2722
2697
  def DescribeExternalNodeSupportConfig(self, request):
2723
2698
  """查看开启第三方节点池配置信息
2724
2699
 
@@ -124,7 +124,7 @@ class AutoUpgradeOptions(AbstractModel):
124
124
 
125
125
 
126
126
  class AutoscalingAdded(AbstractModel):
127
- """自动扩所容的节点
127
+ """自动扩缩容的节点
128
128
 
129
129
  """
130
130
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.1237
3
+ Version: 3.0.1251
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.1251
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1237