tencentcloud-sdk-python-tke 3.0.1281__tar.gz → 3.0.1298__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.1281 → tencentcloud-sdk-python-tke-3.0.1298}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/setup.py +1 -1
  3. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/tke/v20180525/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/tke/v20180525/models.py +86 -20
  6. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-tke-3.0.1298/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-tke-3.0.1281/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/README.rst +0 -0
  10. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/tke/__init__.py +0 -0
  12. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/tke/v20180525/__init__.py +0 -0
  13. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/tke/v20180525/tke_client.py +0 -0
  14. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/tke/v20220501/__init__.py +0 -0
  15. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  16. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/tke/v20220501/models.py +0 -0
  17. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud/tke/v20220501/tke_client.py +0 -0
  18. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-tke-3.0.1281 → tencentcloud-sdk-python-tke-3.0.1298}/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.1281
3
+ Version: 3.0.1298
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.1281"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1298"],
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.1281'
17
+ __version__ = '3.0.1298'
@@ -536,6 +536,9 @@ INVALIDPARAMETER_SUBNETNOTEXIST = 'InvalidParameter.SubnetNotExist'
536
536
  # 客户创建参数中,k8s 版本、运行时版本或 tke-eni-agent 版本不支持客户选择的操作系统中的CgroupV2。
537
537
  INVALIDPARAMETER_VERSIONNOTSUPPORTCGROUPV2 = 'InvalidParameter.VersionNotSupportCgroupV2'
538
538
 
539
+ # 参数值中数量错误。
540
+ INVALIDPARAMETERVALUE_SIZE = 'InvalidParameterValue.Size'
541
+
539
542
  # 超过配额限制。
540
543
  LIMITEXCEEDED = 'LimitExceeded'
541
544
 
@@ -694,12 +694,15 @@ class Addon(AbstractModel):
694
694
  :param _Reason: addon失败的原因
695
695
  注意:此字段可能返回 null,表示取不到有效值。
696
696
  :type Reason: str
697
+ :param _CreateTime: addon的创建时间
698
+ :type CreateTime: str
697
699
  """
698
700
  self._AddonName = None
699
701
  self._AddonVersion = None
700
702
  self._RawValues = None
701
703
  self._Phase = None
702
704
  self._Reason = None
705
+ self._CreateTime = None
703
706
 
704
707
  @property
705
708
  def AddonName(self):
@@ -759,6 +762,17 @@ class Addon(AbstractModel):
759
762
  def Reason(self, Reason):
760
763
  self._Reason = Reason
761
764
 
765
+ @property
766
+ def CreateTime(self):
767
+ """addon的创建时间
768
+ :rtype: str
769
+ """
770
+ return self._CreateTime
771
+
772
+ @CreateTime.setter
773
+ def CreateTime(self, CreateTime):
774
+ self._CreateTime = CreateTime
775
+
762
776
 
763
777
  def _deserialize(self, params):
764
778
  self._AddonName = params.get("AddonName")
@@ -766,6 +780,7 @@ class Addon(AbstractModel):
766
780
  self._RawValues = params.get("RawValues")
767
781
  self._Phase = params.get("Phase")
768
782
  self._Reason = params.get("Reason")
783
+ self._CreateTime = params.get("CreateTime")
769
784
  memeber_set = set(params.keys())
770
785
  for name, value in vars(self).items():
771
786
  property_name = name[1:]
@@ -3074,7 +3089,7 @@ class ClusterBasicSettings(AbstractModel):
3074
3089
  :type ClusterName: str
3075
3090
  :param _ClusterDescription: 集群描述
3076
3091
  :type ClusterDescription: str
3077
- :param _VpcId: 私有网络ID,形如vpc-xxx。创建托管空集群时必传。
3092
+ :param _VpcId: 私有网络ID,形如vpc-e55paxnt。创建托管空集群时必传。
3078
3093
  :type VpcId: str
3079
3094
  :param _ProjectId: 集群内新增资源所属项目ID。
3080
3095
  :type ProjectId: int
@@ -3150,7 +3165,7 @@ class ClusterBasicSettings(AbstractModel):
3150
3165
 
3151
3166
  @property
3152
3167
  def VpcId(self):
3153
- """私有网络ID,形如vpc-xxx。创建托管空集群时必传。
3168
+ """私有网络ID,形如vpc-e55paxnt。创建托管空集群时必传。
3154
3169
  :rtype: str
3155
3170
  """
3156
3171
  return self._VpcId
@@ -13074,9 +13089,9 @@ class DescribeAddonValuesResponse(AbstractModel):
13074
13089
 
13075
13090
  def __init__(self):
13076
13091
  r"""
13077
- :param _Values: 参数列表,如果addon已安装,会使用已设置的参数做渲染,是一个json格式的字符串
13092
+ :param _Values: 参数列表,如果addon已安装,会使用已设置的参数和chart里的默认参数做渲染,是一个json格式的字符串,未安装addon时返回为空值。
13078
13093
  :type Values: str
13079
- :param _DefaultValues: addon支持的参数列表,使用默认值,是一个json格式的字符串
13094
+ :param _DefaultValues: addon支持的参数列表,值为chart的默认值,是一个json格式的字符串。
13080
13095
  :type DefaultValues: str
13081
13096
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13082
13097
  :type RequestId: str
@@ -13087,7 +13102,7 @@ class DescribeAddonValuesResponse(AbstractModel):
13087
13102
 
13088
13103
  @property
13089
13104
  def Values(self):
13090
- """参数列表,如果addon已安装,会使用已设置的参数做渲染,是一个json格式的字符串
13105
+ """参数列表,如果addon已安装,会使用已设置的参数和chart里的默认参数做渲染,是一个json格式的字符串,未安装addon时返回为空值。
13091
13106
  :rtype: str
13092
13107
  """
13093
13108
  return self._Values
@@ -13098,7 +13113,7 @@ class DescribeAddonValuesResponse(AbstractModel):
13098
13113
 
13099
13114
  @property
13100
13115
  def DefaultValues(self):
13101
- """addon支持的参数列表,使用默认值,是一个json格式的字符串
13116
+ """addon支持的参数列表,值为chart的默认值,是一个json格式的字符串。
13102
13117
  :rtype: str
13103
13118
  """
13104
13119
  return self._DefaultValues
@@ -15430,7 +15445,7 @@ class DescribeClusterNodePoolsRequest(AbstractModel):
15430
15445
  类型:String
15431
15446
  必选:否
15432
15447
 
15433
- · "Name":"Tags","Values": ["abc:1"]
15448
+ · "Name":"Tags","Values": ["product:tke"]
15434
15449
  按照【标签键值对】进行过滤。
15435
15450
  类型:String
15436
15451
  必选:否
@@ -15462,7 +15477,7 @@ class DescribeClusterNodePoolsRequest(AbstractModel):
15462
15477
  类型:String
15463
15478
  必选:否
15464
15479
 
15465
- · "Name":"Tags","Values": ["abc:1"]
15480
+ · "Name":"Tags","Values": ["product:tke"]
15466
15481
  按照【标签键值对】进行过滤。
15467
15482
  类型:String
15468
15483
  必选:否
@@ -16985,7 +17000,7 @@ class DescribeClustersRequest(AbstractModel):
16985
17000
  :type Offset: int
16986
17001
  :param _Limit: 最大输出条数,默认20,最大为100
16987
17002
  :type Limit: int
16988
- :param _Filters: · "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-123qajzs"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["abc:1"] 按照【标签键值对】进行过滤。 类型:String 必选:否
17003
+ :param _Filters: · "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-2wds9k9p"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["product:tke"] 按照【标签键值对】进行过滤。 类型:String 必选:否
16989
17004
  :type Filters: list of Filter
16990
17005
  :param _ClusterType: 集群类型,例如:MANAGED_CLUSTER
16991
17006
  :type ClusterType: str
@@ -17032,7 +17047,7 @@ class DescribeClustersRequest(AbstractModel):
17032
17047
 
17033
17048
  @property
17034
17049
  def Filters(self):
17035
- """· "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-123qajzs"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["abc:1"] 按照【标签键值对】进行过滤。 类型:String 必选:否
17050
+ """· "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-2wds9k9p"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["product:tke"] 按照【标签键值对】进行过滤。 类型:String 必选:否
17036
17051
  :rtype: list of Filter
17037
17052
  """
17038
17053
  return self._Filters
@@ -27654,7 +27669,7 @@ class EksCluster(AbstractModel):
27654
27669
  :type SubnetIds: list of str
27655
27670
  :param _K8SVersion: k8s 版本号
27656
27671
  :type K8SVersion: str
27657
- :param _Status: 集群状态(running运行中,initializing 初始化中,failed异常)
27672
+ :param _Status: 集群状态(running 运行中,initializing 初始化中,Failed 异常,Idling 空闲中,Activating 激活中,Terminating 删除中)
27658
27673
  :type Status: str
27659
27674
  :param _ClusterDesc: 集群描述信息
27660
27675
  :type ClusterDesc: str
@@ -27743,7 +27758,7 @@ class EksCluster(AbstractModel):
27743
27758
 
27744
27759
  @property
27745
27760
  def Status(self):
27746
- """集群状态(running运行中,initializing 初始化中,failed异常)
27761
+ """集群状态(running 运行中,initializing 初始化中,Failed 异常,Idling 空闲中,Activating 激活中,Terminating 删除中)
27747
27762
  :rtype: str
27748
27763
  """
27749
27764
  return self._Status
@@ -28670,7 +28685,7 @@ class ExistedInstance(AbstractModel):
28670
28685
  :param _AlreadyInCluster: 实例已经所在的集群ID。
28671
28686
  注意:此字段可能返回 null,表示取不到有效值。
28672
28687
  :type AlreadyInCluster: str
28673
- :param _InstanceId: 实例ID形如:ins-xxxxxxxx。
28688
+ :param _InstanceId: 实例ID形如:ins-e55paxnt。
28674
28689
  :type InstanceId: str
28675
28690
  :param _InstanceName: 实例名称。
28676
28691
  注意:此字段可能返回 null,表示取不到有效值。
@@ -28762,7 +28777,7 @@ class ExistedInstance(AbstractModel):
28762
28777
 
28763
28778
  @property
28764
28779
  def InstanceId(self):
28765
- """实例ID形如:ins-xxxxxxxx。
28780
+ """实例ID形如:ins-e55paxnt。
28766
28781
  :rtype: str
28767
28782
  """
28768
28783
  return self._InstanceId
@@ -30866,7 +30881,7 @@ class InstallAddonRequest(AbstractModel):
30866
30881
 
30867
30882
  def __init__(self):
30868
30883
  r"""
30869
- :param _ClusterId: 集群ID
30884
+ :param _ClusterId: 集群ID(仅支持标准tke集群)
30870
30885
  :type ClusterId: str
30871
30886
  :param _AddonName: addon名称
30872
30887
  :type AddonName: str
@@ -30882,7 +30897,7 @@ class InstallAddonRequest(AbstractModel):
30882
30897
 
30883
30898
  @property
30884
30899
  def ClusterId(self):
30885
- """集群ID
30900
+ """集群ID(仅支持标准tke集群)
30886
30901
  :rtype: str
30887
30902
  """
30888
30903
  return self._ClusterId
@@ -34163,7 +34178,7 @@ class ModifyClusterImageRequest(AbstractModel):
34163
34178
  r"""
34164
34179
  :param _ClusterId: 集群ID
34165
34180
  :type ClusterId: str
34166
- :param _ImageId: 指定有效的镜像ID,格式形如img-xxxx。可通过登录控制台查询,也可调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。
34181
+ :param _ImageId: 指定有效的镜像ID,格式形如img-e55paxnt。可通过登录控制台查询,也可调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。
34167
34182
  :type ImageId: str
34168
34183
  """
34169
34184
  self._ClusterId = None
@@ -34182,7 +34197,7 @@ class ModifyClusterImageRequest(AbstractModel):
34182
34197
 
34183
34198
  @property
34184
34199
  def ImageId(self):
34185
- """指定有效的镜像ID,格式形如img-xxxx。可通过登录控制台查询,也可调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。
34200
+ """指定有效的镜像ID,格式形如img-e55paxnt。可通过登录控制台查询,也可调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。
34186
34201
  :rtype: str
34187
34202
  """
34188
34203
  return self._ImageId
@@ -39179,7 +39194,7 @@ class PrometheusClusterAgentBasic(AbstractModel):
39179
39194
 
39180
39195
  def __init__(self):
39181
39196
  r"""
39182
- :param _Region: 集群ID
39197
+ :param _Region: 地域
39183
39198
  :type Region: str
39184
39199
  :param _ClusterType: 集群类型
39185
39200
  :type ClusterType: str
@@ -39207,7 +39222,7 @@ class PrometheusClusterAgentBasic(AbstractModel):
39207
39222
 
39208
39223
  @property
39209
39224
  def Region(self):
39210
- """集群ID
39225
+ """地域
39211
39226
  :rtype: str
39212
39227
  """
39213
39228
  return self._Region
@@ -42424,6 +42439,15 @@ class ReleaseDetails(AbstractModel):
42424
42439
  :param _ComputedValues: 应用参数
42425
42440
  注意:此字段可能返回 null,表示取不到有效值。
42426
42441
  :type ComputedValues: str
42442
+ :param _ChartFrom: chart 的来源, tke-market, others
42443
+ 注意:此字段可能返回 null,表示取不到有效值。
42444
+ :type ChartFrom: str
42445
+ :param _ChartURL: 第三方chart 的安装地址
42446
+ 注意:此字段可能返回 null,表示取不到有效值。
42447
+ :type ChartURL: str
42448
+ :param _Resources: 通过chart 创建的资源
42449
+ 注意:此字段可能返回 null,表示取不到有效值。
42450
+ :type Resources: str
42427
42451
  """
42428
42452
  self._Name = None
42429
42453
  self._Namespace = None
@@ -42440,6 +42464,9 @@ class ReleaseDetails(AbstractModel):
42440
42464
  self._FirstDeployedTime = None
42441
42465
  self._LastDeployedTime = None
42442
42466
  self._ComputedValues = None
42467
+ self._ChartFrom = None
42468
+ self._ChartURL = None
42469
+ self._Resources = None
42443
42470
 
42444
42471
  @property
42445
42472
  def Name(self):
@@ -42619,6 +42646,42 @@ class ReleaseDetails(AbstractModel):
42619
42646
  def ComputedValues(self, ComputedValues):
42620
42647
  self._ComputedValues = ComputedValues
42621
42648
 
42649
+ @property
42650
+ def ChartFrom(self):
42651
+ """chart 的来源, tke-market, others
42652
+ 注意:此字段可能返回 null,表示取不到有效值。
42653
+ :rtype: str
42654
+ """
42655
+ return self._ChartFrom
42656
+
42657
+ @ChartFrom.setter
42658
+ def ChartFrom(self, ChartFrom):
42659
+ self._ChartFrom = ChartFrom
42660
+
42661
+ @property
42662
+ def ChartURL(self):
42663
+ """第三方chart 的安装地址
42664
+ 注意:此字段可能返回 null,表示取不到有效值。
42665
+ :rtype: str
42666
+ """
42667
+ return self._ChartURL
42668
+
42669
+ @ChartURL.setter
42670
+ def ChartURL(self, ChartURL):
42671
+ self._ChartURL = ChartURL
42672
+
42673
+ @property
42674
+ def Resources(self):
42675
+ """通过chart 创建的资源
42676
+ 注意:此字段可能返回 null,表示取不到有效值。
42677
+ :rtype: str
42678
+ """
42679
+ return self._Resources
42680
+
42681
+ @Resources.setter
42682
+ def Resources(self, Resources):
42683
+ self._Resources = Resources
42684
+
42622
42685
 
42623
42686
  def _deserialize(self, params):
42624
42687
  self._Name = params.get("Name")
@@ -42636,6 +42699,9 @@ class ReleaseDetails(AbstractModel):
42636
42699
  self._FirstDeployedTime = params.get("FirstDeployedTime")
42637
42700
  self._LastDeployedTime = params.get("LastDeployedTime")
42638
42701
  self._ComputedValues = params.get("ComputedValues")
42702
+ self._ChartFrom = params.get("ChartFrom")
42703
+ self._ChartURL = params.get("ChartURL")
42704
+ self._Resources = params.get("Resources")
42639
42705
  memeber_set = set(params.keys())
42640
42706
  for name, value in vars(self).items():
42641
42707
  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.1281
3
+ Version: 3.0.1298
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.1298
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1281