Class: TencentCloud::Tke::V20180525::UpdateImageCacheRequest

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

Overview

UpdateImageCache请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imagecacheid = nil, imagecachename = nil, imageregistrycredentials = nil, images = nil, imagecachesize = nil, retentiondays = nil, securitygroupids = nil) ⇒ UpdateImageCacheRequest

Returns a new instance of UpdateImageCacheRequest.



19171
19172
19173
19174
19175
19176
19177
19178
19179
# File 'lib/v20180525/models.rb', line 19171

def initialize(imagecacheid=nil, imagecachename=nil, imageregistrycredentials=nil, images=nil, imagecachesize=nil, retentiondays=nil, securitygroupids=nil)
  @ImageCacheId = imagecacheid
  @ImageCacheName = imagecachename
  @ImageRegistryCredentials = imageregistrycredentials
  @Images = images
  @ImageCacheSize = imagecachesize
  @RetentionDays = retentiondays
  @SecurityGroupIds = securitygroupids
end

Instance Attribute Details

#ImageCacheIdObject

Parameters:

  • ImageCacheId:

    镜像缓存ID

  • ImageCacheName:

    镜像缓存名称

  • ImageRegistryCredentials:

    镜像仓库凭证数组

  • Images:

    用于制作镜像缓存的容器镜像列表

  • ImageCacheSize:

    镜像缓存的大小。默认为20 GiB。取值范围参考(cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。

  • RetentionDays:

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

  • SecurityGroupIds:

    安全组Id



19169
19170
19171
# File 'lib/v20180525/models.rb', line 19169

def ImageCacheId
  @ImageCacheId
end

#ImageCacheNameObject

Parameters:

  • ImageCacheId:

    镜像缓存ID

  • ImageCacheName:

    镜像缓存名称

  • ImageRegistryCredentials:

    镜像仓库凭证数组

  • Images:

    用于制作镜像缓存的容器镜像列表

  • ImageCacheSize:

    镜像缓存的大小。默认为20 GiB。取值范围参考(cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。

  • RetentionDays:

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

  • SecurityGroupIds:

    安全组Id



19169
19170
19171
# File 'lib/v20180525/models.rb', line 19169

def ImageCacheName
  @ImageCacheName
end

#ImageCacheSizeObject

Parameters:

  • ImageCacheId:

    镜像缓存ID

  • ImageCacheName:

    镜像缓存名称

  • ImageRegistryCredentials:

    镜像仓库凭证数组

  • Images:

    用于制作镜像缓存的容器镜像列表

  • ImageCacheSize:

    镜像缓存的大小。默认为20 GiB。取值范围参考(cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。

  • RetentionDays:

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

  • SecurityGroupIds:

    安全组Id



19169
19170
19171
# File 'lib/v20180525/models.rb', line 19169

def ImageCacheSize
  @ImageCacheSize
end

#ImageRegistryCredentialsObject

Parameters:

  • ImageCacheId:

    镜像缓存ID

  • ImageCacheName:

    镜像缓存名称

  • ImageRegistryCredentials:

    镜像仓库凭证数组

  • Images:

    用于制作镜像缓存的容器镜像列表

  • ImageCacheSize:

    镜像缓存的大小。默认为20 GiB。取值范围参考(cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。

  • RetentionDays:

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

  • SecurityGroupIds:

    安全组Id



19169
19170
19171
# File 'lib/v20180525/models.rb', line 19169

def ImageRegistryCredentials
  @ImageRegistryCredentials
end

#ImagesObject

Parameters:

  • ImageCacheId:

    镜像缓存ID

  • ImageCacheName:

    镜像缓存名称

  • ImageRegistryCredentials:

    镜像仓库凭证数组

  • Images:

    用于制作镜像缓存的容器镜像列表

  • ImageCacheSize:

    镜像缓存的大小。默认为20 GiB。取值范围参考(cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。

  • RetentionDays:

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

  • SecurityGroupIds:

    安全组Id



19169
19170
19171
# File 'lib/v20180525/models.rb', line 19169

def Images
  @Images
end

#RetentionDaysObject

Parameters:

  • ImageCacheId:

    镜像缓存ID

  • ImageCacheName:

    镜像缓存名称

  • ImageRegistryCredentials:

    镜像仓库凭证数组

  • Images:

    用于制作镜像缓存的容器镜像列表

  • ImageCacheSize:

    镜像缓存的大小。默认为20 GiB。取值范围参考(cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。

  • RetentionDays:

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

  • SecurityGroupIds:

    安全组Id



19169
19170
19171
# File 'lib/v20180525/models.rb', line 19169

def RetentionDays
  @RetentionDays
end

#SecurityGroupIdsObject

Parameters:

  • ImageCacheId:

    镜像缓存ID

  • ImageCacheName:

    镜像缓存名称

  • ImageRegistryCredentials:

    镜像仓库凭证数组

  • Images:

    用于制作镜像缓存的容器镜像列表

  • ImageCacheSize:

    镜像缓存的大小。默认为20 GiB。取值范围参考(cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。

  • RetentionDays:

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

  • SecurityGroupIds:

    安全组Id



19169
19170
19171
# File 'lib/v20180525/models.rb', line 19169

def SecurityGroupIds
  @SecurityGroupIds
end

Instance Method Details

#deserialize(params) ⇒ Object



19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
# File 'lib/v20180525/models.rb', line 19181

def deserialize(params)
  @ImageCacheId = params['ImageCacheId']
  @ImageCacheName = params['ImageCacheName']
  unless params['ImageRegistryCredentials'].nil?
    @ImageRegistryCredentials = []
    params['ImageRegistryCredentials'].each do |i|
      imageregistrycredential_tmp = ImageRegistryCredential.new
      imageregistrycredential_tmp.deserialize(i)
      @ImageRegistryCredentials << imageregistrycredential_tmp
    end
  end
  @Images = params['Images']
  @ImageCacheSize = params['ImageCacheSize']
  @RetentionDays = params['RetentionDays']
  @SecurityGroupIds = params['SecurityGroupIds']
end