    # File lib/fog/ecloud/models/compute/internet_service.rb, line 49
            def create_monitor(options = {})
              options = {:type => :default}.merge(options)
              case options[:type]
              when :default
                data = connection.monitors_create_default(href + "/action/createDefaultMonitor").body
              when :ping
                options[:enabled] ||= true
                options[:uri] = href + "/action/createPingMonitor"
                data = connection.monitors_create_ping(options).body
              when :http
                options[:uri] = href + "/action/createHttpMonitor"
                data = connection.monitors_create_http(options).body
              when :ecv
                options[:uri] = href + "/action/createEcvMonitor"
                data = connection.monitors_create_ecv(options).body
              when :loopback
                data = connection.monitors_create_loopback(href).body
              end
              monitor = Fog::Compute::Ecloud::Monitors.new(:connection => connection, :href => data[:href])
            end