tencentcloud-sdk-python 3.0.1445__py2.py3-none-any.whl → 3.0.1447__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/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -0
- tencentcloud/cbs/v20170312/models.py +17 -2
- tencentcloud/ccc/v20200210/models.py +21 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +30 -6
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +21 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +98 -24
- tencentcloud/common/abstract_client.py +14 -12
- tencentcloud/common/credential.py +61 -26
- tencentcloud/csip/v20221121/models.py +4 -4
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cwp/v20180228/models.py +53 -14
- tencentcloud/cynosdb/v20190107/models.py +2 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/dlc_client.py +161 -0
- tencentcloud/dlc/v20210125/errorcodes.py +6 -0
- tencentcloud/dlc/v20210125/models.py +1049 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/es/v20180416/models.py +85 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +313 -8
- tencentcloud/essbasic/v20210526/models.py +70 -14
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +1036 -91
- tencentcloud/iotexplorer/v20190423/models.py +112 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +122 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +19 -0
- tencentcloud/mps/v20190612/models.py +229 -10
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +880 -22
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +7 -23
- tencentcloud/organization/v20210331/models.py +393 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/partners/v20180321/models.py +8 -8
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- tencentcloud/tbaas/v20180416/models.py +12 -12
- tencentcloud/tcaplusdb/v20190823/models.py +0 -328
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +51 -17
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
- tencentcloud/tione/v20211111/models.py +333 -10
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +32 -2
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tse/v20201207/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +6 -6
- tencentcloud/vod/v20180717/models.py +4 -12
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/RECORD +76 -76
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/top_level.txt +0 -0
|
@@ -1606,9 +1606,9 @@ HYBRID_PAID:
|
|
|
1606
1606
|
:type DeployType: str
|
|
1607
1607
|
:param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
|
1608
1608
|
:type InstancePerReplicas: int
|
|
1609
|
-
:param _TerminationGracePeriodSeconds: 30
|
|
1609
|
+
:param _TerminationGracePeriodSeconds: 服务的优雅退出时限。单位为秒,默认值为30,最小为1
|
|
1610
1610
|
:type TerminationGracePeriodSeconds: int
|
|
1611
|
-
:param _PreStopCommand:
|
|
1611
|
+
:param _PreStopCommand: 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
|
|
1612
1612
|
:type PreStopCommand: list of str
|
|
1613
1613
|
:param _GrpcEnable: 是否启用 grpc 端口
|
|
1614
1614
|
:type GrpcEnable: bool
|
|
@@ -1618,6 +1618,8 @@ HYBRID_PAID:
|
|
|
1618
1618
|
:type RollingUpdate: :class:`tencentcloud.tione.v20211111.models.RollingUpdate`
|
|
1619
1619
|
:param _Sidecar: sidecar配置
|
|
1620
1620
|
:type Sidecar: :class:`tencentcloud.tione.v20211111.models.SidecarSpec`
|
|
1621
|
+
:param _VolumeMounts: 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
|
|
1622
|
+
:type VolumeMounts: list of VolumeMount
|
|
1621
1623
|
"""
|
|
1622
1624
|
self._ServiceGroupId = None
|
|
1623
1625
|
self._ServiceGroupName = None
|
|
@@ -1660,6 +1662,7 @@ HYBRID_PAID:
|
|
|
1660
1662
|
self._HealthProbe = None
|
|
1661
1663
|
self._RollingUpdate = None
|
|
1662
1664
|
self._Sidecar = None
|
|
1665
|
+
self._VolumeMounts = None
|
|
1663
1666
|
|
|
1664
1667
|
@property
|
|
1665
1668
|
def ServiceGroupId(self):
|
|
@@ -2071,7 +2074,7 @@ HYBRID_PAID:
|
|
|
2071
2074
|
|
|
2072
2075
|
@property
|
|
2073
2076
|
def TerminationGracePeriodSeconds(self):
|
|
2074
|
-
"""30
|
|
2077
|
+
"""服务的优雅退出时限。单位为秒,默认值为30,最小为1
|
|
2075
2078
|
:rtype: int
|
|
2076
2079
|
"""
|
|
2077
2080
|
return self._TerminationGracePeriodSeconds
|
|
@@ -2082,7 +2085,7 @@ HYBRID_PAID:
|
|
|
2082
2085
|
|
|
2083
2086
|
@property
|
|
2084
2087
|
def PreStopCommand(self):
|
|
2085
|
-
"""
|
|
2088
|
+
"""服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
|
|
2086
2089
|
:rtype: list of str
|
|
2087
2090
|
"""
|
|
2088
2091
|
return self._PreStopCommand
|
|
@@ -2135,6 +2138,17 @@ HYBRID_PAID:
|
|
|
2135
2138
|
def Sidecar(self, Sidecar):
|
|
2136
2139
|
self._Sidecar = Sidecar
|
|
2137
2140
|
|
|
2141
|
+
@property
|
|
2142
|
+
def VolumeMounts(self):
|
|
2143
|
+
"""数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
|
|
2144
|
+
:rtype: list of VolumeMount
|
|
2145
|
+
"""
|
|
2146
|
+
return self._VolumeMounts
|
|
2147
|
+
|
|
2148
|
+
@VolumeMounts.setter
|
|
2149
|
+
def VolumeMounts(self, VolumeMounts):
|
|
2150
|
+
self._VolumeMounts = VolumeMounts
|
|
2151
|
+
|
|
2138
2152
|
|
|
2139
2153
|
def _deserialize(self, params):
|
|
2140
2154
|
self._ServiceGroupId = params.get("ServiceGroupId")
|
|
@@ -2217,6 +2231,12 @@ HYBRID_PAID:
|
|
|
2217
2231
|
if params.get("Sidecar") is not None:
|
|
2218
2232
|
self._Sidecar = SidecarSpec()
|
|
2219
2233
|
self._Sidecar._deserialize(params.get("Sidecar"))
|
|
2234
|
+
if params.get("VolumeMounts") is not None:
|
|
2235
|
+
self._VolumeMounts = []
|
|
2236
|
+
for item in params.get("VolumeMounts"):
|
|
2237
|
+
obj = VolumeMount()
|
|
2238
|
+
obj._deserialize(item)
|
|
2239
|
+
self._VolumeMounts.append(obj)
|
|
2220
2240
|
memeber_set = set(params.keys())
|
|
2221
2241
|
for name, value in vars(self).items():
|
|
2222
2242
|
property_name = name[1:]
|
|
@@ -14161,9 +14181,9 @@ HYBRID_PAID:
|
|
|
14161
14181
|
:type ServicePort: int
|
|
14162
14182
|
:param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
|
14163
14183
|
:type InstancePerReplicas: int
|
|
14164
|
-
:param _TerminationGracePeriodSeconds: 30
|
|
14184
|
+
:param _TerminationGracePeriodSeconds: 服务的优雅退出时限。单位为秒,默认值为30,最小为1
|
|
14165
14185
|
:type TerminationGracePeriodSeconds: int
|
|
14166
|
-
:param _PreStopCommand:
|
|
14186
|
+
:param _PreStopCommand: 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
|
|
14167
14187
|
:type PreStopCommand: list of str
|
|
14168
14188
|
:param _GrpcEnable: 是否启动grpc端口
|
|
14169
14189
|
:type GrpcEnable: bool
|
|
@@ -14175,6 +14195,8 @@ HYBRID_PAID:
|
|
|
14175
14195
|
:type Sidecar: :class:`tencentcloud.tione.v20211111.models.SidecarSpec`
|
|
14176
14196
|
:param _ResourceGroupId: 资源组 id
|
|
14177
14197
|
:type ResourceGroupId: str
|
|
14198
|
+
:param _VolumeMounts: 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
|
|
14199
|
+
:type VolumeMounts: list of VolumeMount
|
|
14178
14200
|
"""
|
|
14179
14201
|
self._ServiceId = None
|
|
14180
14202
|
self._ModelInfo = None
|
|
@@ -14209,6 +14231,7 @@ HYBRID_PAID:
|
|
|
14209
14231
|
self._RollingUpdate = None
|
|
14210
14232
|
self._Sidecar = None
|
|
14211
14233
|
self._ResourceGroupId = None
|
|
14234
|
+
self._VolumeMounts = None
|
|
14212
14235
|
|
|
14213
14236
|
@property
|
|
14214
14237
|
def ServiceId(self):
|
|
@@ -14521,7 +14544,7 @@ HYBRID_PAID:
|
|
|
14521
14544
|
|
|
14522
14545
|
@property
|
|
14523
14546
|
def TerminationGracePeriodSeconds(self):
|
|
14524
|
-
"""30
|
|
14547
|
+
"""服务的优雅退出时限。单位为秒,默认值为30,最小为1
|
|
14525
14548
|
:rtype: int
|
|
14526
14549
|
"""
|
|
14527
14550
|
return self._TerminationGracePeriodSeconds
|
|
@@ -14532,7 +14555,7 @@ HYBRID_PAID:
|
|
|
14532
14555
|
|
|
14533
14556
|
@property
|
|
14534
14557
|
def PreStopCommand(self):
|
|
14535
|
-
"""
|
|
14558
|
+
"""服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
|
|
14536
14559
|
:rtype: list of str
|
|
14537
14560
|
"""
|
|
14538
14561
|
return self._PreStopCommand
|
|
@@ -14596,6 +14619,17 @@ HYBRID_PAID:
|
|
|
14596
14619
|
def ResourceGroupId(self, ResourceGroupId):
|
|
14597
14620
|
self._ResourceGroupId = ResourceGroupId
|
|
14598
14621
|
|
|
14622
|
+
@property
|
|
14623
|
+
def VolumeMounts(self):
|
|
14624
|
+
"""数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
|
|
14625
|
+
:rtype: list of VolumeMount
|
|
14626
|
+
"""
|
|
14627
|
+
return self._VolumeMounts
|
|
14628
|
+
|
|
14629
|
+
@VolumeMounts.setter
|
|
14630
|
+
def VolumeMounts(self, VolumeMounts):
|
|
14631
|
+
self._VolumeMounts = VolumeMounts
|
|
14632
|
+
|
|
14599
14633
|
|
|
14600
14634
|
def _deserialize(self, params):
|
|
14601
14635
|
self._ServiceId = params.get("ServiceId")
|
|
@@ -14665,6 +14699,12 @@ HYBRID_PAID:
|
|
|
14665
14699
|
self._Sidecar = SidecarSpec()
|
|
14666
14700
|
self._Sidecar._deserialize(params.get("Sidecar"))
|
|
14667
14701
|
self._ResourceGroupId = params.get("ResourceGroupId")
|
|
14702
|
+
if params.get("VolumeMounts") is not None:
|
|
14703
|
+
self._VolumeMounts = []
|
|
14704
|
+
for item in params.get("VolumeMounts"):
|
|
14705
|
+
obj = VolumeMount()
|
|
14706
|
+
obj._deserialize(item)
|
|
14707
|
+
self._VolumeMounts.append(obj)
|
|
14668
14708
|
memeber_set = set(params.keys())
|
|
14669
14709
|
for name, value in vars(self).items():
|
|
14670
14710
|
property_name = name[1:]
|
|
@@ -16583,6 +16623,14 @@ class Pod(AbstractModel):
|
|
|
16583
16623
|
:type Message: str
|
|
16584
16624
|
:param _NodeIP: 当前实例所在的节点 IP
|
|
16585
16625
|
:type NodeIP: str
|
|
16626
|
+
:param _NodeId: 当前实例所在节点id
|
|
16627
|
+
:type NodeId: str
|
|
16628
|
+
:param _ResourceGroupId: 当时实例所属资源组 id
|
|
16629
|
+
:type ResourceGroupId: str
|
|
16630
|
+
:param _ResourceGroupName: 资源组名称
|
|
16631
|
+
:type ResourceGroupName: str
|
|
16632
|
+
:param _ResourceInfo: 实例的资源占用信息
|
|
16633
|
+
:type ResourceInfo: :class:`tencentcloud.tione.v20211111.models.ResourceInfo`
|
|
16586
16634
|
"""
|
|
16587
16635
|
self._Name = None
|
|
16588
16636
|
self._Uid = None
|
|
@@ -16597,6 +16645,10 @@ class Pod(AbstractModel):
|
|
|
16597
16645
|
self._StartScheduleTime = None
|
|
16598
16646
|
self._Message = None
|
|
16599
16647
|
self._NodeIP = None
|
|
16648
|
+
self._NodeId = None
|
|
16649
|
+
self._ResourceGroupId = None
|
|
16650
|
+
self._ResourceGroupName = None
|
|
16651
|
+
self._ResourceInfo = None
|
|
16600
16652
|
|
|
16601
16653
|
@property
|
|
16602
16654
|
def Name(self):
|
|
@@ -16754,6 +16806,50 @@ class Pod(AbstractModel):
|
|
|
16754
16806
|
def NodeIP(self, NodeIP):
|
|
16755
16807
|
self._NodeIP = NodeIP
|
|
16756
16808
|
|
|
16809
|
+
@property
|
|
16810
|
+
def NodeId(self):
|
|
16811
|
+
"""当前实例所在节点id
|
|
16812
|
+
:rtype: str
|
|
16813
|
+
"""
|
|
16814
|
+
return self._NodeId
|
|
16815
|
+
|
|
16816
|
+
@NodeId.setter
|
|
16817
|
+
def NodeId(self, NodeId):
|
|
16818
|
+
self._NodeId = NodeId
|
|
16819
|
+
|
|
16820
|
+
@property
|
|
16821
|
+
def ResourceGroupId(self):
|
|
16822
|
+
"""当时实例所属资源组 id
|
|
16823
|
+
:rtype: str
|
|
16824
|
+
"""
|
|
16825
|
+
return self._ResourceGroupId
|
|
16826
|
+
|
|
16827
|
+
@ResourceGroupId.setter
|
|
16828
|
+
def ResourceGroupId(self, ResourceGroupId):
|
|
16829
|
+
self._ResourceGroupId = ResourceGroupId
|
|
16830
|
+
|
|
16831
|
+
@property
|
|
16832
|
+
def ResourceGroupName(self):
|
|
16833
|
+
"""资源组名称
|
|
16834
|
+
:rtype: str
|
|
16835
|
+
"""
|
|
16836
|
+
return self._ResourceGroupName
|
|
16837
|
+
|
|
16838
|
+
@ResourceGroupName.setter
|
|
16839
|
+
def ResourceGroupName(self, ResourceGroupName):
|
|
16840
|
+
self._ResourceGroupName = ResourceGroupName
|
|
16841
|
+
|
|
16842
|
+
@property
|
|
16843
|
+
def ResourceInfo(self):
|
|
16844
|
+
"""实例的资源占用信息
|
|
16845
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.ResourceInfo`
|
|
16846
|
+
"""
|
|
16847
|
+
return self._ResourceInfo
|
|
16848
|
+
|
|
16849
|
+
@ResourceInfo.setter
|
|
16850
|
+
def ResourceInfo(self, ResourceInfo):
|
|
16851
|
+
self._ResourceInfo = ResourceInfo
|
|
16852
|
+
|
|
16757
16853
|
|
|
16758
16854
|
def _deserialize(self, params):
|
|
16759
16855
|
self._Name = params.get("Name")
|
|
@@ -16778,6 +16874,12 @@ class Pod(AbstractModel):
|
|
|
16778
16874
|
self._StartScheduleTime = params.get("StartScheduleTime")
|
|
16779
16875
|
self._Message = params.get("Message")
|
|
16780
16876
|
self._NodeIP = params.get("NodeIP")
|
|
16877
|
+
self._NodeId = params.get("NodeId")
|
|
16878
|
+
self._ResourceGroupId = params.get("ResourceGroupId")
|
|
16879
|
+
self._ResourceGroupName = params.get("ResourceGroupName")
|
|
16880
|
+
if params.get("ResourceInfo") is not None:
|
|
16881
|
+
self._ResourceInfo = ResourceInfo()
|
|
16882
|
+
self._ResourceInfo._deserialize(params.get("ResourceInfo"))
|
|
16781
16883
|
memeber_set = set(params.keys())
|
|
16782
16884
|
for name, value in vars(self).items():
|
|
16783
16885
|
property_name = name[1:]
|
|
@@ -17256,6 +17358,51 @@ class PublicDataSourceFS(AbstractModel):
|
|
|
17256
17358
|
|
|
17257
17359
|
"""
|
|
17258
17360
|
|
|
17361
|
+
def __init__(self):
|
|
17362
|
+
r"""
|
|
17363
|
+
:param _DataSourceId: 数据源id
|
|
17364
|
+
:type DataSourceId: str
|
|
17365
|
+
:param _SubPath: 相对数据源子路径
|
|
17366
|
+
:type SubPath: str
|
|
17367
|
+
"""
|
|
17368
|
+
self._DataSourceId = None
|
|
17369
|
+
self._SubPath = None
|
|
17370
|
+
|
|
17371
|
+
@property
|
|
17372
|
+
def DataSourceId(self):
|
|
17373
|
+
"""数据源id
|
|
17374
|
+
:rtype: str
|
|
17375
|
+
"""
|
|
17376
|
+
return self._DataSourceId
|
|
17377
|
+
|
|
17378
|
+
@DataSourceId.setter
|
|
17379
|
+
def DataSourceId(self, DataSourceId):
|
|
17380
|
+
self._DataSourceId = DataSourceId
|
|
17381
|
+
|
|
17382
|
+
@property
|
|
17383
|
+
def SubPath(self):
|
|
17384
|
+
"""相对数据源子路径
|
|
17385
|
+
:rtype: str
|
|
17386
|
+
"""
|
|
17387
|
+
return self._SubPath
|
|
17388
|
+
|
|
17389
|
+
@SubPath.setter
|
|
17390
|
+
def SubPath(self, SubPath):
|
|
17391
|
+
self._SubPath = SubPath
|
|
17392
|
+
|
|
17393
|
+
|
|
17394
|
+
def _deserialize(self, params):
|
|
17395
|
+
self._DataSourceId = params.get("DataSourceId")
|
|
17396
|
+
self._SubPath = params.get("SubPath")
|
|
17397
|
+
memeber_set = set(params.keys())
|
|
17398
|
+
for name, value in vars(self).items():
|
|
17399
|
+
property_name = name[1:]
|
|
17400
|
+
if property_name in memeber_set:
|
|
17401
|
+
memeber_set.remove(property_name)
|
|
17402
|
+
if len(memeber_set) > 0:
|
|
17403
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17404
|
+
|
|
17405
|
+
|
|
17259
17406
|
|
|
17260
17407
|
class PushTrainingMetricsRequest(AbstractModel):
|
|
17261
17408
|
"""PushTrainingMetrics请求参数结构体
|
|
@@ -17745,7 +17892,7 @@ class ResourceGroup(AbstractModel):
|
|
|
17745
17892
|
:type FreeInstance: int
|
|
17746
17893
|
:param _TotalInstance: 总节点个数(所有节点)
|
|
17747
17894
|
:type TotalInstance: int
|
|
17748
|
-
:param _UsedResource:
|
|
17895
|
+
:param _UsedResource: 资源组已用的资源
|
|
17749
17896
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17750
17897
|
:type UsedResource: :class:`tencentcloud.tione.v20211111.models.GroupResource`
|
|
17751
17898
|
:param _TotalResource: 资源组总资源
|
|
@@ -17813,7 +17960,7 @@ class ResourceGroup(AbstractModel):
|
|
|
17813
17960
|
|
|
17814
17961
|
@property
|
|
17815
17962
|
def UsedResource(self):
|
|
17816
|
-
"""
|
|
17963
|
+
"""资源组已用的资源
|
|
17817
17964
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17818
17965
|
:rtype: :class:`tencentcloud.tione.v20211111.models.GroupResource`
|
|
17819
17966
|
"""
|
|
@@ -17893,6 +18040,57 @@ class ResourceGroup(AbstractModel):
|
|
|
17893
18040
|
|
|
17894
18041
|
|
|
17895
18042
|
|
|
18043
|
+
class ResourceGroupInfo(AbstractModel):
|
|
18044
|
+
"""在线服务中服务的资源组简略信息结构
|
|
18045
|
+
|
|
18046
|
+
"""
|
|
18047
|
+
|
|
18048
|
+
def __init__(self):
|
|
18049
|
+
r"""
|
|
18050
|
+
:param _ResourceGroupId: 资源组 id
|
|
18051
|
+
:type ResourceGroupId: str
|
|
18052
|
+
:param _ResourceGroupName: 资源组名称
|
|
18053
|
+
:type ResourceGroupName: str
|
|
18054
|
+
"""
|
|
18055
|
+
self._ResourceGroupId = None
|
|
18056
|
+
self._ResourceGroupName = None
|
|
18057
|
+
|
|
18058
|
+
@property
|
|
18059
|
+
def ResourceGroupId(self):
|
|
18060
|
+
"""资源组 id
|
|
18061
|
+
:rtype: str
|
|
18062
|
+
"""
|
|
18063
|
+
return self._ResourceGroupId
|
|
18064
|
+
|
|
18065
|
+
@ResourceGroupId.setter
|
|
18066
|
+
def ResourceGroupId(self, ResourceGroupId):
|
|
18067
|
+
self._ResourceGroupId = ResourceGroupId
|
|
18068
|
+
|
|
18069
|
+
@property
|
|
18070
|
+
def ResourceGroupName(self):
|
|
18071
|
+
"""资源组名称
|
|
18072
|
+
:rtype: str
|
|
18073
|
+
"""
|
|
18074
|
+
return self._ResourceGroupName
|
|
18075
|
+
|
|
18076
|
+
@ResourceGroupName.setter
|
|
18077
|
+
def ResourceGroupName(self, ResourceGroupName):
|
|
18078
|
+
self._ResourceGroupName = ResourceGroupName
|
|
18079
|
+
|
|
18080
|
+
|
|
18081
|
+
def _deserialize(self, params):
|
|
18082
|
+
self._ResourceGroupId = params.get("ResourceGroupId")
|
|
18083
|
+
self._ResourceGroupName = params.get("ResourceGroupName")
|
|
18084
|
+
memeber_set = set(params.keys())
|
|
18085
|
+
for name, value in vars(self).items():
|
|
18086
|
+
property_name = name[1:]
|
|
18087
|
+
if property_name in memeber_set:
|
|
18088
|
+
memeber_set.remove(property_name)
|
|
18089
|
+
if len(memeber_set) > 0:
|
|
18090
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18091
|
+
|
|
18092
|
+
|
|
18093
|
+
|
|
17896
18094
|
class ResourceInfo(AbstractModel):
|
|
17897
18095
|
"""描述资源信息
|
|
17898
18096
|
|
|
@@ -18328,6 +18526,42 @@ class ScheduledAction(AbstractModel):
|
|
|
18328
18526
|
|
|
18329
18527
|
|
|
18330
18528
|
|
|
18529
|
+
class SchedulingPolicy(AbstractModel):
|
|
18530
|
+
"""服务的调度策略配置
|
|
18531
|
+
|
|
18532
|
+
"""
|
|
18533
|
+
|
|
18534
|
+
def __init__(self):
|
|
18535
|
+
r"""
|
|
18536
|
+
:param _CrossResourceGroupScheduling: 是否启用了跨资源组调度开关
|
|
18537
|
+
:type CrossResourceGroupScheduling: bool
|
|
18538
|
+
"""
|
|
18539
|
+
self._CrossResourceGroupScheduling = None
|
|
18540
|
+
|
|
18541
|
+
@property
|
|
18542
|
+
def CrossResourceGroupScheduling(self):
|
|
18543
|
+
"""是否启用了跨资源组调度开关
|
|
18544
|
+
:rtype: bool
|
|
18545
|
+
"""
|
|
18546
|
+
return self._CrossResourceGroupScheduling
|
|
18547
|
+
|
|
18548
|
+
@CrossResourceGroupScheduling.setter
|
|
18549
|
+
def CrossResourceGroupScheduling(self, CrossResourceGroupScheduling):
|
|
18550
|
+
self._CrossResourceGroupScheduling = CrossResourceGroupScheduling
|
|
18551
|
+
|
|
18552
|
+
|
|
18553
|
+
def _deserialize(self, params):
|
|
18554
|
+
self._CrossResourceGroupScheduling = params.get("CrossResourceGroupScheduling")
|
|
18555
|
+
memeber_set = set(params.keys())
|
|
18556
|
+
for name, value in vars(self).items():
|
|
18557
|
+
property_name = name[1:]
|
|
18558
|
+
if property_name in memeber_set:
|
|
18559
|
+
memeber_set.remove(property_name)
|
|
18560
|
+
if len(memeber_set) > 0:
|
|
18561
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18562
|
+
|
|
18563
|
+
|
|
18564
|
+
|
|
18331
18565
|
class SchemaInfo(AbstractModel):
|
|
18332
18566
|
"""表格数据集表头信息
|
|
18333
18567
|
|
|
@@ -18497,6 +18731,10 @@ DEFAULT: 其他来源
|
|
|
18497
18731
|
:type MonitorSource: str
|
|
18498
18732
|
:param _SubUinName: 服务创建者的子账号名称
|
|
18499
18733
|
:type SubUinName: str
|
|
18734
|
+
:param _SchedulingPolicy: 服务的调度策略
|
|
18735
|
+
:type SchedulingPolicy: :class:`tencentcloud.tione.v20211111.models.SchedulingPolicy`
|
|
18736
|
+
:param _ExternalResourceGroups: 外部的资源组信息,表示借调了哪些资源组的资源
|
|
18737
|
+
:type ExternalResourceGroups: list of ResourceGroupInfo
|
|
18500
18738
|
"""
|
|
18501
18739
|
self._ServiceGroupId = None
|
|
18502
18740
|
self._ServiceId = None
|
|
@@ -18533,6 +18771,8 @@ DEFAULT: 其他来源
|
|
|
18533
18771
|
self._InstancePerReplicas = None
|
|
18534
18772
|
self._MonitorSource = None
|
|
18535
18773
|
self._SubUinName = None
|
|
18774
|
+
self._SchedulingPolicy = None
|
|
18775
|
+
self._ExternalResourceGroups = None
|
|
18536
18776
|
|
|
18537
18777
|
@property
|
|
18538
18778
|
def ServiceGroupId(self):
|
|
@@ -18968,6 +19208,28 @@ DEFAULT: 其他来源
|
|
|
18968
19208
|
def SubUinName(self, SubUinName):
|
|
18969
19209
|
self._SubUinName = SubUinName
|
|
18970
19210
|
|
|
19211
|
+
@property
|
|
19212
|
+
def SchedulingPolicy(self):
|
|
19213
|
+
"""服务的调度策略
|
|
19214
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.SchedulingPolicy`
|
|
19215
|
+
"""
|
|
19216
|
+
return self._SchedulingPolicy
|
|
19217
|
+
|
|
19218
|
+
@SchedulingPolicy.setter
|
|
19219
|
+
def SchedulingPolicy(self, SchedulingPolicy):
|
|
19220
|
+
self._SchedulingPolicy = SchedulingPolicy
|
|
19221
|
+
|
|
19222
|
+
@property
|
|
19223
|
+
def ExternalResourceGroups(self):
|
|
19224
|
+
"""外部的资源组信息,表示借调了哪些资源组的资源
|
|
19225
|
+
:rtype: list of ResourceGroupInfo
|
|
19226
|
+
"""
|
|
19227
|
+
return self._ExternalResourceGroups
|
|
19228
|
+
|
|
19229
|
+
@ExternalResourceGroups.setter
|
|
19230
|
+
def ExternalResourceGroups(self, ExternalResourceGroups):
|
|
19231
|
+
self._ExternalResourceGroups = ExternalResourceGroups
|
|
19232
|
+
|
|
18971
19233
|
|
|
18972
19234
|
def _deserialize(self, params):
|
|
18973
19235
|
self._ServiceGroupId = params.get("ServiceGroupId")
|
|
@@ -19016,6 +19278,15 @@ DEFAULT: 其他来源
|
|
|
19016
19278
|
self._InstancePerReplicas = params.get("InstancePerReplicas")
|
|
19017
19279
|
self._MonitorSource = params.get("MonitorSource")
|
|
19018
19280
|
self._SubUinName = params.get("SubUinName")
|
|
19281
|
+
if params.get("SchedulingPolicy") is not None:
|
|
19282
|
+
self._SchedulingPolicy = SchedulingPolicy()
|
|
19283
|
+
self._SchedulingPolicy._deserialize(params.get("SchedulingPolicy"))
|
|
19284
|
+
if params.get("ExternalResourceGroups") is not None:
|
|
19285
|
+
self._ExternalResourceGroups = []
|
|
19286
|
+
for item in params.get("ExternalResourceGroups"):
|
|
19287
|
+
obj = ResourceGroupInfo()
|
|
19288
|
+
obj._deserialize(item)
|
|
19289
|
+
self._ExternalResourceGroups.append(obj)
|
|
19019
19290
|
memeber_set = set(params.keys())
|
|
19020
19291
|
for name, value in vars(self).items():
|
|
19021
19292
|
property_name = name[1:]
|
|
@@ -20040,6 +20311,10 @@ HYBRID_PAID:
|
|
|
20040
20311
|
:type HealthProbe: :class:`tencentcloud.tione.v20211111.models.HealthProbe`
|
|
20041
20312
|
:param _RollingUpdate: 滚动更新配置
|
|
20042
20313
|
:type RollingUpdate: :class:`tencentcloud.tione.v20211111.models.RollingUpdate`
|
|
20314
|
+
:param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST、ROLE时生效,默认1
|
|
20315
|
+
:type InstancePerReplicas: int
|
|
20316
|
+
:param _VolumeMounts: 批量数据盘挂载配置
|
|
20317
|
+
:type VolumeMounts: list of VolumeMount
|
|
20043
20318
|
"""
|
|
20044
20319
|
self._Replicas = None
|
|
20045
20320
|
self._ImageInfo = None
|
|
@@ -20078,6 +20353,8 @@ HYBRID_PAID:
|
|
|
20078
20353
|
self._GrpcEnable = None
|
|
20079
20354
|
self._HealthProbe = None
|
|
20080
20355
|
self._RollingUpdate = None
|
|
20356
|
+
self._InstancePerReplicas = None
|
|
20357
|
+
self._VolumeMounts = None
|
|
20081
20358
|
|
|
20082
20359
|
@property
|
|
20083
20360
|
def Replicas(self):
|
|
@@ -20533,6 +20810,28 @@ HYBRID_PAID:
|
|
|
20533
20810
|
def RollingUpdate(self, RollingUpdate):
|
|
20534
20811
|
self._RollingUpdate = RollingUpdate
|
|
20535
20812
|
|
|
20813
|
+
@property
|
|
20814
|
+
def InstancePerReplicas(self):
|
|
20815
|
+
"""单副本下的实例数,仅在部署类型为DIST、ROLE时生效,默认1
|
|
20816
|
+
:rtype: int
|
|
20817
|
+
"""
|
|
20818
|
+
return self._InstancePerReplicas
|
|
20819
|
+
|
|
20820
|
+
@InstancePerReplicas.setter
|
|
20821
|
+
def InstancePerReplicas(self, InstancePerReplicas):
|
|
20822
|
+
self._InstancePerReplicas = InstancePerReplicas
|
|
20823
|
+
|
|
20824
|
+
@property
|
|
20825
|
+
def VolumeMounts(self):
|
|
20826
|
+
"""批量数据盘挂载配置
|
|
20827
|
+
:rtype: list of VolumeMount
|
|
20828
|
+
"""
|
|
20829
|
+
return self._VolumeMounts
|
|
20830
|
+
|
|
20831
|
+
@VolumeMounts.setter
|
|
20832
|
+
def VolumeMounts(self, VolumeMounts):
|
|
20833
|
+
self._VolumeMounts = VolumeMounts
|
|
20834
|
+
|
|
20536
20835
|
|
|
20537
20836
|
def _deserialize(self, params):
|
|
20538
20837
|
self._Replicas = params.get("Replicas")
|
|
@@ -20617,6 +20916,13 @@ HYBRID_PAID:
|
|
|
20617
20916
|
if params.get("RollingUpdate") is not None:
|
|
20618
20917
|
self._RollingUpdate = RollingUpdate()
|
|
20619
20918
|
self._RollingUpdate._deserialize(params.get("RollingUpdate"))
|
|
20919
|
+
self._InstancePerReplicas = params.get("InstancePerReplicas")
|
|
20920
|
+
if params.get("VolumeMounts") is not None:
|
|
20921
|
+
self._VolumeMounts = []
|
|
20922
|
+
for item in params.get("VolumeMounts"):
|
|
20923
|
+
obj = VolumeMount()
|
|
20924
|
+
obj._deserialize(item)
|
|
20925
|
+
self._VolumeMounts.append(obj)
|
|
20620
20926
|
memeber_set = set(params.keys())
|
|
20621
20927
|
for name, value in vars(self).items():
|
|
20622
20928
|
property_name = name[1:]
|
|
@@ -23588,9 +23894,13 @@ class VolumeMount(AbstractModel):
|
|
|
23588
23894
|
:type CFSConfig: :class:`tencentcloud.tione.v20211111.models.CFSConfig`
|
|
23589
23895
|
:param _VolumeSourceType: 挂载源类型,CFS、COS,默认为CFS
|
|
23590
23896
|
:type VolumeSourceType: str
|
|
23897
|
+
:param _MountPath: 自定义容器内挂载路径
|
|
23898
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23899
|
+
:type MountPath: str
|
|
23591
23900
|
"""
|
|
23592
23901
|
self._CFSConfig = None
|
|
23593
23902
|
self._VolumeSourceType = None
|
|
23903
|
+
self._MountPath = None
|
|
23594
23904
|
|
|
23595
23905
|
@property
|
|
23596
23906
|
def CFSConfig(self):
|
|
@@ -23614,12 +23924,25 @@ class VolumeMount(AbstractModel):
|
|
|
23614
23924
|
def VolumeSourceType(self, VolumeSourceType):
|
|
23615
23925
|
self._VolumeSourceType = VolumeSourceType
|
|
23616
23926
|
|
|
23927
|
+
@property
|
|
23928
|
+
def MountPath(self):
|
|
23929
|
+
"""自定义容器内挂载路径
|
|
23930
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23931
|
+
:rtype: str
|
|
23932
|
+
"""
|
|
23933
|
+
return self._MountPath
|
|
23934
|
+
|
|
23935
|
+
@MountPath.setter
|
|
23936
|
+
def MountPath(self, MountPath):
|
|
23937
|
+
self._MountPath = MountPath
|
|
23938
|
+
|
|
23617
23939
|
|
|
23618
23940
|
def _deserialize(self, params):
|
|
23619
23941
|
if params.get("CFSConfig") is not None:
|
|
23620
23942
|
self._CFSConfig = CFSConfig()
|
|
23621
23943
|
self._CFSConfig._deserialize(params.get("CFSConfig"))
|
|
23622
23944
|
self._VolumeSourceType = params.get("VolumeSourceType")
|
|
23945
|
+
self._MountPath = params.get("MountPath")
|
|
23623
23946
|
memeber_set = set(params.keys())
|
|
23624
23947
|
for name, value in vars(self).items():
|
|
23625
23948
|
property_name = name[1:]
|
|
@@ -4068,6 +4068,8 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4068
4068
|
- 容器网络插件为CiliumOverlay。
|
|
4069
4069
|
- 支持CDC的托管集群,且网络插件为VPC-CNI。
|
|
4070
4070
|
:type SubnetId: str
|
|
4071
|
+
:param _DataPlaneV2: 是否启用了 DataPlaneV2(cilium替代kube-proxy)
|
|
4072
|
+
:type DataPlaneV2: bool
|
|
4071
4073
|
"""
|
|
4072
4074
|
self._ClusterCIDR = None
|
|
4073
4075
|
self._IgnoreClusterCIDRConflict = None
|
|
@@ -4084,6 +4086,7 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4084
4086
|
self._Ipv6ServiceCIDR = None
|
|
4085
4087
|
self._CiliumMode = None
|
|
4086
4088
|
self._SubnetId = None
|
|
4089
|
+
self._DataPlaneV2 = None
|
|
4087
4090
|
|
|
4088
4091
|
@property
|
|
4089
4092
|
def ClusterCIDR(self):
|
|
@@ -4254,6 +4257,17 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4254
4257
|
def SubnetId(self, SubnetId):
|
|
4255
4258
|
self._SubnetId = SubnetId
|
|
4256
4259
|
|
|
4260
|
+
@property
|
|
4261
|
+
def DataPlaneV2(self):
|
|
4262
|
+
"""是否启用了 DataPlaneV2(cilium替代kube-proxy)
|
|
4263
|
+
:rtype: bool
|
|
4264
|
+
"""
|
|
4265
|
+
return self._DataPlaneV2
|
|
4266
|
+
|
|
4267
|
+
@DataPlaneV2.setter
|
|
4268
|
+
def DataPlaneV2(self, DataPlaneV2):
|
|
4269
|
+
self._DataPlaneV2 = DataPlaneV2
|
|
4270
|
+
|
|
4257
4271
|
|
|
4258
4272
|
def _deserialize(self, params):
|
|
4259
4273
|
self._ClusterCIDR = params.get("ClusterCIDR")
|
|
@@ -4271,6 +4285,7 @@ class ClusterNetworkSettings(AbstractModel):
|
|
|
4271
4285
|
self._Ipv6ServiceCIDR = params.get("Ipv6ServiceCIDR")
|
|
4272
4286
|
self._CiliumMode = params.get("CiliumMode")
|
|
4273
4287
|
self._SubnetId = params.get("SubnetId")
|
|
4288
|
+
self._DataPlaneV2 = params.get("DataPlaneV2")
|
|
4274
4289
|
memeber_set = set(params.keys())
|
|
4275
4290
|
for name, value in vars(self).items():
|
|
4276
4291
|
property_name = name[1:]
|