Sha256: 39bf52760ef52a7143914e2d820e8d0b46d2650a61ee84b81101152d4e6f9b7b
Contents?: true
Size: 814 Bytes
Versions: 28
Compression:
Stored size: 814 Bytes
Contents
module Fog module Compute class Ecloud class FirewallAcl < Fog::Ecloud::Model identity :href attribute :type, :aliases => :Type attribute :links, :aliases => :Links attribute :permission, :aliases => :Permission attribute :acl_type, :aliases => :AclType attribute :port_type, :aliases => :PortType attribute :protocol, :aliases => :Protocol attribute :source, :aliases => :Source attribute :destination, :aliases => :Destination attribute :port_range, :aliases => :PortRange def tasks @tasks = Fog::Compute::Ecloud::Tasks.new(:service => service, :href => "/cloudapi/ecloud/tasks/virtualMachines/#{id}") end def id href.scan(/\d+/)[0] end end end end end
Version data entries
28 entries across 28 versions & 6 rubygems