tencentcloud-sdk-python-tke 3.0.1459__tar.gz → 3.0.1477__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.1459 → tencentcloud-sdk-python-tke-3.0.1477}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/setup.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/tke/v20180525/errorcodes.py +3 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/tke/v20180525/models.py +81 -34
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tke-3.0.1477/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tke-3.0.1459/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/README.rst +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1459 → tencentcloud-sdk-python-tke-3.0.1477}/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.1477,<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(),
|
|
@@ -200,6 +200,9 @@ FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = 'FailedOperation.NodeExist
|
|
|
200
200
|
# 节点池查询失败
|
|
201
201
|
FAILEDOPERATION_NODEPOOLQUERYFAILED = 'FailedOperation.NodePoolQueryFailed'
|
|
202
202
|
|
|
203
|
+
# 您提交的操作被拒绝,请检查您的操作是否正确
|
|
204
|
+
FAILEDOPERATION_OPERATIONFORBIDDEN = 'FailedOperation.OperationForbidden'
|
|
205
|
+
|
|
203
206
|
# 镜像OS不支持。
|
|
204
207
|
FAILEDOPERATION_OSNOTSUPPORT = 'FailedOperation.OsNotSupport'
|
|
205
208
|
|
|
@@ -687,7 +687,13 @@ class Addon(AbstractModel):
|
|
|
687
687
|
:type AddonVersion: str
|
|
688
688
|
:param _RawValues: addon的参数,是一个json格式的base64转码后的字符串
|
|
689
689
|
:type RawValues: str
|
|
690
|
-
:param _Phase: addon
|
|
690
|
+
:param _Phase: addon的状态:
|
|
691
|
+
- Installing:安装中
|
|
692
|
+
- Upgrading:升级中
|
|
693
|
+
- Terminating:删除中
|
|
694
|
+
- Succeeded:安装/升级成功
|
|
695
|
+
- InstallFailed:安装失败
|
|
696
|
+
- UpgradFailed:升级失败
|
|
691
697
|
:type Phase: str
|
|
692
698
|
:param _Reason: addon失败的原因
|
|
693
699
|
:type Reason: str
|
|
@@ -736,7 +742,13 @@ class Addon(AbstractModel):
|
|
|
736
742
|
|
|
737
743
|
@property
|
|
738
744
|
def Phase(self):
|
|
739
|
-
r"""addon
|
|
745
|
+
r"""addon的状态:
|
|
746
|
+
- Installing:安装中
|
|
747
|
+
- Upgrading:升级中
|
|
748
|
+
- Terminating:删除中
|
|
749
|
+
- Succeeded:安装/升级成功
|
|
750
|
+
- InstallFailed:安装失败
|
|
751
|
+
- UpgradFailed:升级失败
|
|
740
752
|
:rtype: str
|
|
741
753
|
"""
|
|
742
754
|
return self._Phase
|
|
@@ -1088,6 +1100,8 @@ class BackupStorageLocation(AbstractModel):
|
|
|
1088
1100
|
:param _Path: 对象存储桶路径
|
|
1089
1101
|
:type Path: str
|
|
1090
1102
|
:param _State: 存储仓库状态
|
|
1103
|
+
- Available: 可用
|
|
1104
|
+
- Unavailable: 不可用
|
|
1091
1105
|
:type State: str
|
|
1092
1106
|
:param _Message: 详细状态信息
|
|
1093
1107
|
:type Message: str
|
|
@@ -1161,6 +1175,8 @@ class BackupStorageLocation(AbstractModel):
|
|
|
1161
1175
|
@property
|
|
1162
1176
|
def State(self):
|
|
1163
1177
|
r"""存储仓库状态
|
|
1178
|
+
- Available: 可用
|
|
1179
|
+
- Unavailable: 不可用
|
|
1164
1180
|
:rtype: str
|
|
1165
1181
|
"""
|
|
1166
1182
|
return self._State
|
|
@@ -2324,7 +2340,10 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
|
|
|
2324
2340
|
1. 集群版本必须为1.14及以上;
|
|
2325
2341
|
2. 系统镜像必须是: Tencent Linux 2.4;
|
|
2326
2342
|
:type KubeProxyMode: str
|
|
2327
|
-
:param _NetworkType:
|
|
2343
|
+
:param _NetworkType: 集群网络类型,默认为GR。
|
|
2344
|
+
- GR: 全局路由
|
|
2345
|
+
- VPC-CNI: VPC-CNI模式
|
|
2346
|
+
- CiliumOverlay: CiliumOverlay模式
|
|
2328
2347
|
:type NetworkType: str
|
|
2329
2348
|
:param _NodeNameType: 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
|
|
2330
2349
|
:type NodeNameType: str
|
|
@@ -2541,7 +2560,10 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
|
|
|
2541
2560
|
|
|
2542
2561
|
@property
|
|
2543
2562
|
def NetworkType(self):
|
|
2544
|
-
r"""
|
|
2563
|
+
r"""集群网络类型,默认为GR。
|
|
2564
|
+
- GR: 全局路由
|
|
2565
|
+
- VPC-CNI: VPC-CNI模式
|
|
2566
|
+
- CiliumOverlay: CiliumOverlay模式
|
|
2545
2567
|
:rtype: str
|
|
2546
2568
|
"""
|
|
2547
2569
|
return self._NetworkType
|
|
@@ -9660,12 +9682,16 @@ class CreateReservedInstancesRequest(AbstractModel):
|
|
|
9660
9682
|
:type InstanceName: str
|
|
9661
9683
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
9662
9684
|
:type ClientToken: str
|
|
9685
|
+
:param _DryRun: 是否只预检此次请求。
|
|
9686
|
+
true:只预检,不会创建实例。默认值为:false。
|
|
9687
|
+
:type DryRun: bool
|
|
9663
9688
|
"""
|
|
9664
9689
|
self._ReservedInstanceSpec = None
|
|
9665
9690
|
self._InstanceCount = None
|
|
9666
9691
|
self._InstanceChargePrepaid = None
|
|
9667
9692
|
self._InstanceName = None
|
|
9668
9693
|
self._ClientToken = None
|
|
9694
|
+
self._DryRun = None
|
|
9669
9695
|
|
|
9670
9696
|
@property
|
|
9671
9697
|
def ReservedInstanceSpec(self):
|
|
@@ -9722,6 +9748,18 @@ class CreateReservedInstancesRequest(AbstractModel):
|
|
|
9722
9748
|
def ClientToken(self, ClientToken):
|
|
9723
9749
|
self._ClientToken = ClientToken
|
|
9724
9750
|
|
|
9751
|
+
@property
|
|
9752
|
+
def DryRun(self):
|
|
9753
|
+
r"""是否只预检此次请求。
|
|
9754
|
+
true:只预检,不会创建实例。默认值为:false。
|
|
9755
|
+
:rtype: bool
|
|
9756
|
+
"""
|
|
9757
|
+
return self._DryRun
|
|
9758
|
+
|
|
9759
|
+
@DryRun.setter
|
|
9760
|
+
def DryRun(self, DryRun):
|
|
9761
|
+
self._DryRun = DryRun
|
|
9762
|
+
|
|
9725
9763
|
|
|
9726
9764
|
def _deserialize(self, params):
|
|
9727
9765
|
if params.get("ReservedInstanceSpec") is not None:
|
|
@@ -9733,6 +9771,7 @@ class CreateReservedInstancesRequest(AbstractModel):
|
|
|
9733
9771
|
self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
|
|
9734
9772
|
self._InstanceName = params.get("InstanceName")
|
|
9735
9773
|
self._ClientToken = params.get("ClientToken")
|
|
9774
|
+
self._DryRun = params.get("DryRun")
|
|
9736
9775
|
memeber_set = set(params.keys())
|
|
9737
9776
|
for name, value in vars(self).items():
|
|
9738
9777
|
property_name = name[1:]
|
|
@@ -10361,9 +10400,9 @@ class DeleteAddonRequest(AbstractModel):
|
|
|
10361
10400
|
|
|
10362
10401
|
def __init__(self):
|
|
10363
10402
|
r"""
|
|
10364
|
-
:param _ClusterId: 集群ID
|
|
10403
|
+
:param _ClusterId: 集群ID,请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
10365
10404
|
:type ClusterId: str
|
|
10366
|
-
:param _AddonName: addon
|
|
10405
|
+
:param _AddonName: addon名称,请从容器服务控制台进入集群详情页后,在组件管理页面中获取。
|
|
10367
10406
|
:type AddonName: str
|
|
10368
10407
|
"""
|
|
10369
10408
|
self._ClusterId = None
|
|
@@ -10371,7 +10410,7 @@ class DeleteAddonRequest(AbstractModel):
|
|
|
10371
10410
|
|
|
10372
10411
|
@property
|
|
10373
10412
|
def ClusterId(self):
|
|
10374
|
-
r"""集群ID
|
|
10413
|
+
r"""集群ID,请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
10375
10414
|
:rtype: str
|
|
10376
10415
|
"""
|
|
10377
10416
|
return self._ClusterId
|
|
@@ -10382,7 +10421,7 @@ class DeleteAddonRequest(AbstractModel):
|
|
|
10382
10421
|
|
|
10383
10422
|
@property
|
|
10384
10423
|
def AddonName(self):
|
|
10385
|
-
r"""addon
|
|
10424
|
+
r"""addon名称,请从容器服务控制台进入集群详情页后,在组件管理页面中获取。
|
|
10386
10425
|
:rtype: str
|
|
10387
10426
|
"""
|
|
10388
10427
|
return self._AddonName
|
|
@@ -12922,7 +12961,7 @@ class DescribeAddonRequest(AbstractModel):
|
|
|
12922
12961
|
|
|
12923
12962
|
def __init__(self):
|
|
12924
12963
|
r"""
|
|
12925
|
-
:param _ClusterId: 集群ID
|
|
12964
|
+
:param _ClusterId: 集群ID,请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
12926
12965
|
:type ClusterId: str
|
|
12927
12966
|
:param _AddonName: addon名称(不传时会返回集群下全部的addon)
|
|
12928
12967
|
:type AddonName: str
|
|
@@ -12932,7 +12971,7 @@ class DescribeAddonRequest(AbstractModel):
|
|
|
12932
12971
|
|
|
12933
12972
|
@property
|
|
12934
12973
|
def ClusterId(self):
|
|
12935
|
-
r"""集群ID
|
|
12974
|
+
r"""集群ID,请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
12936
12975
|
:rtype: str
|
|
12937
12976
|
"""
|
|
12938
12977
|
return self._ClusterId
|
|
@@ -13021,9 +13060,9 @@ class DescribeAddonValuesRequest(AbstractModel):
|
|
|
13021
13060
|
|
|
13022
13061
|
def __init__(self):
|
|
13023
13062
|
r"""
|
|
13024
|
-
:param _ClusterId: 集群ID
|
|
13063
|
+
:param _ClusterId: 集群ID,请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
13025
13064
|
:type ClusterId: str
|
|
13026
|
-
:param _AddonName: addon
|
|
13065
|
+
:param _AddonName: addon名称,请从容器服务控制台进入集群详情页后,在组件管理页面中获取。
|
|
13027
13066
|
:type AddonName: str
|
|
13028
13067
|
"""
|
|
13029
13068
|
self._ClusterId = None
|
|
@@ -13031,7 +13070,7 @@ class DescribeAddonValuesRequest(AbstractModel):
|
|
|
13031
13070
|
|
|
13032
13071
|
@property
|
|
13033
13072
|
def ClusterId(self):
|
|
13034
|
-
r"""集群ID
|
|
13073
|
+
r"""集群ID,请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
13035
13074
|
:rtype: str
|
|
13036
13075
|
"""
|
|
13037
13076
|
return self._ClusterId
|
|
@@ -13042,7 +13081,7 @@ class DescribeAddonValuesRequest(AbstractModel):
|
|
|
13042
13081
|
|
|
13043
13082
|
@property
|
|
13044
13083
|
def AddonName(self):
|
|
13045
|
-
r"""addon
|
|
13084
|
+
r"""addon名称,请从容器服务控制台进入集群详情页后,在组件管理页面中获取。
|
|
13046
13085
|
:rtype: str
|
|
13047
13086
|
"""
|
|
13048
13087
|
return self._AddonName
|
|
@@ -18863,6 +18902,10 @@ class DescribeEncryptionStatusResponse(AbstractModel):
|
|
|
18863
18902
|
def __init__(self):
|
|
18864
18903
|
r"""
|
|
18865
18904
|
:param _Status: 加密状态
|
|
18905
|
+
- Opening: 开启中
|
|
18906
|
+
- Opened: 已开启
|
|
18907
|
+
- Closing: 关闭中
|
|
18908
|
+
- Closed: 已关闭
|
|
18866
18909
|
:type Status: str
|
|
18867
18910
|
:param _ErrorMsg: 加密错误信息
|
|
18868
18911
|
:type ErrorMsg: str
|
|
@@ -18876,6 +18919,10 @@ class DescribeEncryptionStatusResponse(AbstractModel):
|
|
|
18876
18919
|
@property
|
|
18877
18920
|
def Status(self):
|
|
18878
18921
|
r"""加密状态
|
|
18922
|
+
- Opening: 开启中
|
|
18923
|
+
- Opened: 已开启
|
|
18924
|
+
- Closing: 关闭中
|
|
18925
|
+
- Closed: 已关闭
|
|
18879
18926
|
:rtype: str
|
|
18880
18927
|
"""
|
|
18881
18928
|
return self._Status
|
|
@@ -30688,15 +30735,15 @@ class InstallAddonRequest(AbstractModel):
|
|
|
30688
30735
|
|
|
30689
30736
|
def __init__(self):
|
|
30690
30737
|
r"""
|
|
30691
|
-
:param _ClusterId: 集群ID(仅支持标准tke
|
|
30738
|
+
:param _ClusterId: 集群ID(仅支持标准tke集群),请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
30692
30739
|
:type ClusterId: str
|
|
30693
|
-
:param _AddonName: addon
|
|
30740
|
+
:param _AddonName: addon名称,请从容器服务控制台进入集群详情页后,在组件管理页面中获取。
|
|
30694
30741
|
:type AddonName: str
|
|
30695
30742
|
:param _AddonVersion: addon版本(不传默认安装最新版本)
|
|
30696
30743
|
:type AddonVersion: str
|
|
30697
30744
|
:param _RawValues: addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)
|
|
30698
30745
|
:type RawValues: str
|
|
30699
|
-
:param _DryRun: 是否仅做安装检查,设置为true
|
|
30746
|
+
:param _DryRun: 是否仅做安装检查,设置为true时仅做检查,不会安装组件。默认值为 false。
|
|
30700
30747
|
:type DryRun: bool
|
|
30701
30748
|
"""
|
|
30702
30749
|
self._ClusterId = None
|
|
@@ -30707,7 +30754,7 @@ class InstallAddonRequest(AbstractModel):
|
|
|
30707
30754
|
|
|
30708
30755
|
@property
|
|
30709
30756
|
def ClusterId(self):
|
|
30710
|
-
r"""集群ID(仅支持标准tke
|
|
30757
|
+
r"""集群ID(仅支持标准tke集群),请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
30711
30758
|
:rtype: str
|
|
30712
30759
|
"""
|
|
30713
30760
|
return self._ClusterId
|
|
@@ -30718,7 +30765,7 @@ class InstallAddonRequest(AbstractModel):
|
|
|
30718
30765
|
|
|
30719
30766
|
@property
|
|
30720
30767
|
def AddonName(self):
|
|
30721
|
-
r"""addon
|
|
30768
|
+
r"""addon名称,请从容器服务控制台进入集群详情页后,在组件管理页面中获取。
|
|
30722
30769
|
:rtype: str
|
|
30723
30770
|
"""
|
|
30724
30771
|
return self._AddonName
|
|
@@ -30751,7 +30798,7 @@ class InstallAddonRequest(AbstractModel):
|
|
|
30751
30798
|
|
|
30752
30799
|
@property
|
|
30753
30800
|
def DryRun(self):
|
|
30754
|
-
r"""是否仅做安装检查,设置为true
|
|
30801
|
+
r"""是否仅做安装检查,设置为true时仅做检查,不会安装组件。默认值为 false。
|
|
30755
30802
|
:rtype: bool
|
|
30756
30803
|
"""
|
|
30757
30804
|
return self._DryRun
|
|
@@ -31905,7 +31952,7 @@ class KMSConfiguration(AbstractModel):
|
|
|
31905
31952
|
|
|
31906
31953
|
def __init__(self):
|
|
31907
31954
|
r"""
|
|
31908
|
-
:param _KeyId: kms id
|
|
31955
|
+
:param _KeyId: kms id,可以在密钥管理控制台获取
|
|
31909
31956
|
:type KeyId: str
|
|
31910
31957
|
:param _KmsRegion: kms 地域
|
|
31911
31958
|
:type KmsRegion: str
|
|
@@ -31915,7 +31962,7 @@ class KMSConfiguration(AbstractModel):
|
|
|
31915
31962
|
|
|
31916
31963
|
@property
|
|
31917
31964
|
def KeyId(self):
|
|
31918
|
-
r"""kms id
|
|
31965
|
+
r"""kms id,可以在密钥管理控制台获取
|
|
31919
31966
|
:rtype: str
|
|
31920
31967
|
"""
|
|
31921
31968
|
return self._KeyId
|
|
@@ -41927,7 +41974,7 @@ class RegionInstance(AbstractModel):
|
|
|
41927
41974
|
:type RegionName: str
|
|
41928
41975
|
:param _RegionId: 地域ID
|
|
41929
41976
|
:type RegionId: int
|
|
41930
|
-
:param _Status:
|
|
41977
|
+
:param _Status: 地域状态\n- alluser: 所有用户可见
|
|
41931
41978
|
:type Status: str
|
|
41932
41979
|
:param _FeatureGates: 地域特性开关(按照JSON的形式返回所有属性)
|
|
41933
41980
|
:type FeatureGates: str
|
|
@@ -41967,7 +42014,7 @@ class RegionInstance(AbstractModel):
|
|
|
41967
42014
|
|
|
41968
42015
|
@property
|
|
41969
42016
|
def Status(self):
|
|
41970
|
-
r"""
|
|
42017
|
+
r"""地域状态\n- alluser: 所有用户可见
|
|
41971
42018
|
:rtype: str
|
|
41972
42019
|
"""
|
|
41973
42020
|
return self._Status
|
|
@@ -46377,17 +46424,17 @@ class UpdateAddonRequest(AbstractModel):
|
|
|
46377
46424
|
|
|
46378
46425
|
def __init__(self):
|
|
46379
46426
|
r"""
|
|
46380
|
-
:param _ClusterId: 集群ID
|
|
46427
|
+
:param _ClusterId: 集群ID,请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
46381
46428
|
:type ClusterId: str
|
|
46382
|
-
:param _AddonName: addon
|
|
46429
|
+
:param _AddonName: addon名称,请从容器服务控制台进入集群详情页后,在组件管理页面中获取。
|
|
46383
46430
|
:type AddonName: str
|
|
46384
46431
|
:param _AddonVersion: addon版本(不传默认不更新,不传AddonVersion时RawValues必传)
|
|
46385
46432
|
:type AddonVersion: str
|
|
46386
|
-
:param _RawValues: addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion
|
|
46433
|
+
:param _RawValues: addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion必传)。
|
|
46387
46434
|
:type RawValues: str
|
|
46388
46435
|
:param _UpdateStrategy: addon参数的更新策略,支持replace和merge两种策略,默认值为merge,兼容旧版本API。replace:使用新RawValues全量替换addon原RawValues,merge:根据新RawValues新增或更新addon原RawValues中对应参数。
|
|
46389
46436
|
:type UpdateStrategy: str
|
|
46390
|
-
:param _DryRun: 是否仅做更新检查,设置为true
|
|
46437
|
+
:param _DryRun: 是否仅做更新检查,设置为true时仅做检查,不会更新组件。默认值为 false。
|
|
46391
46438
|
:type DryRun: bool
|
|
46392
46439
|
"""
|
|
46393
46440
|
self._ClusterId = None
|
|
@@ -46399,7 +46446,7 @@ class UpdateAddonRequest(AbstractModel):
|
|
|
46399
46446
|
|
|
46400
46447
|
@property
|
|
46401
46448
|
def ClusterId(self):
|
|
46402
|
-
r"""集群ID
|
|
46449
|
+
r"""集群ID,请从容器服务控制台集群列表中获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
46403
46450
|
:rtype: str
|
|
46404
46451
|
"""
|
|
46405
46452
|
return self._ClusterId
|
|
@@ -46410,7 +46457,7 @@ class UpdateAddonRequest(AbstractModel):
|
|
|
46410
46457
|
|
|
46411
46458
|
@property
|
|
46412
46459
|
def AddonName(self):
|
|
46413
|
-
r"""addon
|
|
46460
|
+
r"""addon名称,请从容器服务控制台进入集群详情页后,在组件管理页面中获取。
|
|
46414
46461
|
:rtype: str
|
|
46415
46462
|
"""
|
|
46416
46463
|
return self._AddonName
|
|
@@ -46432,7 +46479,7 @@ class UpdateAddonRequest(AbstractModel):
|
|
|
46432
46479
|
|
|
46433
46480
|
@property
|
|
46434
46481
|
def RawValues(self):
|
|
46435
|
-
r"""addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion
|
|
46482
|
+
r"""addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion必传)。
|
|
46436
46483
|
:rtype: str
|
|
46437
46484
|
"""
|
|
46438
46485
|
return self._RawValues
|
|
@@ -46454,7 +46501,7 @@ class UpdateAddonRequest(AbstractModel):
|
|
|
46454
46501
|
|
|
46455
46502
|
@property
|
|
46456
46503
|
def DryRun(self):
|
|
46457
|
-
r"""是否仅做更新检查,设置为true
|
|
46504
|
+
r"""是否仅做更新检查,设置为true时仅做检查,不会更新组件。默认值为 false。
|
|
46458
46505
|
:rtype: bool
|
|
46459
46506
|
"""
|
|
46460
46507
|
return self._DryRun
|
|
@@ -48314,7 +48361,7 @@ class VersionInstance(AbstractModel):
|
|
|
48314
48361
|
:type Name: str
|
|
48315
48362
|
:param _Version: 版本信息
|
|
48316
48363
|
:type Version: str
|
|
48317
|
-
:param _Remark:
|
|
48364
|
+
:param _Remark: 备注
|
|
48318
48365
|
:type Remark: str
|
|
48319
48366
|
"""
|
|
48320
48367
|
self._Name = None
|
|
@@ -48345,7 +48392,7 @@ class VersionInstance(AbstractModel):
|
|
|
48345
48392
|
|
|
48346
48393
|
@property
|
|
48347
48394
|
def Remark(self):
|
|
48348
|
-
r"""
|
|
48395
|
+
r"""备注
|
|
48349
48396
|
:rtype: str
|
|
48350
48397
|
"""
|
|
48351
48398
|
return self._Remark
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1477
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1459
|
|
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
|