lib/fog/azurerm/models/sql/sql_databases.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/sql/sql_databases.rb in fog-azure-rm-0.2.0
- old
+ new
@@ -20,9 +20,13 @@
def get(resource_group, server_name, name)
database = service.get_database(resource_group, server_name, name)
database_fog = Fog::Sql::AzureRM::SqlDatabase.new(service: service)
database_fog.merge_attributes(Fog::Sql::AzureRM::SqlDatabase.parse(database))
end
+
+ def check_database_exists(resource_group, server_name, name)
+ service.check_database_exists(resource_group, server_name, name)
+ end
end
end
end
end