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.



4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
# File 'lib/v20180608/models.rb', line 4144

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。



4142
4143
4144
# File 'lib/v20180608/models.rb', line 4142

def ImageRepo
  @ImageRepo
end

#IsPublicObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

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

  • SourceType:

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

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

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



4142
4143
4144
# File 'lib/v20180608/models.rb', line 4142

def IsPublic
  @IsPublic
end

#RequestIdObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

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

  • SourceType:

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

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

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



4142
4143
4144
# File 'lib/v20180608/models.rb', line 4142

def RequestId
  @RequestId
end

#ServerNameObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

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

  • SourceType:

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

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

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



4142
4143
4144
# File 'lib/v20180608/models.rb', line 4142

def ServerName
  @ServerName
end

#SourceTypeObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

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

  • SourceType:

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

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

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



4142
4143
4144
# File 'lib/v20180608/models.rb', line 4142

def SourceType
  @SourceType
end

#TagObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

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

  • SourceType:

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

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

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



4142
4143
4144
# File 'lib/v20180608/models.rb', line 4142

def Tag
  @Tag
end

#TotalCountObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

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

  • SourceType:

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

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

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



4142
4143
4144
# File 'lib/v20180608/models.rb', line 4142

def TotalCount
  @TotalCount
end

#TrafficTypeObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

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

  • SourceType:

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

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

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



4142
4143
4144
# File 'lib/v20180608/models.rb', line 4142

def TrafficType
  @TrafficType
end

#VersionItemsObject

Parameters:

  • TotalCount:

    个数

  • VersionItems:

    版本列表

  • ServerName:

    服务名称

  • IsPublic:

    是否对于外网开放

  • ImageRepo:

    镜像仓库

  • TrafficType:

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

  • SourceType:

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

  • Tag:

    服务标签, function: 托管函数

  • RequestId:

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



4142
4143
4144
# File 'lib/v20180608/models.rb', line 4142

def VersionItems
  @VersionItems
end

Instance Method Details

#deserialize(params) ⇒ Object



4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
# File 'lib/v20180608/models.rb', line 4156

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