diff --git a/sdk/operationalinsights/loganalytics/LICENSE.txt b/sdk/operationalinsights/loganalytics/LICENSE.txt deleted file mode 100644 index a70e8cf66038..000000000000 --- a/sdk/operationalinsights/loganalytics/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 Microsoft - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/sdk/operationalinsights/loganalytics/README.md b/sdk/operationalinsights/loganalytics/README.md deleted file mode 100644 index 4b4a1b1198ca..000000000000 --- a/sdk/operationalinsights/loganalytics/README.md +++ /dev/null @@ -1,112 +0,0 @@ -## An isomorphic javascript sdk for - LogAnalyticsClient - -This package contains an isomorphic SDK for LogAnalyticsClient. - -### Currently supported environments - -- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule) -- Latest versions of Safari, Chrome, Edge, and Firefox. - -See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - -### How to Install - -``` -npm install @azure/loganalytics -``` - -### How to use - -#### nodejs - Authentication, client creation and execute query as an example written in TypeScript. - -##### Install @azure/ms-rest-nodeauth - -``` -npm install @azure/ms-rest-nodeauth -``` - -##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { LogAnalyticsClient, LogAnalyticsModels, LogAnalyticsMappers } from "@azure/loganalytics"; -const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; - -msRestNodeAuth.interactiveLogin({ - tokenAudience: "https://api.loganalytics.io" -}).then((creds) => { - const client = new LogAnalyticsClient(creds, subscriptionId); - const workspaceId = "testworkspaceId"; - const body: LogAnalyticsModels.QueryBody = { - query: "testquery", - timespan: "testtimespan", - workspaces: ["testworkspaces"] - }; - client.query.execute(workspaceId, body).then((result) => { - console.log("The result is:"); - console.log(result); - }); -}).catch((err) => { - console.error(err); -}); -``` - -#### browser - Authentication, client creation and execute query as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` - -##### Sample code - -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - -- index.html -```html - - - - @azure/loganalytics sample - - - - - - - -``` - -## Related projects - -- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Foperationalinsights%2Floganalytics%2FREADME.png) diff --git a/sdk/operationalinsights/loganalytics/package.json b/sdk/operationalinsights/loganalytics/package.json deleted file mode 100644 index eee1610490bf..000000000000 --- a/sdk/operationalinsights/loganalytics/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "@azure/loganalytics", - "author": "Microsoft Corporation", - "description": "LogAnalyticsClient Library with typescript type definitions for node.js and browser.", - "version": "0.3.0", - "dependencies": { - "@azure/ms-rest-js": "^2.4.0", - "tslib": "^1.9.3" - }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], - "license": "MIT", - "main": "./dist/loganalytics.js", - "module": "./esm/logAnalyticsClient.js", - "types": "./esm/logAnalyticsClient.d.ts", - "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" - }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/operationalinsights/loganalytics", - "repository": { - "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" - }, - "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" - }, - "files": [ - "dist/**/*.js", - "dist/**/*.js.map", - "dist/**/*.d.ts", - "dist/**/*.d.ts.map", - "esm/**/*.js", - "esm/**/*.js.map", - "esm/**/*.d.ts", - "esm/**/*.d.ts.map", - "src/**/*.ts", - "rollup.config.js", - "tsconfig.json" - ], - "scripts": { - "build": "tsc && rollup -c rollup.config.js && npm run minify", - "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/loganalytics.js.map'\" -o ./dist/loganalytics.min.js ./dist/loganalytics.js", - "prepack": "npm install && npm run build" - }, - "sideEffects": false, - "autoPublish": true -} diff --git a/sdk/operationalinsights/loganalytics/rollup.config.js b/sdk/operationalinsights/loganalytics/rollup.config.js deleted file mode 100644 index a25a9cc464b5..000000000000 --- a/sdk/operationalinsights/loganalytics/rollup.config.js +++ /dev/null @@ -1,31 +0,0 @@ -import nodeResolve from "rollup-plugin-node-resolve"; -/** - * @type {import('rollup').RollupFileOptions} - */ -const config = { - input: './esm/logAnalyticsClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], - output: { - file: "./dist/loganalytics.js", - format: "umd", - name: "Azure.Loganalytics", - sourcemap: true, - globals: { - "@azure/ms-rest-js": "msRest", - "@azure/ms-rest-azure-js": "msRestAzure" - }, - banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */` - }, - plugins: [ - nodeResolve({ module: true }) - ] -}; -export default config; diff --git a/sdk/operationalinsights/loganalytics/src/logAnalyticsClient.ts b/sdk/operationalinsights/loganalytics/src/logAnalyticsClient.ts deleted file mode 100644 index da6795a42df5..000000000000 --- a/sdk/operationalinsights/loganalytics/src/logAnalyticsClient.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "./models"; -import * as Mappers from "./models/mappers"; -import * as operations from "./operations"; -import { LogAnalyticsClientContext } from "./logAnalyticsClientContext"; - -class LogAnalyticsClient extends LogAnalyticsClientContext { - // Operation groups - query: operations.Query; - - /** - * Initializes a new instance of the LogAnalyticsClient class. - * @param credentials Subscription credentials which uniquely identify client subscription. - * @param [options] The parameter options - */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.LogAnalyticsClientOptions) { - super(credentials, options); - this.query = new operations.Query(this); - } -} - -// Operation Specifications - -export { - LogAnalyticsClient, - LogAnalyticsClientContext, - Models as LogAnalyticsModels, - Mappers as LogAnalyticsMappers -}; -export * from "./operations"; diff --git a/sdk/operationalinsights/loganalytics/src/logAnalyticsClientContext.ts b/sdk/operationalinsights/loganalytics/src/logAnalyticsClientContext.ts deleted file mode 100644 index 1527bcefee42..000000000000 --- a/sdk/operationalinsights/loganalytics/src/logAnalyticsClientContext.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "./models"; - -const packageName = "@azure/loganalytics"; -const packageVersion = "0.3.0"; - -export class LogAnalyticsClientContext extends msRest.ServiceClient { - credentials: msRest.ServiceClientCredentials; - - /** - * Initializes a new instance of the LogAnalyticsClientContext class. - * @param credentials Subscription credentials which uniquely identify client subscription. - * @param [options] The parameter options - */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.LogAnalyticsClientOptions) { - if (credentials === null || credentials === undefined) { - throw new Error('\'credentials\' cannot be null.'); - } - - if (!options) { - options = {}; - } - if(!options.userAgent) { - const defaultUserAgent = msRest.getDefaultUserAgentValue(); - options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; - } - - super(credentials, options); - - this.baseUri = options.baseUri || this.baseUri || "https://api.loganalytics.io"; - this.requestContentType = "application/json; charset=utf-8"; - this.credentials = credentials; - - } -} diff --git a/sdk/operationalinsights/loganalytics/src/models/index.ts b/sdk/operationalinsights/loganalytics/src/models/index.ts deleted file mode 100644 index 52da54ffbedb..000000000000 --- a/sdk/operationalinsights/loganalytics/src/models/index.ts +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import { ServiceClientOptions } from "@azure/ms-rest-js"; -import * as msRest from "@azure/ms-rest-js"; - - -/** - * @interface - * An interface representing QueryBody. - * The Analytics query. Learn more about the [Analytics query - * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) - * - */ -export interface QueryBody { - /** - * @member {string} query The query to execute. - */ - query: string; - /** - * @member {string} [timespan] Optional. The timespan over which to query - * data. This is an ISO8601 time period value. This timespan is applied in - * addition to any that are specified in the query expression. - */ - timespan?: string; - /** - * @member {string[]} [workspaces] A list of workspaces that are included in - * the query. - */ - workspaces?: string[]; -} - -/** - * @interface - * An interface representing Column. - * @summary A table column. - * - * A column in a table. - * - */ -export interface Column { - /** - * @member {string} [name] The name of this column. - */ - name?: string; - /** - * @member {string} [type] The data type of this column. - */ - type?: string; -} - -/** - * @interface - * An interface representing Table. - * @summary A query response table. - * - * Contains the columns and rows for one table in a query response. - * - */ -export interface Table { - /** - * @member {string} name The name of the table. - */ - name: string; - /** - * @member {Column[]} columns The list of columns in this table. - */ - columns: Column[]; - /** - * @member {string[][]} rows The resulting rows from this query. - */ - rows: string[][]; -} - -/** - * @interface - * An interface representing QueryResults. - * @summary A query response. - * - * Contains the tables, columns & rows resulting from a query. - * - */ -export interface QueryResults { - /** - * @member {Table[]} tables The list of tables, columns and rows. - */ - tables: Table[]; -} - -/** - * @interface - * An interface representing ErrorDetail. - * @summary Error details. - * - */ -export interface ErrorDetail { - /** - * @member {string} code The error's code. - */ - code: string; - /** - * @member {string} message A human readable error message. - */ - message: string; - /** - * @member {string} [target] Indicates which property in the request is - * responsible for the error. - */ - target?: string; - /** - * @member {string} [value] Indicates which value in 'target' is responsible - * for the error. - */ - value?: string; - /** - * @member {string[]} [resources] Indicates resources which were responsible - * for the error. - */ - resources?: string[]; - /** - * @member {any} [additionalProperties] - */ - additionalProperties?: any; -} - -/** - * @interface - * An interface representing ErrorInfo. - * @summary The code and message for an error. - * - */ -export interface ErrorInfo { - /** - * @member {string} code A machine readable error code. - */ - code: string; - /** - * @member {string} message A human readable error message. - */ - message: string; - /** - * @member {ErrorDetail[]} [details] error details. - */ - details?: ErrorDetail[]; - /** - * @member {ErrorInfo} [innererror] Inner error details if they exist. - */ - innererror?: ErrorInfo; - /** - * @member {any} [additionalProperties] - */ - additionalProperties?: any; -} - -/** - * @interface - * An interface representing ErrorResponse. - * @summary Error details. - * - * Contains details when the response code indicates an error. - * - */ -export interface ErrorResponse { - /** - * @member {ErrorInfo} error The error details. - */ - error: ErrorInfo; -} - -/** - * @interface - * An interface representing LogAnalyticsClientOptions. - * @extends ServiceClientOptions - */ -export interface LogAnalyticsClientOptions extends ServiceClientOptions { - /** - * @member {string} [baseUri] - */ - baseUri?: string; -} - -/** - * Contains response data for the execute operation. - */ -export type QueryExecuteResponse = QueryResults & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: QueryResults; - }; -}; diff --git a/sdk/operationalinsights/loganalytics/src/models/mappers.ts b/sdk/operationalinsights/loganalytics/src/models/mappers.ts deleted file mode 100644 index cd3f848e53c8..000000000000 --- a/sdk/operationalinsights/loganalytics/src/models/mappers.ts +++ /dev/null @@ -1,258 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; - - -export const QueryBody: msRest.CompositeMapper = { - serializedName: "queryBody", - type: { - name: "Composite", - className: "QueryBody", - modelProperties: { - query: { - required: true, - serializedName: "query", - type: { - name: "String" - } - }, - timespan: { - serializedName: "timespan", - type: { - name: "String" - } - }, - workspaces: { - serializedName: "workspaces", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const Column: msRest.CompositeMapper = { - serializedName: "column", - type: { - name: "Composite", - className: "Column", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - type: { - serializedName: "type", - type: { - name: "String" - } - } - } - } -}; - -export const Table: msRest.CompositeMapper = { - serializedName: "table", - type: { - name: "Composite", - className: "Table", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - columns: { - required: true, - serializedName: "columns", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Column" - } - } - } - }, - rows: { - required: true, - serializedName: "rows", - type: { - name: "Sequence", - element: { - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } - } - } -}; - -export const QueryResults: msRest.CompositeMapper = { - serializedName: "queryResults", - type: { - name: "Composite", - className: "QueryResults", - modelProperties: { - tables: { - required: true, - serializedName: "tables", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Table" - } - } - } - } - } - } -}; - -export const ErrorDetail: msRest.CompositeMapper = { - serializedName: "errorDetail", - type: { - name: "Composite", - className: "ErrorDetail", - modelProperties: { - code: { - required: true, - serializedName: "code", - type: { - name: "String" - } - }, - message: { - required: true, - serializedName: "message", - type: { - name: "String" - } - }, - target: { - serializedName: "target", - type: { - name: "String" - } - }, - value: { - serializedName: "value", - type: { - name: "String" - } - }, - resources: { - serializedName: "resources", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - additionalProperties: { - serializedName: "additionalProperties", - type: { - name: "Object" - } - } - } - } -}; - -export const ErrorInfo: msRest.CompositeMapper = { - serializedName: "errorInfo", - type: { - name: "Composite", - className: "ErrorInfo", - modelProperties: { - code: { - required: true, - serializedName: "code", - type: { - name: "String" - } - }, - message: { - required: true, - serializedName: "message", - type: { - name: "String" - } - }, - details: { - serializedName: "details", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorDetail" - } - } - } - }, - innererror: { - serializedName: "innererror", - type: { - name: "Composite", - className: "ErrorInfo" - } - }, - additionalProperties: { - serializedName: "additionalProperties", - type: { - name: "Object" - } - } - } - } -}; - -export const ErrorResponse: msRest.CompositeMapper = { - serializedName: "errorResponse", - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - error: { - required: true, - serializedName: "error", - type: { - name: "Composite", - className: "ErrorInfo" - } - } - } - } -}; diff --git a/sdk/operationalinsights/loganalytics/src/models/parameters.ts b/sdk/operationalinsights/loganalytics/src/models/parameters.ts deleted file mode 100644 index 4a414cdb76f6..000000000000 --- a/sdk/operationalinsights/loganalytics/src/models/parameters.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; - -export const workspaceId: msRest.OperationURLParameter = { - parameterPath: "workspaceId", - mapper: { - required: true, - serializedName: "workspaceId", - type: { - name: "String" - } - } -}; diff --git a/sdk/operationalinsights/loganalytics/src/models/queryMappers.ts b/sdk/operationalinsights/loganalytics/src/models/queryMappers.ts deleted file mode 100644 index 6add1a2ffa64..000000000000 --- a/sdk/operationalinsights/loganalytics/src/models/queryMappers.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -export { - QueryBody, - QueryResults, - Table, - Column, - ErrorResponse, - ErrorInfo, - ErrorDetail -} from "../models/mappers"; - diff --git a/sdk/operationalinsights/loganalytics/src/operations/index.ts b/sdk/operationalinsights/loganalytics/src/operations/index.ts deleted file mode 100644 index 3c190e0c93b3..000000000000 --- a/sdk/operationalinsights/loganalytics/src/operations/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -export * from "./query"; diff --git a/sdk/operationalinsights/loganalytics/src/operations/query.ts b/sdk/operationalinsights/loganalytics/src/operations/query.ts deleted file mode 100644 index 9fe30ac699db..000000000000 --- a/sdk/operationalinsights/loganalytics/src/operations/query.ts +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/queryMappers"; -import * as Parameters from "../models/parameters"; -import { LogAnalyticsClientContext } from "../logAnalyticsClientContext"; - -/** Class representing a Query. */ -export class Query { - private readonly client: LogAnalyticsClientContext; - - /** - * Create a Query. - * @param {LogAnalyticsClientContext} client Reference to the service client. - */ - constructor(client: LogAnalyticsClientContext) { - this.client = client; - } - - /** - * Executes an Analytics query for data. - * [Here](https://dev.loganalytics.io/documentation/Using-the-API) is an example for using POST - * with an Analytics query. - * @summary Execute an Analytics query - * @param workspaceId ID of the workspace. This is Workspace ID from the Properties blade in the - * Azure portal. - * @param body The Analytics query. Learn more about the [Analytics query - * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) - * @param [options] The optional parameters - * @returns Promise - */ - execute(workspaceId: string, body: Models.QueryBody, options?: msRest.RequestOptionsBase): Promise; - /** - * @param workspaceId ID of the workspace. This is Workspace ID from the Properties blade in the - * Azure portal. - * @param body The Analytics query. Learn more about the [Analytics query - * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) - * @param callback The callback - */ - execute(workspaceId: string, body: Models.QueryBody, callback: msRest.ServiceCallback): void; - /** - * @param workspaceId ID of the workspace. This is Workspace ID from the Properties blade in the - * Azure portal. - * @param body The Analytics query. Learn more about the [Analytics query - * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) - * @param options The optional parameters - * @param callback The callback - */ - execute(workspaceId: string, body: Models.QueryBody, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - execute(workspaceId: string, body: Models.QueryBody, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - workspaceId, - body, - options - }, - executeOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const executeOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "v1/workspaces/{workspaceId}/query", - urlParameters: [ - Parameters.workspaceId - ], - requestBody: { - parameterPath: "body", - mapper: { - ...Mappers.QueryBody, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.QueryResults - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; diff --git a/sdk/operationalinsights/loganalytics/tsconfig.json b/sdk/operationalinsights/loganalytics/tsconfig.json deleted file mode 100644 index 87bbf5b5fa49..000000000000 --- a/sdk/operationalinsights/loganalytics/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "es6", - "moduleResolution": "node", - "strict": true, - "target": "es5", - "sourceMap": true, - "declarationMap": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "lib": ["es6"], - "declaration": true, - "outDir": "./esm", - "importHelpers": true - }, - "include": ["./src/**/*.ts"], - "exclude": ["node_modules"] -}