Sha256: 0915d9494a1fbd612b56fdd6b4a9988877e492e517339d96da88ef1e05426475

Contents?: true

Size: 990 Bytes

Versions: 5

Compression:

Stored size: 990 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, JSON.load(service_provider), 'result.body').value
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fog-azure-rm-0.1.0 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.0.9 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.0.8 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.0.6 test/api_stub/models/network/express_route_service_provider.rb
fog-azure-rm-0.0.5 test/api_stub/models/network/express_route_service_provider.rb