Class: TencentCloud::Tke::V20180525::ImageCache

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

Overview

镜像缓存的信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imagecacheid = nil, imagecachename = nil, imagecachesize = nil, images = nil, creationtime = nil, expiredatetime = nil, events = nil, lastmatchedtime = nil, snapshotid = nil, status = nil, retentiondays = nil, imageregistrycredentials = nil, tags = nil) ⇒ ImageCache

Returns a new instance of ImageCache.



13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
# File 'lib/v20180525/models.rb', line 13709

def initialize(imagecacheid=nil, imagecachename=nil, imagecachesize=nil, images=nil, creationtime=nil, expiredatetime=nil, events=nil, lastmatchedtime=nil, snapshotid=nil, status=nil, retentiondays=nil, imageregistrycredentials=nil, tags=nil)
  @ImageCacheId = imagecacheid
  @ImageCacheName = imagecachename
  @ImageCacheSize = imagecachesize
  @Images = images
  @CreationTime = creationtime
  @ExpireDateTime = expiredatetime
  @Events = events
  @LastMatchedTime = lastmatchedtime
  @SnapshotId = snapshotid
  @Status = status
  @RetentionDays = retentiondays
  @ImageRegistryCredentials = imageregistrycredentials
  @Tags = tags
end

Instance Attribute Details

#CreationTimeObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def CreationTime
  @CreationTime
end

#EventsObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def Events
  @Events
end

#ExpireDateTimeObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def ExpireDateTime
  @ExpireDateTime
end

#ImageCacheIdObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def ImageCacheId
  @ImageCacheId
end

#ImageCacheNameObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def ImageCacheName
  @ImageCacheName
end

#ImageCacheSizeObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def ImageCacheSize
  @ImageCacheSize
end

#ImageRegistryCredentialsObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def ImageRegistryCredentials
  @ImageRegistryCredentials
end

#ImagesObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def Images
  @Images
end

#LastMatchedTimeObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def LastMatchedTime
  @LastMatchedTime
end

#RetentionDaysObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def RetentionDays
  @RetentionDays
end

#SnapshotIdObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def SnapshotId
  @SnapshotId
end

#StatusObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def Status
  @Status
end

#TagsObject

Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • ImageCacheName:

    镜像缓存名称

  • ImageCacheSize:

    镜像缓存大小。单位:GiB

  • Images:

    镜像缓存包含的镜像列表

  • CreationTime:

    创建时间

  • ExpireDateTime:

    到期时间

  • Events:

    镜像缓存事件信息

  • LastMatchedTime:

    最新一次匹配到镜像缓存的时间

  • SnapshotId:

    镜像缓存对应的快照Id

  • Status:

    镜像缓存状态,可能取值:

  • RetentionDays:

    镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。

  • ImageRegistryCredentials:

    镜像拉取凭证

  • Tags:

    腾讯云标签



13707
13708
13709
# File 'lib/v20180525/models.rb', line 13707

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'lib/v20180525/models.rb', line 13725

def deserialize(params)
  @ImageCacheId = params['ImageCacheId']
  @ImageCacheName = params['ImageCacheName']
  @ImageCacheSize = params['ImageCacheSize']
  @Images = params['Images']
  @CreationTime = params['CreationTime']
  @ExpireDateTime = params['ExpireDateTime']
  unless params['Events'].nil?
    @Events = []
    params['Events'].each do |i|
      imagecacheevent_tmp = ImageCacheEvent.new
      imagecacheevent_tmp.deserialize(i)
      @Events << imagecacheevent_tmp
    end
  end
  @LastMatchedTime = params['LastMatchedTime']
  @SnapshotId = params['SnapshotId']
  @Status = params['Status']
  @RetentionDays = params['RetentionDays']
  unless params['ImageRegistryCredentials'].nil?
    @ImageRegistryCredentials = []
    params['ImageRegistryCredentials'].each do |i|
      imageregistrycredential_tmp = ImageRegistryCredential.new
      imageregistrycredential_tmp.deserialize(i)
      @ImageRegistryCredentials << imageregistrycredential_tmp
    end
  end
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
end