Class: TencentCloud::Emr::V20190103::ExternalAccess

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

Overview

容器集群外部访问设置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, clbserver = nil) ⇒ ExternalAccess

Returns a new instance of ExternalAccess.



6788
6789
6790
6791
# File 'lib/v20190103/models.rb', line 6788

def initialize(type=nil, clbserver=nil)
  @Type = type
  @CLBServer = clbserver
end

Instance Attribute Details

#CLBServerObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 外部访问类型,当前仅支持CLB字段

  • CLB设置信息



6786
6787
6788
# File 'lib/v20190103/models.rb', line 6786

def CLBServer
  @CLBServer
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 外部访问类型,当前仅支持CLB字段

  • CLB设置信息



6786
6787
6788
# File 'lib/v20190103/models.rb', line 6786

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



6793
6794
6795
6796
6797
6798
6799
# File 'lib/v20190103/models.rb', line 6793

def deserialize(params)
  @Type = params['Type']
  unless params['CLBServer'].nil?
    @CLBServer = CLBSetting.new
    @CLBServer.deserialize(params['CLBServer'])
  end
end