lib/fog/azurerm/models/network/network_interfaces.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/network/network_interfaces.rb in fog-azure-rm-0.2.0

- old
+ new

@@ -18,9 +18,13 @@ def get(resource_group_name, name) network_interface_card = service.get_network_interface(resource_group_name, name) network_interface_card_fog = Fog::Network::AzureRM::NetworkInterface.new(service: service) network_interface_card_fog.merge_attributes(Fog::Network::AzureRM::NetworkInterface.parse(network_interface_card)) end + + def check_network_interface_exists(resource_group_name, name) + service.check_network_interface_exists(resource_group_name, name) + end end end end end