1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

updated documentation for put_vm

This commit is contained in:
Sneha Somwanshi 2013-12-04 12:13:38 +00:00
parent be25eb92c0
commit 391ca3adb6
2 changed files with 5 additions and 21 deletions

View file

@ -2,27 +2,7 @@ module Fog
module Generators
module Compute
module VcloudDirector
# {
# :name => "webapp-1",
# :Description => "Vm Created from Ubuntu 12.04.3 LTS, VMware Tools latest installed.",
# :StorageProfile =>
# {
# :name => "BASIC-Storage-Profile",
# :href => "https://api.vcd.portal.skyscapecloud.com/api/vdcStorageProfile/a1c0d210-92c9-4514-b146-4b625e6c74dd"
# },
# }
#
# This is what it generates:
#
# <Vm xmlns="http://www.vmware.com/vcloud/v1.5"
# name="webapp-1" type="application/vnd.vmware.vcloud.vm+xml">
# <Description>Vm Created from Ubuntu 12.04.3 LTS, VMware Tools latest installed.</Description>
# <StorageProfile
# type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"
# name="BASIC-Storage-Profile"
# href="https://api.vcd.portal.skyscapecloud.com/api/vdcStorageProfile/a1c0d210-92c9-4514-b146-4b625e6c7455"/>
# </Vm>
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/types/VmType.html
class Vm
attr_reader :attrs

View file

@ -13,6 +13,10 @@ module Fog
# @param [String] id Object identifier of the VM.
# @param [String] name of the VM.
# @param [Hash] options
# * :Description<~String>: - description to be assigned.
# * :StorageProfile<~Hash>: - storage profile to be assigned.
# * :name<~String>
# * :href<~String>
# @return [Excon::Response]
# * body<~Hash>:
#