tencentcloud-sdk-python 3.0.1347__py2.py3-none-any.whl → 3.0.1349__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/bh/v20230418/models.py +61 -23
- tencentcloud/cam/v20190116/models.py +2 -2
- 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 +159 -2
- tencentcloud/cdwdoris/v20211228/models.py +300 -0
- tencentcloud/cdwpg/v20201230/models.py +98 -86
- tencentcloud/chc/v20230418/models.py +0 -30
- tencentcloud/clb/v20180317/models.py +48 -18
- tencentcloud/dbbrain/v20210527/models.py +0 -8
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
- tencentcloud/dcdb/v20180411/models.py +0 -64
- tencentcloud/dlc/v20210125/models.py +256 -16
- tencentcloud/emr/v20190103/models.py +15 -54
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/models.py +12 -12
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +10 -10
- tencentcloud/gs/v20191118/models.py +4 -58
- tencentcloud/hai/v20230812/models.py +0 -96
- tencentcloud/hunyuan/v20230901/models.py +6 -4
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +1 -1
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +1 -1
- tencentcloud/iotvideoindustry/v20201201/models.py +0 -30
- tencentcloud/lcic/v20220817/lcic_client.py +1 -1
- tencentcloud/lcic/v20220817/models.py +56 -68
- tencentcloud/live/v20180801/models.py +8 -24
- tencentcloud/lkeap/v20240522/lkeap_client.py +6 -0
- tencentcloud/mariadb/v20170312/models.py +4 -76
- tencentcloud/monitor/v20180724/models.py +95 -14
- tencentcloud/mps/v20190612/models.py +260 -0
- tencentcloud/mqtt/v20240516/models.py +402 -284
- tencentcloud/mqtt/v20240516/mqtt_client.py +2 -2
- tencentcloud/organization/v20210331/models.py +30 -0
- tencentcloud/privatedns/v20201028/models.py +0 -22
- tencentcloud/taf/v20200210/models.py +270 -0
- tencentcloud/taf/v20200210/taf_client.py +23 -0
- tencentcloud/tbaas/v20180416/models.py +0 -58
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcr/v20190924/models.py +30 -154
- tencentcloud/tdmq/v20200217/models.py +0 -16
- tencentcloud/thpc/v20230321/models.py +34 -0
- tencentcloud/tke/v20180525/models.py +692 -622
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/trocket/v20230308/models.py +0 -24
- tencentcloud/tsf/v20180326/models.py +252 -196
- tencentcloud/vcube/v20220410/models.py +51 -158
- tencentcloud/vcube/v20220410/vcube_client.py +2 -2
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +28 -260
- tencentcloud/vpc/v20170312/models.py +135 -0
- tencentcloud/wedata/v20210820/models.py +17 -0
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/RECORD +62 -62
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1349.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,79 @@ 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
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
19993
|
+
:type OSImageSeriesSet: list of OSImage
|
19994
|
+
:param _TotalCount: 镜像数量
|
19995
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
19996
|
+
:type TotalCount: int
|
19997
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
19998
|
+
:type RequestId: str
|
19999
|
+
"""
|
20000
|
+
self._OSImageSeriesSet = None
|
20001
|
+
self._TotalCount = None
|
20002
|
+
self._RequestId = None
|
20003
|
+
|
20004
|
+
@property
|
20005
|
+
def OSImageSeriesSet(self):
|
20006
|
+
"""镜像信息列表
|
20007
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20008
|
+
:rtype: list of OSImage
|
20009
|
+
"""
|
20010
|
+
return self._OSImageSeriesSet
|
20011
|
+
|
20012
|
+
@OSImageSeriesSet.setter
|
20013
|
+
def OSImageSeriesSet(self, OSImageSeriesSet):
|
20014
|
+
self._OSImageSeriesSet = OSImageSeriesSet
|
20015
|
+
|
20016
|
+
@property
|
20017
|
+
def TotalCount(self):
|
20018
|
+
"""镜像数量
|
20019
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20020
|
+
:rtype: int
|
20021
|
+
"""
|
20022
|
+
return self._TotalCount
|
20023
|
+
|
20024
|
+
@TotalCount.setter
|
20025
|
+
def TotalCount(self, TotalCount):
|
20026
|
+
self._TotalCount = TotalCount
|
20027
|
+
|
20028
|
+
@property
|
20029
|
+
def RequestId(self):
|
20030
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20031
|
+
:rtype: str
|
20032
|
+
"""
|
20033
|
+
return self._RequestId
|
20034
|
+
|
20035
|
+
@RequestId.setter
|
20036
|
+
def RequestId(self, RequestId):
|
20037
|
+
self._RequestId = RequestId
|
20038
|
+
|
20039
|
+
|
20040
|
+
def _deserialize(self, params):
|
20041
|
+
if params.get("OSImageSeriesSet") is not None:
|
20042
|
+
self._OSImageSeriesSet = []
|
20043
|
+
for item in params.get("OSImageSeriesSet"):
|
20044
|
+
obj = OSImage()
|
20045
|
+
obj._deserialize(item)
|
20046
|
+
self._OSImageSeriesSet.append(obj)
|
20047
|
+
self._TotalCount = params.get("TotalCount")
|
20048
|
+
self._RequestId = params.get("RequestId")
|
20049
|
+
|
20050
|
+
|
19990
20051
|
class DescribeOpenPolicyListRequest(AbstractModel):
|
19991
20052
|
"""DescribeOpenPolicyList请求参数结构体
|
19992
20053
|
|
@@ -26772,131 +26833,117 @@ class EksCi(AbstractModel):
|
|
26772
26833
|
|
26773
26834
|
def __init__(self):
|
26774
26835
|
r"""
|
26836
|
+
:param _AutoCreatedEipId: 自动为用户创建的EipId
|
26837
|
+
:type AutoCreatedEipId: str
|
26838
|
+
:param _CamRoleName: 为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
|
26839
|
+
:type CamRoleName: str
|
26840
|
+
:param _Containers: 容器列表
|
26841
|
+
:type Containers: list of Container
|
26842
|
+
:param _Cpu: CPU大小
|
26843
|
+
:type Cpu: float
|
26844
|
+
:param _CpuType: CPU类型
|
26845
|
+
:type CpuType: str
|
26846
|
+
:param _CreationTime: 接到请求后的系统创建时间。
|
26847
|
+
:type CreationTime: str
|
26848
|
+
:param _EipAddress: 容器实例绑定的Eip地址,注意可能为空
|
26849
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26850
|
+
:type EipAddress: str
|
26775
26851
|
:param _EksCiId: EKS Cotainer Instance Id
|
26776
26852
|
:type EksCiId: str
|
26777
26853
|
:param _EksCiName: EKS Cotainer Instance Name
|
26778
26854
|
:type EksCiName: str
|
26855
|
+
:param _EksCiVolume: 数据卷信息
|
26856
|
+
:type EksCiVolume: :class:`tencentcloud.tke.v20180525.models.EksCiVolume`
|
26857
|
+
:param _GpuCount: GPU卡数量
|
26858
|
+
:type GpuCount: int
|
26859
|
+
:param _GpuType: GPU类型。如无使用GPU则不返回
|
26860
|
+
:type GpuType: str
|
26861
|
+
:param _InitContainers: 初始化容器列表
|
26862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26863
|
+
:type InitContainers: list of Container
|
26779
26864
|
:param _Memory: 内存大小
|
26780
26865
|
:type Memory: float
|
26781
|
-
:param
|
26782
|
-
:type Cpu: float
|
26783
|
-
:param _SecurityGroupIds: 安全组ID
|
26784
|
-
:type SecurityGroupIds: list of str
|
26785
|
-
:param _RestartPolicy: 容器组的重启策略
|
26866
|
+
:param _PersistStatus: 容器状态是否持久化
|
26786
26867
|
注意:此字段可能返回 null,表示取不到有效值。
|
26868
|
+
:type PersistStatus: bool
|
26869
|
+
:param _PrivateIp: 内网ip地址
|
26870
|
+
:type PrivateIp: str
|
26871
|
+
:param _RestartPolicy: 容器组的重启策略
|
26787
26872
|
:type RestartPolicy: str
|
26873
|
+
:param _SecurityContext: 容器组运行的安全上下文
|
26874
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26875
|
+
:type SecurityContext: :class:`tencentcloud.tke.v20180525.models.SecurityContext`
|
26876
|
+
:param _SecurityGroupIds: 安全组ID
|
26877
|
+
:type SecurityGroupIds: list of str
|
26788
26878
|
:param _Status: 返回容器组创建状态:Pending,Running,Succeeded,Failed。其中:
|
26789
26879
|
Failed (运行失败)指的容器组退出,RestartPolilcy为Never, 有容器exitCode非0;
|
26790
26880
|
Succeeded(运行成功)指的是容器组退出了,RestartPolicy为Never或onFailure,所有容器exitCode都为0;
|
26791
26881
|
Failed和Succeeded这两种状态都会停止运行,停止计费。
|
26792
26882
|
Pending是创建中,Running是 运行中。
|
26793
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26794
26883
|
:type Status: str
|
26795
|
-
:param
|
26796
|
-
|
26797
|
-
:type CreationTime: str
|
26884
|
+
:param _SubnetId: 实例所属子网Id
|
26885
|
+
:type SubnetId: str
|
26798
26886
|
:param _SucceededTime: 容器全部成功退出后的时间
|
26799
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26800
26887
|
: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
26888
|
:param _VpcId: 实例所属VPC的Id
|
26826
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26827
26889
|
: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
26890
|
"""
|
26891
|
+
self._AutoCreatedEipId = None
|
26892
|
+
self._CamRoleName = None
|
26893
|
+
self._Containers = None
|
26894
|
+
self._Cpu = None
|
26895
|
+
self._CpuType = None
|
26896
|
+
self._CreationTime = None
|
26897
|
+
self._EipAddress = None
|
26844
26898
|
self._EksCiId = None
|
26845
26899
|
self._EksCiName = None
|
26900
|
+
self._EksCiVolume = None
|
26901
|
+
self._GpuCount = None
|
26902
|
+
self._GpuType = None
|
26903
|
+
self._InitContainers = None
|
26846
26904
|
self._Memory = None
|
26847
|
-
self.
|
26848
|
-
self.
|
26905
|
+
self._PersistStatus = None
|
26906
|
+
self._PrivateIp = None
|
26849
26907
|
self._RestartPolicy = None
|
26908
|
+
self._SecurityContext = None
|
26909
|
+
self._SecurityGroupIds = None
|
26850
26910
|
self._Status = None
|
26851
|
-
self.
|
26911
|
+
self._SubnetId = None
|
26852
26912
|
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
26913
|
self._VpcId = None
|
26862
|
-
self._SubnetId = None
|
26863
|
-
self._InitContainers = None
|
26864
|
-
self._CamRoleName = None
|
26865
|
-
self._AutoCreatedEipId = None
|
26866
|
-
self._PersistStatus = None
|
26867
26914
|
|
26868
26915
|
@property
|
26869
|
-
def
|
26870
|
-
"""
|
26916
|
+
def AutoCreatedEipId(self):
|
26917
|
+
"""自动为用户创建的EipId
|
26871
26918
|
:rtype: str
|
26872
26919
|
"""
|
26873
|
-
return self.
|
26920
|
+
return self._AutoCreatedEipId
|
26874
26921
|
|
26875
|
-
@
|
26876
|
-
def
|
26877
|
-
self.
|
26922
|
+
@AutoCreatedEipId.setter
|
26923
|
+
def AutoCreatedEipId(self, AutoCreatedEipId):
|
26924
|
+
self._AutoCreatedEipId = AutoCreatedEipId
|
26878
26925
|
|
26879
26926
|
@property
|
26880
|
-
def
|
26881
|
-
"""
|
26927
|
+
def CamRoleName(self):
|
26928
|
+
"""为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
|
26882
26929
|
:rtype: str
|
26883
26930
|
"""
|
26884
|
-
return self.
|
26931
|
+
return self._CamRoleName
|
26885
26932
|
|
26886
|
-
@
|
26887
|
-
def
|
26888
|
-
self.
|
26933
|
+
@CamRoleName.setter
|
26934
|
+
def CamRoleName(self, CamRoleName):
|
26935
|
+
self._CamRoleName = CamRoleName
|
26889
26936
|
|
26890
26937
|
@property
|
26891
|
-
def
|
26892
|
-
"""
|
26893
|
-
:rtype:
|
26938
|
+
def Containers(self):
|
26939
|
+
"""容器列表
|
26940
|
+
:rtype: list of Container
|
26894
26941
|
"""
|
26895
|
-
return self.
|
26942
|
+
return self._Containers
|
26896
26943
|
|
26897
|
-
@
|
26898
|
-
def
|
26899
|
-
self.
|
26944
|
+
@Containers.setter
|
26945
|
+
def Containers(self, Containers):
|
26946
|
+
self._Containers = Containers
|
26900
26947
|
|
26901
26948
|
@property
|
26902
26949
|
def Cpu(self):
|
@@ -26910,48 +26957,19 @@ Pending是创建中,Running是 运行中。
|
|
26910
26957
|
self._Cpu = Cpu
|
26911
26958
|
|
26912
26959
|
@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,表示取不到有效值。
|
26960
|
+
def CpuType(self):
|
26961
|
+
"""CPU类型
|
26943
26962
|
:rtype: str
|
26944
26963
|
"""
|
26945
|
-
return self.
|
26964
|
+
return self._CpuType
|
26946
26965
|
|
26947
|
-
@
|
26948
|
-
def
|
26949
|
-
self.
|
26966
|
+
@CpuType.setter
|
26967
|
+
def CpuType(self, CpuType):
|
26968
|
+
self._CpuType = CpuType
|
26950
26969
|
|
26951
26970
|
@property
|
26952
26971
|
def CreationTime(self):
|
26953
26972
|
"""接到请求后的系统创建时间。
|
26954
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26955
26973
|
:rtype: str
|
26956
26974
|
"""
|
26957
26975
|
return self._CreationTime
|
@@ -26961,33 +26979,42 @@ Pending是创建中,Running是 运行中。
|
|
26961
26979
|
self._CreationTime = CreationTime
|
26962
26980
|
|
26963
26981
|
@property
|
26964
|
-
def
|
26965
|
-
"""
|
26982
|
+
def EipAddress(self):
|
26983
|
+
"""容器实例绑定的Eip地址,注意可能为空
|
26966
26984
|
注意:此字段可能返回 null,表示取不到有效值。
|
26967
26985
|
:rtype: str
|
26968
26986
|
"""
|
26969
|
-
return self.
|
26987
|
+
return self._EipAddress
|
26970
26988
|
|
26971
|
-
@
|
26972
|
-
def
|
26973
|
-
self.
|
26989
|
+
@EipAddress.setter
|
26990
|
+
def EipAddress(self, EipAddress):
|
26991
|
+
self._EipAddress = EipAddress
|
26974
26992
|
|
26975
26993
|
@property
|
26976
|
-
def
|
26977
|
-
"""
|
26978
|
-
|
26979
|
-
:rtype: list of Container
|
26994
|
+
def EksCiId(self):
|
26995
|
+
"""EKS Cotainer Instance Id
|
26996
|
+
:rtype: str
|
26980
26997
|
"""
|
26981
|
-
return self.
|
26998
|
+
return self._EksCiId
|
26982
26999
|
|
26983
|
-
@
|
26984
|
-
def
|
26985
|
-
self.
|
27000
|
+
@EksCiId.setter
|
27001
|
+
def EksCiId(self, EksCiId):
|
27002
|
+
self._EksCiId = EksCiId
|
27003
|
+
|
27004
|
+
@property
|
27005
|
+
def EksCiName(self):
|
27006
|
+
"""EKS Cotainer Instance Name
|
27007
|
+
:rtype: str
|
27008
|
+
"""
|
27009
|
+
return self._EksCiName
|
27010
|
+
|
27011
|
+
@EksCiName.setter
|
27012
|
+
def EksCiName(self, EksCiName):
|
27013
|
+
self._EksCiName = EksCiName
|
26986
27014
|
|
26987
27015
|
@property
|
26988
27016
|
def EksCiVolume(self):
|
26989
27017
|
"""数据卷信息
|
26990
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26991
27018
|
:rtype: :class:`tencentcloud.tke.v20180525.models.EksCiVolume`
|
26992
27019
|
"""
|
26993
27020
|
return self._EksCiVolume
|
@@ -26997,93 +27024,125 @@ Pending是创建中,Running是 运行中。
|
|
26997
27024
|
self._EksCiVolume = EksCiVolume
|
26998
27025
|
|
26999
27026
|
@property
|
27000
|
-
def
|
27001
|
-
"""
|
27002
|
-
|
27003
|
-
:rtype: :class:`tencentcloud.tke.v20180525.models.SecurityContext`
|
27027
|
+
def GpuCount(self):
|
27028
|
+
"""GPU卡数量
|
27029
|
+
:rtype: int
|
27004
27030
|
"""
|
27005
|
-
return self.
|
27031
|
+
return self._GpuCount
|
27006
27032
|
|
27007
|
-
@
|
27008
|
-
def
|
27009
|
-
self.
|
27033
|
+
@GpuCount.setter
|
27034
|
+
def GpuCount(self, GpuCount):
|
27035
|
+
self._GpuCount = GpuCount
|
27010
27036
|
|
27011
27037
|
@property
|
27012
|
-
def
|
27013
|
-
"""
|
27014
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27038
|
+
def GpuType(self):
|
27039
|
+
"""GPU类型。如无使用GPU则不返回
|
27015
27040
|
:rtype: str
|
27016
27041
|
"""
|
27017
|
-
return self.
|
27042
|
+
return self._GpuType
|
27018
27043
|
|
27019
|
-
@
|
27020
|
-
def
|
27021
|
-
self.
|
27044
|
+
@GpuType.setter
|
27045
|
+
def GpuType(self, GpuType):
|
27046
|
+
self._GpuType = GpuType
|
27022
27047
|
|
27023
27048
|
@property
|
27024
|
-
def
|
27025
|
-
"""
|
27049
|
+
def InitContainers(self):
|
27050
|
+
"""初始化容器列表
|
27026
27051
|
注意:此字段可能返回 null,表示取不到有效值。
|
27027
|
-
:rtype:
|
27052
|
+
:rtype: list of Container
|
27028
27053
|
"""
|
27029
|
-
return self.
|
27054
|
+
return self._InitContainers
|
27030
27055
|
|
27031
|
-
@
|
27032
|
-
def
|
27033
|
-
self.
|
27056
|
+
@InitContainers.setter
|
27057
|
+
def InitContainers(self, InitContainers):
|
27058
|
+
self._InitContainers = InitContainers
|
27034
27059
|
|
27035
27060
|
@property
|
27036
|
-
def
|
27037
|
-
"""
|
27061
|
+
def Memory(self):
|
27062
|
+
"""内存大小
|
27063
|
+
:rtype: float
|
27064
|
+
"""
|
27065
|
+
return self._Memory
|
27066
|
+
|
27067
|
+
@Memory.setter
|
27068
|
+
def Memory(self, Memory):
|
27069
|
+
self._Memory = Memory
|
27070
|
+
|
27071
|
+
@property
|
27072
|
+
def PersistStatus(self):
|
27073
|
+
"""容器状态是否持久化
|
27038
27074
|
注意:此字段可能返回 null,表示取不到有效值。
|
27075
|
+
:rtype: bool
|
27076
|
+
"""
|
27077
|
+
return self._PersistStatus
|
27078
|
+
|
27079
|
+
@PersistStatus.setter
|
27080
|
+
def PersistStatus(self, PersistStatus):
|
27081
|
+
self._PersistStatus = PersistStatus
|
27082
|
+
|
27083
|
+
@property
|
27084
|
+
def PrivateIp(self):
|
27085
|
+
"""内网ip地址
|
27039
27086
|
:rtype: str
|
27040
27087
|
"""
|
27041
|
-
return self.
|
27088
|
+
return self._PrivateIp
|
27042
27089
|
|
27043
|
-
@
|
27044
|
-
def
|
27045
|
-
self.
|
27090
|
+
@PrivateIp.setter
|
27091
|
+
def PrivateIp(self, PrivateIp):
|
27092
|
+
self._PrivateIp = PrivateIp
|
27046
27093
|
|
27047
27094
|
@property
|
27048
|
-
def
|
27049
|
-
"""
|
27050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27095
|
+
def RestartPolicy(self):
|
27096
|
+
"""容器组的重启策略
|
27051
27097
|
:rtype: str
|
27052
27098
|
"""
|
27053
|
-
return self.
|
27099
|
+
return self._RestartPolicy
|
27054
27100
|
|
27055
|
-
@
|
27056
|
-
def
|
27057
|
-
self.
|
27101
|
+
@RestartPolicy.setter
|
27102
|
+
def RestartPolicy(self, RestartPolicy):
|
27103
|
+
self._RestartPolicy = RestartPolicy
|
27058
27104
|
|
27059
27105
|
@property
|
27060
|
-
def
|
27061
|
-
"""
|
27106
|
+
def SecurityContext(self):
|
27107
|
+
"""容器组运行的安全上下文
|
27062
27108
|
注意:此字段可能返回 null,表示取不到有效值。
|
27063
|
-
:rtype:
|
27109
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.SecurityContext`
|
27064
27110
|
"""
|
27065
|
-
return self.
|
27111
|
+
return self._SecurityContext
|
27066
27112
|
|
27067
|
-
@
|
27068
|
-
def
|
27069
|
-
self.
|
27113
|
+
@SecurityContext.setter
|
27114
|
+
def SecurityContext(self, SecurityContext):
|
27115
|
+
self._SecurityContext = SecurityContext
|
27070
27116
|
|
27071
27117
|
@property
|
27072
|
-
def
|
27073
|
-
"""
|
27074
|
-
|
27118
|
+
def SecurityGroupIds(self):
|
27119
|
+
"""安全组ID
|
27120
|
+
:rtype: list of str
|
27121
|
+
"""
|
27122
|
+
return self._SecurityGroupIds
|
27123
|
+
|
27124
|
+
@SecurityGroupIds.setter
|
27125
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
27126
|
+
self._SecurityGroupIds = SecurityGroupIds
|
27127
|
+
|
27128
|
+
@property
|
27129
|
+
def Status(self):
|
27130
|
+
"""返回容器组创建状态:Pending,Running,Succeeded,Failed。其中:
|
27131
|
+
Failed (运行失败)指的容器组退出,RestartPolilcy为Never, 有容器exitCode非0;
|
27132
|
+
Succeeded(运行成功)指的是容器组退出了,RestartPolicy为Never或onFailure,所有容器exitCode都为0;
|
27133
|
+
Failed和Succeeded这两种状态都会停止运行,停止计费。
|
27134
|
+
Pending是创建中,Running是 运行中。
|
27075
27135
|
:rtype: str
|
27076
27136
|
"""
|
27077
|
-
return self.
|
27137
|
+
return self._Status
|
27078
27138
|
|
27079
|
-
@
|
27080
|
-
def
|
27081
|
-
self.
|
27139
|
+
@Status.setter
|
27140
|
+
def Status(self, Status):
|
27141
|
+
self._Status = Status
|
27082
27142
|
|
27083
27143
|
@property
|
27084
27144
|
def SubnetId(self):
|
27085
27145
|
"""实例所属子网Id
|
27086
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27087
27146
|
:rtype: str
|
27088
27147
|
"""
|
27089
27148
|
return self._SubnetId
|
@@ -27093,92 +27152,66 @@ Pending是创建中,Running是 运行中。
|
|
27093
27152
|
self._SubnetId = SubnetId
|
27094
27153
|
|
27095
27154
|
@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,表示取不到有效值。
|
27155
|
+
def SucceededTime(self):
|
27156
|
+
"""容器全部成功退出后的时间
|
27111
27157
|
:rtype: str
|
27112
27158
|
"""
|
27113
|
-
return self.
|
27159
|
+
return self._SucceededTime
|
27114
27160
|
|
27115
|
-
@
|
27116
|
-
def
|
27117
|
-
self.
|
27161
|
+
@SucceededTime.setter
|
27162
|
+
def SucceededTime(self, SucceededTime):
|
27163
|
+
self._SucceededTime = SucceededTime
|
27118
27164
|
|
27119
27165
|
@property
|
27120
|
-
def
|
27121
|
-
"""
|
27122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27166
|
+
def VpcId(self):
|
27167
|
+
"""实例所属VPC的Id
|
27123
27168
|
:rtype: str
|
27124
27169
|
"""
|
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
|
27170
|
+
return self._VpcId
|
27138
27171
|
|
27139
|
-
@
|
27140
|
-
def
|
27141
|
-
self.
|
27172
|
+
@VpcId.setter
|
27173
|
+
def VpcId(self, VpcId):
|
27174
|
+
self._VpcId = VpcId
|
27142
27175
|
|
27143
27176
|
|
27144
27177
|
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")
|
27178
|
+
self._AutoCreatedEipId = params.get("AutoCreatedEipId")
|
27179
|
+
self._CamRoleName = params.get("CamRoleName")
|
27154
27180
|
if params.get("Containers") is not None:
|
27155
27181
|
self._Containers = []
|
27156
27182
|
for item in params.get("Containers"):
|
27157
27183
|
obj = Container()
|
27158
27184
|
obj._deserialize(item)
|
27159
27185
|
self._Containers.append(obj)
|
27186
|
+
self._Cpu = params.get("Cpu")
|
27187
|
+
self._CpuType = params.get("CpuType")
|
27188
|
+
self._CreationTime = params.get("CreationTime")
|
27189
|
+
self._EipAddress = params.get("EipAddress")
|
27190
|
+
self._EksCiId = params.get("EksCiId")
|
27191
|
+
self._EksCiName = params.get("EksCiName")
|
27160
27192
|
if params.get("EksCiVolume") is not None:
|
27161
27193
|
self._EksCiVolume = EksCiVolume()
|
27162
27194
|
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
27195
|
self._GpuCount = params.get("GpuCount")
|
27171
|
-
self.
|
27172
|
-
self._SubnetId = params.get("SubnetId")
|
27196
|
+
self._GpuType = params.get("GpuType")
|
27173
27197
|
if params.get("InitContainers") is not None:
|
27174
27198
|
self._InitContainers = []
|
27175
27199
|
for item in params.get("InitContainers"):
|
27176
27200
|
obj = Container()
|
27177
27201
|
obj._deserialize(item)
|
27178
27202
|
self._InitContainers.append(obj)
|
27179
|
-
self.
|
27180
|
-
self._AutoCreatedEipId = params.get("AutoCreatedEipId")
|
27203
|
+
self._Memory = params.get("Memory")
|
27181
27204
|
self._PersistStatus = params.get("PersistStatus")
|
27205
|
+
self._PrivateIp = params.get("PrivateIp")
|
27206
|
+
self._RestartPolicy = params.get("RestartPolicy")
|
27207
|
+
if params.get("SecurityContext") is not None:
|
27208
|
+
self._SecurityContext = SecurityContext()
|
27209
|
+
self._SecurityContext._deserialize(params.get("SecurityContext"))
|
27210
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
27211
|
+
self._Status = params.get("Status")
|
27212
|
+
self._SubnetId = params.get("SubnetId")
|
27213
|
+
self._SucceededTime = params.get("SucceededTime")
|
27214
|
+
self._VpcId = params.get("VpcId")
|
27182
27215
|
memeber_set = set(params.keys())
|
27183
27216
|
for name, value in vars(self).items():
|
27184
27217
|
property_name = name[1:]
|
@@ -31764,10 +31797,8 @@ class KubeJarvisStateCatalogue(AbstractModel):
|
|
31764
31797
|
:param _CatalogueLevel: 目录级别,支持参数:
|
31765
31798
|
first:一级目录
|
31766
31799
|
second:二级目录
|
31767
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31768
31800
|
:type CatalogueLevel: str
|
31769
31801
|
:param _CatalogueName: 目录名
|
31770
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31771
31802
|
:type CatalogueName: str
|
31772
31803
|
"""
|
31773
31804
|
self._CatalogueLevel = None
|
@@ -31778,7 +31809,6 @@ second:二级目录
|
|
31778
31809
|
"""目录级别,支持参数:
|
31779
31810
|
first:一级目录
|
31780
31811
|
second:二级目录
|
31781
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31782
31812
|
:rtype: str
|
31783
31813
|
"""
|
31784
31814
|
return self._CatalogueLevel
|
@@ -31790,7 +31820,6 @@ second:二级目录
|
|
31790
31820
|
@property
|
31791
31821
|
def CatalogueName(self):
|
31792
31822
|
"""目录名
|
31793
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31794
31823
|
:rtype: str
|
31795
31824
|
"""
|
31796
31825
|
return self._CatalogueName
|
@@ -31821,28 +31850,20 @@ class KubeJarvisStateDiagnostic(AbstractModel):
|
|
31821
31850
|
def __init__(self):
|
31822
31851
|
r"""
|
31823
31852
|
:param _StartTime: 诊断开始时间
|
31824
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31825
31853
|
:type StartTime: str
|
31826
31854
|
:param _EndTime: 诊断结束时间
|
31827
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31828
31855
|
:type EndTime: str
|
31829
31856
|
:param _Catalogues: 诊断目录
|
31830
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31831
31857
|
:type Catalogues: list of KubeJarvisStateCatalogue
|
31832
31858
|
:param _Type: 诊断类型
|
31833
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31834
31859
|
:type Type: str
|
31835
31860
|
:param _Name: 诊断名称
|
31836
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31837
31861
|
:type Name: str
|
31838
31862
|
:param _Desc: 诊断描述
|
31839
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31840
31863
|
:type Desc: str
|
31841
31864
|
:param _Results: 诊断结果列表
|
31842
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31843
31865
|
:type Results: list of KubeJarvisStateResultsItem
|
31844
31866
|
:param _Statistics: 诊断结果统计
|
31845
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31846
31867
|
:type Statistics: list of KubeJarvisStateStatistic
|
31847
31868
|
"""
|
31848
31869
|
self._StartTime = None
|
@@ -31857,7 +31878,6 @@ class KubeJarvisStateDiagnostic(AbstractModel):
|
|
31857
31878
|
@property
|
31858
31879
|
def StartTime(self):
|
31859
31880
|
"""诊断开始时间
|
31860
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31861
31881
|
:rtype: str
|
31862
31882
|
"""
|
31863
31883
|
return self._StartTime
|
@@ -31869,7 +31889,6 @@ class KubeJarvisStateDiagnostic(AbstractModel):
|
|
31869
31889
|
@property
|
31870
31890
|
def EndTime(self):
|
31871
31891
|
"""诊断结束时间
|
31872
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31873
31892
|
:rtype: str
|
31874
31893
|
"""
|
31875
31894
|
return self._EndTime
|
@@ -31881,7 +31900,6 @@ class KubeJarvisStateDiagnostic(AbstractModel):
|
|
31881
31900
|
@property
|
31882
31901
|
def Catalogues(self):
|
31883
31902
|
"""诊断目录
|
31884
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31885
31903
|
:rtype: list of KubeJarvisStateCatalogue
|
31886
31904
|
"""
|
31887
31905
|
return self._Catalogues
|
@@ -31893,7 +31911,6 @@ class KubeJarvisStateDiagnostic(AbstractModel):
|
|
31893
31911
|
@property
|
31894
31912
|
def Type(self):
|
31895
31913
|
"""诊断类型
|
31896
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31897
31914
|
:rtype: str
|
31898
31915
|
"""
|
31899
31916
|
return self._Type
|
@@ -31905,7 +31922,6 @@ class KubeJarvisStateDiagnostic(AbstractModel):
|
|
31905
31922
|
@property
|
31906
31923
|
def Name(self):
|
31907
31924
|
"""诊断名称
|
31908
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31909
31925
|
:rtype: str
|
31910
31926
|
"""
|
31911
31927
|
return self._Name
|
@@ -31917,7 +31933,6 @@ class KubeJarvisStateDiagnostic(AbstractModel):
|
|
31917
31933
|
@property
|
31918
31934
|
def Desc(self):
|
31919
31935
|
"""诊断描述
|
31920
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31921
31936
|
:rtype: str
|
31922
31937
|
"""
|
31923
31938
|
return self._Desc
|
@@ -31929,7 +31944,6 @@ class KubeJarvisStateDiagnostic(AbstractModel):
|
|
31929
31944
|
@property
|
31930
31945
|
def Results(self):
|
31931
31946
|
"""诊断结果列表
|
31932
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31933
31947
|
:rtype: list of KubeJarvisStateResultsItem
|
31934
31948
|
"""
|
31935
31949
|
return self._Results
|
@@ -31941,7 +31955,6 @@ class KubeJarvisStateDiagnostic(AbstractModel):
|
|
31941
31955
|
@property
|
31942
31956
|
def Statistics(self):
|
31943
31957
|
"""诊断结果统计
|
31944
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31945
31958
|
:rtype: list of KubeJarvisStateStatistic
|
31946
31959
|
"""
|
31947
31960
|
return self._Statistics
|
@@ -31993,10 +32006,8 @@ class KubeJarvisStateDiagnosticOverview(AbstractModel):
|
|
31993
32006
|
def __init__(self):
|
31994
32007
|
r"""
|
31995
32008
|
:param _Catalogues: 诊断目录
|
31996
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
31997
32009
|
:type Catalogues: list of KubeJarvisStateCatalogue
|
31998
32010
|
:param _Statistics: 诊断结果统计
|
31999
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32000
32011
|
:type Statistics: list of KubeJarvisStateStatistic
|
32001
32012
|
"""
|
32002
32013
|
self._Catalogues = None
|
@@ -32005,7 +32016,6 @@ class KubeJarvisStateDiagnosticOverview(AbstractModel):
|
|
32005
32016
|
@property
|
32006
32017
|
def Catalogues(self):
|
32007
32018
|
"""诊断目录
|
32008
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32009
32019
|
:rtype: list of KubeJarvisStateCatalogue
|
32010
32020
|
"""
|
32011
32021
|
return self._Catalogues
|
@@ -32017,7 +32027,6 @@ class KubeJarvisStateDiagnosticOverview(AbstractModel):
|
|
32017
32027
|
@property
|
32018
32028
|
def Statistics(self):
|
32019
32029
|
"""诊断结果统计
|
32020
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32021
32030
|
:rtype: list of KubeJarvisStateStatistic
|
32022
32031
|
"""
|
32023
32032
|
return self._Statistics
|
@@ -32058,13 +32067,10 @@ class KubeJarvisStateInspectionOverview(AbstractModel):
|
|
32058
32067
|
def __init__(self):
|
32059
32068
|
r"""
|
32060
32069
|
:param _ClusterId: 集群ID
|
32061
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32062
32070
|
:type ClusterId: str
|
32063
32071
|
:param _Statistics: 诊断结果统计
|
32064
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32065
32072
|
:type Statistics: list of KubeJarvisStateStatistic
|
32066
32073
|
:param _Diagnostics: 诊断结果详情
|
32067
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32068
32074
|
:type Diagnostics: list of KubeJarvisStateDiagnosticOverview
|
32069
32075
|
"""
|
32070
32076
|
self._ClusterId = None
|
@@ -32074,7 +32080,6 @@ class KubeJarvisStateInspectionOverview(AbstractModel):
|
|
32074
32080
|
@property
|
32075
32081
|
def ClusterId(self):
|
32076
32082
|
"""集群ID
|
32077
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32078
32083
|
:rtype: str
|
32079
32084
|
"""
|
32080
32085
|
return self._ClusterId
|
@@ -32086,7 +32091,6 @@ class KubeJarvisStateInspectionOverview(AbstractModel):
|
|
32086
32091
|
@property
|
32087
32092
|
def Statistics(self):
|
32088
32093
|
"""诊断结果统计
|
32089
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32090
32094
|
:rtype: list of KubeJarvisStateStatistic
|
32091
32095
|
"""
|
32092
32096
|
return self._Statistics
|
@@ -32098,7 +32102,6 @@ class KubeJarvisStateInspectionOverview(AbstractModel):
|
|
32098
32102
|
@property
|
32099
32103
|
def Diagnostics(self):
|
32100
32104
|
"""诊断结果详情
|
32101
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32102
32105
|
:rtype: list of KubeJarvisStateDiagnosticOverview
|
32103
32106
|
"""
|
32104
32107
|
return self._Diagnostics
|
@@ -32140,22 +32143,16 @@ class KubeJarvisStateInspectionResult(AbstractModel):
|
|
32140
32143
|
def __init__(self):
|
32141
32144
|
r"""
|
32142
32145
|
:param _ClusterId: 集群ID
|
32143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32144
32146
|
:type ClusterId: str
|
32145
32147
|
:param _StartTime: 诊断开始时间
|
32146
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32147
32148
|
:type StartTime: str
|
32148
32149
|
:param _EndTime: 诊断结束时间
|
32149
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32150
32150
|
:type EndTime: str
|
32151
32151
|
:param _Statistics: 诊断结果统计
|
32152
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32153
32152
|
:type Statistics: list of KubeJarvisStateStatistic
|
32154
32153
|
:param _Diagnostics: 诊断结果详情
|
32155
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32156
32154
|
:type Diagnostics: list of KubeJarvisStateDiagnostic
|
32157
32155
|
:param _Error: 查询巡检报告相关报错
|
32158
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32159
32156
|
:type Error: str
|
32160
32157
|
"""
|
32161
32158
|
self._ClusterId = None
|
@@ -32168,7 +32165,6 @@ class KubeJarvisStateInspectionResult(AbstractModel):
|
|
32168
32165
|
@property
|
32169
32166
|
def ClusterId(self):
|
32170
32167
|
"""集群ID
|
32171
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32172
32168
|
:rtype: str
|
32173
32169
|
"""
|
32174
32170
|
return self._ClusterId
|
@@ -32180,7 +32176,6 @@ class KubeJarvisStateInspectionResult(AbstractModel):
|
|
32180
32176
|
@property
|
32181
32177
|
def StartTime(self):
|
32182
32178
|
"""诊断开始时间
|
32183
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32184
32179
|
:rtype: str
|
32185
32180
|
"""
|
32186
32181
|
return self._StartTime
|
@@ -32192,7 +32187,6 @@ class KubeJarvisStateInspectionResult(AbstractModel):
|
|
32192
32187
|
@property
|
32193
32188
|
def EndTime(self):
|
32194
32189
|
"""诊断结束时间
|
32195
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32196
32190
|
:rtype: str
|
32197
32191
|
"""
|
32198
32192
|
return self._EndTime
|
@@ -32204,7 +32198,6 @@ class KubeJarvisStateInspectionResult(AbstractModel):
|
|
32204
32198
|
@property
|
32205
32199
|
def Statistics(self):
|
32206
32200
|
"""诊断结果统计
|
32207
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32208
32201
|
:rtype: list of KubeJarvisStateStatistic
|
32209
32202
|
"""
|
32210
32203
|
return self._Statistics
|
@@ -32216,7 +32209,6 @@ class KubeJarvisStateInspectionResult(AbstractModel):
|
|
32216
32209
|
@property
|
32217
32210
|
def Diagnostics(self):
|
32218
32211
|
"""诊断结果详情
|
32219
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32220
32212
|
:rtype: list of KubeJarvisStateDiagnostic
|
32221
32213
|
"""
|
32222
32214
|
return self._Diagnostics
|
@@ -32228,7 +32220,6 @@ class KubeJarvisStateInspectionResult(AbstractModel):
|
|
32228
32220
|
@property
|
32229
32221
|
def Error(self):
|
32230
32222
|
"""查询巡检报告相关报错
|
32231
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32232
32223
|
:rtype: str
|
32233
32224
|
"""
|
32234
32225
|
return self._Error
|
@@ -32273,10 +32264,8 @@ class KubeJarvisStateInspectionResultsItem(AbstractModel):
|
|
32273
32264
|
def __init__(self):
|
32274
32265
|
r"""
|
32275
32266
|
:param _Name: 巡检结果名称
|
32276
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32277
32267
|
:type Name: str
|
32278
32268
|
:param _Statistics: 诊断结果统计
|
32279
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32280
32269
|
:type Statistics: list of KubeJarvisStateStatistic
|
32281
32270
|
"""
|
32282
32271
|
self._Name = None
|
@@ -32285,7 +32274,6 @@ class KubeJarvisStateInspectionResultsItem(AbstractModel):
|
|
32285
32274
|
@property
|
32286
32275
|
def Name(self):
|
32287
32276
|
"""巡检结果名称
|
32288
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32289
32277
|
:rtype: str
|
32290
32278
|
"""
|
32291
32279
|
return self._Name
|
@@ -32297,7 +32285,6 @@ class KubeJarvisStateInspectionResultsItem(AbstractModel):
|
|
32297
32285
|
@property
|
32298
32286
|
def Statistics(self):
|
32299
32287
|
"""诊断结果统计
|
32300
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32301
32288
|
:rtype: list of KubeJarvisStateStatistic
|
32302
32289
|
"""
|
32303
32290
|
return self._Statistics
|
@@ -32333,10 +32320,8 @@ class KubeJarvisStateResultObjInfo(AbstractModel):
|
|
32333
32320
|
def __init__(self):
|
32334
32321
|
r"""
|
32335
32322
|
:param _PropertyName: 对象属性名称
|
32336
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32337
32323
|
:type PropertyName: str
|
32338
32324
|
:param _PropertyValue: 对象属性值
|
32339
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32340
32325
|
:type PropertyValue: str
|
32341
32326
|
"""
|
32342
32327
|
self._PropertyName = None
|
@@ -32345,7 +32330,6 @@ class KubeJarvisStateResultObjInfo(AbstractModel):
|
|
32345
32330
|
@property
|
32346
32331
|
def PropertyName(self):
|
32347
32332
|
"""对象属性名称
|
32348
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32349
32333
|
:rtype: str
|
32350
32334
|
"""
|
32351
32335
|
return self._PropertyName
|
@@ -32357,7 +32341,6 @@ class KubeJarvisStateResultObjInfo(AbstractModel):
|
|
32357
32341
|
@property
|
32358
32342
|
def PropertyValue(self):
|
32359
32343
|
"""对象属性值
|
32360
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32361
32344
|
:rtype: str
|
32362
32345
|
"""
|
32363
32346
|
return self._PropertyValue
|
@@ -32388,28 +32371,22 @@ class KubeJarvisStateResultsItem(AbstractModel):
|
|
32388
32371
|
def __init__(self):
|
32389
32372
|
r"""
|
32390
32373
|
:param _Level: 诊断结果级别
|
32391
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32392
32374
|
:type Level: str
|
32393
32375
|
:param _ObjName: 诊断对象名
|
32394
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32395
32376
|
:type ObjName: str
|
32396
32377
|
:param _ObjInfo: 诊断对象信息
|
32397
32378
|
注意:此字段可能返回 null,表示取不到有效值。
|
32398
32379
|
:type ObjInfo: list of KubeJarvisStateResultObjInfo
|
32399
32380
|
:param _Title: 诊断项标题
|
32400
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32401
32381
|
:type Title: str
|
32402
32382
|
:param _Desc: 诊断项描述
|
32403
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32404
32383
|
:type Desc: str
|
32405
32384
|
:param _Proposal: 诊断建议
|
32406
32385
|
注意:此字段可能返回 null,表示取不到有效值。
|
32407
32386
|
:type Proposal: str
|
32408
32387
|
:param _ProposalDocUrl: 诊断建议文档链接
|
32409
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32410
32388
|
:type ProposalDocUrl: str
|
32411
32389
|
:param _ProposalDocName: 诊断建议文档名称
|
32412
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32413
32390
|
:type ProposalDocName: str
|
32414
32391
|
"""
|
32415
32392
|
self._Level = None
|
@@ -32424,7 +32401,6 @@ class KubeJarvisStateResultsItem(AbstractModel):
|
|
32424
32401
|
@property
|
32425
32402
|
def Level(self):
|
32426
32403
|
"""诊断结果级别
|
32427
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32428
32404
|
:rtype: str
|
32429
32405
|
"""
|
32430
32406
|
return self._Level
|
@@ -32436,7 +32412,6 @@ class KubeJarvisStateResultsItem(AbstractModel):
|
|
32436
32412
|
@property
|
32437
32413
|
def ObjName(self):
|
32438
32414
|
"""诊断对象名
|
32439
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32440
32415
|
:rtype: str
|
32441
32416
|
"""
|
32442
32417
|
return self._ObjName
|
@@ -32460,7 +32435,6 @@ class KubeJarvisStateResultsItem(AbstractModel):
|
|
32460
32435
|
@property
|
32461
32436
|
def Title(self):
|
32462
32437
|
"""诊断项标题
|
32463
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32464
32438
|
:rtype: str
|
32465
32439
|
"""
|
32466
32440
|
return self._Title
|
@@ -32472,7 +32446,6 @@ class KubeJarvisStateResultsItem(AbstractModel):
|
|
32472
32446
|
@property
|
32473
32447
|
def Desc(self):
|
32474
32448
|
"""诊断项描述
|
32475
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32476
32449
|
:rtype: str
|
32477
32450
|
"""
|
32478
32451
|
return self._Desc
|
@@ -32496,7 +32469,6 @@ class KubeJarvisStateResultsItem(AbstractModel):
|
|
32496
32469
|
@property
|
32497
32470
|
def ProposalDocUrl(self):
|
32498
32471
|
"""诊断建议文档链接
|
32499
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32500
32472
|
:rtype: str
|
32501
32473
|
"""
|
32502
32474
|
return self._ProposalDocUrl
|
@@ -32508,7 +32480,6 @@ class KubeJarvisStateResultsItem(AbstractModel):
|
|
32508
32480
|
@property
|
32509
32481
|
def ProposalDocName(self):
|
32510
32482
|
"""诊断建议文档名称
|
32511
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32512
32483
|
:rtype: str
|
32513
32484
|
"""
|
32514
32485
|
return self._ProposalDocName
|
@@ -32550,10 +32521,8 @@ class KubeJarvisStateStatistic(AbstractModel):
|
|
32550
32521
|
def __init__(self):
|
32551
32522
|
r"""
|
32552
32523
|
:param _HealthyLevel: 诊断结果的健康水平
|
32553
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32554
32524
|
:type HealthyLevel: str
|
32555
32525
|
:param _Count: 诊断结果的统计
|
32556
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32557
32526
|
:type Count: int
|
32558
32527
|
"""
|
32559
32528
|
self._HealthyLevel = None
|
@@ -32562,7 +32531,6 @@ class KubeJarvisStateStatistic(AbstractModel):
|
|
32562
32531
|
@property
|
32563
32532
|
def HealthyLevel(self):
|
32564
32533
|
"""诊断结果的健康水平
|
32565
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32566
32534
|
:rtype: str
|
32567
32535
|
"""
|
32568
32536
|
return self._HealthyLevel
|
@@ -32574,7 +32542,6 @@ class KubeJarvisStateStatistic(AbstractModel):
|
|
32574
32542
|
@property
|
32575
32543
|
def Count(self):
|
32576
32544
|
"""诊断结果的统计
|
32577
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32578
32545
|
:rtype: int
|
32579
32546
|
"""
|
32580
32547
|
return self._Count
|
@@ -32892,27 +32859,24 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32892
32859
|
def __init__(self):
|
32893
32860
|
r"""
|
32894
32861
|
:param _Probe: 探针参数
|
32895
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32896
32862
|
:type Probe: :class:`tencentcloud.tke.v20180525.models.Probe`
|
32897
|
-
:param _HttpGet: HttpGet检测参数
|
32898
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32899
|
-
:type HttpGet: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32900
32863
|
:param _Exec: 容器内检测命令参数
|
32901
32864
|
注意:此字段可能返回 null,表示取不到有效值。
|
32902
32865
|
:type Exec: :class:`tencentcloud.tke.v20180525.models.Exec`
|
32866
|
+
:param _HttpGet: HttpGet检测参数
|
32867
|
+
:type HttpGet: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32903
32868
|
:param _TcpSocket: TcpSocket检测的端口参数
|
32904
32869
|
注意:此字段可能返回 null,表示取不到有效值。
|
32905
32870
|
:type TcpSocket: :class:`tencentcloud.tke.v20180525.models.TcpSocket`
|
32906
32871
|
"""
|
32907
32872
|
self._Probe = None
|
32908
|
-
self._HttpGet = None
|
32909
32873
|
self._Exec = None
|
32874
|
+
self._HttpGet = None
|
32910
32875
|
self._TcpSocket = None
|
32911
32876
|
|
32912
32877
|
@property
|
32913
32878
|
def Probe(self):
|
32914
32879
|
"""探针参数
|
32915
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32916
32880
|
:rtype: :class:`tencentcloud.tke.v20180525.models.Probe`
|
32917
32881
|
"""
|
32918
32882
|
return self._Probe
|
@@ -32921,18 +32885,6 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32921
32885
|
def Probe(self, Probe):
|
32922
32886
|
self._Probe = Probe
|
32923
32887
|
|
32924
|
-
@property
|
32925
|
-
def HttpGet(self):
|
32926
|
-
"""HttpGet检测参数
|
32927
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32928
|
-
:rtype: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32929
|
-
"""
|
32930
|
-
return self._HttpGet
|
32931
|
-
|
32932
|
-
@HttpGet.setter
|
32933
|
-
def HttpGet(self, HttpGet):
|
32934
|
-
self._HttpGet = HttpGet
|
32935
|
-
|
32936
32888
|
@property
|
32937
32889
|
def Exec(self):
|
32938
32890
|
"""容器内检测命令参数
|
@@ -32945,6 +32897,17 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32945
32897
|
def Exec(self, Exec):
|
32946
32898
|
self._Exec = Exec
|
32947
32899
|
|
32900
|
+
@property
|
32901
|
+
def HttpGet(self):
|
32902
|
+
"""HttpGet检测参数
|
32903
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32904
|
+
"""
|
32905
|
+
return self._HttpGet
|
32906
|
+
|
32907
|
+
@HttpGet.setter
|
32908
|
+
def HttpGet(self, HttpGet):
|
32909
|
+
self._HttpGet = HttpGet
|
32910
|
+
|
32948
32911
|
@property
|
32949
32912
|
def TcpSocket(self):
|
32950
32913
|
"""TcpSocket检测的端口参数
|
@@ -32962,12 +32925,12 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32962
32925
|
if params.get("Probe") is not None:
|
32963
32926
|
self._Probe = Probe()
|
32964
32927
|
self._Probe._deserialize(params.get("Probe"))
|
32965
|
-
if params.get("HttpGet") is not None:
|
32966
|
-
self._HttpGet = HttpGet()
|
32967
|
-
self._HttpGet._deserialize(params.get("HttpGet"))
|
32968
32928
|
if params.get("Exec") is not None:
|
32969
32929
|
self._Exec = Exec()
|
32970
32930
|
self._Exec._deserialize(params.get("Exec"))
|
32931
|
+
if params.get("HttpGet") is not None:
|
32932
|
+
self._HttpGet = HttpGet()
|
32933
|
+
self._HttpGet._deserialize(params.get("HttpGet"))
|
32971
32934
|
if params.get("TcpSocket") is not None:
|
32972
32935
|
self._TcpSocket = TcpSocket()
|
32973
32936
|
self._TcpSocket._deserialize(params.get("TcpSocket"))
|
@@ -35768,16 +35731,16 @@ class NfsVolume(AbstractModel):
|
|
35768
35731
|
r"""
|
35769
35732
|
:param _Name: nfs volume 数据卷名称
|
35770
35733
|
:type Name: str
|
35771
|
-
:param _Server: NFS 服务器地址
|
35772
|
-
:type Server: str
|
35773
35734
|
:param _Path: NFS 数据卷路径
|
35774
35735
|
:type Path: str
|
35736
|
+
:param _Server: NFS 服务器地址
|
35737
|
+
:type Server: str
|
35775
35738
|
:param _ReadOnly: 默认为 False
|
35776
35739
|
:type ReadOnly: bool
|
35777
35740
|
"""
|
35778
35741
|
self._Name = None
|
35779
|
-
self._Server = None
|
35780
35742
|
self._Path = None
|
35743
|
+
self._Server = None
|
35781
35744
|
self._ReadOnly = None
|
35782
35745
|
|
35783
35746
|
@property
|
@@ -35791,17 +35754,6 @@ class NfsVolume(AbstractModel):
|
|
35791
35754
|
def Name(self, Name):
|
35792
35755
|
self._Name = Name
|
35793
35756
|
|
35794
|
-
@property
|
35795
|
-
def Server(self):
|
35796
|
-
"""NFS 服务器地址
|
35797
|
-
:rtype: str
|
35798
|
-
"""
|
35799
|
-
return self._Server
|
35800
|
-
|
35801
|
-
@Server.setter
|
35802
|
-
def Server(self, Server):
|
35803
|
-
self._Server = Server
|
35804
|
-
|
35805
35757
|
@property
|
35806
35758
|
def Path(self):
|
35807
35759
|
"""NFS 数据卷路径
|
@@ -35813,6 +35765,17 @@ class NfsVolume(AbstractModel):
|
|
35813
35765
|
def Path(self, Path):
|
35814
35766
|
self._Path = Path
|
35815
35767
|
|
35768
|
+
@property
|
35769
|
+
def Server(self):
|
35770
|
+
"""NFS 服务器地址
|
35771
|
+
:rtype: str
|
35772
|
+
"""
|
35773
|
+
return self._Server
|
35774
|
+
|
35775
|
+
@Server.setter
|
35776
|
+
def Server(self, Server):
|
35777
|
+
self._Server = Server
|
35778
|
+
|
35816
35779
|
@property
|
35817
35780
|
def ReadOnly(self):
|
35818
35781
|
"""默认为 False
|
@@ -35827,8 +35790,8 @@ class NfsVolume(AbstractModel):
|
|
35827
35790
|
|
35828
35791
|
def _deserialize(self, params):
|
35829
35792
|
self._Name = params.get("Name")
|
35830
|
-
self._Server = params.get("Server")
|
35831
35793
|
self._Path = params.get("Path")
|
35794
|
+
self._Server = params.get("Server")
|
35832
35795
|
self._ReadOnly = params.get("ReadOnly")
|
35833
35796
|
memeber_set = set(params.keys())
|
35834
35797
|
for name, value in vars(self).items():
|
@@ -36598,6 +36561,117 @@ class OIDCConfigAuthenticationOptions(AbstractModel):
|
|
36598
36561
|
|
36599
36562
|
|
36600
36563
|
|
36564
|
+
class OSImage(AbstractModel):
|
36565
|
+
"""操作系统描述
|
36566
|
+
|
36567
|
+
"""
|
36568
|
+
|
36569
|
+
def __init__(self):
|
36570
|
+
r"""
|
36571
|
+
:param _SeriesName: os聚合名称
|
36572
|
+
:type SeriesName: str
|
36573
|
+
:param _Alias: os别名
|
36574
|
+
:type Alias: str
|
36575
|
+
:param _OsName: os名称
|
36576
|
+
:type OsName: str
|
36577
|
+
:param _OsCustomizeType: 操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)
|
36578
|
+
:type OsCustomizeType: str
|
36579
|
+
:param _Status: os是否下线(online表示在线,offline表示下线)
|
36580
|
+
:type Status: str
|
36581
|
+
:param _ImageId: 镜像id
|
36582
|
+
:type ImageId: str
|
36583
|
+
"""
|
36584
|
+
self._SeriesName = None
|
36585
|
+
self._Alias = None
|
36586
|
+
self._OsName = None
|
36587
|
+
self._OsCustomizeType = None
|
36588
|
+
self._Status = None
|
36589
|
+
self._ImageId = None
|
36590
|
+
|
36591
|
+
@property
|
36592
|
+
def SeriesName(self):
|
36593
|
+
"""os聚合名称
|
36594
|
+
:rtype: str
|
36595
|
+
"""
|
36596
|
+
return self._SeriesName
|
36597
|
+
|
36598
|
+
@SeriesName.setter
|
36599
|
+
def SeriesName(self, SeriesName):
|
36600
|
+
self._SeriesName = SeriesName
|
36601
|
+
|
36602
|
+
@property
|
36603
|
+
def Alias(self):
|
36604
|
+
"""os别名
|
36605
|
+
:rtype: str
|
36606
|
+
"""
|
36607
|
+
return self._Alias
|
36608
|
+
|
36609
|
+
@Alias.setter
|
36610
|
+
def Alias(self, Alias):
|
36611
|
+
self._Alias = Alias
|
36612
|
+
|
36613
|
+
@property
|
36614
|
+
def OsName(self):
|
36615
|
+
"""os名称
|
36616
|
+
:rtype: str
|
36617
|
+
"""
|
36618
|
+
return self._OsName
|
36619
|
+
|
36620
|
+
@OsName.setter
|
36621
|
+
def OsName(self, OsName):
|
36622
|
+
self._OsName = OsName
|
36623
|
+
|
36624
|
+
@property
|
36625
|
+
def OsCustomizeType(self):
|
36626
|
+
"""操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)
|
36627
|
+
:rtype: str
|
36628
|
+
"""
|
36629
|
+
return self._OsCustomizeType
|
36630
|
+
|
36631
|
+
@OsCustomizeType.setter
|
36632
|
+
def OsCustomizeType(self, OsCustomizeType):
|
36633
|
+
self._OsCustomizeType = OsCustomizeType
|
36634
|
+
|
36635
|
+
@property
|
36636
|
+
def Status(self):
|
36637
|
+
"""os是否下线(online表示在线,offline表示下线)
|
36638
|
+
:rtype: str
|
36639
|
+
"""
|
36640
|
+
return self._Status
|
36641
|
+
|
36642
|
+
@Status.setter
|
36643
|
+
def Status(self, Status):
|
36644
|
+
self._Status = Status
|
36645
|
+
|
36646
|
+
@property
|
36647
|
+
def ImageId(self):
|
36648
|
+
"""镜像id
|
36649
|
+
:rtype: str
|
36650
|
+
"""
|
36651
|
+
return self._ImageId
|
36652
|
+
|
36653
|
+
@ImageId.setter
|
36654
|
+
def ImageId(self, ImageId):
|
36655
|
+
self._ImageId = ImageId
|
36656
|
+
|
36657
|
+
|
36658
|
+
def _deserialize(self, params):
|
36659
|
+
self._SeriesName = params.get("SeriesName")
|
36660
|
+
self._Alias = params.get("Alias")
|
36661
|
+
self._OsName = params.get("OsName")
|
36662
|
+
self._OsCustomizeType = params.get("OsCustomizeType")
|
36663
|
+
self._Status = params.get("Status")
|
36664
|
+
self._ImageId = params.get("ImageId")
|
36665
|
+
memeber_set = set(params.keys())
|
36666
|
+
for name, value in vars(self).items():
|
36667
|
+
property_name = name[1:]
|
36668
|
+
if property_name in memeber_set:
|
36669
|
+
memeber_set.remove(property_name)
|
36670
|
+
if len(memeber_set) > 0:
|
36671
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
36672
|
+
|
36673
|
+
|
36674
|
+
|
36601
36675
|
class OpenConstraintInfo(AbstractModel):
|
36602
36676
|
"""策略实例信息
|
36603
36677
|
|
@@ -37679,53 +37753,52 @@ class Probe(AbstractModel):
|
|
37679
37753
|
|
37680
37754
|
def __init__(self):
|
37681
37755
|
r"""
|
37756
|
+
:param _FailureThreshold: Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
|
37757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
37758
|
+
:type FailureThreshold: int
|
37682
37759
|
:param _InitialDelaySeconds: Number of seconds after the container has started before liveness probes are initiated.
|
37683
37760
|
注意:此字段可能返回 null,表示取不到有效值。
|
37684
37761
|
:type InitialDelaySeconds: int
|
37685
|
-
:param _TimeoutSeconds: Number of seconds after which the probe times out.
|
37686
|
-
Defaults to 1 second. Minimum value is 1.
|
37687
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
37688
|
-
:type TimeoutSeconds: int
|
37689
37762
|
:param _PeriodSeconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
|
37690
37763
|
注意:此字段可能返回 null,表示取不到有效值。
|
37691
37764
|
:type PeriodSeconds: int
|
37692
37765
|
: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.
|
37693
37766
|
注意:此字段可能返回 null,表示取不到有效值。
|
37694
37767
|
:type SuccessThreshold: int
|
37695
|
-
:param
|
37768
|
+
:param _TimeoutSeconds: Number of seconds after which the probe times out.
|
37769
|
+
Defaults to 1 second. Minimum value is 1.
|
37696
37770
|
注意:此字段可能返回 null,表示取不到有效值。
|
37697
|
-
:type
|
37771
|
+
:type TimeoutSeconds: int
|
37698
37772
|
"""
|
37773
|
+
self._FailureThreshold = None
|
37699
37774
|
self._InitialDelaySeconds = None
|
37700
|
-
self._TimeoutSeconds = None
|
37701
37775
|
self._PeriodSeconds = None
|
37702
37776
|
self._SuccessThreshold = None
|
37703
|
-
self.
|
37777
|
+
self._TimeoutSeconds = None
|
37704
37778
|
|
37705
37779
|
@property
|
37706
|
-
def
|
37707
|
-
"""
|
37780
|
+
def FailureThreshold(self):
|
37781
|
+
"""Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
|
37708
37782
|
注意:此字段可能返回 null,表示取不到有效值。
|
37709
37783
|
:rtype: int
|
37710
37784
|
"""
|
37711
|
-
return self.
|
37785
|
+
return self._FailureThreshold
|
37712
37786
|
|
37713
|
-
@
|
37714
|
-
def
|
37715
|
-
self.
|
37787
|
+
@FailureThreshold.setter
|
37788
|
+
def FailureThreshold(self, FailureThreshold):
|
37789
|
+
self._FailureThreshold = FailureThreshold
|
37716
37790
|
|
37717
37791
|
@property
|
37718
|
-
def
|
37719
|
-
"""Number of seconds after
|
37720
|
-
Defaults to 1 second. Minimum value is 1.
|
37792
|
+
def InitialDelaySeconds(self):
|
37793
|
+
"""Number of seconds after the container has started before liveness probes are initiated.
|
37721
37794
|
注意:此字段可能返回 null,表示取不到有效值。
|
37722
37795
|
:rtype: int
|
37723
37796
|
"""
|
37724
|
-
return self.
|
37797
|
+
return self._InitialDelaySeconds
|
37725
37798
|
|
37726
|
-
@
|
37727
|
-
def
|
37728
|
-
self.
|
37799
|
+
@InitialDelaySeconds.setter
|
37800
|
+
def InitialDelaySeconds(self, InitialDelaySeconds):
|
37801
|
+
self._InitialDelaySeconds = InitialDelaySeconds
|
37729
37802
|
|
37730
37803
|
@property
|
37731
37804
|
def PeriodSeconds(self):
|
@@ -37752,24 +37825,25 @@ Defaults to 1 second. Minimum value is 1.
|
|
37752
37825
|
self._SuccessThreshold = SuccessThreshold
|
37753
37826
|
|
37754
37827
|
@property
|
37755
|
-
def
|
37756
|
-
"""
|
37828
|
+
def TimeoutSeconds(self):
|
37829
|
+
"""Number of seconds after which the probe times out.
|
37830
|
+
Defaults to 1 second. Minimum value is 1.
|
37757
37831
|
注意:此字段可能返回 null,表示取不到有效值。
|
37758
37832
|
:rtype: int
|
37759
37833
|
"""
|
37760
|
-
return self.
|
37834
|
+
return self._TimeoutSeconds
|
37761
37835
|
|
37762
|
-
@
|
37763
|
-
def
|
37764
|
-
self.
|
37836
|
+
@TimeoutSeconds.setter
|
37837
|
+
def TimeoutSeconds(self, TimeoutSeconds):
|
37838
|
+
self._TimeoutSeconds = TimeoutSeconds
|
37765
37839
|
|
37766
37840
|
|
37767
37841
|
def _deserialize(self, params):
|
37842
|
+
self._FailureThreshold = params.get("FailureThreshold")
|
37768
37843
|
self._InitialDelaySeconds = params.get("InitialDelaySeconds")
|
37769
|
-
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
37770
37844
|
self._PeriodSeconds = params.get("PeriodSeconds")
|
37771
37845
|
self._SuccessThreshold = params.get("SuccessThreshold")
|
37772
|
-
self.
|
37846
|
+
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
37773
37847
|
memeber_set = set(params.keys())
|
37774
37848
|
for name, value in vars(self).items():
|
37775
37849
|
property_name = name[1:]
|
@@ -45536,7 +45610,6 @@ class TcpSocket(AbstractModel):
|
|
45536
45610
|
def __init__(self):
|
45537
45611
|
r"""
|
45538
45612
|
:param _Port: TcpSocket检测的端口
|
45539
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
45540
45613
|
:type Port: int
|
45541
45614
|
"""
|
45542
45615
|
self._Port = None
|
@@ -45544,7 +45617,6 @@ class TcpSocket(AbstractModel):
|
|
45544
45617
|
@property
|
45545
45618
|
def Port(self):
|
45546
45619
|
"""TcpSocket检测的端口
|
45547
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
45548
45620
|
:rtype: int
|
45549
45621
|
"""
|
45550
45622
|
return self._Port
|
@@ -46685,7 +46757,6 @@ class UpdateEKSContainerInstanceResponse(AbstractModel):
|
|
46685
46757
|
def __init__(self):
|
46686
46758
|
r"""
|
46687
46759
|
:param _EksCiId: 容器实例 ID
|
46688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
46689
46760
|
:type EksCiId: str
|
46690
46761
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
46691
46762
|
:type RequestId: str
|
@@ -46696,7 +46767,6 @@ class UpdateEKSContainerInstanceResponse(AbstractModel):
|
|
46696
46767
|
@property
|
46697
46768
|
def EksCiId(self):
|
46698
46769
|
"""容器实例 ID
|
46699
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
46700
46770
|
:rtype: str
|
46701
46771
|
"""
|
46702
46772
|
return self._EksCiId
|
@@ -48204,32 +48274,44 @@ class VolumeMount(AbstractModel):
|
|
48204
48274
|
|
48205
48275
|
def __init__(self):
|
48206
48276
|
r"""
|
48277
|
+
:param _MountPath: 挂载路径
|
48278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
48279
|
+
:type MountPath: str
|
48207
48280
|
:param _Name: volume名称
|
48208
48281
|
注意:此字段可能返回 null,表示取不到有效值。
|
48209
48282
|
:type Name: str
|
48210
|
-
:param
|
48283
|
+
:param _MountPropagation: 传播挂载方式
|
48211
48284
|
注意:此字段可能返回 null,表示取不到有效值。
|
48212
|
-
:type
|
48285
|
+
:type MountPropagation: str
|
48213
48286
|
:param _ReadOnly: 是否只读
|
48214
48287
|
注意:此字段可能返回 null,表示取不到有效值。
|
48215
48288
|
:type ReadOnly: bool
|
48216
48289
|
:param _SubPath: 子路径
|
48217
48290
|
注意:此字段可能返回 null,表示取不到有效值。
|
48218
48291
|
:type SubPath: str
|
48219
|
-
:param _MountPropagation: 传播挂载方式
|
48220
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
48221
|
-
:type MountPropagation: str
|
48222
48292
|
:param _SubPathExpr: 子路径表达式
|
48223
48293
|
注意:此字段可能返回 null,表示取不到有效值。
|
48224
48294
|
:type SubPathExpr: str
|
48225
48295
|
"""
|
48226
|
-
self._Name = None
|
48227
48296
|
self._MountPath = None
|
48297
|
+
self._Name = None
|
48298
|
+
self._MountPropagation = None
|
48228
48299
|
self._ReadOnly = None
|
48229
48300
|
self._SubPath = None
|
48230
|
-
self._MountPropagation = None
|
48231
48301
|
self._SubPathExpr = None
|
48232
48302
|
|
48303
|
+
@property
|
48304
|
+
def MountPath(self):
|
48305
|
+
"""挂载路径
|
48306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
48307
|
+
:rtype: str
|
48308
|
+
"""
|
48309
|
+
return self._MountPath
|
48310
|
+
|
48311
|
+
@MountPath.setter
|
48312
|
+
def MountPath(self, MountPath):
|
48313
|
+
self._MountPath = MountPath
|
48314
|
+
|
48233
48315
|
@property
|
48234
48316
|
def Name(self):
|
48235
48317
|
"""volume名称
|
@@ -48243,16 +48325,16 @@ class VolumeMount(AbstractModel):
|
|
48243
48325
|
self._Name = Name
|
48244
48326
|
|
48245
48327
|
@property
|
48246
|
-
def
|
48247
|
-
"""
|
48328
|
+
def MountPropagation(self):
|
48329
|
+
"""传播挂载方式
|
48248
48330
|
注意:此字段可能返回 null,表示取不到有效值。
|
48249
48331
|
:rtype: str
|
48250
48332
|
"""
|
48251
|
-
return self.
|
48333
|
+
return self._MountPropagation
|
48252
48334
|
|
48253
|
-
@
|
48254
|
-
def
|
48255
|
-
self.
|
48335
|
+
@MountPropagation.setter
|
48336
|
+
def MountPropagation(self, MountPropagation):
|
48337
|
+
self._MountPropagation = MountPropagation
|
48256
48338
|
|
48257
48339
|
@property
|
48258
48340
|
def ReadOnly(self):
|
@@ -48278,18 +48360,6 @@ class VolumeMount(AbstractModel):
|
|
48278
48360
|
def SubPath(self, SubPath):
|
48279
48361
|
self._SubPath = SubPath
|
48280
48362
|
|
48281
|
-
@property
|
48282
|
-
def MountPropagation(self):
|
48283
|
-
"""传播挂载方式
|
48284
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
48285
|
-
:rtype: str
|
48286
|
-
"""
|
48287
|
-
return self._MountPropagation
|
48288
|
-
|
48289
|
-
@MountPropagation.setter
|
48290
|
-
def MountPropagation(self, MountPropagation):
|
48291
|
-
self._MountPropagation = MountPropagation
|
48292
|
-
|
48293
48363
|
@property
|
48294
48364
|
def SubPathExpr(self):
|
48295
48365
|
"""子路径表达式
|
@@ -48304,11 +48374,11 @@ class VolumeMount(AbstractModel):
|
|
48304
48374
|
|
48305
48375
|
|
48306
48376
|
def _deserialize(self, params):
|
48307
|
-
self._Name = params.get("Name")
|
48308
48377
|
self._MountPath = params.get("MountPath")
|
48378
|
+
self._Name = params.get("Name")
|
48379
|
+
self._MountPropagation = params.get("MountPropagation")
|
48309
48380
|
self._ReadOnly = params.get("ReadOnly")
|
48310
48381
|
self._SubPath = params.get("SubPath")
|
48311
|
-
self._MountPropagation = params.get("MountPropagation")
|
48312
48382
|
self._SubPathExpr = params.get("SubPathExpr")
|
48313
48383
|
memeber_set = set(params.keys())
|
48314
48384
|
for name, value in vars(self).items():
|