mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
33 lines
946 B
Ruby
33 lines
946 B
Ruby
module Fog
|
|
module Bluebox
|
|
class BLB
|
|
class Real
|
|
# Get details of an lb_application.
|
|
#
|
|
# ==== Parameters
|
|
# * lb_application_id<~Integer> - ID of application
|
|
#
|
|
# ==== Returns
|
|
# * response<~Excon::Response>:
|
|
# * body<~Hash>:
|
|
# * 'id'<~String> - UUID of application
|
|
# * 'ip_v4'<~Array> - IPv4 addresses
|
|
# * 'ip_v6'<~String> - IPv6 address
|
|
# * 'name'<~String> - The hostname
|
|
# * 'lb_services'<~Array> - Listening services
|
|
# * 'source_ip_v4'<~String> - address that application connects to pool members from (v1 only)
|
|
def get_lb_application(lb_application_id)
|
|
request(
|
|
:expects => 200,
|
|
:method => 'GET',
|
|
:path => "api/lb_applications/#{lb_application_id}.json"
|
|
)
|
|
end
|
|
end
|
|
|
|
class Mock
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|