Class: TencentCloud::Cls::V20201016::NetInfo

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

Overview

Splunk投递任务-目标配置网络信息相关

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(host = nil, port = nil, token = nil, nettype = nil, vpcid = nil, virtualgatewaytype = nil, isssl = nil) ⇒ NetInfo

Returns a new instance of NetInfo.



15629
15630
15631
15632
15633
15634
15635
15636
15637
# File 'lib/v20201016/models.rb', line 15629

def initialize(host=nil, port=nil, token=nil, nettype=nil, vpcid=nil, virtualgatewaytype=nil, isssl=nil)
  @Host = host
  @Port = port
  @Token = token
  @NetType = nettype
  @VpcId = vpcid
  @VirtualGatewayType = virtualgatewaytype
  @IsSSL = isssl
end

Instance Attribute Details

#Host ⇒ Object

  • 0:云上cvm
  • 3:云上专线网关
  • 11:云联网
  • 1025:云上clb

Parameters:

  • Host: —

    网络地址

  • Port: —

    端口

  • Token: —

    认证token

  • NetType: —

    网络类型;1:内网;2:外网

  • VpcId: —

    所属网络;如果网络类型为内网,该字段必填

  • VirtualGatewayType: —

    网络服务类型;如果网络类型为内网,该字段必填

  • IsSSL: —

    认证机制,是否使用SSL,默认不使用



15627
15628
15629
# File 'lib/v20201016/models.rb', line 15627

def Host
  @Host
end

#IsSSL ⇒ Object

  • 0:云上cvm
  • 3:云上专线网关
  • 11:云联网
  • 1025:云上clb

Parameters:

  • Host: —

    网络地址

  • Port: —

    端口

  • Token: —

    认证token

  • NetType: —

    网络类型;1:内网;2:外网

  • VpcId: —

    所属网络;如果网络类型为内网,该字段必填

  • VirtualGatewayType: —

    网络服务类型;如果网络类型为内网,该字段必填

  • IsSSL: —

    认证机制,是否使用SSL,默认不使用



15627
15628
15629
# File 'lib/v20201016/models.rb', line 15627

def IsSSL
  @IsSSL
end

#NetType ⇒ Object

  • 0:云上cvm
  • 3:云上专线网关
  • 11:云联网
  • 1025:云上clb

Parameters:

  • Host: —

    网络地址

  • Port: —

    端口

  • Token: —

    认证token

  • NetType: —

    网络类型;1:内网;2:外网

  • VpcId: —

    所属网络;如果网络类型为内网,该字段必填

  • VirtualGatewayType: —

    网络服务类型;如果网络类型为内网,该字段必填

  • IsSSL: —

    认证机制,是否使用SSL,默认不使用



15627
15628
15629
# File 'lib/v20201016/models.rb', line 15627

def NetType
  @NetType
end

#Port ⇒ Object

  • 0:云上cvm
  • 3:云上专线网关
  • 11:云联网
  • 1025:云上clb

Parameters:

  • Host: —

    网络地址

  • Port: —

    端口

  • Token: —

    认证token

  • NetType: —

    网络类型;1:内网;2:外网

  • VpcId: —

    所属网络;如果网络类型为内网,该字段必填

  • VirtualGatewayType: —

    网络服务类型;如果网络类型为内网,该字段必填

  • IsSSL: —

    认证机制,是否使用SSL,默认不使用



15627
15628
15629
# File 'lib/v20201016/models.rb', line 15627

def Port
  @Port
end

#Token ⇒ Object

  • 0:云上cvm
  • 3:云上专线网关
  • 11:云联网
  • 1025:云上clb

Parameters:

  • Host: —

    网络地址

  • Port: —

    端口

  • Token: —

    认证token

  • NetType: —

    网络类型;1:内网;2:外网

  • VpcId: —

    所属网络;如果网络类型为内网,该字段必填

  • VirtualGatewayType: —

    网络服务类型;如果网络类型为内网,该字段必填

  • IsSSL: —

    认证机制,是否使用SSL,默认不使用



15627
15628
15629
# File 'lib/v20201016/models.rb', line 15627

def Token
  @Token
end

#VirtualGatewayType ⇒ Object

  • 0:云上cvm
  • 3:云上专线网关
  • 11:云联网
  • 1025:云上clb

Parameters:

  • Host: —

    网络地址

  • Port: —

    端口

  • Token: —

    认证token

  • NetType: —

    网络类型;1:内网;2:外网

  • VpcId: —

    所属网络;如果网络类型为内网,该字段必填

  • VirtualGatewayType: —

    网络服务类型;如果网络类型为内网,该字段必填

  • IsSSL: —

    认证机制,是否使用SSL,默认不使用



15627
15628
15629
# File 'lib/v20201016/models.rb', line 15627

def VirtualGatewayType
  @VirtualGatewayType
end

#VpcId ⇒ Object

  • 0:云上cvm
  • 3:云上专线网关
  • 11:云联网
  • 1025:云上clb

Parameters:

  • Host: —

    网络地址

  • Port: —

    端口

  • Token: —

    认证token

  • NetType: —

    网络类型;1:内网;2:外网

  • VpcId: —

    所属网络;如果网络类型为内网,该字段必填

  • VirtualGatewayType: —

    网络服务类型;如果网络类型为内网,该字段必填

  • IsSSL: —

    认证机制,是否使用SSL,默认不使用



15627
15628
15629
# File 'lib/v20201016/models.rb', line 15627

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



15639
15640
15641
15642
15643
15644
15645
15646
15647
# File 'lib/v20201016/models.rb', line 15639

def deserialize(params)
  @Host = params['Host']
  @Port = params['Port']
  @Token = params['Token']
  @NetType = params['NetType']
  @VpcId = params['VpcId']
  @VirtualGatewayType = params['VirtualGatewayType']
  @IsSSL = params['IsSSL']
end