tencentcloud-sdk-python 3.0.1377__py2.py3-none-any.whl → 3.0.1379__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/apm/v20210622/models.py +34 -4
- tencentcloud/autoscaling/v20180419/models.py +45 -16
- tencentcloud/batch/v20170312/batch_client.py +3 -3
- tencentcloud/batch/v20170312/models.py +230 -168
- tencentcloud/billing/v20180709/billing_client.py +322 -0
- tencentcloud/billing/v20180709/errorcodes.py +9 -0
- tencentcloud/billing/v20180709/models.py +4894 -2542
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +18 -18
- tencentcloud/clb/v20180317/clb_client.py +7 -7
- tencentcloud/clb/v20180317/models.py +51 -41
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
- tencentcloud/dbbrain/v20210527/models.py +368 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
- tencentcloud/dnspod/v20210323/models.py +503 -0
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +68 -44
- tencentcloud/hunyuan/v20230901/models.py +260 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +192 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +211 -2
- tencentcloud/postgres/v20170312/models.py +12 -4
- tencentcloud/tag/v20180813/models.py +8 -8
- tencentcloud/tcb/v20180608/models.py +34 -4
- tencentcloud/tdmq/v20200217/errorcodes.py +27 -0
- tencentcloud/teo/v20220901/models.py +0 -20
- tencentcloud/thpc/v20211109/models.py +2 -2
- tencentcloud/thpc/v20220401/models.py +4 -4
- tencentcloud/thpc/v20230321/errorcodes.py +9 -0
- tencentcloud/thpc/v20230321/models.py +85 -8
- tencentcloud/thpc/v20230321/thpc_client.py +23 -0
- tencentcloud/tione/v20211111/models.py +274 -0
- tencentcloud/tke/v20180525/models.py +10 -0
- tencentcloud/tmt/v20180321/errorcodes.py +3 -0
- tencentcloud/tmt/v20180321/models.py +296 -1
- tencentcloud/tmt/v20180321/tmt_client.py +28 -0
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/vod/v20180717/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +24 -18
- tencentcloud/waf/v20180125/models.py +15 -0
- tencentcloud/wedata/v20210820/errorcodes.py +9 -0
- tencentcloud/wedata/v20210820/models.py +1078 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/top_level.txt +0 -0
@@ -9327,6 +9327,42 @@ class EnvVar(AbstractModel):
|
|
9327
9327
|
|
9328
9328
|
|
9329
9329
|
|
9330
|
+
class ExecAction(AbstractModel):
|
9331
|
+
"""执行命令探针检查行为
|
9332
|
+
|
9333
|
+
"""
|
9334
|
+
|
9335
|
+
def __init__(self):
|
9336
|
+
r"""
|
9337
|
+
:param _Command: 执行命令列表
|
9338
|
+
:type Command: list of str
|
9339
|
+
"""
|
9340
|
+
self._Command = None
|
9341
|
+
|
9342
|
+
@property
|
9343
|
+
def Command(self):
|
9344
|
+
"""执行命令列表
|
9345
|
+
:rtype: list of str
|
9346
|
+
"""
|
9347
|
+
return self._Command
|
9348
|
+
|
9349
|
+
@Command.setter
|
9350
|
+
def Command(self, Command):
|
9351
|
+
self._Command = Command
|
9352
|
+
|
9353
|
+
|
9354
|
+
def _deserialize(self, params):
|
9355
|
+
self._Command = params.get("Command")
|
9356
|
+
memeber_set = set(params.keys())
|
9357
|
+
for name, value in vars(self).items():
|
9358
|
+
property_name = name[1:]
|
9359
|
+
if property_name in memeber_set:
|
9360
|
+
memeber_set.remove(property_name)
|
9361
|
+
if len(memeber_set) > 0:
|
9362
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9363
|
+
|
9364
|
+
|
9365
|
+
|
9330
9366
|
class Filter(AbstractModel):
|
9331
9367
|
"""过滤器
|
9332
9368
|
|
@@ -9753,8 +9789,11 @@ class HTTPGetAction(AbstractModel):
|
|
9753
9789
|
r"""
|
9754
9790
|
:param _Path: http 路径
|
9755
9791
|
:type Path: str
|
9792
|
+
:param _Port: 调用端口
|
9793
|
+
:type Port: int
|
9756
9794
|
"""
|
9757
9795
|
self._Path = None
|
9796
|
+
self._Port = None
|
9758
9797
|
|
9759
9798
|
@property
|
9760
9799
|
def Path(self):
|
@@ -9767,9 +9806,21 @@ class HTTPGetAction(AbstractModel):
|
|
9767
9806
|
def Path(self, Path):
|
9768
9807
|
self._Path = Path
|
9769
9808
|
|
9809
|
+
@property
|
9810
|
+
def Port(self):
|
9811
|
+
"""调用端口
|
9812
|
+
:rtype: int
|
9813
|
+
"""
|
9814
|
+
return self._Port
|
9815
|
+
|
9816
|
+
@Port.setter
|
9817
|
+
def Port(self, Port):
|
9818
|
+
self._Port = Port
|
9819
|
+
|
9770
9820
|
|
9771
9821
|
def _deserialize(self, params):
|
9772
9822
|
self._Path = params.get("Path")
|
9823
|
+
self._Port = params.get("Port")
|
9773
9824
|
memeber_set = set(params.keys())
|
9774
9825
|
for name, value in vars(self).items():
|
9775
9826
|
property_name = name[1:]
|
@@ -14979,6 +15030,57 @@ class NotebookSetItem(AbstractModel):
|
|
14979
15030
|
|
14980
15031
|
|
14981
15032
|
|
15033
|
+
class NumOrPercent(AbstractModel):
|
15034
|
+
"""用于表示百分比或数量
|
15035
|
+
|
15036
|
+
"""
|
15037
|
+
|
15038
|
+
def __init__(self):
|
15039
|
+
r"""
|
15040
|
+
:param _Type: Num,Percent ,分别表示数量和百分比,默认为 Num
|
15041
|
+
:type Type: str
|
15042
|
+
:param _Value: 数值
|
15043
|
+
:type Value: int
|
15044
|
+
"""
|
15045
|
+
self._Type = None
|
15046
|
+
self._Value = None
|
15047
|
+
|
15048
|
+
@property
|
15049
|
+
def Type(self):
|
15050
|
+
"""Num,Percent ,分别表示数量和百分比,默认为 Num
|
15051
|
+
:rtype: str
|
15052
|
+
"""
|
15053
|
+
return self._Type
|
15054
|
+
|
15055
|
+
@Type.setter
|
15056
|
+
def Type(self, Type):
|
15057
|
+
self._Type = Type
|
15058
|
+
|
15059
|
+
@property
|
15060
|
+
def Value(self):
|
15061
|
+
"""数值
|
15062
|
+
:rtype: int
|
15063
|
+
"""
|
15064
|
+
return self._Value
|
15065
|
+
|
15066
|
+
@Value.setter
|
15067
|
+
def Value(self, Value):
|
15068
|
+
self._Value = Value
|
15069
|
+
|
15070
|
+
|
15071
|
+
def _deserialize(self, params):
|
15072
|
+
self._Type = params.get("Type")
|
15073
|
+
self._Value = params.get("Value")
|
15074
|
+
memeber_set = set(params.keys())
|
15075
|
+
for name, value in vars(self).items():
|
15076
|
+
property_name = name[1:]
|
15077
|
+
if property_name in memeber_set:
|
15078
|
+
memeber_set.remove(property_name)
|
15079
|
+
if len(memeber_set) > 0:
|
15080
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15081
|
+
|
15082
|
+
|
15083
|
+
|
14982
15084
|
class Option(AbstractModel):
|
14983
15085
|
"""键值对
|
14984
15086
|
|
@@ -15600,8 +15702,17 @@ class ProbeAction(AbstractModel):
|
|
15600
15702
|
r"""
|
15601
15703
|
:param _HTTPGet: http get 行为
|
15602
15704
|
:type HTTPGet: :class:`tencentcloud.tione.v20211111.models.HTTPGetAction`
|
15705
|
+
:param _Exec: 执行命令检查 行为
|
15706
|
+
:type Exec: :class:`tencentcloud.tione.v20211111.models.ExecAction`
|
15707
|
+
:param _TCPSocket: tcp socket 检查行为
|
15708
|
+
:type TCPSocket: :class:`tencentcloud.tione.v20211111.models.TCPSocketAction`
|
15709
|
+
:param _ActionType: 探针类型,默认 HTTPGet,可选值:HTTPGet、Exec、TCPSocket
|
15710
|
+
:type ActionType: str
|
15603
15711
|
"""
|
15604
15712
|
self._HTTPGet = None
|
15713
|
+
self._Exec = None
|
15714
|
+
self._TCPSocket = None
|
15715
|
+
self._ActionType = None
|
15605
15716
|
|
15606
15717
|
@property
|
15607
15718
|
def HTTPGet(self):
|
@@ -15614,11 +15725,51 @@ class ProbeAction(AbstractModel):
|
|
15614
15725
|
def HTTPGet(self, HTTPGet):
|
15615
15726
|
self._HTTPGet = HTTPGet
|
15616
15727
|
|
15728
|
+
@property
|
15729
|
+
def Exec(self):
|
15730
|
+
"""执行命令检查 行为
|
15731
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.ExecAction`
|
15732
|
+
"""
|
15733
|
+
return self._Exec
|
15734
|
+
|
15735
|
+
@Exec.setter
|
15736
|
+
def Exec(self, Exec):
|
15737
|
+
self._Exec = Exec
|
15738
|
+
|
15739
|
+
@property
|
15740
|
+
def TCPSocket(self):
|
15741
|
+
"""tcp socket 检查行为
|
15742
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.TCPSocketAction`
|
15743
|
+
"""
|
15744
|
+
return self._TCPSocket
|
15745
|
+
|
15746
|
+
@TCPSocket.setter
|
15747
|
+
def TCPSocket(self, TCPSocket):
|
15748
|
+
self._TCPSocket = TCPSocket
|
15749
|
+
|
15750
|
+
@property
|
15751
|
+
def ActionType(self):
|
15752
|
+
"""探针类型,默认 HTTPGet,可选值:HTTPGet、Exec、TCPSocket
|
15753
|
+
:rtype: str
|
15754
|
+
"""
|
15755
|
+
return self._ActionType
|
15756
|
+
|
15757
|
+
@ActionType.setter
|
15758
|
+
def ActionType(self, ActionType):
|
15759
|
+
self._ActionType = ActionType
|
15760
|
+
|
15617
15761
|
|
15618
15762
|
def _deserialize(self, params):
|
15619
15763
|
if params.get("HTTPGet") is not None:
|
15620
15764
|
self._HTTPGet = HTTPGetAction()
|
15621
15765
|
self._HTTPGet._deserialize(params.get("HTTPGet"))
|
15766
|
+
if params.get("Exec") is not None:
|
15767
|
+
self._Exec = ExecAction()
|
15768
|
+
self._Exec._deserialize(params.get("Exec"))
|
15769
|
+
if params.get("TCPSocket") is not None:
|
15770
|
+
self._TCPSocket = TCPSocketAction()
|
15771
|
+
self._TCPSocket._deserialize(params.get("TCPSocket"))
|
15772
|
+
self._ActionType = params.get("ActionType")
|
15622
15773
|
memeber_set = set(params.keys())
|
15623
15774
|
for name, value in vars(self).items():
|
15624
15775
|
property_name = name[1:]
|
@@ -16488,6 +16639,61 @@ class ResourceInstanceRunningJobInfo(AbstractModel):
|
|
16488
16639
|
|
16489
16640
|
|
16490
16641
|
|
16642
|
+
class RollingUpdate(AbstractModel):
|
16643
|
+
"""滚动更新策略
|
16644
|
+
|
16645
|
+
"""
|
16646
|
+
|
16647
|
+
def __init__(self):
|
16648
|
+
r"""
|
16649
|
+
:param _MaxUnavailable: 滚动更新的最大不可用
|
16650
|
+
:type MaxUnavailable: :class:`tencentcloud.tione.v20211111.models.NumOrPercent`
|
16651
|
+
:param _MaxSurge: 滚动更新的最大新增实例
|
16652
|
+
:type MaxSurge: :class:`tencentcloud.tione.v20211111.models.NumOrPercent`
|
16653
|
+
"""
|
16654
|
+
self._MaxUnavailable = None
|
16655
|
+
self._MaxSurge = None
|
16656
|
+
|
16657
|
+
@property
|
16658
|
+
def MaxUnavailable(self):
|
16659
|
+
"""滚动更新的最大不可用
|
16660
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.NumOrPercent`
|
16661
|
+
"""
|
16662
|
+
return self._MaxUnavailable
|
16663
|
+
|
16664
|
+
@MaxUnavailable.setter
|
16665
|
+
def MaxUnavailable(self, MaxUnavailable):
|
16666
|
+
self._MaxUnavailable = MaxUnavailable
|
16667
|
+
|
16668
|
+
@property
|
16669
|
+
def MaxSurge(self):
|
16670
|
+
"""滚动更新的最大新增实例
|
16671
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.NumOrPercent`
|
16672
|
+
"""
|
16673
|
+
return self._MaxSurge
|
16674
|
+
|
16675
|
+
@MaxSurge.setter
|
16676
|
+
def MaxSurge(self, MaxSurge):
|
16677
|
+
self._MaxSurge = MaxSurge
|
16678
|
+
|
16679
|
+
|
16680
|
+
def _deserialize(self, params):
|
16681
|
+
if params.get("MaxUnavailable") is not None:
|
16682
|
+
self._MaxUnavailable = NumOrPercent()
|
16683
|
+
self._MaxUnavailable._deserialize(params.get("MaxUnavailable"))
|
16684
|
+
if params.get("MaxSurge") is not None:
|
16685
|
+
self._MaxSurge = NumOrPercent()
|
16686
|
+
self._MaxSurge._deserialize(params.get("MaxSurge"))
|
16687
|
+
memeber_set = set(params.keys())
|
16688
|
+
for name, value in vars(self).items():
|
16689
|
+
property_name = name[1:]
|
16690
|
+
if property_name in memeber_set:
|
16691
|
+
memeber_set.remove(property_name)
|
16692
|
+
if len(memeber_set) > 0:
|
16693
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16694
|
+
|
16695
|
+
|
16696
|
+
|
16491
16697
|
class SSHConfig(AbstractModel):
|
16492
16698
|
"""notebook ssh端口配置
|
16493
16699
|
|
@@ -17831,6 +18037,8 @@ UPDATING 更新中
|
|
17831
18037
|
:type AuthorizationEnable: bool
|
17832
18038
|
:param _AuthTokens: 限流鉴权 token 列表
|
17833
18039
|
:type AuthTokens: list of AuthToken
|
18040
|
+
:param _MonitorSource: 用于监控的创建来源字段
|
18041
|
+
:type MonitorSource: str
|
17834
18042
|
"""
|
17835
18043
|
self._ServiceGroupId = None
|
17836
18044
|
self._ServiceGroupName = None
|
@@ -17854,6 +18062,7 @@ UPDATING 更新中
|
|
17854
18062
|
self._AppId = None
|
17855
18063
|
self._AuthorizationEnable = None
|
17856
18064
|
self._AuthTokens = None
|
18065
|
+
self._MonitorSource = None
|
17857
18066
|
|
17858
18067
|
@property
|
17859
18068
|
def ServiceGroupId(self):
|
@@ -18126,6 +18335,17 @@ UPDATING 更新中
|
|
18126
18335
|
def AuthTokens(self, AuthTokens):
|
18127
18336
|
self._AuthTokens = AuthTokens
|
18128
18337
|
|
18338
|
+
@property
|
18339
|
+
def MonitorSource(self):
|
18340
|
+
"""用于监控的创建来源字段
|
18341
|
+
:rtype: str
|
18342
|
+
"""
|
18343
|
+
return self._MonitorSource
|
18344
|
+
|
18345
|
+
@MonitorSource.setter
|
18346
|
+
def MonitorSource(self, MonitorSource):
|
18347
|
+
self._MonitorSource = MonitorSource
|
18348
|
+
|
18129
18349
|
|
18130
18350
|
def _deserialize(self, params):
|
18131
18351
|
self._ServiceGroupId = params.get("ServiceGroupId")
|
@@ -18165,6 +18385,7 @@ UPDATING 更新中
|
|
18165
18385
|
obj = AuthToken()
|
18166
18386
|
obj._deserialize(item)
|
18167
18387
|
self._AuthTokens.append(obj)
|
18388
|
+
self._MonitorSource = params.get("MonitorSource")
|
18168
18389
|
memeber_set = set(params.keys())
|
18169
18390
|
for name, value in vars(self).items():
|
18170
18391
|
property_name = name[1:]
|
@@ -18293,6 +18514,8 @@ HYBRID_PAID:
|
|
18293
18514
|
:type GrpcEnable: bool
|
18294
18515
|
:param _HealthProbe: 健康探针
|
18295
18516
|
:type HealthProbe: :class:`tencentcloud.tione.v20211111.models.HealthProbe`
|
18517
|
+
:param _RollingUpdate: 滚动更新配置
|
18518
|
+
:type RollingUpdate: :class:`tencentcloud.tione.v20211111.models.RollingUpdate`
|
18296
18519
|
"""
|
18297
18520
|
self._Replicas = None
|
18298
18521
|
self._ImageInfo = None
|
@@ -18330,6 +18553,7 @@ HYBRID_PAID:
|
|
18330
18553
|
self._PreStopCommand = None
|
18331
18554
|
self._GrpcEnable = None
|
18332
18555
|
self._HealthProbe = None
|
18556
|
+
self._RollingUpdate = None
|
18333
18557
|
|
18334
18558
|
@property
|
18335
18559
|
def Replicas(self):
|
@@ -18774,6 +18998,17 @@ HYBRID_PAID:
|
|
18774
18998
|
def HealthProbe(self, HealthProbe):
|
18775
18999
|
self._HealthProbe = HealthProbe
|
18776
19000
|
|
19001
|
+
@property
|
19002
|
+
def RollingUpdate(self):
|
19003
|
+
"""滚动更新配置
|
19004
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.RollingUpdate`
|
19005
|
+
"""
|
19006
|
+
return self._RollingUpdate
|
19007
|
+
|
19008
|
+
@RollingUpdate.setter
|
19009
|
+
def RollingUpdate(self, RollingUpdate):
|
19010
|
+
self._RollingUpdate = RollingUpdate
|
19011
|
+
|
18777
19012
|
|
18778
19013
|
def _deserialize(self, params):
|
18779
19014
|
self._Replicas = params.get("Replicas")
|
@@ -18855,6 +19090,9 @@ HYBRID_PAID:
|
|
18855
19090
|
if params.get("HealthProbe") is not None:
|
18856
19091
|
self._HealthProbe = HealthProbe()
|
18857
19092
|
self._HealthProbe._deserialize(params.get("HealthProbe"))
|
19093
|
+
if params.get("RollingUpdate") is not None:
|
19094
|
+
self._RollingUpdate = RollingUpdate()
|
19095
|
+
self._RollingUpdate._deserialize(params.get("RollingUpdate"))
|
18858
19096
|
memeber_set = set(params.keys())
|
18859
19097
|
for name, value in vars(self).items():
|
18860
19098
|
property_name = name[1:]
|
@@ -19785,6 +20023,42 @@ class StopTrainingTaskResponse(AbstractModel):
|
|
19785
20023
|
self._RequestId = params.get("RequestId")
|
19786
20024
|
|
19787
20025
|
|
20026
|
+
class TCPSocketAction(AbstractModel):
|
20027
|
+
"""tcp socket 健康探针检查行为
|
20028
|
+
|
20029
|
+
"""
|
20030
|
+
|
20031
|
+
def __init__(self):
|
20032
|
+
r"""
|
20033
|
+
:param _Port: 调用端口
|
20034
|
+
:type Port: int
|
20035
|
+
"""
|
20036
|
+
self._Port = None
|
20037
|
+
|
20038
|
+
@property
|
20039
|
+
def Port(self):
|
20040
|
+
"""调用端口
|
20041
|
+
:rtype: int
|
20042
|
+
"""
|
20043
|
+
return self._Port
|
20044
|
+
|
20045
|
+
@Port.setter
|
20046
|
+
def Port(self, Port):
|
20047
|
+
self._Port = Port
|
20048
|
+
|
20049
|
+
|
20050
|
+
def _deserialize(self, params):
|
20051
|
+
self._Port = params.get("Port")
|
20052
|
+
memeber_set = set(params.keys())
|
20053
|
+
for name, value in vars(self).items():
|
20054
|
+
property_name = name[1:]
|
20055
|
+
if property_name in memeber_set:
|
20056
|
+
memeber_set.remove(property_name)
|
20057
|
+
if len(memeber_set) > 0:
|
20058
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
20059
|
+
|
20060
|
+
|
20061
|
+
|
19788
20062
|
class TJCallInfo(AbstractModel):
|
19789
20063
|
"""太极服务的调用信息
|
19790
20064
|
|
@@ -30990,21 +30990,26 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
30990
30990
|
def __init__(self):
|
30991
30991
|
r"""
|
30992
30992
|
:param _DesiredPodNumber: 该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限
|
30993
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30993
30994
|
:type DesiredPodNumber: int
|
30994
30995
|
:param _GPUArgs: GPU驱动相关参数,相关的GPU参数获取:https://cloud.tencent.com/document/api/213/15715
|
30995
30996
|
注意:此字段可能返回 null,表示取不到有效值。
|
30996
30997
|
:type GPUArgs: :class:`tencentcloud.tke.v20180525.models.GPUArgs`
|
30997
30998
|
:param _PreStartUserScript: base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效
|
30999
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30998
31000
|
:type PreStartUserScript: str
|
30999
31001
|
:param _Taints: 节点污点
|
31000
31002
|
注意:此字段可能返回 null,表示取不到有效值。
|
31001
31003
|
:type Taints: list of Taint
|
31002
31004
|
:param _MountTarget: 数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。
|
31003
31005
|
注意,注意,多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
|
31006
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31004
31007
|
:type MountTarget: str
|
31005
31008
|
:param _DockerGraphPath: dockerd --graph 指定值, 默认为 /var/lib/docker
|
31009
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31006
31010
|
:type DockerGraphPath: str
|
31007
31011
|
:param _UserScript: base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config 命令使节点加入调度
|
31012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31008
31013
|
:type UserScript: str
|
31009
31014
|
:param _Unschedulable: 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
|
31010
31015
|
:type Unschedulable: int
|
@@ -31032,6 +31037,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
31032
31037
|
@property
|
31033
31038
|
def DesiredPodNumber(self):
|
31034
31039
|
"""该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限
|
31040
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31035
31041
|
:rtype: int
|
31036
31042
|
"""
|
31037
31043
|
return self._DesiredPodNumber
|
@@ -31055,6 +31061,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
31055
31061
|
@property
|
31056
31062
|
def PreStartUserScript(self):
|
31057
31063
|
"""base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效
|
31064
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31058
31065
|
:rtype: str
|
31059
31066
|
"""
|
31060
31067
|
return self._PreStartUserScript
|
@@ -31079,6 +31086,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
31079
31086
|
def MountTarget(self):
|
31080
31087
|
"""数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。
|
31081
31088
|
注意,注意,多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
|
31089
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31082
31090
|
:rtype: str
|
31083
31091
|
"""
|
31084
31092
|
return self._MountTarget
|
@@ -31090,6 +31098,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
31090
31098
|
@property
|
31091
31099
|
def DockerGraphPath(self):
|
31092
31100
|
"""dockerd --graph 指定值, 默认为 /var/lib/docker
|
31101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31093
31102
|
:rtype: str
|
31094
31103
|
"""
|
31095
31104
|
return self._DockerGraphPath
|
@@ -31101,6 +31110,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
31101
31110
|
@property
|
31102
31111
|
def UserScript(self):
|
31103
31112
|
"""base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config 命令使节点加入调度
|
31113
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31104
31114
|
:rtype: str
|
31105
31115
|
"""
|
31106
31116
|
return self._UserScript
|