Class: TencentCloud::Tke::V20180525::ImageInstance

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

Overview

镜像信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_alias = nil, osname = nil, imageid = nil, oscustomizetype = nil) ⇒ ImageInstance

Returns a new instance of ImageInstance.



13812
13813
13814
13815
13816
13817
# File 'lib/v20180525/models.rb', line 13812

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

Instance Attribute Details

#AliasObject

Parameters:

  • 镜像别名

  • 操作系统名称

  • 镜像ID

  • 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)



13810
13811
13812
# File 'lib/v20180525/models.rb', line 13810

def Alias
  @Alias
end

#ImageIdObject

Parameters:

  • 镜像别名

  • 操作系统名称

  • 镜像ID

  • 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)



13810
13811
13812
# File 'lib/v20180525/models.rb', line 13810

def ImageId
  @ImageId
end

#OsCustomizeTypeObject

Parameters:

  • 镜像别名

  • 操作系统名称

  • 镜像ID

  • 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)



13810
13811
13812
# File 'lib/v20180525/models.rb', line 13810

def OsCustomizeType
  @OsCustomizeType
end

#OsNameObject

Parameters:

  • 镜像别名

  • 操作系统名称

  • 镜像ID

  • 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)



13810
13811
13812
# File 'lib/v20180525/models.rb', line 13810

def OsName
  @OsName
end

Instance Method Details

#deserialize(params) ⇒ Object



13819
13820
13821
13822
13823
13824
# File 'lib/v20180525/models.rb', line 13819

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