Class: TencentCloud::Tem::V20210701::DeployStrategyConf
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::DeployStrategyConf
- Defined in:
- lib/v20210701/models.rb
Overview
分批发布策略配置
Instance Attribute Summary collapse
- #BatchInterval ⇒ Object
- #BetaBatchNum ⇒ Object
- #DeployStrategyType ⇒ Object
- #Force ⇒ Object
- #MinAvailable ⇒ Object
- #TotalBatchCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalbatchcount = nil, betabatchnum = nil, deploystrategytype = nil, batchinterval = nil, minavailable = nil, force = nil) ⇒ DeployStrategyConf
constructor
A new instance of DeployStrategyConf.
Constructor Details
#initialize(totalbatchcount = nil, betabatchnum = nil, deploystrategytype = nil, batchinterval = nil, minavailable = nil, force = nil) ⇒ DeployStrategyConf
Returns a new instance of DeployStrategyConf.
1413 1414 1415 1416 1417 1418 1419 1420 |
# File 'lib/v20210701/models.rb', line 1413 def initialize(totalbatchcount=nil, betabatchnum=nil, deploystrategytype=nil, batchinterval=nil, minavailable=nil, force=nil) @TotalBatchCount = totalbatchcount @BetaBatchNum = betabatchnum @DeployStrategyType = deploystrategytype @BatchInterval = batchinterval @MinAvailable = minavailable @Force = force end |
Instance Attribute Details
#BatchInterval ⇒ Object
1411 1412 1413 |
# File 'lib/v20210701/models.rb', line 1411 def BatchInterval @BatchInterval end |
#BetaBatchNum ⇒ Object
1411 1412 1413 |
# File 'lib/v20210701/models.rb', line 1411 def BetaBatchNum @BetaBatchNum end |
#DeployStrategyType ⇒ Object
1411 1412 1413 |
# File 'lib/v20210701/models.rb', line 1411 def DeployStrategyType @DeployStrategyType end |
#Force ⇒ Object
1411 1412 1413 |
# File 'lib/v20210701/models.rb', line 1411 def Force @Force end |
#MinAvailable ⇒ Object
1411 1412 1413 |
# File 'lib/v20210701/models.rb', line 1411 def MinAvailable @MinAvailable end |
#TotalBatchCount ⇒ Object
1411 1412 1413 |
# File 'lib/v20210701/models.rb', line 1411 def TotalBatchCount @TotalBatchCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1422 1423 1424 1425 1426 1427 1428 1429 |
# File 'lib/v20210701/models.rb', line 1422 def deserialize(params) @TotalBatchCount = params['TotalBatchCount'] @BetaBatchNum = params['BetaBatchNum'] @DeployStrategyType = params['DeployStrategyType'] @BatchInterval = params['BatchInterval'] @MinAvailable = params['MinAvailable'] @Force = params['Force'] end |