Sha256: 395dc841e6abbd7dc8414c366edd9e0e516f98f5f97f03aaf6850f9a9ab97f4d

Contents?: true

Size: 641 Bytes

Versions: 2

Compression:

Stored size: 641 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class VmNetwork < Model
        identity  :id

        attribute :type
        attribute :href
        attribute :info
        attribute :primary_network_connection_index
        attribute :network
        attribute :needs_customization
        attribute :network_connection_index
        attribute :is_connected
        attribute :mac_address
        attribute :ip_address_allocation_mode

        def save
          response = service.put_network_connection_system_section_vapp(id, attributes)
          service.process_task(response.body)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/models/compute/vm_network.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/models/compute/vm_network.rb