mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
34 lines
650 B
Ruby
34 lines
650 B
Ruby
require 'fog/core/model'
|
|
|
|
module Fog
|
|
module HP
|
|
class LB
|
|
class VirtualIp < Fog::Model
|
|
identity :id
|
|
|
|
attribute :address
|
|
attribute :ip_version, :alias => 'ipVersion'
|
|
attribute :type
|
|
|
|
def destroy
|
|
raise Fog::HP::LB::NotFound.new('Operation not allowed.')
|
|
end
|
|
|
|
def create(params)
|
|
raise Fog::HP::LB::NotFound.new('Operation not allowed.')
|
|
end
|
|
|
|
def save
|
|
raise Fog::HP::LB::NotFound.new('Operation not allowed.')
|
|
end
|
|
|
|
private
|
|
|
|
def load_balancer
|
|
collection.load_balancer
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|