lib/fog/azurerm/models/sql/sql_servers.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/sql/sql_servers.rb in fog-azure-rm-0.2.0
- old
+ new
@@ -19,9 +19,13 @@
def get(resource_group, server_name)
server = service.get_sql_server(resource_group, server_name)
server_fog = Fog::Sql::AzureRM::SqlServer.new(service: service)
server_fog.merge_attributes(Fog::Sql::AzureRM::SqlServer.parse(server))
end
+
+ def check_sql_server_exists(resource_group, server_name)
+ service.check_sql_server_exists(resource_group, server_name)
+ end
end
end
end
end