source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_power_off_vapp.rb | Ruby | mit | 4,298 | master | 1,194 | module Fog
module Compute
class VcloudDirector
class Real
extend Fog::Deprecation
deprecate :post_vm_poweroff, :post_power_off_vapp
# Power off a vApp or VM.
#
# If used on a vApp, powers off all VMs in the vApp. If used on a VM,
# powers off the VM. This ope... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_organizations.rb | Ruby | mit | 4,298 | master | 1,761 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a list of organizations accessible to you.
#
# The system administrator has access to all organizations.
#
# @return [Excon::Response]
# * body<~Hash>:
# * :href<~String> - The ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp.rb | Ruby | mit | 4,298 | master | 1,745 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieves the lease settings section of a vApp.
#
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topi... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 869 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve metadata associated with the vDC storage profile.
#
# @param [String] id Object identifier of the vDC storage profile.
# @param [String] key Key of the metadata.
# @return [Excon::Response]
#... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp.rb | Ruby | mit | 4,298 | master | 1,953 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the network config section of a vApp.
#
# @param [String] id The object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/t... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_thumbnail.rb | Ruby | mit | 4,298 | master | 880 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieves a thumbnail image of a VM console.
#
# The content type of the response can be any of `image/png`,
# `image/gif`.
#
# @param [String] id Object identifier of the VM.
# @return [Excon... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_capture_vapp.rb | Ruby | mit | 4,298 | master | 2,945 | module Fog
module Compute
class VcloudDirector
class Real
# Create a vApp template from a vApp.
#
# The response includes a Task element. You can monitor the task to to
# track the creation of the vApp template.
#
# @param [String] vdc_id Object identifier of ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp.rb | Ruby | mit | 4,298 | master | 2,436 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieves the guest customization section of a VM.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/top... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_network_section_vapp.rb | Ruby | mit | 4,298 | master | 760 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the network section of a vApp.
#
# @param [String] id The object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/co... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_metadata.rb | Ruby | mit | 4,298 | master | 1,329 | module Fog
module Compute
class VcloudDirector
class Real
# 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.
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vm_pending_question.rb | Ruby | mit | 4,298 | master | 1,204 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a question being asked by a VM.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
# * :href<~String> - The URI of the entity.
# ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vm_customization.rb | Ruby | mit | 4,298 | master | 1,040 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/parsers/compute/vm_customization'
# Retrieves the guest customization section of a VM.
#
# @deprecated Use {#get_guest_customization_system_section_vapp}
# instead.
# @to... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vms.rb | Ruby | mit | 4,298 | master | 1,183 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/parsers/compute/vms'
# Retrieve a vApp or VM.
#
# @note This should probably be deprecated.
#
# @param [String] id Object identifier of the vApp or VM.
# @return [E... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_task_list.rb | Ruby | mit | 4,298 | master | 6,352 | module Fog
module Compute
class VcloudDirector
class Real
extend Fog::Deprecation
deprecate :get_tasks_list, :get_task_list
# Retrieve a list of this organization's queued, running, or recently
# completed tasks.
#
# @param [String] id Object identifier of th... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vapp_ovf_descriptor.rb | Ruby | mit | 4,298 | master | 720 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the OVF descriptor of a vApp directly.
#
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~String> - the OVF descriptor.
#
# @see http://pubs... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/put_memory.rb | Ruby | mit | 4,298 | master | 3,506 | module Fog
module Compute
class VcloudDirector
class Real
extend Fog::Deprecation
deprecate :put_vm_memory, :put_memory
# Update the RASD item that specifies memory properties of a VM.
#
# This operation is asynchronous and returns a task that you can
# monit... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_cancel_task.rb | Ruby | mit | 4,298 | master | 1,226 | module Fog
module Compute
class VcloudDirector
class Real
extend Fog::Deprecation
deprecate :post_task_cancel, :post_cancel_task
# Cancel a task.
#
# @param [String] id Object identifier of the task.
# @return [Excon::Response]
#
# @see http:/... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_media_metadata.rb | Ruby | mit | 4,298 | master | 755 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve metadata associated with a media object.
#
# @param [String] id Object identifier of the media object
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vc... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_clone_media.rb | Ruby | mit | 4,298 | master | 3,595 | module Fog
module Compute
class VcloudDirector
class Real
# Create a copy of a media object.
#
# The response includes a Task element. You can monitor the task to to
# track the creation of the vApp template.
#
# @param [String] vdc_id Object identifier of the... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/delete_vapp_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 1,006 | module Fog
module Compute
class VcloudDirector
class Real
extend Fog::Deprecation
deprecate :delete_metadata, :delete_vapp_metadata_item_metadata
require 'fog/vcloud_director/parsers/compute/metadata'
# Delete the specified key and its value from vApp or VM metadata.
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 923 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the value of the specified key from vApp template or VM
# metadata.
#
# @param [String] id Object identifier of the vApp template or VM.
# @param [String] key Key of the metadata.
# @return [... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_supported_versions.rb | Ruby | mit | 4,298 | master | 70,916 | module Fog
module Compute
class VcloudDirector
class Real
# List all supported versions.
#
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-55/topic/com.vmware.vcloud.api.reference.doc_55/doc/operations/GET-SupportedVersions.h... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vapp_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 870 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the value of the specified key from vApp or VM metadata.
#
# @param [String] id Object identifier of the vApp or VM.
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_insert_cd_rom.rb | Ruby | mit | 4,298 | master | 1,334 | module Fog
module Compute
class VcloudDirector
class Real
# Insert virtual media.
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress of the request.
#
# @param [String] id Object identifier of the VM.
# @... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/put_guest_customization_section_vapp.rb | Ruby | mit | 4,298 | master | 6,254 | module Fog
module Compute
class VcloudDirector
class Real
extend Fog::Deprecation
deprecate :put_vm_customization, :put_guest_customization_section_vapp
# Updates the guest customization section of a VM.
#
# This operation is asynchronous and returns a task that you ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_virtual_hardware_section.rb | Ruby | mit | 4,298 | master | 1,003 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the virtual hardware section of a VM.
#
# This operation retrieves the entire VirtualHardwareSection of a VM.
# You can also retrieve many RASD item elements of a
# VirtualHardwareSection individuall... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_enable_vapp_template_download.rb | Ruby | mit | 4,298 | master | 739 | module Fog
module Compute
class VcloudDirector
class Real
# Enable a vApp template for download.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_startup_section.rb | Ruby | mit | 4,298 | master | 1,900 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the startup section of a vApp.
#
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vm... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_execute_query.rb | Ruby | mit | 4,298 | master | 34,957 | module Fog
module Compute
class VcloudDirector
class Real
# REST API General queries handler.
#
# @param [String] type The type of the query. Type names are
# case-sensitive. You can retrieve a summary list of all typed
# queries types accessible to the currently ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/put_vapp_name_and_description.rb | Ruby | mit | 4,298 | master | 1,300 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/generators/compute/vapp'
# Modify the name or description of a vApp.
#
# This operation is asynchronous and returns a task that you can monitor
# to track the progress of the reque... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vapp_template_owner.rb | Ruby | mit | 4,298 | master | 759 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the owner of a vApp template.
#
# @param [String] id Object identifier of the vApp template.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topi... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_control_access_params_catalog.rb | Ruby | mit | 4,298 | master | 883 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve access control information for a catalog.
#
# @param [String] id Object identifier of the organization.
# @param [String] catalog_id Object identifier of the catalog.
# @return [Excon::Response]
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_medias_from_query.rb | Ruby | mit | 4,298 | master | 4,711 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieves a media list by using REST API general QueryHandler.
#
# @param [Hash] options
# @option options [String] :sortAsc (Sorted by database ID) Sort
# results by attribute-name in ascending order. attr... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_update_vapp_template_metadata.rb | Ruby | mit | 4,298 | master | 1,927 | module Fog
module Compute
class VcloudDirector
class Real
# Merge the metadata provided in the request with existing metadata.
#
# @param [String] id Object identifier of the vApp template.
# @param [Hash{String=>Boolean,DateTime,Fixnum,String}] metadata
# @return [Ex... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vm_compliance_results.rb | Ruby | mit | 4,298 | master | 720 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the results of a compliance check.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_disk_owner.rb | Ruby | mit | 4,298 | master | 2,289 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the owner of a disk.
#
# @param [String] id Object identifier of the disk.
# @return [Excon::Response]
# * body<~Hash>:
# * :href<~String> - The URI of the disk.
# * :type<~... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_template_vm.rb | Ruby | mit | 4,298 | master | 2,519 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/parsers/compute/vm'
# Retrieve a vApp or VM.
#
# @note This should probably be deprecated.
#
# @param [String] id Object identifier of the vApp or VM.
# @return [Ex... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_acquire_ticket.rb | Ruby | mit | 4,298 | master | 869 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a screen ticket that you can use with the VMRC browser
# plug-in to gain access to the console of a running VM.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_snapshot_section.rb | Ruby | mit | 4,298 | master | 1,614 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve SnapshotSection element for a vApp or VM.
#
# @param [String] id Object identifier of the vApp or VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vc... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_remove_all_snapshots.rb | Ruby | mit | 4,298 | master | 907 | module Fog
module Compute
class VcloudDirector
class Real
# Removes all user created snapshots for a vApp or virtual machine.
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress of the request.
#
# @param [String]... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vm.rb | Ruby | mit | 4,298 | master | 2,511 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/parsers/compute/vm'
# Retrieve a vApp or VM.
#
# @note This should probably be deprecated.
#
# @param [String] id Object identifier of the vApp or VM.
# @return [Ex... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vapp.rb | Ruby | mit | 4,298 | master | 6,096 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a vApp or VM.
#
# @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... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/delete_vapp_template_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 890 | module Fog
module Compute
class VcloudDirector
class Real
# Delete the specified key and its value from vApp template or VM
# metadata.
#
# @param [String] id Object identifier of the vApp template or VM.
# @param [String] key Key of the metadata item.
# @retu... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vapp_template_customization_system_section.rb | Ruby | mit | 4,298 | master | 835 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieves the customization section of a vApp template.
#
# @param [String] id Object identifier of the vApp template.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmwar... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_check_vm_compliance.rb | Ruby | mit | 4,298 | master | 925 | module Fog
module Compute
class VcloudDirector
class Real
# Perform storage profile compliance check on a VM.
#
# This operation is asynchronous and return a task. When the task
# completes, the compliance check on the VM has been completed and the
# results can be re... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vdc_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 929 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the value of the specified key from virtual datacenter
# metadata.
#
# @param [String] id Object identifier of the network.
# @param [String] domain
# @param [String] key Key of the metadata.... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_current_session.rb | Ruby | mit | 4,298 | master | 3,277 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a representation of the current session.
#
# A Session object contains one or more URLs from which you can begin
# browsing, as well as links to the query service and entity resolver.
# The list of U... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_groups_from_query.rb | Ruby | mit | 4,298 | master | 4,770 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieves a list of groups for organization the org admin belongs to
# by using REST API general QueryHandler.
#
# @param [Hash] options
# @option options [String] :sortAsc (Sorted by database ID) Sort
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vms_disk_attached_to.rb | Ruby | mit | 4,298 | master | 1,159 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a list of all VMs attached to a disk.
#
# @param [String] id Object identifier of the disk.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_catalog.rb | Ruby | mit | 4,298 | master | 2,002 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a catalog.
#
# @param [String] id Object identifier of the catalog.
# @return [Excon::Response]
# * hash<~Hash>:
#
# @raise [Fog::Compute::VcloudDirector::Forbidden]
#
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/put_disk_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 1,753 | module Fog
module Compute
class VcloudDirector
class Real
# Set the value for the specified metadata key to the value provided,
# overwriting any existing value.
#
# @param [String] id Object identifier of the disk.
# @param [String] key Key of the metadata item.
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/delete_shadow_vm.rb | Ruby | mit | 4,298 | master | 928 | module Fog
module Compute
class VcloudDirector
class Real
# Deletes shadow VM.
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress of the request.
#
# @deprecated Since vCloud API version 5.1 this operation may be... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_org_vdc_gateways.rb | Ruby | mit | 4,298 | master | 3,051 | module Fog
module Compute
class VcloudDirector
class Real
extend Fog::Deprecation
deprecate :get_edge_gateways, :get_org_vdc_gateways
# List all gateways for this Org vDC.
#
# @param [String] id Object identifier of the vDC.
# @return [Excon::Response]
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/put_vm.rb | Ruby | mit | 4,298 | master | 2,380 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/generators/compute/vm'
# Update the name, description and storage profile for VM.
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_catalog_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 873 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the value of the specified key from catalog metadata.
#
# @param [String] id Object identifier of the catalog.
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * bod... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_create_org_vdc_network.rb | Ruby | mit | 4,298 | master | 6,749 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/generators/compute/org_vdc_network'
# Create an Org vDC network.
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress of the request.
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb | Ruby | mit | 4,298 | master | 2,003 | module Fog
module Compute
class VcloudDirector
class Real
extend Fog::Deprecation
deprecate :get_vm_memory, :get_memory_rasd_item
# Retrieve the RASD item that specifies memory properties of a VM.
#
# @param [String] id Object identifier of the VM.
# @return ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vm_capabilities.rb | Ruby | mit | 4,298 | master | 1,958 | module Fog
module Compute
class VcloudDirector
class Real
# Gets capabilities for the VM identified by id.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
# * :href<~String> - The URI of the entity.
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_disable_vapp_template_download.rb | Ruby | mit | 4,298 | master | 743 | module Fog
module Compute
class VcloudDirector
class Real
# Disable a vApp template for download.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_discard_vapp_state.rb | Ruby | mit | 4,298 | master | 992 | module Fog
module Compute
class VcloudDirector
class Real
# Discard suspended state of a vApp or VM.
#
# Discarding the suspended state of a vApp discards the suspended state
# of all VMs it contains.
#
# This operation is asynchronous and returns a task that ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_media_drives_rasd_items_list.rb | Ruby | mit | 4,298 | master | 2,844 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve all RASD items that specify CD-ROM, DVD, and floppy disk
# device and controller properties of a VM.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_disks_from_query.rb | Ruby | mit | 4,298 | master | 4,701 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieves a disk list by using REST API general QueryHandler.
#
# @param [Hash] options
# @option options [String] :sortAsc (Sorted by database ID) Sort
# results by attribute-name in ascending order. attri... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_create_snapshot.rb | Ruby | mit | 4,298 | master | 659 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/generators/compute/create_snapshot'
def post_create_snapshot(id, options={})
body = Fog::Generators::Compute::VcloudDirector::CreateSnapshot.new(options).generate_xml
request(
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_media.rb | Ruby | mit | 4,298 | master | 3,529 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a media object.
#
# @param [String] id Object identifier of the media object.
# @return [Excon::Response]
# * body<~Hash>:
#
# @raise [Fog::Compute::VcloudDirector::Forbidden]
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_media_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 877 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the value of the specified key from media object metadata.
#
# @param [String] id Object identifier of the media object.
# @param [String] key Key of the metadata.
# @return [Excon::Response]
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_answer_vm_pending_question.rb | Ruby | mit | 4,298 | master | 1,242 | module Fog
module Compute
class VcloudDirector
class Real
# Answer a question being asked by a VM.
#
# @param [String] id Object identifier of the VM.
# @param [Integer] choice_id Choice ID of this answer.
# @param [String] question_id Question ID of the question.
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp.rb | Ruby | mit | 4,298 | master | 2,309 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the network connection section of a VM.
#
# @param [String] id The object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/t... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_task.rb | Ruby | mit | 4,298 | master | 7,463 | require 'date'
module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a task.
#
# @param [String] id The object identifier of the task.
# @return [Excon::Response]
# * body<~Hash>:
# * :href<~String> - The URI of the entity.
# ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_shutdown_vapp.rb | Ruby | mit | 4,298 | master | 1,102 | module Fog
module Compute
class VcloudDirector
class Real
# Shut down a vApp or VM.
#
# If used on a vApp, shuts down all VMs in the vApp. If used on a VM,
# shuts down the VM. This operation is available only for a vApp or VM
# that is powered on.
#
#... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_disks_rasd_items_list.rb | Ruby | mit | 4,298 | master | 2,747 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve all RASD items that specify hard disk and hard disk
# controller properties of a VM.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/put_catalog_item_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 1,902 | module Fog
module Compute
class VcloudDirector
class Real
# Set the metadata value for the specified key to the value provided,
# overwriting any existing value.
#
# @param [String] id Object identifier of the catalog item.
# @param [String] key Key of the metadata it... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_upload_vapp_template.rb | Ruby | mit | 4,298 | master | 1,748 | module Fog
module Compute
class VcloudDirector
class Real
# Upload an OVF package to create a vApp template
#
# The response includes an upload link for the OVF descriptor.
#
# @param [String] vdc_id Object identifier of the vDC.
# @param [String] name The nam... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/delete_disk_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 825 | module Fog
module Compute
class VcloudDirector
class Real
# Delete the specified key and its value from disk metadata.
#
# @param [String] id Object identifier of the disk.
# @param [String] key Key of the metadata item.
# @return [Excon::Response]
# * body<... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vapp_owner.rb | Ruby | mit | 4,298 | master | 1,578 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the owner of a vApp.
#
# @param [String] id Object identifier of the vApp.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vclou... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_undeploy_vapp.rb | Ruby | mit | 4,298 | master | 2,718 | module Fog
module Compute
class VcloudDirector
class Real
# Undeploy a vApp/VM.
#
# Undeployment deallocates all resources used by the vApp and the VMs
# it contains.
#
# This operation is asynchronous and returns a task that you can
# monitor to track... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_instantiate_vapp_template.rb | Ruby | mit | 4,298 | master | 8,087 | module Fog
module Compute
class VcloudDirector
class Real
# Create a vApp from a vApp template.
#
# The response includes a Task element. You can monitor the task to to
# track the creation of the vApp.
#
# @note This may not work at all or may work only under... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_organization.rb | Ruby | mit | 4,298 | master | 3,617 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve an organization.
#
# @param [String] id The object identifier of the organization.
# @return [Excon:Response]
# * body<~Hash>:
#
# @raise [Fog::Compute::VcloudDirector::Forbidden]
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vm_disks.rb | Ruby | mit | 4,298 | master | 1,707 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/parsers/compute/disks'
# Retrieve all RASD items that specify hard disk and hard disk
# controller properties of a VM.
#
# @deprecated Use {#get_disks_rasd_items_list} instead.
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp_template.rb | Ruby | mit | 4,298 | master | 836 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieves the guest customization section of a VM.
#
# @param [String] id Object identifier of the VM.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/top... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_disk_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 858 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the value of the specified key from disk metadata.
#
# @param [String] id Object identifier of the disk.
# @param [String] key Key of the metadata.
# @return [Excon::Response]
# * body<~Has... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_revert_snapshot.rb | Ruby | mit | 4,298 | master | 904 | module Fog
module Compute
class VcloudDirector
class Real
# Reverts a vApp or virtual machine to the current snapshot, if any.
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress of the request.
#
# @param [String... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_allocated_ip_addresses.rb | Ruby | mit | 4,298 | master | 786 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve a list of IP addresses allocated to the network.
#
# @param [String] id Object identifier of the network.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.co... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/put_disks.rb | Ruby | mit | 4,298 | master | 1,338 | module Fog
module Compute
class VcloudDirector
class Real
extend Fog::Deprecation
deprecate :put_vm_disks, :put_disks
require 'fog/vcloud_director/generators/compute/disks'
# Update all RASD items that specify hard disk and hard disk controller
# properties of a VM.... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vapp_templates_from_query.rb | Ruby | mit | 4,298 | master | 4,769 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieves a list of vAppTemplates using REST API general
# QueryHandler.
#
# @param [Hash] options
# @option options [String] :sortAsc (Sorted by database ID) Sort
# results by attribute-name in asc... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_disk_metadata.rb | Ruby | mit | 4,298 | master | 739 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve metadata associated with the disk.
#
# @param [String] id Object identifier of the disk.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com/vcd-51/topic/co... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_href.rb | Ruby | mit | 4,298 | master | 494 | module Fog
module Compute
class VcloudDirector
class Real
# This is used for manual testing.
#
# @api private
def get_href(href)
request(
:expects => 200,
:idempotent => true,
:method => 'GET',
:parser ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/delete_vapp_template.rb | Ruby | mit | 4,298 | master | 830 | module Fog
module Compute
class VcloudDirector
class Real
# Delete a vApp template.
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress of the request.
#
# @param [String] id Object identifier of the vApp template... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/delete_network.rb | Ruby | mit | 4,298 | master | 1,889 | module Fog
module Compute
class VcloudDirector
class Real
# Delete an OrgVdcNetwork
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress of the request.
#
# @param [String] id Object identifier of the OrgVdcNetwork... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata.rb | Ruby | mit | 4,298 | master | 779 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve all metadata associated with a catalog item.
#
# @param [String] id Object identifier of the catalog item.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.c... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_update_vapp_metadata.rb | Ruby | mit | 4,298 | master | 3,003 | module Fog
module Compute
class VcloudDirector
class Real
# Merge the metadata provided in the request with existing metadata.
#
# @param [String] id Object identifier of the vApp or VM.
# @param [Hash{String=>Boolean,DateTime,Fixnum,String}] metadata
# @return [Excon... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 896 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the value of the specified key from catalog item metadata.
#
# @param [String] id Object identifier of the catalog item.
# @param [String] key Key of the metadata.
# @return [Excon::Response]
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_organization_metadata.rb | Ruby | mit | 4,298 | master | 770 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve metadata associated with the organization.
#
# @param [String] id Object identifier of the organization.
# @return [Excon::Response]
# * body<~Hash>:
#
# @see http://pubs.vmware.com... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/delete_vapp.rb | Ruby | mit | 4,298 | master | 1,819 | module Fog
module Compute
class VcloudDirector
class Real
# Delete a vApp or VM.
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress of the request.
#
# @param [String] id Object identifier of the vApp.
# ... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_organization_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 987 | module Fog
module Compute
class VcloudDirector
class Real
# Retrieve the value of the specified key in the specified domain from
# organization metadata.
#
# @param [String] id Object identifier of the network.
# @param [String] domain
# @param [String] key Ke... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_install_vmware_tools.rb | Ruby | mit | 4,298 | master | 858 | module Fog
module Compute
class VcloudDirector
class Real
# Install VMware Tools on a running VM.
#
# This operation is asynchronous and returns a task that you can
# monitor to track the progress of the request.
#
# @param [String] id Object identifier of the... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/put_vapp_template_metadata_item_metadata.rb | Ruby | mit | 4,298 | master | 1,906 | module Fog
module Compute
class VcloudDirector
class Real
# Set the value for the specified metadata key to the value provided,
# overwriting any existing value.
#
# @param [String] id Object identifier of the vApp template.
# @param [String] key Key of the metadata i... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_recompose_vapp.rb | Ruby | mit | 4,298 | master | 654 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/generators/compute/recompose_vapp'
def post_recompose_vapp(id, options={})
body = Fog::Generators::Compute::VcloudDirector::RecomposeVapp.new(options).generate_xml
request(
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/get_vms_by_metadata.rb | Ruby | mit | 4,298 | master | 575 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/parsers/compute/vms_by_metadata'
# @see #get_vms_in_lease_by_query
def get_vms_by_metadata(key,value)
request(
:expects => 200,
:idempotent => true,
... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/put_config_network_section_vapp.rb | Ruby | mit | 4,298 | master | 934 | module Fog
module Compute
class VcloudDirector
class Real
require 'fog/vcloud_director/generators/compute/network_config_section'
# Update the network config section of a vApp.
#
#
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/o... |
github | fog/fog | https://github.com/fog/fog | lib/fog/vcloud_director/requests/compute/post_enter_maintenance_mode.rb | Ruby | mit | 4,298 | master | 887 | module Fog
module Compute
class VcloudDirector
class Real
# Place the vApp in maintenance mode.
#
# When a vApp is in maintenance mode, it is read-only to users. Only a
# system administrator can modify it. User-initiated tasks that are
# running when the vApp enters ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.