Sha256: 97bd2ed3c960e761ab88417af42ebabddf5c85850e236ab60e8204973dd1b9ae
Contents?: true
Size: 820 Bytes
Versions: 6
Compression:
Stored size: 820 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
6 entries across 6 versions & 1 rubygems