tencentcloud-sdk-tke 3.0.1027 → 3.0.1028
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/client.rb +24 -0
- data/lib/v20180525/models.rb +266 -210
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc401af353dca670960fb8a497790edd08d11b3b
|
4
|
+
data.tar.gz: 146def8558b53f70e98f7ba8fd7f2471ef349805
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5799a8849a8ccccea3857522c0154ce102847d64119f40e20f10f9134d91aa4ebf579c6623d1ab5ed7d78707e93eb88bba19790cfbf8b438ed73d0fbeb2a13c4
|
7
|
+
data.tar.gz: 74df61499950c46e646906837c0b0dd30d47e21dcfe6cc3f16180e8899367816ad85e35352d8b1b44011976ece1b5764c51121c9951a5ab62e0579efa8bc7acd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1028
|
data/lib/v20180525/client.rb
CHANGED
@@ -2981,6 +2981,30 @@ module TencentCloud
|
|
2981
2981
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2982
2982
|
end
|
2983
2983
|
|
2984
|
+
# 获取OS聚合信息
|
2985
|
+
|
2986
|
+
# @param request: Request instance for DescribeOSImages.
|
2987
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeOSImagesRequest`
|
2988
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeOSImagesResponse`
|
2989
|
+
def DescribeOSImages(request)
|
2990
|
+
body = send_request('DescribeOSImages', request.serialize)
|
2991
|
+
response = JSON.parse(body)
|
2992
|
+
if response['Response'].key?('Error') == false
|
2993
|
+
model = DescribeOSImagesResponse.new
|
2994
|
+
model.deserialize(response['Response'])
|
2995
|
+
model
|
2996
|
+
else
|
2997
|
+
code = response['Response']['Error']['Code']
|
2998
|
+
message = response['Response']['Error']['Message']
|
2999
|
+
reqid = response['Response']['RequestId']
|
3000
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3001
|
+
end
|
3002
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3003
|
+
raise e
|
3004
|
+
rescue StandardError => e
|
3005
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3006
|
+
end
|
3007
|
+
|
2984
3008
|
# 查询opa策略列表
|
2985
3009
|
|
2986
3010
|
# @param request: Request instance for DescribeOpenPolicyList.
|
data/lib/v20180525/models.rb
CHANGED
@@ -571,21 +571,21 @@ module TencentCloud
|
|
571
571
|
|
572
572
|
# EKS Instnace CBS volume
|
573
573
|
class CbsVolume < TencentCloud::Common::AbstractModel
|
574
|
-
# @param Name: cbs volume 数据卷名称
|
575
|
-
# @type Name: String
|
576
574
|
# @param CbsDiskId: 腾讯云cbs盘Id
|
577
575
|
# @type CbsDiskId: String
|
576
|
+
# @param Name: cbs volume 数据卷名称
|
577
|
+
# @type Name: String
|
578
578
|
|
579
|
-
attr_accessor :
|
579
|
+
attr_accessor :CbsDiskId, :Name
|
580
580
|
|
581
|
-
def initialize(
|
582
|
-
@Name = name
|
581
|
+
def initialize(cbsdiskid=nil, name=nil)
|
583
582
|
@CbsDiskId = cbsdiskid
|
583
|
+
@Name = name
|
584
584
|
end
|
585
585
|
|
586
586
|
def deserialize(params)
|
587
|
-
@Name = params['Name']
|
588
587
|
@CbsDiskId = params['CbsDiskId']
|
588
|
+
@Name = params['Name']
|
589
589
|
end
|
590
590
|
end
|
591
591
|
|
@@ -1641,66 +1641,69 @@ module TencentCloud
|
|
1641
1641
|
# @type Image: String
|
1642
1642
|
# @param Name: 容器名
|
1643
1643
|
# @type Name: String
|
1644
|
-
# @param Commands: 容器启动命令
|
1645
|
-
# @type Commands: Array
|
1646
1644
|
# @param Args: 容器启动参数
|
1647
1645
|
# @type Args: Array
|
1648
|
-
# @param
|
1649
|
-
# @type
|
1646
|
+
# @param Commands: 容器启动命令
|
1647
|
+
# @type Commands: Array
|
1650
1648
|
# @param Cpu: CPU,制改容器最多可使用的核数,该值不可超过容器实例的总核数。单位:核。
|
1651
1649
|
# @type Cpu: Float
|
1652
|
-
# @param Memory: 内存,限制该容器最多可使用的内存值,该值不可超过容器实例的总内存值。单位:GiB
|
1653
|
-
# @type Memory: Float
|
1654
|
-
# @param VolumeMounts: 数据卷挂载信息
|
1655
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1656
|
-
# @type VolumeMounts: Array
|
1657
1650
|
# @param CurrentState: 当前状态
|
1658
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1659
1651
|
# @type CurrentState: :class:`Tencentcloud::Tke.v20180525.models.ContainerState`
|
1660
|
-
# @param
|
1661
|
-
#
|
1662
|
-
# @
|
1663
|
-
# @param WorkingDir: 容器工作目录
|
1652
|
+
# @param EnvironmentVars: 容器内操作系统的环境变量
|
1653
|
+
# @type EnvironmentVars: Array
|
1654
|
+
# @param GpuLimit: Gpu限制
|
1664
1655
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1665
|
-
# @type
|
1656
|
+
# @type GpuLimit: Integer
|
1666
1657
|
# @param LivenessProbe: 存活探针
|
1667
1658
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1668
1659
|
# @type LivenessProbe: :class:`Tencentcloud::Tke.v20180525.models.LivenessOrReadinessProbe`
|
1660
|
+
# @param Memory: 内存,限制该容器最多可使用的内存值,该值不可超过容器实例的总内存值。单位:GiB
|
1661
|
+
# @type Memory: Float
|
1669
1662
|
# @param ReadinessProbe: 就绪探针
|
1670
1663
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1671
1664
|
# @type ReadinessProbe: :class:`Tencentcloud::Tke.v20180525.models.LivenessOrReadinessProbe`
|
1672
|
-
# @param
|
1665
|
+
# @param RestartCount: 重启次数
|
1673
1666
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1674
|
-
# @type
|
1667
|
+
# @type RestartCount: Integer
|
1675
1668
|
# @param SecurityContext: 容器的安全上下文
|
1676
1669
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1677
1670
|
# @type SecurityContext: :class:`Tencentcloud::Tke.v20180525.models.SecurityContext`
|
1671
|
+
# @param VolumeMounts: 数据卷挂载信息
|
1672
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1673
|
+
# @type VolumeMounts: Array
|
1674
|
+
# @param WorkingDir: 容器工作目录
|
1675
|
+
# @type WorkingDir: String
|
1678
1676
|
|
1679
|
-
attr_accessor :Image, :Name, :
|
1677
|
+
attr_accessor :Image, :Name, :Args, :Commands, :Cpu, :CurrentState, :EnvironmentVars, :GpuLimit, :LivenessProbe, :Memory, :ReadinessProbe, :RestartCount, :SecurityContext, :VolumeMounts, :WorkingDir
|
1680
1678
|
|
1681
|
-
def initialize(image=nil, name=nil,
|
1679
|
+
def initialize(image=nil, name=nil, args=nil, commands=nil, cpu=nil, currentstate=nil, environmentvars=nil, gpulimit=nil, livenessprobe=nil, memory=nil, readinessprobe=nil, restartcount=nil, securitycontext=nil, volumemounts=nil, workingdir=nil)
|
1682
1680
|
@Image = image
|
1683
1681
|
@Name = name
|
1684
|
-
@Commands = commands
|
1685
1682
|
@Args = args
|
1686
|
-
@
|
1683
|
+
@Commands = commands
|
1687
1684
|
@Cpu = cpu
|
1688
|
-
@Memory = memory
|
1689
|
-
@VolumeMounts = volumemounts
|
1690
1685
|
@CurrentState = currentstate
|
1691
|
-
@
|
1692
|
-
@
|
1686
|
+
@EnvironmentVars = environmentvars
|
1687
|
+
@GpuLimit = gpulimit
|
1693
1688
|
@LivenessProbe = livenessprobe
|
1689
|
+
@Memory = memory
|
1694
1690
|
@ReadinessProbe = readinessprobe
|
1695
|
-
@
|
1691
|
+
@RestartCount = restartcount
|
1696
1692
|
@SecurityContext = securitycontext
|
1693
|
+
@VolumeMounts = volumemounts
|
1694
|
+
@WorkingDir = workingdir
|
1697
1695
|
end
|
1698
1696
|
|
1699
1697
|
def deserialize(params)
|
1700
1698
|
@Image = params['Image']
|
1701
1699
|
@Name = params['Name']
|
1702
|
-
@Commands = params['Commands']
|
1703
1700
|
@Args = params['Args']
|
1701
|
+
@Commands = params['Commands']
|
1702
|
+
@Cpu = params['Cpu']
|
1703
|
+
unless params['CurrentState'].nil?
|
1704
|
+
@CurrentState = ContainerState.new
|
1705
|
+
@CurrentState.deserialize(params['CurrentState'])
|
1706
|
+
end
|
1704
1707
|
unless params['EnvironmentVars'].nil?
|
1705
1708
|
@EnvironmentVars = []
|
1706
1709
|
params['EnvironmentVars'].each do |i|
|
@@ -1709,81 +1712,76 @@ module TencentCloud
|
|
1709
1712
|
@EnvironmentVars << environmentvariable_tmp
|
1710
1713
|
end
|
1711
1714
|
end
|
1712
|
-
@
|
1713
|
-
@Memory = params['Memory']
|
1714
|
-
unless params['VolumeMounts'].nil?
|
1715
|
-
@VolumeMounts = []
|
1716
|
-
params['VolumeMounts'].each do |i|
|
1717
|
-
volumemount_tmp = VolumeMount.new
|
1718
|
-
volumemount_tmp.deserialize(i)
|
1719
|
-
@VolumeMounts << volumemount_tmp
|
1720
|
-
end
|
1721
|
-
end
|
1722
|
-
unless params['CurrentState'].nil?
|
1723
|
-
@CurrentState = ContainerState.new
|
1724
|
-
@CurrentState.deserialize(params['CurrentState'])
|
1725
|
-
end
|
1726
|
-
@RestartCount = params['RestartCount']
|
1727
|
-
@WorkingDir = params['WorkingDir']
|
1715
|
+
@GpuLimit = params['GpuLimit']
|
1728
1716
|
unless params['LivenessProbe'].nil?
|
1729
1717
|
@LivenessProbe = LivenessOrReadinessProbe.new
|
1730
1718
|
@LivenessProbe.deserialize(params['LivenessProbe'])
|
1731
1719
|
end
|
1720
|
+
@Memory = params['Memory']
|
1732
1721
|
unless params['ReadinessProbe'].nil?
|
1733
1722
|
@ReadinessProbe = LivenessOrReadinessProbe.new
|
1734
1723
|
@ReadinessProbe.deserialize(params['ReadinessProbe'])
|
1735
1724
|
end
|
1736
|
-
@
|
1725
|
+
@RestartCount = params['RestartCount']
|
1737
1726
|
unless params['SecurityContext'].nil?
|
1738
1727
|
@SecurityContext = SecurityContext.new
|
1739
1728
|
@SecurityContext.deserialize(params['SecurityContext'])
|
1740
1729
|
end
|
1730
|
+
unless params['VolumeMounts'].nil?
|
1731
|
+
@VolumeMounts = []
|
1732
|
+
params['VolumeMounts'].each do |i|
|
1733
|
+
volumemount_tmp = VolumeMount.new
|
1734
|
+
volumemount_tmp.deserialize(i)
|
1735
|
+
@VolumeMounts << volumemount_tmp
|
1736
|
+
end
|
1737
|
+
end
|
1738
|
+
@WorkingDir = params['WorkingDir']
|
1741
1739
|
end
|
1742
1740
|
end
|
1743
1741
|
|
1744
1742
|
# 容器状态
|
1745
1743
|
class ContainerState < TencentCloud::Common::AbstractModel
|
1746
|
-
# @param
|
1744
|
+
# @param ExitCode: 容器运行退出码
|
1747
1745
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1748
|
-
# @type
|
1749
|
-
# @param State: 容器状态:created, running, exited, unknown
|
1750
|
-
# @type State: String
|
1746
|
+
# @type ExitCode: Integer
|
1751
1747
|
# @param FinishTime: 容器运行结束时间
|
1752
1748
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1753
1749
|
# @type FinishTime: String
|
1754
|
-
# @param
|
1750
|
+
# @param Message: 容器状态信息
|
1755
1751
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1756
|
-
# @type
|
1752
|
+
# @type Message: String
|
1757
1753
|
# @param Reason: 容器状态 Reason
|
1758
1754
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1759
1755
|
# @type Reason: String
|
1760
|
-
# @param Message: 容器状态信息
|
1761
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1762
|
-
# @type Message: String
|
1763
1756
|
# @param RestartCount: 容器重启次数
|
1764
1757
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1765
1758
|
# @type RestartCount: Integer
|
1759
|
+
# @param StartTime: 容器运行开始时间
|
1760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1761
|
+
# @type StartTime: String
|
1762
|
+
# @param State: 容器状态:created, running, exited, unknown
|
1763
|
+
# @type State: String
|
1766
1764
|
|
1767
|
-
attr_accessor :
|
1765
|
+
attr_accessor :ExitCode, :FinishTime, :Message, :Reason, :RestartCount, :StartTime, :State
|
1768
1766
|
|
1769
|
-
def initialize(
|
1770
|
-
@StartTime = starttime
|
1771
|
-
@State = state
|
1772
|
-
@FinishTime = finishtime
|
1767
|
+
def initialize(exitcode=nil, finishtime=nil, message=nil, reason=nil, restartcount=nil, starttime=nil, state=nil)
|
1773
1768
|
@ExitCode = exitcode
|
1774
|
-
@
|
1769
|
+
@FinishTime = finishtime
|
1775
1770
|
@Message = message
|
1771
|
+
@Reason = reason
|
1776
1772
|
@RestartCount = restartcount
|
1773
|
+
@StartTime = starttime
|
1774
|
+
@State = state
|
1777
1775
|
end
|
1778
1776
|
|
1779
1777
|
def deserialize(params)
|
1780
|
-
@StartTime = params['StartTime']
|
1781
|
-
@State = params['State']
|
1782
|
-
@FinishTime = params['FinishTime']
|
1783
1778
|
@ExitCode = params['ExitCode']
|
1784
|
-
@
|
1779
|
+
@FinishTime = params['FinishTime']
|
1785
1780
|
@Message = params['Message']
|
1781
|
+
@Reason = params['Reason']
|
1786
1782
|
@RestartCount = params['RestartCount']
|
1783
|
+
@StartTime = params['StartTime']
|
1784
|
+
@State = params['State']
|
1787
1785
|
end
|
1788
1786
|
end
|
1789
1787
|
|
@@ -3776,26 +3774,22 @@ module TencentCloud
|
|
3776
3774
|
# 自定义DNS配置
|
3777
3775
|
class DNSConfig < TencentCloud::Common::AbstractModel
|
3778
3776
|
# @param Nameservers: DNS 服务器IP地址列表
|
3779
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3780
3777
|
# @type Nameservers: Array
|
3781
|
-
# @param Searches: DNS搜索域列表
|
3782
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3783
|
-
# @type Searches: Array
|
3784
3778
|
# @param Options: 对象选项列表,每个对象由name和value(可选)构成
|
3785
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3786
3779
|
# @type Options: Array
|
3780
|
+
# @param Searches: DNS搜索域列表
|
3781
|
+
# @type Searches: Array
|
3787
3782
|
|
3788
|
-
attr_accessor :Nameservers, :
|
3783
|
+
attr_accessor :Nameservers, :Options, :Searches
|
3789
3784
|
|
3790
|
-
def initialize(nameservers=nil,
|
3785
|
+
def initialize(nameservers=nil, options=nil, searches=nil)
|
3791
3786
|
@Nameservers = nameservers
|
3792
|
-
@Searches = searches
|
3793
3787
|
@Options = options
|
3788
|
+
@Searches = searches
|
3794
3789
|
end
|
3795
3790
|
|
3796
3791
|
def deserialize(params)
|
3797
3792
|
@Nameservers = params['Nameservers']
|
3798
|
-
@Searches = params['Searches']
|
3799
3793
|
unless params['Options'].nil?
|
3800
3794
|
@Options = []
|
3801
3795
|
params['Options'].each do |i|
|
@@ -3804,6 +3798,7 @@ module TencentCloud
|
|
3804
3798
|
@Options << dnsconfigoption_tmp
|
3805
3799
|
end
|
3806
3800
|
end
|
3801
|
+
@Searches = params['Searches']
|
3807
3802
|
end
|
3808
3803
|
end
|
3809
3804
|
|
@@ -7064,7 +7059,6 @@ module TencentCloud
|
|
7064
7059
|
# DescribeEKSContainerInstanceRegions返回参数结构体
|
7065
7060
|
class DescribeEKSContainerInstanceRegionsResponse < TencentCloud::Common::AbstractModel
|
7066
7061
|
# @param Regions: EKS Container Instance支持的地域信息
|
7067
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7068
7062
|
# @type Regions: Array
|
7069
7063
|
# @param TotalCount: 总数
|
7070
7064
|
# @type TotalCount: Integer
|
@@ -8075,6 +8069,50 @@ module TencentCloud
|
|
8075
8069
|
end
|
8076
8070
|
end
|
8077
8071
|
|
8072
|
+
# DescribeOSImages请求参数结构体
|
8073
|
+
class DescribeOSImagesRequest < TencentCloud::Common::AbstractModel
|
8074
|
+
|
8075
|
+
|
8076
|
+
def initialize()
|
8077
|
+
end
|
8078
|
+
|
8079
|
+
def deserialize(params)
|
8080
|
+
end
|
8081
|
+
end
|
8082
|
+
|
8083
|
+
# DescribeOSImages返回参数结构体
|
8084
|
+
class DescribeOSImagesResponse < TencentCloud::Common::AbstractModel
|
8085
|
+
# @param OSImageSeriesSet: 镜像信息列表
|
8086
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8087
|
+
# @type OSImageSeriesSet: Array
|
8088
|
+
# @param TotalCount: 镜像数量
|
8089
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8090
|
+
# @type TotalCount: Integer
|
8091
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8092
|
+
# @type RequestId: String
|
8093
|
+
|
8094
|
+
attr_accessor :OSImageSeriesSet, :TotalCount, :RequestId
|
8095
|
+
|
8096
|
+
def initialize(osimageseriesset=nil, totalcount=nil, requestid=nil)
|
8097
|
+
@OSImageSeriesSet = osimageseriesset
|
8098
|
+
@TotalCount = totalcount
|
8099
|
+
@RequestId = requestid
|
8100
|
+
end
|
8101
|
+
|
8102
|
+
def deserialize(params)
|
8103
|
+
unless params['OSImageSeriesSet'].nil?
|
8104
|
+
@OSImageSeriesSet = []
|
8105
|
+
params['OSImageSeriesSet'].each do |i|
|
8106
|
+
osimage_tmp = OSImage.new
|
8107
|
+
osimage_tmp.deserialize(i)
|
8108
|
+
@OSImageSeriesSet << osimage_tmp
|
8109
|
+
end
|
8110
|
+
end
|
8111
|
+
@TotalCount = params['TotalCount']
|
8112
|
+
@RequestId = params['RequestId']
|
8113
|
+
end
|
8114
|
+
end
|
8115
|
+
|
8078
8116
|
# DescribeOpenPolicyList请求参数结构体
|
8079
8117
|
class DescribeOpenPolicyListRequest < TencentCloud::Common::AbstractModel
|
8080
8118
|
# @param ClusterId: 集群ID
|
@@ -11032,113 +11070,92 @@ module TencentCloud
|
|
11032
11070
|
|
11033
11071
|
# EksContainerInstance实例类型
|
11034
11072
|
class EksCi < TencentCloud::Common::AbstractModel
|
11073
|
+
# @param AutoCreatedEipId: 自动为用户创建的EipId
|
11074
|
+
# @type AutoCreatedEipId: String
|
11075
|
+
# @param CamRoleName: 为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
|
11076
|
+
# @type CamRoleName: String
|
11077
|
+
# @param Containers: 容器列表
|
11078
|
+
# @type Containers: Array
|
11079
|
+
# @param Cpu: CPU大小
|
11080
|
+
# @type Cpu: Float
|
11081
|
+
# @param CpuType: CPU类型
|
11082
|
+
# @type CpuType: String
|
11083
|
+
# @param CreationTime: 接到请求后的系统创建时间。
|
11084
|
+
# @type CreationTime: String
|
11085
|
+
# @param EipAddress: 容器实例绑定的Eip地址,注意可能为空
|
11086
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11087
|
+
# @type EipAddress: String
|
11035
11088
|
# @param EksCiId: EKS Cotainer Instance Id
|
11036
11089
|
# @type EksCiId: String
|
11037
11090
|
# @param EksCiName: EKS Cotainer Instance Name
|
11038
11091
|
# @type EksCiName: String
|
11092
|
+
# @param EksCiVolume: 数据卷信息
|
11093
|
+
# @type EksCiVolume: :class:`Tencentcloud::Tke.v20180525.models.EksCiVolume`
|
11094
|
+
# @param GpuCount: GPU卡数量
|
11095
|
+
# @type GpuCount: Integer
|
11096
|
+
# @param GpuType: GPU类型。如无使用GPU则不返回
|
11097
|
+
# @type GpuType: String
|
11098
|
+
# @param InitContainers: 初始化容器列表
|
11099
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11100
|
+
# @type InitContainers: Array
|
11039
11101
|
# @param Memory: 内存大小
|
11040
11102
|
# @type Memory: Float
|
11041
|
-
# @param
|
11042
|
-
# @type Cpu: Float
|
11043
|
-
# @param SecurityGroupIds: 安全组ID
|
11044
|
-
# @type SecurityGroupIds: Array
|
11045
|
-
# @param RestartPolicy: 容器组的重启策略
|
11103
|
+
# @param PersistStatus: 容器状态是否持久化
|
11046
11104
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11105
|
+
# @type PersistStatus: Boolean
|
11106
|
+
# @param PrivateIp: 内网ip地址
|
11107
|
+
# @type PrivateIp: String
|
11108
|
+
# @param RestartPolicy: 容器组的重启策略
|
11047
11109
|
# @type RestartPolicy: String
|
11110
|
+
# @param SecurityContext: 容器组运行的安全上下文
|
11111
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11112
|
+
# @type SecurityContext: :class:`Tencentcloud::Tke.v20180525.models.SecurityContext`
|
11113
|
+
# @param SecurityGroupIds: 安全组ID
|
11114
|
+
# @type SecurityGroupIds: Array
|
11048
11115
|
# @param Status: 返回容器组创建状态:Pending,Running,Succeeded,Failed。其中:
|
11049
11116
|
# Failed (运行失败)指的容器组退出,RestartPolilcy为Never, 有容器exitCode非0;
|
11050
11117
|
# Succeeded(运行成功)指的是容器组退出了,RestartPolicy为Never或onFailure,所有容器exitCode都为0;
|
11051
11118
|
# Failed和Succeeded这两种状态都会停止运行,停止计费。
|
11052
11119
|
# Pending是创建中,Running是 运行中。
|
11053
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11054
11120
|
# @type Status: String
|
11055
|
-
# @param
|
11056
|
-
#
|
11057
|
-
# @type CreationTime: String
|
11121
|
+
# @param SubnetId: 实例所属子网Id
|
11122
|
+
# @type SubnetId: String
|
11058
11123
|
# @param SucceededTime: 容器全部成功退出后的时间
|
11059
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11060
11124
|
# @type SucceededTime: String
|
11061
|
-
# @param Containers: 容器列表
|
11062
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11063
|
-
# @type Containers: Array
|
11064
|
-
# @param EksCiVolume: 数据卷信息
|
11065
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11066
|
-
# @type EksCiVolume: :class:`Tencentcloud::Tke.v20180525.models.EksCiVolume`
|
11067
|
-
# @param SecurityContext: 容器组运行的安全上下文
|
11068
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11069
|
-
# @type SecurityContext: :class:`Tencentcloud::Tke.v20180525.models.SecurityContext`
|
11070
|
-
# @param PrivateIp: 内网ip地址
|
11071
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11072
|
-
# @type PrivateIp: String
|
11073
|
-
# @param EipAddress: 容器实例绑定的Eip地址,注意可能为空
|
11074
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11075
|
-
# @type EipAddress: String
|
11076
|
-
# @param GpuType: GPU类型。如无使用GPU则不返回
|
11077
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11078
|
-
# @type GpuType: String
|
11079
|
-
# @param CpuType: CPU类型
|
11080
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11081
|
-
# @type CpuType: String
|
11082
|
-
# @param GpuCount: GPU卡数量
|
11083
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11084
|
-
# @type GpuCount: Integer
|
11085
11125
|
# @param VpcId: 实例所属VPC的Id
|
11086
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11087
11126
|
# @type VpcId: String
|
11088
|
-
# @param SubnetId: 实例所属子网Id
|
11089
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11090
|
-
# @type SubnetId: String
|
11091
|
-
# @param InitContainers: 初始化容器列表
|
11092
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11093
|
-
# @type InitContainers: Array
|
11094
|
-
# @param CamRoleName: 为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
|
11095
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11096
|
-
# @type CamRoleName: String
|
11097
|
-
# @param AutoCreatedEipId: 自动为用户创建的EipId
|
11098
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11099
|
-
# @type AutoCreatedEipId: String
|
11100
|
-
# @param PersistStatus: 容器状态是否持久化
|
11101
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11102
|
-
# @type PersistStatus: Boolean
|
11103
11127
|
|
11104
|
-
attr_accessor :
|
11128
|
+
attr_accessor :AutoCreatedEipId, :CamRoleName, :Containers, :Cpu, :CpuType, :CreationTime, :EipAddress, :EksCiId, :EksCiName, :EksCiVolume, :GpuCount, :GpuType, :InitContainers, :Memory, :PersistStatus, :PrivateIp, :RestartPolicy, :SecurityContext, :SecurityGroupIds, :Status, :SubnetId, :SucceededTime, :VpcId
|
11105
11129
|
|
11106
|
-
def initialize(
|
11130
|
+
def initialize(autocreatedeipid=nil, camrolename=nil, containers=nil, cpu=nil, cputype=nil, creationtime=nil, eipaddress=nil, eksciid=nil, eksciname=nil, ekscivolume=nil, gpucount=nil, gputype=nil, initcontainers=nil, memory=nil, persiststatus=nil, privateip=nil, restartpolicy=nil, securitycontext=nil, securitygroupids=nil, status=nil, subnetid=nil, succeededtime=nil, vpcid=nil)
|
11131
|
+
@AutoCreatedEipId = autocreatedeipid
|
11132
|
+
@CamRoleName = camrolename
|
11133
|
+
@Containers = containers
|
11134
|
+
@Cpu = cpu
|
11135
|
+
@CpuType = cputype
|
11136
|
+
@CreationTime = creationtime
|
11137
|
+
@EipAddress = eipaddress
|
11107
11138
|
@EksCiId = eksciid
|
11108
11139
|
@EksCiName = eksciname
|
11140
|
+
@EksCiVolume = ekscivolume
|
11141
|
+
@GpuCount = gpucount
|
11142
|
+
@GpuType = gputype
|
11143
|
+
@InitContainers = initcontainers
|
11109
11144
|
@Memory = memory
|
11110
|
-
@
|
11111
|
-
@
|
11145
|
+
@PersistStatus = persiststatus
|
11146
|
+
@PrivateIp = privateip
|
11112
11147
|
@RestartPolicy = restartpolicy
|
11148
|
+
@SecurityContext = securitycontext
|
11149
|
+
@SecurityGroupIds = securitygroupids
|
11113
11150
|
@Status = status
|
11114
|
-
@
|
11151
|
+
@SubnetId = subnetid
|
11115
11152
|
@SucceededTime = succeededtime
|
11116
|
-
@Containers = containers
|
11117
|
-
@EksCiVolume = ekscivolume
|
11118
|
-
@SecurityContext = securitycontext
|
11119
|
-
@PrivateIp = privateip
|
11120
|
-
@EipAddress = eipaddress
|
11121
|
-
@GpuType = gputype
|
11122
|
-
@CpuType = cputype
|
11123
|
-
@GpuCount = gpucount
|
11124
11153
|
@VpcId = vpcid
|
11125
|
-
@SubnetId = subnetid
|
11126
|
-
@InitContainers = initcontainers
|
11127
|
-
@CamRoleName = camrolename
|
11128
|
-
@AutoCreatedEipId = autocreatedeipid
|
11129
|
-
@PersistStatus = persiststatus
|
11130
11154
|
end
|
11131
11155
|
|
11132
11156
|
def deserialize(params)
|
11133
|
-
@
|
11134
|
-
@
|
11135
|
-
@Memory = params['Memory']
|
11136
|
-
@Cpu = params['Cpu']
|
11137
|
-
@SecurityGroupIds = params['SecurityGroupIds']
|
11138
|
-
@RestartPolicy = params['RestartPolicy']
|
11139
|
-
@Status = params['Status']
|
11140
|
-
@CreationTime = params['CreationTime']
|
11141
|
-
@SucceededTime = params['SucceededTime']
|
11157
|
+
@AutoCreatedEipId = params['AutoCreatedEipId']
|
11158
|
+
@CamRoleName = params['CamRoleName']
|
11142
11159
|
unless params['Containers'].nil?
|
11143
11160
|
@Containers = []
|
11144
11161
|
params['Containers'].each do |i|
|
@@ -11147,21 +11164,18 @@ module TencentCloud
|
|
11147
11164
|
@Containers << container_tmp
|
11148
11165
|
end
|
11149
11166
|
end
|
11167
|
+
@Cpu = params['Cpu']
|
11168
|
+
@CpuType = params['CpuType']
|
11169
|
+
@CreationTime = params['CreationTime']
|
11170
|
+
@EipAddress = params['EipAddress']
|
11171
|
+
@EksCiId = params['EksCiId']
|
11172
|
+
@EksCiName = params['EksCiName']
|
11150
11173
|
unless params['EksCiVolume'].nil?
|
11151
11174
|
@EksCiVolume = EksCiVolume.new
|
11152
11175
|
@EksCiVolume.deserialize(params['EksCiVolume'])
|
11153
11176
|
end
|
11154
|
-
unless params['SecurityContext'].nil?
|
11155
|
-
@SecurityContext = SecurityContext.new
|
11156
|
-
@SecurityContext.deserialize(params['SecurityContext'])
|
11157
|
-
end
|
11158
|
-
@PrivateIp = params['PrivateIp']
|
11159
|
-
@EipAddress = params['EipAddress']
|
11160
|
-
@GpuType = params['GpuType']
|
11161
|
-
@CpuType = params['CpuType']
|
11162
11177
|
@GpuCount = params['GpuCount']
|
11163
|
-
@
|
11164
|
-
@SubnetId = params['SubnetId']
|
11178
|
+
@GpuType = params['GpuType']
|
11165
11179
|
unless params['InitContainers'].nil?
|
11166
11180
|
@InitContainers = []
|
11167
11181
|
params['InitContainers'].each do |i|
|
@@ -11170,9 +11184,19 @@ module TencentCloud
|
|
11170
11184
|
@InitContainers << container_tmp
|
11171
11185
|
end
|
11172
11186
|
end
|
11173
|
-
@
|
11174
|
-
@AutoCreatedEipId = params['AutoCreatedEipId']
|
11187
|
+
@Memory = params['Memory']
|
11175
11188
|
@PersistStatus = params['PersistStatus']
|
11189
|
+
@PrivateIp = params['PrivateIp']
|
11190
|
+
@RestartPolicy = params['RestartPolicy']
|
11191
|
+
unless params['SecurityContext'].nil?
|
11192
|
+
@SecurityContext = SecurityContext.new
|
11193
|
+
@SecurityContext.deserialize(params['SecurityContext'])
|
11194
|
+
end
|
11195
|
+
@SecurityGroupIds = params['SecurityGroupIds']
|
11196
|
+
@Status = params['Status']
|
11197
|
+
@SubnetId = params['SubnetId']
|
11198
|
+
@SucceededTime = params['SucceededTime']
|
11199
|
+
@VpcId = params['VpcId']
|
11176
11200
|
end
|
11177
11201
|
end
|
11178
11202
|
|
@@ -13391,24 +13415,22 @@ module TencentCloud
|
|
13391
13415
|
# 健康探针
|
13392
13416
|
class LivenessOrReadinessProbe < TencentCloud::Common::AbstractModel
|
13393
13417
|
# @param Probe: 探针参数
|
13394
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13395
13418
|
# @type Probe: :class:`Tencentcloud::Tke.v20180525.models.Probe`
|
13396
|
-
# @param HttpGet: HttpGet检测参数
|
13397
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13398
|
-
# @type HttpGet: :class:`Tencentcloud::Tke.v20180525.models.HttpGet`
|
13399
13419
|
# @param Exec: 容器内检测命令参数
|
13400
13420
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
13401
13421
|
# @type Exec: :class:`Tencentcloud::Tke.v20180525.models.Exec`
|
13422
|
+
# @param HttpGet: HttpGet检测参数
|
13423
|
+
# @type HttpGet: :class:`Tencentcloud::Tke.v20180525.models.HttpGet`
|
13402
13424
|
# @param TcpSocket: TcpSocket检测的端口参数
|
13403
13425
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
13404
13426
|
# @type TcpSocket: :class:`Tencentcloud::Tke.v20180525.models.TcpSocket`
|
13405
13427
|
|
13406
|
-
attr_accessor :Probe, :
|
13428
|
+
attr_accessor :Probe, :Exec, :HttpGet, :TcpSocket
|
13407
13429
|
|
13408
|
-
def initialize(probe=nil,
|
13430
|
+
def initialize(probe=nil, exec=nil, httpget=nil, tcpsocket=nil)
|
13409
13431
|
@Probe = probe
|
13410
|
-
@HttpGet = httpget
|
13411
13432
|
@Exec = exec
|
13433
|
+
@HttpGet = httpget
|
13412
13434
|
@TcpSocket = tcpsocket
|
13413
13435
|
end
|
13414
13436
|
|
@@ -13417,14 +13439,14 @@ module TencentCloud
|
|
13417
13439
|
@Probe = Probe.new
|
13418
13440
|
@Probe.deserialize(params['Probe'])
|
13419
13441
|
end
|
13420
|
-
unless params['HttpGet'].nil?
|
13421
|
-
@HttpGet = HttpGet.new
|
13422
|
-
@HttpGet.deserialize(params['HttpGet'])
|
13423
|
-
end
|
13424
13442
|
unless params['Exec'].nil?
|
13425
13443
|
@Exec = Exec.new
|
13426
13444
|
@Exec.deserialize(params['Exec'])
|
13427
13445
|
end
|
13446
|
+
unless params['HttpGet'].nil?
|
13447
|
+
@HttpGet = HttpGet.new
|
13448
|
+
@HttpGet.deserialize(params['HttpGet'])
|
13449
|
+
end
|
13428
13450
|
unless params['TcpSocket'].nil?
|
13429
13451
|
@TcpSocket = TcpSocket.new
|
13430
13452
|
@TcpSocket.deserialize(params['TcpSocket'])
|
@@ -14646,26 +14668,26 @@ module TencentCloud
|
|
14646
14668
|
class NfsVolume < TencentCloud::Common::AbstractModel
|
14647
14669
|
# @param Name: nfs volume 数据卷名称
|
14648
14670
|
# @type Name: String
|
14649
|
-
# @param Server: NFS 服务器地址
|
14650
|
-
# @type Server: String
|
14651
14671
|
# @param Path: NFS 数据卷路径
|
14652
14672
|
# @type Path: String
|
14673
|
+
# @param Server: NFS 服务器地址
|
14674
|
+
# @type Server: String
|
14653
14675
|
# @param ReadOnly: 默认为 False
|
14654
14676
|
# @type ReadOnly: Boolean
|
14655
14677
|
|
14656
|
-
attr_accessor :Name, :
|
14678
|
+
attr_accessor :Name, :Path, :Server, :ReadOnly
|
14657
14679
|
|
14658
|
-
def initialize(name=nil,
|
14680
|
+
def initialize(name=nil, path=nil, server=nil, readonly=nil)
|
14659
14681
|
@Name = name
|
14660
|
-
@Server = server
|
14661
14682
|
@Path = path
|
14683
|
+
@Server = server
|
14662
14684
|
@ReadOnly = readonly
|
14663
14685
|
end
|
14664
14686
|
|
14665
14687
|
def deserialize(params)
|
14666
14688
|
@Name = params['Name']
|
14667
|
-
@Server = params['Server']
|
14668
14689
|
@Path = params['Path']
|
14690
|
+
@Server = params['Server']
|
14669
14691
|
@ReadOnly = params['ReadOnly']
|
14670
14692
|
end
|
14671
14693
|
end
|
@@ -14951,6 +14973,42 @@ module TencentCloud
|
|
14951
14973
|
end
|
14952
14974
|
end
|
14953
14975
|
|
14976
|
+
# 操作系统描述
|
14977
|
+
class OSImage < TencentCloud::Common::AbstractModel
|
14978
|
+
# @param SeriesName: os聚合名称
|
14979
|
+
# @type SeriesName: String
|
14980
|
+
# @param Alias: os别名
|
14981
|
+
# @type Alias: String
|
14982
|
+
# @param OsName: os名称
|
14983
|
+
# @type OsName: String
|
14984
|
+
# @param OsCustomizeType: 操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)
|
14985
|
+
# @type OsCustomizeType: String
|
14986
|
+
# @param Status: os是否下线(online表示在线,offline表示下线)
|
14987
|
+
# @type Status: String
|
14988
|
+
# @param ImageId: 镜像id
|
14989
|
+
# @type ImageId: String
|
14990
|
+
|
14991
|
+
attr_accessor :SeriesName, :Alias, :OsName, :OsCustomizeType, :Status, :ImageId
|
14992
|
+
|
14993
|
+
def initialize(seriesname=nil, _alias=nil, osname=nil, oscustomizetype=nil, status=nil, imageid=nil)
|
14994
|
+
@SeriesName = seriesname
|
14995
|
+
@Alias = _alias
|
14996
|
+
@OsName = osname
|
14997
|
+
@OsCustomizeType = oscustomizetype
|
14998
|
+
@Status = status
|
14999
|
+
@ImageId = imageid
|
15000
|
+
end
|
15001
|
+
|
15002
|
+
def deserialize(params)
|
15003
|
+
@SeriesName = params['SeriesName']
|
15004
|
+
@Alias = params['Alias']
|
15005
|
+
@OsName = params['OsName']
|
15006
|
+
@OsCustomizeType = params['OsCustomizeType']
|
15007
|
+
@Status = params['Status']
|
15008
|
+
@ImageId = params['ImageId']
|
15009
|
+
end
|
15010
|
+
end
|
15011
|
+
|
14954
15012
|
# 策略实例信息
|
14955
15013
|
class OpenConstraintInfo < TencentCloud::Common::AbstractModel
|
14956
15014
|
# @param Name: 策略实例名称
|
@@ -15320,39 +15378,39 @@ module TencentCloud
|
|
15320
15378
|
|
15321
15379
|
# 健康检查探测参数
|
15322
15380
|
class Probe < TencentCloud::Common::AbstractModel
|
15381
|
+
# @param FailureThreshold: Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
|
15382
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15383
|
+
# @type FailureThreshold: Integer
|
15323
15384
|
# @param InitialDelaySeconds: Number of seconds after the container has started before liveness probes are initiated.
|
15324
15385
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15325
15386
|
# @type InitialDelaySeconds: Integer
|
15326
|
-
# @param TimeoutSeconds: Number of seconds after which the probe times out.
|
15327
|
-
# Defaults to 1 second. Minimum value is 1.
|
15328
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15329
|
-
# @type TimeoutSeconds: Integer
|
15330
15387
|
# @param PeriodSeconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
|
15331
15388
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15332
15389
|
# @type PeriodSeconds: Integer
|
15333
15390
|
# @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.
|
15334
15391
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15335
15392
|
# @type SuccessThreshold: Integer
|
15336
|
-
# @param
|
15393
|
+
# @param TimeoutSeconds: Number of seconds after which the probe times out.
|
15394
|
+
# Defaults to 1 second. Minimum value is 1.
|
15337
15395
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15338
|
-
# @type
|
15396
|
+
# @type TimeoutSeconds: Integer
|
15339
15397
|
|
15340
|
-
attr_accessor :
|
15398
|
+
attr_accessor :FailureThreshold, :InitialDelaySeconds, :PeriodSeconds, :SuccessThreshold, :TimeoutSeconds
|
15341
15399
|
|
15342
|
-
def initialize(
|
15400
|
+
def initialize(failurethreshold=nil, initialdelayseconds=nil, periodseconds=nil, successthreshold=nil, timeoutseconds=nil)
|
15401
|
+
@FailureThreshold = failurethreshold
|
15343
15402
|
@InitialDelaySeconds = initialdelayseconds
|
15344
|
-
@TimeoutSeconds = timeoutseconds
|
15345
15403
|
@PeriodSeconds = periodseconds
|
15346
15404
|
@SuccessThreshold = successthreshold
|
15347
|
-
@
|
15405
|
+
@TimeoutSeconds = timeoutseconds
|
15348
15406
|
end
|
15349
15407
|
|
15350
15408
|
def deserialize(params)
|
15409
|
+
@FailureThreshold = params['FailureThreshold']
|
15351
15410
|
@InitialDelaySeconds = params['InitialDelaySeconds']
|
15352
|
-
@TimeoutSeconds = params['TimeoutSeconds']
|
15353
15411
|
@PeriodSeconds = params['PeriodSeconds']
|
15354
15412
|
@SuccessThreshold = params['SuccessThreshold']
|
15355
|
-
@
|
15413
|
+
@TimeoutSeconds = params['TimeoutSeconds']
|
15356
15414
|
end
|
15357
15415
|
end
|
15358
15416
|
|
@@ -18263,7 +18321,6 @@ module TencentCloud
|
|
18263
18321
|
# 探针使用TcpSocket检测容器
|
18264
18322
|
class TcpSocket < TencentCloud::Common::AbstractModel
|
18265
18323
|
# @param Port: TcpSocket检测的端口
|
18266
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
18267
18324
|
# @type Port: Integer
|
18268
18325
|
|
18269
18326
|
attr_accessor :Port
|
@@ -18735,7 +18792,6 @@ module TencentCloud
|
|
18735
18792
|
# UpdateEKSContainerInstance返回参数结构体
|
18736
18793
|
class UpdateEKSContainerInstanceResponse < TencentCloud::Common::AbstractModel
|
18737
18794
|
# @param EksCiId: 容器实例 ID
|
18738
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
18739
18795
|
# @type EksCiId: String
|
18740
18796
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18741
18797
|
# @type RequestId: String
|
@@ -19308,42 +19364,42 @@ module TencentCloud
|
|
19308
19364
|
|
19309
19365
|
# 数据卷挂载路径信息
|
19310
19366
|
class VolumeMount < TencentCloud::Common::AbstractModel
|
19367
|
+
# @param MountPath: 挂载路径
|
19368
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19369
|
+
# @type MountPath: String
|
19311
19370
|
# @param Name: volume名称
|
19312
19371
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
19313
19372
|
# @type Name: String
|
19314
|
-
# @param
|
19373
|
+
# @param MountPropagation: 传播挂载方式
|
19315
19374
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
19316
|
-
# @type
|
19375
|
+
# @type MountPropagation: String
|
19317
19376
|
# @param ReadOnly: 是否只读
|
19318
19377
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
19319
19378
|
# @type ReadOnly: Boolean
|
19320
19379
|
# @param SubPath: 子路径
|
19321
19380
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
19322
19381
|
# @type SubPath: String
|
19323
|
-
# @param MountPropagation: 传播挂载方式
|
19324
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
19325
|
-
# @type MountPropagation: String
|
19326
19382
|
# @param SubPathExpr: 子路径表达式
|
19327
19383
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
19328
19384
|
# @type SubPathExpr: String
|
19329
19385
|
|
19330
|
-
attr_accessor :Name, :
|
19386
|
+
attr_accessor :MountPath, :Name, :MountPropagation, :ReadOnly, :SubPath, :SubPathExpr
|
19331
19387
|
|
19332
|
-
def initialize(
|
19333
|
-
@Name = name
|
19388
|
+
def initialize(mountpath=nil, name=nil, mountpropagation=nil, readonly=nil, subpath=nil, subpathexpr=nil)
|
19334
19389
|
@MountPath = mountpath
|
19390
|
+
@Name = name
|
19391
|
+
@MountPropagation = mountpropagation
|
19335
19392
|
@ReadOnly = readonly
|
19336
19393
|
@SubPath = subpath
|
19337
|
-
@MountPropagation = mountpropagation
|
19338
19394
|
@SubPathExpr = subpathexpr
|
19339
19395
|
end
|
19340
19396
|
|
19341
19397
|
def deserialize(params)
|
19342
|
-
@Name = params['Name']
|
19343
19398
|
@MountPath = params['MountPath']
|
19399
|
+
@Name = params['Name']
|
19400
|
+
@MountPropagation = params['MountPropagation']
|
19344
19401
|
@ReadOnly = params['ReadOnly']
|
19345
19402
|
@SubPath = params['SubPath']
|
19346
|
-
@MountPropagation = params['MountPropagation']
|
19347
19403
|
@SubPathExpr = params['SubPathExpr']
|
19348
19404
|
end
|
19349
19405
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1028
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|