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

[vcloud_director] Expose URLs in method docs.

This commit is contained in:
Nick Osborn 2013-10-13 20:23:24 +01:00
parent a3aefd9a8d
commit a511936999
157 changed files with 183 additions and 157 deletions

View file

@ -42,7 +42,6 @@ module Fog
# </vcloud:GuestCustomizationSection>
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/types/GuestCustomizationSectionType.html
# vCloud API Documentation
class Customization
def initialize(attrs={})
@attrs = attrs

View file

@ -59,7 +59,6 @@ module Fog
# </vcloud:RasdItemsList>
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/types/RasdItemsListType.html
# vCloud API Documentation
class Disks
def initialize(items=[])
@items = items[:disks]

View file

@ -24,7 +24,6 @@ module Fog
# </Metadata>
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/types/MetadataType.html
# vCloud API Documentation
class MetadataBase
attr_reader :attrs

View file

@ -34,7 +34,6 @@ module Fog
# </NetworkConnectionSection>
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/types/NetworkConnectionSectionType.html
# vCloud API Documentation
class VmNetwork
attr_reader :attrs

View file

@ -6,9 +6,8 @@ module Fog
#
# @param [String] id Object identifier of the catalog item.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-CatalogItem.html
# vCloud API Documentation
# @since vCloud API version 0.9
def delete_catalog_item(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata item.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-CatalogItemMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def delete_catalog_item_metadata_item_metadata(id, key)
request(

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] id Object identifier of the disk.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-Disk.html
# vCloud API Documentation
# @since vCloud API version 5.1
def delete_disk(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata item.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-DiskMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 5.1
def delete_disk_metadata_item_metadata(id, key)
request(

View file

@ -3,9 +3,8 @@ module Fog
class VcloudDirector
class Real
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-Logout.html
# vCloud API Documentation
def delete_logout
request(
:expects => 204,

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] id Object identifier of the media object.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-Media.html
# vCloud API Documentation
# @since vCloud API version 0.9
def delete_media(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata item.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-MediaMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def delete_media_metadata_item_metadata(id, key)
request(

View file

@ -9,11 +9,12 @@ module Fog
#
# @deprecated Since vCloud API version 5.1 this operation may be
# removed in a future release.
#
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-ShadowVm.html
# vCloud API Documentation
# @since vCloud API version 1.5
def delete_shadow_vm(id)
request(

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-VApp.html
# vCloud API Documentation
# @since vCloud API version 0.9
def delete_vapp(id)
request(

View file

@ -13,8 +13,8 @@ module Fog
# @param [String] key Key of the metadata item.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-VAppMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def delete_vapp_metadata_item_metadata(id, key)
request(

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] id Object identifier of the vApp template.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-VAppTemplate.html
# vCloud API Documentation
# @since vCloud API version 0.9
def delete_vapp_template(id)
request(

View file

@ -9,8 +9,8 @@ module Fog
# @param [String] key Key of the metadata item.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-VAppTemplateMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def delete_vapp_template_metadata_item_metadata(id, key)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the network.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-AllocatedIpAddresses.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_allocated_ip_addresses(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the catalog.
# @return [Excon::Response]
# * hash<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Catalog.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_catalog(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the catalog item.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-CatalogItem.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_catalog_item(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the catalog item.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-CatalogItemMetadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_catalog_item_metadata(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-CatalogItemMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_catalog_item_metadata_item_metadata(id, key)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the catalog.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-CatalogMetadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_catalog_metadata(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-CatalogMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_catalog_metadata_item_metadata(id, key)
request(

View file

@ -9,8 +9,8 @@ module Fog
#
# @return [Excon::Response]
# * hash<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-CatalogsFromQuery.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_catalogs_from_query
request(

View file

@ -8,6 +8,7 @@ module Fog
# @param [String] catalog_id Object identifier of the catalog.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-ControlAccessParams-vApp.html
# @since vCloud API 0.9
def get_control_access_params_catalog(id, catalog_id)

View file

@ -7,6 +7,7 @@ module Fog
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-ControlAccessParams-vApp.html
# @since vCloud API 0.9
def get_control_access_params_vapp(id)

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-CpuRasdItem.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_cpu_rasd_item(id)
request(

View file

@ -24,8 +24,9 @@ module Fog
# * :type<~String> - Contains the type of the linked entity.
# * :rel<~String> - Defines the relationship of the link to the
# object that contains it.
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-CurrentSession.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_current_session
request(
:expects => 200,

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the disk.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Disk.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_disk(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the disk.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-DiskMetadata.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_disk_metadata(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-DiskMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_disk_metadata_item_metadata(id, key)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the disk.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-DiskOwner.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_disk_owner(id)
request(

View file

@ -9,8 +9,8 @@ module Fog
#
# @return [Excon::Response]
# * hash<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-DisksFromQuery.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_disks_from_query
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-DisksRasdItemsList.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_disks_rasd_items_list(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the edge gateway.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-EdgeGateway.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_edge_gateway(id)
request(

View file

@ -18,8 +18,8 @@ module Fog
# * :type<~String> - Contains the type of the linked entity.
# * :rel<~String> - Defines the relationship of the link to the
# object that contains it.
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Entity.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_entity(id)
response = request({

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-GuestCustomizationSystemSection-vApp.html
# vCloud API Documentation
# @since vCloud API version 1.0
def get_guest_customization_system_section_vapp(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-GuestCustomizationSystemSection-vAppTemplate.html
# vCloud API Documentation
# @since vCloud API version 1.0
def get_guest_customization_system_section_vapp_template(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-LeaseSettingsSection-vApp.html
# vCloud API Documentation
# @since vCloud API version 1.0
def get_lease_settings_section_vapp(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp template.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-LeaseSettingsSection-vAppTemplate.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_lease_settings_section_vapp_template(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the media object.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Media.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_media(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-MediaDrivesRasdItemsList.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_media_drives_rasd_items_list(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the media object
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-MediaMetadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_media_metadata(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-MediaMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_media_metadata_item_metadata(id, key)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the media object.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-MediaOwner.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_media_owner(id)
request(

View file

@ -9,8 +9,8 @@ module Fog
#
# @return [Excon::Response]
# * hash<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-MediasFromQuery.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_medias_from_query
request(

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-MemoryRasdItem.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_memory_rasd_item(id)
request(

View file

@ -5,13 +5,14 @@ module Fog
# Retrieve metadata associated with the vApp or VM.
#
# @deprecated Use {#get_vapp_metadata} instead.
# @todo Log deprecation warning.
#
# @param [String] id Object identifier of the vApp or VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppMetadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
# @todo Log deprecation warning.
def get_metadata(id)
require 'fog/vcloud_director/parsers/compute/metadata'

View file

@ -9,8 +9,8 @@ module Fog
# @param [String] id Object identifier of the network.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Network.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_network(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkCardsItemsList.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_network_cards_items_list(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkConfigSection-vApp.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_network_config_section_vapp(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the vApp template.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkConfigSection-vAppTemplate.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_network_config_section_vapp_template(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkConnectionSystemSection-vApp.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_network_connection_system_section_vapp(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkConnectionSystemSection-vAppTemplate.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_network_connection_system_section_vapp_template(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the network.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkMetadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_network_metadata(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_network_metadata_item_metadata(id, key)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkSection-vApp.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_network_section_vapp(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the vApp template.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkSection-vAppTemplate.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_network_section_vapp_template(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-OperatingSystemSection.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_operating_system_section(id)
request(

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] id Object identifier of the vDC.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-OrgVdcGateways.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_org_vdc_gateways(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the organization.
# @return [Excon:Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Organization.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_organization(id)
response = request({

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the organization.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-OrganizationMetadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_organization_metadata(id)
request(

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-OrganizationMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_organization_metadata_item_metadata(id, domain, key)
request(

View file

@ -14,8 +14,8 @@ module Fog
# * :href<~String> - Contains the URI to the linked entity.
# * :name<~String> - Contains the name of the linked entity.
# * :type<~String> - Contains the type of the linked entity.
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Organizations.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_organizations
response = request({

View file

@ -7,6 +7,7 @@ module Fog
# @param [String] id Object identifier of the vApp or VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-ProductSections-vApp.html
# @since vCloud API version 1.5
def get_product_sections_vapp(id)

View file

@ -8,6 +8,7 @@ module Fog
# @param [String] id Object identifier of the vApp template or VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-ProductSections-vAppTemplate.html
# @since vCloud API version 1.5
def get_product_sections_vapp_template(id)

View file

@ -7,6 +7,7 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-RuntimeInfoSectionType.html
# @since vCloud API version 1.5
def get_runtime_info_section_type(id)

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-SerialPortsItemsList.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_serial_ports_items_list(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the shadow VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-ShadowVm.html
# vCloud API Documentation
def get_shadow_vm(id)
request(
:expects => 200,

View file

@ -7,6 +7,7 @@ module Fog
# @param [String] id Object identifier of the vApp or VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-SnapshotSection.html
# @since vCloud API version 5.1
def get_snapshot_section(id)

View file

@ -7,6 +7,7 @@ module Fog
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-StartupSection.html
# @since vCloud API version 0.9
def get_startup_section(id)

View file

@ -7,8 +7,8 @@ module Fog
#
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-SupportedSystemsInfo.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_supported_systems_info
request(

View file

@ -6,8 +6,8 @@ module Fog
#
# @return [Excon::Response]
# * body<~Hash>:
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-SupportedVersions.html
# vCloud API Documentation (5.5)
#
# @see http://pubs.vmware.com/vcd-55/topic/com.vmware.vcloud.api.reference.doc_55/doc/operations/GET-SupportedVersions.html
# @since vCloud API version 0.9
def get_supported_versions
@connection.request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id The object identifier of the task.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Task.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_task(id)
request(

View file

@ -11,8 +11,8 @@ module Fog
# @param [String] id Object identifier of the organization.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-TaskList.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_task_list(id)
request(

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~String> - the thumbnail image.
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Thumbnail.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_thumbnail(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp or VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VApp.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_vapp(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp or VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppMetadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vapp_metadata(id)
request(

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vapp_metadata_item_metadata(id, key)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~String> - the OVF descriptor.
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppOvfDescriptor.html
# vCloud API Documentation
# @since vCloud API version 5.1
def get_vapp_ovf_descriptor(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppOwner.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vapp_owner(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp template.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppTemplate.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_vapp_template(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp template.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppTemplateCustomizationSystemSection.html
# vCloud API Documentation
# @since vCloud API version 1.0
def get_vapp_template_customization_system_section(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp template or VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppTemplateMetadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vapp_template_metadata(id)
request(

View file

@ -9,8 +9,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppTemplateMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vapp_template_metadata_item_metadata(id, key)
request(

View file

@ -6,9 +6,9 @@ module Fog
#
# @param [String] id Object identifier of the vAppTemplate.
# @return [Excon::Response]
# * body<~String> -
# * body<~String> - the OVF descriptor.
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppTemplateOvfDescriptor.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_vapp_template_ovf_descriptor(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vApp template.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppTemplateOwner.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vapp_template_owner(id)
request(

View file

@ -9,8 +9,8 @@ module Fog
#
# @return [Excon::Response]
# * hash<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppTemplatesFromQuery.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vapp_templates_from_query
request(

View file

@ -9,8 +9,8 @@ module Fog
#
# @return [Excon::Response]
# * hash<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppsInLeaseFromQuery.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vapps_in_lease_from_query
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vDC.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Vdc.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_vdc(id)
request(

View file

@ -7,8 +7,8 @@ module Fog
# @param [String] id Object identifier of the vDC.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcMetadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vdc_metadata(id)
request(

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcMetadataItem-metadata.html
# vCloud API Documentation
# @since vCloud API version 1.5
def get_vdc_metadata_item_metadata(id, domain, key)
request(

View file

@ -12,8 +12,24 @@ module Fog
# @param [String] id Object identifier of the vDC storage profile.
# @return [Excon::Response]
# * body<~Hash>:
# * :href<~String> - The URI of the entity.
# * :type<~String> - The MIME type of the entity.
# * :id<~String> - The entity identifier, expressed in URN format.
# The value of this attribute uniquely identifies the entity,
# persists for the life of the entity, and is never reused.
# * :name<~String> - The name of the entity.
# * :Description<~String> - Optional description.
# * :Enabled<~String> - True if this storage profile is enabled for
# use in the vDC.
# * :Units<~String> - Units used to define :Limit.
# * :Limit<~String> - Maximum number of :Units allocated for this
# storage profile.
# * :Default<~String> - True if this is default storage profile for
# this vDC. The default storage profile is used when an object
# that can specify a storage profile is created with no storage
# profile specified.
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcStorageClass.html
# vCloud API Documentation
def get_vdc_storage_class(id)
request(
:expects => 200,

View file

@ -10,8 +10,8 @@ module Fog
# @param [String] id Object identifier of the vDC storage profile.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcStorageClassMetadata.html
# vCloud API Documentation
def get_vdc_storage_class_metadata(id)
request(
:expects => 200,

View file

@ -8,8 +8,8 @@ module Fog
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcStorageClassMetadataItem-metadata.html
# vCloud API Documentation
def get_vdc_storage_class_metadata_item_metadata(id, key)
request(
:expects => 200,

View file

@ -11,8 +11,8 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VirtualHardwareSection.html
# vCloud API Documentation
# @since vCloud API version 0.9
def get_virtual_hardware_section(id)
request(

View file

@ -7,9 +7,11 @@ module Fog
# Retrieve a vApp or VM.
#
# @note This should probably be deprecated.
#
# @param [String] id Object identifier of the vApp or VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see #get_vapp
def get_vm(id)
request(

View file

@ -7,6 +7,7 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VmCapabilities.html
def get_vm_capabilities(id)
request(

View file

@ -7,6 +7,7 @@ module Fog
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VmComplianceResults.html
def get_vm_compliance_results(id)
request(

View file

@ -8,13 +8,14 @@ module Fog
#
# @deprecated Use {#get_guest_customization_system_section_vapp}
# instead.
# @todo Log deprecation warning.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-GuestCustomizationSystemSection-vApp.html
# vCloud API Documentation
# @since vCloud API version 1.0
# @todo Log deprecation warning.
def get_vm_customization(id)
request(
:expects => 200,

Some files were not shown because too many files have changed in this diff Show more