Class: TencentCloud::Tke::V20180525::ClusterBasicSettings
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ClusterBasicSettings
- Defined in:
- lib/v20180525/models.rb
Overview
描述集群的基本配置信息
Instance Attribute Summary collapse
- #AutoUpgradeClusterLevel ⇒ Object
- #ClusterDescription ⇒ Object
- #ClusterLevel ⇒ Object
- #ClusterName ⇒ Object
- #ClusterOs ⇒ Object
- #ClusterVersion ⇒ Object
- #NeedWorkSecurityGroup ⇒ Object
- #OsCustomizeType ⇒ Object
- #ProjectId ⇒ Object
- #SubnetId ⇒ Object
- #TagSpecification ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusteros = nil, clusterversion = nil, clustername = nil, clusterdescription = nil, vpcid = nil, projectid = nil, tagspecification = nil, oscustomizetype = nil, needworksecuritygroup = nil, subnetid = nil, clusterlevel = nil, autoupgradeclusterlevel = nil) ⇒ ClusterBasicSettings
constructor
A new instance of ClusterBasicSettings.
Constructor Details
#initialize(clusteros = nil, clusterversion = nil, clustername = nil, clusterdescription = nil, vpcid = nil, projectid = nil, tagspecification = nil, oscustomizetype = nil, needworksecuritygroup = nil, subnetid = nil, clusterlevel = nil, autoupgradeclusterlevel = nil) ⇒ ClusterBasicSettings
Returns a new instance of ClusterBasicSettings.
1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 |
# File 'lib/v20180525/models.rb', line 1159 def initialize(clusteros=nil, clusterversion=nil, clustername=nil, clusterdescription=nil, vpcid=nil, projectid=nil, =nil, oscustomizetype=nil, needworksecuritygroup=nil, subnetid=nil, clusterlevel=nil, autoupgradeclusterlevel=nil) @ClusterOs = clusteros @ClusterVersion = clusterversion @ClusterName = clustername @ClusterDescription = clusterdescription @VpcId = vpcid @ProjectId = projectid @TagSpecification = @OsCustomizeType = oscustomizetype @NeedWorkSecurityGroup = needworksecuritygroup @SubnetId = subnetid @ClusterLevel = clusterlevel @AutoUpgradeClusterLevel = autoupgradeclusterlevel end |
Instance Attribute Details
#AutoUpgradeClusterLevel ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def AutoUpgradeClusterLevel @AutoUpgradeClusterLevel end |
#ClusterDescription ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def ClusterDescription @ClusterDescription end |
#ClusterLevel ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def ClusterLevel @ClusterLevel end |
#ClusterName ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def ClusterName @ClusterName end |
#ClusterOs ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def ClusterOs @ClusterOs end |
#ClusterVersion ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def ClusterVersion @ClusterVersion end |
#NeedWorkSecurityGroup ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def NeedWorkSecurityGroup @NeedWorkSecurityGroup end |
#OsCustomizeType ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def OsCustomizeType @OsCustomizeType end |
#ProjectId ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def ProjectId @ProjectId end |
#SubnetId ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def SubnetId @SubnetId end |
#TagSpecification ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def TagSpecification @TagSpecification end |
#VpcId ⇒ Object
1157 1158 1159 |
# File 'lib/v20180525/models.rb', line 1157 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 |
# File 'lib/v20180525/models.rb', line 1174 def deserialize(params) @ClusterOs = params['ClusterOs'] @ClusterVersion = params['ClusterVersion'] @ClusterName = params['ClusterName'] @ClusterDescription = params['ClusterDescription'] @VpcId = params['VpcId'] @ProjectId = params['ProjectId'] unless params['TagSpecification'].nil? @TagSpecification = [] params['TagSpecification'].each do |i| = TagSpecification.new .deserialize(i) @TagSpecification << end end @OsCustomizeType = params['OsCustomizeType'] @NeedWorkSecurityGroup = params['NeedWorkSecurityGroup'] @SubnetId = params['SubnetId'] @ClusterLevel = params['ClusterLevel'] unless params['AutoUpgradeClusterLevel'].nil? @AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new @AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel']) end end |