Class: TencentCloud::Tse::V20201207::UpdateUpstreamHealthCheckConfigRequest

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

Overview

UpdateUpstreamHealthCheckConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, name = nil, healthcheckconfig = nil) ⇒ UpdateUpstreamHealthCheckConfigRequest

Returns a new instance of UpdateUpstreamHealthCheckConfigRequest.



11953
11954
11955
11956
11957
# File 'lib/v20201207/models.rb', line 11953

def initialize(gatewayid=nil, name=nil, healthcheckconfig=nil)
  @GatewayId = gatewayid
  @Name = name
  @HealthCheckConfig = healthcheckconfig
end

Instance Attribute Details

#GatewayIdObject

Parameters:

  • GatewayId:

    网关ID

  • Name:

    网关服务名称

  • HealthCheckConfig:

    健康检查配置



11951
11952
11953
# File 'lib/v20201207/models.rb', line 11951

def GatewayId
  @GatewayId
end

#HealthCheckConfigObject

Parameters:

  • GatewayId:

    网关ID

  • Name:

    网关服务名称

  • HealthCheckConfig:

    健康检查配置



11951
11952
11953
# File 'lib/v20201207/models.rb', line 11951

def HealthCheckConfig
  @HealthCheckConfig
end

#NameObject

Parameters:

  • GatewayId:

    网关ID

  • Name:

    网关服务名称

  • HealthCheckConfig:

    健康检查配置



11951
11952
11953
# File 'lib/v20201207/models.rb', line 11951

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



11959
11960
11961
11962
11963
11964
11965
11966
# File 'lib/v20201207/models.rb', line 11959

def deserialize(params)
  @GatewayId = params['GatewayId']
  @Name = params['Name']
  unless params['HealthCheckConfig'].nil?
    @HealthCheckConfig = UpstreamHealthCheckConfig.new
    @HealthCheckConfig.deserialize(params['HealthCheckConfig'])
  end
end