1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/hp/models/lb/load_balancer.rb
2013-10-30 19:01:59 -04:00

28 lines
No EOL
669 B
Ruby

require 'fog/core/model'
module Fog
module HP
class LB
#"name" : "lb-site1",
# "id" : "71",
# "protocol" : "HTTP",
# "port" : "80",
# "algorithm" : "LEAST_CONNECTIONS",
# "status" : "ACTIVE",
# "created" : "2010-11-30T03:23:42Z",
# "updated" : "2010-11-30T03:23:44Z"
class LoadBalancer < Fog::Model
identity :id
attribute :name
attribute :protocol
attribute :port
attribute :algorithm
attribute :status
attribute :created_at, :aliases => 'created'
attribute :updated_at , :aliases => 'updated'
end
end
end
end