Class: TencentCloud::Tem::V20210701::IngressRuleBackend

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

Overview

Ingress 规则 backend 配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(servicename = nil, serviceport = nil) ⇒ IngressRuleBackend

Returns a new instance of IngressRuleBackend.



3042
3043
3044
3045
# File 'lib/v20210701/models.rb', line 3042

def initialize(servicename=nil, serviceport=nil)
  @ServiceName = servicename
  @ServicePort = serviceport
end

Instance Attribute Details

#ServiceNameObject

Parameters:

  • ServiceName:

    eks service 名

  • ServicePort:

    eks service 端口



3040
3041
3042
# File 'lib/v20210701/models.rb', line 3040

def ServiceName
  @ServiceName
end

#ServicePortObject

Parameters:

  • ServiceName:

    eks service 名

  • ServicePort:

    eks service 端口



3040
3041
3042
# File 'lib/v20210701/models.rb', line 3040

def ServicePort
  @ServicePort
end

Instance Method Details

#deserialize(params) ⇒ Object



3047
3048
3049
3050
# File 'lib/v20210701/models.rb', line 3047

def deserialize(params)
  @ServiceName = params['ServiceName']
  @ServicePort = params['ServicePort']
end