class Fog::Compute::Azure::Databases
Public Instance Methods
all()
click to toggle source
# File lib/fog/azure/models/compute/databases.rb, line 31 def all() databases = [] service.list_databases.each do |account| hash = {} account.instance_variables.each do |var| hash[var.to_s.delete("@")] = account.instance_variable_get(var) end databases << hash end load(databases) end
create(login, password, location)
click to toggle source
# File lib/fog/azure/models/compute/databases.rb, line 43 def create(login, password, location) service.create_database_server(login, password, location) end