### Home Classes Methods

### In Files

- lib/fog/vsphere/requests/compute/get_cluster.rb
- lib/fog/vsphere/requests/compute/list_resource_pools.rb
- lib/fog/vsphere/requests/compute/list_vm_interfaces.rb
- lib/fog/vsphere/requests/compute/vm_power_on.rb
- lib/fog/vsphere/requests/compute/vm_reboot.rb
- lib/fog/vsphere/requests/compute/list_datastores.rb
- lib/fog/vsphere/requests/compute/create_folder.rb
- lib/fog/vsphere/requests/compute/current_time.rb
- lib/fog/vsphere/requests/compute/vm_config_vnc.rb
- lib/fog/vsphere/requests/compute/list_networks.rb
- lib/fog/vsphere/requests/compute/get_virtual_machine.rb
- lib/fog/vsphere/requests/compute/list_clusters.rb
- lib/fog/vsphere/requests/compute/get_network.rb
- lib/fog/vsphere/requests/compute/vm_reconfig_hardware.rb
- lib/fog/vsphere/requests/compute/list_templates.rb
- lib/fog/vsphere/requests/compute/get_datacenter.rb
- lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
- lib/fog/vsphere/requests/compute/list_virtual_machines.rb
- lib/fog/vsphere/requests/compute/vm_reconfig_cpus.rb
- lib/fog/vsphere/requests/compute/get_resource_pool.rb
- lib/fog/vsphere/requests/compute/list_customfields.rb
- lib/fog/vsphere/requests/compute/vm_clone.rb
- lib/fog/vsphere/requests/compute/list_vm_customvalues.rb
- lib/fog/vsphere/requests/compute/vm_destroy.rb
- lib/fog/vsphere/requests/compute/modify_vm_interface.rb
- lib/fog/vsphere/requests/compute/get_folder.rb
- lib/fog/vsphere/requests/compute/vm_power_off.rb
- lib/fog/vsphere/requests/compute/list_datacenters.rb
- lib/fog/vsphere/requests/compute/get_template.rb
- lib/fog/vsphere/requests/compute/list_vm_volumes.rb
- lib/fog/vsphere/requests/compute/list_folders.rb
- lib/fog/vsphere/requests/compute/vm_migrate.rb
- lib/fog/vsphere/requests/compute/create_vm.rb
- lib/fog/vsphere/requests/compute/get_datastore.rb
- lib/fog/vsphere/compute.rb

### Parent

Object

### Methods

- ::new
- #add_vm_interface
- #child_folders
- #cluster_attributes
- #create_folder
- #create_vm
- #current_time
- #datastore_attributes
- #destroy_vm_interface
- #find_datacenters
- #find_raw_datacenter
- #folder_attributes
- #folder_type
- #get_cluster
- #get_datacenter
- #get_datastore
- #get_folder
- #get_network
- #get_raw_cluster
- #get_raw_datacenter
- #get_raw_datastore
- #get_raw_network
- #get_raw_resource_pool
- #get_raw_vmfolder
- #get_raw_vmfolders
- #get_resource_pool
- #get_template
- #get_virtual_machine
- #get_vm_interface
- #get_vm_ref
- #list_clusters
- #list_customfields
- #list_datacenters
- #list_datastores
- #list_folders
- #list_networks
- #list_raw_resource_pools
- #list_resource_pools
- #list_templates
- #list_virtual_machines
- #list_vm_customvalues
- #list_vm_interfaces
- #list_vm_volumes
- #network_attributes
- #raw_clusters
- #raw_datacenters
- #raw_datastores
- #raw_networks
- #resource_pool_attributes
- #update_vm_interface
- #vm_clone
- #vm_config_vnc
- #vm_destroy
- #vm_get_vnc
- #vm_migrate
- #vm_power_off
- #vm_power_on
- #vm_reboot
- #vm_reconfig_cpus
- #vm_reconfig_hardware
- #vm_reconfig_memory

### Included Modules

- Fog::Compute::Vsphere::Shared
- Fog::Compute::Vsphere::Shared

### Files

- README_HP.rdoc
- lorem.txt

### Class/Module Index

Quicksearch

- Fog
- Fog::AWS
- Fog::AWS::AutoScaling
- Fog::AWS::AutoScaling::Activities
- Fog::AWS::AutoScaling::Activity
- Fog::AWS::AutoScaling::Configuration
- Fog::AWS::AutoScaling::Configurations
- Fog::AWS::AutoScaling::Group
- Fog::AWS::AutoScaling::Groups
- Fog::AWS::AutoScaling::IdentifierTaken
- Fog::AWS::AutoScaling::Instance
- Fog::AWS::AutoScaling::Instances
- Fog::AWS::AutoScaling::Mock
- Fog::AWS::AutoScaling::Policies
- Fog::AWS::AutoScaling::Policy
- Fog::AWS::AutoScaling::Real
- Fog::AWS::AutoScaling::ResourceInUse
- Fog::AWS::AutoScaling::ValidationError
- Fog::AWS::CloudFormation
- Fog::AWS::CloudFormation::Mock
- Fog::AWS::CloudFormation::Real
- Fog::AWS::CloudWatch
- Fog::AWS::CloudWatch::Alarm
- Fog::AWS::CloudWatch::AlarmData
- Fog::AWS::CloudWatch::AlarmDatum
- Fog::AWS::CloudWatch::AlarmHistories
- Fog::AWS::CloudWatch::AlarmHistory
- Fog::AWS::CloudWatch::Alarms
- Fog::AWS::CloudWatch::Metric
- Fog::AWS::CloudWatch::MetricStatistic
- Fog::AWS::CloudWatch::MetricStatistics
- Fog::AWS::CloudWatch::Metrics
- Fog::AWS::CloudWatch::Mock
- Fog::AWS::CloudWatch::Real
- Fog::AWS::CredentialFetcher
- Fog::AWS::CredentialFetcher::ConnectionMethods
- Fog::AWS::CredentialFetcher::ServiceMethods
- Fog::AWS::DataPipeline
- Fog::AWS::DataPipeline::Mock
- Fog::AWS::DataPipeline::Pipeline
- Fog::AWS::DataPipeline::Pipelines
- Fog::AWS::DataPipeline::Real
- Fog::AWS::DynamoDB
- Fog::AWS::DynamoDB::Mock
- Fog::AWS::DynamoDB::Real
- Fog::AWS::ELB
- Fog::AWS::ELB::DuplicatePolicyName
- Fog::AWS::ELB::IdentifierTaken
- Fog::AWS::ELB::InvalidConfigurationRequest
- Fog::AWS::ELB::InvalidInstance
- Fog::AWS::ELB::Listener
- Fog::AWS::ELB::Listeners
- Fog::AWS::ELB::LoadBalancer
- Fog::AWS::ELB::LoadBalancers
- Fog::AWS::ELB::Mock
- Fog::AWS::ELB::Policies
- Fog::AWS::ELB::Policy
- Fog::AWS::ELB::PolicyNotFound
- Fog::AWS::ELB::PolicyTypeNotFound
- Fog::AWS::ELB::Real
- Fog::AWS::ELB::Throttled
- Fog::AWS::ELB::TooManyPolicies
- Fog::AWS::ELB::ValidationError
- Fog::AWS::EMR
- Fog::AWS::EMR::IdentifierTaken
- Fog::AWS::EMR::Mock
- Fog::AWS::EMR::Real
- Fog::AWS::ElasticBeanstalk
- Fog::AWS::ElasticBeanstalk::Application
- Fog::AWS::ElasticBeanstalk::Applications
- Fog::AWS::ElasticBeanstalk::Environment
- Fog::AWS::ElasticBeanstalk::Environments
- Fog::AWS::ElasticBeanstalk::Event
- Fog::AWS::ElasticBeanstalk::Events
- Fog::AWS::ElasticBeanstalk::InvalidParameterError
- Fog::AWS::ElasticBeanstalk::Mock
- Fog::AWS::ElasticBeanstalk::Real
- Fog::AWS::ElasticBeanstalk::Template
- Fog::AWS::ElasticBeanstalk::Templates
- Fog::AWS::ElasticBeanstalk::Version
- Fog::AWS::ElasticBeanstalk::Versions
- Fog::AWS::Elasticache
- Fog::AWS::Elasticache::Cluster
- Fog::AWS::Elasticache::Clusters
- Fog::AWS::Elasticache::IdentifierTaken
- Fog::AWS::Elasticache::InvalidInstance
- Fog::AWS::Elasticache::Mock
- Fog::AWS::Elasticache::ParameterGroup
- Fog::AWS::Elasticache::ParameterGroups
- Fog::AWS::Elasticache::Real
- Fog::AWS::Elasticache::SecurityGroup
- Fog::AWS::Elasticache::SecurityGroups
- Fog::AWS::Glacier
- Fog::AWS::Glacier::Archive
- Fog::AWS::Glacier::Archives
- Fog::AWS::Glacier::Job
- Fog::AWS::Glacier::Jobs
- Fog::AWS::Glacier::Mock
- Fog::AWS::Glacier::Real
- Fog::AWS::Glacier::TreeHash
- Fog::AWS::Glacier::Vault
- Fog::AWS::Glacier::Vaults
- Fog::AWS::IAM
- Fog::AWS::IAM::AccessKey
- Fog::AWS::IAM::AccessKeys
- Fog::AWS::IAM::EntityAlreadyExists
- Fog::AWS::IAM::KeyPairMismatch
- Fog::AWS::IAM::LimitExceeded
- Fog::AWS::IAM::MalformedCertificate
- Fog::AWS::IAM::Mock
- Fog::AWS::IAM::Policies
- Fog::AWS::IAM::Policy
- Fog::AWS::IAM::Real
- Fog::AWS::IAM::Role
- Fog::AWS::IAM::Roles
- Fog::AWS::IAM::User
- Fog::AWS::IAM::Users
- Fog::AWS::IAM::ValidationError
- Fog::AWS::Mock
- Fog::AWS::RDS
- Fog::AWS::RDS::AuthorizationAlreadyExists
- Fog::AWS::RDS::IdentifierTaken
- Fog::AWS::RDS::Mock
- Fog::AWS::RDS::Parameter
- Fog::AWS::RDS::ParameterGroup
- Fog::AWS::RDS::ParameterGroups
- Fog::AWS::RDS::Parameters
- Fog::AWS::RDS::Real
- Fog::AWS::RDS::SecurityGroup
- Fog::AWS::RDS::SecurityGroups
- Fog::AWS::RDS::Server
- Fog::AWS::RDS::Servers
- Fog::AWS::RDS::Snapshot
- Fog::AWS::RDS::Snapshots
- Fog::AWS::RDS::SubnetGroup
- Fog::AWS::RDS::SubnetGroups
- Fog::AWS::SES
- Fog::AWS::SES::Mock
- Fog::AWS::SES::Real
- Fog::AWS::SNS
- Fog::AWS::SNS::Mock
- Fog::AWS::SNS::Real
- Fog::AWS::SQS
- Fog::AWS::SQS::Mock
- Fog::AWS::SQS::Real
- Fog::AWS::STS
- Fog::AWS::STS::EntityAlreadyExists
- Fog::AWS::STS::Mock
- Fog::AWS::STS::Real
- Fog::AWS::STS::ValidationError
- Fog::AWS::SignatureV4
- Fog::AWS::SimpleDB
- Fog::AWS::SimpleDB::Mock
- Fog::AWS::SimpleDB::Real
- Fog::Account
- Fog::Account::StormOnDemand
- Fog::Account::StormOnDemand::Mock
- Fog::Account::StormOnDemand::Real
- Fog::Account::StormOnDemand::Token
- Fog::Account::StormOnDemand::Tokens
- Fog::Atmos
- Fog::Attributes
- Fog::Attributes::ClassMethods
- Fog::Attributes::InstanceMethods
- Fog::BareMetalCloud
- Fog::Billing
- Fog::Billing::StormOnDemand
- Fog::Billing::StormOnDemand::Invoice
- Fog::Billing::StormOnDemand::Invoices
- Fog::Billing::StormOnDemand::Mock
- Fog::Billing::StormOnDemand::Payment
- Fog::Billing::StormOnDemand::Payments
- Fog::Billing::StormOnDemand::Real
- Fog::Bin
- Fog::Bluebox
- Fog::Bluebox::BLB
- Fog::Bluebox::BLB::LbApplication
- Fog::Bluebox::BLB::LbApplications
- Fog::Bluebox::BLB::LbBackend
- Fog::Bluebox::BLB::LbBackends
- Fog::Bluebox::BLB::LbService
- Fog::Bluebox::BLB::LbServices
- Fog::Bluebox::BLB::Mock
- Fog::Bluebox::BLB::Real
- Fog::Bluebox::DNS
- Fog::Bluebox::DNS::Mock
- Fog::Bluebox::DNS::Real
- Fog::Brightbox
- Fog::Brightbox::Compute
- Fog::Brightbox::Compute::ImageSelector
- Fog::CDN
- Fog::CDN::AWS
- Fog::CDN::AWS::Distribution
- Fog::CDN::AWS::DistributionHelper
- Fog::CDN::AWS::Distributions
- Fog::CDN::AWS::DistributionsHelper
- Fog::CDN::AWS::Invalidation
- Fog::CDN::AWS::Invalidations
- Fog::CDN::AWS::Mock
- Fog::CDN::AWS::Real
- Fog::CDN::AWS::StreamingDistribution
- Fog::CDN::AWS::StreamingDistributions
- Fog::CDN::HP
- Fog::CDN::HP::Mock
- Fog::CDN::HP::Real
- Fog::CDN::HP::Utils
- Fog::CDN::Rackspace
- Fog::CDN::Rackspace::Base
- Fog::CDN::Rackspace::Mock
- Fog::CDN::Rackspace::Real
- Fog::Clodo
- Fog::CloudSigma
- Fog::CloudSigma::CloudSigmaConnection
- Fog::CloudSigma::CloudSigmaConnection::Mock
- Fog::CloudSigma::CloudSigmaConnection::Real
- Fog::CloudSigma::CloudsigmaModel
- Fog::CloudSigma::Errors
- Fog::CloudSigma::Errors::Error
- Fog::CloudSigma::Errors::NotFound
- Fog::CloudSigma::Errors::RequestError
- Fog::CloudSigma::Errors::ServerError
- Fog::Cloudstack
- Fog::Collection
- Fog::Compute
- Fog::Compute::AWS
- Fog::Compute::AWS::Address
- Fog::Compute::AWS::Addresses
- Fog::Compute::AWS::DhcpOption
- Fog::Compute::AWS::DhcpOptions
- Fog::Compute::AWS::Flavor
- Fog::Compute::AWS::Flavors
- Fog::Compute::AWS::Image
- Fog::Compute::AWS::Images
- Fog::Compute::AWS::InternetGateway
- Fog::Compute::AWS::InternetGateways
- Fog::Compute::AWS::KeyPair
- Fog::Compute::AWS::KeyPairs
- Fog::Compute::AWS::Mock
- Fog::Compute::AWS::NetworkInterface
- Fog::Compute::AWS::NetworkInterfaces
- Fog::Compute::AWS::Real
- Fog::Compute::AWS::SecurityGroup
- Fog::Compute::AWS::SecurityGroups
- Fog::Compute::AWS::Server
- Fog::Compute::AWS::Servers
- Fog::Compute::AWS::Snapshot
- Fog::Compute::AWS::Snapshots
- Fog::Compute::AWS::SpotRequest
- Fog::Compute::AWS::SpotRequests
- Fog::Compute::AWS::Subnet
- Fog::Compute::AWS::Subnets
- Fog::Compute::AWS::Tag
- Fog::Compute::AWS::Tags
- Fog::Compute::AWS::VPC
- Fog::Compute::AWS::Volume
- Fog::Compute::AWS::Volumes
- Fog::Compute::AWS::Vpcs
- Fog::Compute::BareMetalCloud
- Fog::Compute::BareMetalCloud::Mock
- Fog::Compute::BareMetalCloud::Real
- Fog::Compute::Bluebox
- Fog::Compute::Bluebox::BlockInstantiationError
- Fog::Compute::Bluebox::Flavor
- Fog::Compute::Bluebox::Flavors
- Fog::Compute::Bluebox::Image
- Fog::Compute::Bluebox::Images
- Fog::Compute::Bluebox::Location
- Fog::Compute::Bluebox::Locations
- Fog::Compute::Bluebox::Mock
- Fog::Compute::Bluebox::Real
- Fog::Compute::Bluebox::Server
- Fog::Compute::Bluebox::Servers
- Fog::Compute::Brightbox
- Fog::Compute::Brightbox::Account
- Fog::Compute::Brightbox::Accounts
- Fog::Compute::Brightbox::ApiClient
- Fog::Compute::Brightbox::ApiClients
- Fog::Compute::Brightbox::Application
- Fog::Compute::Brightbox::Applications
- Fog::Compute::Brightbox::CloudIp
- Fog::Compute::Brightbox::CloudIps
- Fog::Compute::Brightbox::FirewallPolicies
- Fog::Compute::Brightbox::FirewallPolicy
- Fog::Compute::Brightbox::FirewallRule
- Fog::Compute::Brightbox::FirewallRules
- Fog::Compute::Brightbox::Flavor
- Fog::Compute::Brightbox::Flavors
- Fog::Compute::Brightbox::Image
- Fog::Compute::Brightbox::Images
- Fog::Compute::Brightbox::LoadBalancer
- Fog::Compute::Brightbox::LoadBalancers
- Fog::Compute::Brightbox::Mock
- Fog::Compute::Brightbox::Real
- Fog::Compute::Brightbox::Server
- Fog::Compute::Brightbox::ServerGroup
- Fog::Compute::Brightbox::ServerGroups
- Fog::Compute::Brightbox::Servers
- Fog::Compute::Brightbox::Shared
- Fog::Compute::Brightbox::User
- Fog::Compute::Brightbox::Users
- Fog::Compute::Brightbox::Zone
- Fog::Compute::Brightbox::Zones
- Fog::Compute::Clodo
- Fog::Compute::Clodo::Image
- Fog::Compute::Clodo::Images
- Fog::Compute::Clodo::Mock
- Fog::Compute::Clodo::Real
- Fog::Compute::Clodo::Server
- Fog::Compute::Clodo::Servers
- Fog::Compute::CloudSigma
- Fog::Compute::CloudSigma::Balance
- Fog::Compute::CloudSigma::CommonMockAndReal
- Fog::Compute::CloudSigma::CurrentUsage
- Fog::Compute::CloudSigma::IP
- Fog::Compute::CloudSigma::IPConf
- Fog::Compute::CloudSigma::Ips
- Fog::Compute::CloudSigma::LibVolume
- Fog::Compute::CloudSigma::LibVolumes
- Fog::Compute::CloudSigma::Mock
- Fog::Compute::CloudSigma::MountPoint
- Fog::Compute::CloudSigma::Nic
- Fog::Compute::CloudSigma::ObjRef
- Fog::Compute::CloudSigma::PriceCalculation
- Fog::Compute::CloudSigma::PriceRecord
- Fog::Compute::CloudSigma::Pricing
- Fog::Compute::CloudSigma::Profile
- Fog::Compute::CloudSigma::Real
- Fog::Compute::CloudSigma::Server
- Fog::Compute::CloudSigma::Servers
- Fog::Compute::CloudSigma::Subscription
- Fog::Compute::CloudSigma::Subscriptions
- Fog::Compute::CloudSigma::UsageRecord
- Fog::Compute::CloudSigma::VLAN
- Fog::Compute::CloudSigma::Vlans
- Fog::Compute::CloudSigma::Volume
- Fog::Compute::CloudSigma::Volumes
- Fog::Compute::Cloudstack
- Fog::Compute::Cloudstack::Address
- Fog::Compute::Cloudstack::BadRequest
- Fog::Compute::Cloudstack::DiskOffering
- Fog::Compute::Cloudstack::DiskOfferings
- Fog::Compute::Cloudstack::Flavor
- Fog::Compute::Cloudstack::Flavors
- Fog::Compute::Cloudstack::Image
- Fog::Compute::Cloudstack::Images
- Fog::Compute::Cloudstack::Job
- Fog::Compute::Cloudstack::Jobs
- Fog::Compute::Cloudstack::Mock
- Fog::Compute::Cloudstack::Real
- Fog::Compute::Cloudstack::SecurityGroup
- Fog::Compute::Cloudstack::SecurityGroupRule
- Fog::Compute::Cloudstack::SecurityGroupRules
- Fog::Compute::Cloudstack::SecurityGroups
- Fog::Compute::Cloudstack::Server
- Fog::Compute::Cloudstack::Servers
- Fog::Compute::Cloudstack::Snapshot
- Fog::Compute::Cloudstack::Snapshots
- Fog::Compute::Cloudstack::Unauthorized
- Fog::Compute::Cloudstack::Volume
- Fog::Compute::Cloudstack::Volumes
- Fog::Compute::Cloudstack::Zone
- Fog::Compute::Cloudstack::Zones
- Fog::Compute::DigitalOcean
- Fog::Compute::DigitalOcean::Flavor
- Fog::Compute::DigitalOcean::Flavors
- Fog::Compute::DigitalOcean::Image
- Fog::Compute::DigitalOcean::Images
- Fog::Compute::DigitalOcean::Mock
- Fog::Compute::DigitalOcean::Real
- Fog::Compute::DigitalOcean::Region
- Fog::Compute::DigitalOcean::Regions
- Fog::Compute::DigitalOcean::Server
- Fog::Compute::DigitalOcean::Servers
- Fog::Compute::DigitalOcean::SshKey
- Fog::Compute::DigitalOcean::SshKeys
- Fog::Compute::Ecloud
- Fog::Compute::Ecloud::AdminOrganization
- Fog::Compute::Ecloud::AdminOrganizations
- Fog::Compute::Ecloud::ApiKey
- Fog::Compute::Ecloud::ApiKeys
- Fog::Compute::Ecloud::Association
- Fog::Compute::Ecloud::Associations
- Fog::Compute::Ecloud::AuthenticationLevel
- Fog::Compute::Ecloud::AuthenticationLevels
- Fog::Compute::Ecloud::BackupInternetService
- Fog::Compute::Ecloud::BackupInternetServices
- Fog::Compute::Ecloud::Catalog
- Fog::Compute::Ecloud::CatalogConfiguration
- Fog::Compute::Ecloud::CatalogConfigurations
- Fog::Compute::Ecloud::CatalogItem
- Fog::Compute::Ecloud::ComputePool
- Fog::Compute::Ecloud::ComputePools
- Fog::Compute::Ecloud::CpuUsageDetail
- Fog::Compute::Ecloud::CpuUsageDetailSummary
- Fog::Compute::Ecloud::DetachedDisk
- Fog::Compute::Ecloud::DetachedDisks
- Fog::Compute::Ecloud::Environment
- Fog::Compute::Ecloud::Environments
- Fog::Compute::Ecloud::Environments::Vdcs
- Fog::Compute::Ecloud::FirewallAcl
- Fog::Compute::Ecloud::FirewallAcls
- Fog::Compute::Ecloud::Group
- Fog::Compute::Ecloud::Groups
- Fog::Compute::Ecloud::GuestProcess
- Fog::Compute::Ecloud::GuestProcesses
- Fog::Compute::Ecloud::HardwareConfiguration
- Fog::Compute::Ecloud::HardwareConfigurations
- Fog::Compute::Ecloud::InternetService
- Fog::Compute::Ecloud::InternetServices
- Fog::Compute::Ecloud::IpAddress
- Fog::Compute::Ecloud::IpAddresses
- Fog::Compute::Ecloud::Layout
- Fog::Compute::Ecloud::Layouts
- Fog::Compute::Ecloud::Location
- Fog::Compute::Ecloud::Locations
- Fog::Compute::Ecloud::LoginBanner
- Fog::Compute::Ecloud::LoginBanners
- Fog::Compute::Ecloud::MemoryUsageDetail
- Fog::Compute::Ecloud::MemoryUsageDetailSummary
- Fog::Compute::Ecloud::Mock
- Fog::Compute::Ecloud::Monitor
- Fog::Compute::Ecloud::Monitors
- Fog::Compute::Ecloud::Network
- Fog::Compute::Ecloud::Networks
- Fog::Compute::Ecloud::Node
- Fog::Compute::Ecloud::Nodes
- Fog::Compute::Ecloud::OperatingSystem
- Fog::Compute::Ecloud::OperatingSystemFamilies
- Fog::Compute::Ecloud::OperatingSystemFamily
- Fog::Compute::Ecloud::OperatingSystems
- Fog::Compute::Ecloud::Organization
- Fog::Compute::Ecloud::Organizations
- Fog::Compute::Ecloud::PasswordComplexityRule
- Fog::Compute::Ecloud::PasswordComplexityRules
- Fog::Compute::Ecloud::PhysicalDevice
- Fog::Compute::Ecloud::PhysicalDevices
- Fog::Compute::Ecloud::PublicIp
- Fog::Compute::Ecloud::PublicIps
- Fog::Compute::Ecloud::Real
- Fog::Compute::Ecloud::Rnat
- Fog::Compute::Ecloud::Rnats
- Fog::Compute::Ecloud::Role
- Fog::Compute::Ecloud::Roles
- Fog::Compute::Ecloud::Row
- Fog::Compute::Ecloud::Rows
- Fog::Compute::Ecloud::Server
- Fog::Compute::Ecloud::ServerConfigurationOption
- Fog::Compute::Ecloud::ServerConfigurationOptions
- Fog::Compute::Ecloud::Servers
- Fog::Compute::Ecloud::Shared
- Fog::Compute::Ecloud::SshKey
- Fog::Compute::Ecloud::SshKeys
- Fog::Compute::Ecloud::StorageUsageDetail
- Fog::Compute::Ecloud::StorageUsageDetailSummary
- Fog::Compute::Ecloud::SupportTicket
- Fog::Compute::Ecloud::SupportTickets
- Fog::Compute::Ecloud::Tag
- Fog::Compute::Ecloud::Tags
- Fog::Compute::Ecloud::Task
- Fog::Compute::Ecloud::Tasks
- Fog::Compute::Ecloud::Template
- Fog::Compute::Ecloud::Templates
- Fog::Compute::Ecloud::TrustedNetworkGroup
- Fog::Compute::Ecloud::TrustedNetworkGroups
- Fog::Compute::Ecloud::User
- Fog::Compute::Ecloud::Users
- Fog::Compute::Ecloud::Vdc
- Fog::Compute::Ecloud::VirtualMachineAssignedIp
- Fog::Compute::Ecloud::VirtualMachineAssignedIps
- Fog::Compute::Glesys
- Fog::Compute::Glesys::Ip
- Fog::Compute::Glesys::Ips
- Fog::Compute::Glesys::Mock
- Fog::Compute::Glesys::Real
- Fog::Compute::Glesys::Server
- Fog::Compute::Glesys::Servers
- Fog::Compute::Glesys::Template
- Fog::Compute::Glesys::Templates
- Fog::Compute::GoGrid
- Fog::Compute::GoGrid::BlockInstantiationError
- Fog::Compute::GoGrid::Image
- Fog::Compute::GoGrid::Images
- Fog::Compute::GoGrid::Mock
- Fog::Compute::GoGrid::Password
- Fog::Compute::GoGrid::Passwords
- Fog::Compute::GoGrid::Real
- Fog::Compute::GoGrid::Server
- Fog::Compute::GoGrid::Servers
- Fog::Compute::Google
- Fog::Compute::Google::Flavor
- Fog::Compute::Google::Flavors
- Fog::Compute::Google::Image
- Fog::Compute::Google::Images
- Fog::Compute::Google::Mock
- Fog::Compute::Google::Real
- Fog::Compute::Google::Server
- Fog::Compute::Google::Servers
- Fog::Compute::HP
- Fog::Compute::HP::Address
- Fog::Compute::HP::Addresses
- Fog::Compute::HP::Flavor
- Fog::Compute::HP::Flavors
- Fog::Compute::HP::Image
- Fog::Compute::HP::Images
- Fog::Compute::HP::KeyPair
- Fog::Compute::HP::KeyPairs
- Fog::Compute::HP::Meta
- Fog::Compute::HP::MetaParent
- Fog::Compute::HP::Metadata
- Fog::Compute::HP::Mock
- Fog::Compute::HP::Real
- Fog::Compute::HP::SecurityGroup
- Fog::Compute::HP::SecurityGroups
- Fog::Compute::HP::Server
- Fog::Compute::HP::Servers
- Fog::Compute::HP::Utils
- Fog::Compute::IBM
- Fog::Compute::IBM::Address
- Fog::Compute::IBM::Addresses
- Fog::Compute::IBM::Image
- Fog::Compute::IBM::Images
- Fog::Compute::IBM::InstanceType
- Fog::Compute::IBM::InstanceTypes
- Fog::Compute::IBM::Key
- Fog::Compute::IBM::Keys
- Fog::Compute::IBM::Location
- Fog::Compute::IBM::Locations
- Fog::Compute::IBM::Mock
- Fog::Compute::IBM::Real
- Fog::Compute::IBM::Server
- Fog::Compute::IBM::Servers
- Fog::Compute::IBM::Vlan
- Fog::Compute::IBM::Vlans
- Fog::Compute::Joyent
- Fog::Compute::Joyent::Errors
- Fog::Compute::Joyent::Errors::BadRequest
- Fog::Compute::Joyent::Errors::Conflict
- Fog::Compute::Joyent::Errors::Forbidden
- Fog::Compute::Joyent::Errors::MessageParserMixin
- Fog::Compute::Joyent::Errors::MethodNotAllowed
- Fog::Compute::Joyent::Errors::NotAcceptable
- Fog::Compute::Joyent::Errors::NotFound
- Fog::Compute::Joyent::Errors::PolicyNotForfilled
- Fog::Compute::Joyent::Errors::RequestEntityTooLarge
- Fog::Compute::Joyent::Errors::RetryWith
- Fog::Compute::Joyent::Errors::ServiceUnavailable
- Fog::Compute::Joyent::Errors::Unauthorized
- Fog::Compute::Joyent::Errors::UnsupportedMediaType
- Fog::Compute::Joyent::Flavor
- Fog::Compute::Joyent::Flavors
- Fog::Compute::Joyent::Image
- Fog::Compute::Joyent::Images
- Fog::Compute::Joyent::Key
- Fog::Compute::Joyent::Keys
- Fog::Compute::Joyent::Mock
- Fog::Compute::Joyent::Network
- Fog::Compute::Joyent::Networks
- Fog::Compute::Joyent::Real
- Fog::Compute::Joyent::Server
- Fog::Compute::Joyent::Servers
- Fog::Compute::Joyent::Snapshot
- Fog::Compute::Joyent::Snapshots
- Fog::Compute::Libvirt
- Fog::Compute::Libvirt::Interface
- Fog::Compute::Libvirt::Interfaces
- Fog::Compute::Libvirt::Mock
- Fog::Compute::Libvirt::Network
- Fog::Compute::Libvirt::Networks
- Fog::Compute::Libvirt::Nic
- Fog::Compute::Libvirt::Nics
- Fog::Compute::Libvirt::Node
- Fog::Compute::Libvirt::Nodes
- Fog::Compute::Libvirt::Pool
- Fog::Compute::Libvirt::Pools
- Fog::Compute::Libvirt::Real
- Fog::Compute::Libvirt::Server
- Fog::Compute::Libvirt::Servers
- Fog::Compute::Libvirt::Shared
- Fog::Compute::Libvirt::Volume
- Fog::Compute::Libvirt::Volumes
- Fog::Compute::LibvirtUtil
- Fog::Compute::LibvirtUtil::URI
- Fog::Compute::Linode
- Fog::Compute::Linode::DataCenter
- Fog::Compute::Linode::DataCenters
- Fog::Compute::Linode::Disk
- Fog::Compute::Linode::Disks
- Fog::Compute::Linode::Flavor
- Fog::Compute::Linode::Flavors
- Fog::Compute::Linode::Image
- Fog::Compute::Linode::Images
- Fog::Compute::Linode::Ip
- Fog::Compute::Linode::Ips
- Fog::Compute::Linode::Kernel
- Fog::Compute::Linode::Kernels
- Fog::Compute::Linode::Mock
- Fog::Compute::Linode::Real
- Fog::Compute::Linode::Server
- Fog::Compute::Linode::Servers
- Fog::Compute::Linode::StackScript
- Fog::Compute::Linode::StackScripts
- Fog::Compute::Ninefold
- Fog::Compute::Ninefold::Address
- Fog::Compute::Ninefold::Addresses
- Fog::Compute::Ninefold::Flavor
- Fog::Compute::Ninefold::Flavors
- Fog::Compute::Ninefold::Image
- Fog::Compute::Ninefold::Images
- Fog::Compute::Ninefold::IpForwardingRule
- Fog::Compute::Ninefold::IpForwardingRules
- Fog::Compute::Ninefold::Mock
- Fog::Compute::Ninefold::Real
- Fog::Compute::Ninefold::Server
- Fog::Compute::Ninefold::Servers
- Fog::Compute::OpenStack
- Fog::Compute::OpenStack::Address
- Fog::Compute::OpenStack::Addresses
- Fog::Compute::OpenStack::Flavor
- Fog::Compute::OpenStack::Flavors
- Fog::Compute::OpenStack::Host
- Fog::Compute::OpenStack::Hosts
- Fog::Compute::OpenStack::Image
- Fog::Compute::OpenStack::Images
- Fog::Compute::OpenStack::KeyPair
- Fog::Compute::OpenStack::KeyPairs
- Fog::Compute::OpenStack::MetaParent
- Fog::Compute::OpenStack::Metadata
- Fog::Compute::OpenStack::Metadatum
- Fog::Compute::OpenStack::Mock
- Fog::Compute::OpenStack::Network
- Fog::Compute::OpenStack::Networks
- Fog::Compute::OpenStack::Real
- Fog::Compute::OpenStack::SecurityGroup
- Fog::Compute::OpenStack::SecurityGroups
- Fog::Compute::OpenStack::Server
- Fog::Compute::OpenStack::Servers
- Fog::Compute::OpenStack::Snapshot
- Fog::Compute::OpenStack::Snapshots
- Fog::Compute::OpenStack::Tenant
- Fog::Compute::OpenStack::Tenants
- Fog::Compute::OpenStack::Volume
- Fog::Compute::OpenStack::Volumes
- Fog::Compute::Openvz
- Fog::Compute::Openvz::Mock
- Fog::Compute::Openvz::Real
- Fog::Compute::Openvz::Server
- Fog::Compute::Openvz::Servers
- Fog::Compute::Ovirt
- Fog::Compute::Ovirt::Cluster
- Fog::Compute::Ovirt::Clusters
- Fog::Compute::Ovirt::Interface
- Fog::Compute::Ovirt::Interfaces
- Fog::Compute::Ovirt::Mock
- Fog::Compute::Ovirt::Quota
- Fog::Compute::Ovirt::Quotas
- Fog::Compute::Ovirt::Real
- Fog::Compute::Ovirt::Server
- Fog::Compute::Ovirt::Servers
- Fog::Compute::Ovirt::Shared
- Fog::Compute::Ovirt::Template
- Fog::Compute::Ovirt::Templates
- Fog::Compute::Ovirt::Volume
- Fog::Compute::Ovirt::Volumes
- Fog::Compute::Rackspace
- Fog::Compute::Rackspace::Flavor
- Fog::Compute::Rackspace::Flavors
- Fog::Compute::Rackspace::Image
- Fog::Compute::Rackspace::Images
- Fog::Compute::Rackspace::Mock
- Fog::Compute::Rackspace::Real
- Fog::Compute::Rackspace::Server
- Fog::Compute::Rackspace::Servers
- Fog::Compute::RackspaceV2
- Fog::Compute::RackspaceV2::Attachment
- Fog::Compute::RackspaceV2::Attachments
- Fog::Compute::RackspaceV2::BadRequest
- Fog::Compute::RackspaceV2::Flavor
- Fog::Compute::RackspaceV2::Flavors
- Fog::Compute::RackspaceV2::Image
- Fog::Compute::RackspaceV2::Images
- Fog::Compute::RackspaceV2::InternalServerError
- Fog::Compute::RackspaceV2::InvalidImageStateException
- Fog::Compute::RackspaceV2::InvalidServerStateException
- Fog::Compute::RackspaceV2::InvalidStateException
- Fog::Compute::RackspaceV2::MetaParent
- Fog::Compute::RackspaceV2::Metadata
- Fog::Compute::RackspaceV2::Metadatum
- Fog::Compute::RackspaceV2::Mock
- Fog::Compute::RackspaceV2::Network
- Fog::Compute::RackspaceV2::Networks
- Fog::Compute::RackspaceV2::Real
- Fog::Compute::RackspaceV2::Server
- Fog::Compute::RackspaceV2::Servers
- Fog::Compute::RackspaceV2::ServiceError
- Fog::Compute::Server
- Fog::Compute::Serverlove
- Fog::Compute::Serverlove::Image
- Fog::Compute::Serverlove::Images
- Fog::Compute::Serverlove::Mock
- Fog::Compute::Serverlove::PasswordGenerator
- Fog::Compute::Serverlove::Real
- Fog::Compute::Serverlove::Server
- Fog::Compute::Serverlove::Servers
- Fog::Compute::StormOnDemand
- Fog::Compute::StormOnDemand::Config
- Fog::Compute::StormOnDemand::Configs
- Fog::Compute::StormOnDemand::Image
- Fog::Compute::StormOnDemand::Images
- Fog::Compute::StormOnDemand::Mock
- Fog::Compute::StormOnDemand::Notification
- Fog::Compute::StormOnDemand::Notifications
- Fog::Compute::StormOnDemand::Product
- Fog::Compute::StormOnDemand::Products
- Fog::Compute::StormOnDemand::Real
- Fog::Compute::StormOnDemand::Server
- Fog::Compute::StormOnDemand::Servers
- Fog::Compute::StormOnDemand::Template
- Fog::Compute::StormOnDemand::Templates
- Fog::Compute::Vmfusion
- Fog::Compute::Vmfusion::Mock
- Fog::Compute::Vmfusion::Real
- Fog::Compute::Vmfusion::Server
- Fog::Compute::Vmfusion::Servers
- Fog::Compute::Voxel
- Fog::Compute::Voxel::Image
- Fog::Compute::Voxel::Images
- Fog::Compute::Voxel::Mock
- Fog::Compute::Voxel::Real
- Fog::Compute::Voxel::Server
- Fog::Compute::Voxel::Servers
- Fog::Compute::Vsphere
- Fog::Compute::Vsphere::Cluster
- Fog::Compute::Vsphere::Clusters
- Fog::Compute::Vsphere::Customfield
- Fog::Compute::Vsphere::Customfields
- Fog::Compute::Vsphere::Customvalue
- Fog::Compute::Vsphere::Customvalues
- Fog::Compute::Vsphere::Datacenter
- Fog::Compute::Vsphere::Datacenters
- Fog::Compute::Vsphere::Datastore
- Fog::Compute::Vsphere::Datastores
- Fog::Compute::Vsphere::Folder
- Fog::Compute::Vsphere::Folders
- Fog::Compute::Vsphere::Interface
- Fog::Compute::Vsphere::Interfaces
- Fog::Compute::Vsphere::Mock
- Fog::Compute::Vsphere::Network
- Fog::Compute::Vsphere::Networks
- Fog::Compute::Vsphere::Real
- Fog::Compute::Vsphere::ResourcePool
- Fog::Compute::Vsphere::ResourcePools
- Fog::Compute::Vsphere::Server
- Fog::Compute::Vsphere::Servers
- Fog::Compute::Vsphere::Shared
- Fog::Compute::Vsphere::Template
- Fog::Compute::Vsphere::Templates
- Fog::Compute::Vsphere::Volume
- Fog::Compute::Vsphere::Volumes
- Fog::Compute::XenServer
- Fog::Compute::XenServer::GuestMetrics
- Fog::Compute::XenServer::Host
- Fog::Compute::XenServer::HostCpu
- Fog::Compute::XenServer::HostMetrics
- Fog::Compute::XenServer::Hosts
- Fog::Compute::XenServer::Mock
- Fog::Compute::XenServer::Network
- Fog::Compute::XenServer::Networks
- Fog::Compute::XenServer::PBD
- Fog::Compute::XenServer::PIF
- Fog::Compute::XenServer::Pbds
- Fog::Compute::XenServer::Pifs
- Fog::Compute::XenServer::Pool
- Fog::Compute::XenServer::Pools
- Fog::Compute::XenServer::Real
- Fog::Compute::XenServer::Server
- Fog::Compute::XenServer::Servers
- Fog::Compute::XenServer::StorageRepositories
- Fog::Compute::XenServer::StorageRepository
- Fog::Compute::XenServer::VBD
- Fog::Compute::XenServer::VDI
- Fog::Compute::XenServer::VIF
- Fog::Compute::XenServer::VLAN
- Fog::Compute::XenServer::VbdMetrics
- Fog::Compute::XenServer::Vbds
- Fog::Compute::XenServer::Vdis
- Fog::Compute::XenServer::Vifs
- Fog::Compute::XenServer::Vlans
- Fog::Connection
- Fog::Core
- Fog::Core::DeprecatedConnectionAccessors
- Fog::CurrentMachine
- Fog::DNS
- Fog::DNS::AWS
- Fog::DNS::AWS::Mock
- Fog::DNS::AWS::Real
- Fog::DNS::AWS::Record
- Fog::DNS::AWS::Records
- Fog::DNS::AWS::Zone
- Fog::DNS::AWS::Zones
- Fog::DNS::Bluebox
- Fog::DNS::Bluebox::Mock
- Fog::DNS::Bluebox::Real
- Fog::DNS::Bluebox::Record
- Fog::DNS::Bluebox::Records
- Fog::DNS::Bluebox::Zone
- Fog::DNS::Bluebox::Zones
- Fog::DNS::DNSMadeEasy
- Fog::DNS::DNSMadeEasy::Mock
- Fog::DNS::DNSMadeEasy::Real
- Fog::DNS::DNSMadeEasy::Record
- Fog::DNS::DNSMadeEasy::Records
- Fog::DNS::DNSMadeEasy::Zone
- Fog::DNS::DNSMadeEasy::Zones
- Fog::DNS::DNSimple
- Fog::DNS::DNSimple::Mock
- Fog::DNS::DNSimple::Real
- Fog::DNS::DNSimple::Record
- Fog::DNS::DNSimple::Records
- Fog::DNS::DNSimple::Zone
- Fog::DNS::DNSimple::Zones
- Fog::DNS::Dreamhost
- Fog::DNS::Dreamhost::Mock
- Fog::DNS::Dreamhost::Real
- Fog::DNS::Dreamhost::Record
- Fog::DNS::Dreamhost::Records
- Fog::DNS::Dreamhost::Zone
- Fog::DNS::Dreamhost::Zones
- Fog::DNS::Dynect
- Fog::DNS::Dynect::JobIncomplete
- Fog::DNS::Dynect::Mock
- Fog::DNS::Dynect::Real
- Fog::DNS::Dynect::Record
- Fog::DNS::Dynect::Records
- Fog::DNS::Dynect::Zone
- Fog::DNS::Dynect::Zones
- Fog::DNS::Linode
- Fog::DNS::Linode::Mock
- Fog::DNS::Linode::Real
- Fog::DNS::Linode::Record
- Fog::DNS::Linode::Records
- Fog::DNS::Linode::Zone
- Fog::DNS::Linode::Zones
- Fog::DNS::Rackspace
- Fog::DNS::Rackspace::Callback
- Fog::DNS::Rackspace::CallbackError
- Fog::DNS::Rackspace::Mock
- Fog::DNS::Rackspace::Real
- Fog::DNS::Rackspace::Record
- Fog::DNS::Rackspace::Records
- Fog::DNS::Rackspace::Zone
- Fog::DNS::Rackspace::Zones
- Fog::DNS::StormOnDemand
- Fog::DNS::StormOnDemand::Domain
- Fog::DNS::StormOnDemand::Domains
- Fog::DNS::StormOnDemand::Mock
- Fog::DNS::StormOnDemand::Real
- Fog::DNS::StormOnDemand::Record
- Fog::DNS::StormOnDemand::Records
- Fog::DNS::StormOnDemand::Reverse
- Fog::DNS::StormOnDemand::Reverses
- Fog::DNS::StormOnDemand::Zone
- Fog::DNS::StormOnDemand::Zones
- Fog::DNS::Zerigo
- Fog::DNS::Zerigo::Mock
- Fog::DNS::Zerigo::Real
- Fog::DNS::Zerigo::Record
- Fog::DNS::Zerigo::Records
- Fog::DNS::Zerigo::Zone
- Fog::DNS::Zerigo::Zones
- Fog::DNSMadeEasy
- Fog::DNSimple
- Fog::Deprecation
- Fog::DigitalOcean
- Fog::Dreamhost
- Fog::Dynect
- Fog::Dynect::Mock
- Fog::Ecloud
- Fog::Ecloud::Collection
- Fog::Ecloud::MockDataClasses
- Fog::Ecloud::MockDataClasses::Base
- Fog::Ecloud::MockDataClasses::MockBackupInternetService
- Fog::Ecloud::MockDataClasses::MockCatalog
- Fog::Ecloud::MockDataClasses::MockCatalogItem
- Fog::Ecloud::MockDataClasses::MockCatalogItemCustomization
- Fog::Ecloud::MockDataClasses::MockCatalogItemVappTemplate
- Fog::Ecloud::MockDataClasses::MockData
- Fog::Ecloud::MockDataClasses::MockFirewallAcls
- Fog::Ecloud::MockDataClasses::MockNetwork
- Fog::Ecloud::MockDataClasses::MockNetworkExtensions
- Fog::Ecloud::MockDataClasses::MockNetworkIp
- Fog::Ecloud::MockDataClasses::MockNetworkIps
- Fog::Ecloud::MockDataClasses::MockOrganization
- Fog::Ecloud::MockDataClasses::MockPublicIp
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetService
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetServiceNode
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetServiceNodes
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetServices
- Fog::Ecloud::MockDataClasses::MockPublicIps
- Fog::Ecloud::MockDataClasses::MockTaskList
- Fog::Ecloud::MockDataClasses::MockVdc
- Fog::Ecloud::MockDataClasses::MockVdcInternetServices
- Fog::Ecloud::MockDataClasses::MockVersion
- Fog::Ecloud::MockDataClasses::MockVirtualMachine
- Fog::Ecloud::MockDataClasses::MockVirtualMachineDisk
- Fog::Ecloud::MockDataClasses::MockVirtualMachineDisks
- Fog::Ecloud::Model
- Fog::Errors
- Fog::Errors::Error
- Fog::Errors::LoadError
- Fog::Errors::MockNotImplemented
- Fog::Errors::NotFound
- Fog::Errors::NotImplemented
- Fog::Errors::TimeoutError
- Fog::Glesys
- Fog::GoGrid
- Fog::Google
- Fog::Google::Mock
- Fog::Google::Storage
- Fog::Google::Storage::Mock
- Fog::Google::Storage::Real
- Fog::HMAC
- Fog::HP
- Fog::HP::BlockStorage
- Fog::HP::BlockStorage::BootableVolumes
- Fog::HP::BlockStorage::Mock
- Fog::HP::BlockStorage::Real
- Fog::HP::BlockStorage::Snapshot
- Fog::HP::BlockStorage::Snapshots
- Fog::HP::BlockStorage::Utils
- Fog::HP::BlockStorage::Volume
- Fog::HP::BlockStorage::Volumes
- Fog::HP::Errors
- Fog::HP::Errors::BadRequest
- Fog::HP::Errors::Conflict
- Fog::HP::Errors::Forbidden
- Fog::HP::Errors::InternalServerError
- Fog::HP::Errors::NotFound
- Fog::HP::Errors::ServiceError
- Fog::HP::Errors::ServiceUnavailable
- Fog::HP::Mock
- Fog::IBM
- Fog::IBM::Connection
- Fog::IBM::Mock
- Fog::Identity
- Fog::Identity::OpenStack
- Fog::Identity::OpenStack::Ec2Credential
- Fog::Identity::OpenStack::Ec2Credentials
- Fog::Identity::OpenStack::Mock
- Fog::Identity::OpenStack::Real
- Fog::Identity::OpenStack::Role
- Fog::Identity::OpenStack::Roles
- Fog::Identity::OpenStack::Tenant
- Fog::Identity::OpenStack::Tenants
- Fog::Identity::OpenStack::User
- Fog::Identity::OpenStack::Users
- Fog::Image
- Fog::Image::OpenStack
- Fog::Image::OpenStack::Image
- Fog::Image::OpenStack::Images
- Fog::Image::OpenStack::Mock
- Fog::Image::OpenStack::Real
- Fog::InternetArchive
- Fog::InternetArchive::Mock
- Fog::InternetArchive::SignatureV4
- Fog::JSON
- Fog::Joyent
- Fog::Libvirt
- Fog::Linode
- Fog::Local
- Fog::Logger
- Fog::Mock
- Fog::Model
- Fog::Monitoring
- Fog::Monitoring::StormOnDemand
- Fog::Monitoring::StormOnDemand::Bandwidth
- Fog::Monitoring::StormOnDemand::Bandwidths
- Fog::Monitoring::StormOnDemand::Load
- Fog::Monitoring::StormOnDemand::Loads
- Fog::Monitoring::StormOnDemand::Mock
- Fog::Monitoring::StormOnDemand::MonitorService
- Fog::Monitoring::StormOnDemand::MonitorServices
- Fog::Monitoring::StormOnDemand::Real
- Fog::Network
- Fog::Network::OpenStack
- Fog::Network::OpenStack::FloatingIp
- Fog::Network::OpenStack::FloatingIps
- Fog::Network::OpenStack::LbHealthMonitor
- Fog::Network::OpenStack::LbHealthMonitors
- Fog::Network::OpenStack::LbMember
- Fog::Network::OpenStack::LbMembers
- Fog::Network::OpenStack::LbPool
- Fog::Network::OpenStack::LbPools
- Fog::Network::OpenStack::LbVip
- Fog::Network::OpenStack::LbVips
- Fog::Network::OpenStack::Mock
- Fog::Network::OpenStack::Network
- Fog::Network::OpenStack::Networks
- Fog::Network::OpenStack::Port
- Fog::Network::OpenStack::Ports
- Fog::Network::OpenStack::Real
- Fog::Network::OpenStack::Router
- Fog::Network::OpenStack::Routers
- Fog::Network::OpenStack::Subnet
- Fog::Network::OpenStack::Subnets
- Fog::Network::StormOnDemand
- Fog::Network::StormOnDemand::Balancer
- Fog::Network::StormOnDemand::Balancers
- Fog::Network::StormOnDemand::Firewall
- Fog::Network::StormOnDemand::Firewalls
- Fog::Network::StormOnDemand::Mock
- Fog::Network::StormOnDemand::NetworkIP
- Fog::Network::StormOnDemand::NetworkIPs
- Fog::Network::StormOnDemand::Pool
- Fog::Network::StormOnDemand::Pools
- Fog::Network::StormOnDemand::PrivateIp
- Fog::Network::StormOnDemand::PrivateIps
- Fog::Network::StormOnDemand::Real
- Fog::Network::StormOnDemand::Ruleset
- Fog::Network::StormOnDemand::Rulesets
- Fog::Network::StormOnDemand::Zone
- Fog::Network::StormOnDemand::Zones
- Fog::Ninefold
- Fog::OpenStack
- Fog::OpenStack::Errors
- Fog::OpenStack::Errors::BadRequest
- Fog::OpenStack::Errors::ServiceError
- Fog::OpenStack::Errors::ServiceUnavailable
- Fog::Openvz
- Fog::Ovirt
- Fog::Ovirt::Errors
- Fog::Ovirt::Errors::NotFound
- Fog::Ovirt::Errors::SecurityError
- Fog::Ovirt::Errors::ServiceError
- Fog::Parsers
- Fog::Parsers::AWS
- Fog::Parsers::AWS::AutoScaling
- Fog::Parsers::AWS::AutoScaling::Basic
- Fog::Parsers::AWS::AutoScaling::DescribeAdjustmentTypes
- Fog::Parsers::AWS::AutoScaling::DescribeAutoScalingGroups
- Fog::Parsers::AWS::AutoScaling::DescribeAutoScalingInstances
- Fog::Parsers::AWS::AutoScaling::DescribeAutoScalingNotificationTypes
- Fog::Parsers::AWS::AutoScaling::DescribeLaunchConfigurations
- Fog::Parsers::AWS::AutoScaling::DescribeMetricCollectionTypes
- Fog::Parsers::AWS::AutoScaling::DescribeNotificationConfigurations
- Fog::Parsers::AWS::AutoScaling::DescribePolicies
- Fog::Parsers::AWS::AutoScaling::DescribeScalingActivities
- Fog::Parsers::AWS::AutoScaling::DescribeScalingProcessTypes
- Fog::Parsers::AWS::AutoScaling::DescribeScheduledActions
- Fog::Parsers::AWS::AutoScaling::DescribeTags
- Fog::Parsers::AWS::AutoScaling::DescribeTerminationPolicyTypes
- Fog::Parsers::AWS::AutoScaling::PutNotificationConfiguration
- Fog::Parsers::AWS::AutoScaling::PutScalingPolicy
- Fog::Parsers::AWS::AutoScaling::TerminateInstanceInAutoScalingGroup
- Fog::Parsers::AWS::CloudFormation
- Fog::Parsers::AWS::CloudFormation::Basic
- Fog::Parsers::AWS::CloudFormation::CreateStack
- Fog::Parsers::AWS::CloudFormation::DescribeStackEvents
- Fog::Parsers::AWS::CloudFormation::DescribeStackResources
- Fog::Parsers::AWS::CloudFormation::DescribeStacks
- Fog::Parsers::AWS::CloudFormation::GetTemplate
- Fog::Parsers::AWS::CloudFormation::ListStackResources
- Fog::Parsers::AWS::CloudFormation::ListStacks
- Fog::Parsers::AWS::CloudFormation::UpdateStack
- Fog::Parsers::AWS::CloudFormation::ValidateTemplate
- Fog::Parsers::AWS::CloudWatch
- Fog::Parsers::AWS::CloudWatch::DeleteAlarms
- Fog::Parsers::AWS::CloudWatch::DescribeAlarmHistory
- Fog::Parsers::AWS::CloudWatch::DescribeAlarms
- Fog::Parsers::AWS::CloudWatch::DescribeAlarmsForMetric
- Fog::Parsers::AWS::CloudWatch::DisableAlarmActions
- Fog::Parsers::AWS::CloudWatch::EnableAlarmActions
- Fog::Parsers::AWS::CloudWatch::GetMetricStatistics
- Fog::Parsers::AWS::CloudWatch::ListMetrics
- Fog::Parsers::AWS::CloudWatch::PutMetricAlarm
- Fog::Parsers::AWS::CloudWatch::PutMetricData
- Fog::Parsers::AWS::CloudWatch::SetAlarmState
- Fog::Parsers::AWS::ELB
- Fog::Parsers::AWS::ELB::ApplySecurityGroupsToLoadBalancer
- Fog::Parsers::AWS::ELB::AttachLoadBalancerToSubnets
- Fog::Parsers::AWS::ELB::ConfigureHealthCheck
- Fog::Parsers::AWS::ELB::CreateLoadBalancer
- Fog::Parsers::AWS::ELB::DeleteLoadBalancer
- Fog::Parsers::AWS::ELB::DeregisterInstancesFromLoadBalancer
- Fog::Parsers::AWS::ELB::DescribeInstanceHealth
- Fog::Parsers::AWS::ELB::DescribeLoadBalancerPolicies
- Fog::Parsers::AWS::ELB::DescribeLoadBalancerPolicyTypes
- Fog::Parsers::AWS::ELB::DescribeLoadBalancers
- Fog::Parsers::AWS::ELB::DetachLoadBalancerFromSubnets
- Fog::Parsers::AWS::ELB::DisableAvailabilityZonesForLoadBalancer
- Fog::Parsers::AWS::ELB::Empty
- Fog::Parsers::AWS::ELB::EnableAvailabilityZonesForLoadBalancer
- Fog::Parsers::AWS::ELB::RegisterInstancesWithLoadBalancer
- Fog::Parsers::AWS::EMR
- Fog::Parsers::AWS::EMR::AddInstanceGroups
- Fog::Parsers::AWS::EMR::AddJobFlowSteps
- Fog::Parsers::AWS::EMR::DescribeJobFlows
- Fog::Parsers::AWS::EMR::ModifyInstanceGroups
- Fog::Parsers::AWS::EMR::RunJobFlow
- Fog::Parsers::AWS::EMR::SetTerminationProtection
- Fog::Parsers::AWS::EMR::TerminateJobFlows
- Fog::Parsers::AWS::ElasticBeanstalk
- Fog::Parsers::AWS::ElasticBeanstalk::BaseParser
- Fog::Parsers::AWS::ElasticBeanstalk::CheckDNSAvailability
- Fog::Parsers::AWS::ElasticBeanstalk::CreateApplication
- Fog::Parsers::AWS::ElasticBeanstalk::CreateApplicationVersion
- Fog::Parsers::AWS::ElasticBeanstalk::CreateConfigurationTemplate
- Fog::Parsers::AWS::ElasticBeanstalk::CreateEnvironment
- Fog::Parsers::AWS::ElasticBeanstalk::CreateStorageLocation
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeApplicationVersions
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeApplications
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeConfigurationOptions
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeConfigurationSettings
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeEnvironmentResources
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeEnvironments
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeEvents
- Fog::Parsers::AWS::ElasticBeanstalk::Empty
- Fog::Parsers::AWS::ElasticBeanstalk::ListAvailableSolutionStacks
- Fog::Parsers::AWS::ElasticBeanstalk::RetrieveEnvironmentInfo
- Fog::Parsers::AWS::ElasticBeanstalk::TerminateEnvironment
- Fog::Parsers::AWS::ElasticBeanstalk::UpdateApplication
- Fog::Parsers::AWS::ElasticBeanstalk::UpdateApplicationVersion
- Fog::Parsers::AWS::ElasticBeanstalk::UpdateConfigurationTemplate
- Fog::Parsers::AWS::ElasticBeanstalk::UpdateEnvironment
- Fog::Parsers::AWS::ElasticBeanstalk::ValidateConfigurationSettings
- Fog::Parsers::AWS::Elasticache
- Fog::Parsers::AWS::Elasticache::AuthorizeCacheSecurityGroupIngress
- Fog::Parsers::AWS::Elasticache::Base
- Fog::Parsers::AWS::Elasticache::CacheClusterParser
- Fog::Parsers::AWS::Elasticache::DescribeCacheClusters
- Fog::Parsers::AWS::Elasticache::DescribeCacheParameters
- Fog::Parsers::AWS::Elasticache::DescribeEngineDefaultParameters
- Fog::Parsers::AWS::Elasticache::DescribeParameterGroups
- Fog::Parsers::AWS::Elasticache::DescribeReservedCacheNodes
- Fog::Parsers::AWS::Elasticache::DescribeSecurityGroups
- Fog::Parsers::AWS::Elasticache::EngineDefaultsParser
- Fog::Parsers::AWS::Elasticache::EventListParser
- Fog::Parsers::AWS::Elasticache::ModifyParameterGroup
- Fog::Parsers::AWS::Elasticache::ParameterGroupParser
- Fog::Parsers::AWS::Elasticache::ResetParameterGroup
- Fog::Parsers::AWS::Elasticache::SecurityGroupParser
- Fog::Parsers::AWS::Elasticache::SingleCacheCluster
- Fog::Parsers::AWS::Elasticache::SingleParameterGroup
- Fog::Parsers::AWS::Elasticache::SingleSecurityGroup
- Fog::Parsers::AWS::IAM
- Fog::Parsers::AWS::IAM::BaseInstanceProfile
- Fog::Parsers::AWS::IAM::Basic
- Fog::Parsers::AWS::IAM::CreateAccessKey
- Fog::Parsers::AWS::IAM::CreateGroup
- Fog::Parsers::AWS::IAM::CreateUser
- Fog::Parsers::AWS::IAM::GetGroup
- Fog::Parsers::AWS::IAM::GetGroupPolicy
- Fog::Parsers::AWS::IAM::GetRolePolicy
- Fog::Parsers::AWS::IAM::GetUser
- Fog::Parsers::AWS::IAM::GetUserPolicy
- Fog::Parsers::AWS::IAM::InstanceProfile
- Fog::Parsers::AWS::IAM::ListAccessKeys
- Fog::Parsers::AWS::IAM::ListAccountAliases
- Fog::Parsers::AWS::IAM::ListGroups
- Fog::Parsers::AWS::IAM::ListGroupsForUser
- Fog::Parsers::AWS::IAM::ListInstanceProfiles
- Fog::Parsers::AWS::IAM::ListPolicies
- Fog::Parsers::AWS::IAM::ListRoles
- Fog::Parsers::AWS::IAM::ListServerCertificates
- Fog::Parsers::AWS::IAM::ListSigningCertificates
- Fog::Parsers::AWS::IAM::ListUsers
- Fog::Parsers::AWS::IAM::LoginProfile
- Fog::Parsers::AWS::IAM::RoleParser
- Fog::Parsers::AWS::IAM::SingleRole
- Fog::Parsers::AWS::IAM::UpdateGroup
- Fog::Parsers::AWS::IAM::UpdateUser
- Fog::Parsers::AWS::IAM::UploadServerCertificate
- Fog::Parsers::AWS::IAM::UploadSigningCertificate
- Fog::Parsers::AWS::RDS
- Fog::Parsers::AWS::RDS::AuthorizeDBSecurityGroupIngress
- Fog::Parsers::AWS::RDS::Base
- Fog::Parsers::AWS::RDS::CreateDBInstance
- Fog::Parsers::AWS::RDS::CreateDBInstanceReadReplica
- Fog::Parsers::AWS::RDS::CreateDBSecurityGroup
- Fog::Parsers::AWS::RDS::CreateDBSnapshot
- Fog::Parsers::AWS::RDS::CreateDBSubnetGroup
- Fog::Parsers::AWS::RDS::CreateDbParameterGroup
- Fog::Parsers::AWS::RDS::DBEngineVersionParser
- Fog::Parsers::AWS::RDS::DbParser
- Fog::Parsers::AWS::RDS::DeleteDBInstance
- Fog::Parsers::AWS::RDS::DeleteDBSecurityGroup
- Fog::Parsers::AWS::RDS::DeleteDBSnapshot
- Fog::Parsers::AWS::RDS::DeleteDbParameterGroup
- Fog::Parsers::AWS::RDS::DescribeDBEngineVersions
- Fog::Parsers::AWS::RDS::DescribeDBInstances
- Fog::Parsers::AWS::RDS::DescribeDBParameterGroups
- Fog::Parsers::AWS::RDS::DescribeDBParameters
- Fog::Parsers::AWS::RDS::DescribeDBReservedInstances
- Fog::Parsers::AWS::RDS::DescribeDBSecurityGroups
- Fog::Parsers::AWS::RDS::DescribeDBSnapshots
- Fog::Parsers::AWS::RDS::DescribeDBSubnetGroups
- Fog::Parsers::AWS::RDS::EventListParser
- Fog::Parsers::AWS::RDS::ModifyDBInstance
- Fog::Parsers::AWS::RDS::ModifyDbParameterGroup
- Fog::Parsers::AWS::RDS::RebootDBInstance
- Fog::Parsers::AWS::RDS::RestoreDBInstanceFromDBSnapshot
- Fog::Parsers::AWS::RDS::RestoreDBInstanceToPointInTime
- Fog::Parsers::AWS::RDS::RevokeDBSecurityGroupIngress
- Fog::Parsers::AWS::RDS::SecurityGroupParser
- Fog::Parsers::AWS::RDS::SnapshotParser
- Fog::Parsers::AWS::RDS::SubnetGroupParser
- Fog::Parsers::AWS::RDS::TagListParser
- Fog::Parsers::AWS::SES
- Fog::Parsers::AWS::SES::DeleteVerifiedEmailAddress
- Fog::Parsers::AWS::SES::GetSendQuota
- Fog::Parsers::AWS::SES::GetSendStatistics
- Fog::Parsers::AWS::SES::ListVerifiedEmailAddresses
- Fog::Parsers::AWS::SES::SendEmail
- Fog::Parsers::AWS::SES::SendRawEmail
- Fog::Parsers::AWS::SES::VerifyEmailAddress
- Fog::Parsers::AWS::SNS
- Fog::Parsers::AWS::SNS::AddPermission
- Fog::Parsers::AWS::SNS::ConfirmSubscription
- Fog::Parsers::AWS::SNS::CreateTopic
- Fog::Parsers::AWS::SNS::DeleteTopic
- Fog::Parsers::AWS::SNS::GetTopicAttributes
- Fog::Parsers::AWS::SNS::ListSubscriptions
- Fog::Parsers::AWS::SNS::ListTopics
- Fog::Parsers::AWS::SNS::Publish
- Fog::Parsers::AWS::SNS::RemovePermission
- Fog::Parsers::AWS::SNS::SetTopicAttributes
- Fog::Parsers::AWS::SNS::Subscribe
- Fog::Parsers::AWS::SNS::Unsubscribe
- Fog::Parsers::AWS::SQS
- Fog::Parsers::AWS::SQS::Basic
- Fog::Parsers::AWS::SQS::CreateQueue
- Fog::Parsers::AWS::SQS::GetQueueAttributes
- Fog::Parsers::AWS::SQS::ListQueues
- Fog::Parsers::AWS::SQS::ReceiveMessage
- Fog::Parsers::AWS::SQS::SendMessage
- Fog::Parsers::AWS::STS
- Fog::Parsers::AWS::STS::GetSessionToken
- Fog::Parsers::AWS::SimpleDB
- Fog::Parsers::AWS::SimpleDB::Basic
- Fog::Parsers::AWS::SimpleDB::DomainMetadata
- Fog::Parsers::AWS::SimpleDB::GetAttributes
- Fog::Parsers::AWS::SimpleDB::ListDomains
- Fog::Parsers::AWS::SimpleDB::Select
- Fog::Parsers::Base
- Fog::Parsers::CDN
- Fog::Parsers::CDN::AWS
- Fog::Parsers::CDN::AWS::Distribution
- Fog::Parsers::CDN::AWS::GetDistributionList
- Fog::Parsers::CDN::AWS::GetInvalidation
- Fog::Parsers::CDN::AWS::GetInvalidationList
- Fog::Parsers::CDN::AWS::GetStreamingDistributionList
- Fog::Parsers::CDN::AWS::PostInvalidation
- Fog::Parsers::CDN::AWS::StreamingDistribution
- Fog::Parsers::Compute
- Fog::Parsers::Compute::AWS
- Fog::Parsers::Compute::AWS::AllocateAddress
- Fog::Parsers::Compute::AWS::AssociateAddress
- Fog::Parsers::Compute::AWS::AssociateDhcpOptions
- Fog::Parsers::Compute::AWS::AttachInternetGateway
- Fog::Parsers::Compute::AWS::AttachNetworkInterface
- Fog::Parsers::Compute::AWS::AttachVolume
- Fog::Parsers::Compute::AWS::Basic
- Fog::Parsers::Compute::AWS::CancelSpotInstanceRequests
- Fog::Parsers::Compute::AWS::CopyImage
- Fog::Parsers::Compute::AWS::CopySnapshot
- Fog::Parsers::Compute::AWS::CreateDhcpOptions
- Fog::Parsers::Compute::AWS::CreateImage
- Fog::Parsers::Compute::AWS::CreateInternetGateway
- Fog::Parsers::Compute::AWS::CreateKeyPair
- Fog::Parsers::Compute::AWS::CreateNetworkInterface
- Fog::Parsers::Compute::AWS::CreateSecurityGroup
- Fog::Parsers::Compute::AWS::CreateSnapshot
- Fog::Parsers::Compute::AWS::CreateSubnet
- Fog::Parsers::Compute::AWS::CreateVolume
- Fog::Parsers::Compute::AWS::CreateVpc
- Fog::Parsers::Compute::AWS::DeleteDhcpOptions
- Fog::Parsers::Compute::AWS::DeleteInternetGateway
- Fog::Parsers::Compute::AWS::DeleteNetworkInterface
- Fog::Parsers::Compute::AWS::DeleteSubnet
- Fog::Parsers::Compute::AWS::DeleteVpc
- Fog::Parsers::Compute::AWS::DeregisterImage
- Fog::Parsers::Compute::AWS::DescribeAddresses
- Fog::Parsers::Compute::AWS::DescribeAvailabilityZones
- Fog::Parsers::Compute::AWS::DescribeDhcpOptions
- Fog::Parsers::Compute::AWS::DescribeImages
- Fog::Parsers::Compute::AWS::DescribeInstanceStatus
- Fog::Parsers::Compute::AWS::DescribeInstances
- Fog::Parsers::Compute::AWS::DescribeInternetGateways
- Fog::Parsers::Compute::AWS::DescribeKeyPairs
- Fog::Parsers::Compute::AWS::DescribeNetworkInterfaceAttribute
- Fog::Parsers::Compute::AWS::DescribeNetworkInterfaces
- Fog::Parsers::Compute::AWS::DescribePlacementGroups
- Fog::Parsers::Compute::AWS::DescribeRegions
- Fog::Parsers::Compute::AWS::DescribeReservedInstances
- Fog::Parsers::Compute::AWS::DescribeReservedInstancesOfferings
- Fog::Parsers::Compute::AWS::DescribeSecurityGroups
- Fog::Parsers::Compute::AWS::DescribeSnapshots
- Fog::Parsers::Compute::AWS::DescribeSpotPriceHistory
- Fog::Parsers::Compute::AWS::DescribeSubnets
- Fog::Parsers::Compute::AWS::DescribeTags
- Fog::Parsers::Compute::AWS::DescribeVolumeStatus
- Fog::Parsers::Compute::AWS::DescribeVolumes
- Fog::Parsers::Compute::AWS::DescribeVpcs
- Fog::Parsers::Compute::AWS::DetachInternetGateway
- Fog::Parsers::Compute::AWS::DetachNetworkInterface
- Fog::Parsers::Compute::AWS::DetachVolume
- Fog::Parsers::Compute::AWS::GetConsoleOutput
- Fog::Parsers::Compute::AWS::GetPasswordData
- Fog::Parsers::Compute::AWS::ImportKeyPair
- Fog::Parsers::Compute::AWS::MonitorUnmonitorInstances
- Fog::Parsers::Compute::AWS::NetworkInterfaceParser
- Fog::Parsers::Compute::AWS::PurchaseReservedInstancesOffering
- Fog::Parsers::Compute::AWS::RegisterImage
- Fog::Parsers::Compute::AWS::RunInstances
- Fog::Parsers::Compute::AWS::SpotDatafeedSubscription
- Fog::Parsers::Compute::AWS::SpotInstanceRequests
- Fog::Parsers::Compute::AWS::StartStopInstances
- Fog::Parsers::Compute::AWS::TerminateInstances
- Fog::Parsers::Compute::Voxel
- Fog::Parsers::Compute::Voxel::Basic
- Fog::Parsers::Compute::Voxel::DevicesList
- Fog::Parsers::Compute::Voxel::ImagesList
- Fog::Parsers::Compute::Voxel::VoxcloudCreate
- Fog::Parsers::Compute::Voxel::VoxcloudDelete
- Fog::Parsers::Compute::Voxel::VoxcloudStatus
- Fog::Parsers::DNS
- Fog::Parsers::DNS::AWS
- Fog::Parsers::DNS::AWS::ChangeResourceRecordSets
- Fog::Parsers::DNS::AWS::CreateHostedZone
- Fog::Parsers::DNS::AWS::DeleteHostedZone
- Fog::Parsers::DNS::AWS::GetChange
- Fog::Parsers::DNS::AWS::GetHostedZone
- Fog::Parsers::DNS::AWS::ListHostedZones
- Fog::Parsers::DNS::AWS::ListResourceRecordSets
- Fog::Parsers::DNS::Bluebox
- Fog::Parsers::DNS::Bluebox::CreateRecord
- Fog::Parsers::DNS::Bluebox::CreateZone
- Fog::Parsers::DNS::Bluebox::GetRecord
- Fog::Parsers::DNS::Bluebox::GetRecords
- Fog::Parsers::DNS::Bluebox::GetZone
- Fog::Parsers::DNS::Bluebox::GetZones
- Fog::Parsers::DNS::Zerigo
- Fog::Parsers::DNS::Zerigo::CountHosts
- Fog::Parsers::DNS::Zerigo::CountZones
- Fog::Parsers::DNS::Zerigo::CreateHost
- Fog::Parsers::DNS::Zerigo::CreateZone
- Fog::Parsers::DNS::Zerigo::FindHosts
- Fog::Parsers::DNS::Zerigo::GetHost
- Fog::Parsers::DNS::Zerigo::GetZone
- Fog::Parsers::DNS::Zerigo::GetZoneStats
- Fog::Parsers::DNS::Zerigo::ListHosts
- Fog::Parsers::DNS::Zerigo::ListZones
- Fog::Parsers::Storage
- Fog::Parsers::Storage::AWS
- Fog::Parsers::Storage::AWS::AccessControlList
- Fog::Parsers::Storage::AWS::CompleteMultipartUpload
- Fog::Parsers::Storage::AWS::CopyObject
- Fog::Parsers::Storage::AWS::CorsConfiguration
- Fog::Parsers::Storage::AWS::DeleteMultipleObjects
- Fog::Parsers::Storage::AWS::GetBucket
- Fog::Parsers::Storage::AWS::GetBucketLifecycle
- Fog::Parsers::Storage::AWS::GetBucketLocation
- Fog::Parsers::Storage::AWS::GetBucketLogging
- Fog::Parsers::Storage::AWS::GetBucketObjectVersions
- Fog::Parsers::Storage::AWS::GetBucketVersioning
- Fog::Parsers::Storage::AWS::GetBucketWebsite
- Fog::Parsers::Storage::AWS::GetRequestPayment
- Fog::Parsers::Storage::AWS::GetService
- Fog::Parsers::Storage::AWS::InitiateMultipartUpload
- Fog::Parsers::Storage::AWS::ListMultipartUploads
- Fog::Parsers::Storage::AWS::ListParts
- Fog::Parsers::Storage::Google
- Fog::Parsers::Storage::Google::AccessControlList
- Fog::Parsers::Storage::Google::CopyObject
- Fog::Parsers::Storage::Google::GetBucket
- Fog::Parsers::Storage::Google::GetBucketObjectVersions
- Fog::Parsers::Storage::Google::GetBucketVersioning
- Fog::Parsers::Storage::Google::GetRequestPayment
- Fog::Parsers::Storage::Google::GetService
- Fog::Parsers::Storage::InternetArchive
- Fog::Parsers::Storage::InternetArchive::AccessControlList
- Fog::Parsers::Storage::InternetArchive::CompleteMultipartUpload
- Fog::Parsers::Storage::InternetArchive::CopyObject
- Fog::Parsers::Storage::InternetArchive::CorsConfiguration
- Fog::Parsers::Storage::InternetArchive::DeleteMultipleObjects
- Fog::Parsers::Storage::InternetArchive::GetBucket
- Fog::Parsers::Storage::InternetArchive::GetBucketLifecycle
- Fog::Parsers::Storage::InternetArchive::GetBucketLocation
- Fog::Parsers::Storage::InternetArchive::GetBucketLogging
- Fog::Parsers::Storage::InternetArchive::GetBucketWebsite
- Fog::Parsers::Storage::InternetArchive::GetRequestPayment
- Fog::Parsers::Storage::InternetArchive::GetService
- Fog::Parsers::Storage::InternetArchive::InitiateMultipartUpload
- Fog::Parsers::Storage::InternetArchive::ListMultipartUploads
- Fog::Parsers::Storage::InternetArchive::ListParts
- Fog::Parsers::Terremark
- Fog::Parsers::Terremark::Shared
- Fog::Parsers::Terremark::Shared::GetCatalog
- Fog::Parsers::Terremark::Shared::GetCatalogItem
- Fog::Parsers::Terremark::Shared::GetInternetServices
- Fog::Parsers::Terremark::Shared::GetKeysList
- Fog::Parsers::Terremark::Shared::GetNetworkIps
- Fog::Parsers::Terremark::Shared::GetNodeServices
- Fog::Parsers::Terremark::Shared::GetOrganization
- Fog::Parsers::Terremark::Shared::GetOrganizations
- Fog::Parsers::Terremark::Shared::GetPublicIps
- Fog::Parsers::Terremark::Shared::GetTasksList
- Fog::Parsers::Terremark::Shared::GetVappTemplate
- Fog::Parsers::Terremark::Shared::GetVdc
- Fog::Parsers::Terremark::Shared::InstantiateVappTemplate
- Fog::Parsers::Terremark::Shared::InternetService
- Fog::Parsers::Terremark::Shared::Network
- Fog::Parsers::Terremark::Shared::NodeService
- Fog::Parsers::Terremark::Shared::PublicIp
- Fog::Parsers::Terremark::Shared::Task
- Fog::Parsers::Terremark::Shared::Vapp
- Fog::Parsers::XenServer
- Fog::Parsers::XenServer::Base
- Fog::Parsers::XenServer::GetHosts
- Fog::Parsers::XenServer::GetNetworks
- Fog::Parsers::XenServer::GetPools
- Fog::Parsers::XenServer::GetRecords
- Fog::Parsers::XenServer::GetStorageRepositories
- Fog::Parsers::XenServer::GetVBDs
- Fog::Parsers::XenServer::GetVIFs
- Fog::Parsers::XenServer::GetVms
- Fog::Provider
- Fog::Rackspace
- Fog::Rackspace::BlockStorage
- Fog::Rackspace::BlockStorage::BadRequest
- Fog::Rackspace::BlockStorage::IdentifierTaken
- Fog::Rackspace::BlockStorage::InternalServerError
- Fog::Rackspace::BlockStorage::Mock
- Fog::Rackspace::BlockStorage::Real
- Fog::Rackspace::BlockStorage::ServiceError
- Fog::Rackspace::BlockStorage::Snapshot
- Fog::Rackspace::BlockStorage::Snapshots
- Fog::Rackspace::BlockStorage::Volume
- Fog::Rackspace::BlockStorage::VolumeType
- Fog::Rackspace::BlockStorage::VolumeTypes
- Fog::Rackspace::BlockStorage::Volumes
- Fog::Rackspace::Databases
- Fog::Rackspace::Databases::BadRequest
- Fog::Rackspace::Databases::Database
- Fog::Rackspace::Databases::Databases
- Fog::Rackspace::Databases::Flavor
- Fog::Rackspace::Databases::Flavors
- Fog::Rackspace::Databases::Instance
- Fog::Rackspace::Databases::Instances
- Fog::Rackspace::Databases::InternalServerError
- Fog::Rackspace::Databases::Mock
- Fog::Rackspace::Databases::Real
- Fog::Rackspace::Databases::ServiceError
- Fog::Rackspace::Databases::User
- Fog::Rackspace::Databases::Users
- Fog::Rackspace::Errors
- Fog::Rackspace::Errors::BadRequest
- Fog::Rackspace::Errors::Conflict
- Fog::Rackspace::Errors::InternalServerError
- Fog::Rackspace::Errors::ServiceError
- Fog::Rackspace::Errors::ServiceUnavailable
- Fog::Rackspace::Identity
- Fog::Rackspace::Identity::Credential
- Fog::Rackspace::Identity::Credentials
- Fog::Rackspace::Identity::Mock
- Fog::Rackspace::Identity::Real
- Fog::Rackspace::Identity::Role
- Fog::Rackspace::Identity::Roles
- Fog::Rackspace::Identity::ServiceCatalog
- Fog::Rackspace::Identity::Tenant
- Fog::Rackspace::Identity::Tenants
- Fog::Rackspace::Identity::User
- Fog::Rackspace::Identity::Users
- Fog::Rackspace::LoadBalancers
- Fog::Rackspace::LoadBalancers::AccessRule
- Fog::Rackspace::LoadBalancers::AccessRules
- Fog::Rackspace::LoadBalancers::BadRequest
- Fog::Rackspace::LoadBalancers::InternalServerError
- Fog::Rackspace::LoadBalancers::LoadBalancer
- Fog::Rackspace::LoadBalancers::LoadBalancers
- Fog::Rackspace::LoadBalancers::Mock
- Fog::Rackspace::LoadBalancers::Node
- Fog::Rackspace::LoadBalancers::Nodes
- Fog::Rackspace::LoadBalancers::Real
- Fog::Rackspace::LoadBalancers::ServiceError
- Fog::Rackspace::LoadBalancers::Shared
- Fog::Rackspace::LoadBalancers::VirtualIp
- Fog::Rackspace::LoadBalancers::VirtualIps
- Fog::Rackspace::MockData
- Fog::Rackspace::Service
- Fog::Rake
- Fog::Rake::ChangelogTask
- Fog::Rake::TestTask
- Fog::RiakCS
- Fog::RiakCS::MultipartUtils
- Fog::RiakCS::MultipartUtils::Headers
- Fog::RiakCS::Provisioning
- Fog::RiakCS::Provisioning::Mock
- Fog::RiakCS::Provisioning::Real
- Fog::RiakCS::Provisioning::ServiceUnavailable
- Fog::RiakCS::Provisioning::UserAlreadyExists
- Fog::RiakCS::Usage
- Fog::RiakCS::Usage::Mock
- Fog::RiakCS::Usage::Real
- Fog::RiakCS::Usage::Utils
- Fog::RiakCS::UserUtils
- Fog::RiakCS::Utils
- Fog::SCP
- Fog::SCP::Mock
- Fog::SCP::Real
- Fog::SSH
- Fog::SSH::Mock
- Fog::SSH::Real
- Fog::SSH::Result
- Fog::Schema
- Fog::Schema::DataValidator
- Fog::Serverlove
- Fog::Service
- Fog::Service::Collections
- Fog::Service::Error
- Fog::Service::NoLeakInspector
- Fog::Service::NotFound
- Fog::Storage
- Fog::Storage::AWS
- Fog::Storage::AWS::Directories
- Fog::Storage::AWS::Directory
- Fog::Storage::AWS::File
- Fog::Storage::AWS::Files
- Fog::Storage::AWS::GetObjectHttpUrl
- Fog::Storage::AWS::GetObjectHttpsUrl
- Fog::Storage::AWS::GetObjectUrl
- Fog::Storage::AWS::Mock
- Fog::Storage::AWS::PutObjectUrl
- Fog::Storage::AWS::Real
- Fog::Storage::AWS::Utils
- Fog::Storage::AWS::Version
- Fog::Storage::AWS::Versions
- Fog::Storage::Atmos
- Fog::Storage::Atmos::Directories
- Fog::Storage::Atmos::Directory
- Fog::Storage::Atmos::File
- Fog::Storage::Atmos::Files
- Fog::Storage::Atmos::Mock
- Fog::Storage::Atmos::Real
- Fog::Storage::Atmos::Utils
- Fog::Storage::Google
- Fog::Storage::Google::Directories
- Fog::Storage::Google::Directory
- Fog::Storage::Google::File
- Fog::Storage::Google::Files
- Fog::Storage::Google::GetObjectHttpUrl
- Fog::Storage::Google::GetObjectHttpsUrl
- Fog::Storage::Google::Mock
- Fog::Storage::Google::Real
- Fog::Storage::Google::Utils
- Fog::Storage::HP
- Fog::Storage::HP::Directories
- Fog::Storage::HP::Directory
- Fog::Storage::HP::File
- Fog::Storage::HP::Files
- Fog::Storage::HP::Mock
- Fog::Storage::HP::Real
- Fog::Storage::HP::SharedDirectories
- Fog::Storage::HP::SharedDirectory
- Fog::Storage::HP::SharedFile
- Fog::Storage::HP::SharedFiles
- Fog::Storage::HP::Utils
- Fog::Storage::IAAttributes
- Fog::Storage::IAAttributes::ClassMethods
- Fog::Storage::IAAttributes::InstanceMethods
- Fog::Storage::IBM
- Fog::Storage::IBM::Mock
- Fog::Storage::IBM::Offering
- Fog::Storage::IBM::Offerings
- Fog::Storage::IBM::Real
- Fog::Storage::IBM::Volume
- Fog::Storage::IBM::Volumes
- Fog::Storage::InternetArchive
- Fog::Storage::InternetArchive::Directories
- Fog::Storage::InternetArchive::Directory
- Fog::Storage::InternetArchive::File
- Fog::Storage::InternetArchive::Files
- Fog::Storage::InternetArchive::GetObjectHttpUrl
- Fog::Storage::InternetArchive::GetObjectHttpsUrl
- Fog::Storage::InternetArchive::GetObjectUrl
- Fog::Storage::InternetArchive::Mock
- Fog::Storage::InternetArchive::PutObjectUrl
- Fog::Storage::InternetArchive::Real
- Fog::Storage::InternetArchive::Utils
- Fog::Storage::Local
- Fog::Storage::Local::Directories
- Fog::Storage::Local::Directory
- Fog::Storage::Local::File
- Fog::Storage::Local::Files
- Fog::Storage::Local::Mock
- Fog::Storage::Local::Real
- Fog::Storage::Ninefold
- Fog::Storage::Ninefold::Mock
- Fog::Storage::Ninefold::Real
- Fog::Storage::Ninefold::Utils
- Fog::Storage::OpenStack
- Fog::Storage::OpenStack::Directories
- Fog::Storage::OpenStack::Directory
- Fog::Storage::OpenStack::File
- Fog::Storage::OpenStack::Files
- Fog::Storage::OpenStack::Mock
- Fog::Storage::OpenStack::Real
- Fog::Storage::Rackspace
- Fog::Storage::Rackspace::Account
- Fog::Storage::Rackspace::BadRequest
- Fog::Storage::Rackspace::Directories
- Fog::Storage::Rackspace::Directory
- Fog::Storage::Rackspace::File
- Fog::Storage::Rackspace::Files
- Fog::Storage::Rackspace::InternalServerError
- Fog::Storage::Rackspace::Metadata
- Fog::Storage::Rackspace::Mock
- Fog::Storage::Rackspace::Real
- Fog::Storage::Rackspace::ServiceError
- Fog::Storage::Rackspace::Utils
- Fog::Storage::StormOnDemand
- Fog::Storage::StormOnDemand::Cluster
- Fog::Storage::StormOnDemand::Clusters
- Fog::Storage::StormOnDemand::Mock
- Fog::Storage::StormOnDemand::Real
- Fog::Storage::StormOnDemand::Volume
- Fog::Storage::StormOnDemand::Volumes
- Fog::StormOnDemand
- Fog::StormOnDemand::RealShared
- Fog::Support
- Fog::Support::StormOnDemand
- Fog::Support::StormOnDemand::Alert
- Fog::Support::StormOnDemand::Alerts
- Fog::Support::StormOnDemand::Mock
- Fog::Support::StormOnDemand::Real
- Fog::Support::StormOnDemand::Ticket
- Fog::Support::StormOnDemand::Tickets
- Fog::Terremark
- Fog::Terremark::Shared
- Fog::Terremark::Shared::Address
- Fog::Terremark::Shared::Addresses
- Fog::Terremark::Shared::Common
- Fog::Terremark::Shared::Image
- Fog::Terremark::Shared::Images
- Fog::Terremark::Shared::InternetService
- Fog::Terremark::Shared::InternetServices
- Fog::Terremark::Shared::Mock
- Fog::Terremark::Shared::Network
- Fog::Terremark::Shared::Networks
- Fog::Terremark::Shared::NodeService
- Fog::Terremark::Shared::NodeServices
- Fog::Terremark::Shared::Parser
- Fog::Terremark::Shared::Real
- Fog::Terremark::Shared::Server
- Fog::Terremark::Shared::Servers
- Fog::Terremark::Shared::Task
- Fog::Terremark::Shared::Tasks
- Fog::Terremark::Shared::Vdc
- Fog::Terremark::Shared::Vdcs
- Fog::Terremark::Vcloud
- Fog::Terremark::Vcloud::Bin
- Fog::Terremark::Vcloud::Defaults
- Fog::Terremark::Vcloud::Mock
- Fog::Terremark::Vcloud::Real
- Fog::Time
- Fog::ToHashDocument
- Fog::VPN
- Fog::VPN::StormOnDemand
- Fog::VPN::StormOnDemand::Mock
- Fog::VPN::StormOnDemand::Real
- Fog::VPN::StormOnDemand::Vpn
- Fog::VPN::StormOnDemand::Vpns
- Fog::Vcloud
- Fog::Vcloud::Collection
- Fog::Vcloud::Compute
- Fog::Vcloud::Compute::Catalog
- Fog::Vcloud::Compute::CatalogItem
- Fog::Vcloud::Compute::CatalogItems
- Fog::Vcloud::Compute::Catalogs
- Fog::Vcloud::Compute::Helpers
- Fog::Vcloud::Compute::Helpers::Status
- Fog::Vcloud::Compute::Ip
- Fog::Vcloud::Compute::Ips
- Fog::Vcloud::Compute::Mock
- Fog::Vcloud::Compute::Network
- Fog::Vcloud::Compute::Networks
- Fog::Vcloud::Compute::Organization
- Fog::Vcloud::Compute::Organizations
- Fog::Vcloud::Compute::Real
- Fog::Vcloud::Compute::Server
- Fog::Vcloud::Compute::Servers
- Fog::Vcloud::Compute::Shared
- Fog::Vcloud::Compute::Tag
- Fog::Vcloud::Compute::Tags
- Fog::Vcloud::Compute::Task
- Fog::Vcloud::Compute::Tasks
- Fog::Vcloud::Compute::Vapp
- Fog::Vcloud::Compute::Vapps
- Fog::Vcloud::Compute::Vdc
- Fog::Vcloud::Compute::Vdcs
- Fog::Vcloud::Model
- Fog::Vmfusion
- Fog::Volume
- Fog::Volume::OpenStack
- Fog::Volume::OpenStack::Mock
- Fog::Volume::OpenStack::Real
- Fog::Volume::OpenStack::Volume
- Fog::Volume::OpenStack::Volumes
- Fog::Voxel
- Fog::Vsphere
- Fog::Vsphere::Errors
- Fog::Vsphere::Errors::NotFound
- Fog::Vsphere::Errors::SecurityError
- Fog::Vsphere::Errors::ServiceError
- Fog::XenServer
- Fog::XenServer::Connection
- Fog::XenServer::InvalidLogin
- Fog::XenServer::NokogiriStreamParser
- Fog::XenServer::NotFound
- Fog::XenServer::RequestFailed
- Fog::Zerigo
- Brightbox
- Brightbox::OAuth2
- Brightbox::OAuth2::ClientCredentialsStrategy
- Brightbox::OAuth2::CredentialSet
- Brightbox::OAuth2::GrantTypeStrategy
- Brightbox::OAuth2::RefreshTokenStrategy
- Brightbox::OAuth2::UserCredentialsStrategy
- AWS
- Atmos
- BareMetalCloud
- Bluebox
- Clodo
- CloudSigma
- Cloudstack
- DNSMadeEasy
- DNSimple
- DigitalOcean
- Dreamhost
- Dynect
- Ecloud
- Glesys
- GoGrid
- Google
- HP
- Hash
- IBM
- IPAddr
- InternetArchive
- Joyent
- Libvirt
- Linode
- Local
- Ninefold
- Object
- OpenStack
- Openvz
- Ovirt
- Rackspace
- RiakCS
- Serverlove
- StormOnDemand
- String
- Terremark
- TerremarkParser
- VAppStatus
- Vcloud
- Vmfusion
- Voxel
- Vsphere
- XenServer
- Zerigo

No matching classes.

# Fog::Compute::Vsphere::Real

### Public Class Methods

new(options={}) click to toggle source

    # File lib/fog/vsphere/compute.rb, line 194
    def initialize(options={})
      require 'rbvmomi'
      @vsphere_username = options[:vsphere_username]
      @vsphere_password = options[:vsphere_password]
      @vsphere_server   = options[:vsphere_server]
      @vsphere_port     = options[:vsphere_port] || 443
      @vsphere_path     = options[:vsphere_path] || '/sdk'
      @vsphere_ns       = options[:vsphere_ns] || 'urn:vim25'
      @vsphere_rev      = options[:vsphere_rev] || '4.0'
      @vsphere_ssl      = options[:vsphere_ssl] || true
      @vsphere_expected_pubkey_hash = options[:vsphere_expected_pubkey_hash]
      @vsphere_must_reauthenticate = false

      @connection = nil
      # This is a state variable to allow digest validation of the SSL cert
      bad_cert = false
      loop do
        begin
          @connection = RbVmomi::VIM.new :host => @vsphere_server,
                                         :port => @vsphere_port,
                                         :path => @vsphere_path,
                                         :ns   => @vsphere_ns,
                                         :rev  => @vsphere_rev,
                                         :ssl  => @vsphere_ssl,
                                         :insecure => bad_cert
          break
        rescue OpenSSL::SSL::SSLError
          raise if bad_cert
          bad_cert = true
        end
      end

      if bad_cert then
        validate_ssl_connection
      end

      # Negotiate the API revision
      if not options[:vsphere_rev]
        rev = @connection.serviceContent.about.apiVersion
        @connection.rev = [ rev, ENV['FOG_VSPHERE_REV'] || '4.1' ].min
      end

      @vsphere_is_vcenter = @connection.serviceContent.about.apiType == "VirtualCenter"
      @vsphere_rev = @connection.rev

      authenticate
    end

### Public Instance Methods

add_vm_interface(vmid, options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/modify_vm_interface.rb, line 6
    def add_vm_interface(vmid, options = {})
      raise ArgumentError, "instance id is a required parameter" unless vmid

      interface=get_interface_from_options(vmid, options)
      vm_reconfig_hardware('instance_uuid' => vmid, 'hardware_spec' => {'deviceChange'=>[create_interface(interface)]})
    end

create_folder(datacenter, path, name) click to toggle source

    # File lib/fog/vsphere/requests/compute/create_folder.rb, line 5
    def create_folder(datacenter, path, name)
      #Path cannot be nil but it can be an empty string
      raise ArgumentError, "Path cannot be nil" if path.nil?

      parent_folder = get_raw_vmfolder(path, datacenter)
      begin
        new_folder = parent_folder.CreateFolder(:name => name)
        # output is cleaned up to return the new path
        # new path will be path/name, example: "Production/Pool1"
        new_folder.path.reject { |a| a.first.class == "Folder" }.collect { |a| a.first.name }.join("/").sub(/^\/?Datacenters\/#{datacenter}\/vm\/?/, '')
      rescue => e
        raise e, "failed to create folder: #{e}"
      end
    end

create_vm(attributes = { }) click to toggle source

    # File lib/fog/vsphere/requests/compute/create_vm.rb, line 5
    def create_vm attributes = { }
      # build up vm configuration

      vm_cfg        = {
        :name         => attributes[:name],
        :guestId      => attributes[:guest_id],
        :files        => { :vmPathName => vm_path_name(attributes) },
        :numCPUs      => attributes[:cpus],
        :memoryMB     => attributes[:memory_mb],
        :deviceChange => device_change(attributes),
        :extraConfig  => extra_config(attributes),
      }
      resource_pool = if attributes[:resource_pool]
                        get_raw_resource_pool(attributes[:resource_pool], attributes[:cluster], attributes[:datacenter])
                      else
                        get_raw_cluster(attributes[:cluster], attributes[:datacenter]).resourcePool
                      end
      vmFolder      = get_raw_vmfolder(attributes[:path], attributes[:datacenter])
      vm            = vmFolder.CreateVM_Task(:config => vm_cfg, :pool => resource_pool).wait_for_completion
      vm.config.instanceUuid
    rescue => e
      raise e, "failed to create vm: #{e}"
    end

current_time() click to toggle source

    # File lib/fog/vsphere/requests/compute/current_time.rb, line 6
    def current_time
      current_time = @connection.serviceInstance.CurrentTime
      { 'current_time' => current_time }
    end

destroy_vm_interface(vmid, options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/modify_vm_interface.rb, line 13
    def destroy_vm_interface(vmid, options = {})
      raise ArgumentError, "instance id is a required parameter" unless vmid

      interface=get_vm_interface(vmid, options)
      vm_reconfig_hardware('instance_uuid' => vmid, 'hardware_spec' => {'deviceChange'=>[create_interface(interface, interface.key, :remove)]})
    end

get_cluster(name, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_cluster.rb, line 5
    def get_cluster(name, datacenter_name)
      cluster = get_raw_cluster(name, datacenter_name)
      raise(Fog::Compute::Vsphere::NotFound) unless cluster
      cluster_attributes(cluster, datacenter_name)
    end

get_datacenter(name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_datacenter.rb, line 5
    def get_datacenter name
      dc = find_raw_datacenter(name)
      raise(Fog::Compute::Vsphere::NotFound) unless dc
      {:name => dc.name, :status => dc.overallStatus}
    end

get_datastore(name, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_datastore.rb, line 5
    def get_datastore(name, datacenter_name)
      datastore = get_raw_datastore(name, datacenter_name)
      raise(Fog::Compute::Vsphere::NotFound) unless datastore
      datastore_attributes(datastore, datacenter_name)
    end

get_folder(path, datacenter_name, type = nil) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_folder.rb, line 5
    def get_folder(path, datacenter_name, type = nil)
      type ||= 'vm'

      # Cycle through all types of folders.
      case type
        when 'vm', :vm
          # if you're a vm then grab the VM.
          folder = get_raw_vmfolder(path, datacenter_name)
          raise(Fog::Compute::Vsphere::NotFound) unless folder
          folder_attributes(folder, datacenter_name)
        when 'network', :network
          raise "not implemented"
        when 'datastore', :datastore
          raise "not implemented"
        else
          raise ArgumentError, "#{type} is unknown"
      end
    end

get_network(name, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_network.rb, line 5
    def get_network(name, datacenter_name)
      network = get_raw_network(name, datacenter_name)
      raise(Fog::Compute::Vsphere::NotFound) unless network
      network_attributes(network, datacenter_name)
    end

get_resource_pool(name, cluster_name, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_resource_pool.rb, line 5
    def get_resource_pool(name, cluster_name, datacenter_name)
      resource_pool = get_raw_resource_pool(name, cluster_name, datacenter_name)
      raise(Fog::Compute::Vsphere::NotFound) unless resource_pool
      resource_pool_attributes(resource_pool, cluster_name, datacenter_name)
    end

get_template(id, datacenter_name = nil) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_template.rb, line 5
    def get_template(id, datacenter_name = nil)
      convert_vm_mob_ref_to_attr_hash(get_vm_ref(id, datacenter_name))
    end

get_virtual_machine(id, datacenter_name = nil) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_virtual_machine.rb, line 5
    def get_virtual_machine(id, datacenter_name = nil)
      convert_vm_mob_ref_to_attr_hash(get_vm_ref(id, datacenter_name))
    end

get_vm_interface(vm_id, options={}) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_vm_interfaces.rb, line 46
    def get_vm_interface(vm_id, options={})
      raise ArgumentError, "instance id is a required parameter" unless vm_id
      if options.is_a? Fog::Compute::Vsphere::Interface
        options
      else
        raise ArgumentError, "Either key or name is a required parameter. options: #{options}" unless options.has_key? :key or options.has_key? :mac or options.has_key? :name
        list_vm_interfaces(vm_id).find do | nic |
          (options.has_key? :key and nic[:key]==options[:key].to_i) or (options.has_key? :mac and nic[:mac]==options[:mac]) or (options.has_key? :name and nic[:name]==options[:name])
        end
      end
    end

list_clusters(filters = { }) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_clusters.rb, line 5
    def list_clusters(filters = { })
      datacenter_name = filters[:datacenter]

      raw_clusters(datacenter_name).map do |cluster|
        cluster_attributes(cluster, datacenter_name)
      end
    end

list_customfields() click to toggle source

    # File lib/fog/vsphere/requests/compute/list_customfields.rb, line 5
    def list_customfields()
      @connection.serviceContent.customFieldsManager.field.map do |customfield|
        {
          :key   => customfield.key.to_i,
          :name  => customfield.name,
          :type  => customfield.type
        }
      end
    end

list_datacenters(filters = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_datacenters.rb, line 6
    def list_datacenters filters = {}
      raw_datacenters.map do |dc|
        {
          :id => managed_obj_id(dc),
          :name => dc.name,
          :status => dc.overallStatus
        }
      end
    end

list_datastores(filters = { }) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_datastores.rb, line 5
    def list_datastores(filters = { })
      datacenter_name = filters[:datacenter]
      # default to show all datastores
      only_active = filters[:accessible] || false
      raw_datastores(datacenter_name).map do |datastore|
        next if only_active and !datastore.summary.accessible
        datastore_attributes(datastore, datacenter_name)
      end.compact
    end

list_folders(filters = { }) click to toggle source

Grabs all sub folders within a given path folder.

#### Parameters

- filters<~Hash>:

  - :datacenter<~String> - REQUIRED Your datacenter where you're looking for folders. Example: 'my-datacenter-name' (passed if you are using the models/collections)

        eg: vspconn.datacenters.first.vm_folders('mypath')

  - :path<~String> - Your path where you're looking for more folders, if return = none you will get an error. If you don't define it will look in the main datacenter folder for any folders in that datacenter.

Example Usage Testing Only:

    vspconn = Fog::Compute[:vsphere]
    mydc = vspconn.datacenters.first
    folders = mydc.vm_folders

    # File lib/fog/vsphere/requests/compute/list_folders.rb, line 23
    def list_folders(filters = { })
      path            = filters[:path] || filters['path'] || ''
      datacenter_name = filters[:datacenter]
      get_raw_vmfolders(path, datacenter_name).map do |folder|
        folder_attributes(folder, datacenter_name)
      end
    end

list_networks(filters = { }) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_networks.rb, line 5
    def list_networks(filters = { })
      datacenter_name = filters[:datacenter]
      # default to show all networks
      only_active = filters[:accessible] || false
      raw_networks(datacenter_name).map do |network|
        next if only_active and !network.summary.accessible
        network_attributes(network, datacenter_name)
      end.compact
    end

list_resource_pools(filters = { }) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_resource_pools.rb, line 5
    def list_resource_pools(filters = { })
      datacenter_name = filters[:datacenter]
      cluster_name    = filters[:cluster]
      cluster         = get_raw_cluster(cluster_name, datacenter_name)
      list_raw_resource_pools(cluster).map do |resource_pool|
        resource_pool_attributes(resource_pool, cluster_name, datacenter_name)
      end
    end

list_templates(options = { }) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_templates.rb, line 5
    def list_templates(options = { })
      options[:folder] ||= options['folder']
      if options[:folder] then
        list_all_templates_in_folder(options[:folder], options[:datacenter])
      else
        list_all_templates(options)
      end
    end

list_virtual_machines(options = { }) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_virtual_machines.rb, line 5
    def list_virtual_machines(options = { })
      # Listing all VM's can be quite slow and expensive.  Try and optimize
      # based on the available options we have.  These conditions are in
      # ascending order of time to complete for large deployments.

      options[:folder] ||= options['folder']
      if options['instance_uuid'] then
        [service.get_virtual_machine(options['instance_uuid'])]
      elsif options[:folder] && options[:datacenter] then
        list_all_virtual_machines_in_folder(options[:folder], options[:datacenter])
      else
        list_all_virtual_machines(options)
      end
    end

list_vm_customvalues(vm_id) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_vm_customvalues.rb, line 5
    def list_vm_customvalues(vm_id)
      get_vm_ref(vm_id).summary.customValue.map do |customvalue|
        {
          :key    => customvalue.key.to_i,
          :value  => customvalue.value,
        }
      end

    end

list_vm_interfaces(vm_id) click to toggle source

    => VirtualE1000(

addressType: "assigned", backing: VirtualEthernetCardNetworkBackingInfo(

    deviceName: "VM Network",
    dynamicProperty: [],
    network: Network("network-163"),
    useAutoDetect: false

), connectable: VirtualDeviceConnectInfo(

    allowGuestControl: true,
    connected: true,
    dynamicProperty: [],
    startConnected: true,
    status: "ok"

), controllerKey: 100, deviceInfo: Description(

    dynamicProperty: [],
    label: "Network adapter 1",
    summary: "VM Network"

), dynamicProperty: [], key: 4000, macAddress: "00:50:56:a9:00:28", unitNumber: 7,

    # File lib/fog/vsphere/requests/compute/list_vm_interfaces.rb, line 31
    def list_vm_interfaces(vm_id)
      get_vm_ref(vm_id).config.hardware.device.grep(RbVmomi::VIM::VirtualEthernetCard).map do |nic|
        {
          :name    => nic.deviceInfo.label,
          :mac     => nic.macAddress,
          :network => nic.backing.respond_to?("network") ? nic.backing.network.name : nic.backing.port.portgroupKey,
          :status  => nic.connectable.status,
          :summary => nic.deviceInfo.summary,
          :type    => nic.class,
          :key     => nic.key,
        }
      end

    end

list_vm_volumes(vm_id) click to toggle source

    [VirtualDisk(
     backing: VirtualDiskFlatVer2BackingInfo(
       contentId: "a172d19487e878e17d6b16ff2505d7eb",
       datastore: Datastore("datastore-162"),
       diskMode: "persistent",
       dynamicProperty: [],
       fileName: "[Storage1] rhel6-mfojtik/rhel6-mfojtik.vmdk",
       split: false,
       thinProvisioned: true,
       uuid: "6000C29c-a47d-4cd9-5249-c371de775f06",
       writeThrough: false
     ),
     capacityInKB: 8388608,
     controllerKey: 1000,
     deviceInfo: Description(
       dynamicProperty: [],
       label: "Hard disk 1",
       summary: "8,388,608 KB"
     ),
     dynamicProperty: [],
     key: 2001,
     shares: SharesInfo( dynamicProperty: [], level: "normal", shares: 1000 ),
     unitNumber: 1

)]

    # File lib/fog/vsphere/requests/compute/list_vm_volumes.rb, line 30
    def list_vm_volumes(vm_id)
      get_vm_ref(vm_id).disks.map do |vol|
        {
          :id => vol.backing.uuid,
          :thin => vol.backing.thinProvisioned,
          :mode => vol.backing.diskMode,
          :filename => vol.backing.fileName,
          :datastore => (vol.backing.datastore.name rescue(nil)),
          :size => vol.capacityInKB,
          :name => vol.deviceInfo.label
        }
      end
    end

raw_clusters(datacenter) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_clusters.rb, line 13
    def raw_clusters(datacenter)
      find_raw_datacenter(datacenter).hostFolder.childEntity.grep(RbVmomi::VIM::ClusterComputeResource)
    end

raw_datastores(datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_datastores.rb, line 15
    def raw_datastores(datacenter_name)
      find_raw_datacenter(datacenter_name).datastore
    end

raw_networks(datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_networks.rb, line 15
    def raw_networks(datacenter_name)
      find_raw_datacenter(datacenter_name).network
    end

update_vm_interface(vmid, options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/modify_vm_interface.rb, line 20
    def update_vm_interface(vmid, options = {})
      raise ArgumentError, "instance id is a required parameter" unless vmid

      interface=get_vm_interface(vmid, options)
      vm_reconfig_hardware('instance_uuid' => vmid, 'hardware_spec' => {'deviceChange'=>[create_interface(interface, interface.key, :edit)]})
    end

vm_clone(options = {}) click to toggle source

Clones a VM from a template or existing machine on your vSphere Server.

#### Parameters

- options<~Hash>:

  - 'datacenter'<~String> - REQUIRED Datacenter name your cloning in. Make sure this datacenter exists, should if you're using the clone function in server.rb model.

  - 'template_path'<~String> - REQUIRED The path to the machine you want to clone FROM. Relative to Datacenter (Example: "FolderNameHere/VMNameHere")

  - 'name'<~String> - REQUIRED The VMName of the Destination

  - 'dest_folder'<~String> - Destination Folder of where 'name' will be placed on your cluster. Relative Path to Datacenter E.G. "FolderPlaceHere/anotherSub Folder/onemore"

  - 'power_on'<~Boolean> - Whether to power on machine after clone. Defaults to true.

  - 'wait'<~Boolean> - Whether the method should wait for the virtual machine to finish cloning before returning information from vSphere. Broken right now as you cannot return a model of a serer that isn't finished cloning. Defaults to True

  - 'resource_pool'<~Array> - The resource pool on your datacenter cluster you want to use. Only works with clusters within same same datacenter as where you're cloning from. Datacenter grabbed from template_path option. Example: ['cluster_name_here','resource_pool_name_here']

  - 'datastore'<~String> - The datastore you'd like to use.

        (datacenterObj.datastoreFolder.find('name') in API)

  - 'transform'<~String> - Not documented - see www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.RelocateSpec.html

  - 'numCPUs'<~Integer> - the number of Virtual CPUs of the Destination VM

  - 'memoryMB'<~Integer> - the size of memory of the Destination VM in MB

  - customization_spec<~Hash>: Options are marked as required if you use this customization_spec. Static IP Settings not configured. This only support cloning and setting DHCP on the first interface

    - 'domain'<~String> - REQUIRED This is put into /etc/resolve.conf (we hope)

    - 'hostname'<~String> - Hostname of the Guest Os - default is options

    - 'hw_utc_clock'<~Boolean> - REQUIRED Is hardware clock UTC? Default true

    - 'time_zone'<~String> - REQUIRED Only valid linux options are valid - example: 'America/Denver'

    # File lib/fog/vsphere/requests/compute/vm_clone.rb, line 74
    def vm_clone(options = {})
      # Option handling
      options = vm_clone_check_options(options)

      # Added for people still using options['path']
      template_path = options['path'] || options['template_path']

      # Default wait enabled
      options['wait'] = true

      # Options['template_path']<~String>
      # Added for people still using options['path']
      template_path = options['path'] || options['template_path']
      # Now find the template itself using the efficient find method
      vm_mob_ref = get_vm_ref(template_path, options['datacenter'])

      # Options['dest_folder']<~String>
      # Grab the destination folder object if it exists else use cloned mach
      dest_folder = get_raw_vmfolder(options['dest_folder'], options['datacenter']) if options.has_key?('dest_folder')
      dest_folder ||= vm_mob_ref.parent

      # Options['resource_pool']<~Array>
      # Now find _a_ resource pool to use for the clone if one is not specified
      if ( options.has_key?('resource_pool') && options['resource_pool'].is_a?(Array) && options['resource_pool'].length == 2 )
        cluster_name = options['resource_pool'][0]
        pool_name = options['resource_pool'][1]
        resource_pool = get_raw_resource_pool(pool_name, cluster_name, options['datacenter'])
      elsif ( vm_mob_ref.resourcePool == nil )
        # If the template is really a template then there is no associated resource pool,
        # so we need to find one using the template's parent host or cluster
        esx_host = vm_mob_ref.collect!('runtime.host')['runtime.host']
        # The parent of the ESX host itself is a ComputeResource which has a resourcePool
        resource_pool = esx_host.parent.resourcePool
      end
      # If the vm given did return a valid resource pool, default to using it for the clone.
      # Even if specific pools aren't implemented in this environment, we will still get back
      # at least the cluster or host we can pass on to the clone task
      # This catches if resource_pool option is set but comes back nil and if resourcePool is
      # already set.
      resource_pool ||= vm_mob_ref.resourcePool.nil? ? esx_host.parent.resourcePool : vm_mob_ref.resourcePool

      # Options['datastore']<~String>
      # Grab the datastore object if option is set
      datastore_obj = get_raw_datastore(options['datastore'], options['datacenter']) if options.has_key?('datastore')
      # confirm nil if nil or option is not set
      datastore_obj ||= nil
      virtual_machine_config_spec = RbVmomi::VIM::VirtualMachineConfigSpec()

      # Options['network']
      # Build up the config spec
      if ( options.has_key?('network_label') )
        #network_obj = datacenter_obj.networkFolder.find(options['network_label'])
        config_spec_operation = RbVmomi::VIM::VirtualDeviceConfigSpecOperation('edit')
        nic_backing_info = RbVmomi::VIM::VirtualEthernetCardNetworkBackingInfo(:deviceName => options['network_label'])
          #:deviceName => "Network adapter 1",
          #:network => network_obj)
        connectable = RbVmomi::VIM::VirtualDeviceConnectInfo(
          :allowGuestControl => true,
          :connected => true,
          :startConnected => true)
        device = RbVmomi::VIM::VirtualE1000(
          :backing => nic_backing_info,
          :deviceInfo => RbVmomi::VIM::Description(:label => "Network adapter 1", :summary => options['network_label']),
          :key => options['network_adapter_device_key'],
          :connectable => connectable)
        device_spec = RbVmomi::VIM::VirtualDeviceConfigSpec(
          :operation => config_spec_operation,
          :device => device)
        virtual_machine_config_spec.deviceChange = [device_spec]
      end
      # Options['numCPUs'] or Options['memoryMB']
      # Build up the specification for Hardware, for more details see ____________
      # https://github.com/rlane/rbvmomi/blob/master/test/test_serialization.rb
      virtual_machine_config_spec.numCPUs = options['numCPUs'] if  ( options.has_key?('numCPUs') )
      virtual_machine_config_spec.memoryMB = options['memoryMB'] if ( options.has_key?('memoryMB') )
      # Options['customization_spec']
      # Build up all the crappy tiered objects like the perl method
      # Collect your variables ifset (writing at 11pm revist me)
      # * domain <~String> - *REQUIRED* - Sets the server's domain for customization
      # * ipsettings <~Hash> - Optional - If not set defaults to dhcp
      #  * ip <~String> - *REQUIRED* Sets the ip address of the VM - Example: 10.0.0.10
      #  * dnsServerList <~Array> - Optional - Sets the nameservers in resolv - Example: ["10.0.0.2", "10.0.0.3"]
      #  * gateway <~Array> - Optional - Sets the gateway for the interface - Example: ["10.0.0.1"]
      #  * subnetMask <~String> - *REQUIRED* - Set the netmask of the interface - Example: "255.255.255.0"
      #    For other ip settings options see http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.customization.IPSettings.html
      if ( options.has_key?('customization_spec') )
        cust_options = options['customization_spec']
        if cust_options.has_key?("ipsettings")
          raise ArgumentError, "ip and subnetMask is required for static ip" unless cust_options["ipsettings"].has_key?("ip") and
                                                                                    cust_options["ipsettings"].has_key?("subnetMask")
        end
        raise ArgumentError, "domain is required" unless cust_options.has_key?("domain")
        cust_domain = cust_options['domain']
        cust_ip_settings = RbVmomi::VIM::CustomizationIPSettings.new(cust_options["ipsettings"]) if cust_options.has_key?("ipsettings")
        cust_ip_settings.ip = RbVmomi::VIM::CustomizationFixedIp("ipAddress" => cust_options["ipsettings"]["ip"]) if cust_options.has_key?("ipsettings")
        cust_ip_settings ||= RbVmomi::VIM::CustomizationIPSettings.new("ip" => RbVmomi::VIM::CustomizationDhcpIpGenerator.new())
        cust_ip_settings.dnsDomain = cust_domain
        cust_global_ip_settings = RbVmomi::VIM::CustomizationGlobalIPSettings.new
        cust_global_ip_settings.dnsServerList = cust_ip_settings.dnsServerList
        cust_global_ip_settings.dnsSuffixList = [cust_domain]
        cust_hostname = RbVmomi::VIM::CustomizationFixedName.new(:name => cust_options['hostname']) if cust_options.has_key?('hostname')
        cust_hostname ||= RbVmomi::VIM::CustomizationFixedName.new(:name => options['name'])
        cust_hwclockutc = cust_options['hw_clock_utc']
        cust_timezone = cust_options['time_zone']
        # Start Building objects
        # Build the CustomizationLinuxPrep Object
        cust_prep = RbVmomi::VIM::CustomizationLinuxPrep.new(
          :domain => cust_domain,
          :hostName => cust_hostname,
          :hwClockUTC => cust_hwclockutc,
          :timeZone => cust_timezone)
        # Build the Custom Adapter Mapping Supports only one eth right now
        cust_adapter_mapping = [RbVmomi::VIM::CustomizationAdapterMapping.new("adapter" => cust_ip_settings)]
        # Build the customization Spec
        customization_spec = RbVmomi::VIM::CustomizationSpec.new(
          :identity => cust_prep,
          :globalIPSettings => cust_global_ip_settings,
          :nicSettingMap => cust_adapter_mapping)
      end
      customization_spec ||= nil

      # FIXME: pad this out with the rest of the useful things in VirtualMachineConfigSpec
      # http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.ConfigSpec.html
      if options.has_key?('memoryMB') || options.has_key?('numCPUs')
        virtual_machine_config_spec = {
          :memoryMB => options['memoryMB'],
          :numCPUs  => options['numCPUs']
        }
      end

      relocation_spec=nil
      if ( options['linked_clone'] )
        # cribbed heavily from the rbvmomi clone_vm.rb
        # this chunk of code reconfigures the disk of the clone source to be read only,
        # and then creates a delta disk on top of that, this is required by the API in order to create
        # linked clondes
        disks = vm_mob_ref.config.hardware.device.select do |vm_device|
          vm_device.class == RbVmomi::VIM::VirtualDisk
        end
        disks.select{|vm_device| vm_device.backing.parent == nil}.each do |disk|
          disk_spec = {
            :deviceChange => [
              {
                :operation => :remove,
                :device => disk
              },
              {
                :operation => :add,
                :fileOperation => :create,
                :device => disk.dup.tap{|disk_backing|
                  disk_backing.backing = disk_backing.backing.dup;
                  disk_backing.backing.fileName = "[#{disk.backing.datastore.name}]";
                  disk_backing.backing.parent = disk.backing
                }
              },
            ]
          }
          vm_mob_ref.ReconfigVM_Task(:spec => disk_spec).wait_for_completion
        end
        # Next, create a Relocation Spec instance
        relocation_spec = RbVmomi::VIM.VirtualMachineRelocateSpec(:datastore => datastore_obj,
                                                                  :pool => resource_pool,
                                                                  :diskMoveType => :moveChildMostDiskBacking)
      else
        relocation_spec = RbVmomi::VIM.VirtualMachineRelocateSpec(:datastore => datastore_obj,
                                                                  :pool => resource_pool,
                                                                  :transform => options['transform'] || 'sparse')
      end
      # And the clone specification
      clone_spec = RbVmomi::VIM.VirtualMachineCloneSpec(:location => relocation_spec,
                                                        :config => virtual_machine_config_spec,
                                                        :customization => customization_spec,
                                                        :powerOn  => options.has_key?('power_on') ? options['power_on'] : true,
                                                        :template => false)

      # Perform the actual Clone Task
      task = vm_mob_ref.CloneVM_Task(:folder => dest_folder,
                                     :name => options['name'],
                                     :spec => clone_spec)
      # Waiting for the VM to complete allows us to get the VirtulMachine
      # object of the new machine when it's done.  It is HIGHLY recommended
      # to set 'wait' => true if your app wants to wait.  Otherwise, you're
      # going to have to reload the server model over and over which
      # generates a lot of time consuming API calls to vmware.
      if options['wait'] then
        # REVISIT: It would be awesome to call a block passed to this
        # request to notify the application how far along in the process we
        # are.  I'm thinking of updating a progress bar, etc...
        new_vm = task.wait_for_completion
      else
        tries = 0
        new_vm = begin
          # Try and find the new VM (folder.find is quite efficient)
          folder.find(options['name'], RbVmomi::VIM::VirtualMachine) or raise Fog::Vsphere::Errors::NotFound
        rescue Fog::Vsphere::Errors::NotFound
          tries += 1
          if tries <= 10 then
            sleep 15
            retry
          end
          nil
        end
      end

      # Return hash
      {
        'vm_ref'        => new_vm ? new_vm._ref : nil,
        'new_vm'        => new_vm ? get_virtual_machine("#{options['dest_folder']}/#{options['name']}", options['datacenter']) : nil,
        'task_ref'      => task._ref
      }
    end

vm_config_vnc(options = { }) click to toggle source

    # File lib/fog/vsphere/requests/compute/vm_config_vnc.rb, line 5
    def vm_config_vnc(options = { })
      raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'

      search_filter = { :uuid => options['instance_uuid'], 'vmSearch' => true, 'instanceUuid' => true }
      vm_mob_ref    = @connection.searchIndex.FindAllByUuid(search_filter).first
      task          = vm_mob_ref.ReconfigVM_Task(:spec => {
        :extraConfig => [
          { :key => 'RemoteDisplay.vnc.enabled',  :value => options[:enabled] ? 'true' : 'false' },
          { :key => 'RemoteDisplay.vnc.password', :value => options[:password].to_s },
          { :key => 'RemoteDisplay.vnc.port',     :value => options[:port].to_s || '5910' }
        ]
      })
      task.wait_for_completion
      { 'task_state' => task.info.state }
    end

vm_destroy(options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/vm_destroy.rb, line 6
    def vm_destroy(options = {})
      raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'

      vm_mob_ref = get_vm_ref(options['instance_uuid'])
      task = vm_mob_ref.Destroy_Task
      task.wait_for_completion
      { 'task_state' => task.info.state }
    end

vm_get_vnc(uuid) click to toggle source

return a hash of VNC attributes required to view the console

    # File lib/fog/vsphere/requests/compute/vm_config_vnc.rb, line 22
    def vm_get_vnc uuid

      search_filter = { :uuid => uuid, 'vmSearch' => true, 'instanceUuid' => true }
      vm = @connection.searchIndex.FindAllByUuid(search_filter).first
      Hash[vm.config.extraConfig.map do |config|
        if config.key =~ /^RemoteDisplay\.vnc\.(\w+)$/
          [$1.to_sym, config.value]
        end
      end.compact]
    end

vm_migrate(options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/vm_migrate.rb, line 6
    def vm_migrate(options = {})
      #priority is the only required option, and it has a sane default option.
      priority = options['priority'].nil? ? 'defaultPriority' : options["priority"]
      raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'

      # Find the VM Object
      search_filter = { :uuid => options['instance_uuid'], 'vmSearch' => true, 'instanceUuid' => true }
      vm_mob_ref = @connection.searchIndex.FindAllByUuid(search_filter).first

      unless vm_mob_ref.kind_of? RbVmomi::VIM::VirtualMachine
        raise Fog::Vsphere::Errors::NotFound,
          "Could not find VirtualMachine with instance uuid #{options['instance_uuid']}"
      end
      task = vm_mob_ref.MigrateVM_Task(:pool => options['pool'], :host => options['host'], :priority => "#{priority}", :state => options['state'] )
      task.wait_for_completion
      { 'task_state' => task.info.state }
    end

vm_power_off(options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/vm_power_off.rb, line 6
    def vm_power_off(options = {})
      options = { 'force' => false }.merge(options)
      raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'

      search_filter = { :uuid => options['instance_uuid'], 'vmSearch' => true, 'instanceUuid' => true }
      vm_mob_ref = @connection.searchIndex.FindAllByUuid(search_filter).first

      if options['force'] then
        task = vm_mob_ref.PowerOffVM_Task
        task.wait_for_completion
        { 'task_state' => task.info.result, 'power_off_type' => 'cut_power' }
      else
        vm_mob_ref.ShutdownGuest
        {
          'task_state'     => "running",
          'power_off_type' => 'shutdown_guest',
        }
      end
    end

vm_power_on(options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/vm_power_on.rb, line 6
    def vm_power_on(options = {})
      raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'

      search_filter = { :uuid => options['instance_uuid'], 'vmSearch' => true, 'instanceUuid' => true }
      vm_mob_ref = @connection.searchIndex.FindAllByUuid(search_filter).first

      task = vm_mob_ref.PowerOnVM_Task
      task.wait_for_completion
      # 'success', 'running', 'queued', 'error'
      { 'task_state' => task.info.state }
    end

vm_reboot(options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/vm_reboot.rb, line 6
    def vm_reboot(options = {})
      options = { 'force' => false }.merge(options)
      raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'

      search_filter = { :uuid => options['instance_uuid'], 'vmSearch' => true, 'instanceUuid' => true }
      vm_mob_ref = @connection.searchIndex.FindAllByUuid(search_filter).first

      if options['force'] then
        task = vm_mob_ref.ResetVM_Task
        task.wait_for_completion
        { 'task_state' => task.info.result, 'reboot_type' => 'reset_power' }
      else
        vm_mob_ref.RebootGuest
        { 'task_state' => "running", 'reboot_type' => 'reboot_guest' }
      end
    end

vm_reconfig_cpus(options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/vm_reconfig_cpus.rb, line 5
    def vm_reconfig_cpus(options = {})
      raise ArgumentError, "cpus is a required parameter" unless options.has_key? 'cpus'
      raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'
      hardware_spec={'numCPUs' => options['cpus']}
      vm_reconfig_hardware('instance_uuid' => options['instance_uuid'], 'hardware_spec' => hardware_spec )
    end

vm_reconfig_hardware(options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/vm_reconfig_hardware.rb, line 5
    def vm_reconfig_hardware(options = {})
      raise ArgumentError, "hardware_spec is a required parameter" unless options.has_key? 'hardware_spec'
      raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'
      vm_mob_ref = get_vm_ref(options['instance_uuid'])
      task = vm_mob_ref.ReconfigVM_Task(:spec => RbVmomi::VIM.VirtualMachineConfigSpec(options['hardware_spec']))
      task.wait_for_completion
       { 'task_state' => task.info.state }
    end

vm_reconfig_memory(options = {}) click to toggle source

    # File lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb, line 5
    def vm_reconfig_memory(options = {})
      raise ArgumentError, "memory is a required parameter" unless options.has_key? 'memory'
      raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'
      hardware_spec={'memoryMB' => options['memory']}
      vm_reconfig_hardware('instance_uuid' => options['instance_uuid'], 'hardware_spec' => hardware_spec )
    end

### Protected Instance Methods

child_folders(folder) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_folders.rb, line 38
    def child_folders folder
      [folder, folder.childEntity.grep(RbVmomi::VIM::Folder).map(&method(:child_folders)).flatten]
    end

cluster_attributes(cluster, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_clusters.rb, line 19
    def cluster_attributes cluster, datacenter_name
      {
        :id             => managed_obj_id(cluster),
        :name           => cluster.name,
        :num_host       => cluster.summary.numHosts,
        :num_cpu_cores  => cluster.summary.numCpuCores,
        :overall_status => cluster.summary.overallStatus,
        :datacenter     => datacenter_name || parent_attribute(cluster.path, :datacenter)[1],
      }
    end

datastore_attributes(datastore, datacenter) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_datastores.rb, line 20
    def datastore_attributes datastore, datacenter
      {
        :id         => managed_obj_id(datastore),
        :name       => datastore.name,
        :accessible => datastore.summary.accessible,
        :type       => datastore.summary.type,
        :freespace  => datastore.summary.freeSpace,
        :capacity   => datastore.summary.capacity,
        :datacenter => datacenter,
      }
    end

find_datacenters(name=nil) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_datacenters.rb, line 22
    def find_datacenters name=nil
      name ? [find_raw_datacenter(name)] : raw_datacenters
    end

find_raw_datacenter(name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_datacenter.rb, line 13
    def find_raw_datacenter name
      raw_datacenters.find {|d| d.name == name} ||  get_raw_datacenter(name)
    end

folder_attributes(folder, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_folder.rb, line 49
    def folder_attributes(folder, datacenter_name)
      {
        :id         => managed_obj_id(folder),
        :name       => folder.name,
        :parent     => folder.parent.name,
        :datacenter => datacenter_name,
        :type       => folder_type(folder),
        :path       => "/"+folder.path.map(&:last).join('/'),
      }
    end

folder_type(folder) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_folder.rb, line 60
    def folder_type(folder)
      types = folder.childType
      return :vm        if types.include?('VirtualMachine')
      return :network   if types.include?('Network')
      return :datastore if types.include?('Datastore')
    end

get_raw_cluster(name, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_cluster.rb, line 13
    def get_raw_cluster(name, datacenter_name)
      dc = find_raw_datacenter(datacenter_name)
      dc.find_compute_resource(name)
    end

get_raw_datacenter(name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_datacenter.rb, line 17
    def get_raw_datacenter name
      @connection.serviceInstance.find_datacenter(name)
    end

get_raw_datastore(name, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_datastore.rb, line 13
    def get_raw_datastore(name, datacenter_name)
      dc = find_raw_datacenter(datacenter_name)

      @connection.serviceContent.viewManager.CreateContainerView({
        :container  => dc.datastoreFolder,
        :type       =>  ["Datastore"],
        :recursive  => true
      }).view.select{|ds| ds.name == name}.first
    end

get_raw_network(name, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_network.rb, line 13
    def get_raw_network(name, datacenter_name)
      dc = find_raw_datacenter(datacenter_name)

      @connection.serviceContent.viewManager.CreateContainerView({
        :container  => dc.networkFolder,
        :type       =>  ["Network"],
        :recursive  => true
      }).view.select{|n| n.name == name}.first
    end

get_raw_resource_pool(name, cluster_name, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_resource_pool.rb, line 13
    def get_raw_resource_pool(name, cluster_name, datacenter_name)
      dc      = find_raw_datacenter(datacenter_name)
      cluster = dc.find_compute_resource(cluster_name)
      cluster.resourcePool.find name
    end

get_raw_vmfolder(path, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_folder.rb, line 26
    def get_raw_vmfolder(path, datacenter_name)
      # The required path syntax - 'topfolder/subfolder

      # Clean up path to be relative since we're providing datacenter name
      dc             = find_raw_datacenter(datacenter_name)
      dc_root_folder = dc.vmFolder
      # Filter the root path for this datacenter not to be used."
      dc_root_folder_path=dc_root_folder.path.map { | id, name | name }.join("/")
      paths          = path.sub(/^\/?#{Regex.quote(dc_root_folder_path)}\/?/, '').split('/')

      return dc_root_folder if paths.empty?
      # Walk the tree resetting the folder pointer as we go
      paths.inject(dc_root_folder) do |last_returned_folder, sub_folder|
        # JJM VIM::Folder#find appears to be quite efficient as it uses the
        # searchIndex It certainly appears to be faster than
        # VIM::Folder#inventory since that returns _all_ managed objects of
        # a certain type _and_ their properties.
        sub = last_returned_folder.find(sub_folder, RbVmomi::VIM::Folder)
        raise ArgumentError, "Could not descend into #{sub_folder}.  Please check your path. #{path}" unless sub
        sub
      end
    end

get_raw_vmfolders(path, datacenter_name) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_folders.rb, line 33
    def get_raw_vmfolders(path, datacenter_name)
      folder = get_raw_vmfolder(path, datacenter_name)
      child_folders(folder).flatten.compact
    end

get_vm_ref(id, dc = nil) click to toggle source

    # File lib/fog/vsphere/requests/compute/get_virtual_machine.rb, line 11
    def get_vm_ref(id, dc = nil)
      vm = case id
             # UUID based
             when /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
               @connection.searchIndex.FindByUuid :uuid => id, :vmSearch => true, :instanceUuid => true, :datacenter => dc
             else
               # try to find based on VM name
               if dc
                 get_raw_datacenter(dc).find_vm(id)
               else
                 raw_datacenters.map { |d| d.find_vm(id) }.compact.first
               end
           end
      vm ? vm : raise(Fog::Compute::Vsphere::NotFound, "#{id} was not found")
    end

list_raw_resource_pools(cluster) click to toggle source

root ResourcePool + Children if they exists

    # File lib/fog/vsphere/requests/compute/list_resource_pools.rb, line 17
    def list_raw_resource_pools(cluster)
      [cluster.resourcePool, cluster.resourcePool.resourcePool].flatten
    end

network_attributes(network, datacenter) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_networks.rb, line 21
    def network_attributes network, datacenter
      {
        :id         => managed_obj_id(network),
        :name       => network.name,
        :accessible => network.summary.accessible,
        :datacenter => datacenter,
      }
    end

raw_datacenters() click to toggle source

    # File lib/fog/vsphere/requests/compute/list_datacenters.rb, line 18
    def raw_datacenters
      @raw_datacenters ||= @connection.rootFolder.childEntity.grep(RbVmomi::VIM::Datacenter)
    end

resource_pool_attributes(resource_pool, cluster, datacenter) click to toggle source

    # File lib/fog/vsphere/requests/compute/list_resource_pools.rb, line 21
    def resource_pool_attributes resource_pool, cluster, datacenter
      {
        :id                   => managed_obj_id(resource_pool),
        :name                 => resource_pool.name,
        :configured_memory_mb => resource_pool.summary.configuredMemoryMB,
        :overall_status       => resource_pool.overallStatus,
        :cluster              => cluster,
        :datacenter           => datacenter
      }
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.