Sha256: b58bdadd6cc58cf6b59c2bf4eb13bc975b6295249cc126e30b2a37d50bb2255c

Contents?: true

Size: 774 Bytes

Versions: 7

Compression:

Stored size: 774 Bytes

Contents

require 'fog/model'

module Fog
  module Vcloud
    class Vdc < Fog::Vcloud::Model

      identity :href

      attribute :name
      attribute :other_links, :links
      attribute :resource_entity_links, :resource_entities
      attribute :network_links, :networks
      attribute :cpu_capacity
      attribute :storage_capacity
      attribute :memory_capacity
      attribute :vm_quota
      attribute :enabled
      attribute :nic_quota
      attribute :network_quota
      attribute :vcloud_type, :type
      attribute :xmlns
      attribute :description
      attribute :allocation_model

      #def networks
      #  connection.networks(:vdc_uri => @uri)
      #end

      #def addresses
      #  connection.addresses(:vdc_uri => @uri)
      #end

    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fog-0.2.0 lib/fog/vcloud/models/vdc.rb
fog-0.1.10 lib/fog/vcloud/models/vdc.rb
fog-0.1.9 lib/fog/vcloud/models/vdc.rb
fog-0.1.8 lib/fog/vcloud/models/vdc.rb
fog-0.1.7 lib/fog/vcloud/models/vdc.rb
fog-0.1.6 lib/fog/vcloud/models/vdc.rb
fog-0.1.5 lib/fog/vcloud/models/vdc.rb