Class: TencentCloud::Tke::V20180525::CreateImageCacheRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreateImageCacheRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreateImageCache请求参数结构体
Instance Attribute Summary collapse
-
#AutoCreateEip ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#AutoCreateEipAttribute ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#ExistedEipId ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#ImageCacheName ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#ImageCacheSize ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#ImageRegistryCredentials ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#Images ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#RegistryHttpEndPointList ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#RegistrySkipVerifyList ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#ResolveConfig ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#RetentionDays ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#SecurityGroupIds ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#SubnetId ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
-
#VpcId ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(images = nil, subnetid = nil, vpcid = nil, imagecachename = nil, securitygroupids = nil, imageregistrycredentials = nil, existedeipid = nil, autocreateeip = nil, autocreateeipattribute = nil, imagecachesize = nil, retentiondays = nil, registryskipverifylist = nil, registryhttpendpointlist = nil, resolveconfig = nil) ⇒ CreateImageCacheRequest
constructor
A new instance of CreateImageCacheRequest.
Constructor Details
#initialize(images = nil, subnetid = nil, vpcid = nil, imagecachename = nil, securitygroupids = nil, imageregistrycredentials = nil, existedeipid = nil, autocreateeip = nil, autocreateeipattribute = nil, imagecachesize = nil, retentiondays = nil, registryskipverifylist = nil, registryhttpendpointlist = nil, resolveconfig = nil) ⇒ CreateImageCacheRequest
Returns a new instance of CreateImageCacheRequest.
3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 |
# File 'lib/v20180525/models.rb', line 3177 def initialize(images=nil, subnetid=nil, vpcid=nil, imagecachename=nil, securitygroupids=nil, imageregistrycredentials=nil, existedeipid=nil, autocreateeip=nil, autocreateeipattribute=nil, imagecachesize=nil, retentiondays=nil, registryskipverifylist=nil, registryhttpendpointlist=nil, resolveconfig=nil) @Images = images @SubnetId = subnetid @VpcId = vpcid @ImageCacheName = imagecachename @SecurityGroupIds = securitygroupids @ImageRegistryCredentials = imageregistrycredentials @ExistedEipId = existedeipid @AutoCreateEip = autocreateeip @AutoCreateEipAttribute = autocreateeipattribute @ImageCacheSize = imagecachesize @RetentionDays = retentiondays @RegistrySkipVerifyList = registryskipverifylist @RegistryHttpEndPointList = registryhttpendpointlist @ResolveConfig = resolveconfig end |
Instance Attribute Details
#AutoCreateEip ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def AutoCreateEip @AutoCreateEip end |
#AutoCreateEipAttribute ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def AutoCreateEipAttribute @AutoCreateEipAttribute end |
#ExistedEipId ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def ExistedEipId @ExistedEipId end |
#ImageCacheName ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def ImageCacheName @ImageCacheName end |
#ImageCacheSize ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def ImageCacheSize @ImageCacheSize end |
#ImageRegistryCredentials ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def ImageRegistryCredentials @ImageRegistryCredentials end |
#Images ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def Images @Images end |
#RegistryHttpEndPointList ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def RegistryHttpEndPointList @RegistryHttpEndPointList end |
#RegistrySkipVerifyList ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def RegistrySkipVerifyList @RegistrySkipVerifyList end |
#ResolveConfig ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def ResolveConfig @ResolveConfig end |
#RetentionDays ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def RetentionDays @RetentionDays end |
#SecurityGroupIds ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def SecurityGroupIds @SecurityGroupIds end |
#SubnetId ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def SubnetId @SubnetId end |
#VpcId ⇒ Object
另外此参数和ExistedEipIds互斥 “nameserver 4.4.4.4nnameserver 8.8.8.8”
3175 3176 3177 |
# File 'lib/v20180525/models.rb', line 3175 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 |
# File 'lib/v20180525/models.rb', line 3194 def deserialize(params) @Images = params['Images'] @SubnetId = params['SubnetId'] @VpcId = params['VpcId'] @ImageCacheName = params['ImageCacheName'] @SecurityGroupIds = params['SecurityGroupIds'] unless params['ImageRegistryCredentials'].nil? @ImageRegistryCredentials = [] params['ImageRegistryCredentials'].each do |i| imageregistrycredential_tmp = ImageRegistryCredential.new imageregistrycredential_tmp.deserialize(i) @ImageRegistryCredentials << imageregistrycredential_tmp end end @ExistedEipId = params['ExistedEipId'] @AutoCreateEip = params['AutoCreateEip'] unless params['AutoCreateEipAttribute'].nil? @AutoCreateEipAttribute = EipAttribute.new @AutoCreateEipAttribute.deserialize(params['AutoCreateEipAttribute']) end @ImageCacheSize = params['ImageCacheSize'] @RetentionDays = params['RetentionDays'] @RegistrySkipVerifyList = params['RegistrySkipVerifyList'] @RegistryHttpEndPointList = params['RegistryHttpEndPointList'] @ResolveConfig = params['ResolveConfig'] end |