Sha256: 75838c5422fadf84e0d2e3ea631b2a7da182c12d3d7103451f9d6f7fc4a057ce
Contents?: true
Size: 884 Bytes
Versions: 47
Compression:
Stored size: 884 Bytes
Contents
module Fog module Network class AzureRM # Real class for Network Request class Real def delete_network_security_group(resource_group, name) msg = "Deleting Network Security Group: #{name}" Fog::Logger.debug msg begin @network_client.network_security_groups.delete(resource_group, name) rescue MsRestAzure::AzureOperationError => e raise_azure_exception(e, msg) end Fog::Logger.debug "Network Security Group #{name} deleted successfully." true end end # Mock class for Network Request class Mock def delete_network_security_group(resource_group, name) Fog::Logger.debug "Network Security Group #{name} from Resource group #{resource_group} deleted successfully." true end end end end end
Version data entries
47 entries across 47 versions & 4 rubygems