Class: TencentCloud::Tke::V20180525::ClusterCIDRSettings
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ClusterCIDRSettings
- Defined in:
- lib/v20180525/models.rb
Overview
集群容器网络相关参数
Instance Attribute Summary collapse
- #ClaimExpiredSeconds ⇒ Object
- #ClusterCIDR ⇒ Object
- #EniSubnetIds ⇒ Object
- #IgnoreClusterCIDRConflict ⇒ Object
- #IgnoreServiceCIDRConflict ⇒ Object
- #MaxClusterServiceNum ⇒ Object
- #MaxNodePodNum ⇒ Object
- #ServiceCIDR ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clustercidr = nil, ignoreclustercidrconflict = nil, maxnodepodnum = nil, maxclusterservicenum = nil, servicecidr = nil, enisubnetids = nil, claimexpiredseconds = nil, ignoreservicecidrconflict = nil) ⇒ ClusterCIDRSettings
constructor
A new instance of ClusterCIDRSettings.
Constructor Details
#initialize(clustercidr = nil, ignoreclustercidrconflict = nil, maxnodepodnum = nil, maxclusterservicenum = nil, servicecidr = nil, enisubnetids = nil, claimexpiredseconds = nil, ignoreservicecidrconflict = nil) ⇒ ClusterCIDRSettings
Returns a new instance of ClusterCIDRSettings.
1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 |
# File 'lib/v20180525/models.rb', line 1221 def initialize(clustercidr=nil, ignoreclustercidrconflict=nil, maxnodepodnum=nil, maxclusterservicenum=nil, servicecidr=nil, enisubnetids=nil, claimexpiredseconds=nil, ignoreservicecidrconflict=nil) @ClusterCIDR = clustercidr @IgnoreClusterCIDRConflict = ignoreclustercidrconflict @MaxNodePodNum = maxnodepodnum @MaxClusterServiceNum = maxclusterservicenum @ServiceCIDR = servicecidr @EniSubnetIds = enisubnetids @ClaimExpiredSeconds = claimexpiredseconds @IgnoreServiceCIDRConflict = ignoreservicecidrconflict end |
Instance Attribute Details
#ClaimExpiredSeconds ⇒ Object
1219 1220 1221 |
# File 'lib/v20180525/models.rb', line 1219 def ClaimExpiredSeconds @ClaimExpiredSeconds end |
#ClusterCIDR ⇒ Object
1219 1220 1221 |
# File 'lib/v20180525/models.rb', line 1219 def ClusterCIDR @ClusterCIDR end |
#EniSubnetIds ⇒ Object
1219 1220 1221 |
# File 'lib/v20180525/models.rb', line 1219 def EniSubnetIds @EniSubnetIds end |
#IgnoreClusterCIDRConflict ⇒ Object
1219 1220 1221 |
# File 'lib/v20180525/models.rb', line 1219 def IgnoreClusterCIDRConflict @IgnoreClusterCIDRConflict end |
#IgnoreServiceCIDRConflict ⇒ Object
1219 1220 1221 |
# File 'lib/v20180525/models.rb', line 1219 def IgnoreServiceCIDRConflict @IgnoreServiceCIDRConflict end |
#MaxClusterServiceNum ⇒ Object
1219 1220 1221 |
# File 'lib/v20180525/models.rb', line 1219 def MaxClusterServiceNum @MaxClusterServiceNum end |
#MaxNodePodNum ⇒ Object
1219 1220 1221 |
# File 'lib/v20180525/models.rb', line 1219 def MaxNodePodNum @MaxNodePodNum end |
#ServiceCIDR ⇒ Object
1219 1220 1221 |
# File 'lib/v20180525/models.rb', line 1219 def ServiceCIDR @ServiceCIDR end |
Instance Method Details
#deserialize(params) ⇒ Object
1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 |
# File 'lib/v20180525/models.rb', line 1232 def deserialize(params) @ClusterCIDR = params['ClusterCIDR'] @IgnoreClusterCIDRConflict = params['IgnoreClusterCIDRConflict'] @MaxNodePodNum = params['MaxNodePodNum'] @MaxClusterServiceNum = params['MaxClusterServiceNum'] @ServiceCIDR = params['ServiceCIDR'] @EniSubnetIds = params['EniSubnetIds'] @ClaimExpiredSeconds = params['ClaimExpiredSeconds'] @IgnoreServiceCIDRConflict = params['IgnoreServiceCIDRConflict'] end |