Class: TencentCloud::Cls::V20201016::CreateMachineGroupRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::CreateMachineGroupRequest
- Defined in:
- lib/v20201016/models.rb
Overview
CreateMachineGroup请求参数结构体
Instance Attribute Summary collapse
-
#AutoUpdate ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
-
#DelayCleanupTime ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
-
#GroupName ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
-
#MachineGroupType ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
-
#MetaTags ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
-
#OSType ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
-
#ServiceLogging ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
-
#Tags ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
-
#UpdateEndTime ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
-
#UpdateStartTime ⇒ Object
- 大于0时生效。 - 0:Linux (默认值) - 1:Windows.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groupname = nil, machinegrouptype = nil, tags = nil, autoupdate = nil, updatestarttime = nil, updateendtime = nil, servicelogging = nil, delaycleanuptime = nil, metatags = nil, ostype = nil) ⇒ CreateMachineGroupRequest
constructor
A new instance of CreateMachineGroupRequest.
Constructor Details
#initialize(groupname = nil, machinegrouptype = nil, tags = nil, autoupdate = nil, updatestarttime = nil, updateendtime = nil, servicelogging = nil, delaycleanuptime = nil, metatags = nil, ostype = nil) ⇒ CreateMachineGroupRequest
Returns a new instance of CreateMachineGroupRequest.
4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 |
# File 'lib/v20201016/models.rb', line 4133 def initialize(groupname=nil, machinegrouptype=nil, =nil, autoupdate=nil, updatestarttime=nil, updateendtime=nil, servicelogging=nil, delaycleanuptime=nil, =nil, ostype=nil) @GroupName = groupname @MachineGroupType = machinegrouptype @Tags = @AutoUpdate = autoupdate @UpdateStartTime = updatestarttime @UpdateEndTime = updateendtime @ServiceLogging = servicelogging @DelayCleanupTime = delaycleanuptime @MetaTags = @OSType = ostype end |
Instance Attribute Details
#AutoUpdate ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def AutoUpdate @AutoUpdate end |
#DelayCleanupTime ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def DelayCleanupTime @DelayCleanupTime end |
#GroupName ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def GroupName @GroupName end |
#MachineGroupType ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def MachineGroupType @MachineGroupType end |
#MetaTags ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def MetaTags @MetaTags end |
#OSType ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def OSType @OSType end |
#ServiceLogging ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def ServiceLogging @ServiceLogging end |
#Tags ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def Tags @Tags end |
#UpdateEndTime ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def UpdateEndTime @UpdateEndTime end |
#UpdateStartTime ⇒ Object
- 大于0时生效。
- 0:Linux (默认值)
- 1:Windows
4131 4132 4133 |
# File 'lib/v20201016/models.rb', line 4131 def UpdateStartTime @UpdateStartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 |
# File 'lib/v20201016/models.rb', line 4146 def deserialize(params) @GroupName = params['GroupName'] unless params['MachineGroupType'].nil? @MachineGroupType = MachineGroupTypeInfo.new @MachineGroupType.deserialize(params['MachineGroupType']) end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @AutoUpdate = params['AutoUpdate'] @UpdateStartTime = params['UpdateStartTime'] @UpdateEndTime = params['UpdateEndTime'] @ServiceLogging = params['ServiceLogging'] @DelayCleanupTime = params['DelayCleanupTime'] unless params['MetaTags'].nil? @MetaTags = [] params['MetaTags'].each do |i| = MetaTagInfo.new .deserialize(i) @MetaTags << end end @OSType = params['OSType'] end |