    # File lib/fog/ecloud/models/compute/monitor.rb, line 20
            def edit(options = {})
              href = "/cloudapi/ecloud/internetServices/#{internet_service_id}/monitor?type="
              case type
              when "application/vnd.tmrk.cloud.pingMonitor"
                options[:uri] = href + "ping"
                data = connection.monitors_edit_ping(options).body
              when "application/vnd.tmrk.cloud.httpMonitor"
                options[:uri] = href + "http"
                data = connection.monitors_edit_http(options).body
              when "application/vnd.tmrk.cloud.ecvMonitor"
                options[:uri] = href + "ecv"
                data = connection.monitors_edit_ecv(options).body
              end
              object = collection.from_data(data)
            end