client/splunk.js
function(props) {
            var entityNamespace = utils.namespaceFromProperties(props);
            return new root.Index(this.service, props.name, entityNamespace);
        }
function(props) {
            var entityNamespace = utils.namespaceFromProperties(props);
            return new root.Index(this.service, props.name, entityNamespace);
        }
function ( props ) { var entityNamespace = utils . namespaceFromProperties ( props ) ; return new root . Index ( this . service , props . name , entityNamespace ) ; }
Creates a local instance of an index.

@param {Object} props The properties for the new index. For a list of available parameters, see <a href="http://dev.splunk.com/view/SP-CAAAEJ3#indexparams" target="_blank">Index parameters</a> on Splunk Developer Portal.
@return {splunkjs.Service.Index} A new `splunkjs.Service.Index` instance.

@method splunkjs.Service.Indexes
Creates a local instance of an index .