Class: TencentCloud::Tke::V20180525::OSImage

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

Overview

操作系统描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(seriesname = nil, _alias = nil, osname = nil, oscustomizetype = nil, status = nil, imageid = nil) ⇒ OSImage

Returns a new instance of OSImage.



15446
15447
15448
15449
15450
15451
15452
15453
# File 'lib/v20180525/models.rb', line 15446

def initialize(seriesname=nil, _alias=nil, osname=nil, oscustomizetype=nil, status=nil, imageid=nil)
  @SeriesName = seriesname
  @Alias = _alias
  @OsName = osname
  @OsCustomizeType = oscustomizetype
  @Status = status
  @ImageId = imageid
end

Instance Attribute Details

#AliasObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

    操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)

  • Status:

    os是否下线(online表示在线,offline表示下线)

  • ImageId:

    镜像id



15444
15445
15446
# File 'lib/v20180525/models.rb', line 15444

def Alias
  @Alias
end

#ImageIdObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

    操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)

  • Status:

    os是否下线(online表示在线,offline表示下线)

  • ImageId:

    镜像id



15444
15445
15446
# File 'lib/v20180525/models.rb', line 15444

def ImageId
  @ImageId
end

#OsCustomizeTypeObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

    操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)

  • Status:

    os是否下线(online表示在线,offline表示下线)

  • ImageId:

    镜像id



15444
15445
15446
# File 'lib/v20180525/models.rb', line 15444

def OsCustomizeType
  @OsCustomizeType
end

#OsNameObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

    操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)

  • Status:

    os是否下线(online表示在线,offline表示下线)

  • ImageId:

    镜像id



15444
15445
15446
# File 'lib/v20180525/models.rb', line 15444

def OsName
  @OsName
end

#SeriesNameObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

    操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)

  • Status:

    os是否下线(online表示在线,offline表示下线)

  • ImageId:

    镜像id



15444
15445
15446
# File 'lib/v20180525/models.rb', line 15444

def SeriesName
  @SeriesName
end

#StatusObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

    操作系统类型(分为定制和非定制,取值分别为:DOCKER_CUSTOMIZE、GENERAL)

  • Status:

    os是否下线(online表示在线,offline表示下线)

  • ImageId:

    镜像id



15444
15445
15446
# File 'lib/v20180525/models.rb', line 15444

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



15455
15456
15457
15458
15459
15460
15461
15462
# File 'lib/v20180525/models.rb', line 15455

def deserialize(params)
  @SeriesName = params['SeriesName']
  @Alias = params['Alias']
  @OsName = params['OsName']
  @OsCustomizeType = params['OsCustomizeType']
  @Status = params['Status']
  @ImageId = params['ImageId']
end