{"version":3,"sources":["jsdelivr-header.js","/npm/azure-arm-insights@1.0.2-preview/lib/insightsManagementClient.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACQA,aAEA,MAAM,OAAS,QAAQ,WACjB,YAAc,QAAQ,iBACtB,cAAgB,YAAY,mBAE5B,OAAS,QAAQ,YACjB,WAAa,QAAQ,gBA8B3B,MAAM,iCAAiC,cACrC,WAAA,CAAY,EAAa,EAAgB,EAAS,GAChD,GAAI,QACF,MAAM,IAAI,MAAM,iCAElB,GAAI,QACF,MAAM,IAAI,MAAM,oCAGb,IAAS,EAAU,CAAC,GAEzB,MAAM,EAAa,GAEnB,KAAK,eAAiB,QACtB,KAAK,iCAAmC,GACxC,KAAK,yBAA0B,EAC/B,KAAK,QAAU,EACV,KAAK,UACR,KAAK,QAAU,gCAEjB,KAAK,YAAc,EACnB,KAAK,eAAiB,EAEtB,IAAI,EAAc,KAAK,mBAAmB,WAC1C,KAAK,iBAAiB,GAAG,EAAY,QAAQ,EAAY,WAC3B,OAA3B,EAAQ,qBAAsD,IAA3B,EAAQ,iBAC5C,KAAK,eAAiB,EAAQ,gBAEgB,OAA7C,EAAQ,uCAA0F,IAA7C,EAAQ,mCAC9D,KAAK,iCAAmC,EAAQ,kCAEX,OAApC,EAAQ,8BAAwE,IAApC,EAAQ,0BACrD,KAAK,wBAA0B,EAAQ,yBAEzC,KAAK,kBAAoB,IAAI,WAAW,kBAAkB,MAC1D,KAAK,oCAAsC,IAAI,WAAW,oCAAoC,MAC9F,KAAK,WAAa,IAAI,WAAW,WAAW,MAC5C,KAAK,mBAAqB,IAAI,WAAW,mBAAmB,MAC5D,KAAK,YAAc,IAAI,WAAW,YAAY,MAC9C,KAAK,OAAS,OACd,OAAO,sBAAsB,KAC/B,EAIF,OAAO,QAAU","file":"/npm/azure-arm-insights@1.0.2-preview/lib/insightsManagementClient.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/azure-arm-insights@1.0.2-preview/lib/insightsManagementClient.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/*\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for\n * license information.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is\n * regenerated.\n */\n\n/* jshint latedef:false */\n/* jshint forin:false */\n/* jshint noempty:false */\n\n'use strict';\n\nconst msRest = require('ms-rest');\nconst msRestAzure = require('ms-rest-azure');\nconst ServiceClient = msRestAzure.AzureServiceClient;\n\nconst models = require('./models');\nconst operations = require('./operations');\n\n\n/**\n * @class\n * Initializes a new instance of the InsightsManagementClient class.\n * @constructor\n *\n * @param {credentials} credentials - Credentials needed for the client to connect to Azure.\n *\n * @param {string} subscriptionId - The Azure subscription Id.\n *\n * @param {string} [baseUri] - The base URI of the service.\n *\n * @param {object} [options] - The parameter options\n *\n * @param {Array} [options.filters] - Filters to be added to the request pipeline\n *\n * @param {object} [options.requestOptions] - Options for the underlying request object\n * {@link https://github.com/request/request#requestoptions-callback Options doc}\n *\n * @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy\n *\n * @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.\n *\n * @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.\n *\n * @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.\n *\n */\nclass InsightsManagementClient extends ServiceClient {\n  constructor(credentials, subscriptionId, baseUri, options) {\n    if (credentials === null || credentials === undefined) {\n      throw new Error('\\'credentials\\' cannot be null.');\n    }\n    if (subscriptionId === null || subscriptionId === undefined) {\n      throw new Error('\\'subscriptionId\\' cannot be null.');\n    }\n\n    if (!options) options = {};\n\n    super(credentials, options);\n\n    this.acceptLanguage = 'en-US';\n    this.longRunningOperationRetryTimeout = 30;\n    this.generateClientRequestId = true;\n    this.baseUri = baseUri;\n    if (!this.baseUri) {\n      this.baseUri = 'https://management.azure.com';\n    }\n    this.credentials = credentials;\n    this.subscriptionId = subscriptionId;\n\n    let packageInfo = this.getPackageJsonInfo(__dirname);\n    this.addUserAgentInfo(`${packageInfo.name}/${packageInfo.version}`);\n    if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {\n      this.acceptLanguage = options.acceptLanguage;\n    }\n    if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {\n      this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;\n    }\n    if(options.generateClientRequestId !== null && options.generateClientRequestId !== undefined) {\n      this.generateClientRequestId = options.generateClientRequestId;\n    }\n    this.autoscaleSettings = new operations.AutoscaleSettings(this);\n    this.serviceDiagnosticSettingsOperations = new operations.ServiceDiagnosticSettingsOperations(this);\n    this.alertRules = new operations.AlertRules(this);\n    this.alertRuleIncidents = new operations.AlertRuleIncidents(this);\n    this.logProfiles = new operations.LogProfiles(this);\n    this.models = models;\n    msRest.addSerializationMixin(this);\n  }\n\n}\n\nmodule.exports = InsightsManagementClient;\n"]}