Class: TencentCloud::Batch::V20170312::NamedComputeEnv
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::NamedComputeEnv
- Defined in:
- lib/v20170312/models.rb
Overview
计算环境
Instance Attribute Summary collapse
-
#ActionIfComputeNodeInactive ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#AgentRunningMode ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#Authentications ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#DesiredComputeNodeCount ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#EnvData ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#EnvDescription ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#EnvName ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#EnvType ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#InputMappings ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#MountDataDisks ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#Notifications ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#NotificationTarget ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#ResourceMaxRetryCount ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
-
#Tags ⇒ Object
MANAGED: 由客户在Batch平台主动创建; THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。 取值范围:CMQ,TDMQ_CMQ。 CMQ:表示向腾讯云CMQ发送消息。 TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(envname = nil, desiredcomputenodecount = nil, envdescription = nil, envtype = nil, envdata = nil, mountdatadisks = nil, authentications = nil, inputmappings = nil, agentrunningmode = nil, notifications = nil, actionifcomputenodeinactive = nil, resourcemaxretrycount = nil, tags = nil, notificationtarget = nil) ⇒ NamedComputeEnv
constructor
A new instance of NamedComputeEnv.
Constructor Details
#initialize(envname = nil, desiredcomputenodecount = nil, envdescription = nil, envtype = nil, envdata = nil, mountdatadisks = nil, authentications = nil, inputmappings = nil, agentrunningmode = nil, notifications = nil, actionifcomputenodeinactive = nil, resourcemaxretrycount = nil, tags = nil, notificationtarget = nil) ⇒ NamedComputeEnv
Returns a new instance of NamedComputeEnv.
3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 |
# File 'lib/v20170312/models.rb', line 3170 def initialize(envname=nil, desiredcomputenodecount=nil, envdescription=nil, envtype=nil, envdata=nil, mountdatadisks=nil, authentications=nil, inputmappings=nil, agentrunningmode=nil, notifications=nil, actionifcomputenodeinactive=nil, resourcemaxretrycount=nil, =nil, notificationtarget=nil) @EnvName = envname @DesiredComputeNodeCount = desiredcomputenodecount @EnvDescription = envdescription @EnvType = envtype @EnvData = envdata @MountDataDisks = mountdatadisks @Authentications = authentications @InputMappings = inputmappings @AgentRunningMode = agentrunningmode @Notifications = notifications @ActionIfComputeNodeInactive = actionifcomputenodeinactive @ResourceMaxRetryCount = resourcemaxretrycount @Tags = @NotificationTarget = notificationtarget end |
Instance Attribute Details
#ActionIfComputeNodeInactive ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def ActionIfComputeNodeInactive @ActionIfComputeNodeInactive end |
#AgentRunningMode ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def AgentRunningMode @AgentRunningMode end |
#Authentications ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def Authentications @Authentications end |
#DesiredComputeNodeCount ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def DesiredComputeNodeCount @DesiredComputeNodeCount end |
#EnvData ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def EnvData @EnvData end |
#EnvDescription ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def EnvDescription @EnvDescription end |
#EnvName ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def EnvName @EnvName end |
#EnvType ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def EnvType @EnvType end |
#InputMappings ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def InputMappings @InputMappings end |
#MountDataDisks ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def MountDataDisks @MountDataDisks end |
#Notifications ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def Notifications @Notifications end |
#NotificationTarget ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def NotificationTarget @NotificationTarget end |
#ResourceMaxRetryCount ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def ResourceMaxRetryCount @ResourceMaxRetryCount end |
#Tags ⇒ Object
MANAGED: 由客户在Batch平台主动创建;THPC_QUEUE: 由THPC平台创建,关联THPC平台的集群队列。取值范围:CMQ,TDMQ_CMQ。CMQ:表示向腾讯云CMQ发送消息。TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:(cloud.tencent.com/document/product/406/60860)
3168 3169 3170 |
# File 'lib/v20170312/models.rb', line 3168 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 |
# File 'lib/v20170312/models.rb', line 3187 def deserialize(params) @EnvName = params['EnvName'] @DesiredComputeNodeCount = params['DesiredComputeNodeCount'] @EnvDescription = params['EnvDescription'] @EnvType = params['EnvType'] unless params['EnvData'].nil? @EnvData = EnvData.new @EnvData.deserialize(params['EnvData']) end unless params['MountDataDisks'].nil? @MountDataDisks = [] params['MountDataDisks'].each do |i| mountdatadisk_tmp = MountDataDisk.new mountdatadisk_tmp.deserialize(i) @MountDataDisks << mountdatadisk_tmp end end unless params['Authentications'].nil? @Authentications = [] params['Authentications'].each do |i| authentication_tmp = Authentication.new authentication_tmp.deserialize(i) @Authentications << authentication_tmp end end unless params['InputMappings'].nil? @InputMappings = [] params['InputMappings'].each do |i| inputmapping_tmp = InputMapping.new inputmapping_tmp.deserialize(i) @InputMappings << inputmapping_tmp end end unless params['AgentRunningMode'].nil? @AgentRunningMode = AgentRunningMode.new @AgentRunningMode.deserialize(params['AgentRunningMode']) end unless params['Notifications'].nil? @Notifications = [] params['Notifications'].each do |i| notification_tmp = Notification.new notification_tmp.deserialize(i) @Notifications << notification_tmp end end @ActionIfComputeNodeInactive = params['ActionIfComputeNodeInactive'] @ResourceMaxRetryCount = params['ResourceMaxRetryCount'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @NotificationTarget = params['NotificationTarget'] end |