Sha256: e50e9133cf44fe51d2ddbed699f551825a523ce8488ca97d819997eb633016b8
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
module Fog module Network class AzureRM # Real class for Network Request class Real def delete_virtual_network_gateway_connection(resource_group_name, gateway_connection_name) msg = "Deleting Virtual Network Gateway Connection #{gateway_connection_name} from Resource Group #{resource_group_name}." Fog::Logger.debug msg begin @network_client.virtual_network_gateway_connections.delete(resource_group_name, gateway_connection_name) rescue MsRestAzure::AzureOperationError => e raise_azure_exception(e, msg) end Fog::Logger.debug "Virtual Network Gateway Connection #{gateway_connection_name} Deleted Successfully." true end end # Mock class for Network Request class Mock def delete_virtual_network_gateway_connection(*) Fog::Logger.debug 'Virtual Network Gateway Connection deleted successfully.' true end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems