Class: IControl::System::Services::SSHAccess_v2

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/system/services.rb,
lib/icontrol/system/services.rb

Overview

A struct that contains information about SSH state and access settings Note: In addresses, "::" means no access, and "ALL" means all access. The semantics for no access and all access are different than the previous SSHAccess interface.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

#addressesStringSequence

The addresses and address ranges allowed to access the device via SSH

Returns:

  • (StringSequence)

    the current value of addresses



179
180
181
# File 'lib/icontrol/system/services.rb', line 179

def addresses
  @addresses
end

#stateIControl::Common::EnabledState

The state of the service, either 'enable' or 'disable'

Returns:



179
180
181
# File 'lib/icontrol/system/services.rb', line 179

def state
  @state
end