Class: TencentCloud::Tione::V20211111::PodSSHInfo

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

Overview

SSH pod访问信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(host = nil, port = nil, logincommand = nil) ⇒ PodSSHInfo

Returns a new instance of PodSSHInfo.



7125
7126
7127
7128
7129
# File 'lib/v20211111/models.rb', line 7125

def initialize(host=nil, port=nil, logincommand=nil)
  @Host = host
  @Port = port
  @LoginCommand = logincommand
end

Instance Attribute Details

#HostObject

Parameters:

  • Host:

    pod访问ip

  • Port:

    pod ssh访问端口

  • LoginCommand:

    ssh访问命令



7123
7124
7125
# File 'lib/v20211111/models.rb', line 7123

def Host
  @Host
end

#LoginCommandObject

Parameters:

  • Host:

    pod访问ip

  • Port:

    pod ssh访问端口

  • LoginCommand:

    ssh访问命令



7123
7124
7125
# File 'lib/v20211111/models.rb', line 7123

def LoginCommand
  @LoginCommand
end

#PortObject

Parameters:

  • Host:

    pod访问ip

  • Port:

    pod ssh访问端口

  • LoginCommand:

    ssh访问命令



7123
7124
7125
# File 'lib/v20211111/models.rb', line 7123

def Port
  @Port
end

Instance Method Details

#deserialize(params) ⇒ Object



7131
7132
7133
7134
7135
# File 'lib/v20211111/models.rb', line 7131

def deserialize(params)
  @Host = params['Host']
  @Port = params['Port']
  @LoginCommand = params['LoginCommand']
end