Sha256: 0009841560c8e4e5cc2e48acdb60d525f66417166d206046b3cfe97a08710bff

Contents?: true

Size: 912 Bytes

Versions: 1

Compression:

Stored size: 912 Bytes

Contents

module ApiStub
  module Requests
    module Network
      # Mock class for raffic Manager End Point Requests
      class TrafficManagerEndPoint
        def self.create_traffic_manager_endpoint_response
          body = '{
            "id": "/subscriptions/######/resourceGroups/fog-test-rg/providers/Microsoft.Network/trafficManagerProfiles/fog-test-profile/externalEndpoints/fog-test-end-point?api-version=2015-11-01",
            "name": "fog-test-end-point",
            "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
            "properties": {
              "endpointStatus": "Enabled",
              "endpointMonitorStatus": "Online",
              "target": "test.com",
              "weight": 10,
              "priority": 5,
              "endpointLocation": "northeurope"
            }
          }'
          body
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-azure-rm-0.0.4 test/api_stub/requests/network/traffic_manager_endpoint.rb