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.



15150
15151
15152
15153
15154
15155
15156
15157
# File 'lib/v20180525/models.rb', line 15150

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



15148
15149
15150
# File 'lib/v20180525/models.rb', line 15148

def Alias
  @Alias
end

#ImageIdObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

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

  • Status:

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

  • ImageId:

    镜像id



15148
15149
15150
# File 'lib/v20180525/models.rb', line 15148

def ImageId
  @ImageId
end

#OsCustomizeTypeObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

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

  • Status:

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

  • ImageId:

    镜像id



15148
15149
15150
# File 'lib/v20180525/models.rb', line 15148

def OsCustomizeType
  @OsCustomizeType
end

#OsNameObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

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

  • Status:

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

  • ImageId:

    镜像id



15148
15149
15150
# File 'lib/v20180525/models.rb', line 15148

def OsName
  @OsName
end

#SeriesNameObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

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

  • Status:

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

  • ImageId:

    镜像id



15148
15149
15150
# File 'lib/v20180525/models.rb', line 15148

def SeriesName
  @SeriesName
end

#StatusObject

Parameters:

  • SeriesName:

    os聚合名称

  • Alias:

    os别名

  • OsName:

    os名称

  • OsCustomizeType:

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

  • Status:

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

  • ImageId:

    镜像id



15148
15149
15150
# File 'lib/v20180525/models.rb', line 15148

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



15159
15160
15161
15162
15163
15164
15165
15166
# File 'lib/v20180525/models.rb', line 15159

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