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, tags = nil) ⇒ UpdateImageCacheRequest

Returns a new instance of UpdateImageCacheRequest.



19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
# File 'lib/v20180525/models.rb', line 19564

def initialize(imagecacheid=nil, imagecachename=nil, imageregistrycredentials=nil, images=nil, imagecachesize=nil, retentiondays=nil, securitygroupids=nil, tags=nil)
  @ImageCacheId = imagecacheid
  @ImageCacheName = imagecachename
  @ImageRegistryCredentials = imageregistrycredentials
  @Images = images
  @ImageCacheSize = imagecachesize
  @RetentionDays = retentiondays
  @SecurityGroupIds = securitygroupids
  @Tags = tags
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

  • Tags:

    腾讯云标签



19562
19563
19564
# File 'lib/v20180525/models.rb', line 19562

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

  • Tags:

    腾讯云标签



19562
19563
19564
# File 'lib/v20180525/models.rb', line 19562

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

  • Tags:

    腾讯云标签



19562
19563
19564
# File 'lib/v20180525/models.rb', line 19562

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

  • Tags:

    腾讯云标签



19562
19563
19564
# File 'lib/v20180525/models.rb', line 19562

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

  • Tags:

    腾讯云标签



19562
19563
19564
# File 'lib/v20180525/models.rb', line 19562

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

  • Tags:

    腾讯云标签



19562
19563
19564
# File 'lib/v20180525/models.rb', line 19562

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

  • Tags:

    腾讯云标签



19562
19563
19564
# File 'lib/v20180525/models.rb', line 19562

def SecurityGroupIds
  @SecurityGroupIds
end

#TagsObject

Parameters:

  • ImageCacheId:

    镜像缓存ID

  • ImageCacheName:

    镜像缓存名称

  • ImageRegistryCredentials:

    镜像仓库凭证数组

  • Images:

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

  • ImageCacheSize:

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

  • RetentionDays:

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

  • SecurityGroupIds:

    安全组Id

  • Tags:

    腾讯云标签



19562
19563
19564
# File 'lib/v20180525/models.rb', line 19562

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
# File 'lib/v20180525/models.rb', line 19575

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']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
end