Class: TencentCloud::Tcb::V20180608::DescribeCloudBaseRunServerResponse

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

Overview

DescribeCloudBaseRunServer返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, versionitems = nil, servername = nil, ispublic = nil, imagerepo = nil, traffictype = nil, sourcetype = nil, tag = nil, requestid = nil) ⇒ DescribeCloudBaseRunServerResponse

Returns a new instance of DescribeCloudBaseRunServerResponse.



3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
# File 'lib/v20180608/models.rb', line 3662

def initialize(totalcount=nil, versionitems=nil, servername=nil, ispublic=nil, imagerepo=nil, traffictype=nil, sourcetype=nil, tag=nil, requestid=nil)
  @TotalCount = totalcount
  @VersionItems = versionitems
  @ServerName = servername
  @IsPublic = ispublic
  @ImageRepo = imagerepo
  @TrafficType = traffictype
  @SourceType = sourcetype
  @Tag = tag
  @RequestId = requestid
end

Instance Attribute Details

#ImageRepoObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

    流量配置的类型(FLOW,URL_PARAMS)

  • SourceType:

    服务创建类型,默认为空,一键部署为oneclick

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3660
3661
3662
# File 'lib/v20180608/models.rb', line 3660

def ImageRepo
  @ImageRepo
end

#IsPublicObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

    流量配置的类型(FLOW,URL_PARAMS)

  • SourceType:

    服务创建类型,默认为空,一键部署为oneclick

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3660
3661
3662
# File 'lib/v20180608/models.rb', line 3660

def IsPublic
  @IsPublic
end

#RequestIdObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

    流量配置的类型(FLOW,URL_PARAMS)

  • SourceType:

    服务创建类型,默认为空,一键部署为oneclick

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3660
3661
3662
# File 'lib/v20180608/models.rb', line 3660

def RequestId
  @RequestId
end

#ServerNameObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

    流量配置的类型(FLOW,URL_PARAMS)

  • SourceType:

    服务创建类型,默认为空,一键部署为oneclick

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3660
3661
3662
# File 'lib/v20180608/models.rb', line 3660

def ServerName
  @ServerName
end

#SourceTypeObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

    流量配置的类型(FLOW,URL_PARAMS)

  • SourceType:

    服务创建类型,默认为空,一键部署为oneclick

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3660
3661
3662
# File 'lib/v20180608/models.rb', line 3660

def SourceType
  @SourceType
end

#TagObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

    流量配置的类型(FLOW,URL_PARAMS)

  • SourceType:

    服务创建类型,默认为空,一键部署为oneclick

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3660
3661
3662
# File 'lib/v20180608/models.rb', line 3660

def Tag
  @Tag
end

#TotalCountObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

    流量配置的类型(FLOW,URL_PARAMS)

  • SourceType:

    服务创建类型,默认为空,一键部署为oneclick

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3660
3661
3662
# File 'lib/v20180608/models.rb', line 3660

def TotalCount
  @TotalCount
end

#TrafficTypeObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

    流量配置的类型(FLOW,URL_PARAMS)

  • SourceType:

    服务创建类型,默认为空,一键部署为oneclick

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3660
3661
3662
# File 'lib/v20180608/models.rb', line 3660

def TrafficType
  @TrafficType
end

#VersionItemsObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

    流量配置的类型(FLOW,URL_PARAMS)

  • SourceType:

    服务创建类型,默认为空,一键部署为oneclick

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3660
3661
3662
# File 'lib/v20180608/models.rb', line 3660

def VersionItems
  @VersionItems
end

Instance Method Details

#deserialize(params) ⇒ Object



3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
# File 'lib/v20180608/models.rb', line 3674

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['VersionItems'].nil?
    @VersionItems = []
    params['VersionItems'].each do |i|
      cloudbaserunserverversionitem_tmp = CloudBaseRunServerVersionItem.new
      cloudbaserunserverversionitem_tmp.deserialize(i)
      @VersionItems << cloudbaserunserverversionitem_tmp
    end
  end
  @ServerName = params['ServerName']
  @IsPublic = params['IsPublic']
  @ImageRepo = params['ImageRepo']
  @TrafficType = params['TrafficType']
  @SourceType = params['SourceType']
  @Tag = params['Tag']
  @RequestId = params['RequestId']
end