Sha256: 324b30dbe16af4d5c1260c5b11d951aae195218ead2264e12bff5e710cf810f0

Contents?: true

Size: 952 Bytes

Versions: 47

Compression:

Stored size: 952 Bytes

Contents

module ApiStub
  module Models
    module Network
      # Mock class for Express Route Circuit Authorization Model
      class ExpressRouteCircuitAuthorization
        def self.create_express_route_circuit_authorization_response(network_client)
          authorization = '{
            "name": "MicrosoftAuthorization",
            "id": "/subscriptions/{guid}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}",
            "properties": {
              "authorizationKey": "authorization-key",
              "authorizationUseStatus": "Available"
            }
          }'

          express_route_circuit_authorization_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitAuthorization.mapper
          network_client.deserialize(express_route_circuit_authorization_mapper, Fog::JSON.decode(authorization), 'result.body')
        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/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.5.3 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.5.2 test/api_stub/models/network/express_route_circuit_authorization.rb
far-gem-0.5.6 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.5.1 test/api_stub/models/network/express_route_circuit_authorization.rb
far-gem-0.5.5 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.5.0 test/api_stub/models/network/express_route_circuit_authorization.rb
far-gem-0.5.4 test/api_stub/models/network/express_route_circuit_authorization.rb
far-gem-0.5.3 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.4.9 test/api_stub/models/network/express_route_circuit_authorization.rb
far-gem-0.5.2 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.4.8 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.4.7 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.4.6 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.4.5 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-temp-0.0.5 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.4.4 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.4.3 test/api_stub/models/network/express_route_circuit_authorization.rb
far-gem-0.5.1 test/api_stub/models/network/express_route_circuit_authorization.rb
fog-azure-rm-0.4.2 test/api_stub/models/network/express_route_circuit_authorization.rb