Sha256: cf00f9feb38b2c90fccb80bd48a7dc8abcd95a39fc930d9e93f3f92808af9673
Contents?: true
Size: 825 Bytes
Versions: 3
Compression:
Stored size: 825 Bytes
Contents
module Fog module TrafficManager class AzureRM # Real class for TrafficManager Request class Real def delete_traffic_manager_profile(resource_group, name) msg = "Deleting Traffic Manager Profile: #{name}." Fog::Logger.debug msg begin @traffic_mgmt_client.profiles.delete(resource_group, name) true rescue MsRestAzure::AzureOperationError => e raise_azure_exception(e, msg) end end end # Mock class for TrafficManager Request class Mock def delete_subnet(resource_group, name) Fog::Logger.debug "Traffic Manager Profile #{name} from Resource group #{resource_group} deleted successfully." true end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems