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.
1442 1443 1444 1445 1446 1447 1448 1449 |
# File 'lib/v20210701/models.rb', line 1442 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
1440 1441 1442 |
# File 'lib/v20210701/models.rb', line 1440 def BatchInterval @BatchInterval end |
#BetaBatchNum ⇒ Object
1440 1441 1442 |
# File 'lib/v20210701/models.rb', line 1440 def BetaBatchNum @BetaBatchNum end |
#DeployStrategyType ⇒ Object
1440 1441 1442 |
# File 'lib/v20210701/models.rb', line 1440 def DeployStrategyType @DeployStrategyType end |
#Force ⇒ Object
1440 1441 1442 |
# File 'lib/v20210701/models.rb', line 1440 def Force @Force end |
#MinAvailable ⇒ Object
1440 1441 1442 |
# File 'lib/v20210701/models.rb', line 1440 def MinAvailable @MinAvailable end |
#TotalBatchCount ⇒ Object
1440 1441 1442 |
# File 'lib/v20210701/models.rb', line 1440 def TotalBatchCount @TotalBatchCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1451 1452 1453 1454 1455 1456 1457 1458 |
# File 'lib/v20210701/models.rb', line 1451 def deserialize(params) @TotalBatchCount = params['TotalBatchCount'] @BetaBatchNum = params['BetaBatchNum'] @DeployStrategyType = params['DeployStrategyType'] @BatchInterval = params['BatchInterval'] @MinAvailable = params['MinAvailable'] @Force = params['Force'] end |