Sha256: dd301754b3cba22b25811a11926e614c9420f4b32032a2945bb873da26b86e73
Contents?: true
Size: 794 Bytes
Versions: 47
Compression:
Stored size: 794 Bytes
Contents
module Fog module ApplicationGateway class AzureRM # Real class for Application Gateway Request class Real def delete_application_gateway(resource_group, name) msg = "Deleting Application_Gateway #{name} from Resource Group #{resource_group}." Fog::Logger.debug msg begin @network_client.application_gateways.delete(resource_group, name) rescue MsRestAzure::AzureOperationError => e raise_azure_exception(e, msg) end Fog::Logger.debug "Application Gateway #{name} Deleted Successfully." true end end # Mock class for Network Request class Mock def delete_application_gateway(_resource_group, _name) end end end end end
Version data entries
47 entries across 47 versions & 4 rubygems