Class: TencentCloud::Tse::V20201207::ModifyUpstreamNodeStatusRequest

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

Overview

ModifyUpstreamNodeStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, servicename = nil, host = nil, port = nil, status = nil) ⇒ ModifyUpstreamNodeStatusRequest

Returns a new instance of ModifyUpstreamNodeStatusRequest.



10612
10613
10614
10615
10616
10617
10618
# File 'lib/v20201207/models.rb', line 10612

def initialize(gatewayid=nil, servicename=nil, host=nil, port=nil, status=nil)
  @GatewayId = gatewayid
  @ServiceName = servicename
  @Host = host
  @Port = port
  @Status = status
end

Instance Attribute Details

#GatewayIdObject

Parameters:

  • GatewayId:

    网关实例ID

  • ServiceName:

    服务名称

  • Host:

    访问IP地址或域名

  • Port:

    访问端口

  • Status:

    HEALTHY或UNHEALTHY



10610
10611
10612
# File 'lib/v20201207/models.rb', line 10610

def GatewayId
  @GatewayId
end

#HostObject

Parameters:

  • GatewayId:

    网关实例ID

  • ServiceName:

    服务名称

  • Host:

    访问IP地址或域名

  • Port:

    访问端口

  • Status:

    HEALTHY或UNHEALTHY



10610
10611
10612
# File 'lib/v20201207/models.rb', line 10610

def Host
  @Host
end

#PortObject

Parameters:

  • GatewayId:

    网关实例ID

  • ServiceName:

    服务名称

  • Host:

    访问IP地址或域名

  • Port:

    访问端口

  • Status:

    HEALTHY或UNHEALTHY



10610
10611
10612
# File 'lib/v20201207/models.rb', line 10610

def Port
  @Port
end

#ServiceNameObject

Parameters:

  • GatewayId:

    网关实例ID

  • ServiceName:

    服务名称

  • Host:

    访问IP地址或域名

  • Port:

    访问端口

  • Status:

    HEALTHY或UNHEALTHY



10610
10611
10612
# File 'lib/v20201207/models.rb', line 10610

def ServiceName
  @ServiceName
end

#StatusObject

Parameters:

  • GatewayId:

    网关实例ID

  • ServiceName:

    服务名称

  • Host:

    访问IP地址或域名

  • Port:

    访问端口

  • Status:

    HEALTHY或UNHEALTHY



10610
10611
10612
# File 'lib/v20201207/models.rb', line 10610

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



10620
10621
10622
10623
10624
10625
10626
# File 'lib/v20201207/models.rb', line 10620

def deserialize(params)
  @GatewayId = params['GatewayId']
  @ServiceName = params['ServiceName']
  @Host = params['Host']
  @Port = params['Port']
  @Status = params['Status']
end