Class: IControl::LocalLB::SNATPoolMember

Inherits:
Base
  • Object
show all
Defined in:
lib/icontrol/local_lb/snat_pool_member.rb,
lib/icontrol/local_lb.rb

Overview

The SNATPoolMember interface enables you to work with the SNATPool members and their settings, and statistics.

Defined Under Namespace

Classes: SNATPoolMemberStatisticEntry, SNATPoolMemberStatisticEntrySequence, SNATPoolMemberStatistics, SNATPoolMemberStatisticsSequence

Instance Method Summary (collapse)

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class IControl::Base

Instance Method Details

- (SNATPoolMemberStatistics) all_statistics

Gets the statistics for all SNATPool members in this SNAT pools.

Returns:

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



19
20
21
# File 'lib/icontrol/local_lb/snat_pool_member.rb', line 19

def all_statistics
  super
end

- (Object) reset_statistics(opts)

Resets the statistics for a list of SNATPool members in this SNAT pools.

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :members (String[])

    The SNATPool member addresses.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



53
54
55
56
# File 'lib/icontrol/local_lb/snat_pool_member.rb', line 53

def reset_statistics(opts)
  check_params(opts,[:members])
  super
end

- (SNATPoolMemberStatistics) statistics(opts)

Gets the statistics for a list of SNATPool members in this SNAT pools.

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :members (String[])

    The SNATPool member addresses.

Returns:

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



32
33
34
35
# File 'lib/icontrol/local_lb/snat_pool_member.rb', line 32

def statistics(opts)
  check_params(opts,[:members])
  super
end

- (String) version

Gets the version information for this interface.

Returns:

  • (String)


41
42
43
# File 'lib/icontrol/local_lb/snat_pool_member.rb', line 41

def version
  super
end