Sha256: f50d8d4eb771be3ec4dfdb639ea3011d0fad4b95a19bc975c0f658729a772bb5

Contents?: true

Size: 985 Bytes

Versions: 47

Compression:

Stored size: 985 Bytes

Contents

module ApiStub
  module Requests
    module Network
      # Mock class for Express Route Service Provider Requests
      class ExpressRouteServiceProvider
        def self.list_express_route_service_providers_response(network_client)
          service_provider = '{
            "value": [
              {
                "name": "<providername>",
                "peeringLocations": [
                  "location1",
                  "location2"
                ],
                "bandwidthsOffered": [
                  {
                    "offerName": "100Mbps",
                    "valueInMbps": 100
                  }
                ]
              }
            ]
          }'
          express_route_servcie_provider_mapper = Azure::ARM::Network::Models::ExpressRouteServiceProviderListResult.mapper
          network_client.deserialize(express_route_servcie_provider_mapper, Fog::JSON.decode(service_provider), 'result.body').value
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 4 rubygems

Version Path
fog-azure-rm-0.6.0 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.5.3 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.5.2 test/api_stub/requests/network/express_route_service_provider.rb
far-gem-0.5.6 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.5.1 test/api_stub/requests/network/express_route_service_provider.rb
far-gem-0.5.5 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.5.0 test/api_stub/requests/network/express_route_service_provider.rb
far-gem-0.5.4 test/api_stub/requests/network/express_route_service_provider.rb
far-gem-0.5.3 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.4.9 test/api_stub/requests/network/express_route_service_provider.rb
far-gem-0.5.2 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.4.8 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.4.7 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.4.6 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.4.5 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-temp-0.0.5 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.4.4 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.4.3 test/api_stub/requests/network/express_route_service_provider.rb
far-gem-0.5.1 test/api_stub/requests/network/express_route_service_provider.rb
fog-azure-rm-0.4.2 test/api_stub/requests/network/express_route_service_provider.rb