tencentcloud-sdk-python 3.0.1348__py2.py3-none-any.whl → 3.0.1350__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/antiddos/v20200309/models.py +0 -116
- tencentcloud/bi/v20220105/models.py +8 -0
- tencentcloud/captcha/v20190722/models.py +15 -30
- tencentcloud/cbs/v20170312/models.py +0 -4
- tencentcloud/ccc/v20200210/errorcodes.py +3 -0
- tencentcloud/ccc/v20200210/models.py +267 -52
- tencentcloud/cdwpg/v20201230/models.py +2 -2
- tencentcloud/cfw/v20190904/models.py +2 -2
- tencentcloud/ckafka/v20190819/models.py +6 -6
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/models.py +10 -14
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +60 -0
- tencentcloud/cynosdb/v20190107/models.py +0 -14
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dlc/v20210125/models.py +256 -16
- tencentcloud/domain/v20180808/models.py +14 -6
- tencentcloud/dts/v20180330/models.py +0 -2
- tencentcloud/dts/v20211206/models.py +0 -14
- tencentcloud/ecdn/v20191012/ecdn_client.py +6 -2
- tencentcloud/emr/v20190103/models.py +4 -4
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +5 -3
- tencentcloud/ess/v20201111/models.py +55 -22
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +10 -10
- tencentcloud/gs/v20191118/models.py +15 -0
- tencentcloud/hai/v20230812/models.py +0 -52
- tencentcloud/hunyuan/v20230901/models.py +6 -4
- tencentcloud/iotexplorer/v20190423/models.py +34 -0
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/iotvideo/v20211125/models.py +34 -0
- tencentcloud/live/v20180801/models.py +53 -24
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mariadb/v20170312/models.py +2 -6
- tencentcloud/mmps/v20200710/models.py +0 -4
- tencentcloud/monitor/v20180724/models.py +95 -14
- tencentcloud/mps/v20190612/errorcodes.py +1 -5
- tencentcloud/mps/v20190612/models.py +260 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +6 -0
- tencentcloud/mqtt/v20240516/models.py +322 -182
- tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
- tencentcloud/ocr/v20181119/errorcodes.py +0 -9
- tencentcloud/ocr/v20181119/models.py +29 -478
- tencentcloud/ocr/v20181119/ocr_client.py +5 -79
- tencentcloud/partners/v20180321/models.py +154 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/privatedns/v20201028/models.py +0 -22
- tencentcloud/sqlserver/v20180328/models.py +60 -0
- tencentcloud/taf/v20200210/models.py +270 -0
- tencentcloud/taf/v20200210/taf_client.py +23 -0
- tencentcloud/tbaas/v20180416/models.py +0 -12
- tencentcloud/tcr/v20190924/models.py +30 -20
- tencentcloud/tdid/v20210519/models.py +0 -10
- tencentcloud/tdmq/v20200217/models.py +0 -96
- tencentcloud/tdmq/v20200217/tdmq_client.py +0 -25
- tencentcloud/thpc/v20230321/models.py +15 -0
- tencentcloud/tke/v20180525/models.py +688 -556
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +30 -0
- tencentcloud/tsf/v20180326/models.py +56 -14
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +59 -357
- tencentcloud/vod/v20180717/vod_client.py +2 -1
- tencentcloud/vpc/v20170312/models.py +287 -98
- tencentcloud/vpc/v20170312/vpc_client.py +8 -5
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1350.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1350.dist-info}/RECORD +75 -75
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1350.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1350.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1350.dist-info}/top_level.txt +0 -0
@@ -1465,24 +1465,13 @@ class CbsVolume(AbstractModel):
|
|
1465
1465
|
|
1466
1466
|
def __init__(self):
|
1467
1467
|
r"""
|
1468
|
-
:param _Name: cbs volume 数据卷名称
|
1469
|
-
:type Name: str
|
1470
1468
|
:param _CbsDiskId: 腾讯云cbs盘Id
|
1471
1469
|
:type CbsDiskId: str
|
1470
|
+
:param _Name: cbs volume 数据卷名称
|
1471
|
+
:type Name: str
|
1472
1472
|
"""
|
1473
|
-
self._Name = None
|
1474
1473
|
self._CbsDiskId = None
|
1475
|
-
|
1476
|
-
@property
|
1477
|
-
def Name(self):
|
1478
|
-
"""cbs volume 数据卷名称
|
1479
|
-
:rtype: str
|
1480
|
-
"""
|
1481
|
-
return self._Name
|
1482
|
-
|
1483
|
-
@Name.setter
|
1484
|
-
def Name(self, Name):
|
1485
|
-
self._Name = Name
|
1474
|
+
self._Name = None
|
1486
1475
|
|
1487
1476
|
@property
|
1488
1477
|
def CbsDiskId(self):
|
@@ -1495,10 +1484,21 @@ class CbsVolume(AbstractModel):
|
|
1495
1484
|
def CbsDiskId(self, CbsDiskId):
|
1496
1485
|
self._CbsDiskId = CbsDiskId
|
1497
1486
|
|
1487
|
+
@property
|
1488
|
+
def Name(self):
|
1489
|
+
"""cbs volume 数据卷名称
|
1490
|
+
:rtype: str
|
1491
|
+
"""
|
1492
|
+
return self._Name
|
1493
|
+
|
1494
|
+
@Name.setter
|
1495
|
+
def Name(self, Name):
|
1496
|
+
self._Name = Name
|
1497
|
+
|
1498
1498
|
|
1499
1499
|
def _deserialize(self, params):
|
1500
|
-
self._Name = params.get("Name")
|
1501
1500
|
self._CbsDiskId = params.get("CbsDiskId")
|
1501
|
+
self._Name = params.get("Name")
|
1502
1502
|
memeber_set = set(params.keys())
|
1503
1503
|
for name, value in vars(self).items():
|
1504
1504
|
property_name = name[1:]
|
@@ -4654,56 +4654,54 @@ class Container(AbstractModel):
|
|
4654
4654
|
:type Image: str
|
4655
4655
|
:param _Name: 容器名
|
4656
4656
|
:type Name: str
|
4657
|
-
:param _Commands: 容器启动命令
|
4658
|
-
:type Commands: list of str
|
4659
4657
|
:param _Args: 容器启动参数
|
4660
4658
|
:type Args: list of str
|
4661
|
-
:param
|
4662
|
-
:type
|
4659
|
+
:param _Commands: 容器启动命令
|
4660
|
+
:type Commands: list of str
|
4663
4661
|
:param _Cpu: CPU,制改容器最多可使用的核数,该值不可超过容器实例的总核数。单位:核。
|
4664
4662
|
:type Cpu: float
|
4665
|
-
:param _Memory: 内存,限制该容器最多可使用的内存值,该值不可超过容器实例的总内存值。单位:GiB
|
4666
|
-
:type Memory: float
|
4667
|
-
:param _VolumeMounts: 数据卷挂载信息
|
4668
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4669
|
-
:type VolumeMounts: list of VolumeMount
|
4670
4663
|
:param _CurrentState: 当前状态
|
4671
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4672
4664
|
:type CurrentState: :class:`tencentcloud.tke.v20180525.models.ContainerState`
|
4673
|
-
:param
|
4674
|
-
|
4675
|
-
:
|
4676
|
-
:param _WorkingDir: 容器工作目录
|
4665
|
+
:param _EnvironmentVars: 容器内操作系统的环境变量
|
4666
|
+
:type EnvironmentVars: list of EnvironmentVariable
|
4667
|
+
:param _GpuLimit: Gpu限制
|
4677
4668
|
注意:此字段可能返回 null,表示取不到有效值。
|
4678
|
-
:type
|
4669
|
+
:type GpuLimit: int
|
4679
4670
|
:param _LivenessProbe: 存活探针
|
4680
4671
|
注意:此字段可能返回 null,表示取不到有效值。
|
4681
4672
|
:type LivenessProbe: :class:`tencentcloud.tke.v20180525.models.LivenessOrReadinessProbe`
|
4673
|
+
:param _Memory: 内存,限制该容器最多可使用的内存值,该值不可超过容器实例的总内存值。单位:GiB
|
4674
|
+
:type Memory: float
|
4682
4675
|
:param _ReadinessProbe: 就绪探针
|
4683
4676
|
注意:此字段可能返回 null,表示取不到有效值。
|
4684
4677
|
:type ReadinessProbe: :class:`tencentcloud.tke.v20180525.models.LivenessOrReadinessProbe`
|
4685
|
-
:param
|
4678
|
+
:param _RestartCount: 重启次数
|
4686
4679
|
注意:此字段可能返回 null,表示取不到有效值。
|
4687
|
-
:type
|
4680
|
+
:type RestartCount: int
|
4688
4681
|
:param _SecurityContext: 容器的安全上下文
|
4689
4682
|
注意:此字段可能返回 null,表示取不到有效值。
|
4690
4683
|
:type SecurityContext: :class:`tencentcloud.tke.v20180525.models.SecurityContext`
|
4684
|
+
:param _VolumeMounts: 数据卷挂载信息
|
4685
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4686
|
+
:type VolumeMounts: list of VolumeMount
|
4687
|
+
:param _WorkingDir: 容器工作目录
|
4688
|
+
:type WorkingDir: str
|
4691
4689
|
"""
|
4692
4690
|
self._Image = None
|
4693
4691
|
self._Name = None
|
4694
|
-
self._Commands = None
|
4695
4692
|
self._Args = None
|
4696
|
-
self.
|
4693
|
+
self._Commands = None
|
4697
4694
|
self._Cpu = None
|
4698
|
-
self._Memory = None
|
4699
|
-
self._VolumeMounts = None
|
4700
4695
|
self._CurrentState = None
|
4701
|
-
self.
|
4702
|
-
self.
|
4696
|
+
self._EnvironmentVars = None
|
4697
|
+
self._GpuLimit = None
|
4703
4698
|
self._LivenessProbe = None
|
4699
|
+
self._Memory = None
|
4704
4700
|
self._ReadinessProbe = None
|
4705
|
-
self.
|
4701
|
+
self._RestartCount = None
|
4706
4702
|
self._SecurityContext = None
|
4703
|
+
self._VolumeMounts = None
|
4704
|
+
self._WorkingDir = None
|
4707
4705
|
|
4708
4706
|
@property
|
4709
4707
|
def Image(self):
|
@@ -4727,17 +4725,6 @@ class Container(AbstractModel):
|
|
4727
4725
|
def Name(self, Name):
|
4728
4726
|
self._Name = Name
|
4729
4727
|
|
4730
|
-
@property
|
4731
|
-
def Commands(self):
|
4732
|
-
"""容器启动命令
|
4733
|
-
:rtype: list of str
|
4734
|
-
"""
|
4735
|
-
return self._Commands
|
4736
|
-
|
4737
|
-
@Commands.setter
|
4738
|
-
def Commands(self, Commands):
|
4739
|
-
self._Commands = Commands
|
4740
|
-
|
4741
4728
|
@property
|
4742
4729
|
def Args(self):
|
4743
4730
|
"""容器启动参数
|
@@ -4750,15 +4737,15 @@ class Container(AbstractModel):
|
|
4750
4737
|
self._Args = Args
|
4751
4738
|
|
4752
4739
|
@property
|
4753
|
-
def
|
4754
|
-
"""
|
4755
|
-
:rtype: list of
|
4740
|
+
def Commands(self):
|
4741
|
+
"""容器启动命令
|
4742
|
+
:rtype: list of str
|
4756
4743
|
"""
|
4757
|
-
return self.
|
4744
|
+
return self._Commands
|
4758
4745
|
|
4759
|
-
@
|
4760
|
-
def
|
4761
|
-
self.
|
4746
|
+
@Commands.setter
|
4747
|
+
def Commands(self, Commands):
|
4748
|
+
self._Commands = Commands
|
4762
4749
|
|
4763
4750
|
@property
|
4764
4751
|
def Cpu(self):
|
@@ -4771,33 +4758,9 @@ class Container(AbstractModel):
|
|
4771
4758
|
def Cpu(self, Cpu):
|
4772
4759
|
self._Cpu = Cpu
|
4773
4760
|
|
4774
|
-
@property
|
4775
|
-
def Memory(self):
|
4776
|
-
"""内存,限制该容器最多可使用的内存值,该值不可超过容器实例的总内存值。单位:GiB
|
4777
|
-
:rtype: float
|
4778
|
-
"""
|
4779
|
-
return self._Memory
|
4780
|
-
|
4781
|
-
@Memory.setter
|
4782
|
-
def Memory(self, Memory):
|
4783
|
-
self._Memory = Memory
|
4784
|
-
|
4785
|
-
@property
|
4786
|
-
def VolumeMounts(self):
|
4787
|
-
"""数据卷挂载信息
|
4788
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4789
|
-
:rtype: list of VolumeMount
|
4790
|
-
"""
|
4791
|
-
return self._VolumeMounts
|
4792
|
-
|
4793
|
-
@VolumeMounts.setter
|
4794
|
-
def VolumeMounts(self, VolumeMounts):
|
4795
|
-
self._VolumeMounts = VolumeMounts
|
4796
|
-
|
4797
4761
|
@property
|
4798
4762
|
def CurrentState(self):
|
4799
4763
|
"""当前状态
|
4800
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4801
4764
|
:rtype: :class:`tencentcloud.tke.v20180525.models.ContainerState`
|
4802
4765
|
"""
|
4803
4766
|
return self._CurrentState
|
@@ -4807,28 +4770,27 @@ class Container(AbstractModel):
|
|
4807
4770
|
self._CurrentState = CurrentState
|
4808
4771
|
|
4809
4772
|
@property
|
4810
|
-
def
|
4811
|
-
"""
|
4812
|
-
|
4813
|
-
:rtype: int
|
4773
|
+
def EnvironmentVars(self):
|
4774
|
+
"""容器内操作系统的环境变量
|
4775
|
+
:rtype: list of EnvironmentVariable
|
4814
4776
|
"""
|
4815
|
-
return self.
|
4777
|
+
return self._EnvironmentVars
|
4816
4778
|
|
4817
|
-
@
|
4818
|
-
def
|
4819
|
-
self.
|
4779
|
+
@EnvironmentVars.setter
|
4780
|
+
def EnvironmentVars(self, EnvironmentVars):
|
4781
|
+
self._EnvironmentVars = EnvironmentVars
|
4820
4782
|
|
4821
4783
|
@property
|
4822
|
-
def
|
4823
|
-
"""
|
4784
|
+
def GpuLimit(self):
|
4785
|
+
"""Gpu限制
|
4824
4786
|
注意:此字段可能返回 null,表示取不到有效值。
|
4825
|
-
:rtype:
|
4787
|
+
:rtype: int
|
4826
4788
|
"""
|
4827
|
-
return self.
|
4789
|
+
return self._GpuLimit
|
4828
4790
|
|
4829
|
-
@
|
4830
|
-
def
|
4831
|
-
self.
|
4791
|
+
@GpuLimit.setter
|
4792
|
+
def GpuLimit(self, GpuLimit):
|
4793
|
+
self._GpuLimit = GpuLimit
|
4832
4794
|
|
4833
4795
|
@property
|
4834
4796
|
def LivenessProbe(self):
|
@@ -4842,6 +4804,17 @@ class Container(AbstractModel):
|
|
4842
4804
|
def LivenessProbe(self, LivenessProbe):
|
4843
4805
|
self._LivenessProbe = LivenessProbe
|
4844
4806
|
|
4807
|
+
@property
|
4808
|
+
def Memory(self):
|
4809
|
+
"""内存,限制该容器最多可使用的内存值,该值不可超过容器实例的总内存值。单位:GiB
|
4810
|
+
:rtype: float
|
4811
|
+
"""
|
4812
|
+
return self._Memory
|
4813
|
+
|
4814
|
+
@Memory.setter
|
4815
|
+
def Memory(self, Memory):
|
4816
|
+
self._Memory = Memory
|
4817
|
+
|
4845
4818
|
@property
|
4846
4819
|
def ReadinessProbe(self):
|
4847
4820
|
"""就绪探针
|
@@ -4855,16 +4828,16 @@ class Container(AbstractModel):
|
|
4855
4828
|
self._ReadinessProbe = ReadinessProbe
|
4856
4829
|
|
4857
4830
|
@property
|
4858
|
-
def
|
4859
|
-
"""
|
4831
|
+
def RestartCount(self):
|
4832
|
+
"""重启次数
|
4860
4833
|
注意:此字段可能返回 null,表示取不到有效值。
|
4861
4834
|
:rtype: int
|
4862
4835
|
"""
|
4863
|
-
return self.
|
4836
|
+
return self._RestartCount
|
4864
4837
|
|
4865
|
-
@
|
4866
|
-
def
|
4867
|
-
self.
|
4838
|
+
@RestartCount.setter
|
4839
|
+
def RestartCount(self, RestartCount):
|
4840
|
+
self._RestartCount = RestartCount
|
4868
4841
|
|
4869
4842
|
@property
|
4870
4843
|
def SecurityContext(self):
|
@@ -4878,41 +4851,64 @@ class Container(AbstractModel):
|
|
4878
4851
|
def SecurityContext(self, SecurityContext):
|
4879
4852
|
self._SecurityContext = SecurityContext
|
4880
4853
|
|
4854
|
+
@property
|
4855
|
+
def VolumeMounts(self):
|
4856
|
+
"""数据卷挂载信息
|
4857
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4858
|
+
:rtype: list of VolumeMount
|
4859
|
+
"""
|
4860
|
+
return self._VolumeMounts
|
4861
|
+
|
4862
|
+
@VolumeMounts.setter
|
4863
|
+
def VolumeMounts(self, VolumeMounts):
|
4864
|
+
self._VolumeMounts = VolumeMounts
|
4865
|
+
|
4866
|
+
@property
|
4867
|
+
def WorkingDir(self):
|
4868
|
+
"""容器工作目录
|
4869
|
+
:rtype: str
|
4870
|
+
"""
|
4871
|
+
return self._WorkingDir
|
4872
|
+
|
4873
|
+
@WorkingDir.setter
|
4874
|
+
def WorkingDir(self, WorkingDir):
|
4875
|
+
self._WorkingDir = WorkingDir
|
4876
|
+
|
4881
4877
|
|
4882
4878
|
def _deserialize(self, params):
|
4883
4879
|
self._Image = params.get("Image")
|
4884
4880
|
self._Name = params.get("Name")
|
4885
|
-
self._Commands = params.get("Commands")
|
4886
4881
|
self._Args = params.get("Args")
|
4882
|
+
self._Commands = params.get("Commands")
|
4883
|
+
self._Cpu = params.get("Cpu")
|
4884
|
+
if params.get("CurrentState") is not None:
|
4885
|
+
self._CurrentState = ContainerState()
|
4886
|
+
self._CurrentState._deserialize(params.get("CurrentState"))
|
4887
4887
|
if params.get("EnvironmentVars") is not None:
|
4888
4888
|
self._EnvironmentVars = []
|
4889
4889
|
for item in params.get("EnvironmentVars"):
|
4890
4890
|
obj = EnvironmentVariable()
|
4891
4891
|
obj._deserialize(item)
|
4892
4892
|
self._EnvironmentVars.append(obj)
|
4893
|
-
self.
|
4894
|
-
self._Memory = params.get("Memory")
|
4895
|
-
if params.get("VolumeMounts") is not None:
|
4896
|
-
self._VolumeMounts = []
|
4897
|
-
for item in params.get("VolumeMounts"):
|
4898
|
-
obj = VolumeMount()
|
4899
|
-
obj._deserialize(item)
|
4900
|
-
self._VolumeMounts.append(obj)
|
4901
|
-
if params.get("CurrentState") is not None:
|
4902
|
-
self._CurrentState = ContainerState()
|
4903
|
-
self._CurrentState._deserialize(params.get("CurrentState"))
|
4904
|
-
self._RestartCount = params.get("RestartCount")
|
4905
|
-
self._WorkingDir = params.get("WorkingDir")
|
4893
|
+
self._GpuLimit = params.get("GpuLimit")
|
4906
4894
|
if params.get("LivenessProbe") is not None:
|
4907
4895
|
self._LivenessProbe = LivenessOrReadinessProbe()
|
4908
4896
|
self._LivenessProbe._deserialize(params.get("LivenessProbe"))
|
4897
|
+
self._Memory = params.get("Memory")
|
4909
4898
|
if params.get("ReadinessProbe") is not None:
|
4910
4899
|
self._ReadinessProbe = LivenessOrReadinessProbe()
|
4911
4900
|
self._ReadinessProbe._deserialize(params.get("ReadinessProbe"))
|
4912
|
-
self.
|
4901
|
+
self._RestartCount = params.get("RestartCount")
|
4913
4902
|
if params.get("SecurityContext") is not None:
|
4914
4903
|
self._SecurityContext = SecurityContext()
|
4915
4904
|
self._SecurityContext._deserialize(params.get("SecurityContext"))
|
4905
|
+
if params.get("VolumeMounts") is not None:
|
4906
|
+
self._VolumeMounts = []
|
4907
|
+
for item in params.get("VolumeMounts"):
|
4908
|
+
obj = VolumeMount()
|
4909
|
+
obj._deserialize(item)
|
4910
|
+
self._VolumeMounts.append(obj)
|
4911
|
+
self._WorkingDir = params.get("WorkingDir")
|
4916
4912
|
memeber_set = set(params.keys())
|
4917
4913
|
for name, value in vars(self).items():
|
4918
4914
|
property_name = name[1:]
|
@@ -4930,34 +4926,94 @@ class ContainerState(AbstractModel):
|
|
4930
4926
|
|
4931
4927
|
def __init__(self):
|
4932
4928
|
r"""
|
4933
|
-
:param
|
4929
|
+
:param _ExitCode: 容器运行退出码
|
4934
4930
|
注意:此字段可能返回 null,表示取不到有效值。
|
4935
|
-
:type
|
4936
|
-
:param _State: 容器状态:created, running, exited, unknown
|
4937
|
-
:type State: str
|
4931
|
+
:type ExitCode: int
|
4938
4932
|
:param _FinishTime: 容器运行结束时间
|
4939
4933
|
注意:此字段可能返回 null,表示取不到有效值。
|
4940
4934
|
:type FinishTime: str
|
4941
|
-
:param
|
4935
|
+
:param _Message: 容器状态信息
|
4942
4936
|
注意:此字段可能返回 null,表示取不到有效值。
|
4943
|
-
:type
|
4937
|
+
:type Message: str
|
4944
4938
|
:param _Reason: 容器状态 Reason
|
4945
4939
|
注意:此字段可能返回 null,表示取不到有效值。
|
4946
4940
|
:type Reason: str
|
4947
|
-
:param _Message: 容器状态信息
|
4948
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4949
|
-
:type Message: str
|
4950
4941
|
:param _RestartCount: 容器重启次数
|
4951
4942
|
注意:此字段可能返回 null,表示取不到有效值。
|
4952
4943
|
:type RestartCount: int
|
4944
|
+
:param _StartTime: 容器运行开始时间
|
4945
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4946
|
+
:type StartTime: str
|
4947
|
+
:param _State: 容器状态:created, running, exited, unknown
|
4948
|
+
:type State: str
|
4953
4949
|
"""
|
4954
|
-
self._StartTime = None
|
4955
|
-
self._State = None
|
4956
|
-
self._FinishTime = None
|
4957
4950
|
self._ExitCode = None
|
4958
|
-
self.
|
4951
|
+
self._FinishTime = None
|
4959
4952
|
self._Message = None
|
4953
|
+
self._Reason = None
|
4960
4954
|
self._RestartCount = None
|
4955
|
+
self._StartTime = None
|
4956
|
+
self._State = None
|
4957
|
+
|
4958
|
+
@property
|
4959
|
+
def ExitCode(self):
|
4960
|
+
"""容器运行退出码
|
4961
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4962
|
+
:rtype: int
|
4963
|
+
"""
|
4964
|
+
return self._ExitCode
|
4965
|
+
|
4966
|
+
@ExitCode.setter
|
4967
|
+
def ExitCode(self, ExitCode):
|
4968
|
+
self._ExitCode = ExitCode
|
4969
|
+
|
4970
|
+
@property
|
4971
|
+
def FinishTime(self):
|
4972
|
+
"""容器运行结束时间
|
4973
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4974
|
+
:rtype: str
|
4975
|
+
"""
|
4976
|
+
return self._FinishTime
|
4977
|
+
|
4978
|
+
@FinishTime.setter
|
4979
|
+
def FinishTime(self, FinishTime):
|
4980
|
+
self._FinishTime = FinishTime
|
4981
|
+
|
4982
|
+
@property
|
4983
|
+
def Message(self):
|
4984
|
+
"""容器状态信息
|
4985
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4986
|
+
:rtype: str
|
4987
|
+
"""
|
4988
|
+
return self._Message
|
4989
|
+
|
4990
|
+
@Message.setter
|
4991
|
+
def Message(self, Message):
|
4992
|
+
self._Message = Message
|
4993
|
+
|
4994
|
+
@property
|
4995
|
+
def Reason(self):
|
4996
|
+
"""容器状态 Reason
|
4997
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4998
|
+
:rtype: str
|
4999
|
+
"""
|
5000
|
+
return self._Reason
|
5001
|
+
|
5002
|
+
@Reason.setter
|
5003
|
+
def Reason(self, Reason):
|
5004
|
+
self._Reason = Reason
|
5005
|
+
|
5006
|
+
@property
|
5007
|
+
def RestartCount(self):
|
5008
|
+
"""容器重启次数
|
5009
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5010
|
+
:rtype: int
|
5011
|
+
"""
|
5012
|
+
return self._RestartCount
|
5013
|
+
|
5014
|
+
@RestartCount.setter
|
5015
|
+
def RestartCount(self, RestartCount):
|
5016
|
+
self._RestartCount = RestartCount
|
4961
5017
|
|
4962
5018
|
@property
|
4963
5019
|
def StartTime(self):
|
@@ -4982,75 +5038,15 @@ class ContainerState(AbstractModel):
|
|
4982
5038
|
def State(self, State):
|
4983
5039
|
self._State = State
|
4984
5040
|
|
4985
|
-
@property
|
4986
|
-
def FinishTime(self):
|
4987
|
-
"""容器运行结束时间
|
4988
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4989
|
-
:rtype: str
|
4990
|
-
"""
|
4991
|
-
return self._FinishTime
|
4992
|
-
|
4993
|
-
@FinishTime.setter
|
4994
|
-
def FinishTime(self, FinishTime):
|
4995
|
-
self._FinishTime = FinishTime
|
4996
|
-
|
4997
|
-
@property
|
4998
|
-
def ExitCode(self):
|
4999
|
-
"""容器运行退出码
|
5000
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5001
|
-
:rtype: int
|
5002
|
-
"""
|
5003
|
-
return self._ExitCode
|
5004
|
-
|
5005
|
-
@ExitCode.setter
|
5006
|
-
def ExitCode(self, ExitCode):
|
5007
|
-
self._ExitCode = ExitCode
|
5008
|
-
|
5009
|
-
@property
|
5010
|
-
def Reason(self):
|
5011
|
-
"""容器状态 Reason
|
5012
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5013
|
-
:rtype: str
|
5014
|
-
"""
|
5015
|
-
return self._Reason
|
5016
|
-
|
5017
|
-
@Reason.setter
|
5018
|
-
def Reason(self, Reason):
|
5019
|
-
self._Reason = Reason
|
5020
|
-
|
5021
|
-
@property
|
5022
|
-
def Message(self):
|
5023
|
-
"""容器状态信息
|
5024
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5025
|
-
:rtype: str
|
5026
|
-
"""
|
5027
|
-
return self._Message
|
5028
|
-
|
5029
|
-
@Message.setter
|
5030
|
-
def Message(self, Message):
|
5031
|
-
self._Message = Message
|
5032
|
-
|
5033
|
-
@property
|
5034
|
-
def RestartCount(self):
|
5035
|
-
"""容器重启次数
|
5036
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5037
|
-
:rtype: int
|
5038
|
-
"""
|
5039
|
-
return self._RestartCount
|
5040
|
-
|
5041
|
-
@RestartCount.setter
|
5042
|
-
def RestartCount(self, RestartCount):
|
5043
|
-
self._RestartCount = RestartCount
|
5044
|
-
|
5045
5041
|
|
5046
5042
|
def _deserialize(self, params):
|
5047
|
-
self._StartTime = params.get("StartTime")
|
5048
|
-
self._State = params.get("State")
|
5049
|
-
self._FinishTime = params.get("FinishTime")
|
5050
5043
|
self._ExitCode = params.get("ExitCode")
|
5051
|
-
self.
|
5044
|
+
self._FinishTime = params.get("FinishTime")
|
5052
5045
|
self._Message = params.get("Message")
|
5046
|
+
self._Reason = params.get("Reason")
|
5053
5047
|
self._RestartCount = params.get("RestartCount")
|
5048
|
+
self._StartTime = params.get("StartTime")
|
5049
|
+
self._State = params.get("State")
|
5054
5050
|
memeber_set = set(params.keys())
|
5055
5051
|
for name, value in vars(self).items():
|
5056
5052
|
property_name = name[1:]
|
@@ -10006,23 +10002,19 @@ class DNSConfig(AbstractModel):
|
|
10006
10002
|
def __init__(self):
|
10007
10003
|
r"""
|
10008
10004
|
:param _Nameservers: DNS 服务器IP地址列表
|
10009
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10010
10005
|
:type Nameservers: list of str
|
10011
|
-
:param _Searches: DNS搜索域列表
|
10012
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10013
|
-
:type Searches: list of str
|
10014
10006
|
:param _Options: 对象选项列表,每个对象由name和value(可选)构成
|
10015
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10016
10007
|
:type Options: list of DNSConfigOption
|
10008
|
+
:param _Searches: DNS搜索域列表
|
10009
|
+
:type Searches: list of str
|
10017
10010
|
"""
|
10018
10011
|
self._Nameservers = None
|
10019
|
-
self._Searches = None
|
10020
10012
|
self._Options = None
|
10013
|
+
self._Searches = None
|
10021
10014
|
|
10022
10015
|
@property
|
10023
10016
|
def Nameservers(self):
|
10024
10017
|
"""DNS 服务器IP地址列表
|
10025
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10026
10018
|
:rtype: list of str
|
10027
10019
|
"""
|
10028
10020
|
return self._Nameservers
|
@@ -10031,22 +10023,9 @@ class DNSConfig(AbstractModel):
|
|
10031
10023
|
def Nameservers(self, Nameservers):
|
10032
10024
|
self._Nameservers = Nameservers
|
10033
10025
|
|
10034
|
-
@property
|
10035
|
-
def Searches(self):
|
10036
|
-
"""DNS搜索域列表
|
10037
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10038
|
-
:rtype: list of str
|
10039
|
-
"""
|
10040
|
-
return self._Searches
|
10041
|
-
|
10042
|
-
@Searches.setter
|
10043
|
-
def Searches(self, Searches):
|
10044
|
-
self._Searches = Searches
|
10045
|
-
|
10046
10026
|
@property
|
10047
10027
|
def Options(self):
|
10048
10028
|
"""对象选项列表,每个对象由name和value(可选)构成
|
10049
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10050
10029
|
:rtype: list of DNSConfigOption
|
10051
10030
|
"""
|
10052
10031
|
return self._Options
|
@@ -10055,16 +10034,27 @@ class DNSConfig(AbstractModel):
|
|
10055
10034
|
def Options(self, Options):
|
10056
10035
|
self._Options = Options
|
10057
10036
|
|
10037
|
+
@property
|
10038
|
+
def Searches(self):
|
10039
|
+
"""DNS搜索域列表
|
10040
|
+
:rtype: list of str
|
10041
|
+
"""
|
10042
|
+
return self._Searches
|
10043
|
+
|
10044
|
+
@Searches.setter
|
10045
|
+
def Searches(self, Searches):
|
10046
|
+
self._Searches = Searches
|
10047
|
+
|
10058
10048
|
|
10059
10049
|
def _deserialize(self, params):
|
10060
10050
|
self._Nameservers = params.get("Nameservers")
|
10061
|
-
self._Searches = params.get("Searches")
|
10062
10051
|
if params.get("Options") is not None:
|
10063
10052
|
self._Options = []
|
10064
10053
|
for item in params.get("Options"):
|
10065
10054
|
obj = DNSConfigOption()
|
10066
10055
|
obj._deserialize(item)
|
10067
10056
|
self._Options.append(obj)
|
10057
|
+
self._Searches = params.get("Searches")
|
10068
10058
|
memeber_set = set(params.keys())
|
10069
10059
|
for name, value in vars(self).items():
|
10070
10060
|
property_name = name[1:]
|
@@ -17512,7 +17502,6 @@ class DescribeEKSContainerInstanceRegionsResponse(AbstractModel):
|
|
17512
17502
|
def __init__(self):
|
17513
17503
|
r"""
|
17514
17504
|
:param _Regions: EKS Container Instance支持的地域信息
|
17515
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17516
17505
|
:type Regions: list of EksCiRegionInfo
|
17517
17506
|
:param _TotalCount: 总数
|
17518
17507
|
:type TotalCount: int
|
@@ -17526,7 +17515,6 @@ class DescribeEKSContainerInstanceRegionsResponse(AbstractModel):
|
|
17526
17515
|
@property
|
17527
17516
|
def Regions(self):
|
17528
17517
|
"""EKS Container Instance支持的地域信息
|
17529
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17530
17518
|
:rtype: list of EksCiRegionInfo
|
17531
17519
|
"""
|
17532
17520
|
return self._Regions
|
@@ -19987,6 +19975,75 @@ class DescribeLogSwitchesResponse(AbstractModel):
|
|
19987
19975
|
self._RequestId = params.get("RequestId")
|
19988
19976
|
|
19989
19977
|
|
19978
|
+
class DescribeOSImagesRequest(AbstractModel):
|
19979
|
+
"""DescribeOSImages请求参数结构体
|
19980
|
+
|
19981
|
+
"""
|
19982
|
+
|
19983
|
+
|
19984
|
+
class DescribeOSImagesResponse(AbstractModel):
|
19985
|
+
"""DescribeOSImages返回参数结构体
|
19986
|
+
|
19987
|
+
"""
|
19988
|
+
|
19989
|
+
def __init__(self):
|
19990
|
+
r"""
|
19991
|
+
:param _OSImageSeriesSet: 镜像信息列表
|
19992
|
+
:type OSImageSeriesSet: list of OSImage
|
19993
|
+
:param _TotalCount: 镜像数量
|
19994
|
+
:type TotalCount: int
|
19995
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
19996
|
+
:type RequestId: str
|
19997
|
+
"""
|
19998
|
+
self._OSImageSeriesSet = None
|
19999
|
+
self._TotalCount = None
|
20000
|
+
self._RequestId = None
|
20001
|
+
|
20002
|
+
@property
|
20003
|
+
def OSImageSeriesSet(self):
|
20004
|
+
"""镜像信息列表
|
20005
|
+
:rtype: list of OSImage
|
20006
|
+
"""
|
20007
|
+
return self._OSImageSeriesSet
|
20008
|
+
|
20009
|
+
@OSImageSeriesSet.setter
|
20010
|
+
def OSImageSeriesSet(self, OSImageSeriesSet):
|
20011
|
+
self._OSImageSeriesSet = OSImageSeriesSet
|
20012
|
+
|
20013
|
+
@property
|
20014
|
+
def TotalCount(self):
|
20015
|
+
"""镜像数量
|
20016
|
+
:rtype: int
|
20017
|
+
"""
|
20018
|
+
return self._TotalCount
|
20019
|
+
|
20020
|
+
@TotalCount.setter
|
20021
|
+
def TotalCount(self, TotalCount):
|
20022
|
+
self._TotalCount = TotalCount
|
20023
|
+
|
20024
|
+
@property
|
20025
|
+
def RequestId(self):
|
20026
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20027
|
+
:rtype: str
|
20028
|
+
"""
|
20029
|
+
return self._RequestId
|
20030
|
+
|
20031
|
+
@RequestId.setter
|
20032
|
+
def RequestId(self, RequestId):
|
20033
|
+
self._RequestId = RequestId
|
20034
|
+
|
20035
|
+
|
20036
|
+
def _deserialize(self, params):
|
20037
|
+
if params.get("OSImageSeriesSet") is not None:
|
20038
|
+
self._OSImageSeriesSet = []
|
20039
|
+
for item in params.get("OSImageSeriesSet"):
|
20040
|
+
obj = OSImage()
|
20041
|
+
obj._deserialize(item)
|
20042
|
+
self._OSImageSeriesSet.append(obj)
|
20043
|
+
self._TotalCount = params.get("TotalCount")
|
20044
|
+
self._RequestId = params.get("RequestId")
|
20045
|
+
|
20046
|
+
|
19990
20047
|
class DescribeOpenPolicyListRequest(AbstractModel):
|
19991
20048
|
"""DescribeOpenPolicyList请求参数结构体
|
19992
20049
|
|
@@ -26772,131 +26829,117 @@ class EksCi(AbstractModel):
|
|
26772
26829
|
|
26773
26830
|
def __init__(self):
|
26774
26831
|
r"""
|
26832
|
+
:param _AutoCreatedEipId: 自动为用户创建的EipId
|
26833
|
+
:type AutoCreatedEipId: str
|
26834
|
+
:param _CamRoleName: 为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
|
26835
|
+
:type CamRoleName: str
|
26836
|
+
:param _Containers: 容器列表
|
26837
|
+
:type Containers: list of Container
|
26838
|
+
:param _Cpu: CPU大小
|
26839
|
+
:type Cpu: float
|
26840
|
+
:param _CpuType: CPU类型
|
26841
|
+
:type CpuType: str
|
26842
|
+
:param _CreationTime: 接到请求后的系统创建时间。
|
26843
|
+
:type CreationTime: str
|
26844
|
+
:param _EipAddress: 容器实例绑定的Eip地址,注意可能为空
|
26845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26846
|
+
:type EipAddress: str
|
26775
26847
|
:param _EksCiId: EKS Cotainer Instance Id
|
26776
26848
|
:type EksCiId: str
|
26777
26849
|
:param _EksCiName: EKS Cotainer Instance Name
|
26778
26850
|
:type EksCiName: str
|
26851
|
+
:param _EksCiVolume: 数据卷信息
|
26852
|
+
:type EksCiVolume: :class:`tencentcloud.tke.v20180525.models.EksCiVolume`
|
26853
|
+
:param _GpuCount: GPU卡数量
|
26854
|
+
:type GpuCount: int
|
26855
|
+
:param _GpuType: GPU类型。如无使用GPU则不返回
|
26856
|
+
:type GpuType: str
|
26857
|
+
:param _InitContainers: 初始化容器列表
|
26858
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26859
|
+
:type InitContainers: list of Container
|
26779
26860
|
:param _Memory: 内存大小
|
26780
26861
|
:type Memory: float
|
26781
|
-
:param
|
26782
|
-
:type Cpu: float
|
26783
|
-
:param _SecurityGroupIds: 安全组ID
|
26784
|
-
:type SecurityGroupIds: list of str
|
26785
|
-
:param _RestartPolicy: 容器组的重启策略
|
26862
|
+
:param _PersistStatus: 容器状态是否持久化
|
26786
26863
|
注意:此字段可能返回 null,表示取不到有效值。
|
26864
|
+
:type PersistStatus: bool
|
26865
|
+
:param _PrivateIp: 内网ip地址
|
26866
|
+
:type PrivateIp: str
|
26867
|
+
:param _RestartPolicy: 容器组的重启策略
|
26787
26868
|
:type RestartPolicy: str
|
26869
|
+
:param _SecurityContext: 容器组运行的安全上下文
|
26870
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26871
|
+
:type SecurityContext: :class:`tencentcloud.tke.v20180525.models.SecurityContext`
|
26872
|
+
:param _SecurityGroupIds: 安全组ID
|
26873
|
+
:type SecurityGroupIds: list of str
|
26788
26874
|
:param _Status: 返回容器组创建状态:Pending,Running,Succeeded,Failed。其中:
|
26789
26875
|
Failed (运行失败)指的容器组退出,RestartPolilcy为Never, 有容器exitCode非0;
|
26790
26876
|
Succeeded(运行成功)指的是容器组退出了,RestartPolicy为Never或onFailure,所有容器exitCode都为0;
|
26791
26877
|
Failed和Succeeded这两种状态都会停止运行,停止计费。
|
26792
26878
|
Pending是创建中,Running是 运行中。
|
26793
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26794
26879
|
:type Status: str
|
26795
|
-
:param
|
26796
|
-
|
26797
|
-
:type CreationTime: str
|
26880
|
+
:param _SubnetId: 实例所属子网Id
|
26881
|
+
:type SubnetId: str
|
26798
26882
|
:param _SucceededTime: 容器全部成功退出后的时间
|
26799
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26800
26883
|
:type SucceededTime: str
|
26801
|
-
:param _Containers: 容器列表
|
26802
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26803
|
-
:type Containers: list of Container
|
26804
|
-
:param _EksCiVolume: 数据卷信息
|
26805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26806
|
-
:type EksCiVolume: :class:`tencentcloud.tke.v20180525.models.EksCiVolume`
|
26807
|
-
:param _SecurityContext: 容器组运行的安全上下文
|
26808
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26809
|
-
:type SecurityContext: :class:`tencentcloud.tke.v20180525.models.SecurityContext`
|
26810
|
-
:param _PrivateIp: 内网ip地址
|
26811
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26812
|
-
:type PrivateIp: str
|
26813
|
-
:param _EipAddress: 容器实例绑定的Eip地址,注意可能为空
|
26814
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26815
|
-
:type EipAddress: str
|
26816
|
-
:param _GpuType: GPU类型。如无使用GPU则不返回
|
26817
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26818
|
-
:type GpuType: str
|
26819
|
-
:param _CpuType: CPU类型
|
26820
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26821
|
-
:type CpuType: str
|
26822
|
-
:param _GpuCount: GPU卡数量
|
26823
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26824
|
-
:type GpuCount: int
|
26825
26884
|
:param _VpcId: 实例所属VPC的Id
|
26826
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26827
26885
|
:type VpcId: str
|
26828
|
-
:param _SubnetId: 实例所属子网Id
|
26829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26830
|
-
:type SubnetId: str
|
26831
|
-
:param _InitContainers: 初始化容器列表
|
26832
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26833
|
-
:type InitContainers: list of Container
|
26834
|
-
:param _CamRoleName: 为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
|
26835
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26836
|
-
:type CamRoleName: str
|
26837
|
-
:param _AutoCreatedEipId: 自动为用户创建的EipId
|
26838
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26839
|
-
:type AutoCreatedEipId: str
|
26840
|
-
:param _PersistStatus: 容器状态是否持久化
|
26841
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26842
|
-
:type PersistStatus: bool
|
26843
26886
|
"""
|
26887
|
+
self._AutoCreatedEipId = None
|
26888
|
+
self._CamRoleName = None
|
26889
|
+
self._Containers = None
|
26890
|
+
self._Cpu = None
|
26891
|
+
self._CpuType = None
|
26892
|
+
self._CreationTime = None
|
26893
|
+
self._EipAddress = None
|
26844
26894
|
self._EksCiId = None
|
26845
26895
|
self._EksCiName = None
|
26896
|
+
self._EksCiVolume = None
|
26897
|
+
self._GpuCount = None
|
26898
|
+
self._GpuType = None
|
26899
|
+
self._InitContainers = None
|
26846
26900
|
self._Memory = None
|
26847
|
-
self.
|
26848
|
-
self.
|
26901
|
+
self._PersistStatus = None
|
26902
|
+
self._PrivateIp = None
|
26849
26903
|
self._RestartPolicy = None
|
26904
|
+
self._SecurityContext = None
|
26905
|
+
self._SecurityGroupIds = None
|
26850
26906
|
self._Status = None
|
26851
|
-
self.
|
26907
|
+
self._SubnetId = None
|
26852
26908
|
self._SucceededTime = None
|
26853
|
-
self._Containers = None
|
26854
|
-
self._EksCiVolume = None
|
26855
|
-
self._SecurityContext = None
|
26856
|
-
self._PrivateIp = None
|
26857
|
-
self._EipAddress = None
|
26858
|
-
self._GpuType = None
|
26859
|
-
self._CpuType = None
|
26860
|
-
self._GpuCount = None
|
26861
26909
|
self._VpcId = None
|
26862
|
-
self._SubnetId = None
|
26863
|
-
self._InitContainers = None
|
26864
|
-
self._CamRoleName = None
|
26865
|
-
self._AutoCreatedEipId = None
|
26866
|
-
self._PersistStatus = None
|
26867
26910
|
|
26868
26911
|
@property
|
26869
|
-
def
|
26870
|
-
"""
|
26912
|
+
def AutoCreatedEipId(self):
|
26913
|
+
"""自动为用户创建的EipId
|
26871
26914
|
:rtype: str
|
26872
26915
|
"""
|
26873
|
-
return self.
|
26916
|
+
return self._AutoCreatedEipId
|
26874
26917
|
|
26875
|
-
@
|
26876
|
-
def
|
26877
|
-
self.
|
26918
|
+
@AutoCreatedEipId.setter
|
26919
|
+
def AutoCreatedEipId(self, AutoCreatedEipId):
|
26920
|
+
self._AutoCreatedEipId = AutoCreatedEipId
|
26878
26921
|
|
26879
26922
|
@property
|
26880
|
-
def
|
26881
|
-
"""
|
26923
|
+
def CamRoleName(self):
|
26924
|
+
"""为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
|
26882
26925
|
:rtype: str
|
26883
26926
|
"""
|
26884
|
-
return self.
|
26927
|
+
return self._CamRoleName
|
26885
26928
|
|
26886
|
-
@
|
26887
|
-
def
|
26888
|
-
self.
|
26929
|
+
@CamRoleName.setter
|
26930
|
+
def CamRoleName(self, CamRoleName):
|
26931
|
+
self._CamRoleName = CamRoleName
|
26889
26932
|
|
26890
26933
|
@property
|
26891
|
-
def
|
26892
|
-
"""
|
26893
|
-
:rtype:
|
26934
|
+
def Containers(self):
|
26935
|
+
"""容器列表
|
26936
|
+
:rtype: list of Container
|
26894
26937
|
"""
|
26895
|
-
return self.
|
26938
|
+
return self._Containers
|
26896
26939
|
|
26897
|
-
@
|
26898
|
-
def
|
26899
|
-
self.
|
26940
|
+
@Containers.setter
|
26941
|
+
def Containers(self, Containers):
|
26942
|
+
self._Containers = Containers
|
26900
26943
|
|
26901
26944
|
@property
|
26902
26945
|
def Cpu(self):
|
@@ -26910,48 +26953,19 @@ Pending是创建中,Running是 运行中。
|
|
26910
26953
|
self._Cpu = Cpu
|
26911
26954
|
|
26912
26955
|
@property
|
26913
|
-
def
|
26914
|
-
"""
|
26915
|
-
:rtype: list of str
|
26916
|
-
"""
|
26917
|
-
return self._SecurityGroupIds
|
26918
|
-
|
26919
|
-
@SecurityGroupIds.setter
|
26920
|
-
def SecurityGroupIds(self, SecurityGroupIds):
|
26921
|
-
self._SecurityGroupIds = SecurityGroupIds
|
26922
|
-
|
26923
|
-
@property
|
26924
|
-
def RestartPolicy(self):
|
26925
|
-
"""容器组的重启策略
|
26926
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26927
|
-
:rtype: str
|
26928
|
-
"""
|
26929
|
-
return self._RestartPolicy
|
26930
|
-
|
26931
|
-
@RestartPolicy.setter
|
26932
|
-
def RestartPolicy(self, RestartPolicy):
|
26933
|
-
self._RestartPolicy = RestartPolicy
|
26934
|
-
|
26935
|
-
@property
|
26936
|
-
def Status(self):
|
26937
|
-
"""返回容器组创建状态:Pending,Running,Succeeded,Failed。其中:
|
26938
|
-
Failed (运行失败)指的容器组退出,RestartPolilcy为Never, 有容器exitCode非0;
|
26939
|
-
Succeeded(运行成功)指的是容器组退出了,RestartPolicy为Never或onFailure,所有容器exitCode都为0;
|
26940
|
-
Failed和Succeeded这两种状态都会停止运行,停止计费。
|
26941
|
-
Pending是创建中,Running是 运行中。
|
26942
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26956
|
+
def CpuType(self):
|
26957
|
+
"""CPU类型
|
26943
26958
|
:rtype: str
|
26944
26959
|
"""
|
26945
|
-
return self.
|
26960
|
+
return self._CpuType
|
26946
26961
|
|
26947
|
-
@
|
26948
|
-
def
|
26949
|
-
self.
|
26962
|
+
@CpuType.setter
|
26963
|
+
def CpuType(self, CpuType):
|
26964
|
+
self._CpuType = CpuType
|
26950
26965
|
|
26951
26966
|
@property
|
26952
26967
|
def CreationTime(self):
|
26953
26968
|
"""接到请求后的系统创建时间。
|
26954
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26955
26969
|
:rtype: str
|
26956
26970
|
"""
|
26957
26971
|
return self._CreationTime
|
@@ -26961,33 +26975,42 @@ Pending是创建中,Running是 运行中。
|
|
26961
26975
|
self._CreationTime = CreationTime
|
26962
26976
|
|
26963
26977
|
@property
|
26964
|
-
def
|
26965
|
-
"""
|
26978
|
+
def EipAddress(self):
|
26979
|
+
"""容器实例绑定的Eip地址,注意可能为空
|
26966
26980
|
注意:此字段可能返回 null,表示取不到有效值。
|
26967
26981
|
:rtype: str
|
26968
26982
|
"""
|
26969
|
-
return self.
|
26983
|
+
return self._EipAddress
|
26970
26984
|
|
26971
|
-
@
|
26972
|
-
def
|
26973
|
-
self.
|
26985
|
+
@EipAddress.setter
|
26986
|
+
def EipAddress(self, EipAddress):
|
26987
|
+
self._EipAddress = EipAddress
|
26974
26988
|
|
26975
26989
|
@property
|
26976
|
-
def
|
26977
|
-
"""
|
26978
|
-
|
26979
|
-
:rtype: list of Container
|
26990
|
+
def EksCiId(self):
|
26991
|
+
"""EKS Cotainer Instance Id
|
26992
|
+
:rtype: str
|
26980
26993
|
"""
|
26981
|
-
return self.
|
26994
|
+
return self._EksCiId
|
26982
26995
|
|
26983
|
-
@
|
26984
|
-
def
|
26985
|
-
self.
|
26996
|
+
@EksCiId.setter
|
26997
|
+
def EksCiId(self, EksCiId):
|
26998
|
+
self._EksCiId = EksCiId
|
26999
|
+
|
27000
|
+
@property
|
27001
|
+
def EksCiName(self):
|
27002
|
+
"""EKS Cotainer Instance Name
|
27003
|
+
:rtype: str
|
27004
|
+
"""
|
27005
|
+
return self._EksCiName
|
27006
|
+
|
27007
|
+
@EksCiName.setter
|
27008
|
+
def EksCiName(self, EksCiName):
|
27009
|
+
self._EksCiName = EksCiName
|
26986
27010
|
|
26987
27011
|
@property
|
26988
27012
|
def EksCiVolume(self):
|
26989
27013
|
"""数据卷信息
|
26990
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26991
27014
|
:rtype: :class:`tencentcloud.tke.v20180525.models.EksCiVolume`
|
26992
27015
|
"""
|
26993
27016
|
return self._EksCiVolume
|
@@ -26997,93 +27020,125 @@ Pending是创建中,Running是 运行中。
|
|
26997
27020
|
self._EksCiVolume = EksCiVolume
|
26998
27021
|
|
26999
27022
|
@property
|
27000
|
-
def
|
27001
|
-
"""
|
27002
|
-
|
27003
|
-
:rtype: :class:`tencentcloud.tke.v20180525.models.SecurityContext`
|
27023
|
+
def GpuCount(self):
|
27024
|
+
"""GPU卡数量
|
27025
|
+
:rtype: int
|
27004
27026
|
"""
|
27005
|
-
return self.
|
27027
|
+
return self._GpuCount
|
27006
27028
|
|
27007
|
-
@
|
27008
|
-
def
|
27009
|
-
self.
|
27029
|
+
@GpuCount.setter
|
27030
|
+
def GpuCount(self, GpuCount):
|
27031
|
+
self._GpuCount = GpuCount
|
27010
27032
|
|
27011
27033
|
@property
|
27012
|
-
def
|
27013
|
-
"""
|
27014
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27034
|
+
def GpuType(self):
|
27035
|
+
"""GPU类型。如无使用GPU则不返回
|
27015
27036
|
:rtype: str
|
27016
27037
|
"""
|
27017
|
-
return self.
|
27038
|
+
return self._GpuType
|
27018
27039
|
|
27019
|
-
@
|
27020
|
-
def
|
27021
|
-
self.
|
27040
|
+
@GpuType.setter
|
27041
|
+
def GpuType(self, GpuType):
|
27042
|
+
self._GpuType = GpuType
|
27022
27043
|
|
27023
27044
|
@property
|
27024
|
-
def
|
27025
|
-
"""
|
27045
|
+
def InitContainers(self):
|
27046
|
+
"""初始化容器列表
|
27026
27047
|
注意:此字段可能返回 null,表示取不到有效值。
|
27027
|
-
:rtype:
|
27048
|
+
:rtype: list of Container
|
27028
27049
|
"""
|
27029
|
-
return self.
|
27050
|
+
return self._InitContainers
|
27030
27051
|
|
27031
|
-
@
|
27032
|
-
def
|
27033
|
-
self.
|
27052
|
+
@InitContainers.setter
|
27053
|
+
def InitContainers(self, InitContainers):
|
27054
|
+
self._InitContainers = InitContainers
|
27034
27055
|
|
27035
27056
|
@property
|
27036
|
-
def
|
27037
|
-
"""
|
27057
|
+
def Memory(self):
|
27058
|
+
"""内存大小
|
27059
|
+
:rtype: float
|
27060
|
+
"""
|
27061
|
+
return self._Memory
|
27062
|
+
|
27063
|
+
@Memory.setter
|
27064
|
+
def Memory(self, Memory):
|
27065
|
+
self._Memory = Memory
|
27066
|
+
|
27067
|
+
@property
|
27068
|
+
def PersistStatus(self):
|
27069
|
+
"""容器状态是否持久化
|
27038
27070
|
注意:此字段可能返回 null,表示取不到有效值。
|
27071
|
+
:rtype: bool
|
27072
|
+
"""
|
27073
|
+
return self._PersistStatus
|
27074
|
+
|
27075
|
+
@PersistStatus.setter
|
27076
|
+
def PersistStatus(self, PersistStatus):
|
27077
|
+
self._PersistStatus = PersistStatus
|
27078
|
+
|
27079
|
+
@property
|
27080
|
+
def PrivateIp(self):
|
27081
|
+
"""内网ip地址
|
27039
27082
|
:rtype: str
|
27040
27083
|
"""
|
27041
|
-
return self.
|
27084
|
+
return self._PrivateIp
|
27042
27085
|
|
27043
|
-
@
|
27044
|
-
def
|
27045
|
-
self.
|
27086
|
+
@PrivateIp.setter
|
27087
|
+
def PrivateIp(self, PrivateIp):
|
27088
|
+
self._PrivateIp = PrivateIp
|
27046
27089
|
|
27047
27090
|
@property
|
27048
|
-
def
|
27049
|
-
"""
|
27050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27091
|
+
def RestartPolicy(self):
|
27092
|
+
"""容器组的重启策略
|
27051
27093
|
:rtype: str
|
27052
27094
|
"""
|
27053
|
-
return self.
|
27095
|
+
return self._RestartPolicy
|
27054
27096
|
|
27055
|
-
@
|
27056
|
-
def
|
27057
|
-
self.
|
27097
|
+
@RestartPolicy.setter
|
27098
|
+
def RestartPolicy(self, RestartPolicy):
|
27099
|
+
self._RestartPolicy = RestartPolicy
|
27058
27100
|
|
27059
27101
|
@property
|
27060
|
-
def
|
27061
|
-
"""
|
27102
|
+
def SecurityContext(self):
|
27103
|
+
"""容器组运行的安全上下文
|
27062
27104
|
注意:此字段可能返回 null,表示取不到有效值。
|
27063
|
-
:rtype:
|
27105
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.SecurityContext`
|
27064
27106
|
"""
|
27065
|
-
return self.
|
27107
|
+
return self._SecurityContext
|
27066
27108
|
|
27067
|
-
@
|
27068
|
-
def
|
27069
|
-
self.
|
27109
|
+
@SecurityContext.setter
|
27110
|
+
def SecurityContext(self, SecurityContext):
|
27111
|
+
self._SecurityContext = SecurityContext
|
27070
27112
|
|
27071
27113
|
@property
|
27072
|
-
def
|
27073
|
-
"""
|
27074
|
-
|
27114
|
+
def SecurityGroupIds(self):
|
27115
|
+
"""安全组ID
|
27116
|
+
:rtype: list of str
|
27117
|
+
"""
|
27118
|
+
return self._SecurityGroupIds
|
27119
|
+
|
27120
|
+
@SecurityGroupIds.setter
|
27121
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
27122
|
+
self._SecurityGroupIds = SecurityGroupIds
|
27123
|
+
|
27124
|
+
@property
|
27125
|
+
def Status(self):
|
27126
|
+
"""返回容器组创建状态:Pending,Running,Succeeded,Failed。其中:
|
27127
|
+
Failed (运行失败)指的容器组退出,RestartPolilcy为Never, 有容器exitCode非0;
|
27128
|
+
Succeeded(运行成功)指的是容器组退出了,RestartPolicy为Never或onFailure,所有容器exitCode都为0;
|
27129
|
+
Failed和Succeeded这两种状态都会停止运行,停止计费。
|
27130
|
+
Pending是创建中,Running是 运行中。
|
27075
27131
|
:rtype: str
|
27076
27132
|
"""
|
27077
|
-
return self.
|
27133
|
+
return self._Status
|
27078
27134
|
|
27079
|
-
@
|
27080
|
-
def
|
27081
|
-
self.
|
27135
|
+
@Status.setter
|
27136
|
+
def Status(self, Status):
|
27137
|
+
self._Status = Status
|
27082
27138
|
|
27083
27139
|
@property
|
27084
27140
|
def SubnetId(self):
|
27085
27141
|
"""实例所属子网Id
|
27086
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27087
27142
|
:rtype: str
|
27088
27143
|
"""
|
27089
27144
|
return self._SubnetId
|
@@ -27093,92 +27148,66 @@ Pending是创建中,Running是 运行中。
|
|
27093
27148
|
self._SubnetId = SubnetId
|
27094
27149
|
|
27095
27150
|
@property
|
27096
|
-
def
|
27097
|
-
"""
|
27098
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27099
|
-
:rtype: list of Container
|
27100
|
-
"""
|
27101
|
-
return self._InitContainers
|
27102
|
-
|
27103
|
-
@InitContainers.setter
|
27104
|
-
def InitContainers(self, InitContainers):
|
27105
|
-
self._InitContainers = InitContainers
|
27106
|
-
|
27107
|
-
@property
|
27108
|
-
def CamRoleName(self):
|
27109
|
-
"""为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
|
27110
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27151
|
+
def SucceededTime(self):
|
27152
|
+
"""容器全部成功退出后的时间
|
27111
27153
|
:rtype: str
|
27112
27154
|
"""
|
27113
|
-
return self.
|
27155
|
+
return self._SucceededTime
|
27114
27156
|
|
27115
|
-
@
|
27116
|
-
def
|
27117
|
-
self.
|
27157
|
+
@SucceededTime.setter
|
27158
|
+
def SucceededTime(self, SucceededTime):
|
27159
|
+
self._SucceededTime = SucceededTime
|
27118
27160
|
|
27119
27161
|
@property
|
27120
|
-
def
|
27121
|
-
"""
|
27122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27162
|
+
def VpcId(self):
|
27163
|
+
"""实例所属VPC的Id
|
27123
27164
|
:rtype: str
|
27124
27165
|
"""
|
27125
|
-
return self.
|
27126
|
-
|
27127
|
-
@AutoCreatedEipId.setter
|
27128
|
-
def AutoCreatedEipId(self, AutoCreatedEipId):
|
27129
|
-
self._AutoCreatedEipId = AutoCreatedEipId
|
27130
|
-
|
27131
|
-
@property
|
27132
|
-
def PersistStatus(self):
|
27133
|
-
"""容器状态是否持久化
|
27134
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27135
|
-
:rtype: bool
|
27136
|
-
"""
|
27137
|
-
return self._PersistStatus
|
27166
|
+
return self._VpcId
|
27138
27167
|
|
27139
|
-
@
|
27140
|
-
def
|
27141
|
-
self.
|
27168
|
+
@VpcId.setter
|
27169
|
+
def VpcId(self, VpcId):
|
27170
|
+
self._VpcId = VpcId
|
27142
27171
|
|
27143
27172
|
|
27144
27173
|
def _deserialize(self, params):
|
27145
|
-
self.
|
27146
|
-
self.
|
27147
|
-
self._Memory = params.get("Memory")
|
27148
|
-
self._Cpu = params.get("Cpu")
|
27149
|
-
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
27150
|
-
self._RestartPolicy = params.get("RestartPolicy")
|
27151
|
-
self._Status = params.get("Status")
|
27152
|
-
self._CreationTime = params.get("CreationTime")
|
27153
|
-
self._SucceededTime = params.get("SucceededTime")
|
27174
|
+
self._AutoCreatedEipId = params.get("AutoCreatedEipId")
|
27175
|
+
self._CamRoleName = params.get("CamRoleName")
|
27154
27176
|
if params.get("Containers") is not None:
|
27155
27177
|
self._Containers = []
|
27156
27178
|
for item in params.get("Containers"):
|
27157
27179
|
obj = Container()
|
27158
27180
|
obj._deserialize(item)
|
27159
27181
|
self._Containers.append(obj)
|
27182
|
+
self._Cpu = params.get("Cpu")
|
27183
|
+
self._CpuType = params.get("CpuType")
|
27184
|
+
self._CreationTime = params.get("CreationTime")
|
27185
|
+
self._EipAddress = params.get("EipAddress")
|
27186
|
+
self._EksCiId = params.get("EksCiId")
|
27187
|
+
self._EksCiName = params.get("EksCiName")
|
27160
27188
|
if params.get("EksCiVolume") is not None:
|
27161
27189
|
self._EksCiVolume = EksCiVolume()
|
27162
27190
|
self._EksCiVolume._deserialize(params.get("EksCiVolume"))
|
27163
|
-
if params.get("SecurityContext") is not None:
|
27164
|
-
self._SecurityContext = SecurityContext()
|
27165
|
-
self._SecurityContext._deserialize(params.get("SecurityContext"))
|
27166
|
-
self._PrivateIp = params.get("PrivateIp")
|
27167
|
-
self._EipAddress = params.get("EipAddress")
|
27168
|
-
self._GpuType = params.get("GpuType")
|
27169
|
-
self._CpuType = params.get("CpuType")
|
27170
27191
|
self._GpuCount = params.get("GpuCount")
|
27171
|
-
self.
|
27172
|
-
self._SubnetId = params.get("SubnetId")
|
27192
|
+
self._GpuType = params.get("GpuType")
|
27173
27193
|
if params.get("InitContainers") is not None:
|
27174
27194
|
self._InitContainers = []
|
27175
27195
|
for item in params.get("InitContainers"):
|
27176
27196
|
obj = Container()
|
27177
27197
|
obj._deserialize(item)
|
27178
27198
|
self._InitContainers.append(obj)
|
27179
|
-
self.
|
27180
|
-
self._AutoCreatedEipId = params.get("AutoCreatedEipId")
|
27199
|
+
self._Memory = params.get("Memory")
|
27181
27200
|
self._PersistStatus = params.get("PersistStatus")
|
27201
|
+
self._PrivateIp = params.get("PrivateIp")
|
27202
|
+
self._RestartPolicy = params.get("RestartPolicy")
|
27203
|
+
if params.get("SecurityContext") is not None:
|
27204
|
+
self._SecurityContext = SecurityContext()
|
27205
|
+
self._SecurityContext._deserialize(params.get("SecurityContext"))
|
27206
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
27207
|
+
self._Status = params.get("Status")
|
27208
|
+
self._SubnetId = params.get("SubnetId")
|
27209
|
+
self._SucceededTime = params.get("SucceededTime")
|
27210
|
+
self._VpcId = params.get("VpcId")
|
27182
27211
|
memeber_set = set(params.keys())
|
27183
27212
|
for name, value in vars(self).items():
|
27184
27213
|
property_name = name[1:]
|
@@ -32826,27 +32855,24 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32826
32855
|
def __init__(self):
|
32827
32856
|
r"""
|
32828
32857
|
:param _Probe: 探针参数
|
32829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32830
32858
|
:type Probe: :class:`tencentcloud.tke.v20180525.models.Probe`
|
32831
|
-
:param _HttpGet: HttpGet检测参数
|
32832
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32833
|
-
:type HttpGet: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32834
32859
|
:param _Exec: 容器内检测命令参数
|
32835
32860
|
注意:此字段可能返回 null,表示取不到有效值。
|
32836
32861
|
:type Exec: :class:`tencentcloud.tke.v20180525.models.Exec`
|
32862
|
+
:param _HttpGet: HttpGet检测参数
|
32863
|
+
:type HttpGet: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32837
32864
|
:param _TcpSocket: TcpSocket检测的端口参数
|
32838
32865
|
注意:此字段可能返回 null,表示取不到有效值。
|
32839
32866
|
:type TcpSocket: :class:`tencentcloud.tke.v20180525.models.TcpSocket`
|
32840
32867
|
"""
|
32841
32868
|
self._Probe = None
|
32842
|
-
self._HttpGet = None
|
32843
32869
|
self._Exec = None
|
32870
|
+
self._HttpGet = None
|
32844
32871
|
self._TcpSocket = None
|
32845
32872
|
|
32846
32873
|
@property
|
32847
32874
|
def Probe(self):
|
32848
32875
|
"""探针参数
|
32849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32850
32876
|
:rtype: :class:`tencentcloud.tke.v20180525.models.Probe`
|
32851
32877
|
"""
|
32852
32878
|
return self._Probe
|
@@ -32855,18 +32881,6 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32855
32881
|
def Probe(self, Probe):
|
32856
32882
|
self._Probe = Probe
|
32857
32883
|
|
32858
|
-
@property
|
32859
|
-
def HttpGet(self):
|
32860
|
-
"""HttpGet检测参数
|
32861
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32862
|
-
:rtype: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32863
|
-
"""
|
32864
|
-
return self._HttpGet
|
32865
|
-
|
32866
|
-
@HttpGet.setter
|
32867
|
-
def HttpGet(self, HttpGet):
|
32868
|
-
self._HttpGet = HttpGet
|
32869
|
-
|
32870
32884
|
@property
|
32871
32885
|
def Exec(self):
|
32872
32886
|
"""容器内检测命令参数
|
@@ -32879,6 +32893,17 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32879
32893
|
def Exec(self, Exec):
|
32880
32894
|
self._Exec = Exec
|
32881
32895
|
|
32896
|
+
@property
|
32897
|
+
def HttpGet(self):
|
32898
|
+
"""HttpGet检测参数
|
32899
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32900
|
+
"""
|
32901
|
+
return self._HttpGet
|
32902
|
+
|
32903
|
+
@HttpGet.setter
|
32904
|
+
def HttpGet(self, HttpGet):
|
32905
|
+
self._HttpGet = HttpGet
|
32906
|
+
|
32882
32907
|
@property
|
32883
32908
|
def TcpSocket(self):
|
32884
32909
|
"""TcpSocket检测的端口参数
|
@@ -32896,12 +32921,12 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32896
32921
|
if params.get("Probe") is not None:
|
32897
32922
|
self._Probe = Probe()
|
32898
32923
|
self._Probe._deserialize(params.get("Probe"))
|
32899
|
-
if params.get("HttpGet") is not None:
|
32900
|
-
self._HttpGet = HttpGet()
|
32901
|
-
self._HttpGet._deserialize(params.get("HttpGet"))
|
32902
32924
|
if params.get("Exec") is not None:
|
32903
32925
|
self._Exec = Exec()
|
32904
32926
|
self._Exec._deserialize(params.get("Exec"))
|
32927
|
+
if params.get("HttpGet") is not None:
|
32928
|
+
self._HttpGet = HttpGet()
|
32929
|
+
self._HttpGet._deserialize(params.get("HttpGet"))
|
32905
32930
|
if params.get("TcpSocket") is not None:
|
32906
32931
|
self._TcpSocket = TcpSocket()
|
32907
32932
|
self._TcpSocket._deserialize(params.get("TcpSocket"))
|
@@ -35702,16 +35727,16 @@ class NfsVolume(AbstractModel):
|
|
35702
35727
|
r"""
|
35703
35728
|
:param _Name: nfs volume 数据卷名称
|
35704
35729
|
:type Name: str
|
35705
|
-
:param _Server: NFS 服务器地址
|
35706
|
-
:type Server: str
|
35707
35730
|
:param _Path: NFS 数据卷路径
|
35708
35731
|
:type Path: str
|
35732
|
+
:param _Server: NFS 服务器地址
|
35733
|
+
:type Server: str
|
35709
35734
|
:param _ReadOnly: 默认为 False
|
35710
35735
|
:type ReadOnly: bool
|
35711
35736
|
"""
|
35712
35737
|
self._Name = None
|
35713
|
-
self._Server = None
|
35714
35738
|
self._Path = None
|
35739
|
+
self._Server = None
|
35715
35740
|
self._ReadOnly = None
|
35716
35741
|
|
35717
35742
|
@property
|
@@ -35725,17 +35750,6 @@ class NfsVolume(AbstractModel):
|
|
35725
35750
|
def Name(self, Name):
|
35726
35751
|
self._Name = Name
|
35727
35752
|
|
35728
|
-
@property
|
35729
|
-
def Server(self):
|
35730
|
-
"""NFS 服务器地址
|
35731
|
-
:rtype: str
|
35732
|
-
"""
|
35733
|
-
return self._Server
|
35734
|
-
|
35735
|
-
@Server.setter
|
35736
|
-
def Server(self, Server):
|
35737
|
-
self._Server = Server
|
35738
|
-
|
35739
35753
|
@property
|
35740
35754
|
def Path(self):
|
35741
35755
|
"""NFS 数据卷路径
|
@@ -35747,6 +35761,17 @@ class NfsVolume(AbstractModel):
|
|
35747
35761
|
def Path(self, Path):
|
35748
35762
|
self._Path = Path
|
35749
35763
|
|
35764
|
+
@property
|
35765
|
+
def Server(self):
|
35766
|
+
"""NFS 服务器地址
|
35767
|
+
:rtype: str
|
35768
|
+
"""
|
35769
|
+
return self._Server
|
35770
|
+
|
35771
|
+
@Server.setter
|
35772
|
+
def Server(self, Server):
|
35773
|
+
self._Server = Server
|
35774
|
+
|
35750
35775
|
@property
|
35751
35776
|
def ReadOnly(self):
|
35752
35777
|
"""默认为 False
|
@@ -35761,8 +35786,8 @@ class NfsVolume(AbstractModel):
|
|
35761
35786
|
|
35762
35787
|
def _deserialize(self, params):
|
35763
35788
|
self._Name = params.get("Name")
|
35764
|
-
self._Server = params.get("Server")
|
35765
35789
|
self._Path = params.get("Path")
|
35790
|
+
self._Server = params.get("Server")
|
35766
35791
|
self._ReadOnly = params.get("ReadOnly")
|
35767
35792
|
memeber_set = set(params.keys())
|
35768
35793
|
for name, value in vars(self).items():
|
@@ -36532,6 +36557,117 @@ class OIDCConfigAuthenticationOptions(AbstractModel):
|
|
36532
36557
|
|
36533
36558
|
|
36534
36559
|
|
36560
|
+
class OSImage(AbstractModel):
|
36561
|
+
"""操作系统描述
|
36562
|
+
|
36563
|
+
"""
|
36564
|
+
|
36565
|
+
def __init__(self):
|
36566
|
+
r"""
|
36567
|
+
:param _SeriesName: os聚合名称
|
36568
|
+
:type SeriesName: str
|
36569
|
+
:param _Alias: os别名
|
36570
|
+
:type Alias: str
|
36571
|
+
:param _OsName: os名称
|
36572
|
+
:type OsName: str
|
36573
|
+
:param _OsCustomizeType: 操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)
|
36574
|
+
:type OsCustomizeType: str
|
36575
|
+
:param _Status: os是否下线(online表示在线,offline表示下线)
|
36576
|
+
:type Status: str
|
36577
|
+
:param _ImageId: 镜像id
|
36578
|
+
:type ImageId: str
|
36579
|
+
"""
|
36580
|
+
self._SeriesName = None
|
36581
|
+
self._Alias = None
|
36582
|
+
self._OsName = None
|
36583
|
+
self._OsCustomizeType = None
|
36584
|
+
self._Status = None
|
36585
|
+
self._ImageId = None
|
36586
|
+
|
36587
|
+
@property
|
36588
|
+
def SeriesName(self):
|
36589
|
+
"""os聚合名称
|
36590
|
+
:rtype: str
|
36591
|
+
"""
|
36592
|
+
return self._SeriesName
|
36593
|
+
|
36594
|
+
@SeriesName.setter
|
36595
|
+
def SeriesName(self, SeriesName):
|
36596
|
+
self._SeriesName = SeriesName
|
36597
|
+
|
36598
|
+
@property
|
36599
|
+
def Alias(self):
|
36600
|
+
"""os别名
|
36601
|
+
:rtype: str
|
36602
|
+
"""
|
36603
|
+
return self._Alias
|
36604
|
+
|
36605
|
+
@Alias.setter
|
36606
|
+
def Alias(self, Alias):
|
36607
|
+
self._Alias = Alias
|
36608
|
+
|
36609
|
+
@property
|
36610
|
+
def OsName(self):
|
36611
|
+
"""os名称
|
36612
|
+
:rtype: str
|
36613
|
+
"""
|
36614
|
+
return self._OsName
|
36615
|
+
|
36616
|
+
@OsName.setter
|
36617
|
+
def OsName(self, OsName):
|
36618
|
+
self._OsName = OsName
|
36619
|
+
|
36620
|
+
@property
|
36621
|
+
def OsCustomizeType(self):
|
36622
|
+
"""操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)
|
36623
|
+
:rtype: str
|
36624
|
+
"""
|
36625
|
+
return self._OsCustomizeType
|
36626
|
+
|
36627
|
+
@OsCustomizeType.setter
|
36628
|
+
def OsCustomizeType(self, OsCustomizeType):
|
36629
|
+
self._OsCustomizeType = OsCustomizeType
|
36630
|
+
|
36631
|
+
@property
|
36632
|
+
def Status(self):
|
36633
|
+
"""os是否下线(online表示在线,offline表示下线)
|
36634
|
+
:rtype: str
|
36635
|
+
"""
|
36636
|
+
return self._Status
|
36637
|
+
|
36638
|
+
@Status.setter
|
36639
|
+
def Status(self, Status):
|
36640
|
+
self._Status = Status
|
36641
|
+
|
36642
|
+
@property
|
36643
|
+
def ImageId(self):
|
36644
|
+
"""镜像id
|
36645
|
+
:rtype: str
|
36646
|
+
"""
|
36647
|
+
return self._ImageId
|
36648
|
+
|
36649
|
+
@ImageId.setter
|
36650
|
+
def ImageId(self, ImageId):
|
36651
|
+
self._ImageId = ImageId
|
36652
|
+
|
36653
|
+
|
36654
|
+
def _deserialize(self, params):
|
36655
|
+
self._SeriesName = params.get("SeriesName")
|
36656
|
+
self._Alias = params.get("Alias")
|
36657
|
+
self._OsName = params.get("OsName")
|
36658
|
+
self._OsCustomizeType = params.get("OsCustomizeType")
|
36659
|
+
self._Status = params.get("Status")
|
36660
|
+
self._ImageId = params.get("ImageId")
|
36661
|
+
memeber_set = set(params.keys())
|
36662
|
+
for name, value in vars(self).items():
|
36663
|
+
property_name = name[1:]
|
36664
|
+
if property_name in memeber_set:
|
36665
|
+
memeber_set.remove(property_name)
|
36666
|
+
if len(memeber_set) > 0:
|
36667
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
36668
|
+
|
36669
|
+
|
36670
|
+
|
36535
36671
|
class OpenConstraintInfo(AbstractModel):
|
36536
36672
|
"""策略实例信息
|
36537
36673
|
|
@@ -37613,53 +37749,52 @@ class Probe(AbstractModel):
|
|
37613
37749
|
|
37614
37750
|
def __init__(self):
|
37615
37751
|
r"""
|
37752
|
+
:param _FailureThreshold: Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
|
37753
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
37754
|
+
:type FailureThreshold: int
|
37616
37755
|
:param _InitialDelaySeconds: Number of seconds after the container has started before liveness probes are initiated.
|
37617
37756
|
注意:此字段可能返回 null,表示取不到有效值。
|
37618
37757
|
:type InitialDelaySeconds: int
|
37619
|
-
:param _TimeoutSeconds: Number of seconds after which the probe times out.
|
37620
|
-
Defaults to 1 second. Minimum value is 1.
|
37621
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
37622
|
-
:type TimeoutSeconds: int
|
37623
37758
|
:param _PeriodSeconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
|
37624
37759
|
注意:此字段可能返回 null,表示取不到有效值。
|
37625
37760
|
:type PeriodSeconds: int
|
37626
37761
|
:param _SuccessThreshold: Minimum consecutive successes for the probe to be considered successful after having failed.Defaults to 1. Must be 1 for liveness. Minimum value is 1.
|
37627
37762
|
注意:此字段可能返回 null,表示取不到有效值。
|
37628
37763
|
:type SuccessThreshold: int
|
37629
|
-
:param
|
37764
|
+
:param _TimeoutSeconds: Number of seconds after which the probe times out.
|
37765
|
+
Defaults to 1 second. Minimum value is 1.
|
37630
37766
|
注意:此字段可能返回 null,表示取不到有效值。
|
37631
|
-
:type
|
37767
|
+
:type TimeoutSeconds: int
|
37632
37768
|
"""
|
37769
|
+
self._FailureThreshold = None
|
37633
37770
|
self._InitialDelaySeconds = None
|
37634
|
-
self._TimeoutSeconds = None
|
37635
37771
|
self._PeriodSeconds = None
|
37636
37772
|
self._SuccessThreshold = None
|
37637
|
-
self.
|
37773
|
+
self._TimeoutSeconds = None
|
37638
37774
|
|
37639
37775
|
@property
|
37640
|
-
def
|
37641
|
-
"""
|
37776
|
+
def FailureThreshold(self):
|
37777
|
+
"""Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
|
37642
37778
|
注意:此字段可能返回 null,表示取不到有效值。
|
37643
37779
|
:rtype: int
|
37644
37780
|
"""
|
37645
|
-
return self.
|
37781
|
+
return self._FailureThreshold
|
37646
37782
|
|
37647
|
-
@
|
37648
|
-
def
|
37649
|
-
self.
|
37783
|
+
@FailureThreshold.setter
|
37784
|
+
def FailureThreshold(self, FailureThreshold):
|
37785
|
+
self._FailureThreshold = FailureThreshold
|
37650
37786
|
|
37651
37787
|
@property
|
37652
|
-
def
|
37653
|
-
"""Number of seconds after
|
37654
|
-
Defaults to 1 second. Minimum value is 1.
|
37788
|
+
def InitialDelaySeconds(self):
|
37789
|
+
"""Number of seconds after the container has started before liveness probes are initiated.
|
37655
37790
|
注意:此字段可能返回 null,表示取不到有效值。
|
37656
37791
|
:rtype: int
|
37657
37792
|
"""
|
37658
|
-
return self.
|
37793
|
+
return self._InitialDelaySeconds
|
37659
37794
|
|
37660
|
-
@
|
37661
|
-
def
|
37662
|
-
self.
|
37795
|
+
@InitialDelaySeconds.setter
|
37796
|
+
def InitialDelaySeconds(self, InitialDelaySeconds):
|
37797
|
+
self._InitialDelaySeconds = InitialDelaySeconds
|
37663
37798
|
|
37664
37799
|
@property
|
37665
37800
|
def PeriodSeconds(self):
|
@@ -37686,24 +37821,25 @@ Defaults to 1 second. Minimum value is 1.
|
|
37686
37821
|
self._SuccessThreshold = SuccessThreshold
|
37687
37822
|
|
37688
37823
|
@property
|
37689
|
-
def
|
37690
|
-
"""
|
37824
|
+
def TimeoutSeconds(self):
|
37825
|
+
"""Number of seconds after which the probe times out.
|
37826
|
+
Defaults to 1 second. Minimum value is 1.
|
37691
37827
|
注意:此字段可能返回 null,表示取不到有效值。
|
37692
37828
|
:rtype: int
|
37693
37829
|
"""
|
37694
|
-
return self.
|
37830
|
+
return self._TimeoutSeconds
|
37695
37831
|
|
37696
|
-
@
|
37697
|
-
def
|
37698
|
-
self.
|
37832
|
+
@TimeoutSeconds.setter
|
37833
|
+
def TimeoutSeconds(self, TimeoutSeconds):
|
37834
|
+
self._TimeoutSeconds = TimeoutSeconds
|
37699
37835
|
|
37700
37836
|
|
37701
37837
|
def _deserialize(self, params):
|
37838
|
+
self._FailureThreshold = params.get("FailureThreshold")
|
37702
37839
|
self._InitialDelaySeconds = params.get("InitialDelaySeconds")
|
37703
|
-
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
37704
37840
|
self._PeriodSeconds = params.get("PeriodSeconds")
|
37705
37841
|
self._SuccessThreshold = params.get("SuccessThreshold")
|
37706
|
-
self.
|
37842
|
+
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
37707
37843
|
memeber_set = set(params.keys())
|
37708
37844
|
for name, value in vars(self).items():
|
37709
37845
|
property_name = name[1:]
|
@@ -45470,7 +45606,6 @@ class TcpSocket(AbstractModel):
|
|
45470
45606
|
def __init__(self):
|
45471
45607
|
r"""
|
45472
45608
|
:param _Port: TcpSocket检测的端口
|
45473
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
45474
45609
|
:type Port: int
|
45475
45610
|
"""
|
45476
45611
|
self._Port = None
|
@@ -45478,7 +45613,6 @@ class TcpSocket(AbstractModel):
|
|
45478
45613
|
@property
|
45479
45614
|
def Port(self):
|
45480
45615
|
"""TcpSocket检测的端口
|
45481
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
45482
45616
|
:rtype: int
|
45483
45617
|
"""
|
45484
45618
|
return self._Port
|
@@ -46619,7 +46753,6 @@ class UpdateEKSContainerInstanceResponse(AbstractModel):
|
|
46619
46753
|
def __init__(self):
|
46620
46754
|
r"""
|
46621
46755
|
:param _EksCiId: 容器实例 ID
|
46622
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
46623
46756
|
:type EksCiId: str
|
46624
46757
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
46625
46758
|
:type RequestId: str
|
@@ -46630,7 +46763,6 @@ class UpdateEKSContainerInstanceResponse(AbstractModel):
|
|
46630
46763
|
@property
|
46631
46764
|
def EksCiId(self):
|
46632
46765
|
"""容器实例 ID
|
46633
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
46634
46766
|
:rtype: str
|
46635
46767
|
"""
|
46636
46768
|
return self._EksCiId
|
@@ -48138,32 +48270,44 @@ class VolumeMount(AbstractModel):
|
|
48138
48270
|
|
48139
48271
|
def __init__(self):
|
48140
48272
|
r"""
|
48273
|
+
:param _MountPath: 挂载路径
|
48274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
48275
|
+
:type MountPath: str
|
48141
48276
|
:param _Name: volume名称
|
48142
48277
|
注意:此字段可能返回 null,表示取不到有效值。
|
48143
48278
|
:type Name: str
|
48144
|
-
:param
|
48279
|
+
:param _MountPropagation: 传播挂载方式
|
48145
48280
|
注意:此字段可能返回 null,表示取不到有效值。
|
48146
|
-
:type
|
48281
|
+
:type MountPropagation: str
|
48147
48282
|
:param _ReadOnly: 是否只读
|
48148
48283
|
注意:此字段可能返回 null,表示取不到有效值。
|
48149
48284
|
:type ReadOnly: bool
|
48150
48285
|
:param _SubPath: 子路径
|
48151
48286
|
注意:此字段可能返回 null,表示取不到有效值。
|
48152
48287
|
:type SubPath: str
|
48153
|
-
:param _MountPropagation: 传播挂载方式
|
48154
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
48155
|
-
:type MountPropagation: str
|
48156
48288
|
:param _SubPathExpr: 子路径表达式
|
48157
48289
|
注意:此字段可能返回 null,表示取不到有效值。
|
48158
48290
|
:type SubPathExpr: str
|
48159
48291
|
"""
|
48160
|
-
self._Name = None
|
48161
48292
|
self._MountPath = None
|
48293
|
+
self._Name = None
|
48294
|
+
self._MountPropagation = None
|
48162
48295
|
self._ReadOnly = None
|
48163
48296
|
self._SubPath = None
|
48164
|
-
self._MountPropagation = None
|
48165
48297
|
self._SubPathExpr = None
|
48166
48298
|
|
48299
|
+
@property
|
48300
|
+
def MountPath(self):
|
48301
|
+
"""挂载路径
|
48302
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
48303
|
+
:rtype: str
|
48304
|
+
"""
|
48305
|
+
return self._MountPath
|
48306
|
+
|
48307
|
+
@MountPath.setter
|
48308
|
+
def MountPath(self, MountPath):
|
48309
|
+
self._MountPath = MountPath
|
48310
|
+
|
48167
48311
|
@property
|
48168
48312
|
def Name(self):
|
48169
48313
|
"""volume名称
|
@@ -48177,16 +48321,16 @@ class VolumeMount(AbstractModel):
|
|
48177
48321
|
self._Name = Name
|
48178
48322
|
|
48179
48323
|
@property
|
48180
|
-
def
|
48181
|
-
"""
|
48324
|
+
def MountPropagation(self):
|
48325
|
+
"""传播挂载方式
|
48182
48326
|
注意:此字段可能返回 null,表示取不到有效值。
|
48183
48327
|
:rtype: str
|
48184
48328
|
"""
|
48185
|
-
return self.
|
48329
|
+
return self._MountPropagation
|
48186
48330
|
|
48187
|
-
@
|
48188
|
-
def
|
48189
|
-
self.
|
48331
|
+
@MountPropagation.setter
|
48332
|
+
def MountPropagation(self, MountPropagation):
|
48333
|
+
self._MountPropagation = MountPropagation
|
48190
48334
|
|
48191
48335
|
@property
|
48192
48336
|
def ReadOnly(self):
|
@@ -48212,18 +48356,6 @@ class VolumeMount(AbstractModel):
|
|
48212
48356
|
def SubPath(self, SubPath):
|
48213
48357
|
self._SubPath = SubPath
|
48214
48358
|
|
48215
|
-
@property
|
48216
|
-
def MountPropagation(self):
|
48217
|
-
"""传播挂载方式
|
48218
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
48219
|
-
:rtype: str
|
48220
|
-
"""
|
48221
|
-
return self._MountPropagation
|
48222
|
-
|
48223
|
-
@MountPropagation.setter
|
48224
|
-
def MountPropagation(self, MountPropagation):
|
48225
|
-
self._MountPropagation = MountPropagation
|
48226
|
-
|
48227
48359
|
@property
|
48228
48360
|
def SubPathExpr(self):
|
48229
48361
|
"""子路径表达式
|
@@ -48238,11 +48370,11 @@ class VolumeMount(AbstractModel):
|
|
48238
48370
|
|
48239
48371
|
|
48240
48372
|
def _deserialize(self, params):
|
48241
|
-
self._Name = params.get("Name")
|
48242
48373
|
self._MountPath = params.get("MountPath")
|
48374
|
+
self._Name = params.get("Name")
|
48375
|
+
self._MountPropagation = params.get("MountPropagation")
|
48243
48376
|
self._ReadOnly = params.get("ReadOnly")
|
48244
48377
|
self._SubPath = params.get("SubPath")
|
48245
|
-
self._MountPropagation = params.get("MountPropagation")
|
48246
48378
|
self._SubPathExpr = params.get("SubPathExpr")
|
48247
48379
|
memeber_set = set(params.keys())
|
48248
48380
|
for name, value in vars(self).items():
|