tencentcloud-sdk-tsf 1.0.233 → 1.0.237
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180326/client.rb +24 -0
- data/lib/v20180326/models.rb +281 -4
- 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: 5a27f83af27fe5091195733e62160b2e0aff9f62
|
4
|
+
data.tar.gz: 6959b27dcf1b8e37c476b1082a2220218a789310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1be4a79eede0e9419179b40d40e8fe5d858450d03003be1a611470ba675abbfc09e3639d59458fb531222b5c7f9f13ad0c5011eaa5688acdfb2ee073eeee067
|
7
|
+
data.tar.gz: bb475e88a268e6c7403feef45ba23831feec0c81b3cc0cae9c9f0318d75eab0c64ed4cb8eb4d8b66bcb6e02ad2fb0009cbcd955d8fbd0e7992285762010ddb76
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.237
|
data/lib/v20180326/client.rb
CHANGED
@@ -1590,6 +1590,30 @@ module TencentCloud
|
|
1590
1590
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1591
1591
|
end
|
1592
1592
|
|
1593
|
+
# 获取部署组详情
|
1594
|
+
|
1595
|
+
# @param request: Request instance for DescribeContainerGroupDeployInfo.
|
1596
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeContainerGroupDeployInfoRequest`
|
1597
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeContainerGroupDeployInfoResponse`
|
1598
|
+
def DescribeContainerGroupDeployInfo(request)
|
1599
|
+
body = send_request('DescribeContainerGroupDeployInfo', request.serialize)
|
1600
|
+
response = JSON.parse(body)
|
1601
|
+
if response['Response'].key?('Error') == false
|
1602
|
+
model = DescribeContainerGroupDeployInfoResponse.new
|
1603
|
+
model.deserialize(response['Response'])
|
1604
|
+
model
|
1605
|
+
else
|
1606
|
+
code = response['Response']['Error']['Code']
|
1607
|
+
message = response['Response']['Error']['Message']
|
1608
|
+
reqid = response['Response']['RequestId']
|
1609
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1610
|
+
end
|
1611
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1612
|
+
raise e
|
1613
|
+
rescue StandardError => e
|
1614
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1615
|
+
end
|
1616
|
+
|
1593
1617
|
# 容器部署组详情(已废弃,请使用 DescribeContainerGroupDeployInfo)
|
1594
1618
|
|
1595
1619
|
# @param request: Request instance for DescribeContainerGroupDetail.
|
data/lib/v20180326/models.rb
CHANGED
@@ -1580,6 +1580,222 @@ module TencentCloud
|
|
1580
1580
|
end
|
1581
1581
|
end
|
1582
1582
|
|
1583
|
+
# 获取部署组
|
1584
|
+
class ContainerGroupDeploy < TencentCloud::Common::AbstractModel
|
1585
|
+
# @param GroupId: 部署组id
|
1586
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1587
|
+
# @type GroupId: String
|
1588
|
+
# @param GroupName: 分组名称
|
1589
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1590
|
+
# @type GroupName: String
|
1591
|
+
# @param InstanceNum: 实例总数
|
1592
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1593
|
+
# @type InstanceNum: Integer
|
1594
|
+
# @param CurrentNum: 已启动实例总数
|
1595
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1596
|
+
# @type CurrentNum: Integer
|
1597
|
+
# @param Server: 镜像server
|
1598
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1599
|
+
# @type Server: String
|
1600
|
+
# @param Reponame: 镜像名,如/tsf/nginx
|
1601
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1602
|
+
# @type Reponame: String
|
1603
|
+
# @param TagName: 镜像版本名称
|
1604
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1605
|
+
# @type TagName: String
|
1606
|
+
# @param CpuRequest: 业务容器初始分配的 CPU 核数,对应 K8S request
|
1607
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1608
|
+
# @type CpuRequest: String
|
1609
|
+
# @param CpuLimit: 业务容器最大分配的 CPU 核数,对应 K8S limit
|
1610
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1611
|
+
# @type CpuLimit: String
|
1612
|
+
# @param MemRequest: 业务容器初始分配的内存 MiB 数,对应 K8S request
|
1613
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1614
|
+
# @type MemRequest: String
|
1615
|
+
# @param MemLimit: 业务容器最大分配的内存 MiB 数,对应 K8S limit
|
1616
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1617
|
+
# @type MemLimit: String
|
1618
|
+
# @param AccessType: 0:公网 1:集群内访问 2:NodePort
|
1619
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1620
|
+
# @type AccessType: Integer
|
1621
|
+
# @param ProtocolPorts: 端口映射
|
1622
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1623
|
+
# @type ProtocolPorts: Array
|
1624
|
+
# @param UpdateType: 更新方式:0:快速更新 1:滚动更新
|
1625
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1626
|
+
# @type UpdateType: Integer
|
1627
|
+
# @param UpdateIvl: 更新间隔,单位秒
|
1628
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1629
|
+
# @type UpdateIvl: Integer
|
1630
|
+
# @param JvmOpts: jvm参数
|
1631
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1632
|
+
# @type JvmOpts: String
|
1633
|
+
# @param SubnetId: 子网id
|
1634
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1635
|
+
# @type SubnetId: String
|
1636
|
+
# @param AgentCpuRequest: agent容器初始分配的 CPU 核数,对应 K8S request
|
1637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1638
|
+
# @type AgentCpuRequest: String
|
1639
|
+
# @param AgentCpuLimit: agent容器最大分配的 CPU 核数,对应 K8S limit
|
1640
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1641
|
+
# @type AgentCpuLimit: String
|
1642
|
+
# @param AgentMemRequest: agent容器初始分配的内存 MiB 数,对应 K8S request
|
1643
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1644
|
+
# @type AgentMemRequest: String
|
1645
|
+
# @param AgentMemLimit: agent容器最大分配的内存 MiB 数,对应 K8S limit
|
1646
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1647
|
+
# @type AgentMemLimit: String
|
1648
|
+
# @param IstioCpuRequest: istioproxy容器初始分配的 CPU 核数,对应 K8S request
|
1649
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1650
|
+
# @type IstioCpuRequest: String
|
1651
|
+
# @param IstioCpuLimit: istioproxy容器最大分配的 CPU 核数,对应 K8S limit
|
1652
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1653
|
+
# @type IstioCpuLimit: String
|
1654
|
+
# @param IstioMemRequest: istioproxy容器初始分配的内存 MiB 数,对应 K8S request
|
1655
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1656
|
+
# @type IstioMemRequest: String
|
1657
|
+
# @param IstioMemLimit: istioproxy容器最大分配的内存 MiB 数,对应 K8S limit
|
1658
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1659
|
+
# @type IstioMemLimit: String
|
1660
|
+
# @param Envs: 部署组的环境变量数组,这里没有展示 tsf 使用的环境变量,只展示了用户设置的环境变量。
|
1661
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1662
|
+
# @type Envs: Array
|
1663
|
+
# @param HealthCheckSettings: 健康检查配置信息,若不指定该参数,则默认不设置健康检查。
|
1664
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1665
|
+
# @type HealthCheckSettings: :class:`Tencentcloud::Tsf.v20180326.models.HealthCheckSettings`
|
1666
|
+
# @param DeployAgent: 是否部署Agent容器
|
1667
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1668
|
+
# @type DeployAgent: Boolean
|
1669
|
+
# @param Alias: 部署组备注
|
1670
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1671
|
+
# @type Alias: String
|
1672
|
+
# @param DisableService: 是否创建 k8s service
|
1673
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1674
|
+
# @type DisableService: Boolean
|
1675
|
+
# @param HeadlessService: service 是否为 headless 类型
|
1676
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1677
|
+
# @type HeadlessService: Boolean
|
1678
|
+
# @param TcrRepoInfo: TcrRepoInfo值
|
1679
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1680
|
+
# @type TcrRepoInfo: :class:`Tencentcloud::Tsf.v20180326.models.TcrRepoInfo`
|
1681
|
+
# @param VolumeInfos: 数据卷信息,list
|
1682
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1683
|
+
# @type VolumeInfos: Array
|
1684
|
+
# @param VolumeMountInfos: 数据卷挂载信息,list
|
1685
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1686
|
+
# @type VolumeMountInfos: Array
|
1687
|
+
|
1688
|
+
attr_accessor :GroupId, :GroupName, :InstanceNum, :CurrentNum, :Server, :Reponame, :TagName, :CpuRequest, :CpuLimit, :MemRequest, :MemLimit, :AccessType, :ProtocolPorts, :UpdateType, :UpdateIvl, :JvmOpts, :SubnetId, :AgentCpuRequest, :AgentCpuLimit, :AgentMemRequest, :AgentMemLimit, :IstioCpuRequest, :IstioCpuLimit, :IstioMemRequest, :IstioMemLimit, :Envs, :HealthCheckSettings, :DeployAgent, :Alias, :DisableService, :HeadlessService, :TcrRepoInfo, :VolumeInfos, :VolumeMountInfos
|
1689
|
+
|
1690
|
+
def initialize(groupid=nil, groupname=nil, instancenum=nil, currentnum=nil, server=nil, reponame=nil, tagname=nil, cpurequest=nil, cpulimit=nil, memrequest=nil, memlimit=nil, accesstype=nil, protocolports=nil, updatetype=nil, updateivl=nil, jvmopts=nil, subnetid=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, envs=nil, healthchecksettings=nil, deployagent=nil, _alias=nil, disableservice=nil, headlessservice=nil, tcrrepoinfo=nil, volumeinfos=nil, volumemountinfos=nil)
|
1691
|
+
@GroupId = groupid
|
1692
|
+
@GroupName = groupname
|
1693
|
+
@InstanceNum = instancenum
|
1694
|
+
@CurrentNum = currentnum
|
1695
|
+
@Server = server
|
1696
|
+
@Reponame = reponame
|
1697
|
+
@TagName = tagname
|
1698
|
+
@CpuRequest = cpurequest
|
1699
|
+
@CpuLimit = cpulimit
|
1700
|
+
@MemRequest = memrequest
|
1701
|
+
@MemLimit = memlimit
|
1702
|
+
@AccessType = accesstype
|
1703
|
+
@ProtocolPorts = protocolports
|
1704
|
+
@UpdateType = updatetype
|
1705
|
+
@UpdateIvl = updateivl
|
1706
|
+
@JvmOpts = jvmopts
|
1707
|
+
@SubnetId = subnetid
|
1708
|
+
@AgentCpuRequest = agentcpurequest
|
1709
|
+
@AgentCpuLimit = agentcpulimit
|
1710
|
+
@AgentMemRequest = agentmemrequest
|
1711
|
+
@AgentMemLimit = agentmemlimit
|
1712
|
+
@IstioCpuRequest = istiocpurequest
|
1713
|
+
@IstioCpuLimit = istiocpulimit
|
1714
|
+
@IstioMemRequest = istiomemrequest
|
1715
|
+
@IstioMemLimit = istiomemlimit
|
1716
|
+
@Envs = envs
|
1717
|
+
@HealthCheckSettings = healthchecksettings
|
1718
|
+
@DeployAgent = deployagent
|
1719
|
+
@Alias = _alias
|
1720
|
+
@DisableService = disableservice
|
1721
|
+
@HeadlessService = headlessservice
|
1722
|
+
@TcrRepoInfo = tcrrepoinfo
|
1723
|
+
@VolumeInfos = volumeinfos
|
1724
|
+
@VolumeMountInfos = volumemountinfos
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
def deserialize(params)
|
1728
|
+
@GroupId = params['GroupId']
|
1729
|
+
@GroupName = params['GroupName']
|
1730
|
+
@InstanceNum = params['InstanceNum']
|
1731
|
+
@CurrentNum = params['CurrentNum']
|
1732
|
+
@Server = params['Server']
|
1733
|
+
@Reponame = params['Reponame']
|
1734
|
+
@TagName = params['TagName']
|
1735
|
+
@CpuRequest = params['CpuRequest']
|
1736
|
+
@CpuLimit = params['CpuLimit']
|
1737
|
+
@MemRequest = params['MemRequest']
|
1738
|
+
@MemLimit = params['MemLimit']
|
1739
|
+
@AccessType = params['AccessType']
|
1740
|
+
unless params['ProtocolPorts'].nil?
|
1741
|
+
@ProtocolPorts = []
|
1742
|
+
params['ProtocolPorts'].each do |i|
|
1743
|
+
protocolport_tmp = ProtocolPort.new
|
1744
|
+
protocolport_tmp.deserialize(i)
|
1745
|
+
@ProtocolPorts << protocolport_tmp
|
1746
|
+
end
|
1747
|
+
end
|
1748
|
+
@UpdateType = params['UpdateType']
|
1749
|
+
@UpdateIvl = params['UpdateIvl']
|
1750
|
+
@JvmOpts = params['JvmOpts']
|
1751
|
+
@SubnetId = params['SubnetId']
|
1752
|
+
@AgentCpuRequest = params['AgentCpuRequest']
|
1753
|
+
@AgentCpuLimit = params['AgentCpuLimit']
|
1754
|
+
@AgentMemRequest = params['AgentMemRequest']
|
1755
|
+
@AgentMemLimit = params['AgentMemLimit']
|
1756
|
+
@IstioCpuRequest = params['IstioCpuRequest']
|
1757
|
+
@IstioCpuLimit = params['IstioCpuLimit']
|
1758
|
+
@IstioMemRequest = params['IstioMemRequest']
|
1759
|
+
@IstioMemLimit = params['IstioMemLimit']
|
1760
|
+
unless params['Envs'].nil?
|
1761
|
+
@Envs = []
|
1762
|
+
params['Envs'].each do |i|
|
1763
|
+
env_tmp = Env.new
|
1764
|
+
env_tmp.deserialize(i)
|
1765
|
+
@Envs << env_tmp
|
1766
|
+
end
|
1767
|
+
end
|
1768
|
+
unless params['HealthCheckSettings'].nil?
|
1769
|
+
@HealthCheckSettings = HealthCheckSettings.new
|
1770
|
+
@HealthCheckSettings.deserialize(params['HealthCheckSettings'])
|
1771
|
+
end
|
1772
|
+
@DeployAgent = params['DeployAgent']
|
1773
|
+
@Alias = params['Alias']
|
1774
|
+
@DisableService = params['DisableService']
|
1775
|
+
@HeadlessService = params['HeadlessService']
|
1776
|
+
unless params['TcrRepoInfo'].nil?
|
1777
|
+
@TcrRepoInfo = TcrRepoInfo.new
|
1778
|
+
@TcrRepoInfo.deserialize(params['TcrRepoInfo'])
|
1779
|
+
end
|
1780
|
+
unless params['VolumeInfos'].nil?
|
1781
|
+
@VolumeInfos = []
|
1782
|
+
params['VolumeInfos'].each do |i|
|
1783
|
+
volumeinfo_tmp = VolumeInfo.new
|
1784
|
+
volumeinfo_tmp.deserialize(i)
|
1785
|
+
@VolumeInfos << volumeinfo_tmp
|
1786
|
+
end
|
1787
|
+
end
|
1788
|
+
unless params['VolumeMountInfos'].nil?
|
1789
|
+
@VolumeMountInfos = []
|
1790
|
+
params['VolumeMountInfos'].each do |i|
|
1791
|
+
volumemountinfo_tmp = VolumeMountInfo.new
|
1792
|
+
volumemountinfo_tmp.deserialize(i)
|
1793
|
+
@VolumeMountInfos << volumemountinfo_tmp
|
1794
|
+
end
|
1795
|
+
end
|
1796
|
+
end
|
1797
|
+
end
|
1798
|
+
|
1583
1799
|
# 容器部署组详情
|
1584
1800
|
class ContainerGroupDetail < TencentCloud::Common::AbstractModel
|
1585
1801
|
# @param GroupId: 部署组ID
|
@@ -4094,14 +4310,18 @@ module TencentCloud
|
|
4094
4310
|
# @type IncrementalDeployment: Boolean
|
4095
4311
|
# @param RepoType: tcr或者不填
|
4096
4312
|
# @type RepoType: String
|
4097
|
-
# @param VolumeInfos:
|
4313
|
+
# @param VolumeInfos: 数据卷信息-废弃,请用VolumeInfoList参数
|
4098
4314
|
# @type VolumeInfos: :class:`Tencentcloud::Tsf.v20180326.models.VolumeInfo`
|
4099
|
-
# @param VolumeMountInfos:
|
4315
|
+
# @param VolumeMountInfos: 数据卷挂载点信息-废弃,请用VolumeMountInfoList参数
|
4100
4316
|
# @type VolumeMountInfos: :class:`Tencentcloud::Tsf.v20180326.models.VolumeMountInfo`
|
4317
|
+
# @param VolumeInfoList: 数据卷信息,list
|
4318
|
+
# @type VolumeInfoList: Array
|
4319
|
+
# @param VolumeMountInfoList: 数据卷挂载点信息,list
|
4320
|
+
# @type VolumeMountInfoList: Array
|
4101
4321
|
|
4102
|
-
attr_accessor :GroupId, :TagName, :InstanceNum, :Server, :Reponame, :CpuLimit, :MemLimit, :JvmOpts, :CpuRequest, :MemRequest, :DoNotStart, :RepoName, :UpdateType, :UpdateIvl, :AgentCpuRequest, :AgentCpuLimit, :AgentMemRequest, :AgentMemLimit, :IstioCpuRequest, :IstioCpuLimit, :IstioMemRequest, :IstioMemLimit, :MaxSurge, :MaxUnavailable, :HealthCheckSettings, :Envs, :ServiceSetting, :DeployAgent, :SchedulingStrategy, :IncrementalDeployment, :RepoType, :VolumeInfos, :VolumeMountInfos
|
4322
|
+
attr_accessor :GroupId, :TagName, :InstanceNum, :Server, :Reponame, :CpuLimit, :MemLimit, :JvmOpts, :CpuRequest, :MemRequest, :DoNotStart, :RepoName, :UpdateType, :UpdateIvl, :AgentCpuRequest, :AgentCpuLimit, :AgentMemRequest, :AgentMemLimit, :IstioCpuRequest, :IstioCpuLimit, :IstioMemRequest, :IstioMemLimit, :MaxSurge, :MaxUnavailable, :HealthCheckSettings, :Envs, :ServiceSetting, :DeployAgent, :SchedulingStrategy, :IncrementalDeployment, :RepoType, :VolumeInfos, :VolumeMountInfos, :VolumeInfoList, :VolumeMountInfoList
|
4103
4323
|
|
4104
|
-
def initialize(groupid=nil, tagname=nil, instancenum=nil, server=nil, reponame=nil, cpulimit=nil, memlimit=nil, jvmopts=nil, cpurequest=nil, memrequest=nil, donotstart=nil, reponame=nil, updatetype=nil, updateivl=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, envs=nil, servicesetting=nil, deployagent=nil, schedulingstrategy=nil, incrementaldeployment=nil, repotype=nil, volumeinfos=nil, volumemountinfos=nil)
|
4324
|
+
def initialize(groupid=nil, tagname=nil, instancenum=nil, server=nil, reponame=nil, cpulimit=nil, memlimit=nil, jvmopts=nil, cpurequest=nil, memrequest=nil, donotstart=nil, reponame=nil, updatetype=nil, updateivl=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, envs=nil, servicesetting=nil, deployagent=nil, schedulingstrategy=nil, incrementaldeployment=nil, repotype=nil, volumeinfos=nil, volumemountinfos=nil, volumeinfolist=nil, volumemountinfolist=nil)
|
4105
4325
|
@GroupId = groupid
|
4106
4326
|
@TagName = tagname
|
4107
4327
|
@InstanceNum = instancenum
|
@@ -4135,6 +4355,8 @@ module TencentCloud
|
|
4135
4355
|
@RepoType = repotype
|
4136
4356
|
@VolumeInfos = volumeinfos
|
4137
4357
|
@VolumeMountInfos = volumemountinfos
|
4358
|
+
@VolumeInfoList = volumeinfolist
|
4359
|
+
@VolumeMountInfoList = volumemountinfolist
|
4138
4360
|
end
|
4139
4361
|
|
4140
4362
|
def deserialize(params)
|
@@ -4193,6 +4415,22 @@ module TencentCloud
|
|
4193
4415
|
@VolumeMountInfos = VolumeMountInfo.new
|
4194
4416
|
@VolumeMountInfos.deserialize(params['VolumeMountInfos'])
|
4195
4417
|
end
|
4418
|
+
unless params['VolumeInfoList'].nil?
|
4419
|
+
@VolumeInfoList = []
|
4420
|
+
params['VolumeInfoList'].each do |i|
|
4421
|
+
volumeinfo_tmp = VolumeInfo.new
|
4422
|
+
volumeinfo_tmp.deserialize(i)
|
4423
|
+
@VolumeInfoList << volumeinfo_tmp
|
4424
|
+
end
|
4425
|
+
end
|
4426
|
+
unless params['VolumeMountInfoList'].nil?
|
4427
|
+
@VolumeMountInfoList = []
|
4428
|
+
params['VolumeMountInfoList'].each do |i|
|
4429
|
+
volumemountinfo_tmp = VolumeMountInfo.new
|
4430
|
+
volumemountinfo_tmp.deserialize(i)
|
4431
|
+
@VolumeMountInfoList << volumemountinfo_tmp
|
4432
|
+
end
|
4433
|
+
end
|
4196
4434
|
end
|
4197
4435
|
end
|
4198
4436
|
|
@@ -5292,6 +5530,45 @@ module TencentCloud
|
|
5292
5530
|
end
|
5293
5531
|
end
|
5294
5532
|
|
5533
|
+
# DescribeContainerGroupDeployInfo请求参数结构体
|
5534
|
+
class DescribeContainerGroupDeployInfoRequest < TencentCloud::Common::AbstractModel
|
5535
|
+
# @param GroupId: 实例所属 groupId
|
5536
|
+
# @type GroupId: String
|
5537
|
+
|
5538
|
+
attr_accessor :GroupId
|
5539
|
+
|
5540
|
+
def initialize(groupid=nil)
|
5541
|
+
@GroupId = groupid
|
5542
|
+
end
|
5543
|
+
|
5544
|
+
def deserialize(params)
|
5545
|
+
@GroupId = params['GroupId']
|
5546
|
+
end
|
5547
|
+
end
|
5548
|
+
|
5549
|
+
# DescribeContainerGroupDeployInfo返回参数结构体
|
5550
|
+
class DescribeContainerGroupDeployInfoResponse < TencentCloud::Common::AbstractModel
|
5551
|
+
# @param Result: 获取部署组
|
5552
|
+
# @type Result: :class:`Tencentcloud::Tsf.v20180326.models.ContainerGroupDeploy`
|
5553
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5554
|
+
# @type RequestId: String
|
5555
|
+
|
5556
|
+
attr_accessor :Result, :RequestId
|
5557
|
+
|
5558
|
+
def initialize(result=nil, requestid=nil)
|
5559
|
+
@Result = result
|
5560
|
+
@RequestId = requestid
|
5561
|
+
end
|
5562
|
+
|
5563
|
+
def deserialize(params)
|
5564
|
+
unless params['Result'].nil?
|
5565
|
+
@Result = ContainerGroupDeploy.new
|
5566
|
+
@Result.deserialize(params['Result'])
|
5567
|
+
end
|
5568
|
+
@RequestId = params['RequestId']
|
5569
|
+
end
|
5570
|
+
end
|
5571
|
+
|
5295
5572
|
# DescribeContainerGroupDetail请求参数结构体
|
5296
5573
|
class DescribeContainerGroupDetailRequest < TencentCloud::Common::AbstractModel
|
5297
5574
|
# @param GroupId: 分组ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tsf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.237
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|