lib/services/insights/lib/insightsClient.js
/**
   * @class
   * Initializes a new instance of the InsightsClient class.
   * @constructor
   * 
   * @param {SubscriptionCloudCredentials} credentials Gets subscription
   * credentials which uniquely identify Microsoft Azure subscription. The
   * subscription ID forms part of the URI for every service call.
   * 
   * @param {string} [credentials.subscriptionId]
   * 
   * @param {string} [baseUri] Gets the URI used as the base for all cloud
   * service requests.
   * 
   * @param {Array} filters
   */
@class
Initializes a new instance of the InsightsClient class.
@constructor

@param {SubscriptionCloudCredentials} credentials Gets subscription
credentials which uniquely identify Microsoft Azure subscription. The
subscription ID forms part of the URI for every service call.



@param {string} [baseUri] Gets the URI used as the base for all cloud
service requests.

@param {Array} filters
@class Initializes a new instance of the InsightsClient class . @constructor @param { SubscriptionCloudCredentials } credentials Gets subscription credentials which uniquely identify Microsoft Azure subscription . The subscription ID forms part of the URI for every service call . @param { string } [ baseUri ] Gets the URI used as the base for all cloud service requests . @param { Array } filters
function InsightsClient(credentials, baseUri, filters) {
    if (credentials === null || credentials === undefined) {
      throw new Error('credentials cannot be null.');
    }
    InsightsClient['super_'].call(this, credentials, filters);
    this.credentials = credentials;
    this.baseUri = baseUri;
    if (this.baseUri === null || this.baseUri === undefined) {
      this.baseUri = 'https://management.azure.com';
    }
    if (this.apiVersion === null || this.apiVersion === undefined) {
      this.apiVersion = '2014-04-01';
    }
    if (this.longRunningOperationInitialTimeout === null || this.longRunningOperationInitialTimeout === undefined) {
      this.longRunningOperationInitialTimeout = -1;
    }
    if (this.longRunningOperationRetryTimeout === null || this.longRunningOperationRetryTimeout === undefined) {
      this.longRunningOperationRetryTimeout = -1;
    }
    this.eventOperations = new EventOperations(this);
    this.logDefinitionOperations = new LogDefinitionOperations(this);
    this.logOperations = new LogOperations(this);
    this.metricDefinitionOperations = new MetricDefinitionOperations(this);
    this.metricOperations = new MetricOperations(this);
    this.usageMetricOperations = new UsageMetricsOperations(this);
  }
function InsightsClient ( credentials , baseUri , filters ) { if ( credentials === null || credentials === undefined ) { throw new Error ( 'credentials cannot be null.' ) ; } InsightsClient [ 'super_' ] . call ( this , credentials , filters ) ; this . credentials = credentials ; this . baseUri = baseUri ; if ( this . baseUri === null || this . baseUri === undefined ) { this . baseUri = 'https://management.azure.com' ; } if ( this . apiVersion === null || this . apiVersion === undefined ) { this . apiVersion = '2014-04-01' ; } if ( this . longRunningOperationInitialTimeout === null || this . longRunningOperationInitialTimeout === undefined ) { this . longRunningOperationInitialTimeout = - 1 ; } if ( this . longRunningOperationRetryTimeout === null || this . longRunningOperationRetryTimeout === undefined ) { this . longRunningOperationRetryTimeout = - 1 ; } this . eventOperations = new EventOperations ( this ) ; this . logDefinitionOperations = new LogDefinitionOperations ( this ) ; this . logOperations = new LogOperations ( this ) ; this . metricDefinitionOperations = new MetricDefinitionOperations ( this ) ; this . metricOperations = new MetricOperations ( this ) ; this . usageMetricOperations = new UsageMetricsOperations ( this ) ; }
@class
 Initializes a new instance of the InsightsClient class.
@class Initializes a new instance of the InsightsClient class .
/**
     * Provides an instance of the [EventOperations](-EventOperations.html)
     * object.
     * @type {object}
     */ /**
     * Provides an instance of the
     * [LogDefinitionOperations](-LogDefinitionOperations.html) object.
     * @type {object}
     */ /**
     * Provides an instance of the [LogOperations](-LogOperations.html) object.
     * @type {object}
     */ /**
     * Provides an instance of the
     * [MetricDefinitionOperations](-MetricDefinitionOperations.html) object.
     * @type {object}
     */ /**
     * Provides an instance of the [MetricOperations](-MetricOperations.html)
     * object.
     * @type {object}
     */ /**
     * Provides an instance of the
     * [UsageMetricsOperations](-UsageMetricsOperations.html) object.
     * @type {object}
     */