lib/fog/azurerm/utilities/general.rb in fog-azure-rm-0.0.5 vs lib/fog/azurerm/utilities/general.rb in fog-azure-rm-0.0.6

- old
+ new

@@ -16,9 +16,14 @@ # Extract Traffic Manager Profile Name from Endpoint id(String) def get_traffic_manager_profile_name_from_endpoint_id(endpoint_id) endpoint_id.split('/')[8] end +# Pick Express Route Circuit name from Id(String) +def get_circuit_name_from_id(circuit_id) + circuit_id.split('/')[8] +end + def get_record_type(type) type.split('/').last end def raise_azure_exception(exception, msg)