mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[Brightbox] Add created_at attribute for server_group,policy and firewall rule
This commit is contained in:
parent
5cd31eb9a0
commit
c642dd9076
3 changed files with 4 additions and 1 deletions
|
@ -16,6 +16,7 @@ module Fog
|
|||
attribute :default
|
||||
|
||||
attribute :server_group_id, :aliases => "server_group", :squash => "id"
|
||||
attribute :created_at, :type => :time
|
||||
attribute :rules
|
||||
|
||||
# Sticking with existing Fog behaviour, save does not update but creates a new resource
|
||||
|
|
|
@ -18,6 +18,7 @@ module Fog
|
|||
attribute :destination_port
|
||||
attribute :protocol
|
||||
attribute :icmp_type_name
|
||||
attribute :created_at, :type => :time
|
||||
|
||||
attribute :firewall_policy_id, :aliases => "firewall_policy", :squash => "id"
|
||||
|
||||
|
@ -50,4 +51,4 @@ module Fog
|
|||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -16,6 +16,7 @@ module Fog
|
|||
attribute :name
|
||||
attribute :description
|
||||
attribute :default
|
||||
attribute :created_at, :type => :time
|
||||
|
||||
def save
|
||||
options = {
|
||||
|
|
Loading…
Reference in a new issue