Class: TencentCloud::Cvm::V20170312::ProgramFpgaImageRequest

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

Overview

ProgramFpgaImage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, fpgaurl = nil, dbdfs = nil, dryrun = nil) ⇒ ProgramFpgaImageRequest

Returns a new instance of ProgramFpgaImageRequest.



6944
6945
6946
6947
6948
6949
# File 'lib/v20170312/models.rb', line 6944

def initialize(instanceid=nil, fpgaurl=nil, dbdfs=nil, dryrun=nil)
  @InstanceId = instanceid
  @FPGAUrl = fpgaurl
  @DBDFs = dbdfs
  @DryRun = dryrun
end

Instance Attribute Details

#DBDFsObject

Parameters:

  • InstanceId:

    实例的ID信息。

  • FPGAUrl:

    FPGA镜像文件的COS URL地址。

  • DBDFs:

    实例上FPGA卡的DBDF号,不填默认烧录FPGA镜像到实例所拥有的所有FPGA卡。

  • DryRun:

    试运行,不会执行实际的烧录动作,默认为False。



6942
6943
6944
# File 'lib/v20170312/models.rb', line 6942

def DBDFs
  @DBDFs
end

#DryRunObject

Parameters:

  • InstanceId:

    实例的ID信息。

  • FPGAUrl:

    FPGA镜像文件的COS URL地址。

  • DBDFs:

    实例上FPGA卡的DBDF号,不填默认烧录FPGA镜像到实例所拥有的所有FPGA卡。

  • DryRun:

    试运行,不会执行实际的烧录动作,默认为False。



6942
6943
6944
# File 'lib/v20170312/models.rb', line 6942

def DryRun
  @DryRun
end

#FPGAUrlObject

Parameters:

  • InstanceId:

    实例的ID信息。

  • FPGAUrl:

    FPGA镜像文件的COS URL地址。

  • DBDFs:

    实例上FPGA卡的DBDF号,不填默认烧录FPGA镜像到实例所拥有的所有FPGA卡。

  • DryRun:

    试运行,不会执行实际的烧录动作,默认为False。



6942
6943
6944
# File 'lib/v20170312/models.rb', line 6942

def FPGAUrl
  @FPGAUrl
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例的ID信息。

  • FPGAUrl:

    FPGA镜像文件的COS URL地址。

  • DBDFs:

    实例上FPGA卡的DBDF号,不填默认烧录FPGA镜像到实例所拥有的所有FPGA卡。

  • DryRun:

    试运行,不会执行实际的烧录动作,默认为False。



6942
6943
6944
# File 'lib/v20170312/models.rb', line 6942

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



6951
6952
6953
6954
6955
6956
# File 'lib/v20170312/models.rb', line 6951

def deserialize(params)
  @InstanceId = params['InstanceId']
  @FPGAUrl = params['FPGAUrl']
  @DBDFs = params['DBDFs']
  @DryRun = params['DryRun']
end