Class: TencentCloud::Cvm::V20170312::ImportImageRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::ImportImageRequest
- Defined in:
- lib/v20170312/models.rb
Overview
ImportImage请求参数结构体
Instance Attribute Summary collapse
-
#Architecture ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#BootMode ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#DryRun ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#Force ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#ImageDescription ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#ImageName ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#ImageUrl ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#LicenseType ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#OsType ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#OsVersion ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
-
#TagSpecification ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(architecture = nil, ostype = nil, osversion = nil, imageurl = nil, imagename = nil, imagedescription = nil, dryrun = nil, force = nil, tagspecification = nil, licensetype = nil, bootmode = nil) ⇒ ImportImageRequest
constructor
A new instance of ImportImageRequest.
Constructor Details
#initialize(architecture = nil, ostype = nil, osversion = nil, imageurl = nil, imagename = nil, imagedescription = nil, dryrun = nil, force = nil, tagspecification = nil, licensetype = nil, bootmode = nil) ⇒ ImportImageRequest
Returns a new instance of ImportImageRequest.
4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 |
# File 'lib/v20170312/models.rb', line 4239 def initialize(architecture=nil, ostype=nil, osversion=nil, imageurl=nil, imagename=nil, imagedescription=nil, dryrun=nil, force=nil, =nil, licensetype=nil, bootmode=nil) @Architecture = architecture @OsType = ostype @OsVersion = osversion @ImageUrl = imageurl @ImageName = imagename @ImageDescription = imagedescription @DryRun = dryrun @Force = force @TagSpecification = @LicenseType = licensetype @BootMode = bootmode end |
Instance Attribute Details
#Architecture ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def Architecture @Architecture end |
#BootMode ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def BootMode @BootMode end |
#DryRun ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def DryRun @DryRun end |
#Force ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def Force @Force end |
#ImageDescription ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def ImageDescription @ImageDescription end |
#ImageName ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def ImageName @ImageName end |
#ImageUrl ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def ImageUrl @ImageUrl end |
#LicenseType ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def LicenseType @LicenseType end |
#OsType ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def OsType @OsType end |
#OsVersion ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def OsVersion @OsVersion end |
#TagSpecification ⇒ Object
可选项: TencentCloud: 腾讯云官方许可 BYOL: 自带许可(Bring Your Own License)
4237 4238 4239 |
# File 'lib/v20170312/models.rb', line 4237 def TagSpecification @TagSpecification end |
Instance Method Details
#deserialize(params) ⇒ Object
4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 |
# File 'lib/v20170312/models.rb', line 4253 def deserialize(params) @Architecture = params['Architecture'] @OsType = params['OsType'] @OsVersion = params['OsVersion'] @ImageUrl = params['ImageUrl'] @ImageName = params['ImageName'] @ImageDescription = params['ImageDescription'] @DryRun = params['DryRun'] @Force = params['Force'] unless params['TagSpecification'].nil? @TagSpecification = [] params['TagSpecification'].each do |i| = TagSpecification.new .deserialize(i) @TagSpecification << end end @LicenseType = params['LicenseType'] @BootMode = params['BootMode'] end |