Class: TencentCloud::Tione::V20211111::SSHConfig

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

Overview

notebook ssh端口配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enable = nil, publickey = nil, port = nil, logincommand = nil, isaddresschanged = nil, podsshinfo = nil) ⇒ SSHConfig

Returns a new instance of SSHConfig.



7704
7705
7706
7707
7708
7709
7710
7711
# File 'lib/v20211111/models.rb', line 7704

def initialize(enable=nil, publickey=nil, port=nil, logincommand=nil, isaddresschanged=nil, podsshinfo=nil)
  @Enable = enable
  @PublicKey = publickey
  @Port = port
  @LoginCommand = logincommand
  @IsAddressChanged = isaddresschanged
  @PodSSHInfo = podsshinfo
end

Instance Attribute Details

#EnableObject

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

Parameters:

  • Enable:

    是否开启ssh

  • PublicKey:

    公钥信息

  • Port:

    端口号

  • LoginCommand:

    登录命令

  • IsAddressChanged:

    登录地址是否改变

  • PodSSHInfo:

    POD访问信息



7702
7703
7704
# File 'lib/v20211111/models.rb', line 7702

def Enable
  @Enable
end

#IsAddressChangedObject

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

Parameters:

  • Enable:

    是否开启ssh

  • PublicKey:

    公钥信息

  • Port:

    端口号

  • LoginCommand:

    登录命令

  • IsAddressChanged:

    登录地址是否改变

  • PodSSHInfo:

    POD访问信息



7702
7703
7704
# File 'lib/v20211111/models.rb', line 7702

def IsAddressChanged
  @IsAddressChanged
end

#LoginCommandObject

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

Parameters:

  • Enable:

    是否开启ssh

  • PublicKey:

    公钥信息

  • Port:

    端口号

  • LoginCommand:

    登录命令

  • IsAddressChanged:

    登录地址是否改变

  • PodSSHInfo:

    POD访问信息



7702
7703
7704
# File 'lib/v20211111/models.rb', line 7702

def LoginCommand
  @LoginCommand
end

#PodSSHInfoObject

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

Parameters:

  • Enable:

    是否开启ssh

  • PublicKey:

    公钥信息

  • Port:

    端口号

  • LoginCommand:

    登录命令

  • IsAddressChanged:

    登录地址是否改变

  • PodSSHInfo:

    POD访问信息



7702
7703
7704
# File 'lib/v20211111/models.rb', line 7702

def PodSSHInfo
  @PodSSHInfo
end

#PortObject

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

Parameters:

  • Enable:

    是否开启ssh

  • PublicKey:

    公钥信息

  • Port:

    端口号

  • LoginCommand:

    登录命令

  • IsAddressChanged:

    登录地址是否改变

  • PodSSHInfo:

    POD访问信息



7702
7703
7704
# File 'lib/v20211111/models.rb', line 7702

def Port
  @Port
end

#PublicKeyObject

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

Parameters:

  • Enable:

    是否开启ssh

  • PublicKey:

    公钥信息

  • Port:

    端口号

  • LoginCommand:

    登录命令

  • IsAddressChanged:

    登录地址是否改变

  • PodSSHInfo:

    POD访问信息



7702
7703
7704
# File 'lib/v20211111/models.rb', line 7702

def PublicKey
  @PublicKey
end

Instance Method Details

#deserialize(params) ⇒ Object



7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
# File 'lib/v20211111/models.rb', line 7713

def deserialize(params)
  @Enable = params['Enable']
  @PublicKey = params['PublicKey']
  @Port = params['Port']
  @LoginCommand = params['LoginCommand']
  @IsAddressChanged = params['IsAddressChanged']
  unless params['PodSSHInfo'].nil?
    @PodSSHInfo = PodSSHInfo.new
    @PodSSHInfo.deserialize(params['PodSSHInfo'])
  end
end