mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
20 lines
470 B
Ruby
20 lines
470 B
Ruby
require 'fog/core/model'
|
|
|
|
module Fog
|
|
module AWS
|
|
class RDS
|
|
|
|
class SubnetGroup < Fog::Model
|
|
|
|
identity :id, :aliases => ['DBSubnetGroupName', :name]
|
|
attribute :description, :aliases => 'DBSubnetGroupDescription'
|
|
attribute :status, :aliases => 'SubnetGroupStatus'
|
|
attribute :vpc_id, :aliases => 'VpcId'
|
|
attribute :subnet_ids, :aliases => 'Subnets'
|
|
|
|
# TODO: ready?, save, destroy
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|