lib/fog/azurerm/models/network/virtual_network_gateways.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/network/virtual_network_gateways.rb in fog-azure-rm-0.2.0
- old
+ new
@@ -18,9 +18,13 @@
def get(resource_group_name, name)
network_gateway = service.get_virtual_network_gateway(resource_group_name, name)
virtual_network_gateway = Fog::Network::AzureRM::VirtualNetworkGateway.new(service: service)
virtual_network_gateway.merge_attributes(Fog::Network::AzureRM::VirtualNetworkGateway.parse(network_gateway))
end
+
+ def check_vnet_gateway_exists(resource_group_name, name)
+ service.check_vnet_gateway_exists(resource_group_name, name)
+ end
end
end
end
end