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.



6745
6746
6747
6748
6749
# File 'lib/v20201207/models.rb', line 6745

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

Instance Attribute Details

#GatewayIdObject

Parameters:

  • GatewayId:

    网关ID

  • Name:

    网关服务名称

  • HealthCheckConfig:

    健康检查配置



6743
6744
6745
# File 'lib/v20201207/models.rb', line 6743

def GatewayId
  @GatewayId
end

#HealthCheckConfigObject

Parameters:

  • GatewayId:

    网关ID

  • Name:

    网关服务名称

  • HealthCheckConfig:

    健康检查配置



6743
6744
6745
# File 'lib/v20201207/models.rb', line 6743

def HealthCheckConfig
  @HealthCheckConfig
end

#NameObject

Parameters:

  • GatewayId:

    网关ID

  • Name:

    网关服务名称

  • HealthCheckConfig:

    健康检查配置



6743
6744
6745
# File 'lib/v20201207/models.rb', line 6743

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



6751
6752
6753
6754
6755
6756
6757
6758
# File 'lib/v20201207/models.rb', line 6751

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