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/cloudstack/models/compute/firewall_rule.rb

24 lines
883 B
Ruby

module Fog
module Compute
class Cloudstack
class FirewallRule < Fog::Model
identity :id, :aliases => 'id'
attribute :cidr_list, :aliases => 'cidrlist'
attribute :start_port, :aliases => 'startport', :type => :integer
attribute :end_port, :aliases => 'endport', :type => :integer
attribute :icmp_code, :aliases => 'icmpcode'
attribute :icmp_type, :aliases => 'icmptype'
attribute :ip_address, :aliases => 'ipaddress'
attribute :ip_address_id, :aliases => 'ipaddressid'
attribute :network_id, :aliases => 'networkid'
attribute :protocol
attribute :state
attribute :tags, :type => :array
# def save
# end
end
end
end
end