Sha256: 443d7a754a506227a06a532f282674b5cc15abbcc720c7fd75911039ef2ef689
Contents?: true
Size: 975 Bytes
Versions: 47
Compression:
Stored size: 975 Bytes
Contents
module Fog module Network class AzureRM # Real class for Network Request class Real def list_express_route_service_providers msg = 'Getting list of Express Route Service Providers.' Fog::Logger.debug msg begin service_providers = @network_client.express_route_service_providers.list rescue MsRestAzure::AzureOperationError => e raise_azure_exception(e, msg) end service_providers end end # Mock class for Network Request class Mock def list_express_route_service_providers [ { 'name' => 'Telenor', 'peeringLocations' => %w(London Karachi), 'bandwidthsOffered' => [ { 'offerName' => '100Mbps', 'valueInMbps' => 100 } ] } ] end end end end end
Version data entries
47 entries across 47 versions & 4 rubygems