tencentcloud-sdk-python 3.0.1348__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/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/cdwpg/v20201230/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dlc/v20210125/models.py +256 -16
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/models.py +8 -8
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +6 -6
- tencentcloud/hai/v20230812/models.py +0 -52
- tencentcloud/hunyuan/v20230901/models.py +6 -4
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/live/v20180801/models.py +8 -24
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -0
- tencentcloud/mariadb/v20170312/models.py +2 -6
- tencentcloud/monitor/v20180724/models.py +95 -14
- tencentcloud/mps/v20190612/models.py +260 -0
- tencentcloud/mqtt/v20240516/models.py +124 -114
- tencentcloud/mqtt/v20240516/mqtt_client.py +2 -2
- 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 -12
- tencentcloud/tcr/v20190924/models.py +30 -20
- tencentcloud/tdmq/v20200217/models.py +0 -2
- tencentcloud/tke/v20180525/models.py +692 -556
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tsf/v20180326/models.py +56 -14
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +20 -214
- tencentcloud/vpc/v20170312/models.py +135 -0
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1348.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:]
|
@@ -32826,27 +32859,24 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32826
32859
|
def __init__(self):
|
32827
32860
|
r"""
|
32828
32861
|
:param _Probe: 探针参数
|
32829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32830
32862
|
:type Probe: :class:`tencentcloud.tke.v20180525.models.Probe`
|
32831
|
-
:param _HttpGet: HttpGet检测参数
|
32832
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32833
|
-
:type HttpGet: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32834
32863
|
:param _Exec: 容器内检测命令参数
|
32835
32864
|
注意:此字段可能返回 null,表示取不到有效值。
|
32836
32865
|
:type Exec: :class:`tencentcloud.tke.v20180525.models.Exec`
|
32866
|
+
:param _HttpGet: HttpGet检测参数
|
32867
|
+
:type HttpGet: :class:`tencentcloud.tke.v20180525.models.HttpGet`
|
32837
32868
|
:param _TcpSocket: TcpSocket检测的端口参数
|
32838
32869
|
注意:此字段可能返回 null,表示取不到有效值。
|
32839
32870
|
:type TcpSocket: :class:`tencentcloud.tke.v20180525.models.TcpSocket`
|
32840
32871
|
"""
|
32841
32872
|
self._Probe = None
|
32842
|
-
self._HttpGet = None
|
32843
32873
|
self._Exec = None
|
32874
|
+
self._HttpGet = None
|
32844
32875
|
self._TcpSocket = None
|
32845
32876
|
|
32846
32877
|
@property
|
32847
32878
|
def Probe(self):
|
32848
32879
|
"""探针参数
|
32849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32850
32880
|
:rtype: :class:`tencentcloud.tke.v20180525.models.Probe`
|
32851
32881
|
"""
|
32852
32882
|
return self._Probe
|
@@ -32855,18 +32885,6 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32855
32885
|
def Probe(self, Probe):
|
32856
32886
|
self._Probe = Probe
|
32857
32887
|
|
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
32888
|
@property
|
32871
32889
|
def Exec(self):
|
32872
32890
|
"""容器内检测命令参数
|
@@ -32879,6 +32897,17 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32879
32897
|
def Exec(self, Exec):
|
32880
32898
|
self._Exec = Exec
|
32881
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
|
+
|
32882
32911
|
@property
|
32883
32912
|
def TcpSocket(self):
|
32884
32913
|
"""TcpSocket检测的端口参数
|
@@ -32896,12 +32925,12 @@ class LivenessOrReadinessProbe(AbstractModel):
|
|
32896
32925
|
if params.get("Probe") is not None:
|
32897
32926
|
self._Probe = Probe()
|
32898
32927
|
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
32928
|
if params.get("Exec") is not None:
|
32903
32929
|
self._Exec = Exec()
|
32904
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"))
|
32905
32934
|
if params.get("TcpSocket") is not None:
|
32906
32935
|
self._TcpSocket = TcpSocket()
|
32907
32936
|
self._TcpSocket._deserialize(params.get("TcpSocket"))
|
@@ -35702,16 +35731,16 @@ class NfsVolume(AbstractModel):
|
|
35702
35731
|
r"""
|
35703
35732
|
:param _Name: nfs volume 数据卷名称
|
35704
35733
|
:type Name: str
|
35705
|
-
:param _Server: NFS 服务器地址
|
35706
|
-
:type Server: str
|
35707
35734
|
:param _Path: NFS 数据卷路径
|
35708
35735
|
:type Path: str
|
35736
|
+
:param _Server: NFS 服务器地址
|
35737
|
+
:type Server: str
|
35709
35738
|
:param _ReadOnly: 默认为 False
|
35710
35739
|
:type ReadOnly: bool
|
35711
35740
|
"""
|
35712
35741
|
self._Name = None
|
35713
|
-
self._Server = None
|
35714
35742
|
self._Path = None
|
35743
|
+
self._Server = None
|
35715
35744
|
self._ReadOnly = None
|
35716
35745
|
|
35717
35746
|
@property
|
@@ -35725,17 +35754,6 @@ class NfsVolume(AbstractModel):
|
|
35725
35754
|
def Name(self, Name):
|
35726
35755
|
self._Name = Name
|
35727
35756
|
|
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
35757
|
@property
|
35740
35758
|
def Path(self):
|
35741
35759
|
"""NFS 数据卷路径
|
@@ -35747,6 +35765,17 @@ class NfsVolume(AbstractModel):
|
|
35747
35765
|
def Path(self, Path):
|
35748
35766
|
self._Path = Path
|
35749
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
|
+
|
35750
35779
|
@property
|
35751
35780
|
def ReadOnly(self):
|
35752
35781
|
"""默认为 False
|
@@ -35761,8 +35790,8 @@ class NfsVolume(AbstractModel):
|
|
35761
35790
|
|
35762
35791
|
def _deserialize(self, params):
|
35763
35792
|
self._Name = params.get("Name")
|
35764
|
-
self._Server = params.get("Server")
|
35765
35793
|
self._Path = params.get("Path")
|
35794
|
+
self._Server = params.get("Server")
|
35766
35795
|
self._ReadOnly = params.get("ReadOnly")
|
35767
35796
|
memeber_set = set(params.keys())
|
35768
35797
|
for name, value in vars(self).items():
|
@@ -36532,6 +36561,117 @@ class OIDCConfigAuthenticationOptions(AbstractModel):
|
|
36532
36561
|
|
36533
36562
|
|
36534
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
|
+
|
36535
36675
|
class OpenConstraintInfo(AbstractModel):
|
36536
36676
|
"""策略实例信息
|
36537
36677
|
|
@@ -37613,53 +37753,52 @@ class Probe(AbstractModel):
|
|
37613
37753
|
|
37614
37754
|
def __init__(self):
|
37615
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
|
37616
37759
|
:param _InitialDelaySeconds: Number of seconds after the container has started before liveness probes are initiated.
|
37617
37760
|
注意:此字段可能返回 null,表示取不到有效值。
|
37618
37761
|
: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
37762
|
:param _PeriodSeconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
|
37624
37763
|
注意:此字段可能返回 null,表示取不到有效值。
|
37625
37764
|
:type PeriodSeconds: int
|
37626
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.
|
37627
37766
|
注意:此字段可能返回 null,表示取不到有效值。
|
37628
37767
|
:type SuccessThreshold: int
|
37629
|
-
:param
|
37768
|
+
:param _TimeoutSeconds: Number of seconds after which the probe times out.
|
37769
|
+
Defaults to 1 second. Minimum value is 1.
|
37630
37770
|
注意:此字段可能返回 null,表示取不到有效值。
|
37631
|
-
:type
|
37771
|
+
:type TimeoutSeconds: int
|
37632
37772
|
"""
|
37773
|
+
self._FailureThreshold = None
|
37633
37774
|
self._InitialDelaySeconds = None
|
37634
|
-
self._TimeoutSeconds = None
|
37635
37775
|
self._PeriodSeconds = None
|
37636
37776
|
self._SuccessThreshold = None
|
37637
|
-
self.
|
37777
|
+
self._TimeoutSeconds = None
|
37638
37778
|
|
37639
37779
|
@property
|
37640
|
-
def
|
37641
|
-
"""
|
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.
|
37642
37782
|
注意:此字段可能返回 null,表示取不到有效值。
|
37643
37783
|
:rtype: int
|
37644
37784
|
"""
|
37645
|
-
return self.
|
37785
|
+
return self._FailureThreshold
|
37646
37786
|
|
37647
|
-
@
|
37648
|
-
def
|
37649
|
-
self.
|
37787
|
+
@FailureThreshold.setter
|
37788
|
+
def FailureThreshold(self, FailureThreshold):
|
37789
|
+
self._FailureThreshold = FailureThreshold
|
37650
37790
|
|
37651
37791
|
@property
|
37652
|
-
def
|
37653
|
-
"""Number of seconds after
|
37654
|
-
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.
|
37655
37794
|
注意:此字段可能返回 null,表示取不到有效值。
|
37656
37795
|
:rtype: int
|
37657
37796
|
"""
|
37658
|
-
return self.
|
37797
|
+
return self._InitialDelaySeconds
|
37659
37798
|
|
37660
|
-
@
|
37661
|
-
def
|
37662
|
-
self.
|
37799
|
+
@InitialDelaySeconds.setter
|
37800
|
+
def InitialDelaySeconds(self, InitialDelaySeconds):
|
37801
|
+
self._InitialDelaySeconds = InitialDelaySeconds
|
37663
37802
|
|
37664
37803
|
@property
|
37665
37804
|
def PeriodSeconds(self):
|
@@ -37686,24 +37825,25 @@ Defaults to 1 second. Minimum value is 1.
|
|
37686
37825
|
self._SuccessThreshold = SuccessThreshold
|
37687
37826
|
|
37688
37827
|
@property
|
37689
|
-
def
|
37690
|
-
"""
|
37828
|
+
def TimeoutSeconds(self):
|
37829
|
+
"""Number of seconds after which the probe times out.
|
37830
|
+
Defaults to 1 second. Minimum value is 1.
|
37691
37831
|
注意:此字段可能返回 null,表示取不到有效值。
|
37692
37832
|
:rtype: int
|
37693
37833
|
"""
|
37694
|
-
return self.
|
37834
|
+
return self._TimeoutSeconds
|
37695
37835
|
|
37696
|
-
@
|
37697
|
-
def
|
37698
|
-
self.
|
37836
|
+
@TimeoutSeconds.setter
|
37837
|
+
def TimeoutSeconds(self, TimeoutSeconds):
|
37838
|
+
self._TimeoutSeconds = TimeoutSeconds
|
37699
37839
|
|
37700
37840
|
|
37701
37841
|
def _deserialize(self, params):
|
37842
|
+
self._FailureThreshold = params.get("FailureThreshold")
|
37702
37843
|
self._InitialDelaySeconds = params.get("InitialDelaySeconds")
|
37703
|
-
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
37704
37844
|
self._PeriodSeconds = params.get("PeriodSeconds")
|
37705
37845
|
self._SuccessThreshold = params.get("SuccessThreshold")
|
37706
|
-
self.
|
37846
|
+
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
37707
37847
|
memeber_set = set(params.keys())
|
37708
37848
|
for name, value in vars(self).items():
|
37709
37849
|
property_name = name[1:]
|
@@ -45470,7 +45610,6 @@ class TcpSocket(AbstractModel):
|
|
45470
45610
|
def __init__(self):
|
45471
45611
|
r"""
|
45472
45612
|
:param _Port: TcpSocket检测的端口
|
45473
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
45474
45613
|
:type Port: int
|
45475
45614
|
"""
|
45476
45615
|
self._Port = None
|
@@ -45478,7 +45617,6 @@ class TcpSocket(AbstractModel):
|
|
45478
45617
|
@property
|
45479
45618
|
def Port(self):
|
45480
45619
|
"""TcpSocket检测的端口
|
45481
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
45482
45620
|
:rtype: int
|
45483
45621
|
"""
|
45484
45622
|
return self._Port
|
@@ -46619,7 +46757,6 @@ class UpdateEKSContainerInstanceResponse(AbstractModel):
|
|
46619
46757
|
def __init__(self):
|
46620
46758
|
r"""
|
46621
46759
|
:param _EksCiId: 容器实例 ID
|
46622
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
46623
46760
|
:type EksCiId: str
|
46624
46761
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
46625
46762
|
:type RequestId: str
|
@@ -46630,7 +46767,6 @@ class UpdateEKSContainerInstanceResponse(AbstractModel):
|
|
46630
46767
|
@property
|
46631
46768
|
def EksCiId(self):
|
46632
46769
|
"""容器实例 ID
|
46633
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
46634
46770
|
:rtype: str
|
46635
46771
|
"""
|
46636
46772
|
return self._EksCiId
|
@@ -48138,32 +48274,44 @@ class VolumeMount(AbstractModel):
|
|
48138
48274
|
|
48139
48275
|
def __init__(self):
|
48140
48276
|
r"""
|
48277
|
+
:param _MountPath: 挂载路径
|
48278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
48279
|
+
:type MountPath: str
|
48141
48280
|
:param _Name: volume名称
|
48142
48281
|
注意:此字段可能返回 null,表示取不到有效值。
|
48143
48282
|
:type Name: str
|
48144
|
-
:param
|
48283
|
+
:param _MountPropagation: 传播挂载方式
|
48145
48284
|
注意:此字段可能返回 null,表示取不到有效值。
|
48146
|
-
:type
|
48285
|
+
:type MountPropagation: str
|
48147
48286
|
:param _ReadOnly: 是否只读
|
48148
48287
|
注意:此字段可能返回 null,表示取不到有效值。
|
48149
48288
|
:type ReadOnly: bool
|
48150
48289
|
:param _SubPath: 子路径
|
48151
48290
|
注意:此字段可能返回 null,表示取不到有效值。
|
48152
48291
|
:type SubPath: str
|
48153
|
-
:param _MountPropagation: 传播挂载方式
|
48154
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
48155
|
-
:type MountPropagation: str
|
48156
48292
|
:param _SubPathExpr: 子路径表达式
|
48157
48293
|
注意:此字段可能返回 null,表示取不到有效值。
|
48158
48294
|
:type SubPathExpr: str
|
48159
48295
|
"""
|
48160
|
-
self._Name = None
|
48161
48296
|
self._MountPath = None
|
48297
|
+
self._Name = None
|
48298
|
+
self._MountPropagation = None
|
48162
48299
|
self._ReadOnly = None
|
48163
48300
|
self._SubPath = None
|
48164
|
-
self._MountPropagation = None
|
48165
48301
|
self._SubPathExpr = None
|
48166
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
|
+
|
48167
48315
|
@property
|
48168
48316
|
def Name(self):
|
48169
48317
|
"""volume名称
|
@@ -48177,16 +48325,16 @@ class VolumeMount(AbstractModel):
|
|
48177
48325
|
self._Name = Name
|
48178
48326
|
|
48179
48327
|
@property
|
48180
|
-
def
|
48181
|
-
"""
|
48328
|
+
def MountPropagation(self):
|
48329
|
+
"""传播挂载方式
|
48182
48330
|
注意:此字段可能返回 null,表示取不到有效值。
|
48183
48331
|
:rtype: str
|
48184
48332
|
"""
|
48185
|
-
return self.
|
48333
|
+
return self._MountPropagation
|
48186
48334
|
|
48187
|
-
@
|
48188
|
-
def
|
48189
|
-
self.
|
48335
|
+
@MountPropagation.setter
|
48336
|
+
def MountPropagation(self, MountPropagation):
|
48337
|
+
self._MountPropagation = MountPropagation
|
48190
48338
|
|
48191
48339
|
@property
|
48192
48340
|
def ReadOnly(self):
|
@@ -48212,18 +48360,6 @@ class VolumeMount(AbstractModel):
|
|
48212
48360
|
def SubPath(self, SubPath):
|
48213
48361
|
self._SubPath = SubPath
|
48214
48362
|
|
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
48363
|
@property
|
48228
48364
|
def SubPathExpr(self):
|
48229
48365
|
"""子路径表达式
|
@@ -48238,11 +48374,11 @@ class VolumeMount(AbstractModel):
|
|
48238
48374
|
|
48239
48375
|
|
48240
48376
|
def _deserialize(self, params):
|
48241
|
-
self._Name = params.get("Name")
|
48242
48377
|
self._MountPath = params.get("MountPath")
|
48378
|
+
self._Name = params.get("Name")
|
48379
|
+
self._MountPropagation = params.get("MountPropagation")
|
48243
48380
|
self._ReadOnly = params.get("ReadOnly")
|
48244
48381
|
self._SubPath = params.get("SubPath")
|
48245
|
-
self._MountPropagation = params.get("MountPropagation")
|
48246
48382
|
self._SubPathExpr = params.get("SubPathExpr")
|
48247
48383
|
memeber_set = set(params.keys())
|
48248
48384
|
for name, value in vars(self).items():
|