Loading TOC...

admin.clusterGetOpsdirectorMetering

admin.clusterGetOpsdirectorMetering(
   $config as element(configuration)
) as String

Summary

This function returns the current type of metering data the managed cluster sends to Ops Director.

Parameters
$config A configuration specification, typically as returned from one of the Admin module functions.

Usage Notes

The return value is the metering type, with possible values "disabled", "daily", "hourly", or "raw".

Example

 
const admin = require('/MarkLogic/admin.xqy');
 
var config = admin.getConfiguration()
  admin.clusterGetOpsdirectorMetering(config)

    

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