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.
1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/v20180525/models.rb', line 1321 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
1319 1320 1321 |
# File 'lib/v20180525/models.rb', line 1319 def ClaimExpiredSeconds @ClaimExpiredSeconds end |
#ClusterCIDR ⇒ Object
1319 1320 1321 |
# File 'lib/v20180525/models.rb', line 1319 def ClusterCIDR @ClusterCIDR end |
#EniSubnetIds ⇒ Object
1319 1320 1321 |
# File 'lib/v20180525/models.rb', line 1319 def EniSubnetIds @EniSubnetIds end |
#IgnoreClusterCIDRConflict ⇒ Object
1319 1320 1321 |
# File 'lib/v20180525/models.rb', line 1319 def IgnoreClusterCIDRConflict @IgnoreClusterCIDRConflict end |
#IgnoreServiceCIDRConflict ⇒ Object
1319 1320 1321 |
# File 'lib/v20180525/models.rb', line 1319 def IgnoreServiceCIDRConflict @IgnoreServiceCIDRConflict end |
#MaxClusterServiceNum ⇒ Object
1319 1320 1321 |
# File 'lib/v20180525/models.rb', line 1319 def MaxClusterServiceNum @MaxClusterServiceNum end |
#MaxNodePodNum ⇒ Object
1319 1320 1321 |
# File 'lib/v20180525/models.rb', line 1319 def MaxNodePodNum @MaxNodePodNum end |
#ServiceCIDR ⇒ Object
1319 1320 1321 |
# File 'lib/v20180525/models.rb', line 1319 def ServiceCIDR @ServiceCIDR end |
Instance Method Details
#deserialize(params) ⇒ Object
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 |
# File 'lib/v20180525/models.rb', line 1332 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 |