Class: IControl::GlobalLB::Application

Inherits:
Base
  • Object
show all
Defined in:
lib/icontrol/global_lb/application.rb,
lib/icontrol/global_lb.rb

Overview

The Application interface enables you to work with applications running within Wide IPs.

Defined Under Namespace

Classes: ApplicationContextObject, ApplicationContextObjectSequence, ApplicationObjectType, ApplicationObjectTypeSequence

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

#application_context_status(opts) ⇒ ObjectStatus

Gets the statuses of this application context objects.

Parameters:

  • opts (Hash)

Options Hash (opts):

Returns:

  • (ObjectStatus)

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.



78
79
80
81
# File 'lib/icontrol/global_lb/application.rb', line 78

def application_context_status(opts)
  opts = check_params(opts,[:application_objects])
  super(opts)
end

#availability_dependencyAvailabilityDependency

Gets the availability dependency for this application.

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.



90
91
92
# File 'lib/icontrol/global_lb/application.rb', line 90

def availability_dependency
  super
end

#createObject

Creates this application.

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/global_lb/application.rb', line 19

def create
  super
end

#delete_all_applicationsObject

Deletes all application.

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.



29
30
31
# File 'lib/icontrol/global_lb/application.rb', line 29

def delete_all_applications
  super
end

#delete_applicationObject

Deletes this application.

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.



39
40
41
# File 'lib/icontrol/global_lb/application.rb', line 39

def delete_application
  super
end

#disable_application_context_object(opts) ⇒ Object

Disables this objects within the application' context.

Parameters:

  • opts (Hash)

Options Hash (opts):

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.



51
52
53
54
# File 'lib/icontrol/global_lb/application.rb', line 51

def disable_application_context_object(opts)
  opts = check_params(opts,[:application_objects])
  super(opts)
end

#enable_application_context_object(opts) ⇒ Object

Enables this objects within the application' context.

Parameters:

  • opts (Hash)

Options Hash (opts):

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.



64
65
66
67
# File 'lib/icontrol/global_lb/application.rb', line 64

def enable_application_context_object(opts)
  opts = check_params(opts,[:application_objects])
  super(opts)
end

#listString

Gets a list of application.

Returns:

  • (String)

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.



101
102
103
# File 'lib/icontrol/global_lb/application.rb', line 101

def list
  super
end

#object_statusObjectStatus

Gets the statuses of this application.

Returns:

  • (ObjectStatus)

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.



112
113
114
# File 'lib/icontrol/global_lb/application.rb', line 112

def object_status
  super
end

#persistence_stateEnabledState

Gets the persistence states for this application.

Returns:

  • (EnabledState)

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.



123
124
125
# File 'lib/icontrol/global_lb/application.rb', line 123

def persistence_state
  super
end

#persistence_ttllong

Gets the persistence TTL values of this application.

Returns:

  • (long)

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.



134
135
136
# File 'lib/icontrol/global_lb/application.rb', line 134

def persistence_ttl
  super
end

#set_availability_dependency(opts) ⇒ Object

Sets the availability dependency for this application.

Parameters:

  • opts (Hash)

Options Hash (opts):

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.



154
155
156
157
# File 'lib/icontrol/global_lb/application.rb', line 154

def set_availability_dependency(opts)
  opts = check_params(opts,[:values])
  super(opts)
end

#set_persistence_state(opts) ⇒ Object

Sets the persistence states for this application.

Parameters:

  • opts (Hash)

Options Hash (opts):

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.



167
168
169
170
# File 'lib/icontrol/global_lb/application.rb', line 167

def set_persistence_state(opts)
  opts = check_params(opts,[:states])
  super(opts)
end

#set_persistence_ttl(opts) ⇒ Object

Sets the persistence TTL values of this application.

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :values (long)

    The persistence TTLs of the specified applications.

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.



180
181
182
183
# File 'lib/icontrol/global_lb/application.rb', line 180

def set_persistence_ttl(opts)
  opts = check_params(opts,[:values])
  super(opts)
end

#versionString

Gets the version information for this interface.

Returns:

  • (String)


142
143
144
# File 'lib/icontrol/global_lb/application.rb', line 142

def version
  super
end