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.



10630
10631
10632
10633
10634
10635
10636
# File 'lib/v20201207/models.rb', line 10630

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



10628
10629
10630
# File 'lib/v20201207/models.rb', line 10628

def GatewayId
  @GatewayId
end

#HostObject

Parameters:

  • GatewayId:

    网关实例ID

  • ServiceName:

    服务名称

  • Host:

    访问IP地址或域名

  • Port:

    访问端口

  • Status:

    HEALTHY或UNHEALTHY



10628
10629
10630
# File 'lib/v20201207/models.rb', line 10628

def Host
  @Host
end

#PortObject

Parameters:

  • GatewayId:

    网关实例ID

  • ServiceName:

    服务名称

  • Host:

    访问IP地址或域名

  • Port:

    访问端口

  • Status:

    HEALTHY或UNHEALTHY



10628
10629
10630
# File 'lib/v20201207/models.rb', line 10628

def Port
  @Port
end

#ServiceNameObject

Parameters:

  • GatewayId:

    网关实例ID

  • ServiceName:

    服务名称

  • Host:

    访问IP地址或域名

  • Port:

    访问端口

  • Status:

    HEALTHY或UNHEALTHY



10628
10629
10630
# File 'lib/v20201207/models.rb', line 10628

def ServiceName
  @ServiceName
end

#StatusObject

Parameters:

  • GatewayId:

    网关实例ID

  • ServiceName:

    服务名称

  • Host:

    访问IP地址或域名

  • Port:

    访问端口

  • Status:

    HEALTHY或UNHEALTHY



10628
10629
10630
# File 'lib/v20201207/models.rb', line 10628

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



10638
10639
10640
10641
10642
10643
10644
# File 'lib/v20201207/models.rb', line 10638

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