Class: TencentCloud::Batch::V20170312::ComputeEnvCreateInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

计算环境创建信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(envid = nil, envname = nil, envdescription = nil, envtype = nil, envdata = nil, mountdatadisks = nil, inputmappings = nil, authentications = nil, notifications = nil, desiredcomputenodecount = nil, tags = nil) ⇒ ComputeEnvCreateInfo

Returns a new instance of ComputeEnvCreateInfo.



289
290
291
292
293
294
295
296
297
298
299
300
301
# File 'lib/v20170312/models.rb', line 289

def initialize(envid=nil, envname=nil, envdescription=nil, envtype=nil, envdata=nil, mountdatadisks=nil, inputmappings=nil, authentications=nil, notifications=nil, desiredcomputenodecount=nil, tags=nil)
  @EnvId = envid
  @EnvName = envname
  @EnvDescription = envdescription
  @EnvType = envtype
  @EnvData = envdata
  @MountDataDisks = mountdatadisks
  @InputMappings = inputmappings
  @Authentications = authentications
  @Notifications = notifications
  @DesiredComputeNodeCount = desiredcomputenodecount
  @Tags = tags
end

Instance Attribute Details

#AuthenticationsObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def Authentications
  @Authentications
end

#DesiredComputeNodeCountObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def DesiredComputeNodeCount
  @DesiredComputeNodeCount
end

#EnvDataObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def EnvData
  @EnvData
end

#EnvDescriptionObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def EnvDescription
  @EnvDescription
end

#EnvIdObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def EnvId
  @EnvId
end

#EnvNameObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def EnvName
  @EnvName
end

#EnvTypeObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def EnvType
  @EnvType
end

#InputMappingsObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def InputMappings
  @InputMappings
end

#MountDataDisksObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def MountDataDisks
  @MountDataDisks
end

#NotificationsObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def Notifications
  @Notifications
end

#TagsObject

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境标签列表



287
288
289
# File 'lib/v20170312/models.rb', line 287

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
# File 'lib/v20170312/models.rb', line 303

def deserialize(params)
  @EnvId = params['EnvId']
  @EnvName = params['EnvName']
  @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['InputMappings'].nil?
    @InputMappings = []
    params['InputMappings'].each do |i|
      inputmapping_tmp = InputMapping.new
      inputmapping_tmp.deserialize(i)
      @InputMappings << inputmapping_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['Notifications'].nil?
    @Notifications = []
    params['Notifications'].each do |i|
      notification_tmp = Notification.new
      notification_tmp.deserialize(i)
      @Notifications << notification_tmp
    end
  end
  @DesiredComputeNodeCount = params['DesiredComputeNodeCount']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
end