Sha256: e93558294d810e979f93fd853fb51d9976cd5a7a339414849a30ab6039ae0904

Contents?: true

Size: 968 Bytes

Versions: 47

Compression:

Stored size: 968 Bytes

Contents

module ApiStub
  module Models
    module Network
      # Mock class for Express Route Service Provider Model
      class ExpressRouteServiceProvider
        def self.list_express_route_service_provider_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.4.1 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.4.0 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.9 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.8 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.7 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.6 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.5 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.4 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-temp-0.0.4 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-temp-0.0.3 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.3 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-temp-0.0.2 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-temp-0.0.1 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.2 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-downgraded-0.3.1 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.1 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-downgraded-0.3.0 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.3.0 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.2.7 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.2.6 test/api_stub/models/network/express_route_service_provider.rb