Loading TOC...

MarkLogic 9 Product Documentation
admin.clusterSetOpsdirectorSessionEndpoint

admin.clusterSetOpsdirectorSessionEndpoint(
   config as element(configuration),
   value as String
) as element(configuration)

Summary

This function sets the session endpoint URI that the managed cluster uses to communicate with Ops Director.

Parameters
config A configuration specification, typically as returned from one of the Admin module functions.
value The endpoint URI.

Example

 
const admin = require('/MarkLogic/admin.xqy');
 
var config = admin.getConfiguration()
var newcfg = admin.clusterSetOpsdirectorSessionEndpoint(config,

                  "https://opsdir.example.com.8009/v1/opsdirector/session")
  newcfg
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.