class CloudControl::API::Server
Public Instance Methods
list(options = {})
click to toggle source
# File lib/cloudcontrol/api/server.rb, line 3 def list(options = {}) org_endpoint '/server/server' query_params options get_simple end
list_anti_affinity_rules(options = {})
click to toggle source
# File lib/cloudcontrol/api/server.rb, line 9 def list_anti_affinity_rules(options = {}) org_endpoint '/server/antiAffinityRule' query_params options get_simple end
list_nics(vlan_id, options = {})
click to toggle source
# File lib/cloudcontrol/api/server.rb, line 22 def list_nics(vlan_id, options = {}) org_endpoint '/server/nic' options[:vlanId] = vlan_id query_params options get_simple end
list_snapshots(server_id, options = {})
click to toggle source
# File lib/cloudcontrol/api/server.rb, line 15 def list_snapshots(server_id, options = {}) org_endpoint '/snapshot/snapshot' options[:serverId] = server_id query_params options get_simple end