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

Version Path
gapinc-fog-1.12.1.2.1 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-1.17.0 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-1.16.0 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-maestrodev-1.15.0.20130927082724 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-1.15.0 lib/fog/ecloud/models/compute/firewall_acl.rb
gapinc-fog-1.14.0 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-1.14.0 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-1.13.0 lib/fog/ecloud/models/compute/firewall_acl.rb
gapinc-fog-1.12.1.2 lib/fog/ecloud/models/compute/firewall_acl.rb
gapinc-fog-1.12.1.1 lib/fog/ecloud/models/compute/firewall_acl.rb
gapinc-fog-1.12.1a lib/fog/ecloud/models/compute/firewall_acl.rb
gapinc-fog-1.12.1 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-1.12.1 lib/fog/ecloud/models/compute/firewall_acl.rb
fog-1.12.0 lib/fog/ecloud/models/compute/firewall_acl.rb
hpfog-0.0.20 lib/fog/ecloud/models/compute/firewall_acl.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/ecloud/models/compute/firewall_acl.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/ecloud/models/compute/firewall_acl.rb
fog-1.11.1 lib/fog/ecloud/models/compute/firewall_acl.rb