admin.clusterSetOpsdirectorSessionEndpoint( config as element(configuration), value as String ) as element(configuration)
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. |
const admin = require('/MarkLogic/admin.xqy'); const config = admin.getConfiguration() const newcfg = admin.clusterSetOpsdirectorSessionEndpoint(config, "https://opsdir.example.com.8009/v1/opsdirector/session") newcfg
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.