Class: TencentCloud::Tke::V20180525::ImageCache
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ImageCache
- Defined in:
- lib/v20180525/models.rb
Overview
镜像缓存的信息
Instance Attribute Summary collapse
-
#CreationTime ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#Events ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#ExpireDateTime ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#ImageCacheId ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#ImageCacheName ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#ImageCacheSize ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#ImageRegistryCredentials ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#Images ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#LastMatchedTime ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#RetentionDays ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#SnapshotId ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#Status ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
-
#Tags ⇒ Object
Pending:创建中 Ready:创建完成 Failed:创建失败 Updating:更新中 UpdateFailed:更新失败 只有状态为Ready时,才能正常使用镜像缓存.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of ImageCache.
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.
12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 |
# File 'lib/v20180525/models.rb', line 12630 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, =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 = end |
Instance Attribute Details
#CreationTime ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def CreationTime @CreationTime end |
#Events ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def Events @Events end |
#ExpireDateTime ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def ExpireDateTime @ExpireDateTime end |
#ImageCacheId ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def ImageCacheId @ImageCacheId end |
#ImageCacheName ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def ImageCacheName @ImageCacheName end |
#ImageCacheSize ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def ImageCacheSize @ImageCacheSize end |
#ImageRegistryCredentials ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def ImageRegistryCredentials @ImageRegistryCredentials end |
#Images ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def Images @Images end |
#LastMatchedTime ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def LastMatchedTime @LastMatchedTime end |
#RetentionDays ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def RetentionDays @RetentionDays end |
#SnapshotId ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def SnapshotId @SnapshotId end |
#Status ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def Status @Status end |
#Tags ⇒ Object
Pending:创建中Ready:创建完成Failed:创建失败Updating:更新中UpdateFailed:更新失败只有状态为Ready时,才能正常使用镜像缓存
12628 12629 12630 |
# File 'lib/v20180525/models.rb', line 12628 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 |
# File 'lib/v20180525/models.rb', line 12646 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 |